ch-api-client-typescript2 4.9.4 → 4.9.5

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.
Files changed (118) hide show
  1. package/lib/api/appointments-api.d.ts +296 -0
  2. package/lib/api/appointments-api.d.ts.map +1 -0
  3. package/lib/api/appointments-api.js +703 -0
  4. package/lib/api/deals-api.d.ts +103 -0
  5. package/lib/api/deals-api.d.ts.map +1 -1
  6. package/lib/api/deals-api.js +233 -0
  7. package/lib/api/doctor-affiliations-api.d.ts +50 -0
  8. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  9. package/lib/api/doctor-affiliations-api.js +113 -0
  10. package/lib/api/hospitals-api.d.ts +160 -0
  11. package/lib/api/hospitals-api.d.ts.map +1 -1
  12. package/lib/api/hospitals-api.js +360 -0
  13. package/lib/api.d.ts +1 -0
  14. package/lib/api.d.ts.map +1 -1
  15. package/lib/api.js +1 -0
  16. package/lib/models/appointment-change-log-model.d.ts +44 -0
  17. package/lib/models/appointment-change-log-model.d.ts.map +1 -0
  18. package/lib/models/appointment-change-log-model.js +15 -0
  19. package/lib/models/appointment-item-model.d.ts +305 -0
  20. package/lib/models/appointment-item-model.d.ts.map +1 -0
  21. package/lib/models/appointment-item-model.js +15 -0
  22. package/lib/models/appointment-model.d.ts +325 -0
  23. package/lib/models/appointment-model.d.ts.map +1 -0
  24. package/lib/models/appointment-model.js +15 -0
  25. package/lib/models/appointment-option-model.d.ts +49 -0
  26. package/lib/models/appointment-option-model.d.ts.map +1 -0
  27. package/lib/models/appointment-option-model.js +15 -0
  28. package/lib/models/appointment-status.d.ts +27 -0
  29. package/lib/models/appointment-status.d.ts.map +1 -0
  30. package/lib/models/appointment-status.js +30 -0
  31. package/lib/models/appointment-timetable-date-model.d.ts +58 -0
  32. package/lib/models/appointment-timetable-date-model.d.ts.map +1 -0
  33. package/lib/models/appointment-timetable-date-model.js +15 -0
  34. package/lib/models/appointment-timetable-status.d.ts +22 -0
  35. package/lib/models/appointment-timetable-status.d.ts.map +1 -0
  36. package/lib/models/appointment-timetable-status.js +25 -0
  37. package/lib/models/appointment-timetable-time-slot-model.d.ts +56 -0
  38. package/lib/models/appointment-timetable-time-slot-model.d.ts.map +1 -0
  39. package/lib/models/appointment-timetable-time-slot-model.js +15 -0
  40. package/lib/models/appointment-timetables-model.d.ts +44 -0
  41. package/lib/models/appointment-timetables-model.d.ts.map +1 -0
  42. package/lib/models/appointment-timetables-model.js +15 -0
  43. package/lib/models/appointment-type.d.ts +26 -0
  44. package/lib/models/appointment-type.d.ts.map +1 -0
  45. package/lib/models/appointment-type.js +29 -0
  46. package/lib/models/appointments-model.d.ts +33 -0
  47. package/lib/models/appointments-model.d.ts.map +1 -0
  48. package/lib/models/appointments-model.js +15 -0
  49. package/lib/models/create-appointment-command.d.ts +153 -0
  50. package/lib/models/create-appointment-command.d.ts.map +1 -0
  51. package/lib/models/create-appointment-command.js +15 -0
  52. package/lib/models/deal-item-model.d.ts +7 -0
  53. package/lib/models/deal-item-model.d.ts.map +1 -1
  54. package/lib/models/deal-model.d.ts +7 -0
  55. package/lib/models/deal-model.d.ts.map +1 -1
  56. package/lib/models/deal-package-item-model.d.ts +7 -0
  57. package/lib/models/deal-package-item-model.d.ts.map +1 -1
  58. package/lib/models/deal-package-model.d.ts +7 -0
  59. package/lib/models/deal-package-model.d.ts.map +1 -1
  60. package/lib/models/doctor-affiliation-item-model.d.ts +7 -0
  61. package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
  62. package/lib/models/doctor-affiliation-model.d.ts +7 -0
  63. package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
  64. package/lib/models/hospital-item-model.d.ts +7 -0
  65. package/lib/models/hospital-item-model.d.ts.map +1 -1
  66. package/lib/models/hospital-model.d.ts +7 -0
  67. package/lib/models/hospital-model.d.ts.map +1 -1
  68. package/lib/models/hospital-service-item-model.d.ts +7 -0
  69. package/lib/models/hospital-service-item-model.d.ts.map +1 -1
  70. package/lib/models/hospital-service-model.d.ts +7 -0
  71. package/lib/models/hospital-service-model.d.ts.map +1 -1
  72. package/lib/models/hospital-specialty-item-model.d.ts +7 -0
  73. package/lib/models/hospital-specialty-item-model.d.ts.map +1 -1
  74. package/lib/models/hospital-specialty-model.d.ts +7 -0
  75. package/lib/models/hospital-specialty-model.d.ts.map +1 -1
  76. package/lib/models/index.d.ts +13 -0
  77. package/lib/models/index.d.ts.map +1 -1
  78. package/lib/models/index.js +13 -0
  79. package/lib/models/notification-code.d.ts +9 -0
  80. package/lib/models/notification-code.d.ts.map +1 -1
  81. package/lib/models/notification-code.js +10 -1
  82. package/lib/models/update-appointment-command.d.ts +98 -0
  83. package/lib/models/update-appointment-command.d.ts.map +1 -0
  84. package/lib/models/update-appointment-command.js +15 -0
  85. package/package.json +1 -1
  86. package/src/.openapi-generator/FILES +14 -0
  87. package/src/api/appointments-api.ts +594 -0
  88. package/src/api/deals-api.ts +215 -0
  89. package/src/api/doctor-affiliations-api.ts +105 -0
  90. package/src/api/hospitals-api.ts +332 -0
  91. package/src/api.ts +1 -0
  92. package/src/models/appointment-change-log-model.ts +51 -0
  93. package/src/models/appointment-item-model.ts +318 -0
  94. package/src/models/appointment-model.ts +342 -0
  95. package/src/models/appointment-option-model.ts +54 -0
  96. package/src/models/appointment-status.ts +36 -0
  97. package/src/models/appointment-timetable-date-model.ts +69 -0
  98. package/src/models/appointment-timetable-status.ts +31 -0
  99. package/src/models/appointment-timetable-time-slot-model.ts +63 -0
  100. package/src/models/appointment-timetables-model.ts +51 -0
  101. package/src/models/appointment-type.ts +35 -0
  102. package/src/models/appointments-model.ts +42 -0
  103. package/src/models/create-appointment-command.ts +162 -0
  104. package/src/models/deal-item-model.ts +9 -0
  105. package/src/models/deal-model.ts +9 -0
  106. package/src/models/deal-package-item-model.ts +9 -0
  107. package/src/models/deal-package-model.ts +9 -0
  108. package/src/models/doctor-affiliation-item-model.ts +9 -0
  109. package/src/models/doctor-affiliation-model.ts +9 -0
  110. package/src/models/hospital-item-model.ts +9 -0
  111. package/src/models/hospital-model.ts +9 -0
  112. package/src/models/hospital-service-item-model.ts +9 -0
  113. package/src/models/hospital-service-model.ts +9 -0
  114. package/src/models/hospital-specialty-item-model.ts +9 -0
  115. package/src/models/hospital-specialty-model.ts +9 -0
  116. package/src/models/index.ts +13 -0
  117. package/src/models/notification-code.ts +10 -1
  118. package/src/models/update-appointment-command.ts +105 -0
