ch-admin-api-client-typescript 5.14.27 → 5.16.2

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 (209) hide show
  1. package/lib/api/dash-board-api.d.ts +16 -81
  2. package/lib/api/dash-board-api.d.ts.map +1 -1
  3. package/lib/api/dash-board-api.js +14 -113
  4. package/lib/api/hospital-branches-api.d.ts +402 -0
  5. package/lib/api/hospital-branches-api.d.ts.map +1 -0
  6. package/lib/api/{bookings-api.js → hospital-branches-api.js} +190 -346
  7. package/lib/api/hospital-groups-api.d.ts +402 -0
  8. package/lib/api/hospital-groups-api.d.ts.map +1 -0
  9. package/lib/api/{hospitals-consultation-timetables-api.js → hospital-groups-api.js} +197 -200
  10. package/lib/api/hospitals-api.d.ts +30 -30
  11. package/lib/api/hospitals-api.d.ts.map +1 -1
  12. package/lib/api/hospitals-api.js +26 -26
  13. package/lib/api.d.ts +2 -4
  14. package/lib/api.d.ts.map +1 -1
  15. package/lib/api.js +2 -4
  16. package/lib/models/{booking-duration-statistics-model.d.ts → appointment-duration-statisctics-model.d.ts} +5 -5
  17. package/lib/models/appointment-duration-statisctics-model.d.ts.map +1 -0
  18. package/lib/models/{booking-statistics-model.d.ts → appointment-statistics-model.d.ts} +10 -10
  19. package/lib/models/appointment-statistics-model.d.ts.map +1 -0
  20. package/lib/models/create-hospital-branch-command.d.ts +73 -0
  21. package/lib/models/create-hospital-branch-command.d.ts.map +1 -0
  22. package/lib/models/create-hospital-group-command.d.ts +67 -0
  23. package/lib/models/create-hospital-group-command.d.ts.map +1 -0
  24. package/lib/models/dash-board-model.d.ts +9 -16
  25. package/lib/models/dash-board-model.d.ts.map +1 -1
  26. package/lib/models/hospital-branch-item-model.d.ts +80 -0
  27. package/lib/models/hospital-branch-item-model.d.ts.map +1 -0
  28. package/lib/models/hospital-branch-model.d.ts +98 -0
  29. package/lib/models/hospital-branch-model.d.ts.map +1 -0
  30. package/lib/models/{bookings-model.d.ts → hospital-branches-model.d.ts} +8 -8
  31. package/lib/models/hospital-branches-model.d.ts.map +1 -0
  32. package/lib/models/hospital-group-item-model.d.ts +62 -0
  33. package/lib/models/hospital-group-item-model.d.ts.map +1 -0
  34. package/lib/models/hospital-group-model.d.ts +80 -0
  35. package/lib/models/hospital-group-model.d.ts.map +1 -0
  36. package/lib/models/{consultations-model.d.ts → hospital-groups-model.d.ts} +8 -8
  37. package/lib/models/hospital-groups-model.d.ts.map +1 -0
  38. package/lib/models/index.d.ts +12 -34
  39. package/lib/models/index.d.ts.map +1 -1
  40. package/lib/models/index.js +12 -34
  41. package/lib/models/update-doctor-affiliation-command.d.ts +0 -12
  42. package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
  43. package/lib/models/update-hospital-branch-command.d.ts +61 -0
  44. package/lib/models/update-hospital-branch-command.d.ts.map +1 -0
  45. package/lib/models/update-hospital-group-command.d.ts +67 -0
  46. package/lib/models/update-hospital-group-command.d.ts.map +1 -0
  47. package/package.json +1 -1
  48. package/src/.openapi-generator/FILES +14 -38
  49. package/src/api/dash-board-api.ts +21 -139
  50. package/src/api/hospital-branches-api.ts +706 -0
  51. package/src/api/hospital-groups-api.ts +706 -0
  52. package/src/api/hospitals-api.ts +49 -49
  53. package/src/api.ts +2 -4
  54. package/src/models/{booking-duration-statistics-model.ts → appointment-duration-statisctics-model.ts} +4 -4
  55. package/src/models/{booking-statistics-model.ts → appointment-statistics-model.ts} +9 -9
  56. package/src/models/create-hospital-branch-command.ts +78 -0
  57. package/src/models/create-hospital-group-command.ts +72 -0
  58. package/src/models/dash-board-model.ts +9 -18
  59. package/src/models/hospital-branch-item-model.ts +87 -0
  60. package/src/models/hospital-branch-model.ts +105 -0
  61. package/src/models/{bookings-model.ts → hospital-branches-model.ts} +7 -7
  62. package/src/models/{hospital-consultation-timetable-override-model.ts → hospital-group-item-model.ts} +22 -16
  63. package/src/models/hospital-group-model.ts +87 -0
  64. package/src/models/{consultations-model.ts → hospital-groups-model.ts} +7 -7
  65. package/src/models/index.ts +12 -34
  66. package/src/models/update-doctor-affiliation-command.ts +0 -12
  67. package/src/models/update-hospital-branch-command.ts +66 -0
  68. package/src/models/update-hospital-group-command.ts +72 -0
  69. package/lib/api/bookings-api.d.ts +0 -558
  70. package/lib/api/bookings-api.d.ts.map +0 -1
  71. package/lib/api/consultations-api.d.ts +0 -586
  72. package/lib/api/consultations-api.d.ts.map +0 -1
  73. package/lib/api/consultations-api.js +0 -871
  74. package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts +0 -321
  75. package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts.map +0 -1
  76. package/lib/api/hospitals-consultation-timetable-overrides-api.js +0 -535
  77. package/lib/api/hospitals-consultation-timetables-api.d.ts +0 -414
  78. package/lib/api/hospitals-consultation-timetables-api.d.ts.map +0 -1
  79. package/lib/models/approve-booking-command.d.ts +0 -31
  80. package/lib/models/approve-booking-command.d.ts.map +0 -1
  81. package/lib/models/approve-consultation-command.d.ts +0 -31
  82. package/lib/models/approve-consultation-command.d.ts.map +0 -1
  83. package/lib/models/batch-add-hospital-consultation-timetable-model.d.ts +0 -38
  84. package/lib/models/batch-add-hospital-consultation-timetable-model.d.ts.map +0 -1
  85. package/lib/models/batch-hospital-consultation-timetable-result-model.d.ts +0 -38
  86. package/lib/models/batch-hospital-consultation-timetable-result-model.d.ts.map +0 -1
  87. package/lib/models/batch-hospital-consultation-timetables-command.d.ts +0 -39
  88. package/lib/models/batch-hospital-consultation-timetables-command.d.ts.map +0 -1
  89. package/lib/models/batch-update-hospital-consultation-timetable-model.d.ts +0 -44
  90. package/lib/models/batch-update-hospital-consultation-timetable-model.d.ts.map +0 -1
  91. package/lib/models/booking-change-log-model.d.ts +0 -44
  92. package/lib/models/booking-change-log-model.d.ts.map +0 -1
  93. package/lib/models/booking-duration-statistics-model.d.ts.map +0 -1
  94. package/lib/models/booking-item-model.d.ts +0 -245
  95. package/lib/models/booking-item-model.d.ts.map +0 -1
  96. package/lib/models/booking-model.d.ts +0 -252
  97. package/lib/models/booking-model.d.ts.map +0 -1
  98. package/lib/models/booking-statistics-model.d.ts.map +0 -1
  99. package/lib/models/booking-status.d.ts +0 -27
  100. package/lib/models/booking-status.d.ts.map +0 -1
  101. package/lib/models/booking-status.js +0 -30
  102. package/lib/models/bookings-model.d.ts.map +0 -1
  103. package/lib/models/consultation-change-log-model.d.ts +0 -44
  104. package/lib/models/consultation-change-log-model.d.ts.map +0 -1
  105. package/lib/models/consultation-change-log-model.js +0 -15
  106. package/lib/models/consultation-duration-statisctics-model.d.ts +0 -31
  107. package/lib/models/consultation-duration-statisctics-model.d.ts.map +0 -1
  108. package/lib/models/consultation-duration-statisctics-model.js +0 -15
  109. package/lib/models/consultation-item-model.d.ts +0 -275
  110. package/lib/models/consultation-item-model.d.ts.map +0 -1
  111. package/lib/models/consultation-item-model.js +0 -15
  112. package/lib/models/consultation-model.d.ts +0 -282
  113. package/lib/models/consultation-model.d.ts.map +0 -1
  114. package/lib/models/consultation-model.js +0 -15
  115. package/lib/models/consultation-statistics-model.d.ts +0 -44
  116. package/lib/models/consultation-statistics-model.d.ts.map +0 -1
  117. package/lib/models/consultation-statistics-model.js +0 -15
  118. package/lib/models/consultation-status.d.ts +0 -27
  119. package/lib/models/consultation-status.d.ts.map +0 -1
  120. package/lib/models/consultation-status.js +0 -30
  121. package/lib/models/consultation-type.d.ts +0 -23
  122. package/lib/models/consultation-type.d.ts.map +0 -1
  123. package/lib/models/consultation-type.js +0 -26
  124. package/lib/models/consultations-model.d.ts.map +0 -1
  125. package/lib/models/consultations-model.js +0 -15
  126. package/lib/models/create-hospital-consultation-timetable-command.d.ts +0 -38
  127. package/lib/models/create-hospital-consultation-timetable-command.d.ts.map +0 -1
  128. package/lib/models/create-hospital-consultation-timetable-command.js +0 -15
  129. package/lib/models/delete-hospital-consultation-timetable-override-command.d.ts +0 -44
  130. package/lib/models/delete-hospital-consultation-timetable-override-command.d.ts.map +0 -1
  131. package/lib/models/delete-hospital-consultation-timetable-override-command.js +0 -15
  132. package/lib/models/hospital-consultation-timetable-item-model.d.ts +0 -44
  133. package/lib/models/hospital-consultation-timetable-item-model.d.ts.map +0 -1
  134. package/lib/models/hospital-consultation-timetable-item-model.js +0 -15
  135. package/lib/models/hospital-consultation-timetable-model.d.ts +0 -44
  136. package/lib/models/hospital-consultation-timetable-model.d.ts.map +0 -1
  137. package/lib/models/hospital-consultation-timetable-model.js +0 -15
  138. package/lib/models/hospital-consultation-timetable-override-item-model.d.ts +0 -56
  139. package/lib/models/hospital-consultation-timetable-override-item-model.d.ts.map +0 -1
  140. package/lib/models/hospital-consultation-timetable-override-item-model.js +0 -15
  141. package/lib/models/hospital-consultation-timetable-override-model.d.ts +0 -56
  142. package/lib/models/hospital-consultation-timetable-override-model.d.ts.map +0 -1
  143. package/lib/models/hospital-consultation-timetable-override-model.js +0 -15
  144. package/lib/models/hospital-consultation-timetable-overrides-model.d.ts +0 -33
  145. package/lib/models/hospital-consultation-timetable-overrides-model.d.ts.map +0 -1
  146. package/lib/models/hospital-consultation-timetable-overrides-model.js +0 -15
  147. package/lib/models/hospital-consultation-timetables-model.d.ts +0 -33
  148. package/lib/models/hospital-consultation-timetables-model.d.ts.map +0 -1
  149. package/lib/models/hospital-consultation-timetables-model.js +0 -15
  150. package/lib/models/reject-booking-command.d.ts +0 -32
  151. package/lib/models/reject-booking-command.d.ts.map +0 -1
  152. package/lib/models/reject-booking-command.js +0 -15
  153. package/lib/models/reject-consultation-command.d.ts +0 -32
  154. package/lib/models/reject-consultation-command.d.ts.map +0 -1
  155. package/lib/models/reject-consultation-command.js +0 -15
  156. package/lib/models/save-hospital-consultation-timetable-override-model.d.ts +0 -43
  157. package/lib/models/save-hospital-consultation-timetable-override-model.d.ts.map +0 -1
  158. package/lib/models/save-hospital-consultation-timetable-override-model.js +0 -15
  159. package/lib/models/save-hospital-consultation-timetable-overrides-command.d.ts +0 -26
  160. package/lib/models/save-hospital-consultation-timetable-overrides-command.d.ts.map +0 -1
  161. package/lib/models/save-hospital-consultation-timetable-overrides-command.js +0 -15
  162. package/lib/models/update-hospital-consultation-timetable-command.d.ts +0 -38
  163. package/lib/models/update-hospital-consultation-timetable-command.d.ts.map +0 -1
  164. package/lib/models/update-hospital-consultation-timetable-command.js +0 -15
  165. package/src/api/bookings-api.ts +0 -962
  166. package/src/api/consultations-api.ts +0 -1006
  167. package/src/api/hospitals-consultation-timetable-overrides-api.ts +0 -553
  168. package/src/api/hospitals-consultation-timetables-api.ts +0 -718
  169. package/src/models/approve-booking-command.ts +0 -36
  170. package/src/models/approve-consultation-command.ts +0 -36
  171. package/src/models/batch-add-hospital-consultation-timetable-model.ts +0 -45
  172. package/src/models/batch-hospital-consultation-timetable-result-model.ts +0 -45
  173. package/src/models/batch-hospital-consultation-timetables-command.ts +0 -48
  174. package/src/models/batch-update-hospital-consultation-timetable-model.ts +0 -51
  175. package/src/models/booking-change-log-model.ts +0 -51
  176. package/src/models/booking-item-model.ts +0 -258
  177. package/src/models/booking-model.ts +0 -267
  178. package/src/models/booking-status.ts +0 -36
  179. package/src/models/consultation-change-log-model.ts +0 -51
  180. package/src/models/consultation-duration-statisctics-model.ts +0 -36
  181. package/src/models/consultation-item-model.ts +0 -288
  182. package/src/models/consultation-model.ts +0 -297
  183. package/src/models/consultation-statistics-model.ts +0 -51
  184. package/src/models/consultation-status.ts +0 -36
  185. package/src/models/consultation-type.ts +0 -32
  186. package/src/models/create-hospital-consultation-timetable-command.ts +0 -45
  187. package/src/models/delete-hospital-consultation-timetable-override-command.ts +0 -51
  188. package/src/models/hospital-consultation-timetable-item-model.ts +0 -51
  189. package/src/models/hospital-consultation-timetable-model.ts +0 -51
  190. package/src/models/hospital-consultation-timetable-override-item-model.ts +0 -63
  191. package/src/models/hospital-consultation-timetable-overrides-model.ts +0 -42
  192. package/src/models/hospital-consultation-timetables-model.ts +0 -42
  193. package/src/models/reject-booking-command.ts +0 -39
  194. package/src/models/reject-consultation-command.ts +0 -39
  195. package/src/models/save-hospital-consultation-timetable-override-model.ts +0 -48
  196. package/src/models/save-hospital-consultation-timetable-overrides-command.ts +0 -33
  197. package/src/models/update-hospital-consultation-timetable-command.ts +0 -45
  198. /package/lib/models/{approve-booking-command.js → appointment-duration-statisctics-model.js} +0 -0
  199. /package/lib/models/{approve-consultation-command.js → appointment-statistics-model.js} +0 -0
  200. /package/lib/models/{batch-add-hospital-consultation-timetable-model.js → create-hospital-branch-command.js} +0 -0
  201. /package/lib/models/{batch-hospital-consultation-timetable-result-model.js → create-hospital-group-command.js} +0 -0
  202. /package/lib/models/{batch-hospital-consultation-timetables-command.js → hospital-branch-item-model.js} +0 -0
  203. /package/lib/models/{batch-update-hospital-consultation-timetable-model.js → hospital-branch-model.js} +0 -0
  204. /package/lib/models/{booking-change-log-model.js → hospital-branches-model.js} +0 -0
  205. /package/lib/models/{booking-duration-statistics-model.js → hospital-group-item-model.js} +0 -0
  206. /package/lib/models/{booking-item-model.js → hospital-group-model.js} +0 -0
  207. /package/lib/models/{booking-model.js → hospital-groups-model.js} +0 -0
  208. /package/lib/models/{booking-statistics-model.js → update-hospital-branch-command.js} +0 -0
  209. /package/lib/models/{bookings-model.js → update-hospital-group-command.js} +0 -0
