@36node/auth-sdk 1.1.1-pr-7-281e214970 → 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,32 +183,14 @@ const $00d9c40198a72115$export$424b0b82fa10bdfa = {
186
183
  type: "string",
187
184
  description: "\u7528\u6237\u540D"
188
185
  },
189
- employeeId: {
186
+ status: {
190
187
  type: "string",
191
- description: "\u5458\u5DE5\u7F16\u53F7"
192
- },
193
- permissions: {
194
- description: "\u6743\u9650",
195
- type: "array",
196
- items: {
197
- type: "string"
198
- }
188
+ description: "\u72B6\u6001"
199
189
  },
200
- groups: {
201
- description: "\u56E2\u961F",
202
- type: "array",
203
- items: {
204
- type: "string"
205
- }
206
- },
207
- lastLoginAt: {
190
+ expireAt: {
208
191
  format: "date-time",
209
192
  type: "string",
210
- description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
211
- },
212
- active: {
213
- type: "boolean",
214
- description: "\u662F\u5426\u542F\u7528"
193
+ description: "\u8FC7\u671F\u65F6\u95F4"
215
194
  },
216
195
  id: {
217
196
  type: "string",
@@ -571,27 +550,14 @@ const $00d9c40198a72115$export$42fb86b793a2c536 = {
571
550
  type: "string",
572
551
  description: "\u7528\u6237\u540D"
573
552
  },
574
- employeeId: {
553
+ status: {
575
554
  type: "string",
576
- description: "\u5458\u5DE5\u7F16\u53F7"
577
- },
578
- permissions: {
579
- description: "\u6743\u9650",
580
- type: "array",
581
- items: {
582
- type: "string"
583
- }
555
+ description: "\u72B6\u6001"
584
556
  },
585
- groups: {
586
- description: "\u56E2\u961F",
587
- type: "array",
588
- items: {
589
- type: "string"
590
- }
591
- },
592
- active: {
593
- type: "boolean",
594
- description: "\u662F\u5426\u542F\u7528"
557
+ expireAt: {
558
+ format: "date-time",
559
+ type: "string",
560
+ description: "\u8FC7\u671F\u65F6\u95F4"
595
561
  }
596
562
  }
597
563
  };
@@ -683,32 +649,14 @@ const $00d9c40198a72115$export$1b308892cefd8e3e = {
683
649
  type: "string",
684
650
  description: "\u7528\u6237\u540D"
685
651
  },
686
- employeeId: {
652
+ status: {
687
653
  type: "string",
688
- description: "\u5458\u5DE5\u7F16\u53F7"
654
+ description: "\u72B6\u6001"
689
655
  },
690
- permissions: {
691
- description: "\u6743\u9650",
692
- type: "array",
693
- items: {
694
- type: "string"
695
- }
696
- },
697
- groups: {
698
- description: "\u56E2\u961F",
699
- type: "array",
700
- items: {
701
- type: "string"
702
- }
703
- },
704
- lastLoginAt: {
656
+ expireAt: {
705
657
  format: "date-time",
706
658
  type: "string",
707
- description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
708
- },
709
- active: {
710
- type: "boolean",
711
- description: "\u662F\u5426\u542F\u7528"
659
+ description: "\u8FC7\u671F\u65F6\u95F4"
712
660
  }
713
661
  }
714
662
  };
@@ -768,25 +716,6 @@ const $00d9c40198a72115$export$3a0f0f379fb2f43f = {
768
716
  ns: {
769
717
  type: "string",
770
718
  description: "\u6240\u5C5E\u7684 namespace"
771
- },
772
- permissions: {
773
- description: "\u6743\u9650",
774
- type: "array",
775
- items: {
776
- type: "string"
777
- }
778
- },
779
- active: {
780
- type: "boolean",
781
- description: "\u662F\u5426\u542F\u7528"
782
- },
783
- company: {
784
- type: "string",
785
- description: "\u516C\u53F8"
786
- },
787
- defaultPassword: {
788
- type: "string",
789
- description: "\u9ED8\u8BA4\u5BC6\u7801"
790
719
  }
791
720
  },
792
721
  required: [
@@ -826,25 +755,6 @@ const $00d9c40198a72115$export$fef09edac2f41dd6 = {
826
755
  type: "string",
827
756
  description: "\u6240\u5C5E\u7684 namespace"
828
757
  },
829
- permissions: {
830
- description: "\u6743\u9650",
831
- type: "array",
832
- items: {
833
- type: "string"
834
- }
835
- },
836
- active: {
837
- type: "boolean",
838
- description: "\u662F\u5426\u542F\u7528"
839
- },
840
- company: {
841
- type: "string",
842
- description: "\u516C\u53F8"
843
- },
844
- defaultPassword: {
845
- type: "string",
846
- description: "\u9ED8\u8BA4\u5BC6\u7801"
847
- },
848
758
  id: {
849
759
  type: "string",
850
760
  description: "Entity id"
@@ -895,25 +805,6 @@ const $00d9c40198a72115$export$532a2356385b479a = {
895
805
  name: {
896
806
  type: "string",
897
807
  description: "\u540D\u79F0"
898
- },
899
- permissions: {
900
- description: "\u6743\u9650",
901
- type: "array",
902
- items: {
903
- type: "string"
904
- }
905
- },
906
- active: {
907
- type: "boolean",
908
- description: "\u662F\u5426\u542F\u7528"
909
- },
910
- company: {
911
- type: "string",
912
- description: "\u516C\u53F8"
913
- },
914
- defaultPassword: {
915
- type: "string",
916
- description: "\u9ED8\u8BA4\u5BC6\u7801"
917
808
  }
918
809
  }
919
810
  };
@@ -1288,110 +1179,6 @@ const $00d9c40198a72115$export$86e7567d0e80a3fd = {
1288
1179
  "children"
1289
1180
  ]
1290
1181
  };
1291
- const $00d9c40198a72115$export$f82ca5b68f88f064 = {
1292
- type: "object",
1293
- properties: {
1294
- name: {
1295
- type: "string",
1296
- description: "\u540D\u79F0"
1297
- },
1298
- ns: {
1299
- type: "string",
1300
- description: "\u6240\u5C5E\u547D\u540D\u7A7A\u95F4"
1301
- },
1302
- permissions: {
1303
- description: "\u6743\u9650",
1304
- type: "array",
1305
- items: {
1306
- type: "string"
1307
- }
1308
- },
1309
- active: {
1310
- type: "boolean",
1311
- description: "\u662F\u5426\u542F\u7528"
1312
- }
1313
- },
1314
- required: [
1315
- "name"
1316
- ]
1317
- };
1318
- const $00d9c40198a72115$export$c90c1d4bd95ad384 = {
1319
- type: "object",
1320
- properties: {
1321
- name: {
1322
- type: "string",
1323
- description: "\u540D\u79F0"
1324
- },
1325
- ns: {
1326
- type: "string",
1327
- description: "\u6240\u5C5E\u547D\u540D\u7A7A\u95F4"
1328
- },
1329
- permissions: {
1330
- description: "\u6743\u9650",
1331
- type: "array",
1332
- items: {
1333
- type: "string"
1334
- }
1335
- },
1336
- active: {
1337
- type: "boolean",
1338
- description: "\u662F\u5426\u542F\u7528"
1339
- },
1340
- id: {
1341
- type: "string",
1342
- description: "Entity id"
1343
- },
1344
- createdAt: {
1345
- format: "date-time",
1346
- type: "string",
1347
- description: "Entity created at when"
1348
- },
1349
- updatedAt: {
1350
- format: "date-time",
1351
- type: "string",
1352
- description: "Entity updated at when"
1353
- },
1354
- createdBy: {
1355
- type: "string",
1356
- description: "Entity created by who"
1357
- },
1358
- updatedBy: {
1359
- type: "string",
1360
- description: "Entity updated by who"
1361
- }
1362
- },
1363
- required: [
1364
- "name",
1365
- "id"
1366
- ]
1367
- };
1368
- const $00d9c40198a72115$export$1003ec321a8b124 = {
1369
- type: "object",
1370
- properties: {
1371
- name: {
1372
- type: "string",
1373
- description: "\u540D\u79F0"
1374
- },
1375
- ns: {
1376
- type: "string",
1377
- description: "\u6240\u5C5E\u547D\u540D\u7A7A\u95F4"
1378
- },
1379
- permissions: {
1380
- description: "\u6743\u9650",
1381
- type: "array",
1382
- items: {
1383
- type: "string"
1384
- }
1385
- },
1386
- active: {
1387
- type: "boolean",
1388
- description: "\u662F\u5426\u542F\u7528"
1389
- }
1390
- },
1391
- required: [
1392
- "name"
1393
- ]
1394
- };
1395
1182
  const $00d9c40198a72115$export$fd4976cd1b633c9 = {
1396
1183
  type: "object",
1397
1184
  properties: {
@@ -1620,11 +1407,6 @@ $parcel$export($f3613dc0d7a37c99$exports, "getEmailRecord", () => $f3613dc0d7a37
1620
1407
  $parcel$export($f3613dc0d7a37c99$exports, "updateEmailRecord", () => $f3613dc0d7a37c99$export$340a3b15edf5320b);
1621
1408
  $parcel$export($f3613dc0d7a37c99$exports, "deleteEmailRecord", () => $f3613dc0d7a37c99$export$47732292698093e5);
1622
1409
  $parcel$export($f3613dc0d7a37c99$exports, "listIndustries", () => $f3613dc0d7a37c99$export$6a657f882af8e729);
1623
- $parcel$export($f3613dc0d7a37c99$exports, "createGroup", () => $f3613dc0d7a37c99$export$856f728536d122cb);
1624
- $parcel$export($f3613dc0d7a37c99$exports, "listGroups", () => $f3613dc0d7a37c99$export$6e0114716bd43025);
1625
- $parcel$export($f3613dc0d7a37c99$exports, "getGroup", () => $f3613dc0d7a37c99$export$dd8fe8767b0c9948);
1626
- $parcel$export($f3613dc0d7a37c99$exports, "updateGroup", () => $f3613dc0d7a37c99$export$7266cde9e95c4de8);
1627
- $parcel$export($f3613dc0d7a37c99$exports, "deleteGroup", () => $f3613dc0d7a37c99$export$ae2679b329fc10b6);
1628
1410
  $parcel$export($f3613dc0d7a37c99$exports, "listRegions", () => $f3613dc0d7a37c99$export$40295cce70884665);
1629
1411
  $parcel$export($f3613dc0d7a37c99$exports, "sendSms", () => $f3613dc0d7a37c99$export$fe12addabe061498);
1630
1412
  $parcel$export($f3613dc0d7a37c99$exports, "createSmsRecord", () => $f3613dc0d7a37c99$export$89ba073eddabee7c);
@@ -1869,36 +1651,6 @@ const $f3613dc0d7a37c99$export$6a657f882af8e729 = (options)=>{
1869
1651
  url: "/industries"
1870
1652
  });
1871
1653
  };
1872
- const $f3613dc0d7a37c99$export$856f728536d122cb = (options)=>{
1873
- return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
1874
- ...options,
1875
- url: "/groups"
1876
- });
1877
- };
1878
- const $f3613dc0d7a37c99$export$6e0114716bd43025 = (options)=>{
1879
- return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
1880
- ...options,
1881
- url: "/groups"
1882
- });
1883
- };
1884
- const $f3613dc0d7a37c99$export$dd8fe8767b0c9948 = (options)=>{
1885
- return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
1886
- ...options,
1887
- url: "/groups/{groupIdOrName}"
1888
- });
1889
- };
1890
- const $f3613dc0d7a37c99$export$7266cde9e95c4de8 = (options)=>{
1891
- return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
1892
- ...options,
1893
- url: "/groups/{groupId}"
1894
- });
1895
- };
1896
- const $f3613dc0d7a37c99$export$ae2679b329fc10b6 = (options)=>{
1897
- return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).delete({
1898
- ...options,
1899
- url: "/groups/{groupId}"
1900
- });
1901
- };
1902
1654
  const $f3613dc0d7a37c99$export$40295cce70884665 = (options)=>{
1903
1655
  return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
1904
1656
  ...options,