web-core-tcm 0.0.29 → 0.0.34

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