@@ -3183,6 +3183,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3183
3183
  *
3184
3184
  * @summary Get managers
3185
3185
  * @param {string} hospitalId
3186
+ * @param {number} [page]
3187
+ * @param {number} [limit]
3188
+ * @param {Date} [lastRetrieved]
3186
3189
  * @param {string} [id]
3187
3190
  * @param {string} [fullname]
3188
3191
  * @param {string} [email]
@@ -3190,13 +3193,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3190
3193
  * @param {Date} [dateOfBirth]
3191
3194
  * @param {Date} [created]
3192
3195
  * @param {boolean} [showHidden]
3193
- * @param {number} [page]
3194
- * @param {number} [limit]
3195
- * @param {Date} [lastRetrieved]
3196
3196
  * @param {*} [options] Override http request option.
3197
3197
  * @throws {RequiredError}
3198
3198
  */
3199
- apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3199
+ apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3200
3200
  // verify required parameter 'hospitalId' is not null or undefined
3201
3201
  assertParamExists('apiV1HospitalsHospitalIdManagersGet', 'hospitalId', hospitalId)
3202
3202
  const localVarPath = `/api/v1/hospitals/{hospitalId}/managers`
@@ -3216,6 +3216,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3216
3216
  // oauth required
3217
3217
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3218
3218
 
