ch-admin-api-client-typescript 4.9.4 → 4.9.6

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 (231) hide show
  1. package/lib/api/appointments-api.d.ts +395 -0
  2. package/lib/api/appointments-api.d.ts.map +1 -0
  3. package/lib/api/appointments-api.js +929 -0
  4. package/lib/api/deals-api.d.ts +393 -0
  5. package/lib/api/deals-api.d.ts.map +1 -1
  6. package/lib/api/deals-api.js +912 -10
  7. package/lib/api/doctor-affiliations-api.d.ts +191 -0
  8. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  9. package/lib/api/doctor-affiliations-api.js +437 -0
  10. package/lib/api/hospitals-api.d.ts +611 -0
  11. package/lib/api/hospitals-api.d.ts.map +1 -1
  12. package/lib/api/hospitals-api.js +1439 -44
  13. package/lib/api/services-api.d.ts +8 -8
  14. package/lib/api/services-api.js +8 -8
  15. package/lib/api/survey-forms-api.d.ts +6 -6
  16. package/lib/api/survey-forms-api.d.ts.map +1 -1
  17. package/lib/api.d.ts +1 -0
  18. package/lib/api.d.ts.map +1 -1
  19. package/lib/api.js +1 -0
  20. package/lib/models/appointment-change-log-model.d.ts +44 -0
  21. package/lib/models/appointment-change-log-model.d.ts.map +1 -0
  22. package/lib/models/appointment-change-log-model.js +15 -0
  23. package/lib/models/appointment-item-model.d.ts +282 -0
  24. package/lib/models/appointment-item-model.d.ts.map +1 -0
  25. package/lib/models/appointment-item-model.js +15 -0
  26. package/lib/models/appointment-model.d.ts +302 -0
  27. package/lib/models/appointment-model.d.ts.map +1 -0
  28. package/lib/models/appointment-model.js +15 -0
  29. package/lib/models/appointment-option-model.d.ts +63 -0
  30. package/lib/models/appointment-option-model.d.ts.map +1 -0
  31. package/lib/models/appointment-option-model.js +15 -0
  32. package/lib/models/appointment-status.d.ts +27 -0
  33. package/lib/models/appointment-status.d.ts.map +1 -0
  34. package/lib/models/appointment-status.js +30 -0
  35. package/lib/models/appointment-timetable-model.d.ts +44 -0
  36. package/lib/models/appointment-timetable-model.d.ts.map +1 -0
  37. package/lib/models/appointment-timetable-model.js +15 -0
  38. package/lib/models/appointment-timetable-override-model.d.ts +56 -0
  39. package/lib/models/appointment-timetable-override-model.d.ts.map +1 -0
  40. package/lib/models/appointment-timetable-override-model.js +15 -0
  41. package/lib/models/appointment-timetable-overrides-model.d.ts +33 -0
  42. package/lib/models/appointment-timetable-overrides-model.d.ts.map +1 -0
  43. package/lib/models/appointment-timetable-overrides-model.js +15 -0
  44. package/lib/models/appointment-timetables-model.d.ts +33 -0
  45. package/lib/models/appointment-timetables-model.d.ts.map +1 -0
  46. package/lib/models/appointment-timetables-model.js +15 -0
  47. package/lib/models/appointment-type.d.ts +26 -0
  48. package/lib/models/appointment-type.d.ts.map +1 -0
  49. package/lib/models/appointment-type.js +29 -0
  50. package/lib/models/appointments-model.d.ts +33 -0
  51. package/lib/models/appointments-model.d.ts.map +1 -0
  52. package/lib/models/appointments-model.js +15 -0
  53. package/lib/models/approve-appointment-command.d.ts +31 -0
  54. package/lib/models/approve-appointment-command.d.ts.map +1 -0
  55. package/lib/models/approve-appointment-command.js +15 -0
  56. package/lib/models/batch-add-appointment-timetable-model.d.ts +38 -0
  57. package/lib/models/batch-add-appointment-timetable-model.d.ts.map +1 -0
  58. package/lib/models/batch-add-appointment-timetable-model.js +15 -0
  59. package/lib/models/batch-appointment-timetables-result-model.d.ts +38 -0
  60. package/lib/models/batch-appointment-timetables-result-model.d.ts.map +1 -0
  61. package/lib/models/batch-appointment-timetables-result-model.js +15 -0
  62. package/lib/models/batch-deal-appointment-timetables-command.d.ts +39 -0
  63. package/lib/models/batch-deal-appointment-timetables-command.d.ts.map +1 -0
  64. package/lib/models/batch-deal-appointment-timetables-command.js +15 -0
  65. package/lib/models/batch-deal-package-appointment-timetables-command.d.ts +39 -0
  66. package/lib/models/batch-deal-package-appointment-timetables-command.d.ts.map +1 -0
  67. package/lib/models/batch-deal-package-appointment-timetables-command.js +15 -0
  68. package/lib/models/batch-doctor-affiliation-appointment-timetables-command.d.ts +39 -0
  69. package/lib/models/batch-doctor-affiliation-appointment-timetables-command.d.ts.map +1 -0
  70. package/lib/models/batch-doctor-affiliation-appointment-timetables-command.js +15 -0
  71. package/lib/models/batch-hospital-appointment-timetables-command.d.ts +39 -0
  72. package/lib/models/batch-hospital-appointment-timetables-command.d.ts.map +1 -0
  73. package/lib/models/batch-hospital-appointment-timetables-command.js +15 -0
  74. package/lib/models/batch-hospital-specialty-appointment-timetables-command.d.ts +39 -0
  75. package/lib/models/batch-hospital-specialty-appointment-timetables-command.d.ts.map +1 -0
  76. package/lib/models/batch-hospital-specialty-appointment-timetables-command.js +15 -0
  77. package/lib/models/batch-service-appointment-timetables-command.d.ts +39 -0
  78. package/lib/models/batch-service-appointment-timetables-command.d.ts.map +1 -0
  79. package/lib/models/batch-service-appointment-timetables-command.js +15 -0
  80. package/lib/models/batch-update-appointment-timetable-model.d.ts +44 -0
  81. package/lib/models/batch-update-appointment-timetable-model.d.ts.map +1 -0
  82. package/lib/models/batch-update-appointment-timetable-model.js +15 -0
  83. package/lib/models/create-article-command.d.ts +6 -0
  84. package/lib/models/create-article-command.d.ts.map +1 -1
  85. package/lib/models/create-deal-command.d.ts +7 -0
  86. package/lib/models/create-deal-command.d.ts.map +1 -1
  87. package/lib/models/create-deal-package-command.d.ts +7 -0
  88. package/lib/models/create-deal-package-command.d.ts.map +1 -1
  89. package/lib/models/create-doctor-affiliation-command.d.ts +7 -0
  90. package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
  91. package/lib/models/create-hospital-command.d.ts +7 -0
  92. package/lib/models/create-hospital-command.d.ts.map +1 -1
  93. package/lib/models/create-hospital-service-command.d.ts +7 -0
  94. package/lib/models/create-hospital-service-command.d.ts.map +1 -1
  95. package/lib/models/create-hospital-specialty-command.d.ts +7 -0
  96. package/lib/models/create-hospital-specialty-command.d.ts.map +1 -1
  97. package/lib/models/deal-item-model.d.ts +7 -0
  98. package/lib/models/deal-item-model.d.ts.map +1 -1
  99. package/lib/models/deal-model.d.ts +7 -0
  100. package/lib/models/deal-model.d.ts.map +1 -1
  101. package/lib/models/deal-package-item-model.d.ts +7 -0
  102. package/lib/models/deal-package-item-model.d.ts.map +1 -1
  103. package/lib/models/deal-package-model.d.ts +7 -0
  104. package/lib/models/deal-package-model.d.ts.map +1 -1
  105. package/lib/models/doctor-affiliation-item-model.d.ts +7 -0
  106. package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
  107. package/lib/models/doctor-affiliation-model.d.ts +7 -0
  108. package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
  109. package/lib/models/hospital-item-model.d.ts +7 -0
  110. package/lib/models/hospital-item-model.d.ts.map +1 -1
  111. package/lib/models/hospital-model.d.ts +7 -0
  112. package/lib/models/hospital-model.d.ts.map +1 -1
  113. package/lib/models/hospital-service-item-model.d.ts +7 -0
  114. package/lib/models/hospital-service-item-model.d.ts.map +1 -1
  115. package/lib/models/hospital-service-model.d.ts +7 -0
  116. package/lib/models/hospital-service-model.d.ts.map +1 -1
  117. package/lib/models/hospital-specialty-item-model.d.ts +7 -0
  118. package/lib/models/hospital-specialty-item-model.d.ts.map +1 -1
  119. package/lib/models/hospital-specialty-model.d.ts +7 -0
  120. package/lib/models/hospital-specialty-model.d.ts.map +1 -1
  121. package/lib/models/index.d.ts +30 -0
  122. package/lib/models/index.d.ts.map +1 -1
  123. package/lib/models/index.js +30 -0
  124. package/lib/models/notification-code.d.ts +9 -0
  125. package/lib/models/notification-code.d.ts.map +1 -1
  126. package/lib/models/notification-code.js +10 -1
  127. package/lib/models/reject-appointment-command.d.ts +32 -0
  128. package/lib/models/reject-appointment-command.d.ts.map +1 -0
  129. package/lib/models/reject-appointment-command.js +15 -0
  130. package/lib/models/save-appointment-timetable-override-model.d.ts +43 -0
  131. package/lib/models/save-appointment-timetable-override-model.d.ts.map +1 -0
  132. package/lib/models/save-appointment-timetable-override-model.js +15 -0
  133. package/lib/models/save-appointment-timetable-overrides-result-model.d.ts +26 -0
  134. package/lib/models/save-appointment-timetable-overrides-result-model.d.ts.map +1 -0
  135. package/lib/models/save-appointment-timetable-overrides-result-model.js +15 -0
  136. package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts +26 -0
  137. package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts.map +1 -0
  138. package/lib/models/save-deal-appointment-timetable-overrides-command.js +15 -0
  139. package/lib/models/save-deal-package-appointment-timetable-overrides-command.d.ts +26 -0
  140. package/lib/models/save-deal-package-appointment-timetable-overrides-command.d.ts.map +1 -0
  141. package/lib/models/save-deal-package-appointment-timetable-overrides-command.js +15 -0
  142. package/lib/models/save-doctor-affiliation-appointment-timetable-overrides-command.d.ts +26 -0
  143. package/lib/models/save-doctor-affiliation-appointment-timetable-overrides-command.d.ts.map +1 -0
  144. package/lib/models/save-doctor-affiliation-appointment-timetable-overrides-command.js +15 -0
  145. package/lib/models/save-hospital-appointment-timetable-overrides-command.d.ts +26 -0
  146. package/lib/models/save-hospital-appointment-timetable-overrides-command.d.ts.map +1 -0
  147. package/lib/models/save-hospital-appointment-timetable-overrides-command.js +15 -0
  148. package/lib/models/save-hospital-specialty-appointment-timetable-overrides-command.d.ts +26 -0
  149. package/lib/models/save-hospital-specialty-appointment-timetable-overrides-command.d.ts.map +1 -0
  150. package/lib/models/save-hospital-specialty-appointment-timetable-overrides-command.js +15 -0
  151. package/lib/models/save-service-appointment-timetable-overrides-command.d.ts +26 -0
  152. package/lib/models/save-service-appointment-timetable-overrides-command.d.ts.map +1 -0
  153. package/lib/models/save-service-appointment-timetable-overrides-command.js +15 -0
  154. package/lib/models/update-deal-command.d.ts +7 -0
  155. package/lib/models/update-deal-command.d.ts.map +1 -1
  156. package/lib/models/update-deal-package-command.d.ts +7 -0
  157. package/lib/models/update-deal-package-command.d.ts.map +1 -1
  158. package/lib/models/update-doctor-affiliation-command.d.ts +7 -0
  159. package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
  160. package/lib/models/update-hospital-command.d.ts +7 -0
  161. package/lib/models/update-hospital-command.d.ts.map +1 -1
  162. package/lib/models/update-hospital-service-command.d.ts +7 -0
  163. package/lib/models/update-hospital-service-command.d.ts.map +1 -1
  164. package/lib/models/update-hospital-specialty-command.d.ts +7 -0
  165. package/lib/models/update-hospital-specialty-command.d.ts.map +1 -1
  166. package/package.json +1 -1
  167. package/src/.openapi-generator/FILES +31 -0
  168. package/src/api/appointments-api.ts +802 -0
  169. package/src/api/deals-api.ts +842 -8
  170. package/src/api/doctor-affiliations-api.ts +408 -0
  171. package/src/api/hospitals-api.ts +1412 -124
  172. package/src/api/services-api.ts +8 -8
  173. package/src/api/survey-forms-api.ts +4 -4
  174. package/src/api.ts +1 -0
  175. package/src/models/appointment-change-log-model.ts +51 -0
  176. package/src/models/appointment-item-model.ts +297 -0
  177. package/src/models/appointment-model.ts +321 -0
  178. package/src/models/appointment-option-model.ts +72 -0
  179. package/src/models/appointment-status.ts +36 -0
  180. package/src/models/appointment-timetable-model.ts +51 -0
  181. package/src/models/appointment-timetable-override-model.ts +63 -0
  182. package/src/models/appointment-timetable-overrides-model.ts +42 -0
  183. package/src/models/appointment-timetables-model.ts +42 -0
  184. package/src/models/appointment-type.ts +35 -0
  185. package/src/models/appointments-model.ts +42 -0
  186. package/src/models/approve-appointment-command.ts +36 -0
  187. package/src/models/batch-add-appointment-timetable-model.ts +45 -0
  188. package/src/models/batch-appointment-timetables-result-model.ts +45 -0
  189. package/src/models/batch-deal-appointment-timetables-command.ts +48 -0
  190. package/src/models/batch-deal-package-appointment-timetables-command.ts +48 -0
  191. package/src/models/batch-doctor-affiliation-appointment-timetables-command.ts +48 -0
  192. package/src/models/batch-hospital-appointment-timetables-command.ts +48 -0
  193. package/src/models/batch-hospital-specialty-appointment-timetables-command.ts +48 -0
  194. package/src/models/batch-service-appointment-timetables-command.ts +48 -0
  195. package/src/models/batch-update-appointment-timetable-model.ts +51 -0
  196. package/src/models/create-article-command.ts +6 -0
  197. package/src/models/create-deal-command.ts +9 -0
  198. package/src/models/create-deal-package-command.ts +9 -0
  199. package/src/models/create-doctor-affiliation-command.ts +9 -0
  200. package/src/models/create-hospital-command.ts +9 -0
  201. package/src/models/create-hospital-service-command.ts +9 -0
  202. package/src/models/create-hospital-specialty-command.ts +9 -0
  203. package/src/models/deal-item-model.ts +9 -0
  204. package/src/models/deal-model.ts +9 -0
  205. package/src/models/deal-package-item-model.ts +9 -0
  206. package/src/models/deal-package-model.ts +9 -0
  207. package/src/models/doctor-affiliation-item-model.ts +9 -0
  208. package/src/models/doctor-affiliation-model.ts +9 -0
  209. package/src/models/hospital-item-model.ts +9 -0
  210. package/src/models/hospital-model.ts +9 -0
  211. package/src/models/hospital-service-item-model.ts +9 -0
  212. package/src/models/hospital-service-model.ts +9 -0
  213. package/src/models/hospital-specialty-item-model.ts +9 -0
  214. package/src/models/hospital-specialty-model.ts +9 -0
  215. package/src/models/index.ts +30 -0
  216. package/src/models/notification-code.ts +10 -1
  217. package/src/models/reject-appointment-command.ts +39 -0
  218. package/src/models/save-appointment-timetable-override-model.ts +48 -0
  219. package/src/models/save-appointment-timetable-overrides-result-model.ts +33 -0
  220. package/src/models/save-deal-appointment-timetable-overrides-command.ts +33 -0
  221. package/src/models/save-deal-package-appointment-timetable-overrides-command.ts +33 -0
  222. package/src/models/save-doctor-affiliation-appointment-timetable-overrides-command.ts +33 -0
  223. package/src/models/save-hospital-appointment-timetable-overrides-command.ts +33 -0
  224. package/src/models/save-hospital-specialty-appointment-timetable-overrides-command.ts +33 -0
  225. package/src/models/save-service-appointment-timetable-overrides-command.ts +33 -0
  226. package/src/models/update-deal-command.ts +9 -0
  227. package/src/models/update-deal-package-command.ts +9 -0
  228. package/src/models/update-doctor-affiliation-command.ts +9 -0
  229. package/src/models/update-hospital-command.ts +9 -0
  230. package/src/models/update-hospital-service-command.ts +9 -0
  231. package/src/models/update-hospital-specialty-command.ts +9 -0
