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
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
+ import { AppointmentTimetablesModel } from '../models';
25
+ // @ts-ignore
24
26
  import { HospitalAccreditationModel } from '../models';
25
27
  // @ts-ignore
26
28
  import { HospitalAccreditationsModel } from '../models';
@@ -294,6 +296,64 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
294
296
 
295
297
 
296
298
 
299
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
300
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
301
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
302
+
303
+ return {
304
+ url: toPathString(localVarUrlObj),
305
+ options: localVarRequestOptions,
306
+ };
307
+ },
308
+ /**
309
+ *
310
+ * @summary Get HospitalAppointmentTimetables
311
+ * @param {string} hospitalId
312
+ * @param {number} [year]
313
+ * @param {number} [month]
314
+ * @param {string} [timeZone]
315
+ * @param {string} [appointmentIdExcluded]
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ apiV2HospitalsHospitalIdAppointmenttimetablesGet: async (hospitalId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
320
+ // verify required parameter 'hospitalId' is not null or undefined
321
+ assertParamExists('apiV2HospitalsHospitalIdAppointmenttimetablesGet', 'hospitalId', hospitalId)
322
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/appointmenttimetables`
323
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
324
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
325
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
326
+ let baseOptions;
327
+ if (configuration) {
328
+ baseOptions = configuration.baseOptions;
329
+ }
330
+
331
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
332
+ const localVarHeaderParameter = {} as any;
333
+ const localVarQueryParameter = {} as any;
334
+
335
+ // authentication oauth2 required
336
+ // oauth required
337
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
338
+
339
+ if (year !== undefined) {
340
+ localVarQueryParameter['Year'] = year;
341
+ }
342
+
343
+ if (month !== undefined) {
344
+ localVarQueryParameter['Month'] = month;
345
+ }
346
+
347
+ if (timeZone !== undefined) {
348
+ localVarQueryParameter['TimeZone'] = timeZone;
349
+ }
350
+
351
+ if (appointmentIdExcluded !== undefined) {
352
+ localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
353
+ }
354
+
355
+
356
+
297
357
  setSearchParams(localVarUrlObj, localVarQueryParameter);
298
358
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
299
359
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1184,6 +1244,68 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
1184
1244
 
1185
1245
 
1186
1246
 
1247
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1248
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1249
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1250
+
1251
+ return {
1252
+ url: toPathString(localVarUrlObj),
1253
+ options: localVarRequestOptions,
1254
+ };
1255
+ },
1256
+ /**
1257
+ *
1258
+ * @summary Get HospitalSpecialtyAppointmentTimetables
1259
+ * @param {string} hospitalId
1260
+ * @param {string} hospitalSpecialtyId
1261
+ * @param {number} [year]
1262
+ * @param {number} [month]
1263
+ * @param {string} [timeZone]
1264
+ * @param {string} [appointmentIdExcluded]
1265
+ * @param {*} [options] Override http request option.
1266
+ * @throws {RequiredError}
1267
+ */
1268
+ apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: async (hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1269
+ // verify required parameter 'hospitalId' is not null or undefined
1270
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet', 'hospitalId', hospitalId)
1271
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
1272
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
1273
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetables`
1274
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
1275
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
1276
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1277
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1278
+ let baseOptions;
1279
+ if (configuration) {
1280
+ baseOptions = configuration.baseOptions;
1281
+ }
1282
+
1283
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1284
+ const localVarHeaderParameter = {} as any;
1285
+ const localVarQueryParameter = {} as any;
1286
+
1287
+ // authentication oauth2 required
1288
+ // oauth required
1289
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
1290
+
1291
+ if (year !== undefined) {
1292
+ localVarQueryParameter['Year'] = year;
1293
+ }
1294
+
1295
+ if (month !== undefined) {
1296
+ localVarQueryParameter['Month'] = month;
1297
+ }
1298
+
1299
+ if (timeZone !== undefined) {
1300
+ localVarQueryParameter['TimeZone'] = timeZone;
1301
+ }
1302
+
1303
+ if (appointmentIdExcluded !== undefined) {
1304
+ localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
1305
+ }
1306
+
1307
+
1308
+
1187
1309
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1188
1310
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1189
1311
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1580,6 +1702,72 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
1580
1702
 
1581
1703
 
1582
1704
 
1705
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1706
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1707
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1708
+
1709
+ return {
1710
+ url: toPathString(localVarUrlObj),
1711
+ options: localVarRequestOptions,
1712
+ };
1713
+ },
1714
+ /**
1715
+ *
1716
+ * @summary Get ServiceAppointmentTimetables
1717
+ * @param {string} hospitalId
1718
+ * @param {string} specialtyId
1719
+ * @param {string} serviceId
1720
+ * @param {number} [year]
1721
+ * @param {number} [month]
1722
+ * @param {string} [timeZone]
1723
+ * @param {string} [appointmentIdExcluded]
1724
+ * @param {*} [options] Override http request option.
1725
+ * @throws {RequiredError}
1726
+ */
1727
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: async (hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1728
+ // verify required parameter 'hospitalId' is not null or undefined
1729
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'hospitalId', hospitalId)
1730
+ // verify required parameter 'specialtyId' is not null or undefined
1731
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'specialtyId', specialtyId)
1732
+ // verify required parameter 'serviceId' is not null or undefined
1733
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'serviceId', serviceId)
1734
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetables`
1735
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
1736
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
1737
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
1738
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1739
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1740
+ let baseOptions;
1741
+ if (configuration) {
1742
+ baseOptions = configuration.baseOptions;
1743
+ }
1744
+
1745
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1746
+ const localVarHeaderParameter = {} as any;
1747
+ const localVarQueryParameter = {} as any;
1748
+
1749
+ // authentication oauth2 required
1750
+ // oauth required
1751
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
1752
+
1753
+ if (year !== undefined) {
1754
+ localVarQueryParameter['Year'] = year;
1755
+ }
1756
+
1757
+ if (month !== undefined) {
1758
+ localVarQueryParameter['Month'] = month;
1759
+ }
1760
+
1761
+ if (timeZone !== undefined) {
1762
+ localVarQueryParameter['TimeZone'] = timeZone;
1763
+ }
1764
+
1765
+ if (appointmentIdExcluded !== undefined) {
1766
+ localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
1767
+ }
1768
+
1769
+
1770
+
1583
1771
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1584
1772
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1585
1773
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -2103,6 +2291,21 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
2103
2291
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdAccreditationsGet(hospitalId, hospitalName, accreditationId, accreditationName, page, limit, lastRetrieved, options);
2104
2292
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2105
2293
  },