3219
+ if (page !== undefined) {
3220
+ localVarQueryParameter['page'] = page;
3221
+ }
3222
+
3223
+ if (limit !== undefined) {
3224
+ localVarQueryParameter['limit'] = limit;
3225
+ }
3226
+
3227
+ if (lastRetrieved !== undefined) {
3228
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3229
+ (lastRetrieved as any).toISOString() :
3230
+ lastRetrieved;
3231
+ }
3232
+
3219
3233
  if (id !== undefined) {
3220
3234
  localVarQueryParameter['Id'] = id;
3221
3235
  }
@@ -3248,20 +3262,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3248
3262
  localVarQueryParameter['ShowHidden'] = showHidden;
3249
3263
  }
3250
3264
 
3251
- if (page !== undefined) {
3252
- localVarQueryParameter['page'] = page;
3253
- }
3254
-
3255
- if (limit !== undefined) {
3256
- localVarQueryParameter['limit'] = limit;
3257
- }
3258
-
3259
- if (lastRetrieved !== undefined) {
3260
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3261
- (lastRetrieved as any).toISOString() :
3262
- lastRetrieved;
3263
- }
3264
-
3265
3265
 
3266
3266
 
3267
3267
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8495,6 +8495,9 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
8495
8495
  *
8496
8496
  * @summary Get managers
