@36node/auth-sdk 1.1.0 → 1.1.1-pr-7-281e214970
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/main.js +1924 -588
- package/dist/main.js.map +1 -1
- package/dist/module.js +1922 -587
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2652 -404
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -1,14 +1,1381 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export const $HealthCheckResult: {
|
|
2
|
+
readonly type: "object";
|
|
3
|
+
readonly properties: {
|
|
4
|
+
readonly message: {
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
readonly required: readonly ["message"];
|
|
9
|
+
};
|
|
10
|
+
export const $LoginDto: {
|
|
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 const $User: {
|
|
25
|
+
readonly type: "object";
|
|
26
|
+
readonly properties: {
|
|
27
|
+
readonly password: {
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
readonly description: "密码";
|
|
30
|
+
readonly writeOnly: true;
|
|
31
|
+
};
|
|
32
|
+
readonly hasPassword: {
|
|
33
|
+
readonly type: "boolean";
|
|
34
|
+
readonly description: "是否有密码";
|
|
35
|
+
readonly readOnly: true;
|
|
36
|
+
};
|
|
37
|
+
readonly avatar: {
|
|
38
|
+
readonly type: "string";
|
|
39
|
+
readonly description: "头像";
|
|
40
|
+
};
|
|
41
|
+
readonly data: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly description: "额外数据";
|
|
44
|
+
};
|
|
45
|
+
readonly email: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly description: "邮箱";
|
|
48
|
+
};
|
|
49
|
+
readonly name: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly description: "姓名";
|
|
52
|
+
};
|
|
53
|
+
readonly identity: {
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
};
|
|
56
|
+
readonly identityVerifiedAt: {
|
|
57
|
+
readonly format: "date-time";
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
readonly description: "实名认证时间";
|
|
60
|
+
};
|
|
61
|
+
readonly identityVerified: {
|
|
62
|
+
readonly type: "boolean";
|
|
63
|
+
readonly description: "实名认证是否通过";
|
|
64
|
+
};
|
|
65
|
+
readonly intro: {
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
readonly description: "简介";
|
|
68
|
+
};
|
|
69
|
+
readonly language: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly description: "使用语言";
|
|
72
|
+
};
|
|
73
|
+
readonly lastLoginIp: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
readonly description: "最后登录 IP";
|
|
76
|
+
};
|
|
77
|
+
readonly lastSeenAt: {
|
|
78
|
+
readonly format: "date-time";
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
readonly description: "最后活跃时间";
|
|
81
|
+
};
|
|
82
|
+
readonly nickname: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
readonly description: "昵称";
|
|
85
|
+
};
|
|
86
|
+
readonly ns: {
|
|
87
|
+
readonly type: "string";
|
|
88
|
+
readonly description: "所属命名空间";
|
|
89
|
+
};
|
|
90
|
+
readonly phone: {
|
|
91
|
+
readonly type: "string";
|
|
92
|
+
readonly description: "手机号";
|
|
93
|
+
};
|
|
94
|
+
readonly registerIp: {
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
readonly description: "注册 IP";
|
|
97
|
+
};
|
|
98
|
+
readonly registerRegion: {
|
|
99
|
+
readonly type: "string";
|
|
100
|
+
readonly description: "注册地区,存地区编号";
|
|
101
|
+
};
|
|
102
|
+
readonly roles: {
|
|
103
|
+
readonly description: "角色";
|
|
104
|
+
readonly type: "array";
|
|
105
|
+
readonly items: {
|
|
106
|
+
readonly type: "string";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
readonly super: {
|
|
110
|
+
readonly type: "boolean";
|
|
111
|
+
readonly description: "是否超级管理员";
|
|
112
|
+
};
|
|
113
|
+
readonly username: {
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
readonly description: "用户名";
|
|
116
|
+
};
|
|
117
|
+
readonly employeeId: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
readonly description: "员工编号";
|
|
120
|
+
};
|
|
121
|
+
readonly permissions: {
|
|
122
|
+
readonly description: "权限";
|
|
123
|
+
readonly type: "array";
|
|
124
|
+
readonly items: {
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
readonly groups: {
|
|
129
|
+
readonly description: "团队";
|
|
130
|
+
readonly type: "array";
|
|
131
|
+
readonly items: {
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
readonly lastLoginAt: {
|
|
136
|
+
readonly format: "date-time";
|
|
137
|
+
readonly type: "string";
|
|
138
|
+
readonly description: "最后登录时间";
|
|
139
|
+
};
|
|
140
|
+
readonly active: {
|
|
141
|
+
readonly type: "boolean";
|
|
142
|
+
readonly description: "是否启用";
|
|
143
|
+
};
|
|
144
|
+
readonly id: {
|
|
145
|
+
readonly type: "string";
|
|
146
|
+
readonly description: "Entity id";
|
|
147
|
+
};
|
|
148
|
+
readonly createdAt: {
|
|
149
|
+
readonly format: "date-time";
|
|
150
|
+
readonly type: "string";
|
|
151
|
+
readonly description: "Entity created at when";
|
|
152
|
+
};
|
|
153
|
+
readonly updatedAt: {
|
|
154
|
+
readonly format: "date-time";
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
readonly description: "Entity updated at when";
|
|
157
|
+
};
|
|
158
|
+
readonly createdBy: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
readonly description: "Entity created by who";
|
|
161
|
+
};
|
|
162
|
+
readonly updatedBy: {
|
|
163
|
+
readonly type: "string";
|
|
164
|
+
readonly description: "Entity updated by who";
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
readonly required: readonly ["id"];
|
|
168
|
+
};
|
|
169
|
+
export const $SessionWithToken: {
|
|
170
|
+
readonly type: "object";
|
|
171
|
+
readonly properties: {
|
|
172
|
+
readonly acl: {
|
|
173
|
+
readonly type: "object";
|
|
174
|
+
readonly description: "访问控制列表";
|
|
175
|
+
};
|
|
176
|
+
readonly expireAt: {
|
|
177
|
+
readonly format: "date-time";
|
|
178
|
+
readonly type: "string";
|
|
179
|
+
readonly description: "会话过期时间";
|
|
180
|
+
};
|
|
181
|
+
readonly key: {
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
readonly description: "refresh token key";
|
|
184
|
+
};
|
|
185
|
+
readonly user: {
|
|
186
|
+
readonly description: "用户,实际存储 uid";
|
|
187
|
+
readonly allOf: readonly [{
|
|
188
|
+
readonly $ref: "#/components/schemas/User";
|
|
189
|
+
}];
|
|
190
|
+
};
|
|
191
|
+
readonly client: {
|
|
192
|
+
readonly type: "string";
|
|
193
|
+
readonly description: "客户端/设备";
|
|
194
|
+
};
|
|
195
|
+
readonly id: {
|
|
196
|
+
readonly type: "string";
|
|
197
|
+
readonly description: "Entity id";
|
|
198
|
+
};
|
|
199
|
+
readonly createdAt: {
|
|
200
|
+
readonly format: "date-time";
|
|
201
|
+
readonly type: "string";
|
|
202
|
+
readonly description: "Entity created at when";
|
|
203
|
+
};
|
|
204
|
+
readonly updatedAt: {
|
|
205
|
+
readonly format: "date-time";
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly description: "Entity updated at when";
|
|
208
|
+
};
|
|
209
|
+
readonly createdBy: {
|
|
210
|
+
readonly type: "string";
|
|
211
|
+
readonly description: "Entity created by who";
|
|
212
|
+
};
|
|
213
|
+
readonly updatedBy: {
|
|
214
|
+
readonly type: "string";
|
|
215
|
+
readonly description: "Entity updated by who";
|
|
216
|
+
};
|
|
217
|
+
readonly token: {
|
|
218
|
+
readonly type: "string";
|
|
219
|
+
readonly description: "token";
|
|
220
|
+
};
|
|
221
|
+
readonly tokenExpireAt: {
|
|
222
|
+
readonly format: "date-time";
|
|
223
|
+
readonly type: "string";
|
|
224
|
+
readonly description: "token 过期时间";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
readonly required: readonly ["expireAt", "key", "user", "id", "token", "tokenExpireAt"];
|
|
228
|
+
};
|
|
229
|
+
export const $LoginByEmailDto: {
|
|
230
|
+
readonly type: "object";
|
|
231
|
+
readonly properties: {
|
|
232
|
+
readonly email: {
|
|
233
|
+
readonly type: "string";
|
|
234
|
+
readonly description: "邮箱";
|
|
235
|
+
};
|
|
236
|
+
readonly key: {
|
|
237
|
+
readonly type: "string";
|
|
238
|
+
readonly description: "验证码 key";
|
|
239
|
+
};
|
|
240
|
+
readonly code: {
|
|
241
|
+
readonly type: "string";
|
|
242
|
+
readonly description: "验证码 code";
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
readonly required: readonly ["email", "key", "code"];
|
|
246
|
+
};
|
|
247
|
+
export const $LoginByPhoneDto: {
|
|
248
|
+
readonly type: "object";
|
|
249
|
+
readonly properties: {
|
|
250
|
+
readonly phone: {
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
readonly description: "手机号";
|
|
253
|
+
};
|
|
254
|
+
readonly key: {
|
|
255
|
+
readonly type: "string";
|
|
256
|
+
readonly description: "验证码 key";
|
|
257
|
+
};
|
|
258
|
+
readonly code: {
|
|
259
|
+
readonly type: "string";
|
|
260
|
+
readonly description: "验证码 code";
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
readonly required: readonly ["phone", "key", "code"];
|
|
264
|
+
};
|
|
265
|
+
export const $RegisterDto: {
|
|
266
|
+
readonly type: "object";
|
|
267
|
+
readonly properties: {
|
|
268
|
+
readonly username: {
|
|
269
|
+
readonly type: "string";
|
|
270
|
+
readonly description: "用户名";
|
|
271
|
+
};
|
|
272
|
+
readonly password: {
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
readonly description: "密码";
|
|
275
|
+
};
|
|
276
|
+
readonly ns: {
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
readonly description: "命名空间";
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
readonly required: readonly ["username", "password"];
|
|
282
|
+
};
|
|
283
|
+
export const $RegisterbyPhoneDto: {
|
|
284
|
+
readonly type: "object";
|
|
285
|
+
readonly properties: {
|
|
286
|
+
readonly phone: {
|
|
287
|
+
readonly type: "string";
|
|
288
|
+
readonly description: "手机号";
|
|
289
|
+
};
|
|
290
|
+
readonly key: {
|
|
291
|
+
readonly type: "string";
|
|
292
|
+
readonly description: "验证码 key";
|
|
293
|
+
};
|
|
294
|
+
readonly code: {
|
|
295
|
+
readonly type: "string";
|
|
296
|
+
readonly description: "验证码 code";
|
|
297
|
+
};
|
|
298
|
+
readonly ns: {
|
|
299
|
+
readonly type: "string";
|
|
300
|
+
readonly description: "命名空间";
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
readonly required: readonly ["phone", "key", "code"];
|
|
304
|
+
};
|
|
305
|
+
export const $RegisterByEmailDto: {
|
|
306
|
+
readonly type: "object";
|
|
307
|
+
readonly properties: {
|
|
308
|
+
readonly email: {
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
readonly description: "邮箱";
|
|
311
|
+
};
|
|
312
|
+
readonly key: {
|
|
313
|
+
readonly type: "string";
|
|
314
|
+
readonly description: "验证码 key";
|
|
315
|
+
};
|
|
316
|
+
readonly code: {
|
|
317
|
+
readonly type: "string";
|
|
318
|
+
readonly description: "验证码 code";
|
|
319
|
+
};
|
|
320
|
+
readonly ns: {
|
|
321
|
+
readonly type: "string";
|
|
322
|
+
readonly description: "命名空间";
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
readonly required: readonly ["email", "key", "code"];
|
|
326
|
+
};
|
|
327
|
+
export const $SignTokenDto: {
|
|
328
|
+
readonly type: "object";
|
|
329
|
+
readonly properties: {
|
|
330
|
+
readonly expiresIn: {
|
|
331
|
+
readonly type: "string";
|
|
332
|
+
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";
|
|
333
|
+
};
|
|
334
|
+
readonly acl: {
|
|
335
|
+
readonly type: "object";
|
|
336
|
+
readonly description: "访问控制列表";
|
|
337
|
+
};
|
|
338
|
+
readonly uid: {
|
|
339
|
+
readonly type: "string";
|
|
340
|
+
readonly description: "user id";
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
readonly required: readonly ["expiresIn", "uid"];
|
|
344
|
+
};
|
|
345
|
+
export const $Token: {
|
|
346
|
+
readonly type: "object";
|
|
347
|
+
readonly properties: {
|
|
348
|
+
readonly token: {
|
|
349
|
+
readonly type: "string";
|
|
350
|
+
readonly description: "token";
|
|
351
|
+
};
|
|
352
|
+
readonly tokenExpireAt: {
|
|
353
|
+
readonly format: "date-time";
|
|
354
|
+
readonly type: "string";
|
|
355
|
+
readonly description: "token 过期时间";
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
readonly required: readonly ["token", "tokenExpireAt"];
|
|
359
|
+
};
|
|
360
|
+
export const $RefreshTokenDto: {
|
|
361
|
+
readonly type: "object";
|
|
362
|
+
readonly properties: {
|
|
363
|
+
readonly key: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly description: "user id";
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
readonly required: readonly ["key"];
|
|
369
|
+
};
|
|
370
|
+
export const $CreateUserDto: {
|
|
371
|
+
readonly type: "object";
|
|
372
|
+
readonly properties: {
|
|
373
|
+
readonly password: {
|
|
374
|
+
readonly type: "string";
|
|
375
|
+
readonly description: "密码";
|
|
376
|
+
readonly writeOnly: true;
|
|
377
|
+
};
|
|
378
|
+
readonly hasPassword: {
|
|
379
|
+
readonly type: "boolean";
|
|
380
|
+
readonly description: "是否有密码";
|
|
381
|
+
readonly readOnly: true;
|
|
382
|
+
};
|
|
383
|
+
readonly avatar: {
|
|
384
|
+
readonly type: "string";
|
|
385
|
+
readonly description: "头像";
|
|
386
|
+
};
|
|
387
|
+
readonly data: {
|
|
388
|
+
readonly type: "string";
|
|
389
|
+
readonly description: "额外数据";
|
|
390
|
+
};
|
|
391
|
+
readonly email: {
|
|
392
|
+
readonly type: "string";
|
|
393
|
+
readonly description: "邮箱";
|
|
394
|
+
};
|
|
395
|
+
readonly name: {
|
|
396
|
+
readonly type: "string";
|
|
397
|
+
readonly description: "姓名";
|
|
398
|
+
};
|
|
399
|
+
readonly identity: {
|
|
400
|
+
readonly type: "string";
|
|
401
|
+
};
|
|
402
|
+
readonly identityVerifiedAt: {
|
|
403
|
+
readonly format: "date-time";
|
|
404
|
+
readonly type: "string";
|
|
405
|
+
readonly description: "实名认证时间";
|
|
406
|
+
};
|
|
407
|
+
readonly identityVerified: {
|
|
408
|
+
readonly type: "boolean";
|
|
409
|
+
readonly description: "实名认证是否通过";
|
|
410
|
+
};
|
|
411
|
+
readonly intro: {
|
|
412
|
+
readonly type: "string";
|
|
413
|
+
readonly description: "简介";
|
|
414
|
+
};
|
|
415
|
+
readonly language: {
|
|
416
|
+
readonly type: "string";
|
|
417
|
+
readonly description: "使用语言";
|
|
418
|
+
};
|
|
419
|
+
readonly nickname: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
readonly description: "昵称";
|
|
422
|
+
};
|
|
423
|
+
readonly ns: {
|
|
424
|
+
readonly type: "string";
|
|
425
|
+
readonly description: "所属命名空间";
|
|
426
|
+
};
|
|
427
|
+
readonly phone: {
|
|
428
|
+
readonly type: "string";
|
|
429
|
+
readonly description: "手机号";
|
|
430
|
+
};
|
|
431
|
+
readonly registerRegion: {
|
|
432
|
+
readonly type: "string";
|
|
433
|
+
readonly description: "注册地区,存地区编号";
|
|
434
|
+
};
|
|
435
|
+
readonly roles: {
|
|
436
|
+
readonly description: "角色";
|
|
437
|
+
readonly type: "array";
|
|
438
|
+
readonly items: {
|
|
439
|
+
readonly type: "string";
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
readonly super: {
|
|
443
|
+
readonly type: "boolean";
|
|
444
|
+
readonly description: "是否超级管理员";
|
|
445
|
+
};
|
|
446
|
+
readonly username: {
|
|
447
|
+
readonly type: "string";
|
|
448
|
+
readonly description: "用户名";
|
|
449
|
+
};
|
|
450
|
+
readonly employeeId: {
|
|
451
|
+
readonly type: "string";
|
|
452
|
+
readonly description: "员工编号";
|
|
453
|
+
};
|
|
454
|
+
readonly permissions: {
|
|
455
|
+
readonly description: "权限";
|
|
456
|
+
readonly type: "array";
|
|
457
|
+
readonly items: {
|
|
458
|
+
readonly type: "string";
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
readonly groups: {
|
|
462
|
+
readonly description: "团队";
|
|
463
|
+
readonly type: "array";
|
|
464
|
+
readonly items: {
|
|
465
|
+
readonly type: "string";
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
readonly active: {
|
|
469
|
+
readonly type: "boolean";
|
|
470
|
+
readonly description: "是否启用";
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
export const $UpdateUserDto: {
|
|
475
|
+
readonly type: "object";
|
|
476
|
+
readonly properties: {
|
|
477
|
+
readonly hasPassword: {
|
|
478
|
+
readonly type: "boolean";
|
|
479
|
+
readonly description: "是否有密码";
|
|
480
|
+
readonly readOnly: true;
|
|
481
|
+
};
|
|
482
|
+
readonly avatar: {
|
|
483
|
+
readonly type: "string";
|
|
484
|
+
readonly description: "头像";
|
|
485
|
+
};
|
|
486
|
+
readonly data: {
|
|
487
|
+
readonly type: "string";
|
|
488
|
+
readonly description: "额外数据";
|
|
489
|
+
};
|
|
490
|
+
readonly email: {
|
|
491
|
+
readonly type: "string";
|
|
492
|
+
readonly description: "邮箱";
|
|
493
|
+
};
|
|
494
|
+
readonly name: {
|
|
495
|
+
readonly type: "string";
|
|
496
|
+
readonly description: "姓名";
|
|
497
|
+
};
|
|
498
|
+
readonly identity: {
|
|
499
|
+
readonly type: "string";
|
|
500
|
+
};
|
|
501
|
+
readonly identityVerifiedAt: {
|
|
502
|
+
readonly format: "date-time";
|
|
503
|
+
readonly type: "string";
|
|
504
|
+
readonly description: "实名认证时间";
|
|
505
|
+
};
|
|
506
|
+
readonly identityVerified: {
|
|
507
|
+
readonly type: "boolean";
|
|
508
|
+
readonly description: "实名认证是否通过";
|
|
509
|
+
};
|
|
510
|
+
readonly intro: {
|
|
511
|
+
readonly type: "string";
|
|
512
|
+
readonly description: "简介";
|
|
513
|
+
};
|
|
514
|
+
readonly language: {
|
|
515
|
+
readonly type: "string";
|
|
516
|
+
readonly description: "使用语言";
|
|
517
|
+
};
|
|
518
|
+
readonly lastLoginIp: {
|
|
519
|
+
readonly type: "string";
|
|
520
|
+
readonly description: "最后登录 IP";
|
|
521
|
+
};
|
|
522
|
+
readonly lastSeenAt: {
|
|
523
|
+
readonly format: "date-time";
|
|
524
|
+
readonly type: "string";
|
|
525
|
+
readonly description: "最后活跃时间";
|
|
526
|
+
};
|
|
527
|
+
readonly nickname: {
|
|
528
|
+
readonly type: "string";
|
|
529
|
+
readonly description: "昵称";
|
|
530
|
+
};
|
|
531
|
+
readonly ns: {
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
readonly description: "所属命名空间";
|
|
534
|
+
};
|
|
535
|
+
readonly phone: {
|
|
536
|
+
readonly type: "string";
|
|
537
|
+
readonly description: "手机号";
|
|
538
|
+
};
|
|
539
|
+
readonly registerIp: {
|
|
540
|
+
readonly type: "string";
|
|
541
|
+
readonly description: "注册 IP";
|
|
542
|
+
};
|
|
543
|
+
readonly registerRegion: {
|
|
544
|
+
readonly type: "string";
|
|
545
|
+
readonly description: "注册地区,存地区编号";
|
|
546
|
+
};
|
|
547
|
+
readonly roles: {
|
|
548
|
+
readonly description: "角色";
|
|
549
|
+
readonly type: "array";
|
|
550
|
+
readonly items: {
|
|
551
|
+
readonly type: "string";
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
readonly super: {
|
|
555
|
+
readonly type: "boolean";
|
|
556
|
+
readonly description: "是否超级管理员";
|
|
557
|
+
};
|
|
558
|
+
readonly username: {
|
|
559
|
+
readonly type: "string";
|
|
560
|
+
readonly description: "用户名";
|
|
561
|
+
};
|
|
562
|
+
readonly employeeId: {
|
|
563
|
+
readonly type: "string";
|
|
564
|
+
readonly description: "员工编号";
|
|
565
|
+
};
|
|
566
|
+
readonly permissions: {
|
|
567
|
+
readonly description: "权限";
|
|
568
|
+
readonly type: "array";
|
|
569
|
+
readonly items: {
|
|
570
|
+
readonly type: "string";
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
readonly groups: {
|
|
574
|
+
readonly description: "团队";
|
|
575
|
+
readonly type: "array";
|
|
576
|
+
readonly items: {
|
|
577
|
+
readonly type: "string";
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
readonly lastLoginAt: {
|
|
581
|
+
readonly format: "date-time";
|
|
582
|
+
readonly type: "string";
|
|
583
|
+
readonly description: "最后登录时间";
|
|
584
|
+
};
|
|
585
|
+
readonly active: {
|
|
586
|
+
readonly type: "boolean";
|
|
587
|
+
readonly description: "是否启用";
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
export const $ResetPasswordDto: {
|
|
592
|
+
readonly type: "object";
|
|
593
|
+
readonly properties: {
|
|
594
|
+
readonly password: {
|
|
595
|
+
readonly type: "string";
|
|
596
|
+
readonly description: "密码";
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
export const $UpdatePasswordDto: {
|
|
601
|
+
readonly type: "object";
|
|
602
|
+
readonly properties: {
|
|
603
|
+
readonly oldPassword: {
|
|
604
|
+
readonly type: "string";
|
|
605
|
+
readonly description: "旧密码";
|
|
606
|
+
};
|
|
607
|
+
readonly newPassword: {
|
|
608
|
+
readonly type: "string";
|
|
609
|
+
readonly description: "新密码";
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
readonly required: readonly ["newPassword"];
|
|
613
|
+
};
|
|
614
|
+
export const $CreateNamespaceDto: {
|
|
615
|
+
readonly type: "object";
|
|
616
|
+
readonly properties: {
|
|
617
|
+
readonly data: {
|
|
618
|
+
readonly type: "string";
|
|
619
|
+
readonly description: "额外数据";
|
|
620
|
+
};
|
|
621
|
+
readonly desc: {
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
readonly description: "描述";
|
|
624
|
+
};
|
|
625
|
+
readonly labels: {
|
|
626
|
+
readonly description: "标签";
|
|
627
|
+
readonly type: "array";
|
|
628
|
+
readonly items: {
|
|
629
|
+
readonly type: "string";
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
readonly name: {
|
|
633
|
+
readonly type: "string";
|
|
634
|
+
readonly description: "名称";
|
|
635
|
+
};
|
|
636
|
+
readonly key: {
|
|
637
|
+
readonly type: "string";
|
|
638
|
+
readonly description: "命名空间的 key\n\n允许的字符 ^[a-zA-Z][a-zA-Z0-9._/-]{0,30}$";
|
|
639
|
+
};
|
|
640
|
+
readonly ns: {
|
|
641
|
+
readonly type: "string";
|
|
642
|
+
readonly description: "所属的 namespace";
|
|
643
|
+
};
|
|
644
|
+
readonly permissions: {
|
|
645
|
+
readonly description: "权限";
|
|
646
|
+
readonly type: "array";
|
|
647
|
+
readonly items: {
|
|
648
|
+
readonly type: "string";
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
readonly active: {
|
|
652
|
+
readonly type: "boolean";
|
|
653
|
+
readonly description: "是否启用";
|
|
654
|
+
};
|
|
655
|
+
readonly company: {
|
|
656
|
+
readonly type: "string";
|
|
657
|
+
readonly description: "公司";
|
|
658
|
+
};
|
|
659
|
+
readonly defaultPassword: {
|
|
660
|
+
readonly type: "string";
|
|
661
|
+
readonly description: "默认密码";
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
readonly required: readonly ["name", "key"];
|
|
665
|
+
};
|
|
666
|
+
export const $Namespace: {
|
|
667
|
+
readonly type: "object";
|
|
668
|
+
readonly properties: {
|
|
669
|
+
readonly data: {
|
|
670
|
+
readonly type: "string";
|
|
671
|
+
readonly description: "额外数据";
|
|
672
|
+
};
|
|
673
|
+
readonly desc: {
|
|
674
|
+
readonly type: "string";
|
|
675
|
+
readonly description: "描述";
|
|
676
|
+
};
|
|
677
|
+
readonly labels: {
|
|
678
|
+
readonly description: "标签";
|
|
679
|
+
readonly type: "array";
|
|
680
|
+
readonly items: {
|
|
681
|
+
readonly type: "string";
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
readonly name: {
|
|
685
|
+
readonly type: "string";
|
|
686
|
+
readonly description: "名称";
|
|
687
|
+
};
|
|
688
|
+
readonly key: {
|
|
689
|
+
readonly type: "string";
|
|
690
|
+
readonly description: "命名空间的 key\n\n允许的字符 ^[a-zA-Z][a-zA-Z0-9._/-]{0,30}$";
|
|
691
|
+
};
|
|
692
|
+
readonly ns: {
|
|
693
|
+
readonly type: "string";
|
|
694
|
+
readonly description: "所属的 namespace";
|
|
695
|
+
};
|
|
696
|
+
readonly permissions: {
|
|
697
|
+
readonly description: "权限";
|
|
698
|
+
readonly type: "array";
|
|
699
|
+
readonly items: {
|
|
700
|
+
readonly type: "string";
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
readonly active: {
|
|
704
|
+
readonly type: "boolean";
|
|
705
|
+
readonly description: "是否启用";
|
|
706
|
+
};
|
|
707
|
+
readonly company: {
|
|
708
|
+
readonly type: "string";
|
|
709
|
+
readonly description: "公司";
|
|
710
|
+
};
|
|
711
|
+
readonly defaultPassword: {
|
|
712
|
+
readonly type: "string";
|
|
713
|
+
readonly description: "默认密码";
|
|
714
|
+
};
|
|
715
|
+
readonly id: {
|
|
716
|
+
readonly type: "string";
|
|
717
|
+
readonly description: "Entity id";
|
|
718
|
+
};
|
|
719
|
+
readonly createdAt: {
|
|
720
|
+
readonly format: "date-time";
|
|
721
|
+
readonly type: "string";
|
|
722
|
+
readonly description: "Entity created at when";
|
|
723
|
+
};
|
|
724
|
+
readonly updatedAt: {
|
|
725
|
+
readonly format: "date-time";
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
readonly description: "Entity updated at when";
|
|
728
|
+
};
|
|
729
|
+
readonly createdBy: {
|
|
730
|
+
readonly type: "string";
|
|
731
|
+
readonly description: "Entity created by who";
|
|
732
|
+
};
|
|
733
|
+
readonly updatedBy: {
|
|
734
|
+
readonly type: "string";
|
|
735
|
+
readonly description: "Entity updated by who";
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
readonly required: readonly ["name", "key", "id"];
|
|
739
|
+
};
|
|
740
|
+
export const $UpdateNamespaceDto: {
|
|
741
|
+
readonly type: "object";
|
|
742
|
+
readonly properties: {
|
|
743
|
+
readonly data: {
|
|
744
|
+
readonly type: "string";
|
|
745
|
+
readonly description: "额外数据";
|
|
746
|
+
};
|
|
747
|
+
readonly desc: {
|
|
748
|
+
readonly type: "string";
|
|
749
|
+
readonly description: "描述";
|
|
750
|
+
};
|
|
751
|
+
readonly labels: {
|
|
752
|
+
readonly description: "标签";
|
|
753
|
+
readonly type: "array";
|
|
754
|
+
readonly items: {
|
|
755
|
+
readonly type: "string";
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
readonly name: {
|
|
759
|
+
readonly type: "string";
|
|
760
|
+
readonly description: "名称";
|
|
761
|
+
};
|
|
762
|
+
readonly permissions: {
|
|
763
|
+
readonly description: "权限";
|
|
764
|
+
readonly type: "array";
|
|
765
|
+
readonly items: {
|
|
766
|
+
readonly type: "string";
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
readonly active: {
|
|
770
|
+
readonly type: "boolean";
|
|
771
|
+
readonly description: "是否启用";
|
|
772
|
+
};
|
|
773
|
+
readonly company: {
|
|
774
|
+
readonly type: "string";
|
|
775
|
+
readonly description: "公司";
|
|
776
|
+
};
|
|
777
|
+
readonly defaultPassword: {
|
|
778
|
+
readonly type: "string";
|
|
779
|
+
readonly description: "默认密码";
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
export const $CreateSessionDto: {
|
|
784
|
+
readonly type: "object";
|
|
785
|
+
readonly properties: {
|
|
786
|
+
readonly uid: {
|
|
787
|
+
readonly type: "string";
|
|
788
|
+
readonly description: "用户 ID";
|
|
789
|
+
};
|
|
790
|
+
readonly acl: {
|
|
791
|
+
readonly type: "object";
|
|
792
|
+
readonly description: "访问控制列表";
|
|
793
|
+
};
|
|
794
|
+
readonly expireAt: {
|
|
795
|
+
readonly format: "date-time";
|
|
796
|
+
readonly type: "string";
|
|
797
|
+
readonly description: "会话过期时间";
|
|
798
|
+
};
|
|
799
|
+
readonly client: {
|
|
800
|
+
readonly type: "string";
|
|
801
|
+
readonly description: "客户端/设备";
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
readonly required: readonly ["uid", "expireAt"];
|
|
805
|
+
};
|
|
806
|
+
export const $Session: {
|
|
807
|
+
readonly type: "object";
|
|
808
|
+
readonly properties: {
|
|
809
|
+
readonly acl: {
|
|
810
|
+
readonly type: "object";
|
|
811
|
+
readonly description: "访问控制列表";
|
|
812
|
+
};
|
|
813
|
+
readonly expireAt: {
|
|
814
|
+
readonly format: "date-time";
|
|
815
|
+
readonly type: "string";
|
|
816
|
+
readonly description: "会话过期时间";
|
|
817
|
+
};
|
|
818
|
+
readonly key: {
|
|
819
|
+
readonly type: "string";
|
|
820
|
+
readonly description: "refresh token key";
|
|
821
|
+
};
|
|
822
|
+
readonly user: {
|
|
823
|
+
readonly description: "用户,实际存储 uid";
|
|
824
|
+
readonly allOf: readonly [{
|
|
825
|
+
readonly $ref: "#/components/schemas/User";
|
|
826
|
+
}];
|
|
827
|
+
};
|
|
828
|
+
readonly client: {
|
|
829
|
+
readonly type: "string";
|
|
830
|
+
readonly description: "客户端/设备";
|
|
831
|
+
};
|
|
832
|
+
readonly id: {
|
|
833
|
+
readonly type: "string";
|
|
834
|
+
readonly description: "Entity id";
|
|
835
|
+
};
|
|
836
|
+
readonly createdAt: {
|
|
837
|
+
readonly format: "date-time";
|
|
838
|
+
readonly type: "string";
|
|
839
|
+
readonly description: "Entity created at when";
|
|
840
|
+
};
|
|
841
|
+
readonly updatedAt: {
|
|
842
|
+
readonly format: "date-time";
|
|
843
|
+
readonly type: "string";
|
|
844
|
+
readonly description: "Entity updated at when";
|
|
845
|
+
};
|
|
846
|
+
readonly createdBy: {
|
|
847
|
+
readonly type: "string";
|
|
848
|
+
readonly description: "Entity created by who";
|
|
849
|
+
};
|
|
850
|
+
readonly updatedBy: {
|
|
851
|
+
readonly type: "string";
|
|
852
|
+
readonly description: "Entity updated by who";
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
readonly required: readonly ["expireAt", "key", "user", "id"];
|
|
856
|
+
};
|
|
857
|
+
export const $UpdateSessionDto: {
|
|
858
|
+
readonly type: "object";
|
|
859
|
+
readonly properties: {
|
|
860
|
+
readonly acl: {
|
|
861
|
+
readonly type: "object";
|
|
862
|
+
readonly description: "访问控制列表";
|
|
863
|
+
};
|
|
864
|
+
readonly expireAt: {
|
|
865
|
+
readonly format: "date-time";
|
|
866
|
+
readonly type: "string";
|
|
867
|
+
readonly description: "会话过期时间";
|
|
868
|
+
};
|
|
869
|
+
readonly client: {
|
|
870
|
+
readonly type: "string";
|
|
871
|
+
readonly description: "客户端/设备";
|
|
872
|
+
};
|
|
873
|
+
readonly uid: {
|
|
874
|
+
readonly type: "string";
|
|
875
|
+
readonly description: "用户 ID";
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
export const $CreateCaptchaDto: {
|
|
880
|
+
readonly type: "object";
|
|
881
|
+
readonly properties: {
|
|
882
|
+
readonly code: {
|
|
883
|
+
readonly type: "string";
|
|
884
|
+
readonly description: "验证码";
|
|
885
|
+
};
|
|
886
|
+
readonly expireAt: {
|
|
887
|
+
readonly format: "date-time";
|
|
888
|
+
readonly type: "string";
|
|
889
|
+
readonly description: "过期时间";
|
|
890
|
+
};
|
|
891
|
+
readonly key: {
|
|
892
|
+
readonly type: "string";
|
|
893
|
+
readonly description: "key";
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
readonly required: readonly ["key"];
|
|
897
|
+
};
|
|
898
|
+
export const $Captcha: {
|
|
899
|
+
readonly type: "object";
|
|
900
|
+
readonly properties: {
|
|
901
|
+
readonly code: {
|
|
902
|
+
readonly type: "string";
|
|
903
|
+
readonly description: "验证码";
|
|
904
|
+
};
|
|
905
|
+
readonly expireAt: {
|
|
906
|
+
readonly format: "date-time";
|
|
907
|
+
readonly type: "string";
|
|
908
|
+
readonly description: "过期时间";
|
|
909
|
+
};
|
|
910
|
+
readonly key: {
|
|
911
|
+
readonly type: "string";
|
|
912
|
+
readonly description: "key";
|
|
913
|
+
};
|
|
914
|
+
readonly id: {
|
|
915
|
+
readonly type: "string";
|
|
916
|
+
readonly description: "Entity id";
|
|
917
|
+
};
|
|
918
|
+
readonly createdAt: {
|
|
919
|
+
readonly format: "date-time";
|
|
920
|
+
readonly type: "string";
|
|
921
|
+
readonly description: "Entity created at when";
|
|
922
|
+
};
|
|
923
|
+
readonly updatedAt: {
|
|
924
|
+
readonly format: "date-time";
|
|
925
|
+
readonly type: "string";
|
|
926
|
+
readonly description: "Entity updated at when";
|
|
927
|
+
};
|
|
928
|
+
readonly createdBy: {
|
|
929
|
+
readonly type: "string";
|
|
930
|
+
readonly description: "Entity created by who";
|
|
931
|
+
};
|
|
932
|
+
readonly updatedBy: {
|
|
933
|
+
readonly type: "string";
|
|
934
|
+
readonly description: "Entity updated by who";
|
|
935
|
+
};
|
|
936
|
+
};
|
|
937
|
+
readonly required: readonly ["code", "expireAt", "key", "id"];
|
|
938
|
+
};
|
|
939
|
+
export const $UpdateCaptchaDto: {
|
|
940
|
+
readonly type: "object";
|
|
941
|
+
readonly properties: {
|
|
942
|
+
readonly code: {
|
|
943
|
+
readonly type: "string";
|
|
944
|
+
readonly description: "验证码";
|
|
945
|
+
};
|
|
946
|
+
readonly expireAt: {
|
|
947
|
+
readonly format: "date-time";
|
|
948
|
+
readonly type: "string";
|
|
949
|
+
readonly description: "过期时间";
|
|
950
|
+
};
|
|
951
|
+
readonly key: {
|
|
952
|
+
readonly type: "string";
|
|
953
|
+
readonly description: "key";
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
export const $SendEmailDto: {
|
|
958
|
+
readonly type: "object";
|
|
959
|
+
readonly properties: {
|
|
960
|
+
readonly from: {
|
|
961
|
+
readonly type: "string";
|
|
962
|
+
};
|
|
963
|
+
readonly to: {
|
|
964
|
+
readonly type: "string";
|
|
965
|
+
};
|
|
966
|
+
readonly subject: {
|
|
967
|
+
readonly type: "string";
|
|
968
|
+
};
|
|
969
|
+
readonly content: {
|
|
970
|
+
readonly type: "string";
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
readonly required: readonly ["from", "to", "subject", "content"];
|
|
974
|
+
};
|
|
975
|
+
export const $EmailStatus: {
|
|
976
|
+
readonly type: "string";
|
|
977
|
+
readonly description: "发送状态";
|
|
978
|
+
readonly enum: readonly ["pending", "sent"];
|
|
979
|
+
};
|
|
980
|
+
export const $CreateEmailRecordDto: {
|
|
981
|
+
readonly type: "object";
|
|
982
|
+
readonly properties: {
|
|
983
|
+
readonly status: {
|
|
984
|
+
readonly $ref: "#/components/schemas/EmailStatus";
|
|
985
|
+
};
|
|
986
|
+
readonly from: {
|
|
987
|
+
readonly type: "string";
|
|
988
|
+
readonly description: "发件者";
|
|
989
|
+
};
|
|
990
|
+
readonly to: {
|
|
991
|
+
readonly type: "string";
|
|
992
|
+
readonly description: "收件者";
|
|
993
|
+
};
|
|
994
|
+
readonly subject: {
|
|
995
|
+
readonly type: "string";
|
|
996
|
+
readonly description: "主题";
|
|
997
|
+
};
|
|
998
|
+
readonly content: {
|
|
999
|
+
readonly type: "string";
|
|
1000
|
+
readonly description: "内容";
|
|
1001
|
+
};
|
|
1002
|
+
readonly sentAt: {
|
|
1003
|
+
readonly format: "date-time";
|
|
1004
|
+
readonly type: "string";
|
|
1005
|
+
readonly description: "发送时间";
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
readonly required: readonly ["status", "from", "to", "subject", "content"];
|
|
1009
|
+
};
|
|
1010
|
+
export const $EmailRecord: {
|
|
1011
|
+
readonly type: "object";
|
|
1012
|
+
readonly properties: {
|
|
1013
|
+
readonly status: {
|
|
1014
|
+
readonly $ref: "#/components/schemas/EmailStatus";
|
|
1015
|
+
};
|
|
1016
|
+
readonly from: {
|
|
1017
|
+
readonly type: "string";
|
|
1018
|
+
readonly description: "发件者";
|
|
1019
|
+
};
|
|
1020
|
+
readonly to: {
|
|
1021
|
+
readonly type: "string";
|
|
1022
|
+
readonly description: "收件者";
|
|
1023
|
+
};
|
|
1024
|
+
readonly subject: {
|
|
1025
|
+
readonly type: "string";
|
|
1026
|
+
readonly description: "主题";
|
|
1027
|
+
};
|
|
1028
|
+
readonly content: {
|
|
1029
|
+
readonly type: "string";
|
|
1030
|
+
readonly description: "内容";
|
|
1031
|
+
};
|
|
1032
|
+
readonly sentAt: {
|
|
1033
|
+
readonly format: "date-time";
|
|
1034
|
+
readonly type: "string";
|
|
1035
|
+
readonly description: "发送时间";
|
|
1036
|
+
};
|
|
1037
|
+
readonly id: {
|
|
1038
|
+
readonly type: "string";
|
|
1039
|
+
readonly description: "Entity id";
|
|
1040
|
+
};
|
|
1041
|
+
readonly createdAt: {
|
|
1042
|
+
readonly format: "date-time";
|
|
1043
|
+
readonly type: "string";
|
|
1044
|
+
readonly description: "Entity created at when";
|
|
1045
|
+
};
|
|
1046
|
+
readonly updatedAt: {
|
|
1047
|
+
readonly format: "date-time";
|
|
1048
|
+
readonly type: "string";
|
|
1049
|
+
readonly description: "Entity updated at when";
|
|
1050
|
+
};
|
|
1051
|
+
readonly createdBy: {
|
|
1052
|
+
readonly type: "string";
|
|
1053
|
+
readonly description: "Entity created by who";
|
|
1054
|
+
};
|
|
1055
|
+
readonly updatedBy: {
|
|
1056
|
+
readonly type: "string";
|
|
1057
|
+
readonly description: "Entity updated by who";
|
|
1058
|
+
};
|
|
1059
|
+
};
|
|
1060
|
+
readonly required: readonly ["status", "from", "to", "subject", "content", "id"];
|
|
1061
|
+
};
|
|
1062
|
+
export const $UpdateEmailRecordDto: {
|
|
1063
|
+
readonly type: "object";
|
|
1064
|
+
readonly properties: {
|
|
1065
|
+
readonly status: {
|
|
1066
|
+
readonly $ref: "#/components/schemas/EmailStatus";
|
|
1067
|
+
};
|
|
1068
|
+
readonly from: {
|
|
1069
|
+
readonly type: "string";
|
|
1070
|
+
readonly description: "发件者";
|
|
1071
|
+
};
|
|
1072
|
+
readonly to: {
|
|
1073
|
+
readonly type: "string";
|
|
1074
|
+
readonly description: "收件者";
|
|
1075
|
+
};
|
|
1076
|
+
readonly subject: {
|
|
1077
|
+
readonly type: "string";
|
|
1078
|
+
readonly description: "主题";
|
|
1079
|
+
};
|
|
1080
|
+
readonly content: {
|
|
1081
|
+
readonly type: "string";
|
|
1082
|
+
readonly description: "内容";
|
|
1083
|
+
};
|
|
1084
|
+
readonly sentAt: {
|
|
1085
|
+
readonly format: "date-time";
|
|
1086
|
+
readonly type: "string";
|
|
1087
|
+
readonly description: "发送时间";
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
export const $Industry: {
|
|
1092
|
+
readonly type: "object";
|
|
1093
|
+
readonly properties: {
|
|
1094
|
+
readonly code: {
|
|
1095
|
+
readonly type: "string";
|
|
1096
|
+
readonly description: "编码";
|
|
1097
|
+
};
|
|
1098
|
+
readonly name: {
|
|
1099
|
+
readonly type: "string";
|
|
1100
|
+
readonly description: "名称";
|
|
1101
|
+
};
|
|
1102
|
+
readonly children: {
|
|
1103
|
+
readonly description: "子集";
|
|
1104
|
+
readonly type: "array";
|
|
1105
|
+
readonly items: {
|
|
1106
|
+
readonly $ref: "#/components/schemas/Industry";
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
readonly required: readonly ["code", "name", "children"];
|
|
1111
|
+
};
|
|
1112
|
+
export const $CreateGroupDto: {
|
|
1113
|
+
readonly type: "object";
|
|
1114
|
+
readonly properties: {
|
|
1115
|
+
readonly name: {
|
|
1116
|
+
readonly type: "string";
|
|
1117
|
+
readonly description: "名称";
|
|
1118
|
+
};
|
|
1119
|
+
readonly ns: {
|
|
1120
|
+
readonly type: "string";
|
|
1121
|
+
readonly description: "所属命名空间";
|
|
1122
|
+
};
|
|
1123
|
+
readonly permissions: {
|
|
1124
|
+
readonly description: "权限";
|
|
1125
|
+
readonly type: "array";
|
|
1126
|
+
readonly items: {
|
|
1127
|
+
readonly type: "string";
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
readonly active: {
|
|
1131
|
+
readonly type: "boolean";
|
|
1132
|
+
readonly description: "是否启用";
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
readonly required: readonly ["name"];
|
|
1136
|
+
};
|
|
1137
|
+
export const $Group: {
|
|
1138
|
+
readonly type: "object";
|
|
1139
|
+
readonly properties: {
|
|
1140
|
+
readonly name: {
|
|
1141
|
+
readonly type: "string";
|
|
1142
|
+
readonly description: "名称";
|
|
1143
|
+
};
|
|
1144
|
+
readonly ns: {
|
|
1145
|
+
readonly type: "string";
|
|
1146
|
+
readonly description: "所属命名空间";
|
|
1147
|
+
};
|
|
1148
|
+
readonly permissions: {
|
|
1149
|
+
readonly description: "权限";
|
|
1150
|
+
readonly type: "array";
|
|
1151
|
+
readonly items: {
|
|
1152
|
+
readonly type: "string";
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
readonly active: {
|
|
1156
|
+
readonly type: "boolean";
|
|
1157
|
+
readonly description: "是否启用";
|
|
1158
|
+
};
|
|
1159
|
+
readonly id: {
|
|
1160
|
+
readonly type: "string";
|
|
1161
|
+
readonly description: "Entity id";
|
|
1162
|
+
};
|
|
1163
|
+
readonly createdAt: {
|
|
1164
|
+
readonly format: "date-time";
|
|
1165
|
+
readonly type: "string";
|
|
1166
|
+
readonly description: "Entity created at when";
|
|
1167
|
+
};
|
|
1168
|
+
readonly updatedAt: {
|
|
1169
|
+
readonly format: "date-time";
|
|
1170
|
+
readonly type: "string";
|
|
1171
|
+
readonly description: "Entity updated at when";
|
|
1172
|
+
};
|
|
1173
|
+
readonly createdBy: {
|
|
1174
|
+
readonly type: "string";
|
|
1175
|
+
readonly description: "Entity created by who";
|
|
1176
|
+
};
|
|
1177
|
+
readonly updatedBy: {
|
|
1178
|
+
readonly type: "string";
|
|
1179
|
+
readonly description: "Entity updated by who";
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
readonly required: readonly ["name", "id"];
|
|
1183
|
+
};
|
|
1184
|
+
export const $UpdateGroupDto: {
|
|
1185
|
+
readonly type: "object";
|
|
1186
|
+
readonly properties: {
|
|
1187
|
+
readonly name: {
|
|
1188
|
+
readonly type: "string";
|
|
1189
|
+
readonly description: "名称";
|
|
1190
|
+
};
|
|
1191
|
+
readonly ns: {
|
|
1192
|
+
readonly type: "string";
|
|
1193
|
+
readonly description: "所属命名空间";
|
|
1194
|
+
};
|
|
1195
|
+
readonly permissions: {
|
|
1196
|
+
readonly description: "权限";
|
|
1197
|
+
readonly type: "array";
|
|
1198
|
+
readonly items: {
|
|
1199
|
+
readonly type: "string";
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
readonly active: {
|
|
1203
|
+
readonly type: "boolean";
|
|
1204
|
+
readonly description: "是否启用";
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
readonly required: readonly ["name"];
|
|
1208
|
+
};
|
|
1209
|
+
export const $Region: {
|
|
1210
|
+
readonly type: "object";
|
|
1211
|
+
readonly properties: {
|
|
1212
|
+
readonly code: {
|
|
1213
|
+
readonly type: "string";
|
|
1214
|
+
readonly description: "缩写";
|
|
1215
|
+
};
|
|
1216
|
+
readonly nameZh: {
|
|
1217
|
+
readonly type: "string";
|
|
1218
|
+
readonly description: "中文名称";
|
|
1219
|
+
};
|
|
1220
|
+
readonly namePinyin: {
|
|
1221
|
+
readonly type: "string";
|
|
1222
|
+
readonly description: "中文拼音";
|
|
1223
|
+
};
|
|
1224
|
+
readonly nameEn: {
|
|
1225
|
+
readonly type: "string";
|
|
1226
|
+
readonly description: "英文名称";
|
|
1227
|
+
};
|
|
1228
|
+
readonly dialingPrefix: {
|
|
1229
|
+
readonly type: "string";
|
|
1230
|
+
readonly description: "电话前缀";
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
readonly required: readonly ["code", "nameZh", "namePinyin", "nameEn", "dialingPrefix"];
|
|
1234
|
+
};
|
|
1235
|
+
export const $SendSmsDto: {
|
|
1236
|
+
readonly type: "object";
|
|
1237
|
+
readonly properties: {
|
|
1238
|
+
readonly phone: {
|
|
1239
|
+
readonly type: "string";
|
|
1240
|
+
};
|
|
1241
|
+
readonly sign: {
|
|
1242
|
+
readonly type: "string";
|
|
1243
|
+
};
|
|
1244
|
+
readonly template: {
|
|
1245
|
+
readonly type: "string";
|
|
1246
|
+
};
|
|
1247
|
+
readonly params: {
|
|
1248
|
+
readonly type: "object";
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
readonly required: readonly ["phone", "sign", "template"];
|
|
1252
|
+
};
|
|
1253
|
+
export const $SmsStatus: {
|
|
1254
|
+
readonly type: "string";
|
|
1255
|
+
readonly description: "发送状态";
|
|
1256
|
+
readonly enum: readonly ["pending", "sent"];
|
|
1257
|
+
};
|
|
1258
|
+
export const $CreateSmsRecordDto: {
|
|
1259
|
+
readonly type: "object";
|
|
1260
|
+
readonly properties: {
|
|
1261
|
+
readonly status: {
|
|
1262
|
+
readonly $ref: "#/components/schemas/SmsStatus";
|
|
1263
|
+
};
|
|
1264
|
+
readonly phone: {
|
|
1265
|
+
readonly type: "string";
|
|
1266
|
+
readonly description: "手机号";
|
|
1267
|
+
};
|
|
1268
|
+
readonly sign: {
|
|
1269
|
+
readonly type: "string";
|
|
1270
|
+
readonly description: "签名";
|
|
1271
|
+
};
|
|
1272
|
+
readonly template: {
|
|
1273
|
+
readonly type: "string";
|
|
1274
|
+
readonly description: "模板";
|
|
1275
|
+
};
|
|
1276
|
+
readonly params: {
|
|
1277
|
+
readonly type: "string";
|
|
1278
|
+
readonly description: "参数";
|
|
1279
|
+
};
|
|
1280
|
+
readonly sentAt: {
|
|
1281
|
+
readonly format: "date-time";
|
|
1282
|
+
readonly type: "string";
|
|
1283
|
+
readonly description: "发送时间";
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
readonly required: readonly ["status", "phone", "sign", "template"];
|
|
1287
|
+
};
|
|
1288
|
+
export const $SmsRecord: {
|
|
1289
|
+
readonly type: "object";
|
|
1290
|
+
readonly properties: {
|
|
1291
|
+
readonly status: {
|
|
1292
|
+
readonly $ref: "#/components/schemas/SmsStatus";
|
|
1293
|
+
};
|
|
1294
|
+
readonly phone: {
|
|
1295
|
+
readonly type: "string";
|
|
1296
|
+
readonly description: "手机号";
|
|
1297
|
+
};
|
|
1298
|
+
readonly sign: {
|
|
1299
|
+
readonly type: "string";
|
|
1300
|
+
readonly description: "签名";
|
|
1301
|
+
};
|
|
1302
|
+
readonly template: {
|
|
1303
|
+
readonly type: "string";
|
|
1304
|
+
readonly description: "模板";
|
|
1305
|
+
};
|
|
1306
|
+
readonly params: {
|
|
1307
|
+
readonly type: "string";
|
|
1308
|
+
readonly description: "参数";
|
|
1309
|
+
};
|
|
1310
|
+
readonly sentAt: {
|
|
1311
|
+
readonly format: "date-time";
|
|
1312
|
+
readonly type: "string";
|
|
1313
|
+
readonly description: "发送时间";
|
|
1314
|
+
};
|
|
1315
|
+
readonly id: {
|
|
1316
|
+
readonly type: "string";
|
|
1317
|
+
readonly description: "Entity id";
|
|
1318
|
+
};
|
|
1319
|
+
readonly createdAt: {
|
|
1320
|
+
readonly format: "date-time";
|
|
1321
|
+
readonly type: "string";
|
|
1322
|
+
readonly description: "Entity created at when";
|
|
1323
|
+
};
|
|
1324
|
+
readonly updatedAt: {
|
|
1325
|
+
readonly format: "date-time";
|
|
1326
|
+
readonly type: "string";
|
|
1327
|
+
readonly description: "Entity updated at when";
|
|
1328
|
+
};
|
|
1329
|
+
readonly createdBy: {
|
|
1330
|
+
readonly type: "string";
|
|
1331
|
+
readonly description: "Entity created by who";
|
|
1332
|
+
};
|
|
1333
|
+
readonly updatedBy: {
|
|
1334
|
+
readonly type: "string";
|
|
1335
|
+
readonly description: "Entity updated by who";
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
readonly required: readonly ["status", "phone", "sign", "template", "id"];
|
|
1339
|
+
};
|
|
1340
|
+
export const $UpdateSmsRecordDto: {
|
|
1341
|
+
readonly type: "object";
|
|
1342
|
+
readonly properties: {
|
|
1343
|
+
readonly status: {
|
|
1344
|
+
readonly $ref: "#/components/schemas/SmsStatus";
|
|
1345
|
+
};
|
|
1346
|
+
readonly phone: {
|
|
1347
|
+
readonly type: "string";
|
|
1348
|
+
readonly description: "手机号";
|
|
1349
|
+
};
|
|
1350
|
+
readonly sign: {
|
|
1351
|
+
readonly type: "string";
|
|
1352
|
+
readonly description: "签名";
|
|
1353
|
+
};
|
|
1354
|
+
readonly template: {
|
|
1355
|
+
readonly type: "string";
|
|
1356
|
+
readonly description: "模板";
|
|
1357
|
+
};
|
|
1358
|
+
readonly params: {
|
|
1359
|
+
readonly type: "string";
|
|
1360
|
+
readonly description: "参数";
|
|
1361
|
+
};
|
|
1362
|
+
readonly sentAt: {
|
|
1363
|
+
readonly format: "date-time";
|
|
1364
|
+
readonly type: "string";
|
|
1365
|
+
readonly description: "发送时间";
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
};
|
|
1369
|
+
export type HealthCheckResult = {
|
|
3
1370
|
message: string;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
1371
|
+
};
|
|
1372
|
+
export type LoginDto = {
|
|
6
1373
|
login: string;
|
|
7
1374
|
password: string;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
1375
|
+
};
|
|
1376
|
+
export type User = {
|
|
10
1377
|
password?: string;
|
|
11
|
-
hasPassword?: boolean;
|
|
1378
|
+
readonly hasPassword?: boolean;
|
|
12
1379
|
avatar?: string;
|
|
13
1380
|
data?: string;
|
|
14
1381
|
email?: string;
|
|
@@ -25,17 +1392,24 @@ export interface User {
|
|
|
25
1392
|
phone?: string;
|
|
26
1393
|
registerIp?: string;
|
|
27
1394
|
registerRegion?: string;
|
|
28
|
-
roles?: string
|
|
1395
|
+
roles?: Array<string>;
|
|
29
1396
|
super?: boolean;
|
|
30
1397
|
username?: string;
|
|
1398
|
+
employeeId?: string;
|
|
1399
|
+
permissions?: Array<string>;
|
|
1400
|
+
groups?: Array<string>;
|
|
1401
|
+
lastLoginAt?: string;
|
|
1402
|
+
active?: boolean;
|
|
31
1403
|
id: string;
|
|
32
1404
|
createdAt?: string;
|
|
33
1405
|
updatedAt?: string;
|
|
34
1406
|
createdBy?: string;
|
|
35
1407
|
updatedBy?: string;
|
|
36
|
-
}
|
|
37
|
-
export
|
|
38
|
-
acl?:
|
|
1408
|
+
};
|
|
1409
|
+
export type SessionWithToken = {
|
|
1410
|
+
acl?: {
|
|
1411
|
+
[key: string]: unknown;
|
|
1412
|
+
};
|
|
39
1413
|
expireAt: string;
|
|
40
1414
|
key: string;
|
|
41
1415
|
user: User;
|
|
@@ -47,57 +1421,51 @@ export interface SessionWithToken {
|
|
|
47
1421
|
updatedBy?: string;
|
|
48
1422
|
token: string;
|
|
49
1423
|
tokenExpireAt: string;
|
|
50
|
-
}
|
|
51
|
-
export
|
|
52
|
-
interface Acl {
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
export interface LoginByEmailDto {
|
|
1424
|
+
};
|
|
1425
|
+
export type LoginByEmailDto = {
|
|
56
1426
|
email: string;
|
|
57
1427
|
key: string;
|
|
58
1428
|
code: string;
|
|
59
|
-
}
|
|
60
|
-
export
|
|
1429
|
+
};
|
|
1430
|
+
export type LoginByPhoneDto = {
|
|
61
1431
|
phone: string;
|
|
62
1432
|
key: string;
|
|
63
1433
|
code: string;
|
|
64
|
-
}
|
|
65
|
-
export
|
|
1434
|
+
};
|
|
1435
|
+
export type RegisterDto = {
|
|
66
1436
|
username: string;
|
|
67
1437
|
password: string;
|
|
68
1438
|
ns?: string;
|
|
69
|
-
}
|
|
70
|
-
export
|
|
1439
|
+
};
|
|
1440
|
+
export type RegisterbyPhoneDto = {
|
|
71
1441
|
phone: string;
|
|
72
1442
|
key: string;
|
|
73
1443
|
code: string;
|
|
74
1444
|
ns?: string;
|
|
75
|
-
}
|
|
76
|
-
export
|
|
1445
|
+
};
|
|
1446
|
+
export type RegisterByEmailDto = {
|
|
77
1447
|
email: string;
|
|
78
1448
|
key: string;
|
|
79
1449
|
code: string;
|
|
80
1450
|
ns?: string;
|
|
81
|
-
}
|
|
82
|
-
export
|
|
1451
|
+
};
|
|
1452
|
+
export type SignTokenDto = {
|
|
83
1453
|
expiresIn: string;
|
|
84
|
-
acl?:
|
|
1454
|
+
acl?: {
|
|
1455
|
+
[key: string]: unknown;
|
|
1456
|
+
};
|
|
85
1457
|
uid: string;
|
|
86
|
-
}
|
|
87
|
-
export
|
|
88
|
-
interface Acl {
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export interface Token {
|
|
1458
|
+
};
|
|
1459
|
+
export type Token = {
|
|
92
1460
|
token: string;
|
|
93
1461
|
tokenExpireAt: string;
|
|
94
|
-
}
|
|
95
|
-
export
|
|
1462
|
+
};
|
|
1463
|
+
export type RefreshTokenDto = {
|
|
96
1464
|
key: string;
|
|
97
|
-
}
|
|
98
|
-
export
|
|
1465
|
+
};
|
|
1466
|
+
export type CreateUserDto = {
|
|
99
1467
|
password?: string;
|
|
100
|
-
hasPassword?: boolean;
|
|
1468
|
+
readonly hasPassword?: boolean;
|
|
101
1469
|
avatar?: string;
|
|
102
1470
|
data?: string;
|
|
103
1471
|
email?: string;
|
|
@@ -111,12 +1479,16 @@ export interface CreateUserDto {
|
|
|
111
1479
|
ns?: string;
|
|
112
1480
|
phone?: string;
|
|
113
1481
|
registerRegion?: string;
|
|
114
|
-
roles?: string
|
|
1482
|
+
roles?: Array<string>;
|
|
115
1483
|
super?: boolean;
|
|
116
1484
|
username?: string;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
1485
|
+
employeeId?: string;
|
|
1486
|
+
permissions?: Array<string>;
|
|
1487
|
+
groups?: Array<string>;
|
|
1488
|
+
active?: boolean;
|
|
1489
|
+
};
|
|
1490
|
+
export type UpdateUserDto = {
|
|
1491
|
+
readonly hasPassword?: boolean;
|
|
120
1492
|
avatar?: string;
|
|
121
1493
|
data?: string;
|
|
122
1494
|
email?: string;
|
|
@@ -133,56 +1505,73 @@ export interface UpdateUserDto {
|
|
|
133
1505
|
phone?: string;
|
|
134
1506
|
registerIp?: string;
|
|
135
1507
|
registerRegion?: string;
|
|
136
|
-
roles?: string
|
|
1508
|
+
roles?: Array<string>;
|
|
137
1509
|
super?: boolean;
|
|
138
1510
|
username?: string;
|
|
139
|
-
|
|
140
|
-
|
|
1511
|
+
employeeId?: string;
|
|
1512
|
+
permissions?: Array<string>;
|
|
1513
|
+
groups?: Array<string>;
|
|
1514
|
+
lastLoginAt?: string;
|
|
1515
|
+
active?: boolean;
|
|
1516
|
+
};
|
|
1517
|
+
export type ResetPasswordDto = {
|
|
141
1518
|
password?: string;
|
|
142
|
-
}
|
|
143
|
-
export
|
|
1519
|
+
};
|
|
1520
|
+
export type UpdatePasswordDto = {
|
|
144
1521
|
oldPassword?: string;
|
|
145
1522
|
newPassword: string;
|
|
146
|
-
}
|
|
147
|
-
export
|
|
1523
|
+
};
|
|
1524
|
+
export type CreateNamespaceDto = {
|
|
148
1525
|
data?: string;
|
|
149
1526
|
desc?: string;
|
|
150
|
-
labels?: string
|
|
1527
|
+
labels?: Array<string>;
|
|
151
1528
|
name: string;
|
|
152
1529
|
key: string;
|
|
153
1530
|
ns?: string;
|
|
154
|
-
|
|
155
|
-
|
|
1531
|
+
permissions?: Array<string>;
|
|
1532
|
+
active?: boolean;
|
|
1533
|
+
company?: string;
|
|
1534
|
+
defaultPassword?: string;
|
|
1535
|
+
};
|
|
1536
|
+
export type Namespace = {
|
|
156
1537
|
data?: string;
|
|
157
1538
|
desc?: string;
|
|
158
|
-
labels?: string
|
|
1539
|
+
labels?: Array<string>;
|
|
159
1540
|
name: string;
|
|
160
1541
|
key: string;
|
|
161
1542
|
ns?: string;
|
|
1543
|
+
permissions?: Array<string>;
|
|
1544
|
+
active?: boolean;
|
|
1545
|
+
company?: string;
|
|
1546
|
+
defaultPassword?: string;
|
|
162
1547
|
id: string;
|
|
163
1548
|
createdAt?: string;
|
|
164
1549
|
updatedAt?: string;
|
|
165
1550
|
createdBy?: string;
|
|
166
1551
|
updatedBy?: string;
|
|
167
|
-
}
|
|
168
|
-
export
|
|
1552
|
+
};
|
|
1553
|
+
export type UpdateNamespaceDto = {
|
|
169
1554
|
data?: string;
|
|
170
1555
|
desc?: string;
|
|
171
|
-
labels?: string
|
|
1556
|
+
labels?: Array<string>;
|
|
172
1557
|
name?: string;
|
|
173
|
-
|
|
174
|
-
|
|
1558
|
+
permissions?: Array<string>;
|
|
1559
|
+
active?: boolean;
|
|
1560
|
+
company?: string;
|
|
1561
|
+
defaultPassword?: string;
|
|
1562
|
+
};
|
|
1563
|
+
export type CreateSessionDto = {
|
|
175
1564
|
uid: string;
|
|
176
|
-
acl?:
|
|
1565
|
+
acl?: {
|
|
1566
|
+
[key: string]: unknown;
|
|
1567
|
+
};
|
|
177
1568
|
expireAt: string;
|
|
178
1569
|
client?: string;
|
|
179
|
-
}
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
export interface Session {
|
|
185
|
-
acl?: Session.Acl;
|
|
1570
|
+
};
|
|
1571
|
+
export type Session = {
|
|
1572
|
+
acl?: {
|
|
1573
|
+
[key: string]: unknown;
|
|
1574
|
+
};
|
|
186
1575
|
expireAt: string;
|
|
187
1576
|
key: string;
|
|
188
1577
|
user: User;
|
|
@@ -192,27 +1581,21 @@ export interface Session {
|
|
|
192
1581
|
updatedAt?: string;
|
|
193
1582
|
createdBy?: string;
|
|
194
1583
|
updatedBy?: string;
|
|
195
|
-
}
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
export interface UpdateSessionDto {
|
|
201
|
-
acl?: UpdateSessionDto.Acl;
|
|
1584
|
+
};
|
|
1585
|
+
export type UpdateSessionDto = {
|
|
1586
|
+
acl?: {
|
|
1587
|
+
[key: string]: unknown;
|
|
1588
|
+
};
|
|
202
1589
|
expireAt?: string;
|
|
203
1590
|
client?: string;
|
|
204
1591
|
uid?: string;
|
|
205
|
-
}
|
|
206
|
-
export
|
|
207
|
-
interface Acl {
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
export interface CreateCaptchaDto {
|
|
1592
|
+
};
|
|
1593
|
+
export type CreateCaptchaDto = {
|
|
211
1594
|
code?: string;
|
|
212
1595
|
expireAt?: string;
|
|
213
1596
|
key: string;
|
|
214
|
-
}
|
|
215
|
-
export
|
|
1597
|
+
};
|
|
1598
|
+
export type Captcha = {
|
|
216
1599
|
code: string;
|
|
217
1600
|
expireAt: string;
|
|
218
1601
|
key: string;
|
|
@@ -221,32 +1604,28 @@ export interface Captcha {
|
|
|
221
1604
|
updatedAt?: string;
|
|
222
1605
|
createdBy?: string;
|
|
223
1606
|
updatedBy?: string;
|
|
224
|
-
}
|
|
225
|
-
export
|
|
1607
|
+
};
|
|
1608
|
+
export type UpdateCaptchaDto = {
|
|
226
1609
|
code?: string;
|
|
227
1610
|
expireAt?: string;
|
|
228
1611
|
key?: string;
|
|
229
|
-
}
|
|
230
|
-
export
|
|
1612
|
+
};
|
|
1613
|
+
export type SendEmailDto = {
|
|
231
1614
|
from: string;
|
|
232
1615
|
to: string;
|
|
233
1616
|
subject: string;
|
|
234
1617
|
content: string;
|
|
235
|
-
}
|
|
236
|
-
export
|
|
237
|
-
|
|
238
|
-
SENT = "sent"
|
|
239
|
-
}
|
|
240
|
-
export type EmailStatusType = (typeof EmailStatus)[keyof typeof EmailStatus];
|
|
241
|
-
export interface CreateEmailRecordDto {
|
|
1618
|
+
};
|
|
1619
|
+
export type EmailStatus = 'pending' | 'sent';
|
|
1620
|
+
export type CreateEmailRecordDto = {
|
|
242
1621
|
status: EmailStatus;
|
|
243
1622
|
from: string;
|
|
244
1623
|
to: string;
|
|
245
1624
|
subject: string;
|
|
246
1625
|
content: string;
|
|
247
1626
|
sentAt?: string;
|
|
248
|
-
}
|
|
249
|
-
export
|
|
1627
|
+
};
|
|
1628
|
+
export type EmailRecord = {
|
|
250
1629
|
status: EmailStatus;
|
|
251
1630
|
from: string;
|
|
252
1631
|
to: string;
|
|
@@ -258,51 +1637,68 @@ export interface EmailRecord {
|
|
|
258
1637
|
updatedAt?: string;
|
|
259
1638
|
createdBy?: string;
|
|
260
1639
|
updatedBy?: string;
|
|
261
|
-
}
|
|
262
|
-
export
|
|
1640
|
+
};
|
|
1641
|
+
export type UpdateEmailRecordDto = {
|
|
263
1642
|
status?: EmailStatus;
|
|
264
1643
|
from?: string;
|
|
265
1644
|
to?: string;
|
|
266
1645
|
subject?: string;
|
|
267
1646
|
content?: string;
|
|
268
1647
|
sentAt?: string;
|
|
269
|
-
}
|
|
270
|
-
export
|
|
1648
|
+
};
|
|
1649
|
+
export type Industry = {
|
|
271
1650
|
code: string;
|
|
272
1651
|
name: string;
|
|
273
|
-
children: Industry
|
|
274
|
-
}
|
|
275
|
-
export
|
|
1652
|
+
children: Array<Industry>;
|
|
1653
|
+
};
|
|
1654
|
+
export type CreateGroupDto = {
|
|
1655
|
+
name: string;
|
|
1656
|
+
ns?: string;
|
|
1657
|
+
permissions?: Array<string>;
|
|
1658
|
+
active?: boolean;
|
|
1659
|
+
};
|
|
1660
|
+
export type Group = {
|
|
1661
|
+
name: string;
|
|
1662
|
+
ns?: string;
|
|
1663
|
+
permissions?: Array<string>;
|
|
1664
|
+
active?: boolean;
|
|
1665
|
+
id: string;
|
|
1666
|
+
createdAt?: string;
|
|
1667
|
+
updatedAt?: string;
|
|
1668
|
+
createdBy?: string;
|
|
1669
|
+
updatedBy?: string;
|
|
1670
|
+
};
|
|
1671
|
+
export type UpdateGroupDto = {
|
|
1672
|
+
name: string;
|
|
1673
|
+
ns?: string;
|
|
1674
|
+
permissions?: Array<string>;
|
|
1675
|
+
active?: boolean;
|
|
1676
|
+
};
|
|
1677
|
+
export type Region = {
|
|
276
1678
|
code: string;
|
|
277
1679
|
nameZh: string;
|
|
278
1680
|
namePinyin: string;
|
|
279
1681
|
nameEn: string;
|
|
280
1682
|
dialingPrefix: string;
|
|
281
|
-
}
|
|
282
|
-
export
|
|
1683
|
+
};
|
|
1684
|
+
export type SendSmsDto = {
|
|
283
1685
|
phone: string;
|
|
284
1686
|
sign: string;
|
|
285
1687
|
template: string;
|
|
286
|
-
params?:
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
export enum SmsStatus {
|
|
293
|
-
PENDING = "pending",
|
|
294
|
-
SENT = "sent"
|
|
295
|
-
}
|
|
296
|
-
export type SmsStatusType = (typeof SmsStatus)[keyof typeof SmsStatus];
|
|
297
|
-
export interface CreateSmsRecordDto {
|
|
1688
|
+
params?: {
|
|
1689
|
+
[key: string]: unknown;
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
export type SmsStatus = 'pending' | 'sent';
|
|
1693
|
+
export type CreateSmsRecordDto = {
|
|
298
1694
|
status: SmsStatus;
|
|
299
1695
|
phone: string;
|
|
300
1696
|
sign: string;
|
|
301
1697
|
template: string;
|
|
302
1698
|
params?: string;
|
|
303
1699
|
sentAt?: string;
|
|
304
|
-
}
|
|
305
|
-
export
|
|
1700
|
+
};
|
|
1701
|
+
export type SmsRecord = {
|
|
306
1702
|
status: SmsStatus;
|
|
307
1703
|
phone: string;
|
|
308
1704
|
sign: string;
|
|
@@ -314,321 +1710,1173 @@ export interface SmsRecord {
|
|
|
314
1710
|
updatedAt?: string;
|
|
315
1711
|
createdBy?: string;
|
|
316
1712
|
updatedBy?: string;
|
|
317
|
-
}
|
|
318
|
-
export
|
|
1713
|
+
};
|
|
1714
|
+
export type UpdateSmsRecordDto = {
|
|
319
1715
|
status?: SmsStatus;
|
|
320
1716
|
phone?: string;
|
|
321
1717
|
sign?: string;
|
|
322
1718
|
template?: string;
|
|
323
1719
|
params?: string;
|
|
324
1720
|
sentAt?: string;
|
|
325
|
-
}
|
|
326
|
-
export
|
|
327
|
-
|
|
328
|
-
export
|
|
1721
|
+
};
|
|
1722
|
+
export type HelloResponse = HealthCheckResult;
|
|
1723
|
+
export type HelloError = unknown;
|
|
1724
|
+
export type LoginData = {
|
|
329
1725
|
body: LoginDto;
|
|
330
|
-
}
|
|
331
|
-
export
|
|
1726
|
+
};
|
|
1727
|
+
export type LoginResponse = SessionWithToken;
|
|
1728
|
+
export type LoginError = unknown;
|
|
1729
|
+
export type LoginByEmailData = {
|
|
332
1730
|
body: LoginByEmailDto;
|
|
333
|
-
}
|
|
334
|
-
export
|
|
1731
|
+
};
|
|
1732
|
+
export type LoginByEmailResponse = SessionWithToken;
|
|
1733
|
+
export type LoginByEmailError = unknown;
|
|
1734
|
+
export type LoginByPhoneData = {
|
|
335
1735
|
body: LoginByPhoneDto;
|
|
336
|
-
}
|
|
337
|
-
export
|
|
1736
|
+
};
|
|
1737
|
+
export type LoginByPhoneResponse = SessionWithToken;
|
|
1738
|
+
export type LoginByPhoneError = unknown;
|
|
1739
|
+
export type RegisterData = {
|
|
338
1740
|
body: RegisterDto;
|
|
339
|
-
}
|
|
340
|
-
export
|
|
1741
|
+
};
|
|
1742
|
+
export type RegisterResponse = User | {
|
|
1743
|
+
[key: string]: unknown;
|
|
1744
|
+
};
|
|
1745
|
+
export type RegisterError = unknown;
|
|
1746
|
+
export type RegisterByPhoneData = {
|
|
341
1747
|
body: RegisterbyPhoneDto;
|
|
342
|
-
}
|
|
343
|
-
export
|
|
1748
|
+
};
|
|
1749
|
+
export type RegisterByPhoneResponse = User | {
|
|
1750
|
+
[key: string]: unknown;
|
|
1751
|
+
};
|
|
1752
|
+
export type RegisterByPhoneError = unknown;
|
|
1753
|
+
export type RegisterByEmailData = {
|
|
344
1754
|
body: RegisterByEmailDto;
|
|
345
|
-
}
|
|
346
|
-
export
|
|
1755
|
+
};
|
|
1756
|
+
export type RegisterByEmailResponse = User | {
|
|
1757
|
+
[key: string]: unknown;
|
|
1758
|
+
};
|
|
1759
|
+
export type RegisterByEmailError = unknown;
|
|
1760
|
+
export type SignTokenData = {
|
|
347
1761
|
body: SignTokenDto;
|
|
348
|
-
}
|
|
349
|
-
export
|
|
1762
|
+
};
|
|
1763
|
+
export type SignTokenResponse = Token;
|
|
1764
|
+
export type SignTokenError = unknown;
|
|
1765
|
+
export type RefreshData = {
|
|
350
1766
|
body: RefreshTokenDto;
|
|
351
|
-
}
|
|
352
|
-
export
|
|
1767
|
+
};
|
|
1768
|
+
export type RefreshResponse = SessionWithToken | Token;
|
|
1769
|
+
export type RefreshError = unknown;
|
|
1770
|
+
export type CreateUserData = {
|
|
353
1771
|
body: CreateUserDto;
|
|
354
|
-
}
|
|
355
|
-
export
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
export
|
|
384
|
-
|
|
1772
|
+
};
|
|
1773
|
+
export type CreateUserResponse = User;
|
|
1774
|
+
export type CreateUserError = unknown;
|
|
1775
|
+
export type ListUsersData = {
|
|
1776
|
+
query?: {
|
|
1777
|
+
_limit?: number;
|
|
1778
|
+
_offset?: number;
|
|
1779
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
1780
|
+
email?: string;
|
|
1781
|
+
id?: Array<string>;
|
|
1782
|
+
name_like?: string;
|
|
1783
|
+
nickname_like?: string;
|
|
1784
|
+
ns?: Array<string>;
|
|
1785
|
+
ns_start?: Array<string>;
|
|
1786
|
+
phone?: string;
|
|
1787
|
+
registerRegion?: string;
|
|
1788
|
+
roles?: Array<string>;
|
|
1789
|
+
username?: string;
|
|
1790
|
+
username_like?: string;
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
export type ListUsersResponse = Array<User>;
|
|
1794
|
+
export type ListUsersError = unknown;
|
|
1795
|
+
export type GetUserData = {
|
|
1796
|
+
path: {
|
|
1797
|
+
userId: string;
|
|
1798
|
+
};
|
|
1799
|
+
};
|
|
1800
|
+
export type GetUserResponse = User;
|
|
1801
|
+
export type GetUserError = unknown;
|
|
1802
|
+
export type UpdateUserData = {
|
|
385
1803
|
body: UpdateUserDto;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
}
|
|
390
|
-
export
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
1804
|
+
path: {
|
|
1805
|
+
userId: string;
|
|
1806
|
+
};
|
|
1807
|
+
};
|
|
1808
|
+
export type UpdateUserResponse = User;
|
|
1809
|
+
export type UpdateUserError = unknown;
|
|
1810
|
+
export type DeleteUserData = {
|
|
1811
|
+
path: {
|
|
1812
|
+
userId: string;
|
|
1813
|
+
};
|
|
1814
|
+
};
|
|
1815
|
+
export type DeleteUserResponse = void;
|
|
1816
|
+
export type DeleteUserError = unknown;
|
|
1817
|
+
export type VerifyIdentityData = {
|
|
1818
|
+
path: {
|
|
1819
|
+
userId: string;
|
|
1820
|
+
};
|
|
1821
|
+
};
|
|
1822
|
+
export type VerifyIdentityResponse = User;
|
|
1823
|
+
export type VerifyIdentityError = unknown;
|
|
1824
|
+
export type ResetPasswordData = {
|
|
395
1825
|
body: ResetPasswordDto;
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
1826
|
+
path: {
|
|
1827
|
+
userId: string;
|
|
1828
|
+
};
|
|
1829
|
+
};
|
|
1830
|
+
export type ResetPasswordResponse = void;
|
|
1831
|
+
export type ResetPasswordError = unknown;
|
|
1832
|
+
export type UpdatePasswordData = {
|
|
399
1833
|
body: UpdatePasswordDto;
|
|
400
|
-
|
|
401
|
-
|
|
1834
|
+
path: {
|
|
1835
|
+
userId: string;
|
|
1836
|
+
};
|
|
1837
|
+
};
|
|
1838
|
+
export type UpdatePasswordResponse = void;
|
|
1839
|
+
export type UpdatePasswordError = unknown;
|
|
1840
|
+
export type CreateNamespaceData = {
|
|
402
1841
|
body: CreateNamespaceDto;
|
|
403
|
-
}
|
|
404
|
-
export
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
export
|
|
428
|
-
namespaceIdOrKey: string;
|
|
429
|
-
}
|
|
430
|
-
export interface UpdateNamespaceRequest {
|
|
431
|
-
namespaceId: string;
|
|
1842
|
+
};
|
|
1843
|
+
export type CreateNamespaceResponse = Namespace;
|
|
1844
|
+
export type CreateNamespaceError = unknown;
|
|
1845
|
+
export type ListNamespacesData = {
|
|
1846
|
+
query?: {
|
|
1847
|
+
_limit?: number;
|
|
1848
|
+
_offset?: number;
|
|
1849
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'key' | '-key' | 'name' | '-name';
|
|
1850
|
+
key?: string;
|
|
1851
|
+
labels?: Array<string>;
|
|
1852
|
+
name_like?: string;
|
|
1853
|
+
ns?: Array<string>;
|
|
1854
|
+
ns_start?: Array<string>;
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
1857
|
+
export type ListNamespacesResponse = Array<Namespace>;
|
|
1858
|
+
export type ListNamespacesError = unknown;
|
|
1859
|
+
export type GetNamespaceData = {
|
|
1860
|
+
path: {
|
|
1861
|
+
namespaceIdOrKey: string;
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
export type GetNamespaceResponse = Namespace;
|
|
1865
|
+
export type GetNamespaceError = unknown;
|
|
1866
|
+
export type UpdateNamespaceData = {
|
|
432
1867
|
body: UpdateNamespaceDto;
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}
|
|
437
|
-
export
|
|
1868
|
+
path: {
|
|
1869
|
+
namespaceId: string;
|
|
1870
|
+
};
|
|
1871
|
+
};
|
|
1872
|
+
export type UpdateNamespaceResponse = Namespace;
|
|
1873
|
+
export type UpdateNamespaceError = unknown;
|
|
1874
|
+
export type DeleteNamespaceData = {
|
|
1875
|
+
path: {
|
|
1876
|
+
namespaceId: string;
|
|
1877
|
+
};
|
|
1878
|
+
};
|
|
1879
|
+
export type DeleteNamespaceResponse = void;
|
|
1880
|
+
export type DeleteNamespaceError = unknown;
|
|
1881
|
+
export type CreateSessionData = {
|
|
438
1882
|
body: CreateSessionDto;
|
|
439
|
-
}
|
|
440
|
-
export
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
}
|
|
459
|
-
export
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
export interface UpdateSessionRequest {
|
|
463
|
-
sessionId: string;
|
|
1883
|
+
};
|
|
1884
|
+
export type CreateSessionResponse = Session;
|
|
1885
|
+
export type CreateSessionError = unknown;
|
|
1886
|
+
export type ListSessionsData = {
|
|
1887
|
+
query?: {
|
|
1888
|
+
_limit?: number;
|
|
1889
|
+
_offset?: number;
|
|
1890
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'expireAt' | '-expireAt';
|
|
1891
|
+
client?: string;
|
|
1892
|
+
key?: string;
|
|
1893
|
+
uid?: string;
|
|
1894
|
+
};
|
|
1895
|
+
};
|
|
1896
|
+
export type ListSessionsResponse = Array<Session>;
|
|
1897
|
+
export type ListSessionsError = unknown;
|
|
1898
|
+
export type GetSessionData = {
|
|
1899
|
+
path: {
|
|
1900
|
+
sessionId: string;
|
|
1901
|
+
};
|
|
1902
|
+
};
|
|
1903
|
+
export type GetSessionResponse = Session;
|
|
1904
|
+
export type GetSessionError = unknown;
|
|
1905
|
+
export type UpdateSessionData = {
|
|
464
1906
|
body: UpdateSessionDto;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
export
|
|
1907
|
+
path: {
|
|
1908
|
+
sessionId: string;
|
|
1909
|
+
};
|
|
1910
|
+
};
|
|
1911
|
+
export type UpdateSessionResponse = Session;
|
|
1912
|
+
export type UpdateSessionError = unknown;
|
|
1913
|
+
export type DeleteSessionData = {
|
|
1914
|
+
path: {
|
|
1915
|
+
sessionId: string;
|
|
1916
|
+
};
|
|
1917
|
+
};
|
|
1918
|
+
export type DeleteSessionResponse = void;
|
|
1919
|
+
export type DeleteSessionError = unknown;
|
|
1920
|
+
export type CreateCaptchaData = {
|
|
470
1921
|
body: CreateCaptchaDto;
|
|
471
|
-
}
|
|
472
|
-
export
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
}
|
|
490
|
-
export
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
export interface UpdateCaptchaRequest {
|
|
494
|
-
captchaId: string;
|
|
1922
|
+
};
|
|
1923
|
+
export type CreateCaptchaResponse = Captcha;
|
|
1924
|
+
export type CreateCaptchaError = unknown;
|
|
1925
|
+
export type ListCaptchasData = {
|
|
1926
|
+
query?: {
|
|
1927
|
+
_limit?: number;
|
|
1928
|
+
_offset?: number;
|
|
1929
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'expireAt' | '-expireAt';
|
|
1930
|
+
code?: string;
|
|
1931
|
+
key?: string;
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1934
|
+
export type ListCaptchasResponse = Array<Captcha>;
|
|
1935
|
+
export type ListCaptchasError = unknown;
|
|
1936
|
+
export type GetCaptchaData = {
|
|
1937
|
+
path: {
|
|
1938
|
+
captchaId: string;
|
|
1939
|
+
};
|
|
1940
|
+
};
|
|
1941
|
+
export type GetCaptchaResponse = Captcha;
|
|
1942
|
+
export type GetCaptchaError = unknown;
|
|
1943
|
+
export type UpdateCaptchaData = {
|
|
495
1944
|
body: UpdateCaptchaDto;
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}
|
|
500
|
-
export
|
|
1945
|
+
path: {
|
|
1946
|
+
captchaId: string;
|
|
1947
|
+
};
|
|
1948
|
+
};
|
|
1949
|
+
export type UpdateCaptchaResponse = Captcha;
|
|
1950
|
+
export type UpdateCaptchaError = unknown;
|
|
1951
|
+
export type DeleteCaptchaData = {
|
|
1952
|
+
path: {
|
|
1953
|
+
captchaId: string;
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
export type DeleteCaptchaResponse = void;
|
|
1957
|
+
export type DeleteCaptchaError = unknown;
|
|
1958
|
+
export type SendEmailData = {
|
|
501
1959
|
body: SendEmailDto;
|
|
502
|
-
}
|
|
503
|
-
export
|
|
1960
|
+
};
|
|
1961
|
+
export type SendEmailResponse = void;
|
|
1962
|
+
export type SendEmailError = unknown;
|
|
1963
|
+
export type CreateEmailRecordData = {
|
|
504
1964
|
body: CreateEmailRecordDto;
|
|
505
|
-
}
|
|
506
|
-
export
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
}
|
|
529
|
-
export
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
export interface UpdateEmailRecordRequest {
|
|
533
|
-
emailRecordId: string;
|
|
1965
|
+
};
|
|
1966
|
+
export type CreateEmailRecordResponse = EmailRecord;
|
|
1967
|
+
export type CreateEmailRecordError = unknown;
|
|
1968
|
+
export type ListEmailRecordsData = {
|
|
1969
|
+
query?: {
|
|
1970
|
+
_limit?: number;
|
|
1971
|
+
_offset?: number;
|
|
1972
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'sentAt' | '-sentAt';
|
|
1973
|
+
createdAt_gt?: string;
|
|
1974
|
+
createdAt_lt?: string;
|
|
1975
|
+
from?: string;
|
|
1976
|
+
sentAt_gt?: string;
|
|
1977
|
+
sentAt_lt?: string;
|
|
1978
|
+
status?: EmailStatus;
|
|
1979
|
+
to?: string;
|
|
1980
|
+
};
|
|
1981
|
+
};
|
|
1982
|
+
export type ListEmailRecordsResponse = Array<EmailRecord>;
|
|
1983
|
+
export type ListEmailRecordsError = unknown;
|
|
1984
|
+
export type GetEmailRecordData = {
|
|
1985
|
+
path: {
|
|
1986
|
+
emailRecordId: string;
|
|
1987
|
+
};
|
|
1988
|
+
};
|
|
1989
|
+
export type GetEmailRecordResponse = EmailRecord;
|
|
1990
|
+
export type GetEmailRecordError = unknown;
|
|
1991
|
+
export type UpdateEmailRecordData = {
|
|
534
1992
|
body: UpdateEmailRecordDto;
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
}
|
|
539
|
-
export
|
|
540
|
-
|
|
541
|
-
export
|
|
542
|
-
|
|
543
|
-
|
|
1993
|
+
path: {
|
|
1994
|
+
emailRecordId: string;
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1997
|
+
export type UpdateEmailRecordResponse = EmailRecord;
|
|
1998
|
+
export type UpdateEmailRecordError = unknown;
|
|
1999
|
+
export type DeleteEmailRecordData = {
|
|
2000
|
+
path: {
|
|
2001
|
+
emailRecordId: string;
|
|
2002
|
+
};
|
|
2003
|
+
};
|
|
2004
|
+
export type DeleteEmailRecordResponse = void;
|
|
2005
|
+
export type DeleteEmailRecordError = unknown;
|
|
2006
|
+
export type ListIndustriesResponse = Array<Industry>;
|
|
2007
|
+
export type ListIndustriesError = unknown;
|
|
2008
|
+
export type CreateGroupData = {
|
|
2009
|
+
body: CreateGroupDto;
|
|
2010
|
+
};
|
|
2011
|
+
export type CreateGroupResponse = Group;
|
|
2012
|
+
export type CreateGroupError = unknown;
|
|
2013
|
+
export type ListGroupsData = {
|
|
2014
|
+
query?: {
|
|
2015
|
+
_limit?: number;
|
|
2016
|
+
_offset?: number;
|
|
2017
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
2018
|
+
name?: string;
|
|
2019
|
+
name_like?: string;
|
|
2020
|
+
ns?: Array<string>;
|
|
2021
|
+
ns_start?: Array<string>;
|
|
2022
|
+
};
|
|
2023
|
+
};
|
|
2024
|
+
export type ListGroupsResponse = Array<Group>;
|
|
2025
|
+
export type ListGroupsError = unknown;
|
|
2026
|
+
export type GetGroupData = {
|
|
2027
|
+
path: {
|
|
2028
|
+
groupIdOrName: string;
|
|
2029
|
+
};
|
|
2030
|
+
};
|
|
2031
|
+
export type GetGroupResponse = Group;
|
|
2032
|
+
export type GetGroupError = unknown;
|
|
2033
|
+
export type UpdateGroupData = {
|
|
2034
|
+
body: UpdateGroupDto;
|
|
2035
|
+
path: {
|
|
2036
|
+
groupId: string;
|
|
2037
|
+
};
|
|
2038
|
+
};
|
|
2039
|
+
export type UpdateGroupResponse = Group;
|
|
2040
|
+
export type UpdateGroupError = unknown;
|
|
2041
|
+
export type DeleteGroupData = {
|
|
2042
|
+
path: {
|
|
2043
|
+
groupId: string;
|
|
2044
|
+
};
|
|
2045
|
+
};
|
|
2046
|
+
export type DeleteGroupResponse = void;
|
|
2047
|
+
export type DeleteGroupError = unknown;
|
|
2048
|
+
export type ListRegionsResponse = Array<Region>;
|
|
2049
|
+
export type ListRegionsError = unknown;
|
|
2050
|
+
export type SendSmsData = {
|
|
544
2051
|
body: SendSmsDto;
|
|
545
|
-
}
|
|
546
|
-
export
|
|
2052
|
+
};
|
|
2053
|
+
export type SendSmsResponse = void;
|
|
2054
|
+
export type SendSmsError = unknown;
|
|
2055
|
+
export type CreateSmsRecordData = {
|
|
547
2056
|
body: CreateSmsRecordDto;
|
|
548
|
-
}
|
|
549
|
-
export
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
}
|
|
572
|
-
export
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
export interface UpdateSmsRecordRequest {
|
|
576
|
-
smsRecordId: string;
|
|
2057
|
+
};
|
|
2058
|
+
export type CreateSmsRecordResponse = SmsRecord;
|
|
2059
|
+
export type CreateSmsRecordError = unknown;
|
|
2060
|
+
export type ListSmsRecordsData = {
|
|
2061
|
+
query?: {
|
|
2062
|
+
_limit?: number;
|
|
2063
|
+
_offset?: number;
|
|
2064
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'sentAt' | '-sentAt';
|
|
2065
|
+
createdAt_gt?: string;
|
|
2066
|
+
createdAt_lt?: string;
|
|
2067
|
+
phone?: string;
|
|
2068
|
+
sentAt_gt?: string;
|
|
2069
|
+
sentAt_lt?: string;
|
|
2070
|
+
sign?: string;
|
|
2071
|
+
status?: SmsStatus;
|
|
2072
|
+
};
|
|
2073
|
+
};
|
|
2074
|
+
export type ListSmsRecordsResponse = Array<SmsRecord>;
|
|
2075
|
+
export type ListSmsRecordsError = unknown;
|
|
2076
|
+
export type GetSmsRecordData = {
|
|
2077
|
+
path: {
|
|
2078
|
+
smsRecordId: string;
|
|
2079
|
+
};
|
|
2080
|
+
};
|
|
2081
|
+
export type GetSmsRecordResponse = SmsRecord;
|
|
2082
|
+
export type GetSmsRecordError = unknown;
|
|
2083
|
+
export type UpdateSmsRecordData = {
|
|
577
2084
|
body: UpdateSmsRecordDto;
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
}
|
|
582
|
-
export
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
2085
|
+
path: {
|
|
2086
|
+
smsRecordId: string;
|
|
2087
|
+
};
|
|
2088
|
+
};
|
|
2089
|
+
export type UpdateSmsRecordResponse = SmsRecord;
|
|
2090
|
+
export type UpdateSmsRecordError = unknown;
|
|
2091
|
+
export type DeleteSmsRecordData = {
|
|
2092
|
+
path: {
|
|
2093
|
+
smsRecordId: string;
|
|
2094
|
+
};
|
|
2095
|
+
};
|
|
2096
|
+
export type DeleteSmsRecordResponse = void;
|
|
2097
|
+
export type DeleteSmsRecordError = unknown;
|
|
2098
|
+
export const client: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2099
|
+
export const hello: <ThrowOnError extends boolean = false>(options?: {
|
|
2100
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2101
|
+
cache?: RequestCache;
|
|
2102
|
+
credentials?: RequestCredentials;
|
|
2103
|
+
integrity?: string;
|
|
2104
|
+
keepalive?: boolean;
|
|
2105
|
+
mode?: RequestMode;
|
|
2106
|
+
redirect?: RequestRedirect;
|
|
2107
|
+
referrer?: string;
|
|
2108
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2109
|
+
signal?: AbortSignal;
|
|
2110
|
+
window?: null;
|
|
2111
|
+
path?: Record<string, unknown>;
|
|
2112
|
+
query?: Record<string, unknown>;
|
|
2113
|
+
baseUrl?: string;
|
|
2114
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2115
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2116
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2117
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2118
|
+
throwOnError?: ThrowOnError;
|
|
2119
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2120
|
+
}) => import("@hey-api/client-fetch").RequestResult<import("types.gen").HealthCheckResult, unknown, ThrowOnError>;
|
|
2121
|
+
export const login: <ThrowOnError extends boolean = false>(options: {
|
|
2122
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2123
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2124
|
+
cache?: RequestCache;
|
|
2125
|
+
credentials?: RequestCredentials;
|
|
2126
|
+
integrity?: string;
|
|
2127
|
+
keepalive?: boolean;
|
|
2128
|
+
mode?: RequestMode;
|
|
2129
|
+
redirect?: RequestRedirect;
|
|
2130
|
+
referrer?: string;
|
|
2131
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2132
|
+
signal?: AbortSignal;
|
|
2133
|
+
window?: null;
|
|
2134
|
+
path?: Record<string, unknown>;
|
|
2135
|
+
query?: Record<string, unknown>;
|
|
2136
|
+
baseUrl?: string;
|
|
2137
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2138
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2139
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2140
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2141
|
+
throwOnError?: ThrowOnError;
|
|
2142
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2143
|
+
} & LoginData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2144
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2145
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SessionWithToken, unknown, ThrowOnError>;
|
|
2146
|
+
export const loginByEmail: <ThrowOnError extends boolean = false>(options: {
|
|
2147
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2148
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2149
|
+
cache?: RequestCache;
|
|
2150
|
+
credentials?: RequestCredentials;
|
|
2151
|
+
integrity?: string;
|
|
2152
|
+
keepalive?: boolean;
|
|
2153
|
+
mode?: RequestMode;
|
|
2154
|
+
redirect?: RequestRedirect;
|
|
2155
|
+
referrer?: string;
|
|
2156
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2157
|
+
signal?: AbortSignal;
|
|
2158
|
+
window?: null;
|
|
2159
|
+
path?: Record<string, unknown>;
|
|
2160
|
+
query?: Record<string, unknown>;
|
|
2161
|
+
baseUrl?: string;
|
|
2162
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2163
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2164
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2165
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2166
|
+
throwOnError?: ThrowOnError;
|
|
2167
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2168
|
+
} & LoginByEmailData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2169
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2170
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SessionWithToken, unknown, ThrowOnError>;
|
|
2171
|
+
export const loginByPhone: <ThrowOnError extends boolean = false>(options: {
|
|
2172
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2173
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2174
|
+
cache?: RequestCache;
|
|
2175
|
+
credentials?: RequestCredentials;
|
|
2176
|
+
integrity?: string;
|
|
2177
|
+
keepalive?: boolean;
|
|
2178
|
+
mode?: RequestMode;
|
|
2179
|
+
redirect?: RequestRedirect;
|
|
2180
|
+
referrer?: string;
|
|
2181
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2182
|
+
signal?: AbortSignal;
|
|
2183
|
+
window?: null;
|
|
2184
|
+
path?: Record<string, unknown>;
|
|
2185
|
+
query?: Record<string, unknown>;
|
|
2186
|
+
baseUrl?: string;
|
|
2187
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2188
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2189
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2190
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2191
|
+
throwOnError?: ThrowOnError;
|
|
2192
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2193
|
+
} & LoginByPhoneData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2194
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2195
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SessionWithToken, unknown, ThrowOnError>;
|
|
2196
|
+
export const register: <ThrowOnError extends boolean = false>(options: {
|
|
2197
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2198
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2199
|
+
cache?: RequestCache;
|
|
2200
|
+
credentials?: RequestCredentials;
|
|
2201
|
+
integrity?: string;
|
|
2202
|
+
keepalive?: boolean;
|
|
2203
|
+
mode?: RequestMode;
|
|
2204
|
+
redirect?: RequestRedirect;
|
|
2205
|
+
referrer?: string;
|
|
2206
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2207
|
+
signal?: AbortSignal;
|
|
2208
|
+
window?: null;
|
|
2209
|
+
path?: Record<string, unknown>;
|
|
2210
|
+
query?: Record<string, unknown>;
|
|
2211
|
+
baseUrl?: string;
|
|
2212
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2213
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2214
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2215
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2216
|
+
throwOnError?: ThrowOnError;
|
|
2217
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2218
|
+
} & RegisterData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2219
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2220
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RegisterResponse, unknown, ThrowOnError>;
|
|
2221
|
+
export const registerByPhone: <ThrowOnError extends boolean = false>(options: {
|
|
2222
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2223
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2224
|
+
cache?: RequestCache;
|
|
2225
|
+
credentials?: RequestCredentials;
|
|
2226
|
+
integrity?: string;
|
|
2227
|
+
keepalive?: boolean;
|
|
2228
|
+
mode?: RequestMode;
|
|
2229
|
+
redirect?: RequestRedirect;
|
|
2230
|
+
referrer?: string;
|
|
2231
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2232
|
+
signal?: AbortSignal;
|
|
2233
|
+
window?: null;
|
|
2234
|
+
path?: Record<string, unknown>;
|
|
2235
|
+
query?: Record<string, unknown>;
|
|
2236
|
+
baseUrl?: string;
|
|
2237
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2238
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2239
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2240
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2241
|
+
throwOnError?: ThrowOnError;
|
|
2242
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2243
|
+
} & RegisterByPhoneData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2244
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2245
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RegisterByPhoneResponse, unknown, ThrowOnError>;
|
|
2246
|
+
export const registerByEmail: <ThrowOnError extends boolean = false>(options: {
|
|
2247
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2248
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2249
|
+
cache?: RequestCache;
|
|
2250
|
+
credentials?: RequestCredentials;
|
|
2251
|
+
integrity?: string;
|
|
2252
|
+
keepalive?: boolean;
|
|
2253
|
+
mode?: RequestMode;
|
|
2254
|
+
redirect?: RequestRedirect;
|
|
2255
|
+
referrer?: string;
|
|
2256
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2257
|
+
signal?: AbortSignal;
|
|
2258
|
+
window?: null;
|
|
2259
|
+
path?: Record<string, unknown>;
|
|
2260
|
+
query?: Record<string, unknown>;
|
|
2261
|
+
baseUrl?: string;
|
|
2262
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2263
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2264
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2265
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2266
|
+
throwOnError?: ThrowOnError;
|
|
2267
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2268
|
+
} & RegisterByEmailData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2269
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2270
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RegisterByEmailResponse, unknown, ThrowOnError>;
|
|
2271
|
+
export const signToken: <ThrowOnError extends boolean = false>(options: {
|
|
2272
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2273
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2274
|
+
cache?: RequestCache;
|
|
2275
|
+
credentials?: RequestCredentials;
|
|
2276
|
+
integrity?: string;
|
|
2277
|
+
keepalive?: boolean;
|
|
2278
|
+
mode?: RequestMode;
|
|
2279
|
+
redirect?: RequestRedirect;
|
|
2280
|
+
referrer?: string;
|
|
2281
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2282
|
+
signal?: AbortSignal;
|
|
2283
|
+
window?: null;
|
|
2284
|
+
path?: Record<string, unknown>;
|
|
2285
|
+
query?: Record<string, unknown>;
|
|
2286
|
+
baseUrl?: string;
|
|
2287
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2288
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2289
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2290
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2291
|
+
throwOnError?: ThrowOnError;
|
|
2292
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2293
|
+
} & SignTokenData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2294
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2295
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Token, unknown, ThrowOnError>;
|
|
2296
|
+
export const refresh: <ThrowOnError extends boolean = false>(options: {
|
|
2297
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2298
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2299
|
+
cache?: RequestCache;
|
|
2300
|
+
credentials?: RequestCredentials;
|
|
2301
|
+
integrity?: string;
|
|
2302
|
+
keepalive?: boolean;
|
|
2303
|
+
mode?: RequestMode;
|
|
2304
|
+
redirect?: RequestRedirect;
|
|
2305
|
+
referrer?: string;
|
|
2306
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2307
|
+
signal?: AbortSignal;
|
|
2308
|
+
window?: null;
|
|
2309
|
+
path?: Record<string, unknown>;
|
|
2310
|
+
query?: Record<string, unknown>;
|
|
2311
|
+
baseUrl?: string;
|
|
2312
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2313
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2314
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2315
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2316
|
+
throwOnError?: ThrowOnError;
|
|
2317
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2318
|
+
} & RefreshData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2319
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2320
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RefreshResponse, unknown, ThrowOnError>;
|
|
2321
|
+
export const createUser: <ThrowOnError extends boolean = false>(options: {
|
|
2322
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2323
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2324
|
+
cache?: RequestCache;
|
|
2325
|
+
credentials?: RequestCredentials;
|
|
2326
|
+
integrity?: string;
|
|
2327
|
+
keepalive?: boolean;
|
|
2328
|
+
mode?: RequestMode;
|
|
2329
|
+
redirect?: RequestRedirect;
|
|
2330
|
+
referrer?: string;
|
|
2331
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2332
|
+
signal?: AbortSignal;
|
|
2333
|
+
window?: null;
|
|
2334
|
+
path?: Record<string, unknown>;
|
|
2335
|
+
query?: Record<string, unknown>;
|
|
2336
|
+
baseUrl?: string;
|
|
2337
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2338
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2339
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2340
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2341
|
+
throwOnError?: ThrowOnError;
|
|
2342
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2343
|
+
} & CreateUserData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2344
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2345
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2346
|
+
export const listUsers: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2347
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2348
|
+
} & ListUsersData) => import("@hey-api/client-fetch").RequestResult<ListUsersResponse, unknown, ThrowOnError>;
|
|
2349
|
+
export const getUser: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2350
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2351
|
+
} & GetUserData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2352
|
+
export const updateUser: <ThrowOnError extends boolean = false>(options: {
|
|
2353
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2354
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2355
|
+
cache?: RequestCache;
|
|
2356
|
+
credentials?: RequestCredentials;
|
|
2357
|
+
integrity?: string;
|
|
2358
|
+
keepalive?: boolean;
|
|
2359
|
+
mode?: RequestMode;
|
|
2360
|
+
redirect?: RequestRedirect;
|
|
2361
|
+
referrer?: string;
|
|
2362
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2363
|
+
signal?: AbortSignal;
|
|
2364
|
+
window?: null;
|
|
2365
|
+
path?: Record<string, unknown>;
|
|
2366
|
+
query?: Record<string, unknown>;
|
|
2367
|
+
baseUrl?: string;
|
|
2368
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2369
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2370
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2371
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2372
|
+
throwOnError?: ThrowOnError;
|
|
2373
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2374
|
+
} & UpdateUserData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2375
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2376
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2377
|
+
export const deleteUser: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2378
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2379
|
+
} & DeleteUserData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2380
|
+
export const verifyIdentity: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2381
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2382
|
+
} & VerifyIdentityData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2383
|
+
export const resetPassword: <ThrowOnError extends boolean = false>(options: {
|
|
2384
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2385
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2386
|
+
cache?: RequestCache;
|
|
2387
|
+
credentials?: RequestCredentials;
|
|
2388
|
+
integrity?: string;
|
|
2389
|
+
keepalive?: boolean;
|
|
2390
|
+
mode?: RequestMode;
|
|
2391
|
+
redirect?: RequestRedirect;
|
|
2392
|
+
referrer?: string;
|
|
2393
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2394
|
+
signal?: AbortSignal;
|
|
2395
|
+
window?: null;
|
|
2396
|
+
path?: Record<string, unknown>;
|
|
2397
|
+
query?: Record<string, unknown>;
|
|
2398
|
+
baseUrl?: string;
|
|
2399
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2400
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2401
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2402
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2403
|
+
throwOnError?: ThrowOnError;
|
|
2404
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2405
|
+
} & ResetPasswordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2406
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2407
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2408
|
+
export const updatePassword: <ThrowOnError extends boolean = false>(options: {
|
|
2409
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2410
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2411
|
+
cache?: RequestCache;
|
|
2412
|
+
credentials?: RequestCredentials;
|
|
2413
|
+
integrity?: string;
|
|
2414
|
+
keepalive?: boolean;
|
|
2415
|
+
mode?: RequestMode;
|
|
2416
|
+
redirect?: RequestRedirect;
|
|
2417
|
+
referrer?: string;
|
|
2418
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2419
|
+
signal?: AbortSignal;
|
|
2420
|
+
window?: null;
|
|
2421
|
+
path?: Record<string, unknown>;
|
|
2422
|
+
query?: Record<string, unknown>;
|
|
2423
|
+
baseUrl?: string;
|
|
2424
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2425
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2426
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2427
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2428
|
+
throwOnError?: ThrowOnError;
|
|
2429
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2430
|
+
} & UpdatePasswordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2431
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2432
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2433
|
+
export const createNamespace: <ThrowOnError extends boolean = false>(options: {
|
|
2434
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2435
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2436
|
+
cache?: RequestCache;
|
|
2437
|
+
credentials?: RequestCredentials;
|
|
2438
|
+
integrity?: string;
|
|
2439
|
+
keepalive?: boolean;
|
|
2440
|
+
mode?: RequestMode;
|
|
2441
|
+
redirect?: RequestRedirect;
|
|
2442
|
+
referrer?: string;
|
|
2443
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2444
|
+
signal?: AbortSignal;
|
|
2445
|
+
window?: null;
|
|
2446
|
+
path?: Record<string, unknown>;
|
|
2447
|
+
query?: Record<string, unknown>;
|
|
2448
|
+
baseUrl?: string;
|
|
2449
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2450
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2451
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2452
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2453
|
+
throwOnError?: ThrowOnError;
|
|
2454
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2455
|
+
} & CreateNamespaceData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2456
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2457
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Namespace, unknown, ThrowOnError>;
|
|
2458
|
+
export const listNamespaces: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2459
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2460
|
+
} & ListNamespacesData) => import("@hey-api/client-fetch").RequestResult<ListNamespacesResponse, unknown, ThrowOnError>;
|
|
2461
|
+
export const getNamespace: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2462
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2463
|
+
} & GetNamespaceData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Namespace, unknown, ThrowOnError>;
|
|
2464
|
+
export const updateNamespace: <ThrowOnError extends boolean = false>(options: {
|
|
2465
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2466
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2467
|
+
cache?: RequestCache;
|
|
2468
|
+
credentials?: RequestCredentials;
|
|
2469
|
+
integrity?: string;
|
|
2470
|
+
keepalive?: boolean;
|
|
2471
|
+
mode?: RequestMode;
|
|
2472
|
+
redirect?: RequestRedirect;
|
|
2473
|
+
referrer?: string;
|
|
2474
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2475
|
+
signal?: AbortSignal;
|
|
2476
|
+
window?: null;
|
|
2477
|
+
path?: Record<string, unknown>;
|
|
2478
|
+
query?: Record<string, unknown>;
|
|
2479
|
+
baseUrl?: string;
|
|
2480
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2481
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2482
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2483
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2484
|
+
throwOnError?: ThrowOnError;
|
|
2485
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2486
|
+
} & UpdateNamespaceData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2487
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2488
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Namespace, unknown, ThrowOnError>;
|
|
2489
|
+
export const deleteNamespace: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2490
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2491
|
+
} & DeleteNamespaceData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2492
|
+
export const createSession: <ThrowOnError extends boolean = false>(options: {
|
|
2493
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2494
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2495
|
+
cache?: RequestCache;
|
|
2496
|
+
credentials?: RequestCredentials;
|
|
2497
|
+
integrity?: string;
|
|
2498
|
+
keepalive?: boolean;
|
|
2499
|
+
mode?: RequestMode;
|
|
2500
|
+
redirect?: RequestRedirect;
|
|
2501
|
+
referrer?: string;
|
|
2502
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2503
|
+
signal?: AbortSignal;
|
|
2504
|
+
window?: null;
|
|
2505
|
+
path?: Record<string, unknown>;
|
|
2506
|
+
query?: Record<string, unknown>;
|
|
2507
|
+
baseUrl?: string;
|
|
2508
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2509
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2510
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2511
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2512
|
+
throwOnError?: ThrowOnError;
|
|
2513
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2514
|
+
} & CreateSessionData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2515
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2516
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Session, unknown, ThrowOnError>;
|
|
2517
|
+
export const listSessions: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2518
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2519
|
+
} & ListSessionsData) => import("@hey-api/client-fetch").RequestResult<ListSessionsResponse, unknown, ThrowOnError>;
|
|
2520
|
+
export const getSession: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2521
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2522
|
+
} & GetSessionData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Session, unknown, ThrowOnError>;
|
|
2523
|
+
export const updateSession: <ThrowOnError extends boolean = false>(options: {
|
|
2524
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2525
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2526
|
+
cache?: RequestCache;
|
|
2527
|
+
credentials?: RequestCredentials;
|
|
2528
|
+
integrity?: string;
|
|
2529
|
+
keepalive?: boolean;
|
|
2530
|
+
mode?: RequestMode;
|
|
2531
|
+
redirect?: RequestRedirect;
|
|
2532
|
+
referrer?: string;
|
|
2533
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2534
|
+
signal?: AbortSignal;
|
|
2535
|
+
window?: null;
|
|
2536
|
+
path?: Record<string, unknown>;
|
|
2537
|
+
query?: Record<string, unknown>;
|
|
2538
|
+
baseUrl?: string;
|
|
2539
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2540
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2541
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2542
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2543
|
+
throwOnError?: ThrowOnError;
|
|
2544
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2545
|
+
} & UpdateSessionData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2546
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2547
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Session, unknown, ThrowOnError>;
|
|
2548
|
+
export const deleteSession: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2549
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2550
|
+
} & DeleteSessionData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2551
|
+
export const createCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
2552
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2553
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2554
|
+
cache?: RequestCache;
|
|
2555
|
+
credentials?: RequestCredentials;
|
|
2556
|
+
integrity?: string;
|
|
2557
|
+
keepalive?: boolean;
|
|
2558
|
+
mode?: RequestMode;
|
|
2559
|
+
redirect?: RequestRedirect;
|
|
2560
|
+
referrer?: string;
|
|
2561
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2562
|
+
signal?: AbortSignal;
|
|
2563
|
+
window?: null;
|
|
2564
|
+
path?: Record<string, unknown>;
|
|
2565
|
+
query?: Record<string, unknown>;
|
|
2566
|
+
baseUrl?: string;
|
|
2567
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2568
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2569
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2570
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2571
|
+
throwOnError?: ThrowOnError;
|
|
2572
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2573
|
+
} & CreateCaptchaData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2574
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2575
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2576
|
+
export const listCaptchas: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2577
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2578
|
+
} & ListCaptchasData) => import("@hey-api/client-fetch").RequestResult<ListCaptchasResponse, unknown, ThrowOnError>;
|
|
2579
|
+
export const getCaptcha: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2580
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2581
|
+
} & GetCaptchaData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2582
|
+
export const updateCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
2583
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2584
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2585
|
+
cache?: RequestCache;
|
|
2586
|
+
credentials?: RequestCredentials;
|
|
2587
|
+
integrity?: string;
|
|
2588
|
+
keepalive?: boolean;
|
|
2589
|
+
mode?: RequestMode;
|
|
2590
|
+
redirect?: RequestRedirect;
|
|
2591
|
+
referrer?: string;
|
|
2592
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2593
|
+
signal?: AbortSignal;
|
|
2594
|
+
window?: null;
|
|
2595
|
+
path?: Record<string, unknown>;
|
|
2596
|
+
query?: Record<string, unknown>;
|
|
2597
|
+
baseUrl?: string;
|
|
2598
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2599
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2600
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2601
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2602
|
+
throwOnError?: ThrowOnError;
|
|
2603
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2604
|
+
} & UpdateCaptchaData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2605
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2606
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2607
|
+
export const deleteCaptcha: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2608
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2609
|
+
} & DeleteCaptchaData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2610
|
+
export const sendEmail: <ThrowOnError extends boolean = false>(options: {
|
|
2611
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2612
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2613
|
+
cache?: RequestCache;
|
|
2614
|
+
credentials?: RequestCredentials;
|
|
2615
|
+
integrity?: string;
|
|
2616
|
+
keepalive?: boolean;
|
|
2617
|
+
mode?: RequestMode;
|
|
2618
|
+
redirect?: RequestRedirect;
|
|
2619
|
+
referrer?: string;
|
|
2620
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2621
|
+
signal?: AbortSignal;
|
|
2622
|
+
window?: null;
|
|
2623
|
+
path?: Record<string, unknown>;
|
|
2624
|
+
query?: Record<string, unknown>;
|
|
2625
|
+
baseUrl?: string;
|
|
2626
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2627
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2628
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2629
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2630
|
+
throwOnError?: ThrowOnError;
|
|
2631
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2632
|
+
} & SendEmailData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2633
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2634
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2635
|
+
export const createEmailRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2636
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2637
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2638
|
+
cache?: RequestCache;
|
|
2639
|
+
credentials?: RequestCredentials;
|
|
2640
|
+
integrity?: string;
|
|
2641
|
+
keepalive?: boolean;
|
|
2642
|
+
mode?: RequestMode;
|
|
2643
|
+
redirect?: RequestRedirect;
|
|
2644
|
+
referrer?: string;
|
|
2645
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2646
|
+
signal?: AbortSignal;
|
|
2647
|
+
window?: null;
|
|
2648
|
+
path?: Record<string, unknown>;
|
|
2649
|
+
query?: Record<string, unknown>;
|
|
2650
|
+
baseUrl?: string;
|
|
2651
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2652
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2653
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2654
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2655
|
+
throwOnError?: ThrowOnError;
|
|
2656
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2657
|
+
} & CreateEmailRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2658
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2659
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2660
|
+
export const listEmailRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2661
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2662
|
+
} & ListEmailRecordsData) => import("@hey-api/client-fetch").RequestResult<ListEmailRecordsResponse, unknown, ThrowOnError>;
|
|
2663
|
+
export const getEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2664
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2665
|
+
} & GetEmailRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2666
|
+
export const updateEmailRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2667
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2668
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2669
|
+
cache?: RequestCache;
|
|
2670
|
+
credentials?: RequestCredentials;
|
|
2671
|
+
integrity?: string;
|
|
2672
|
+
keepalive?: boolean;
|
|
2673
|
+
mode?: RequestMode;
|
|
2674
|
+
redirect?: RequestRedirect;
|
|
2675
|
+
referrer?: string;
|
|
2676
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2677
|
+
signal?: AbortSignal;
|
|
2678
|
+
window?: null;
|
|
2679
|
+
path?: Record<string, unknown>;
|
|
2680
|
+
query?: Record<string, unknown>;
|
|
2681
|
+
baseUrl?: string;
|
|
2682
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2683
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2684
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2685
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2686
|
+
throwOnError?: ThrowOnError;
|
|
2687
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2688
|
+
} & UpdateEmailRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2689
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2690
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2691
|
+
export const deleteEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2692
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2693
|
+
} & DeleteEmailRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2694
|
+
export const listIndustries: <ThrowOnError extends boolean = false>(options?: {
|
|
2695
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2696
|
+
cache?: RequestCache;
|
|
2697
|
+
credentials?: RequestCredentials;
|
|
2698
|
+
integrity?: string;
|
|
2699
|
+
keepalive?: boolean;
|
|
2700
|
+
mode?: RequestMode;
|
|
2701
|
+
redirect?: RequestRedirect;
|
|
2702
|
+
referrer?: string;
|
|
2703
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2704
|
+
signal?: AbortSignal;
|
|
2705
|
+
window?: null;
|
|
2706
|
+
path?: Record<string, unknown>;
|
|
2707
|
+
query?: Record<string, unknown>;
|
|
2708
|
+
baseUrl?: string;
|
|
2709
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2710
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2711
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2712
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2713
|
+
throwOnError?: ThrowOnError;
|
|
2714
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2715
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListIndustriesResponse, unknown, ThrowOnError>;
|
|
2716
|
+
export const createGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2717
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2718
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2719
|
+
cache?: RequestCache;
|
|
2720
|
+
credentials?: RequestCredentials;
|
|
2721
|
+
integrity?: string;
|
|
2722
|
+
keepalive?: boolean;
|
|
2723
|
+
mode?: RequestMode;
|
|
2724
|
+
redirect?: RequestRedirect;
|
|
2725
|
+
referrer?: string;
|
|
2726
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2727
|
+
signal?: AbortSignal;
|
|
2728
|
+
window?: null;
|
|
2729
|
+
path?: Record<string, unknown>;
|
|
2730
|
+
query?: Record<string, unknown>;
|
|
2731
|
+
baseUrl?: string;
|
|
2732
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2733
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2734
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2735
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2736
|
+
throwOnError?: ThrowOnError;
|
|
2737
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2738
|
+
} & CreateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2739
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2740
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2741
|
+
export const listGroups: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2742
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2743
|
+
} & ListGroupsData) => import("@hey-api/client-fetch").RequestResult<ListGroupsResponse, unknown, ThrowOnError>;
|
|
2744
|
+
export const getGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2745
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2746
|
+
} & GetGroupData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2747
|
+
export const updateGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2748
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2749
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2750
|
+
cache?: RequestCache;
|
|
2751
|
+
credentials?: RequestCredentials;
|
|
2752
|
+
integrity?: string;
|
|
2753
|
+
keepalive?: boolean;
|
|
2754
|
+
mode?: RequestMode;
|
|
2755
|
+
redirect?: RequestRedirect;
|
|
2756
|
+
referrer?: string;
|
|
2757
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2758
|
+
signal?: AbortSignal;
|
|
2759
|
+
window?: null;
|
|
2760
|
+
path?: Record<string, unknown>;
|
|
2761
|
+
query?: Record<string, unknown>;
|
|
2762
|
+
baseUrl?: string;
|
|
2763
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2764
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2765
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2766
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2767
|
+
throwOnError?: ThrowOnError;
|
|
2768
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2769
|
+
} & UpdateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2770
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2771
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2772
|
+
export const deleteGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2773
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2774
|
+
} & DeleteGroupData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2775
|
+
export const listRegions: <ThrowOnError extends boolean = false>(options?: {
|
|
2776
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2777
|
+
cache?: RequestCache;
|
|
2778
|
+
credentials?: RequestCredentials;
|
|
2779
|
+
integrity?: string;
|
|
2780
|
+
keepalive?: boolean;
|
|
2781
|
+
mode?: RequestMode;
|
|
2782
|
+
redirect?: RequestRedirect;
|
|
2783
|
+
referrer?: string;
|
|
2784
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2785
|
+
signal?: AbortSignal;
|
|
2786
|
+
window?: null;
|
|
2787
|
+
path?: Record<string, unknown>;
|
|
2788
|
+
query?: Record<string, unknown>;
|
|
2789
|
+
baseUrl?: string;
|
|
2790
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2791
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2792
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2793
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2794
|
+
throwOnError?: ThrowOnError;
|
|
2795
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2796
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListRegionsResponse, unknown, ThrowOnError>;
|
|
2797
|
+
export const sendSms: <ThrowOnError extends boolean = false>(options: {
|
|
2798
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2799
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2800
|
+
cache?: RequestCache;
|
|
2801
|
+
credentials?: RequestCredentials;
|
|
2802
|
+
integrity?: string;
|
|
2803
|
+
keepalive?: boolean;
|
|
2804
|
+
mode?: RequestMode;
|
|
2805
|
+
redirect?: RequestRedirect;
|
|
2806
|
+
referrer?: string;
|
|
2807
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2808
|
+
signal?: AbortSignal;
|
|
2809
|
+
window?: null;
|
|
2810
|
+
path?: Record<string, unknown>;
|
|
2811
|
+
query?: Record<string, unknown>;
|
|
2812
|
+
baseUrl?: string;
|
|
2813
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2814
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2815
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2816
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2817
|
+
throwOnError?: ThrowOnError;
|
|
2818
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2819
|
+
} & SendSmsData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2820
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2821
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2822
|
+
export const createSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2823
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2824
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2825
|
+
cache?: RequestCache;
|
|
2826
|
+
credentials?: RequestCredentials;
|
|
2827
|
+
integrity?: string;
|
|
2828
|
+
keepalive?: boolean;
|
|
2829
|
+
mode?: RequestMode;
|
|
2830
|
+
redirect?: RequestRedirect;
|
|
2831
|
+
referrer?: string;
|
|
2832
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2833
|
+
signal?: AbortSignal;
|
|
2834
|
+
window?: null;
|
|
2835
|
+
path?: Record<string, unknown>;
|
|
2836
|
+
query?: Record<string, unknown>;
|
|
2837
|
+
baseUrl?: string;
|
|
2838
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2839
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2840
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2841
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2842
|
+
throwOnError?: ThrowOnError;
|
|
2843
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2844
|
+
} & CreateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2845
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2846
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2847
|
+
export const listSmsRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2848
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2849
|
+
} & ListSmsRecordsData) => import("@hey-api/client-fetch").RequestResult<ListSmsRecordsResponse, unknown, ThrowOnError>;
|
|
2850
|
+
export const getSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2851
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2852
|
+
} & GetSmsRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2853
|
+
export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2854
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2855
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2856
|
+
cache?: RequestCache;
|
|
2857
|
+
credentials?: RequestCredentials;
|
|
2858
|
+
integrity?: string;
|
|
2859
|
+
keepalive?: boolean;
|
|
2860
|
+
mode?: RequestMode;
|
|
2861
|
+
redirect?: RequestRedirect;
|
|
2862
|
+
referrer?: string;
|
|
2863
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2864
|
+
signal?: AbortSignal;
|
|
2865
|
+
window?: null;
|
|
2866
|
+
path?: Record<string, unknown>;
|
|
2867
|
+
query?: Record<string, unknown>;
|
|
2868
|
+
baseUrl?: string;
|
|
2869
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2870
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2871
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2872
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2873
|
+
throwOnError?: ThrowOnError;
|
|
2874
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2875
|
+
} & UpdateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2876
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2877
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2878
|
+
export const deleteSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2879
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2880
|
+
} & DeleteSmsRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
633
2881
|
|
|
634
2882
|
//# sourceMappingURL=types.d.ts.map
|