@36node/auth-sdk 1.6.5-pr-37-e873b45f73 → 1.6.5-pr-37-9ee874342a
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/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/sdk.gen.d.ts +68 -1289
- package/dist/sdk.gen.js +47 -46
- package/dist/sdk.gen.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.gen.d.ts +270 -154
- package/dist/types.gen.js +394 -0
- package/dist/types.gen.js.map +1 -1
- package/package.json +7 -20
- package/dist/schemas.gen.d.ts +0 -1710
- package/dist/schemas.gen.js +0 -1733
- package/dist/schemas.gen.js.map +0 -1
package/dist/schemas.gen.d.ts
DELETED
|
@@ -1,1710 +0,0 @@
|
|
|
1
|
-
export declare const HealthCheckResultSchema: {
|
|
2
|
-
readonly type: "object";
|
|
3
|
-
readonly properties: {
|
|
4
|
-
readonly message: {
|
|
5
|
-
readonly type: "string";
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
readonly required: readonly ["message"];
|
|
9
|
-
};
|
|
10
|
-
export declare const LoginDtoSchema: {
|
|
11
|
-
readonly type: "object";
|
|
12
|
-
readonly properties: {
|
|
13
|
-
readonly login: {
|
|
14
|
-
readonly type: "string";
|
|
15
|
-
readonly description: "可以是 username/phone/Email";
|
|
16
|
-
};
|
|
17
|
-
readonly password: {
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
readonly description: "密码";
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
readonly required: readonly ["login", "password"];
|
|
23
|
-
};
|
|
24
|
-
export declare const SessionWithTokenSchema: {
|
|
25
|
-
readonly type: "object";
|
|
26
|
-
readonly properties: {
|
|
27
|
-
readonly refreshTokenExpireAt: {
|
|
28
|
-
readonly format: "date-time";
|
|
29
|
-
readonly type: "string";
|
|
30
|
-
readonly description: "会话过期时间";
|
|
31
|
-
};
|
|
32
|
-
readonly refreshToken: {
|
|
33
|
-
readonly type: "string";
|
|
34
|
-
readonly description: "refresh token";
|
|
35
|
-
};
|
|
36
|
-
readonly uid: {
|
|
37
|
-
readonly type: "string";
|
|
38
|
-
readonly description: "用户或第三方用户";
|
|
39
|
-
};
|
|
40
|
-
readonly source: {
|
|
41
|
-
readonly description: "第三方来源";
|
|
42
|
-
readonly enum: readonly ["GitHub", "WeChat"];
|
|
43
|
-
readonly type: "string";
|
|
44
|
-
};
|
|
45
|
-
readonly client: {
|
|
46
|
-
readonly type: "string";
|
|
47
|
-
readonly description: "客户端/设备";
|
|
48
|
-
};
|
|
49
|
-
readonly permissions: {
|
|
50
|
-
readonly description: "用户动态权限";
|
|
51
|
-
readonly type: "array";
|
|
52
|
-
readonly items: {
|
|
53
|
-
readonly type: "string";
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
readonly ns: {
|
|
57
|
-
readonly type: "string";
|
|
58
|
-
readonly description: "user ns";
|
|
59
|
-
};
|
|
60
|
-
readonly type: {
|
|
61
|
-
readonly type: "string";
|
|
62
|
-
readonly description: "类型,登录端";
|
|
63
|
-
};
|
|
64
|
-
readonly id: {
|
|
65
|
-
readonly type: "string";
|
|
66
|
-
readonly description: "Entity id";
|
|
67
|
-
};
|
|
68
|
-
readonly createdAt: {
|
|
69
|
-
readonly format: "date-time";
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
readonly description: "Entity created at when";
|
|
72
|
-
};
|
|
73
|
-
readonly updatedAt: {
|
|
74
|
-
readonly format: "date-time";
|
|
75
|
-
readonly type: "string";
|
|
76
|
-
readonly description: "Entity updated at when";
|
|
77
|
-
};
|
|
78
|
-
readonly createdBy: {
|
|
79
|
-
readonly type: "string";
|
|
80
|
-
readonly description: "Entity created by who";
|
|
81
|
-
};
|
|
82
|
-
readonly updatedBy: {
|
|
83
|
-
readonly type: "string";
|
|
84
|
-
readonly description: "Entity updated by who";
|
|
85
|
-
};
|
|
86
|
-
readonly token: {
|
|
87
|
-
readonly type: "string";
|
|
88
|
-
readonly description: "token";
|
|
89
|
-
};
|
|
90
|
-
readonly tokenExpireAt: {
|
|
91
|
-
readonly format: "date-time";
|
|
92
|
-
readonly type: "string";
|
|
93
|
-
readonly description: "token 过期时间";
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
readonly required: readonly ["refreshTokenExpireAt", "refreshToken", "uid", "id", "token", "tokenExpireAt"];
|
|
97
|
-
};
|
|
98
|
-
export declare const GithubDtoSchema: {
|
|
99
|
-
readonly type: "object";
|
|
100
|
-
readonly properties: {
|
|
101
|
-
readonly code: {
|
|
102
|
-
readonly type: "string";
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
readonly required: readonly ["code"];
|
|
106
|
-
};
|
|
107
|
-
export declare const LoginByEmailDtoSchema: {
|
|
108
|
-
readonly type: "object";
|
|
109
|
-
readonly properties: {
|
|
110
|
-
readonly email: {
|
|
111
|
-
readonly type: "string";
|
|
112
|
-
readonly description: "邮箱";
|
|
113
|
-
};
|
|
114
|
-
readonly key: {
|
|
115
|
-
readonly type: "string";
|
|
116
|
-
readonly description: "验证码 key";
|
|
117
|
-
};
|
|
118
|
-
readonly code: {
|
|
119
|
-
readonly type: "string";
|
|
120
|
-
readonly description: "验证码 code";
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
readonly required: readonly ["email", "key", "code"];
|
|
124
|
-
};
|
|
125
|
-
export declare const LoginByPhoneDtoSchema: {
|
|
126
|
-
readonly type: "object";
|
|
127
|
-
readonly properties: {
|
|
128
|
-
readonly phone: {
|
|
129
|
-
readonly type: "string";
|
|
130
|
-
readonly description: "手机号";
|
|
131
|
-
};
|
|
132
|
-
readonly key: {
|
|
133
|
-
readonly type: "string";
|
|
134
|
-
readonly description: "验证码 key";
|
|
135
|
-
};
|
|
136
|
-
readonly code: {
|
|
137
|
-
readonly type: "string";
|
|
138
|
-
readonly description: "验证码 code";
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
readonly required: readonly ["phone", "key", "code"];
|
|
142
|
-
};
|
|
143
|
-
export declare const LogoutDtoSchema: {
|
|
144
|
-
readonly type: "object";
|
|
145
|
-
readonly properties: {
|
|
146
|
-
readonly refreshToken: {
|
|
147
|
-
readonly type: "string";
|
|
148
|
-
readonly description: "session refreshToken";
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
readonly required: readonly ["refreshToken"];
|
|
152
|
-
};
|
|
153
|
-
export declare const RegisterDtoSchema: {
|
|
154
|
-
readonly type: "object";
|
|
155
|
-
readonly properties: {
|
|
156
|
-
readonly username: {
|
|
157
|
-
readonly type: "string";
|
|
158
|
-
readonly description: "用户名";
|
|
159
|
-
};
|
|
160
|
-
readonly password: {
|
|
161
|
-
readonly type: "string";
|
|
162
|
-
readonly description: "密码";
|
|
163
|
-
};
|
|
164
|
-
readonly ns: {
|
|
165
|
-
readonly type: "string";
|
|
166
|
-
readonly description: "命名空间";
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
readonly required: readonly ["username", "password"];
|
|
170
|
-
};
|
|
171
|
-
export declare const UserSchema: {
|
|
172
|
-
readonly type: "object";
|
|
173
|
-
readonly properties: {
|
|
174
|
-
readonly password: {
|
|
175
|
-
readonly type: "string";
|
|
176
|
-
readonly description: "密码";
|
|
177
|
-
readonly writeOnly: true;
|
|
178
|
-
};
|
|
179
|
-
readonly hasPassword: {
|
|
180
|
-
readonly type: "boolean";
|
|
181
|
-
readonly description: "是否有密码";
|
|
182
|
-
readonly readOnly: true;
|
|
183
|
-
};
|
|
184
|
-
readonly avatar: {
|
|
185
|
-
readonly type: "string";
|
|
186
|
-
readonly description: "头像";
|
|
187
|
-
};
|
|
188
|
-
readonly data: {
|
|
189
|
-
readonly type: "string";
|
|
190
|
-
readonly description: "额外数据";
|
|
191
|
-
};
|
|
192
|
-
readonly email: {
|
|
193
|
-
readonly type: "string";
|
|
194
|
-
readonly description: "邮箱";
|
|
195
|
-
};
|
|
196
|
-
readonly name: {
|
|
197
|
-
readonly type: "string";
|
|
198
|
-
readonly description: "姓名";
|
|
199
|
-
};
|
|
200
|
-
readonly identity: {
|
|
201
|
-
readonly type: "string";
|
|
202
|
-
};
|
|
203
|
-
readonly identityVerifiedAt: {
|
|
204
|
-
readonly format: "date-time";
|
|
205
|
-
readonly type: "string";
|
|
206
|
-
readonly description: "实名认证时间";
|
|
207
|
-
};
|
|
208
|
-
readonly identityVerified: {
|
|
209
|
-
readonly type: "boolean";
|
|
210
|
-
readonly description: "实名认证是否通过";
|
|
211
|
-
};
|
|
212
|
-
readonly intro: {
|
|
213
|
-
readonly type: "string";
|
|
214
|
-
readonly description: "简介";
|
|
215
|
-
};
|
|
216
|
-
readonly language: {
|
|
217
|
-
readonly type: "string";
|
|
218
|
-
readonly description: "使用语言";
|
|
219
|
-
};
|
|
220
|
-
readonly lastLoginIp: {
|
|
221
|
-
readonly type: "string";
|
|
222
|
-
readonly description: "最后登录 IP";
|
|
223
|
-
};
|
|
224
|
-
readonly lastSeenAt: {
|
|
225
|
-
readonly format: "date-time";
|
|
226
|
-
readonly type: "string";
|
|
227
|
-
readonly description: "最后活跃时间";
|
|
228
|
-
};
|
|
229
|
-
readonly nickname: {
|
|
230
|
-
readonly type: "string";
|
|
231
|
-
readonly description: "昵称";
|
|
232
|
-
};
|
|
233
|
-
readonly ns: {
|
|
234
|
-
readonly type: "string";
|
|
235
|
-
readonly description: "所属命名空间";
|
|
236
|
-
};
|
|
237
|
-
readonly phone: {
|
|
238
|
-
readonly type: "string";
|
|
239
|
-
readonly description: "手机号";
|
|
240
|
-
};
|
|
241
|
-
readonly registerIp: {
|
|
242
|
-
readonly type: "string";
|
|
243
|
-
readonly description: "注册 IP";
|
|
244
|
-
};
|
|
245
|
-
readonly registerRegion: {
|
|
246
|
-
readonly type: "string";
|
|
247
|
-
readonly description: "注册地区,存地区编号";
|
|
248
|
-
};
|
|
249
|
-
readonly roles: {
|
|
250
|
-
readonly description: "角色";
|
|
251
|
-
readonly type: "array";
|
|
252
|
-
readonly items: {
|
|
253
|
-
readonly type: "string";
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
readonly username: {
|
|
257
|
-
readonly type: "string";
|
|
258
|
-
readonly description: "用户名";
|
|
259
|
-
};
|
|
260
|
-
readonly employeeId: {
|
|
261
|
-
readonly type: "string";
|
|
262
|
-
readonly description: "员工编号";
|
|
263
|
-
};
|
|
264
|
-
readonly permissions: {
|
|
265
|
-
readonly description: "权限";
|
|
266
|
-
readonly type: "array";
|
|
267
|
-
readonly items: {
|
|
268
|
-
readonly type: "string";
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
readonly groups: {
|
|
272
|
-
readonly description: "团队";
|
|
273
|
-
readonly type: "array";
|
|
274
|
-
readonly items: {
|
|
275
|
-
readonly type: "string";
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
readonly lastLoginAt: {
|
|
279
|
-
readonly format: "date-time";
|
|
280
|
-
readonly type: "string";
|
|
281
|
-
readonly description: "最后登录时间";
|
|
282
|
-
};
|
|
283
|
-
readonly active: {
|
|
284
|
-
readonly type: "boolean";
|
|
285
|
-
readonly description: "是否启用";
|
|
286
|
-
};
|
|
287
|
-
readonly status: {
|
|
288
|
-
readonly type: "string";
|
|
289
|
-
readonly description: "状态";
|
|
290
|
-
};
|
|
291
|
-
readonly expireAt: {
|
|
292
|
-
readonly format: "date-time";
|
|
293
|
-
readonly type: "string";
|
|
294
|
-
readonly description: "过期时间";
|
|
295
|
-
};
|
|
296
|
-
readonly type: {
|
|
297
|
-
readonly type: "string";
|
|
298
|
-
readonly description: "类型, 登录端";
|
|
299
|
-
};
|
|
300
|
-
readonly id: {
|
|
301
|
-
readonly type: "string";
|
|
302
|
-
readonly description: "Entity id";
|
|
303
|
-
};
|
|
304
|
-
readonly createdAt: {
|
|
305
|
-
readonly format: "date-time";
|
|
306
|
-
readonly type: "string";
|
|
307
|
-
readonly description: "Entity created at when";
|
|
308
|
-
};
|
|
309
|
-
readonly updatedAt: {
|
|
310
|
-
readonly format: "date-time";
|
|
311
|
-
readonly type: "string";
|
|
312
|
-
readonly description: "Entity updated at when";
|
|
313
|
-
};
|
|
314
|
-
readonly createdBy: {
|
|
315
|
-
readonly type: "string";
|
|
316
|
-
readonly description: "Entity created by who";
|
|
317
|
-
};
|
|
318
|
-
readonly updatedBy: {
|
|
319
|
-
readonly type: "string";
|
|
320
|
-
readonly description: "Entity updated by who";
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
readonly required: readonly ["id"];
|
|
324
|
-
};
|
|
325
|
-
export declare const RegisterbyPhoneDtoSchema: {
|
|
326
|
-
readonly type: "object";
|
|
327
|
-
readonly properties: {
|
|
328
|
-
readonly phone: {
|
|
329
|
-
readonly type: "string";
|
|
330
|
-
readonly description: "手机号";
|
|
331
|
-
};
|
|
332
|
-
readonly key: {
|
|
333
|
-
readonly type: "string";
|
|
334
|
-
readonly description: "验证码 key";
|
|
335
|
-
};
|
|
336
|
-
readonly code: {
|
|
337
|
-
readonly type: "string";
|
|
338
|
-
readonly description: "验证码 code";
|
|
339
|
-
};
|
|
340
|
-
readonly ns: {
|
|
341
|
-
readonly type: "string";
|
|
342
|
-
readonly description: "命名空间";
|
|
343
|
-
};
|
|
344
|
-
};
|
|
345
|
-
readonly required: readonly ["phone", "key", "code"];
|
|
346
|
-
};
|
|
347
|
-
export declare const RegisterByEmailDtoSchema: {
|
|
348
|
-
readonly type: "object";
|
|
349
|
-
readonly properties: {
|
|
350
|
-
readonly email: {
|
|
351
|
-
readonly type: "string";
|
|
352
|
-
readonly description: "邮箱";
|
|
353
|
-
};
|
|
354
|
-
readonly key: {
|
|
355
|
-
readonly type: "string";
|
|
356
|
-
readonly description: "验证码 key";
|
|
357
|
-
};
|
|
358
|
-
readonly code: {
|
|
359
|
-
readonly type: "string";
|
|
360
|
-
readonly description: "验证码 code";
|
|
361
|
-
};
|
|
362
|
-
readonly ns: {
|
|
363
|
-
readonly type: "string";
|
|
364
|
-
readonly description: "命名空间";
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
|
-
readonly required: readonly ["email", "key", "code"];
|
|
368
|
-
};
|
|
369
|
-
export declare const SignTokenDtoSchema: {
|
|
370
|
-
readonly type: "object";
|
|
371
|
-
readonly properties: {
|
|
372
|
-
readonly expiresIn: {
|
|
373
|
-
readonly type: "string";
|
|
374
|
-
readonly description: "short time span string\n\nrefs: https://github.com/vercel/ms\n\neg: \"2 days\", \"10h\", \"7d\", \"120s\", \"2.5 hrs\", \"2h\", \"1m\", \"5s\", \"1y\", \"100\", \"1y1m1d\"\n\nm => minute\nh => hour\nd => day\nw => week\nM => month\ny => year\ns => second\nms => millisecond\n无单位 => millisecond";
|
|
375
|
-
};
|
|
376
|
-
readonly uid: {
|
|
377
|
-
readonly type: "string";
|
|
378
|
-
readonly description: "user id";
|
|
379
|
-
};
|
|
380
|
-
readonly source: {
|
|
381
|
-
readonly type: "string";
|
|
382
|
-
readonly description: "user source";
|
|
383
|
-
readonly enum: readonly ["GitHub", "WeChat"];
|
|
384
|
-
};
|
|
385
|
-
};
|
|
386
|
-
readonly required: readonly ["expiresIn", "uid"];
|
|
387
|
-
};
|
|
388
|
-
export declare const TokenSchema: {
|
|
389
|
-
readonly type: "object";
|
|
390
|
-
readonly properties: {
|
|
391
|
-
readonly token: {
|
|
392
|
-
readonly type: "string";
|
|
393
|
-
readonly description: "token";
|
|
394
|
-
};
|
|
395
|
-
readonly tokenExpireAt: {
|
|
396
|
-
readonly format: "date-time";
|
|
397
|
-
readonly type: "string";
|
|
398
|
-
readonly description: "token 过期时间";
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
readonly required: readonly ["token", "tokenExpireAt"];
|
|
402
|
-
};
|
|
403
|
-
export declare const RefreshTokenDtoSchema: {
|
|
404
|
-
readonly type: "object";
|
|
405
|
-
readonly properties: {
|
|
406
|
-
readonly refreshToken: {
|
|
407
|
-
readonly type: "string";
|
|
408
|
-
readonly description: "user id";
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
readonly required: readonly ["refreshToken"];
|
|
412
|
-
};
|
|
413
|
-
export declare const CreateUserDtoSchema: {
|
|
414
|
-
readonly type: "object";
|
|
415
|
-
readonly properties: {
|
|
416
|
-
readonly password: {
|
|
417
|
-
readonly type: "string";
|
|
418
|
-
readonly description: "密码";
|
|
419
|
-
readonly writeOnly: true;
|
|
420
|
-
};
|
|
421
|
-
readonly hasPassword: {
|
|
422
|
-
readonly type: "boolean";
|
|
423
|
-
readonly description: "是否有密码";
|
|
424
|
-
readonly readOnly: true;
|
|
425
|
-
};
|
|
426
|
-
readonly avatar: {
|
|
427
|
-
readonly type: "string";
|
|
428
|
-
readonly description: "头像";
|
|
429
|
-
};
|
|
430
|
-
readonly data: {
|
|
431
|
-
readonly type: "string";
|
|
432
|
-
readonly description: "额外数据";
|
|
433
|
-
};
|
|
434
|
-
readonly email: {
|
|
435
|
-
readonly type: "string";
|
|
436
|
-
readonly description: "邮箱";
|
|
437
|
-
};
|
|
438
|
-
readonly name: {
|
|
439
|
-
readonly type: "string";
|
|
440
|
-
readonly description: "姓名";
|
|
441
|
-
};
|
|
442
|
-
readonly identity: {
|
|
443
|
-
readonly type: "string";
|
|
444
|
-
};
|
|
445
|
-
readonly identityVerifiedAt: {
|
|
446
|
-
readonly format: "date-time";
|
|
447
|
-
readonly type: "string";
|
|
448
|
-
readonly description: "实名认证时间";
|
|
449
|
-
};
|
|
450
|
-
readonly identityVerified: {
|
|
451
|
-
readonly type: "boolean";
|
|
452
|
-
readonly description: "实名认证是否通过";
|
|
453
|
-
};
|
|
454
|
-
readonly intro: {
|
|
455
|
-
readonly type: "string";
|
|
456
|
-
readonly description: "简介";
|
|
457
|
-
};
|
|
458
|
-
readonly language: {
|
|
459
|
-
readonly type: "string";
|
|
460
|
-
readonly description: "使用语言";
|
|
461
|
-
};
|
|
462
|
-
readonly nickname: {
|
|
463
|
-
readonly type: "string";
|
|
464
|
-
readonly description: "昵称";
|
|
465
|
-
};
|
|
466
|
-
readonly ns: {
|
|
467
|
-
readonly type: "string";
|
|
468
|
-
readonly description: "所属命名空间";
|
|
469
|
-
};
|
|
470
|
-
readonly phone: {
|
|
471
|
-
readonly type: "string";
|
|
472
|
-
readonly description: "手机号";
|
|
473
|
-
};
|
|
474
|
-
readonly registerRegion: {
|
|
475
|
-
readonly type: "string";
|
|
476
|
-
readonly description: "注册地区,存地区编号";
|
|
477
|
-
};
|
|
478
|
-
readonly roles: {
|
|
479
|
-
readonly description: "角色";
|
|
480
|
-
readonly type: "array";
|
|
481
|
-
readonly items: {
|
|
482
|
-
readonly type: "string";
|
|
483
|
-
};
|
|
484
|
-
};
|
|
485
|
-
readonly username: {
|
|
486
|
-
readonly type: "string";
|
|
487
|
-
readonly description: "用户名";
|
|
488
|
-
};
|
|
489
|
-
readonly employeeId: {
|
|
490
|
-
readonly type: "string";
|
|
491
|
-
readonly description: "员工编号";
|
|
492
|
-
};
|
|
493
|
-
readonly permissions: {
|
|
494
|
-
readonly description: "权限";
|
|
495
|
-
readonly type: "array";
|
|
496
|
-
readonly items: {
|
|
497
|
-
readonly type: "string";
|
|
498
|
-
};
|
|
499
|
-
};
|
|
500
|
-
readonly groups: {
|
|
501
|
-
readonly description: "团队";
|
|
502
|
-
readonly type: "array";
|
|
503
|
-
readonly items: {
|
|
504
|
-
readonly type: "string";
|
|
505
|
-
};
|
|
506
|
-
};
|
|
507
|
-
readonly active: {
|
|
508
|
-
readonly type: "boolean";
|
|
509
|
-
readonly description: "是否启用";
|
|
510
|
-
};
|
|
511
|
-
readonly status: {
|
|
512
|
-
readonly type: "string";
|
|
513
|
-
readonly description: "状态";
|
|
514
|
-
};
|
|
515
|
-
readonly expireAt: {
|
|
516
|
-
readonly format: "date-time";
|
|
517
|
-
readonly type: "string";
|
|
518
|
-
readonly description: "过期时间";
|
|
519
|
-
};
|
|
520
|
-
readonly type: {
|
|
521
|
-
readonly type: "string";
|
|
522
|
-
readonly description: "类型, 登录端";
|
|
523
|
-
};
|
|
524
|
-
};
|
|
525
|
-
};
|
|
526
|
-
export declare const UpdateUserDtoSchema: {
|
|
527
|
-
readonly type: "object";
|
|
528
|
-
readonly properties: {
|
|
529
|
-
readonly hasPassword: {
|
|
530
|
-
readonly type: "boolean";
|
|
531
|
-
readonly description: "是否有密码";
|
|
532
|
-
readonly readOnly: true;
|
|
533
|
-
};
|
|
534
|
-
readonly avatar: {
|
|
535
|
-
readonly type: "string";
|
|
536
|
-
readonly description: "头像";
|
|
537
|
-
};
|
|
538
|
-
readonly data: {
|
|
539
|
-
readonly type: "string";
|
|
540
|
-
readonly description: "额外数据";
|
|
541
|
-
};
|
|
542
|
-
readonly email: {
|
|
543
|
-
readonly type: "string";
|
|
544
|
-
readonly description: "邮箱";
|
|
545
|
-
};
|
|
546
|
-
readonly name: {
|
|
547
|
-
readonly type: "string";
|
|
548
|
-
readonly description: "姓名";
|
|
549
|
-
};
|
|
550
|
-
readonly identity: {
|
|
551
|
-
readonly type: "string";
|
|
552
|
-
};
|
|
553
|
-
readonly identityVerifiedAt: {
|
|
554
|
-
readonly format: "date-time";
|
|
555
|
-
readonly type: "string";
|
|
556
|
-
readonly description: "实名认证时间";
|
|
557
|
-
};
|
|
558
|
-
readonly identityVerified: {
|
|
559
|
-
readonly type: "boolean";
|
|
560
|
-
readonly description: "实名认证是否通过";
|
|
561
|
-
};
|
|
562
|
-
readonly intro: {
|
|
563
|
-
readonly type: "string";
|
|
564
|
-
readonly description: "简介";
|
|
565
|
-
};
|
|
566
|
-
readonly language: {
|
|
567
|
-
readonly type: "string";
|
|
568
|
-
readonly description: "使用语言";
|
|
569
|
-
};
|
|
570
|
-
readonly lastLoginIp: {
|
|
571
|
-
readonly type: "string";
|
|
572
|
-
readonly description: "最后登录 IP";
|
|
573
|
-
};
|
|
574
|
-
readonly lastSeenAt: {
|
|
575
|
-
readonly format: "date-time";
|
|
576
|
-
readonly type: "string";
|
|
577
|
-
readonly description: "最后活跃时间";
|
|
578
|
-
};
|
|
579
|
-
readonly nickname: {
|
|
580
|
-
readonly type: "string";
|
|
581
|
-
readonly description: "昵称";
|
|
582
|
-
};
|
|
583
|
-
readonly ns: {
|
|
584
|
-
readonly type: "string";
|
|
585
|
-
readonly description: "所属命名空间";
|
|
586
|
-
};
|
|
587
|
-
readonly phone: {
|
|
588
|
-
readonly type: "string";
|
|
589
|
-
readonly description: "手机号";
|
|
590
|
-
};
|
|
591
|
-
readonly registerIp: {
|
|
592
|
-
readonly type: "string";
|
|
593
|
-
readonly description: "注册 IP";
|
|
594
|
-
};
|
|
595
|
-
readonly registerRegion: {
|
|
596
|
-
readonly type: "string";
|
|
597
|
-
readonly description: "注册地区,存地区编号";
|
|
598
|
-
};
|
|
599
|
-
readonly roles: {
|
|
600
|
-
readonly description: "角色";
|
|
601
|
-
readonly type: "array";
|
|
602
|
-
readonly items: {
|
|
603
|
-
readonly type: "string";
|
|
604
|
-
};
|
|
605
|
-
};
|
|
606
|
-
readonly username: {
|
|
607
|
-
readonly type: "string";
|
|
608
|
-
readonly description: "用户名";
|
|
609
|
-
};
|
|
610
|
-
readonly employeeId: {
|
|
611
|
-
readonly type: "string";
|
|
612
|
-
readonly description: "员工编号";
|
|
613
|
-
};
|
|
614
|
-
readonly permissions: {
|
|
615
|
-
readonly description: "权限";
|
|
616
|
-
readonly type: "array";
|
|
617
|
-
readonly items: {
|
|
618
|
-
readonly type: "string";
|
|
619
|
-
};
|
|
620
|
-
};
|
|
621
|
-
readonly groups: {
|
|
622
|
-
readonly description: "团队";
|
|
623
|
-
readonly type: "array";
|
|
624
|
-
readonly items: {
|
|
625
|
-
readonly type: "string";
|
|
626
|
-
};
|
|
627
|
-
};
|
|
628
|
-
readonly lastLoginAt: {
|
|
629
|
-
readonly format: "date-time";
|
|
630
|
-
readonly type: "string";
|
|
631
|
-
readonly description: "最后登录时间";
|
|
632
|
-
};
|
|
633
|
-
readonly active: {
|
|
634
|
-
readonly type: "boolean";
|
|
635
|
-
readonly description: "是否启用";
|
|
636
|
-
};
|
|
637
|
-
readonly status: {
|
|
638
|
-
readonly type: "string";
|
|
639
|
-
readonly description: "状态";
|
|
640
|
-
};
|
|
641
|
-
readonly expireAt: {
|
|
642
|
-
readonly format: "date-time";
|
|
643
|
-
readonly type: "string";
|
|
644
|
-
readonly description: "过期时间";
|
|
645
|
-
};
|
|
646
|
-
readonly type: {
|
|
647
|
-
readonly type: "string";
|
|
648
|
-
readonly description: "类型, 登录端";
|
|
649
|
-
};
|
|
650
|
-
};
|
|
651
|
-
};
|
|
652
|
-
export declare const ResetPasswordDtoSchema: {
|
|
653
|
-
readonly type: "object";
|
|
654
|
-
readonly properties: {
|
|
655
|
-
readonly password: {
|
|
656
|
-
readonly type: "string";
|
|
657
|
-
readonly description: "密码";
|
|
658
|
-
};
|
|
659
|
-
};
|
|
660
|
-
};
|
|
661
|
-
export declare const UpdatePasswordDtoSchema: {
|
|
662
|
-
readonly type: "object";
|
|
663
|
-
readonly properties: {
|
|
664
|
-
readonly oldPassword: {
|
|
665
|
-
readonly type: "string";
|
|
666
|
-
readonly description: "旧密码";
|
|
667
|
-
};
|
|
668
|
-
readonly newPassword: {
|
|
669
|
-
readonly type: "string";
|
|
670
|
-
readonly description: "新密码";
|
|
671
|
-
};
|
|
672
|
-
};
|
|
673
|
-
readonly required: readonly ["newPassword"];
|
|
674
|
-
};
|
|
675
|
-
export declare const CreateNamespaceDtoSchema: {
|
|
676
|
-
readonly type: "object";
|
|
677
|
-
readonly properties: {
|
|
678
|
-
readonly data: {
|
|
679
|
-
readonly type: "string";
|
|
680
|
-
readonly description: "额外数据";
|
|
681
|
-
};
|
|
682
|
-
readonly desc: {
|
|
683
|
-
readonly type: "string";
|
|
684
|
-
readonly description: "描述";
|
|
685
|
-
};
|
|
686
|
-
readonly labels: {
|
|
687
|
-
readonly description: "标签";
|
|
688
|
-
readonly type: "array";
|
|
689
|
-
readonly items: {
|
|
690
|
-
readonly type: "string";
|
|
691
|
-
};
|
|
692
|
-
};
|
|
693
|
-
readonly name: {
|
|
694
|
-
readonly type: "string";
|
|
695
|
-
readonly description: "名称";
|
|
696
|
-
};
|
|
697
|
-
readonly key: {
|
|
698
|
-
readonly type: "string";
|
|
699
|
-
readonly description: "命名空间的 key\n\n允许的字符 ^[a-zA-Z][a-zA-Z0-9._/-]{0,30}$";
|
|
700
|
-
};
|
|
701
|
-
readonly ns: {
|
|
702
|
-
readonly type: "string";
|
|
703
|
-
readonly description: "所属的 namespace";
|
|
704
|
-
};
|
|
705
|
-
readonly permissions: {
|
|
706
|
-
readonly description: "权限";
|
|
707
|
-
readonly type: "array";
|
|
708
|
-
readonly items: {
|
|
709
|
-
readonly type: "string";
|
|
710
|
-
};
|
|
711
|
-
};
|
|
712
|
-
readonly active: {
|
|
713
|
-
readonly type: "boolean";
|
|
714
|
-
readonly description: "是否启用";
|
|
715
|
-
};
|
|
716
|
-
readonly defaultPassword: {
|
|
717
|
-
readonly type: "string";
|
|
718
|
-
readonly description: "默认密码";
|
|
719
|
-
};
|
|
720
|
-
readonly exportable: {
|
|
721
|
-
readonly type: "boolean";
|
|
722
|
-
readonly description: "是否可导出";
|
|
723
|
-
};
|
|
724
|
-
readonly userCount: {
|
|
725
|
-
readonly type: "number";
|
|
726
|
-
readonly description: "人数";
|
|
727
|
-
};
|
|
728
|
-
};
|
|
729
|
-
readonly required: readonly ["name", "key"];
|
|
730
|
-
};
|
|
731
|
-
export declare const NamespaceSchema: {
|
|
732
|
-
readonly type: "object";
|
|
733
|
-
readonly properties: {
|
|
734
|
-
readonly data: {
|
|
735
|
-
readonly type: "string";
|
|
736
|
-
readonly description: "额外数据";
|
|
737
|
-
};
|
|
738
|
-
readonly desc: {
|
|
739
|
-
readonly type: "string";
|
|
740
|
-
readonly description: "描述";
|
|
741
|
-
};
|
|
742
|
-
readonly labels: {
|
|
743
|
-
readonly description: "标签";
|
|
744
|
-
readonly type: "array";
|
|
745
|
-
readonly items: {
|
|
746
|
-
readonly type: "string";
|
|
747
|
-
};
|
|
748
|
-
};
|
|
749
|
-
readonly name: {
|
|
750
|
-
readonly type: "string";
|
|
751
|
-
readonly description: "名称";
|
|
752
|
-
};
|
|
753
|
-
readonly key: {
|
|
754
|
-
readonly type: "string";
|
|
755
|
-
readonly description: "命名空间的 key\n\n允许的字符 ^[a-zA-Z][a-zA-Z0-9._/-]{0,30}$";
|
|
756
|
-
};
|
|
757
|
-
readonly ns: {
|
|
758
|
-
readonly type: "string";
|
|
759
|
-
readonly description: "所属的 namespace";
|
|
760
|
-
};
|
|
761
|
-
readonly permissions: {
|
|
762
|
-
readonly description: "权限";
|
|
763
|
-
readonly type: "array";
|
|
764
|
-
readonly items: {
|
|
765
|
-
readonly type: "string";
|
|
766
|
-
};
|
|
767
|
-
};
|
|
768
|
-
readonly active: {
|
|
769
|
-
readonly type: "boolean";
|
|
770
|
-
readonly description: "是否启用";
|
|
771
|
-
};
|
|
772
|
-
readonly defaultPassword: {
|
|
773
|
-
readonly type: "string";
|
|
774
|
-
readonly description: "默认密码";
|
|
775
|
-
};
|
|
776
|
-
readonly exportable: {
|
|
777
|
-
readonly type: "boolean";
|
|
778
|
-
readonly description: "是否可导出";
|
|
779
|
-
};
|
|
780
|
-
readonly userCount: {
|
|
781
|
-
readonly type: "number";
|
|
782
|
-
readonly description: "人数";
|
|
783
|
-
};
|
|
784
|
-
readonly id: {
|
|
785
|
-
readonly type: "string";
|
|
786
|
-
readonly description: "Entity id";
|
|
787
|
-
};
|
|
788
|
-
readonly createdAt: {
|
|
789
|
-
readonly format: "date-time";
|
|
790
|
-
readonly type: "string";
|
|
791
|
-
readonly description: "Entity created at when";
|
|
792
|
-
};
|
|
793
|
-
readonly updatedAt: {
|
|
794
|
-
readonly format: "date-time";
|
|
795
|
-
readonly type: "string";
|
|
796
|
-
readonly description: "Entity updated at when";
|
|
797
|
-
};
|
|
798
|
-
readonly createdBy: {
|
|
799
|
-
readonly type: "string";
|
|
800
|
-
readonly description: "Entity created by who";
|
|
801
|
-
};
|
|
802
|
-
readonly updatedBy: {
|
|
803
|
-
readonly type: "string";
|
|
804
|
-
readonly description: "Entity updated by who";
|
|
805
|
-
};
|
|
806
|
-
};
|
|
807
|
-
readonly required: readonly ["name", "key", "id"];
|
|
808
|
-
};
|
|
809
|
-
export declare const UpdateNamespaceDtoSchema: {
|
|
810
|
-
readonly type: "object";
|
|
811
|
-
readonly properties: {
|
|
812
|
-
readonly data: {
|
|
813
|
-
readonly type: "string";
|
|
814
|
-
readonly description: "额外数据";
|
|
815
|
-
};
|
|
816
|
-
readonly desc: {
|
|
817
|
-
readonly type: "string";
|
|
818
|
-
readonly description: "描述";
|
|
819
|
-
};
|
|
820
|
-
readonly labels: {
|
|
821
|
-
readonly description: "标签";
|
|
822
|
-
readonly type: "array";
|
|
823
|
-
readonly items: {
|
|
824
|
-
readonly type: "string";
|
|
825
|
-
};
|
|
826
|
-
};
|
|
827
|
-
readonly name: {
|
|
828
|
-
readonly type: "string";
|
|
829
|
-
readonly description: "名称";
|
|
830
|
-
};
|
|
831
|
-
readonly permissions: {
|
|
832
|
-
readonly description: "权限";
|
|
833
|
-
readonly type: "array";
|
|
834
|
-
readonly items: {
|
|
835
|
-
readonly type: "string";
|
|
836
|
-
};
|
|
837
|
-
};
|
|
838
|
-
readonly active: {
|
|
839
|
-
readonly type: "boolean";
|
|
840
|
-
readonly description: "是否启用";
|
|
841
|
-
};
|
|
842
|
-
readonly defaultPassword: {
|
|
843
|
-
readonly type: "string";
|
|
844
|
-
readonly description: "默认密码";
|
|
845
|
-
};
|
|
846
|
-
readonly exportable: {
|
|
847
|
-
readonly type: "boolean";
|
|
848
|
-
readonly description: "是否可导出";
|
|
849
|
-
};
|
|
850
|
-
readonly userCount: {
|
|
851
|
-
readonly type: "number";
|
|
852
|
-
readonly description: "人数";
|
|
853
|
-
};
|
|
854
|
-
};
|
|
855
|
-
};
|
|
856
|
-
export declare const CreateSessionDtoSchema: {
|
|
857
|
-
readonly type: "object";
|
|
858
|
-
readonly properties: {
|
|
859
|
-
readonly refreshTokenExpireAt: {
|
|
860
|
-
readonly format: "date-time";
|
|
861
|
-
readonly type: "string";
|
|
862
|
-
readonly description: "会话过期时间";
|
|
863
|
-
};
|
|
864
|
-
readonly uid: {
|
|
865
|
-
readonly type: "string";
|
|
866
|
-
readonly description: "用户或第三方用户";
|
|
867
|
-
};
|
|
868
|
-
readonly source: {
|
|
869
|
-
readonly type: "string";
|
|
870
|
-
readonly description: "第三方来源";
|
|
871
|
-
readonly enum: readonly ["GitHub", "WeChat"];
|
|
872
|
-
};
|
|
873
|
-
readonly client: {
|
|
874
|
-
readonly type: "string";
|
|
875
|
-
readonly description: "客户端/设备";
|
|
876
|
-
};
|
|
877
|
-
readonly permissions: {
|
|
878
|
-
readonly description: "用户动态权限";
|
|
879
|
-
readonly type: "array";
|
|
880
|
-
readonly items: {
|
|
881
|
-
readonly type: "string";
|
|
882
|
-
};
|
|
883
|
-
};
|
|
884
|
-
readonly ns: {
|
|
885
|
-
readonly type: "string";
|
|
886
|
-
readonly description: "user ns";
|
|
887
|
-
};
|
|
888
|
-
readonly type: {
|
|
889
|
-
readonly type: "string";
|
|
890
|
-
readonly description: "类型,登录端";
|
|
891
|
-
};
|
|
892
|
-
};
|
|
893
|
-
readonly required: readonly ["refreshTokenExpireAt", "uid"];
|
|
894
|
-
};
|
|
895
|
-
export declare const SessionSchema: {
|
|
896
|
-
readonly type: "object";
|
|
897
|
-
readonly properties: {
|
|
898
|
-
readonly refreshTokenExpireAt: {
|
|
899
|
-
readonly format: "date-time";
|
|
900
|
-
readonly type: "string";
|
|
901
|
-
readonly description: "会话过期时间";
|
|
902
|
-
};
|
|
903
|
-
readonly refreshToken: {
|
|
904
|
-
readonly type: "string";
|
|
905
|
-
readonly description: "refresh token";
|
|
906
|
-
};
|
|
907
|
-
readonly uid: {
|
|
908
|
-
readonly type: "string";
|
|
909
|
-
readonly description: "用户或第三方用户";
|
|
910
|
-
};
|
|
911
|
-
readonly source: {
|
|
912
|
-
readonly description: "第三方来源";
|
|
913
|
-
readonly enum: readonly ["GitHub", "WeChat"];
|
|
914
|
-
readonly type: "string";
|
|
915
|
-
};
|
|
916
|
-
readonly client: {
|
|
917
|
-
readonly type: "string";
|
|
918
|
-
readonly description: "客户端/设备";
|
|
919
|
-
};
|
|
920
|
-
readonly permissions: {
|
|
921
|
-
readonly description: "用户动态权限";
|
|
922
|
-
readonly type: "array";
|
|
923
|
-
readonly items: {
|
|
924
|
-
readonly type: "string";
|
|
925
|
-
};
|
|
926
|
-
};
|
|
927
|
-
readonly ns: {
|
|
928
|
-
readonly type: "string";
|
|
929
|
-
readonly description: "user ns";
|
|
930
|
-
};
|
|
931
|
-
readonly type: {
|
|
932
|
-
readonly type: "string";
|
|
933
|
-
readonly description: "类型,登录端";
|
|
934
|
-
};
|
|
935
|
-
readonly id: {
|
|
936
|
-
readonly type: "string";
|
|
937
|
-
readonly description: "Entity id";
|
|
938
|
-
};
|
|
939
|
-
readonly createdAt: {
|
|
940
|
-
readonly format: "date-time";
|
|
941
|
-
readonly type: "string";
|
|
942
|
-
readonly description: "Entity created at when";
|
|
943
|
-
};
|
|
944
|
-
readonly updatedAt: {
|
|
945
|
-
readonly format: "date-time";
|
|
946
|
-
readonly type: "string";
|
|
947
|
-
readonly description: "Entity updated at when";
|
|
948
|
-
};
|
|
949
|
-
readonly createdBy: {
|
|
950
|
-
readonly type: "string";
|
|
951
|
-
readonly description: "Entity created by who";
|
|
952
|
-
};
|
|
953
|
-
readonly updatedBy: {
|
|
954
|
-
readonly type: "string";
|
|
955
|
-
readonly description: "Entity updated by who";
|
|
956
|
-
};
|
|
957
|
-
};
|
|
958
|
-
readonly required: readonly ["refreshTokenExpireAt", "refreshToken", "uid", "id"];
|
|
959
|
-
};
|
|
960
|
-
export declare const UpdateSessionDtoSchema: {
|
|
961
|
-
readonly type: "object";
|
|
962
|
-
readonly properties: {
|
|
963
|
-
readonly refreshTokenExpireAt: {
|
|
964
|
-
readonly format: "date-time";
|
|
965
|
-
readonly type: "string";
|
|
966
|
-
readonly description: "会话过期时间";
|
|
967
|
-
};
|
|
968
|
-
readonly uid: {
|
|
969
|
-
readonly type: "string";
|
|
970
|
-
readonly description: "用户或第三方用户";
|
|
971
|
-
};
|
|
972
|
-
readonly source: {
|
|
973
|
-
readonly type: "string";
|
|
974
|
-
readonly description: "第三方来源";
|
|
975
|
-
readonly enum: readonly ["GitHub", "WeChat"];
|
|
976
|
-
};
|
|
977
|
-
readonly client: {
|
|
978
|
-
readonly type: "string";
|
|
979
|
-
readonly description: "客户端/设备";
|
|
980
|
-
};
|
|
981
|
-
readonly permissions: {
|
|
982
|
-
readonly description: "用户动态权限";
|
|
983
|
-
readonly type: "array";
|
|
984
|
-
readonly items: {
|
|
985
|
-
readonly type: "string";
|
|
986
|
-
};
|
|
987
|
-
};
|
|
988
|
-
readonly ns: {
|
|
989
|
-
readonly type: "string";
|
|
990
|
-
readonly description: "user ns";
|
|
991
|
-
};
|
|
992
|
-
readonly type: {
|
|
993
|
-
readonly type: "string";
|
|
994
|
-
readonly description: "类型,登录端";
|
|
995
|
-
};
|
|
996
|
-
};
|
|
997
|
-
};
|
|
998
|
-
export declare const CreateGroupDtoSchema: {
|
|
999
|
-
readonly type: "object";
|
|
1000
|
-
readonly properties: {
|
|
1001
|
-
readonly data: {
|
|
1002
|
-
readonly type: "string";
|
|
1003
|
-
readonly description: "额外数据";
|
|
1004
|
-
};
|
|
1005
|
-
readonly name: {
|
|
1006
|
-
readonly type: "string";
|
|
1007
|
-
readonly description: "名称";
|
|
1008
|
-
};
|
|
1009
|
-
readonly permissions: {
|
|
1010
|
-
readonly description: "权限";
|
|
1011
|
-
readonly type: "array";
|
|
1012
|
-
readonly items: {
|
|
1013
|
-
readonly type: "string";
|
|
1014
|
-
};
|
|
1015
|
-
};
|
|
1016
|
-
readonly active: {
|
|
1017
|
-
readonly type: "boolean";
|
|
1018
|
-
readonly description: "是否启用";
|
|
1019
|
-
};
|
|
1020
|
-
readonly userCount: {
|
|
1021
|
-
readonly type: "number";
|
|
1022
|
-
readonly description: "人数";
|
|
1023
|
-
};
|
|
1024
|
-
};
|
|
1025
|
-
readonly required: readonly ["name"];
|
|
1026
|
-
};
|
|
1027
|
-
export declare const GroupSchema: {
|
|
1028
|
-
readonly type: "object";
|
|
1029
|
-
readonly properties: {
|
|
1030
|
-
readonly data: {
|
|
1031
|
-
readonly type: "string";
|
|
1032
|
-
readonly description: "额外数据";
|
|
1033
|
-
};
|
|
1034
|
-
readonly name: {
|
|
1035
|
-
readonly type: "string";
|
|
1036
|
-
readonly description: "名称";
|
|
1037
|
-
};
|
|
1038
|
-
readonly permissions: {
|
|
1039
|
-
readonly description: "权限";
|
|
1040
|
-
readonly type: "array";
|
|
1041
|
-
readonly items: {
|
|
1042
|
-
readonly type: "string";
|
|
1043
|
-
};
|
|
1044
|
-
};
|
|
1045
|
-
readonly active: {
|
|
1046
|
-
readonly type: "boolean";
|
|
1047
|
-
readonly description: "是否启用";
|
|
1048
|
-
};
|
|
1049
|
-
readonly userCount: {
|
|
1050
|
-
readonly type: "number";
|
|
1051
|
-
readonly description: "人数";
|
|
1052
|
-
};
|
|
1053
|
-
readonly id: {
|
|
1054
|
-
readonly type: "string";
|
|
1055
|
-
readonly description: "Entity id";
|
|
1056
|
-
};
|
|
1057
|
-
readonly createdAt: {
|
|
1058
|
-
readonly format: "date-time";
|
|
1059
|
-
readonly type: "string";
|
|
1060
|
-
readonly description: "Entity created at when";
|
|
1061
|
-
};
|
|
1062
|
-
readonly updatedAt: {
|
|
1063
|
-
readonly format: "date-time";
|
|
1064
|
-
readonly type: "string";
|
|
1065
|
-
readonly description: "Entity updated at when";
|
|
1066
|
-
};
|
|
1067
|
-
readonly createdBy: {
|
|
1068
|
-
readonly type: "string";
|
|
1069
|
-
readonly description: "Entity created by who";
|
|
1070
|
-
};
|
|
1071
|
-
readonly updatedBy: {
|
|
1072
|
-
readonly type: "string";
|
|
1073
|
-
readonly description: "Entity updated by who";
|
|
1074
|
-
};
|
|
1075
|
-
};
|
|
1076
|
-
readonly required: readonly ["name", "id"];
|
|
1077
|
-
};
|
|
1078
|
-
export declare const UpdateGroupDtoSchema: {
|
|
1079
|
-
readonly type: "object";
|
|
1080
|
-
readonly properties: {
|
|
1081
|
-
readonly data: {
|
|
1082
|
-
readonly type: "string";
|
|
1083
|
-
readonly description: "额外数据";
|
|
1084
|
-
};
|
|
1085
|
-
readonly name: {
|
|
1086
|
-
readonly type: "string";
|
|
1087
|
-
readonly description: "名称";
|
|
1088
|
-
};
|
|
1089
|
-
readonly permissions: {
|
|
1090
|
-
readonly description: "权限";
|
|
1091
|
-
readonly type: "array";
|
|
1092
|
-
readonly items: {
|
|
1093
|
-
readonly type: "string";
|
|
1094
|
-
};
|
|
1095
|
-
};
|
|
1096
|
-
readonly active: {
|
|
1097
|
-
readonly type: "boolean";
|
|
1098
|
-
readonly description: "是否启用";
|
|
1099
|
-
};
|
|
1100
|
-
readonly userCount: {
|
|
1101
|
-
readonly type: "number";
|
|
1102
|
-
readonly description: "人数";
|
|
1103
|
-
};
|
|
1104
|
-
};
|
|
1105
|
-
};
|
|
1106
|
-
export declare const CreateCaptchaDtoSchema: {
|
|
1107
|
-
readonly type: "object";
|
|
1108
|
-
readonly properties: {
|
|
1109
|
-
readonly code: {
|
|
1110
|
-
readonly type: "string";
|
|
1111
|
-
readonly description: "验证码";
|
|
1112
|
-
};
|
|
1113
|
-
readonly expireAt: {
|
|
1114
|
-
readonly format: "date-time";
|
|
1115
|
-
readonly type: "string";
|
|
1116
|
-
readonly description: "过期时间";
|
|
1117
|
-
};
|
|
1118
|
-
readonly key: {
|
|
1119
|
-
readonly type: "string";
|
|
1120
|
-
readonly description: "key";
|
|
1121
|
-
};
|
|
1122
|
-
};
|
|
1123
|
-
readonly required: readonly ["key"];
|
|
1124
|
-
};
|
|
1125
|
-
export declare const CaptchaSchema: {
|
|
1126
|
-
readonly type: "object";
|
|
1127
|
-
readonly properties: {
|
|
1128
|
-
readonly code: {
|
|
1129
|
-
readonly type: "string";
|
|
1130
|
-
readonly description: "验证码";
|
|
1131
|
-
};
|
|
1132
|
-
readonly expireAt: {
|
|
1133
|
-
readonly format: "date-time";
|
|
1134
|
-
readonly type: "string";
|
|
1135
|
-
readonly description: "过期时间";
|
|
1136
|
-
};
|
|
1137
|
-
readonly key: {
|
|
1138
|
-
readonly type: "string";
|
|
1139
|
-
readonly description: "key";
|
|
1140
|
-
};
|
|
1141
|
-
readonly id: {
|
|
1142
|
-
readonly type: "string";
|
|
1143
|
-
readonly description: "Entity id";
|
|
1144
|
-
};
|
|
1145
|
-
readonly createdAt: {
|
|
1146
|
-
readonly format: "date-time";
|
|
1147
|
-
readonly type: "string";
|
|
1148
|
-
readonly description: "Entity created at when";
|
|
1149
|
-
};
|
|
1150
|
-
readonly updatedAt: {
|
|
1151
|
-
readonly format: "date-time";
|
|
1152
|
-
readonly type: "string";
|
|
1153
|
-
readonly description: "Entity updated at when";
|
|
1154
|
-
};
|
|
1155
|
-
readonly createdBy: {
|
|
1156
|
-
readonly type: "string";
|
|
1157
|
-
readonly description: "Entity created by who";
|
|
1158
|
-
};
|
|
1159
|
-
readonly updatedBy: {
|
|
1160
|
-
readonly type: "string";
|
|
1161
|
-
readonly description: "Entity updated by who";
|
|
1162
|
-
};
|
|
1163
|
-
};
|
|
1164
|
-
readonly required: readonly ["code", "expireAt", "key", "id"];
|
|
1165
|
-
};
|
|
1166
|
-
export declare const UpdateCaptchaDtoSchema: {
|
|
1167
|
-
readonly type: "object";
|
|
1168
|
-
readonly properties: {
|
|
1169
|
-
readonly code: {
|
|
1170
|
-
readonly type: "string";
|
|
1171
|
-
readonly description: "验证码";
|
|
1172
|
-
};
|
|
1173
|
-
readonly expireAt: {
|
|
1174
|
-
readonly format: "date-time";
|
|
1175
|
-
readonly type: "string";
|
|
1176
|
-
readonly description: "过期时间";
|
|
1177
|
-
};
|
|
1178
|
-
readonly key: {
|
|
1179
|
-
readonly type: "string";
|
|
1180
|
-
readonly description: "key";
|
|
1181
|
-
};
|
|
1182
|
-
};
|
|
1183
|
-
};
|
|
1184
|
-
export declare const VerifyCaptchaDtoSchema: {
|
|
1185
|
-
readonly type: "object";
|
|
1186
|
-
readonly properties: {
|
|
1187
|
-
readonly code: {
|
|
1188
|
-
readonly type: "string";
|
|
1189
|
-
readonly description: "验证码";
|
|
1190
|
-
};
|
|
1191
|
-
readonly key: {
|
|
1192
|
-
readonly type: "string";
|
|
1193
|
-
readonly description: "验证码 key";
|
|
1194
|
-
};
|
|
1195
|
-
};
|
|
1196
|
-
readonly required: readonly ["code", "key"];
|
|
1197
|
-
};
|
|
1198
|
-
export declare const VerifyCaptchaResultDtoSchema: {
|
|
1199
|
-
readonly type: "object";
|
|
1200
|
-
readonly properties: {
|
|
1201
|
-
readonly success: {
|
|
1202
|
-
readonly type: "boolean";
|
|
1203
|
-
readonly description: "是否验证成功";
|
|
1204
|
-
};
|
|
1205
|
-
};
|
|
1206
|
-
readonly required: readonly ["success"];
|
|
1207
|
-
};
|
|
1208
|
-
export declare const SendEmailDtoSchema: {
|
|
1209
|
-
readonly type: "object";
|
|
1210
|
-
readonly properties: {
|
|
1211
|
-
readonly from: {
|
|
1212
|
-
readonly type: "string";
|
|
1213
|
-
};
|
|
1214
|
-
readonly to: {
|
|
1215
|
-
readonly type: "string";
|
|
1216
|
-
};
|
|
1217
|
-
readonly subject: {
|
|
1218
|
-
readonly type: "string";
|
|
1219
|
-
};
|
|
1220
|
-
readonly content: {
|
|
1221
|
-
readonly type: "string";
|
|
1222
|
-
};
|
|
1223
|
-
};
|
|
1224
|
-
readonly required: readonly ["from", "to", "subject", "content"];
|
|
1225
|
-
};
|
|
1226
|
-
export declare const EmailStatusSchema: {
|
|
1227
|
-
readonly type: "string";
|
|
1228
|
-
readonly description: "发送状态";
|
|
1229
|
-
readonly enum: readonly ["pending", "sent"];
|
|
1230
|
-
};
|
|
1231
|
-
export declare const CreateEmailRecordDtoSchema: {
|
|
1232
|
-
readonly type: "object";
|
|
1233
|
-
readonly properties: {
|
|
1234
|
-
readonly status: {
|
|
1235
|
-
readonly $ref: "#/components/schemas/EmailStatus";
|
|
1236
|
-
};
|
|
1237
|
-
readonly from: {
|
|
1238
|
-
readonly type: "string";
|
|
1239
|
-
readonly description: "发件者";
|
|
1240
|
-
};
|
|
1241
|
-
readonly to: {
|
|
1242
|
-
readonly type: "string";
|
|
1243
|
-
readonly description: "收件者";
|
|
1244
|
-
};
|
|
1245
|
-
readonly subject: {
|
|
1246
|
-
readonly type: "string";
|
|
1247
|
-
readonly description: "主题";
|
|
1248
|
-
};
|
|
1249
|
-
readonly content: {
|
|
1250
|
-
readonly type: "string";
|
|
1251
|
-
readonly description: "内容";
|
|
1252
|
-
};
|
|
1253
|
-
readonly sentAt: {
|
|
1254
|
-
readonly format: "date-time";
|
|
1255
|
-
readonly type: "string";
|
|
1256
|
-
readonly description: "发送时间";
|
|
1257
|
-
};
|
|
1258
|
-
};
|
|
1259
|
-
readonly required: readonly ["status", "from", "to", "subject", "content"];
|
|
1260
|
-
};
|
|
1261
|
-
export declare const EmailRecordSchema: {
|
|
1262
|
-
readonly type: "object";
|
|
1263
|
-
readonly properties: {
|
|
1264
|
-
readonly status: {
|
|
1265
|
-
readonly $ref: "#/components/schemas/EmailStatus";
|
|
1266
|
-
};
|
|
1267
|
-
readonly from: {
|
|
1268
|
-
readonly type: "string";
|
|
1269
|
-
readonly description: "发件者";
|
|
1270
|
-
};
|
|
1271
|
-
readonly to: {
|
|
1272
|
-
readonly type: "string";
|
|
1273
|
-
readonly description: "收件者";
|
|
1274
|
-
};
|
|
1275
|
-
readonly subject: {
|
|
1276
|
-
readonly type: "string";
|
|
1277
|
-
readonly description: "主题";
|
|
1278
|
-
};
|
|
1279
|
-
readonly content: {
|
|
1280
|
-
readonly type: "string";
|
|
1281
|
-
readonly description: "内容";
|
|
1282
|
-
};
|
|
1283
|
-
readonly sentAt: {
|
|
1284
|
-
readonly format: "date-time";
|
|
1285
|
-
readonly type: "string";
|
|
1286
|
-
readonly description: "发送时间";
|
|
1287
|
-
};
|
|
1288
|
-
readonly id: {
|
|
1289
|
-
readonly type: "string";
|
|
1290
|
-
readonly description: "Entity id";
|
|
1291
|
-
};
|
|
1292
|
-
readonly createdAt: {
|
|
1293
|
-
readonly format: "date-time";
|
|
1294
|
-
readonly type: "string";
|
|
1295
|
-
readonly description: "Entity created at when";
|
|
1296
|
-
};
|
|
1297
|
-
readonly updatedAt: {
|
|
1298
|
-
readonly format: "date-time";
|
|
1299
|
-
readonly type: "string";
|
|
1300
|
-
readonly description: "Entity updated at when";
|
|
1301
|
-
};
|
|
1302
|
-
readonly createdBy: {
|
|
1303
|
-
readonly type: "string";
|
|
1304
|
-
readonly description: "Entity created by who";
|
|
1305
|
-
};
|
|
1306
|
-
readonly updatedBy: {
|
|
1307
|
-
readonly type: "string";
|
|
1308
|
-
readonly description: "Entity updated by who";
|
|
1309
|
-
};
|
|
1310
|
-
};
|
|
1311
|
-
readonly required: readonly ["status", "from", "to", "subject", "content", "id"];
|
|
1312
|
-
};
|
|
1313
|
-
export declare const UpdateEmailRecordDtoSchema: {
|
|
1314
|
-
readonly type: "object";
|
|
1315
|
-
readonly properties: {
|
|
1316
|
-
readonly status: {
|
|
1317
|
-
readonly $ref: "#/components/schemas/EmailStatus";
|
|
1318
|
-
};
|
|
1319
|
-
readonly from: {
|
|
1320
|
-
readonly type: "string";
|
|
1321
|
-
readonly description: "发件者";
|
|
1322
|
-
};
|
|
1323
|
-
readonly to: {
|
|
1324
|
-
readonly type: "string";
|
|
1325
|
-
readonly description: "收件者";
|
|
1326
|
-
};
|
|
1327
|
-
readonly subject: {
|
|
1328
|
-
readonly type: "string";
|
|
1329
|
-
readonly description: "主题";
|
|
1330
|
-
};
|
|
1331
|
-
readonly content: {
|
|
1332
|
-
readonly type: "string";
|
|
1333
|
-
readonly description: "内容";
|
|
1334
|
-
};
|
|
1335
|
-
readonly sentAt: {
|
|
1336
|
-
readonly format: "date-time";
|
|
1337
|
-
readonly type: "string";
|
|
1338
|
-
readonly description: "发送时间";
|
|
1339
|
-
};
|
|
1340
|
-
};
|
|
1341
|
-
};
|
|
1342
|
-
export declare const SendSmsDtoSchema: {
|
|
1343
|
-
readonly type: "object";
|
|
1344
|
-
readonly properties: {
|
|
1345
|
-
readonly phone: {
|
|
1346
|
-
readonly type: "string";
|
|
1347
|
-
};
|
|
1348
|
-
readonly sign: {
|
|
1349
|
-
readonly type: "string";
|
|
1350
|
-
};
|
|
1351
|
-
readonly template: {
|
|
1352
|
-
readonly type: "string";
|
|
1353
|
-
};
|
|
1354
|
-
readonly params: {
|
|
1355
|
-
readonly type: "object";
|
|
1356
|
-
};
|
|
1357
|
-
};
|
|
1358
|
-
readonly required: readonly ["phone", "sign", "template"];
|
|
1359
|
-
};
|
|
1360
|
-
export declare const SmsStatusSchema: {
|
|
1361
|
-
readonly type: "string";
|
|
1362
|
-
readonly description: "发送状态";
|
|
1363
|
-
readonly enum: readonly ["pending", "sent"];
|
|
1364
|
-
};
|
|
1365
|
-
export declare const CreateSmsRecordDtoSchema: {
|
|
1366
|
-
readonly type: "object";
|
|
1367
|
-
readonly properties: {
|
|
1368
|
-
readonly status: {
|
|
1369
|
-
readonly $ref: "#/components/schemas/SmsStatus";
|
|
1370
|
-
};
|
|
1371
|
-
readonly phone: {
|
|
1372
|
-
readonly type: "string";
|
|
1373
|
-
readonly description: "手机号";
|
|
1374
|
-
};
|
|
1375
|
-
readonly sign: {
|
|
1376
|
-
readonly type: "string";
|
|
1377
|
-
readonly description: "签名";
|
|
1378
|
-
};
|
|
1379
|
-
readonly template: {
|
|
1380
|
-
readonly type: "string";
|
|
1381
|
-
readonly description: "模板";
|
|
1382
|
-
};
|
|
1383
|
-
readonly params: {
|
|
1384
|
-
readonly type: "string";
|
|
1385
|
-
readonly description: "参数";
|
|
1386
|
-
};
|
|
1387
|
-
readonly sentAt: {
|
|
1388
|
-
readonly format: "date-time";
|
|
1389
|
-
readonly type: "string";
|
|
1390
|
-
readonly description: "发送时间";
|
|
1391
|
-
};
|
|
1392
|
-
};
|
|
1393
|
-
readonly required: readonly ["status", "phone", "sign", "template"];
|
|
1394
|
-
};
|
|
1395
|
-
export declare const SmsRecordSchema: {
|
|
1396
|
-
readonly type: "object";
|
|
1397
|
-
readonly properties: {
|
|
1398
|
-
readonly status: {
|
|
1399
|
-
readonly $ref: "#/components/schemas/SmsStatus";
|
|
1400
|
-
};
|
|
1401
|
-
readonly phone: {
|
|
1402
|
-
readonly type: "string";
|
|
1403
|
-
readonly description: "手机号";
|
|
1404
|
-
};
|
|
1405
|
-
readonly sign: {
|
|
1406
|
-
readonly type: "string";
|
|
1407
|
-
readonly description: "签名";
|
|
1408
|
-
};
|
|
1409
|
-
readonly template: {
|
|
1410
|
-
readonly type: "string";
|
|
1411
|
-
readonly description: "模板";
|
|
1412
|
-
};
|
|
1413
|
-
readonly params: {
|
|
1414
|
-
readonly type: "string";
|
|
1415
|
-
readonly description: "参数";
|
|
1416
|
-
};
|
|
1417
|
-
readonly sentAt: {
|
|
1418
|
-
readonly format: "date-time";
|
|
1419
|
-
readonly type: "string";
|
|
1420
|
-
readonly description: "发送时间";
|
|
1421
|
-
};
|
|
1422
|
-
readonly id: {
|
|
1423
|
-
readonly type: "string";
|
|
1424
|
-
readonly description: "Entity id";
|
|
1425
|
-
};
|
|
1426
|
-
readonly createdAt: {
|
|
1427
|
-
readonly format: "date-time";
|
|
1428
|
-
readonly type: "string";
|
|
1429
|
-
readonly description: "Entity created at when";
|
|
1430
|
-
};
|
|
1431
|
-
readonly updatedAt: {
|
|
1432
|
-
readonly format: "date-time";
|
|
1433
|
-
readonly type: "string";
|
|
1434
|
-
readonly description: "Entity updated at when";
|
|
1435
|
-
};
|
|
1436
|
-
readonly createdBy: {
|
|
1437
|
-
readonly type: "string";
|
|
1438
|
-
readonly description: "Entity created by who";
|
|
1439
|
-
};
|
|
1440
|
-
readonly updatedBy: {
|
|
1441
|
-
readonly type: "string";
|
|
1442
|
-
readonly description: "Entity updated by who";
|
|
1443
|
-
};
|
|
1444
|
-
};
|
|
1445
|
-
readonly required: readonly ["status", "phone", "sign", "template", "id"];
|
|
1446
|
-
};
|
|
1447
|
-
export declare const UpdateSmsRecordDtoSchema: {
|
|
1448
|
-
readonly type: "object";
|
|
1449
|
-
readonly properties: {
|
|
1450
|
-
readonly status: {
|
|
1451
|
-
readonly $ref: "#/components/schemas/SmsStatus";
|
|
1452
|
-
};
|
|
1453
|
-
readonly phone: {
|
|
1454
|
-
readonly type: "string";
|
|
1455
|
-
readonly description: "手机号";
|
|
1456
|
-
};
|
|
1457
|
-
readonly sign: {
|
|
1458
|
-
readonly type: "string";
|
|
1459
|
-
readonly description: "签名";
|
|
1460
|
-
};
|
|
1461
|
-
readonly template: {
|
|
1462
|
-
readonly type: "string";
|
|
1463
|
-
readonly description: "模板";
|
|
1464
|
-
};
|
|
1465
|
-
readonly params: {
|
|
1466
|
-
readonly type: "string";
|
|
1467
|
-
readonly description: "参数";
|
|
1468
|
-
};
|
|
1469
|
-
readonly sentAt: {
|
|
1470
|
-
readonly format: "date-time";
|
|
1471
|
-
readonly type: "string";
|
|
1472
|
-
readonly description: "发送时间";
|
|
1473
|
-
};
|
|
1474
|
-
};
|
|
1475
|
-
};
|
|
1476
|
-
export declare const ThirdPartySourceSchema: {
|
|
1477
|
-
readonly type: "string";
|
|
1478
|
-
readonly description: "第三方登录来源";
|
|
1479
|
-
readonly enum: readonly ["GitHub", "WeChat"];
|
|
1480
|
-
};
|
|
1481
|
-
export declare const createThirdPartyDtoSchema: {
|
|
1482
|
-
readonly type: "object";
|
|
1483
|
-
readonly properties: {
|
|
1484
|
-
readonly source: {
|
|
1485
|
-
readonly $ref: "#/components/schemas/ThirdPartySource";
|
|
1486
|
-
};
|
|
1487
|
-
readonly login: {
|
|
1488
|
-
readonly type: "string";
|
|
1489
|
-
readonly description: "第三方登录 id";
|
|
1490
|
-
};
|
|
1491
|
-
readonly accessToken: {
|
|
1492
|
-
readonly type: "string";
|
|
1493
|
-
readonly description: "第三方登录 accessToken";
|
|
1494
|
-
};
|
|
1495
|
-
readonly uid: {
|
|
1496
|
-
readonly type: "string";
|
|
1497
|
-
readonly description: "关联uid";
|
|
1498
|
-
};
|
|
1499
|
-
};
|
|
1500
|
-
readonly required: readonly ["source", "login", "accessToken"];
|
|
1501
|
-
};
|
|
1502
|
-
export declare const ThirdPartySchema: {
|
|
1503
|
-
readonly type: "object";
|
|
1504
|
-
readonly properties: {
|
|
1505
|
-
readonly source: {
|
|
1506
|
-
readonly $ref: "#/components/schemas/ThirdPartySource";
|
|
1507
|
-
};
|
|
1508
|
-
readonly login: {
|
|
1509
|
-
readonly type: "string";
|
|
1510
|
-
readonly description: "第三方登录 id";
|
|
1511
|
-
};
|
|
1512
|
-
readonly accessToken: {
|
|
1513
|
-
readonly type: "string";
|
|
1514
|
-
readonly description: "第三方登录 accessToken";
|
|
1515
|
-
};
|
|
1516
|
-
readonly uid: {
|
|
1517
|
-
readonly type: "string";
|
|
1518
|
-
readonly description: "关联uid";
|
|
1519
|
-
};
|
|
1520
|
-
readonly id: {
|
|
1521
|
-
readonly type: "string";
|
|
1522
|
-
readonly description: "Entity id";
|
|
1523
|
-
};
|
|
1524
|
-
readonly createdAt: {
|
|
1525
|
-
readonly format: "date-time";
|
|
1526
|
-
readonly type: "string";
|
|
1527
|
-
readonly description: "Entity created at when";
|
|
1528
|
-
};
|
|
1529
|
-
readonly updatedAt: {
|
|
1530
|
-
readonly format: "date-time";
|
|
1531
|
-
readonly type: "string";
|
|
1532
|
-
readonly description: "Entity updated at when";
|
|
1533
|
-
};
|
|
1534
|
-
readonly createdBy: {
|
|
1535
|
-
readonly type: "string";
|
|
1536
|
-
readonly description: "Entity created by who";
|
|
1537
|
-
};
|
|
1538
|
-
readonly updatedBy: {
|
|
1539
|
-
readonly type: "string";
|
|
1540
|
-
readonly description: "Entity updated by who";
|
|
1541
|
-
};
|
|
1542
|
-
};
|
|
1543
|
-
readonly required: readonly ["source", "login", "accessToken", "id"];
|
|
1544
|
-
};
|
|
1545
|
-
export declare const UpdateThirdPartyDtoSchema: {
|
|
1546
|
-
readonly type: "object";
|
|
1547
|
-
readonly properties: {
|
|
1548
|
-
readonly source: {
|
|
1549
|
-
readonly $ref: "#/components/schemas/ThirdPartySource";
|
|
1550
|
-
};
|
|
1551
|
-
readonly login: {
|
|
1552
|
-
readonly type: "string";
|
|
1553
|
-
readonly description: "第三方登录 id";
|
|
1554
|
-
};
|
|
1555
|
-
readonly accessToken: {
|
|
1556
|
-
readonly type: "string";
|
|
1557
|
-
readonly description: "第三方登录 accessToken";
|
|
1558
|
-
};
|
|
1559
|
-
readonly uid: {
|
|
1560
|
-
readonly type: "string";
|
|
1561
|
-
readonly description: "关联uid";
|
|
1562
|
-
};
|
|
1563
|
-
};
|
|
1564
|
-
};
|
|
1565
|
-
export declare const bindThirdPartyDtoSchema: {
|
|
1566
|
-
readonly type: "object";
|
|
1567
|
-
readonly properties: {
|
|
1568
|
-
readonly username: {
|
|
1569
|
-
readonly type: "string";
|
|
1570
|
-
};
|
|
1571
|
-
readonly password: {
|
|
1572
|
-
readonly type: "string";
|
|
1573
|
-
};
|
|
1574
|
-
readonly source: {
|
|
1575
|
-
readonly type: "string";
|
|
1576
|
-
readonly enum: readonly ["GitHub", "WeChat"];
|
|
1577
|
-
};
|
|
1578
|
-
readonly login: {
|
|
1579
|
-
readonly type: "string";
|
|
1580
|
-
};
|
|
1581
|
-
};
|
|
1582
|
-
readonly required: readonly ["username", "password", "source", "login"];
|
|
1583
|
-
};
|
|
1584
|
-
export declare const IndustrySchema: {
|
|
1585
|
-
readonly type: "object";
|
|
1586
|
-
readonly properties: {
|
|
1587
|
-
readonly code: {
|
|
1588
|
-
readonly type: "string";
|
|
1589
|
-
readonly description: "编码";
|
|
1590
|
-
};
|
|
1591
|
-
readonly name: {
|
|
1592
|
-
readonly type: "string";
|
|
1593
|
-
readonly description: "名称";
|
|
1594
|
-
};
|
|
1595
|
-
readonly children: {
|
|
1596
|
-
readonly description: "子集";
|
|
1597
|
-
readonly type: "array";
|
|
1598
|
-
readonly items: {
|
|
1599
|
-
readonly $ref: "#/components/schemas/Industry";
|
|
1600
|
-
};
|
|
1601
|
-
};
|
|
1602
|
-
};
|
|
1603
|
-
readonly required: readonly ["code", "name", "children"];
|
|
1604
|
-
};
|
|
1605
|
-
export declare const RegionSchema: {
|
|
1606
|
-
readonly type: "object";
|
|
1607
|
-
readonly properties: {
|
|
1608
|
-
readonly code: {
|
|
1609
|
-
readonly type: "string";
|
|
1610
|
-
readonly description: "缩写";
|
|
1611
|
-
};
|
|
1612
|
-
readonly nameZh: {
|
|
1613
|
-
readonly type: "string";
|
|
1614
|
-
readonly description: "中文名称";
|
|
1615
|
-
};
|
|
1616
|
-
readonly namePinyin: {
|
|
1617
|
-
readonly type: "string";
|
|
1618
|
-
readonly description: "中文拼音";
|
|
1619
|
-
};
|
|
1620
|
-
readonly nameEn: {
|
|
1621
|
-
readonly type: "string";
|
|
1622
|
-
readonly description: "英文名称";
|
|
1623
|
-
};
|
|
1624
|
-
readonly dialingPrefix: {
|
|
1625
|
-
readonly type: "string";
|
|
1626
|
-
readonly description: "电话前缀";
|
|
1627
|
-
};
|
|
1628
|
-
};
|
|
1629
|
-
readonly required: readonly ["code", "nameZh", "namePinyin", "nameEn", "dialingPrefix"];
|
|
1630
|
-
};
|
|
1631
|
-
export declare const CreateRoleDtoSchema: {
|
|
1632
|
-
readonly type: "object";
|
|
1633
|
-
readonly properties: {
|
|
1634
|
-
readonly permissions: {
|
|
1635
|
-
readonly description: "权限";
|
|
1636
|
-
readonly type: "array";
|
|
1637
|
-
readonly items: {
|
|
1638
|
-
readonly type: "string";
|
|
1639
|
-
};
|
|
1640
|
-
};
|
|
1641
|
-
readonly key: {
|
|
1642
|
-
readonly type: "string";
|
|
1643
|
-
readonly description: "role key";
|
|
1644
|
-
};
|
|
1645
|
-
readonly name: {
|
|
1646
|
-
readonly type: "string";
|
|
1647
|
-
readonly description: "名称";
|
|
1648
|
-
};
|
|
1649
|
-
};
|
|
1650
|
-
readonly required: readonly ["key", "name"];
|
|
1651
|
-
};
|
|
1652
|
-
export declare const RoleSchema: {
|
|
1653
|
-
readonly type: "object";
|
|
1654
|
-
readonly properties: {
|
|
1655
|
-
readonly key: {
|
|
1656
|
-
readonly type: "string";
|
|
1657
|
-
readonly description: "role key";
|
|
1658
|
-
};
|
|
1659
|
-
readonly name: {
|
|
1660
|
-
readonly type: "string";
|
|
1661
|
-
readonly description: "名称";
|
|
1662
|
-
};
|
|
1663
|
-
readonly permissions: {
|
|
1664
|
-
readonly description: "权限";
|
|
1665
|
-
readonly type: "array";
|
|
1666
|
-
readonly items: {
|
|
1667
|
-
readonly type: "string";
|
|
1668
|
-
};
|
|
1669
|
-
};
|
|
1670
|
-
readonly id: {
|
|
1671
|
-
readonly type: "string";
|
|
1672
|
-
readonly description: "Entity id";
|
|
1673
|
-
};
|
|
1674
|
-
readonly createdAt: {
|
|
1675
|
-
readonly format: "date-time";
|
|
1676
|
-
readonly type: "string";
|
|
1677
|
-
readonly description: "Entity created at when";
|
|
1678
|
-
};
|
|
1679
|
-
readonly updatedAt: {
|
|
1680
|
-
readonly format: "date-time";
|
|
1681
|
-
readonly type: "string";
|
|
1682
|
-
readonly description: "Entity updated at when";
|
|
1683
|
-
};
|
|
1684
|
-
readonly createdBy: {
|
|
1685
|
-
readonly type: "string";
|
|
1686
|
-
readonly description: "Entity created by who";
|
|
1687
|
-
};
|
|
1688
|
-
readonly updatedBy: {
|
|
1689
|
-
readonly type: "string";
|
|
1690
|
-
readonly description: "Entity updated by who";
|
|
1691
|
-
};
|
|
1692
|
-
};
|
|
1693
|
-
readonly required: readonly ["key", "name", "permissions", "id"];
|
|
1694
|
-
};
|
|
1695
|
-
export declare const UpdateRoleDtoSchema: {
|
|
1696
|
-
readonly type: "object";
|
|
1697
|
-
readonly properties: {
|
|
1698
|
-
readonly name: {
|
|
1699
|
-
readonly type: "string";
|
|
1700
|
-
readonly description: "名称";
|
|
1701
|
-
};
|
|
1702
|
-
readonly permissions: {
|
|
1703
|
-
readonly description: "权限";
|
|
1704
|
-
readonly type: "array";
|
|
1705
|
-
readonly items: {
|
|
1706
|
-
readonly type: "string";
|
|
1707
|
-
};
|
|
1708
|
-
};
|
|
1709
|
-
};
|
|
1710
|
-
};
|