8497
8497
  * @param {string} hospitalId
8498
+ * @param {number} [page]
8499
+ * @param {number} [limit]
8500
+ * @param {Date} [lastRetrieved]
8498
8501
  * @param {string} [id]
8499
8502
  * @param {string} [fullname]
8500
8503
  * @param {string} [email]
@@ -8502,14 +8505,11 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
8502
8505
  * @param {Date} [dateOfBirth]
8503
8506
  * @param {Date} [created]
8504
8507
  * @param {boolean} [showHidden]
8505
- * @param {number} [page]
8506
- * @param {number} [limit]
8507
- * @param {Date} [lastRetrieved]
8508
8508
  * @param {*} [options] Override http request option.
8509
8509
  * @throws {RequiredError}
8510
8510
  */
8511
- async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
8512
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
8511
+ async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
8512
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options);
8513
8513
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8514
8514
  },
8515
8515
  /**
@@ -10446,6 +10446,9 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
10446
10446
  *
10447
10447
  * @summary Get managers
10448
10448
  * @param {string} hospitalId
10449
+ * @param {number} [page]
10450
+ * @param {number} [limit]
10451
+ * @param {Date} [lastRetrieved]
10449
10452
  * @param {string} [id]
10450
10453
  * @param {string} [fullname]
10451
10454
  * @param {string} [email]
@@ -10453,14 +10456,11 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
10453
10456
  * @param {Date} [dateOfBirth]
10454
10457
  * @param {Date} [created]
10455
10458
  * @param {boolean} [showHidden]
10456
- * @param {number} [page]
10457
- * @param {number} [limit]
10458
- * @param {Date} [lastRetrieved]
10459
10459
  * @param {*} [options] Override http request option.
10460
10460
  * @throws {RequiredError}
10461
10461
  */