@@ -21,6 +21,18 @@ 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 { AppointmentTimetableOverridesModel } from '../models';
25
+ // @ts-ignore
26
+ import { AppointmentTimetablesModel } from '../models';
27
+ // @ts-ignore
28
+ import { BatchAppointmentTimetablesResultModel } from '../models';
29
+ // @ts-ignore
30
+ import { BatchHospitalAppointmentTimetablesCommand } from '../models';
31
+ // @ts-ignore
32
+ import { BatchHospitalSpecialtyAppointmentTimetablesCommand } from '../models';
33
+ // @ts-ignore
34
+ import { BatchServiceAppointmentTimetablesCommand } from '../models';
35
+ // @ts-ignore
24
36
  import { CreateHospitalAccreditationCommand } from '../models';
25
37
  // @ts-ignore
26
38
  import { CreateHospitalCommand } from '../models';
@@ -43,6 +55,8 @@ import { CreateLandingCommand } from '../models';
43
55
  // @ts-ignore
44
56
  import { CreateMediaCommand } from '../models';
45
57
  // @ts-ignore
58
+ import { DayOfWeek } from '../models';
59
+ // @ts-ignore
46
60
  import { HospitalAccreditationModel } from '../models';
47
61
  // @ts-ignore
48
62
  import { HospitalAccreditationsModel } from '../models';
@@ -91,6 +105,14 @@ import { ProblemDetails } from '../models';
91
105
  // @ts-ignore
92
106
  import { Procedure } from '../models';
93
107
  // @ts-ignore
108
+ import { SaveAppointmentTimetableOverridesResultModel } from '../models';
109
+ // @ts-ignore
110
+ import { SaveHospitalAppointmentTimetableOverridesCommand } from '../models';
111
+ // @ts-ignore
112
+ import { SaveHospitalSpecialtyAppointmentTimetableOverridesCommand } from '../models';
113
+ // @ts-ignore
114
+ import { SaveServiceAppointmentTimetableOverridesCommand } from '../models';
115
+ // @ts-ignore
94
116
  import { SnsHandleModel } from '../models';
95
117
  // @ts-ignore
96
118
  import { SnsType } from '../models';
@@ -433,6 +455,229 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
433
455
  options: localVarRequestOptions,
434
456
  };
435
457
  },
