@36node/auth-sdk 1.1.1-pr-7-6599a4d843 → 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 +210 -13
- package/dist/main.js.map +1 -1
- package/dist/module.js +211 -14
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +337 -21
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -55,6 +55,9 @@ $parcel$export($00d9c40198a72115$exports, "$CreateEmailRecordDto", () => $00d9c4
|
|
|
55
55
|
$parcel$export($00d9c40198a72115$exports, "$EmailRecord", () => $00d9c40198a72115$export$96180cdcc4bc745c);
|
|
56
56
|
$parcel$export($00d9c40198a72115$exports, "$UpdateEmailRecordDto", () => $00d9c40198a72115$export$f581847698cf72b6);
|
|
57
57
|
$parcel$export($00d9c40198a72115$exports, "$Industry", () => $00d9c40198a72115$export$86e7567d0e80a3fd);
|
|
58
|
+
$parcel$export($00d9c40198a72115$exports, "$CreateGroupDto", () => $00d9c40198a72115$export$f82ca5b68f88f064);
|
|
59
|
+
$parcel$export($00d9c40198a72115$exports, "$Group", () => $00d9c40198a72115$export$c90c1d4bd95ad384);
|
|
60
|
+
$parcel$export($00d9c40198a72115$exports, "$UpdateGroupDto", () => $00d9c40198a72115$export$1003ec321a8b124);
|
|
58
61
|
$parcel$export($00d9c40198a72115$exports, "$Region", () => $00d9c40198a72115$export$fd4976cd1b633c9);
|
|
59
62
|
$parcel$export($00d9c40198a72115$exports, "$SendSmsDto", () => $00d9c40198a72115$export$9af4a86888b337b1);
|
|
60
63
|
$parcel$export($00d9c40198a72115$exports, "$SmsStatus", () => $00d9c40198a72115$export$d1050030e8300ed6);
|
|
@@ -210,6 +213,19 @@ const $00d9c40198a72115$export$424b0b82fa10bdfa = {
|
|
|
210
213
|
type: "boolean",
|
|
211
214
|
description: "\u662F\u5426\u542F\u7528"
|
|
212
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
|
+
},
|
|
213
229
|
id: {
|
|
214
230
|
type: "string",
|
|
215
231
|
description: "Entity id"
|
|
@@ -589,6 +605,19 @@ const $00d9c40198a72115$export$42fb86b793a2c536 = {
|
|
|
589
605
|
active: {
|
|
590
606
|
type: "boolean",
|
|
591
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"
|
|
592
621
|
}
|
|
593
622
|
}
|
|
594
623
|
};
|
|
@@ -706,6 +735,19 @@ const $00d9c40198a72115$export$1b308892cefd8e3e = {
|
|
|
706
735
|
active: {
|
|
707
736
|
type: "boolean",
|
|
708
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"
|
|
709
751
|
}
|
|
710
752
|
}
|
|
711
753
|
};
|
|
@@ -777,13 +819,17 @@ const $00d9c40198a72115$export$3a0f0f379fb2f43f = {
|
|
|
777
819
|
type: "boolean",
|
|
778
820
|
description: "\u662F\u5426\u542F\u7528"
|
|
779
821
|
},
|
|
780
|
-
company: {
|
|
781
|
-
type: "string",
|
|
782
|
-
description: "\u516C\u53F8"
|
|
783
|
-
},
|
|
784
822
|
defaultPassword: {
|
|
785
823
|
type: "string",
|
|
786
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"
|
|
787
833
|
}
|
|
788
834
|
},
|
|
789
835
|
required: [
|
|
@@ -834,14 +880,18 @@ const $00d9c40198a72115$export$fef09edac2f41dd6 = {
|
|
|
834
880
|
type: "boolean",
|
|
835
881
|
description: "\u662F\u5426\u542F\u7528"
|
|
836
882
|
},
|
|
837
|
-
company: {
|
|
838
|
-
type: "string",
|
|
839
|
-
description: "\u516C\u53F8"
|
|
840
|
-
},
|
|
841
883
|
defaultPassword: {
|
|
842
884
|
type: "string",
|
|
843
885
|
description: "\u9ED8\u8BA4\u5BC6\u7801"
|
|
844
886
|
},
|
|
887
|
+
exportable: {
|
|
888
|
+
type: "boolean",
|
|
889
|
+
description: "\u662F\u5426\u53EF\u5BFC\u51FA"
|
|
890
|
+
},
|
|
891
|
+
userCount: {
|
|
892
|
+
type: "number",
|
|
893
|
+
description: "\u4EBA\u6570"
|
|
894
|
+
},
|
|
845
895
|
id: {
|
|
846
896
|
type: "string",
|
|
847
897
|
description: "Entity id"
|
|
@@ -904,13 +954,17 @@ const $00d9c40198a72115$export$532a2356385b479a = {
|
|
|
904
954
|
type: "boolean",
|
|
905
955
|
description: "\u662F\u5426\u542F\u7528"
|
|
906
956
|
},
|
|
907
|
-
company: {
|
|
908
|
-
type: "string",
|
|
909
|
-
description: "\u516C\u53F8"
|
|
910
|
-
},
|
|
911
957
|
defaultPassword: {
|
|
912
958
|
type: "string",
|
|
913
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"
|
|
914
968
|
}
|
|
915
969
|
}
|
|
916
970
|
};
|
|
@@ -1285,6 +1339,107 @@ const $00d9c40198a72115$export$86e7567d0e80a3fd = {
|
|
|
1285
1339
|
"children"
|
|
1286
1340
|
]
|
|
1287
1341
|
};
|
|
1342
|
+
const $00d9c40198a72115$export$f82ca5b68f88f064 = {
|
|
1343
|
+
type: "object",
|
|
1344
|
+
properties: {
|
|
1345
|
+
name: {
|
|
1346
|
+
type: "string",
|
|
1347
|
+
description: "\u540D\u79F0"
|
|
1348
|
+
},
|
|
1349
|
+
permissions: {
|
|
1350
|
+
description: "\u6743\u9650",
|
|
1351
|
+
type: "array",
|
|
1352
|
+
items: {
|
|
1353
|
+
type: "string"
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
active: {
|
|
1357
|
+
type: "boolean",
|
|
1358
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
1359
|
+
},
|
|
1360
|
+
userCount: {
|
|
1361
|
+
type: "number",
|
|
1362
|
+
description: "\u4EBA\u6570"
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
required: [
|
|
1366
|
+
"name"
|
|
1367
|
+
]
|
|
1368
|
+
};
|
|
1369
|
+
const $00d9c40198a72115$export$c90c1d4bd95ad384 = {
|
|
1370
|
+
type: "object",
|
|
1371
|
+
properties: {
|
|
1372
|
+
name: {
|
|
1373
|
+
type: "string",
|
|
1374
|
+
description: "\u540D\u79F0"
|
|
1375
|
+
},
|
|
1376
|
+
permissions: {
|
|
1377
|
+
description: "\u6743\u9650",
|
|
1378
|
+
type: "array",
|
|
1379
|
+
items: {
|
|
1380
|
+
type: "string"
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
active: {
|
|
1384
|
+
type: "boolean",
|
|
1385
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
1386
|
+
},
|
|
1387
|
+
userCount: {
|
|
1388
|
+
type: "number",
|
|
1389
|
+
description: "\u4EBA\u6570"
|
|
1390
|
+
},
|
|
1391
|
+
id: {
|
|
1392
|
+
type: "string",
|
|
1393
|
+
description: "Entity id"
|
|
1394
|
+
},
|
|
1395
|
+
createdAt: {
|
|
1396
|
+
format: "date-time",
|
|
1397
|
+
type: "string",
|
|
1398
|
+
description: "Entity created at when"
|
|
1399
|
+
},
|
|
1400
|
+
updatedAt: {
|
|
1401
|
+
format: "date-time",
|
|
1402
|
+
type: "string",
|
|
1403
|
+
description: "Entity updated at when"
|
|
1404
|
+
},
|
|
1405
|
+
createdBy: {
|
|
1406
|
+
type: "string",
|
|
1407
|
+
description: "Entity created by who"
|
|
1408
|
+
},
|
|
1409
|
+
updatedBy: {
|
|
1410
|
+
type: "string",
|
|
1411
|
+
description: "Entity updated by who"
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
required: [
|
|
1415
|
+
"name",
|
|
1416
|
+
"id"
|
|
1417
|
+
]
|
|
1418
|
+
};
|
|
1419
|
+
const $00d9c40198a72115$export$1003ec321a8b124 = {
|
|
1420
|
+
type: "object",
|
|
1421
|
+
properties: {
|
|
1422
|
+
name: {
|
|
1423
|
+
type: "string",
|
|
1424
|
+
description: "\u540D\u79F0"
|
|
1425
|
+
},
|
|
1426
|
+
permissions: {
|
|
1427
|
+
description: "\u6743\u9650",
|
|
1428
|
+
type: "array",
|
|
1429
|
+
items: {
|
|
1430
|
+
type: "string"
|
|
1431
|
+
}
|
|
1432
|
+
},
|
|
1433
|
+
active: {
|
|
1434
|
+
type: "boolean",
|
|
1435
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
1436
|
+
},
|
|
1437
|
+
userCount: {
|
|
1438
|
+
type: "number",
|
|
1439
|
+
description: "\u4EBA\u6570"
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
};
|
|
1288
1443
|
const $00d9c40198a72115$export$fd4976cd1b633c9 = {
|
|
1289
1444
|
type: "object",
|
|
1290
1445
|
properties: {
|
|
@@ -1488,6 +1643,7 @@ $parcel$export($f3613dc0d7a37c99$exports, "listUsers", () => $f3613dc0d7a37c99$e
|
|
|
1488
1643
|
$parcel$export($f3613dc0d7a37c99$exports, "getUser", () => $f3613dc0d7a37c99$export$7cbf767827cd68ba);
|
|
1489
1644
|
$parcel$export($f3613dc0d7a37c99$exports, "updateUser", () => $f3613dc0d7a37c99$export$e3ac7a5d19605772);
|
|
1490
1645
|
$parcel$export($f3613dc0d7a37c99$exports, "deleteUser", () => $f3613dc0d7a37c99$export$7d0f10f273c0438a);
|
|
1646
|
+
$parcel$export($f3613dc0d7a37c99$exports, "upsertUserByEmployeeId", () => $f3613dc0d7a37c99$export$6bae5989866b69dc);
|
|
1491
1647
|
$parcel$export($f3613dc0d7a37c99$exports, "verifyIdentity", () => $f3613dc0d7a37c99$export$ba1d92ba04505a80);
|
|
1492
1648
|
$parcel$export($f3613dc0d7a37c99$exports, "resetPassword", () => $f3613dc0d7a37c99$export$dc726c8e334dd814);
|
|
1493
1649
|
$parcel$export($f3613dc0d7a37c99$exports, "updatePassword", () => $f3613dc0d7a37c99$export$e2853351e15b7895);
|
|
@@ -1513,6 +1669,11 @@ $parcel$export($f3613dc0d7a37c99$exports, "getEmailRecord", () => $f3613dc0d7a37
|
|
|
1513
1669
|
$parcel$export($f3613dc0d7a37c99$exports, "updateEmailRecord", () => $f3613dc0d7a37c99$export$340a3b15edf5320b);
|
|
1514
1670
|
$parcel$export($f3613dc0d7a37c99$exports, "deleteEmailRecord", () => $f3613dc0d7a37c99$export$47732292698093e5);
|
|
1515
1671
|
$parcel$export($f3613dc0d7a37c99$exports, "listIndustries", () => $f3613dc0d7a37c99$export$6a657f882af8e729);
|
|
1672
|
+
$parcel$export($f3613dc0d7a37c99$exports, "createGroup", () => $f3613dc0d7a37c99$export$856f728536d122cb);
|
|
1673
|
+
$parcel$export($f3613dc0d7a37c99$exports, "listGroups", () => $f3613dc0d7a37c99$export$6e0114716bd43025);
|
|
1674
|
+
$parcel$export($f3613dc0d7a37c99$exports, "getGroup", () => $f3613dc0d7a37c99$export$dd8fe8767b0c9948);
|
|
1675
|
+
$parcel$export($f3613dc0d7a37c99$exports, "updateGroup", () => $f3613dc0d7a37c99$export$7266cde9e95c4de8);
|
|
1676
|
+
$parcel$export($f3613dc0d7a37c99$exports, "deleteGroup", () => $f3613dc0d7a37c99$export$ae2679b329fc10b6);
|
|
1516
1677
|
$parcel$export($f3613dc0d7a37c99$exports, "listRegions", () => $f3613dc0d7a37c99$export$40295cce70884665);
|
|
1517
1678
|
$parcel$export($f3613dc0d7a37c99$exports, "sendSms", () => $f3613dc0d7a37c99$export$fe12addabe061498);
|
|
1518
1679
|
$parcel$export($f3613dc0d7a37c99$exports, "createSmsRecord", () => $f3613dc0d7a37c99$export$89ba073eddabee7c);
|
|
@@ -1607,6 +1768,12 @@ const $f3613dc0d7a37c99$export$7d0f10f273c0438a = (options)=>{
|
|
|
1607
1768
|
url: "/users/{userId}"
|
|
1608
1769
|
});
|
|
1609
1770
|
};
|
|
1771
|
+
const $f3613dc0d7a37c99$export$6bae5989866b69dc = (options)=>{
|
|
1772
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
|
|
1773
|
+
...options,
|
|
1774
|
+
url: "/users/employee/{userEmployeeId}"
|
|
1775
|
+
});
|
|
1776
|
+
};
|
|
1610
1777
|
const $f3613dc0d7a37c99$export$ba1d92ba04505a80 = (options)=>{
|
|
1611
1778
|
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
|
|
1612
1779
|
...options,
|
|
@@ -1646,7 +1813,7 @@ const $f3613dc0d7a37c99$export$becf4f9e48e6290a = (options)=>{
|
|
|
1646
1813
|
const $f3613dc0d7a37c99$export$9c52b148e3e82e = (options)=>{
|
|
1647
1814
|
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
|
|
1648
1815
|
...options,
|
|
1649
|
-
url: "/namespaces/{
|
|
1816
|
+
url: "/namespaces/{namespaceIdOrKey}"
|
|
1650
1817
|
});
|
|
1651
1818
|
};
|
|
1652
1819
|
const $f3613dc0d7a37c99$export$4b83ac7774adea2f = (options)=>{
|
|
@@ -1757,6 +1924,36 @@ const $f3613dc0d7a37c99$export$6a657f882af8e729 = (options)=>{
|
|
|
1757
1924
|
url: "/industries"
|
|
1758
1925
|
});
|
|
1759
1926
|
};
|
|
1927
|
+
const $f3613dc0d7a37c99$export$856f728536d122cb = (options)=>{
|
|
1928
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
|
|
1929
|
+
...options,
|
|
1930
|
+
url: "/groups"
|
|
1931
|
+
});
|
|
1932
|
+
};
|
|
1933
|
+
const $f3613dc0d7a37c99$export$6e0114716bd43025 = (options)=>{
|
|
1934
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
|
|
1935
|
+
...options,
|
|
1936
|
+
url: "/groups"
|
|
1937
|
+
});
|
|
1938
|
+
};
|
|
1939
|
+
const $f3613dc0d7a37c99$export$dd8fe8767b0c9948 = (options)=>{
|
|
1940
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
|
|
1941
|
+
...options,
|
|
1942
|
+
url: "/groups/{groupIdOrName}"
|
|
1943
|
+
});
|
|
1944
|
+
};
|
|
1945
|
+
const $f3613dc0d7a37c99$export$7266cde9e95c4de8 = (options)=>{
|
|
1946
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
|
|
1947
|
+
...options,
|
|
1948
|
+
url: "/groups/{groupId}"
|
|
1949
|
+
});
|
|
1950
|
+
};
|
|
1951
|
+
const $f3613dc0d7a37c99$export$ae2679b329fc10b6 = (options)=>{
|
|
1952
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).delete({
|
|
1953
|
+
...options,
|
|
1954
|
+
url: "/groups/{groupId}"
|
|
1955
|
+
});
|
|
1956
|
+
};
|
|
1760
1957
|
const $f3613dc0d7a37c99$export$40295cce70884665 = (options)=>{
|
|
1761
1958
|
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
|
|
1762
1959
|
...options,
|