10462
- apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
10463
- return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
10462
+ apiV1HospitalsHospitalIdManagersGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options?: any): AxiosPromise<ManagersModel> {
10463
+ return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options).then((request) => request(axios, basePath));
10464
10464
  },
10465
10465
  /**
10466
10466
  *
@@ -13452,73 +13452,73 @@ export interface HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest {
13452
13452
 
13453
13453
  /**
13454
13454
  *
13455
- * @type {string}
13455
+ * @type {number}
13456
13456
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13457
13457
  */
13458
- readonly id?: string
13458
+ readonly page?: number
13459
13459
 
13460
13460
  /**
13461
13461
  *
13462
- * @type {string}
13462
+ * @type {number}
13463
13463
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13464
13464
  */
13465
- readonly fullname?: string
13465
+ readonly limit?: number
13466
13466
 
13467
13467
  /**
13468
13468
  *
13469
- * @type {string}
13469
+ * @type {Date}
13470
13470
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13471
13471
  */
13472
- readonly email?: string
13472
+ readonly lastRetrieved?: Date
13473
13473
 
13474
13474
  /**
13475
13475
  *
13476
- * @type {Gender}
13476
+ * @type {string}
13477
13477
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13478
13478
  */
13479
- readonly gender?: Gender
13479
+ readonly id?: string
13480
13480
 