458
+ /**
459
+ *
460
+ * @summary Get Hospital appointment timetable overrides
461
+ * @param {string} hospitalId
462
+ * @param {boolean} [includesPreviousItems]
463
+ * @param {Date} [startDate]
464
+ * @param {Date} [endDate]
465
+ * @param {DayOfWeek} [dayOfWeek]
466
+ * @param {number} [page]
467
+ * @param {number} [limit]
468
+ * @param {Date} [lastRetrieved]
469
+ * @param {*} [options] Override http request option.
470
+ * @throws {RequiredError}
471
+ */
472
+ apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet: async (hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
473
+ // verify required parameter 'hospitalId' is not null or undefined
474
+ assertParamExists('apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet', 'hospitalId', hospitalId)
475
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/appointmenttimetableoverrides`
476
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
477
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
478
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
479
+ let baseOptions;
480
+ if (configuration) {
481
+ baseOptions = configuration.baseOptions;
482
+ }
483
+
484
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
485
+ const localVarHeaderParameter = {} as any;
486
+ const localVarQueryParameter = {} as any;
487
+
488
+ // authentication oauth2 required
489
+ // oauth required
490
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
491
+
492
+ if (includesPreviousItems !== undefined) {
493
+ localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
494
+ }
495
+
496
+ if (startDate !== undefined) {
497
+ localVarQueryParameter['StartDate'] = (startDate as any instanceof Date) ?
498
+ (startDate as any).toISOString() :
499
+ startDate;
500
+ }
501
+
502
+ if (endDate !== undefined) {
503
+ localVarQueryParameter['EndDate'] = (endDate as any instanceof Date) ?
504
+ (endDate as any).toISOString() :
505
+ endDate;
506
+ }
507
+
508
+ if (dayOfWeek !== undefined) {
509
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
510
+ }
511
+
512
+ if (page !== undefined) {
513
+ localVarQueryParameter['page'] = page;
514
+ }
515
+
516
+ if (limit !== undefined) {
517
+ localVarQueryParameter['limit'] = limit;
518
+ }
519
+
520
+ if (lastRetrieved !== undefined) {
521
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
522
+ (lastRetrieved as any).toISOString() :
523
+ lastRetrieved;
524
+ }
525
+
526
+
527
+
528
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
529
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
530
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
531
+
532
+ return {
533
+ url: toPathString(localVarUrlObj),
534
+ options: localVarRequestOptions,
535
+ };
536
+ },
537
+ /**
538
+ *
539
+ * @summary Save Hospital appointment timetable overrides
540
+ * @param {string} hospitalId
541
+ * @param {SaveHospitalAppointmentTimetableOverridesCommand} [saveHospitalAppointmentTimetableOverridesCommand]
542
+ * @param {*} [options] Override http request option.
543
+ * @throws {RequiredError}
544
+ */
545
+ apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost: async (hospitalId: string, saveHospitalAppointmentTimetableOverridesCommand?: SaveHospitalAppointmentTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
546
+ // verify required parameter 'hospitalId' is not null or undefined
547
+ assertParamExists('apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost', 'hospitalId', hospitalId)
548
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/appointmenttimetableoverrides`
549
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
552
+ let baseOptions;
553
+ if (configuration) {
554
+ baseOptions = configuration.baseOptions;
555
+ }
556
+
557
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
558
+ const localVarHeaderParameter = {} as any;
559
+ const localVarQueryParameter = {} as any;
560
+
561
+ // authentication oauth2 required
562
+ // oauth required
563
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
564
+
565
+
566
+
567
+ localVarHeaderParameter['Content-Type'] = 'application/json';
568
+
569
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
570
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
571
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
572
+ localVarRequestOptions.data = serializeDataIfNeeded(saveHospitalAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration)
573
+
574
+ return {
575
+ url: toPathString(localVarUrlObj),
576
+ options: localVarRequestOptions,
577
+ };
578
+ },
579
+ /**
580
+ *
581
+ * @summary Add, update, delete Hospital appointment timetables
582
+ * @param {string} hospitalId
583
+ * @param {BatchHospitalAppointmentTimetablesCommand} [batchHospitalAppointmentTimetablesCommand]
584
+ * @param {*} [options] Override http request option.
585
+ * @throws {RequiredError}
586
+ */
587
+ apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost: async (hospitalId: string, batchHospitalAppointmentTimetablesCommand?: BatchHospitalAppointmentTimetablesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
588
+ // verify required parameter 'hospitalId' is not null or undefined
589
+ assertParamExists('apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost', 'hospitalId', hospitalId)
590
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/appointmenttimetables/batch`
591
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
592
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
593
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
594
+ let baseOptions;
595
+ if (configuration) {
596
+ baseOptions = configuration.baseOptions;
597
+ }
598
+
599
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
600
+ const localVarHeaderParameter = {} as any;
601
+ const localVarQueryParameter = {} as any;
602
+
603
+ // authentication oauth2 required
604
+ // oauth required
605
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
606
+
607
+
608
+
609
+ localVarHeaderParameter['Content-Type'] = 'application/json';
610
+
611
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
612
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
613
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
614
+ localVarRequestOptions.data = serializeDataIfNeeded(batchHospitalAppointmentTimetablesCommand, localVarRequestOptions, configuration)
615
+
616
+ return {
617
+ url: toPathString(localVarUrlObj),
618
+ options: localVarRequestOptions,
619
+ };
620
+ },
621
+ /**
622
+ *
623
+ * @summary Get Hospital appointment timetables
624
+ * @param {string} hospitalId
625
+ * @param {DayOfWeek} [dayOfWeek]
626
+ * @param {number} [page]
627
+ * @param {number} [limit]
628
+ * @param {Date} [lastRetrieved]
629
+ * @param {*} [options] Override http request option.
630
+ * @throws {RequiredError}
631
+ */
632
+ apiV1HospitalsHospitalIdAppointmenttimetablesGet: async (hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
633
+ // verify required parameter 'hospitalId' is not null or undefined
634
+ assertParamExists('apiV1HospitalsHospitalIdAppointmenttimetablesGet', 'hospitalId', hospitalId)
635
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/appointmenttimetables`
636
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
637
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
638
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
639
+ let baseOptions;
640
+ if (configuration) {
641
+ baseOptions = configuration.baseOptions;
642
+ }
643
+
644
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
645
+ const localVarHeaderParameter = {} as any;
646
+ const localVarQueryParameter = {} as any;
647
+
648
+ // authentication oauth2 required
649
+ // oauth required
650
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
651
+
652
+ if (dayOfWeek !== undefined) {
653
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
654
+ }
655
+
656
+ if (page !== undefined) {
657
+ localVarQueryParameter['page'] = page;
658
+ }
659
+
660
+ if (limit !== undefined) {
661
+ localVarQueryParameter['limit'] = limit;
662
+ }
663
+
664
+ if (lastRetrieved !== undefined) {
665
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
666
+ (lastRetrieved as any).toISOString() :
667
+ lastRetrieved;
668
+ }
669
+
670
+
671
+
672
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
673
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
674
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
675
+
676
+ return {
677
+ url: toPathString(localVarUrlObj),
678
+ options: localVarRequestOptions,
679
+ };
680
+ },
436
681
  /**
437
682
  *
438
683
  * @summary Delete Hospital.
@@ -2448,19 +2693,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2448
2693
  },
2449
2694
  /**
2450
2695
  *
2451
- * @summary Delete HospitalSpecialty.
2696
+ * @summary Get HospitalSpecialty appointment timetable overrides
2452
2697
  * @param {string} hospitalId
2453
2698
  * @param {string} hospitalSpecialtyId
2454
- * @param {boolean} [isPermanent]
2699
+ * @param {boolean} [includesPreviousItems]
2700
+ * @param {Date} [startDate]
2701
+ * @param {Date} [endDate]
2702
+ * @param {DayOfWeek} [dayOfWeek]
2703
+ * @param {number} [page]
2704
+ * @param {number} [limit]
2705
+ * @param {Date} [lastRetrieved]
2455
2706
  * @param {*} [options] Override http request option.
2456
2707
  * @throws {RequiredError}
2457
2708
  */
