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,428 +3,328 @@ 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 ScientistState {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
10
|
+
id?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
createdTimestamp?: string;
|
|
13
|
+
updatedTimestamp?: string;
|
|
14
|
+
identityNumber?: string;
|
|
15
|
+
gender?: string;
|
|
16
|
+
phoneNumber?: string;
|
|
17
|
+
birthdate?: string;
|
|
92
18
|
}
|
|
93
19
|
export interface SortObject {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
20
|
+
empty?: boolean;
|
|
21
|
+
sorted?: boolean;
|
|
22
|
+
unsorted?: boolean;
|
|
97
23
|
}
|
|
98
24
|
export interface PageableObject {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
25
|
+
offset?: number;
|
|
26
|
+
sort?: SortObject;
|
|
27
|
+
pageSize?: number;
|
|
28
|
+
paged?: boolean;
|
|
29
|
+
pageNumber?: number;
|
|
30
|
+
unpaged?: boolean;
|
|
105
31
|
}
|
|
106
32
|
export interface PageScientistState {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
33
|
+
totalPages?: number;
|
|
34
|
+
totalElements?: number;
|
|
35
|
+
size?: number;
|
|
36
|
+
content?: ScientistState[];
|
|
37
|
+
number?: number;
|
|
38
|
+
sort?: SortObject;
|
|
39
|
+
numberOfElements?: number;
|
|
40
|
+
pageable?: PageableObject;
|
|
41
|
+
first?: boolean;
|
|
42
|
+
last?: boolean;
|
|
43
|
+
empty?: boolean;
|
|
118
44
|
}
|
|
119
45
|
declare global {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
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
|
-
* type Response = number
|
|
404
|
-
* ```
|
|
405
|
-
*/
|
|
406
|
-
totalOfScientist<Config extends Alova2MethodConfig<number>>(
|
|
407
|
-
config?: Config,
|
|
408
|
-
): Alova2Method<number, 'scientistStateRestful.totalOfScientist', Config>;
|
|
409
|
-
/**
|
|
410
|
-
* ---
|
|
411
|
-
*
|
|
412
|
-
* [GET]
|
|
413
|
-
*
|
|
414
|
-
* **path:** /科研/服务/统计/科研/今日
|
|
415
|
-
*
|
|
416
|
-
* ---
|
|
417
|
-
*
|
|
418
|
-
* **Response**
|
|
419
|
-
* ```ts
|
|
420
|
-
* type Response = number
|
|
421
|
-
* ```
|
|
422
|
-
*/
|
|
423
|
-
todayOfScientistByToday<Config extends Alova2MethodConfig<number>>(
|
|
424
|
-
config?: Config,
|
|
425
|
-
): Alova2Method<number, 'scientistStateRestful.todayOfScientistByToday', Config>;
|
|
426
|
-
};
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
var scientistApi: scientistApi;
|
|
46
|
+
interface scientistApi {
|
|
47
|
+
scientistStateRestful: {
|
|
48
|
+
/**
|
|
49
|
+
* ---
|
|
50
|
+
*
|
|
51
|
+
* [GET]
|
|
52
|
+
*
|
|
53
|
+
* **path:** /科研/服务/{id}
|
|
54
|
+
*
|
|
55
|
+
* ---
|
|
56
|
+
*
|
|
57
|
+
* **Path Parameters**
|
|
58
|
+
* ```ts
|
|
59
|
+
* type PathParameters = {
|
|
60
|
+
* id: string
|
|
61
|
+
* }
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* ---
|
|
65
|
+
*
|
|
66
|
+
* **Response**
|
|
67
|
+
* ```ts
|
|
68
|
+
* type Response = {
|
|
69
|
+
* id?: string
|
|
70
|
+
* name?: string
|
|
71
|
+
* createdTimestamp?: string
|
|
72
|
+
* updatedTimestamp?: string
|
|
73
|
+
* identityNumber?: string
|
|
74
|
+
* gender?: string
|
|
75
|
+
* phoneNumber?: string
|
|
76
|
+
* birthdate?: string
|
|
77
|
+
* }
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
getScientistState<Config extends Alova2MethodConfig<ScientistState> & {
|
|
81
|
+
pathParams: {
|
|
82
|
+
id: string;
|
|
83
|
+
};
|
|
84
|
+
}>(config: Config): Alova2Method<ScientistState, 'scientistStateRestful.getScientistState', Config>;
|
|
85
|
+
/**
|
|
86
|
+
* ---
|
|
87
|
+
*
|
|
88
|
+
* [PUT]
|
|
89
|
+
*
|
|
90
|
+
* **path:** /科研/服务/{id}
|
|
91
|
+
*
|
|
92
|
+
* ---
|
|
93
|
+
*
|
|
94
|
+
* **Path Parameters**
|
|
95
|
+
* ```ts
|
|
96
|
+
* type PathParameters = {
|
|
97
|
+
* id: string
|
|
98
|
+
* }
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* ---
|
|
102
|
+
*
|
|
103
|
+
* **RequestBody**
|
|
104
|
+
* ```ts
|
|
105
|
+
* type RequestBody = {
|
|
106
|
+
* id?: string
|
|
107
|
+
* name?: string
|
|
108
|
+
* createdTimestamp?: string
|
|
109
|
+
* updatedTimestamp?: string
|
|
110
|
+
* identityNumber?: string
|
|
111
|
+
* gender?: string
|
|
112
|
+
* phoneNumber?: string
|
|
113
|
+
* birthdate?: string
|
|
114
|
+
* }
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* ---
|
|
118
|
+
*
|
|
119
|
+
* **Response**
|
|
120
|
+
* ```ts
|
|
121
|
+
* type Response = {
|
|
122
|
+
* id?: string
|
|
123
|
+
* name?: string
|
|
124
|
+
* createdTimestamp?: string
|
|
125
|
+
* updatedTimestamp?: string
|
|
126
|
+
* identityNumber?: string
|
|
127
|
+
* gender?: string
|
|
128
|
+
* phoneNumber?: string
|
|
129
|
+
* birthdate?: string
|
|
130
|
+
* }
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
putScientistState<Config extends Alova2MethodConfig<ScientistState> & {
|
|
134
|
+
pathParams: {
|
|
135
|
+
id: string;
|
|
136
|
+
};
|
|
137
|
+
data: ScientistState;
|
|
138
|
+
}>(config: Config): Alova2Method<ScientistState, 'scientistStateRestful.putScientistState', Config>;
|
|
139
|
+
/**
|
|
140
|
+
* ---
|
|
141
|
+
*
|
|
142
|
+
* [DELETE]
|
|
143
|
+
*
|
|
144
|
+
* **path:** /科研/服务/{id}
|
|
145
|
+
*
|
|
146
|
+
* ---
|
|
147
|
+
*
|
|
148
|
+
* **Path Parameters**
|
|
149
|
+
* ```ts
|
|
150
|
+
* type PathParameters = {
|
|
151
|
+
* id: string
|
|
152
|
+
* }
|
|
153
|
+
* ```
|
|
154
|
+
*
|
|
155
|
+
* ---
|
|
156
|
+
*
|
|
157
|
+
* **Response**
|
|
158
|
+
* ```ts
|
|
159
|
+
* type Response = null
|
|
160
|
+
* ```
|
|
161
|
+
*/
|
|
162
|
+
deleteScientistState<Config extends Alova2MethodConfig<null> & {
|
|
163
|
+
pathParams: {
|
|
164
|
+
id: string;
|
|
165
|
+
};
|
|
166
|
+
}>(config: Config): Alova2Method<null, 'scientistStateRestful.deleteScientistState', Config>;
|
|
167
|
+
/**
|
|
168
|
+
* ---
|
|
169
|
+
*
|
|
170
|
+
* [GET]
|
|
171
|
+
*
|
|
172
|
+
* **path:** /科研/服务
|
|
173
|
+
*
|
|
174
|
+
* ---
|
|
175
|
+
*
|
|
176
|
+
* **Query Parameters**
|
|
177
|
+
* ```ts
|
|
178
|
+
* type QueryParameters = {
|
|
179
|
+
* name?: string
|
|
180
|
+
* phoneNumber?: string
|
|
181
|
+
* pageSize: number
|
|
182
|
+
* page: number
|
|
183
|
+
* }
|
|
184
|
+
* ```
|
|
185
|
+
*
|
|
186
|
+
* ---
|
|
187
|
+
*
|
|
188
|
+
* **Response**
|
|
189
|
+
* ```ts
|
|
190
|
+
* type Response = {
|
|
191
|
+
* totalPages?: number
|
|
192
|
+
* totalElements?: number
|
|
193
|
+
* size?: number
|
|
194
|
+
* // [items] start
|
|
195
|
+
* // [items] end
|
|
196
|
+
* content?: Array<{
|
|
197
|
+
* id?: string
|
|
198
|
+
* name?: string
|
|
199
|
+
* createdTimestamp?: string
|
|
200
|
+
* updatedTimestamp?: string
|
|
201
|
+
* identityNumber?: string
|
|
202
|
+
* gender?: string
|
|
203
|
+
* phoneNumber?: string
|
|
204
|
+
* birthdate?: string
|
|
205
|
+
* }>
|
|
206
|
+
* number?: number
|
|
207
|
+
* sort?: {
|
|
208
|
+
* empty?: boolean
|
|
209
|
+
* sorted?: boolean
|
|
210
|
+
* unsorted?: boolean
|
|
211
|
+
* }
|
|
212
|
+
* numberOfElements?: number
|
|
213
|
+
* pageable?: {
|
|
214
|
+
* offset?: number
|
|
215
|
+
* sort?: {
|
|
216
|
+
* empty?: boolean
|
|
217
|
+
* sorted?: boolean
|
|
218
|
+
* unsorted?: boolean
|
|
219
|
+
* }
|
|
220
|
+
* pageSize?: number
|
|
221
|
+
* paged?: boolean
|
|
222
|
+
* pageNumber?: number
|
|
223
|
+
* unpaged?: boolean
|
|
224
|
+
* }
|
|
225
|
+
* first?: boolean
|
|
226
|
+
* last?: boolean
|
|
227
|
+
* empty?: boolean
|
|
228
|
+
* }
|
|
229
|
+
* ```
|
|
230
|
+
*/
|
|
231
|
+
queryScientistState<Config extends Alova2MethodConfig<PageScientistState> & {
|
|
232
|
+
params: {
|
|
233
|
+
name?: string;
|
|
234
|
+
phoneNumber?: string;
|
|
235
|
+
pageSize: number;
|
|
236
|
+
page: number;
|
|
237
|
+
};
|
|
238
|
+
}>(config: Config): Alova2Method<PageScientistState, 'scientistStateRestful.queryScientistState', Config>;
|
|
239
|
+
/**
|
|
240
|
+
* ---
|
|
241
|
+
*
|
|
242
|
+
* [POST]
|
|
243
|
+
*
|
|
244
|
+
* **path:** /科研/服务
|
|
245
|
+
*
|
|
246
|
+
* ---
|
|
247
|
+
*
|
|
248
|
+
* **RequestBody**
|
|
249
|
+
* ```ts
|
|
250
|
+
* type RequestBody = {
|
|
251
|
+
* id?: string
|
|
252
|
+
* name?: string
|
|
253
|
+
* createdTimestamp?: string
|
|
254
|
+
* updatedTimestamp?: string
|
|
255
|
+
* identityNumber?: string
|
|
256
|
+
* gender?: string
|
|
257
|
+
* phoneNumber?: string
|
|
258
|
+
* birthdate?: string
|
|
259
|
+
* }
|
|
260
|
+
* ```
|
|
261
|
+
*
|
|
262
|
+
* ---
|
|
263
|
+
*
|
|
264
|
+
* **Response**
|
|
265
|
+
* ```ts
|
|
266
|
+
* type Response = {
|
|
267
|
+
* id?: string
|
|
268
|
+
* name?: string
|
|
269
|
+
* createdTimestamp?: string
|
|
270
|
+
* updatedTimestamp?: string
|
|
271
|
+
* identityNumber?: string
|
|
272
|
+
* gender?: string
|
|
273
|
+
* phoneNumber?: string
|
|
274
|
+
* birthdate?: string
|
|
275
|
+
* }
|
|
276
|
+
* ```
|
|
277
|
+
*/
|
|
278
|
+
postScientistState<Config extends Alova2MethodConfig<ScientistState> & {
|
|
279
|
+
data: ScientistState;
|
|
280
|
+
}>(config: Config): Alova2Method<ScientistState, 'scientistStateRestful.postScientistState', Config>;
|
|
281
|
+
/**
|
|
282
|
+
* ---
|
|
283
|
+
*
|
|
284
|
+
* [GET]
|
|
285
|
+
*
|
|
286
|
+
* **path:** /科研/服务/统计/科研/日期
|
|
287
|
+
*
|
|
288
|
+
* ---
|
|
289
|
+
*
|
|
290
|
+
* **Response**
|
|
291
|
+
* ```ts
|
|
292
|
+
* type Response = null[][]
|
|
293
|
+
* ```
|
|
294
|
+
*/
|
|
295
|
+
datesOfScientist<Config extends Alova2MethodConfig<null[][]>>(config?: Config): Alova2Method<null[][], 'scientistStateRestful.datesOfScientist', Config>;
|
|
296
|
+
/**
|
|
297
|
+
* ---
|
|
298
|
+
*
|
|
299
|
+
* [GET]
|
|
300
|
+
*
|
|
301
|
+
* **path:** /科研/服务/统计/科研/总数
|
|
302
|
+
*
|
|
303
|
+
* ---
|
|
304
|
+
*
|
|
305
|
+
* **Response**
|
|
306
|
+
* ```ts
|
|
307
|
+
* type Response = number
|
|
308
|
+
* ```
|
|
309
|
+
*/
|
|
310
|
+
totalOfScientist<Config extends Alova2MethodConfig<number>>(config?: Config): Alova2Method<number, 'scientistStateRestful.totalOfScientist', Config>;
|
|
311
|
+
/**
|
|
312
|
+
* ---
|
|
313
|
+
*
|
|
314
|
+
* [GET]
|
|
315
|
+
*
|
|
316
|
+
* **path:** /科研/服务/统计/科研/今日
|
|
317
|
+
*
|
|
318
|
+
* ---
|
|
319
|
+
*
|
|
320
|
+
* **Response**
|
|
321
|
+
* ```ts
|
|
322
|
+
* type Response = number
|
|
323
|
+
* ```
|
|
324
|
+
*/
|
|
325
|
+
todayOfScientistByToday<Config extends Alova2MethodConfig<number>>(config?: Config): Alova2Method<number, 'scientistStateRestful.todayOfScientistByToday', Config>;
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
var scientistApi: scientistApi;
|
|
430
329
|
}
|
|
330
|
+
export {};
|