2294
+ /**
2295
+ *
2296
+ * @summary Get HospitalAppointmentTimetables
2297
+ * @param {string} hospitalId
2298
+ * @param {number} [year]
2299
+ * @param {number} [month]
2300
+ * @param {string} [timeZone]
2301
+ * @param {string} [appointmentIdExcluded]
2302
+ * @param {*} [options] Override http request option.
2303
+ * @throws {RequiredError}
2304
+ */
2305
+ async apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
2306
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, appointmentIdExcluded, options);
2307
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2308
+ },
2106
2309
  /**
2107
2310
  *
2108
2311
  * @summary Get HospitalEquipment.
@@ -2344,6 +2547,22 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
2344
2547
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
2345
2548
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2346
2549
  },
2550
+ /**
2551
+ *
2552
+ * @summary Get HospitalSpecialtyAppointmentTimetables
2553
+ * @param {string} hospitalId
2554
+ * @param {string} hospitalSpecialtyId
2555
+ * @param {number} [year]
2556
+ * @param {number} [month]
2557
+ * @param {string} [timeZone]
2558
+ * @param {string} [appointmentIdExcluded]
2559
+ * @param {*} [options] Override http request option.
2560
+ * @throws {RequiredError}
2561
+ */
2562
+ async apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
2563
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options);
2564
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2565
+ },
2347
2566
  /**
2348
2567
  *
2349
2568
  * @summary Get all HospitalServiceMedias.
@@ -2448,6 +2667,23 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
2448
2667
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
2449
2668
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2450
2669
  },
2670
+ /**
2671
+ *
2672
+ * @summary Get ServiceAppointmentTimetables
2673
+ * @param {string} hospitalId
2674
+ * @param {string} specialtyId
2675
+ * @param {string} serviceId
2676
+ * @param {number} [year]
2677
+ * @param {number} [month]
2678
+ * @param {string} [timeZone]
2679
+ * @param {string} [appointmentIdExcluded]
2680
+ * @param {*} [options] Override http request option.
2681
+ * @throws {RequiredError}
2682
+ */
2683
+ async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
2684
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options);
2685
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2686
+ },
2451
2687
  /**
2452
2688
  *
2453
2689
  * @summary Get HospitalService.
@@ -2629,6 +2865,20 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
2629
2865
  apiV2HospitalsHospitalIdAccreditationsGet(hospitalId: string, hospitalName?: string, accreditationId?: string, accreditationName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalAccreditationsModel> {
2630
2866
  return localVarFp.apiV2HospitalsHospitalIdAccreditationsGet(hospitalId, hospitalName, accreditationId, accreditationName, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
2631
2867
  },
2868
+ /**
2869
+ *
2870
+ * @summary Get HospitalAppointmentTimetables
2871
+ * @param {string} hospitalId
2872
+ * @param {number} [year]
2873
+ * @param {number} [month]
2874
+ * @param {string} [timeZone]
2875
+ * @param {string} [appointmentIdExcluded]
2876
+ * @param {*} [options] Override http request option.
2877
+ * @throws {RequiredError}
2878
+ */
2879
+ apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: any): AxiosPromise<AppointmentTimetablesModel> {
2880
+ return localVarFp.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(axios, basePath));
2881
+ },
2632
2882
  /**
2633
2883
  *
2634
2884
  * @summary Get HospitalEquipment.
@@ -2854,6 +3104,21 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
2854
3104
  apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
2855
3105
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
2856
3106
  },
3107
+ /**
3108
+ *
3109
+ * @summary Get HospitalSpecialtyAppointmentTimetables
3110
+ * @param {string} hospitalId
3111
+ * @param {string} hospitalSpecialtyId
3112
+ * @param {number} [year]
3113
+ * @param {number} [month]
3114
+ * @param {string} [timeZone]
3115
+ * @param {string} [appointmentIdExcluded]
3116
+ * @param {*} [options] Override http request option.
3117
+ * @throws {RequiredError}
3118
+ */
3119
+ apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: any): AxiosPromise<AppointmentTimetablesModel> {
3120
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(axios, basePath));
3121
+ },
2857
3122
  /**
2858
3123
  *
2859
3124
  * @summary Get all HospitalServiceMedias.
@@ -2952,6 +3217,22 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
2952
3217
  apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, id?: string, name?: string, slug?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
2953
3218
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
2954
3219
  },
3220
+ /**
3221
+ *
3222
+ * @summary Get ServiceAppointmentTimetables
3223
+ * @param {string} hospitalId
3224
+ * @param {string} specialtyId
3225
+ * @param {string} serviceId
3226
+ * @param {number} [year]
3227
+ * @param {number} [month]
3228
+ * @param {string} [timeZone]
3229
+ * @param {string} [appointmentIdExcluded]
3230
+ * @param {*} [options] Override http request option.
3231
+ * @throws {RequiredError}
3232
+ */
3233
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: any): AxiosPromise<AppointmentTimetablesModel> {
3234
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(axios, basePath));
3235
+ },
2955
3236
  /**
2956
3237
  *
2957
3238
  * @summary Get HospitalService.
@@ -3132,6 +3413,22 @@ export class HospitalsApi extends BaseAPI {
3132
3413
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdAccreditationsGet(hospitalId, hospitalName, accreditationId, accreditationName, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
3133
3414
  }
3134
3415
 
3416
+ /**
3417
+ *
3418
+ * @summary Get HospitalAppointmentTimetables
3419
+ * @param {string} hospitalId
3420
+ * @param {number} [year]
3421
+ * @param {number} [month]
3422
+ * @param {string} [timeZone]
3423
+ * @param {string} [appointmentIdExcluded]
3424
+ * @param {*} [options] Override http request option.
3425
+ * @throws {RequiredError}
3426
+ * @memberof HospitalsApi
3427
+ */
3428
+ public apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig) {
3429
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
3430
+ }
3431
+
3135
3432
  /**
3136
3433
  *
3137
3434
  * @summary Get HospitalEquipment.
@@ -3389,6 +3686,23 @@ export class HospitalsApi extends BaseAPI {
3389
3686
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
3390
3687
  }
3391
3688
 
3689
+ /**
3690
+ *
3691
+ * @summary Get HospitalSpecialtyAppointmentTimetables
3692
+ * @param {string} hospitalId
3693
+ * @param {string} hospitalSpecialtyId
3694
+ * @param {number} [year]
3695
+ * @param {number} [month]
3696
+ * @param {string} [timeZone]
3697
+ * @param {string} [appointmentIdExcluded]
3698
+ * @param {*} [options] Override http request option.
3699
+ * @throws {RequiredError}
3700
+ * @memberof HospitalsApi
3701
+ */
3702
+ public apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig) {
3703
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
3704
+ }
3705
+
3392
3706
  /**
3393
3707
  *
3394
3708
  * @summary Get all HospitalServiceMedias.
@@ -3499,6 +3813,24 @@ export class HospitalsApi extends BaseAPI {
3499
3813
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
3500
3814
  }
3501
3815
 
3816
+ /**
3817
+ *
3818
+ * @summary Get ServiceAppointmentTimetables
3819
+ * @param {string} hospitalId
3820
+ * @param {string} specialtyId
3821
+ * @param {string} serviceId
3822
+ * @param {number} [year]
3823
+ * @param {number} [month]
3824
+ * @param {string} [timeZone]
3825
+ * @param {string} [appointmentIdExcluded]
3826
+ * @param {*} [options] Override http request option.
3827
+ * @throws {RequiredError}
3828
+ * @memberof HospitalsApi
3829
+ */
3830
+ public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig) {
3831
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
3832
+ }
3833
+
3502
3834
  /**
3503
3835
  *
3504
3836
  * @summary Get HospitalService.
package/src/api.ts CHANGED
@@ -17,6 +17,7 @@
17
17
  export * from './api/about-us-api';
18
18
  export * from './api/accreditations-api';
19
19
  export * from './api/app-version-api';
20
+ export * from './api/appointments-api';
20
21
  export * from './api/articles-api';
21
22
  export * from './api/bookings-api';
22
23
  export * from './api/chat-users-api';
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { AppointmentStatus } from './appointment-status';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface AppointmentChangeLogModel
24
+ */
25
+ export interface AppointmentChangeLogModel {
26
+ /**
27
+ *
28
+ * @type {AppointmentStatus}
29
+ * @memberof AppointmentChangeLogModel
30
+ */
31
+ 'status'?: AppointmentStatus;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof AppointmentChangeLogModel
36
+ */
37
+ 'actorId'?: string;
38
+ /**
39
+ *
40
+ * @type {Date}
41
+ * @memberof AppointmentChangeLogModel
42
+ */
43
+ 'createdDate'?: Date;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof AppointmentChangeLogModel
48
+ */
49
+ 'actorName'?: string | null;
50
+ }
51
+