13481
13481
  /**
13482
13482
  *
13483
- * @type {Date}
13483
+ * @type {string}
13484
13484
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13485
13485
  */
13486
- readonly dateOfBirth?: Date
13486
+ readonly fullname?: string
13487
13487
 
13488
13488
  /**
13489
13489
  *
13490
- * @type {Date}
13490
+ * @type {string}
13491
13491
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13492
13492
  */
13493
- readonly created?: Date
13493
+ readonly email?: string
13494
13494
 
13495
13495
  /**
13496
13496
  *
13497
- * @type {boolean}
13497
+ * @type {Gender}
13498
13498
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13499
13499
  */
13500
- readonly showHidden?: boolean
13500
+ readonly gender?: Gender
13501
13501
 
13502
13502
  /**
13503
13503
  *
13504
- * @type {number}
13504
+ * @type {Date}
13505
13505
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13506
13506
  */
13507
- readonly page?: number
13507
+ readonly dateOfBirth?: Date
13508
13508
 
13509
13509
  /**
13510
13510
  *
13511
- * @type {number}
13511
+ * @type {Date}
13512
13512
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13513
13513
  */
13514
- readonly limit?: number
13514
+ readonly created?: Date
13515
13515
 
13516
13516
  /**
13517
13517
  *
13518
- * @type {Date}
13518
+ * @type {boolean}
13519
13519
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13520
13520
  */
13521
- readonly lastRetrieved?: Date
13521
+ readonly showHidden?: boolean
13522
13522
  }
13523
13523
 
13524
13524
  /**
@@ -17213,7 +17213,7 @@ export class HospitalsApi extends BaseAPI {
17213
17213
  * @memberof HospitalsApi
17214
17214
  */
17215
17215
  public apiV1HospitalsHospitalIdManagersGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest, options?: AxiosRequestConfig) {
17216
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17216
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, options).then((request) => request(this.axios, this.basePath));
17217
17217
  }
17218
17218
 
17219
17219
  /**
package/src/api.ts CHANGED
@@ -19,13 +19,11 @@ export * from './api/accreditations-api';
19
19
  export * from './api/app-version-api';
20
20
  export * from './api/appointments-api';
21
21
  export * from './api/articles-api';
22
- export * from './api/bookings-api';
23
22
  export * from './api/chadmins-api';
24
23
  export * from './api/chmanagers-api';
25
24
  export * from './api/call-histories-api';
26
25
  export * from './api/chat-users-api';
27
26
  export * from './api/communications-api';
28
- export * from './api/consultations-api';
29
27
  export * from './api/contributors-api';
30
28
  export * from './api/countries-api';
31
29
  export * from './api/curations-api';
@@ -40,9 +38,9 @@ export * from './api/faqs-api';
40
38
  export * from './api/grades-api';
41
39
  export * from './api/group-channels-api';
42
40
  export * from './api/header-navigations-api';
41
+ export * from './api/hospital-branches-api';
42
+ export * from './api/hospital-groups-api';
43
43
  export * from './api/hospitals-api';
44
- export * from './api/hospitals-consultation-timetable-overrides-api';
45
- export * from './api/hospitals-consultation-timetables-api';
46
44
  export * from './api/images-api';
47
45
  export * from './api/languages-api';
48
46
  export * from './api/managers-api';
@@ -17,19 +17,19 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface BookingDurationStatisticsModel
20
+ * @interface AppointmentDurationStatiscticsModel
21
21
  */
