@36node/auth-sdk 1.1.1-pr-7-1d68cf28da → 1.1.1-pr-9-615de97e1e
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 +1 -304
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -305
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +6 -446
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -114,37 +114,6 @@ 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
117
|
readonly status: {
|
|
149
118
|
readonly type: "string";
|
|
150
119
|
readonly description: "状态";
|
|
@@ -460,32 +429,6 @@ export const $CreateUserDto: {
|
|
|
460
429
|
readonly type: "string";
|
|
461
430
|
readonly description: "用户名";
|
|
462
431
|
};
|
|
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
432
|
readonly status: {
|
|
490
433
|
readonly type: "string";
|
|
491
434
|
readonly description: "状态";
|
|
@@ -585,37 +528,6 @@ export const $UpdateUserDto: {
|
|
|
585
528
|
readonly type: "string";
|
|
586
529
|
readonly description: "用户名";
|
|
587
530
|
};
|
|
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
531
|
readonly status: {
|
|
620
532
|
readonly type: "string";
|
|
621
533
|
readonly description: "状态";
|
|
@@ -680,29 +592,6 @@ export const $CreateNamespaceDto: {
|
|
|
680
592
|
readonly type: "string";
|
|
681
593
|
readonly description: "所属的 namespace";
|
|
682
594
|
};
|
|
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
|
-
};
|
|
706
595
|
};
|
|
707
596
|
readonly required: readonly ["name", "key"];
|
|
708
597
|
};
|
|
@@ -736,29 +625,6 @@ export const $Namespace: {
|
|
|
736
625
|
readonly type: "string";
|
|
737
626
|
readonly description: "所属的 namespace";
|
|
738
627
|
};
|
|
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
|
-
};
|
|
762
628
|
readonly id: {
|
|
763
629
|
readonly type: "string";
|
|
764
630
|
readonly description: "Entity id";
|
|
@@ -806,29 +672,6 @@ export const $UpdateNamespaceDto: {
|
|
|
806
672
|
readonly type: "string";
|
|
807
673
|
readonly description: "名称";
|
|
808
674
|
};
|
|
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
|
-
};
|
|
832
675
|
};
|
|
833
676
|
};
|
|
834
677
|
export const $CreateSessionDto: {
|
|
@@ -1160,102 +1003,6 @@ export const $Industry: {
|
|
|
1160
1003
|
};
|
|
1161
1004
|
readonly required: readonly ["code", "name", "children"];
|
|
1162
1005
|
};
|
|
1163
|
-
export const $CreateGroupDto: {
|
|
1164
|
-
readonly type: "object";
|
|
1165
|
-
readonly properties: {
|
|
1166
|
-
readonly name: {
|
|
1167
|
-
readonly type: "string";
|
|
1168
|
-
readonly description: "名称";
|
|
1169
|
-
};
|
|
1170
|
-
readonly permissions: {
|
|
1171
|
-
readonly description: "权限";
|
|
1172
|
-
readonly type: "array";
|
|
1173
|
-
readonly items: {
|
|
1174
|
-
readonly type: "string";
|
|
1175
|
-
};
|
|
1176
|
-
};
|
|
1177
|
-
readonly active: {
|
|
1178
|
-
readonly type: "boolean";
|
|
1179
|
-
readonly description: "是否启用";
|
|
1180
|
-
};
|
|
1181
|
-
readonly userCount: {
|
|
1182
|
-
readonly type: "number";
|
|
1183
|
-
readonly description: "人数";
|
|
1184
|
-
};
|
|
1185
|
-
};
|
|
1186
|
-
readonly required: readonly ["name"];
|
|
1187
|
-
};
|
|
1188
|
-
export const $Group: {
|
|
1189
|
-
readonly type: "object";
|
|
1190
|
-
readonly properties: {
|
|
1191
|
-
readonly name: {
|
|
1192
|
-
readonly type: "string";
|
|
1193
|
-
readonly description: "名称";
|
|
1194
|
-
};
|
|
1195
|
-
readonly permissions: {
|
|
1196
|
-
readonly description: "权限";
|
|
1197
|
-
readonly type: "array";
|
|
1198
|
-
readonly items: {
|
|
1199
|
-
readonly type: "string";
|
|
1200
|
-
};
|
|
1201
|
-
};
|
|
1202
|
-
readonly active: {
|
|
1203
|
-
readonly type: "boolean";
|
|
1204
|
-
readonly description: "是否启用";
|
|
1205
|
-
};
|
|
1206
|
-
readonly userCount: {
|
|
1207
|
-
readonly type: "number";
|
|
1208
|
-
readonly description: "人数";
|
|
1209
|
-
};
|
|
1210
|
-
readonly id: {
|
|
1211
|
-
readonly type: "string";
|
|
1212
|
-
readonly description: "Entity id";
|
|
1213
|
-
};
|
|
1214
|
-
readonly createdAt: {
|
|
1215
|
-
readonly format: "date-time";
|
|
1216
|
-
readonly type: "string";
|
|
1217
|
-
readonly description: "Entity created at when";
|
|
1218
|
-
};
|
|
1219
|
-
readonly updatedAt: {
|
|
1220
|
-
readonly format: "date-time";
|
|
1221
|
-
readonly type: "string";
|
|
1222
|
-
readonly description: "Entity updated at when";
|
|
1223
|
-
};
|
|
1224
|
-
readonly createdBy: {
|
|
1225
|
-
readonly type: "string";
|
|
1226
|
-
readonly description: "Entity created by who";
|
|
1227
|
-
};
|
|
1228
|
-
readonly updatedBy: {
|
|
1229
|
-
readonly type: "string";
|
|
1230
|
-
readonly description: "Entity updated by who";
|
|
1231
|
-
};
|
|
1232
|
-
};
|
|
1233
|
-
readonly required: readonly ["name", "id"];
|
|
1234
|
-
};
|
|
1235
|
-
export const $UpdateGroupDto: {
|
|
1236
|
-
readonly type: "object";
|
|
1237
|
-
readonly properties: {
|
|
1238
|
-
readonly name: {
|
|
1239
|
-
readonly type: "string";
|
|
1240
|
-
readonly description: "名称";
|
|
1241
|
-
};
|
|
1242
|
-
readonly permissions: {
|
|
1243
|
-
readonly description: "权限";
|
|
1244
|
-
readonly type: "array";
|
|
1245
|
-
readonly items: {
|
|
1246
|
-
readonly type: "string";
|
|
1247
|
-
};
|
|
1248
|
-
};
|
|
1249
|
-
readonly active: {
|
|
1250
|
-
readonly type: "boolean";
|
|
1251
|
-
readonly description: "是否启用";
|
|
1252
|
-
};
|
|
1253
|
-
readonly userCount: {
|
|
1254
|
-
readonly type: "number";
|
|
1255
|
-
readonly description: "人数";
|
|
1256
|
-
};
|
|
1257
|
-
};
|
|
1258
|
-
};
|
|
1259
1006
|
export const $Region: {
|
|
1260
1007
|
readonly type: "object";
|
|
1261
1008
|
readonly properties: {
|
|
@@ -1445,12 +1192,6 @@ export type User = {
|
|
|
1445
1192
|
roles?: Array<string>;
|
|
1446
1193
|
super?: boolean;
|
|
1447
1194
|
username?: string;
|
|
1448
|
-
employeeId?: string;
|
|
1449
|
-
permissions?: Array<string>;
|
|
1450
|
-
groups?: Array<string>;
|
|
1451
|
-
lastLoginAt?: string;
|
|
1452
|
-
active?: boolean;
|
|
1453
|
-
inviteCode?: string;
|
|
1454
1195
|
status?: string;
|
|
1455
1196
|
expireAt?: string;
|
|
1456
1197
|
id: string;
|
|
@@ -1535,11 +1276,6 @@ export type CreateUserDto = {
|
|
|
1535
1276
|
roles?: Array<string>;
|
|
1536
1277
|
super?: boolean;
|
|
1537
1278
|
username?: string;
|
|
1538
|
-
employeeId?: string;
|
|
1539
|
-
permissions?: Array<string>;
|
|
1540
|
-
groups?: Array<string>;
|
|
1541
|
-
active?: boolean;
|
|
1542
|
-
inviteCode?: string;
|
|
1543
1279
|
status?: string;
|
|
1544
1280
|
expireAt?: string;
|
|
1545
1281
|
};
|
|
@@ -1564,12 +1300,6 @@ export type UpdateUserDto = {
|
|
|
1564
1300
|
roles?: Array<string>;
|
|
1565
1301
|
super?: boolean;
|
|
1566
1302
|
username?: string;
|
|
1567
|
-
employeeId?: string;
|
|
1568
|
-
permissions?: Array<string>;
|
|
1569
|
-
groups?: Array<string>;
|
|
1570
|
-
lastLoginAt?: string;
|
|
1571
|
-
active?: boolean;
|
|
1572
|
-
inviteCode?: string;
|
|
1573
1303
|
status?: string;
|
|
1574
1304
|
expireAt?: string;
|
|
1575
1305
|
};
|
|
@@ -1587,11 +1317,6 @@ export type CreateNamespaceDto = {
|
|
|
1587
1317
|
name: string;
|
|
1588
1318
|
key: string;
|
|
1589
1319
|
ns?: string;
|
|
1590
|
-
permissions?: Array<string>;
|
|
1591
|
-
active?: boolean;
|
|
1592
|
-
defaultPassword?: string;
|
|
1593
|
-
exportable?: boolean;
|
|
1594
|
-
userCount?: number;
|
|
1595
1320
|
};
|
|
1596
1321
|
export type Namespace = {
|
|
1597
1322
|
data?: string;
|
|
@@ -1600,11 +1325,6 @@ export type Namespace = {
|
|
|
1600
1325
|
name: string;
|
|
1601
1326
|
key: string;
|
|
1602
1327
|
ns?: string;
|
|
1603
|
-
permissions?: Array<string>;
|
|
1604
|
-
active?: boolean;
|
|
1605
|
-
defaultPassword?: string;
|
|
1606
|
-
exportable?: boolean;
|
|
1607
|
-
userCount?: number;
|
|
1608
1328
|
id: string;
|
|
1609
1329
|
createdAt?: string;
|
|
1610
1330
|
updatedAt?: string;
|
|
@@ -1616,11 +1336,6 @@ export type UpdateNamespaceDto = {
|
|
|
1616
1336
|
desc?: string;
|
|
1617
1337
|
labels?: Array<string>;
|
|
1618
1338
|
name?: string;
|
|
1619
|
-
permissions?: Array<string>;
|
|
1620
|
-
active?: boolean;
|
|
1621
|
-
defaultPassword?: string;
|
|
1622
|
-
exportable?: boolean;
|
|
1623
|
-
userCount?: number;
|
|
1624
1339
|
};
|
|
1625
1340
|
export type CreateSessionDto = {
|
|
1626
1341
|
uid: string;
|
|
@@ -1713,29 +1428,6 @@ export type Industry = {
|
|
|
1713
1428
|
name: string;
|
|
1714
1429
|
children: Array<Industry>;
|
|
1715
1430
|
};
|
|
1716
|
-
export type CreateGroupDto = {
|
|
1717
|
-
name: string;
|
|
1718
|
-
permissions?: Array<string>;
|
|
1719
|
-
active?: boolean;
|
|
1720
|
-
userCount?: number;
|
|
1721
|
-
};
|
|
1722
|
-
export type Group = {
|
|
1723
|
-
name: string;
|
|
1724
|
-
permissions?: Array<string>;
|
|
1725
|
-
active?: boolean;
|
|
1726
|
-
userCount?: number;
|
|
1727
|
-
id: string;
|
|
1728
|
-
createdAt?: string;
|
|
1729
|
-
updatedAt?: string;
|
|
1730
|
-
createdBy?: string;
|
|
1731
|
-
updatedBy?: string;
|
|
1732
|
-
};
|
|
1733
|
-
export type UpdateGroupDto = {
|
|
1734
|
-
name?: string;
|
|
1735
|
-
permissions?: Array<string>;
|
|
1736
|
-
active?: boolean;
|
|
1737
|
-
userCount?: number;
|
|
1738
|
-
};
|
|
1739
1431
|
export type Region = {
|
|
1740
1432
|
code: string;
|
|
1741
1433
|
nameZh: string;
|
|
@@ -1838,15 +1530,14 @@ export type ListUsersData = {
|
|
|
1838
1530
|
query?: {
|
|
1839
1531
|
_limit?: number;
|
|
1840
1532
|
_offset?: number;
|
|
1841
|
-
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt'
|
|
1842
|
-
active?: boolean;
|
|
1533
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
1843
1534
|
email?: string;
|
|
1844
1535
|
expireAt?: string;
|
|
1845
|
-
groups?: Array<string>;
|
|
1846
1536
|
id?: Array<string>;
|
|
1847
1537
|
name_like?: string;
|
|
1848
1538
|
nickname_like?: string;
|
|
1849
|
-
|
|
1539
|
+
ns?: Array<string>;
|
|
1540
|
+
ns_start?: Array<string>;
|
|
1850
1541
|
phone?: string;
|
|
1851
1542
|
registerRegion?: string;
|
|
1852
1543
|
roles?: Array<string>;
|
|
@@ -1879,14 +1570,6 @@ export type DeleteUserData = {
|
|
|
1879
1570
|
};
|
|
1880
1571
|
export type DeleteUserResponse = void;
|
|
1881
1572
|
export type DeleteUserError = unknown;
|
|
1882
|
-
export type UpsertUserByEmployeeIdData = {
|
|
1883
|
-
body: UpdateUserDto;
|
|
1884
|
-
path: {
|
|
1885
|
-
userEmployeeId: string;
|
|
1886
|
-
};
|
|
1887
|
-
};
|
|
1888
|
-
export type UpsertUserByEmployeeIdResponse = User;
|
|
1889
|
-
export type UpsertUserByEmployeeIdError = unknown;
|
|
1890
1573
|
export type VerifyIdentityData = {
|
|
1891
1574
|
path: {
|
|
1892
1575
|
userId: string;
|
|
@@ -1921,10 +1604,10 @@ export type ListNamespacesData = {
|
|
|
1921
1604
|
_offset?: number;
|
|
1922
1605
|
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'key' | '-key' | 'name' | '-name';
|
|
1923
1606
|
key?: string;
|
|
1924
|
-
key_tree?: string;
|
|
1925
1607
|
labels?: Array<string>;
|
|
1926
1608
|
name_like?: string;
|
|
1927
|
-
|
|
1609
|
+
ns?: Array<string>;
|
|
1610
|
+
ns_start?: Array<string>;
|
|
1928
1611
|
};
|
|
1929
1612
|
};
|
|
1930
1613
|
export type ListNamespacesResponse = Array<Namespace>;
|
|
@@ -1939,7 +1622,7 @@ export type GetNamespaceError = unknown;
|
|
|
1939
1622
|
export type UpdateNamespaceData = {
|
|
1940
1623
|
body: UpdateNamespaceDto;
|
|
1941
1624
|
path: {
|
|
1942
|
-
|
|
1625
|
+
namespaceId: string;
|
|
1943
1626
|
};
|
|
1944
1627
|
};
|
|
1945
1628
|
export type UpdateNamespaceResponse = Namespace;
|
|
@@ -2078,45 +1761,6 @@ export type DeleteEmailRecordResponse = void;
|
|
|
2078
1761
|
export type DeleteEmailRecordError = unknown;
|
|
2079
1762
|
export type ListIndustriesResponse = Array<Industry>;
|
|
2080
1763
|
export type ListIndustriesError = unknown;
|
|
2081
|
-
export type CreateGroupData = {
|
|
2082
|
-
body: CreateGroupDto;
|
|
2083
|
-
};
|
|
2084
|
-
export type CreateGroupResponse = Group;
|
|
2085
|
-
export type CreateGroupError = unknown;
|
|
2086
|
-
export type ListGroupsData = {
|
|
2087
|
-
query?: {
|
|
2088
|
-
_limit?: number;
|
|
2089
|
-
_offset?: number;
|
|
2090
|
-
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
2091
|
-
active?: boolean;
|
|
2092
|
-
name?: string;
|
|
2093
|
-
name_like?: string;
|
|
2094
|
-
};
|
|
2095
|
-
};
|
|
2096
|
-
export type ListGroupsResponse = Array<Group>;
|
|
2097
|
-
export type ListGroupsError = unknown;
|
|
2098
|
-
export type GetGroupData = {
|
|
2099
|
-
path: {
|
|
2100
|
-
groupIdOrName: string;
|
|
2101
|
-
};
|
|
2102
|
-
};
|
|
2103
|
-
export type GetGroupResponse = Group;
|
|
2104
|
-
export type GetGroupError = unknown;
|
|
2105
|
-
export type UpdateGroupData = {
|
|
2106
|
-
body: UpdateGroupDto;
|
|
2107
|
-
path: {
|
|
2108
|
-
groupId: string;
|
|
2109
|
-
};
|
|
2110
|
-
};
|
|
2111
|
-
export type UpdateGroupResponse = Group;
|
|
2112
|
-
export type UpdateGroupError = unknown;
|
|
2113
|
-
export type DeleteGroupData = {
|
|
2114
|
-
path: {
|
|
2115
|
-
groupId: string;
|
|
2116
|
-
};
|
|
2117
|
-
};
|
|
2118
|
-
export type DeleteGroupResponse = void;
|
|
2119
|
-
export type DeleteGroupError = unknown;
|
|
2120
1764
|
export type ListRegionsResponse = Array<Region>;
|
|
2121
1765
|
export type ListRegionsError = unknown;
|
|
2122
1766
|
export type SendSmsData = {
|
|
@@ -2449,31 +2093,6 @@ export const updateUser: <ThrowOnError extends boolean = false>(options: {
|
|
|
2449
2093
|
export const deleteUser: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2450
2094
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2451
2095
|
} & DeleteUserData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2452
|
-
export const upsertUserByEmployeeId: <ThrowOnError extends boolean = false>(options: {
|
|
2453
|
-
headers?: Record<string, unknown> | HeadersInit;
|
|
2454
|
-
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2455
|
-
cache?: RequestCache;
|
|
2456
|
-
credentials?: RequestCredentials;
|
|
2457
|
-
integrity?: string;
|
|
2458
|
-
keepalive?: boolean;
|
|
2459
|
-
mode?: RequestMode;
|
|
2460
|
-
redirect?: RequestRedirect;
|
|
2461
|
-
referrer?: string;
|
|
2462
|
-
referrerPolicy?: ReferrerPolicy;
|
|
2463
|
-
signal?: AbortSignal;
|
|
2464
|
-
window?: null;
|
|
2465
|
-
path?: Record<string, unknown>;
|
|
2466
|
-
query?: Record<string, unknown>;
|
|
2467
|
-
baseUrl?: string;
|
|
2468
|
-
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2469
|
-
fetch?: (request: Request) => Promise<Response>;
|
|
2470
|
-
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2471
|
-
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2472
|
-
throwOnError?: ThrowOnError;
|
|
2473
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2474
|
-
} & UpsertUserByEmployeeIdData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2475
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2476
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2477
2096
|
export const verifyIdentity: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2478
2097
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2479
2098
|
} & VerifyIdentityData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
@@ -2810,65 +2429,6 @@ export const listIndustries: <ThrowOnError extends boolean = false>(options?: {
|
|
|
2810
2429
|
throwOnError?: ThrowOnError;
|
|
2811
2430
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2812
2431
|
}) => import("@hey-api/client-fetch").RequestResult<ListIndustriesResponse, unknown, ThrowOnError>;
|
|
2813
|
-
export const createGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2814
|
-
headers?: Record<string, unknown> | HeadersInit;
|
|
2815
|
-
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2816
|
-
cache?: RequestCache;
|
|
2817
|
-
credentials?: RequestCredentials;
|
|
2818
|
-
integrity?: string;
|
|
2819
|
-
keepalive?: boolean;
|
|
2820
|
-
mode?: RequestMode;
|
|
2821
|
-
redirect?: RequestRedirect;
|
|
2822
|
-
referrer?: string;
|
|
2823
|
-
referrerPolicy?: ReferrerPolicy;
|
|
2824
|
-
signal?: AbortSignal;
|
|
2825
|
-
window?: null;
|
|
2826
|
-
path?: Record<string, unknown>;
|
|
2827
|
-
query?: Record<string, unknown>;
|
|
2828
|
-
baseUrl?: string;
|
|
2829
|
-
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2830
|
-
fetch?: (request: Request) => Promise<Response>;
|
|
2831
|
-
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2832
|
-
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2833
|
-
throwOnError?: ThrowOnError;
|
|
2834
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2835
|
-
} & CreateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2836
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2837
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2838
|
-
export const listGroups: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2839
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2840
|
-
} & ListGroupsData) => import("@hey-api/client-fetch").RequestResult<ListGroupsResponse, unknown, ThrowOnError>;
|
|
2841
|
-
export const getGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2842
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2843
|
-
} & GetGroupData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2844
|
-
export const updateGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2845
|
-
headers?: Record<string, unknown> | HeadersInit;
|
|
2846
|
-
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2847
|
-
cache?: RequestCache;
|
|
2848
|
-
credentials?: RequestCredentials;
|
|
2849
|
-
integrity?: string;
|
|
2850
|
-
keepalive?: boolean;
|
|
2851
|
-
mode?: RequestMode;
|
|
2852
|
-
redirect?: RequestRedirect;
|
|
2853
|
-
referrer?: string;
|
|
2854
|
-
referrerPolicy?: ReferrerPolicy;
|
|
2855
|
-
signal?: AbortSignal;
|
|
2856
|
-
window?: null;
|
|
2857
|
-
path?: Record<string, unknown>;
|
|
2858
|
-
query?: Record<string, unknown>;
|
|
2859
|
-
baseUrl?: string;
|
|
2860
|
-
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2861
|
-
fetch?: (request: Request) => Promise<Response>;
|
|
2862
|
-
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2863
|
-
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2864
|
-
throwOnError?: ThrowOnError;
|
|
2865
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2866
|
-
} & UpdateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2867
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2868
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2869
|
-
export const deleteGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2870
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2871
|
-
} & DeleteGroupData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2872
2432
|
export const listRegions: <ThrowOnError extends boolean = false>(options?: {
|
|
2873
2433
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2874
2434
|
cache?: RequestCache;
|