2458
- apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: async (hospitalId: string, hospitalSpecialtyId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2709
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet: async (hospitalId: string, hospitalSpecialtyId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2459
2710
  // verify required parameter 'hospitalId' is not null or undefined
2460
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalId', hospitalId)
2711
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet', 'hospitalId', hospitalId)
2461
2712
  // verify required parameter 'hospitalSpecialtyId' is not null or undefined
2462
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalSpecialtyId', hospitalSpecialtyId)
2463
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
2713
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
2714
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetableoverrides`
2464
2715
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
2465
2716
  .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
2466
2717
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2470,7 +2721,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2470
2721
  baseOptions = configuration.baseOptions;
2471
2722
  }
2472
2723
 
2473
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2724
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2474
2725
  const localVarHeaderParameter = {} as any;
2475
2726
  const localVarQueryParameter = {} as any;
2476
2727
 
@@ -2478,8 +2729,38 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2478
2729
  // oauth required
2479
2730
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
2480
2731
 
2481
- if (isPermanent !== undefined) {
2482
- localVarQueryParameter['isPermanent'] = isPermanent;
2732
+ if (includesPreviousItems !== undefined) {
2733
+ localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
2734
+ }
2735
+
2736
+ if (startDate !== undefined) {
2737
+ localVarQueryParameter['StartDate'] = (startDate as any instanceof Date) ?
2738
+ (startDate as any).toISOString() :
2739
+ startDate;
2740
+ }
2741
+
2742
+ if (endDate !== undefined) {
2743
+ localVarQueryParameter['EndDate'] = (endDate as any instanceof Date) ?
2744
+ (endDate as any).toISOString() :
2745
+ endDate;
2746
+ }
2747
+
2748
+ if (dayOfWeek !== undefined) {
2749
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
2750
+ }
2751
+
2752
+ if (page !== undefined) {
2753
+ localVarQueryParameter['page'] = page;
2754
+ }
2755
+
2756
+ if (limit !== undefined) {
2757
+ localVarQueryParameter['limit'] = limit;
2758
+ }
2759
+
2760
+ if (lastRetrieved !== undefined) {
2761
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
2762
+ (lastRetrieved as any).toISOString() :
2763
+ lastRetrieved;
2483
2764
  }
2484
2765
 
2485
2766
 
@@ -2495,19 +2776,19 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2495
2776
  },
2496
2777
  /**
2497
2778
  *
2498
- * @summary Get HospitalSpecialty.
2779
+ * @summary Save HospitalSpecialty appointment timetable overrides
2499
2780
  * @param {string} hospitalId
2500
2781
  * @param {string} hospitalSpecialtyId
2501
- * @param {string} [languageCode]
2782
+ * @param {SaveHospitalSpecialtyAppointmentTimetableOverridesCommand} [saveHospitalSpecialtyAppointmentTimetableOverridesCommand]
2502
2783
  * @param {*} [options] Override http request option.
2503
2784
  * @throws {RequiredError}
2504
2785
  */
2505
- apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet: async (hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2786
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost: async (hospitalId: string, hospitalSpecialtyId: string, saveHospitalSpecialtyAppointmentTimetableOverridesCommand?: SaveHospitalSpecialtyAppointmentTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2506
2787
  // verify required parameter 'hospitalId' is not null or undefined
2507
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalId', hospitalId)
2788
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost', 'hospitalId', hospitalId)
2508
2789
  // verify required parameter 'hospitalSpecialtyId' is not null or undefined
2509
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
2510
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
2790
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost', 'hospitalSpecialtyId', hospitalSpecialtyId)
2791
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetableoverrides`
2511
2792
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
2512
2793
  .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
2513
2794
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2517,7 +2798,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2517
2798
  baseOptions = configuration.baseOptions;
2518
2799
  }
2519
2800
 
2520
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2801
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2521
2802
  const localVarHeaderParameter = {} as any;
2522
2803
  const localVarQueryParameter = {} as any;
2523
2804
 
@@ -2525,15 +2806,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2525
2806
  // oauth required
2526
2807
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
2527
2808
 
2528
- if (languageCode !== undefined) {
2529
- localVarQueryParameter['languageCode'] = languageCode;
2530
- }
2531
-
2532
2809
 
2533
2810
 
2811
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2812
+
2534
2813
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2535
2814
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2536
2815
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2816
+ localVarRequestOptions.data = serializeDataIfNeeded(saveHospitalSpecialtyAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration)
2537
2817
 
2538
2818
  return {
2539
2819
  url: toPathString(localVarUrlObj),
@@ -2542,20 +2822,224 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2542
2822
  },
2543
2823
  /**
2544
2824
  *
2545
- * @summary Get all HospitalServiceMedias.
2825
+ * @summary Add, update, delete HospitalSpecialty appointment timetables
2546
2826
  * @param {string} hospitalId
2547
2827
  * @param {string} hospitalSpecialtyId
2548
- * @param {string} [id]
2549
- * @param {MediaType} [mediaType]
2550
- * @param {number} [page]
2551
- * @param {number} [limit]
2552
- * @param {Date} [lastRetrieved]
2828
+ * @param {BatchHospitalSpecialtyAppointmentTimetablesCommand} [batchHospitalSpecialtyAppointmentTimetablesCommand]
2553
2829
  * @param {*} [options] Override http request option.
2554
2830
  * @throws {RequiredError}
2555
2831
  */
2556
- apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: async (hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2832
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost: async (hospitalId: string, hospitalSpecialtyId: string, batchHospitalSpecialtyAppointmentTimetablesCommand?: BatchHospitalSpecialtyAppointmentTimetablesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2557
2833
  // verify required parameter 'hospitalId' is not null or undefined
2558
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId)
2834
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost', 'hospitalId', hospitalId)
2835
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
2836
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost', 'hospitalSpecialtyId', hospitalSpecialtyId)
2837
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetables/batch`
2838
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
2839
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
2840
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2841
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2842
+ let baseOptions;
2843
+ if (configuration) {
2844
+ baseOptions = configuration.baseOptions;
2845
+ }
2846
+
2847
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2848
+ const localVarHeaderParameter = {} as any;
2849
+ const localVarQueryParameter = {} as any;
2850
+
2851
+ // authentication oauth2 required
2852
+ // oauth required
2853
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
2854
+
2855
+
2856
+
2857
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2858
+
2859
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2860
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2861
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2862
+ localVarRequestOptions.data = serializeDataIfNeeded(batchHospitalSpecialtyAppointmentTimetablesCommand, localVarRequestOptions, configuration)
2863
+
2864
+ return {
2865
+ url: toPathString(localVarUrlObj),
2866
+ options: localVarRequestOptions,
2867
+ };
2868
+ },
2869
+ /**
2870
+ *
2871
+ * @summary Get HospitalSpecialty appointment timetables
2872
+ * @param {string} hospitalId
2873
+ * @param {string} hospitalSpecialtyId
2874
+ * @param {DayOfWeek} [dayOfWeek]
2875
+ * @param {number} [page]
2876
+ * @param {number} [limit]
2877
+ * @param {Date} [lastRetrieved]
2878
+ * @param {*} [options] Override http request option.
2879
+ * @throws {RequiredError}
2880
+ */
2881
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: async (hospitalId: string, hospitalSpecialtyId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2882
+ // verify required parameter 'hospitalId' is not null or undefined
2883
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet', 'hospitalId', hospitalId)
2884
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
2885
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
2886
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetables`
2887
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
2888
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
2889
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2890
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2891
+ let baseOptions;
2892
+ if (configuration) {
2893
+ baseOptions = configuration.baseOptions;
2894
+ }
2895
+
2896
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2897
+ const localVarHeaderParameter = {} as any;
2898
+ const localVarQueryParameter = {} as any;
2899
+
2900
+ // authentication oauth2 required
2901
+ // oauth required
2902
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
2903
+
2904
+ if (dayOfWeek !== undefined) {
2905
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
2906
+ }
2907
+
2908
+ if (page !== undefined) {
2909
+ localVarQueryParameter['page'] = page;
2910
+ }
2911
+
2912
+ if (limit !== undefined) {
2913
+ localVarQueryParameter['limit'] = limit;
2914
+ }
2915
+
2916
+ if (lastRetrieved !== undefined) {
2917
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
2918
+ (lastRetrieved as any).toISOString() :
2919
+ lastRetrieved;
2920
+ }
2921
+
2922
+
2923
+
2924
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2925
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2926
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2927
+
2928
+ return {
2929
+ url: toPathString(localVarUrlObj),
2930
+ options: localVarRequestOptions,
2931
+ };
2932
+ },
2933
+ /**
2934
+ *
2935
+ * @summary Delete HospitalSpecialty.
2936
+ * @param {string} hospitalId
2937
+ * @param {string} hospitalSpecialtyId
2938
+ * @param {boolean} [isPermanent]
2939
+ * @param {*} [options] Override http request option.
2940
+ * @throws {RequiredError}
2941
+ */
2942
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: async (hospitalId: string, hospitalSpecialtyId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2943
+ // verify required parameter 'hospitalId' is not null or undefined
2944
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalId', hospitalId)
2945
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
2946
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalSpecialtyId', hospitalSpecialtyId)
2947
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
2948
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
2949
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
2950
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2951
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2952
+ let baseOptions;
2953
+ if (configuration) {
2954
+ baseOptions = configuration.baseOptions;
2955
+ }
2956
+
2957
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2958
+ const localVarHeaderParameter = {} as any;
2959
+ const localVarQueryParameter = {} as any;
2960
+
2961
+ // authentication oauth2 required
2962
+ // oauth required
2963
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
2964
+
2965
+ if (isPermanent !== undefined) {
2966
+ localVarQueryParameter['isPermanent'] = isPermanent;
2967
+ }
2968
+
2969
+
2970
+
2971
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2972
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2973
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2974
+
2975
+ return {
2976
+ url: toPathString(localVarUrlObj),
2977
+ options: localVarRequestOptions,
2978
+ };
2979
+ },
2980
+ /**
2981
+ *
2982
+ * @summary Get HospitalSpecialty.
2983
+ * @param {string} hospitalId
2984
+ * @param {string} hospitalSpecialtyId
2985
+ * @param {string} [languageCode]
2986
+ * @param {*} [options] Override http request option.
2987
+ * @throws {RequiredError}
2988
+ */
2989
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet: async (hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2990
+ // verify required parameter 'hospitalId' is not null or undefined
2991
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalId', hospitalId)
2992
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
2993
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
2994
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
2995
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
2996
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
2997
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2998
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2999
+ let baseOptions;
3000
+ if (configuration) {
3001
+ baseOptions = configuration.baseOptions;
3002
+ }
3003
+
3004
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3005
+ const localVarHeaderParameter = {} as any;
3006
+ const localVarQueryParameter = {} as any;
3007
+
3008
+ // authentication oauth2 required
3009
+ // oauth required
3010
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3011
+
3012
+ if (languageCode !== undefined) {
3013
+ localVarQueryParameter['languageCode'] = languageCode;
3014
+ }
3015
+
3016
+
3017
+
3018
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3019
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3020
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3021
+
3022
+ return {
3023
+ url: toPathString(localVarUrlObj),
3024
+ options: localVarRequestOptions,
3025
+ };
3026
+ },
3027
+ /**
3028
+ *
3029
+ * @summary Get all HospitalServiceMedias.
3030
+ * @param {string} hospitalId
3031
+ * @param {string} hospitalSpecialtyId
3032
+ * @param {string} [id]
3033
+ * @param {MediaType} [mediaType]
3034
+ * @param {number} [page]
3035
+ * @param {number} [limit]
3036
+ * @param {Date} [lastRetrieved]
3037
+ * @param {*} [options] Override http request option.
3038
+ * @throws {RequiredError}
3039
+ */
3040
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: async (hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3041
+ // verify required parameter 'hospitalId' is not null or undefined
3042
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId)
2559
3043
  // verify required parameter 'hospitalSpecialtyId' is not null or undefined
2560
3044
  assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
2561
3045
  const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias`
@@ -3024,23 +3508,312 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3024
3508
  // oauth required
3025
3509
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3026
3510
 
3027
- if (languageCode !== undefined) {
3028
- localVarQueryParameter['languageCode'] = languageCode;
3029
- }
3030
-
3031
- if (returnDefaultValue !== undefined) {
3032
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
3033
- }
3034
-
3035
- if (includeServices !== undefined) {
3036
- localVarQueryParameter['includeServices'] = includeServices;
3037
- }
3038
-
3511
+ if (languageCode !== undefined) {
3512
+ localVarQueryParameter['languageCode'] = languageCode;
3513
+ }
3514
+
3515
+ if (returnDefaultValue !== undefined) {
3516
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
3517
+ }
3518
+
3519
+ if (includeServices !== undefined) {
3520
+ localVarQueryParameter['includeServices'] = includeServices;
3521
+ }
3522
+
3523
+
3524
+
3525
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3526
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3527
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3528
+
3529
+ return {
3530
+ url: toPathString(localVarUrlObj),
3531
+ options: localVarRequestOptions,
3532
+ };
3533
+ },
3534
+ /**
3535
+ *
3536
+ * @summary Get all HospitalServices.
3537
+ * @param {string} hospitalId
3538
+ * @param {string} specialtyId
3539
+ * @param {string} [id]
3540
+ * @param {string} [name]
3541
+ * @param {string} [slug]
3542
+ * @param {string} [serviceCategoryId]
3543
+ * @param {MarketingType} [marketingType]
3544
+ * @param {Procedure} [procedure]
3545
+ * @param {Date} [created]
3546
+ * @param {boolean} [showHidden]
3547
+ * @param {string} [languageCode]
3548
+ * @param {number} [page]
3549
+ * @param {number} [limit]
3550
+ * @param {Date} [lastRetrieved]
3551
+ * @param {*} [options] Override http request option.
3552
+ * @throws {RequiredError}
3553
+ */
3554
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, id?: string, name?: string, slug?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, showHidden?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3555
+ // verify required parameter 'hospitalId' is not null or undefined
3556
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'hospitalId', hospitalId)
3557
+ // verify required parameter 'specialtyId' is not null or undefined
3558
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'specialtyId', specialtyId)
3559
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
3560
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
3561
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
3562
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3563
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3564
+ let baseOptions;
3565
+ if (configuration) {
3566
+ baseOptions = configuration.baseOptions;
3567
+ }
3568
+
3569
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3570
+ const localVarHeaderParameter = {} as any;
3571
+ const localVarQueryParameter = {} as any;
3572
+
3573
+ // authentication oauth2 required
3574
+ // oauth required
3575
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3576
+
3577
+ if (id !== undefined) {
3578
+ localVarQueryParameter['Id'] = id;
3579
+ }
3580
+
3581
+ if (name !== undefined) {
3582
+ localVarQueryParameter['Name'] = name;
3583
+ }
3584
+
3585
+ if (slug !== undefined) {
3586
+ localVarQueryParameter['Slug'] = slug;
3587
+ }
3588
+
3589
+ if (serviceCategoryId !== undefined) {
3590
+ localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
3591
+ }
3592
+
3593
+ if (marketingType !== undefined) {
3594
+ localVarQueryParameter['MarketingType'] = marketingType;
3595
+ }
3596
+
3597
+ if (procedure !== undefined) {
3598
+ localVarQueryParameter['Procedure'] = procedure;
3599
+ }
3600
+
3601
+ if (created !== undefined) {
3602
+ localVarQueryParameter['Created'] = (created as any instanceof Date) ?
3603
+ (created as any).toISOString() :
3604
+ created;
3605
+ }
3606
+
3607
+ if (showHidden !== undefined) {
3608
+ localVarQueryParameter['ShowHidden'] = showHidden;
3609
+ }
3610
+
3611
+ if (languageCode !== undefined) {
3612
+ localVarQueryParameter['LanguageCode'] = languageCode;
3613
+ }
3614
+
3615
+ if (page !== undefined) {
3616
+ localVarQueryParameter['page'] = page;
3617
+ }
3618
+
3619
+ if (limit !== undefined) {
3620
+ localVarQueryParameter['limit'] = limit;
3621
+ }
3622
+
3623
+ if (lastRetrieved !== undefined) {
3624
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3625
+ (lastRetrieved as any).toISOString() :
3626
+ lastRetrieved;
3627
+ }
3628
+
3629
+
3630
+
3631
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3632
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3633
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3634
+
3635
+ return {
3636
+ url: toPathString(localVarUrlObj),
3637
+ options: localVarRequestOptions,
3638
+ };
3639
+ },
3640
+ /**
3641
+ *
3642
+ * @summary Create HospitalService.
3643
+ * @param {string} hospitalId
3644
+ * @param {string} specialtyId
3645
+ * @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
3646
+ * @param {*} [options] Override http request option.
3647
+ * @throws {RequiredError}
3648
+ */
3649
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: async (hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3650
+ // verify required parameter 'hospitalId' is not null or undefined
3651
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'hospitalId', hospitalId)
3652
+ // verify required parameter 'specialtyId' is not null or undefined
3653
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'specialtyId', specialtyId)
3654
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
3655
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
3656
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
3657
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3658
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3659
+ let baseOptions;
3660
+ if (configuration) {
3661
+ baseOptions = configuration.baseOptions;
3662
+ }
3663
+
3664
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3665
+ const localVarHeaderParameter = {} as any;
3666
+ const localVarQueryParameter = {} as any;
3667
+
3668
+ // authentication oauth2 required
3669
+ // oauth required
3670
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3671
+
3672
+
3673
+
3674
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3675
+
3676
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3677
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3678
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3679
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalServiceCommand, localVarRequestOptions, configuration)
3680
+
3681
+ return {
3682
+ url: toPathString(localVarUrlObj),
3683
+ options: localVarRequestOptions,
3684
+ };
3685
+ },
3686
+ /**
3687
+ *
3688
+ * @summary Get Service appointment timetable overrides
3689
+ * @param {string} hospitalId
3690
+ * @param {string} specialtyId
3691
+ * @param {string} serviceId
3692
+ * @param {boolean} [includesPreviousItems]
3693
+ * @param {Date} [startDate]
3694
+ * @param {Date} [endDate]
3695
+ * @param {DayOfWeek} [dayOfWeek]
3696
+ * @param {number} [page]
3697
+ * @param {number} [limit]
3698
+ * @param {Date} [lastRetrieved]
3699
+ * @param {*} [options] Override http request option.
3700
+ * @throws {RequiredError}
3701
+ */
3702
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet: async (hospitalId: string, specialtyId: string, serviceId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3703
+ // verify required parameter 'hospitalId' is not null or undefined
3704
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet', 'hospitalId', hospitalId)
3705
+ // verify required parameter 'specialtyId' is not null or undefined
3706
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet', 'specialtyId', specialtyId)
3707
+ // verify required parameter 'serviceId' is not null or undefined
3708
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet', 'serviceId', serviceId)
3709
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetableoverrides`
3710
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
3711
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
3712
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
3713
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3714
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3715
+ let baseOptions;
3716
+ if (configuration) {
3717
+ baseOptions = configuration.baseOptions;
3718
+ }
3719
+
3720
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3721
+ const localVarHeaderParameter = {} as any;
3722
+ const localVarQueryParameter = {} as any;
3723
+
3724
+ // authentication oauth2 required
3725
+ // oauth required
3726
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3727
+
3728
+ if (includesPreviousItems !== undefined) {
3729
+ localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
3730
+ }
3731
+
3732
+ if (startDate !== undefined) {
3733
+ localVarQueryParameter['StartDate'] = (startDate as any instanceof Date) ?
3734
+ (startDate as any).toISOString() :
3735
+ startDate;
3736
+ }
3737
+
3738
+ if (endDate !== undefined) {
3739
+ localVarQueryParameter['EndDate'] = (endDate as any instanceof Date) ?
3740
+ (endDate as any).toISOString() :
3741
+ endDate;
3742
+ }
3743
+
3744
+ if (dayOfWeek !== undefined) {
3745
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
3746
+ }
3747
+
3748
+ if (page !== undefined) {
3749
+ localVarQueryParameter['page'] = page;
3750
+ }
3751
+
3752
+ if (limit !== undefined) {
3753
+ localVarQueryParameter['limit'] = limit;
3754
+ }
3755
+
3756
+ if (lastRetrieved !== undefined) {
3757
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3758
+ (lastRetrieved as any).toISOString() :
3759
+ lastRetrieved;
3760
+ }
3761
+
3762
+
3763
+
3764
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3765
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3766
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3767
+
3768
+ return {
3769
+ url: toPathString(localVarUrlObj),
3770
+ options: localVarRequestOptions,
3771
+ };
3772
+ },
3773
+ /**
3774
+ *
3775
+ * @summary Save Service appointment timetable overrides
3776
+ * @param {string} hospitalId
3777
+ * @param {string} specialtyId
3778
+ * @param {string} serviceId
3779
+ * @param {SaveServiceAppointmentTimetableOverridesCommand} [saveServiceAppointmentTimetableOverridesCommand]
3780
+ * @param {*} [options] Override http request option.
3781
+ * @throws {RequiredError}
3782
+ */
3783
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost: async (hospitalId: string, specialtyId: string, serviceId: string, saveServiceAppointmentTimetableOverridesCommand?: SaveServiceAppointmentTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3784
+ // verify required parameter 'hospitalId' is not null or undefined
3785
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost', 'hospitalId', hospitalId)
3786
+ // verify required parameter 'specialtyId' is not null or undefined
3787
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost', 'specialtyId', specialtyId)
3788
+ // verify required parameter 'serviceId' is not null or undefined
3789
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost', 'serviceId', serviceId)
3790
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetableoverrides`
3791
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
3792
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
3793
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
3794
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3795
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3796
+ let baseOptions;
3797
+ if (configuration) {
3798
+ baseOptions = configuration.baseOptions;
3799
+ }
3800
+
3801
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3802
+ const localVarHeaderParameter = {} as any;
3803
+ const localVarQueryParameter = {} as any;
3804
+
3805
+ // authentication oauth2 required
3806
+ // oauth required
3807
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3808
+
3039
3809
 
3040
3810
 
3811
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3812
+
3041
3813
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3042
3814
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3043
3815
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3816
+ localVarRequestOptions.data = serializeDataIfNeeded(saveServiceAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration)
3044
3817
 
3045
3818
  return {
3046
3819
  url: toPathString(localVarUrlObj),
@@ -3049,32 +3822,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3049
3822
  },
3050
3823
  /**
3051
3824
  *
3052
- * @summary Get all HospitalServices.
3825
+ * @summary Add, update and delete service appointment timetables
3053
3826
  * @param {string} hospitalId
3054
3827
  * @param {string} specialtyId
3055
- * @param {string} [id]
3056
- * @param {string} [name]
3057
- * @param {string} [slug]
3058
- * @param {string} [serviceCategoryId]
3059
- * @param {MarketingType} [marketingType]
3060
- * @param {Procedure} [procedure]
3061
- * @param {Date} [created]
3062
- * @param {boolean} [showHidden]
3063
- * @param {string} [languageCode]
3064
- * @param {number} [page]
3065
- * @param {number} [limit]
3066
- * @param {Date} [lastRetrieved]
3828
+ * @param {string} serviceId
3829
+ * @param {BatchServiceAppointmentTimetablesCommand} [batchServiceAppointmentTimetablesCommand]
3067
3830
  * @param {*} [options] Override http request option.
3068
3831
  * @throws {RequiredError}
3069
3832
  */
3070
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, id?: string, name?: string, slug?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, showHidden?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3833
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost: async (hospitalId: string, specialtyId: string, serviceId: string, batchServiceAppointmentTimetablesCommand?: BatchServiceAppointmentTimetablesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3071
3834
  // verify required parameter 'hospitalId' is not null or undefined
3072
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'hospitalId', hospitalId)
3835
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost', 'hospitalId', hospitalId)
3073
3836
  // verify required parameter 'specialtyId' is not null or undefined
3074
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'specialtyId', specialtyId)
3075
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
3837
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost', 'specialtyId', specialtyId)
3838
+ // verify required parameter 'serviceId' is not null or undefined
3839
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost', 'serviceId', serviceId)
3840
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetables/batch`
3076
3841
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
3077
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
3842
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
3843
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
3078
3844
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3079
3845
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3080
3846
  let baseOptions;
@@ -3082,7 +3848,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3082
3848
  baseOptions = configuration.baseOptions;
3083
3849
  }
