ch-api-client-typescript2 3.4.1 → 3.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +734 -545
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +574 -450
- package/package.json +1 -1
- package/src/api.ts +942 -697
package/src/api.ts
CHANGED
|
@@ -502,13 +502,13 @@ export interface ArticleContributorModel {
|
|
|
502
502
|
* @type {string}
|
|
503
503
|
* @memberof ArticleContributorModel
|
|
504
504
|
*/
|
|
505
|
-
'
|
|
505
|
+
'contributorOverview'?: string | null;
|
|
506
506
|
/**
|
|
507
507
|
*
|
|
508
508
|
* @type {string}
|
|
509
509
|
* @memberof ArticleContributorModel
|
|
510
510
|
*/
|
|
511
|
-
'
|
|
511
|
+
'contributorContent'?: string | null;
|
|
512
512
|
/**
|
|
513
513
|
*
|
|
514
514
|
* @type {Array<SnsHandle>}
|
|
@@ -606,19 +606,13 @@ export interface ArticleItemModel {
|
|
|
606
606
|
* @type {string}
|
|
607
607
|
* @memberof ArticleItemModel
|
|
608
608
|
*/
|
|
609
|
-
'
|
|
610
|
-
/**
|
|
611
|
-
*
|
|
612
|
-
* @type {Array<ArticleTagItemModel>}
|
|
613
|
-
* @memberof ArticleItemModel
|
|
614
|
-
*/
|
|
615
|
-
'articleTags'?: Array<ArticleTagItemModel> | null;
|
|
609
|
+
'hospitalName'?: string | null;
|
|
616
610
|
/**
|
|
617
611
|
*
|
|
618
|
-
* @type {
|
|
612
|
+
* @type {string}
|
|
619
613
|
* @memberof ArticleItemModel
|
|
620
614
|
*/
|
|
621
|
-
'
|
|
615
|
+
'hospitalSlug'?: string | null;
|
|
622
616
|
/**
|
|
623
617
|
*
|
|
624
618
|
* @type {AuditableEntity}
|
|
@@ -691,31 +685,55 @@ export interface ArticleModel {
|
|
|
691
685
|
* @type {string}
|
|
692
686
|
* @memberof ArticleModel
|
|
693
687
|
*/
|
|
694
|
-
'
|
|
688
|
+
'hospitalName'?: string | null;
|
|
695
689
|
/**
|
|
696
690
|
*
|
|
697
|
-
* @type {
|
|
691
|
+
* @type {string}
|
|
698
692
|
* @memberof ArticleModel
|
|
699
693
|
*/
|
|
700
|
-
'
|
|
694
|
+
'hospitalSlug'?: string | null;
|
|
701
695
|
/**
|
|
702
696
|
*
|
|
703
|
-
* @type {
|
|
697
|
+
* @type {AuditableEntity}
|
|
704
698
|
* @memberof ArticleModel
|
|
705
699
|
*/
|
|
706
|
-
'
|
|
700
|
+
'auditableEntity'?: AuditableEntity;
|
|
707
701
|
/**
|
|
708
702
|
*
|
|
709
|
-
* @type {
|
|
703
|
+
* @type {string}
|
|
710
704
|
* @memberof ArticleModel
|
|
711
705
|
*/
|
|
712
|
-
'
|
|
706
|
+
'description'?: string | null;
|
|
707
|
+
/**
|
|
708
|
+
*
|
|
709
|
+
* @type {string}
|
|
710
|
+
* @memberof ArticleModel
|
|
711
|
+
*/
|
|
712
|
+
'overview'?: string | null;
|
|
713
713
|
/**
|
|
714
714
|
*
|
|
715
715
|
* @type {string}
|
|
716
716
|
* @memberof ArticleModel
|
|
717
717
|
*/
|
|
718
718
|
'content'?: string | null;
|
|
719
|
+
/**
|
|
720
|
+
*
|
|
721
|
+
* @type {string}
|
|
722
|
+
* @memberof ArticleModel
|
|
723
|
+
*/
|
|
724
|
+
'youtubeUrl'?: string | null;
|
|
725
|
+
/**
|
|
726
|
+
*
|
|
727
|
+
* @type {Array<ArticleTagItemModel>}
|
|
728
|
+
* @memberof ArticleModel
|
|
729
|
+
*/
|
|
730
|
+
'articleTags'?: Array<ArticleTagItemModel> | null;
|
|
731
|
+
/**
|
|
732
|
+
*
|
|
733
|
+
* @type {Array<MediaModel>}
|
|
734
|
+
* @memberof ArticleModel
|
|
735
|
+
*/
|
|
736
|
+
'medias'?: Array<MediaModel> | null;
|
|
719
737
|
/**
|
|
720
738
|
*
|
|
721
739
|
* @type {Array<LocalizedUrlModel>}
|
|
@@ -971,6 +989,12 @@ export interface BookingItemModel {
|
|
|
971
989
|
* @memberof BookingItemModel
|
|
972
990
|
*/
|
|
973
991
|
'id'?: string;
|
|
992
|
+
/**
|
|
993
|
+
*
|
|
994
|
+
* @type {string}
|
|
995
|
+
* @memberof BookingItemModel
|
|
996
|
+
*/
|
|
997
|
+
'languageCode'?: string | null;
|
|
974
998
|
/**
|
|
975
999
|
*
|
|
976
1000
|
* @type {string}
|
|
@@ -994,103 +1018,103 @@ export interface BookingItemModel {
|
|
|
994
1018
|
* @type {string}
|
|
995
1019
|
* @memberof BookingItemModel
|
|
996
1020
|
*/
|
|
997
|
-
'
|
|
1021
|
+
'firstName'?: string | null;
|
|
998
1022
|
/**
|
|
999
1023
|
*
|
|
1000
1024
|
* @type {string}
|
|
1001
1025
|
* @memberof BookingItemModel
|
|
1002
1026
|
*/
|
|
1003
|
-
'
|
|
1027
|
+
'lastName'?: string | null;
|
|
1004
1028
|
/**
|
|
1005
1029
|
*
|
|
1006
1030
|
* @type {string}
|
|
1007
1031
|
* @memberof BookingItemModel
|
|
1008
1032
|
*/
|
|
1009
|
-
'
|
|
1033
|
+
'email'?: string | null;
|
|
1010
1034
|
/**
|
|
1011
1035
|
*
|
|
1012
1036
|
* @type {string}
|
|
1013
1037
|
* @memberof BookingItemModel
|
|
1014
1038
|
*/
|
|
1015
|
-
'
|
|
1039
|
+
'phone'?: string | null;
|
|
1016
1040
|
/**
|
|
1017
1041
|
*
|
|
1018
|
-
* @type {
|
|
1042
|
+
* @type {Date}
|
|
1019
1043
|
* @memberof BookingItemModel
|
|
1020
1044
|
*/
|
|
1021
|
-
'
|
|
1045
|
+
'dateOfBirth'?: Date | null;
|
|
1022
1046
|
/**
|
|
1023
1047
|
*
|
|
1024
|
-
* @type {
|
|
1048
|
+
* @type {Gender}
|
|
1025
1049
|
* @memberof BookingItemModel
|
|
1026
1050
|
*/
|
|
1027
|
-
'
|
|
1051
|
+
'gender'?: Gender;
|
|
1028
1052
|
/**
|
|
1029
1053
|
*
|
|
1030
1054
|
* @type {string}
|
|
1031
1055
|
* @memberof BookingItemModel
|
|
1032
1056
|
*/
|
|
1033
|
-
'
|
|
1057
|
+
'comment'?: string | null;
|
|
1034
1058
|
/**
|
|
1035
1059
|
*
|
|
1036
1060
|
* @type {string}
|
|
1037
1061
|
* @memberof BookingItemModel
|
|
1038
1062
|
*/
|
|
1039
|
-
'
|
|
1063
|
+
'hospitalId'?: string;
|
|
1040
1064
|
/**
|
|
1041
1065
|
*
|
|
1042
|
-
* @type {
|
|
1066
|
+
* @type {string}
|
|
1043
1067
|
* @memberof BookingItemModel
|
|
1044
1068
|
*/
|
|
1045
|
-
'
|
|
1069
|
+
'hospitalName'?: string | null;
|
|
1046
1070
|
/**
|
|
1047
1071
|
*
|
|
1048
|
-
* @type {
|
|
1072
|
+
* @type {string}
|
|
1049
1073
|
* @memberof BookingItemModel
|
|
1050
1074
|
*/
|
|
1051
|
-
'
|
|
1075
|
+
'hospitalSlug'?: string | null;
|
|
1052
1076
|
/**
|
|
1053
1077
|
*
|
|
1054
1078
|
* @type {string}
|
|
1055
1079
|
* @memberof BookingItemModel
|
|
1056
1080
|
*/
|
|
1057
|
-
'
|
|
1081
|
+
'hospitalTimeZone'?: string | null;
|
|
1058
1082
|
/**
|
|
1059
1083
|
*
|
|
1060
1084
|
* @type {string}
|
|
1061
1085
|
* @memberof BookingItemModel
|
|
1062
1086
|
*/
|
|
1063
|
-
'
|
|
1087
|
+
'dealId'?: string;
|
|
1064
1088
|
/**
|
|
1065
1089
|
*
|
|
1066
1090
|
* @type {string}
|
|
1067
1091
|
* @memberof BookingItemModel
|
|
1068
1092
|
*/
|
|
1069
|
-
'
|
|
1093
|
+
'dealName'?: string | null;
|
|
1070
1094
|
/**
|
|
1071
1095
|
*
|
|
1072
1096
|
* @type {string}
|
|
1073
1097
|
* @memberof BookingItemModel
|
|
1074
1098
|
*/
|
|
1075
|
-
'
|
|
1099
|
+
'dealSlug'?: string | null;
|
|
1076
1100
|
/**
|
|
1077
1101
|
*
|
|
1078
|
-
* @type {
|
|
1102
|
+
* @type {string}
|
|
1079
1103
|
* @memberof BookingItemModel
|
|
1080
1104
|
*/
|
|
1081
|
-
'
|
|
1105
|
+
'dealPackageId'?: string;
|
|
1082
1106
|
/**
|
|
1083
1107
|
*
|
|
1084
|
-
* @type {
|
|
1108
|
+
* @type {RefundPolicy}
|
|
1085
1109
|
* @memberof BookingItemModel
|
|
1086
1110
|
*/
|
|
1087
|
-
'
|
|
1111
|
+
'refundPolicy'?: RefundPolicy;
|
|
1088
1112
|
/**
|
|
1089
1113
|
*
|
|
1090
|
-
* @type {
|
|
1114
|
+
* @type {number}
|
|
1091
1115
|
* @memberof BookingItemModel
|
|
1092
1116
|
*/
|
|
1093
|
-
'
|
|
1117
|
+
'quantity'?: number;
|
|
1094
1118
|
/**
|
|
1095
1119
|
*
|
|
1096
1120
|
* @type {Date}
|
|
@@ -1163,12 +1187,6 @@ export interface BookingItemModel {
|
|
|
1163
1187
|
* @memberof BookingItemModel
|
|
1164
1188
|
*/
|
|
1165
1189
|
'isOpen'?: boolean;
|
|
1166
|
-
/**
|
|
1167
|
-
*
|
|
1168
|
-
* @type {number}
|
|
1169
|
-
* @memberof BookingItemModel
|
|
1170
|
-
*/
|
|
1171
|
-
'completionRate'?: number;
|
|
1172
1190
|
/**
|
|
1173
1191
|
*
|
|
1174
1192
|
* @type {boolean}
|
|
@@ -1188,6 +1206,12 @@ export interface BookingModel {
|
|
|
1188
1206
|
* @memberof BookingModel
|
|
1189
1207
|
*/
|
|
1190
1208
|
'id'?: string;
|
|
1209
|
+
/**
|
|
1210
|
+
*
|
|
1211
|
+
* @type {string}
|
|
1212
|
+
* @memberof BookingModel
|
|
1213
|
+
*/
|
|
1214
|
+
'languageCode'?: string | null;
|
|
1191
1215
|
/**
|
|
1192
1216
|
*
|
|
1193
1217
|
* @type {string}
|
|
@@ -1211,103 +1235,103 @@ export interface BookingModel {
|
|
|
1211
1235
|
* @type {string}
|
|
1212
1236
|
* @memberof BookingModel
|
|
1213
1237
|
*/
|
|
1214
|
-
'
|
|
1238
|
+
'firstName'?: string | null;
|
|
1215
1239
|
/**
|
|
1216
1240
|
*
|
|
1217
1241
|
* @type {string}
|
|
1218
1242
|
* @memberof BookingModel
|
|
1219
1243
|
*/
|
|
1220
|
-
'
|
|
1244
|
+
'lastName'?: string | null;
|
|
1221
1245
|
/**
|
|
1222
1246
|
*
|
|
1223
1247
|
* @type {string}
|
|
1224
1248
|
* @memberof BookingModel
|
|
1225
1249
|
*/
|
|
1226
|
-
'
|
|
1250
|
+
'email'?: string | null;
|
|
1227
1251
|
/**
|
|
1228
1252
|
*
|
|
1229
1253
|
* @type {string}
|
|
1230
1254
|
* @memberof BookingModel
|
|
1231
1255
|
*/
|
|
1232
|
-
'
|
|
1256
|
+
'phone'?: string | null;
|
|
1233
1257
|
/**
|
|
1234
1258
|
*
|
|
1235
|
-
* @type {
|
|
1259
|
+
* @type {Date}
|
|
1236
1260
|
* @memberof BookingModel
|
|
1237
1261
|
*/
|
|
1238
|
-
'
|
|
1262
|
+
'dateOfBirth'?: Date | null;
|
|
1239
1263
|
/**
|
|
1240
1264
|
*
|
|
1241
|
-
* @type {
|
|
1265
|
+
* @type {Gender}
|
|
1242
1266
|
* @memberof BookingModel
|
|
1243
1267
|
*/
|
|
1244
|
-
'
|
|
1268
|
+
'gender'?: Gender;
|
|
1245
1269
|
/**
|
|
1246
1270
|
*
|
|
1247
1271
|
* @type {string}
|
|
1248
1272
|
* @memberof BookingModel
|
|
1249
1273
|
*/
|
|
1250
|
-
'
|
|
1274
|
+
'comment'?: string | null;
|
|
1251
1275
|
/**
|
|
1252
1276
|
*
|
|
1253
1277
|
* @type {string}
|
|
1254
1278
|
* @memberof BookingModel
|
|
1255
1279
|
*/
|
|
1256
|
-
'
|
|
1280
|
+
'hospitalId'?: string;
|
|
1257
1281
|
/**
|
|
1258
1282
|
*
|
|
1259
|
-
* @type {
|
|
1283
|
+
* @type {string}
|
|
1260
1284
|
* @memberof BookingModel
|
|
1261
1285
|
*/
|
|
1262
|
-
'
|
|
1286
|
+
'hospitalName'?: string | null;
|
|
1263
1287
|
/**
|
|
1264
1288
|
*
|
|
1265
|
-
* @type {
|
|
1289
|
+
* @type {string}
|
|
1266
1290
|
* @memberof BookingModel
|
|
1267
1291
|
*/
|
|
1268
|
-
'
|
|
1292
|
+
'hospitalSlug'?: string | null;
|
|
1269
1293
|
/**
|
|
1270
1294
|
*
|
|
1271
1295
|
* @type {string}
|
|
1272
1296
|
* @memberof BookingModel
|
|
1273
1297
|
*/
|
|
1274
|
-
'
|
|
1298
|
+
'hospitalTimeZone'?: string | null;
|
|
1275
1299
|
/**
|
|
1276
1300
|
*
|
|
1277
1301
|
* @type {string}
|
|
1278
1302
|
* @memberof BookingModel
|
|
1279
1303
|
*/
|
|
1280
|
-
'
|
|
1304
|
+
'dealId'?: string;
|
|
1281
1305
|
/**
|
|
1282
1306
|
*
|
|
1283
1307
|
* @type {string}
|
|
1284
1308
|
* @memberof BookingModel
|
|
1285
1309
|
*/
|
|
1286
|
-
'
|
|
1310
|
+
'dealName'?: string | null;
|
|
1287
1311
|
/**
|
|
1288
1312
|
*
|
|
1289
1313
|
* @type {string}
|
|
1290
1314
|
* @memberof BookingModel
|
|
1291
1315
|
*/
|
|
1292
|
-
'
|
|
1316
|
+
'dealSlug'?: string | null;
|
|
1293
1317
|
/**
|
|
1294
1318
|
*
|
|
1295
|
-
* @type {
|
|
1319
|
+
* @type {string}
|
|
1296
1320
|
* @memberof BookingModel
|
|
1297
1321
|
*/
|
|
1298
|
-
'
|
|
1322
|
+
'dealPackageId'?: string;
|
|
1299
1323
|
/**
|
|
1300
1324
|
*
|
|
1301
|
-
* @type {
|
|
1325
|
+
* @type {RefundPolicy}
|
|
1302
1326
|
* @memberof BookingModel
|
|
1303
1327
|
*/
|
|
1304
|
-
'
|
|
1328
|
+
'refundPolicy'?: RefundPolicy;
|
|
1305
1329
|
/**
|
|
1306
1330
|
*
|
|
1307
|
-
* @type {
|
|
1331
|
+
* @type {number}
|
|
1308
1332
|
* @memberof BookingModel
|
|
1309
1333
|
*/
|
|
1310
|
-
'
|
|
1334
|
+
'quantity'?: number;
|
|
1311
1335
|
/**
|
|
1312
1336
|
*
|
|
1313
1337
|
* @type {Date}
|
|
@@ -1380,12 +1404,6 @@ export interface BookingModel {
|
|
|
1380
1404
|
* @memberof BookingModel
|
|
1381
1405
|
*/
|
|
1382
1406
|
'isOpen'?: boolean;
|
|
1383
|
-
/**
|
|
1384
|
-
*
|
|
1385
|
-
* @type {number}
|
|
1386
|
-
* @memberof BookingModel
|
|
1387
|
-
*/
|
|
1388
|
-
'completionRate'?: number;
|
|
1389
1407
|
/**
|
|
1390
1408
|
*
|
|
1391
1409
|
* @type {boolean}
|
|
@@ -1633,6 +1651,12 @@ export interface ConsultationItemModel {
|
|
|
1633
1651
|
* @memberof ConsultationItemModel
|
|
1634
1652
|
*/
|
|
1635
1653
|
'id'?: string;
|
|
1654
|
+
/**
|
|
1655
|
+
*
|
|
1656
|
+
* @type {string}
|
|
1657
|
+
* @memberof ConsultationItemModel
|
|
1658
|
+
*/
|
|
1659
|
+
'languageCode'?: string | null;
|
|
1636
1660
|
/**
|
|
1637
1661
|
*
|
|
1638
1662
|
* @type {ConsultationType}
|
|
@@ -1662,139 +1686,115 @@ export interface ConsultationItemModel {
|
|
|
1662
1686
|
* @type {string}
|
|
1663
1687
|
* @memberof ConsultationItemModel
|
|
1664
1688
|
*/
|
|
1665
|
-
'
|
|
1666
|
-
/**
|
|
1667
|
-
*
|
|
1668
|
-
* @type {string}
|
|
1669
|
-
* @memberof ConsultationItemModel
|
|
1670
|
-
*/
|
|
1671
|
-
'hospitalId'?: string;
|
|
1689
|
+
'firstName'?: string | null;
|
|
1672
1690
|
/**
|
|
1673
1691
|
*
|
|
1674
1692
|
* @type {string}
|
|
1675
1693
|
* @memberof ConsultationItemModel
|
|
1676
1694
|
*/
|
|
1677
|
-
'
|
|
1695
|
+
'lastName'?: string | null;
|
|
1678
1696
|
/**
|
|
1679
1697
|
*
|
|
1680
1698
|
* @type {string}
|
|
1681
1699
|
* @memberof ConsultationItemModel
|
|
1682
1700
|
*/
|
|
1683
|
-
'
|
|
1701
|
+
'email'?: string | null;
|
|
1684
1702
|
/**
|
|
1685
1703
|
*
|
|
1686
1704
|
* @type {string}
|
|
1687
1705
|
* @memberof ConsultationItemModel
|
|
1688
1706
|
*/
|
|
1689
|
-
'
|
|
1707
|
+
'phone'?: string | null;
|
|
1690
1708
|
/**
|
|
1691
1709
|
*
|
|
1692
|
-
* @type {
|
|
1710
|
+
* @type {Date}
|
|
1693
1711
|
* @memberof ConsultationItemModel
|
|
1694
1712
|
*/
|
|
1695
|
-
'
|
|
1713
|
+
'dateOfBirth'?: Date | null;
|
|
1696
1714
|
/**
|
|
1697
1715
|
*
|
|
1698
|
-
* @type {
|
|
1716
|
+
* @type {Gender}
|
|
1699
1717
|
* @memberof ConsultationItemModel
|
|
1700
1718
|
*/
|
|
1701
|
-
'
|
|
1719
|
+
'gender'?: Gender;
|
|
1702
1720
|
/**
|
|
1703
1721
|
*
|
|
1704
1722
|
* @type {string}
|
|
1705
1723
|
* @memberof ConsultationItemModel
|
|
1706
1724
|
*/
|
|
1707
|
-
'
|
|
1725
|
+
'comment'?: string | null;
|
|
1708
1726
|
/**
|
|
1709
1727
|
*
|
|
1710
1728
|
* @type {string}
|
|
1711
1729
|
* @memberof ConsultationItemModel
|
|
1712
1730
|
*/
|
|
1713
|
-
'
|
|
1731
|
+
'hospitalId'?: string;
|
|
1714
1732
|
/**
|
|
1715
1733
|
*
|
|
1716
1734
|
* @type {string}
|
|
1717
1735
|
* @memberof ConsultationItemModel
|
|
1718
1736
|
*/
|
|
1719
|
-
'
|
|
1737
|
+
'hospitalName'?: string | null;
|
|
1720
1738
|
/**
|
|
1721
1739
|
*
|
|
1722
1740
|
* @type {string}
|
|
1723
1741
|
* @memberof ConsultationItemModel
|
|
1724
1742
|
*/
|
|
1725
|
-
'
|
|
1743
|
+
'hospitalSlug'?: string | null;
|
|
1726
1744
|
/**
|
|
1727
1745
|
*
|
|
1728
1746
|
* @type {string}
|
|
1729
1747
|
* @memberof ConsultationItemModel
|
|
1730
1748
|
*/
|
|
1731
|
-
'
|
|
1749
|
+
'hospitalTimeZone'?: string | null;
|
|
1732
1750
|
/**
|
|
1733
1751
|
*
|
|
1734
1752
|
* @type {string}
|
|
1735
1753
|
* @memberof ConsultationItemModel
|
|
1736
1754
|
*/
|
|
1737
|
-
'
|
|
1755
|
+
'doctorId'?: string | null;
|
|
1738
1756
|
/**
|
|
1739
1757
|
*
|
|
1740
1758
|
* @type {string}
|
|
1741
1759
|
* @memberof ConsultationItemModel
|
|
1742
1760
|
*/
|
|
1743
|
-
'
|
|
1761
|
+
'doctorName'?: string | null;
|
|
1744
1762
|
/**
|
|
1745
1763
|
*
|
|
1746
1764
|
* @type {string}
|
|
1747
1765
|
* @memberof ConsultationItemModel
|
|
1748
1766
|
*/
|
|
1749
|
-
'
|
|
1750
|
-
/**
|
|
1751
|
-
*
|
|
1752
|
-
* @type {boolean}
|
|
1753
|
-
* @memberof ConsultationItemModel
|
|
1754
|
-
*/
|
|
1755
|
-
'isAccountHolder'?: boolean;
|
|
1767
|
+
'doctorSlug'?: string | null;
|
|
1756
1768
|
/**
|
|
1757
1769
|
*
|
|
1758
1770
|
* @type {string}
|
|
1759
1771
|
* @memberof ConsultationItemModel
|
|
1760
1772
|
*/
|
|
1761
|
-
'
|
|
1773
|
+
'dealId'?: string | null;
|
|
1762
1774
|
/**
|
|
1763
1775
|
*
|
|
1764
1776
|
* @type {string}
|
|
1765
1777
|
* @memberof ConsultationItemModel
|
|
1766
1778
|
*/
|
|
1767
|
-
'
|
|
1779
|
+
'dealName'?: string | null;
|
|
1768
1780
|
/**
|
|
1769
1781
|
*
|
|
1770
1782
|
* @type {string}
|
|
1771
1783
|
* @memberof ConsultationItemModel
|
|
1772
1784
|
*/
|
|
1773
|
-
'
|
|
1785
|
+
'dealSlug'?: string | null;
|
|
1774
1786
|
/**
|
|
1775
1787
|
*
|
|
1776
1788
|
* @type {string}
|
|
1777
1789
|
* @memberof ConsultationItemModel
|
|
1778
1790
|
*/
|
|
1779
|
-
'
|
|
1780
|
-
/**
|
|
1781
|
-
*
|
|
1782
|
-
* @type {Date}
|
|
1783
|
-
* @memberof ConsultationItemModel
|
|
1784
|
-
*/
|
|
1785
|
-
'dateOfBirth'?: Date | null;
|
|
1786
|
-
/**
|
|
1787
|
-
*
|
|
1788
|
-
* @type {Gender}
|
|
1789
|
-
* @memberof ConsultationItemModel
|
|
1790
|
-
*/
|
|
1791
|
-
'gender'?: Gender;
|
|
1791
|
+
'language'?: string | null;
|
|
1792
1792
|
/**
|
|
1793
1793
|
*
|
|
1794
|
-
* @type {
|
|
1794
|
+
* @type {boolean}
|
|
1795
1795
|
* @memberof ConsultationItemModel
|
|
1796
1796
|
*/
|
|
1797
|
-
'
|
|
1797
|
+
'isAccountHolder'?: boolean;
|
|
1798
1798
|
/**
|
|
1799
1799
|
*
|
|
1800
1800
|
* @type {string}
|
|
@@ -1825,18 +1825,6 @@ export interface ConsultationItemModel {
|
|
|
1825
1825
|
* @memberof ConsultationItemModel
|
|
1826
1826
|
*/
|
|
1827
1827
|
'confirmedDateEnd'?: Date | null;
|
|
1828
|
-
/**
|
|
1829
|
-
*
|
|
1830
|
-
* @type {string}
|
|
1831
|
-
* @memberof ConsultationItemModel
|
|
1832
|
-
*/
|
|
1833
|
-
'callerName'?: string | null;
|
|
1834
|
-
/**
|
|
1835
|
-
*
|
|
1836
|
-
* @type {string}
|
|
1837
|
-
* @memberof ConsultationItemModel
|
|
1838
|
-
*/
|
|
1839
|
-
'callerId'?: string | null;
|
|
1840
1828
|
/**
|
|
1841
1829
|
*
|
|
1842
1830
|
* @type {number}
|
|
@@ -1861,6 +1849,12 @@ export interface ConsultationItemModel {
|
|
|
1861
1849
|
* @memberof ConsultationItemModel
|
|
1862
1850
|
*/
|
|
1863
1851
|
'requestDate'?: Date;
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @type {string}
|
|
1855
|
+
* @memberof ConsultationItemModel
|
|
1856
|
+
*/
|
|
1857
|
+
'domain'?: string | null;
|
|
1864
1858
|
/**
|
|
1865
1859
|
*
|
|
1866
1860
|
* @type {ConsultationStatus}
|
|
@@ -1885,6 +1879,12 @@ export interface ConsultationItemModel {
|
|
|
1885
1879
|
* @memberof ConsultationItemModel
|
|
1886
1880
|
*/
|
|
1887
1881
|
'paymentId'?: string | null;
|
|
1882
|
+
/**
|
|
1883
|
+
*
|
|
1884
|
+
* @type {boolean}
|
|
1885
|
+
* @memberof ConsultationItemModel
|
|
1886
|
+
*/
|
|
1887
|
+
'paymentEnabled'?: boolean;
|
|
1888
1888
|
/**
|
|
1889
1889
|
*
|
|
1890
1890
|
* @type {number}
|
|
@@ -1910,6 +1910,12 @@ export interface ConsultationModel {
|
|
|
1910
1910
|
* @memberof ConsultationModel
|
|
1911
1911
|
*/
|
|
1912
1912
|
'id'?: string;
|
|
1913
|
+
/**
|
|
1914
|
+
*
|
|
1915
|
+
* @type {string}
|
|
1916
|
+
* @memberof ConsultationModel
|
|
1917
|
+
*/
|
|
1918
|
+
'languageCode'?: string | null;
|
|
1913
1919
|
/**
|
|
1914
1920
|
*
|
|
1915
1921
|
* @type {ConsultationType}
|
|
@@ -1939,139 +1945,115 @@ export interface ConsultationModel {
|
|
|
1939
1945
|
* @type {string}
|
|
1940
1946
|
* @memberof ConsultationModel
|
|
1941
1947
|
*/
|
|
1942
|
-
'
|
|
1943
|
-
/**
|
|
1944
|
-
*
|
|
1945
|
-
* @type {string}
|
|
1946
|
-
* @memberof ConsultationModel
|
|
1947
|
-
*/
|
|
1948
|
-
'hospitalId'?: string;
|
|
1948
|
+
'firstName'?: string | null;
|
|
1949
1949
|
/**
|
|
1950
1950
|
*
|
|
1951
1951
|
* @type {string}
|
|
1952
1952
|
* @memberof ConsultationModel
|
|
1953
1953
|
*/
|
|
1954
|
-
'
|
|
1954
|
+
'lastName'?: string | null;
|
|
1955
1955
|
/**
|
|
1956
1956
|
*
|
|
1957
1957
|
* @type {string}
|
|
1958
1958
|
* @memberof ConsultationModel
|
|
1959
1959
|
*/
|
|
1960
|
-
'
|
|
1960
|
+
'email'?: string | null;
|
|
1961
1961
|
/**
|
|
1962
1962
|
*
|
|
1963
1963
|
* @type {string}
|
|
1964
1964
|
* @memberof ConsultationModel
|
|
1965
1965
|
*/
|
|
1966
|
-
'
|
|
1966
|
+
'phone'?: string | null;
|
|
1967
1967
|
/**
|
|
1968
1968
|
*
|
|
1969
|
-
* @type {
|
|
1969
|
+
* @type {Date}
|
|
1970
1970
|
* @memberof ConsultationModel
|
|
1971
1971
|
*/
|
|
1972
|
-
'
|
|
1972
|
+
'dateOfBirth'?: Date | null;
|
|
1973
1973
|
/**
|
|
1974
1974
|
*
|
|
1975
|
-
* @type {
|
|
1975
|
+
* @type {Gender}
|
|
1976
1976
|
* @memberof ConsultationModel
|
|
1977
1977
|
*/
|
|
1978
|
-
'
|
|
1978
|
+
'gender'?: Gender;
|
|
1979
1979
|
/**
|
|
1980
1980
|
*
|
|
1981
1981
|
* @type {string}
|
|
1982
1982
|
* @memberof ConsultationModel
|
|
1983
1983
|
*/
|
|
1984
|
-
'
|
|
1984
|
+
'comment'?: string | null;
|
|
1985
1985
|
/**
|
|
1986
1986
|
*
|
|
1987
1987
|
* @type {string}
|
|
1988
1988
|
* @memberof ConsultationModel
|
|
1989
1989
|
*/
|
|
1990
|
-
'
|
|
1990
|
+
'hospitalId'?: string;
|
|
1991
1991
|
/**
|
|
1992
1992
|
*
|
|
1993
1993
|
* @type {string}
|
|
1994
1994
|
* @memberof ConsultationModel
|
|
1995
1995
|
*/
|
|
1996
|
-
'
|
|
1996
|
+
'hospitalName'?: string | null;
|
|
1997
1997
|
/**
|
|
1998
1998
|
*
|
|
1999
1999
|
* @type {string}
|
|
2000
2000
|
* @memberof ConsultationModel
|
|
2001
2001
|
*/
|
|
2002
|
-
'
|
|
2002
|
+
'hospitalSlug'?: string | null;
|
|
2003
2003
|
/**
|
|
2004
2004
|
*
|
|
2005
2005
|
* @type {string}
|
|
2006
2006
|
* @memberof ConsultationModel
|
|
2007
2007
|
*/
|
|
2008
|
-
'
|
|
2008
|
+
'hospitalTimeZone'?: string | null;
|
|
2009
2009
|
/**
|
|
2010
2010
|
*
|
|
2011
2011
|
* @type {string}
|
|
2012
2012
|
* @memberof ConsultationModel
|
|
2013
2013
|
*/
|
|
2014
|
-
'
|
|
2014
|
+
'doctorId'?: string | null;
|
|
2015
2015
|
/**
|
|
2016
2016
|
*
|
|
2017
2017
|
* @type {string}
|
|
2018
2018
|
* @memberof ConsultationModel
|
|
2019
2019
|
*/
|
|
2020
|
-
'
|
|
2020
|
+
'doctorName'?: string | null;
|
|
2021
2021
|
/**
|
|
2022
2022
|
*
|
|
2023
2023
|
* @type {string}
|
|
2024
2024
|
* @memberof ConsultationModel
|
|
2025
2025
|
*/
|
|
2026
|
-
'
|
|
2027
|
-
/**
|
|
2028
|
-
*
|
|
2029
|
-
* @type {boolean}
|
|
2030
|
-
* @memberof ConsultationModel
|
|
2031
|
-
*/
|
|
2032
|
-
'isAccountHolder'?: boolean;
|
|
2026
|
+
'doctorSlug'?: string | null;
|
|
2033
2027
|
/**
|
|
2034
2028
|
*
|
|
2035
2029
|
* @type {string}
|
|
2036
2030
|
* @memberof ConsultationModel
|
|
2037
2031
|
*/
|
|
2038
|
-
'
|
|
2032
|
+
'dealId'?: string | null;
|
|
2039
2033
|
/**
|
|
2040
2034
|
*
|
|
2041
2035
|
* @type {string}
|
|
2042
2036
|
* @memberof ConsultationModel
|
|
2043
2037
|
*/
|
|
2044
|
-
'
|
|
2038
|
+
'dealName'?: string | null;
|
|
2045
2039
|
/**
|
|
2046
2040
|
*
|
|
2047
2041
|
* @type {string}
|
|
2048
2042
|
* @memberof ConsultationModel
|
|
2049
2043
|
*/
|
|
2050
|
-
'
|
|
2044
|
+
'dealSlug'?: string | null;
|
|
2051
2045
|
/**
|
|
2052
2046
|
*
|
|
2053
2047
|
* @type {string}
|
|
2054
2048
|
* @memberof ConsultationModel
|
|
2055
2049
|
*/
|
|
2056
|
-
'
|
|
2057
|
-
/**
|
|
2058
|
-
*
|
|
2059
|
-
* @type {Date}
|
|
2060
|
-
* @memberof ConsultationModel
|
|
2061
|
-
*/
|
|
2062
|
-
'dateOfBirth'?: Date | null;
|
|
2063
|
-
/**
|
|
2064
|
-
*
|
|
2065
|
-
* @type {Gender}
|
|
2066
|
-
* @memberof ConsultationModel
|
|
2067
|
-
*/
|
|
2068
|
-
'gender'?: Gender;
|
|
2050
|
+
'language'?: string | null;
|
|
2069
2051
|
/**
|
|
2070
2052
|
*
|
|
2071
|
-
* @type {
|
|
2053
|
+
* @type {boolean}
|
|
2072
2054
|
* @memberof ConsultationModel
|
|
2073
2055
|
*/
|
|
2074
|
-
'
|
|
2056
|
+
'isAccountHolder'?: boolean;
|
|
2075
2057
|
/**
|
|
2076
2058
|
*
|
|
2077
2059
|
* @type {string}
|
|
@@ -2102,18 +2084,6 @@ export interface ConsultationModel {
|
|
|
2102
2084
|
* @memberof ConsultationModel
|
|
2103
2085
|
*/
|
|
2104
2086
|
'confirmedDateEnd'?: Date | null;
|
|
2105
|
-
/**
|
|
2106
|
-
*
|
|
2107
|
-
* @type {string}
|
|
2108
|
-
* @memberof ConsultationModel
|
|
2109
|
-
*/
|
|
2110
|
-
'callerName'?: string | null;
|
|
2111
|
-
/**
|
|
2112
|
-
*
|
|
2113
|
-
* @type {string}
|
|
2114
|
-
* @memberof ConsultationModel
|
|
2115
|
-
*/
|
|
2116
|
-
'callerId'?: string | null;
|
|
2117
2087
|
/**
|
|
2118
2088
|
*
|
|
2119
2089
|
* @type {number}
|
|
@@ -2137,7 +2107,13 @@ export interface ConsultationModel {
|
|
|
2137
2107
|
* @type {Date}
|
|
2138
2108
|
* @memberof ConsultationModel
|
|
2139
2109
|
*/
|
|
2140
|
-
'requestDate'?: Date;
|
|
2110
|
+
'requestDate'?: Date;
|
|
2111
|
+
/**
|
|
2112
|
+
*
|
|
2113
|
+
* @type {string}
|
|
2114
|
+
* @memberof ConsultationModel
|
|
2115
|
+
*/
|
|
2116
|
+
'domain'?: string | null;
|
|
2141
2117
|
/**
|
|
2142
2118
|
*
|
|
2143
2119
|
* @type {ConsultationStatus}
|
|
@@ -2162,6 +2138,12 @@ export interface ConsultationModel {
|
|
|
2162
2138
|
* @memberof ConsultationModel
|
|
2163
2139
|
*/
|
|
2164
2140
|
'paymentId'?: string | null;
|
|
2141
|
+
/**
|
|
2142
|
+
*
|
|
2143
|
+
* @type {boolean}
|
|
2144
|
+
* @memberof ConsultationModel
|
|
2145
|
+
*/
|
|
2146
|
+
'paymentEnabled'?: boolean;
|
|
2165
2147
|
/**
|
|
2166
2148
|
*
|
|
2167
2149
|
* @type {number}
|
|
@@ -3275,49 +3257,49 @@ export interface DealPackageItemModel {
|
|
|
3275
3257
|
* @type {string}
|
|
3276
3258
|
* @memberof DealPackageItemModel
|
|
3277
3259
|
*/
|
|
3278
|
-
'
|
|
3260
|
+
'languageCode'?: string | null;
|
|
3279
3261
|
/**
|
|
3280
3262
|
*
|
|
3281
3263
|
* @type {string}
|
|
3282
3264
|
* @memberof DealPackageItemModel
|
|
3283
3265
|
*/
|
|
3284
|
-
'
|
|
3266
|
+
'dealId'?: string;
|
|
3285
3267
|
/**
|
|
3286
3268
|
*
|
|
3287
3269
|
* @type {string}
|
|
3288
3270
|
* @memberof DealPackageItemModel
|
|
3289
3271
|
*/
|
|
3290
|
-
'
|
|
3272
|
+
'dealName'?: string | null;
|
|
3291
3273
|
/**
|
|
3292
3274
|
*
|
|
3293
3275
|
* @type {string}
|
|
3294
3276
|
* @memberof DealPackageItemModel
|
|
3295
3277
|
*/
|
|
3296
|
-
'
|
|
3278
|
+
'dealSlug'?: string | null;
|
|
3297
3279
|
/**
|
|
3298
3280
|
*
|
|
3299
|
-
* @type {
|
|
3281
|
+
* @type {string}
|
|
3300
3282
|
* @memberof DealPackageItemModel
|
|
3301
3283
|
*/
|
|
3302
|
-
'
|
|
3284
|
+
'hospitalId'?: string;
|
|
3303
3285
|
/**
|
|
3304
3286
|
*
|
|
3305
3287
|
* @type {string}
|
|
3306
3288
|
* @memberof DealPackageItemModel
|
|
3307
3289
|
*/
|
|
3308
|
-
'
|
|
3290
|
+
'hospitalName'?: string | null;
|
|
3309
3291
|
/**
|
|
3310
3292
|
*
|
|
3311
3293
|
* @type {string}
|
|
3312
3294
|
* @memberof DealPackageItemModel
|
|
3313
3295
|
*/
|
|
3314
|
-
'
|
|
3296
|
+
'hospitalSlug'?: string | null;
|
|
3315
3297
|
/**
|
|
3316
3298
|
*
|
|
3317
|
-
* @type {
|
|
3299
|
+
* @type {RefundPolicy}
|
|
3318
3300
|
* @memberof DealPackageItemModel
|
|
3319
3301
|
*/
|
|
3320
|
-
'
|
|
3302
|
+
'refundPolicy'?: RefundPolicy;
|
|
3321
3303
|
/**
|
|
3322
3304
|
*
|
|
3323
3305
|
* @type {string}
|
|
@@ -3354,49 +3336,49 @@ export interface DealPackageModel {
|
|
|
3354
3336
|
* @type {string}
|
|
3355
3337
|
* @memberof DealPackageModel
|
|
3356
3338
|
*/
|
|
3357
|
-
'
|
|
3339
|
+
'languageCode'?: string | null;
|
|
3358
3340
|
/**
|
|
3359
3341
|
*
|
|
3360
3342
|
* @type {string}
|
|
3361
3343
|
* @memberof DealPackageModel
|
|
3362
3344
|
*/
|
|
3363
|
-
'
|
|
3345
|
+
'dealId'?: string;
|
|
3364
3346
|
/**
|
|
3365
3347
|
*
|
|
3366
3348
|
* @type {string}
|
|
3367
3349
|
* @memberof DealPackageModel
|
|
3368
3350
|
*/
|
|
3369
|
-
'
|
|
3351
|
+
'dealName'?: string | null;
|
|
3370
3352
|
/**
|
|
3371
3353
|
*
|
|
3372
3354
|
* @type {string}
|
|
3373
3355
|
* @memberof DealPackageModel
|
|
3374
3356
|
*/
|
|
3375
|
-
'
|
|
3357
|
+
'dealSlug'?: string | null;
|
|
3376
3358
|
/**
|
|
3377
3359
|
*
|
|
3378
|
-
* @type {
|
|
3360
|
+
* @type {string}
|
|
3379
3361
|
* @memberof DealPackageModel
|
|
3380
3362
|
*/
|
|
3381
|
-
'
|
|
3363
|
+
'hospitalId'?: string;
|
|
3382
3364
|
/**
|
|
3383
3365
|
*
|
|
3384
3366
|
* @type {string}
|
|
3385
3367
|
* @memberof DealPackageModel
|
|
3386
3368
|
*/
|
|
3387
|
-
'
|
|
3369
|
+
'hospitalName'?: string | null;
|
|
3388
3370
|
/**
|
|
3389
3371
|
*
|
|
3390
3372
|
* @type {string}
|
|
3391
3373
|
* @memberof DealPackageModel
|
|
3392
3374
|
*/
|
|
3393
|
-
'
|
|
3375
|
+
'hospitalSlug'?: string | null;
|
|
3394
3376
|
/**
|
|
3395
3377
|
*
|
|
3396
|
-
* @type {
|
|
3378
|
+
* @type {RefundPolicy}
|
|
3397
3379
|
* @memberof DealPackageModel
|
|
3398
3380
|
*/
|
|
3399
|
-
'
|
|
3381
|
+
'refundPolicy'?: RefundPolicy;
|
|
3400
3382
|
/**
|
|
3401
3383
|
*
|
|
3402
3384
|
* @type {string}
|
|
@@ -3415,6 +3397,24 @@ export interface DealPackageModel {
|
|
|
3415
3397
|
* @memberof DealPackageModel
|
|
3416
3398
|
*/
|
|
3417
3399
|
'auditableEntity'?: AuditableEntity;
|
|
3400
|
+
/**
|
|
3401
|
+
*
|
|
3402
|
+
* @type {string}
|
|
3403
|
+
* @memberof DealPackageModel
|
|
3404
|
+
*/
|
|
3405
|
+
'additionalServices'?: string | null;
|
|
3406
|
+
/**
|
|
3407
|
+
*
|
|
3408
|
+
* @type {string}
|
|
3409
|
+
* @memberof DealPackageModel
|
|
3410
|
+
*/
|
|
3411
|
+
'accomodation'?: string | null;
|
|
3412
|
+
/**
|
|
3413
|
+
*
|
|
3414
|
+
* @type {string}
|
|
3415
|
+
* @memberof DealPackageModel
|
|
3416
|
+
*/
|
|
3417
|
+
'transfer'?: string | null;
|
|
3418
3418
|
}
|
|
3419
3419
|
/**
|
|
3420
3420
|
*
|
|
@@ -3441,6 +3441,12 @@ export interface DealPackagesModel {
|
|
|
3441
3441
|
* @interface DealServiceItemModel
|
|
3442
3442
|
*/
|
|
3443
3443
|
export interface DealServiceItemModel {
|
|
3444
|
+
/**
|
|
3445
|
+
*
|
|
3446
|
+
* @type {string}
|
|
3447
|
+
* @memberof DealServiceItemModel
|
|
3448
|
+
*/
|
|
3449
|
+
'languageCode'?: string | null;
|
|
3444
3450
|
/**
|
|
3445
3451
|
*
|
|
3446
3452
|
* @type {string}
|
|
@@ -3453,6 +3459,12 @@ export interface DealServiceItemModel {
|
|
|
3453
3459
|
* @memberof DealServiceItemModel
|
|
3454
3460
|
*/
|
|
3455
3461
|
'dealName'?: string | null;
|
|
3462
|
+
/**
|
|
3463
|
+
*
|
|
3464
|
+
* @type {string}
|
|
3465
|
+
* @memberof DealServiceItemModel
|
|
3466
|
+
*/
|
|
3467
|
+
'dealSlug'?: string | null;
|
|
3456
3468
|
/**
|
|
3457
3469
|
*
|
|
3458
3470
|
* @type {string}
|
|
@@ -3465,6 +3477,12 @@ export interface DealServiceItemModel {
|
|
|
3465
3477
|
* @memberof DealServiceItemModel
|
|
3466
3478
|
*/
|
|
3467
3479
|
'serviceName'?: string | null;
|
|
3480
|
+
/**
|
|
3481
|
+
*
|
|
3482
|
+
* @type {string}
|
|
3483
|
+
* @memberof DealServiceItemModel
|
|
3484
|
+
*/
|
|
3485
|
+
'serviceSlug'?: string | null;
|
|
3468
3486
|
/**
|
|
3469
3487
|
*
|
|
3470
3488
|
* @type {number}
|
|
@@ -3478,6 +3496,12 @@ export interface DealServiceItemModel {
|
|
|
3478
3496
|
* @interface DealServiceModel
|
|
3479
3497
|
*/
|
|
3480
3498
|
export interface DealServiceModel {
|
|
3499
|
+
/**
|
|
3500
|
+
*
|
|
3501
|
+
* @type {string}
|
|
3502
|
+
* @memberof DealServiceModel
|
|
3503
|
+
*/
|
|
3504
|
+
'languageCode'?: string | null;
|
|
3481
3505
|
/**
|
|
3482
3506
|
*
|
|
3483
3507
|
* @type {string}
|
|
@@ -3490,6 +3514,12 @@ export interface DealServiceModel {
|
|
|
3490
3514
|
* @memberof DealServiceModel
|
|
3491
3515
|
*/
|
|
3492
3516
|
'dealName'?: string | null;
|
|
3517
|
+
/**
|
|
3518
|
+
*
|
|
3519
|
+
* @type {string}
|
|
3520
|
+
* @memberof DealServiceModel
|
|
3521
|
+
*/
|
|
3522
|
+
'dealSlug'?: string | null;
|
|
3493
3523
|
/**
|
|
3494
3524
|
*
|
|
3495
3525
|
* @type {string}
|
|
@@ -3502,6 +3532,12 @@ export interface DealServiceModel {
|
|
|
3502
3532
|
* @memberof DealServiceModel
|
|
3503
3533
|
*/
|
|
3504
3534
|
'serviceName'?: string | null;
|
|
3535
|
+
/**
|
|
3536
|
+
*
|
|
3537
|
+
* @type {string}
|
|
3538
|
+
* @memberof DealServiceModel
|
|
3539
|
+
*/
|
|
3540
|
+
'serviceSlug'?: string | null;
|
|
3505
3541
|
/**
|
|
3506
3542
|
*
|
|
3507
3543
|
* @type {number}
|
|
@@ -3558,87 +3594,231 @@ export interface DealsSimpleModel {
|
|
|
3558
3594
|
* @type {Array<DealItemSimpleModel>}
|
|
3559
3595
|
* @memberof DealsSimpleModel
|
|
3560
3596
|
*/
|
|
3561
|
-
'items'?: Array<DealItemSimpleModel> | null;
|
|
3597
|
+
'items'?: Array<DealItemSimpleModel> | null;
|
|
3598
|
+
/**
|
|
3599
|
+
*
|
|
3600
|
+
* @type {PagedListMetaData}
|
|
3601
|
+
* @memberof DealsSimpleModel
|
|
3602
|
+
*/
|
|
3603
|
+
'metaData'?: PagedListMetaData;
|
|
3604
|
+
}
|
|
3605
|
+
/**
|
|
3606
|
+
*
|
|
3607
|
+
* @export
|
|
3608
|
+
* @interface DoctorAffiliationItemModel
|
|
3609
|
+
*/
|
|
3610
|
+
export interface DoctorAffiliationItemModel {
|
|
3611
|
+
/**
|
|
3612
|
+
*
|
|
3613
|
+
* @type {string}
|
|
3614
|
+
* @memberof DoctorAffiliationItemModel
|
|
3615
|
+
*/
|
|
3616
|
+
'id'?: string;
|
|
3617
|
+
/**
|
|
3618
|
+
*
|
|
3619
|
+
* @type {string}
|
|
3620
|
+
* @memberof DoctorAffiliationItemModel
|
|
3621
|
+
*/
|
|
3622
|
+
'languageCode'?: string | null;
|
|
3623
|
+
/**
|
|
3624
|
+
*
|
|
3625
|
+
* @type {string}
|
|
3626
|
+
* @memberof DoctorAffiliationItemModel
|
|
3627
|
+
*/
|
|
3628
|
+
'hospitalId'?: string;
|
|
3629
|
+
/**
|
|
3630
|
+
*
|
|
3631
|
+
* @type {string}
|
|
3632
|
+
* @memberof DoctorAffiliationItemModel
|
|
3633
|
+
*/
|
|
3634
|
+
'hospitalName'?: string | null;
|
|
3635
|
+
/**
|
|
3636
|
+
*
|
|
3637
|
+
* @type {string}
|
|
3638
|
+
* @memberof DoctorAffiliationItemModel
|
|
3639
|
+
*/
|
|
3640
|
+
'hospitalSlug'?: string | null;
|
|
3641
|
+
/**
|
|
3642
|
+
*
|
|
3643
|
+
* @type {string}
|
|
3644
|
+
* @memberof DoctorAffiliationItemModel
|
|
3645
|
+
*/
|
|
3646
|
+
'name'?: string | null;
|
|
3647
|
+
/**
|
|
3648
|
+
*
|
|
3649
|
+
* @type {string}
|
|
3650
|
+
* @memberof DoctorAffiliationItemModel
|
|
3651
|
+
*/
|
|
3652
|
+
'slug'?: string | null;
|
|
3653
|
+
/**
|
|
3654
|
+
*
|
|
3655
|
+
* @type {boolean}
|
|
3656
|
+
* @memberof DoctorAffiliationItemModel
|
|
3657
|
+
*/
|
|
3658
|
+
'confirmed'?: boolean;
|
|
3659
|
+
/**
|
|
3660
|
+
*
|
|
3661
|
+
* @type {string}
|
|
3662
|
+
* @memberof DoctorAffiliationItemModel
|
|
3663
|
+
*/
|
|
3664
|
+
'photo'?: string | null;
|
|
3665
|
+
/**
|
|
3666
|
+
*
|
|
3667
|
+
* @type {string}
|
|
3668
|
+
* @memberof DoctorAffiliationItemModel
|
|
3669
|
+
*/
|
|
3670
|
+
'photoThumbnail'?: string | null;
|
|
3671
|
+
/**
|
|
3672
|
+
*
|
|
3673
|
+
* @type {boolean}
|
|
3674
|
+
* @memberof DoctorAffiliationItemModel
|
|
3675
|
+
*/
|
|
3676
|
+
'consultationEnabled'?: boolean | null;
|
|
3677
|
+
/**
|
|
3678
|
+
*
|
|
3679
|
+
* @type {number}
|
|
3680
|
+
* @memberof DoctorAffiliationItemModel
|
|
3681
|
+
*/
|
|
3682
|
+
'consultationFee'?: number | null;
|
|
3683
|
+
/**
|
|
3684
|
+
*
|
|
3685
|
+
* @type {number}
|
|
3686
|
+
* @memberof DoctorAffiliationItemModel
|
|
3687
|
+
*/
|
|
3688
|
+
'order'?: number;
|
|
3689
|
+
}
|
|
3690
|
+
/**
|
|
3691
|
+
*
|
|
3692
|
+
* @export
|
|
3693
|
+
* @interface DoctorAffiliationModel
|
|
3694
|
+
*/
|
|
3695
|
+
export interface DoctorAffiliationModel {
|
|
3696
|
+
/**
|
|
3697
|
+
*
|
|
3698
|
+
* @type {string}
|
|
3699
|
+
* @memberof DoctorAffiliationModel
|
|
3700
|
+
*/
|
|
3701
|
+
'id'?: string;
|
|
3702
|
+
/**
|
|
3703
|
+
*
|
|
3704
|
+
* @type {string}
|
|
3705
|
+
* @memberof DoctorAffiliationModel
|
|
3706
|
+
*/
|
|
3707
|
+
'languageCode'?: string | null;
|
|
3708
|
+
/**
|
|
3709
|
+
*
|
|
3710
|
+
* @type {string}
|
|
3711
|
+
* @memberof DoctorAffiliationModel
|
|
3712
|
+
*/
|
|
3713
|
+
'hospitalId'?: string;
|
|
3714
|
+
/**
|
|
3715
|
+
*
|
|
3716
|
+
* @type {string}
|
|
3717
|
+
* @memberof DoctorAffiliationModel
|
|
3718
|
+
*/
|
|
3719
|
+
'hospitalName'?: string | null;
|
|
3720
|
+
/**
|
|
3721
|
+
*
|
|
3722
|
+
* @type {string}
|
|
3723
|
+
* @memberof DoctorAffiliationModel
|
|
3724
|
+
*/
|
|
3725
|
+
'hospitalSlug'?: string | null;
|
|
3726
|
+
/**
|
|
3727
|
+
*
|
|
3728
|
+
* @type {string}
|
|
3729
|
+
* @memberof DoctorAffiliationModel
|
|
3730
|
+
*/
|
|
3731
|
+
'name'?: string | null;
|
|
3732
|
+
/**
|
|
3733
|
+
*
|
|
3734
|
+
* @type {string}
|
|
3735
|
+
* @memberof DoctorAffiliationModel
|
|
3736
|
+
*/
|
|
3737
|
+
'slug'?: string | null;
|
|
3738
|
+
/**
|
|
3739
|
+
*
|
|
3740
|
+
* @type {boolean}
|
|
3741
|
+
* @memberof DoctorAffiliationModel
|
|
3742
|
+
*/
|
|
3743
|
+
'confirmed'?: boolean;
|
|
3744
|
+
/**
|
|
3745
|
+
*
|
|
3746
|
+
* @type {string}
|
|
3747
|
+
* @memberof DoctorAffiliationModel
|
|
3748
|
+
*/
|
|
3749
|
+
'photo'?: string | null;
|
|
3750
|
+
/**
|
|
3751
|
+
*
|
|
3752
|
+
* @type {string}
|
|
3753
|
+
* @memberof DoctorAffiliationModel
|
|
3754
|
+
*/
|
|
3755
|
+
'photoThumbnail'?: string | null;
|
|
3562
3756
|
/**
|
|
3563
3757
|
*
|
|
3564
|
-
* @type {
|
|
3565
|
-
* @memberof
|
|
3758
|
+
* @type {boolean}
|
|
3759
|
+
* @memberof DoctorAffiliationModel
|
|
3566
3760
|
*/
|
|
3567
|
-
'
|
|
3568
|
-
}
|
|
3569
|
-
/**
|
|
3570
|
-
*
|
|
3571
|
-
* @export
|
|
3572
|
-
* @interface DoctorAffiliationItemModel
|
|
3573
|
-
*/
|
|
3574
|
-
export interface DoctorAffiliationItemModel {
|
|
3761
|
+
'consultationEnabled'?: boolean | null;
|
|
3575
3762
|
/**
|
|
3576
3763
|
*
|
|
3577
|
-
* @type {
|
|
3578
|
-
* @memberof
|
|
3764
|
+
* @type {number}
|
|
3765
|
+
* @memberof DoctorAffiliationModel
|
|
3579
3766
|
*/
|
|
3580
|
-
'
|
|
3767
|
+
'consultationFee'?: number | null;
|
|
3581
3768
|
/**
|
|
3582
3769
|
*
|
|
3583
|
-
* @type {
|
|
3584
|
-
* @memberof
|
|
3770
|
+
* @type {number}
|
|
3771
|
+
* @memberof DoctorAffiliationModel
|
|
3585
3772
|
*/
|
|
3586
|
-
'
|
|
3773
|
+
'order'?: number;
|
|
3587
3774
|
/**
|
|
3588
3775
|
*
|
|
3589
3776
|
* @type {string}
|
|
3590
|
-
* @memberof
|
|
3777
|
+
* @memberof DoctorAffiliationModel
|
|
3591
3778
|
*/
|
|
3592
|
-
'
|
|
3779
|
+
'description'?: string | null;
|
|
3593
3780
|
/**
|
|
3594
3781
|
*
|
|
3595
3782
|
* @type {string}
|
|
3596
|
-
* @memberof
|
|
3783
|
+
* @memberof DoctorAffiliationModel
|
|
3597
3784
|
*/
|
|
3598
|
-
'
|
|
3785
|
+
'overview'?: string | null;
|
|
3599
3786
|
/**
|
|
3600
3787
|
*
|
|
3601
|
-
* @type {
|
|
3602
|
-
* @memberof
|
|
3788
|
+
* @type {string}
|
|
3789
|
+
* @memberof DoctorAffiliationModel
|
|
3603
3790
|
*/
|
|
3604
|
-
'
|
|
3605
|
-
}
|
|
3606
|
-
/**
|
|
3607
|
-
*
|
|
3608
|
-
* @export
|
|
3609
|
-
* @interface DoctorAffiliationModel
|
|
3610
|
-
*/
|
|
3611
|
-
export interface DoctorAffiliationModel {
|
|
3791
|
+
'content'?: string | null;
|
|
3612
3792
|
/**
|
|
3613
3793
|
*
|
|
3614
3794
|
* @type {string}
|
|
3615
3795
|
* @memberof DoctorAffiliationModel
|
|
3616
3796
|
*/
|
|
3617
|
-
'
|
|
3797
|
+
'background'?: string | null;
|
|
3618
3798
|
/**
|
|
3619
3799
|
*
|
|
3620
3800
|
* @type {string}
|
|
3621
3801
|
* @memberof DoctorAffiliationModel
|
|
3622
3802
|
*/
|
|
3623
|
-
'
|
|
3803
|
+
'backgroundThumbnail'?: string | null;
|
|
3624
3804
|
/**
|
|
3625
3805
|
*
|
|
3626
3806
|
* @type {string}
|
|
3627
3807
|
* @memberof DoctorAffiliationModel
|
|
3628
3808
|
*/
|
|
3629
|
-
'
|
|
3809
|
+
'customStyle'?: string | null;
|
|
3630
3810
|
/**
|
|
3631
3811
|
*
|
|
3632
|
-
* @type {
|
|
3812
|
+
* @type {Array<LocalizedUrlModel>}
|
|
3633
3813
|
* @memberof DoctorAffiliationModel
|
|
3634
3814
|
*/
|
|
3635
|
-
'
|
|
3815
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
3636
3816
|
/**
|
|
3637
3817
|
*
|
|
3638
|
-
* @type {
|
|
3818
|
+
* @type {Array<MediaModel>}
|
|
3639
3819
|
* @memberof DoctorAffiliationModel
|
|
3640
3820
|
*/
|
|
3641
|
-
'
|
|
3821
|
+
'medias'?: Array<MediaModel> | null;
|
|
3642
3822
|
}
|
|
3643
3823
|
/**
|
|
3644
3824
|
*
|
|
@@ -3905,18 +4085,6 @@ export interface DoctorItemModel {
|
|
|
3905
4085
|
* @memberof DoctorItemModel
|
|
3906
4086
|
*/
|
|
3907
4087
|
'id'?: string;
|
|
3908
|
-
/**
|
|
3909
|
-
*
|
|
3910
|
-
* @type {string}
|
|
3911
|
-
* @memberof DoctorItemModel
|
|
3912
|
-
*/
|
|
3913
|
-
'languageCode'?: string | null;
|
|
3914
|
-
/**
|
|
3915
|
-
*
|
|
3916
|
-
* @type {string}
|
|
3917
|
-
* @memberof DoctorItemModel
|
|
3918
|
-
*/
|
|
3919
|
-
'userName'?: string | null;
|
|
3920
4088
|
/**
|
|
3921
4089
|
*
|
|
3922
4090
|
* @type {string}
|
|
@@ -3955,34 +4123,10 @@ export interface DoctorItemModel {
|
|
|
3955
4123
|
'photoThumbnail'?: string | null;
|
|
3956
4124
|
/**
|
|
3957
4125
|
*
|
|
3958
|
-
* @type {
|
|
3959
|
-
* @memberof DoctorItemModel
|
|
3960
|
-
*/
|
|
3961
|
-
'auditableEntity'?: AuditableEntity;
|
|
3962
|
-
/**
|
|
3963
|
-
*
|
|
3964
|
-
* @type {boolean}
|
|
3965
|
-
* @memberof DoctorItemModel
|
|
3966
|
-
*/
|
|
3967
|
-
'consultationEnabled'?: boolean | null;
|
|
3968
|
-
/**
|
|
3969
|
-
*
|
|
3970
|
-
* @type {number}
|
|
3971
|
-
* @memberof DoctorItemModel
|
|
3972
|
-
*/
|
|
3973
|
-
'consultationFee'?: number | null;
|
|
3974
|
-
/**
|
|
3975
|
-
*
|
|
3976
|
-
* @type {Array<DoctorSpecialtyItemModel>}
|
|
3977
|
-
* @memberof DoctorItemModel
|
|
3978
|
-
*/
|
|
3979
|
-
'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
|
|
3980
|
-
/**
|
|
3981
|
-
*
|
|
3982
|
-
* @type {Array<DoctorAffiliationItemModel>}
|
|
4126
|
+
* @type {string}
|
|
3983
4127
|
* @memberof DoctorItemModel
|
|
3984
4128
|
*/
|
|
3985
|
-
'
|
|
4129
|
+
'timeZone'?: string | null;
|
|
3986
4130
|
}
|
|
3987
4131
|
/**
|
|
3988
4132
|
*
|
|
@@ -4065,12 +4209,6 @@ export interface DoctorModel {
|
|
|
4065
4209
|
* @memberof DoctorModel
|
|
4066
4210
|
*/
|
|
4067
4211
|
'id'?: string;
|
|
4068
|
-
/**
|
|
4069
|
-
*
|
|
4070
|
-
* @type {string}
|
|
4071
|
-
* @memberof DoctorModel
|
|
4072
|
-
*/
|
|
4073
|
-
'languageCode'?: string | null;
|
|
4074
4212
|
/**
|
|
4075
4213
|
*
|
|
4076
4214
|
* @type {string}
|
|
@@ -4167,60 +4305,12 @@ export interface DoctorModel {
|
|
|
4167
4305
|
* @memberof DoctorModel
|
|
4168
4306
|
*/
|
|
4169
4307
|
'locations'?: Array<UserLocationModel> | null;
|
|
4170
|
-
/**
|
|
4171
|
-
*
|
|
4172
|
-
* @type {string}
|
|
4173
|
-
* @memberof DoctorModel
|
|
4174
|
-
*/
|
|
4175
|
-
'overview'?: string | null;
|
|
4176
|
-
/**
|
|
4177
|
-
*
|
|
4178
|
-
* @type {string}
|
|
4179
|
-
* @memberof DoctorModel
|
|
4180
|
-
*/
|
|
4181
|
-
'description'?: string | null;
|
|
4182
|
-
/**
|
|
4183
|
-
*
|
|
4184
|
-
* @type {string}
|
|
4185
|
-
* @memberof DoctorModel
|
|
4186
|
-
*/
|
|
4187
|
-
'content'?: string | null;
|
|
4188
4308
|
/**
|
|
4189
4309
|
*
|
|
4190
4310
|
* @type {Date}
|
|
4191
4311
|
* @memberof DoctorModel
|
|
4192
4312
|
*/
|
|
4193
4313
|
'startPracticeDate'?: Date | null;
|
|
4194
|
-
/**
|
|
4195
|
-
*
|
|
4196
|
-
* @type {boolean}
|
|
4197
|
-
* @memberof DoctorModel
|
|
4198
|
-
*/
|
|
4199
|
-
'consultationEnabled'?: boolean | null;
|
|
4200
|
-
/**
|
|
4201
|
-
*
|
|
4202
|
-
* @type {number}
|
|
4203
|
-
* @memberof DoctorModel
|
|
4204
|
-
*/
|
|
4205
|
-
'consultationFee'?: number | null;
|
|
4206
|
-
/**
|
|
4207
|
-
*
|
|
4208
|
-
* @type {Array<DoctorSpecialtyItemModel>}
|
|
4209
|
-
* @memberof DoctorModel
|
|
4210
|
-
*/
|
|
4211
|
-
'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
|
|
4212
|
-
/**
|
|
4213
|
-
*
|
|
4214
|
-
* @type {Array<DoctorAffiliationItemModel>}
|
|
4215
|
-
* @memberof DoctorModel
|
|
4216
|
-
*/
|
|
4217
|
-
'doctorAffiliations'?: Array<DoctorAffiliationItemModel> | null;
|
|
4218
|
-
/**
|
|
4219
|
-
*
|
|
4220
|
-
* @type {Array<LocalizedUrlModel>}
|
|
4221
|
-
* @memberof DoctorModel
|
|
4222
|
-
*/
|
|
4223
|
-
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
4224
4314
|
}
|
|
4225
4315
|
/**
|
|
4226
4316
|
*
|
|
@@ -4363,6 +4453,12 @@ export interface DoctorSimpleItemModel {
|
|
|
4363
4453
|
* @memberof DoctorSimpleItemModel
|
|
4364
4454
|
*/
|
|
4365
4455
|
'lastName'?: string | null;
|
|
4456
|
+
/**
|
|
4457
|
+
*
|
|
4458
|
+
* @type {string}
|
|
4459
|
+
* @memberof DoctorSimpleItemModel
|
|
4460
|
+
*/
|
|
4461
|
+
'fullname'?: string | null;
|
|
4366
4462
|
}
|
|
4367
4463
|
/**
|
|
4368
4464
|
*
|
|
@@ -6037,6 +6133,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
6037
6133
|
* @memberof HospitalSpecialtyItemModel
|
|
6038
6134
|
*/
|
|
6039
6135
|
'slug'?: string | null;
|
|
6136
|
+
/**
|
|
6137
|
+
*
|
|
6138
|
+
* @type {boolean}
|
|
6139
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6140
|
+
*/
|
|
6141
|
+
'confirmed'?: boolean;
|
|
6040
6142
|
/**
|
|
6041
6143
|
*
|
|
6042
6144
|
* @type {number}
|
|
@@ -6079,6 +6181,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
6079
6181
|
* @memberof HospitalSpecialtyItemModel
|
|
6080
6182
|
*/
|
|
6081
6183
|
'specialtyId'?: string;
|
|
6184
|
+
/**
|
|
6185
|
+
*
|
|
6186
|
+
* @type {AuditableEntity}
|
|
6187
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6188
|
+
*/
|
|
6189
|
+
'auditableEntity'?: AuditableEntity;
|
|
6082
6190
|
}
|
|
6083
6191
|
/**
|
|
6084
6192
|
*
|
|
@@ -6110,6 +6218,12 @@ export interface HospitalSpecialtyModel {
|
|
|
6110
6218
|
* @memberof HospitalSpecialtyModel
|
|
6111
6219
|
*/
|
|
6112
6220
|
'slug'?: string | null;
|
|
6221
|
+
/**
|
|
6222
|
+
*
|
|
6223
|
+
* @type {boolean}
|
|
6224
|
+
* @memberof HospitalSpecialtyModel
|
|
6225
|
+
*/
|
|
6226
|
+
'confirmed'?: boolean;
|
|
6113
6227
|
/**
|
|
6114
6228
|
*
|
|
6115
6229
|
* @type {number}
|
|
@@ -6152,6 +6266,12 @@ export interface HospitalSpecialtyModel {
|
|
|
6152
6266
|
* @memberof HospitalSpecialtyModel
|
|
6153
6267
|
*/
|
|
6154
6268
|
'specialtyId'?: string;
|
|
6269
|
+
/**
|
|
6270
|
+
*
|
|
6271
|
+
* @type {AuditableEntity}
|
|
6272
|
+
* @memberof HospitalSpecialtyModel
|
|
6273
|
+
*/
|
|
6274
|
+
'auditableEntity'?: AuditableEntity;
|
|
6155
6275
|
/**
|
|
6156
6276
|
*
|
|
6157
6277
|
* @type {string}
|
|
@@ -6163,13 +6283,13 @@ export interface HospitalSpecialtyModel {
|
|
|
6163
6283
|
* @type {string}
|
|
6164
6284
|
* @memberof HospitalSpecialtyModel
|
|
6165
6285
|
*/
|
|
6166
|
-
'
|
|
6286
|
+
'overview'?: string | null;
|
|
6167
6287
|
/**
|
|
6168
6288
|
*
|
|
6169
|
-
* @type {
|
|
6289
|
+
* @type {string}
|
|
6170
6290
|
* @memberof HospitalSpecialtyModel
|
|
6171
6291
|
*/
|
|
6172
|
-
'
|
|
6292
|
+
'content'?: string | null;
|
|
6173
6293
|
/**
|
|
6174
6294
|
*
|
|
6175
6295
|
* @type {string}
|
|
@@ -6249,6 +6369,12 @@ export interface HospitalSpecialtySimpleItemModel {
|
|
|
6249
6369
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
6250
6370
|
*/
|
|
6251
6371
|
'slug'?: string | null;
|
|
6372
|
+
/**
|
|
6373
|
+
*
|
|
6374
|
+
* @type {boolean}
|
|
6375
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
6376
|
+
*/
|
|
6377
|
+
'confirmed'?: boolean;
|
|
6252
6378
|
/**
|
|
6253
6379
|
*
|
|
6254
6380
|
* @type {number}
|
|
@@ -7003,12 +7129,6 @@ export interface PatientModel {
|
|
|
7003
7129
|
* @memberof PatientModel
|
|
7004
7130
|
*/
|
|
7005
7131
|
'id'?: string;
|
|
7006
|
-
/**
|
|
7007
|
-
*
|
|
7008
|
-
* @type {string}
|
|
7009
|
-
* @memberof PatientModel
|
|
7010
|
-
*/
|
|
7011
|
-
'languageCode'?: string | null;
|
|
7012
7132
|
/**
|
|
7013
7133
|
*
|
|
7014
7134
|
* @type {string}
|
|
@@ -8048,6 +8168,17 @@ export enum SnsType {
|
|
|
8048
8168
|
KakaoTalk = 'KakaoTalk'
|
|
8049
8169
|
}
|
|
8050
8170
|
|
|
8171
|
+
/**
|
|
8172
|
+
*
|
|
8173
|
+
* @export
|
|
8174
|
+
* @enum {string}
|
|
8175
|
+
*/
|
|
8176
|
+
|
|
8177
|
+
export enum SortingOrder {
|
|
8178
|
+
Ascending = 'Ascending',
|
|
8179
|
+
Descending = 'Descending'
|
|
8180
|
+
}
|
|
8181
|
+
|
|
8051
8182
|
/**
|
|
8052
8183
|
*
|
|
8053
8184
|
* @export
|
|
@@ -9139,12 +9270,6 @@ export interface UserModel {
|
|
|
9139
9270
|
* @memberof UserModel
|
|
9140
9271
|
*/
|
|
9141
9272
|
'id'?: string;
|
|
9142
|
-
/**
|
|
9143
|
-
*
|
|
9144
|
-
* @type {string}
|
|
9145
|
-
* @memberof UserModel
|
|
9146
|
-
*/
|
|
9147
|
-
'languageCode'?: string | null;
|
|
9148
9273
|
/**
|
|
9149
9274
|
*
|
|
9150
9275
|
* @type {string}
|
|
@@ -10070,11 +10195,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10070
10195
|
* @summary Get Article.
|
|
10071
10196
|
* @param {string} articleId
|
|
10072
10197
|
* @param {string} [languageCode]
|
|
10073
|
-
* @param {boolean} [returnDefaultValue]
|
|
10074
10198
|
* @param {*} [options] Override http request option.
|
|
10075
10199
|
* @throws {RequiredError}
|
|
10076
10200
|
*/
|
|
10077
|
-
apiV2ArticlesArticleIdGet: async (articleId: string, languageCode?: string,
|
|
10201
|
+
apiV2ArticlesArticleIdGet: async (articleId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10078
10202
|
// verify required parameter 'articleId' is not null or undefined
|
|
10079
10203
|
assertParamExists('apiV2ArticlesArticleIdGet', 'articleId', articleId)
|
|
10080
10204
|
const localVarPath = `/api/v2/articles/{articleId}`
|
|
@@ -10094,10 +10218,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10094
10218
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
10095
10219
|
}
|
|
10096
10220
|
|
|
10097
|
-
if (returnDefaultValue !== undefined) {
|
|
10098
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10099
|
-
}
|
|
10100
|
-
|
|
10101
10221
|
|
|
10102
10222
|
|
|
10103
10223
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -10615,12 +10735,11 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
10615
10735
|
* @summary Get Article.
|
|
10616
10736
|
* @param {string} articleId
|
|
10617
10737
|
* @param {string} [languageCode]
|
|
10618
|
-
* @param {boolean} [returnDefaultValue]
|
|
10619
10738
|
* @param {*} [options] Override http request option.
|
|
10620
10739
|
* @throws {RequiredError}
|
|
10621
10740
|
*/
|
|
10622
|
-
async apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string,
|
|
10623
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode,
|
|
10741
|
+
async apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
10742
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode, options);
|
|
10624
10743
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10625
10744
|
},
|
|
10626
10745
|
/**
|
|
@@ -10793,12 +10912,11 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
10793
10912
|
* @summary Get Article.
|
|
10794
10913
|
* @param {string} articleId
|
|
10795
10914
|
* @param {string} [languageCode]
|
|
10796
|
-
* @param {boolean} [returnDefaultValue]
|
|
10797
10915
|
* @param {*} [options] Override http request option.
|
|
10798
10916
|
* @throws {RequiredError}
|
|
10799
10917
|
*/
|
|
10800
|
-
apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string,
|
|
10801
|
-
return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode,
|
|
10918
|
+
apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: any): AxiosPromise<ArticleModel> {
|
|
10919
|
+
return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(axios, basePath));
|
|
10802
10920
|
},
|
|
10803
10921
|
/**
|
|
10804
10922
|
*
|
|
@@ -10966,13 +11084,12 @@ export class ArticlesApi extends BaseAPI {
|
|
|
10966
11084
|
* @summary Get Article.
|
|
10967
11085
|
* @param {string} articleId
|
|
10968
11086
|
* @param {string} [languageCode]
|
|
10969
|
-
* @param {boolean} [returnDefaultValue]
|
|
10970
11087
|
* @param {*} [options] Override http request option.
|
|
10971
11088
|
* @throws {RequiredError}
|
|
10972
11089
|
* @memberof ArticlesApi
|
|
10973
11090
|
*/
|
|
10974
|
-
public apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string,
|
|
10975
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdGet(articleId, languageCode,
|
|
11091
|
+
public apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
11092
|
+
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
10976
11093
|
}
|
|
10977
11094
|
|
|
10978
11095
|
/**
|
|
@@ -11118,10 +11235,11 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11118
11235
|
*
|
|
11119
11236
|
* @summary Get booking.
|
|
11120
11237
|
* @param {string} bookingId
|
|
11238
|
+
* @param {string} [languageCode]
|
|
11121
11239
|
* @param {*} [options] Override http request option.
|
|
11122
11240
|
* @throws {RequiredError}
|
|
11123
11241
|
*/
|
|
11124
|
-
apiV2BookingsBookingIdGet: async (bookingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11242
|
+
apiV2BookingsBookingIdGet: async (bookingId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11125
11243
|
// verify required parameter 'bookingId' is not null or undefined
|
|
11126
11244
|
assertParamExists('apiV2BookingsBookingIdGet', 'bookingId', bookingId)
|
|
11127
11245
|
const localVarPath = `/api/v2/bookings/{bookingId}`
|
|
@@ -11141,6 +11259,10 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11141
11259
|
// oauth required
|
|
11142
11260
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
11143
11261
|
|
|
11262
|
+
if (languageCode !== undefined) {
|
|
11263
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
11264
|
+
}
|
|
11265
|
+
|
|
11144
11266
|
|
|
11145
11267
|
|
|
11146
11268
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11235,19 +11357,26 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11235
11357
|
/**
|
|
11236
11358
|
*
|
|
11237
11359
|
* @summary Get all bookings.
|
|
11238
|
-
* @param {string} [
|
|
11360
|
+
* @param {string} [hospitalId]
|
|
11361
|
+
* @param {string} [hospitalName]
|
|
11362
|
+
* @param {string} [dealId]
|
|
11363
|
+
* @param {string} [dealName]
|
|
11239
11364
|
* @param {boolean} [isOpen]
|
|
11240
11365
|
* @param {boolean} [isCompleted]
|
|
11241
11366
|
* @param {BookingStatus} [status]
|
|
11242
11367
|
* @param {string} [dealPackageId]
|
|
11243
|
-
* @param {
|
|
11368
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
11369
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
11370
|
+
* @param {boolean} [isExternal]
|
|
11371
|
+
* @param {boolean} [paymentEnabled]
|
|
11372
|
+
* @param {string} [languageCode]
|
|
11244
11373
|
* @param {number} [page]
|
|
11245
11374
|
* @param {number} [limit]
|
|
11246
11375
|
* @param {Date} [lastRetrieved]
|
|
11247
11376
|
* @param {*} [options] Override http request option.
|
|
11248
11377
|
* @throws {RequiredError}
|
|
11249
11378
|
*/
|
|
11250
|
-
apiV2BookingsGet: async (
|
|
11379
|
+
apiV2BookingsGet: async (hospitalId?: string, hospitalName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11251
11380
|
const localVarPath = `/api/v2/bookings`;
|
|
11252
11381
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11253
11382
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11264,8 +11393,20 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11264
11393
|
// oauth required
|
|
11265
11394
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
11266
11395
|
|
|
11267
|
-
if (
|
|
11268
|
-
localVarQueryParameter['
|
|
11396
|
+
if (hospitalId !== undefined) {
|
|
11397
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
11398
|
+
}
|
|
11399
|
+
|
|
11400
|
+
if (hospitalName !== undefined) {
|
|
11401
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
11402
|
+
}
|
|
11403
|
+
|
|
11404
|
+
if (dealId !== undefined) {
|
|
11405
|
+
localVarQueryParameter['DealId'] = dealId;
|
|
11406
|
+
}
|
|
11407
|
+
|
|
11408
|
+
if (dealName !== undefined) {
|
|
11409
|
+
localVarQueryParameter['DealName'] = dealName;
|
|
11269
11410
|
}
|
|
11270
11411
|
|
|
11271
11412
|
if (isOpen !== undefined) {
|
|
@@ -11284,8 +11425,24 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11284
11425
|
localVarQueryParameter['DealPackageId'] = dealPackageId;
|
|
11285
11426
|
}
|
|
11286
11427
|
|
|
11287
|
-
if (
|
|
11288
|
-
localVarQueryParameter['
|
|
11428
|
+
if (sortRequestDate !== undefined) {
|
|
11429
|
+
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
11430
|
+
}
|
|
11431
|
+
|
|
11432
|
+
if (sortConfirmedDateStart !== undefined) {
|
|
11433
|
+
localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
|
|
11434
|
+
}
|
|
11435
|
+
|
|
11436
|
+
if (isExternal !== undefined) {
|
|
11437
|
+
localVarQueryParameter['IsExternal'] = isExternal;
|
|
11438
|
+
}
|
|
11439
|
+
|
|
11440
|
+
if (paymentEnabled !== undefined) {
|
|
11441
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
11442
|
+
}
|
|
11443
|
+
|
|
11444
|
+
if (languageCode !== undefined) {
|
|
11445
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
11289
11446
|
}
|
|
11290
11447
|
|
|
11291
11448
|
if (page !== undefined) {
|
|
@@ -11369,11 +11526,12 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
11369
11526
|
*
|
|
11370
11527
|
* @summary Get booking.
|
|
11371
11528
|
* @param {string} bookingId
|
|
11529
|
+
* @param {string} [languageCode]
|
|
11372
11530
|
* @param {*} [options] Override http request option.
|
|
11373
11531
|
* @throws {RequiredError}
|
|
11374
11532
|
*/
|
|
11375
|
-
async apiV2BookingsBookingIdGet(bookingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingModel>> {
|
|
11376
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, options);
|
|
11533
|
+
async apiV2BookingsBookingIdGet(bookingId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingModel>> {
|
|
11534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, languageCode, options);
|
|
11377
11535
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11378
11536
|
},
|
|
11379
11537
|
/**
|
|
@@ -11402,20 +11560,27 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
11402
11560
|
/**
|
|
11403
11561
|
*
|
|
11404
11562
|
* @summary Get all bookings.
|
|
11405
|
-
* @param {string} [
|
|
11563
|
+
* @param {string} [hospitalId]
|
|
11564
|
+
* @param {string} [hospitalName]
|
|
11565
|
+
* @param {string} [dealId]
|
|
11566
|
+
* @param {string} [dealName]
|
|
11406
11567
|
* @param {boolean} [isOpen]
|
|
11407
11568
|
* @param {boolean} [isCompleted]
|
|
11408
11569
|
* @param {BookingStatus} [status]
|
|
11409
11570
|
* @param {string} [dealPackageId]
|
|
11410
|
-
* @param {
|
|
11571
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
11572
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
11573
|
+
* @param {boolean} [isExternal]
|
|
11574
|
+
* @param {boolean} [paymentEnabled]
|
|
11575
|
+
* @param {string} [languageCode]
|
|
11411
11576
|
* @param {number} [page]
|
|
11412
11577
|
* @param {number} [limit]
|
|
11413
11578
|
* @param {Date} [lastRetrieved]
|
|
11414
11579
|
* @param {*} [options] Override http request option.
|
|
11415
11580
|
* @throws {RequiredError}
|
|
11416
11581
|
*/
|
|
11417
|
-
async apiV2BookingsGet(
|
|
11418
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsGet(
|
|
11582
|
+
async apiV2BookingsGet(hospitalId?: string, hospitalName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
|
|
11583
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options);
|
|
11419
11584
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11420
11585
|
},
|
|
11421
11586
|
/**
|
|
@@ -11444,11 +11609,12 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
11444
11609
|
*
|
|
11445
11610
|
* @summary Get booking.
|
|
11446
11611
|
* @param {string} bookingId
|
|
11612
|
+
* @param {string} [languageCode]
|
|
11447
11613
|
* @param {*} [options] Override http request option.
|
|
11448
11614
|
* @throws {RequiredError}
|
|
11449
11615
|
*/
|
|
11450
|
-
apiV2BookingsBookingIdGet(bookingId: string, options?: any): AxiosPromise<BookingModel> {
|
|
11451
|
-
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then((request) => request(axios, basePath));
|
|
11616
|
+
apiV2BookingsBookingIdGet(bookingId: string, languageCode?: string, options?: any): AxiosPromise<BookingModel> {
|
|
11617
|
+
return localVarFp.apiV2BookingsBookingIdGet(bookingId, languageCode, options).then((request) => request(axios, basePath));
|
|
11452
11618
|
},
|
|
11453
11619
|
/**
|
|
11454
11620
|
*
|
|
@@ -11474,20 +11640,27 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
11474
11640
|
/**
|
|
11475
11641
|
*
|
|
11476
11642
|
* @summary Get all bookings.
|
|
11477
|
-
* @param {string} [
|
|
11643
|
+
* @param {string} [hospitalId]
|
|
11644
|
+
* @param {string} [hospitalName]
|
|
11645
|
+
* @param {string} [dealId]
|
|
11646
|
+
* @param {string} [dealName]
|
|
11478
11647
|
* @param {boolean} [isOpen]
|
|
11479
11648
|
* @param {boolean} [isCompleted]
|
|
11480
11649
|
* @param {BookingStatus} [status]
|
|
11481
11650
|
* @param {string} [dealPackageId]
|
|
11482
|
-
* @param {
|
|
11651
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
11652
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
11653
|
+
* @param {boolean} [isExternal]
|
|
11654
|
+
* @param {boolean} [paymentEnabled]
|
|
11655
|
+
* @param {string} [languageCode]
|
|
11483
11656
|
* @param {number} [page]
|
|
11484
11657
|
* @param {number} [limit]
|
|
11485
11658
|
* @param {Date} [lastRetrieved]
|
|
11486
11659
|
* @param {*} [options] Override http request option.
|
|
11487
11660
|
* @throws {RequiredError}
|
|
11488
11661
|
*/
|
|
11489
|
-
apiV2BookingsGet(
|
|
11490
|
-
return localVarFp.apiV2BookingsGet(
|
|
11662
|
+
apiV2BookingsGet(hospitalId?: string, hospitalName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
|
|
11663
|
+
return localVarFp.apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
11491
11664
|
},
|
|
11492
11665
|
/**
|
|
11493
11666
|
*
|
|
@@ -11514,12 +11687,13 @@ export class BookingsApi extends BaseAPI {
|
|
|
11514
11687
|
*
|
|
11515
11688
|
* @summary Get booking.
|
|
11516
11689
|
* @param {string} bookingId
|
|
11690
|
+
* @param {string} [languageCode]
|
|
11517
11691
|
* @param {*} [options] Override http request option.
|
|
11518
11692
|
* @throws {RequiredError}
|
|
11519
11693
|
* @memberof BookingsApi
|
|
11520
11694
|
*/
|
|
11521
|
-
public apiV2BookingsBookingIdGet(bookingId: string, options?: AxiosRequestConfig) {
|
|
11522
|
-
return BookingsApiFp(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
11695
|
+
public apiV2BookingsBookingIdGet(bookingId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
11696
|
+
return BookingsApiFp(this.configuration).apiV2BookingsBookingIdGet(bookingId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
11523
11697
|
}
|
|
11524
11698
|
|
|
11525
11699
|
/**
|
|
@@ -11550,12 +11724,19 @@ export class BookingsApi extends BaseAPI {
|
|
|
11550
11724
|
/**
|
|
11551
11725
|
*
|
|
11552
11726
|
* @summary Get all bookings.
|
|
11553
|
-
* @param {string} [
|
|
11727
|
+
* @param {string} [hospitalId]
|
|
11728
|
+
* @param {string} [hospitalName]
|
|
11729
|
+
* @param {string} [dealId]
|
|
11730
|
+
* @param {string} [dealName]
|
|
11554
11731
|
* @param {boolean} [isOpen]
|
|
11555
11732
|
* @param {boolean} [isCompleted]
|
|
11556
11733
|
* @param {BookingStatus} [status]
|
|
11557
11734
|
* @param {string} [dealPackageId]
|
|
11558
|
-
* @param {
|
|
11735
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
11736
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
11737
|
+
* @param {boolean} [isExternal]
|
|
11738
|
+
* @param {boolean} [paymentEnabled]
|
|
11739
|
+
* @param {string} [languageCode]
|
|
11559
11740
|
* @param {number} [page]
|
|
11560
11741
|
* @param {number} [limit]
|
|
11561
11742
|
* @param {Date} [lastRetrieved]
|
|
@@ -11563,8 +11744,8 @@ export class BookingsApi extends BaseAPI {
|
|
|
11563
11744
|
* @throws {RequiredError}
|
|
11564
11745
|
* @memberof BookingsApi
|
|
11565
11746
|
*/
|
|
11566
|
-
public apiV2BookingsGet(
|
|
11567
|
-
return BookingsApiFp(this.configuration).apiV2BookingsGet(
|
|
11747
|
+
public apiV2BookingsGet(hospitalId?: string, hospitalName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
11748
|
+
return BookingsApiFp(this.configuration).apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
11568
11749
|
}
|
|
11569
11750
|
|
|
11570
11751
|
/**
|
|
@@ -12315,10 +12496,11 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12315
12496
|
*
|
|
12316
12497
|
* @summary Get consultation.
|
|
12317
12498
|
* @param {string} consultationId
|
|
12499
|
+
* @param {string} [languageCode]
|
|
12318
12500
|
* @param {*} [options] Override http request option.
|
|
12319
12501
|
* @throws {RequiredError}
|
|
12320
12502
|
*/
|
|
12321
|
-
apiV2ConsultationsConsultationIdGet: async (consultationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12503
|
+
apiV2ConsultationsConsultationIdGet: async (consultationId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12322
12504
|
// verify required parameter 'consultationId' is not null or undefined
|
|
12323
12505
|
assertParamExists('apiV2ConsultationsConsultationIdGet', 'consultationId', consultationId)
|
|
12324
12506
|
const localVarPath = `/api/v2/consultations/{consultationId}`
|
|
@@ -12338,6 +12520,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12338
12520
|
// oauth required
|
|
12339
12521
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
12340
12522
|
|
|
12523
|
+
if (languageCode !== undefined) {
|
|
12524
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
12525
|
+
}
|
|
12526
|
+
|
|
12341
12527
|
|
|
12342
12528
|
|
|
12343
12529
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12432,19 +12618,24 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12432
12618
|
/**
|
|
12433
12619
|
*
|
|
12434
12620
|
* @summary Get all consultations.
|
|
12435
|
-
* @param {string} [
|
|
12621
|
+
* @param {string} [hospitalId]
|
|
12622
|
+
* @param {string} [hospitalName]
|
|
12623
|
+
* @param {string} [doctorId]
|
|
12624
|
+
* @param {string} [doctorName]
|
|
12625
|
+
* @param {string} [dealId]
|
|
12626
|
+
* @param {string} [dealName]
|
|
12436
12627
|
* @param {boolean} [isOpen]
|
|
12437
12628
|
* @param {boolean} [isCompleted]
|
|
12438
12629
|
* @param {ConsultationStatus} [status]
|
|
12439
12630
|
* @param {ConsultationType} [consultationType]
|
|
12440
|
-
* @param {string} [
|
|
12631
|
+
* @param {string} [languageCode]
|
|
12441
12632
|
* @param {number} [page]
|
|
12442
12633
|
* @param {number} [limit]
|
|
12443
12634
|
* @param {Date} [lastRetrieved]
|
|
12444
12635
|
* @param {*} [options] Override http request option.
|
|
12445
12636
|
* @throws {RequiredError}
|
|
12446
12637
|
*/
|
|
12447
|
-
apiV2ConsultationsGet: async (
|
|
12638
|
+
apiV2ConsultationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12448
12639
|
const localVarPath = `/api/v2/consultations`;
|
|
12449
12640
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12450
12641
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12461,8 +12652,28 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12461
12652
|
// oauth required
|
|
12462
12653
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
12463
12654
|
|
|
12464
|
-
if (
|
|
12465
|
-
localVarQueryParameter['
|
|
12655
|
+
if (hospitalId !== undefined) {
|
|
12656
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
12657
|
+
}
|
|
12658
|
+
|
|
12659
|
+
if (hospitalName !== undefined) {
|
|
12660
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
12661
|
+
}
|
|
12662
|
+
|
|
12663
|
+
if (doctorId !== undefined) {
|
|
12664
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
12665
|
+
}
|
|
12666
|
+
|
|
12667
|
+
if (doctorName !== undefined) {
|
|
12668
|
+
localVarQueryParameter['DoctorName'] = doctorName;
|
|
12669
|
+
}
|
|
12670
|
+
|
|
12671
|
+
if (dealId !== undefined) {
|
|
12672
|
+
localVarQueryParameter['DealId'] = dealId;
|
|
12673
|
+
}
|
|
12674
|
+
|
|
12675
|
+
if (dealName !== undefined) {
|
|
12676
|
+
localVarQueryParameter['DealName'] = dealName;
|
|
12466
12677
|
}
|
|
12467
12678
|
|
|
12468
12679
|
if (isOpen !== undefined) {
|
|
@@ -12481,8 +12692,8 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12481
12692
|
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
12482
12693
|
}
|
|
12483
12694
|
|
|
12484
|
-
if (
|
|
12485
|
-
localVarQueryParameter['
|
|
12695
|
+
if (languageCode !== undefined) {
|
|
12696
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12486
12697
|
}
|
|
12487
12698
|
|
|
12488
12699
|
if (page !== undefined) {
|
|
@@ -12566,11 +12777,12 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
12566
12777
|
*
|
|
12567
12778
|
* @summary Get consultation.
|
|
12568
12779
|
* @param {string} consultationId
|
|
12780
|
+
* @param {string} [languageCode]
|
|
12569
12781
|
* @param {*} [options] Override http request option.
|
|
12570
12782
|
* @throws {RequiredError}
|
|
12571
12783
|
*/
|
|
12572
|
-
async apiV2ConsultationsConsultationIdGet(consultationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>> {
|
|
12573
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, options);
|
|
12784
|
+
async apiV2ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>> {
|
|
12785
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options);
|
|
12574
12786
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12575
12787
|
},
|
|
12576
12788
|
/**
|
|
@@ -12599,20 +12811,25 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
12599
12811
|
/**
|
|
12600
12812
|
*
|
|
12601
12813
|
* @summary Get all consultations.
|
|
12602
|
-
* @param {string} [
|
|
12814
|
+
* @param {string} [hospitalId]
|
|
12815
|
+
* @param {string} [hospitalName]
|
|
12816
|
+
* @param {string} [doctorId]
|
|
12817
|
+
* @param {string} [doctorName]
|
|
12818
|
+
* @param {string} [dealId]
|
|
12819
|
+
* @param {string} [dealName]
|
|
12603
12820
|
* @param {boolean} [isOpen]
|
|
12604
12821
|
* @param {boolean} [isCompleted]
|
|
12605
12822
|
* @param {ConsultationStatus} [status]
|
|
12606
12823
|
* @param {ConsultationType} [consultationType]
|
|
12607
|
-
* @param {string} [
|
|
12824
|
+
* @param {string} [languageCode]
|
|
12608
12825
|
* @param {number} [page]
|
|
12609
12826
|
* @param {number} [limit]
|
|
12610
12827
|
* @param {Date} [lastRetrieved]
|
|
12611
12828
|
* @param {*} [options] Override http request option.
|
|
12612
12829
|
* @throws {RequiredError}
|
|
12613
12830
|
*/
|
|
12614
|
-
async apiV2ConsultationsGet(
|
|
12615
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsGet(
|
|
12831
|
+
async apiV2ConsultationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
12832
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options);
|
|
12616
12833
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12617
12834
|
},
|
|
12618
12835
|
/**
|
|
@@ -12641,11 +12858,12 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
12641
12858
|
*
|
|
12642
12859
|
* @summary Get consultation.
|
|
12643
12860
|
* @param {string} consultationId
|
|
12861
|
+
* @param {string} [languageCode]
|
|
12644
12862
|
* @param {*} [options] Override http request option.
|
|
12645
12863
|
* @throws {RequiredError}
|
|
12646
12864
|
*/
|
|
12647
|
-
apiV2ConsultationsConsultationIdGet(consultationId: string, options?: any): AxiosPromise<ConsultationModel> {
|
|
12648
|
-
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then((request) => request(axios, basePath));
|
|
12865
|
+
apiV2ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: any): AxiosPromise<ConsultationModel> {
|
|
12866
|
+
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then((request) => request(axios, basePath));
|
|
12649
12867
|
},
|
|
12650
12868
|
/**
|
|
12651
12869
|
*
|
|
@@ -12671,20 +12889,25 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
12671
12889
|
/**
|
|
12672
12890
|
*
|
|
12673
12891
|
* @summary Get all consultations.
|
|
12674
|
-
* @param {string} [
|
|
12892
|
+
* @param {string} [hospitalId]
|
|
12893
|
+
* @param {string} [hospitalName]
|
|
12894
|
+
* @param {string} [doctorId]
|
|
12895
|
+
* @param {string} [doctorName]
|
|
12896
|
+
* @param {string} [dealId]
|
|
12897
|
+
* @param {string} [dealName]
|
|
12675
12898
|
* @param {boolean} [isOpen]
|
|
12676
12899
|
* @param {boolean} [isCompleted]
|
|
12677
12900
|
* @param {ConsultationStatus} [status]
|
|
12678
12901
|
* @param {ConsultationType} [consultationType]
|
|
12679
|
-
* @param {string} [
|
|
12902
|
+
* @param {string} [languageCode]
|
|
12680
12903
|
* @param {number} [page]
|
|
12681
12904
|
* @param {number} [limit]
|
|
12682
12905
|
* @param {Date} [lastRetrieved]
|
|
12683
12906
|
* @param {*} [options] Override http request option.
|
|
12684
12907
|
* @throws {RequiredError}
|
|
12685
12908
|
*/
|
|
12686
|
-
apiV2ConsultationsGet(
|
|
12687
|
-
return localVarFp.apiV2ConsultationsGet(
|
|
12909
|
+
apiV2ConsultationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
12910
|
+
return localVarFp.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
12688
12911
|
},
|
|
12689
12912
|
/**
|
|
12690
12913
|
*
|
|
@@ -12711,12 +12934,13 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
12711
12934
|
*
|
|
12712
12935
|
* @summary Get consultation.
|
|
12713
12936
|
* @param {string} consultationId
|
|
12937
|
+
* @param {string} [languageCode]
|
|
12714
12938
|
* @param {*} [options] Override http request option.
|
|
12715
12939
|
* @throws {RequiredError}
|
|
12716
12940
|
* @memberof ConsultationsApi
|
|
12717
12941
|
*/
|
|
12718
|
-
public apiV2ConsultationsConsultationIdGet(consultationId: string, options?: AxiosRequestConfig) {
|
|
12719
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
12942
|
+
public apiV2ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
12943
|
+
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
12720
12944
|
}
|
|
12721
12945
|
|
|
12722
12946
|
/**
|
|
@@ -12747,12 +12971,17 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
12747
12971
|
/**
|
|
12748
12972
|
*
|
|
12749
12973
|
* @summary Get all consultations.
|
|
12750
|
-
* @param {string} [
|
|
12974
|
+
* @param {string} [hospitalId]
|
|
12975
|
+
* @param {string} [hospitalName]
|
|
12976
|
+
* @param {string} [doctorId]
|
|
12977
|
+
* @param {string} [doctorName]
|
|
12978
|
+
* @param {string} [dealId]
|
|
12979
|
+
* @param {string} [dealName]
|
|
12751
12980
|
* @param {boolean} [isOpen]
|
|
12752
12981
|
* @param {boolean} [isCompleted]
|
|
12753
12982
|
* @param {ConsultationStatus} [status]
|
|
12754
12983
|
* @param {ConsultationType} [consultationType]
|
|
12755
|
-
* @param {string} [
|
|
12984
|
+
* @param {string} [languageCode]
|
|
12756
12985
|
* @param {number} [page]
|
|
12757
12986
|
* @param {number} [limit]
|
|
12758
12987
|
* @param {Date} [lastRetrieved]
|
|
@@ -12760,8 +12989,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
12760
12989
|
* @throws {RequiredError}
|
|
12761
12990
|
* @memberof ConsultationsApi
|
|
12762
12991
|
*/
|
|
12763
|
-
public apiV2ConsultationsGet(
|
|
12764
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsGet(
|
|
12992
|
+
public apiV2ConsultationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
12993
|
+
return ConsultationsApiFp(this.configuration).apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
12765
12994
|
}
|
|
12766
12995
|
|
|
12767
12996
|
/**
|
|
@@ -14926,16 +15155,19 @@ export class DealsApi extends BaseAPI {
|
|
|
14926
15155
|
|
|
14927
15156
|
|
|
14928
15157
|
/**
|
|
14929
|
-
*
|
|
15158
|
+
* DoctorAffiliationsApi - axios parameter creator
|
|
14930
15159
|
* @export
|
|
14931
15160
|
*/
|
|
14932
|
-
export const
|
|
15161
|
+
export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14933
15162
|
return {
|
|
14934
15163
|
/**
|
|
14935
15164
|
*
|
|
14936
15165
|
* @summary Get all doctor affiliations.
|
|
14937
|
-
* @param {string}
|
|
15166
|
+
* @param {string} [hospitalId]
|
|
14938
15167
|
* @param {string} [hospitalName]
|
|
15168
|
+
* @param {string} [doctorId]
|
|
15169
|
+
* @param {string} [doctorName]
|
|
15170
|
+
* @param {string} [doctorSlug]
|
|
14939
15171
|
* @param {string} [languageCode]
|
|
14940
15172
|
* @param {number} [page]
|
|
14941
15173
|
* @param {number} [limit]
|
|
@@ -14943,11 +15175,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14943
15175
|
* @param {*} [options] Override http request option.
|
|
14944
15176
|
* @throws {RequiredError}
|
|
14945
15177
|
*/
|
|
14946
|
-
|
|
14947
|
-
|
|
14948
|
-
assertParamExists('apiV2DoctorsDoctorIdAffiliationsGet', 'doctorId', doctorId)
|
|
14949
|
-
const localVarPath = `/api/v2/doctors/{doctorId}/affiliations`
|
|
14950
|
-
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
15178
|
+
apiV2DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15179
|
+
const localVarPath = `/api/v2/doctoraffiliations`;
|
|
14951
15180
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14952
15181
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14953
15182
|
let baseOptions;
|
|
@@ -14959,10 +15188,26 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14959
15188
|
const localVarHeaderParameter = {} as any;
|
|
14960
15189
|
const localVarQueryParameter = {} as any;
|
|
14961
15190
|
|
|
15191
|
+
if (hospitalId !== undefined) {
|
|
15192
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15193
|
+
}
|
|
15194
|
+
|
|
14962
15195
|
if (hospitalName !== undefined) {
|
|
14963
15196
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
14964
15197
|
}
|
|
14965
15198
|
|
|
15199
|
+
if (doctorId !== undefined) {
|
|
15200
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
15201
|
+
}
|
|
15202
|
+
|
|
15203
|
+
if (doctorName !== undefined) {
|
|
15204
|
+
localVarQueryParameter['DoctorName'] = doctorName;
|
|
15205
|
+
}
|
|
15206
|
+
|
|
15207
|
+
if (doctorSlug !== undefined) {
|
|
15208
|
+
localVarQueryParameter['DoctorSlug'] = doctorSlug;
|
|
15209
|
+
}
|
|
15210
|
+
|
|
14966
15211
|
if (languageCode !== undefined) {
|
|
14967
15212
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14968
15213
|
}
|
|
@@ -14995,19 +15240,54 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14995
15240
|
/**
|
|
14996
15241
|
*
|
|
14997
15242
|
* @summary Get doctor affiliation.
|
|
14998
|
-
* @param {string}
|
|
14999
|
-
* @param {string}
|
|
15243
|
+
* @param {string} id
|
|
15244
|
+
* @param {string} [languageCode]
|
|
15000
15245
|
* @param {*} [options] Override http request option.
|
|
15001
15246
|
* @throws {RequiredError}
|
|
15002
15247
|
*/
|
|
15003
|
-
|
|
15004
|
-
// verify required parameter '
|
|
15005
|
-
assertParamExists('
|
|
15006
|
-
|
|
15007
|
-
|
|
15008
|
-
|
|
15009
|
-
|
|
15010
|
-
|
|
15248
|
+
apiV2DoctoraffiliationsIdGet: async (id: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15249
|
+
// verify required parameter 'id' is not null or undefined
|
|
15250
|
+
assertParamExists('apiV2DoctoraffiliationsIdGet', 'id', id)
|
|
15251
|
+
const localVarPath = `/api/v2/doctoraffiliations/{id}`
|
|
15252
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15253
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15254
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15255
|
+
let baseOptions;
|
|
15256
|
+
if (configuration) {
|
|
15257
|
+
baseOptions = configuration.baseOptions;
|
|
15258
|
+
}
|
|
15259
|
+
|
|
15260
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15261
|
+
const localVarHeaderParameter = {} as any;
|
|
15262
|
+
const localVarQueryParameter = {} as any;
|
|
15263
|
+
|
|
15264
|
+
if (languageCode !== undefined) {
|
|
15265
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
15266
|
+
}
|
|
15267
|
+
|
|
15268
|
+
|
|
15269
|
+
|
|
15270
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15271
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15272
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15273
|
+
|
|
15274
|
+
return {
|
|
15275
|
+
url: toPathString(localVarUrlObj),
|
|
15276
|
+
options: localVarRequestOptions,
|
|
15277
|
+
};
|
|
15278
|
+
},
|
|
15279
|
+
/**
|
|
15280
|
+
*
|
|
15281
|
+
* @param {string} slug
|
|
15282
|
+
* @param {string} [languageCode]
|
|
15283
|
+
* @param {*} [options] Override http request option.
|
|
15284
|
+
* @throws {RequiredError}
|
|
15285
|
+
*/
|
|
15286
|
+
apiV2DoctoraffiliationsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15287
|
+
// verify required parameter 'slug' is not null or undefined
|
|
15288
|
+
assertParamExists('apiV2DoctoraffiliationsSlugGet', 'slug', slug)
|
|
15289
|
+
const localVarPath = `/api/v2/doctoraffiliations/{slug}`
|
|
15290
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
15011
15291
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15012
15292
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15013
15293
|
let baseOptions;
|
|
@@ -15015,21 +15295,189 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15015
15295
|
baseOptions = configuration.baseOptions;
|
|
15016
15296
|
}
|
|
15017
15297
|
|
|
15018
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15019
|
-
const localVarHeaderParameter = {} as any;
|
|
15020
|
-
const localVarQueryParameter = {} as any;
|
|
15298
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15299
|
+
const localVarHeaderParameter = {} as any;
|
|
15300
|
+
const localVarQueryParameter = {} as any;
|
|
15301
|
+
|
|
15302
|
+
if (languageCode !== undefined) {
|
|
15303
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
15304
|
+
}
|
|
15305
|
+
|
|
15306
|
+
|
|
15307
|
+
|
|
15308
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15309
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15310
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15311
|
+
|
|
15312
|
+
return {
|
|
15313
|
+
url: toPathString(localVarUrlObj),
|
|
15314
|
+
options: localVarRequestOptions,
|
|
15315
|
+
};
|
|
15316
|
+
},
|
|
15317
|
+
}
|
|
15318
|
+
};
|
|
15319
|
+
|
|
15320
|
+
/**
|
|
15321
|
+
* DoctorAffiliationsApi - functional programming interface
|
|
15322
|
+
* @export
|
|
15323
|
+
*/
|
|
15324
|
+
export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
15325
|
+
const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
|
|
15326
|
+
return {
|
|
15327
|
+
/**
|
|
15328
|
+
*
|
|
15329
|
+
* @summary Get all doctor affiliations.
|
|
15330
|
+
* @param {string} [hospitalId]
|
|
15331
|
+
* @param {string} [hospitalName]
|
|
15332
|
+
* @param {string} [doctorId]
|
|
15333
|
+
* @param {string} [doctorName]
|
|
15334
|
+
* @param {string} [doctorSlug]
|
|
15335
|
+
* @param {string} [languageCode]
|
|
15336
|
+
* @param {number} [page]
|
|
15337
|
+
* @param {number} [limit]
|
|
15338
|
+
* @param {Date} [lastRetrieved]
|
|
15339
|
+
* @param {*} [options] Override http request option.
|
|
15340
|
+
* @throws {RequiredError}
|
|
15341
|
+
*/
|
|
15342
|
+
async apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
|
|
15343
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options);
|
|
15344
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15345
|
+
},
|
|
15346
|
+
/**
|
|
15347
|
+
*
|
|
15348
|
+
* @summary Get doctor affiliation.
|
|
15349
|
+
* @param {string} id
|
|
15350
|
+
* @param {string} [languageCode]
|
|
15351
|
+
* @param {*} [options] Override http request option.
|
|
15352
|
+
* @throws {RequiredError}
|
|
15353
|
+
*/
|
|
15354
|
+
async apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
15355
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsIdGet(id, languageCode, options);
|
|
15356
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15357
|
+
},
|
|
15358
|
+
/**
|
|
15359
|
+
*
|
|
15360
|
+
* @param {string} slug
|
|
15361
|
+
* @param {string} [languageCode]
|
|
15362
|
+
* @param {*} [options] Override http request option.
|
|
15363
|
+
* @throws {RequiredError}
|
|
15364
|
+
*/
|
|
15365
|
+
async apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
15366
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options);
|
|
15367
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15368
|
+
},
|
|
15369
|
+
}
|
|
15370
|
+
};
|
|
15371
|
+
|
|
15372
|
+
/**
|
|
15373
|
+
* DoctorAffiliationsApi - factory interface
|
|
15374
|
+
* @export
|
|
15375
|
+
*/
|
|
15376
|
+
export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15377
|
+
const localVarFp = DoctorAffiliationsApiFp(configuration)
|
|
15378
|
+
return {
|
|
15379
|
+
/**
|
|
15380
|
+
*
|
|
15381
|
+
* @summary Get all doctor affiliations.
|
|
15382
|
+
* @param {string} [hospitalId]
|
|
15383
|
+
* @param {string} [hospitalName]
|
|
15384
|
+
* @param {string} [doctorId]
|
|
15385
|
+
* @param {string} [doctorName]
|
|
15386
|
+
* @param {string} [doctorSlug]
|
|
15387
|
+
* @param {string} [languageCode]
|
|
15388
|
+
* @param {number} [page]
|
|
15389
|
+
* @param {number} [limit]
|
|
15390
|
+
* @param {Date} [lastRetrieved]
|
|
15391
|
+
* @param {*} [options] Override http request option.
|
|
15392
|
+
* @throws {RequiredError}
|
|
15393
|
+
*/
|
|
15394
|
+
apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
|
|
15395
|
+
return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15396
|
+
},
|
|
15397
|
+
/**
|
|
15398
|
+
*
|
|
15399
|
+
* @summary Get doctor affiliation.
|
|
15400
|
+
* @param {string} id
|
|
15401
|
+
* @param {string} [languageCode]
|
|
15402
|
+
* @param {*} [options] Override http request option.
|
|
15403
|
+
* @throws {RequiredError}
|
|
15404
|
+
*/
|
|
15405
|
+
apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
15406
|
+
return localVarFp.apiV2DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(axios, basePath));
|
|
15407
|
+
},
|
|
15408
|
+
/**
|
|
15409
|
+
*
|
|
15410
|
+
* @param {string} slug
|
|
15411
|
+
* @param {string} [languageCode]
|
|
15412
|
+
* @param {*} [options] Override http request option.
|
|
15413
|
+
* @throws {RequiredError}
|
|
15414
|
+
*/
|
|
15415
|
+
apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
15416
|
+
return localVarFp.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
15417
|
+
},
|
|
15418
|
+
};
|
|
15419
|
+
};
|
|
15420
|
+
|
|
15421
|
+
/**
|
|
15422
|
+
* DoctorAffiliationsApi - object-oriented interface
|
|
15423
|
+
* @export
|
|
15424
|
+
* @class DoctorAffiliationsApi
|
|
15425
|
+
* @extends {BaseAPI}
|
|
15426
|
+
*/
|
|
15427
|
+
export class DoctorAffiliationsApi extends BaseAPI {
|
|
15428
|
+
/**
|
|
15429
|
+
*
|
|
15430
|
+
* @summary Get all doctor affiliations.
|
|
15431
|
+
* @param {string} [hospitalId]
|
|
15432
|
+
* @param {string} [hospitalName]
|
|
15433
|
+
* @param {string} [doctorId]
|
|
15434
|
+
* @param {string} [doctorName]
|
|
15435
|
+
* @param {string} [doctorSlug]
|
|
15436
|
+
* @param {string} [languageCode]
|
|
15437
|
+
* @param {number} [page]
|
|
15438
|
+
* @param {number} [limit]
|
|
15439
|
+
* @param {Date} [lastRetrieved]
|
|
15440
|
+
* @param {*} [options] Override http request option.
|
|
15441
|
+
* @throws {RequiredError}
|
|
15442
|
+
* @memberof DoctorAffiliationsApi
|
|
15443
|
+
*/
|
|
15444
|
+
public apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15445
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15446
|
+
}
|
|
15447
|
+
|
|
15448
|
+
/**
|
|
15449
|
+
*
|
|
15450
|
+
* @summary Get doctor affiliation.
|
|
15451
|
+
* @param {string} id
|
|
15452
|
+
* @param {string} [languageCode]
|
|
15453
|
+
* @param {*} [options] Override http request option.
|
|
15454
|
+
* @throws {RequiredError}
|
|
15455
|
+
* @memberof DoctorAffiliationsApi
|
|
15456
|
+
*/
|
|
15457
|
+
public apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
15458
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
15459
|
+
}
|
|
15021
15460
|
|
|
15461
|
+
/**
|
|
15462
|
+
*
|
|
15463
|
+
* @param {string} slug
|
|
15464
|
+
* @param {string} [languageCode]
|
|
15465
|
+
* @param {*} [options] Override http request option.
|
|
15466
|
+
* @throws {RequiredError}
|
|
15467
|
+
* @memberof DoctorAffiliationsApi
|
|
15468
|
+
*/
|
|
15469
|
+
public apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
15470
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
15471
|
+
}
|
|
15472
|
+
}
|
|
15022
15473
|
|
|
15023
|
-
|
|
15024
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15025
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15026
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15027
15474
|
|
|
15028
|
-
|
|
15029
|
-
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
|
|
15475
|
+
/**
|
|
15476
|
+
* DoctorsApi - axios parameter creator
|
|
15477
|
+
* @export
|
|
15478
|
+
*/
|
|
15479
|
+
export const DoctorsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15480
|
+
return {
|
|
15033
15481
|
/**
|
|
15034
15482
|
*
|
|
15035
15483
|
* @summary Get DoctorCertificate.
|
|
@@ -15612,14 +16060,13 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15612
16060
|
* @param {string} [specialtyId]
|
|
15613
16061
|
* @param {string} [specialtyName]
|
|
15614
16062
|
* @param {string} [languageCode]
|
|
15615
|
-
* @param {boolean} [showHidden]
|
|
15616
16063
|
* @param {number} [page]
|
|
15617
16064
|
* @param {number} [limit]
|
|
15618
16065
|
* @param {Date} [lastRetrieved]
|
|
15619
16066
|
* @param {*} [options] Override http request option.
|
|
15620
16067
|
* @throws {RequiredError}
|
|
15621
16068
|
*/
|
|
15622
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: async (doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string,
|
|
16069
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: async (doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15623
16070
|
// verify required parameter 'doctorId' is not null or undefined
|
|
15624
16071
|
assertParamExists('apiV2DoctorsDoctorIdSpecialtiesGet', 'doctorId', doctorId)
|
|
15625
16072
|
const localVarPath = `/api/v2/doctors/{doctorId}/specialties`
|
|
@@ -15651,10 +16098,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15651
16098
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15652
16099
|
}
|
|
15653
16100
|
|
|
15654
|
-
if (showHidden !== undefined) {
|
|
15655
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
15656
|
-
}
|
|
15657
|
-
|
|
15658
16101
|
if (page !== undefined) {
|
|
15659
16102
|
localVarQueryParameter['page'] = page;
|
|
15660
16103
|
}
|
|
@@ -15728,25 +16171,23 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15728
16171
|
* @summary Get all Doctors.
|
|
15729
16172
|
* @param {string} [hospitalId]
|
|
15730
16173
|
* @param {string} [hospitalName]
|
|
15731
|
-
* @param {string} [languageCode]
|
|
15732
|
-
* @param {boolean} [returnDefaultValue]
|
|
15733
16174
|
* @param {Array<string>} [ids]
|
|
15734
16175
|
* @param {string} [specialtyId]
|
|
15735
16176
|
* @param {boolean} [consultationEnabled]
|
|
16177
|
+
* @param {string} [languageCode]
|
|
15736
16178
|
* @param {string} [id]
|
|
15737
16179
|
* @param {string} [fullname]
|
|
15738
16180
|
* @param {string} [email]
|
|
15739
16181
|
* @param {Gender} [gender]
|
|
15740
16182
|
* @param {Date} [dateOfBirth]
|
|
15741
16183
|
* @param {Date} [created]
|
|
15742
|
-
* @param {boolean} [showHidden]
|
|
15743
16184
|
* @param {number} [page]
|
|
15744
16185
|
* @param {number} [limit]
|
|
15745
16186
|
* @param {Date} [lastRetrieved]
|
|
15746
16187
|
* @param {*} [options] Override http request option.
|
|
15747
16188
|
* @throws {RequiredError}
|
|
15748
16189
|
*/
|
|
15749
|
-
apiV2DoctorsGet: async (hospitalId?: string, hospitalName?: string,
|
|
16190
|
+
apiV2DoctorsGet: async (hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15750
16191
|
const localVarPath = `/api/v2/doctors`;
|
|
15751
16192
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15752
16193
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15767,14 +16208,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15767
16208
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
15768
16209
|
}
|
|
15769
16210
|
|
|
15770
|
-
if (languageCode !== undefined) {
|
|
15771
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15772
|
-
}
|
|
15773
|
-
|
|
15774
|
-
if (returnDefaultValue !== undefined) {
|
|
15775
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
15776
|
-
}
|
|
15777
|
-
|
|
15778
16211
|
if (ids) {
|
|
15779
16212
|
localVarQueryParameter['Ids'] = ids;
|
|
15780
16213
|
}
|
|
@@ -15787,6 +16220,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15787
16220
|
localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
|
|
15788
16221
|
}
|
|
15789
16222
|
|
|
16223
|
+
if (languageCode !== undefined) {
|
|
16224
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
16225
|
+
}
|
|
16226
|
+
|
|
15790
16227
|
if (id !== undefined) {
|
|
15791
16228
|
localVarQueryParameter['Id'] = id;
|
|
15792
16229
|
}
|
|
@@ -15815,10 +16252,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15815
16252
|
created;
|
|
15816
16253
|
}
|
|
15817
16254
|
|
|
15818
|
-
if (showHidden !== undefined) {
|
|
15819
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
15820
|
-
}
|
|
15821
|
-
|
|
15822
16255
|
if (page !== undefined) {
|
|
15823
16256
|
localVarQueryParameter['page'] = page;
|
|
15824
16257
|
}
|
|
@@ -15849,25 +16282,23 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15849
16282
|
* @summary Get all Doctors.
|
|
15850
16283
|
* @param {string} [hospitalId]
|
|
15851
16284
|
* @param {string} [hospitalName]
|
|
15852
|
-
* @param {string} [languageCode]
|
|
15853
|
-
* @param {boolean} [returnDefaultValue]
|
|
15854
16285
|
* @param {Array<string>} [ids]
|
|
15855
16286
|
* @param {string} [specialtyId]
|
|
15856
16287
|
* @param {boolean} [consultationEnabled]
|
|
16288
|
+
* @param {string} [languageCode]
|
|
15857
16289
|
* @param {string} [id]
|
|
15858
16290
|
* @param {string} [fullname]
|
|
15859
16291
|
* @param {string} [email]
|
|
15860
16292
|
* @param {Gender} [gender]
|
|
15861
16293
|
* @param {Date} [dateOfBirth]
|
|
15862
16294
|
* @param {Date} [created]
|
|
15863
|
-
* @param {boolean} [showHidden]
|
|
15864
16295
|
* @param {number} [page]
|
|
15865
16296
|
* @param {number} [limit]
|
|
15866
16297
|
* @param {Date} [lastRetrieved]
|
|
15867
16298
|
* @param {*} [options] Override http request option.
|
|
15868
16299
|
* @throws {RequiredError}
|
|
15869
16300
|
*/
|
|
15870
|
-
apiV2DoctorsSimpleGet: async (hospitalId?: string, hospitalName?: string,
|
|
16301
|
+
apiV2DoctorsSimpleGet: async (hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15871
16302
|
const localVarPath = `/api/v2/doctors/simple`;
|
|
15872
16303
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15873
16304
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15888,14 +16319,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15888
16319
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
15889
16320
|
}
|
|
15890
16321
|
|
|
15891
|
-
if (languageCode !== undefined) {
|
|
15892
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15893
|
-
}
|
|
15894
|
-
|
|
15895
|
-
if (returnDefaultValue !== undefined) {
|
|
15896
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
15897
|
-
}
|
|
15898
|
-
|
|
15899
16322
|
if (ids) {
|
|
15900
16323
|
localVarQueryParameter['Ids'] = ids;
|
|
15901
16324
|
}
|
|
@@ -15908,6 +16331,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15908
16331
|
localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
|
|
15909
16332
|
}
|
|
15910
16333
|
|
|
16334
|
+
if (languageCode !== undefined) {
|
|
16335
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
16336
|
+
}
|
|
16337
|
+
|
|
15911
16338
|
if (id !== undefined) {
|
|
15912
16339
|
localVarQueryParameter['Id'] = id;
|
|
15913
16340
|
}
|
|
@@ -15936,10 +16363,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15936
16363
|
created;
|
|
15937
16364
|
}
|
|
15938
16365
|
|
|
15939
|
-
if (showHidden !== undefined) {
|
|
15940
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
15941
|
-
}
|
|
15942
|
-
|
|
15943
16366
|
if (page !== undefined) {
|
|
15944
16367
|
localVarQueryParameter['page'] = page;
|
|
15945
16368
|
}
|
|
@@ -15956,49 +16379,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15956
16379
|
|
|
15957
16380
|
|
|
15958
16381
|
|
|
15959
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15960
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15961
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15962
|
-
|
|
15963
|
-
return {
|
|
15964
|
-
url: toPathString(localVarUrlObj),
|
|
15965
|
-
options: localVarRequestOptions,
|
|
15966
|
-
};
|
|
15967
|
-
},
|
|
15968
|
-
/**
|
|
15969
|
-
*
|
|
15970
|
-
* @param {string} slug
|
|
15971
|
-
* @param {string} [languageCode]
|
|
15972
|
-
* @param {boolean} [returnDefaultValue]
|
|
15973
|
-
* @param {*} [options] Override http request option.
|
|
15974
|
-
* @throws {RequiredError}
|
|
15975
|
-
*/
|
|
15976
|
-
apiV2DoctorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15977
|
-
// verify required parameter 'slug' is not null or undefined
|
|
15978
|
-
assertParamExists('apiV2DoctorsSlugGet', 'slug', slug)
|
|
15979
|
-
const localVarPath = `/api/v2/doctors/{slug}`
|
|
15980
|
-
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
15981
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15982
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15983
|
-
let baseOptions;
|
|
15984
|
-
if (configuration) {
|
|
15985
|
-
baseOptions = configuration.baseOptions;
|
|
15986
|
-
}
|
|
15987
|
-
|
|
15988
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15989
|
-
const localVarHeaderParameter = {} as any;
|
|
15990
|
-
const localVarQueryParameter = {} as any;
|
|
15991
|
-
|
|
15992
|
-
if (languageCode !== undefined) {
|
|
15993
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
15994
|
-
}
|
|
15995
|
-
|
|
15996
|
-
if (returnDefaultValue !== undefined) {
|
|
15997
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
15998
|
-
}
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
16382
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16003
16383
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16004
16384
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16018,34 +16398,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16018
16398
|
export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
16019
16399
|
const localVarAxiosParamCreator = DoctorsApiAxiosParamCreator(configuration)
|
|
16020
16400
|
return {
|
|
16021
|
-
/**
|
|
16022
|
-
*
|
|
16023
|
-
* @summary Get all doctor affiliations.
|
|
16024
|
-
* @param {string} doctorId
|
|
16025
|
-
* @param {string} [hospitalName]
|
|
16026
|
-
* @param {string} [languageCode]
|
|
16027
|
-
* @param {number} [page]
|
|
16028
|
-
* @param {number} [limit]
|
|
16029
|
-
* @param {Date} [lastRetrieved]
|
|
16030
|
-
* @param {*} [options] Override http request option.
|
|
16031
|
-
* @throws {RequiredError}
|
|
16032
|
-
*/
|
|
16033
|
-
async apiV2DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
|
|
16034
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options);
|
|
16035
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16036
|
-
},
|
|
16037
|
-
/**
|
|
16038
|
-
*
|
|
16039
|
-
* @summary Get doctor affiliation.
|
|
16040
|
-
* @param {string} doctorId
|
|
16041
|
-
* @param {string} hospitalId
|
|
16042
|
-
* @param {*} [options] Override http request option.
|
|
16043
|
-
* @throws {RequiredError}
|
|
16044
|
-
*/
|
|
16045
|
-
async apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
16046
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options);
|
|
16047
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16048
|
-
},
|
|
16049
16401
|
/**
|
|
16050
16402
|
*
|
|
16051
16403
|
* @summary Get DoctorCertificate.
|
|
@@ -16212,15 +16564,14 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
16212
16564
|
* @param {string} [specialtyId]
|
|
16213
16565
|
* @param {string} [specialtyName]
|
|
16214
16566
|
* @param {string} [languageCode]
|
|
16215
|
-
* @param {boolean} [showHidden]
|
|
16216
16567
|
* @param {number} [page]
|
|
16217
16568
|
* @param {number} [limit]
|
|
16218
16569
|
* @param {Date} [lastRetrieved]
|
|
16219
16570
|
* @param {*} [options] Override http request option.
|
|
16220
16571
|
* @throws {RequiredError}
|
|
16221
16572
|
*/
|
|
16222
|
-
async apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string,
|
|
16223
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
16573
|
+
async apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorSpecialtiesModel>> {
|
|
16574
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options);
|
|
16224
16575
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16225
16576
|
},
|
|
16226
16577
|
/**
|
|
@@ -16241,26 +16592,24 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
16241
16592
|
* @summary Get all Doctors.
|
|
16242
16593
|
* @param {string} [hospitalId]
|
|
16243
16594
|
* @param {string} [hospitalName]
|
|
16244
|
-
* @param {string} [languageCode]
|
|
16245
|
-
* @param {boolean} [returnDefaultValue]
|
|
16246
16595
|
* @param {Array<string>} [ids]
|
|
16247
16596
|
* @param {string} [specialtyId]
|
|
16248
16597
|
* @param {boolean} [consultationEnabled]
|
|
16598
|
+
* @param {string} [languageCode]
|
|
16249
16599
|
* @param {string} [id]
|
|
16250
16600
|
* @param {string} [fullname]
|
|
16251
16601
|
* @param {string} [email]
|
|
16252
16602
|
* @param {Gender} [gender]
|
|
16253
16603
|
* @param {Date} [dateOfBirth]
|
|
16254
16604
|
* @param {Date} [created]
|
|
16255
|
-
* @param {boolean} [showHidden]
|
|
16256
16605
|
* @param {number} [page]
|
|
16257
16606
|
* @param {number} [limit]
|
|
16258
16607
|
* @param {Date} [lastRetrieved]
|
|
16259
16608
|
* @param {*} [options] Override http request option.
|
|
16260
16609
|
* @throws {RequiredError}
|
|
16261
16610
|
*/
|
|
16262
|
-
async apiV2DoctorsGet(hospitalId?: string, hospitalName?: string,
|
|
16263
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName,
|
|
16611
|
+
async apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
|
|
16612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options);
|
|
16264
16613
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16265
16614
|
},
|
|
16266
16615
|
/**
|
|
@@ -16268,38 +16617,24 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
16268
16617
|
* @summary Get all Doctors.
|
|
16269
16618
|
* @param {string} [hospitalId]
|
|
16270
16619
|
* @param {string} [hospitalName]
|
|
16271
|
-
* @param {string} [languageCode]
|
|
16272
|
-
* @param {boolean} [returnDefaultValue]
|
|
16273
16620
|
* @param {Array<string>} [ids]
|
|
16274
16621
|
* @param {string} [specialtyId]
|
|
16275
16622
|
* @param {boolean} [consultationEnabled]
|
|
16623
|
+
* @param {string} [languageCode]
|
|
16276
16624
|
* @param {string} [id]
|
|
16277
16625
|
* @param {string} [fullname]
|
|
16278
16626
|
* @param {string} [email]
|
|
16279
16627
|
* @param {Gender} [gender]
|
|
16280
16628
|
* @param {Date} [dateOfBirth]
|
|
16281
16629
|
* @param {Date} [created]
|
|
16282
|
-
* @param {boolean} [showHidden]
|
|
16283
16630
|
* @param {number} [page]
|
|
16284
16631
|
* @param {number} [limit]
|
|
16285
16632
|
* @param {Date} [lastRetrieved]
|
|
16286
16633
|
* @param {*} [options] Override http request option.
|
|
16287
16634
|
* @throws {RequiredError}
|
|
16288
16635
|
*/
|
|
16289
|
-
async apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string,
|
|
16290
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName,
|
|
16291
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16292
|
-
},
|
|
16293
|
-
/**
|
|
16294
|
-
*
|
|
16295
|
-
* @param {string} slug
|
|
16296
|
-
* @param {string} [languageCode]
|
|
16297
|
-
* @param {boolean} [returnDefaultValue]
|
|
16298
|
-
* @param {*} [options] Override http request option.
|
|
16299
|
-
* @throws {RequiredError}
|
|
16300
|
-
*/
|
|
16301
|
-
async apiV2DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
16302
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
16636
|
+
async apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsSimpleModel>> {
|
|
16637
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options);
|
|
16303
16638
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16304
16639
|
},
|
|
16305
16640
|
}
|
|
@@ -16312,32 +16647,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
16312
16647
|
export const DoctorsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
16313
16648
|
const localVarFp = DoctorsApiFp(configuration)
|
|
16314
16649
|
return {
|
|
16315
|
-
/**
|
|
16316
|
-
*
|
|
16317
|
-
* @summary Get all doctor affiliations.
|
|
16318
|
-
* @param {string} doctorId
|
|
16319
|
-
* @param {string} [hospitalName]
|
|
16320
|
-
* @param {string} [languageCode]
|
|
16321
|
-
* @param {number} [page]
|
|
16322
|
-
* @param {number} [limit]
|
|
16323
|
-
* @param {Date} [lastRetrieved]
|
|
16324
|
-
* @param {*} [options] Override http request option.
|
|
16325
|
-
* @throws {RequiredError}
|
|
16326
|
-
*/
|
|
16327
|
-
apiV2DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
|
|
16328
|
-
return localVarFp.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16329
|
-
},
|
|
16330
|
-
/**
|
|
16331
|
-
*
|
|
16332
|
-
* @summary Get doctor affiliation.
|
|
16333
|
-
* @param {string} doctorId
|
|
16334
|
-
* @param {string} hospitalId
|
|
16335
|
-
* @param {*} [options] Override http request option.
|
|
16336
|
-
* @throws {RequiredError}
|
|
16337
|
-
*/
|
|
16338
|
-
apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId: string, hospitalId: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
16339
|
-
return localVarFp.apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then((request) => request(axios, basePath));
|
|
16340
|
-
},
|
|
16341
16650
|
/**
|
|
16342
16651
|
*
|
|
16343
16652
|
* @summary Get DoctorCertificate.
|
|
@@ -16493,15 +16802,14 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
16493
16802
|
* @param {string} [specialtyId]
|
|
16494
16803
|
* @param {string} [specialtyName]
|
|
16495
16804
|
* @param {string} [languageCode]
|
|
16496
|
-
* @param {boolean} [showHidden]
|
|
16497
16805
|
* @param {number} [page]
|
|
16498
16806
|
* @param {number} [limit]
|
|
16499
16807
|
* @param {Date} [lastRetrieved]
|
|
16500
16808
|
* @param {*} [options] Override http request option.
|
|
16501
16809
|
* @throws {RequiredError}
|
|
16502
16810
|
*/
|
|
16503
|
-
apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string,
|
|
16504
|
-
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
16811
|
+
apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorSpecialtiesModel> {
|
|
16812
|
+
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16505
16813
|
},
|
|
16506
16814
|
/**
|
|
16507
16815
|
*
|
|
@@ -16520,63 +16828,48 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
16520
16828
|
* @summary Get all Doctors.
|
|
16521
16829
|
* @param {string} [hospitalId]
|
|
16522
16830
|
* @param {string} [hospitalName]
|
|
16523
|
-
* @param {string} [languageCode]
|
|
16524
|
-
* @param {boolean} [returnDefaultValue]
|
|
16525
16831
|
* @param {Array<string>} [ids]
|
|
16526
16832
|
* @param {string} [specialtyId]
|
|
16527
16833
|
* @param {boolean} [consultationEnabled]
|
|
16834
|
+
* @param {string} [languageCode]
|
|
16528
16835
|
* @param {string} [id]
|
|
16529
16836
|
* @param {string} [fullname]
|
|
16530
16837
|
* @param {string} [email]
|
|
16531
16838
|
* @param {Gender} [gender]
|
|
16532
16839
|
* @param {Date} [dateOfBirth]
|
|
16533
16840
|
* @param {Date} [created]
|
|
16534
|
-
* @param {boolean} [showHidden]
|
|
16535
16841
|
* @param {number} [page]
|
|
16536
16842
|
* @param {number} [limit]
|
|
16537
16843
|
* @param {Date} [lastRetrieved]
|
|
16538
16844
|
* @param {*} [options] Override http request option.
|
|
16539
16845
|
* @throws {RequiredError}
|
|
16540
16846
|
*/
|
|
16541
|
-
apiV2DoctorsGet(hospitalId?: string, hospitalName?: string,
|
|
16542
|
-
return localVarFp.apiV2DoctorsGet(hospitalId, hospitalName,
|
|
16847
|
+
apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
16848
|
+
return localVarFp.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16543
16849
|
},
|
|
16544
16850
|
/**
|
|
16545
16851
|
*
|
|
16546
16852
|
* @summary Get all Doctors.
|
|
16547
16853
|
* @param {string} [hospitalId]
|
|
16548
16854
|
* @param {string} [hospitalName]
|
|
16549
|
-
* @param {string} [languageCode]
|
|
16550
|
-
* @param {boolean} [returnDefaultValue]
|
|
16551
16855
|
* @param {Array<string>} [ids]
|
|
16552
16856
|
* @param {string} [specialtyId]
|
|
16553
16857
|
* @param {boolean} [consultationEnabled]
|
|
16858
|
+
* @param {string} [languageCode]
|
|
16554
16859
|
* @param {string} [id]
|
|
16555
16860
|
* @param {string} [fullname]
|
|
16556
16861
|
* @param {string} [email]
|
|
16557
16862
|
* @param {Gender} [gender]
|
|
16558
16863
|
* @param {Date} [dateOfBirth]
|
|
16559
16864
|
* @param {Date} [created]
|
|
16560
|
-
* @param {boolean} [showHidden]
|
|
16561
16865
|
* @param {number} [page]
|
|
16562
16866
|
* @param {number} [limit]
|
|
16563
16867
|
* @param {Date} [lastRetrieved]
|
|
16564
16868
|
* @param {*} [options] Override http request option.
|
|
16565
16869
|
* @throws {RequiredError}
|
|
16566
16870
|
*/
|
|
16567
|
-
apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string,
|
|
16568
|
-
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, hospitalName,
|
|
16569
|
-
},
|
|
16570
|
-
/**
|
|
16571
|
-
*
|
|
16572
|
-
* @param {string} slug
|
|
16573
|
-
* @param {string} [languageCode]
|
|
16574
|
-
* @param {boolean} [returnDefaultValue]
|
|
16575
|
-
* @param {*} [options] Override http request option.
|
|
16576
|
-
* @throws {RequiredError}
|
|
16577
|
-
*/
|
|
16578
|
-
apiV2DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
|
|
16579
|
-
return localVarFp.apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
16871
|
+
apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsSimpleModel> {
|
|
16872
|
+
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16580
16873
|
},
|
|
16581
16874
|
};
|
|
16582
16875
|
};
|
|
@@ -16588,36 +16881,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
16588
16881
|
* @extends {BaseAPI}
|
|
16589
16882
|
*/
|
|
16590
16883
|
export class DoctorsApi extends BaseAPI {
|
|
16591
|
-
/**
|
|
16592
|
-
*
|
|
16593
|
-
* @summary Get all doctor affiliations.
|
|
16594
|
-
* @param {string} doctorId
|
|
16595
|
-
* @param {string} [hospitalName]
|
|
16596
|
-
* @param {string} [languageCode]
|
|
16597
|
-
* @param {number} [page]
|
|
16598
|
-
* @param {number} [limit]
|
|
16599
|
-
* @param {Date} [lastRetrieved]
|
|
16600
|
-
* @param {*} [options] Override http request option.
|
|
16601
|
-
* @throws {RequiredError}
|
|
16602
|
-
* @memberof DoctorsApi
|
|
16603
|
-
*/
|
|
16604
|
-
public apiV2DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16605
|
-
return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16606
|
-
}
|
|
16607
|
-
|
|
16608
|
-
/**
|
|
16609
|
-
*
|
|
16610
|
-
* @summary Get doctor affiliation.
|
|
16611
|
-
* @param {string} doctorId
|
|
16612
|
-
* @param {string} hospitalId
|
|
16613
|
-
* @param {*} [options] Override http request option.
|
|
16614
|
-
* @throws {RequiredError}
|
|
16615
|
-
* @memberof DoctorsApi
|
|
16616
|
-
*/
|
|
16617
|
-
public apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId: string, hospitalId: string, options?: AxiosRequestConfig) {
|
|
16618
|
-
return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
16619
|
-
}
|
|
16620
|
-
|
|
16621
16884
|
/**
|
|
16622
16885
|
*
|
|
16623
16886
|
* @summary Get DoctorCertificate.
|
|
@@ -16795,7 +17058,6 @@ export class DoctorsApi extends BaseAPI {
|
|
|
16795
17058
|
* @param {string} [specialtyId]
|
|
16796
17059
|
* @param {string} [specialtyName]
|
|
16797
17060
|
* @param {string} [languageCode]
|
|
16798
|
-
* @param {boolean} [showHidden]
|
|
16799
17061
|
* @param {number} [page]
|
|
16800
17062
|
* @param {number} [limit]
|
|
16801
17063
|
* @param {Date} [lastRetrieved]
|
|
@@ -16803,8 +17065,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
16803
17065
|
* @throws {RequiredError}
|
|
16804
17066
|
* @memberof DoctorsApi
|
|
16805
17067
|
*/
|
|
16806
|
-
public apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string,
|
|
16807
|
-
return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
17068
|
+
public apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17069
|
+
return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16808
17070
|
}
|
|
16809
17071
|
|
|
16810
17072
|
/**
|
|
@@ -16826,18 +17088,16 @@ export class DoctorsApi extends BaseAPI {
|
|
|
16826
17088
|
* @summary Get all Doctors.
|
|
16827
17089
|
* @param {string} [hospitalId]
|
|
16828
17090
|
* @param {string} [hospitalName]
|
|
16829
|
-
* @param {string} [languageCode]
|
|
16830
|
-
* @param {boolean} [returnDefaultValue]
|
|
16831
17091
|
* @param {Array<string>} [ids]
|
|
16832
17092
|
* @param {string} [specialtyId]
|
|
16833
17093
|
* @param {boolean} [consultationEnabled]
|
|
17094
|
+
* @param {string} [languageCode]
|
|
16834
17095
|
* @param {string} [id]
|
|
16835
17096
|
* @param {string} [fullname]
|
|
16836
17097
|
* @param {string} [email]
|
|
16837
17098
|
* @param {Gender} [gender]
|
|
16838
17099
|
* @param {Date} [dateOfBirth]
|
|
16839
17100
|
* @param {Date} [created]
|
|
16840
|
-
* @param {boolean} [showHidden]
|
|
16841
17101
|
* @param {number} [page]
|
|
16842
17102
|
* @param {number} [limit]
|
|
16843
17103
|
* @param {Date} [lastRetrieved]
|
|
@@ -16845,8 +17105,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
16845
17105
|
* @throws {RequiredError}
|
|
16846
17106
|
* @memberof DoctorsApi
|
|
16847
17107
|
*/
|
|
16848
|
-
public apiV2DoctorsGet(hospitalId?: string, hospitalName?: string,
|
|
16849
|
-
return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, hospitalName,
|
|
17108
|
+
public apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17109
|
+
return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16850
17110
|
}
|
|
16851
17111
|
|
|
16852
17112
|
/**
|
|
@@ -16854,18 +17114,16 @@ export class DoctorsApi extends BaseAPI {
|
|
|
16854
17114
|
* @summary Get all Doctors.
|
|
16855
17115
|
* @param {string} [hospitalId]
|
|
16856
17116
|
* @param {string} [hospitalName]
|
|
16857
|
-
* @param {string} [languageCode]
|
|
16858
|
-
* @param {boolean} [returnDefaultValue]
|
|
16859
17117
|
* @param {Array<string>} [ids]
|
|
16860
17118
|
* @param {string} [specialtyId]
|
|
16861
17119
|
* @param {boolean} [consultationEnabled]
|
|
17120
|
+
* @param {string} [languageCode]
|
|
16862
17121
|
* @param {string} [id]
|
|
16863
17122
|
* @param {string} [fullname]
|
|
16864
17123
|
* @param {string} [email]
|
|
16865
17124
|
* @param {Gender} [gender]
|
|
16866
17125
|
* @param {Date} [dateOfBirth]
|
|
16867
17126
|
* @param {Date} [created]
|
|
16868
|
-
* @param {boolean} [showHidden]
|
|
16869
17127
|
* @param {number} [page]
|
|
16870
17128
|
* @param {number} [limit]
|
|
16871
17129
|
* @param {Date} [lastRetrieved]
|
|
@@ -16873,21 +17131,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
16873
17131
|
* @throws {RequiredError}
|
|
16874
17132
|
* @memberof DoctorsApi
|
|
16875
17133
|
*/
|
|
16876
|
-
public apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string,
|
|
16877
|
-
return DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, hospitalName,
|
|
16878
|
-
}
|
|
16879
|
-
|
|
16880
|
-
/**
|
|
16881
|
-
*
|
|
16882
|
-
* @param {string} slug
|
|
16883
|
-
* @param {string} [languageCode]
|
|
16884
|
-
* @param {boolean} [returnDefaultValue]
|
|
16885
|
-
* @param {*} [options] Override http request option.
|
|
16886
|
-
* @throws {RequiredError}
|
|
16887
|
-
* @memberof DoctorsApi
|
|
16888
|
-
*/
|
|
16889
|
-
public apiV2DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
16890
|
-
return DoctorsApiFp(this.configuration).apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
17134
|
+
public apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17135
|
+
return DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16891
17136
|
}
|
|
16892
17137
|
}
|
|
16893
17138
|
|