web-core-tcm 0.0.25 → 0.0.26

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 (308) hide show
  1. package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +134 -0
  2. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +70 -0
  3. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +14 -0
  4. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +6 -0
  5. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +10 -0
  6. package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +136 -0
  7. package/dist/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +7 -0
  8. package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +164 -0
  9. package/dist/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +6 -0
  10. package/dist/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +75 -0
  11. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +8 -0
  12. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +35 -0
  13. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +42 -0
  14. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +17 -0
  15. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +156 -0
  16. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +349 -0
  17. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +39 -0
  18. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +72 -0
  19. package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +551 -0
  20. package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +159 -0
  21. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +58 -0
  22. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +350 -0
  23. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +25 -0
  24. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +145 -0
  25. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +110 -0
  26. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +107 -0
  27. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +24 -0
  28. package/dist/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +556 -0
  29. package/dist/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +36 -0
  30. package/dist/node_modules/@vue/shared/dist/shared.esm-bundler.js +26 -0
  31. package/dist/node_modules/alova/dist/adapter/fetch.esm.js +55 -0
  32. package/dist/node_modules/alova/dist/alova.esm.js +414 -0
  33. package/dist/node_modules/alova/dist/clienthook/index.esm.js +89 -0
  34. package/dist/node_modules/builder-pattern/dist/index.js +22 -0
  35. package/dist/node_modules/jwt-decode/build/esm/index.js +52 -0
  36. package/dist/node_modules/pinyin/lib/esm/pinyin.js +242260 -0
  37. package/dist/node_modules/punycode/punycode.es6.js +139 -0
  38. package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
  39. package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +4 -0
  40. package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +4 -0
  41. package/dist/src/api/algorithm/comprehensiveAlgorithm.js +16 -0
  42. package/dist/src/api/algorithm/index.d.ts +10 -0
  43. package/dist/src/api/algorithm/index.js +62 -0
  44. package/dist/src/api/algorithm/inquiriesAlgorithm.d.ts +13 -0
  45. package/dist/src/api/algorithm/inquiriesAlgorithm.js +9 -0
  46. package/dist/src/api/algorithm/inspectionsAlgorithm.d.ts +2 -0
  47. package/dist/src/api/algorithm/inspectionsAlgorithm.js +10 -0
  48. package/dist/src/api/algorithm/lisemsAlgorithm.d.ts +2 -0
  49. package/dist/src/api/algorithm/lisemsAlgorithm.js +15 -0
  50. package/dist/src/api/algorithm/pulsationsAlgorithm.d.ts +4 -0
  51. package/dist/src/api/algorithm/pulsationsAlgorithm.js +8 -0
  52. package/dist/src/api/authorization/alova/apiDefinitions.d.ts +21 -0
  53. package/dist/src/api/authorization/alova/apiDefinitions.js +9 -0
  54. package/dist/src/api/authorization/alova/createApis.d.ts +10 -0
  55. package/dist/src/api/authorization/alova/createApis.js +51 -0
  56. package/dist/src/api/authorization/alova/implement/authorization.d.ts +4 -0
  57. package/dist/src/api/authorization/alova/implement/authorization.js +15 -0
  58. package/dist/src/api/authorization/alova/index.d.ts +5 -0
  59. package/dist/src/api/authorization/alova/index.js +18 -0
  60. package/dist/src/api/authorization/authorization.d.ts +8 -0
  61. package/dist/src/api/authorization/authorization.js +16 -0
  62. package/dist/src/api/authorization/index.js +9 -0
  63. package/dist/src/api/check/alova/apiDefinitions.d.ts +28 -0
  64. package/dist/src/api/check/alova/apiDefinitions.js +16 -0
  65. package/dist/src/api/check/alova/createApis.d.ts +10 -0
  66. package/dist/src/api/check/alova/createApis.js +51 -0
  67. package/dist/src/api/check/alova/implement/check.d.ts +27 -0
  68. package/dist/src/api/check/alova/implement/check.js +119 -0
  69. package/dist/src/api/check/alova/index.d.ts +5 -0
  70. package/dist/src/api/check/alova/index.js +21 -0
  71. package/dist/src/api/check/check.d.ts +54 -0
  72. package/dist/src/api/check/check.js +131 -0
  73. package/dist/src/api/check/index.js +11 -0
  74. package/dist/src/api/config/alova/index.d.ts +5 -0
  75. package/dist/src/api/config/alova/index.js +55 -0
  76. package/dist/src/api/config/index.d.ts +23 -0
  77. package/dist/src/api/config/index.js +106 -0
  78. package/dist/src/api/device/device.d.ts +5 -0
  79. package/dist/src/api/device/device.js +46 -0
  80. package/dist/src/api/doctor/alova/apiDefinitions.d.ts +26 -0
  81. package/dist/src/api/doctor/alova/apiDefinitions.js +14 -0
  82. package/dist/src/api/doctor/alova/createApis.d.ts +10 -0
  83. package/dist/src/api/doctor/alova/createApis.js +51 -0
  84. package/dist/src/api/doctor/alova/implement/doctor.d.ts +7 -0
  85. package/dist/src/api/doctor/alova/implement/doctor.js +42 -0
  86. package/dist/src/api/doctor/alova/index.d.ts +5 -0
  87. package/dist/src/api/doctor/alova/index.js +20 -0
  88. package/dist/src/api/doctor/doctor.d.ts +22 -0
  89. package/dist/src/api/doctor/doctor.js +29 -0
  90. package/dist/src/api/doctor/index.js +9 -0
  91. package/dist/src/api/metric/implement/metric.d.ts +24 -0
  92. package/dist/src/api/metric/implement/metric.js +80 -0
  93. package/dist/src/api/metric/index.js +6 -0
  94. package/dist/src/api/metric/metric.d.ts +28 -0
  95. package/dist/src/api/metric/metric.js +75 -0
  96. package/dist/src/api/oauth/alova/apiDefinitions.d.ts +24 -0
  97. package/dist/src/api/oauth/alova/apiDefinitions.js +12 -0
  98. package/dist/src/api/oauth/alova/createApis.d.ts +10 -0
  99. package/dist/src/api/oauth/alova/createApis.js +51 -0
  100. package/dist/src/api/oauth/alova/implement/oauth.d.ts +4 -0
  101. package/dist/src/api/oauth/alova/implement/oauth.js +15 -0
  102. package/dist/src/api/oauth/alova/index.d.ts +5 -0
  103. package/dist/src/api/oauth/alova/index.js +17 -0
  104. package/dist/src/api/oauth/index.js +9 -0
  105. package/dist/src/api/oauth/oauth.d.ts +7 -0
  106. package/dist/src/api/oauth/oauth.js +16 -0
  107. package/dist/src/api/outpatient/alova/apiDefinitions.d.ts +25 -0
  108. package/dist/src/api/outpatient/alova/apiDefinitions.js +13 -0
  109. package/dist/src/api/outpatient/alova/createApis.d.ts +10 -0
  110. package/dist/src/api/outpatient/alova/createApis.js +51 -0
  111. package/dist/src/api/outpatient/alova/implement/outpatient.d.ts +10 -0
  112. package/dist/src/api/outpatient/alova/implement/outpatient.js +71 -0
  113. package/dist/src/api/outpatient/alova/index.d.ts +5 -0
  114. package/dist/src/api/outpatient/alova/index.js +21 -0
  115. package/dist/src/api/outpatient/index.js +11 -0
  116. package/dist/src/api/outpatient/outpatient.d.ts +39 -0
  117. package/dist/src/api/outpatient/outpatient.js +45 -0
  118. package/dist/src/api/patient/alova/apiDefinitions.d.ts +39 -0
  119. package/dist/src/api/patient/alova/apiDefinitions.js +27 -0
  120. package/dist/src/api/patient/alova/createApis.d.ts +10 -0
  121. package/dist/src/api/patient/alova/createApis.js +51 -0
  122. package/dist/src/api/patient/alova/implement/meta.d.ts +113 -0
  123. package/dist/src/api/patient/alova/implement/meta.js +404 -0
  124. package/dist/src/api/patient/alova/implement/patient.d.ts +22 -0
  125. package/dist/src/api/patient/alova/implement/patient.js +72 -0
  126. package/dist/src/api/patient/alova/index.d.ts +5 -0
  127. package/dist/src/api/patient/alova/index.js +22 -0
  128. package/dist/src/api/patient/core.d.ts +50 -0
  129. package/dist/src/api/patient/core.js +109 -0
  130. package/dist/src/api/patient/index.js +46 -0
  131. package/dist/src/api/patient/meta.d.ts +238 -0
  132. package/dist/src/api/patient/meta.js +454 -0
  133. package/dist/src/api/patient/patient.d.ts +43 -0
  134. package/dist/src/api/patient/patient.js +42 -0
  135. package/dist/src/api/prescription/alova/apiDefinitions.d.ts +27 -0
  136. package/dist/src/api/prescription/alova/apiDefinitions.js +15 -0
  137. package/dist/src/api/prescription/alova/createApis.d.ts +10 -0
  138. package/dist/src/api/prescription/alova/createApis.js +51 -0
  139. package/dist/src/api/prescription/alova/implement/herbal.d.ts +15 -0
  140. package/dist/src/api/prescription/alova/implement/herbal.js +54 -0
  141. package/dist/src/api/prescription/alova/implement/prescription.d.ts +15 -0
  142. package/dist/src/api/prescription/alova/implement/prescription.js +49 -0
  143. package/dist/src/api/prescription/alova/index.d.ts +5 -0
  144. package/dist/src/api/prescription/alova/index.js +20 -0
  145. package/dist/src/api/prescription/herbal.d.ts +19 -0
  146. package/dist/src/api/prescription/herbal.js +34 -0
  147. package/dist/src/api/prescription/index.js +13 -0
  148. package/dist/src/api/prescription/prescription.d.ts +26 -0
  149. package/dist/src/api/prescription/prescription.js +49 -0
  150. package/dist/src/api/scientist/alova/apiDefinitions.d.ts +25 -0
  151. package/dist/src/api/scientist/alova/apiDefinitions.js +13 -0
  152. package/dist/src/api/scientist/alova/createApis.d.ts +10 -0
  153. package/dist/src/api/scientist/alova/createApis.js +51 -0
  154. package/dist/src/api/scientist/alova/implement/scientist.d.ts +6 -0
  155. package/dist/src/api/scientist/alova/implement/scientist.js +35 -0
  156. package/dist/src/api/scientist/alova/index.d.ts +6 -0
  157. package/dist/src/api/scientist/alova/index.js +21 -0
  158. package/dist/src/api/scientist/index.js +9 -0
  159. package/dist/src/api/scientist/scientist.d.ts +20 -0
  160. package/dist/src/api/scientist/scientist.js +37 -0
  161. package/dist/src/components/models.d.ts +7 -0
  162. package/dist/src/index.js +36 -0
  163. package/dist/src/pages/LoginPage.vue.d.ts +2 -0
  164. package/dist/src/proto/types/Images_pb.d.ts +34 -0
  165. package/dist/src/proto/types/Images_pb.js +10 -0
  166. package/dist/src/proto/types/WaveMap_pb.d.ts +48 -0
  167. package/dist/src/proto/types/WaveMap_pb.js +10 -0
  168. package/dist/src/router/index.d.ts +2 -0
  169. package/dist/src/router/routes.d.ts +3 -0
  170. package/dist/src/util/RichTextUtil.d.ts +1 -0
  171. package/dist/src/util/RichTextUtil.js +6 -0
  172. package/dist/src/util/datetime.d.ts +5 -0
  173. package/dist/src/util/export.d.ts +4 -0
  174. package/dist/src/util/helper.d.ts +65 -0
  175. package/dist/src/util/helper.js +46 -0
  176. package/dist/src/util/image.d.ts +2 -0
  177. package/dist/src/util/image.js +17 -0
  178. package/dist/src/util/number.d.ts +12 -0
  179. package/dist/src/util/s256.d.ts +2 -0
  180. package/dist/src/util/secret.d.ts +10 -0
  181. package/dist/src/util/string.d.ts +21 -0
  182. package/dist/src/util/string.js +10 -0
  183. package/package.json +4 -1
  184. package/.editorconfig +0 -7
  185. package/.github/workflows/test.yml +0 -29
  186. package/.prettierrc.json +0 -5
  187. package/.vscode/extensions.json +0 -15
  188. package/.vscode/settings.json +0 -9
  189. package/eslint.config.js +0 -83
  190. package/index.html +0 -24
  191. package/postcss.config.js +0 -29
  192. package/quasar.config.ts +0 -233
  193. package/src/App.vue +0 -7
  194. package/src/api/algorithm/comprehensiveAlgorithm.ts +0 -20
  195. package/src/api/algorithm/index.ts +0 -50
  196. package/src/api/algorithm/inquiriesAlgorithm.ts +0 -16
  197. package/src/api/algorithm/inspectionsAlgorithm.ts +0 -11
  198. package/src/api/algorithm/lisemsAlgorithm.ts +0 -16
  199. package/src/api/algorithm/pulsationsAlgorithm.ts +0 -8
  200. package/src/api/authorization/alova/apiDefinitions.ts +0 -23
  201. package/src/api/authorization/alova/createApis.ts +0 -114
  202. package/src/api/authorization/alova/globals.d.ts +0 -394
  203. package/src/api/authorization/alova/implement/authorization.ts +0 -14
  204. package/src/api/authorization/alova/index.ts +0 -22
  205. package/src/api/authorization/authorization.ts +0 -16
  206. package/src/api/check/alova/apiDefinitions.ts +0 -30
  207. package/src/api/check/alova/createApis.ts +0 -114
  208. package/src/api/check/alova/globals.d.ts +0 -1257
  209. package/src/api/check/alova/implement/check.ts +0 -165
  210. package/src/api/check/alova/index.ts +0 -22
  211. package/src/api/check/check.ts +0 -217
  212. package/src/api/config/alova/index.ts +0 -71
  213. package/src/api/config/index.ts +0 -132
  214. package/src/api/device/device.js +0 -58
  215. package/src/api/doctor/alova/apiDefinitions.ts +0 -28
  216. package/src/api/doctor/alova/createApis.ts +0 -114
  217. package/src/api/doctor/alova/globals.d.ts +0 -559
  218. package/src/api/doctor/alova/implement/doctor.ts +0 -51
  219. package/src/api/doctor/alova/index.ts +0 -23
  220. package/src/api/doctor/doctor.ts +0 -53
  221. package/src/api/metric/implement/metric.ts +0 -108
  222. package/src/api/metric/metric.ts +0 -114
  223. package/src/api/oauth/alova/apiDefinitions.ts +0 -26
  224. package/src/api/oauth/alova/createApis.ts +0 -114
  225. package/src/api/oauth/alova/globals.d.ts +0 -460
  226. package/src/api/oauth/alova/implement/oauth.ts +0 -24
  227. package/src/api/oauth/alova/index.ts +0 -21
  228. package/src/api/oauth/oauth.ts +0 -19
  229. package/src/api/outpatient/alova/apiDefinitions.ts +0 -27
  230. package/src/api/outpatient/alova/createApis.ts +0 -114
  231. package/src/api/outpatient/alova/globals.d.ts +0 -685
  232. package/src/api/outpatient/alova/implement/outpatient.ts +0 -91
  233. package/src/api/outpatient/alova/index.ts +0 -22
  234. package/src/api/outpatient/outpatient.ts +0 -67
  235. package/src/api/patient/alova/apiDefinitions.ts +0 -41
  236. package/src/api/patient/alova/createApis.ts +0 -114
  237. package/src/api/patient/alova/globals.d.ts +0 -1690
  238. package/src/api/patient/alova/implement/meta.ts +0 -517
  239. package/src/api/patient/alova/implement/patient.ts +0 -99
  240. package/src/api/patient/alova/index.ts +0 -22
  241. package/src/api/patient/core.ts +0 -133
  242. package/src/api/patient/meta.ts +0 -570
  243. package/src/api/patient/patient.ts +0 -98
  244. package/src/api/prescription/alova/apiDefinitions.ts +0 -29
  245. package/src/api/prescription/alova/createApis.ts +0 -114
  246. package/src/api/prescription/alova/globals.d.ts +0 -968
  247. package/src/api/prescription/alova/implement/herbal.ts +0 -68
  248. package/src/api/prescription/alova/implement/prescription.ts +0 -62
  249. package/src/api/prescription/alova/index.ts +0 -22
  250. package/src/api/prescription/herbal.ts +0 -51
  251. package/src/api/prescription/prescription.ts +0 -76
  252. package/src/api/scientist/alova/apiDefinitions.ts +0 -27
  253. package/src/api/scientist/alova/createApis.ts +0 -114
  254. package/src/api/scientist/alova/globals.d.ts +0 -447
  255. package/src/api/scientist/alova/implement/scientist.ts +0 -40
  256. package/src/api/scientist/alova/index.ts +0 -24
  257. package/src/api/scientist/scientist.ts +0 -49
  258. package/src/assets/quasar-logo-vertical.svg +0 -15
  259. package/src/boot/.gitkeep +0 -0
  260. package/src/components/ExampleComponent.vue +0 -37
  261. package/src/components/models.ts +0 -8
  262. package/src/css/app.scss +0 -1
  263. package/src/css/quasar.variables.scss +0 -25
  264. package/src/env.d.ts +0 -7
  265. package/src/layouts/UserLayout.vue +0 -108
  266. package/src/pages/LoginPage.vue +0 -29
  267. package/src/proto/Images.proto +0 -7
  268. package/src/proto/WaveMap.proto +0 -10
  269. package/src/proto/types/Images_pb.ts +0 -48
  270. package/src/proto/types/WaveMap_pb.ts +0 -59
  271. package/src/router/index.ts +0 -37
  272. package/src/router/routes.ts +0 -14
  273. package/src/util/RichTextUtil.ts +0 -5
  274. package/src/util/datetime.ts +0 -43
  275. package/src/util/export.ts +0 -46
  276. package/src/util/helper.ts +0 -159
  277. package/src/util/image.ts +0 -28
  278. package/src/util/number.ts +0 -146
  279. package/src/util/s256.js +0 -27
  280. package/src/util/secret.ts +0 -60
  281. package/src/util/string.ts +0 -121
  282. package/tsconfig.json +0 -7
  283. /package/{public → dist}/favicon.ico +0 -0
  284. /package/{public → dist}/icons/favicon-128x128.png +0 -0
  285. /package/{public → dist}/icons/favicon-16x16.png +0 -0
  286. /package/{public → dist}/icons/favicon-32x32.png +0 -0
  287. /package/{public → dist}/icons/favicon-96x96.png +0 -0
  288. /package/{src/api/authorization/alova/implement/index.ts → dist/src/api/authorization/alova/implement/index.d.ts} +0 -0
  289. /package/{src/api/authorization/index.ts → dist/src/api/authorization/index.d.ts} +0 -0
  290. /package/{src/api/check/alova/implement/index.ts → dist/src/api/check/alova/implement/index.d.ts} +0 -0
  291. /package/{src/api/check/index.ts → dist/src/api/check/index.d.ts} +0 -0
  292. /package/{src/api/doctor/alova/implement/index.ts → dist/src/api/doctor/alova/implement/index.d.ts} +0 -0
  293. /package/{src/api/doctor/index.ts → dist/src/api/doctor/index.d.ts} +0 -0
  294. /package/{src/api/index.ts → dist/src/api/index.d.ts} +0 -0
  295. /package/{src/api/metric/implement/index.ts → dist/src/api/metric/implement/index.d.ts} +0 -0
  296. /package/{src/api/metric/index.ts → dist/src/api/metric/index.d.ts} +0 -0
  297. /package/{src/api/oauth/alova/implement/index.ts → dist/src/api/oauth/alova/implement/index.d.ts} +0 -0
  298. /package/{src/api/oauth/index.ts → dist/src/api/oauth/index.d.ts} +0 -0
  299. /package/{src/api/outpatient/alova/implement/index.ts → dist/src/api/outpatient/alova/implement/index.d.ts} +0 -0
  300. /package/{src/api/outpatient/index.ts → dist/src/api/outpatient/index.d.ts} +0 -0
  301. /package/{src/api/patient/alova/implement/index.ts → dist/src/api/patient/alova/implement/index.d.ts} +0 -0
  302. /package/{src/api/patient/index.ts → dist/src/api/patient/index.d.ts} +0 -0
  303. /package/{src/api/prescription/alova/implement/index.ts → dist/src/api/prescription/alova/implement/index.d.ts} +0 -0
  304. /package/{src/api/prescription/index.ts → dist/src/api/prescription/index.d.ts} +0 -0
  305. /package/{src/api/scientist/alova/implement/index.ts → dist/src/api/scientist/alova/implement/index.d.ts} +0 -0
  306. /package/{src/api/scientist/index.ts → dist/src/api/scientist/index.d.ts} +0 -0
  307. /package/{src/index.ts → dist/src/index.d.ts} +0 -0
  308. /package/{src/proto/index.ts → dist/src/proto/index.d.ts} +0 -0