3084
3850
 
3085
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3851
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3086
3852
  const localVarHeaderParameter = {} as any;
3087
3853
  const localVarQueryParameter = {} as any;
3088
3854
 
@@ -3090,63 +3856,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3090
3856
  // oauth required
3091
3857
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3092
3858
 
3093
- if (id !== undefined) {
3094
- localVarQueryParameter['Id'] = id;
3095
- }
3096
-
3097
- if (name !== undefined) {
3098
- localVarQueryParameter['Name'] = name;
3099
- }
3100
-
3101
- if (slug !== undefined) {
3102
- localVarQueryParameter['Slug'] = slug;
3103
- }
3104
-
3105
- if (serviceCategoryId !== undefined) {
3106
- localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
3107
- }
3108
-
3109
- if (marketingType !== undefined) {
3110
- localVarQueryParameter['MarketingType'] = marketingType;
3111
- }
3112
-
3113
- if (procedure !== undefined) {
3114
- localVarQueryParameter['Procedure'] = procedure;
3115
- }
3116
-
3117
- if (created !== undefined) {
3118
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
3119
- (created as any).toISOString() :
3120
- created;
3121
- }
3122
-
3123
- if (showHidden !== undefined) {
3124
- localVarQueryParameter['ShowHidden'] = showHidden;
3125
- }
3126
-
3127
- if (languageCode !== undefined) {
3128
- localVarQueryParameter['LanguageCode'] = languageCode;
3129
- }
3130
-
3131
- if (page !== undefined) {
3132
- localVarQueryParameter['page'] = page;
3133
- }
3134
-
3135
- if (limit !== undefined) {
3136
- localVarQueryParameter['limit'] = limit;
3137
- }
3138
-
3139
- if (lastRetrieved !== undefined) {
3140
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3141
- (lastRetrieved as any).toISOString() :
3142
- lastRetrieved;
3143
- }
3144
-
3145
3859
 