22
- export interface BookingDurationStatisticsModel {
22
+ export interface AppointmentDurationStatiscticsModel {
23
23
  /**
24
24
  *
25
25
  * @type {Date}
26
- * @memberof BookingDurationStatisticsModel
26
+ * @memberof AppointmentDurationStatiscticsModel
27
27
  */
28
28
  'key'?: Date;
29
29
  /**
30
30
  *
31
31
  * @type {number}
32
- * @memberof BookingDurationStatisticsModel
32
+ * @memberof AppointmentDurationStatiscticsModel
33
33
  */
34
34
  'value'?: number;
35
35
  }
@@ -15,37 +15,37 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import { BookingDurationStatisticsModel } from './booking-duration-statistics-model';
18
+ import { AppointmentDurationStatiscticsModel } from './appointment-duration-statisctics-model';
19
19
 
20
20
  /**
21
21
  *
22
22
  * @export
23
- * @interface BookingStatisticsModel
23
+ * @interface AppointmentStatisticsModel
24
24
  */
25
- export interface BookingStatisticsModel {
25
+ export interface AppointmentStatisticsModel {
26
26
  /**
27
27
  *
28
28
  * @type {number}
29
- * @memberof BookingStatisticsModel
29
+ * @memberof AppointmentStatisticsModel
30
30
  */
31
31
  'pendingApprovalCount'?: number;
32
32
  /**
33
33
  *
34
34
  * @type {number}
35
- * @memberof BookingStatisticsModel
35
+ * @memberof AppointmentStatisticsModel
36
36
  */
37
37
  'finishedCount'?: number;
38
38
  /**
39
39
  *
40
40
  * @type {number}
41
- * @memberof BookingStatisticsModel
41
+ * @memberof AppointmentStatisticsModel
42
42
  */
43
43
  'revenue'?: number;
44
44
  /**
45
45
  *
46
- * @type {Array<BookingDurationStatisticsModel>}
47
- * @memberof BookingStatisticsModel
46
+ * @type {Array<AppointmentDurationStatiscticsModel>}
47
+ * @memberof AppointmentStatisticsModel
48
48
  */
49
- 'monthlyList'?: Array<BookingDurationStatisticsModel> | null;
49
+ 'monthlyList'?: Array<AppointmentDurationStatiscticsModel> | null;
50
50
  }
51
51
 
@@ -0,0 +1,78 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Admin Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateHospitalBranchCommand
21
+ */
22
+ export interface CreateHospitalBranchCommand {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateHospitalBranchCommand
27
+ */
28
+ 'hospitalGroupId'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateHospitalBranchCommand
33
+ */
34
+ 'hospitalId'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CreateHospitalBranchCommand
39
+ */
40
+ 'languageCode'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CreateHospitalBranchCommand
45
+ */
46
+ 'name'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof CreateHospitalBranchCommand
51
+ */
52
+ 'description'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof CreateHospitalBranchCommand
57
+ */
58
+ 'overview'?: string | null;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof CreateHospitalBranchCommand
63
+ */
64
+ 'content'?: string | null;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof CreateHospitalBranchCommand
69
+ */
70
+ 'isConfirmed'?: boolean;
71
+ /**
72
+ *
73
+ * @type {number}
74
+ * @memberof CreateHospitalBranchCommand
75
+ */
76
+ 'order'?: number;
77
+ }
78
+
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Admin Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateHospitalGroupCommand
21
+ */
22
+ export interface CreateHospitalGroupCommand {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateHospitalGroupCommand
27
+ */
28
+ 'languageCode'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateHospitalGroupCommand
33
+ */
34
+ 'name'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CreateHospitalGroupCommand
39
+ */
40
+ 'description'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CreateHospitalGroupCommand
45
+ */
46
+ 'overview'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof CreateHospitalGroupCommand
51
+ */
52
+ 'content'?: string | null;
53
+ /**
54
+ *
55
+ * @type {boolean}
56
+ * @memberof CreateHospitalGroupCommand
57
+ */
58
+ 'isConfirmed'?: boolean;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof CreateHospitalGroupCommand
63
+ */
64
+ 'logo'?: string | null;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof CreateHospitalGroupCommand
69
+ */
70
+ 'primaryHospitalId'?: string;
71
+ }
72
+
@@ -15,15 +15,12 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import { BookingStatisticsModel } from './booking-statistics-model';
18
+ import { AppointmentStatisticsModel } from './appointment-statistics-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
21
  import { CallStatisticsModel } from './call-statistics-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
- import { ConsultationStatisticsModel } from './consultation-statistics-model';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
24
  import { GeneralStatisticsModel } from './general-statistics-model';
28
25
  // May contain unused imports in some cases
29
26
  // @ts-ignore
@@ -37,33 +34,27 @@ import { SurveyFormStatisticsModel } from './survey-form-statistics-model';
37
34
  export interface DashBoardModel {
38
35
  /**
39
36
  *
40
- * @type {ConsultationStatisticsModel}
41
- * @memberof DashBoardModel
42
- */
43
- 'consultation'?: ConsultationStatisticsModel;
44
- /**
45
- *
46
- * @type {SurveyFormStatisticsModel}
37
+ * @type {GeneralStatisticsModel}
47
38
  * @memberof DashBoardModel
48
39
  */
49
- 'surveyForm'?: SurveyFormStatisticsModel;
40
+ 'general'?: GeneralStatisticsModel;
50
41
  /**
51
42
  *
52
- * @type {CallStatisticsModel}
43
+ * @type {AppointmentStatisticsModel}
53
44
  * @memberof DashBoardModel
54
45
  */
55
- 'call'?: CallStatisticsModel;
46
+ 'appointment'?: AppointmentStatisticsModel;
56
47
  /**
57
48
  *
58
- * @type {BookingStatisticsModel}
49
+ * @type {SurveyFormStatisticsModel}
59
50
  * @memberof DashBoardModel
60
51
  */
61
- 'booking'?: BookingStatisticsModel;
52
+ 'surveyForm'?: SurveyFormStatisticsModel;
62
53
  /**
63
54
  *
64
- * @type {GeneralStatisticsModel}
55
+ * @type {CallStatisticsModel}
65
56
  * @memberof DashBoardModel
66
57
  */
67
- 'general'?: GeneralStatisticsModel;
58
+ 'call'?: CallStatisticsModel;
68
59
  }
69
60
 
@@ -0,0 +1,87 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Admin Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { AuditableEntityModel } from './auditable-entity-model';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface HospitalBranchItemModel
24
+ */
25
+ export interface HospitalBranchItemModel {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof HospitalBranchItemModel
30
+ */
31
+ 'id'?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof HospitalBranchItemModel
36
+ */
37
+ 'languageCode'?: string | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof HospitalBranchItemModel
42
+ */
43
+ 'hospitalGroupId'?: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof HospitalBranchItemModel
48
+ */
49
+ 'hospitalId'?: string;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof HospitalBranchItemModel
54
+ */
55
+ 'order'?: number;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof HospitalBranchItemModel
60
+ */
61
+ 'name'?: string | null;
62
+ /**
63
+ *
64
+ * @type {boolean}
65
+ * @memberof HospitalBranchItemModel
66
+ */
67
+ 'isConfirmed'?: boolean;
68
+ /**
69
+ *
70
+ * @type {AuditableEntityModel}
71
+ * @memberof HospitalBranchItemModel
72
+ */
73
+ 'auditableEntity'?: AuditableEntityModel;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof HospitalBranchItemModel
78
+ */
79
+ 'hospitalGroupName'?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof HospitalBranchItemModel
84
+ */
85
+ 'hospitalName'?: string | null;
86
+ }
87
+