ch-api-client-typescript2 3.4.1 → 3.4.3
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 +662 -345
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +362 -203
- package/package.json +1 -1
- package/src/api.ts +894 -501
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,49 +1686,67 @@ export interface ConsultationItemModel {
|
|
|
1662
1686
|
* @type {string}
|
|
1663
1687
|
* @memberof ConsultationItemModel
|
|
1664
1688
|
*/
|
|
1665
|
-
'
|
|
1689
|
+
'firstName'?: string | null;
|
|
1666
1690
|
/**
|
|
1667
1691
|
*
|
|
1668
1692
|
* @type {string}
|
|
1669
1693
|
* @memberof ConsultationItemModel
|
|
1670
1694
|
*/
|
|
1671
|
-
'
|
|
1695
|
+
'lastName'?: string | null;
|
|
1672
1696
|
/**
|
|
1673
1697
|
*
|
|
1674
1698
|
* @type {string}
|
|
1675
1699
|
* @memberof ConsultationItemModel
|
|
1676
1700
|
*/
|
|
1677
|
-
'
|
|
1701
|
+
'email'?: string | null;
|
|
1678
1702
|
/**
|
|
1679
1703
|
*
|
|
1680
1704
|
* @type {string}
|
|
1681
1705
|
* @memberof ConsultationItemModel
|
|
1682
1706
|
*/
|
|
1683
|
-
'
|
|
1707
|
+
'phone'?: string | null;
|
|
1708
|
+
/**
|
|
1709
|
+
*
|
|
1710
|
+
* @type {Date}
|
|
1711
|
+
* @memberof ConsultationItemModel
|
|
1712
|
+
*/
|
|
1713
|
+
'dateOfBirth'?: Date | null;
|
|
1714
|
+
/**
|
|
1715
|
+
*
|
|
1716
|
+
* @type {Gender}
|
|
1717
|
+
* @memberof ConsultationItemModel
|
|
1718
|
+
*/
|
|
1719
|
+
'gender'?: Gender;
|
|
1684
1720
|
/**
|
|
1685
1721
|
*
|
|
1686
1722
|
* @type {string}
|
|
1687
1723
|
* @memberof ConsultationItemModel
|
|
1688
1724
|
*/
|
|
1689
|
-
'
|
|
1725
|
+
'comment'?: string | null;
|
|
1690
1726
|
/**
|
|
1691
1727
|
*
|
|
1692
1728
|
* @type {string}
|
|
1693
1729
|
* @memberof ConsultationItemModel
|
|
1694
1730
|
*/
|
|
1695
|
-
'
|
|
1731
|
+
'hospitalId'?: string;
|
|
1696
1732
|
/**
|
|
1697
1733
|
*
|
|
1698
1734
|
* @type {string}
|
|
1699
1735
|
* @memberof ConsultationItemModel
|
|
1700
1736
|
*/
|
|
1701
|
-
'
|
|
1737
|
+
'hospitalName'?: string | null;
|
|
1702
1738
|
/**
|
|
1703
1739
|
*
|
|
1704
1740
|
* @type {string}
|
|
1705
1741
|
* @memberof ConsultationItemModel
|
|
1706
1742
|
*/
|
|
1707
|
-
'
|
|
1743
|
+
'hospitalSlug'?: string | null;
|
|
1744
|
+
/**
|
|
1745
|
+
*
|
|
1746
|
+
* @type {string}
|
|
1747
|
+
* @memberof ConsultationItemModel
|
|
1748
|
+
*/
|
|
1749
|
+
'hospitalTimeZone'?: string | null;
|
|
1708
1750
|
/**
|
|
1709
1751
|
*
|
|
1710
1752
|
* @type {string}
|
|
@@ -1758,133 +1800,91 @@ export interface ConsultationItemModel {
|
|
|
1758
1800
|
* @type {string}
|
|
1759
1801
|
* @memberof ConsultationItemModel
|
|
1760
1802
|
*/
|
|
1761
|
-
'
|
|
1803
|
+
'timeRange'?: string | null;
|
|
1762
1804
|
/**
|
|
1763
1805
|
*
|
|
1764
|
-
* @type {
|
|
1806
|
+
* @type {Date}
|
|
1765
1807
|
* @memberof ConsultationItemModel
|
|
1766
1808
|
*/
|
|
1767
|
-
'
|
|
1809
|
+
'approximateDateStart'?: Date;
|
|
1768
1810
|
/**
|
|
1769
1811
|
*
|
|
1770
|
-
* @type {
|
|
1812
|
+
* @type {Date}
|
|
1771
1813
|
* @memberof ConsultationItemModel
|
|
1772
1814
|
*/
|
|
1773
|
-
'
|
|
1815
|
+
'approximateDateEnd'?: Date;
|
|
1774
1816
|
/**
|
|
1775
1817
|
*
|
|
1776
|
-
* @type {
|
|
1818
|
+
* @type {Date}
|
|
1777
1819
|
* @memberof ConsultationItemModel
|
|
1778
1820
|
*/
|
|
1779
|
-
'
|
|
1821
|
+
'confirmedDateStart'?: Date | null;
|
|
1780
1822
|
/**
|
|
1781
1823
|
*
|
|
1782
1824
|
* @type {Date}
|
|
1783
1825
|
* @memberof ConsultationItemModel
|
|
1784
1826
|
*/
|
|
1785
|
-
'
|
|
1827
|
+
'confirmedDateEnd'?: Date | null;
|
|
1786
1828
|
/**
|
|
1787
1829
|
*
|
|
1788
|
-
* @type {
|
|
1830
|
+
* @type {number}
|
|
1789
1831
|
* @memberof ConsultationItemModel
|
|
1790
1832
|
*/
|
|
1791
|
-
'
|
|
1833
|
+
'fee'?: number;
|
|
1792
1834
|
/**
|
|
1793
1835
|
*
|
|
1794
|
-
* @type {
|
|
1836
|
+
* @type {number}
|
|
1795
1837
|
* @memberof ConsultationItemModel
|
|
1796
1838
|
*/
|
|
1797
|
-
'
|
|
1839
|
+
'applicationFee'?: number;
|
|
1798
1840
|
/**
|
|
1799
1841
|
*
|
|
1800
1842
|
* @type {string}
|
|
1801
1843
|
* @memberof ConsultationItemModel
|
|
1802
1844
|
*/
|
|
1803
|
-
'
|
|
1845
|
+
'timeZone'?: string | null;
|
|
1804
1846
|
/**
|
|
1805
1847
|
*
|
|
1806
1848
|
* @type {Date}
|
|
1807
1849
|
* @memberof ConsultationItemModel
|
|
1808
1850
|
*/
|
|
1809
|
-
'
|
|
1851
|
+
'requestDate'?: Date;
|
|
1810
1852
|
/**
|
|
1811
1853
|
*
|
|
1812
|
-
* @type {
|
|
1854
|
+
* @type {string}
|
|
1813
1855
|
* @memberof ConsultationItemModel
|
|
1814
1856
|
*/
|
|
1815
|
-
'
|
|
1857
|
+
'domain'?: string | null;
|
|
1816
1858
|
/**
|
|
1817
1859
|
*
|
|
1818
|
-
* @type {
|
|
1860
|
+
* @type {ConsultationStatus}
|
|
1819
1861
|
* @memberof ConsultationItemModel
|
|
1820
1862
|
*/
|
|
1821
|
-
'
|
|
1863
|
+
'status'?: ConsultationStatus;
|
|
1822
1864
|
/**
|
|
1823
1865
|
*
|
|
1824
|
-
* @type {
|
|
1866
|
+
* @type {RejectReason}
|
|
1825
1867
|
* @memberof ConsultationItemModel
|
|
1826
1868
|
*/
|
|
1827
|
-
'
|
|
1869
|
+
'rejectReason'?: RejectReason;
|
|
1828
1870
|
/**
|
|
1829
1871
|
*
|
|
1830
|
-
* @type {
|
|
1872
|
+
* @type {boolean}
|
|
1831
1873
|
* @memberof ConsultationItemModel
|
|
1832
1874
|
*/
|
|
1833
|
-
'
|
|
1875
|
+
'isOpen'?: boolean;
|
|
1834
1876
|
/**
|
|
1835
1877
|
*
|
|
1836
1878
|
* @type {string}
|
|
1837
1879
|
* @memberof ConsultationItemModel
|
|
1838
1880
|
*/
|
|
1839
|
-
'
|
|
1840
|
-
/**
|
|
1841
|
-
*
|
|
1842
|
-
* @type {number}
|
|
1843
|
-
* @memberof ConsultationItemModel
|
|
1844
|
-
*/
|
|
1845
|
-
'fee'?: number;
|
|
1846
|
-
/**
|
|
1847
|
-
*
|
|
1848
|
-
* @type {number}
|
|
1849
|
-
* @memberof ConsultationItemModel
|
|
1850
|
-
*/
|
|
1851
|
-
'applicationFee'?: number;
|
|
1852
|
-
/**
|
|
1853
|
-
*
|
|
1854
|
-
* @type {string}
|
|
1855
|
-
* @memberof ConsultationItemModel
|
|
1856
|
-
*/
|
|
1857
|
-
'timeZone'?: string | null;
|
|
1858
|
-
/**
|
|
1859
|
-
*
|
|
1860
|
-
* @type {Date}
|
|
1861
|
-
* @memberof ConsultationItemModel
|
|
1862
|
-
*/
|
|
1863
|
-
'requestDate'?: Date;
|
|
1864
|
-
/**
|
|
1865
|
-
*
|
|
1866
|
-
* @type {ConsultationStatus}
|
|
1867
|
-
* @memberof ConsultationItemModel
|
|
1868
|
-
*/
|
|
1869
|
-
'status'?: ConsultationStatus;
|
|
1870
|
-
/**
|
|
1871
|
-
*
|
|
1872
|
-
* @type {RejectReason}
|
|
1873
|
-
* @memberof ConsultationItemModel
|
|
1874
|
-
*/
|
|
1875
|
-
'rejectReason'?: RejectReason;
|
|
1881
|
+
'paymentId'?: string | null;
|
|
1876
1882
|
/**
|
|
1877
1883
|
*
|
|
1878
1884
|
* @type {boolean}
|
|
1879
1885
|
* @memberof ConsultationItemModel
|
|
1880
1886
|
*/
|
|
1881
|
-
'
|
|
1882
|
-
/**
|
|
1883
|
-
*
|
|
1884
|
-
* @type {string}
|
|
1885
|
-
* @memberof ConsultationItemModel
|
|
1886
|
-
*/
|
|
1887
|
-
'paymentId'?: string | null;
|
|
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}
|
|
@@ -2138,6 +2108,12 @@ export interface ConsultationModel {
|
|
|
2138
2108
|
* @memberof ConsultationModel
|
|
2139
2109
|
*/
|
|
2140
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}
|
|
@@ -3499,146 +3529,308 @@ export interface DealServiceModel {
|
|
|
3499
3529
|
/**
|
|
3500
3530
|
*
|
|
3501
3531
|
* @type {string}
|
|
3502
|
-
* @memberof DealServiceModel
|
|
3532
|
+
* @memberof DealServiceModel
|
|
3533
|
+
*/
|
|
3534
|
+
'serviceName'?: string | null;
|
|
3535
|
+
/**
|
|
3536
|
+
*
|
|
3537
|
+
* @type {string}
|
|
3538
|
+
* @memberof DealServiceModel
|
|
3539
|
+
*/
|
|
3540
|
+
'serviceSlug'?: string | null;
|
|
3541
|
+
/**
|
|
3542
|
+
*
|
|
3543
|
+
* @type {number}
|
|
3544
|
+
* @memberof DealServiceModel
|
|
3545
|
+
*/
|
|
3546
|
+
'order'?: number;
|
|
3547
|
+
}
|
|
3548
|
+
/**
|
|
3549
|
+
*
|
|
3550
|
+
* @export
|
|
3551
|
+
* @interface DealServicesModel
|
|
3552
|
+
*/
|
|
3553
|
+
export interface DealServicesModel {
|
|
3554
|
+
/**
|
|
3555
|
+
*
|
|
3556
|
+
* @type {Array<DealServiceItemModel>}
|
|
3557
|
+
* @memberof DealServicesModel
|
|
3558
|
+
*/
|
|
3559
|
+
'items'?: Array<DealServiceItemModel> | null;
|
|
3560
|
+
/**
|
|
3561
|
+
*
|
|
3562
|
+
* @type {PagedListMetaData}
|
|
3563
|
+
* @memberof DealServicesModel
|
|
3564
|
+
*/
|
|
3565
|
+
'metaData'?: PagedListMetaData;
|
|
3566
|
+
}
|
|
3567
|
+
/**
|
|
3568
|
+
*
|
|
3569
|
+
* @export
|
|
3570
|
+
* @interface DealsModel
|
|
3571
|
+
*/
|
|
3572
|
+
export interface DealsModel {
|
|
3573
|
+
/**
|
|
3574
|
+
*
|
|
3575
|
+
* @type {Array<DealItemModel>}
|
|
3576
|
+
* @memberof DealsModel
|
|
3577
|
+
*/
|
|
3578
|
+
'items'?: Array<DealItemModel> | null;
|
|
3579
|
+
/**
|
|
3580
|
+
*
|
|
3581
|
+
* @type {PagedListMetaData}
|
|
3582
|
+
* @memberof DealsModel
|
|
3583
|
+
*/
|
|
3584
|
+
'metaData'?: PagedListMetaData;
|
|
3585
|
+
}
|
|
3586
|
+
/**
|
|
3587
|
+
*
|
|
3588
|
+
* @export
|
|
3589
|
+
* @interface DealsSimpleModel
|
|
3590
|
+
*/
|
|
3591
|
+
export interface DealsSimpleModel {
|
|
3592
|
+
/**
|
|
3593
|
+
*
|
|
3594
|
+
* @type {Array<DealItemSimpleModel>}
|
|
3595
|
+
* @memberof DealsSimpleModel
|
|
3596
|
+
*/
|
|
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
|
+
'hospitalId'?: string;
|
|
3623
|
+
/**
|
|
3624
|
+
*
|
|
3625
|
+
* @type {string}
|
|
3626
|
+
* @memberof DoctorAffiliationItemModel
|
|
3627
|
+
*/
|
|
3628
|
+
'hospitalName'?: string | null;
|
|
3629
|
+
/**
|
|
3630
|
+
*
|
|
3631
|
+
* @type {string}
|
|
3632
|
+
* @memberof DoctorAffiliationItemModel
|
|
3633
|
+
*/
|
|
3634
|
+
'hospitalSlug'?: string | null;
|
|
3635
|
+
/**
|
|
3636
|
+
*
|
|
3637
|
+
* @type {string}
|
|
3638
|
+
* @memberof DoctorAffiliationItemModel
|
|
3639
|
+
*/
|
|
3640
|
+
'doctorId'?: string;
|
|
3641
|
+
/**
|
|
3642
|
+
*
|
|
3643
|
+
* @type {string}
|
|
3644
|
+
* @memberof DoctorAffiliationItemModel
|
|
3645
|
+
*/
|
|
3646
|
+
'languageCode'?: string | null;
|
|
3647
|
+
/**
|
|
3648
|
+
*
|
|
3649
|
+
* @type {string}
|
|
3650
|
+
* @memberof DoctorAffiliationItemModel
|
|
3651
|
+
*/
|
|
3652
|
+
'name'?: string | null;
|
|
3653
|
+
/**
|
|
3654
|
+
*
|
|
3655
|
+
* @type {string}
|
|
3656
|
+
* @memberof DoctorAffiliationItemModel
|
|
3657
|
+
*/
|
|
3658
|
+
'slug'?: string | null;
|
|
3659
|
+
/**
|
|
3660
|
+
*
|
|
3661
|
+
* @type {boolean}
|
|
3662
|
+
* @memberof DoctorAffiliationItemModel
|
|
3663
|
+
*/
|
|
3664
|
+
'confirmed'?: boolean;
|
|
3665
|
+
/**
|
|
3666
|
+
*
|
|
3667
|
+
* @type {string}
|
|
3668
|
+
* @memberof DoctorAffiliationItemModel
|
|
3669
|
+
*/
|
|
3670
|
+
'photo'?: string | null;
|
|
3671
|
+
/**
|
|
3672
|
+
*
|
|
3673
|
+
* @type {string}
|
|
3674
|
+
* @memberof DoctorAffiliationItemModel
|
|
3675
|
+
*/
|
|
3676
|
+
'photoThumbnail'?: string | null;
|
|
3677
|
+
/**
|
|
3678
|
+
*
|
|
3679
|
+
* @type {boolean}
|
|
3680
|
+
* @memberof DoctorAffiliationItemModel
|
|
3681
|
+
*/
|
|
3682
|
+
'consultationEnabled'?: boolean | null;
|
|
3683
|
+
/**
|
|
3684
|
+
*
|
|
3685
|
+
* @type {number}
|
|
3686
|
+
* @memberof DoctorAffiliationItemModel
|
|
3687
|
+
*/
|
|
3688
|
+
'consultationFee'?: number | null;
|
|
3689
|
+
/**
|
|
3690
|
+
*
|
|
3691
|
+
* @type {number}
|
|
3692
|
+
* @memberof DoctorAffiliationItemModel
|
|
3693
|
+
*/
|
|
3694
|
+
'order'?: number;
|
|
3695
|
+
}
|
|
3696
|
+
/**
|
|
3697
|
+
*
|
|
3698
|
+
* @export
|
|
3699
|
+
* @interface DoctorAffiliationModel
|
|
3700
|
+
*/
|
|
3701
|
+
export interface DoctorAffiliationModel {
|
|
3702
|
+
/**
|
|
3703
|
+
*
|
|
3704
|
+
* @type {string}
|
|
3705
|
+
* @memberof DoctorAffiliationModel
|
|
3706
|
+
*/
|
|
3707
|
+
'id'?: string;
|
|
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
|
|
3503
3730
|
*/
|
|
3504
|
-
'
|
|
3731
|
+
'doctorId'?: string;
|
|
3505
3732
|
/**
|
|
3506
3733
|
*
|
|
3507
|
-
* @type {
|
|
3508
|
-
* @memberof
|
|
3734
|
+
* @type {string}
|
|
3735
|
+
* @memberof DoctorAffiliationModel
|
|
3509
3736
|
*/
|
|
3510
|
-
'
|
|
3511
|
-
}
|
|
3512
|
-
/**
|
|
3513
|
-
*
|
|
3514
|
-
* @export
|
|
3515
|
-
* @interface DealServicesModel
|
|
3516
|
-
*/
|
|
3517
|
-
export interface DealServicesModel {
|
|
3737
|
+
'languageCode'?: string | null;
|
|
3518
3738
|
/**
|
|
3519
3739
|
*
|
|
3520
|
-
* @type {
|
|
3521
|
-
* @memberof
|
|
3740
|
+
* @type {string}
|
|
3741
|
+
* @memberof DoctorAffiliationModel
|
|
3522
3742
|
*/
|
|
3523
|
-
'
|
|
3743
|
+
'name'?: string | null;
|
|
3524
3744
|
/**
|
|
3525
3745
|
*
|
|
3526
|
-
* @type {
|
|
3527
|
-
* @memberof
|
|
3746
|
+
* @type {string}
|
|
3747
|
+
* @memberof DoctorAffiliationModel
|
|
3528
3748
|
*/
|
|
3529
|
-
'
|
|
3530
|
-
}
|
|
3531
|
-
/**
|
|
3532
|
-
*
|
|
3533
|
-
* @export
|
|
3534
|
-
* @interface DealsModel
|
|
3535
|
-
*/
|
|
3536
|
-
export interface DealsModel {
|
|
3749
|
+
'slug'?: string | null;
|
|
3537
3750
|
/**
|
|
3538
3751
|
*
|
|
3539
|
-
* @type {
|
|
3540
|
-
* @memberof
|
|
3752
|
+
* @type {boolean}
|
|
3753
|
+
* @memberof DoctorAffiliationModel
|
|
3541
3754
|
*/
|
|
3542
|
-
'
|
|
3755
|
+
'confirmed'?: boolean;
|
|
3543
3756
|
/**
|
|
3544
3757
|
*
|
|
3545
|
-
* @type {
|
|
3546
|
-
* @memberof
|
|
3758
|
+
* @type {string}
|
|
3759
|
+
* @memberof DoctorAffiliationModel
|
|
3547
3760
|
*/
|
|
3548
|
-
'
|
|
3549
|
-
}
|
|
3550
|
-
/**
|
|
3551
|
-
*
|
|
3552
|
-
* @export
|
|
3553
|
-
* @interface DealsSimpleModel
|
|
3554
|
-
*/
|
|
3555
|
-
export interface DealsSimpleModel {
|
|
3761
|
+
'photo'?: string | null;
|
|
3556
3762
|
/**
|
|
3557
3763
|
*
|
|
3558
|
-
* @type {
|
|
3559
|
-
* @memberof
|
|
3764
|
+
* @type {string}
|
|
3765
|
+
* @memberof DoctorAffiliationModel
|
|
3560
3766
|
*/
|
|
3561
|
-
'
|
|
3767
|
+
'photoThumbnail'?: string | null;
|
|
3562
3768
|
/**
|
|
3563
3769
|
*
|
|
3564
|
-
* @type {
|
|
3565
|
-
* @memberof
|
|
3770
|
+
* @type {boolean}
|
|
3771
|
+
* @memberof DoctorAffiliationModel
|
|
3566
3772
|
*/
|
|
3567
|
-
'
|
|
3568
|
-
}
|
|
3569
|
-
/**
|
|
3570
|
-
*
|
|
3571
|
-
* @export
|
|
3572
|
-
* @interface DoctorAffiliationItemModel
|
|
3573
|
-
*/
|
|
3574
|
-
export interface DoctorAffiliationItemModel {
|
|
3773
|
+
'consultationEnabled'?: boolean | null;
|
|
3575
3774
|
/**
|
|
3576
3775
|
*
|
|
3577
|
-
* @type {
|
|
3578
|
-
* @memberof
|
|
3776
|
+
* @type {number}
|
|
3777
|
+
* @memberof DoctorAffiliationModel
|
|
3579
3778
|
*/
|
|
3580
|
-
'
|
|
3779
|
+
'consultationFee'?: number | null;
|
|
3581
3780
|
/**
|
|
3582
3781
|
*
|
|
3583
|
-
* @type {
|
|
3584
|
-
* @memberof
|
|
3782
|
+
* @type {number}
|
|
3783
|
+
* @memberof DoctorAffiliationModel
|
|
3585
3784
|
*/
|
|
3586
|
-
'
|
|
3785
|
+
'order'?: number;
|
|
3587
3786
|
/**
|
|
3588
3787
|
*
|
|
3589
3788
|
* @type {string}
|
|
3590
|
-
* @memberof
|
|
3789
|
+
* @memberof DoctorAffiliationModel
|
|
3591
3790
|
*/
|
|
3592
|
-
'
|
|
3791
|
+
'description'?: string | null;
|
|
3593
3792
|
/**
|
|
3594
3793
|
*
|
|
3595
3794
|
* @type {string}
|
|
3596
|
-
* @memberof
|
|
3795
|
+
* @memberof DoctorAffiliationModel
|
|
3597
3796
|
*/
|
|
3598
|
-
'
|
|
3797
|
+
'overview'?: string | null;
|
|
3599
3798
|
/**
|
|
3600
3799
|
*
|
|
3601
|
-
* @type {
|
|
3602
|
-
* @memberof
|
|
3800
|
+
* @type {string}
|
|
3801
|
+
* @memberof DoctorAffiliationModel
|
|
3603
3802
|
*/
|
|
3604
|
-
'
|
|
3605
|
-
}
|
|
3606
|
-
/**
|
|
3607
|
-
*
|
|
3608
|
-
* @export
|
|
3609
|
-
* @interface DoctorAffiliationModel
|
|
3610
|
-
*/
|
|
3611
|
-
export interface DoctorAffiliationModel {
|
|
3803
|
+
'content'?: string | null;
|
|
3612
3804
|
/**
|
|
3613
3805
|
*
|
|
3614
3806
|
* @type {string}
|
|
3615
3807
|
* @memberof DoctorAffiliationModel
|
|
3616
3808
|
*/
|
|
3617
|
-
'
|
|
3809
|
+
'background'?: string | null;
|
|
3618
3810
|
/**
|
|
3619
3811
|
*
|
|
3620
3812
|
* @type {string}
|
|
3621
3813
|
* @memberof DoctorAffiliationModel
|
|
3622
3814
|
*/
|
|
3623
|
-
'
|
|
3815
|
+
'backgroundThumbnail'?: string | null;
|
|
3624
3816
|
/**
|
|
3625
3817
|
*
|
|
3626
3818
|
* @type {string}
|
|
3627
3819
|
* @memberof DoctorAffiliationModel
|
|
3628
3820
|
*/
|
|
3629
|
-
'
|
|
3821
|
+
'customStyle'?: string | null;
|
|
3630
3822
|
/**
|
|
3631
3823
|
*
|
|
3632
|
-
* @type {
|
|
3824
|
+
* @type {Array<LocalizedUrlModel>}
|
|
3633
3825
|
* @memberof DoctorAffiliationModel
|
|
3634
3826
|
*/
|
|
3635
|
-
'
|
|
3827
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
3636
3828
|
/**
|
|
3637
3829
|
*
|
|
3638
|
-
* @type {
|
|
3830
|
+
* @type {Array<MediaModel>}
|
|
3639
3831
|
* @memberof DoctorAffiliationModel
|
|
3640
3832
|
*/
|
|
3641
|
-
'
|
|
3833
|
+
'medias'?: Array<MediaModel> | null;
|
|
3642
3834
|
}
|
|
3643
3835
|
/**
|
|
3644
3836
|
*
|
|
@@ -6037,6 +6229,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
6037
6229
|
* @memberof HospitalSpecialtyItemModel
|
|
6038
6230
|
*/
|
|
6039
6231
|
'slug'?: string | null;
|
|
6232
|
+
/**
|
|
6233
|
+
*
|
|
6234
|
+
* @type {boolean}
|
|
6235
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6236
|
+
*/
|
|
6237
|
+
'confirmed'?: boolean;
|
|
6040
6238
|
/**
|
|
6041
6239
|
*
|
|
6042
6240
|
* @type {number}
|
|
@@ -6079,6 +6277,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
6079
6277
|
* @memberof HospitalSpecialtyItemModel
|
|
6080
6278
|
*/
|
|
6081
6279
|
'specialtyId'?: string;
|
|
6280
|
+
/**
|
|
6281
|
+
*
|
|
6282
|
+
* @type {AuditableEntity}
|
|
6283
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6284
|
+
*/
|
|
6285
|
+
'auditableEntity'?: AuditableEntity;
|
|
6082
6286
|
}
|
|
6083
6287
|
/**
|
|
6084
6288
|
*
|
|
@@ -6110,6 +6314,12 @@ export interface HospitalSpecialtyModel {
|
|
|
6110
6314
|
* @memberof HospitalSpecialtyModel
|
|
6111
6315
|
*/
|
|
6112
6316
|
'slug'?: string | null;
|
|
6317
|
+
/**
|
|
6318
|
+
*
|
|
6319
|
+
* @type {boolean}
|
|
6320
|
+
* @memberof HospitalSpecialtyModel
|
|
6321
|
+
*/
|
|
6322
|
+
'confirmed'?: boolean;
|
|
6113
6323
|
/**
|
|
6114
6324
|
*
|
|
6115
6325
|
* @type {number}
|
|
@@ -6152,6 +6362,12 @@ export interface HospitalSpecialtyModel {
|
|
|
6152
6362
|
* @memberof HospitalSpecialtyModel
|
|
6153
6363
|
*/
|
|
6154
6364
|
'specialtyId'?: string;
|
|
6365
|
+
/**
|
|
6366
|
+
*
|
|
6367
|
+
* @type {AuditableEntity}
|
|
6368
|
+
* @memberof HospitalSpecialtyModel
|
|
6369
|
+
*/
|
|
6370
|
+
'auditableEntity'?: AuditableEntity;
|
|
6155
6371
|
/**
|
|
6156
6372
|
*
|
|
6157
6373
|
* @type {string}
|
|
@@ -6163,13 +6379,13 @@ export interface HospitalSpecialtyModel {
|
|
|
6163
6379
|
* @type {string}
|
|
6164
6380
|
* @memberof HospitalSpecialtyModel
|
|
6165
6381
|
*/
|
|
6166
|
-
'
|
|
6382
|
+
'overview'?: string | null;
|
|
6167
6383
|
/**
|
|
6168
6384
|
*
|
|
6169
|
-
* @type {
|
|
6385
|
+
* @type {string}
|
|
6170
6386
|
* @memberof HospitalSpecialtyModel
|
|
6171
6387
|
*/
|
|
6172
|
-
'
|
|
6388
|
+
'content'?: string | null;
|
|
6173
6389
|
/**
|
|
6174
6390
|
*
|
|
6175
6391
|
* @type {string}
|
|
@@ -6249,6 +6465,12 @@ export interface HospitalSpecialtySimpleItemModel {
|
|
|
6249
6465
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
6250
6466
|
*/
|
|
6251
6467
|
'slug'?: string | null;
|
|
6468
|
+
/**
|
|
6469
|
+
*
|
|
6470
|
+
* @type {boolean}
|
|
6471
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
6472
|
+
*/
|
|
6473
|
+
'confirmed'?: boolean;
|
|
6252
6474
|
/**
|
|
6253
6475
|
*
|
|
6254
6476
|
* @type {number}
|
|
@@ -8048,6 +8270,17 @@ export enum SnsType {
|
|
|
8048
8270
|
KakaoTalk = 'KakaoTalk'
|
|
8049
8271
|
}
|
|
8050
8272
|
|
|
8273
|
+
/**
|
|
8274
|
+
*
|
|
8275
|
+
* @export
|
|
8276
|
+
* @enum {string}
|
|
8277
|
+
*/
|
|
8278
|
+
|
|
8279
|
+
export enum SortingOrder {
|
|
8280
|
+
Ascending = 'Ascending',
|
|
8281
|
+
Descending = 'Descending'
|
|
8282
|
+
}
|
|
8283
|
+
|
|
8051
8284
|
/**
|
|
8052
8285
|
*
|
|
8053
8286
|
* @export
|
|
@@ -10070,11 +10303,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10070
10303
|
* @summary Get Article.
|
|
10071
10304
|
* @param {string} articleId
|
|
10072
10305
|
* @param {string} [languageCode]
|
|
10073
|
-
* @param {boolean} [returnDefaultValue]
|
|
10074
10306
|
* @param {*} [options] Override http request option.
|
|
10075
10307
|
* @throws {RequiredError}
|
|
10076
10308
|
*/
|
|
10077
|
-
apiV2ArticlesArticleIdGet: async (articleId: string, languageCode?: string,
|
|
10309
|
+
apiV2ArticlesArticleIdGet: async (articleId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10078
10310
|
// verify required parameter 'articleId' is not null or undefined
|
|
10079
10311
|
assertParamExists('apiV2ArticlesArticleIdGet', 'articleId', articleId)
|
|
10080
10312
|
const localVarPath = `/api/v2/articles/{articleId}`
|
|
@@ -10094,10 +10326,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10094
10326
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
10095
10327
|
}
|
|
10096
10328
|
|
|
10097
|
-
if (returnDefaultValue !== undefined) {
|
|
10098
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10099
|
-
}
|
|
10100
|
-
|
|
10101
10329
|
|
|
10102
10330
|
|
|
10103
10331
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -10615,12 +10843,11 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
10615
10843
|
* @summary Get Article.
|
|
10616
10844
|
* @param {string} articleId
|
|
10617
10845
|
* @param {string} [languageCode]
|
|
10618
|
-
* @param {boolean} [returnDefaultValue]
|
|
10619
10846
|
* @param {*} [options] Override http request option.
|
|
10620
10847
|
* @throws {RequiredError}
|
|
10621
10848
|
*/
|
|
10622
|
-
async apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string,
|
|
10623
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode,
|
|
10849
|
+
async apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
10850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode, options);
|
|
10624
10851
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10625
10852
|
},
|
|
10626
10853
|
/**
|
|
@@ -10793,12 +11020,11 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
10793
11020
|
* @summary Get Article.
|
|
10794
11021
|
* @param {string} articleId
|
|
10795
11022
|
* @param {string} [languageCode]
|
|
10796
|
-
* @param {boolean} [returnDefaultValue]
|
|
10797
11023
|
* @param {*} [options] Override http request option.
|
|
10798
11024
|
* @throws {RequiredError}
|
|
10799
11025
|
*/
|
|
10800
|
-
apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string,
|
|
10801
|
-
return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode,
|
|
11026
|
+
apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: any): AxiosPromise<ArticleModel> {
|
|
11027
|
+
return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(axios, basePath));
|
|
10802
11028
|
},
|
|
10803
11029
|
/**
|
|
10804
11030
|
*
|
|
@@ -10966,13 +11192,12 @@ export class ArticlesApi extends BaseAPI {
|
|
|
10966
11192
|
* @summary Get Article.
|
|
10967
11193
|
* @param {string} articleId
|
|
10968
11194
|
* @param {string} [languageCode]
|
|
10969
|
-
* @param {boolean} [returnDefaultValue]
|
|
10970
11195
|
* @param {*} [options] Override http request option.
|
|
10971
11196
|
* @throws {RequiredError}
|
|
10972
11197
|
* @memberof ArticlesApi
|
|
10973
11198
|
*/
|
|
10974
|
-
public apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string,
|
|
10975
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdGet(articleId, languageCode,
|
|
11199
|
+
public apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
11200
|
+
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
10976
11201
|
}
|
|
10977
11202
|
|
|
10978
11203
|
/**
|
|
@@ -11118,10 +11343,11 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11118
11343
|
*
|
|
11119
11344
|
* @summary Get booking.
|
|
11120
11345
|
* @param {string} bookingId
|
|
11346
|
+
* @param {string} [languageCode]
|
|
11121
11347
|
* @param {*} [options] Override http request option.
|
|
11122
11348
|
* @throws {RequiredError}
|
|
11123
11349
|
*/
|
|
11124
|
-
apiV2BookingsBookingIdGet: async (bookingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11350
|
+
apiV2BookingsBookingIdGet: async (bookingId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11125
11351
|
// verify required parameter 'bookingId' is not null or undefined
|
|
11126
11352
|
assertParamExists('apiV2BookingsBookingIdGet', 'bookingId', bookingId)
|
|
11127
11353
|
const localVarPath = `/api/v2/bookings/{bookingId}`
|
|
@@ -11141,6 +11367,10 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11141
11367
|
// oauth required
|
|
11142
11368
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
11143
11369
|
|
|
11370
|
+
if (languageCode !== undefined) {
|
|
11371
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
11372
|
+
}
|
|
11373
|
+
|
|
11144
11374
|
|
|
11145
11375
|
|
|
11146
11376
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11235,19 +11465,26 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11235
11465
|
/**
|
|
11236
11466
|
*
|
|
11237
11467
|
* @summary Get all bookings.
|
|
11238
|
-
* @param {string} [
|
|
11468
|
+
* @param {string} [hospitalId]
|
|
11469
|
+
* @param {string} [hospitalName]
|
|
11470
|
+
* @param {string} [dealId]
|
|
11471
|
+
* @param {string} [dealName]
|
|
11239
11472
|
* @param {boolean} [isOpen]
|
|
11240
11473
|
* @param {boolean} [isCompleted]
|
|
11241
11474
|
* @param {BookingStatus} [status]
|
|
11242
11475
|
* @param {string} [dealPackageId]
|
|
11243
|
-
* @param {
|
|
11476
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
11477
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
11478
|
+
* @param {boolean} [isExternal]
|
|
11479
|
+
* @param {boolean} [paymentEnabled]
|
|
11480
|
+
* @param {string} [languageCode]
|
|
11244
11481
|
* @param {number} [page]
|
|
11245
11482
|
* @param {number} [limit]
|
|
11246
11483
|
* @param {Date} [lastRetrieved]
|
|
11247
11484
|
* @param {*} [options] Override http request option.
|
|
11248
11485
|
* @throws {RequiredError}
|
|
11249
11486
|
*/
|
|
11250
|
-
apiV2BookingsGet: async (
|
|
11487
|
+
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
11488
|
const localVarPath = `/api/v2/bookings`;
|
|
11252
11489
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11253
11490
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11264,8 +11501,20 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11264
11501
|
// oauth required
|
|
11265
11502
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
11266
11503
|
|
|
11267
|
-
if (
|
|
11268
|
-
localVarQueryParameter['
|
|
11504
|
+
if (hospitalId !== undefined) {
|
|
11505
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
11506
|
+
}
|
|
11507
|
+
|
|
11508
|
+
if (hospitalName !== undefined) {
|
|
11509
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
11510
|
+
}
|
|
11511
|
+
|
|
11512
|
+
if (dealId !== undefined) {
|
|
11513
|
+
localVarQueryParameter['DealId'] = dealId;
|
|
11514
|
+
}
|
|
11515
|
+
|
|
11516
|
+
if (dealName !== undefined) {
|
|
11517
|
+
localVarQueryParameter['DealName'] = dealName;
|
|
11269
11518
|
}
|
|
11270
11519
|
|
|
11271
11520
|
if (isOpen !== undefined) {
|
|
@@ -11284,8 +11533,24 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11284
11533
|
localVarQueryParameter['DealPackageId'] = dealPackageId;
|
|
11285
11534
|
}
|
|
11286
11535
|
|
|
11287
|
-
if (
|
|
11288
|
-
localVarQueryParameter['
|
|
11536
|
+
if (sortRequestDate !== undefined) {
|
|
11537
|
+
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
11538
|
+
}
|
|
11539
|
+
|
|
11540
|
+
if (sortConfirmedDateStart !== undefined) {
|
|
11541
|
+
localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
|
|
11542
|
+
}
|
|
11543
|
+
|
|
11544
|
+
if (isExternal !== undefined) {
|
|
11545
|
+
localVarQueryParameter['IsExternal'] = isExternal;
|
|
11546
|
+
}
|
|
11547
|
+
|
|
11548
|
+
if (paymentEnabled !== undefined) {
|
|
11549
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
11550
|
+
}
|
|
11551
|
+
|
|
11552
|
+
if (languageCode !== undefined) {
|
|
11553
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
11289
11554
|
}
|
|
11290
11555
|
|
|
11291
11556
|
if (page !== undefined) {
|
|
@@ -11369,11 +11634,12 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
11369
11634
|
*
|
|
11370
11635
|
* @summary Get booking.
|
|
11371
11636
|
* @param {string} bookingId
|
|
11637
|
+
* @param {string} [languageCode]
|
|
11372
11638
|
* @param {*} [options] Override http request option.
|
|
11373
11639
|
* @throws {RequiredError}
|
|
11374
11640
|
*/
|
|
11375
|
-
async apiV2BookingsBookingIdGet(bookingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingModel>> {
|
|
11376
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, options);
|
|
11641
|
+
async apiV2BookingsBookingIdGet(bookingId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingModel>> {
|
|
11642
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, languageCode, options);
|
|
11377
11643
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11378
11644
|
},
|
|
11379
11645
|
/**
|
|
@@ -11402,20 +11668,27 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
11402
11668
|
/**
|
|
11403
11669
|
*
|
|
11404
11670
|
* @summary Get all bookings.
|
|
11405
|
-
* @param {string} [
|
|
11671
|
+
* @param {string} [hospitalId]
|
|
11672
|
+
* @param {string} [hospitalName]
|
|
11673
|
+
* @param {string} [dealId]
|
|
11674
|
+
* @param {string} [dealName]
|
|
11406
11675
|
* @param {boolean} [isOpen]
|
|
11407
11676
|
* @param {boolean} [isCompleted]
|
|
11408
11677
|
* @param {BookingStatus} [status]
|
|
11409
11678
|
* @param {string} [dealPackageId]
|
|
11410
|
-
* @param {
|
|
11679
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
11680
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
11681
|
+
* @param {boolean} [isExternal]
|
|
11682
|
+
* @param {boolean} [paymentEnabled]
|
|
11683
|
+
* @param {string} [languageCode]
|
|
11411
11684
|
* @param {number} [page]
|
|
11412
11685
|
* @param {number} [limit]
|
|
11413
11686
|
* @param {Date} [lastRetrieved]
|
|
11414
11687
|
* @param {*} [options] Override http request option.
|
|
11415
11688
|
* @throws {RequiredError}
|
|
11416
11689
|
*/
|
|
11417
|
-
async apiV2BookingsGet(
|
|
11418
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsGet(
|
|
11690
|
+
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>> {
|
|
11691
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options);
|
|
11419
11692
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11420
11693
|
},
|
|
11421
11694
|
/**
|
|
@@ -11444,11 +11717,12 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
11444
11717
|
*
|
|
11445
11718
|
* @summary Get booking.
|
|
11446
11719
|
* @param {string} bookingId
|
|
11720
|
+
* @param {string} [languageCode]
|
|
11447
11721
|
* @param {*} [options] Override http request option.
|
|
11448
11722
|
* @throws {RequiredError}
|
|
11449
11723
|
*/
|
|
11450
|
-
apiV2BookingsBookingIdGet(bookingId: string, options?: any): AxiosPromise<BookingModel> {
|
|
11451
|
-
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then((request) => request(axios, basePath));
|
|
11724
|
+
apiV2BookingsBookingIdGet(bookingId: string, languageCode?: string, options?: any): AxiosPromise<BookingModel> {
|
|
11725
|
+
return localVarFp.apiV2BookingsBookingIdGet(bookingId, languageCode, options).then((request) => request(axios, basePath));
|
|
11452
11726
|
},
|
|
11453
11727
|
/**
|
|
11454
11728
|
*
|
|
@@ -11474,20 +11748,27 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
11474
11748
|
/**
|
|
11475
11749
|
*
|
|
11476
11750
|
* @summary Get all bookings.
|
|
11477
|
-
* @param {string} [
|
|
11751
|
+
* @param {string} [hospitalId]
|
|
11752
|
+
* @param {string} [hospitalName]
|
|
11753
|
+
* @param {string} [dealId]
|
|
11754
|
+
* @param {string} [dealName]
|
|
11478
11755
|
* @param {boolean} [isOpen]
|
|
11479
11756
|
* @param {boolean} [isCompleted]
|
|
11480
11757
|
* @param {BookingStatus} [status]
|
|
11481
11758
|
* @param {string} [dealPackageId]
|
|
11482
|
-
* @param {
|
|
11759
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
11760
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
11761
|
+
* @param {boolean} [isExternal]
|
|
11762
|
+
* @param {boolean} [paymentEnabled]
|
|
11763
|
+
* @param {string} [languageCode]
|
|
11483
11764
|
* @param {number} [page]
|
|
11484
11765
|
* @param {number} [limit]
|
|
11485
11766
|
* @param {Date} [lastRetrieved]
|
|
11486
11767
|
* @param {*} [options] Override http request option.
|
|
11487
11768
|
* @throws {RequiredError}
|
|
11488
11769
|
*/
|
|
11489
|
-
apiV2BookingsGet(
|
|
11490
|
-
return localVarFp.apiV2BookingsGet(
|
|
11770
|
+
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> {
|
|
11771
|
+
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
11772
|
},
|
|
11492
11773
|
/**
|
|
11493
11774
|
*
|
|
@@ -11514,12 +11795,13 @@ export class BookingsApi extends BaseAPI {
|
|
|
11514
11795
|
*
|
|
11515
11796
|
* @summary Get booking.
|
|
11516
11797
|
* @param {string} bookingId
|
|
11798
|
+
* @param {string} [languageCode]
|
|
11517
11799
|
* @param {*} [options] Override http request option.
|
|
11518
11800
|
* @throws {RequiredError}
|
|
11519
11801
|
* @memberof BookingsApi
|
|
11520
11802
|
*/
|
|
11521
|
-
public apiV2BookingsBookingIdGet(bookingId: string, options?: AxiosRequestConfig) {
|
|
11522
|
-
return BookingsApiFp(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
11803
|
+
public apiV2BookingsBookingIdGet(bookingId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
11804
|
+
return BookingsApiFp(this.configuration).apiV2BookingsBookingIdGet(bookingId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
11523
11805
|
}
|
|
11524
11806
|
|
|
11525
11807
|
/**
|
|
@@ -11550,12 +11832,19 @@ export class BookingsApi extends BaseAPI {
|
|
|
11550
11832
|
/**
|
|
11551
11833
|
*
|
|
11552
11834
|
* @summary Get all bookings.
|
|
11553
|
-
* @param {string} [
|
|
11835
|
+
* @param {string} [hospitalId]
|
|
11836
|
+
* @param {string} [hospitalName]
|
|
11837
|
+
* @param {string} [dealId]
|
|
11838
|
+
* @param {string} [dealName]
|
|
11554
11839
|
* @param {boolean} [isOpen]
|
|
11555
11840
|
* @param {boolean} [isCompleted]
|
|
11556
11841
|
* @param {BookingStatus} [status]
|
|
11557
11842
|
* @param {string} [dealPackageId]
|
|
11558
|
-
* @param {
|
|
11843
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
11844
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
11845
|
+
* @param {boolean} [isExternal]
|
|
11846
|
+
* @param {boolean} [paymentEnabled]
|
|
11847
|
+
* @param {string} [languageCode]
|
|
11559
11848
|
* @param {number} [page]
|
|
11560
11849
|
* @param {number} [limit]
|
|
11561
11850
|
* @param {Date} [lastRetrieved]
|
|
@@ -11563,8 +11852,8 @@ export class BookingsApi extends BaseAPI {
|
|
|
11563
11852
|
* @throws {RequiredError}
|
|
11564
11853
|
* @memberof BookingsApi
|
|
11565
11854
|
*/
|
|
11566
|
-
public apiV2BookingsGet(
|
|
11567
|
-
return BookingsApiFp(this.configuration).apiV2BookingsGet(
|
|
11855
|
+
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) {
|
|
11856
|
+
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
11857
|
}
|
|
11569
11858
|
|
|
11570
11859
|
/**
|
|
@@ -12315,10 +12604,11 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12315
12604
|
*
|
|
12316
12605
|
* @summary Get consultation.
|
|
12317
12606
|
* @param {string} consultationId
|
|
12607
|
+
* @param {string} [languageCode]
|
|
12318
12608
|
* @param {*} [options] Override http request option.
|
|
12319
12609
|
* @throws {RequiredError}
|
|
12320
12610
|
*/
|
|
12321
|
-
apiV2ConsultationsConsultationIdGet: async (consultationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12611
|
+
apiV2ConsultationsConsultationIdGet: async (consultationId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12322
12612
|
// verify required parameter 'consultationId' is not null or undefined
|
|
12323
12613
|
assertParamExists('apiV2ConsultationsConsultationIdGet', 'consultationId', consultationId)
|
|
12324
12614
|
const localVarPath = `/api/v2/consultations/{consultationId}`
|
|
@@ -12338,6 +12628,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12338
12628
|
// oauth required
|
|
12339
12629
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
12340
12630
|
|
|
12631
|
+
if (languageCode !== undefined) {
|
|
12632
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
12633
|
+
}
|
|
12634
|
+
|
|
12341
12635
|
|
|
12342
12636
|
|
|
12343
12637
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12432,19 +12726,24 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12432
12726
|
/**
|
|
12433
12727
|
*
|
|
12434
12728
|
* @summary Get all consultations.
|
|
12435
|
-
* @param {string} [
|
|
12729
|
+
* @param {string} [hospitalId]
|
|
12730
|
+
* @param {string} [hospitalName]
|
|
12731
|
+
* @param {string} [doctorId]
|
|
12732
|
+
* @param {string} [doctorName]
|
|
12733
|
+
* @param {string} [dealId]
|
|
12734
|
+
* @param {string} [dealName]
|
|
12436
12735
|
* @param {boolean} [isOpen]
|
|
12437
12736
|
* @param {boolean} [isCompleted]
|
|
12438
12737
|
* @param {ConsultationStatus} [status]
|
|
12439
12738
|
* @param {ConsultationType} [consultationType]
|
|
12440
|
-
* @param {string} [
|
|
12739
|
+
* @param {string} [languageCode]
|
|
12441
12740
|
* @param {number} [page]
|
|
12442
12741
|
* @param {number} [limit]
|
|
12443
12742
|
* @param {Date} [lastRetrieved]
|
|
12444
12743
|
* @param {*} [options] Override http request option.
|
|
12445
12744
|
* @throws {RequiredError}
|
|
12446
12745
|
*/
|
|
12447
|
-
apiV2ConsultationsGet: async (
|
|
12746
|
+
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
12747
|
const localVarPath = `/api/v2/consultations`;
|
|
12449
12748
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12450
12749
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12453,16 +12752,36 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12453
12752
|
baseOptions = configuration.baseOptions;
|
|
12454
12753
|
}
|
|
12455
12754
|
|
|
12456
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12457
|
-
const localVarHeaderParameter = {} as any;
|
|
12458
|
-
const localVarQueryParameter = {} as any;
|
|
12755
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12756
|
+
const localVarHeaderParameter = {} as any;
|
|
12757
|
+
const localVarQueryParameter = {} as any;
|
|
12758
|
+
|
|
12759
|
+
// authentication oauth2 required
|
|
12760
|
+
// oauth required
|
|
12761
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
12762
|
+
|
|
12763
|
+
if (hospitalId !== undefined) {
|
|
12764
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
12765
|
+
}
|
|
12766
|
+
|
|
12767
|
+
if (hospitalName !== undefined) {
|
|
12768
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
12769
|
+
}
|
|
12770
|
+
|
|
12771
|
+
if (doctorId !== undefined) {
|
|
12772
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
12773
|
+
}
|
|
12459
12774
|
|
|
12460
|
-
|
|
12461
|
-
|
|
12462
|
-
|
|
12775
|
+
if (doctorName !== undefined) {
|
|
12776
|
+
localVarQueryParameter['DoctorName'] = doctorName;
|
|
12777
|
+
}
|
|
12463
12778
|
|
|
12464
|
-
if (
|
|
12465
|
-
localVarQueryParameter['
|
|
12779
|
+
if (dealId !== undefined) {
|
|
12780
|
+
localVarQueryParameter['DealId'] = dealId;
|
|
12781
|
+
}
|
|
12782
|
+
|
|
12783
|
+
if (dealName !== undefined) {
|
|
12784
|
+
localVarQueryParameter['DealName'] = dealName;
|
|
12466
12785
|
}
|
|
12467
12786
|
|
|
12468
12787
|
if (isOpen !== undefined) {
|
|
@@ -12481,8 +12800,8 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12481
12800
|
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
12482
12801
|
}
|
|
12483
12802
|
|
|
12484
|
-
if (
|
|
12485
|
-
localVarQueryParameter['
|
|
12803
|
+
if (languageCode !== undefined) {
|
|
12804
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12486
12805
|
}
|
|
12487
12806
|
|
|
12488
12807
|
if (page !== undefined) {
|
|
@@ -12566,11 +12885,12 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
12566
12885
|
*
|
|
12567
12886
|
* @summary Get consultation.
|
|
12568
12887
|
* @param {string} consultationId
|
|
12888
|
+
* @param {string} [languageCode]
|
|
12569
12889
|
* @param {*} [options] Override http request option.
|
|
12570
12890
|
* @throws {RequiredError}
|
|
12571
12891
|
*/
|
|
12572
|
-
async apiV2ConsultationsConsultationIdGet(consultationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>> {
|
|
12573
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, options);
|
|
12892
|
+
async apiV2ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>> {
|
|
12893
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options);
|
|
12574
12894
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12575
12895
|
},
|
|
12576
12896
|
/**
|
|
@@ -12599,20 +12919,25 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
12599
12919
|
/**
|
|
12600
12920
|
*
|
|
12601
12921
|
* @summary Get all consultations.
|
|
12602
|
-
* @param {string} [
|
|
12922
|
+
* @param {string} [hospitalId]
|
|
12923
|
+
* @param {string} [hospitalName]
|
|
12924
|
+
* @param {string} [doctorId]
|
|
12925
|
+
* @param {string} [doctorName]
|
|
12926
|
+
* @param {string} [dealId]
|
|
12927
|
+
* @param {string} [dealName]
|
|
12603
12928
|
* @param {boolean} [isOpen]
|
|
12604
12929
|
* @param {boolean} [isCompleted]
|
|
12605
12930
|
* @param {ConsultationStatus} [status]
|
|
12606
12931
|
* @param {ConsultationType} [consultationType]
|
|
12607
|
-
* @param {string} [
|
|
12932
|
+
* @param {string} [languageCode]
|
|
12608
12933
|
* @param {number} [page]
|
|
12609
12934
|
* @param {number} [limit]
|
|
12610
12935
|
* @param {Date} [lastRetrieved]
|
|
12611
12936
|
* @param {*} [options] Override http request option.
|
|
12612
12937
|
* @throws {RequiredError}
|
|
12613
12938
|
*/
|
|
12614
|
-
async apiV2ConsultationsGet(
|
|
12615
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsGet(
|
|
12939
|
+
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>> {
|
|
12940
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options);
|
|
12616
12941
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12617
12942
|
},
|
|
12618
12943
|
/**
|
|
@@ -12641,11 +12966,12 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
12641
12966
|
*
|
|
12642
12967
|
* @summary Get consultation.
|
|
12643
12968
|
* @param {string} consultationId
|
|
12969
|
+
* @param {string} [languageCode]
|
|
12644
12970
|
* @param {*} [options] Override http request option.
|
|
12645
12971
|
* @throws {RequiredError}
|
|
12646
12972
|
*/
|
|
12647
|
-
apiV2ConsultationsConsultationIdGet(consultationId: string, options?: any): AxiosPromise<ConsultationModel> {
|
|
12648
|
-
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then((request) => request(axios, basePath));
|
|
12973
|
+
apiV2ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: any): AxiosPromise<ConsultationModel> {
|
|
12974
|
+
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then((request) => request(axios, basePath));
|
|
12649
12975
|
},
|
|
12650
12976
|
/**
|
|
12651
12977
|
*
|
|
@@ -12671,20 +12997,25 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
12671
12997
|
/**
|
|
12672
12998
|
*
|
|
12673
12999
|
* @summary Get all consultations.
|
|
12674
|
-
* @param {string} [
|
|
13000
|
+
* @param {string} [hospitalId]
|
|
13001
|
+
* @param {string} [hospitalName]
|
|
13002
|
+
* @param {string} [doctorId]
|
|
13003
|
+
* @param {string} [doctorName]
|
|
13004
|
+
* @param {string} [dealId]
|
|
13005
|
+
* @param {string} [dealName]
|
|
12675
13006
|
* @param {boolean} [isOpen]
|
|
12676
13007
|
* @param {boolean} [isCompleted]
|
|
12677
13008
|
* @param {ConsultationStatus} [status]
|
|
12678
13009
|
* @param {ConsultationType} [consultationType]
|
|
12679
|
-
* @param {string} [
|
|
13010
|
+
* @param {string} [languageCode]
|
|
12680
13011
|
* @param {number} [page]
|
|
12681
13012
|
* @param {number} [limit]
|
|
12682
13013
|
* @param {Date} [lastRetrieved]
|
|
12683
13014
|
* @param {*} [options] Override http request option.
|
|
12684
13015
|
* @throws {RequiredError}
|
|
12685
13016
|
*/
|
|
12686
|
-
apiV2ConsultationsGet(
|
|
12687
|
-
return localVarFp.apiV2ConsultationsGet(
|
|
13017
|
+
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> {
|
|
13018
|
+
return localVarFp.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
12688
13019
|
},
|
|
12689
13020
|
/**
|
|
12690
13021
|
*
|
|
@@ -12711,12 +13042,13 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
12711
13042
|
*
|
|
12712
13043
|
* @summary Get consultation.
|
|
12713
13044
|
* @param {string} consultationId
|
|
13045
|
+
* @param {string} [languageCode]
|
|
12714
13046
|
* @param {*} [options] Override http request option.
|
|
12715
13047
|
* @throws {RequiredError}
|
|
12716
13048
|
* @memberof ConsultationsApi
|
|
12717
13049
|
*/
|
|
12718
|
-
public apiV2ConsultationsConsultationIdGet(consultationId: string, options?: AxiosRequestConfig) {
|
|
12719
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
13050
|
+
public apiV2ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
13051
|
+
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
12720
13052
|
}
|
|
12721
13053
|
|
|
12722
13054
|
/**
|
|
@@ -12747,12 +13079,17 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
12747
13079
|
/**
|
|
12748
13080
|
*
|
|
12749
13081
|
* @summary Get all consultations.
|
|
12750
|
-
* @param {string} [
|
|
13082
|
+
* @param {string} [hospitalId]
|
|
13083
|
+
* @param {string} [hospitalName]
|
|
13084
|
+
* @param {string} [doctorId]
|
|
13085
|
+
* @param {string} [doctorName]
|
|
13086
|
+
* @param {string} [dealId]
|
|
13087
|
+
* @param {string} [dealName]
|
|
12751
13088
|
* @param {boolean} [isOpen]
|
|
12752
13089
|
* @param {boolean} [isCompleted]
|
|
12753
13090
|
* @param {ConsultationStatus} [status]
|
|
12754
13091
|
* @param {ConsultationType} [consultationType]
|
|
12755
|
-
* @param {string} [
|
|
13092
|
+
* @param {string} [languageCode]
|
|
12756
13093
|
* @param {number} [page]
|
|
12757
13094
|
* @param {number} [limit]
|
|
12758
13095
|
* @param {Date} [lastRetrieved]
|
|
@@ -12760,8 +13097,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
12760
13097
|
* @throws {RequiredError}
|
|
12761
13098
|
* @memberof ConsultationsApi
|
|
12762
13099
|
*/
|
|
12763
|
-
public apiV2ConsultationsGet(
|
|
12764
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsGet(
|
|
13100
|
+
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) {
|
|
13101
|
+
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
13102
|
}
|
|
12766
13103
|
|
|
12767
13104
|
/**
|
|
@@ -14926,16 +15263,19 @@ export class DealsApi extends BaseAPI {
|
|
|
14926
15263
|
|
|
14927
15264
|
|
|
14928
15265
|
/**
|
|
14929
|
-
*
|
|
15266
|
+
* DoctorAffiliationsApi - axios parameter creator
|
|
14930
15267
|
* @export
|
|
14931
15268
|
*/
|
|
14932
|
-
export const
|
|
15269
|
+
export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14933
15270
|
return {
|
|
14934
15271
|
/**
|
|
14935
15272
|
*
|
|
14936
15273
|
* @summary Get all doctor affiliations.
|
|
14937
|
-
* @param {string}
|
|
15274
|
+
* @param {string} [hospitalId]
|
|
14938
15275
|
* @param {string} [hospitalName]
|
|
15276
|
+
* @param {string} [doctorId]
|
|
15277
|
+
* @param {string} [doctorName]
|
|
15278
|
+
* @param {string} [doctorSlug]
|
|
14939
15279
|
* @param {string} [languageCode]
|
|
14940
15280
|
* @param {number} [page]
|
|
14941
15281
|
* @param {number} [limit]
|
|
@@ -14943,11 +15283,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14943
15283
|
* @param {*} [options] Override http request option.
|
|
14944
15284
|
* @throws {RequiredError}
|
|
14945
15285
|
*/
|
|
14946
|
-
|
|
14947
|
-
|
|
14948
|
-
assertParamExists('apiV2DoctorsDoctorIdAffiliationsGet', 'doctorId', doctorId)
|
|
14949
|
-
const localVarPath = `/api/v2/doctors/{doctorId}/affiliations`
|
|
14950
|
-
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
15286
|
+
apiV2DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15287
|
+
const localVarPath = `/api/v2/doctoraffiliations`;
|
|
14951
15288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14952
15289
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14953
15290
|
let baseOptions;
|
|
@@ -14959,10 +15296,26 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14959
15296
|
const localVarHeaderParameter = {} as any;
|
|
14960
15297
|
const localVarQueryParameter = {} as any;
|
|
14961
15298
|
|
|
15299
|
+
if (hospitalId !== undefined) {
|
|
15300
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15301
|
+
}
|
|
15302
|
+
|
|
14962
15303
|
if (hospitalName !== undefined) {
|
|
14963
15304
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
14964
15305
|
}
|
|
14965
15306
|
|
|
15307
|
+
if (doctorId !== undefined) {
|
|
15308
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
15309
|
+
}
|
|
15310
|
+
|
|
15311
|
+
if (doctorName !== undefined) {
|
|
15312
|
+
localVarQueryParameter['DoctorName'] = doctorName;
|
|
15313
|
+
}
|
|
15314
|
+
|
|
15315
|
+
if (doctorSlug !== undefined) {
|
|
15316
|
+
localVarQueryParameter['DoctorSlug'] = doctorSlug;
|
|
15317
|
+
}
|
|
15318
|
+
|
|
14966
15319
|
if (languageCode !== undefined) {
|
|
14967
15320
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14968
15321
|
}
|
|
@@ -14995,19 +15348,16 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14995
15348
|
/**
|
|
14996
15349
|
*
|
|
14997
15350
|
* @summary Get doctor affiliation.
|
|
14998
|
-
* @param {string}
|
|
14999
|
-
* @param {string}
|
|
15351
|
+
* @param {string} id
|
|
15352
|
+
* @param {string} [languageCode]
|
|
15000
15353
|
* @param {*} [options] Override http request option.
|
|
15001
15354
|
* @throws {RequiredError}
|
|
15002
15355
|
*/
|
|
15003
|
-
|
|
15004
|
-
// verify required parameter '
|
|
15005
|
-
assertParamExists('
|
|
15006
|
-
|
|
15007
|
-
|
|
15008
|
-
const localVarPath = `/api/v2/doctors/{doctorId}/affiliations/{hospitalId}`
|
|
15009
|
-
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
15010
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
15356
|
+
apiV2DoctoraffiliationsIdGet: async (id: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15357
|
+
// verify required parameter 'id' is not null or undefined
|
|
15358
|
+
assertParamExists('apiV2DoctoraffiliationsIdGet', 'id', id)
|
|
15359
|
+
const localVarPath = `/api/v2/doctoraffiliations/{id}`
|
|
15360
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15011
15361
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15012
15362
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15013
15363
|
let baseOptions;
|
|
@@ -15019,6 +15369,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15019
15369
|
const localVarHeaderParameter = {} as any;
|
|
15020
15370
|
const localVarQueryParameter = {} as any;
|
|
15021
15371
|
|
|
15372
|
+
if (languageCode !== undefined) {
|
|
15373
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
15374
|
+
}
|
|
15375
|
+
|
|
15022
15376
|
|
|
15023
15377
|
|
|
15024
15378
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15030,6 +15384,137 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15030
15384
|
options: localVarRequestOptions,
|
|
15031
15385
|
};
|
|
15032
15386
|
},
|
|
15387
|
+
}
|
|
15388
|
+
};
|
|
15389
|
+
|
|
15390
|
+
/**
|
|
15391
|
+
* DoctorAffiliationsApi - functional programming interface
|
|
15392
|
+
* @export
|
|
15393
|
+
*/
|
|
15394
|
+
export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
15395
|
+
const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
|
|
15396
|
+
return {
|
|
15397
|
+
/**
|
|
15398
|
+
*
|
|
15399
|
+
* @summary Get all doctor affiliations.
|
|
15400
|
+
* @param {string} [hospitalId]
|
|
15401
|
+
* @param {string} [hospitalName]
|
|
15402
|
+
* @param {string} [doctorId]
|
|
15403
|
+
* @param {string} [doctorName]
|
|
15404
|
+
* @param {string} [doctorSlug]
|
|
15405
|
+
* @param {string} [languageCode]
|
|
15406
|
+
* @param {number} [page]
|
|
15407
|
+
* @param {number} [limit]
|
|
15408
|
+
* @param {Date} [lastRetrieved]
|
|
15409
|
+
* @param {*} [options] Override http request option.
|
|
15410
|
+
* @throws {RequiredError}
|
|
15411
|
+
*/
|
|
15412
|
+
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>> {
|
|
15413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options);
|
|
15414
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15415
|
+
},
|
|
15416
|
+
/**
|
|
15417
|
+
*
|
|
15418
|
+
* @summary Get doctor affiliation.
|
|
15419
|
+
* @param {string} id
|
|
15420
|
+
* @param {string} [languageCode]
|
|
15421
|
+
* @param {*} [options] Override http request option.
|
|
15422
|
+
* @throws {RequiredError}
|
|
15423
|
+
*/
|
|
15424
|
+
async apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
15425
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsIdGet(id, languageCode, options);
|
|
15426
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15427
|
+
},
|
|
15428
|
+
}
|
|
15429
|
+
};
|
|
15430
|
+
|
|
15431
|
+
/**
|
|
15432
|
+
* DoctorAffiliationsApi - factory interface
|
|
15433
|
+
* @export
|
|
15434
|
+
*/
|
|
15435
|
+
export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15436
|
+
const localVarFp = DoctorAffiliationsApiFp(configuration)
|
|
15437
|
+
return {
|
|
15438
|
+
/**
|
|
15439
|
+
*
|
|
15440
|
+
* @summary Get all doctor affiliations.
|
|
15441
|
+
* @param {string} [hospitalId]
|
|
15442
|
+
* @param {string} [hospitalName]
|
|
15443
|
+
* @param {string} [doctorId]
|
|
15444
|
+
* @param {string} [doctorName]
|
|
15445
|
+
* @param {string} [doctorSlug]
|
|
15446
|
+
* @param {string} [languageCode]
|
|
15447
|
+
* @param {number} [page]
|
|
15448
|
+
* @param {number} [limit]
|
|
15449
|
+
* @param {Date} [lastRetrieved]
|
|
15450
|
+
* @param {*} [options] Override http request option.
|
|
15451
|
+
* @throws {RequiredError}
|
|
15452
|
+
*/
|
|
15453
|
+
apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
|
|
15454
|
+
return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15455
|
+
},
|
|
15456
|
+
/**
|
|
15457
|
+
*
|
|
15458
|
+
* @summary Get doctor affiliation.
|
|
15459
|
+
* @param {string} id
|
|
15460
|
+
* @param {string} [languageCode]
|
|
15461
|
+
* @param {*} [options] Override http request option.
|
|
15462
|
+
* @throws {RequiredError}
|
|
15463
|
+
*/
|
|
15464
|
+
apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
15465
|
+
return localVarFp.apiV2DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(axios, basePath));
|
|
15466
|
+
},
|
|
15467
|
+
};
|
|
15468
|
+
};
|
|
15469
|
+
|
|
15470
|
+
/**
|
|
15471
|
+
* DoctorAffiliationsApi - object-oriented interface
|
|
15472
|
+
* @export
|
|
15473
|
+
* @class DoctorAffiliationsApi
|
|
15474
|
+
* @extends {BaseAPI}
|
|
15475
|
+
*/
|
|
15476
|
+
export class DoctorAffiliationsApi extends BaseAPI {
|
|
15477
|
+
/**
|
|
15478
|
+
*
|
|
15479
|
+
* @summary Get all doctor affiliations.
|
|
15480
|
+
* @param {string} [hospitalId]
|
|
15481
|
+
* @param {string} [hospitalName]
|
|
15482
|
+
* @param {string} [doctorId]
|
|
15483
|
+
* @param {string} [doctorName]
|
|
15484
|
+
* @param {string} [doctorSlug]
|
|
15485
|
+
* @param {string} [languageCode]
|
|
15486
|
+
* @param {number} [page]
|
|
15487
|
+
* @param {number} [limit]
|
|
15488
|
+
* @param {Date} [lastRetrieved]
|
|
15489
|
+
* @param {*} [options] Override http request option.
|
|
15490
|
+
* @throws {RequiredError}
|
|
15491
|
+
* @memberof DoctorAffiliationsApi
|
|
15492
|
+
*/
|
|
15493
|
+
public apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15494
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15495
|
+
}
|
|
15496
|
+
|
|
15497
|
+
/**
|
|
15498
|
+
*
|
|
15499
|
+
* @summary Get doctor affiliation.
|
|
15500
|
+
* @param {string} id
|
|
15501
|
+
* @param {string} [languageCode]
|
|
15502
|
+
* @param {*} [options] Override http request option.
|
|
15503
|
+
* @throws {RequiredError}
|
|
15504
|
+
* @memberof DoctorAffiliationsApi
|
|
15505
|
+
*/
|
|
15506
|
+
public apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
15507
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
15508
|
+
}
|
|
15509
|
+
}
|
|
15510
|
+
|
|
15511
|
+
|
|
15512
|
+
/**
|
|
15513
|
+
* DoctorsApi - axios parameter creator
|
|
15514
|
+
* @export
|
|
15515
|
+
*/
|
|
15516
|
+
export const DoctorsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15517
|
+
return {
|
|
15033
15518
|
/**
|
|
15034
15519
|
*
|
|
15035
15520
|
* @summary Get DoctorCertificate.
|
|
@@ -15612,14 +16097,13 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15612
16097
|
* @param {string} [specialtyId]
|
|
15613
16098
|
* @param {string} [specialtyName]
|
|
15614
16099
|
* @param {string} [languageCode]
|
|
15615
|
-
* @param {boolean} [showHidden]
|
|
15616
16100
|
* @param {number} [page]
|
|
15617
16101
|
* @param {number} [limit]
|
|
15618
16102
|
* @param {Date} [lastRetrieved]
|
|
15619
16103
|
* @param {*} [options] Override http request option.
|
|
15620
16104
|
* @throws {RequiredError}
|
|
15621
16105
|
*/
|
|
15622
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: async (doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string,
|
|
16106
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: async (doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15623
16107
|
// verify required parameter 'doctorId' is not null or undefined
|
|
15624
16108
|
assertParamExists('apiV2DoctorsDoctorIdSpecialtiesGet', 'doctorId', doctorId)
|
|
15625
16109
|
const localVarPath = `/api/v2/doctors/{doctorId}/specialties`
|
|
@@ -15651,10 +16135,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15651
16135
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15652
16136
|
}
|
|
15653
16137
|
|
|
15654
|
-
if (showHidden !== undefined) {
|
|
15655
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
15656
|
-
}
|
|
15657
|
-
|
|
15658
16138
|
if (page !== undefined) {
|
|
15659
16139
|
localVarQueryParameter['page'] = page;
|
|
15660
16140
|
}
|
|
@@ -16018,34 +16498,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16018
16498
|
export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
16019
16499
|
const localVarAxiosParamCreator = DoctorsApiAxiosParamCreator(configuration)
|
|
16020
16500
|
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
16501
|
/**
|
|
16050
16502
|
*
|
|
16051
16503
|
* @summary Get DoctorCertificate.
|
|
@@ -16212,15 +16664,14 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
16212
16664
|
* @param {string} [specialtyId]
|
|
16213
16665
|
* @param {string} [specialtyName]
|
|
16214
16666
|
* @param {string} [languageCode]
|
|
16215
|
-
* @param {boolean} [showHidden]
|
|
16216
16667
|
* @param {number} [page]
|
|
16217
16668
|
* @param {number} [limit]
|
|
16218
16669
|
* @param {Date} [lastRetrieved]
|
|
16219
16670
|
* @param {*} [options] Override http request option.
|
|
16220
16671
|
* @throws {RequiredError}
|
|
16221
16672
|
*/
|
|
16222
|
-
async apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string,
|
|
16223
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
16673
|
+
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>> {
|
|
16674
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options);
|
|
16224
16675
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16225
16676
|
},
|
|
16226
16677
|
/**
|
|
@@ -16312,32 +16763,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
16312
16763
|
export const DoctorsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
16313
16764
|
const localVarFp = DoctorsApiFp(configuration)
|
|
16314
16765
|
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
16766
|
/**
|
|
16342
16767
|
*
|
|
16343
16768
|
* @summary Get DoctorCertificate.
|
|
@@ -16493,15 +16918,14 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
16493
16918
|
* @param {string} [specialtyId]
|
|
16494
16919
|
* @param {string} [specialtyName]
|
|
16495
16920
|
* @param {string} [languageCode]
|
|
16496
|
-
* @param {boolean} [showHidden]
|
|
16497
16921
|
* @param {number} [page]
|
|
16498
16922
|
* @param {number} [limit]
|
|
16499
16923
|
* @param {Date} [lastRetrieved]
|
|
16500
16924
|
* @param {*} [options] Override http request option.
|
|
16501
16925
|
* @throws {RequiredError}
|
|
16502
16926
|
*/
|
|
16503
|
-
apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string,
|
|
16504
|
-
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
16927
|
+
apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorSpecialtiesModel> {
|
|
16928
|
+
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16505
16929
|
},
|
|
16506
16930
|
/**
|
|
16507
16931
|
*
|
|
@@ -16588,36 +17012,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
16588
17012
|
* @extends {BaseAPI}
|
|
16589
17013
|
*/
|
|
16590
17014
|
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
17015
|
/**
|
|
16622
17016
|
*
|
|
16623
17017
|
* @summary Get DoctorCertificate.
|
|
@@ -16795,7 +17189,6 @@ export class DoctorsApi extends BaseAPI {
|
|
|
16795
17189
|
* @param {string} [specialtyId]
|
|
16796
17190
|
* @param {string} [specialtyName]
|
|
16797
17191
|
* @param {string} [languageCode]
|
|
16798
|
-
* @param {boolean} [showHidden]
|
|
16799
17192
|
* @param {number} [page]
|
|
16800
17193
|
* @param {number} [limit]
|
|
16801
17194
|
* @param {Date} [lastRetrieved]
|
|
@@ -16803,8 +17196,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
16803
17196
|
* @throws {RequiredError}
|
|
16804
17197
|
* @memberof DoctorsApi
|
|
16805
17198
|
*/
|
|
16806
|
-
public apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string,
|
|
16807
|
-
return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
17199
|
+
public apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17200
|
+
return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16808
17201
|
}
|
|
16809
17202
|
|
|
16810
17203
|
/**
|