@36node/auth-sdk 1.6.5-pr-37-e873b45f73 → 1.6.5-pr-37-0d09de5ed2
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 +284 -173
- 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/types.gen.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export type bindThirdPartyDto = {
|
|
2
2
|
username: string;
|
|
3
3
|
password: string;
|
|
4
|
-
source: '
|
|
4
|
+
source: 'github' | 'wechat';
|
|
5
5
|
login: string;
|
|
6
6
|
};
|
|
7
|
-
export type source = '
|
|
7
|
+
export type source = 'github' | 'wechat';
|
|
8
8
|
export type Captcha = {
|
|
9
9
|
code: string;
|
|
10
|
-
expireAt:
|
|
10
|
+
expireAt: Date;
|
|
11
11
|
key: string;
|
|
12
12
|
id: string;
|
|
13
|
-
createdAt?:
|
|
14
|
-
updatedAt?:
|
|
13
|
+
createdAt?: Date;
|
|
14
|
+
updatedAt?: Date;
|
|
15
15
|
createdBy?: string;
|
|
16
16
|
updatedBy?: string;
|
|
17
17
|
};
|
|
18
18
|
export type CreateCaptchaDto = {
|
|
19
19
|
code?: string;
|
|
20
|
-
expireAt?:
|
|
20
|
+
expireAt?: Date;
|
|
21
21
|
key: string;
|
|
22
22
|
};
|
|
23
23
|
export type CreateEmailRecordDto = {
|
|
@@ -26,39 +26,38 @@ export type CreateEmailRecordDto = {
|
|
|
26
26
|
to: string;
|
|
27
27
|
subject: string;
|
|
28
28
|
content: string;
|
|
29
|
-
sentAt?:
|
|
29
|
+
sentAt?: Date;
|
|
30
30
|
};
|
|
31
31
|
export type CreateGroupDto = {
|
|
32
32
|
data?: string;
|
|
33
33
|
name: string;
|
|
34
|
-
permissions?: Array<string>;
|
|
34
|
+
permissions?: Array<(string)>;
|
|
35
35
|
active?: boolean;
|
|
36
36
|
userCount?: number;
|
|
37
37
|
};
|
|
38
38
|
export type CreateNamespaceDto = {
|
|
39
39
|
data?: string;
|
|
40
40
|
desc?: string;
|
|
41
|
-
labels?: Array<string>;
|
|
41
|
+
labels?: Array<(string)>;
|
|
42
42
|
name: string;
|
|
43
43
|
key: string;
|
|
44
44
|
ns?: string;
|
|
45
|
-
permissions?: Array<string>;
|
|
45
|
+
permissions?: Array<(string)>;
|
|
46
46
|
active?: boolean;
|
|
47
47
|
defaultPassword?: string;
|
|
48
48
|
exportable?: boolean;
|
|
49
49
|
userCount?: number;
|
|
50
50
|
};
|
|
51
51
|
export type CreateRoleDto = {
|
|
52
|
-
permissions?: Array<string>;
|
|
52
|
+
permissions?: Array<(string)>;
|
|
53
53
|
key: string;
|
|
54
54
|
name: string;
|
|
55
55
|
};
|
|
56
56
|
export type CreateSessionDto = {
|
|
57
|
-
refreshTokenExpireAt:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
permissions?: Array<string>;
|
|
57
|
+
refreshTokenExpireAt: Date;
|
|
58
|
+
subject: string;
|
|
59
|
+
permissions?: Array<(string)>;
|
|
60
|
+
groups?: Array<(string)>;
|
|
62
61
|
ns?: string;
|
|
63
62
|
type?: string;
|
|
64
63
|
};
|
|
@@ -68,7 +67,7 @@ export type CreateSmsRecordDto = {
|
|
|
68
67
|
sign: string;
|
|
69
68
|
template: string;
|
|
70
69
|
params?: string;
|
|
71
|
-
sentAt?:
|
|
70
|
+
sentAt?: Date;
|
|
72
71
|
};
|
|
73
72
|
export type createThirdPartyDto = {
|
|
74
73
|
source: ThirdPartySource;
|
|
@@ -84,7 +83,7 @@ export type CreateUserDto = {
|
|
|
84
83
|
email?: string;
|
|
85
84
|
name?: string;
|
|
86
85
|
identity?: string;
|
|
87
|
-
identityVerifiedAt?:
|
|
86
|
+
identityVerifiedAt?: Date;
|
|
88
87
|
identityVerified?: boolean;
|
|
89
88
|
intro?: string;
|
|
90
89
|
language?: string;
|
|
@@ -92,14 +91,14 @@ export type CreateUserDto = {
|
|
|
92
91
|
ns?: string;
|
|
93
92
|
phone?: string;
|
|
94
93
|
registerRegion?: string;
|
|
95
|
-
roles?: Array<string>;
|
|
94
|
+
roles?: Array<(string)>;
|
|
96
95
|
username?: string;
|
|
97
96
|
employeeId?: string;
|
|
98
|
-
permissions?: Array<string>;
|
|
99
|
-
groups?: Array<string>;
|
|
97
|
+
permissions?: Array<(string)>;
|
|
98
|
+
groups?: Array<(string)>;
|
|
100
99
|
active?: boolean;
|
|
101
100
|
status?: string;
|
|
102
|
-
expireAt?:
|
|
101
|
+
expireAt?: Date;
|
|
103
102
|
type?: string;
|
|
104
103
|
};
|
|
105
104
|
export type EmailRecord = {
|
|
@@ -108,10 +107,10 @@ export type EmailRecord = {
|
|
|
108
107
|
to: string;
|
|
109
108
|
subject: string;
|
|
110
109
|
content: string;
|
|
111
|
-
sentAt?:
|
|
110
|
+
sentAt?: Date;
|
|
112
111
|
id: string;
|
|
113
|
-
createdAt?:
|
|
114
|
-
updatedAt?:
|
|
112
|
+
createdAt?: Date;
|
|
113
|
+
updatedAt?: Date;
|
|
115
114
|
createdBy?: string;
|
|
116
115
|
updatedBy?: string;
|
|
117
116
|
};
|
|
@@ -122,12 +121,12 @@ export type GithubDto = {
|
|
|
122
121
|
export type Group = {
|
|
123
122
|
data?: string;
|
|
124
123
|
name: string;
|
|
125
|
-
permissions?: Array<string>;
|
|
124
|
+
permissions?: Array<(string)>;
|
|
126
125
|
active?: boolean;
|
|
127
126
|
userCount?: number;
|
|
128
127
|
id: string;
|
|
129
|
-
createdAt?:
|
|
130
|
-
updatedAt?:
|
|
128
|
+
createdAt?: Date;
|
|
129
|
+
updatedAt?: Date;
|
|
131
130
|
createdBy?: string;
|
|
132
131
|
updatedBy?: string;
|
|
133
132
|
};
|
|
@@ -159,18 +158,18 @@ export type LogoutDto = {
|
|
|
159
158
|
export type Namespace = {
|
|
160
159
|
data?: string;
|
|
161
160
|
desc?: string;
|
|
162
|
-
labels?: Array<string>;
|
|
161
|
+
labels?: Array<(string)>;
|
|
163
162
|
name: string;
|
|
164
163
|
key: string;
|
|
165
164
|
ns?: string;
|
|
166
|
-
permissions?: Array<string>;
|
|
165
|
+
permissions?: Array<(string)>;
|
|
167
166
|
active?: boolean;
|
|
168
167
|
defaultPassword?: string;
|
|
169
168
|
exportable?: boolean;
|
|
170
169
|
userCount?: number;
|
|
171
170
|
id: string;
|
|
172
|
-
createdAt?:
|
|
173
|
-
updatedAt?:
|
|
171
|
+
createdAt?: Date;
|
|
172
|
+
updatedAt?: Date;
|
|
174
173
|
createdBy?: string;
|
|
175
174
|
updatedBy?: string;
|
|
176
175
|
};
|
|
@@ -207,10 +206,10 @@ export type ResetPasswordDto = {
|
|
|
207
206
|
export type Role = {
|
|
208
207
|
key: string;
|
|
209
208
|
name: string;
|
|
210
|
-
permissions: Array<string>;
|
|
209
|
+
permissions: Array<(string)>;
|
|
211
210
|
id: string;
|
|
212
|
-
createdAt?:
|
|
213
|
-
updatedAt?:
|
|
211
|
+
createdAt?: Date;
|
|
212
|
+
updatedAt?: Date;
|
|
214
213
|
createdBy?: string;
|
|
215
214
|
updatedBy?: string;
|
|
216
215
|
};
|
|
@@ -229,41 +228,39 @@ export type SendSmsDto = {
|
|
|
229
228
|
};
|
|
230
229
|
};
|
|
231
230
|
export type Session = {
|
|
232
|
-
refreshTokenExpireAt:
|
|
231
|
+
refreshTokenExpireAt: Date;
|
|
233
232
|
refreshToken: string;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
permissions?: Array<string>;
|
|
233
|
+
subject: string;
|
|
234
|
+
permissions?: Array<(string)>;
|
|
235
|
+
groups?: Array<(string)>;
|
|
238
236
|
ns?: string;
|
|
239
237
|
type?: string;
|
|
240
238
|
id: string;
|
|
241
|
-
createdAt?:
|
|
242
|
-
updatedAt?:
|
|
239
|
+
createdAt?: Date;
|
|
240
|
+
updatedAt?: Date;
|
|
243
241
|
createdBy?: string;
|
|
244
242
|
updatedBy?: string;
|
|
245
243
|
};
|
|
246
244
|
export type SessionWithToken = {
|
|
247
|
-
refreshTokenExpireAt:
|
|
245
|
+
refreshTokenExpireAt: Date;
|
|
248
246
|
refreshToken: string;
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
permissions?: Array<string>;
|
|
247
|
+
subject: string;
|
|
248
|
+
permissions?: Array<(string)>;
|
|
249
|
+
groups?: Array<(string)>;
|
|
253
250
|
ns?: string;
|
|
254
251
|
type?: string;
|
|
255
252
|
id: string;
|
|
256
|
-
createdAt?:
|
|
257
|
-
updatedAt?:
|
|
253
|
+
createdAt?: Date;
|
|
254
|
+
updatedAt?: Date;
|
|
258
255
|
createdBy?: string;
|
|
259
256
|
updatedBy?: string;
|
|
260
257
|
token: string;
|
|
261
|
-
tokenExpireAt:
|
|
258
|
+
tokenExpireAt: Date;
|
|
262
259
|
};
|
|
263
260
|
export type SignTokenDto = {
|
|
264
261
|
expiresIn: string;
|
|
265
262
|
uid: string;
|
|
266
|
-
|
|
263
|
+
permissions?: Array<(string)>;
|
|
267
264
|
};
|
|
268
265
|
export type SmsRecord = {
|
|
269
266
|
status: SmsStatus;
|
|
@@ -271,10 +268,10 @@ export type SmsRecord = {
|
|
|
271
268
|
sign: string;
|
|
272
269
|
template: string;
|
|
273
270
|
params?: string;
|
|
274
|
-
sentAt?:
|
|
271
|
+
sentAt?: Date;
|
|
275
272
|
id: string;
|
|
276
|
-
createdAt?:
|
|
277
|
-
updatedAt?:
|
|
273
|
+
createdAt?: Date;
|
|
274
|
+
updatedAt?: Date;
|
|
278
275
|
createdBy?: string;
|
|
279
276
|
updatedBy?: string;
|
|
280
277
|
};
|
|
@@ -285,19 +282,19 @@ export type ThirdParty = {
|
|
|
285
282
|
accessToken: string;
|
|
286
283
|
uid?: string;
|
|
287
284
|
id: string;
|
|
288
|
-
createdAt?:
|
|
289
|
-
updatedAt?:
|
|
285
|
+
createdAt?: Date;
|
|
286
|
+
updatedAt?: Date;
|
|
290
287
|
createdBy?: string;
|
|
291
288
|
updatedBy?: string;
|
|
292
289
|
};
|
|
293
|
-
export type ThirdPartySource = '
|
|
290
|
+
export type ThirdPartySource = 'github' | 'wechat';
|
|
294
291
|
export type Token = {
|
|
295
292
|
token: string;
|
|
296
|
-
tokenExpireAt:
|
|
293
|
+
tokenExpireAt: Date;
|
|
297
294
|
};
|
|
298
295
|
export type UpdateCaptchaDto = {
|
|
299
296
|
code?: string;
|
|
300
|
-
expireAt?:
|
|
297
|
+
expireAt?: Date;
|
|
301
298
|
key?: string;
|
|
302
299
|
};
|
|
303
300
|
export type UpdateEmailRecordDto = {
|
|
@@ -306,21 +303,21 @@ export type UpdateEmailRecordDto = {
|
|
|
306
303
|
to?: string;
|
|
307
304
|
subject?: string;
|
|
308
305
|
content?: string;
|
|
309
|
-
sentAt?:
|
|
306
|
+
sentAt?: Date;
|
|
310
307
|
};
|
|
311
308
|
export type UpdateGroupDto = {
|
|
312
309
|
data?: string;
|
|
313
310
|
name?: string;
|
|
314
|
-
permissions?: Array<string>;
|
|
311
|
+
permissions?: Array<(string)>;
|
|
315
312
|
active?: boolean;
|
|
316
313
|
userCount?: number;
|
|
317
314
|
};
|
|
318
315
|
export type UpdateNamespaceDto = {
|
|
319
316
|
data?: string;
|
|
320
317
|
desc?: string;
|
|
321
|
-
labels?: Array<string>;
|
|
318
|
+
labels?: Array<(string)>;
|
|
322
319
|
name?: string;
|
|
323
|
-
permissions?: Array<string>;
|
|
320
|
+
permissions?: Array<(string)>;
|
|
324
321
|
active?: boolean;
|
|
325
322
|
defaultPassword?: string;
|
|
326
323
|
exportable?: boolean;
|
|
@@ -332,14 +329,13 @@ export type UpdatePasswordDto = {
|
|
|
332
329
|
};
|
|
333
330
|
export type UpdateRoleDto = {
|
|
334
331
|
name?: string;
|
|
335
|
-
permissions?: Array<string>;
|
|
332
|
+
permissions?: Array<(string)>;
|
|
336
333
|
};
|
|
337
334
|
export type UpdateSessionDto = {
|
|
338
|
-
refreshTokenExpireAt?:
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
permissions?: Array<string>;
|
|
335
|
+
refreshTokenExpireAt?: Date;
|
|
336
|
+
subject?: string;
|
|
337
|
+
permissions?: Array<(string)>;
|
|
338
|
+
groups?: Array<(string)>;
|
|
343
339
|
ns?: string;
|
|
344
340
|
type?: string;
|
|
345
341
|
};
|
|
@@ -349,7 +345,7 @@ export type UpdateSmsRecordDto = {
|
|
|
349
345
|
sign?: string;
|
|
350
346
|
template?: string;
|
|
351
347
|
params?: string;
|
|
352
|
-
sentAt?:
|
|
348
|
+
sentAt?: Date;
|
|
353
349
|
};
|
|
354
350
|
export type UpdateThirdPartyDto = {
|
|
355
351
|
source?: ThirdPartySource;
|
|
@@ -364,26 +360,26 @@ export type UpdateUserDto = {
|
|
|
364
360
|
email?: string;
|
|
365
361
|
name?: string;
|
|
366
362
|
identity?: string;
|
|
367
|
-
identityVerifiedAt?:
|
|
363
|
+
identityVerifiedAt?: Date;
|
|
368
364
|
identityVerified?: boolean;
|
|
369
365
|
intro?: string;
|
|
370
366
|
language?: string;
|
|
371
367
|
lastLoginIp?: string;
|
|
372
|
-
lastSeenAt?:
|
|
368
|
+
lastSeenAt?: Date;
|
|
373
369
|
nickname?: string;
|
|
374
370
|
ns?: string;
|
|
375
371
|
phone?: string;
|
|
376
372
|
registerIp?: string;
|
|
377
373
|
registerRegion?: string;
|
|
378
|
-
roles?: Array<string>;
|
|
374
|
+
roles?: Array<(string)>;
|
|
379
375
|
username?: string;
|
|
380
376
|
employeeId?: string;
|
|
381
|
-
permissions?: Array<string>;
|
|
382
|
-
groups?: Array<string>;
|
|
383
|
-
lastLoginAt?:
|
|
377
|
+
permissions?: Array<(string)>;
|
|
378
|
+
groups?: Array<(string)>;
|
|
379
|
+
lastLoginAt?: Date;
|
|
384
380
|
active?: boolean;
|
|
385
381
|
status?: string;
|
|
386
|
-
expireAt?:
|
|
382
|
+
expireAt?: Date;
|
|
387
383
|
type?: string;
|
|
388
384
|
};
|
|
389
385
|
export type User = {
|
|
@@ -394,30 +390,30 @@ export type User = {
|
|
|
394
390
|
email?: string;
|
|
395
391
|
name?: string;
|
|
396
392
|
identity?: string;
|
|
397
|
-
identityVerifiedAt?:
|
|
393
|
+
identityVerifiedAt?: Date;
|
|
398
394
|
identityVerified?: boolean;
|
|
399
395
|
intro?: string;
|
|
400
396
|
language?: string;
|
|
401
397
|
lastLoginIp?: string;
|
|
402
|
-
lastSeenAt?:
|
|
398
|
+
lastSeenAt?: Date;
|
|
403
399
|
nickname?: string;
|
|
404
400
|
ns?: string;
|
|
405
401
|
phone?: string;
|
|
406
402
|
registerIp?: string;
|
|
407
403
|
registerRegion?: string;
|
|
408
|
-
roles?: Array<string>;
|
|
404
|
+
roles?: Array<(string)>;
|
|
409
405
|
username?: string;
|
|
410
406
|
employeeId?: string;
|
|
411
|
-
permissions?: Array<string>;
|
|
412
|
-
groups?: Array<string>;
|
|
413
|
-
lastLoginAt?:
|
|
407
|
+
permissions?: Array<(string)>;
|
|
408
|
+
groups?: Array<(string)>;
|
|
409
|
+
lastLoginAt?: Date;
|
|
414
410
|
active?: boolean;
|
|
415
411
|
status?: string;
|
|
416
|
-
expireAt?:
|
|
412
|
+
expireAt?: Date;
|
|
417
413
|
type?: string;
|
|
418
414
|
id: string;
|
|
419
|
-
createdAt?:
|
|
420
|
-
updatedAt?:
|
|
415
|
+
createdAt?: Date;
|
|
416
|
+
updatedAt?: Date;
|
|
421
417
|
createdBy?: string;
|
|
422
418
|
updatedBy?: string;
|
|
423
419
|
};
|
|
@@ -428,64 +424,64 @@ export type VerifyCaptchaDto = {
|
|
|
428
424
|
export type VerifyCaptchaResultDto = {
|
|
429
425
|
success: boolean;
|
|
430
426
|
};
|
|
431
|
-
export type HelloResponse = HealthCheckResult;
|
|
427
|
+
export type HelloResponse = (HealthCheckResult);
|
|
432
428
|
export type HelloError = unknown;
|
|
433
429
|
export type LoginData = {
|
|
434
430
|
body: LoginDto;
|
|
435
431
|
};
|
|
436
|
-
export type LoginResponse = SessionWithToken;
|
|
432
|
+
export type LoginResponse = (SessionWithToken);
|
|
437
433
|
export type LoginError = unknown;
|
|
438
434
|
export type LoginByGithubData = {
|
|
439
435
|
body: GithubDto;
|
|
440
436
|
};
|
|
441
|
-
export type LoginByGithubResponse = SessionWithToken;
|
|
437
|
+
export type LoginByGithubResponse = (SessionWithToken);
|
|
442
438
|
export type LoginByGithubError = unknown;
|
|
443
439
|
export type LoginByEmailData = {
|
|
444
440
|
body: LoginByEmailDto;
|
|
445
441
|
};
|
|
446
|
-
export type LoginByEmailResponse = SessionWithToken;
|
|
442
|
+
export type LoginByEmailResponse = (SessionWithToken);
|
|
447
443
|
export type LoginByEmailError = unknown;
|
|
448
444
|
export type LoginByPhoneData = {
|
|
449
445
|
body: LoginByPhoneDto;
|
|
450
446
|
};
|
|
451
|
-
export type LoginByPhoneResponse = SessionWithToken;
|
|
447
|
+
export type LoginByPhoneResponse = (SessionWithToken);
|
|
452
448
|
export type LoginByPhoneError = unknown;
|
|
453
449
|
export type LogoutData = {
|
|
454
450
|
body: LogoutDto;
|
|
455
451
|
};
|
|
456
|
-
export type LogoutResponse = void;
|
|
452
|
+
export type LogoutResponse = (void);
|
|
457
453
|
export type LogoutError = unknown;
|
|
458
454
|
export type RegisterData = {
|
|
459
455
|
body: RegisterDto;
|
|
460
456
|
};
|
|
461
|
-
export type RegisterResponse = User;
|
|
457
|
+
export type RegisterResponse = (User);
|
|
462
458
|
export type RegisterError = unknown;
|
|
463
459
|
export type RegisterByPhoneData = {
|
|
464
460
|
body: RegisterbyPhoneDto;
|
|
465
461
|
};
|
|
466
|
-
export type RegisterByPhoneResponse = User;
|
|
462
|
+
export type RegisterByPhoneResponse = (User);
|
|
467
463
|
export type RegisterByPhoneError = unknown;
|
|
468
464
|
export type RegisterByEmailData = {
|
|
469
465
|
body: RegisterByEmailDto;
|
|
470
466
|
};
|
|
471
|
-
export type RegisterByEmailResponse = User;
|
|
467
|
+
export type RegisterByEmailResponse = (User);
|
|
472
468
|
export type RegisterByEmailError = unknown;
|
|
473
469
|
export type SignTokenData = {
|
|
474
470
|
body: SignTokenDto;
|
|
475
471
|
};
|
|
476
|
-
export type SignTokenResponse = Token;
|
|
472
|
+
export type SignTokenResponse = (Token);
|
|
477
473
|
export type SignTokenError = unknown;
|
|
478
474
|
export type RefreshData = {
|
|
479
475
|
body: RefreshTokenDto;
|
|
480
476
|
};
|
|
481
|
-
export type RefreshResponse = SessionWithToken;
|
|
477
|
+
export type RefreshResponse = (SessionWithToken);
|
|
482
478
|
export type RefreshError = unknown;
|
|
483
|
-
export type CleanupAllDataResponse = void;
|
|
479
|
+
export type CleanupAllDataResponse = (void);
|
|
484
480
|
export type CleanupAllDataError = unknown;
|
|
485
481
|
export type CreateUserData = {
|
|
486
482
|
body: CreateUserDto;
|
|
487
483
|
};
|
|
488
|
-
export type CreateUserResponse = User;
|
|
484
|
+
export type CreateUserResponse = (User);
|
|
489
485
|
export type CreateUserError = unknown;
|
|
490
486
|
export type ListUsersData = {
|
|
491
487
|
query?: {
|
|
@@ -494,31 +490,31 @@ export type ListUsersData = {
|
|
|
494
490
|
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'lastLoginAt' | '-lastLoginAt' | 'expireAt' | '-expireAt';
|
|
495
491
|
active?: boolean;
|
|
496
492
|
email?: string;
|
|
497
|
-
expireAt_gte?:
|
|
498
|
-
expireAt_lte?:
|
|
499
|
-
groups?: Array<string>;
|
|
500
|
-
id?: Array<string>;
|
|
493
|
+
expireAt_gte?: Date;
|
|
494
|
+
expireAt_lte?: Date;
|
|
495
|
+
groups?: Array<(string)>;
|
|
496
|
+
id?: Array<(string)>;
|
|
501
497
|
name?: string;
|
|
502
498
|
name_like?: string;
|
|
503
499
|
nickname_like?: string;
|
|
504
500
|
ns_tree?: string;
|
|
505
501
|
phone?: string;
|
|
506
502
|
registerRegion?: string;
|
|
507
|
-
roles?: Array<string>;
|
|
503
|
+
roles?: Array<(string)>;
|
|
508
504
|
status?: string;
|
|
509
505
|
type?: string;
|
|
510
506
|
username?: string;
|
|
511
507
|
username_like?: string;
|
|
512
508
|
};
|
|
513
509
|
};
|
|
514
|
-
export type ListUsersResponse = Array<User
|
|
510
|
+
export type ListUsersResponse = (Array<User>);
|
|
515
511
|
export type ListUsersError = unknown;
|
|
516
512
|
export type GetUserData = {
|
|
517
513
|
path: {
|
|
518
514
|
userId: string;
|
|
519
515
|
};
|
|
520
516
|
};
|
|
521
|
-
export type GetUserResponse = User;
|
|
517
|
+
export type GetUserResponse = (User);
|
|
522
518
|
export type GetUserError = unknown;
|
|
523
519
|
export type UpdateUserData = {
|
|
524
520
|
body: UpdateUserDto;
|
|
@@ -526,14 +522,14 @@ export type UpdateUserData = {
|
|
|
526
522
|
userId: string;
|
|
527
523
|
};
|
|
528
524
|
};
|
|
529
|
-
export type UpdateUserResponse = User;
|
|
525
|
+
export type UpdateUserResponse = (User);
|
|
530
526
|
export type UpdateUserError = unknown;
|
|
531
527
|
export type DeleteUserData = {
|
|
532
528
|
path: {
|
|
533
529
|
userId: string;
|
|
534
530
|
};
|
|
535
531
|
};
|
|
536
|
-
export type DeleteUserResponse = void;
|
|
532
|
+
export type DeleteUserResponse = (void);
|
|
537
533
|
export type DeleteUserError = unknown;
|
|
538
534
|
export type UpsertUserByEmployeeIdData = {
|
|
539
535
|
body: UpdateUserDto;
|
|
@@ -541,14 +537,14 @@ export type UpsertUserByEmployeeIdData = {
|
|
|
541
537
|
userEmployeeId: string;
|
|
542
538
|
};
|
|
543
539
|
};
|
|
544
|
-
export type UpsertUserByEmployeeIdResponse = User;
|
|
540
|
+
export type UpsertUserByEmployeeIdResponse = (User);
|
|
545
541
|
export type UpsertUserByEmployeeIdError = unknown;
|
|
546
542
|
export type VerifyIdentityData = {
|
|
547
543
|
path: {
|
|
548
544
|
userId: string;
|
|
549
545
|
};
|
|
550
546
|
};
|
|
551
|
-
export type VerifyIdentityResponse = User;
|
|
547
|
+
export type VerifyIdentityResponse = (User);
|
|
552
548
|
export type VerifyIdentityError = unknown;
|
|
553
549
|
export type ResetPasswordData = {
|
|
554
550
|
body: ResetPasswordDto;
|
|
@@ -556,7 +552,7 @@ export type ResetPasswordData = {
|
|
|
556
552
|
userId: string;
|
|
557
553
|
};
|
|
558
554
|
};
|
|
559
|
-
export type ResetPasswordResponse = void;
|
|
555
|
+
export type ResetPasswordResponse = (void);
|
|
560
556
|
export type ResetPasswordError = unknown;
|
|
561
557
|
export type UpdatePasswordData = {
|
|
562
558
|
body: UpdatePasswordDto;
|
|
@@ -564,12 +560,12 @@ export type UpdatePasswordData = {
|
|
|
564
560
|
userId: string;
|
|
565
561
|
};
|
|
566
562
|
};
|
|
567
|
-
export type UpdatePasswordResponse = void;
|
|
563
|
+
export type UpdatePasswordResponse = (void);
|
|
568
564
|
export type UpdatePasswordError = unknown;
|
|
569
565
|
export type CreateNamespaceData = {
|
|
570
566
|
body: CreateNamespaceDto;
|
|
571
567
|
};
|
|
572
|
-
export type CreateNamespaceResponse = Namespace;
|
|
568
|
+
export type CreateNamespaceResponse = (Namespace);
|
|
573
569
|
export type CreateNamespaceError = unknown;
|
|
574
570
|
export type ListNamespacesData = {
|
|
575
571
|
query?: {
|
|
@@ -578,19 +574,19 @@ export type ListNamespacesData = {
|
|
|
578
574
|
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'key' | '-key' | 'name' | '-name';
|
|
579
575
|
key?: string;
|
|
580
576
|
key_tree?: string;
|
|
581
|
-
labels?: Array<string>;
|
|
577
|
+
labels?: Array<(string)>;
|
|
582
578
|
name_like?: string;
|
|
583
579
|
ns_tree?: string;
|
|
584
580
|
};
|
|
585
581
|
};
|
|
586
|
-
export type ListNamespacesResponse = Array<Namespace
|
|
582
|
+
export type ListNamespacesResponse = (Array<Namespace>);
|
|
587
583
|
export type ListNamespacesError = unknown;
|
|
588
584
|
export type GetNamespaceData = {
|
|
589
585
|
path: {
|
|
590
586
|
namespaceIdOrKey: string;
|
|
591
587
|
};
|
|
592
588
|
};
|
|
593
|
-
export type GetNamespaceResponse = Namespace;
|
|
589
|
+
export type GetNamespaceResponse = (Namespace);
|
|
594
590
|
export type GetNamespaceError = unknown;
|
|
595
591
|
export type UpdateNamespaceData = {
|
|
596
592
|
body: UpdateNamespaceDto;
|
|
@@ -598,42 +594,41 @@ export type UpdateNamespaceData = {
|
|
|
598
594
|
namespaceIdOrKey: string;
|
|
599
595
|
};
|
|
600
596
|
};
|
|
601
|
-
export type UpdateNamespaceResponse = Namespace;
|
|
597
|
+
export type UpdateNamespaceResponse = (Namespace);
|
|
602
598
|
export type UpdateNamespaceError = unknown;
|
|
603
599
|
export type DeleteNamespaceData = {
|
|
604
600
|
path: {
|
|
605
601
|
namespaceId: string;
|
|
606
602
|
};
|
|
607
603
|
};
|
|
608
|
-
export type DeleteNamespaceResponse = void;
|
|
604
|
+
export type DeleteNamespaceResponse = (void);
|
|
609
605
|
export type DeleteNamespaceError = unknown;
|
|
610
606
|
export type CreateSessionData = {
|
|
611
607
|
body: CreateSessionDto;
|
|
612
608
|
};
|
|
613
|
-
export type CreateSessionResponse = Session;
|
|
609
|
+
export type CreateSessionResponse = (Session);
|
|
614
610
|
export type CreateSessionError = unknown;
|
|
615
611
|
export type ListSessionsData = {
|
|
616
612
|
query?: {
|
|
617
613
|
_limit?: number;
|
|
618
614
|
_offset?: number;
|
|
619
615
|
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'refreshTokenExpireAt' | '-refreshTokenExpireAt';
|
|
620
|
-
|
|
616
|
+
groups?: Array<(string)>;
|
|
621
617
|
ns?: string;
|
|
622
|
-
permissions?: Array<string>;
|
|
618
|
+
permissions?: Array<(string)>;
|
|
623
619
|
refreshToken?: string;
|
|
624
|
-
|
|
620
|
+
subject?: string;
|
|
625
621
|
type?: string;
|
|
626
|
-
uid?: string;
|
|
627
622
|
};
|
|
628
623
|
};
|
|
629
|
-
export type ListSessionsResponse = Array<Session
|
|
624
|
+
export type ListSessionsResponse = (Array<Session>);
|
|
630
625
|
export type ListSessionsError = unknown;
|
|
631
626
|
export type GetSessionData = {
|
|
632
627
|
path: {
|
|
633
628
|
sessionId: string;
|
|
634
629
|
};
|
|
635
630
|
};
|
|
636
|
-
export type GetSessionResponse = Session;
|
|
631
|
+
export type GetSessionResponse = (Session);
|
|
637
632
|
export type GetSessionError = unknown;
|
|
638
633
|
export type UpdateSessionData = {
|
|
639
634
|
body: UpdateSessionDto;
|
|
@@ -641,19 +636,19 @@ export type UpdateSessionData = {
|
|
|
641
636
|
sessionId: string;
|
|
642
637
|
};
|
|
643
638
|
};
|
|
644
|
-
export type UpdateSessionResponse = Session;
|
|
639
|
+
export type UpdateSessionResponse = (Session);
|
|
645
640
|
export type UpdateSessionError = unknown;
|
|
646
641
|
export type DeleteSessionData = {
|
|
647
642
|
path: {
|
|
648
643
|
sessionId: string;
|
|
649
644
|
};
|
|
650
645
|
};
|
|
651
|
-
export type DeleteSessionResponse = void;
|
|
646
|
+
export type DeleteSessionResponse = (void);
|
|
652
647
|
export type DeleteSessionError = unknown;
|
|
653
648
|
export type CreateGroupData = {
|
|
654
649
|
body: CreateGroupDto;
|
|
655
650
|
};
|
|
656
|
-
export type CreateGroupResponse = Group;
|
|
651
|
+
export type CreateGroupResponse = (Group);
|
|
657
652
|
export type CreateGroupError = unknown;
|
|
658
653
|
export type ListGroupsData = {
|
|
659
654
|
query?: {
|
|
@@ -665,14 +660,14 @@ export type ListGroupsData = {
|
|
|
665
660
|
name_like?: string;
|
|
666
661
|
};
|
|
667
662
|
};
|
|
668
|
-
export type ListGroupsResponse = Array<Group
|
|
663
|
+
export type ListGroupsResponse = (Array<Group>);
|
|
669
664
|
export type ListGroupsError = unknown;
|
|
670
665
|
export type GetGroupData = {
|
|
671
666
|
path: {
|
|
672
667
|
groupIdOrName: string;
|
|
673
668
|
};
|
|
674
669
|
};
|
|
675
|
-
export type GetGroupResponse = Group;
|
|
670
|
+
export type GetGroupResponse = (Group);
|
|
676
671
|
export type GetGroupError = unknown;
|
|
677
672
|
export type UpdateGroupData = {
|
|
678
673
|
body: UpdateGroupDto;
|
|
@@ -680,19 +675,19 @@ export type UpdateGroupData = {
|
|
|
680
675
|
groupId: string;
|
|
681
676
|
};
|
|
682
677
|
};
|
|
683
|
-
export type UpdateGroupResponse = Group;
|
|
678
|
+
export type UpdateGroupResponse = (Group);
|
|
684
679
|
export type UpdateGroupError = unknown;
|
|
685
680
|
export type DeleteGroupData = {
|
|
686
681
|
path: {
|
|
687
682
|
groupId: string;
|
|
688
683
|
};
|
|
689
684
|
};
|
|
690
|
-
export type DeleteGroupResponse = void;
|
|
685
|
+
export type DeleteGroupResponse = (void);
|
|
691
686
|
export type DeleteGroupError = unknown;
|
|
692
687
|
export type CreateCaptchaData = {
|
|
693
688
|
body: CreateCaptchaDto;
|
|
694
689
|
};
|
|
695
|
-
export type CreateCaptchaResponse = Captcha;
|
|
690
|
+
export type CreateCaptchaResponse = (Captcha);
|
|
696
691
|
export type CreateCaptchaError = unknown;
|
|
697
692
|
export type ListCaptchasData = {
|
|
698
693
|
query?: {
|
|
@@ -703,14 +698,14 @@ export type ListCaptchasData = {
|
|
|
703
698
|
key?: string;
|
|
704
699
|
};
|
|
705
700
|
};
|
|
706
|
-
export type ListCaptchasResponse = Array<Captcha
|
|
701
|
+
export type ListCaptchasResponse = (Array<Captcha>);
|
|
707
702
|
export type ListCaptchasError = unknown;
|
|
708
703
|
export type GetCaptchaData = {
|
|
709
704
|
path: {
|
|
710
705
|
captchaId: string;
|
|
711
706
|
};
|
|
712
707
|
};
|
|
713
|
-
export type GetCaptchaResponse = Captcha;
|
|
708
|
+
export type GetCaptchaResponse = (Captcha);
|
|
714
709
|
export type GetCaptchaError = unknown;
|
|
715
710
|
export type UpdateCaptchaData = {
|
|
716
711
|
body: UpdateCaptchaDto;
|
|
@@ -718,52 +713,52 @@ export type UpdateCaptchaData = {
|
|
|
718
713
|
captchaId: string;
|
|
719
714
|
};
|
|
720
715
|
};
|
|
721
|
-
export type UpdateCaptchaResponse = Captcha;
|
|
716
|
+
export type UpdateCaptchaResponse = (Captcha);
|
|
722
717
|
export type UpdateCaptchaError = unknown;
|
|
723
718
|
export type DeleteCaptchaData = {
|
|
724
719
|
path: {
|
|
725
720
|
captchaId: string;
|
|
726
721
|
};
|
|
727
722
|
};
|
|
728
|
-
export type DeleteCaptchaResponse = void;
|
|
723
|
+
export type DeleteCaptchaResponse = (void);
|
|
729
724
|
export type DeleteCaptchaError = unknown;
|
|
730
725
|
export type VerifyCaptchaData = {
|
|
731
726
|
body: VerifyCaptchaDto;
|
|
732
727
|
};
|
|
733
|
-
export type VerifyCaptchaResponse = VerifyCaptchaResultDto;
|
|
728
|
+
export type VerifyCaptchaResponse = (VerifyCaptchaResultDto);
|
|
734
729
|
export type VerifyCaptchaError = unknown;
|
|
735
730
|
export type SendEmailData = {
|
|
736
731
|
body: SendEmailDto;
|
|
737
732
|
};
|
|
738
|
-
export type SendEmailResponse = void;
|
|
733
|
+
export type SendEmailResponse = (void);
|
|
739
734
|
export type SendEmailError = unknown;
|
|
740
735
|
export type CreateEmailRecordData = {
|
|
741
736
|
body: CreateEmailRecordDto;
|
|
742
737
|
};
|
|
743
|
-
export type CreateEmailRecordResponse = EmailRecord;
|
|
738
|
+
export type CreateEmailRecordResponse = (EmailRecord);
|
|
744
739
|
export type CreateEmailRecordError = unknown;
|
|
745
740
|
export type ListEmailRecordsData = {
|
|
746
741
|
query?: {
|
|
747
742
|
_limit?: number;
|
|
748
743
|
_offset?: number;
|
|
749
744
|
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'sentAt' | '-sentAt';
|
|
750
|
-
createdAt_gt?:
|
|
751
|
-
createdAt_lt?:
|
|
745
|
+
createdAt_gt?: Date;
|
|
746
|
+
createdAt_lt?: Date;
|
|
752
747
|
from?: string;
|
|
753
|
-
sentAt_gt?:
|
|
754
|
-
sentAt_lt?:
|
|
748
|
+
sentAt_gt?: Date;
|
|
749
|
+
sentAt_lt?: Date;
|
|
755
750
|
status?: EmailStatus;
|
|
756
751
|
to?: string;
|
|
757
752
|
};
|
|
758
753
|
};
|
|
759
|
-
export type ListEmailRecordsResponse = Array<EmailRecord
|
|
754
|
+
export type ListEmailRecordsResponse = (Array<EmailRecord>);
|
|
760
755
|
export type ListEmailRecordsError = unknown;
|
|
761
756
|
export type GetEmailRecordData = {
|
|
762
757
|
path: {
|
|
763
758
|
emailRecordId: string;
|
|
764
759
|
};
|
|
765
760
|
};
|
|
766
|
-
export type GetEmailRecordResponse = EmailRecord;
|
|
761
|
+
export type GetEmailRecordResponse = (EmailRecord);
|
|
767
762
|
export type GetEmailRecordError = unknown;
|
|
768
763
|
export type UpdateEmailRecordData = {
|
|
769
764
|
body: UpdateEmailRecordDto;
|
|
@@ -771,47 +766,47 @@ export type UpdateEmailRecordData = {
|
|
|
771
766
|
emailRecordId: string;
|
|
772
767
|
};
|
|
773
768
|
};
|
|
774
|
-
export type UpdateEmailRecordResponse = EmailRecord;
|
|
769
|
+
export type UpdateEmailRecordResponse = (EmailRecord);
|
|
775
770
|
export type UpdateEmailRecordError = unknown;
|
|
776
771
|
export type DeleteEmailRecordData = {
|
|
777
772
|
path: {
|
|
778
773
|
emailRecordId: string;
|
|
779
774
|
};
|
|
780
775
|
};
|
|
781
|
-
export type DeleteEmailRecordResponse = void;
|
|
776
|
+
export type DeleteEmailRecordResponse = (void);
|
|
782
777
|
export type DeleteEmailRecordError = unknown;
|
|
783
778
|
export type SendSmsData = {
|
|
784
779
|
body: SendSmsDto;
|
|
785
780
|
};
|
|
786
|
-
export type SendSmsResponse = void;
|
|
781
|
+
export type SendSmsResponse = (void);
|
|
787
782
|
export type SendSmsError = unknown;
|
|
788
783
|
export type CreateSmsRecordData = {
|
|
789
784
|
body: CreateSmsRecordDto;
|
|
790
785
|
};
|
|
791
|
-
export type CreateSmsRecordResponse = SmsRecord;
|
|
786
|
+
export type CreateSmsRecordResponse = (SmsRecord);
|
|
792
787
|
export type CreateSmsRecordError = unknown;
|
|
793
788
|
export type ListSmsRecordsData = {
|
|
794
789
|
query?: {
|
|
795
790
|
_limit?: number;
|
|
796
791
|
_offset?: number;
|
|
797
792
|
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'sentAt' | '-sentAt';
|
|
798
|
-
createdAt_gt?:
|
|
799
|
-
createdAt_lt?:
|
|
793
|
+
createdAt_gt?: Date;
|
|
794
|
+
createdAt_lt?: Date;
|
|
800
795
|
phone?: string;
|
|
801
|
-
sentAt_gt?:
|
|
802
|
-
sentAt_lt?:
|
|
796
|
+
sentAt_gt?: Date;
|
|
797
|
+
sentAt_lt?: Date;
|
|
803
798
|
sign?: string;
|
|
804
799
|
status?: SmsStatus;
|
|
805
800
|
};
|
|
806
801
|
};
|
|
807
|
-
export type ListSmsRecordsResponse = Array<SmsRecord
|
|
802
|
+
export type ListSmsRecordsResponse = (Array<SmsRecord>);
|
|
808
803
|
export type ListSmsRecordsError = unknown;
|
|
809
804
|
export type GetSmsRecordData = {
|
|
810
805
|
path: {
|
|
811
806
|
smsRecordId: string;
|
|
812
807
|
};
|
|
813
808
|
};
|
|
814
|
-
export type GetSmsRecordResponse = SmsRecord;
|
|
809
|
+
export type GetSmsRecordResponse = (SmsRecord);
|
|
815
810
|
export type GetSmsRecordError = unknown;
|
|
816
811
|
export type UpdateSmsRecordData = {
|
|
817
812
|
body: UpdateSmsRecordDto;
|
|
@@ -819,19 +814,19 @@ export type UpdateSmsRecordData = {
|
|
|
819
814
|
smsRecordId: string;
|
|
820
815
|
};
|
|
821
816
|
};
|
|
822
|
-
export type UpdateSmsRecordResponse = SmsRecord;
|
|
817
|
+
export type UpdateSmsRecordResponse = (SmsRecord);
|
|
823
818
|
export type UpdateSmsRecordError = unknown;
|
|
824
819
|
export type DeleteSmsRecordData = {
|
|
825
820
|
path: {
|
|
826
821
|
smsRecordId: string;
|
|
827
822
|
};
|
|
828
823
|
};
|
|
829
|
-
export type DeleteSmsRecordResponse = void;
|
|
824
|
+
export type DeleteSmsRecordResponse = (void);
|
|
830
825
|
export type DeleteSmsRecordError = unknown;
|
|
831
826
|
export type CreateThirdPartyData = {
|
|
832
827
|
body: createThirdPartyDto;
|
|
833
828
|
};
|
|
834
|
-
export type CreateThirdPartyResponse = ThirdParty;
|
|
829
|
+
export type CreateThirdPartyResponse = (ThirdParty);
|
|
835
830
|
export type CreateThirdPartyError = unknown;
|
|
836
831
|
export type ListThirdPartyData = {
|
|
837
832
|
query?: {
|
|
@@ -843,18 +838,18 @@ export type ListThirdPartyData = {
|
|
|
843
838
|
uid?: string;
|
|
844
839
|
};
|
|
845
840
|
};
|
|
846
|
-
export type ListThirdPartyResponse = Array<{
|
|
841
|
+
export type ListThirdPartyResponse = (Array<{
|
|
847
842
|
[key: string]: unknown;
|
|
848
|
-
}> | Array<ThirdParty
|
|
843
|
+
}> | Array<ThirdParty>);
|
|
849
844
|
export type ListThirdPartyError = unknown;
|
|
850
845
|
export type GetThirdPartyData = {
|
|
851
846
|
path: {
|
|
852
847
|
id: string;
|
|
853
848
|
};
|
|
854
849
|
};
|
|
855
|
-
export type GetThirdPartyResponse = {
|
|
850
|
+
export type GetThirdPartyResponse = ({
|
|
856
851
|
[key: string]: unknown;
|
|
857
|
-
} | ThirdParty;
|
|
852
|
+
} | ThirdParty);
|
|
858
853
|
export type GetThirdPartyError = unknown;
|
|
859
854
|
export type UpdateThirdPartyData = {
|
|
860
855
|
body: UpdateThirdPartyDto;
|
|
@@ -862,23 +857,23 @@ export type UpdateThirdPartyData = {
|
|
|
862
857
|
id: string;
|
|
863
858
|
};
|
|
864
859
|
};
|
|
865
|
-
export type UpdateThirdPartyResponse = {
|
|
860
|
+
export type UpdateThirdPartyResponse = ({
|
|
866
861
|
[key: string]: unknown;
|
|
867
|
-
} | ThirdParty;
|
|
862
|
+
} | ThirdParty);
|
|
868
863
|
export type UpdateThirdPartyError = unknown;
|
|
869
864
|
export type BindThirdPartyData = {
|
|
870
865
|
body: bindThirdPartyDto;
|
|
871
866
|
};
|
|
872
|
-
export type BindThirdPartyResponse = ThirdParty;
|
|
867
|
+
export type BindThirdPartyResponse = (ThirdParty);
|
|
873
868
|
export type BindThirdPartyError = unknown;
|
|
874
|
-
export type ListIndustriesResponse = Array<Industry
|
|
869
|
+
export type ListIndustriesResponse = (Array<Industry>);
|
|
875
870
|
export type ListIndustriesError = unknown;
|
|
876
|
-
export type ListRegionsResponse = Array<Region
|
|
871
|
+
export type ListRegionsResponse = (Array<Region>);
|
|
877
872
|
export type ListRegionsError = unknown;
|
|
878
873
|
export type CreateRoleData = {
|
|
879
874
|
body: CreateRoleDto;
|
|
880
875
|
};
|
|
881
|
-
export type CreateRoleResponse = Role;
|
|
876
|
+
export type CreateRoleResponse = (Role);
|
|
882
877
|
export type CreateRoleError = unknown;
|
|
883
878
|
export type ListRolesData = {
|
|
884
879
|
query?: {
|
|
@@ -890,14 +885,14 @@ export type ListRolesData = {
|
|
|
890
885
|
name_like?: string;
|
|
891
886
|
};
|
|
892
887
|
};
|
|
893
|
-
export type ListRolesResponse = Array<Role
|
|
888
|
+
export type ListRolesResponse = (Array<Role>);
|
|
894
889
|
export type ListRolesError = unknown;
|
|
895
890
|
export type GetRoleData = {
|
|
896
891
|
path: {
|
|
897
892
|
roleIdOrKey: string;
|
|
898
893
|
};
|
|
899
894
|
};
|
|
900
|
-
export type GetRoleResponse = Role;
|
|
895
|
+
export type GetRoleResponse = (Role);
|
|
901
896
|
export type GetRoleError = unknown;
|
|
902
897
|
export type UpdateRoleData = {
|
|
903
898
|
body: UpdateRoleDto;
|
|
@@ -905,12 +900,128 @@ export type UpdateRoleData = {
|
|
|
905
900
|
roleId: string;
|
|
906
901
|
};
|
|
907
902
|
};
|
|
908
|
-
export type UpdateRoleResponse = Role;
|
|
903
|
+
export type UpdateRoleResponse = (Role);
|
|
909
904
|
export type UpdateRoleError = unknown;
|
|
910
905
|
export type DeleteRoleData = {
|
|
911
906
|
path: {
|
|
912
907
|
roleId: string;
|
|
913
908
|
};
|
|
914
909
|
};
|
|
915
|
-
export type DeleteRoleResponse = void;
|
|
910
|
+
export type DeleteRoleResponse = (void);
|
|
916
911
|
export type DeleteRoleError = unknown;
|
|
912
|
+
export type LoginResponseTransformer = (data: any) => Promise<LoginResponse>;
|
|
913
|
+
export type SessionWithTokenModelResponseTransformer = (data: any) => SessionWithToken;
|
|
914
|
+
export declare const SessionWithTokenModelResponseTransformer: SessionWithTokenModelResponseTransformer;
|
|
915
|
+
export declare const LoginResponseTransformer: LoginResponseTransformer;
|
|
916
|
+
export type LoginByGithubResponseTransformer = (data: any) => Promise<LoginByGithubResponse>;
|
|
917
|
+
export declare const LoginByGithubResponseTransformer: LoginByGithubResponseTransformer;
|
|
918
|
+
export type LoginByEmailResponseTransformer = (data: any) => Promise<LoginByEmailResponse>;
|
|
919
|
+
export declare const LoginByEmailResponseTransformer: LoginByEmailResponseTransformer;
|
|
920
|
+
export type LoginByPhoneResponseTransformer = (data: any) => Promise<LoginByPhoneResponse>;
|
|
921
|
+
export declare const LoginByPhoneResponseTransformer: LoginByPhoneResponseTransformer;
|
|
922
|
+
export type RegisterResponseTransformer = (data: any) => Promise<RegisterResponse>;
|
|
923
|
+
export type UserModelResponseTransformer = (data: any) => User;
|
|
924
|
+
export declare const UserModelResponseTransformer: UserModelResponseTransformer;
|
|
925
|
+
export declare const RegisterResponseTransformer: RegisterResponseTransformer;
|
|
926
|
+
export type RegisterByPhoneResponseTransformer = (data: any) => Promise<RegisterByPhoneResponse>;
|
|
927
|
+
export declare const RegisterByPhoneResponseTransformer: RegisterByPhoneResponseTransformer;
|
|
928
|
+
export type RegisterByEmailResponseTransformer = (data: any) => Promise<RegisterByEmailResponse>;
|
|
929
|
+
export declare const RegisterByEmailResponseTransformer: RegisterByEmailResponseTransformer;
|
|
930
|
+
export type SignTokenResponseTransformer = (data: any) => Promise<SignTokenResponse>;
|
|
931
|
+
export type TokenModelResponseTransformer = (data: any) => Token;
|
|
932
|
+
export declare const TokenModelResponseTransformer: TokenModelResponseTransformer;
|
|
933
|
+
export declare const SignTokenResponseTransformer: SignTokenResponseTransformer;
|
|
934
|
+
export type RefreshResponseTransformer = (data: any) => Promise<RefreshResponse>;
|
|
935
|
+
export declare const RefreshResponseTransformer: RefreshResponseTransformer;
|
|
936
|
+
export type CreateUserResponseTransformer = (data: any) => Promise<CreateUserResponse>;
|
|
937
|
+
export declare const CreateUserResponseTransformer: CreateUserResponseTransformer;
|
|
938
|
+
export type ListUsersResponseTransformer = (data: any) => Promise<ListUsersResponse>;
|
|
939
|
+
export declare const ListUsersResponseTransformer: ListUsersResponseTransformer;
|
|
940
|
+
export type GetUserResponseTransformer = (data: any) => Promise<GetUserResponse>;
|
|
941
|
+
export declare const GetUserResponseTransformer: GetUserResponseTransformer;
|
|
942
|
+
export type UpdateUserResponseTransformer = (data: any) => Promise<UpdateUserResponse>;
|
|
943
|
+
export declare const UpdateUserResponseTransformer: UpdateUserResponseTransformer;
|
|
944
|
+
export type UpsertUserByEmployeeIdResponseTransformer = (data: any) => Promise<UpsertUserByEmployeeIdResponse>;
|
|
945
|
+
export declare const UpsertUserByEmployeeIdResponseTransformer: UpsertUserByEmployeeIdResponseTransformer;
|
|
946
|
+
export type VerifyIdentityResponseTransformer = (data: any) => Promise<VerifyIdentityResponse>;
|
|
947
|
+
export declare const VerifyIdentityResponseTransformer: VerifyIdentityResponseTransformer;
|
|
948
|
+
export type CreateNamespaceResponseTransformer = (data: any) => Promise<CreateNamespaceResponse>;
|
|
949
|
+
export type NamespaceModelResponseTransformer = (data: any) => Namespace;
|
|
950
|
+
export declare const NamespaceModelResponseTransformer: NamespaceModelResponseTransformer;
|
|
951
|
+
export declare const CreateNamespaceResponseTransformer: CreateNamespaceResponseTransformer;
|
|
952
|
+
export type ListNamespacesResponseTransformer = (data: any) => Promise<ListNamespacesResponse>;
|
|
953
|
+
export declare const ListNamespacesResponseTransformer: ListNamespacesResponseTransformer;
|
|
954
|
+
export type GetNamespaceResponseTransformer = (data: any) => Promise<GetNamespaceResponse>;
|
|
955
|
+
export declare const GetNamespaceResponseTransformer: GetNamespaceResponseTransformer;
|
|
956
|
+
export type UpdateNamespaceResponseTransformer = (data: any) => Promise<UpdateNamespaceResponse>;
|
|
957
|
+
export declare const UpdateNamespaceResponseTransformer: UpdateNamespaceResponseTransformer;
|
|
958
|
+
export type CreateSessionResponseTransformer = (data: any) => Promise<CreateSessionResponse>;
|
|
959
|
+
export type SessionModelResponseTransformer = (data: any) => Session;
|
|
960
|
+
export declare const SessionModelResponseTransformer: SessionModelResponseTransformer;
|
|
961
|
+
export declare const CreateSessionResponseTransformer: CreateSessionResponseTransformer;
|
|
962
|
+
export type ListSessionsResponseTransformer = (data: any) => Promise<ListSessionsResponse>;
|
|
963
|
+
export declare const ListSessionsResponseTransformer: ListSessionsResponseTransformer;
|
|
964
|
+
export type GetSessionResponseTransformer = (data: any) => Promise<GetSessionResponse>;
|
|
965
|
+
export declare const GetSessionResponseTransformer: GetSessionResponseTransformer;
|
|
966
|
+
export type UpdateSessionResponseTransformer = (data: any) => Promise<UpdateSessionResponse>;
|
|
967
|
+
export declare const UpdateSessionResponseTransformer: UpdateSessionResponseTransformer;
|
|
968
|
+
export type CreateGroupResponseTransformer = (data: any) => Promise<CreateGroupResponse>;
|
|
969
|
+
export type GroupModelResponseTransformer = (data: any) => Group;
|
|
970
|
+
export declare const GroupModelResponseTransformer: GroupModelResponseTransformer;
|
|
971
|
+
export declare const CreateGroupResponseTransformer: CreateGroupResponseTransformer;
|
|
972
|
+
export type ListGroupsResponseTransformer = (data: any) => Promise<ListGroupsResponse>;
|
|
973
|
+
export declare const ListGroupsResponseTransformer: ListGroupsResponseTransformer;
|
|
974
|
+
export type GetGroupResponseTransformer = (data: any) => Promise<GetGroupResponse>;
|
|
975
|
+
export declare const GetGroupResponseTransformer: GetGroupResponseTransformer;
|
|
976
|
+
export type UpdateGroupResponseTransformer = (data: any) => Promise<UpdateGroupResponse>;
|
|
977
|
+
export declare const UpdateGroupResponseTransformer: UpdateGroupResponseTransformer;
|
|
978
|
+
export type CreateCaptchaResponseTransformer = (data: any) => Promise<CreateCaptchaResponse>;
|
|
979
|
+
export type CaptchaModelResponseTransformer = (data: any) => Captcha;
|
|
980
|
+
export declare const CaptchaModelResponseTransformer: CaptchaModelResponseTransformer;
|
|
981
|
+
export declare const CreateCaptchaResponseTransformer: CreateCaptchaResponseTransformer;
|
|
982
|
+
export type ListCaptchasResponseTransformer = (data: any) => Promise<ListCaptchasResponse>;
|
|
983
|
+
export declare const ListCaptchasResponseTransformer: ListCaptchasResponseTransformer;
|
|
984
|
+
export type GetCaptchaResponseTransformer = (data: any) => Promise<GetCaptchaResponse>;
|
|
985
|
+
export declare const GetCaptchaResponseTransformer: GetCaptchaResponseTransformer;
|
|
986
|
+
export type UpdateCaptchaResponseTransformer = (data: any) => Promise<UpdateCaptchaResponse>;
|
|
987
|
+
export declare const UpdateCaptchaResponseTransformer: UpdateCaptchaResponseTransformer;
|
|
988
|
+
export type CreateEmailRecordResponseTransformer = (data: any) => Promise<CreateEmailRecordResponse>;
|
|
989
|
+
export type EmailRecordModelResponseTransformer = (data: any) => EmailRecord;
|
|
990
|
+
export declare const EmailRecordModelResponseTransformer: EmailRecordModelResponseTransformer;
|
|
991
|
+
export declare const CreateEmailRecordResponseTransformer: CreateEmailRecordResponseTransformer;
|
|
992
|
+
export type ListEmailRecordsResponseTransformer = (data: any) => Promise<ListEmailRecordsResponse>;
|
|
993
|
+
export declare const ListEmailRecordsResponseTransformer: ListEmailRecordsResponseTransformer;
|
|
994
|
+
export type GetEmailRecordResponseTransformer = (data: any) => Promise<GetEmailRecordResponse>;
|
|
995
|
+
export declare const GetEmailRecordResponseTransformer: GetEmailRecordResponseTransformer;
|
|
996
|
+
export type UpdateEmailRecordResponseTransformer = (data: any) => Promise<UpdateEmailRecordResponse>;
|
|
997
|
+
export declare const UpdateEmailRecordResponseTransformer: UpdateEmailRecordResponseTransformer;
|
|
998
|
+
export type CreateSmsRecordResponseTransformer = (data: any) => Promise<CreateSmsRecordResponse>;
|
|
999
|
+
export type SmsRecordModelResponseTransformer = (data: any) => SmsRecord;
|
|
1000
|
+
export declare const SmsRecordModelResponseTransformer: SmsRecordModelResponseTransformer;
|
|
1001
|
+
export declare const CreateSmsRecordResponseTransformer: CreateSmsRecordResponseTransformer;
|
|
1002
|
+
export type ListSmsRecordsResponseTransformer = (data: any) => Promise<ListSmsRecordsResponse>;
|
|
1003
|
+
export declare const ListSmsRecordsResponseTransformer: ListSmsRecordsResponseTransformer;
|
|
1004
|
+
export type GetSmsRecordResponseTransformer = (data: any) => Promise<GetSmsRecordResponse>;
|
|
1005
|
+
export declare const GetSmsRecordResponseTransformer: GetSmsRecordResponseTransformer;
|
|
1006
|
+
export type UpdateSmsRecordResponseTransformer = (data: any) => Promise<UpdateSmsRecordResponse>;
|
|
1007
|
+
export declare const UpdateSmsRecordResponseTransformer: UpdateSmsRecordResponseTransformer;
|
|
1008
|
+
export type CreateThirdPartyResponseTransformer = (data: any) => Promise<CreateThirdPartyResponse>;
|
|
1009
|
+
export type ThirdPartyModelResponseTransformer = (data: any) => ThirdParty;
|
|
1010
|
+
export declare const ThirdPartyModelResponseTransformer: ThirdPartyModelResponseTransformer;
|
|
1011
|
+
export declare const CreateThirdPartyResponseTransformer: CreateThirdPartyResponseTransformer;
|
|
1012
|
+
export type BindThirdPartyResponseTransformer = (data: any) => Promise<BindThirdPartyResponse>;
|
|
1013
|
+
export declare const BindThirdPartyResponseTransformer: BindThirdPartyResponseTransformer;
|
|
1014
|
+
export type ListIndustriesResponseTransformer = (data: any) => Promise<ListIndustriesResponse>;
|
|
1015
|
+
export type IndustryModelResponseTransformer = (data: any) => Industry;
|
|
1016
|
+
export declare const IndustryModelResponseTransformer: IndustryModelResponseTransformer;
|
|
1017
|
+
export declare const ListIndustriesResponseTransformer: ListIndustriesResponseTransformer;
|
|
1018
|
+
export type CreateRoleResponseTransformer = (data: any) => Promise<CreateRoleResponse>;
|
|
1019
|
+
export type RoleModelResponseTransformer = (data: any) => Role;
|
|
1020
|
+
export declare const RoleModelResponseTransformer: RoleModelResponseTransformer;
|
|
1021
|
+
export declare const CreateRoleResponseTransformer: CreateRoleResponseTransformer;
|
|
1022
|
+
export type ListRolesResponseTransformer = (data: any) => Promise<ListRolesResponse>;
|
|
1023
|
+
export declare const ListRolesResponseTransformer: ListRolesResponseTransformer;
|
|
1024
|
+
export type GetRoleResponseTransformer = (data: any) => Promise<GetRoleResponse>;
|
|
1025
|
+
export declare const GetRoleResponseTransformer: GetRoleResponseTransformer;
|
|
1026
|
+
export type UpdateRoleResponseTransformer = (data: any) => Promise<UpdateRoleResponse>;
|
|
1027
|
+
export declare const UpdateRoleResponseTransformer: UpdateRoleResponseTransformer;
|