3146
3860
 
3861
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3862
+
3147
3863
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3148
3864
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3149
3865
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3866
+ localVarRequestOptions.data = serializeDataIfNeeded(batchServiceAppointmentTimetablesCommand, localVarRequestOptions, configuration)
3150
3867
 
3151
3868
  return {
3152
3869
  url: toPathString(localVarUrlObj),
@@ -3155,21 +3872,28 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3155
3872
  },
3156
3873
  /**
3157
3874
  *
3158
- * @summary Create HospitalService.
3875
+ * @summary Get Service appointment timetables
3159
3876
  * @param {string} hospitalId
3160
3877
  * @param {string} specialtyId
3161
- * @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
3878
+ * @param {string} serviceId
3879
+ * @param {DayOfWeek} [dayOfWeek]
3880
+ * @param {number} [page]
3881
+ * @param {number} [limit]
3882
+ * @param {Date} [lastRetrieved]
3162
3883
  * @param {*} [options] Override http request option.
3163
3884
  * @throws {RequiredError}
3164
3885
  */
3165
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: async (hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3886
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: async (hospitalId: string, specialtyId: string, serviceId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3166
3887
  // verify required parameter 'hospitalId' is not null or undefined
3167
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'hospitalId', hospitalId)
3888
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'hospitalId', hospitalId)
3168
3889
  // verify required parameter 'specialtyId' is not null or undefined
