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.
- package/dist/src/api/authorization/alova/globals.d.ts +250 -352
- package/dist/src/api/authorization/alova/implement/authorization.d.ts +1 -1
- package/dist/src/api/authorization/alova/index.d.ts +1 -0
- package/dist/src/api/check/alova/globals.d.ts +1097 -1205
- package/dist/src/api/check/alova/index.d.ts +1 -0
- package/dist/src/api/doctor/alova/globals.d.ts +419 -523
- package/dist/src/api/doctor/alova/index.d.ts +1 -0
- package/dist/src/api/oauth/alova/globals.d.ts +312 -412
- package/dist/src/api/oauth/alova/index.d.ts +1 -0
- package/dist/src/api/outpatient/alova/globals.d.ts +543 -643
- package/dist/src/api/outpatient/alova/index.d.ts +1 -0
- package/dist/src/api/patient/alova/globals.d.ts +1480 -1636
- package/dist/src/api/patient/alova/index.d.ts +1 -0
- package/dist/src/api/prescription/alova/globals.d.ts +812 -926
- package/dist/src/api/prescription/alova/index.d.ts +1 -0
- package/dist/src/api/scientist/alova/globals.d.ts +315 -415
- package/dist/src/api/scientist/alova/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,540 +3,436 @@ 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
|
|
8
|
-
|
|
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
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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 QueryDoctorStateByExactMatchRequest {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
20
|
+
id?: string[];
|
|
21
|
+
doctorId?: string[];
|
|
22
|
+
name?: string[];
|
|
23
|
+
phoneNumber?: string[];
|
|
24
|
+
gender?: string[];
|
|
25
|
+
identityNumber?: string[];
|
|
26
|
+
pageSize?: number;
|
|
27
|
+
page?: number;
|
|
28
|
+
startTime?: number;
|
|
29
|
+
endTime?: number;
|
|
30
|
+
sort?: string;
|
|
105
31
|
}
|
|
106
32
|
export interface DateDistribute {
|
|
107
|
-
|
|
108
|
-
|
|
33
|
+
date?: string;
|
|
34
|
+
count?: number;
|
|
109
35
|
}
|
|
110
36
|
export interface SortObject {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
37
|
+
empty?: boolean;
|
|
38
|
+
sorted?: boolean;
|
|
39
|
+
unsorted?: boolean;
|
|
114
40
|
}
|
|
115
41
|
export interface PageableObject {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
42
|
+
offset?: number;
|
|
43
|
+
sort?: SortObject;
|
|
44
|
+
pageSize?: number;
|
|
45
|
+
paged?: boolean;
|
|
46
|
+
pageNumber?: number;
|
|
47
|
+
unpaged?: boolean;
|
|
122
48
|
}
|
|
123
49
|
export interface PageDoctorState {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
50
|
+
totalPages?: number;
|
|
51
|
+
totalElements?: number;
|
|
52
|
+
size?: number;
|
|
53
|
+
content?: DoctorState[];
|
|
54
|
+
number?: number;
|
|
55
|
+
sort?: SortObject;
|
|
56
|
+
first?: boolean;
|
|
57
|
+
last?: boolean;
|
|
58
|
+
numberOfElements?: number;
|
|
59
|
+
pageable?: PageableObject;
|
|
60
|
+
empty?: boolean;
|
|
135
61
|
}
|
|
136
62
|
declare global {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
* ---
|
|
512
|
-
*
|
|
513
|
-
* **Response**
|
|
514
|
-
* ```ts
|
|
515
|
-
* type Response = number
|
|
516
|
-
* ```
|
|
517
|
-
*/
|
|
518
|
-
totalOfDoctor<Config extends Alova2MethodConfig<number>>(
|
|
519
|
-
config?: Config,
|
|
520
|
-
): Alova2Method<number, 'doctorStateRestful.totalOfDoctor', Config>;
|
|
521
|
-
/**
|
|
522
|
-
* ---
|
|
523
|
-
*
|
|
524
|
-
* [GET]
|
|
525
|
-
*
|
|
526
|
-
* **path:** /医生/服务/统计/医生/今日
|
|
527
|
-
*
|
|
528
|
-
* ---
|
|
529
|
-
*
|
|
530
|
-
* **Response**
|
|
531
|
-
* ```ts
|
|
532
|
-
* type Response = number
|
|
533
|
-
* ```
|
|
534
|
-
*/
|
|
535
|
-
totalOfDoctorByToday<Config extends Alova2MethodConfig<number>>(
|
|
536
|
-
config?: Config,
|
|
537
|
-
): Alova2Method<number, 'doctorStateRestful.totalOfDoctorByToday', Config>;
|
|
538
|
-
};
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
var doctorApi: doctorApi;
|
|
63
|
+
interface doctorApi {
|
|
64
|
+
doctorStateRestful: {
|
|
65
|
+
/**
|
|
66
|
+
* ---
|
|
67
|
+
*
|
|
68
|
+
* [GET]
|
|
69
|
+
*
|
|
70
|
+
* **path:** /医生/服务/{id}
|
|
71
|
+
*
|
|
72
|
+
* ---
|
|
73
|
+
*
|
|
74
|
+
* **Path Parameters**
|
|
75
|
+
* ```ts
|
|
76
|
+
* type PathParameters = {
|
|
77
|
+
* id: string
|
|
78
|
+
* }
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* ---
|
|
82
|
+
*
|
|
83
|
+
* **Response**
|
|
84
|
+
* ```ts
|
|
85
|
+
* type Response = {
|
|
86
|
+
* id?: string
|
|
87
|
+
* name?: string
|
|
88
|
+
* createdTimestamp?: string
|
|
89
|
+
* updatedTimestamp?: string
|
|
90
|
+
* gender?: string
|
|
91
|
+
* identityNumber?: string
|
|
92
|
+
* phoneNumber?: string
|
|
93
|
+
* birthdate?: string
|
|
94
|
+
* }
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
getDoctorState<Config extends Alova2MethodConfig<DoctorState> & {
|
|
98
|
+
pathParams: {
|
|
99
|
+
id: string;
|
|
100
|
+
};
|
|
101
|
+
}>(config: Config): Alova2Method<DoctorState, 'doctorStateRestful.getDoctorState', Config>;
|
|
102
|
+
/**
|
|
103
|
+
* ---
|
|
104
|
+
*
|
|
105
|
+
* [PUT]
|
|
106
|
+
*
|
|
107
|
+
* **path:** /医生/服务/{id}
|
|
108
|
+
*
|
|
109
|
+
* ---
|
|
110
|
+
*
|
|
111
|
+
* **Path Parameters**
|
|
112
|
+
* ```ts
|
|
113
|
+
* type PathParameters = {
|
|
114
|
+
* id: string
|
|
115
|
+
* }
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* ---
|
|
119
|
+
*
|
|
120
|
+
* **RequestBody**
|
|
121
|
+
* ```ts
|
|
122
|
+
* type RequestBody = {
|
|
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
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* ---
|
|
135
|
+
*
|
|
136
|
+
* **Response**
|
|
137
|
+
* ```ts
|
|
138
|
+
* type Response = {
|
|
139
|
+
* id?: string
|
|
140
|
+
* name?: string
|
|
141
|
+
* createdTimestamp?: string
|
|
142
|
+
* updatedTimestamp?: string
|
|
143
|
+
* gender?: string
|
|
144
|
+
* identityNumber?: string
|
|
145
|
+
* phoneNumber?: string
|
|
146
|
+
* birthdate?: string
|
|
147
|
+
* }
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
putDoctorState<Config extends Alova2MethodConfig<DoctorState> & {
|
|
151
|
+
pathParams: {
|
|
152
|
+
id: string;
|
|
153
|
+
};
|
|
154
|
+
data: DoctorState;
|
|
155
|
+
}>(config: Config): Alova2Method<DoctorState, 'doctorStateRestful.putDoctorState', Config>;
|
|
156
|
+
/**
|
|
157
|
+
* ---
|
|
158
|
+
*
|
|
159
|
+
* [DELETE]
|
|
160
|
+
*
|
|
161
|
+
* **path:** /医生/服务/{id}
|
|
162
|
+
*
|
|
163
|
+
* ---
|
|
164
|
+
*
|
|
165
|
+
* **Path Parameters**
|
|
166
|
+
* ```ts
|
|
167
|
+
* type PathParameters = {
|
|
168
|
+
* id: string
|
|
169
|
+
* }
|
|
170
|
+
* ```
|
|
171
|
+
*
|
|
172
|
+
* ---
|
|
173
|
+
*
|
|
174
|
+
* **Response**
|
|
175
|
+
* ```ts
|
|
176
|
+
* type Response = null
|
|
177
|
+
* ```
|
|
178
|
+
*/
|
|
179
|
+
deleteDoctorState<Config extends Alova2MethodConfig<null> & {
|
|
180
|
+
pathParams: {
|
|
181
|
+
id: string;
|
|
182
|
+
};
|
|
183
|
+
}>(config: Config): Alova2Method<null, 'doctorStateRestful.deleteDoctorState', Config>;
|
|
184
|
+
/**
|
|
185
|
+
* ---
|
|
186
|
+
*
|
|
187
|
+
* [GET]
|
|
188
|
+
*
|
|
189
|
+
* **path:** /医生/服务
|
|
190
|
+
*
|
|
191
|
+
* ---
|
|
192
|
+
*
|
|
193
|
+
* **Query Parameters**
|
|
194
|
+
* ```ts
|
|
195
|
+
* type QueryParameters = {
|
|
196
|
+
* id?: string
|
|
197
|
+
* name?: string
|
|
198
|
+
* phoneNumber?: string
|
|
199
|
+
* pageSize: number
|
|
200
|
+
* page: number
|
|
201
|
+
* }
|
|
202
|
+
* ```
|
|
203
|
+
*
|
|
204
|
+
* ---
|
|
205
|
+
*
|
|
206
|
+
* **Response**
|
|
207
|
+
* ```ts
|
|
208
|
+
* type Response = {
|
|
209
|
+
* totalPages?: number
|
|
210
|
+
* totalElements?: number
|
|
211
|
+
* size?: number
|
|
212
|
+
* // [items] start
|
|
213
|
+
* // [items] end
|
|
214
|
+
* content?: Array<{
|
|
215
|
+
* id?: string
|
|
216
|
+
* name?: string
|
|
217
|
+
* createdTimestamp?: string
|
|
218
|
+
* updatedTimestamp?: string
|
|
219
|
+
* gender?: string
|
|
220
|
+
* identityNumber?: string
|
|
221
|
+
* phoneNumber?: string
|
|
222
|
+
* birthdate?: string
|
|
223
|
+
* }>
|
|
224
|
+
* number?: number
|
|
225
|
+
* sort?: {
|
|
226
|
+
* empty?: boolean
|
|
227
|
+
* sorted?: boolean
|
|
228
|
+
* unsorted?: boolean
|
|
229
|
+
* }
|
|
230
|
+
* first?: boolean
|
|
231
|
+
* last?: boolean
|
|
232
|
+
* numberOfElements?: number
|
|
233
|
+
* pageable?: {
|
|
234
|
+
* offset?: number
|
|
235
|
+
* sort?: {
|
|
236
|
+
* empty?: boolean
|
|
237
|
+
* sorted?: boolean
|
|
238
|
+
* unsorted?: boolean
|
|
239
|
+
* }
|
|
240
|
+
* pageSize?: number
|
|
241
|
+
* paged?: boolean
|
|
242
|
+
* pageNumber?: number
|
|
243
|
+
* unpaged?: boolean
|
|
244
|
+
* }
|
|
245
|
+
* empty?: boolean
|
|
246
|
+
* }
|
|
247
|
+
* ```
|
|
248
|
+
*/
|
|
249
|
+
queryDoctorState<Config extends Alova2MethodConfig<PageDoctorState> & {
|
|
250
|
+
params: {
|
|
251
|
+
id?: string;
|
|
252
|
+
name?: string;
|
|
253
|
+
phoneNumber?: string;
|
|
254
|
+
pageSize: number;
|
|
255
|
+
page: number;
|
|
256
|
+
};
|
|
257
|
+
}>(config: Config): Alova2Method<PageDoctorState, 'doctorStateRestful.queryDoctorState', Config>;
|
|
258
|
+
/**
|
|
259
|
+
* ---
|
|
260
|
+
*
|
|
261
|
+
* [POST]
|
|
262
|
+
*
|
|
263
|
+
* **path:** /医生/服务
|
|
264
|
+
*
|
|
265
|
+
* ---
|
|
266
|
+
*
|
|
267
|
+
* **RequestBody**
|
|
268
|
+
* ```ts
|
|
269
|
+
* type RequestBody = {
|
|
270
|
+
* id?: string
|
|
271
|
+
* name?: string
|
|
272
|
+
* createdTimestamp?: string
|
|
273
|
+
* updatedTimestamp?: string
|
|
274
|
+
* gender?: string
|
|
275
|
+
* identityNumber?: string
|
|
276
|
+
* phoneNumber?: string
|
|
277
|
+
* birthdate?: string
|
|
278
|
+
* }
|
|
279
|
+
* ```
|
|
280
|
+
*
|
|
281
|
+
* ---
|
|
282
|
+
*
|
|
283
|
+
* **Response**
|
|
284
|
+
* ```ts
|
|
285
|
+
* type Response = {
|
|
286
|
+
* id?: string
|
|
287
|
+
* name?: string
|
|
288
|
+
* createdTimestamp?: string
|
|
289
|
+
* updatedTimestamp?: string
|
|
290
|
+
* gender?: string
|
|
291
|
+
* identityNumber?: string
|
|
292
|
+
* phoneNumber?: string
|
|
293
|
+
* birthdate?: string
|
|
294
|
+
* }
|
|
295
|
+
* ```
|
|
296
|
+
*/
|
|
297
|
+
postDoctorState<Config extends Alova2MethodConfig<DoctorState> & {
|
|
298
|
+
data: DoctorState;
|
|
299
|
+
}>(config: Config): Alova2Method<DoctorState, 'doctorStateRestful.postDoctorState', Config>;
|
|
300
|
+
/**
|
|
301
|
+
* ---
|
|
302
|
+
*
|
|
303
|
+
* [POST]
|
|
304
|
+
*
|
|
305
|
+
* **path:** /医生/服务/精确匹配
|
|
306
|
+
*
|
|
307
|
+
* ---
|
|
308
|
+
*
|
|
309
|
+
* **RequestBody**
|
|
310
|
+
* ```ts
|
|
311
|
+
* type RequestBody = {
|
|
312
|
+
* // [items] start
|
|
313
|
+
* // [items] end
|
|
314
|
+
* id?: string[]
|
|
315
|
+
* // [items] start
|
|
316
|
+
* // [items] end
|
|
317
|
+
* doctorId?: string[]
|
|
318
|
+
* // [items] start
|
|
319
|
+
* // [items] end
|
|
320
|
+
* name?: string[]
|
|
321
|
+
* // [items] start
|
|
322
|
+
* // [items] end
|
|
323
|
+
* phoneNumber?: string[]
|
|
324
|
+
* // [items] start
|
|
325
|
+
* // [items] end
|
|
326
|
+
* gender?: string[]
|
|
327
|
+
* // [items] start
|
|
328
|
+
* // [items] end
|
|
329
|
+
* identityNumber?: string[]
|
|
330
|
+
* pageSize?: number
|
|
331
|
+
* page?: number
|
|
332
|
+
* startTime?: number
|
|
333
|
+
* endTime?: number
|
|
334
|
+
* sort?: string
|
|
335
|
+
* }
|
|
336
|
+
* ```
|
|
337
|
+
*
|
|
338
|
+
* ---
|
|
339
|
+
*
|
|
340
|
+
* **Response**
|
|
341
|
+
* ```ts
|
|
342
|
+
* type Response = {
|
|
343
|
+
* totalPages?: number
|
|
344
|
+
* totalElements?: number
|
|
345
|
+
* size?: number
|
|
346
|
+
* // [items] start
|
|
347
|
+
* // [items] end
|
|
348
|
+
* content?: Array<{
|
|
349
|
+
* id?: string
|
|
350
|
+
* name?: string
|
|
351
|
+
* createdTimestamp?: string
|
|
352
|
+
* updatedTimestamp?: string
|
|
353
|
+
* gender?: string
|
|
354
|
+
* identityNumber?: string
|
|
355
|
+
* phoneNumber?: string
|
|
356
|
+
* birthdate?: string
|
|
357
|
+
* }>
|
|
358
|
+
* number?: number
|
|
359
|
+
* sort?: {
|
|
360
|
+
* empty?: boolean
|
|
361
|
+
* sorted?: boolean
|
|
362
|
+
* unsorted?: boolean
|
|
363
|
+
* }
|
|
364
|
+
* first?: boolean
|
|
365
|
+
* last?: boolean
|
|
366
|
+
* numberOfElements?: number
|
|
367
|
+
* pageable?: {
|
|
368
|
+
* offset?: number
|
|
369
|
+
* sort?: {
|
|
370
|
+
* empty?: boolean
|
|
371
|
+
* sorted?: boolean
|
|
372
|
+
* unsorted?: boolean
|
|
373
|
+
* }
|
|
374
|
+
* pageSize?: number
|
|
375
|
+
* paged?: boolean
|
|
376
|
+
* pageNumber?: number
|
|
377
|
+
* unpaged?: boolean
|
|
378
|
+
* }
|
|
379
|
+
* empty?: boolean
|
|
380
|
+
* }
|
|
381
|
+
* ```
|
|
382
|
+
*/
|
|
383
|
+
queryDoctorStateByExactMatch<Config extends Alova2MethodConfig<PageDoctorState> & {
|
|
384
|
+
data: QueryDoctorStateByExactMatchRequest;
|
|
385
|
+
}>(config: Config): Alova2Method<PageDoctorState, 'doctorStateRestful.queryDoctorStateByExactMatch', Config>;
|
|
386
|
+
/**
|
|
387
|
+
* ---
|
|
388
|
+
*
|
|
389
|
+
* [GET]
|
|
390
|
+
*
|
|
391
|
+
* **path:** /医生/服务/统计/医生/日期
|
|
392
|
+
*
|
|
393
|
+
* ---
|
|
394
|
+
*
|
|
395
|
+
* **Response**
|
|
396
|
+
* ```ts
|
|
397
|
+
* type Response = Array<{
|
|
398
|
+
* date?: string
|
|
399
|
+
* count?: number
|
|
400
|
+
* }>
|
|
401
|
+
* ```
|
|
402
|
+
*/
|
|
403
|
+
datesOfDoctor<Config extends Alova2MethodConfig<DateDistribute[]>>(config?: Config): Alova2Method<DateDistribute[], 'doctorStateRestful.datesOfDoctor', Config>;
|
|
404
|
+
/**
|
|
405
|
+
* ---
|
|
406
|
+
*
|
|
407
|
+
* [GET]
|
|
408
|
+
*
|
|
409
|
+
* **path:** /医生/服务/统计/医生/总数
|
|
410
|
+
*
|
|
411
|
+
* ---
|
|
412
|
+
*
|
|
413
|
+
* **Response**
|
|
414
|
+
* ```ts
|
|
415
|
+
* type Response = number
|
|
416
|
+
* ```
|
|
417
|
+
*/
|
|
418
|
+
totalOfDoctor<Config extends Alova2MethodConfig<number>>(config?: Config): Alova2Method<number, 'doctorStateRestful.totalOfDoctor', Config>;
|
|
419
|
+
/**
|
|
420
|
+
* ---
|
|
421
|
+
*
|
|
422
|
+
* [GET]
|
|
423
|
+
*
|
|
424
|
+
* **path:** /医生/服务/统计/医生/今日
|
|
425
|
+
*
|
|
426
|
+
* ---
|
|
427
|
+
*
|
|
428
|
+
* **Response**
|
|
429
|
+
* ```ts
|
|
430
|
+
* type Response = number
|
|
431
|
+
* ```
|
|
432
|
+
*/
|
|
433
|
+
totalOfDoctorByToday<Config extends Alova2MethodConfig<number>>(config?: Config): Alova2Method<number, 'doctorStateRestful.totalOfDoctorByToday', Config>;
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
var doctorApi: doctorApi;
|
|
542
437
|
}
|
|
438
|
+
export {};
|