@36node/auth-sdk 1.1.1-pr-9-11103a8a9f → 1.1.1-pr-7-56907f1552
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 +316 -4
- package/dist/main.js.map +1 -1
- package/dist/module.js +317 -5
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +449 -9
- 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);
|
|
@@ -183,9 +186,43 @@ const $00d9c40198a72115$export$424b0b82fa10bdfa = {
|
|
|
183
186
|
type: "string",
|
|
184
187
|
description: "\u7528\u6237\u540D"
|
|
185
188
|
},
|
|
189
|
+
employeeId: {
|
|
190
|
+
type: "string",
|
|
191
|
+
description: `<<<<<<< HEAD
|
|
192
|
+
\u{5458}\u{5DE5}\u{7F16}\u{53F7}`
|
|
193
|
+
},
|
|
194
|
+
permissions: {
|
|
195
|
+
description: "\u6743\u9650",
|
|
196
|
+
type: "array",
|
|
197
|
+
items: {
|
|
198
|
+
type: "string"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
groups: {
|
|
202
|
+
description: "\u56E2\u961F",
|
|
203
|
+
type: "array",
|
|
204
|
+
items: {
|
|
205
|
+
type: "string"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
lastLoginAt: {
|
|
209
|
+
format: "date-time",
|
|
210
|
+
type: "string",
|
|
211
|
+
description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
|
|
212
|
+
},
|
|
213
|
+
active: {
|
|
214
|
+
type: "boolean",
|
|
215
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
216
|
+
},
|
|
217
|
+
inviteCode: {
|
|
218
|
+
type: "string",
|
|
219
|
+
description: "\u9080\u8BF7\u7801"
|
|
220
|
+
},
|
|
186
221
|
status: {
|
|
187
222
|
type: "string",
|
|
188
|
-
description:
|
|
223
|
+
description: `=======
|
|
224
|
+
>>>>>>> main
|
|
225
|
+
\u{72B6}\u{6001}`
|
|
189
226
|
},
|
|
190
227
|
expireAt: {
|
|
191
228
|
format: "date-time",
|
|
@@ -550,9 +587,38 @@ const $00d9c40198a72115$export$42fb86b793a2c536 = {
|
|
|
550
587
|
type: "string",
|
|
551
588
|
description: "\u7528\u6237\u540D"
|
|
552
589
|
},
|
|
590
|
+
employeeId: {
|
|
591
|
+
type: "string",
|
|
592
|
+
description: `<<<<<<< HEAD
|
|
593
|
+
\u{5458}\u{5DE5}\u{7F16}\u{53F7}`
|
|
594
|
+
},
|
|
595
|
+
permissions: {
|
|
596
|
+
description: "\u6743\u9650",
|
|
597
|
+
type: "array",
|
|
598
|
+
items: {
|
|
599
|
+
type: "string"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
groups: {
|
|
603
|
+
description: "\u56E2\u961F",
|
|
604
|
+
type: "array",
|
|
605
|
+
items: {
|
|
606
|
+
type: "string"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
active: {
|
|
610
|
+
type: "boolean",
|
|
611
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
612
|
+
},
|
|
613
|
+
inviteCode: {
|
|
614
|
+
type: "string",
|
|
615
|
+
description: "\u9080\u8BF7\u7801"
|
|
616
|
+
},
|
|
553
617
|
status: {
|
|
554
618
|
type: "string",
|
|
555
|
-
description:
|
|
619
|
+
description: `=======
|
|
620
|
+
>>>>>>> main
|
|
621
|
+
\u{72B6}\u{6001}`
|
|
556
622
|
},
|
|
557
623
|
expireAt: {
|
|
558
624
|
format: "date-time",
|
|
@@ -649,9 +715,43 @@ const $00d9c40198a72115$export$1b308892cefd8e3e = {
|
|
|
649
715
|
type: "string",
|
|
650
716
|
description: "\u7528\u6237\u540D"
|
|
651
717
|
},
|
|
718
|
+
employeeId: {
|
|
719
|
+
type: "string",
|
|
720
|
+
description: `<<<<<<< HEAD
|
|
721
|
+
\u{5458}\u{5DE5}\u{7F16}\u{53F7}`
|
|
722
|
+
},
|
|
723
|
+
permissions: {
|
|
724
|
+
description: "\u6743\u9650",
|
|
725
|
+
type: "array",
|
|
726
|
+
items: {
|
|
727
|
+
type: "string"
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
groups: {
|
|
731
|
+
description: "\u56E2\u961F",
|
|
732
|
+
type: "array",
|
|
733
|
+
items: {
|
|
734
|
+
type: "string"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
lastLoginAt: {
|
|
738
|
+
format: "date-time",
|
|
739
|
+
type: "string",
|
|
740
|
+
description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
|
|
741
|
+
},
|
|
742
|
+
active: {
|
|
743
|
+
type: "boolean",
|
|
744
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
745
|
+
},
|
|
746
|
+
inviteCode: {
|
|
747
|
+
type: "string",
|
|
748
|
+
description: "\u9080\u8BF7\u7801"
|
|
749
|
+
},
|
|
652
750
|
status: {
|
|
653
751
|
type: "string",
|
|
654
|
-
description:
|
|
752
|
+
description: `=======
|
|
753
|
+
>>>>>>> main
|
|
754
|
+
\u{72B6}\u{6001}`
|
|
655
755
|
},
|
|
656
756
|
expireAt: {
|
|
657
757
|
format: "date-time",
|
|
@@ -716,6 +816,29 @@ const $00d9c40198a72115$export$3a0f0f379fb2f43f = {
|
|
|
716
816
|
ns: {
|
|
717
817
|
type: "string",
|
|
718
818
|
description: "\u6240\u5C5E\u7684 namespace"
|
|
819
|
+
},
|
|
820
|
+
permissions: {
|
|
821
|
+
description: "\u6743\u9650",
|
|
822
|
+
type: "array",
|
|
823
|
+
items: {
|
|
824
|
+
type: "string"
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
active: {
|
|
828
|
+
type: "boolean",
|
|
829
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
830
|
+
},
|
|
831
|
+
defaultPassword: {
|
|
832
|
+
type: "string",
|
|
833
|
+
description: "\u9ED8\u8BA4\u5BC6\u7801"
|
|
834
|
+
},
|
|
835
|
+
exportable: {
|
|
836
|
+
type: "boolean",
|
|
837
|
+
description: "\u662F\u5426\u53EF\u5BFC\u51FA"
|
|
838
|
+
},
|
|
839
|
+
userCount: {
|
|
840
|
+
type: "number",
|
|
841
|
+
description: "\u4EBA\u6570"
|
|
719
842
|
}
|
|
720
843
|
},
|
|
721
844
|
required: [
|
|
@@ -755,6 +878,29 @@ const $00d9c40198a72115$export$fef09edac2f41dd6 = {
|
|
|
755
878
|
type: "string",
|
|
756
879
|
description: "\u6240\u5C5E\u7684 namespace"
|
|
757
880
|
},
|
|
881
|
+
permissions: {
|
|
882
|
+
description: "\u6743\u9650",
|
|
883
|
+
type: "array",
|
|
884
|
+
items: {
|
|
885
|
+
type: "string"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
active: {
|
|
889
|
+
type: "boolean",
|
|
890
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
891
|
+
},
|
|
892
|
+
defaultPassword: {
|
|
893
|
+
type: "string",
|
|
894
|
+
description: "\u9ED8\u8BA4\u5BC6\u7801"
|
|
895
|
+
},
|
|
896
|
+
exportable: {
|
|
897
|
+
type: "boolean",
|
|
898
|
+
description: "\u662F\u5426\u53EF\u5BFC\u51FA"
|
|
899
|
+
},
|
|
900
|
+
userCount: {
|
|
901
|
+
type: "number",
|
|
902
|
+
description: "\u4EBA\u6570"
|
|
903
|
+
},
|
|
758
904
|
id: {
|
|
759
905
|
type: "string",
|
|
760
906
|
description: "Entity id"
|
|
@@ -805,6 +951,29 @@ const $00d9c40198a72115$export$532a2356385b479a = {
|
|
|
805
951
|
name: {
|
|
806
952
|
type: "string",
|
|
807
953
|
description: "\u540D\u79F0"
|
|
954
|
+
},
|
|
955
|
+
permissions: {
|
|
956
|
+
description: "\u6743\u9650",
|
|
957
|
+
type: "array",
|
|
958
|
+
items: {
|
|
959
|
+
type: "string"
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
active: {
|
|
963
|
+
type: "boolean",
|
|
964
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
965
|
+
},
|
|
966
|
+
defaultPassword: {
|
|
967
|
+
type: "string",
|
|
968
|
+
description: "\u9ED8\u8BA4\u5BC6\u7801"
|
|
969
|
+
},
|
|
970
|
+
exportable: {
|
|
971
|
+
type: "boolean",
|
|
972
|
+
description: "\u662F\u5426\u53EF\u5BFC\u51FA"
|
|
973
|
+
},
|
|
974
|
+
userCount: {
|
|
975
|
+
type: "number",
|
|
976
|
+
description: "\u4EBA\u6570"
|
|
808
977
|
}
|
|
809
978
|
}
|
|
810
979
|
};
|
|
@@ -1179,6 +1348,107 @@ const $00d9c40198a72115$export$86e7567d0e80a3fd = {
|
|
|
1179
1348
|
"children"
|
|
1180
1349
|
]
|
|
1181
1350
|
};
|
|
1351
|
+
const $00d9c40198a72115$export$f82ca5b68f88f064 = {
|
|
1352
|
+
type: "object",
|
|
1353
|
+
properties: {
|
|
1354
|
+
name: {
|
|
1355
|
+
type: "string",
|
|
1356
|
+
description: "\u540D\u79F0"
|
|
1357
|
+
},
|
|
1358
|
+
permissions: {
|
|
1359
|
+
description: "\u6743\u9650",
|
|
1360
|
+
type: "array",
|
|
1361
|
+
items: {
|
|
1362
|
+
type: "string"
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
active: {
|
|
1366
|
+
type: "boolean",
|
|
1367
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
1368
|
+
},
|
|
1369
|
+
userCount: {
|
|
1370
|
+
type: "number",
|
|
1371
|
+
description: "\u4EBA\u6570"
|
|
1372
|
+
}
|
|
1373
|
+
},
|
|
1374
|
+
required: [
|
|
1375
|
+
"name"
|
|
1376
|
+
]
|
|
1377
|
+
};
|
|
1378
|
+
const $00d9c40198a72115$export$c90c1d4bd95ad384 = {
|
|
1379
|
+
type: "object",
|
|
1380
|
+
properties: {
|
|
1381
|
+
name: {
|
|
1382
|
+
type: "string",
|
|
1383
|
+
description: "\u540D\u79F0"
|
|
1384
|
+
},
|
|
1385
|
+
permissions: {
|
|
1386
|
+
description: "\u6743\u9650",
|
|
1387
|
+
type: "array",
|
|
1388
|
+
items: {
|
|
1389
|
+
type: "string"
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
active: {
|
|
1393
|
+
type: "boolean",
|
|
1394
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
1395
|
+
},
|
|
1396
|
+
userCount: {
|
|
1397
|
+
type: "number",
|
|
1398
|
+
description: "\u4EBA\u6570"
|
|
1399
|
+
},
|
|
1400
|
+
id: {
|
|
1401
|
+
type: "string",
|
|
1402
|
+
description: "Entity id"
|
|
1403
|
+
},
|
|
1404
|
+
createdAt: {
|
|
1405
|
+
format: "date-time",
|
|
1406
|
+
type: "string",
|
|
1407
|
+
description: "Entity created at when"
|
|
1408
|
+
},
|
|
1409
|
+
updatedAt: {
|
|
1410
|
+
format: "date-time",
|
|
1411
|
+
type: "string",
|
|
1412
|
+
description: "Entity updated at when"
|
|
1413
|
+
},
|
|
1414
|
+
createdBy: {
|
|
1415
|
+
type: "string",
|
|
1416
|
+
description: "Entity created by who"
|
|
1417
|
+
},
|
|
1418
|
+
updatedBy: {
|
|
1419
|
+
type: "string",
|
|
1420
|
+
description: "Entity updated by who"
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
required: [
|
|
1424
|
+
"name",
|
|
1425
|
+
"id"
|
|
1426
|
+
]
|
|
1427
|
+
};
|
|
1428
|
+
const $00d9c40198a72115$export$1003ec321a8b124 = {
|
|
1429
|
+
type: "object",
|
|
1430
|
+
properties: {
|
|
1431
|
+
name: {
|
|
1432
|
+
type: "string",
|
|
1433
|
+
description: "\u540D\u79F0"
|
|
1434
|
+
},
|
|
1435
|
+
permissions: {
|
|
1436
|
+
description: "\u6743\u9650",
|
|
1437
|
+
type: "array",
|
|
1438
|
+
items: {
|
|
1439
|
+
type: "string"
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1442
|
+
active: {
|
|
1443
|
+
type: "boolean",
|
|
1444
|
+
description: "\u662F\u5426\u542F\u7528"
|
|
1445
|
+
},
|
|
1446
|
+
userCount: {
|
|
1447
|
+
type: "number",
|
|
1448
|
+
description: "\u4EBA\u6570"
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
};
|
|
1182
1452
|
const $00d9c40198a72115$export$fd4976cd1b633c9 = {
|
|
1183
1453
|
type: "object",
|
|
1184
1454
|
properties: {
|
|
@@ -1382,6 +1652,7 @@ $parcel$export($f3613dc0d7a37c99$exports, "listUsers", () => $f3613dc0d7a37c99$e
|
|
|
1382
1652
|
$parcel$export($f3613dc0d7a37c99$exports, "getUser", () => $f3613dc0d7a37c99$export$7cbf767827cd68ba);
|
|
1383
1653
|
$parcel$export($f3613dc0d7a37c99$exports, "updateUser", () => $f3613dc0d7a37c99$export$e3ac7a5d19605772);
|
|
1384
1654
|
$parcel$export($f3613dc0d7a37c99$exports, "deleteUser", () => $f3613dc0d7a37c99$export$7d0f10f273c0438a);
|
|
1655
|
+
$parcel$export($f3613dc0d7a37c99$exports, "upsertUserByEmployeeId", () => $f3613dc0d7a37c99$export$6bae5989866b69dc);
|
|
1385
1656
|
$parcel$export($f3613dc0d7a37c99$exports, "verifyIdentity", () => $f3613dc0d7a37c99$export$ba1d92ba04505a80);
|
|
1386
1657
|
$parcel$export($f3613dc0d7a37c99$exports, "resetPassword", () => $f3613dc0d7a37c99$export$dc726c8e334dd814);
|
|
1387
1658
|
$parcel$export($f3613dc0d7a37c99$exports, "updatePassword", () => $f3613dc0d7a37c99$export$e2853351e15b7895);
|
|
@@ -1407,6 +1678,11 @@ $parcel$export($f3613dc0d7a37c99$exports, "getEmailRecord", () => $f3613dc0d7a37
|
|
|
1407
1678
|
$parcel$export($f3613dc0d7a37c99$exports, "updateEmailRecord", () => $f3613dc0d7a37c99$export$340a3b15edf5320b);
|
|
1408
1679
|
$parcel$export($f3613dc0d7a37c99$exports, "deleteEmailRecord", () => $f3613dc0d7a37c99$export$47732292698093e5);
|
|
1409
1680
|
$parcel$export($f3613dc0d7a37c99$exports, "listIndustries", () => $f3613dc0d7a37c99$export$6a657f882af8e729);
|
|
1681
|
+
$parcel$export($f3613dc0d7a37c99$exports, "createGroup", () => $f3613dc0d7a37c99$export$856f728536d122cb);
|
|
1682
|
+
$parcel$export($f3613dc0d7a37c99$exports, "listGroups", () => $f3613dc0d7a37c99$export$6e0114716bd43025);
|
|
1683
|
+
$parcel$export($f3613dc0d7a37c99$exports, "getGroup", () => $f3613dc0d7a37c99$export$dd8fe8767b0c9948);
|
|
1684
|
+
$parcel$export($f3613dc0d7a37c99$exports, "updateGroup", () => $f3613dc0d7a37c99$export$7266cde9e95c4de8);
|
|
1685
|
+
$parcel$export($f3613dc0d7a37c99$exports, "deleteGroup", () => $f3613dc0d7a37c99$export$ae2679b329fc10b6);
|
|
1410
1686
|
$parcel$export($f3613dc0d7a37c99$exports, "listRegions", () => $f3613dc0d7a37c99$export$40295cce70884665);
|
|
1411
1687
|
$parcel$export($f3613dc0d7a37c99$exports, "sendSms", () => $f3613dc0d7a37c99$export$fe12addabe061498);
|
|
1412
1688
|
$parcel$export($f3613dc0d7a37c99$exports, "createSmsRecord", () => $f3613dc0d7a37c99$export$89ba073eddabee7c);
|
|
@@ -1501,6 +1777,12 @@ const $f3613dc0d7a37c99$export$7d0f10f273c0438a = (options)=>{
|
|
|
1501
1777
|
url: "/users/{userId}"
|
|
1502
1778
|
});
|
|
1503
1779
|
};
|
|
1780
|
+
const $f3613dc0d7a37c99$export$6bae5989866b69dc = (options)=>{
|
|
1781
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
|
|
1782
|
+
...options,
|
|
1783
|
+
url: "/users/employee/{userEmployeeId}"
|
|
1784
|
+
});
|
|
1785
|
+
};
|
|
1504
1786
|
const $f3613dc0d7a37c99$export$ba1d92ba04505a80 = (options)=>{
|
|
1505
1787
|
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
|
|
1506
1788
|
...options,
|
|
@@ -1540,7 +1822,7 @@ const $f3613dc0d7a37c99$export$becf4f9e48e6290a = (options)=>{
|
|
|
1540
1822
|
const $f3613dc0d7a37c99$export$9c52b148e3e82e = (options)=>{
|
|
1541
1823
|
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
|
|
1542
1824
|
...options,
|
|
1543
|
-
url: "/namespaces/{
|
|
1825
|
+
url: "/namespaces/{namespaceIdOrKey}"
|
|
1544
1826
|
});
|
|
1545
1827
|
};
|
|
1546
1828
|
const $f3613dc0d7a37c99$export$4b83ac7774adea2f = (options)=>{
|
|
@@ -1651,6 +1933,36 @@ const $f3613dc0d7a37c99$export$6a657f882af8e729 = (options)=>{
|
|
|
1651
1933
|
url: "/industries"
|
|
1652
1934
|
});
|
|
1653
1935
|
};
|
|
1936
|
+
const $f3613dc0d7a37c99$export$856f728536d122cb = (options)=>{
|
|
1937
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
|
|
1938
|
+
...options,
|
|
1939
|
+
url: "/groups"
|
|
1940
|
+
});
|
|
1941
|
+
};
|
|
1942
|
+
const $f3613dc0d7a37c99$export$6e0114716bd43025 = (options)=>{
|
|
1943
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
|
|
1944
|
+
...options,
|
|
1945
|
+
url: "/groups"
|
|
1946
|
+
});
|
|
1947
|
+
};
|
|
1948
|
+
const $f3613dc0d7a37c99$export$dd8fe8767b0c9948 = (options)=>{
|
|
1949
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
|
|
1950
|
+
...options,
|
|
1951
|
+
url: "/groups/{groupIdOrName}"
|
|
1952
|
+
});
|
|
1953
|
+
};
|
|
1954
|
+
const $f3613dc0d7a37c99$export$7266cde9e95c4de8 = (options)=>{
|
|
1955
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
|
|
1956
|
+
...options,
|
|
1957
|
+
url: "/groups/{groupId}"
|
|
1958
|
+
});
|
|
1959
|
+
};
|
|
1960
|
+
const $f3613dc0d7a37c99$export$ae2679b329fc10b6 = (options)=>{
|
|
1961
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).delete({
|
|
1962
|
+
...options,
|
|
1963
|
+
url: "/groups/{groupId}"
|
|
1964
|
+
});
|
|
1965
|
+
};
|
|
1654
1966
|
const $f3613dc0d7a37c99$export$40295cce70884665 = (options)=>{
|
|
1655
1967
|
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
|
|
1656
1968
|
...options,
|