@36node/auth-sdk 1.6.1 → 1.6.2

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