@36node/auth-sdk 1.1.1-pr-7-56907f1552 → 1.2.0-pr-12-9569deef24

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
@@ -46,6 +46,9 @@ $parcel$export($00d9c40198a72115$exports, "$UpdateNamespaceDto", () => $00d9c401
46
46
  $parcel$export($00d9c40198a72115$exports, "$CreateSessionDto", () => $00d9c40198a72115$export$c383d7f32a575ab);
47
47
  $parcel$export($00d9c40198a72115$exports, "$Session", () => $00d9c40198a72115$export$90376f1cecfdbf1b);
48
48
  $parcel$export($00d9c40198a72115$exports, "$UpdateSessionDto", () => $00d9c40198a72115$export$8799e003f5e64a20);
49
+ $parcel$export($00d9c40198a72115$exports, "$CreateGroupDto", () => $00d9c40198a72115$export$f82ca5b68f88f064);
50
+ $parcel$export($00d9c40198a72115$exports, "$Group", () => $00d9c40198a72115$export$c90c1d4bd95ad384);
51
+ $parcel$export($00d9c40198a72115$exports, "$UpdateGroupDto", () => $00d9c40198a72115$export$1003ec321a8b124);
49
52
  $parcel$export($00d9c40198a72115$exports, "$CreateCaptchaDto", () => $00d9c40198a72115$export$7e72ed431ee59116);
50
53
  $parcel$export($00d9c40198a72115$exports, "$Captcha", () => $00d9c40198a72115$export$1f2dec6968d7e276);
51
54
  $parcel$export($00d9c40198a72115$exports, "$UpdateCaptchaDto", () => $00d9c40198a72115$export$9ccc176b5ae9cc36);
@@ -55,9 +58,6 @@ $parcel$export($00d9c40198a72115$exports, "$CreateEmailRecordDto", () => $00d9c4
55
58
  $parcel$export($00d9c40198a72115$exports, "$EmailRecord", () => $00d9c40198a72115$export$96180cdcc4bc745c);
56
59
  $parcel$export($00d9c40198a72115$exports, "$UpdateEmailRecordDto", () => $00d9c40198a72115$export$f581847698cf72b6);
57
60
  $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
61
  $parcel$export($00d9c40198a72115$exports, "$Region", () => $00d9c40198a72115$export$fd4976cd1b633c9);
62
62
  $parcel$export($00d9c40198a72115$exports, "$SendSmsDto", () => $00d9c40198a72115$export$9af4a86888b337b1);
63
63
  $parcel$export($00d9c40198a72115$exports, "$SmsStatus", () => $00d9c40198a72115$export$d1050030e8300ed6);
@@ -188,8 +188,7 @@ const $00d9c40198a72115$export$424b0b82fa10bdfa = {
188
188
  },
189
189
  employeeId: {
190
190
  type: "string",
191
- description: `<<<<<<< HEAD
192
- \u{5458}\u{5DE5}\u{7F16}\u{53F7}`
191
+ description: "\u5458\u5DE5\u7F16\u53F7"
193
192
  },
194
193
  permissions: {
195
194
  description: "\u6743\u9650",
@@ -220,9 +219,7 @@ const $00d9c40198a72115$export$424b0b82fa10bdfa = {
220
219
  },
221
220
  status: {
222
221
  type: "string",
223
- description: `=======
224
- >>>>>>> main
225
- \u{72B6}\u{6001}`
222
+ description: "\u72B6\u6001"
226
223
  },
227
224
  expireAt: {
228
225
  format: "date-time",
@@ -589,8 +586,7 @@ const $00d9c40198a72115$export$42fb86b793a2c536 = {
589
586
  },
590
587
  employeeId: {
591
588
  type: "string",
592
- description: `<<<<<<< HEAD
593
- \u{5458}\u{5DE5}\u{7F16}\u{53F7}`
589
+ description: "\u5458\u5DE5\u7F16\u53F7"
594
590
  },
595
591
  permissions: {
596
592
  description: "\u6743\u9650",
@@ -616,9 +612,7 @@ const $00d9c40198a72115$export$42fb86b793a2c536 = {
616
612
  },
617
613
  status: {
618
614
  type: "string",
619
- description: `=======
620
- >>>>>>> main
621
- \u{72B6}\u{6001}`
615
+ description: "\u72B6\u6001"
622
616
  },
623
617
  expireAt: {
624
618
  format: "date-time",
@@ -717,8 +711,7 @@ const $00d9c40198a72115$export$1b308892cefd8e3e = {
717
711
  },
718
712
  employeeId: {
719
713
  type: "string",
720
- description: `<<<<<<< HEAD
721
- \u{5458}\u{5DE5}\u{7F16}\u{53F7}`
714
+ description: "\u5458\u5DE5\u7F16\u53F7"
722
715
  },
723
716
  permissions: {
724
717
  description: "\u6743\u9650",
@@ -749,9 +742,7 @@ const $00d9c40198a72115$export$1b308892cefd8e3e = {
749
742
  },
750
743
  status: {
751
744
  type: "string",
752
- description: `=======
753
- >>>>>>> main
754
- \u{72B6}\u{6001}`
745
+ description: "\u72B6\u6001"
755
746
  },
756
747
  expireAt: {
757
748
  format: "date-time",
@@ -1083,6 +1074,107 @@ const $00d9c40198a72115$export$8799e003f5e64a20 = {
1083
1074
  }
1084
1075
  }
1085
1076
  };
1077
+ const $00d9c40198a72115$export$f82ca5b68f88f064 = {
1078
+ type: "object",
1079
+ properties: {
1080
+ name: {
1081
+ type: "string",
1082
+ description: "\u540D\u79F0"
1083
+ },
1084
+ permissions: {
1085
+ description: "\u6743\u9650",
1086
+ type: "array",
1087
+ items: {
1088
+ type: "string"
1089
+ }
1090
+ },
1091
+ active: {
1092
+ type: "boolean",
1093
+ description: "\u662F\u5426\u542F\u7528"
1094
+ },
1095
+ userCount: {
1096
+ type: "number",
1097
+ description: "\u4EBA\u6570"
1098
+ }
1099
+ },
1100
+ required: [
1101
+ "name"
1102
+ ]
1103
+ };
1104
+ const $00d9c40198a72115$export$c90c1d4bd95ad384 = {
1105
+ type: "object",
1106
+ properties: {
1107
+ name: {
1108
+ type: "string",
1109
+ description: "\u540D\u79F0"
1110
+ },
1111
+ permissions: {
1112
+ description: "\u6743\u9650",
1113
+ type: "array",
1114
+ items: {
1115
+ type: "string"
1116
+ }
1117
+ },
1118
+ active: {
1119
+ type: "boolean",
1120
+ description: "\u662F\u5426\u542F\u7528"
1121
+ },
1122
+ userCount: {
1123
+ type: "number",
1124
+ description: "\u4EBA\u6570"
1125
+ },
1126
+ id: {
1127
+ type: "string",
1128
+ description: "Entity id"
1129
+ },
1130
+ createdAt: {
1131
+ format: "date-time",
1132
+ type: "string",
1133
+ description: "Entity created at when"
1134
+ },
1135
+ updatedAt: {
1136
+ format: "date-time",
1137
+ type: "string",
1138
+ description: "Entity updated at when"
1139
+ },
1140
+ createdBy: {
1141
+ type: "string",
1142
+ description: "Entity created by who"
1143
+ },
1144
+ updatedBy: {
1145
+ type: "string",
1146
+ description: "Entity updated by who"
1147
+ }
1148
+ },
1149
+ required: [
1150
+ "name",
1151
+ "id"
1152
+ ]
1153
+ };
1154
+ const $00d9c40198a72115$export$1003ec321a8b124 = {
1155
+ type: "object",
1156
+ properties: {
1157
+ name: {
1158
+ type: "string",
1159
+ description: "\u540D\u79F0"
1160
+ },
1161
+ permissions: {
1162
+ description: "\u6743\u9650",
1163
+ type: "array",
1164
+ items: {
1165
+ type: "string"
1166
+ }
1167
+ },
1168
+ active: {
1169
+ type: "boolean",
1170
+ description: "\u662F\u5426\u542F\u7528"
1171
+ },
1172
+ userCount: {
1173
+ type: "number",
1174
+ description: "\u4EBA\u6570"
1175
+ }
1176
+ }
1177
+ };
1086
1178
  const $00d9c40198a72115$export$7e72ed431ee59116 = {
1087
1179
  type: "object",
1088
1180
  properties: {
@@ -1348,107 +1440,6 @@ const $00d9c40198a72115$export$86e7567d0e80a3fd = {
1348
1440
  "children"
1349
1441
  ]
1350
1442
  };
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
- };
1452
1443
  const $00d9c40198a72115$export$fd4976cd1b633c9 = {
1453
1444
  type: "object",
1454
1445
  properties: {
@@ -1647,6 +1638,7 @@ $parcel$export($f3613dc0d7a37c99$exports, "registerByPhone", () => $f3613dc0d7a3
1647
1638
  $parcel$export($f3613dc0d7a37c99$exports, "registerByEmail", () => $f3613dc0d7a37c99$export$81b4f1bef0778e97);
1648
1639
  $parcel$export($f3613dc0d7a37c99$exports, "signToken", () => $f3613dc0d7a37c99$export$6fa58217127c2be5);
1649
1640
  $parcel$export($f3613dc0d7a37c99$exports, "refresh", () => $f3613dc0d7a37c99$export$2d6e9b4c68afb6c8);
1641
+ $parcel$export($f3613dc0d7a37c99$exports, "cleanupAllData", () => $f3613dc0d7a37c99$export$1d732abae8c2178b);
1650
1642
  $parcel$export($f3613dc0d7a37c99$exports, "createUser", () => $f3613dc0d7a37c99$export$3493b8991d49f558);
1651
1643
  $parcel$export($f3613dc0d7a37c99$exports, "listUsers", () => $f3613dc0d7a37c99$export$1c4bb93498097c2d);
1652
1644
  $parcel$export($f3613dc0d7a37c99$exports, "getUser", () => $f3613dc0d7a37c99$export$7cbf767827cd68ba);
@@ -1666,6 +1658,11 @@ $parcel$export($f3613dc0d7a37c99$exports, "listSessions", () => $f3613dc0d7a37c9
1666
1658
  $parcel$export($f3613dc0d7a37c99$exports, "getSession", () => $f3613dc0d7a37c99$export$12151e9ef3722552);
1667
1659
  $parcel$export($f3613dc0d7a37c99$exports, "updateSession", () => $f3613dc0d7a37c99$export$531818e825e774db);
1668
1660
  $parcel$export($f3613dc0d7a37c99$exports, "deleteSession", () => $f3613dc0d7a37c99$export$f3b72123251cadf);
1661
+ $parcel$export($f3613dc0d7a37c99$exports, "createGroup", () => $f3613dc0d7a37c99$export$856f728536d122cb);
1662
+ $parcel$export($f3613dc0d7a37c99$exports, "listGroups", () => $f3613dc0d7a37c99$export$6e0114716bd43025);
1663
+ $parcel$export($f3613dc0d7a37c99$exports, "getGroup", () => $f3613dc0d7a37c99$export$dd8fe8767b0c9948);
1664
+ $parcel$export($f3613dc0d7a37c99$exports, "updateGroup", () => $f3613dc0d7a37c99$export$7266cde9e95c4de8);
1665
+ $parcel$export($f3613dc0d7a37c99$exports, "deleteGroup", () => $f3613dc0d7a37c99$export$ae2679b329fc10b6);
1669
1666
  $parcel$export($f3613dc0d7a37c99$exports, "createCaptcha", () => $f3613dc0d7a37c99$export$a6205785190db785);
1670
1667
  $parcel$export($f3613dc0d7a37c99$exports, "listCaptchas", () => $f3613dc0d7a37c99$export$72a6916a1591271b);
1671
1668
  $parcel$export($f3613dc0d7a37c99$exports, "getCaptcha", () => $f3613dc0d7a37c99$export$3f7c59539a3d9e70);
@@ -1678,11 +1675,6 @@ $parcel$export($f3613dc0d7a37c99$exports, "getEmailRecord", () => $f3613dc0d7a37
1678
1675
  $parcel$export($f3613dc0d7a37c99$exports, "updateEmailRecord", () => $f3613dc0d7a37c99$export$340a3b15edf5320b);
1679
1676
  $parcel$export($f3613dc0d7a37c99$exports, "deleteEmailRecord", () => $f3613dc0d7a37c99$export$47732292698093e5);
1680
1677
  $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);
1686
1678
  $parcel$export($f3613dc0d7a37c99$exports, "listRegions", () => $f3613dc0d7a37c99$export$40295cce70884665);
1687
1679
  $parcel$export($f3613dc0d7a37c99$exports, "sendSms", () => $f3613dc0d7a37c99$export$fe12addabe061498);
1688
1680
  $parcel$export($f3613dc0d7a37c99$exports, "createSmsRecord", () => $f3613dc0d7a37c99$export$89ba073eddabee7c);
@@ -1747,6 +1739,12 @@ const $f3613dc0d7a37c99$export$2d6e9b4c68afb6c8 = (options)=>{
1747
1739
  url: "/auth/@refresh"
1748
1740
  });
1749
1741
  };
1742
+ const $f3613dc0d7a37c99$export$1d732abae8c2178b = (options)=>{
1743
+ return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).delete({
1744
+ ...options,
1745
+ url: "/auth/@cleanup"
1746
+ });
1747
+ };
1750
1748
  const $f3613dc0d7a37c99$export$3493b8991d49f558 = (options)=>{
1751
1749
  return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
1752
1750
  ...options,
@@ -1861,6 +1859,36 @@ const $f3613dc0d7a37c99$export$f3b72123251cadf = (options)=>{
1861
1859
  url: "/sessions/{sessionId}"
1862
1860
  });
1863
1861
  };
1862
+ const $f3613dc0d7a37c99$export$856f728536d122cb = (options)=>{
1863
+ return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
1864
+ ...options,
1865
+ url: "/groups"
1866
+ });
1867
+ };
1868
+ const $f3613dc0d7a37c99$export$6e0114716bd43025 = (options)=>{
1869
+ return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
1870
+ ...options,
1871
+ url: "/groups"
1872
+ });
1873
+ };
1874
+ const $f3613dc0d7a37c99$export$dd8fe8767b0c9948 = (options)=>{
1875
+ return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
1876
+ ...options,
1877
+ url: "/groups/{groupIdOrName}"
1878
+ });
1879
+ };
1880
+ const $f3613dc0d7a37c99$export$7266cde9e95c4de8 = (options)=>{
1881
+ return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
1882
+ ...options,
1883
+ url: "/groups/{groupId}"
1884
+ });
1885
+ };
1886
+ const $f3613dc0d7a37c99$export$ae2679b329fc10b6 = (options)=>{
1887
+ return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).delete({
1888
+ ...options,
1889
+ url: "/groups/{groupId}"
1890
+ });
1891
+ };
1864
1892
  const $f3613dc0d7a37c99$export$a6205785190db785 = (options)=>{
1865
1893
  return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
1866
1894
  ...options,
@@ -1933,36 +1961,6 @@ const $f3613dc0d7a37c99$export$6a657f882af8e729 = (options)=>{
1933
1961
  url: "/industries"
1934
1962
  });
1935
1963
  };
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
- };
1966
1964
  const $f3613dc0d7a37c99$export$40295cce70884665 = (options)=>{
1967
1965
  return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
1968
1966
  ...options,