@@ -289,6 +289,65 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
289
289
  });
290
290
  });
291
291
  },
292
+ /**
293
+ *
294
+ * @summary Get HospitalAppointmentTimetables
295
+ * @param {string} hospitalId
296
+ * @param {number} [year]
297
+ * @param {number} [month]
298
+ * @param {string} [timeZone]
299
+ * @param {string} [appointmentIdExcluded]
300
+ * @param {*} [options] Override http request option.
301
+ * @throws {RequiredError}
302
+ */
303
+ apiV2HospitalsHospitalIdAppointmenttimetablesGet: function (hospitalId, year, month, timeZone, appointmentIdExcluded, options) {
304
+ if (options === void 0) { options = {}; }
305
+ return __awaiter(_this, void 0, void 0, function () {
306
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
307
+ return __generator(this, function (_a) {
308
+ switch (_a.label) {
309
+ case 0:
310
+ // verify required parameter 'hospitalId' is not null or undefined
311
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdAppointmenttimetablesGet', 'hospitalId', hospitalId);
312
+ localVarPath = "/api/v2/hospitals/{hospitalId}/appointmenttimetables"
313
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
314
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
315
+ if (configuration) {
316
+ baseOptions = configuration.baseOptions;
317
+ }
318
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
319
+ localVarHeaderParameter = {};
320
+ localVarQueryParameter = {};
321
+ // authentication oauth2 required
322
+ // oauth required
323
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
324
+ case 1:
325
+ // authentication oauth2 required
326
+ // oauth required
327
+ _a.sent();
328
+ if (year !== undefined) {
329
+ localVarQueryParameter['Year'] = year;
330
+ }
331
+ if (month !== undefined) {
332
+ localVarQueryParameter['Month'] = month;
333
+ }
334
+ if (timeZone !== undefined) {
335
+ localVarQueryParameter['TimeZone'] = timeZone;
336
+ }
337
+ if (appointmentIdExcluded !== undefined) {
338
+ localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
339
+ }
340
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
341
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
342
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
343
+ return [2 /*return*/, {
344
+ url: (0, common_1.toPathString)(localVarUrlObj),
345
+ options: localVarRequestOptions,
346
+ }];
347
+ }
348
+ });
349
+ });
350
+ },
292
351
  /**
293
352
  *
294
353
  * @summary Get HospitalEquipment.
@@ -1104,6 +1163,69 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
1104
1163
  });
1105
1164
  });
1106
1165
  },
1166
+ /**
1167
+ *
1168
+ * @summary Get HospitalSpecialtyAppointmentTimetables
1169
+ * @param {string} hospitalId
1170
+ * @param {string} hospitalSpecialtyId
1171
+ * @param {number} [year]
1172
+ * @param {number} [month]
1173
+ * @param {string} [timeZone]
1174
+ * @param {string} [appointmentIdExcluded]
1175
+ * @param {*} [options] Override http request option.
1176
+ * @throws {RequiredError}
1177
+ */
1178
+ apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: function (hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options) {
1179
+ if (options === void 0) { options = {}; }
1180
+ return __awaiter(_this, void 0, void 0, function () {
1181
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1182
+ return __generator(this, function (_a) {
1183
+ switch (_a.label) {
1184
+ case 0:
1185
+ // verify required parameter 'hospitalId' is not null or undefined
1186
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet', 'hospitalId', hospitalId);
1187
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
1188
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
1189
+ localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetables"
1190
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
1191
+ .replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
1192
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1193
+ if (configuration) {
1194
+ baseOptions = configuration.baseOptions;
1195
+ }
1196
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1197
+ localVarHeaderParameter = {};
1198
+ localVarQueryParameter = {};
1199
+ // authentication oauth2 required
1200
+ // oauth required
1201
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
1202
+ case 1:
1203
+ // authentication oauth2 required
1204
+ // oauth required
1205
+ _a.sent();
1206
+ if (year !== undefined) {
1207
+ localVarQueryParameter['Year'] = year;
1208
+ }
1209
+ if (month !== undefined) {
1210
+ localVarQueryParameter['Month'] = month;
1211
+ }
1212
+ if (timeZone !== undefined) {
1213
+ localVarQueryParameter['TimeZone'] = timeZone;
1214
+ }
1215
+ if (appointmentIdExcluded !== undefined) {
1216
+ localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
1217
+ }
1218
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1219
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1220
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1221
+ return [2 /*return*/, {
1222
+ url: (0, common_1.toPathString)(localVarUrlObj),
1223
+ options: localVarRequestOptions,
1224
+ }];
1225
+ }
1226
+ });
1227
+ });
1228
+ },
1107
1229
  /**
1108
1230
  *
1109
1231
  * @summary Get all HospitalServiceMedias.
@@ -1462,6 +1584,73 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
1462
1584
  });
1463
1585
  });
1464
1586
  },
1587
+ /**
1588
+ *
1589
+ * @summary Get ServiceAppointmentTimetables
1590
+ * @param {string} hospitalId
1591
+ * @param {string} specialtyId
1592
+ * @param {string} serviceId
1593
+ * @param {number} [year]
1594
+ * @param {number} [month]
1595
+ * @param {string} [timeZone]
1596
+ * @param {string} [appointmentIdExcluded]
1597
+ * @param {*} [options] Override http request option.
1598
+ * @throws {RequiredError}
1599
+ */
1600
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: function (hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options) {
1601
+ if (options === void 0) { options = {}; }
1602
+ return __awaiter(_this, void 0, void 0, function () {
1603
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1604
+ return __generator(this, function (_a) {
1605
+ switch (_a.label) {
1606
+ case 0:
1607
+ // verify required parameter 'hospitalId' is not null or undefined
1608
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'hospitalId', hospitalId);
1609
+ // verify required parameter 'specialtyId' is not null or undefined
1610
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'specialtyId', specialtyId);
1611
+ // verify required parameter 'serviceId' is not null or undefined
1612
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'serviceId', serviceId);
1613
+ localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetables"
1614
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
1615
+ .replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)))
1616
+ .replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
1617
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1618
+ if (configuration) {
1619
+ baseOptions = configuration.baseOptions;
1620
+ }
1621
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1622
+ localVarHeaderParameter = {};
1623
+ localVarQueryParameter = {};
1624
+ // authentication oauth2 required
1625
+ // oauth required
1626
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
1627
+ case 1:
1628
+ // authentication oauth2 required
1629
+ // oauth required
1630
+ _a.sent();
1631
+ if (year !== undefined) {
1632
+ localVarQueryParameter['Year'] = year;
1633
+ }
1634
+ if (month !== undefined) {
1635
+ localVarQueryParameter['Month'] = month;
1636
+ }
1637
+ if (timeZone !== undefined) {
1638
+ localVarQueryParameter['TimeZone'] = timeZone;
1639
+ }
1640
+ if (appointmentIdExcluded !== undefined) {
1641
+ localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
1642
+ }
1643
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1644
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1645
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1646
+ return [2 /*return*/, {
1647
+ url: (0, common_1.toPathString)(localVarUrlObj),
1648
+ options: localVarRequestOptions,
1649
+ }];
1650
+ }
1651
+ });
1652
+ });
1653
+ },
1465
1654
  /**
1466
1655
  *
1467
1656
  * @summary Get HospitalService.
@@ -1962,6 +2151,30 @@ var HospitalsApiFp = function (configuration) {
1962
2151
  });
1963
2152
  });
1964
2153
  },
2154
+ /**
2155
+ *
2156
+ * @summary Get HospitalAppointmentTimetables
2157
+ * @param {string} hospitalId
2158
+ * @param {number} [year]
2159
+ * @param {number} [month]
2160
+ * @param {string} [timeZone]
2161
+ * @param {string} [appointmentIdExcluded]
2162
+ * @param {*} [options] Override http request option.
2163
+ * @throws {RequiredError}
2164
+ */
2165
+ apiV2HospitalsHospitalIdAppointmenttimetablesGet: function (hospitalId, year, month, timeZone, appointmentIdExcluded, options) {
2166
+ return __awaiter(this, void 0, void 0, function () {
2167
+ var localVarAxiosArgs;
2168
+ return __generator(this, function (_a) {
2169
+ switch (_a.label) {
2170
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, appointmentIdExcluded, options)];
2171
+ case 1:
2172
+ localVarAxiosArgs = _a.sent();
2173
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2174
+ }
2175
+ });
2176
+ });
2177
+ },
1965
2178
  /**
1966
2179
  *
1967
2180
  * @summary Get HospitalEquipment.
@@ -2347,6 +2560,31 @@ var HospitalsApiFp = function (configuration) {
2347
2560
  });
2348
2561
  });
2349
2562
  },
2563
+ /**
2564
+ *
2565
+ * @summary Get HospitalSpecialtyAppointmentTimetables
2566
+ * @param {string} hospitalId
2567
+ * @param {string} hospitalSpecialtyId
2568
+ * @param {number} [year]
2569
+ * @param {number} [month]
2570
+ * @param {string} [timeZone]
2571
+ * @param {string} [appointmentIdExcluded]
2572
+ * @param {*} [options] Override http request option.
2573
+ * @throws {RequiredError}
2574
+ */
2575
+ apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: function (hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options) {
2576
+ return __awaiter(this, void 0, void 0, function () {
2577
+ var localVarAxiosArgs;
2578
+ return __generator(this, function (_a) {
2579
+ switch (_a.label) {
2580
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options)];
2581
+ case 1:
2582
+ localVarAxiosArgs = _a.sent();
2583
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2584
+ }
2585
+ });
2586
+ });
2587
+ },
2350
2588
  /**
2351
2589
  *
2352
2590
  * @summary Get all HospitalServiceMedias.
@@ -2505,6 +2743,32 @@ var HospitalsApiFp = function (configuration) {
2505
2743
  });
2506
2744
  });
2507
2745
  },
2746
+ /**
2747
+ *
2748
+ * @summary Get ServiceAppointmentTimetables
2749
+ * @param {string} hospitalId
2750
+ * @param {string} specialtyId
2751
+ * @param {string} serviceId
2752
+ * @param {number} [year]
2753
+ * @param {number} [month]
2754
+ * @param {string} [timeZone]
2755
+ * @param {string} [appointmentIdExcluded]
2756
+ * @param {*} [options] Override http request option.
2757
+ * @throws {RequiredError}
2758
+ */
2759
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: function (hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options) {
2760
+ return __awaiter(this, void 0, void 0, function () {
2761
+ var localVarAxiosArgs;
2762
+ return __generator(this, function (_a) {
2763
+ switch (_a.label) {
2764
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options)];
2765
+ case 1:
2766
+ localVarAxiosArgs = _a.sent();
2767
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2768
+ }
2769
+ });
2770
+ });
2771
+ },
2508
2772
  /**
2509
2773
  *
2510
2774
  * @summary Get HospitalService.
@@ -2749,6 +3013,20 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
2749
3013
  apiV2HospitalsHospitalIdAccreditationsGet: function (hospitalId, hospitalName, accreditationId, accreditationName, page, limit, lastRetrieved, options) {
2750
3014
  return localVarFp.apiV2HospitalsHospitalIdAccreditationsGet(hospitalId, hospitalName, accreditationId, accreditationName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
2751
3015
  },
3016
+ /**
3017
+ *
3018
+ * @summary Get HospitalAppointmentTimetables
3019
+ * @param {string} hospitalId
3020
+ * @param {number} [year]
3021
+ * @param {number} [month]
3022
+ * @param {string} [timeZone]
3023
+ * @param {string} [appointmentIdExcluded]
3024
+ * @param {*} [options] Override http request option.
3025
+ * @throws {RequiredError}
3026
+ */
3027
+ apiV2HospitalsHospitalIdAppointmenttimetablesGet: function (hospitalId, year, month, timeZone, appointmentIdExcluded, options) {
3028
+ return localVarFp.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, appointmentIdExcluded, options).then(function (request) { return request(axios, basePath); });
3029
+ },
2752
3030
  /**
2753
3031
  *
2754
3032
  * @summary Get HospitalEquipment.
@@ -2974,6 +3252,21 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
2974
3252
  apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
2975
3253
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
2976
3254
  },
3255
+ /**
3256
+ *
3257
+ * @summary Get HospitalSpecialtyAppointmentTimetables
3258
+ * @param {string} hospitalId
3259
+ * @param {string} hospitalSpecialtyId
3260
+ * @param {number} [year]
3261
+ * @param {number} [month]
3262
+ * @param {string} [timeZone]
3263
+ * @param {string} [appointmentIdExcluded]
3264
+ * @param {*} [options] Override http request option.
3265
+ * @throws {RequiredError}
3266
+ */
3267
+ apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: function (hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options) {
3268
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options).then(function (request) { return request(axios, basePath); });
3269
+ },
2977
3270
  /**
2978
3271
  *
2979
3272
  * @summary Get all HospitalServiceMedias.
@@ -3072,6 +3365,22 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
3072
3365
  apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
3073
3366
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3074
3367
  },
3368
+ /**
3369
+ *
3370
+ * @summary Get ServiceAppointmentTimetables
3371
+ * @param {string} hospitalId
3372
+ * @param {string} specialtyId
3373
+ * @param {string} serviceId
3374
+ * @param {number} [year]
3375
+ * @param {number} [month]
3376
+ * @param {string} [timeZone]
3377
+ * @param {string} [appointmentIdExcluded]
3378
+ * @param {*} [options] Override http request option.
3379
+ * @throws {RequiredError}
3380
+ */
3381
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: function (hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options) {
3382
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options).then(function (request) { return request(axios, basePath); });
3383
+ },
3075
3384
  /**
3076
3385
  *
3077
3386
  * @summary Get HospitalService.
@@ -3256,6 +3565,22 @@ var HospitalsApi = /** @class */ (function (_super) {
3256
3565
  var _this = this;
3257
3566
  return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdAccreditationsGet(hospitalId, hospitalName, accreditationId, accreditationName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3258
3567
  };
3568
+ /**
3569
+ *
3570
+ * @summary Get HospitalAppointmentTimetables
3571
+ * @param {string} hospitalId
3572
+ * @param {number} [year]
3573
+ * @param {number} [month]
3574
+ * @param {string} [timeZone]
3575
+ * @param {string} [appointmentIdExcluded]
3576
+ * @param {*} [options] Override http request option.
3577
+ * @throws {RequiredError}
3578
+ * @memberof HospitalsApi
3579
+ */
3580
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdAppointmenttimetablesGet = function (hospitalId, year, month, timeZone, appointmentIdExcluded, options) {
3581
+ var _this = this;
3582
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, appointmentIdExcluded, options).then(function (request) { return request(_this.axios, _this.basePath); });
3583
+ };
3259
3584
  /**
3260
3585
  *
3261
3586
  * @summary Get HospitalEquipment.
@@ -3513,6 +3838,23 @@ var HospitalsApi = /** @class */ (function (_super) {
3513
3838
  var _this = this;
3514
3839
  return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3515
3840
  };
3841
+ /**
3842
+ *
3843
+ * @summary Get HospitalSpecialtyAppointmentTimetables
3844
+ * @param {string} hospitalId
3845
+ * @param {string} hospitalSpecialtyId
3846
+ * @param {number} [year]
3847
+ * @param {number} [month]
3848
+ * @param {string} [timeZone]
3849
+ * @param {string} [appointmentIdExcluded]
3850
+ * @param {*} [options] Override http request option.
3851
+ * @throws {RequiredError}
3852
+ * @memberof HospitalsApi
3853
+ */
3854
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet = function (hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options) {
3855
+ var _this = this;
3856
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options).then(function (request) { return request(_this.axios, _this.basePath); });
3857
+ };
3516
3858
  /**
3517
3859
  *
3518
3860
  * @summary Get all HospitalServiceMedias.
@@ -3623,6 +3965,24 @@ var HospitalsApi = /** @class */ (function (_super) {
3623
3965
  var _this = this;
3624
3966
  return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3625
3967
  };
3968
+ /**
3969
+ *
3970
+ * @summary Get ServiceAppointmentTimetables
3971
+ * @param {string} hospitalId
3972
+ * @param {string} specialtyId
3973
+ * @param {string} serviceId
3974
+ * @param {number} [year]
3975
+ * @param {number} [month]
3976
+ * @param {string} [timeZone]
3977
+ * @param {string} [appointmentIdExcluded]
3978
+ * @param {*} [options] Override http request option.
3979
+ * @throws {RequiredError}
3980
+ * @memberof HospitalsApi
3981
+ */
3982
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet = function (hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options) {
3983
+ var _this = this;
3984
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options).then(function (request) { return request(_this.axios, _this.basePath); });
3985
+ };
3626
3986
  /**
3627
3987
  *
3628
3988
  * @summary Get HospitalService.
package/lib/api.d.ts CHANGED
@@ -12,6 +12,7 @@
12
12
  export * from './api/about-us-api';
13
13
  export * from './api/accreditations-api';
14
14
  export * from './api/app-version-api';
15
+ export * from './api/appointments-api';
15
16
  export * from './api/articles-api';
16
17
  export * from './api/bookings-api';
17
18
  export * from './api/chat-users-api';
package/lib/api.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC"}
package/lib/api.js CHANGED
@@ -30,6 +30,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/about-us-api"), exports);
31
31
  __exportStar(require("./api/accreditations-api"), exports);
32
32
  __exportStar(require("./api/app-version-api"), exports);
33
+ __exportStar(require("./api/appointments-api"), exports);
33
34
  __exportStar(require("./api/articles-api"), exports);
34
35
  __exportStar(require("./api/bookings-api"), exports);
35
36
  __exportStar(require("./api/chat-users-api"), exports);
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 2
6
+ * Contact: hyounoosung@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AppointmentStatus } from './appointment-status';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AppointmentChangeLogModel
17
+ */
18
+ export interface AppointmentChangeLogModel {
19
+ /**
20
+ *
21
+ * @type {AppointmentStatus}
22
+ * @memberof AppointmentChangeLogModel
23
+ */
24
+ 'status'?: AppointmentStatus;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof AppointmentChangeLogModel
29
+ */
30
+ 'actorId'?: string;
31
+ /**
32
+ *
33
+ * @type {Date}
34
+ * @memberof AppointmentChangeLogModel
35
+ */
36
+ 'createdDate'?: Date;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof AppointmentChangeLogModel
41
+ */
42
+ 'actorName'?: string | null;
43
+ }
44
+ //# sourceMappingURL=appointment-change-log-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appointment-change-log-model.d.ts","sourceRoot":"","sources":["../../src/models/appointment-change-log-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 2
9
+ * Contact: hyounoosung@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });