@36node/auth-sdk 1.1.1-pr-7-281e214970 → 1.1.1-pr-7-1d68cf28da
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 +84 -29
- package/dist/main.js.map +1 -1
- package/dist/module.js +85 -30
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +137 -40
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -213,6 +213,19 @@ const $00d9c40198a72115$export$424b0b82fa10bdfa = {
|
|
|
213
213
|
type: "boolean",
|
|
214
214
|
description: "\u662F\u5426\u542F\u7528"
|
|
215
215
|
},
|
|
216
|
+
inviteCode: {
|
|
217
|
+
type: "string",
|
|
218
|
+
description: "\u9080\u8BF7\u7801"
|
|
219
|
+
},
|
|
220
|
+
status: {
|
|
221
|
+
type: "string",
|
|
222
|
+
description: "\u72B6\u6001"
|
|
223
|
+
},
|
|
224
|
+
expireAt: {
|
|
225
|
+
format: "date-time",
|
|
226
|
+
type: "string",
|
|
227
|
+
description: "\u8FC7\u671F\u65F6\u95F4"
|
|
228
|
+
},
|
|
216
229
|
id: {
|
|
217
230
|
type: "string",
|
|
218
231
|
description: "Entity id"
|
|
@@ -592,6 +605,19 @@ const $00d9c40198a72115$export$42fb86b793a2c536 = {
|
|
|
592
605
|
active: {
|
|
593
606
|
type: "boolean",
|
|
594
607
|
description: "\u662F\u5426\u542F\u7528"
|
|
608
|
+
},
|
|
609
|
+
inviteCode: {
|
|
610
|
+
type: "string",
|
|
611
|
+
description: "\u9080\u8BF7\u7801"
|
|
612
|
+
},
|
|
613
|
+
status: {
|
|
614
|
+
type: "string",
|
|
615
|
+
description: "\u72B6\u6001"
|
|
616
|
+
},
|
|
617
|
+
expireAt: {
|
|
618
|
+
format: "date-time",
|
|
619
|
+
type: "string",
|
|
620
|
+
description: "\u8FC7\u671F\u65F6\u95F4"
|
|
595
621
|
}
|
|
596
622
|
}
|
|
597
623
|
};
|
|
@@ -709,6 +735,19 @@ const $00d9c40198a72115$export$1b308892cefd8e3e = {
|
|
|
709
735
|
active: {
|
|
710
736
|
type: "boolean",
|
|
711
737
|
description: "\u662F\u5426\u542F\u7528"
|
|
738
|
+
},
|
|
739
|
+
inviteCode: {
|
|
740
|
+
type: "string",
|
|
741
|
+
description: "\u9080\u8BF7\u7801"
|
|
742
|
+
},
|
|
743
|
+
status: {
|
|
744
|
+
type: "string",
|
|
745
|
+
description: "\u72B6\u6001"
|
|
746
|
+
},
|
|
747
|
+
expireAt: {
|
|
748
|
+
format: "date-time",
|
|
749
|
+
type: "string",
|
|
750
|
+
description: "\u8FC7\u671F\u65F6\u95F4"
|
|
712
751
|
}
|
|
713
752
|
}
|
|
714
753
|
};
|
|
@@ -780,13 +819,17 @@ const $00d9c40198a72115$export$3a0f0f379fb2f43f = {
|
|
|
780
819
|
type: "boolean",
|
|
781
820
|
description: "\u662F\u5426\u542F\u7528"
|
|
782
821
|
},
|
|
783
|
-
company: {
|
|
784
|
-
type: "string",
|
|
785
|
-
description: "\u516C\u53F8"
|
|
786
|
-
},
|
|
787
822
|
defaultPassword: {
|
|
788
823
|
type: "string",
|
|
789
824
|
description: "\u9ED8\u8BA4\u5BC6\u7801"
|
|
825
|
+
},
|
|
826
|
+
exportable: {
|
|
827
|
+
type: "boolean",
|
|
828
|
+
description: "\u662F\u5426\u53EF\u5BFC\u51FA"
|
|
829
|
+
},
|
|
830
|
+
userCount: {
|
|
831
|
+
type: "number",
|
|
832
|
+
description: "\u4EBA\u6570"
|
|
790
833
|
}
|
|
791
834
|
},
|
|
792
835
|
required: [
|
|
@@ -837,14 +880,18 @@ const $00d9c40198a72115$export$fef09edac2f41dd6 = {
|
|
|
837
880
|
type: "boolean",
|
|
838
881
|
description: "\u662F\u5426\u542F\u7528"
|
|
839
882
|
},
|
|
840
|
-
company: {
|
|
841
|
-
type: "string",
|
|
842
|
-
description: "\u516C\u53F8"
|
|
843
|
-
},
|
|
844
883
|
defaultPassword: {
|
|
845
884
|
type: "string",
|
|
846
885
|
description: "\u9ED8\u8BA4\u5BC6\u7801"
|
|
847
886
|
},
|
|
887
|
+
exportable: {
|
|
888
|
+
type: "boolean",
|
|
889
|
+
description: "\u662F\u5426\u53EF\u5BFC\u51FA"
|
|
890
|
+
},
|
|
891
|
+
userCount: {
|
|
892
|
+
type: "number",
|
|
893
|
+
description: "\u4EBA\u6570"
|
|
894
|
+
},
|
|
848
895
|
id: {
|
|
849
896
|
type: "string",
|
|
850
897
|
description: "Entity id"
|
|
@@ -907,13 +954,17 @@ const $00d9c40198a72115$export$532a2356385b479a = {
|
|
|
907
954
|
type: "boolean",
|
|
908
955
|
description: "\u662F\u5426\u542F\u7528"
|
|
909
956
|
},
|
|
910
|
-
company: {
|
|
911
|
-
type: "string",
|
|
912
|
-
description: "\u516C\u53F8"
|
|
913
|
-
},
|
|
914
957
|
defaultPassword: {
|
|
915
958
|
type: "string",
|
|
916
959
|
description: "\u9ED8\u8BA4\u5BC6\u7801"
|
|
960
|
+
},
|
|
961
|
+
exportable: {
|
|
962
|
+
type: "boolean",
|
|
963
|
+
description: "\u662F\u5426\u53EF\u5BFC\u51FA"
|
|
964
|
+
},
|
|
965
|
+
userCount: {
|
|
966
|
+
type: "number",
|
|
967
|
+
description: "\u4EBA\u6570"
|
|
917
968
|
}
|
|
918
969
|
}
|
|
919
970
|
};
|
|
@@ -1295,10 +1346,6 @@ const $00d9c40198a72115$export$f82ca5b68f88f064 = {
|
|
|
1295
1346
|
type: "string",
|
|
1296
1347
|
description: "\u540D\u79F0"
|
|
1297
1348
|
},
|
|
1298
|
-
ns: {
|
|
1299
|
-
type: "string",
|
|
1300
|
-
description: "\u6240\u5C5E\u547D\u540D\u7A7A\u95F4"
|
|
1301
|
-
},
|
|
1302
1349
|
permissions: {
|
|
1303
1350
|
description: "\u6743\u9650",
|
|
1304
1351
|
type: "array",
|
|
@@ -1309,6 +1356,10 @@ const $00d9c40198a72115$export$f82ca5b68f88f064 = {
|
|
|
1309
1356
|
active: {
|
|
1310
1357
|
type: "boolean",
|
|
1311
1358
|
description: "\u662F\u5426\u542F\u7528"
|
|
1359
|
+
},
|
|
1360
|
+
userCount: {
|
|
1361
|
+
type: "number",
|
|
1362
|
+
description: "\u4EBA\u6570"
|
|
1312
1363
|
}
|
|
1313
1364
|
},
|
|
1314
1365
|
required: [
|
|
@@ -1322,10 +1373,6 @@ const $00d9c40198a72115$export$c90c1d4bd95ad384 = {
|
|
|
1322
1373
|
type: "string",
|
|
1323
1374
|
description: "\u540D\u79F0"
|
|
1324
1375
|
},
|
|
1325
|
-
ns: {
|
|
1326
|
-
type: "string",
|
|
1327
|
-
description: "\u6240\u5C5E\u547D\u540D\u7A7A\u95F4"
|
|
1328
|
-
},
|
|
1329
1376
|
permissions: {
|
|
1330
1377
|
description: "\u6743\u9650",
|
|
1331
1378
|
type: "array",
|
|
@@ -1337,6 +1384,10 @@ const $00d9c40198a72115$export$c90c1d4bd95ad384 = {
|
|
|
1337
1384
|
type: "boolean",
|
|
1338
1385
|
description: "\u662F\u5426\u542F\u7528"
|
|
1339
1386
|
},
|
|
1387
|
+
userCount: {
|
|
1388
|
+
type: "number",
|
|
1389
|
+
description: "\u4EBA\u6570"
|
|
1390
|
+
},
|
|
1340
1391
|
id: {
|
|
1341
1392
|
type: "string",
|
|
1342
1393
|
description: "Entity id"
|
|
@@ -1372,10 +1423,6 @@ const $00d9c40198a72115$export$1003ec321a8b124 = {
|
|
|
1372
1423
|
type: "string",
|
|
1373
1424
|
description: "\u540D\u79F0"
|
|
1374
1425
|
},
|
|
1375
|
-
ns: {
|
|
1376
|
-
type: "string",
|
|
1377
|
-
description: "\u6240\u5C5E\u547D\u540D\u7A7A\u95F4"
|
|
1378
|
-
},
|
|
1379
1426
|
permissions: {
|
|
1380
1427
|
description: "\u6743\u9650",
|
|
1381
1428
|
type: "array",
|
|
@@ -1386,11 +1433,12 @@ const $00d9c40198a72115$export$1003ec321a8b124 = {
|
|
|
1386
1433
|
active: {
|
|
1387
1434
|
type: "boolean",
|
|
1388
1435
|
description: "\u662F\u5426\u542F\u7528"
|
|
1436
|
+
},
|
|
1437
|
+
userCount: {
|
|
1438
|
+
type: "number",
|
|
1439
|
+
description: "\u4EBA\u6570"
|
|
1389
1440
|
}
|
|
1390
|
-
}
|
|
1391
|
-
required: [
|
|
1392
|
-
"name"
|
|
1393
|
-
]
|
|
1441
|
+
}
|
|
1394
1442
|
};
|
|
1395
1443
|
const $00d9c40198a72115$export$fd4976cd1b633c9 = {
|
|
1396
1444
|
type: "object",
|
|
@@ -1595,6 +1643,7 @@ $parcel$export($f3613dc0d7a37c99$exports, "listUsers", () => $f3613dc0d7a37c99$e
|
|
|
1595
1643
|
$parcel$export($f3613dc0d7a37c99$exports, "getUser", () => $f3613dc0d7a37c99$export$7cbf767827cd68ba);
|
|
1596
1644
|
$parcel$export($f3613dc0d7a37c99$exports, "updateUser", () => $f3613dc0d7a37c99$export$e3ac7a5d19605772);
|
|
1597
1645
|
$parcel$export($f3613dc0d7a37c99$exports, "deleteUser", () => $f3613dc0d7a37c99$export$7d0f10f273c0438a);
|
|
1646
|
+
$parcel$export($f3613dc0d7a37c99$exports, "upsertUserByEmployeeId", () => $f3613dc0d7a37c99$export$6bae5989866b69dc);
|
|
1598
1647
|
$parcel$export($f3613dc0d7a37c99$exports, "verifyIdentity", () => $f3613dc0d7a37c99$export$ba1d92ba04505a80);
|
|
1599
1648
|
$parcel$export($f3613dc0d7a37c99$exports, "resetPassword", () => $f3613dc0d7a37c99$export$dc726c8e334dd814);
|
|
1600
1649
|
$parcel$export($f3613dc0d7a37c99$exports, "updatePassword", () => $f3613dc0d7a37c99$export$e2853351e15b7895);
|
|
@@ -1719,6 +1768,12 @@ const $f3613dc0d7a37c99$export$7d0f10f273c0438a = (options)=>{
|
|
|
1719
1768
|
url: "/users/{userId}"
|
|
1720
1769
|
});
|
|
1721
1770
|
};
|
|
1771
|
+
const $f3613dc0d7a37c99$export$6bae5989866b69dc = (options)=>{
|
|
1772
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
|
|
1773
|
+
...options,
|
|
1774
|
+
url: "/users/employee/{userEmployeeId}"
|
|
1775
|
+
});
|
|
1776
|
+
};
|
|
1722
1777
|
const $f3613dc0d7a37c99$export$ba1d92ba04505a80 = (options)=>{
|
|
1723
1778
|
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
|
|
1724
1779
|
...options,
|
|
@@ -1758,7 +1813,7 @@ const $f3613dc0d7a37c99$export$becf4f9e48e6290a = (options)=>{
|
|
|
1758
1813
|
const $f3613dc0d7a37c99$export$9c52b148e3e82e = (options)=>{
|
|
1759
1814
|
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
|
|
1760
1815
|
...options,
|
|
1761
|
-
url: "/namespaces/{
|
|
1816
|
+
url: "/namespaces/{namespaceIdOrKey}"
|
|
1762
1817
|
});
|
|
1763
1818
|
};
|
|
1764
1819
|
const $f3613dc0d7a37c99$export$4b83ac7774adea2f = (options)=>{
|