3169
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'specialtyId', specialtyId)
3170
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
3890
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'specialtyId', specialtyId)
3891
+ // verify required parameter 'serviceId' is not null or undefined
3892
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'serviceId', serviceId)
3893
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetables`
3171
3894
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
3172
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
3895
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
3896
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
3173
3897
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3174
3898
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3175
3899
  let baseOptions;
@@ -3177,7 +3901,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3177
3901
  baseOptions = configuration.baseOptions;
3178
3902
  }
3179
3903
 
3180
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3904
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3181
3905
  const localVarHeaderParameter = {} as any;
3182
3906
  const localVarQueryParameter = {} as any;
3183
3907
 
@@ -3185,14 +3909,29 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3185
3909
  // oauth required
3186
3910
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3187
3911
 
3912
+ if (dayOfWeek !== undefined) {
3913
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
3914
+ }
3915
+
3916
+ if (page !== undefined) {
3917
+ localVarQueryParameter['page'] = page;
3918
+ }
3919
+
3920
+ if (limit !== undefined) {
3921
+ localVarQueryParameter['limit'] = limit;
3922
+ }
3923
+
3924
+ if (lastRetrieved !== undefined) {
3925
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3926
+ (lastRetrieved as any).toISOString() :
3927
+ lastRetrieved;
3928
+ }
3188
3929
 
3189
-
3190
- localVarHeaderParameter['Content-Type'] = 'application/json';
3191
3930
 
3931
+
3192
3932
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3193
3933
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3194
3934
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3195
- localVarRequestOptions.data = serializeDataIfNeeded(createHospitalServiceCommand, localVarRequestOptions, configuration)
3196
3935
 
3197
3936
  return {
3198
3937
  url: toPathString(localVarUrlObj),
@@ -4302,6 +5041,63 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
4302
5041
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAccreditationsPost(hospitalId, createHospitalAccreditationCommand, options);
4303
5042
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4304
5043
  },
5044
+ /**
5045
+ *
5046
+ * @summary Get Hospital appointment timetable overrides
5047
+ * @param {string} hospitalId
5048
+ * @param {boolean} [includesPreviousItems]
5049
+ * @param {Date} [startDate]
5050
+ * @param {Date} [endDate]
5051
+ * @param {DayOfWeek} [dayOfWeek]
5052
+ * @param {number} [page]
5053
+ * @param {number} [limit]
5054
+ * @param {Date} [lastRetrieved]
5055
+ * @param {*} [options] Override http request option.
5056
+ * @throws {RequiredError}
5057
+ */
5058
+ async apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetableOverridesModel>> {
5059
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
5060
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5061
+ },
5062
+ /**
5063
+ *
5064
+ * @summary Save Hospital appointment timetable overrides
5065
+ * @param {string} hospitalId
5066
+ * @param {SaveHospitalAppointmentTimetableOverridesCommand} [saveHospitalAppointmentTimetableOverridesCommand]
5067
+ * @param {*} [options] Override http request option.
5068
+ * @throws {RequiredError}
5069
+ */
5070
+ async apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost(hospitalId: string, saveHospitalAppointmentTimetableOverridesCommand?: SaveHospitalAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SaveAppointmentTimetableOverridesResultModel>> {
5071
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost(hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options);
5072
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5073
+ },
5074
+ /**
5075
+ *
5076
+ * @summary Add, update, delete Hospital appointment timetables
5077
+ * @param {string} hospitalId
5078
+ * @param {BatchHospitalAppointmentTimetablesCommand} [batchHospitalAppointmentTimetablesCommand]
5079
+ * @param {*} [options] Override http request option.
5080
+ * @throws {RequiredError}
5081
+ */
5082
+ async apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost(hospitalId: string, batchHospitalAppointmentTimetablesCommand?: BatchHospitalAppointmentTimetablesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchAppointmentTimetablesResultModel>> {
5083
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost(hospitalId, batchHospitalAppointmentTimetablesCommand, options);
5084
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5085
+ },
5086
+ /**
5087
+ *
5088
+ * @summary Get Hospital appointment timetables
5089
+ * @param {string} hospitalId
5090
+ * @param {DayOfWeek} [dayOfWeek]
5091
+ * @param {number} [page]
5092
+ * @param {number} [limit]
5093
+ * @param {Date} [lastRetrieved]
5094
+ * @param {*} [options] Override http request option.
5095
+ * @throws {RequiredError}
5096
+ */
5097
+ async apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
5098
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options);
5099
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5100
+ },
4305
5101
  /**
4306
5102
  *
4307
5103
  * @summary Delete Hospital.
@@ -4845,6 +5641,67 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
4845
5641
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
4846
5642
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4847
5643
  },
5644
+ /**
5645
+ *
5646
+ * @summary Get HospitalSpecialty appointment timetable overrides
5647
+ * @param {string} hospitalId
5648
+ * @param {string} hospitalSpecialtyId
5649
+ * @param {boolean} [includesPreviousItems]
5650
+ * @param {Date} [startDate]
5651
+ * @param {Date} [endDate]
5652
+ * @param {DayOfWeek} [dayOfWeek]
5653
+ * @param {number} [page]
5654
+ * @param {number} [limit]
5655
+ * @param {Date} [lastRetrieved]
5656
+ * @param {*} [options] Override http request option.
5657
+ * @throws {RequiredError}
5658
+ */
5659
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet(hospitalId: string, hospitalSpecialtyId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetableOverridesModel>> {
5660
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet(hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
5661
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5662
+ },
5663
+ /**
5664
+ *
5665
+ * @summary Save HospitalSpecialty appointment timetable overrides
5666
+ * @param {string} hospitalId
5667
+ * @param {string} hospitalSpecialtyId
5668
+ * @param {SaveHospitalSpecialtyAppointmentTimetableOverridesCommand} [saveHospitalSpecialtyAppointmentTimetableOverridesCommand]
5669
+ * @param {*} [options] Override http request option.
5670
+ * @throws {RequiredError}
5671
+ */
5672
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost(hospitalId: string, hospitalSpecialtyId: string, saveHospitalSpecialtyAppointmentTimetableOverridesCommand?: SaveHospitalSpecialtyAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SaveAppointmentTimetableOverridesResultModel>> {
5673
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost(hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options);
5674
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5675
+ },
5676
+ /**
5677
+ *
5678
+ * @summary Add, update, delete HospitalSpecialty appointment timetables
5679
+ * @param {string} hospitalId
5680
+ * @param {string} hospitalSpecialtyId
5681
+ * @param {BatchHospitalSpecialtyAppointmentTimetablesCommand} [batchHospitalSpecialtyAppointmentTimetablesCommand]
5682
+ * @param {*} [options] Override http request option.
5683
+ * @throws {RequiredError}
5684
+ */
5685
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost(hospitalId: string, hospitalSpecialtyId: string, batchHospitalSpecialtyAppointmentTimetablesCommand?: BatchHospitalSpecialtyAppointmentTimetablesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchAppointmentTimetablesResultModel>> {
5686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost(hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options);
5687
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5688
+ },
5689
+ /**
5690
+ *
5691
+ * @summary Get HospitalSpecialty appointment timetables
5692
+ * @param {string} hospitalId
5693
+ * @param {string} hospitalSpecialtyId
5694
+ * @param {DayOfWeek} [dayOfWeek]
5695
+ * @param {number} [page]
5696
+ * @param {number} [limit]
5697
+ * @param {Date} [lastRetrieved]
5698
+ * @param {*} [options] Override http request option.
5699
+ * @throws {RequiredError}
5700
+ */
5701
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
5702
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options);
5703
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5704
+ },
4848
5705
  /**
4849
5706
  *
4850
5707
  * @summary Delete HospitalSpecialty.
@@ -5038,8 +5895,73 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
5038
5895
  * @param {*} [options] Override http request option.
5039
5896
  * @throws {RequiredError}
5040
5897
  */
5041
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
5042
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options);
5898
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
5899
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options);
5900
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5901
+ },
5902
+ /**
5903
+ *
5904
+ * @summary Get Service appointment timetable overrides
5905
+ * @param {string} hospitalId
5906
+ * @param {string} specialtyId
5907
+ * @param {string} serviceId
5908
+ * @param {boolean} [includesPreviousItems]
5909
+ * @param {Date} [startDate]
5910
+ * @param {Date} [endDate]
5911
+ * @param {DayOfWeek} [dayOfWeek]
5912
+ * @param {number} [page]
5913
+ * @param {number} [limit]
5914
+ * @param {Date} [lastRetrieved]
5915
+ * @param {*} [options] Override http request option.
5916
+ * @throws {RequiredError}
5917
+ */
5918
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet(hospitalId: string, specialtyId: string, serviceId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetableOverridesModel>> {
5919
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet(hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
5920
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5921
+ },
5922
+ /**
5923
+ *
5924
+ * @summary Save Service appointment timetable overrides
5925
+ * @param {string} hospitalId
5926
+ * @param {string} specialtyId
5927
+ * @param {string} serviceId
5928
+ * @param {SaveServiceAppointmentTimetableOverridesCommand} [saveServiceAppointmentTimetableOverridesCommand]
5929
+ * @param {*} [options] Override http request option.
5930
+ * @throws {RequiredError}
5931
+ */
5932
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost(hospitalId: string, specialtyId: string, serviceId: string, saveServiceAppointmentTimetableOverridesCommand?: SaveServiceAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SaveAppointmentTimetableOverridesResultModel>> {
5933
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost(hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options);
5934
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5935
+ },
5936
+ /**
5937
+ *
5938
+ * @summary Add, update and delete service appointment timetables
5939
+ * @param {string} hospitalId
5940
+ * @param {string} specialtyId
5941
+ * @param {string} serviceId
5942
+ * @param {BatchServiceAppointmentTimetablesCommand} [batchServiceAppointmentTimetablesCommand]
5943
+ * @param {*} [options] Override http request option.
5944
+ * @throws {RequiredError}
5945
+ */
5946
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost(hospitalId: string, specialtyId: string, serviceId: string, batchServiceAppointmentTimetablesCommand?: BatchServiceAppointmentTimetablesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchAppointmentTimetablesResultModel>> {
5947
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost(hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options);
5948
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5949
+ },
5950
+ /**
5951
+ *
5952
+ * @summary Get Service appointment timetables
5953
+ * @param {string} hospitalId
5954
+ * @param {string} specialtyId
5955
+ * @param {string} serviceId
5956
+ * @param {DayOfWeek} [dayOfWeek]
5957
+ * @param {number} [page]
5958
+ * @param {number} [limit]
5959
+ * @param {Date} [lastRetrieved]
5960
+ * @param {*} [options] Override http request option.
5961
+ * @throws {RequiredError}
5962
+ */
5963
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
5964
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options);
5043
5965
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5044
5966
  },
5045
5967
  /**
@@ -5396,6 +6318,59 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
5396
6318
  apiV1HospitalsHospitalIdAccreditationsPost(hospitalId: string, createHospitalAccreditationCommand?: CreateHospitalAccreditationCommand, options?: any): AxiosPromise<HospitalAccreditationModel> {
5397
6319
  return localVarFp.apiV1HospitalsHospitalIdAccreditationsPost(hospitalId, createHospitalAccreditationCommand, options).then((request) => request(axios, basePath));
5398
6320
  },
6321
+ /**
6322
+ *
6323
+ * @summary Get Hospital appointment timetable overrides
6324
+ * @param {string} hospitalId
6325
+ * @param {boolean} [includesPreviousItems]
6326
+ * @param {Date} [startDate]
6327
+ * @param {Date} [endDate]
6328
+ * @param {DayOfWeek} [dayOfWeek]
6329
+ * @param {number} [page]
6330
+ * @param {number} [limit]
6331
+ * @param {Date} [lastRetrieved]
6332
+ * @param {*} [options] Override http request option.
6333
+ * @throws {RequiredError}
6334
+ */
6335
+ apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetableOverridesModel> {
6336
+ return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
6337
+ },
6338
+ /**
6339
+ *
6340
+ * @summary Save Hospital appointment timetable overrides
6341
+ * @param {string} hospitalId
6342
+ * @param {SaveHospitalAppointmentTimetableOverridesCommand} [saveHospitalAppointmentTimetableOverridesCommand]
6343
+ * @param {*} [options] Override http request option.
6344
+ * @throws {RequiredError}
6345
+ */
6346
+ apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost(hospitalId: string, saveHospitalAppointmentTimetableOverridesCommand?: SaveHospitalAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<SaveAppointmentTimetableOverridesResultModel> {
6347
+ return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost(hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
6348
+ },
6349
+ /**
6350
+ *
6351
+ * @summary Add, update, delete Hospital appointment timetables
6352
+ * @param {string} hospitalId
6353
+ * @param {BatchHospitalAppointmentTimetablesCommand} [batchHospitalAppointmentTimetablesCommand]
6354
+ * @param {*} [options] Override http request option.
6355
+ * @throws {RequiredError}
6356
+ */
6357
+ apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost(hospitalId: string, batchHospitalAppointmentTimetablesCommand?: BatchHospitalAppointmentTimetablesCommand, options?: any): AxiosPromise<BatchAppointmentTimetablesResultModel> {
6358
+ return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost(hospitalId, batchHospitalAppointmentTimetablesCommand, options).then((request) => request(axios, basePath));
6359
+ },
6360
+ /**
6361
+ *
6362
+ * @summary Get Hospital appointment timetables
6363
+ * @param {string} hospitalId
6364
+ * @param {DayOfWeek} [dayOfWeek]
6365
+ * @param {number} [page]
6366
+ * @param {number} [limit]
6367
+ * @param {Date} [lastRetrieved]
6368
+ * @param {*} [options] Override http request option.
6369
+ * @throws {RequiredError}
6370
+ */
6371
+ apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetablesModel> {
6372
+ return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
6373
+ },
5399
6374
  /**
5400
6375
  *
5401
6376
  * @summary Delete Hospital.
@@ -5899,6 +6874,63 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
5899
6874
  apiV1HospitalsHospitalIdSpecialtiesGet(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> {
5900
6875
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
5901
6876
  },
6877
+ /**
6878
+ *
6879
+ * @summary Get HospitalSpecialty appointment timetable overrides
6880
+ * @param {string} hospitalId
6881
+ * @param {string} hospitalSpecialtyId
6882
+ * @param {boolean} [includesPreviousItems]
6883
+ * @param {Date} [startDate]
6884
+ * @param {Date} [endDate]
6885
+ * @param {DayOfWeek} [dayOfWeek]
6886
+ * @param {number} [page]
6887
+ * @param {number} [limit]
6888
+ * @param {Date} [lastRetrieved]
6889
+ * @param {*} [options] Override http request option.
6890
+ * @throws {RequiredError}
6891
+ */
6892
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet(hospitalId: string, hospitalSpecialtyId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetableOverridesModel> {
6893
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet(hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
6894
+ },
6895
+ /**
6896
+ *
6897
+ * @summary Save HospitalSpecialty appointment timetable overrides
6898
+ * @param {string} hospitalId
6899
+ * @param {string} hospitalSpecialtyId
6900
+ * @param {SaveHospitalSpecialtyAppointmentTimetableOverridesCommand} [saveHospitalSpecialtyAppointmentTimetableOverridesCommand]
6901
+ * @param {*} [options] Override http request option.
6902
+ * @throws {RequiredError}
6903
+ */
6904
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost(hospitalId: string, hospitalSpecialtyId: string, saveHospitalSpecialtyAppointmentTimetableOverridesCommand?: SaveHospitalSpecialtyAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<SaveAppointmentTimetableOverridesResultModel> {
6905
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost(hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
6906
+ },
6907
+ /**
6908
+ *
6909
+ * @summary Add, update, delete HospitalSpecialty appointment timetables
6910
+ * @param {string} hospitalId
6911
+ * @param {string} hospitalSpecialtyId
6912
+ * @param {BatchHospitalSpecialtyAppointmentTimetablesCommand} [batchHospitalSpecialtyAppointmentTimetablesCommand]
6913
+ * @param {*} [options] Override http request option.
6914
+ * @throws {RequiredError}
6915
+ */
6916
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost(hospitalId: string, hospitalSpecialtyId: string, batchHospitalSpecialtyAppointmentTimetablesCommand?: BatchHospitalSpecialtyAppointmentTimetablesCommand, options?: any): AxiosPromise<BatchAppointmentTimetablesResultModel> {
6917
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost(hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options).then((request) => request(axios, basePath));
6918
+ },
6919
+ /**
6920
+ *
6921
+ * @summary Get HospitalSpecialty appointment timetables
6922
+ * @param {string} hospitalId
6923
+ * @param {string} hospitalSpecialtyId
6924
+ * @param {DayOfWeek} [dayOfWeek]
6925
+ * @param {number} [page]
6926
+ * @param {number} [limit]
6927
+ * @param {Date} [lastRetrieved]
6928
+ * @param {*} [options] Override http request option.
6929
+ * @throws {RequiredError}
6930
+ */
6931
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetablesModel> {
6932
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
6933
+ },
5902
6934
  /**
5903
6935
  *
5904
6936
  * @summary Delete HospitalSpecialty.
@@ -6083,6 +7115,67 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
6083
7115
  apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: any): AxiosPromise<HospitalServiceModel> {
6084
7116
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then((request) => request(axios, basePath));
6085
7117
  },
7118
+ /**
7119
+ *
7120
+ * @summary Get Service appointment timetable overrides
7121
+ * @param {string} hospitalId
7122
+ * @param {string} specialtyId
7123
+ * @param {string} serviceId
7124
+ * @param {boolean} [includesPreviousItems]
7125
+ * @param {Date} [startDate]
7126
+ * @param {Date} [endDate]
7127
+ * @param {DayOfWeek} [dayOfWeek]
7128
+ * @param {number} [page]
7129
+ * @param {number} [limit]
7130
+ * @param {Date} [lastRetrieved]
7131
+ * @param {*} [options] Override http request option.
7132
+ * @throws {RequiredError}
7133
+ */
7134
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet(hospitalId: string, specialtyId: string, serviceId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetableOverridesModel> {
7135
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet(hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
7136
+ },
7137
+ /**
7138
+ *
7139
+ * @summary Save Service appointment timetable overrides
7140
+ * @param {string} hospitalId
7141
+ * @param {string} specialtyId
7142
+ * @param {string} serviceId
7143
+ * @param {SaveServiceAppointmentTimetableOverridesCommand} [saveServiceAppointmentTimetableOverridesCommand]
7144
+ * @param {*} [options] Override http request option.
7145
+ * @throws {RequiredError}
7146
+ */
7147
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost(hospitalId: string, specialtyId: string, serviceId: string, saveServiceAppointmentTimetableOverridesCommand?: SaveServiceAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<SaveAppointmentTimetableOverridesResultModel> {
7148
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost(hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
7149
+ },
7150
+ /**
7151
+ *
7152
+ * @summary Add, update and delete service appointment timetables
7153
+ * @param {string} hospitalId
7154
+ * @param {string} specialtyId
7155
+ * @param {string} serviceId
7156
+ * @param {BatchServiceAppointmentTimetablesCommand} [batchServiceAppointmentTimetablesCommand]
7157
+ * @param {*} [options] Override http request option.
7158
+ * @throws {RequiredError}
7159
+ */
7160
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost(hospitalId: string, specialtyId: string, serviceId: string, batchServiceAppointmentTimetablesCommand?: BatchServiceAppointmentTimetablesCommand, options?: any): AxiosPromise<BatchAppointmentTimetablesResultModel> {
7161
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost(hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options).then((request) => request(axios, basePath));
7162
+ },
7163
+ /**
7164
+ *
7165
+ * @summary Get Service appointment timetables
7166
+ * @param {string} hospitalId
7167
+ * @param {string} specialtyId
7168
+ * @param {string} serviceId
7169
+ * @param {DayOfWeek} [dayOfWeek]
7170
+ * @param {number} [page]
7171
+ * @param {number} [limit]
7172
+ * @param {Date} [lastRetrieved]
7173
+ * @param {*} [options] Override http request option.
7174
+ * @throws {RequiredError}
7175
+ */
7176
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetablesModel> {
7177
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
7178
+ },
6086
7179
  /**
6087
7180
  *
6088
7181
  * @summary Delete HospitalService
@@ -6428,6 +7521,67 @@ export class HospitalsApi extends BaseAPI {
6428
7521
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAccreditationsPost(hospitalId, createHospitalAccreditationCommand, options).then((request) => request(this.axios, this.basePath));
6429
7522
  }
6430
7523
 
7524
+ /**
7525
+ *
7526
+ * @summary Get Hospital appointment timetable overrides
7527
+ * @param {string} hospitalId
7528
+ * @param {boolean} [includesPreviousItems]
7529
+ * @param {Date} [startDate]
7530
+ * @param {Date} [endDate]
7531
+ * @param {DayOfWeek} [dayOfWeek]
7532
+ * @param {number} [page]
7533
+ * @param {number} [limit]
7534
+ * @param {Date} [lastRetrieved]
7535
+ * @param {*} [options] Override http request option.
7536
+ * @throws {RequiredError}
7537
+ * @memberof HospitalsApi
7538
+ */
7539
+ public apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
7540
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
7541
+ }
7542
+
7543
+ /**
7544
+ *
7545
+ * @summary Save Hospital appointment timetable overrides
7546
+ * @param {string} hospitalId
7547
+ * @param {SaveHospitalAppointmentTimetableOverridesCommand} [saveHospitalAppointmentTimetableOverridesCommand]
7548
+ * @param {*} [options] Override http request option.
7549
+ * @throws {RequiredError}
7550
+ * @memberof HospitalsApi
7551
+ */
7552
+ public apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost(hospitalId: string, saveHospitalAppointmentTimetableOverridesCommand?: SaveHospitalAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig) {
7553
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost(hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
7554
+ }
7555
+
7556
+ /**
7557
+ *
7558
+ * @summary Add, update, delete Hospital appointment timetables
7559
+ * @param {string} hospitalId
7560
+ * @param {BatchHospitalAppointmentTimetablesCommand} [batchHospitalAppointmentTimetablesCommand]
7561
+ * @param {*} [options] Override http request option.
7562
+ * @throws {RequiredError}
7563
+ * @memberof HospitalsApi
7564
+ */
7565
+ public apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost(hospitalId: string, batchHospitalAppointmentTimetablesCommand?: BatchHospitalAppointmentTimetablesCommand, options?: AxiosRequestConfig) {
7566
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost(hospitalId, batchHospitalAppointmentTimetablesCommand, options).then((request) => request(this.axios, this.basePath));
7567
+ }
7568
+
7569
+ /**
7570
+ *
7571
+ * @summary Get Hospital appointment timetables
7572
+ * @param {string} hospitalId
7573
+ * @param {DayOfWeek} [dayOfWeek]
7574
+ * @param {number} [page]
7575
+ * @param {number} [limit]
7576
+ * @param {Date} [lastRetrieved]
7577
+ * @param {*} [options] Override http request option.
7578
+ * @throws {RequiredError}
7579
+ * @memberof HospitalsApi
7580
+ */
7581
+ public apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
7582
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
7583
+ }
7584
+
6431
7585
  /**
6432
7586
  *
6433
7587
  * @summary Delete Hospital.
@@ -7011,6 +8165,71 @@ export class HospitalsApi extends BaseAPI {
7011
8165
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
7012
8166
  }
7013
8167
 
8168
+ /**
8169
+ *
8170
+ * @summary Get HospitalSpecialty appointment timetable overrides
8171
+ * @param {string} hospitalId
8172
+ * @param {string} hospitalSpecialtyId
8173
+ * @param {boolean} [includesPreviousItems]
8174
+ * @param {Date} [startDate]
8175
+ * @param {Date} [endDate]
8176
+ * @param {DayOfWeek} [dayOfWeek]
8177
+ * @param {number} [page]
8178
+ * @param {number} [limit]
8179
+ * @param {Date} [lastRetrieved]
8180
+ * @param {*} [options] Override http request option.
8181
+ * @throws {RequiredError}
8182
+ * @memberof HospitalsApi
8183
+ */
8184
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet(hospitalId: string, hospitalSpecialtyId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
8185
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet(hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
8186
+ }
8187
+
8188
+ /**
8189
+ *
8190
+ * @summary Save HospitalSpecialty appointment timetable overrides
8191
+ * @param {string} hospitalId
8192
+ * @param {string} hospitalSpecialtyId
8193
+ * @param {SaveHospitalSpecialtyAppointmentTimetableOverridesCommand} [saveHospitalSpecialtyAppointmentTimetableOverridesCommand]
8194
+ * @param {*} [options] Override http request option.
8195
+ * @throws {RequiredError}
8196
+ * @memberof HospitalsApi
8197
+ */
8198
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost(hospitalId: string, hospitalSpecialtyId: string, saveHospitalSpecialtyAppointmentTimetableOverridesCommand?: SaveHospitalSpecialtyAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig) {
8199
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost(hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
8200
+ }
8201
+
8202
+ /**
8203
+ *
8204
+ * @summary Add, update, delete HospitalSpecialty appointment timetables
8205
+ * @param {string} hospitalId
8206
+ * @param {string} hospitalSpecialtyId
8207
+ * @param {BatchHospitalSpecialtyAppointmentTimetablesCommand} [batchHospitalSpecialtyAppointmentTimetablesCommand]
8208
+ * @param {*} [options] Override http request option.
8209
+ * @throws {RequiredError}
8210
+ * @memberof HospitalsApi
8211
+ */
8212
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost(hospitalId: string, hospitalSpecialtyId: string, batchHospitalSpecialtyAppointmentTimetablesCommand?: BatchHospitalSpecialtyAppointmentTimetablesCommand, options?: AxiosRequestConfig) {
8213
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost(hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options).then((request) => request(this.axios, this.basePath));
8214
+ }
8215
+
8216
+ /**
8217
+ *
8218
+ * @summary Get HospitalSpecialty appointment timetables
8219
+ * @param {string} hospitalId
8220
+ * @param {string} hospitalSpecialtyId
8221
+ * @param {DayOfWeek} [dayOfWeek]
8222
+ * @param {number} [page]
8223
+ * @param {number} [limit]
8224
+ * @param {Date} [lastRetrieved]
8225
+ * @param {*} [options] Override http request option.
8226
+ * @throws {RequiredError}
8227
+ * @memberof HospitalsApi
8228
+ */
8229
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
8230
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
8231
+ }
8232
+
7014
8233
  /**
7015
8234
  *
7016
8235
  * @summary Delete HospitalSpecialty.
@@ -7221,6 +8440,75 @@ export class HospitalsApi extends BaseAPI {
7221
8440
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
7222
8441
  }
7223
8442
 
8443
+ /**
8444
+ *
8445
+ * @summary Get Service appointment timetable overrides
8446
+ * @param {string} hospitalId
8447
+ * @param {string} specialtyId
8448
+ * @param {string} serviceId
8449
+ * @param {boolean} [includesPreviousItems]
8450
+ * @param {Date} [startDate]
8451
+ * @param {Date} [endDate]
8452
+ * @param {DayOfWeek} [dayOfWeek]
8453
+ * @param {number} [page]
8454
+ * @param {number} [limit]
8455
+ * @param {Date} [lastRetrieved]
8456
+ * @param {*} [options] Override http request option.
8457
+ * @throws {RequiredError}
8458
+ * @memberof HospitalsApi
8459
+ */
8460
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet(hospitalId: string, specialtyId: string, serviceId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
8461
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet(hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
8462
+ }
8463
+
8464
+ /**
8465
+ *
8466
+ * @summary Save Service appointment timetable overrides
8467
+ * @param {string} hospitalId
8468
+ * @param {string} specialtyId
8469
+ * @param {string} serviceId
8470
+ * @param {SaveServiceAppointmentTimetableOverridesCommand} [saveServiceAppointmentTimetableOverridesCommand]
8471
+ * @param {*} [options] Override http request option.
8472
+ * @throws {RequiredError}
8473
+ * @memberof HospitalsApi
8474
+ */
8475
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost(hospitalId: string, specialtyId: string, serviceId: string, saveServiceAppointmentTimetableOverridesCommand?: SaveServiceAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig) {
8476
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost(hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
8477
+ }
8478
+
8479
+ /**
8480
+ *
8481
+ * @summary Add, update and delete service appointment timetables
8482
+ * @param {string} hospitalId
8483
+ * @param {string} specialtyId
8484
+ * @param {string} serviceId
8485
+ * @param {BatchServiceAppointmentTimetablesCommand} [batchServiceAppointmentTimetablesCommand]
8486
+ * @param {*} [options] Override http request option.
8487
+ * @throws {RequiredError}
8488
+ * @memberof HospitalsApi
8489
+ */
8490
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost(hospitalId: string, specialtyId: string, serviceId: string, batchServiceAppointmentTimetablesCommand?: BatchServiceAppointmentTimetablesCommand, options?: AxiosRequestConfig) {
8491
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost(hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options).then((request) => request(this.axios, this.basePath));
8492
+ }
8493
+
8494
+ /**
8495
+ *
8496
+ * @summary Get Service appointment timetables
8497
+ * @param {string} hospitalId
8498
+ * @param {string} specialtyId
8499
+ * @param {string} serviceId
8500
+ * @param {DayOfWeek} [dayOfWeek]
8501
+ * @param {number} [page]
8502
+ * @param {number} [limit]
8503
+ * @param {Date} [lastRetrieved]
8504
+ * @param {*} [options] Override http request option.
8505
+ * @throws {RequiredError}
8506
+ * @memberof HospitalsApi
8507
+ */
8508
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
8509
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
8510
+ }
8511
+
7224
8512
  /**
7225
8513
  *
7226
8514
  * @summary Delete HospitalService