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
@@ -0,0 +1,10 @@
1
+ import { Alova, AlovaGenerics, AlovaMethodCreateConfig } from 'alova';
2
+ export declare const createApis: (alovaInstance: Alova<AlovaGenerics>, configMap: any) => doctorApi;
3
+ export declare const mountApis: (Apis: doctorApi) => void;
4
+ type MethodConfig<T> = AlovaMethodCreateConfig<(typeof import('./index'))['alovaInstance'] extends Alova<infer AG> ? AG : any, any, T>;
5
+ type APISofParameters<Tag extends string, Url extends string> = Tag extends keyof doctorApi ? Url extends keyof doctorApi[Tag] ? doctorApi[Tag][Url] extends (...args: any) => any ? Parameters<doctorApi[Tag][Url]> : any : any : any;
6
+ type MethodsConfigMap = {
7
+ [P in keyof typeof import('./apiDefinitions').default]?: MethodConfig<P extends `${infer Tag}.${infer Url}` ? Parameters<NonNullable<APISofParameters<Tag, Url>[0]>['transform']>[0] : any>;
8
+ };
9
+ export declare const withConfigType: <Config extends MethodsConfigMap>(config: Config) => Config;
10
+ export {};
@@ -0,0 +1,51 @@
1
+ import { Method as g } from "../../../../node_modules/alova/dist/alova.esm.js";
2
+ import A from "./apiDefinitions.js";
3
+ const l = /* @__PURE__ */ Object.create(null), h = (t, r, s) => {
4
+ const e = t.join(".");
5
+ if (l[e])
6
+ return l[e];
7
+ const n = new Proxy(function() {
8
+ }, {
9
+ get(d, m) {
10
+ const i = [...t, m];
11
+ return h(i, r, s);
12
+ },
13
+ apply(d, m, [i]) {
14
+ const u = A[e];
15
+ if (!u)
16
+ throw new Error(`the api path of \`${e}\` is not found`);
17
+ const a = {
18
+ ...s[e],
19
+ ...i
20
+ }, [y, P] = u, w = a.pathParams, b = P.replace(/\{([^}]+)\}/g, (f, c) => w[c]);
21
+ delete a.pathParams;
22
+ let o = a.data;
23
+ if (Object.prototype.toString.call(o) === "[object Object]" && typeof FormData < "u") {
24
+ let f = !1;
25
+ const c = new FormData();
26
+ for (const p in o)
27
+ c.append(p, o[p]), o[p] instanceof Blob && (f = !0);
28
+ o = f ? c : o;
29
+ }
30
+ return new g(
31
+ y.toUpperCase(),
32
+ r,
33
+ b,
34
+ a,
35
+ o
36
+ );
37
+ }
38
+ });
39
+ return l[e] = n, n;
40
+ }, x = (t, r) => new Proxy({}, {
41
+ get(e, n) {
42
+ return h([n], t, r);
43
+ }
44
+ }), D = (t) => {
45
+ globalThis.doctorApi = t;
46
+ }, C = (t) => t;
47
+ export {
48
+ x as createApis,
49
+ D as mountApis,
50
+ C as withConfigType
51
+ };
@@ -0,0 +1,7 @@
1
+ import { Doctor } from '../../doctor';
2
+ export declare class AlovaDoctor extends Doctor {
3
+ get(): Promise<this>;
4
+ put(): Promise<this>;
5
+ post(): Promise<this>;
6
+ delete(): Promise<void>;
7
+ }
@@ -0,0 +1,42 @@
1
+ import { Doctor as e } from "../../doctor.js";
2
+ class t extends e {
3
+ async get() {
4
+ return this.of(
5
+ await doctorApi.doctorStateRestful.getDoctorState({
6
+ pathParams: {
7
+ id: this.id
8
+ },
9
+ async transform(a) {
10
+ return new t().of(a);
11
+ }
12
+ }).send()
13
+ );
14
+ }
15
+ async put() {
16
+ return this.of(
17
+ await doctorApi.doctorStateRestful.putDoctorState({
18
+ pathParams: {
19
+ id: this.id
20
+ },
21
+ data: this.state()
22
+ }).send()
23
+ );
24
+ }
25
+ async post() {
26
+ return this.of(
27
+ await doctorApi.doctorStateRestful.postDoctorState({
28
+ data: this.state()
29
+ }).send()
30
+ );
31
+ }
32
+ async delete() {
33
+ return await doctorApi.doctorStateRestful.deleteDoctorState({
34
+ pathParams: {
35
+ id: this.id
36
+ }
37
+ }).send(), Promise.resolve();
38
+ }
39
+ }
40
+ export {
41
+ t as AlovaDoctor
42
+ };
@@ -0,0 +1,5 @@
1
+ export declare const alovaInstance: import('alova').Alova<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, any, any, any>>;
2
+ export declare const $$userConfigMap: {};
3
+ declare const Apis: doctorApi;
4
+ export default Apis;
5
+ export * from './implement';
@@ -0,0 +1,20 @@
1
+ import { createAlova as e } from "../../../../node_modules/alova/dist/alova.esm.js";
2
+ import o from "../../../../node_modules/alova/dist/adapter/fetch.esm.js";
3
+ import { createApis as r, mountApis as t, withConfigType as p } from "./createApis.js";
4
+ import { responded as i, onAuthRequired as a } from "../../config/alova/index.js";
5
+ import { getServiceEndpoint as n, ServiceType as s } from "../../config/index.js";
6
+ import "../../patient/core.js";
7
+ const c = e({
8
+ baseURL: n(s.Doctor),
9
+ requestAdapter: o(),
10
+ beforeRequest: a(() => {
11
+ }),
12
+ cacheFor: null,
13
+ responded: i
14
+ }), m = p({}), f = r(c, m);
15
+ t(f);
16
+ export {
17
+ m as $$userConfigMap,
18
+ c as alovaInstance,
19
+ f as default
20
+ };
@@ -0,0 +1,22 @@
1
+ import { NetworkObject } from '../patient/core';
2
+ import { DoctorState } from './alova/globals';
3
+ import { IBuilder } from 'builder-pattern';
4
+ export declare abstract class Doctor extends NetworkObject {
5
+ static builder(): IBuilder<Doctor>;
6
+ static default(): typeof Doctor;
7
+ id: string;
8
+ name: string;
9
+ createdTimestamp: string;
10
+ updatedTimestamp: string;
11
+ gender: string;
12
+ identityNumber: string;
13
+ phoneNumber: string;
14
+ birthdate: string;
15
+ custom: string;
16
+ of(json: DoctorState): Promise<Awaited<this>>;
17
+ state(): DoctorState;
18
+ abstract get(): Promise<Doctor>;
19
+ abstract put(): Promise<Doctor>;
20
+ abstract post(): Promise<Doctor>;
21
+ abstract delete(): Promise<void>;
22
+ }
@@ -0,0 +1,29 @@
1
+ import { NetworkObject as t } from "../patient/core.js";
2
+ import { Builder as i } from "../../../node_modules/builder-pattern/dist/index.js";
3
+ class a extends t {
4
+ static builder() {
5
+ return i(this._default);
6
+ }
7
+ static default() {
8
+ return this._default;
9
+ }
10
+ id = "";
11
+ name = "";
12
+ createdTimestamp = "";
13
+ updatedTimestamp = "";
14
+ gender = "";
15
+ identityNumber = "";
16
+ phoneNumber = "";
17
+ birthdate = "";
18
+ custom = "标准模式";
19
+ of(e) {
20
+ return e.id != null && (this.id = e.id), e.name != null && (this.name = e.name), e.createdTimestamp != null && (this.createdTimestamp = e.createdTimestamp), e.updatedTimestamp != null && (this.updatedTimestamp = e.updatedTimestamp), e.gender != null && (this.gender = e.gender), e.identityNumber != null && (this.identityNumber = e.identityNumber), e.phoneNumber != null && (this.phoneNumber = e.phoneNumber), e.birthdate != null && (this.birthdate = e.birthdate), Promise.resolve(this);
21
+ }
22
+ state() {
23
+ const e = {};
24
+ return this.id && (e.id = this.id), this.name && (e.name = this.name), this.createdTimestamp && (e.createdTimestamp = this.createdTimestamp), this.updatedTimestamp && (e.updatedTimestamp = this.updatedTimestamp), this.gender && (e.gender = this.gender), this.identityNumber && (e.identityNumber = this.identityNumber), this.phoneNumber && (e.phoneNumber = this.phoneNumber), this.birthdate && (e.birthdate = this.birthdate), e;
25
+ }
26
+ }
27
+ export {
28
+ a as Doctor
29
+ };
@@ -0,0 +1,9 @@
1
+ import { Doctor as t } from "./doctor.js";
2
+ import { $$userConfigMap as e, alovaInstance as f } from "./alova/index.js";
3
+ import { AlovaDoctor as c } from "./alova/implement/doctor.js";
4
+ export {
5
+ e as $$userConfigMap,
6
+ c as AlovaDoctor,
7
+ t as Doctor,
8
+ f as alovaInstance
9
+ };
@@ -0,0 +1,24 @@
1
+ import { MetaType } from '../../patient/meta';
2
+ import { Metric } from '../metric';
3
+ import { AgeDistribute, DateDistribute, GenderDistribute } from '../../patient/alova/globals';
4
+ export declare class AlovaMetric extends Metric {
5
+ static getPatientTodayCount(): Promise<number>;
6
+ static getPatientTotalCount(): Promise<number>;
7
+ static getPatientDateDistribute(): Promise<DateDistribute[]>;
8
+ static getPatientAgeDistribute(): Promise<AgeDistribute[]>;
9
+ static getPatientGenderDistribute(): Promise<GenderDistribute[]>;
10
+ static getMetaTodayCount(type: MetaType): Promise<number>;
11
+ static getMetaTotalCount(type: MetaType): Promise<number>;
12
+ static getMetaDateDistribute(type: MetaType): Promise<DateDistribute[]>;
13
+ static getCheckGenderDistribute(): Promise<GenderDistribute[]>;
14
+ static getCheckAgeDistribute(): Promise<AgeDistribute[]>;
15
+ static getCheckTotalCount(): Promise<number>;
16
+ static getCheckDateDistribute(): Promise<DateDistribute[]>;
17
+ static getCheckTodayCount(): Promise<number>;
18
+ static getDoctorTotalCount(): Promise<number>;
19
+ static getDoctorDateDistribute(): Promise<DateDistribute[]>;
20
+ static getDoctorTodayCount(): Promise<number>;
21
+ static getQueuerTotalCount(): Promise<number>;
22
+ static getQueuerDateDistribute(): Promise<DateDistribute[]>;
23
+ static getQueuerTodayCount(): Promise<number>;
24
+ }
@@ -0,0 +1,80 @@
1
+ import { Metric as e } from "../metric.js";
2
+ class r extends e {
3
+ // 科研相关统计
4
+ static getPatientTodayCount() {
5
+ return patientApi.metricRestful.totalOfPatientByToday().send();
6
+ }
7
+ static getPatientTotalCount() {
8
+ return patientApi.metricRestful.totalOfPatient().send();
9
+ }
10
+ static getPatientDateDistribute() {
11
+ return patientApi.metricRestful.dateDistributeOfPatient().send();
12
+ }
13
+ static getPatientAgeDistribute() {
14
+ return patientApi.metricRestful.ageDistributeOfPatient().send();
15
+ }
16
+ static getPatientGenderDistribute() {
17
+ return patientApi.metricRestful.genderDistributeOfPatient().send();
18
+ }
19
+ // 面象相关统计
20
+ static getMetaTodayCount(t) {
21
+ return patientApi.metricRestful.totalOfMetaByToday({
22
+ params: {
23
+ type: t
24
+ }
25
+ }).send();
26
+ }
27
+ static getMetaTotalCount(t) {
28
+ return patientApi.metricRestful.totalOfMeta({
29
+ params: {
30
+ type: t
31
+ }
32
+ }).send();
33
+ }
34
+ static getMetaDateDistribute(t) {
35
+ return patientApi.metricRestful.datesOfMeta({
36
+ params: {
37
+ type: t
38
+ }
39
+ }).send();
40
+ }
41
+ // 病例相关统计
42
+ static getCheckGenderDistribute() {
43
+ return checkApi.checkStateRestful.genderDistributeOfCheckState().send();
44
+ }
45
+ static getCheckAgeDistribute() {
46
+ return checkApi.checkStateRestful.ageDistributeOfCheckState().send();
47
+ }
48
+ static getCheckTotalCount() {
49
+ return checkApi.checkStateRestful.totalOfCheckState().send();
50
+ }
51
+ static getCheckDateDistribute() {
52
+ return checkApi.checkStateRestful.datesOfCheckState().send();
53
+ }
54
+ static getCheckTodayCount() {
55
+ return checkApi.checkStateRestful.totalOfCheckByTodayState().send();
56
+ }
57
+ // 医生相关统计
58
+ static getDoctorTotalCount() {
59
+ return doctorApi.doctorStateRestful.totalOfDoctor().send();
60
+ }
61
+ static getDoctorDateDistribute() {
62
+ return doctorApi.doctorStateRestful.datesOfDoctor().send();
63
+ }
64
+ static getDoctorTodayCount() {
65
+ return doctorApi.doctorStateRestful.totalOfDoctorByToday().send();
66
+ }
67
+ // 排队相关统计
68
+ static getQueuerTotalCount() {
69
+ return outpatientApi.metricRestful.totalOfQueuerState().send();
70
+ }
71
+ static getQueuerDateDistribute() {
72
+ return outpatientApi.metricRestful.datesOfQueuerState().send();
73
+ }
74
+ static getQueuerTodayCount() {
75
+ return outpatientApi.metricRestful.totalOfQueuerTodayState().send();
76
+ }
77
+ }
78
+ export {
79
+ r as AlovaMetric
80
+ };
@@ -0,0 +1,6 @@
1
+ import { AlovaMetric as e } from "./implement/metric.js";
2
+ import { Metric as c } from "./metric.js";
3
+ export {
4
+ e as AlovaMetric,
5
+ c as Metric
6
+ };
@@ -0,0 +1,28 @@
1
+ import { MetaType } from '../patient/meta';
2
+ import { IBuilder } from 'builder-pattern';
3
+ import { DateDistribute } from '../patient/alova/globals';
4
+ import { AgeDistribute, GenderDistribute } from '../check/alova/globals';
5
+ export declare class Metric {
6
+ static _default: typeof Metric;
7
+ static builder(): IBuilder<unknown>;
8
+ static default(): typeof Metric;
9
+ static getPatientTodayCount(): Promise<number>;
10
+ static getPatientTotalCount(): Promise<number>;
11
+ static getPatientDateDistribute(): Promise<DateDistribute[]>;
12
+ static getPatientAgeDistribute(): Promise<AgeDistribute[]>;
13
+ static getPatientGenderDistribute(): Promise<GenderDistribute[]>;
14
+ static getMetaTodayCount(type: MetaType): Promise<number>;
15
+ static getMetaTotalCount(type: MetaType): Promise<number>;
16
+ static getMetaDateDistribute(type: MetaType): Promise<DateDistribute[]>;
17
+ static getCheckGenderDistribute(): Promise<GenderDistribute[]>;
18
+ static getCheckAgeDistribute(): Promise<AgeDistribute[]>;
19
+ static getCheckTotalCount(): Promise<number>;
20
+ static getCheckDateDistribute(): Promise<DateDistribute[]>;
21
+ static getCheckTodayCount(): Promise<number>;
22
+ static getDoctorTotalCount(): Promise<number>;
23
+ static getDoctorDateDistribute(): Promise<DateDistribute[]>;
24
+ static getDoctorTodayCount(): Promise<number>;
25
+ static getQueuerTotalCount(): Promise<number>;
26
+ static getQueuerDateDistribute(): Promise<DateDistribute[]>;
27
+ static getQueuerTodayCount(): Promise<number>;
28
+ }
@@ -0,0 +1,75 @@
1
+ import { Builder as u } from "../../../node_modules/builder-pattern/dist/index.js";
2
+ class t {
3
+ static _default;
4
+ static builder() {
5
+ return u(this._default);
6
+ }
7
+ static default() {
8
+ return this._default;
9
+ }
10
+ // 科研相关统计
11
+ static getPatientTodayCount() {
12
+ return t.default().getPatientTodayCount();
13
+ }
14
+ static getPatientTotalCount() {
15
+ return t.default().getPatientTotalCount();
16
+ }
17
+ static getPatientDateDistribute() {
18
+ return t.default().getPatientDateDistribute();
19
+ }
20
+ static getPatientAgeDistribute() {
21
+ return t.default().getPatientAgeDistribute();
22
+ }
23
+ static getPatientGenderDistribute() {
24
+ return t.default().getPatientGenderDistribute();
25
+ }
26
+ // 面象相关统计
27
+ static getMetaTodayCount(e) {
28
+ return t.default().getMetaTodayCount(e);
29
+ }
30
+ static getMetaTotalCount(e) {
31
+ return t.default().getMetaTotalCount(e);
32
+ }
33
+ static getMetaDateDistribute(e) {
34
+ return t.default().getMetaDateDistribute(e);
35
+ }
36
+ // 病例相关统计
37
+ static getCheckGenderDistribute() {
38
+ return t.default().getCheckGenderDistribute();
39
+ }
40
+ static getCheckAgeDistribute() {
41
+ return t.default().getCheckAgeDistribute();
42
+ }
43
+ static getCheckTotalCount() {
44
+ return t.default().getCheckTotalCount();
45
+ }
46
+ static getCheckDateDistribute() {
47
+ return t.default().getCheckDateDistribute();
48
+ }
49
+ static getCheckTodayCount() {
50
+ return t.default().getCheckTodayCount();
51
+ }
52
+ // 医生相关统计
53
+ static getDoctorTotalCount() {
54
+ return t.default().getDoctorTotalCount();
55
+ }
56
+ static getDoctorDateDistribute() {
57
+ return t.default().getDoctorDateDistribute();
58
+ }
59
+ static getDoctorTodayCount() {
60
+ return t.default().getDoctorTodayCount();
61
+ }
62
+ // 排队相关统计
63
+ static getQueuerTotalCount() {
64
+ return t.default().getQueuerTotalCount();
65
+ }
66
+ static getQueuerDateDistribute() {
67
+ return t.default().getQueuerDateDistribute();
68
+ }
69
+ static getQueuerTodayCount() {
70
+ return t.default().getQueuerTodayCount();
71
+ }
72
+ }
73
+ export {
74
+ t as Metric
75
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * OpenAPI definition - version v0
3
+ *
4
+ *
5
+ *
6
+ * OpenAPI version: 3.1.0
7
+ *
8
+ *
9
+ * NOTE: This file is auto generated by the alova's vscode plugin.
10
+ *
11
+ * https://alova.js.org/devtools/vscode
12
+ *
13
+ * **Do not edit the file manually.**
14
+ */
15
+ declare const _default: {
16
+ 'userStateRestful.getUserState': string[];
17
+ 'userStateRestful.putUserState': string[];
18
+ 'phoneVerifyRestful.verifySMSCode': string[];
19
+ 'phoneVerifyRestful.sendSMSCode': string[];
20
+ 'phoneVerifyRestful.authToken': string[];
21
+ 'authorizationRestful.consent': string[];
22
+ 'authorizationRestful.getClientDescription': string[];
23
+ };
24
+ export default _default;
@@ -0,0 +1,12 @@
1
+ const e = {
2
+ "userStateRestful.getUserState": ["GET", "/互联/服务/用户"],
3
+ "userStateRestful.putUserState": ["PUT", "/互联/服务/用户"],
4
+ "phoneVerifyRestful.verifySMSCode": ["POST", "/互联/服务/电话/验证短信"],
5
+ "phoneVerifyRestful.sendSMSCode": ["GET", "/互联/服务/电话/发送短信"],
6
+ "phoneVerifyRestful.authToken": ["GET", "/互联/服务/电话/令牌认证"],
7
+ "authorizationRestful.consent": ["GET", "/互联/服务/授权/许可"],
8
+ "authorizationRestful.getClientDescription": ["GET", "/互联/服务/授权/客户端介绍"]
9
+ };
10
+ export {
11
+ e as default
12
+ };
@@ -0,0 +1,10 @@
1
+ import { Alova, AlovaGenerics, AlovaMethodCreateConfig } from 'alova';
2
+ export declare const createApis: (alovaInstance: Alova<AlovaGenerics>, configMap: any) => oauthApi;
3
+ export declare const mountApis: (Apis: oauthApi) => void;
4
+ type MethodConfig<T> = AlovaMethodCreateConfig<(typeof import('./index'))['alovaInstance'] extends Alova<infer AG> ? AG : any, any, T>;
5
+ type APISofParameters<Tag extends string, Url extends string> = Tag extends keyof oauthApi ? Url extends keyof oauthApi[Tag] ? oauthApi[Tag][Url] extends (...args: any) => any ? Parameters<oauthApi[Tag][Url]> : any : any : any;
6
+ type MethodsConfigMap = {
7
+ [P in keyof typeof import('./apiDefinitions').default]?: MethodConfig<P extends `${infer Tag}.${infer Url}` ? Parameters<NonNullable<APISofParameters<Tag, Url>[0]>['transform']>[0] : any>;
8
+ };
9
+ export declare const withConfigType: <Config extends MethodsConfigMap>(config: Config) => Config;
10
+ export {};
@@ -0,0 +1,51 @@
1
+ import { Method as g } from "../../../../node_modules/alova/dist/alova.esm.js";
2
+ import A from "./apiDefinitions.js";
3
+ const l = /* @__PURE__ */ Object.create(null), m = (t, n, s) => {
4
+ const e = t.join(".");
5
+ if (l[e])
6
+ return l[e];
7
+ const r = new Proxy(function() {
8
+ }, {
9
+ get(d, u) {
10
+ const i = [...t, u];
11
+ return m(i, n, s);
12
+ },
13
+ apply(d, u, [i]) {
14
+ const h = A[e];
15
+ if (!h)
16
+ throw new Error(`the api path of \`${e}\` is not found`);
17
+ const a = {
18
+ ...s[e],
19
+ ...i
20
+ }, [y, P] = h, w = a.pathParams, b = P.replace(/\{([^}]+)\}/g, (f, c) => w[c]);
21
+ delete a.pathParams;
22
+ let o = a.data;
23
+ if (Object.prototype.toString.call(o) === "[object Object]" && typeof FormData < "u") {
24
+ let f = !1;
25
+ const c = new FormData();
26
+ for (const p in o)
27
+ c.append(p, o[p]), o[p] instanceof Blob && (f = !0);
28
+ o = f ? c : o;
29
+ }
30
+ return new g(
31
+ y.toUpperCase(),
32
+ n,
33
+ b,
34
+ a,
35
+ o
36
+ );
37
+ }
38
+ });
39
+ return l[e] = r, r;
40
+ }, x = (t, n) => new Proxy({}, {
41
+ get(e, r) {
42
+ return m([r], t, n);
43
+ }
44
+ }), D = (t) => {
45
+ globalThis.oauthApi = t;
46
+ }, C = (t) => t;
47
+ export {
48
+ x as createApis,
49
+ D as mountApis,
50
+ C as withConfigType
51
+ };
@@ -0,0 +1,4 @@
1
+ import { OAuth } from '../../oauth';
2
+ export declare class AlovaOAuth extends OAuth {
3
+ static getYincToken(code: string, redirect_uri: string, client_id: string, code_verifier: string): Promise<string>;
4
+ }
@@ -0,0 +1,15 @@
1
+ import { OAuth as c } from "../../oauth.js";
2
+ import { alovaInstance as d } from "../index.js";
3
+ class u extends c {
4
+ static async getYincToken(t, n, o, a) {
5
+ const e = new FormData();
6
+ return e.append("code", t), e.append("grant_type", "authorization_code"), e.append("redirect_uri", n), e.append("client_id", o), e.append("code_verifier", a), d.Post("/互联/服务/互联/令牌", e, {
7
+ transform(r) {
8
+ return r.access_token;
9
+ }
10
+ }).send();
11
+ }
12
+ }
13
+ export {
14
+ u as AlovaOAuth
15
+ };
@@ -0,0 +1,5 @@
1
+ export declare const alovaInstance: import('alova').Alova<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>>;
2
+ export declare const $$userConfigMap: {};
3
+ declare const Apis: oauthApi;
4
+ export default Apis;
5
+ export * from './implement';
@@ -0,0 +1,17 @@
1
+ import { createAlova as e } from "../../../../node_modules/alova/dist/alova.esm.js";
2
+ import o from "../../../../node_modules/alova/dist/adapter/fetch.esm.js";
3
+ import { createApis as t, mountApis as r, withConfigType as p } from "./createApis.js";
4
+ import { responded as a } from "../../config/alova/index.js";
5
+ import { getServiceEndpoint as i, ServiceType as n } from "../../config/index.js";
6
+ const s = e({
7
+ baseURL: i(n.OAuth),
8
+ requestAdapter: o(),
9
+ cacheFor: null,
10
+ responded: a
11
+ }), c = p({}), m = t(s, c);
12
+ r(m);
13
+ export {
14
+ c as $$userConfigMap,
15
+ s as alovaInstance,
16
+ m as default
17
+ };
@@ -0,0 +1,9 @@
1
+ import { OAuth as t } from "./oauth.js";
2
+ import { $$userConfigMap as e, alovaInstance as f } from "./alova/index.js";
3
+ import { AlovaOAuth as m } from "./alova/implement/oauth.js";
4
+ export {
5
+ e as $$userConfigMap,
6
+ m as AlovaOAuth,
7
+ t as OAuth,
8
+ f as alovaInstance
9
+ };
@@ -0,0 +1,7 @@
1
+ import { IBuilder } from 'builder-pattern';
2
+ export declare abstract class OAuth {
3
+ static _default: typeof OAuth;
4
+ static builder(): IBuilder<OAuth>;
5
+ static default(): typeof OAuth;
6
+ static getYincToken(code: string, redirect_uri: string, client_id: string, code_verifier: string): Promise<string>;
7
+ }
@@ -0,0 +1,16 @@
1
+ import { Builder as u } from "../../../node_modules/builder-pattern/dist/index.js";
2
+ class t {
3
+ static _default;
4
+ static builder() {
5
+ return u(this._default);
6
+ }
7
+ static default() {
8
+ return this._default;
9
+ }
10
+ static getYincToken(e, i, r, a) {
11
+ return t.default().getYincToken(e, i, r, a);
12
+ }
13
+ }
14
+ export {
15
+ t as OAuth
16
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * OpenAPI definition - version v0
3
+ *
4
+ *
5
+ *
6
+ * OpenAPI version: 3.1.0
7
+ *
8
+ *
9
+ * NOTE: This file is auto generated by the alova's vscode plugin.
10
+ *
11
+ * https://alova.js.org/devtools/vscode
12
+ *
13
+ * **Do not edit the file manually.**
14
+ */
15
+ declare const _default: {
16
+ 'queuerRestful.getQueuerState': string[];
17
+ 'queuerRestful.putQueuerState': string[];
18
+ 'queuerRestful.deleteQueuerState': string[];
19
+ 'queuerRestful.queryQueuerState': string[];
20
+ 'queuerRestful.postQueuerState': string[];
21
+ 'metricRestful.datesOfQueuerState': string[];
22
+ 'metricRestful.totalOfQueuerState': string[];
23
+ 'metricRestful.totalOfQueuerTodayState': string[];
24
+ };
25
+ export default _default;
@@ -0,0 +1,13 @@
1
+ const e = {
2
+ "queuerRestful.getQueuerState": ["GET", "/门诊/服务/排队/{id}"],
3
+ "queuerRestful.putQueuerState": ["PUT", "/门诊/服务/排队/{id}"],
4
+ "queuerRestful.deleteQueuerState": ["DELETE", "/门诊/服务/排队/{id}"],
5
+ "queuerRestful.queryQueuerState": ["GET", "/门诊/服务/排队"],
6
+ "queuerRestful.postQueuerState": ["POST", "/门诊/服务/排队"],
7
+ "metricRestful.datesOfQueuerState": ["GET", "/门诊/服务/统计/排队/日期"],
8
+ "metricRestful.totalOfQueuerState": ["GET", "/门诊/服务/统计/排队/总数"],
9
+ "metricRestful.totalOfQueuerTodayState": ["GET", "/门诊/服务/统计/排队/今日"]
10
+ };
11
+ export {
12
+ e as default
13
+ };