@36node/auth-sdk 1.1.1 → 1.2.0-pr-12-324c3d6447
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +411 -74
- package/dist/main.js.map +1 -1
- package/dist/module.js +412 -75
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +595 -95
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -114,6 +114,46 @@ export const $User: {
|
|
|
114
114
|
readonly type: "string";
|
|
115
115
|
readonly description: "用户名";
|
|
116
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
|
+
};
|
|
117
157
|
readonly id: {
|
|
118
158
|
readonly type: "string";
|
|
119
159
|
readonly description: "Entity id";
|
|
@@ -420,6 +460,41 @@ export const $CreateUserDto: {
|
|
|
420
460
|
readonly type: "string";
|
|
421
461
|
readonly description: "用户名";
|
|
422
462
|
};
|
|
463
|
+
readonly employeeId: {
|
|
464
|
+
readonly type: "string";
|
|
465
|
+
readonly description: "员工编号";
|
|
466
|
+
};
|
|
467
|
+
readonly permissions: {
|
|
468
|
+
readonly description: "权限";
|
|
469
|
+
readonly type: "array";
|
|
470
|
+
readonly items: {
|
|
471
|
+
readonly type: "string";
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
readonly groups: {
|
|
475
|
+
readonly description: "团队";
|
|
476
|
+
readonly type: "array";
|
|
477
|
+
readonly items: {
|
|
478
|
+
readonly type: "string";
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
readonly active: {
|
|
482
|
+
readonly type: "boolean";
|
|
483
|
+
readonly description: "是否启用";
|
|
484
|
+
};
|
|
485
|
+
readonly inviteCode: {
|
|
486
|
+
readonly type: "string";
|
|
487
|
+
readonly description: "邀请码";
|
|
488
|
+
};
|
|
489
|
+
readonly status: {
|
|
490
|
+
readonly type: "string";
|
|
491
|
+
readonly description: "状态";
|
|
492
|
+
};
|
|
493
|
+
readonly expireAt: {
|
|
494
|
+
readonly format: "date-time";
|
|
495
|
+
readonly type: "string";
|
|
496
|
+
readonly description: "过期时间";
|
|
497
|
+
};
|
|
423
498
|
};
|
|
424
499
|
};
|
|
425
500
|
export const $UpdateUserDto: {
|
|
@@ -510,6 +585,46 @@ export const $UpdateUserDto: {
|
|
|
510
585
|
readonly type: "string";
|
|
511
586
|
readonly description: "用户名";
|
|
512
587
|
};
|
|
588
|
+
readonly employeeId: {
|
|
589
|
+
readonly type: "string";
|
|
590
|
+
readonly description: "员工编号";
|
|
591
|
+
};
|
|
592
|
+
readonly permissions: {
|
|
593
|
+
readonly description: "权限";
|
|
594
|
+
readonly type: "array";
|
|
595
|
+
readonly items: {
|
|
596
|
+
readonly type: "string";
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
readonly groups: {
|
|
600
|
+
readonly description: "团队";
|
|
601
|
+
readonly type: "array";
|
|
602
|
+
readonly items: {
|
|
603
|
+
readonly type: "string";
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
readonly lastLoginAt: {
|
|
607
|
+
readonly format: "date-time";
|
|
608
|
+
readonly type: "string";
|
|
609
|
+
readonly description: "最后登录时间";
|
|
610
|
+
};
|
|
611
|
+
readonly active: {
|
|
612
|
+
readonly type: "boolean";
|
|
613
|
+
readonly description: "是否启用";
|
|
614
|
+
};
|
|
615
|
+
readonly inviteCode: {
|
|
616
|
+
readonly type: "string";
|
|
617
|
+
readonly description: "邀请码";
|
|
618
|
+
};
|
|
619
|
+
readonly status: {
|
|
620
|
+
readonly type: "string";
|
|
621
|
+
readonly description: "状态";
|
|
622
|
+
};
|
|
623
|
+
readonly expireAt: {
|
|
624
|
+
readonly format: "date-time";
|
|
625
|
+
readonly type: "string";
|
|
626
|
+
readonly description: "过期时间";
|
|
627
|
+
};
|
|
513
628
|
};
|
|
514
629
|
};
|
|
515
630
|
export const $ResetPasswordDto: {
|
|
@@ -565,6 +680,29 @@ export const $CreateNamespaceDto: {
|
|
|
565
680
|
readonly type: "string";
|
|
566
681
|
readonly description: "所属的 namespace";
|
|
567
682
|
};
|
|
683
|
+
readonly permissions: {
|
|
684
|
+
readonly description: "权限";
|
|
685
|
+
readonly type: "array";
|
|
686
|
+
readonly items: {
|
|
687
|
+
readonly type: "string";
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
readonly active: {
|
|
691
|
+
readonly type: "boolean";
|
|
692
|
+
readonly description: "是否启用";
|
|
693
|
+
};
|
|
694
|
+
readonly defaultPassword: {
|
|
695
|
+
readonly type: "string";
|
|
696
|
+
readonly description: "默认密码";
|
|
697
|
+
};
|
|
698
|
+
readonly exportable: {
|
|
699
|
+
readonly type: "boolean";
|
|
700
|
+
readonly description: "是否可导出";
|
|
701
|
+
};
|
|
702
|
+
readonly userCount: {
|
|
703
|
+
readonly type: "number";
|
|
704
|
+
readonly description: "人数";
|
|
705
|
+
};
|
|
568
706
|
};
|
|
569
707
|
readonly required: readonly ["name", "key"];
|
|
570
708
|
};
|
|
@@ -598,6 +736,29 @@ export const $Namespace: {
|
|
|
598
736
|
readonly type: "string";
|
|
599
737
|
readonly description: "所属的 namespace";
|
|
600
738
|
};
|
|
739
|
+
readonly permissions: {
|
|
740
|
+
readonly description: "权限";
|
|
741
|
+
readonly type: "array";
|
|
742
|
+
readonly items: {
|
|
743
|
+
readonly type: "string";
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
readonly active: {
|
|
747
|
+
readonly type: "boolean";
|
|
748
|
+
readonly description: "是否启用";
|
|
749
|
+
};
|
|
750
|
+
readonly defaultPassword: {
|
|
751
|
+
readonly type: "string";
|
|
752
|
+
readonly description: "默认密码";
|
|
753
|
+
};
|
|
754
|
+
readonly exportable: {
|
|
755
|
+
readonly type: "boolean";
|
|
756
|
+
readonly description: "是否可导出";
|
|
757
|
+
};
|
|
758
|
+
readonly userCount: {
|
|
759
|
+
readonly type: "number";
|
|
760
|
+
readonly description: "人数";
|
|
761
|
+
};
|
|
601
762
|
readonly id: {
|
|
602
763
|
readonly type: "string";
|
|
603
764
|
readonly description: "Entity id";
|
|
@@ -645,6 +806,29 @@ export const $UpdateNamespaceDto: {
|
|
|
645
806
|
readonly type: "string";
|
|
646
807
|
readonly description: "名称";
|
|
647
808
|
};
|
|
809
|
+
readonly permissions: {
|
|
810
|
+
readonly description: "权限";
|
|
811
|
+
readonly type: "array";
|
|
812
|
+
readonly items: {
|
|
813
|
+
readonly type: "string";
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
readonly active: {
|
|
817
|
+
readonly type: "boolean";
|
|
818
|
+
readonly description: "是否启用";
|
|
819
|
+
};
|
|
820
|
+
readonly defaultPassword: {
|
|
821
|
+
readonly type: "string";
|
|
822
|
+
readonly description: "默认密码";
|
|
823
|
+
};
|
|
824
|
+
readonly exportable: {
|
|
825
|
+
readonly type: "boolean";
|
|
826
|
+
readonly description: "是否可导出";
|
|
827
|
+
};
|
|
828
|
+
readonly userCount: {
|
|
829
|
+
readonly type: "number";
|
|
830
|
+
readonly description: "人数";
|
|
831
|
+
};
|
|
648
832
|
};
|
|
649
833
|
};
|
|
650
834
|
export const $CreateSessionDto: {
|
|
@@ -743,6 +927,102 @@ export const $UpdateSessionDto: {
|
|
|
743
927
|
};
|
|
744
928
|
};
|
|
745
929
|
};
|
|
930
|
+
export const $CreateGroupDto: {
|
|
931
|
+
readonly type: "object";
|
|
932
|
+
readonly properties: {
|
|
933
|
+
readonly name: {
|
|
934
|
+
readonly type: "string";
|
|
935
|
+
readonly description: "名称";
|
|
936
|
+
};
|
|
937
|
+
readonly permissions: {
|
|
938
|
+
readonly description: "权限";
|
|
939
|
+
readonly type: "array";
|
|
940
|
+
readonly items: {
|
|
941
|
+
readonly type: "string";
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
readonly active: {
|
|
945
|
+
readonly type: "boolean";
|
|
946
|
+
readonly description: "是否启用";
|
|
947
|
+
};
|
|
948
|
+
readonly userCount: {
|
|
949
|
+
readonly type: "number";
|
|
950
|
+
readonly description: "人数";
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
readonly required: readonly ["name"];
|
|
954
|
+
};
|
|
955
|
+
export const $Group: {
|
|
956
|
+
readonly type: "object";
|
|
957
|
+
readonly properties: {
|
|
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
|
+
readonly id: {
|
|
978
|
+
readonly type: "string";
|
|
979
|
+
readonly description: "Entity id";
|
|
980
|
+
};
|
|
981
|
+
readonly createdAt: {
|
|
982
|
+
readonly format: "date-time";
|
|
983
|
+
readonly type: "string";
|
|
984
|
+
readonly description: "Entity created at when";
|
|
985
|
+
};
|
|
986
|
+
readonly updatedAt: {
|
|
987
|
+
readonly format: "date-time";
|
|
988
|
+
readonly type: "string";
|
|
989
|
+
readonly description: "Entity updated at when";
|
|
990
|
+
};
|
|
991
|
+
readonly createdBy: {
|
|
992
|
+
readonly type: "string";
|
|
993
|
+
readonly description: "Entity created by who";
|
|
994
|
+
};
|
|
995
|
+
readonly updatedBy: {
|
|
996
|
+
readonly type: "string";
|
|
997
|
+
readonly description: "Entity updated by who";
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
readonly required: readonly ["name", "id"];
|
|
1001
|
+
};
|
|
1002
|
+
export const $UpdateGroupDto: {
|
|
1003
|
+
readonly type: "object";
|
|
1004
|
+
readonly properties: {
|
|
1005
|
+
readonly name: {
|
|
1006
|
+
readonly type: "string";
|
|
1007
|
+
readonly description: "名称";
|
|
1008
|
+
};
|
|
1009
|
+
readonly permissions: {
|
|
1010
|
+
readonly description: "权限";
|
|
1011
|
+
readonly type: "array";
|
|
1012
|
+
readonly items: {
|
|
1013
|
+
readonly type: "string";
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
readonly active: {
|
|
1017
|
+
readonly type: "boolean";
|
|
1018
|
+
readonly description: "是否启用";
|
|
1019
|
+
};
|
|
1020
|
+
readonly userCount: {
|
|
1021
|
+
readonly type: "number";
|
|
1022
|
+
readonly description: "人数";
|
|
1023
|
+
};
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
746
1026
|
export const $CreateCaptchaDto: {
|
|
747
1027
|
readonly type: "object";
|
|
748
1028
|
readonly properties: {
|
|
@@ -955,53 +1235,6 @@ export const $UpdateEmailRecordDto: {
|
|
|
955
1235
|
};
|
|
956
1236
|
};
|
|
957
1237
|
};
|
|
958
|
-
export const $Industry: {
|
|
959
|
-
readonly type: "object";
|
|
960
|
-
readonly properties: {
|
|
961
|
-
readonly code: {
|
|
962
|
-
readonly type: "string";
|
|
963
|
-
readonly description: "编码";
|
|
964
|
-
};
|
|
965
|
-
readonly name: {
|
|
966
|
-
readonly type: "string";
|
|
967
|
-
readonly description: "名称";
|
|
968
|
-
};
|
|
969
|
-
readonly children: {
|
|
970
|
-
readonly description: "子集";
|
|
971
|
-
readonly type: "array";
|
|
972
|
-
readonly items: {
|
|
973
|
-
readonly $ref: "#/components/schemas/Industry";
|
|
974
|
-
};
|
|
975
|
-
};
|
|
976
|
-
};
|
|
977
|
-
readonly required: readonly ["code", "name", "children"];
|
|
978
|
-
};
|
|
979
|
-
export const $Region: {
|
|
980
|
-
readonly type: "object";
|
|
981
|
-
readonly properties: {
|
|
982
|
-
readonly code: {
|
|
983
|
-
readonly type: "string";
|
|
984
|
-
readonly description: "缩写";
|
|
985
|
-
};
|
|
986
|
-
readonly nameZh: {
|
|
987
|
-
readonly type: "string";
|
|
988
|
-
readonly description: "中文名称";
|
|
989
|
-
};
|
|
990
|
-
readonly namePinyin: {
|
|
991
|
-
readonly type: "string";
|
|
992
|
-
readonly description: "中文拼音";
|
|
993
|
-
};
|
|
994
|
-
readonly nameEn: {
|
|
995
|
-
readonly type: "string";
|
|
996
|
-
readonly description: "英文名称";
|
|
997
|
-
};
|
|
998
|
-
readonly dialingPrefix: {
|
|
999
|
-
readonly type: "string";
|
|
1000
|
-
readonly description: "电话前缀";
|
|
1001
|
-
};
|
|
1002
|
-
};
|
|
1003
|
-
readonly required: readonly ["code", "nameZh", "namePinyin", "nameEn", "dialingPrefix"];
|
|
1004
|
-
};
|
|
1005
1238
|
export const $SendSmsDto: {
|
|
1006
1239
|
readonly type: "object";
|
|
1007
1240
|
readonly properties: {
|
|
@@ -1136,6 +1369,53 @@ export const $UpdateSmsRecordDto: {
|
|
|
1136
1369
|
};
|
|
1137
1370
|
};
|
|
1138
1371
|
};
|
|
1372
|
+
export const $Industry: {
|
|
1373
|
+
readonly type: "object";
|
|
1374
|
+
readonly properties: {
|
|
1375
|
+
readonly code: {
|
|
1376
|
+
readonly type: "string";
|
|
1377
|
+
readonly description: "编码";
|
|
1378
|
+
};
|
|
1379
|
+
readonly name: {
|
|
1380
|
+
readonly type: "string";
|
|
1381
|
+
readonly description: "名称";
|
|
1382
|
+
};
|
|
1383
|
+
readonly children: {
|
|
1384
|
+
readonly description: "子集";
|
|
1385
|
+
readonly type: "array";
|
|
1386
|
+
readonly items: {
|
|
1387
|
+
readonly $ref: "#/components/schemas/Industry";
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
readonly required: readonly ["code", "name", "children"];
|
|
1392
|
+
};
|
|
1393
|
+
export const $Region: {
|
|
1394
|
+
readonly type: "object";
|
|
1395
|
+
readonly properties: {
|
|
1396
|
+
readonly code: {
|
|
1397
|
+
readonly type: "string";
|
|
1398
|
+
readonly description: "缩写";
|
|
1399
|
+
};
|
|
1400
|
+
readonly nameZh: {
|
|
1401
|
+
readonly type: "string";
|
|
1402
|
+
readonly description: "中文名称";
|
|
1403
|
+
};
|
|
1404
|
+
readonly namePinyin: {
|
|
1405
|
+
readonly type: "string";
|
|
1406
|
+
readonly description: "中文拼音";
|
|
1407
|
+
};
|
|
1408
|
+
readonly nameEn: {
|
|
1409
|
+
readonly type: "string";
|
|
1410
|
+
readonly description: "英文名称";
|
|
1411
|
+
};
|
|
1412
|
+
readonly dialingPrefix: {
|
|
1413
|
+
readonly type: "string";
|
|
1414
|
+
readonly description: "电话前缀";
|
|
1415
|
+
};
|
|
1416
|
+
};
|
|
1417
|
+
readonly required: readonly ["code", "nameZh", "namePinyin", "nameEn", "dialingPrefix"];
|
|
1418
|
+
};
|
|
1139
1419
|
export type HealthCheckResult = {
|
|
1140
1420
|
message: string;
|
|
1141
1421
|
};
|
|
@@ -1165,6 +1445,14 @@ export type User = {
|
|
|
1165
1445
|
roles?: Array<string>;
|
|
1166
1446
|
super?: boolean;
|
|
1167
1447
|
username?: string;
|
|
1448
|
+
employeeId?: string;
|
|
1449
|
+
permissions?: Array<string>;
|
|
1450
|
+
groups?: Array<string>;
|
|
1451
|
+
lastLoginAt?: string;
|
|
1452
|
+
active?: boolean;
|
|
1453
|
+
inviteCode?: string;
|
|
1454
|
+
status?: string;
|
|
1455
|
+
expireAt?: string;
|
|
1168
1456
|
id: string;
|
|
1169
1457
|
createdAt?: string;
|
|
1170
1458
|
updatedAt?: string;
|
|
@@ -1247,6 +1535,13 @@ export type CreateUserDto = {
|
|
|
1247
1535
|
roles?: Array<string>;
|
|
1248
1536
|
super?: boolean;
|
|
1249
1537
|
username?: string;
|
|
1538
|
+
employeeId?: string;
|
|
1539
|
+
permissions?: Array<string>;
|
|
1540
|
+
groups?: Array<string>;
|
|
1541
|
+
active?: boolean;
|
|
1542
|
+
inviteCode?: string;
|
|
1543
|
+
status?: string;
|
|
1544
|
+
expireAt?: string;
|
|
1250
1545
|
};
|
|
1251
1546
|
export type UpdateUserDto = {
|
|
1252
1547
|
readonly hasPassword?: boolean;
|
|
@@ -1269,6 +1564,14 @@ export type UpdateUserDto = {
|
|
|
1269
1564
|
roles?: Array<string>;
|
|
1270
1565
|
super?: boolean;
|
|
1271
1566
|
username?: string;
|
|
1567
|
+
employeeId?: string;
|
|
1568
|
+
permissions?: Array<string>;
|
|
1569
|
+
groups?: Array<string>;
|
|
1570
|
+
lastLoginAt?: string;
|
|
1571
|
+
active?: boolean;
|
|
1572
|
+
inviteCode?: string;
|
|
1573
|
+
status?: string;
|
|
1574
|
+
expireAt?: string;
|
|
1272
1575
|
};
|
|
1273
1576
|
export type ResetPasswordDto = {
|
|
1274
1577
|
password?: string;
|
|
@@ -1284,6 +1587,11 @@ export type CreateNamespaceDto = {
|
|
|
1284
1587
|
name: string;
|
|
1285
1588
|
key: string;
|
|
1286
1589
|
ns?: string;
|
|
1590
|
+
permissions?: Array<string>;
|
|
1591
|
+
active?: boolean;
|
|
1592
|
+
defaultPassword?: string;
|
|
1593
|
+
exportable?: boolean;
|
|
1594
|
+
userCount?: number;
|
|
1287
1595
|
};
|
|
1288
1596
|
export type Namespace = {
|
|
1289
1597
|
data?: string;
|
|
@@ -1292,6 +1600,11 @@ export type Namespace = {
|
|
|
1292
1600
|
name: string;
|
|
1293
1601
|
key: string;
|
|
1294
1602
|
ns?: string;
|
|
1603
|
+
permissions?: Array<string>;
|
|
1604
|
+
active?: boolean;
|
|
1605
|
+
defaultPassword?: string;
|
|
1606
|
+
exportable?: boolean;
|
|
1607
|
+
userCount?: number;
|
|
1295
1608
|
id: string;
|
|
1296
1609
|
createdAt?: string;
|
|
1297
1610
|
updatedAt?: string;
|
|
@@ -1303,6 +1616,11 @@ export type UpdateNamespaceDto = {
|
|
|
1303
1616
|
desc?: string;
|
|
1304
1617
|
labels?: Array<string>;
|
|
1305
1618
|
name?: string;
|
|
1619
|
+
permissions?: Array<string>;
|
|
1620
|
+
active?: boolean;
|
|
1621
|
+
defaultPassword?: string;
|
|
1622
|
+
exportable?: boolean;
|
|
1623
|
+
userCount?: number;
|
|
1306
1624
|
};
|
|
1307
1625
|
export type CreateSessionDto = {
|
|
1308
1626
|
uid: string;
|
|
@@ -1334,6 +1652,29 @@ export type UpdateSessionDto = {
|
|
|
1334
1652
|
client?: string;
|
|
1335
1653
|
uid?: string;
|
|
1336
1654
|
};
|
|
1655
|
+
export type CreateGroupDto = {
|
|
1656
|
+
name: string;
|
|
1657
|
+
permissions?: Array<string>;
|
|
1658
|
+
active?: boolean;
|
|
1659
|
+
userCount?: number;
|
|
1660
|
+
};
|
|
1661
|
+
export type Group = {
|
|
1662
|
+
name: string;
|
|
1663
|
+
permissions?: Array<string>;
|
|
1664
|
+
active?: boolean;
|
|
1665
|
+
userCount?: number;
|
|
1666
|
+
id: string;
|
|
1667
|
+
createdAt?: string;
|
|
1668
|
+
updatedAt?: string;
|
|
1669
|
+
createdBy?: string;
|
|
1670
|
+
updatedBy?: string;
|
|
1671
|
+
};
|
|
1672
|
+
export type UpdateGroupDto = {
|
|
1673
|
+
name?: string;
|
|
1674
|
+
permissions?: Array<string>;
|
|
1675
|
+
active?: boolean;
|
|
1676
|
+
userCount?: number;
|
|
1677
|
+
};
|
|
1337
1678
|
export type CreateCaptchaDto = {
|
|
1338
1679
|
code?: string;
|
|
1339
1680
|
expireAt?: string;
|
|
@@ -1390,18 +1731,6 @@ export type UpdateEmailRecordDto = {
|
|
|
1390
1731
|
content?: string;
|
|
1391
1732
|
sentAt?: string;
|
|
1392
1733
|
};
|
|
1393
|
-
export type Industry = {
|
|
1394
|
-
code: string;
|
|
1395
|
-
name: string;
|
|
1396
|
-
children: Array<Industry>;
|
|
1397
|
-
};
|
|
1398
|
-
export type Region = {
|
|
1399
|
-
code: string;
|
|
1400
|
-
nameZh: string;
|
|
1401
|
-
namePinyin: string;
|
|
1402
|
-
nameEn: string;
|
|
1403
|
-
dialingPrefix: string;
|
|
1404
|
-
};
|
|
1405
1734
|
export type SendSmsDto = {
|
|
1406
1735
|
phone: string;
|
|
1407
1736
|
sign: string;
|
|
@@ -1440,6 +1769,18 @@ export type UpdateSmsRecordDto = {
|
|
|
1440
1769
|
params?: string;
|
|
1441
1770
|
sentAt?: string;
|
|
1442
1771
|
};
|
|
1772
|
+
export type Industry = {
|
|
1773
|
+
code: string;
|
|
1774
|
+
name: string;
|
|
1775
|
+
children: Array<Industry>;
|
|
1776
|
+
};
|
|
1777
|
+
export type Region = {
|
|
1778
|
+
code: string;
|
|
1779
|
+
nameZh: string;
|
|
1780
|
+
namePinyin: string;
|
|
1781
|
+
nameEn: string;
|
|
1782
|
+
dialingPrefix: string;
|
|
1783
|
+
};
|
|
1443
1784
|
export type HelloResponse = HealthCheckResult;
|
|
1444
1785
|
export type HelloError = unknown;
|
|
1445
1786
|
export type LoginData = {
|
|
@@ -1488,6 +1829,8 @@ export type RefreshData = {
|
|
|
1488
1829
|
};
|
|
1489
1830
|
export type RefreshResponse = SessionWithToken | Token;
|
|
1490
1831
|
export type RefreshError = unknown;
|
|
1832
|
+
export type CleanupAllDataResponse = void;
|
|
1833
|
+
export type CleanupAllDataError = unknown;
|
|
1491
1834
|
export type CreateUserData = {
|
|
1492
1835
|
body: CreateUserDto;
|
|
1493
1836
|
};
|
|
@@ -1497,16 +1840,20 @@ export type ListUsersData = {
|
|
|
1497
1840
|
query?: {
|
|
1498
1841
|
_limit?: number;
|
|
1499
1842
|
_offset?: number;
|
|
1500
|
-
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
1843
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'lastLoginAt' | '-lastLoginAt' | 'expireAt' | '-expireAt';
|
|
1844
|
+
active?: boolean;
|
|
1501
1845
|
email?: string;
|
|
1846
|
+
expireAt_gt?: string;
|
|
1847
|
+
expireAt_lt?: string;
|
|
1848
|
+
groups?: Array<string>;
|
|
1502
1849
|
id?: Array<string>;
|
|
1503
1850
|
name_like?: string;
|
|
1504
1851
|
nickname_like?: string;
|
|
1505
|
-
|
|
1506
|
-
ns_start?: Array<string>;
|
|
1852
|
+
ns_tree?: string;
|
|
1507
1853
|
phone?: string;
|
|
1508
1854
|
registerRegion?: string;
|
|
1509
1855
|
roles?: Array<string>;
|
|
1856
|
+
status?: string;
|
|
1510
1857
|
username?: string;
|
|
1511
1858
|
username_like?: string;
|
|
1512
1859
|
};
|
|
@@ -1535,6 +1882,14 @@ export type DeleteUserData = {
|
|
|
1535
1882
|
};
|
|
1536
1883
|
export type DeleteUserResponse = void;
|
|
1537
1884
|
export type DeleteUserError = unknown;
|
|
1885
|
+
export type UpsertUserByEmployeeIdData = {
|
|
1886
|
+
body: UpdateUserDto;
|
|
1887
|
+
path: {
|
|
1888
|
+
userEmployeeId: string;
|
|
1889
|
+
};
|
|
1890
|
+
};
|
|
1891
|
+
export type UpsertUserByEmployeeIdResponse = User;
|
|
1892
|
+
export type UpsertUserByEmployeeIdError = unknown;
|
|
1538
1893
|
export type VerifyIdentityData = {
|
|
1539
1894
|
path: {
|
|
1540
1895
|
userId: string;
|
|
@@ -1569,10 +1924,10 @@ export type ListNamespacesData = {
|
|
|
1569
1924
|
_offset?: number;
|
|
1570
1925
|
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'key' | '-key' | 'name' | '-name';
|
|
1571
1926
|
key?: string;
|
|
1927
|
+
key_tree?: string;
|
|
1572
1928
|
labels?: Array<string>;
|
|
1573
1929
|
name_like?: string;
|
|
1574
|
-
|
|
1575
|
-
ns_start?: Array<string>;
|
|
1930
|
+
ns_tree?: string;
|
|
1576
1931
|
};
|
|
1577
1932
|
};
|
|
1578
1933
|
export type ListNamespacesResponse = Array<Namespace>;
|
|
@@ -1587,7 +1942,7 @@ export type GetNamespaceError = unknown;
|
|
|
1587
1942
|
export type UpdateNamespaceData = {
|
|
1588
1943
|
body: UpdateNamespaceDto;
|
|
1589
1944
|
path: {
|
|
1590
|
-
|
|
1945
|
+
namespaceIdOrKey: string;
|
|
1591
1946
|
};
|
|
1592
1947
|
};
|
|
1593
1948
|
export type UpdateNamespaceResponse = Namespace;
|
|
@@ -1638,6 +1993,45 @@ export type DeleteSessionData = {
|
|
|
1638
1993
|
};
|
|
1639
1994
|
export type DeleteSessionResponse = void;
|
|
1640
1995
|
export type DeleteSessionError = unknown;
|
|
1996
|
+
export type CreateGroupData = {
|
|
1997
|
+
body: CreateGroupDto;
|
|
1998
|
+
};
|
|
1999
|
+
export type CreateGroupResponse = Group;
|
|
2000
|
+
export type CreateGroupError = unknown;
|
|
2001
|
+
export type ListGroupsData = {
|
|
2002
|
+
query?: {
|
|
2003
|
+
_limit?: number;
|
|
2004
|
+
_offset?: number;
|
|
2005
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
2006
|
+
active?: boolean;
|
|
2007
|
+
name?: string;
|
|
2008
|
+
name_like?: string;
|
|
2009
|
+
};
|
|
2010
|
+
};
|
|
2011
|
+
export type ListGroupsResponse = Array<Group>;
|
|
2012
|
+
export type ListGroupsError = unknown;
|
|
2013
|
+
export type GetGroupData = {
|
|
2014
|
+
path: {
|
|
2015
|
+
groupIdOrName: string;
|
|
2016
|
+
};
|
|
2017
|
+
};
|
|
2018
|
+
export type GetGroupResponse = Group;
|
|
2019
|
+
export type GetGroupError = unknown;
|
|
2020
|
+
export type UpdateGroupData = {
|
|
2021
|
+
body: UpdateGroupDto;
|
|
2022
|
+
path: {
|
|
2023
|
+
groupId: string;
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
export type UpdateGroupResponse = Group;
|
|
2027
|
+
export type UpdateGroupError = unknown;
|
|
2028
|
+
export type DeleteGroupData = {
|
|
2029
|
+
path: {
|
|
2030
|
+
groupId: string;
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
export type DeleteGroupResponse = void;
|
|
2034
|
+
export type DeleteGroupError = unknown;
|
|
1641
2035
|
export type CreateCaptchaData = {
|
|
1642
2036
|
body: CreateCaptchaDto;
|
|
1643
2037
|
};
|
|
@@ -1724,10 +2118,6 @@ export type DeleteEmailRecordData = {
|
|
|
1724
2118
|
};
|
|
1725
2119
|
export type DeleteEmailRecordResponse = void;
|
|
1726
2120
|
export type DeleteEmailRecordError = unknown;
|
|
1727
|
-
export type ListIndustriesResponse = Array<Industry>;
|
|
1728
|
-
export type ListIndustriesError = unknown;
|
|
1729
|
-
export type ListRegionsResponse = Array<Region>;
|
|
1730
|
-
export type ListRegionsError = unknown;
|
|
1731
2121
|
export type SendSmsData = {
|
|
1732
2122
|
body: SendSmsDto;
|
|
1733
2123
|
};
|
|
@@ -1776,6 +2166,10 @@ export type DeleteSmsRecordData = {
|
|
|
1776
2166
|
};
|
|
1777
2167
|
export type DeleteSmsRecordResponse = void;
|
|
1778
2168
|
export type DeleteSmsRecordError = unknown;
|
|
2169
|
+
export type ListIndustriesResponse = Array<Industry>;
|
|
2170
|
+
export type ListIndustriesError = unknown;
|
|
2171
|
+
export type ListRegionsResponse = Array<Region>;
|
|
2172
|
+
export type ListRegionsError = unknown;
|
|
1779
2173
|
export const client: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1780
2174
|
export const hello: <ThrowOnError extends boolean = false>(options?: {
|
|
1781
2175
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
@@ -1999,6 +2393,28 @@ export const refresh: <ThrowOnError extends boolean = false>(options: {
|
|
|
1999
2393
|
} & RefreshData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2000
2394
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2001
2395
|
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RefreshResponse, unknown, ThrowOnError>;
|
|
2396
|
+
export const cleanupAllData: <ThrowOnError extends boolean = false>(options?: {
|
|
2397
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2398
|
+
cache?: RequestCache;
|
|
2399
|
+
credentials?: RequestCredentials;
|
|
2400
|
+
integrity?: string;
|
|
2401
|
+
keepalive?: boolean;
|
|
2402
|
+
mode?: RequestMode;
|
|
2403
|
+
redirect?: RequestRedirect;
|
|
2404
|
+
referrer?: string;
|
|
2405
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2406
|
+
signal?: AbortSignal;
|
|
2407
|
+
window?: null;
|
|
2408
|
+
path?: Record<string, unknown>;
|
|
2409
|
+
query?: Record<string, unknown>;
|
|
2410
|
+
baseUrl?: string;
|
|
2411
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2412
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2413
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2414
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2415
|
+
throwOnError?: ThrowOnError;
|
|
2416
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2417
|
+
}) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2002
2418
|
export const createUser: <ThrowOnError extends boolean = false>(options: {
|
|
2003
2419
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2004
2420
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
@@ -2058,6 +2474,31 @@ export const updateUser: <ThrowOnError extends boolean = false>(options: {
|
|
|
2058
2474
|
export const deleteUser: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2059
2475
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2060
2476
|
} & DeleteUserData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2477
|
+
export const upsertUserByEmployeeId: <ThrowOnError extends boolean = false>(options: {
|
|
2478
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2479
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2480
|
+
cache?: RequestCache;
|
|
2481
|
+
credentials?: RequestCredentials;
|
|
2482
|
+
integrity?: string;
|
|
2483
|
+
keepalive?: boolean;
|
|
2484
|
+
mode?: RequestMode;
|
|
2485
|
+
redirect?: RequestRedirect;
|
|
2486
|
+
referrer?: string;
|
|
2487
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2488
|
+
signal?: AbortSignal;
|
|
2489
|
+
window?: null;
|
|
2490
|
+
path?: Record<string, unknown>;
|
|
2491
|
+
query?: Record<string, unknown>;
|
|
2492
|
+
baseUrl?: string;
|
|
2493
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2494
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2495
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2496
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2497
|
+
throwOnError?: ThrowOnError;
|
|
2498
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2499
|
+
} & UpsertUserByEmployeeIdData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2500
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2501
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2061
2502
|
export const verifyIdentity: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2062
2503
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2063
2504
|
} & VerifyIdentityData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
@@ -2229,6 +2670,65 @@ export const updateSession: <ThrowOnError extends boolean = false>(options: {
|
|
|
2229
2670
|
export const deleteSession: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2230
2671
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2231
2672
|
} & DeleteSessionData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2673
|
+
export const createGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2674
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2675
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2676
|
+
cache?: RequestCache;
|
|
2677
|
+
credentials?: RequestCredentials;
|
|
2678
|
+
integrity?: string;
|
|
2679
|
+
keepalive?: boolean;
|
|
2680
|
+
mode?: RequestMode;
|
|
2681
|
+
redirect?: RequestRedirect;
|
|
2682
|
+
referrer?: string;
|
|
2683
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2684
|
+
signal?: AbortSignal;
|
|
2685
|
+
window?: null;
|
|
2686
|
+
path?: Record<string, unknown>;
|
|
2687
|
+
query?: Record<string, unknown>;
|
|
2688
|
+
baseUrl?: string;
|
|
2689
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2690
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2691
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2692
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2693
|
+
throwOnError?: ThrowOnError;
|
|
2694
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2695
|
+
} & CreateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2696
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2697
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2698
|
+
export const listGroups: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2699
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2700
|
+
} & ListGroupsData) => import("@hey-api/client-fetch").RequestResult<ListGroupsResponse, unknown, ThrowOnError>;
|
|
2701
|
+
export const getGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2702
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2703
|
+
} & GetGroupData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2704
|
+
export const updateGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2705
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2706
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2707
|
+
cache?: RequestCache;
|
|
2708
|
+
credentials?: RequestCredentials;
|
|
2709
|
+
integrity?: string;
|
|
2710
|
+
keepalive?: boolean;
|
|
2711
|
+
mode?: RequestMode;
|
|
2712
|
+
redirect?: RequestRedirect;
|
|
2713
|
+
referrer?: string;
|
|
2714
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2715
|
+
signal?: AbortSignal;
|
|
2716
|
+
window?: null;
|
|
2717
|
+
path?: Record<string, unknown>;
|
|
2718
|
+
query?: Record<string, unknown>;
|
|
2719
|
+
baseUrl?: string;
|
|
2720
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2721
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2722
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2723
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2724
|
+
throwOnError?: ThrowOnError;
|
|
2725
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2726
|
+
} & UpdateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2727
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2728
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2729
|
+
export const deleteGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2730
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2731
|
+
} & DeleteGroupData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2232
2732
|
export const createCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
2233
2733
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2234
2734
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
@@ -2372,7 +2872,8 @@ export const updateEmailRecord: <ThrowOnError extends boolean = false>(options:
|
|
|
2372
2872
|
export const deleteEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2373
2873
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2374
2874
|
} & DeleteEmailRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2375
|
-
export const
|
|
2875
|
+
export const sendSms: <ThrowOnError extends boolean = false>(options: {
|
|
2876
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2376
2877
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2377
2878
|
cache?: RequestCache;
|
|
2378
2879
|
credentials?: RequestCredentials;
|
|
@@ -2393,8 +2894,11 @@ export const listIndustries: <ThrowOnError extends boolean = false>(options?: {
|
|
|
2393
2894
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2394
2895
|
throwOnError?: ThrowOnError;
|
|
2395
2896
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2396
|
-
}
|
|
2397
|
-
|
|
2897
|
+
} & SendSmsData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2898
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2899
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2900
|
+
export const createSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2901
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2398
2902
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2399
2903
|
cache?: RequestCache;
|
|
2400
2904
|
credentials?: RequestCredentials;
|
|
@@ -2415,8 +2919,16 @@ export const listRegions: <ThrowOnError extends boolean = false>(options?: {
|
|
|
2415
2919
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2416
2920
|
throwOnError?: ThrowOnError;
|
|
2417
2921
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2418
|
-
}
|
|
2419
|
-
|
|
2922
|
+
} & CreateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2923
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2924
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2925
|
+
export const listSmsRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2926
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2927
|
+
} & ListSmsRecordsData) => import("@hey-api/client-fetch").RequestResult<ListSmsRecordsResponse, unknown, ThrowOnError>;
|
|
2928
|
+
export const getSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2929
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2930
|
+
} & GetSmsRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2931
|
+
export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2420
2932
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2421
2933
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2422
2934
|
cache?: RequestCache;
|
|
@@ -2438,11 +2950,13 @@ export const sendSms: <ThrowOnError extends boolean = false>(options: {
|
|
|
2438
2950
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2439
2951
|
throwOnError?: ThrowOnError;
|
|
2440
2952
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2441
|
-
} &
|
|
2953
|
+
} & UpdateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2442
2954
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2443
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<
|
|
2444
|
-
export const
|
|
2445
|
-
|
|
2955
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2956
|
+
export const deleteSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2957
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2958
|
+
} & DeleteSmsRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2959
|
+
export const listIndustries: <ThrowOnError extends boolean = false>(options?: {
|
|
2446
2960
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2447
2961
|
cache?: RequestCache;
|
|
2448
2962
|
credentials?: RequestCredentials;
|
|
@@ -2463,17 +2977,8 @@ export const createSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
|
2463
2977
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2464
2978
|
throwOnError?: ThrowOnError;
|
|
2465
2979
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2466
|
-
}
|
|
2467
|
-
|
|
2468
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2469
|
-
export const listSmsRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2470
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2471
|
-
} & ListSmsRecordsData) => import("@hey-api/client-fetch").RequestResult<ListSmsRecordsResponse, unknown, ThrowOnError>;
|
|
2472
|
-
export const getSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2473
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2474
|
-
} & GetSmsRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2475
|
-
export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2476
|
-
headers?: Record<string, unknown> | HeadersInit;
|
|
2980
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListIndustriesResponse, unknown, ThrowOnError>;
|
|
2981
|
+
export const listRegions: <ThrowOnError extends boolean = false>(options?: {
|
|
2477
2982
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2478
2983
|
cache?: RequestCache;
|
|
2479
2984
|
credentials?: RequestCredentials;
|
|
@@ -2494,11 +2999,6 @@ export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
|
2494
2999
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2495
3000
|
throwOnError?: ThrowOnError;
|
|
2496
3001
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2497
|
-
}
|
|
2498
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2499
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2500
|
-
export const deleteSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2501
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2502
|
-
} & DeleteSmsRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
3002
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListRegionsResponse, unknown, ThrowOnError>;
|
|
2503
3003
|
|
|
2504
3004
|
//# sourceMappingURL=types.d.ts.map
|