web-core-tcm 0.0.38 → 0.0.40

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