@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 CHANGED
@@ -55,9 +55,6 @@ $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);
61
58
  $parcel$export($00d9c40198a72115$exports, "$Region", () => $00d9c40198a72115$export$fd4976cd1b633c9);
62
59
  $parcel$export($00d9c40198a72115$exports, "$SendSmsDto", () => $00d9c40198a72115$export$9af4a86888b337b1);
63
60
  $parcel$export($00d9c40198a72115$exports, "$SmsStatus", () => $00d9c40198a72115$export$d1050030e8300ed6);
@@ -186,37 +183,6 @@ const $00d9c40198a72115$export$424b0b82fa10bdfa = {
186
183
  type: "string",
187
184
  description: "\u7528\u6237\u540D"
188
185
  },
189
- employeeId: {
190
- type: "string",
191
- description: "\u5458\u5DE5\u7F16\u53F7"
192
- },
193
- permissions: {
194
- description: "\u6743\u9650",
195
- type: "array",
196
- items: {
197
- type: "string"
198
- }
199
- },
200
- groups: {
201
- description: "\u56E2\u961F",
202
- type: "array",
203
- items: {
204
- type: "string"
205
- }
206
- },
207
- lastLoginAt: {
208
- format: "date-time",
209
- type: "string",
210
- description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
211
- },
212
- active: {
213
- type: "boolean",
214
- description: "\u662F\u5426\u542F\u7528"
215
- },
216
- inviteCode: {
217
- type: "string",
218
- description: "\u9080\u8BF7\u7801"
219
- },
220
186
  status: {
221
187
  type: "string",
222
188
  description: "\u72B6\u6001"
@@ -584,32 +550,6 @@ const $00d9c40198a72115$export$42fb86b793a2c536 = {
584
550
  type: "string",
585
551
  description: "\u7528\u6237\u540D"
586
552
  },
587
- employeeId: {
588
- type: "string",
589
- description: "\u5458\u5DE5\u7F16\u53F7"
590
- },
591
- permissions: {
592
- description: "\u6743\u9650",
593
- type: "array",
594
- items: {
595
- type: "string"
596
- }
597
- },
598
- groups: {
599
- description: "\u56E2\u961F",
600
- type: "array",
601
- items: {
602
- type: "string"
603
- }
604
- },
605
- active: {
606
- type: "boolean",
607
- description: "\u662F\u5426\u542F\u7528"
608
- },
609
- inviteCode: {
610
- type: "string",
611
- description: "\u9080\u8BF7\u7801"
612
- },
613
553
  status: {
614
554
  type: "string",
615
555
  description: "\u72B6\u6001"
@@ -709,37 +649,6 @@ const $00d9c40198a72115$export$1b308892cefd8e3e = {
709
649
  type: "string",
710
650
  description: "\u7528\u6237\u540D"
711
651
  },
712
- employeeId: {
713
- type: "string",
714
- description: "\u5458\u5DE5\u7F16\u53F7"
715
- },
716
- permissions: {
717
- description: "\u6743\u9650",
718
- type: "array",
719
- items: {
720
- type: "string"
721
- }
722
- },
723
- groups: {
724
- description: "\u56E2\u961F",
725
- type: "array",
726
- items: {
727
- type: "string"
728
- }
729
- },
730
- lastLoginAt: {
731
- format: "date-time",
732
- type: "string",
733
- description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
734
- },
735
- active: {
736
- type: "boolean",
737
- description: "\u662F\u5426\u542F\u7528"
738
- },
739
- inviteCode: {
740
- type: "string",
741
- description: "\u9080\u8BF7\u7801"
742
- },
743
652
  status: {
744
653
  type: "string",
745
654
  description: "\u72B6\u6001"
@@ -807,29 +716,6 @@ const $00d9c40198a72115$export$3a0f0f379fb2f43f = {
807
716
  ns: {
808
717
  type: "string",
809
718
  description: "\u6240\u5C5E\u7684 namespace"
810
- },
811
- permissions: {
812
- description: "\u6743\u9650",
813
- type: "array",
814
- items: {
815
- type: "string"
816
- }
817
- },
818
- active: {
819
- type: "boolean",
820
- description: "\u662F\u5426\u542F\u7528"
821
- },
822
- defaultPassword: {
823
- type: "string",
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"
833
719
  }
834
720
  },
835
721
  required: [
@@ -869,29 +755,6 @@ const $00d9c40198a72115$export$fef09edac2f41dd6 = {
869
755
  type: "string",
870
756
  description: "\u6240\u5C5E\u7684 namespace"
871
757
  },
872
- permissions: {
873
- description: "\u6743\u9650",
874
- type: "array",
875
- items: {
876
- type: "string"
877
- }
878
- },
879
- active: {
880
- type: "boolean",
881
- description: "\u662F\u5426\u542F\u7528"
882
- },
883
- defaultPassword: {
884
- type: "string",
885
- description: "\u9ED8\u8BA4\u5BC6\u7801"
886
- },
887
- exportable: {
888
- type: "boolean",
889
- description: "\u662F\u5426\u53EF\u5BFC\u51FA"
890
- },
891
- userCount: {
892
- type: "number",
893
- description: "\u4EBA\u6570"
894
- },
895
758
  id: {
896
759
  type: "string",
897
760
  description: "Entity id"
@@ -942,29 +805,6 @@ const $00d9c40198a72115$export$532a2356385b479a = {
942
805
  name: {
943
806
  type: "string",
944
807
  description: "\u540D\u79F0"
945
- },
946
- permissions: {
947
- description: "\u6743\u9650",
948
- type: "array",
949
- items: {
950
- type: "string"
951
- }
952
- },
953
- active: {
954
- type: "boolean",
955
- description: "\u662F\u5426\u542F\u7528"
956
- },
957
- defaultPassword: {
958
- type: "string",
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"
968
808
  }
969
809
  }
970
810
  };
@@ -1339,107 +1179,6 @@ const $00d9c40198a72115$export$86e7567d0e80a3fd = {
1339
1179
  "children"
1340
1180
  ]
1341
1181
  };
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
- };
1443
1182
  const $00d9c40198a72115$export$fd4976cd1b633c9 = {
1444
1183
  type: "object",
1445
1184
  properties: {
@@ -1643,7 +1382,6 @@ $parcel$export($f3613dc0d7a37c99$exports, "listUsers", () => $f3613dc0d7a37c99$e
1643
1382
  $parcel$export($f3613dc0d7a37c99$exports, "getUser", () => $f3613dc0d7a37c99$export$7cbf767827cd68ba);
1644
1383
  $parcel$export($f3613dc0d7a37c99$exports, "updateUser", () => $f3613dc0d7a37c99$export$e3ac7a5d19605772);
1645
1384
  $parcel$export($f3613dc0d7a37c99$exports, "deleteUser", () => $f3613dc0d7a37c99$export$7d0f10f273c0438a);
1646
- $parcel$export($f3613dc0d7a37c99$exports, "upsertUserByEmployeeId", () => $f3613dc0d7a37c99$export$6bae5989866b69dc);
1647
1385
  $parcel$export($f3613dc0d7a37c99$exports, "verifyIdentity", () => $f3613dc0d7a37c99$export$ba1d92ba04505a80);
1648
1386
  $parcel$export($f3613dc0d7a37c99$exports, "resetPassword", () => $f3613dc0d7a37c99$export$dc726c8e334dd814);
1649
1387
  $parcel$export($f3613dc0d7a37c99$exports, "updatePassword", () => $f3613dc0d7a37c99$export$e2853351e15b7895);
@@ -1669,11 +1407,6 @@ $parcel$export($f3613dc0d7a37c99$exports, "getEmailRecord", () => $f3613dc0d7a37
1669
1407
  $parcel$export($f3613dc0d7a37c99$exports, "updateEmailRecord", () => $f3613dc0d7a37c99$export$340a3b15edf5320b);
1670
1408
  $parcel$export($f3613dc0d7a37c99$exports, "deleteEmailRecord", () => $f3613dc0d7a37c99$export$47732292698093e5);
1671
1409
  $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);
1677
1410
  $parcel$export($f3613dc0d7a37c99$exports, "listRegions", () => $f3613dc0d7a37c99$export$40295cce70884665);
1678
1411
  $parcel$export($f3613dc0d7a37c99$exports, "sendSms", () => $f3613dc0d7a37c99$export$fe12addabe061498);
1679
1412
  $parcel$export($f3613dc0d7a37c99$exports, "createSmsRecord", () => $f3613dc0d7a37c99$export$89ba073eddabee7c);
@@ -1768,12 +1501,6 @@ const $f3613dc0d7a37c99$export$7d0f10f273c0438a = (options)=>{
1768
1501
  url: "/users/{userId}"
1769
1502
  });
1770
1503
  };
1771
- const $f3613dc0d7a37c99$export$6bae5989866b69dc = (options)=>{
1772
- return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
1773
- ...options,
1774
- url: "/users/employee/{userEmployeeId}"
1775
- });
1776
- };
1777
1504
  const $f3613dc0d7a37c99$export$ba1d92ba04505a80 = (options)=>{
1778
1505
  return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
1779
1506
  ...options,
@@ -1813,7 +1540,7 @@ const $f3613dc0d7a37c99$export$becf4f9e48e6290a = (options)=>{
1813
1540
  const $f3613dc0d7a37c99$export$9c52b148e3e82e = (options)=>{
1814
1541
  return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
1815
1542
  ...options,
1816
- url: "/namespaces/{namespaceIdOrKey}"
1543
+ url: "/namespaces/{namespaceId}"
1817
1544
  });
1818
1545
  };
1819
1546
  const $f3613dc0d7a37c99$export$4b83ac7774adea2f = (options)=>{
@@ -1924,36 +1651,6 @@ const $f3613dc0d7a37c99$export$6a657f882af8e729 = (options)=>{
1924
1651
  url: "/industries"
1925
1652
  });
1926
1653
  };
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
- };
1957
1654
  const $f3613dc0d7a37c99$export$40295cce70884665 = (options)=>{
1958
1655
  return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
1959
1656
  ...options,