@@ -1,1257 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * OpenAPI definition - version v0
5
- *
6
- *
7
- *
8
- * OpenAPI version: 3.1.0
9
- *
10
- *
11
- * NOTE: This file is auto generated by the alova's vscode plugin.
12
- *
13
- * https://alova.js.org/devtools/vscode
14
- *
15
- * **Do not edit the file manually.**
16
- */
17
- import type { Alova, AlovaMethodCreateConfig, AlovaGenerics, Method } from 'alova';
18
- import type { $$userConfigMap, alovaInstance } from './index';
19
- import type apiDefinitions from './apiDefinitions';
20
-
21
- type CollapsedAlova = typeof alovaInstance;
22
- type UserMethodConfigMap = typeof $$userConfigMap;
23
-
24
- type Alova2MethodConfig<Responded> =
25
- CollapsedAlova extends Alova<
26
- AlovaGenerics<
27
- any,
28
- any,
29
- infer RequestConfig,
30
- infer Response,
31
- infer ResponseHeader,
32
- infer L1Cache,
33
- infer L2Cache,
34
- infer SE
35
- >
36
- >
37
- ? Omit<
38
- AlovaMethodCreateConfig<
39
- AlovaGenerics<
40
- Responded,
41
- any,
42
- RequestConfig,
43
- Response,
44
- ResponseHeader,
45
- L1Cache,
46
- L2Cache,
47
- SE
48
- >,
49
- any,
50
- Responded
51
- >,
52
- 'params'
53
- >
54
- : never;
55
-
56
- // Extract the return type of transform function that define in $$userConfigMap, if it not exists, use the default type.
57
- type ExtractUserDefinedTransformed<
58
- DefinitionKey extends keyof typeof apiDefinitions,
59
- Default,
60
- > = DefinitionKey extends keyof UserMethodConfigMap
61
- ? UserMethodConfigMap[DefinitionKey]['transform'] extends (...args: any[]) => any
62
- ? Awaited<ReturnType<UserMethodConfigMap[DefinitionKey]['transform']>>
63
- : Default
64
- : Default;
65
- type Alova2Method<
66
- Responded,
67
- DefinitionKey extends keyof typeof apiDefinitions,
68
- CurrentConfig extends Alova2MethodConfig<any>,
69
- > =
70
- CollapsedAlova extends Alova<
71
- AlovaGenerics<
72
- any,
73
- any,
74
- infer RequestConfig,
75
- infer Response,
76
- infer ResponseHeader,
77
- infer L1Cache,
78
- infer L2Cache,
79
- infer SE
80
- >
81
- >
82
- ? Method<
83
- AlovaGenerics<
84
- CurrentConfig extends undefined
85
- ? ExtractUserDefinedTransformed<DefinitionKey, Responded>
86
- : CurrentConfig['transform'] extends (...args: any[]) => any
87
- ? Awaited<ReturnType<CurrentConfig['transform']>>
88
- : ExtractUserDefinedTransformed<DefinitionKey, Responded>,
89
- any,
90
- RequestConfig,
91
- Response,
92
- ResponseHeader,
93
- L1Cache,
94
- L2Cache,
95
- SE
96
- >
97
- >
98
- : never;
99
-
100
- export interface AnnotationState {
101
- value?: string;
102
- actor?: string;
103
- timestamp?: string;
104
- }
105
- export interface TagState {
106
- key?: string;
107
- annotationsState?: AnnotationState[];
108
- }
109
- export interface PatientState {
110
- id?: string;
111
- doctorId?: string;
112
- name?: string;
113
- createdTimestamp?: string;
114
- updatedTimestamp?: string;
115
- identity?: string;
116
- gender?: string;
117
- phoneNumber?: string;
118
- birthdate?: string;
119
- remarks?: string[];
120
- tagsState?: TagState[];
121
- mainSymptom?: string;
122
- }
123
- export interface MetaState {
124
- id?: string;
125
- ownerState?: PatientState;
126
- type?: string;
127
- tagsState?: TagState[];
128
- createdTimestamp?: string;
129
- updatedTimestamp?: string;
130
- }
131
- export interface DoctorState {
132
- id?: string;
133
- name?: string;
134
- createdTimestamp?: string;
135
- updatedTimestamp?: string;
136
- gender?: string;
137
- identityNumber?: string;
138
- phoneNumber?: string;
139
- birthdate?: string;
140
- }
141
- export interface CheckState {
142
- id?: string;
143
- metasState?: MetaState[];
144
- prescriptionsState?: string;
145
- diagnosis?: string;
146
- doctorState?: DoctorState;
147
- patientState?: PatientState;
148
- paymentType?: string;
149
- outpatientType?: string;
150
- createdTimestamp?: string;
151
- updatedTimestamp?: string;
152
- tagsState?: TagState[];
153
- prescriptionPaymentStatus?: number;
154
- outboundStatus?: number;
155
- }
156
- export interface DateDistribute {
157
- date?: string;
158
- count?: number;
159
- }
160
- export interface GenderDistribute {
161
- gender?: string;
162
- count?: number;
163
- }
164
- export interface AgeDistribute {
165
- age?: number;
166
- count?: number;
167
- }
168
- export interface SortObject {
169
- empty?: boolean;
170
- sorted?: boolean;
171
- unsorted?: boolean;
172
- }
173
- export interface PageableObject {
174
- offset?: number;
175
- sort?: SortObject;
176
- pageSize?: number;
177
- paged?: boolean;
178
- pageNumber?: number;
179
- unpaged?: boolean;
180
- }
181
- export interface PageCheckState {
182
- totalPages?: number;
183
- totalElements?: number;
184
- size?: number;
185
- content?: CheckState[];
186
- number?: number;
187
- sort?: SortObject;
188
- first?: boolean;
189
- last?: boolean;
190
- numberOfElements?: number;
191
- pageable?: PageableObject;
192
- empty?: boolean;
193
- }
194
- export interface PaymentState {
195
- id?: string;
196
- prescription?: string;
197
- doctorId?: string;
198
- patientId?: string;
199
- patientName?: string;
200
- patientPhone?: string;
201
- patientGender?: string;
202
- createdTimestamp?: number;
203
- updatedTimestamp?: number;
204
- prescriptionPaymentStatus?: number;
205
- outboundStatus?: number;
206
- }
207
- export interface PagePaymentState {
208
- totalPages?: number;
209
- totalElements?: number;
210
- size?: number;
211
- content?: PaymentState[];
212
- number?: number;
213
- sort?: SortObject;
214
- first?: boolean;
215
- last?: boolean;
216
- numberOfElements?: number;
217
- pageable?: PageableObject;
218
- empty?: boolean;
219
- }
220
- declare global {
221
- interface checkApi {
222
- checkStateRestful: {
223
- /**
224
- * ---
225
- *
226
- * [GET]
227
- *
228
- * **path:** /病历/服务/{id}
229
- *
230
- * ---
231
- *
232
- * **Path Parameters**
233
- * ```ts
234
- * type PathParameters = {
235
- * id: string
236
- * }
237
- * ```
238
- *
239
- * ---
240
- *
241
- * **Response**
242
- * ```ts
243
- * type Response = {
244
- * id?: string
245
- * // [items] start
246
- * // [items] end
247
- * metasState?: Array<{
248
- * id?: string
249
- * ownerState?: {
250
- * id?: string
251
- * doctorId?: string
252
- * name?: string
253
- * createdTimestamp?: string
254
- * updatedTimestamp?: string
255
- * identity?: string
256
- * gender?: string
257
- * phoneNumber?: string
258
- * birthdate?: string
259
- * // [items] start
260
- * // [items] end
261
- * remarks?: string[]
262
- * // [items] start
263
- * // [items] end
264
- * tagsState?: Array<{
265
- * key?: string
266
- * // [items] start
267
- * // [items] end
268
- * annotationsState?: Array<{
269
- * value?: string
270
- * actor?: string
271
- * timestamp?: string
272
- * }>
273
- * }>
274
- * mainSymptom?: string
275
- * }
276
- * type?: string
277
- * // [items] start
278
- * // [items] end
279
- * tagsState?: Array<{
280
- * key?: string
281
- * // [items] start
282
- * // [items] end
283
- * annotationsState?: Array<{
284
- * value?: string
285
- * actor?: string
286
- * timestamp?: string
287
- * }>
288
- * }>
289
- * createdTimestamp?: string
290
- * updatedTimestamp?: string
291
- * }>
292
- * prescriptionsState?: string
293
- * diagnosis?: string
294
- * doctorState?: {
295
- * id?: string
296
- * name?: string
297
- * createdTimestamp?: string
298
- * updatedTimestamp?: string
299
- * gender?: string
300
- * identityNumber?: string
301
- * phoneNumber?: string
302
- * birthdate?: string
303
- * }
304
- * patientState?: {
305
- * id?: string
306
- * doctorId?: string
307
- * name?: string
308
- * createdTimestamp?: string
309
- * updatedTimestamp?: string
310
- * identity?: string
311
- * gender?: string
312
- * phoneNumber?: string
313
- * birthdate?: string
314
- * // [items] start
315
- * // [items] end
316
- * remarks?: string[]
317
- * // [items] start
318
- * // [items] end
319
- * tagsState?: Array<{
320
- * key?: string
321
- * // [items] start
322
- * // [items] end
323
- * annotationsState?: Array<{
324
- * value?: string
325
- * actor?: string
326
- * timestamp?: string
327
- * }>
328
- * }>
329
- * mainSymptom?: string
330
- * }
331
- * paymentType?: string
332
- * outpatientType?: string
333
- * createdTimestamp?: string
334
- * updatedTimestamp?: string
335
- * // [items] start
336
- * // [items] end
337
- * tagsState?: Array<{
338
- * key?: string
339
- * // [items] start
340
- * // [items] end
341
- * annotationsState?: Array<{
342
- * value?: string
343
- * actor?: string
344
- * timestamp?: string
345
- * }>
346
- * }>
347
- * prescriptionPaymentStatus?: number
348
- * outboundStatus?: number
349
- * }
350
- * ```
351
- */
352
- getCheckState<
353
- Config extends Alova2MethodConfig<CheckState> & {
354
- pathParams: {
355
- id: string;
356
- };
357
- },
358
- >(
359
- config: Config,
360
- ): Alova2Method<CheckState, 'checkStateRestful.getCheckState', Config>;
361
- /**
362
- * ---
363
- *
364
- * [PUT]
365
- *
366
- * **path:** /病历/服务/{id}
367
- *
368
- * ---
369
- *
370
- * **Path Parameters**
371
- * ```ts
372
- * type PathParameters = {
373
- * id: string
374
- * }
375
- * ```
376
- *
377
- * ---
378
- *
379
- * **RequestBody**
380
- * ```ts
381
- * type RequestBody = {
382
- * id?: string
383
- * // [items] start
384
- * // [items] end
385
- * metasState?: Array<{
386
- * id?: string
387
- * ownerState?: {
388
- * id?: string
389
- * doctorId?: string
390
- * name?: string
391
- * createdTimestamp?: string
392
- * updatedTimestamp?: string
393
- * identity?: string
394
- * gender?: string
395
- * phoneNumber?: string
396
- * birthdate?: string
397
- * // [items] start
398
- * // [items] end
399
- * remarks?: string[]
400
- * // [items] start
401
- * // [items] end
402
- * tagsState?: Array<{
403
- * key?: string
404
- * // [items] start
405
- * // [items] end
406
- * annotationsState?: Array<{
407
- * value?: string
408
- * actor?: string
409
- * timestamp?: string
410
- * }>
411
- * }>
412
- * mainSymptom?: string
413
- * }
414
- * type?: string
415
- * // [items] start
416
- * // [items] end
417
- * tagsState?: Array<{
418
- * key?: string
419
- * // [items] start
420
- * // [items] end
421
- * annotationsState?: Array<{
422
- * value?: string
423
- * actor?: string
424
- * timestamp?: string
425
- * }>
426
- * }>
427
- * createdTimestamp?: string
428
- * updatedTimestamp?: string
429
- * }>
430
- * prescriptionsState?: string
431
- * diagnosis?: string
432
- * doctorState?: {
433
- * id?: string
434
- * name?: string
435
- * createdTimestamp?: string
436
- * updatedTimestamp?: string
437
- * gender?: string
438
- * identityNumber?: string
439
- * phoneNumber?: string
440
- * birthdate?: string
441
- * }
442
- * patientState?: {
443
- * id?: string
444
- * doctorId?: string
445
- * name?: string
446
- * createdTimestamp?: string
447
- * updatedTimestamp?: string
448
- * identity?: string
449
- * gender?: string
450
- * phoneNumber?: string
451
- * birthdate?: string
452
- * // [items] start
453
- * // [items] end
454
- * remarks?: string[]
455
- * // [items] start
456
- * // [items] end
457
- * tagsState?: Array<{
458
- * key?: string
459
- * // [items] start
460
- * // [items] end
461
- * annotationsState?: Array<{
462
- * value?: string
463
- * actor?: string
464
- * timestamp?: string
465
- * }>
466
- * }>
467
- * mainSymptom?: string
468
- * }
469
- * paymentType?: string
470
- * outpatientType?: string
471
- * createdTimestamp?: string
472
- * updatedTimestamp?: string
473
- * // [items] start
474
- * // [items] end
475
- * tagsState?: Array<{
476
- * key?: string
477
- * // [items] start
478
- * // [items] end
479
- * annotationsState?: Array<{
480
- * value?: string
481
- * actor?: string
482
- * timestamp?: string
483
- * }>
484
- * }>
485
- * prescriptionPaymentStatus?: number
486
- * outboundStatus?: number
487
- * }
488
- * ```
489
- *
490
- * ---
491
- *
492
- * **Response**
493
- * ```ts
494
- * type Response = {
495
- * id?: string
496
- * // [items] start
497
- * // [items] end
498
- * metasState?: Array<{
499
- * id?: string
500
- * ownerState?: {
501
- * id?: string
502
- * doctorId?: string
503
- * name?: string
504
- * createdTimestamp?: string
505
- * updatedTimestamp?: string
506
- * identity?: string
507
- * gender?: string
508
- * phoneNumber?: string
509
- * birthdate?: string
510
- * // [items] start
511
- * // [items] end
512
- * remarks?: string[]
513
- * // [items] start
514
- * // [items] end
515
- * tagsState?: Array<{
516
- * key?: string
517
- * // [items] start
518
- * // [items] end
519
- * annotationsState?: Array<{
520
- * value?: string
521
- * actor?: string
522
- * timestamp?: string
523
- * }>
524
- * }>
525
- * mainSymptom?: string
526
- * }
527
- * type?: string
528
- * // [items] start
529
- * // [items] end
530
- * tagsState?: Array<{
531
- * key?: string
532
- * // [items] start
533
- * // [items] end
534
- * annotationsState?: Array<{
535
- * value?: string
536
- * actor?: string
537
- * timestamp?: string
538
- * }>
539
- * }>
540
- * createdTimestamp?: string
541
- * updatedTimestamp?: string
542
- * }>
543
- * prescriptionsState?: string
544
- * diagnosis?: string
545
- * doctorState?: {
546
- * id?: string
547
- * name?: string
548
- * createdTimestamp?: string
549
- * updatedTimestamp?: string
550
- * gender?: string
551
- * identityNumber?: string
552
- * phoneNumber?: string
553
- * birthdate?: string
554
- * }
555
- * patientState?: {
556
- * id?: string
557
- * doctorId?: string
558
- * name?: string
559
- * createdTimestamp?: string
560
- * updatedTimestamp?: string
561
- * identity?: string
562
- * gender?: string
563
- * phoneNumber?: string
564
- * birthdate?: string
565
- * // [items] start
566
- * // [items] end
567
- * remarks?: string[]
568
- * // [items] start
569
- * // [items] end
570
- * tagsState?: Array<{
571
- * key?: string
572
- * // [items] start
573
- * // [items] end
574
- * annotationsState?: Array<{
575
- * value?: string
576
- * actor?: string
577
- * timestamp?: string
578
- * }>
579
- * }>
580
- * mainSymptom?: string
581
- * }
582
- * paymentType?: string
583
- * outpatientType?: string
584
- * createdTimestamp?: string
585
- * updatedTimestamp?: string
586
- * // [items] start
587
- * // [items] end
588
- * tagsState?: Array<{
589
- * key?: string
590
- * // [items] start
591
- * // [items] end
592
- * annotationsState?: Array<{
593
- * value?: string
594
- * actor?: string
595
- * timestamp?: string
596
- * }>
597
- * }>
598
- * prescriptionPaymentStatus?: number
599
- * outboundStatus?: number
600
- * }
601
- * ```
602
- */
603
- putCheckState<
604
- Config extends Alova2MethodConfig<CheckState> & {
605
- pathParams: {
606
- id: string;
607
- };
608
- data: CheckState;
609
- },
610
- >(
611
- config: Config,
612
- ): Alova2Method<CheckState, 'checkStateRestful.putCheckState', Config>;
613
- /**
614
- * ---
615
- *
616
- * [DELETE]
617
- *
618
- * **path:** /病历/服务/{id}
619
- *
620
- * ---
621
- *
622
- * **Path Parameters**
623
- * ```ts
624
- * type PathParameters = {
625
- * id: string
626
- * }
627
- * ```
628
- *
629
- * ---
630
- *
631
- * **Response**
632
- * ```ts
633
- * type Response = null
634
- * ```
635
- */
636
- deleteCheckState<
637
- Config extends Alova2MethodConfig<null> & {
638
- pathParams: {
639
- id: string;
640
- };
641
- },
642
- >(
643
- config: Config,
644
- ): Alova2Method<null, 'checkStateRestful.deleteCheckState', Config>;
645
- /**
646
- * ---
647
- *
648
- * [GET]
649
- *
650
- * **path:** /病历/服务
651
- *
652
- * ---
653
- *
654
- * **Query Parameters**
655
- * ```ts
656
- * type QueryParameters = {
657
- * patientId?: string
658
- * doctorId?: string
659
- * startTime?: string
660
- * endTime?: string
661
- * patientName?: string
662
- * patientGender?: string
663
- * patientPhoneNumber?: string
664
- * pageSize: number
665
- * page: number
666
- * sort: string
667
- * }
668
- * ```
669
- *
670
- * ---
671
- *
672
- * **Response**
673
- * ```ts
674
- * type Response = {
675
- * totalPages?: number
676
- * totalElements?: number
677
- * size?: number
678
- * // [items] start
679
- * // [items] end
680
- * content?: Array<{
681
- * id?: string
682
- * // [items] start
683
- * // [items] end
684
- * metasState?: Array<{
685
- * id?: string
686
- * ownerState?: {
687
- * id?: string
688
- * doctorId?: string
689
- * name?: string
690
- * createdTimestamp?: string
691
- * updatedTimestamp?: string
692
- * identity?: string
693
- * gender?: string
694
- * phoneNumber?: string
695
- * birthdate?: string
696
- * // [items] start
697
- * // [items] end
698
- * remarks?: string[]
699
- * // [items] start
700
- * // [items] end
701
- * tagsState?: Array<{
702
- * key?: string
703
- * // [items] start
704
- * // [items] end
705
- * annotationsState?: Array<{
706
- * value?: string
707
- * actor?: string
708
- * timestamp?: string
709
- * }>
710
- * }>
711
- * mainSymptom?: string
712
- * }
713
- * type?: string
714
- * // [items] start
715
- * // [items] end
716
- * tagsState?: Array<{
717
- * key?: string
718
- * // [items] start
719
- * // [items] end
720
- * annotationsState?: Array<{
721
- * value?: string
722
- * actor?: string
723
- * timestamp?: string
724
- * }>
725
- * }>
726
- * createdTimestamp?: string
727
- * updatedTimestamp?: string
728
- * }>
729
- * prescriptionsState?: string
730
- * diagnosis?: string
731
- * doctorState?: {
732
- * id?: string
733
- * name?: string
734
- * createdTimestamp?: string
735
- * updatedTimestamp?: string
736
- * gender?: string
737
- * identityNumber?: string
738
- * phoneNumber?: string
739
- * birthdate?: string
740
- * }
741
- * patientState?: {
742
- * id?: string
743
- * doctorId?: string
744
- * name?: string
745
- * createdTimestamp?: string
746
- * updatedTimestamp?: string
747
- * identity?: string
748
- * gender?: string
749
- * phoneNumber?: string
750
- * birthdate?: string
751
- * // [items] start
752
- * // [items] end
753
- * remarks?: string[]
754
- * // [items] start
755
- * // [items] end
756
- * tagsState?: Array<{
757
- * key?: string
758
- * // [items] start
759
- * // [items] end
760
- * annotationsState?: Array<{
761
- * value?: string
762
- * actor?: string
763
- * timestamp?: string
764
- * }>
765
- * }>
766
- * mainSymptom?: string
767
- * }
768
- * paymentType?: string
769
- * outpatientType?: string
770
- * createdTimestamp?: string
771
- * updatedTimestamp?: string
772
- * // [items] start
773
- * // [items] end
774
- * tagsState?: Array<{
775
- * key?: string
776
- * // [items] start
777
- * // [items] end
778
- * annotationsState?: Array<{
779
- * value?: string
780
- * actor?: string
781
- * timestamp?: string
782
- * }>
783
- * }>
784
- * prescriptionPaymentStatus?: number
785
- * outboundStatus?: number
786
- * }>
787
- * number?: number
788
- * sort?: {
789
- * empty?: boolean
790
- * sorted?: boolean
791
- * unsorted?: boolean
792
- * }
793
- * first?: boolean
794
- * last?: boolean
795
- * numberOfElements?: number
796
- * pageable?: {
797
- * offset?: number
798
- * sort?: {
799
- * empty?: boolean
800
- * sorted?: boolean
801
- * unsorted?: boolean
802
- * }
803
- * pageSize?: number
804
- * paged?: boolean
805
- * pageNumber?: number
806
- * unpaged?: boolean
807
- * }
808
- * empty?: boolean
809
- * }
810
- * ```
811
- */
812
- queryCheckState<
813
- Config extends Alova2MethodConfig<PageCheckState> & {
814
- params: {
815
- patientId?: string;
816
- doctorId?: string;
817
- startTime?: string;
818
- endTime?: string;
819
- patientName?: string;
820
- patientGender?: string;
821
- patientPhoneNumber?: string;
822
- pageSize: number;
823
- page: number;
824
- sort: string;
825
- };
826
- },
827
- >(
828
- config: Config,
829
- ): Alova2Method<PageCheckState, 'checkStateRestful.queryCheckState', Config>;
830
- /**
831
- * ---
832
- *
833
- * [POST]
834
- *
835
- * **path:** /病历/服务
836
- *
837
- * ---
838
- *
839
- * **RequestBody**
840
- * ```ts
841
- * type RequestBody = {
842
- * id?: string
843
- * // [items] start
844
- * // [items] end
845
- * metasState?: Array<{
846
- * id?: string
847
- * ownerState?: {
848
- * id?: string
849
- * doctorId?: string
850
- * name?: string
851
- * createdTimestamp?: string
852
- * updatedTimestamp?: string
853
- * identity?: string
854
- * gender?: string
855
- * phoneNumber?: string
856
- * birthdate?: string
857
- * // [items] start
858
- * // [items] end
859
- * remarks?: string[]
860
- * // [items] start
861
- * // [items] end
862
- * tagsState?: Array<{
863
- * key?: string
864
- * // [items] start
865
- * // [items] end
866
- * annotationsState?: Array<{
867
- * value?: string
868
- * actor?: string
869
- * timestamp?: string
870
- * }>
871
- * }>
872
- * mainSymptom?: string
873
- * }
874
- * type?: string
875
- * // [items] start
876
- * // [items] end
877
- * tagsState?: Array<{
878
- * key?: string
879
- * // [items] start
880
- * // [items] end
881
- * annotationsState?: Array<{
882
- * value?: string
883
- * actor?: string
884
- * timestamp?: string
885
- * }>
886
- * }>
887
- * createdTimestamp?: string
888
- * updatedTimestamp?: string
889
- * }>
890
- * prescriptionsState?: string
891
- * diagnosis?: string
892
- * doctorState?: {
893
- * id?: string
894
- * name?: string
895
- * createdTimestamp?: string
896
- * updatedTimestamp?: string
897
- * gender?: string
898
- * identityNumber?: string
899
- * phoneNumber?: string
900
- * birthdate?: string
901
- * }
902
- * patientState?: {
903
- * id?: string
904
- * doctorId?: string
905
- * name?: string
906
- * createdTimestamp?: string
907
- * updatedTimestamp?: string
908
- * identity?: string
909
- * gender?: string
910
- * phoneNumber?: string
911
- * birthdate?: string
912
- * // [items] start
913
- * // [items] end
914
- * remarks?: string[]
915
- * // [items] start
916
- * // [items] end
917
- * tagsState?: Array<{
918
- * key?: string
919
- * // [items] start
920
- * // [items] end
921
- * annotationsState?: Array<{
922
- * value?: string
923
- * actor?: string
924
- * timestamp?: string
925
- * }>
926
- * }>
927
- * mainSymptom?: string
928
- * }
929
- * paymentType?: string
930
- * outpatientType?: string
931
- * createdTimestamp?: string
932
- * updatedTimestamp?: string
933
- * // [items] start
934
- * // [items] end
935
- * tagsState?: Array<{
936
- * key?: string
937
- * // [items] start
938
- * // [items] end
939
- * annotationsState?: Array<{
940
- * value?: string
941
- * actor?: string
942
- * timestamp?: string
943
- * }>
944
- * }>
945
- * prescriptionPaymentStatus?: number
946
- * outboundStatus?: number
947
- * }
948
- * ```
949
- *
950
- * ---
951
- *
952
- * **Response**
953
- * ```ts
954
- * type Response = {
955
- * id?: string
956
- * // [items] start
957
- * // [items] end
958
- * metasState?: Array<{
959
- * id?: string
960
- * ownerState?: {
961
- * id?: string
962
- * doctorId?: string
963
- * name?: string
964
- * createdTimestamp?: string
965
- * updatedTimestamp?: string
966
- * identity?: string
967
- * gender?: string
968
- * phoneNumber?: string
969
- * birthdate?: string
970
- * // [items] start
971
- * // [items] end
972
- * remarks?: string[]
973
- * // [items] start
974
- * // [items] end
975
- * tagsState?: Array<{
976
- * key?: string
977
- * // [items] start
978
- * // [items] end
979
- * annotationsState?: Array<{
980
- * value?: string
981
- * actor?: string
982
- * timestamp?: string
983
- * }>
984
- * }>
985
- * mainSymptom?: string
986
- * }
987
- * type?: string
988
- * // [items] start
989
- * // [items] end
990
- * tagsState?: Array<{
991
- * key?: string
992
- * // [items] start
993
- * // [items] end
994
- * annotationsState?: Array<{
995
- * value?: string
996
- * actor?: string
997
- * timestamp?: string
998
- * }>
999
- * }>
1000
- * createdTimestamp?: string
1001
- * updatedTimestamp?: string
1002
- * }>
1003
- * prescriptionsState?: string
1004
- * diagnosis?: string
1005
- * doctorState?: {
1006
- * id?: string
1007
- * name?: string
1008
- * createdTimestamp?: string
1009
- * updatedTimestamp?: string
1010
- * gender?: string
1011
- * identityNumber?: string
1012
- * phoneNumber?: string
1013
- * birthdate?: string
1014
- * }
1015
- * patientState?: {
1016
- * id?: string
1017
- * doctorId?: string
1018
- * name?: string
1019
- * createdTimestamp?: string
1020
- * updatedTimestamp?: string
1021
- * identity?: string
1022
- * gender?: string
1023
- * phoneNumber?: string
1024
- * birthdate?: string
1025
- * // [items] start
1026
- * // [items] end
1027
- * remarks?: string[]
1028
- * // [items] start
1029
- * // [items] end
1030
- * tagsState?: Array<{
1031
- * key?: string
1032
- * // [items] start
1033
- * // [items] end
1034
- * annotationsState?: Array<{
1035
- * value?: string
1036
- * actor?: string
1037
- * timestamp?: string
1038
- * }>
1039
- * }>
1040
- * mainSymptom?: string
1041
- * }
1042
- * paymentType?: string
1043
- * outpatientType?: string
1044
- * createdTimestamp?: string
1045
- * updatedTimestamp?: string
1046
- * // [items] start
1047
- * // [items] end
1048
- * tagsState?: Array<{
1049
- * key?: string
1050
- * // [items] start
1051
- * // [items] end
1052
- * annotationsState?: Array<{
1053
- * value?: string
1054
- * actor?: string
1055
- * timestamp?: string
1056
- * }>
1057
- * }>
1058
- * prescriptionPaymentStatus?: number
1059
- * outboundStatus?: number
1060
- * }
1061
- * ```
1062
- */
1063
- postCheckState<
1064
- Config extends Alova2MethodConfig<CheckState> & {
1065
- data: CheckState;
1066
- },
1067
- >(
1068
- config: Config,
1069
- ): Alova2Method<CheckState, 'checkStateRestful.postCheckState', Config>;
1070
- /**
1071
- * ---
1072
- *
1073
- * [GET]
1074
- *
1075
- * **path:** /病历/服务/药方/支付信息
1076
- *
1077
- * ---
1078
- *
1079
- * **Query Parameters**
1080
- * ```ts
1081
- * type QueryParameters = {
1082
- * doctorId?: string
1083
- * patientId?: string
1084
- * prescriptionPaymentStatus?: number
1085
- * outboundStatus?: number
1086
- * patientName?: string
1087
- * patientGender?: string
1088
- * patientPhoneNumber?: string
1089
- * pageSize?: number
1090
- * page?: number
1091
- * }
1092
- * ```
1093
- *
1094
- * ---
1095
- *
1096
- * **Response**
1097
- * ```ts
1098
- * type Response = {
1099
- * totalPages?: number
1100
- * totalElements?: number
1101
- * size?: number
1102
- * // [items] start
1103
- * // [items] end
1104
- * content?: Array<{
1105
- * id?: string
1106
- * prescription?: string
1107
- * doctorId?: string
1108
- * patientId?: string
1109
- * patientName?: string
1110
- * patientPhone?: string
1111
- * patientGender?: string
1112
- * createdTimestamp?: number
1113
- * updatedTimestamp?: number
1114
- * prescriptionPaymentStatus?: number
1115
- * outboundStatus?: number
1116
- * }>
1117
- * number?: number
1118
- * sort?: {
1119
- * empty?: boolean
1120
- * sorted?: boolean
1121
- * unsorted?: boolean
1122
- * }
1123
- * first?: boolean
1124
- * last?: boolean
1125
- * numberOfElements?: number
1126
- * pageable?: {
1127
- * offset?: number
1128
- * sort?: {
1129
- * empty?: boolean
1130
- * sorted?: boolean
1131
- * unsorted?: boolean
1132
- * }
1133
- * pageSize?: number
1134
- * paged?: boolean
1135
- * pageNumber?: number
1136
- * unpaged?: boolean
1137
- * }
1138
- * empty?: boolean
1139
- * }
1140
- * ```
1141
- */
1142
- queryPaymentState<
1143
- Config extends Alova2MethodConfig<PagePaymentState> & {
1144
- params: {
1145
- doctorId?: string;
1146
- patientId?: string;
1147
- prescriptionPaymentStatus?: number;
1148
- outboundStatus?: number;
1149
- patientName?: string;
1150
- patientGender?: string;
1151
- patientPhoneNumber?: string;
1152
- pageSize?: number;
1153
- page?: number;
1154
- };
1155
- },
1156
- >(
1157
- config: Config,
1158
- ): Alova2Method<PagePaymentState, 'checkStateRestful.queryPaymentState', Config>;
1159
- /**
1160
- * ---
1161
- *
1162
- * [GET]
1163
- *
1164
- * **path:** /病历/服务/统计/病历/日期
1165
- *
1166
- * ---
1167
- *
1168
- * **Response**
1169
- * ```ts
1170
- * type Response = Array<{
1171
- * date?: string
1172
- * count?: number
1173
- * }>
1174
- * ```
1175
- */
1176
- datesOfCheckState<Config extends Alova2MethodConfig<DateDistribute[]>>(
1177
- config?: Config,
1178
- ): Alova2Method<DateDistribute[], 'checkStateRestful.datesOfCheckState', Config>;
1179
- /**
1180
- * ---
1181
- *
1182
- * [GET]
1183
- *
1184
- * **path:** /病历/服务/统计/病历/总数
1185
- *
1186
- * ---
1187
- *
1188
- * **Response**
1189
- * ```ts
1190
- * type Response = number
1191
- * ```
1192
- */
1193
- totalOfCheckState<Config extends Alova2MethodConfig<number>>(
1194
- config?: Config,
1195
- ): Alova2Method<number, 'checkStateRestful.totalOfCheckState', Config>;
1196
- /**
1197
- * ---
1198
- *
1199
- * [GET]
1200
- *
1201
- * **path:** /病历/服务/统计/病历/性别/分布
1202
- *
1203
- * ---
1204
- *
1205
- * **Response**
1206
- * ```ts
1207
- * type Response = Array<{
1208
- * gender?: string
1209
- * count?: number
1210
- * }>
1211
- * ```
1212
- */
1213
- genderDistributeOfCheckState<Config extends Alova2MethodConfig<GenderDistribute[]>>(
1214
- config?: Config,
1215
- ): Alova2Method<GenderDistribute[], 'checkStateRestful.genderDistributeOfCheckState', Config>;
1216
- /**
1217
- * ---
1218
- *
1219
- * [GET]
1220
- *
1221
- * **path:** /病历/服务/统计/病历/年龄/分布
1222
- *
1223
- * ---
1224
- *
1225
- * **Response**
1226
- * ```ts
1227
- * type Response = Array<{
1228
- * age?: number
1229
- * count?: number
1230
- * }>
1231
- * ```
1232
- */
1233
- ageDistributeOfCheckState<Config extends Alova2MethodConfig<AgeDistribute[]>>(
1234
- config?: Config,
1235
- ): Alova2Method<AgeDistribute[], 'checkStateRestful.ageDistributeOfCheckState', Config>;
1236
- /**
1237
- * ---
1238
- *
1239
- * [GET]
1240
- *
1241
- * **path:** /病历/服务/统计/病历/今日
1242
- *
1243
- * ---
1244
- *
1245
- * **Response**
1246
- * ```ts
1247
- * type Response = number
1248
- * ```
1249
- */
1250
- totalOfCheckByTodayState<Config extends Alova2MethodConfig<number>>(
1251
- config?: Config,
1252
- ): Alova2Method<number, 'checkStateRestful.totalOfCheckByTodayState', Config>;
1253
- };
1254
- }
1255
-
1256
- var checkApi: checkApi;
1257
- }