web-core-tcm 0.0.23 → 0.0.24

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 (126) hide show
  1. package/package.json +41 -21
  2. package/.editorconfig +0 -7
  3. package/.github/workflows/test.yml +0 -29
  4. package/.prettierrc.json +0 -5
  5. package/.vscode/extensions.json +0 -15
  6. package/.vscode/settings.json +0 -9
  7. package/eslint.config.js +0 -83
  8. package/index.html +0 -24
  9. package/postcss.config.js +0 -29
  10. package/public/favicon.ico +0 -0
  11. package/public/icons/favicon-128x128.png +0 -0
  12. package/public/icons/favicon-16x16.png +0 -0
  13. package/public/icons/favicon-32x32.png +0 -0
  14. package/public/icons/favicon-96x96.png +0 -0
  15. package/quasar.config.ts +0 -220
  16. package/src/App.vue +0 -7
  17. package/src/api/algorithm/comprehensiveAlgorithm.ts +0 -20
  18. package/src/api/algorithm/index.ts +0 -50
  19. package/src/api/algorithm/inquiriesAlgorithm.ts +0 -19
  20. package/src/api/algorithm/inspectionsAlgorithm.ts +0 -11
  21. package/src/api/algorithm/lisemsAlgorithm.ts +0 -16
  22. package/src/api/algorithm/pulsationsAlgorithm.ts +0 -9
  23. package/src/api/authorization/alova/apiDefinitions.ts +0 -23
  24. package/src/api/authorization/alova/createApis.ts +0 -99
  25. package/src/api/authorization/alova/globals.d.ts +0 -373
  26. package/src/api/authorization/alova/implement/authorization.ts +0 -12
  27. package/src/api/authorization/alova/implement/index.ts +0 -1
  28. package/src/api/authorization/alova/index.ts +0 -23
  29. package/src/api/authorization/authorization.ts +0 -16
  30. package/src/api/authorization/index.ts +0 -2
  31. package/src/api/check/alova/apiDefinitions.ts +0 -30
  32. package/src/api/check/alova/createApis.ts +0 -99
  33. package/src/api/check/alova/globals.d.ts +0 -1248
  34. package/src/api/check/alova/implement/check.ts +0 -119
  35. package/src/api/check/alova/implement/index.ts +0 -1
  36. package/src/api/check/alova/index.ts +0 -23
  37. package/src/api/check/check.ts +0 -164
  38. package/src/api/check/index.ts +0 -2
  39. package/src/api/config/alova/index.ts +0 -72
  40. package/src/api/config/index.ts +0 -130
  41. package/src/api/device/device.js +0 -58
  42. package/src/api/doctor/alova/apiDefinitions.ts +0 -28
  43. package/src/api/doctor/alova/createApis.ts +0 -99
  44. package/src/api/doctor/alova/globals.d.ts +0 -550
  45. package/src/api/doctor/alova/implement/doctor.ts +0 -37
  46. package/src/api/doctor/alova/implement/index.ts +0 -1
  47. package/src/api/doctor/alova/index.ts +0 -23
  48. package/src/api/doctor/doctor.ts +0 -53
  49. package/src/api/doctor/index.ts +0 -2
  50. package/src/api/index.ts +0 -15
  51. package/src/api/metric/implement/index.ts +0 -1
  52. package/src/api/metric/implement/metric.ts +0 -98
  53. package/src/api/metric/index.ts +0 -2
  54. package/src/api/metric/metric.ts +0 -114
  55. package/src/api/oauth/alova/apiDefinitions.ts +0 -26
  56. package/src/api/oauth/alova/createApis.ts +0 -99
  57. package/src/api/oauth/alova/globals.d.ts +0 -451
  58. package/src/api/oauth/alova/implement/index.ts +0 -1
  59. package/src/api/oauth/alova/implement/oauth.ts +0 -19
  60. package/src/api/oauth/alova/index.ts +0 -22
  61. package/src/api/oauth/index.ts +0 -2
  62. package/src/api/oauth/oauth.ts +0 -15
  63. package/src/api/outpatient/alova/apiDefinitions.ts +0 -27
  64. package/src/api/outpatient/alova/createApis.ts +0 -99
  65. package/src/api/outpatient/alova/globals.d.ts +0 -676
  66. package/src/api/outpatient/alova/implement/index.ts +0 -1
  67. package/src/api/outpatient/alova/implement/outpatient.ts +0 -66
  68. package/src/api/outpatient/alova/index.ts +0 -23
  69. package/src/api/outpatient/index.ts +0 -2
  70. package/src/api/outpatient/outpatient.ts +0 -62
  71. package/src/api/patient/alova/apiDefinitions.ts +0 -41
  72. package/src/api/patient/alova/createApis.ts +0 -99
  73. package/src/api/patient/alova/globals.d.ts +0 -1677
  74. package/src/api/patient/alova/implement/index.ts +0 -2
  75. package/src/api/patient/alova/implement/meta.ts +0 -488
  76. package/src/api/patient/alova/implement/patient.ts +0 -77
  77. package/src/api/patient/alova/index.ts +0 -24
  78. package/src/api/patient/core.ts +0 -131
  79. package/src/api/patient/index.ts +0 -4
  80. package/src/api/patient/meta.ts +0 -466
  81. package/src/api/patient/patient.ts +0 -98
  82. package/src/api/prescription/alova/apiDefinitions.ts +0 -29
  83. package/src/api/prescription/alova/createApis.ts +0 -99
  84. package/src/api/prescription/alova/globals.d.ts +0 -959
  85. package/src/api/prescription/alova/implement/herbal.ts +0 -48
  86. package/src/api/prescription/alova/implement/index.ts +0 -2
  87. package/src/api/prescription/alova/implement/prescription.ts +0 -45
  88. package/src/api/prescription/alova/index.ts +0 -23
  89. package/src/api/prescription/herbal.ts +0 -44
  90. package/src/api/prescription/index.ts +0 -3
  91. package/src/api/prescription/prescription.ts +0 -68
  92. package/src/api/scientist/alova/apiDefinitions.ts +0 -27
  93. package/src/api/scientist/alova/createApis.ts +0 -99
  94. package/src/api/scientist/alova/globals.d.ts +0 -438
  95. package/src/api/scientist/alova/implement/index.ts +0 -1
  96. package/src/api/scientist/alova/implement/scientist.ts +0 -29
  97. package/src/api/scientist/alova/index.ts +0 -23
  98. package/src/api/scientist/index.ts +0 -2
  99. package/src/api/scientist/scientist.ts +0 -49
  100. package/src/assets/quasar-logo-vertical.svg +0 -15
  101. package/src/boot/.gitkeep +0 -0
  102. package/src/components/ExampleComponent.vue +0 -37
  103. package/src/components/models.ts +0 -8
  104. package/src/css/app.scss +0 -1
  105. package/src/css/quasar.variables.scss +0 -25
  106. package/src/env.d.ts +0 -7
  107. package/src/index.ts +0 -4
  108. package/src/layouts/UserLayout.vue +0 -106
  109. package/src/pages/LoginPage.vue +0 -32
  110. package/src/proto/Images.proto +0 -7
  111. package/src/proto/WaveMap.proto +0 -10
  112. package/src/proto/index.ts +0 -2
  113. package/src/proto/types/Images_pb.ts +0 -48
  114. package/src/proto/types/WaveMap_pb.ts +0 -59
  115. package/src/router/index.ts +0 -37
  116. package/src/router/routes.ts +0 -14
  117. package/src/util/RichTextUtil.ts +0 -5
  118. package/src/util/datetime.ts +0 -43
  119. package/src/util/export.ts +0 -46
  120. package/src/util/helper.ts +0 -159
  121. package/src/util/image.ts +0 -28
  122. package/src/util/number.ts +0 -146
  123. package/src/util/s256.js +0 -30
  124. package/src/util/secret.ts +0 -60
  125. package/src/util/string.ts +0 -121
  126. package/tsconfig.json +0 -3
@@ -1,959 +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<Responded, any, RequestConfig, Response, ResponseHeader, L1Cache, L2Cache, SE>,
40
- any,
41
- Responded
42
- >,
43
- 'params'
44
- >
45
- : never;
46
-
47
- // Extract the return type of transform function that define in $$userConfigMap, if it not exists, use the default type.
48
- type ExtractUserDefinedTransformed<
49
- DefinitionKey extends keyof typeof apiDefinitions,
50
- Default
51
- > = DefinitionKey extends keyof UserMethodConfigMap
52
- ? UserMethodConfigMap[DefinitionKey]['transform'] extends (...args: any[]) => any
53
- ? Awaited<ReturnType<UserMethodConfigMap[DefinitionKey]['transform']>>
54
- : Default
55
- : Default;
56
- type Alova2Method<
57
- Responded,
58
- DefinitionKey extends keyof typeof apiDefinitions,
59
- CurrentConfig extends Alova2MethodConfig<any>
60
- > =
61
- CollapsedAlova extends Alova<
62
- AlovaGenerics<
63
- any,
64
- any,
65
- infer RequestConfig,
66
- infer Response,
67
- infer ResponseHeader,
68
- infer L1Cache,
69
- infer L2Cache,
70
- infer SE
71
- >
72
- >
73
- ? Method<
74
- AlovaGenerics<
75
- CurrentConfig extends undefined
76
- ? ExtractUserDefinedTransformed<DefinitionKey, Responded>
77
- : CurrentConfig['transform'] extends (...args: any[]) => any
78
- ? Awaited<ReturnType<CurrentConfig['transform']>>
79
- : ExtractUserDefinedTransformed<DefinitionKey, Responded>,
80
- any,
81
- RequestConfig,
82
- Response,
83
- ResponseHeader,
84
- L1Cache,
85
- L2Cache,
86
- SE
87
- >
88
- >
89
- : never;
90
-
91
- export interface DoctorState {
92
- id?: string;
93
- name?: string;
94
- createdTimestamp?: string;
95
- updatedTimestamp?: string;
96
- gender?: string;
97
- identityNumber?: string;
98
- phoneNumber?: string;
99
- birthdate?: string;
100
- }
101
- export interface HerbalState {
102
- id?: string;
103
- name?: string;
104
- price?: number;
105
- weight?: number;
106
- ownerState?: DoctorState;
107
- createdTimestamp?: string;
108
- updatedTimestamp?: string;
109
- }
110
- export interface PrescriptionState {
111
- id?: string;
112
- createdTimestamp?: string;
113
- updatedTimestamp?: string;
114
- name?: string;
115
- ownerState?: DoctorState;
116
- totalAmount?: number;
117
- useAmount?: number;
118
- craftType?: string;
119
- useWay?: string[];
120
- useTime?: string[];
121
- herbalsState?: HerbalState[];
122
- }
123
- export interface QueryPrescriptionRequest {
124
- ownerState?: DoctorState;
125
- name?: string;
126
- startTime?: string;
127
- endTime?: string;
128
- page?: number;
129
- pageSize?: number;
130
- }
131
- export interface QueryHerbalRequest {
132
- ownerState?: DoctorState;
133
- name?: string;
134
- page?: number;
135
- pageSize?: number;
136
- }
137
- export interface SortObject {
138
- sorted?: boolean;
139
- empty?: boolean;
140
- unsorted?: boolean;
141
- }
142
- export interface PageableObject {
143
- paged?: boolean;
144
- pageNumber?: number;
145
- offset?: number;
146
- sort?: SortObject;
147
- pageSize?: number;
148
- unpaged?: boolean;
149
- }
150
- export interface PagePrescriptionState {
151
- totalPages?: number;
152
- totalElements?: number;
153
- pageable?: PageableObject;
154
- size?: number;
155
- content?: PrescriptionState[];
156
- number?: number;
157
- sort?: SortObject;
158
- first?: boolean;
159
- last?: boolean;
160
- numberOfElements?: number;
161
- empty?: boolean;
162
- }
163
- export interface PageHerbalState {
164
- totalPages?: number;
165
- totalElements?: number;
166
- pageable?: PageableObject;
167
- size?: number;
168
- content?: HerbalState[];
169
- number?: number;
170
- sort?: SortObject;
171
- first?: boolean;
172
- last?: boolean;
173
- numberOfElements?: number;
174
- empty?: boolean;
175
- }
176
- declare global {
177
- interface prescriptionApi {
178
- prescriptionRestful: {
179
- /**
180
- * ---
181
- *
182
- * [GET]
183
- *
184
- * **path:** /药材/服务/药方/{id}
185
- *
186
- * ---
187
- *
188
- * **Path Parameters**
189
- * ```ts
190
- * type PathParameters = {
191
- * id: string
192
- * }
193
- * ```
194
- *
195
- * ---
196
- *
197
- * **Response**
198
- * ```ts
199
- * type Response = {
200
- * id?: string
201
- * createdTimestamp?: string
202
- * updatedTimestamp?: string
203
- * name?: string
204
- * ownerState?: {
205
- * id?: string
206
- * name?: string
207
- * createdTimestamp?: string
208
- * updatedTimestamp?: string
209
- * gender?: string
210
- * identityNumber?: string
211
- * phoneNumber?: string
212
- * birthdate?: string
213
- * }
214
- * totalAmount?: number
215
- * useAmount?: number
216
- * craftType?: string
217
- * // [items] start
218
- * // [items] end
219
- * useWay?: string[]
220
- * // [items] start
221
- * // [items] end
222
- * useTime?: string[]
223
- * // [items] start
224
- * // [items] end
225
- * herbalsState?: Array<{
226
- * id?: string
227
- * name?: string
228
- * price?: number
229
- * weight?: number
230
- * ownerState?: {
231
- * id?: string
232
- * name?: string
233
- * createdTimestamp?: string
234
- * updatedTimestamp?: string
235
- * gender?: string
236
- * identityNumber?: string
237
- * phoneNumber?: string
238
- * birthdate?: string
239
- * }
240
- * createdTimestamp?: string
241
- * updatedTimestamp?: string
242
- * }>
243
- * }
244
- * ```
245
- */
246
- getPrescriptionState<
247
- Config extends Alova2MethodConfig<PrescriptionState> & {
248
- pathParams: {
249
- id: string;
250
- };
251
- }
252
- >(
253
- config: Config
254
- ): Alova2Method<PrescriptionState, 'prescriptionRestful.getPrescriptionState', Config>;
255
- /**
256
- * ---
257
- *
258
- * [PUT]
259
- *
260
- * **path:** /药材/服务/药方/{id}
261
- *
262
- * ---
263
- *
264
- * **Path Parameters**
265
- * ```ts
266
- * type PathParameters = {
267
- * id: string
268
- * }
269
- * ```
270
- *
271
- * ---
272
- *
273
- * **RequestBody**
274
- * ```ts
275
- * type RequestBody = {
276
- * id?: string
277
- * createdTimestamp?: string
278
- * updatedTimestamp?: string
279
- * name?: string
280
- * ownerState?: {
281
- * id?: string
282
- * name?: string
283
- * createdTimestamp?: string
284
- * updatedTimestamp?: string
285
- * gender?: string
286
- * identityNumber?: string
287
- * phoneNumber?: string
288
- * birthdate?: string
289
- * }
290
- * totalAmount?: number
291
- * useAmount?: number
292
- * craftType?: string
293
- * // [items] start
294
- * // [items] end
295
- * useWay?: string[]
296
- * // [items] start
297
- * // [items] end
298
- * useTime?: string[]
299
- * // [items] start
300
- * // [items] end
301
- * herbalsState?: Array<{
302
- * id?: string
303
- * name?: string
304
- * price?: number
305
- * weight?: number
306
- * ownerState?: {
307
- * id?: string
308
- * name?: string
309
- * createdTimestamp?: string
310
- * updatedTimestamp?: string
311
- * gender?: string
312
- * identityNumber?: string
313
- * phoneNumber?: string
314
- * birthdate?: string
315
- * }
316
- * createdTimestamp?: string
317
- * updatedTimestamp?: string
318
- * }>
319
- * }
320
- * ```
321
- *
322
- * ---
323
- *
324
- * **Response**
325
- * ```ts
326
- * type Response = {
327
- * id?: string
328
- * createdTimestamp?: string
329
- * updatedTimestamp?: string
330
- * name?: string
331
- * ownerState?: {
332
- * id?: string
333
- * name?: string
334
- * createdTimestamp?: string
335
- * updatedTimestamp?: string
336
- * gender?: string
337
- * identityNumber?: string
338
- * phoneNumber?: string
339
- * birthdate?: string
340
- * }
341
- * totalAmount?: number
342
- * useAmount?: number
343
- * craftType?: string
344
- * // [items] start
345
- * // [items] end
346
- * useWay?: string[]
347
- * // [items] start
348
- * // [items] end
349
- * useTime?: string[]
350
- * // [items] start
351
- * // [items] end
352
- * herbalsState?: Array<{
353
- * id?: string
354
- * name?: string
355
- * price?: number
356
- * weight?: number
357
- * ownerState?: {
358
- * id?: string
359
- * name?: string
360
- * createdTimestamp?: string
361
- * updatedTimestamp?: string
362
- * gender?: string
363
- * identityNumber?: string
364
- * phoneNumber?: string
365
- * birthdate?: string
366
- * }
367
- * createdTimestamp?: string
368
- * updatedTimestamp?: string
369
- * }>
370
- * }
371
- * ```
372
- */
373
- putPrescriptionState<
374
- Config extends Alova2MethodConfig<PrescriptionState> & {
375
- pathParams: {
376
- id: string;
377
- };
378
- data: PrescriptionState;
379
- }
380
- >(
381
- config: Config
382
- ): Alova2Method<PrescriptionState, 'prescriptionRestful.putPrescriptionState', Config>;
383
- /**
384
- * ---
385
- *
386
- * [DELETE]
387
- *
388
- * **path:** /药材/服务/药方/{id}
389
- *
390
- * ---
391
- *
392
- * **Path Parameters**
393
- * ```ts
394
- * type PathParameters = {
395
- * id: string
396
- * }
397
- * ```
398
- *
399
- * ---
400
- *
401
- * **Response**
402
- * ```ts
403
- * type Response = null
404
- * ```
405
- */
406
- deletePrescriptionState<
407
- Config extends Alova2MethodConfig<null> & {
408
- pathParams: {
409
- id: string;
410
- };
411
- }
412
- >(
413
- config: Config
414
- ): Alova2Method<null, 'prescriptionRestful.deletePrescriptionState', Config>;
415
- /**
416
- * ---
417
- *
418
- * [POST]
419
- *
420
- * **path:** /药材/服务/药方
421
- *
422
- * ---
423
- *
424
- * **RequestBody**
425
- * ```ts
426
- * type RequestBody = {
427
- * id?: string
428
- * createdTimestamp?: string
429
- * updatedTimestamp?: string
430
- * name?: string
431
- * ownerState?: {
432
- * id?: string
433
- * name?: string
434
- * createdTimestamp?: string
435
- * updatedTimestamp?: string
436
- * gender?: string
437
- * identityNumber?: string
438
- * phoneNumber?: string
439
- * birthdate?: string
440
- * }
441
- * totalAmount?: number
442
- * useAmount?: number
443
- * craftType?: string
444
- * // [items] start
445
- * // [items] end
446
- * useWay?: string[]
447
- * // [items] start
448
- * // [items] end
449
- * useTime?: string[]
450
- * // [items] start
451
- * // [items] end
452
- * herbalsState?: Array<{
453
- * id?: string
454
- * name?: string
455
- * price?: number
456
- * weight?: number
457
- * ownerState?: {
458
- * id?: string
459
- * name?: string
460
- * createdTimestamp?: string
461
- * updatedTimestamp?: string
462
- * gender?: string
463
- * identityNumber?: string
464
- * phoneNumber?: string
465
- * birthdate?: string
466
- * }
467
- * createdTimestamp?: string
468
- * updatedTimestamp?: string
469
- * }>
470
- * }
471
- * ```
472
- *
473
- * ---
474
- *
475
- * **Response**
476
- * ```ts
477
- * type Response = {
478
- * id?: string
479
- * createdTimestamp?: string
480
- * updatedTimestamp?: string
481
- * name?: string
482
- * ownerState?: {
483
- * id?: string
484
- * name?: string
485
- * createdTimestamp?: string
486
- * updatedTimestamp?: string
487
- * gender?: string
488
- * identityNumber?: string
489
- * phoneNumber?: string
490
- * birthdate?: string
491
- * }
492
- * totalAmount?: number
493
- * useAmount?: number
494
- * craftType?: string
495
- * // [items] start
496
- * // [items] end
497
- * useWay?: string[]
498
- * // [items] start
499
- * // [items] end
500
- * useTime?: string[]
501
- * // [items] start
502
- * // [items] end
503
- * herbalsState?: Array<{
504
- * id?: string
505
- * name?: string
506
- * price?: number
507
- * weight?: number
508
- * ownerState?: {
509
- * id?: string
510
- * name?: string
511
- * createdTimestamp?: string
512
- * updatedTimestamp?: string
513
- * gender?: string
514
- * identityNumber?: string
515
- * phoneNumber?: string
516
- * birthdate?: string
517
- * }
518
- * createdTimestamp?: string
519
- * updatedTimestamp?: string
520
- * }>
521
- * }
522
- * ```
523
- */
524
- postPrescriptionState<
525
- Config extends Alova2MethodConfig<PrescriptionState> & {
526
- data: PrescriptionState;
527
- }
528
- >(
529
- config: Config
530
- ): Alova2Method<PrescriptionState, 'prescriptionRestful.postPrescriptionState', Config>;
531
- /**
532
- * ---
533
- *
534
- * [POST]
535
- *
536
- * **path:** /药材/服务/药方/条件查询
537
- *
538
- * ---
539
- *
540
- * **RequestBody**
541
- * ```ts
542
- * type RequestBody = {
543
- * ownerState?: {
544
- * id?: string
545
- * name?: string
546
- * createdTimestamp?: string
547
- * updatedTimestamp?: string
548
- * gender?: string
549
- * identityNumber?: string
550
- * phoneNumber?: string
551
- * birthdate?: string
552
- * }
553
- * name?: string
554
- * startTime?: string
555
- * endTime?: string
556
- * page?: number
557
- * pageSize?: number
558
- * }
559
- * ```
560
- *
561
- * ---
562
- *
563
- * **Response**
564
- * ```ts
565
- * type Response = {
566
- * totalPages?: number
567
- * totalElements?: number
568
- * pageable?: {
569
- * paged?: boolean
570
- * pageNumber?: number
571
- * offset?: number
572
- * sort?: {
573
- * sorted?: boolean
574
- * empty?: boolean
575
- * unsorted?: boolean
576
- * }
577
- * pageSize?: number
578
- * unpaged?: boolean
579
- * }
580
- * size?: number
581
- * // [items] start
582
- * // [items] end
583
- * content?: Array<{
584
- * id?: string
585
- * createdTimestamp?: string
586
- * updatedTimestamp?: string
587
- * name?: string
588
- * ownerState?: {
589
- * id?: string
590
- * name?: string
591
- * createdTimestamp?: string
592
- * updatedTimestamp?: string
593
- * gender?: string
594
- * identityNumber?: string
595
- * phoneNumber?: string
596
- * birthdate?: string
597
- * }
598
- * totalAmount?: number
599
- * useAmount?: number
600
- * craftType?: string
601
- * // [items] start
602
- * // [items] end
603
- * useWay?: string[]
604
- * // [items] start
605
- * // [items] end
606
- * useTime?: string[]
607
- * // [items] start
608
- * // [items] end
609
- * herbalsState?: Array<{
610
- * id?: string
611
- * name?: string
612
- * price?: number
613
- * weight?: number
614
- * ownerState?: {
615
- * id?: string
616
- * name?: string
617
- * createdTimestamp?: string
618
- * updatedTimestamp?: string
619
- * gender?: string
620
- * identityNumber?: string
621
- * phoneNumber?: string
622
- * birthdate?: string
623
- * }
624
- * createdTimestamp?: string
625
- * updatedTimestamp?: string
626
- * }>
627
- * }>
628
- * number?: number
629
- * sort?: {
630
- * sorted?: boolean
631
- * empty?: boolean
632
- * unsorted?: boolean
633
- * }
634
- * first?: boolean
635
- * last?: boolean
636
- * numberOfElements?: number
637
- * empty?: boolean
638
- * }
639
- * ```
640
- */
641
- queryPrescriptionState<
642
- Config extends Alova2MethodConfig<PagePrescriptionState> & {
643
- data: QueryPrescriptionRequest;
644
- }
645
- >(
646
- config: Config
647
- ): Alova2Method<PagePrescriptionState, 'prescriptionRestful.queryPrescriptionState', Config>;
648
- };
649
- herbalRestful: {
650
- /**
651
- * ---
652
- *
653
- * [GET]
654
- *
655
- * **path:** /药材/服务/{id}
656
- *
657
- * ---
658
- *
659
- * **Path Parameters**
660
- * ```ts
661
- * type PathParameters = {
662
- * id: string
663
- * }
664
- * ```
665
- *
666
- * ---
667
- *
668
- * **Response**
669
- * ```ts
670
- * type Response = {
671
- * id?: string
672
- * name?: string
673
- * price?: number
674
- * weight?: number
675
- * ownerState?: {
676
- * id?: string
677
- * name?: string
678
- * createdTimestamp?: string
679
- * updatedTimestamp?: string
680
- * gender?: string
681
- * identityNumber?: string
682
- * phoneNumber?: string
683
- * birthdate?: string
684
- * }
685
- * createdTimestamp?: string
686
- * updatedTimestamp?: string
687
- * }
688
- * ```
689
- */
690
- getHerbalState<
691
- Config extends Alova2MethodConfig<HerbalState> & {
692
- pathParams: {
693
- id: string;
694
- };
695
- }
696
- >(
697
- config: Config
698
- ): Alova2Method<HerbalState, 'herbalRestful.getHerbalState', Config>;
699
- /**
700
- * ---
701
- *
702
- * [PUT]
703
- *
704
- * **path:** /药材/服务/{id}
705
- *
706
- * ---
707
- *
708
- * **Path Parameters**
709
- * ```ts
710
- * type PathParameters = {
711
- * id: string
712
- * }
713
- * ```
714
- *
715
- * ---
716
- *
717
- * **RequestBody**
718
- * ```ts
719
- * type RequestBody = {
720
- * id?: string
721
- * name?: string
722
- * price?: number
723
- * weight?: number
724
- * ownerState?: {
725
- * id?: string
726
- * name?: string
727
- * createdTimestamp?: string
728
- * updatedTimestamp?: string
729
- * gender?: string
730
- * identityNumber?: string
731
- * phoneNumber?: string
732
- * birthdate?: string
733
- * }
734
- * createdTimestamp?: string
735
- * updatedTimestamp?: string
736
- * }
737
- * ```
738
- *
739
- * ---
740
- *
741
- * **Response**
742
- * ```ts
743
- * type Response = {
744
- * id?: string
745
- * name?: string
746
- * price?: number
747
- * weight?: number
748
- * ownerState?: {
749
- * id?: string
750
- * name?: string
751
- * createdTimestamp?: string
752
- * updatedTimestamp?: string
753
- * gender?: string
754
- * identityNumber?: string
755
- * phoneNumber?: string
756
- * birthdate?: string
757
- * }
758
- * createdTimestamp?: string
759
- * updatedTimestamp?: string
760
- * }
761
- * ```
762
- */
763
- putHerbalState<
764
- Config extends Alova2MethodConfig<HerbalState> & {
765
- pathParams: {
766
- id: string;
767
- };
768
- data: HerbalState;
769
- }
770
- >(
771
- config: Config
772
- ): Alova2Method<HerbalState, 'herbalRestful.putHerbalState', Config>;
773
- /**
774
- * ---
775
- *
776
- * [DELETE]
777
- *
778
- * **path:** /药材/服务/{id}
779
- *
780
- * ---
781
- *
782
- * **Path Parameters**
783
- * ```ts
784
- * type PathParameters = {
785
- * id: string
786
- * }
787
- * ```
788
- *
789
- * ---
790
- *
791
- * **Response**
792
- * ```ts
793
- * type Response = null
794
- * ```
795
- */
796
- deleteHerbalState<
797
- Config extends Alova2MethodConfig<null> & {
798
- pathParams: {
799
- id: string;
800
- };
801
- }
802
- >(
803
- config: Config
804
- ): Alova2Method<null, 'herbalRestful.deleteHerbalState', Config>;
805
- /**
806
- * ---
807
- *
808
- * [POST]
809
- *
810
- * **path:** /药材/服务
811
- *
812
- * ---
813
- *
814
- * **RequestBody**
815
- * ```ts
816
- * type RequestBody = {
817
- * id?: string
818
- * name?: string
819
- * price?: number
820
- * weight?: number
821
- * ownerState?: {
822
- * id?: string
823
- * name?: string
824
- * createdTimestamp?: string
825
- * updatedTimestamp?: string
826
- * gender?: string
827
- * identityNumber?: string
828
- * phoneNumber?: string
829
- * birthdate?: string
830
- * }
831
- * createdTimestamp?: string
832
- * updatedTimestamp?: string
833
- * }
834
- * ```
835
- *
836
- * ---
837
- *
838
- * **Response**
839
- * ```ts
840
- * type Response = {
841
- * id?: string
842
- * name?: string
843
- * price?: number
844
- * weight?: number
845
- * ownerState?: {
846
- * id?: string
847
- * name?: string
848
- * createdTimestamp?: string
849
- * updatedTimestamp?: string
850
- * gender?: string
851
- * identityNumber?: string
852
- * phoneNumber?: string
853
- * birthdate?: string
854
- * }
855
- * createdTimestamp?: string
856
- * updatedTimestamp?: string
857
- * }
858
- * ```
859
- */
860
- postHerbalState<
861
- Config extends Alova2MethodConfig<HerbalState> & {
862
- data: HerbalState;
863
- }
864
- >(
865
- config: Config
866
- ): Alova2Method<HerbalState, 'herbalRestful.postHerbalState', Config>;
867
- /**
868
- * ---
869
- *
870
- * [POST]
871
- *
872
- * **path:** /药材/服务/条件查询
873
- *
874
- * ---
875
- *
876
- * **RequestBody**
877
- * ```ts
878
- * type RequestBody = {
879
- * ownerState?: {
880
- * id?: string
881
- * name?: string
882
- * createdTimestamp?: string
883
- * updatedTimestamp?: string
884
- * gender?: string
885
- * identityNumber?: string
886
- * phoneNumber?: string
887
- * birthdate?: string
888
- * }
889
- * name?: string
890
- * page?: number
891
- * pageSize?: number
892
- * }
893
- * ```
894
- *
895
- * ---
896
- *
897
- * **Response**
898
- * ```ts
899
- * type Response = {
900
- * totalPages?: number
901
- * totalElements?: number
902
- * pageable?: {
903
- * paged?: boolean
904
- * pageNumber?: number
905
- * offset?: number
906
- * sort?: {
907
- * sorted?: boolean
908
- * empty?: boolean
909
- * unsorted?: boolean
910
- * }
911
- * pageSize?: number
912
- * unpaged?: boolean
913
- * }
914
- * size?: number
915
- * // [items] start
916
- * // [items] end
917
- * content?: Array<{
918
- * id?: string
919
- * name?: string
920
- * price?: number
921
- * weight?: number
922
- * ownerState?: {
923
- * id?: string
924
- * name?: string
925
- * createdTimestamp?: string
926
- * updatedTimestamp?: string
927
- * gender?: string
928
- * identityNumber?: string
929
- * phoneNumber?: string
930
- * birthdate?: string
931
- * }
932
- * createdTimestamp?: string
933
- * updatedTimestamp?: string
934
- * }>
935
- * number?: number
936
- * sort?: {
937
- * sorted?: boolean
938
- * empty?: boolean
939
- * unsorted?: boolean
940
- * }
941
- * first?: boolean
942
- * last?: boolean
943
- * numberOfElements?: number
944
- * empty?: boolean
945
- * }
946
- * ```
947
- */
948
- queryHerbalState<
949
- Config extends Alova2MethodConfig<PageHerbalState> & {
950
- data: QueryHerbalRequest;
951
- }
952
- >(
953
- config: Config
954
- ): Alova2Method<PageHerbalState, 'herbalRestful.queryHerbalState', Config>;
955
- };
956
- }
957
-
958
- var prescriptionApi: prescriptionApi;
959
- }