@36node/auth-sdk 1.1.1 → 1.2.0-pr-12-324c3d6447

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/module.js CHANGED
@@ -29,6 +29,9 @@ $parcel$export($dad94870630697a9$exports, "$UpdateNamespaceDto", () => $dad94870
29
29
  $parcel$export($dad94870630697a9$exports, "$CreateSessionDto", () => $dad94870630697a9$export$c383d7f32a575ab);
30
30
  $parcel$export($dad94870630697a9$exports, "$Session", () => $dad94870630697a9$export$90376f1cecfdbf1b);
31
31
  $parcel$export($dad94870630697a9$exports, "$UpdateSessionDto", () => $dad94870630697a9$export$8799e003f5e64a20);
32
+ $parcel$export($dad94870630697a9$exports, "$CreateGroupDto", () => $dad94870630697a9$export$f82ca5b68f88f064);
33
+ $parcel$export($dad94870630697a9$exports, "$Group", () => $dad94870630697a9$export$c90c1d4bd95ad384);
34
+ $parcel$export($dad94870630697a9$exports, "$UpdateGroupDto", () => $dad94870630697a9$export$1003ec321a8b124);
32
35
  $parcel$export($dad94870630697a9$exports, "$CreateCaptchaDto", () => $dad94870630697a9$export$7e72ed431ee59116);
33
36
  $parcel$export($dad94870630697a9$exports, "$Captcha", () => $dad94870630697a9$export$1f2dec6968d7e276);
34
37
  $parcel$export($dad94870630697a9$exports, "$UpdateCaptchaDto", () => $dad94870630697a9$export$9ccc176b5ae9cc36);
@@ -37,13 +40,13 @@ $parcel$export($dad94870630697a9$exports, "$EmailStatus", () => $dad94870630697a
37
40
  $parcel$export($dad94870630697a9$exports, "$CreateEmailRecordDto", () => $dad94870630697a9$export$2093419254bae162);
38
41
  $parcel$export($dad94870630697a9$exports, "$EmailRecord", () => $dad94870630697a9$export$96180cdcc4bc745c);
39
42
  $parcel$export($dad94870630697a9$exports, "$UpdateEmailRecordDto", () => $dad94870630697a9$export$f581847698cf72b6);
40
- $parcel$export($dad94870630697a9$exports, "$Industry", () => $dad94870630697a9$export$86e7567d0e80a3fd);
41
- $parcel$export($dad94870630697a9$exports, "$Region", () => $dad94870630697a9$export$fd4976cd1b633c9);
42
43
  $parcel$export($dad94870630697a9$exports, "$SendSmsDto", () => $dad94870630697a9$export$9af4a86888b337b1);
43
44
  $parcel$export($dad94870630697a9$exports, "$SmsStatus", () => $dad94870630697a9$export$d1050030e8300ed6);
44
45
  $parcel$export($dad94870630697a9$exports, "$CreateSmsRecordDto", () => $dad94870630697a9$export$c91a8145d1d88a6b);
45
46
  $parcel$export($dad94870630697a9$exports, "$SmsRecord", () => $dad94870630697a9$export$62bcd56e06b73f35);
46
47
  $parcel$export($dad94870630697a9$exports, "$UpdateSmsRecordDto", () => $dad94870630697a9$export$b885d88b4209b261);
48
+ $parcel$export($dad94870630697a9$exports, "$Industry", () => $dad94870630697a9$export$86e7567d0e80a3fd);
49
+ $parcel$export($dad94870630697a9$exports, "$Region", () => $dad94870630697a9$export$fd4976cd1b633c9);
47
50
  // This file is auto-generated by @hey-api/openapi-ts
48
51
  const $dad94870630697a9$export$88f4d4b355951aa3 = {
49
52
  type: "object",
@@ -166,6 +169,46 @@ const $dad94870630697a9$export$424b0b82fa10bdfa = {
166
169
  type: "string",
167
170
  description: "\u7528\u6237\u540D"
168
171
  },
172
+ employeeId: {
173
+ type: "string",
174
+ description: "\u5458\u5DE5\u7F16\u53F7"
175
+ },
176
+ permissions: {
177
+ description: "\u6743\u9650",
178
+ type: "array",
179
+ items: {
180
+ type: "string"
181
+ }
182
+ },
183
+ groups: {
184
+ description: "\u56E2\u961F",
185
+ type: "array",
186
+ items: {
187
+ type: "string"
188
+ }
189
+ },
190
+ lastLoginAt: {
191
+ format: "date-time",
192
+ type: "string",
193
+ description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
194
+ },
195
+ active: {
196
+ type: "boolean",
197
+ description: "\u662F\u5426\u542F\u7528"
198
+ },
199
+ inviteCode: {
200
+ type: "string",
201
+ description: "\u9080\u8BF7\u7801"
202
+ },
203
+ status: {
204
+ type: "string",
205
+ description: "\u72B6\u6001"
206
+ },
207
+ expireAt: {
208
+ format: "date-time",
209
+ type: "string",
210
+ description: "\u8FC7\u671F\u65F6\u95F4"
211
+ },
169
212
  id: {
170
213
  type: "string",
171
214
  description: "Entity id"
@@ -523,6 +566,41 @@ const $dad94870630697a9$export$42fb86b793a2c536 = {
523
566
  username: {
524
567
  type: "string",
525
568
  description: "\u7528\u6237\u540D"
569
+ },
570
+ employeeId: {
571
+ type: "string",
572
+ description: "\u5458\u5DE5\u7F16\u53F7"
573
+ },
574
+ permissions: {
575
+ description: "\u6743\u9650",
576
+ type: "array",
577
+ items: {
578
+ type: "string"
579
+ }
580
+ },
581
+ groups: {
582
+ description: "\u56E2\u961F",
583
+ type: "array",
584
+ items: {
585
+ type: "string"
586
+ }
587
+ },
588
+ active: {
589
+ type: "boolean",
590
+ description: "\u662F\u5426\u542F\u7528"
591
+ },
592
+ inviteCode: {
593
+ type: "string",
594
+ description: "\u9080\u8BF7\u7801"
595
+ },
596
+ status: {
597
+ type: "string",
598
+ description: "\u72B6\u6001"
599
+ },
600
+ expireAt: {
601
+ format: "date-time",
602
+ type: "string",
603
+ description: "\u8FC7\u671F\u65F6\u95F4"
526
604
  }
527
605
  }
528
606
  };
@@ -613,6 +691,46 @@ const $dad94870630697a9$export$1b308892cefd8e3e = {
613
691
  username: {
614
692
  type: "string",
615
693
  description: "\u7528\u6237\u540D"
694
+ },
695
+ employeeId: {
696
+ type: "string",
697
+ description: "\u5458\u5DE5\u7F16\u53F7"
698
+ },
699
+ permissions: {
700
+ description: "\u6743\u9650",
701
+ type: "array",
702
+ items: {
703
+ type: "string"
704
+ }
705
+ },
706
+ groups: {
707
+ description: "\u56E2\u961F",
708
+ type: "array",
709
+ items: {
710
+ type: "string"
711
+ }
712
+ },
713
+ lastLoginAt: {
714
+ format: "date-time",
715
+ type: "string",
716
+ description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
717
+ },
718
+ active: {
719
+ type: "boolean",
720
+ description: "\u662F\u5426\u542F\u7528"
721
+ },
722
+ inviteCode: {
723
+ type: "string",
724
+ description: "\u9080\u8BF7\u7801"
725
+ },
726
+ status: {
727
+ type: "string",
728
+ description: "\u72B6\u6001"
729
+ },
730
+ expireAt: {
731
+ format: "date-time",
732
+ type: "string",
733
+ description: "\u8FC7\u671F\u65F6\u95F4"
616
734
  }
617
735
  }
618
736
  };
@@ -672,6 +790,29 @@ const $dad94870630697a9$export$3a0f0f379fb2f43f = {
672
790
  ns: {
673
791
  type: "string",
674
792
  description: "\u6240\u5C5E\u7684 namespace"
793
+ },
794
+ permissions: {
795
+ description: "\u6743\u9650",
796
+ type: "array",
797
+ items: {
798
+ type: "string"
799
+ }
800
+ },
801
+ active: {
802
+ type: "boolean",
803
+ description: "\u662F\u5426\u542F\u7528"
804
+ },
805
+ defaultPassword: {
806
+ type: "string",
807
+ description: "\u9ED8\u8BA4\u5BC6\u7801"
808
+ },
809
+ exportable: {
810
+ type: "boolean",
811
+ description: "\u662F\u5426\u53EF\u5BFC\u51FA"
812
+ },
813
+ userCount: {
814
+ type: "number",
815
+ description: "\u4EBA\u6570"
675
816
  }
676
817
  },
677
818
  required: [
@@ -711,6 +852,29 @@ const $dad94870630697a9$export$fef09edac2f41dd6 = {
711
852
  type: "string",
712
853
  description: "\u6240\u5C5E\u7684 namespace"
713
854
  },
855
+ permissions: {
856
+ description: "\u6743\u9650",
857
+ type: "array",
858
+ items: {
859
+ type: "string"
860
+ }
861
+ },
862
+ active: {
863
+ type: "boolean",
864
+ description: "\u662F\u5426\u542F\u7528"
865
+ },
866
+ defaultPassword: {
867
+ type: "string",
868
+ description: "\u9ED8\u8BA4\u5BC6\u7801"
869
+ },
870
+ exportable: {
871
+ type: "boolean",
872
+ description: "\u662F\u5426\u53EF\u5BFC\u51FA"
873
+ },
874
+ userCount: {
875
+ type: "number",
876
+ description: "\u4EBA\u6570"
877
+ },
714
878
  id: {
715
879
  type: "string",
716
880
  description: "Entity id"
@@ -761,6 +925,29 @@ const $dad94870630697a9$export$532a2356385b479a = {
761
925
  name: {
762
926
  type: "string",
763
927
  description: "\u540D\u79F0"
928
+ },
929
+ permissions: {
930
+ description: "\u6743\u9650",
931
+ type: "array",
932
+ items: {
933
+ type: "string"
934
+ }
935
+ },
936
+ active: {
937
+ type: "boolean",
938
+ description: "\u662F\u5426\u542F\u7528"
939
+ },
940
+ defaultPassword: {
941
+ type: "string",
942
+ description: "\u9ED8\u8BA4\u5BC6\u7801"
943
+ },
944
+ exportable: {
945
+ type: "boolean",
946
+ description: "\u662F\u5426\u53EF\u5BFC\u51FA"
947
+ },
948
+ userCount: {
949
+ type: "number",
950
+ description: "\u4EBA\u6570"
764
951
  }
765
952
  }
766
953
  };
@@ -870,6 +1057,107 @@ const $dad94870630697a9$export$8799e003f5e64a20 = {
870
1057
  }
871
1058
  }
872
1059
  };
1060
+ const $dad94870630697a9$export$f82ca5b68f88f064 = {
1061
+ type: "object",
1062
+ properties: {
1063
+ name: {
1064
+ type: "string",
1065
+ description: "\u540D\u79F0"
1066
+ },
1067
+ permissions: {
1068
+ description: "\u6743\u9650",
1069
+ type: "array",
1070
+ items: {
1071
+ type: "string"
1072
+ }
1073
+ },
1074
+ active: {
1075
+ type: "boolean",
1076
+ description: "\u662F\u5426\u542F\u7528"
1077
+ },
1078
+ userCount: {
1079
+ type: "number",
1080
+ description: "\u4EBA\u6570"
1081
+ }
1082
+ },
1083
+ required: [
1084
+ "name"
1085
+ ]
1086
+ };
1087
+ const $dad94870630697a9$export$c90c1d4bd95ad384 = {
1088
+ type: "object",
1089
+ properties: {
1090
+ name: {
1091
+ type: "string",
1092
+ description: "\u540D\u79F0"
1093
+ },
1094
+ permissions: {
1095
+ description: "\u6743\u9650",
1096
+ type: "array",
1097
+ items: {
1098
+ type: "string"
1099
+ }
1100
+ },
1101
+ active: {
1102
+ type: "boolean",
1103
+ description: "\u662F\u5426\u542F\u7528"
1104
+ },
1105
+ userCount: {
1106
+ type: "number",
1107
+ description: "\u4EBA\u6570"
1108
+ },
1109
+ id: {
1110
+ type: "string",
1111
+ description: "Entity id"
1112
+ },
1113
+ createdAt: {
1114
+ format: "date-time",
1115
+ type: "string",
1116
+ description: "Entity created at when"
1117
+ },
1118
+ updatedAt: {
1119
+ format: "date-time",
1120
+ type: "string",
1121
+ description: "Entity updated at when"
1122
+ },
1123
+ createdBy: {
1124
+ type: "string",
1125
+ description: "Entity created by who"
1126
+ },
1127
+ updatedBy: {
1128
+ type: "string",
1129
+ description: "Entity updated by who"
1130
+ }
1131
+ },
1132
+ required: [
1133
+ "name",
1134
+ "id"
1135
+ ]
1136
+ };
1137
+ const $dad94870630697a9$export$1003ec321a8b124 = {
1138
+ type: "object",
1139
+ properties: {
1140
+ name: {
1141
+ type: "string",
1142
+ description: "\u540D\u79F0"
1143
+ },
1144
+ permissions: {
1145
+ description: "\u6743\u9650",
1146
+ type: "array",
1147
+ items: {
1148
+ type: "string"
1149
+ }
1150
+ },
1151
+ active: {
1152
+ type: "boolean",
1153
+ description: "\u662F\u5426\u542F\u7528"
1154
+ },
1155
+ userCount: {
1156
+ type: "number",
1157
+ description: "\u4EBA\u6570"
1158
+ }
1159
+ }
1160
+ };
873
1161
  const $dad94870630697a9$export$7e72ed431ee59116 = {
874
1162
  type: "object",
875
1163
  properties: {
@@ -1110,63 +1398,6 @@ const $dad94870630697a9$export$f581847698cf72b6 = {
1110
1398
  }
1111
1399
  }
1112
1400
  };
1113
- const $dad94870630697a9$export$86e7567d0e80a3fd = {
1114
- type: "object",
1115
- properties: {
1116
- code: {
1117
- type: "string",
1118
- description: "\u7F16\u7801"
1119
- },
1120
- name: {
1121
- type: "string",
1122
- description: "\u540D\u79F0"
1123
- },
1124
- children: {
1125
- description: "\u5B50\u96C6",
1126
- type: "array",
1127
- items: {
1128
- $ref: "#/components/schemas/Industry"
1129
- }
1130
- }
1131
- },
1132
- required: [
1133
- "code",
1134
- "name",
1135
- "children"
1136
- ]
1137
- };
1138
- const $dad94870630697a9$export$fd4976cd1b633c9 = {
1139
- type: "object",
1140
- properties: {
1141
- code: {
1142
- type: "string",
1143
- description: "\u7F29\u5199"
1144
- },
1145
- nameZh: {
1146
- type: "string",
1147
- description: "\u4E2D\u6587\u540D\u79F0"
1148
- },
1149
- namePinyin: {
1150
- type: "string",
1151
- description: "\u4E2D\u6587\u62FC\u97F3"
1152
- },
1153
- nameEn: {
1154
- type: "string",
1155
- description: "\u82F1\u6587\u540D\u79F0"
1156
- },
1157
- dialingPrefix: {
1158
- type: "string",
1159
- description: "\u7535\u8BDD\u524D\u7F00"
1160
- }
1161
- },
1162
- required: [
1163
- "code",
1164
- "nameZh",
1165
- "namePinyin",
1166
- "nameEn",
1167
- "dialingPrefix"
1168
- ]
1169
- };
1170
1401
  const $dad94870630697a9$export$9af4a86888b337b1 = {
1171
1402
  type: "object",
1172
1403
  properties: {
@@ -1319,6 +1550,63 @@ const $dad94870630697a9$export$b885d88b4209b261 = {
1319
1550
  }
1320
1551
  }
1321
1552
  };
1553
+ const $dad94870630697a9$export$86e7567d0e80a3fd = {
1554
+ type: "object",
1555
+ properties: {
1556
+ code: {
1557
+ type: "string",
1558
+ description: "\u7F16\u7801"
1559
+ },
1560
+ name: {
1561
+ type: "string",
1562
+ description: "\u540D\u79F0"
1563
+ },
1564
+ children: {
1565
+ description: "\u5B50\u96C6",
1566
+ type: "array",
1567
+ items: {
1568
+ $ref: "#/components/schemas/Industry"
1569
+ }
1570
+ }
1571
+ },
1572
+ required: [
1573
+ "code",
1574
+ "name",
1575
+ "children"
1576
+ ]
1577
+ };
1578
+ const $dad94870630697a9$export$fd4976cd1b633c9 = {
1579
+ type: "object",
1580
+ properties: {
1581
+ code: {
1582
+ type: "string",
1583
+ description: "\u7F29\u5199"
1584
+ },
1585
+ nameZh: {
1586
+ type: "string",
1587
+ description: "\u4E2D\u6587\u540D\u79F0"
1588
+ },
1589
+ namePinyin: {
1590
+ type: "string",
1591
+ description: "\u4E2D\u6587\u62FC\u97F3"
1592
+ },
1593
+ nameEn: {
1594
+ type: "string",
1595
+ description: "\u82F1\u6587\u540D\u79F0"
1596
+ },
1597
+ dialingPrefix: {
1598
+ type: "string",
1599
+ description: "\u7535\u8BDD\u524D\u7F00"
1600
+ }
1601
+ },
1602
+ required: [
1603
+ "code",
1604
+ "nameZh",
1605
+ "namePinyin",
1606
+ "nameEn",
1607
+ "dialingPrefix"
1608
+ ]
1609
+ };
1322
1610
 
1323
1611
 
1324
1612
  var $d05a635c6a58c99f$exports = {};
@@ -1333,11 +1621,13 @@ $parcel$export($d05a635c6a58c99f$exports, "registerByPhone", () => $d05a635c6a58
1333
1621
  $parcel$export($d05a635c6a58c99f$exports, "registerByEmail", () => $d05a635c6a58c99f$export$81b4f1bef0778e97);
1334
1622
  $parcel$export($d05a635c6a58c99f$exports, "signToken", () => $d05a635c6a58c99f$export$6fa58217127c2be5);
1335
1623
  $parcel$export($d05a635c6a58c99f$exports, "refresh", () => $d05a635c6a58c99f$export$2d6e9b4c68afb6c8);
1624
+ $parcel$export($d05a635c6a58c99f$exports, "cleanupAllData", () => $d05a635c6a58c99f$export$1d732abae8c2178b);
1336
1625
  $parcel$export($d05a635c6a58c99f$exports, "createUser", () => $d05a635c6a58c99f$export$3493b8991d49f558);
1337
1626
  $parcel$export($d05a635c6a58c99f$exports, "listUsers", () => $d05a635c6a58c99f$export$1c4bb93498097c2d);
1338
1627
  $parcel$export($d05a635c6a58c99f$exports, "getUser", () => $d05a635c6a58c99f$export$7cbf767827cd68ba);
1339
1628
  $parcel$export($d05a635c6a58c99f$exports, "updateUser", () => $d05a635c6a58c99f$export$e3ac7a5d19605772);
1340
1629
  $parcel$export($d05a635c6a58c99f$exports, "deleteUser", () => $d05a635c6a58c99f$export$7d0f10f273c0438a);
1630
+ $parcel$export($d05a635c6a58c99f$exports, "upsertUserByEmployeeId", () => $d05a635c6a58c99f$export$6bae5989866b69dc);
1341
1631
  $parcel$export($d05a635c6a58c99f$exports, "verifyIdentity", () => $d05a635c6a58c99f$export$ba1d92ba04505a80);
1342
1632
  $parcel$export($d05a635c6a58c99f$exports, "resetPassword", () => $d05a635c6a58c99f$export$dc726c8e334dd814);
1343
1633
  $parcel$export($d05a635c6a58c99f$exports, "updatePassword", () => $d05a635c6a58c99f$export$e2853351e15b7895);
@@ -1351,6 +1641,11 @@ $parcel$export($d05a635c6a58c99f$exports, "listSessions", () => $d05a635c6a58c99
1351
1641
  $parcel$export($d05a635c6a58c99f$exports, "getSession", () => $d05a635c6a58c99f$export$12151e9ef3722552);
1352
1642
  $parcel$export($d05a635c6a58c99f$exports, "updateSession", () => $d05a635c6a58c99f$export$531818e825e774db);
1353
1643
  $parcel$export($d05a635c6a58c99f$exports, "deleteSession", () => $d05a635c6a58c99f$export$f3b72123251cadf);
1644
+ $parcel$export($d05a635c6a58c99f$exports, "createGroup", () => $d05a635c6a58c99f$export$856f728536d122cb);
1645
+ $parcel$export($d05a635c6a58c99f$exports, "listGroups", () => $d05a635c6a58c99f$export$6e0114716bd43025);
1646
+ $parcel$export($d05a635c6a58c99f$exports, "getGroup", () => $d05a635c6a58c99f$export$dd8fe8767b0c9948);
1647
+ $parcel$export($d05a635c6a58c99f$exports, "updateGroup", () => $d05a635c6a58c99f$export$7266cde9e95c4de8);
1648
+ $parcel$export($d05a635c6a58c99f$exports, "deleteGroup", () => $d05a635c6a58c99f$export$ae2679b329fc10b6);
1354
1649
  $parcel$export($d05a635c6a58c99f$exports, "createCaptcha", () => $d05a635c6a58c99f$export$a6205785190db785);
1355
1650
  $parcel$export($d05a635c6a58c99f$exports, "listCaptchas", () => $d05a635c6a58c99f$export$72a6916a1591271b);
1356
1651
  $parcel$export($d05a635c6a58c99f$exports, "getCaptcha", () => $d05a635c6a58c99f$export$3f7c59539a3d9e70);
@@ -1362,14 +1657,14 @@ $parcel$export($d05a635c6a58c99f$exports, "listEmailRecords", () => $d05a635c6a5
1362
1657
  $parcel$export($d05a635c6a58c99f$exports, "getEmailRecord", () => $d05a635c6a58c99f$export$e3abaa1f0f2be390);
1363
1658
  $parcel$export($d05a635c6a58c99f$exports, "updateEmailRecord", () => $d05a635c6a58c99f$export$340a3b15edf5320b);
1364
1659
  $parcel$export($d05a635c6a58c99f$exports, "deleteEmailRecord", () => $d05a635c6a58c99f$export$47732292698093e5);
1365
- $parcel$export($d05a635c6a58c99f$exports, "listIndustries", () => $d05a635c6a58c99f$export$6a657f882af8e729);
1366
- $parcel$export($d05a635c6a58c99f$exports, "listRegions", () => $d05a635c6a58c99f$export$40295cce70884665);
1367
1660
  $parcel$export($d05a635c6a58c99f$exports, "sendSms", () => $d05a635c6a58c99f$export$fe12addabe061498);
1368
1661
  $parcel$export($d05a635c6a58c99f$exports, "createSmsRecord", () => $d05a635c6a58c99f$export$89ba073eddabee7c);
1369
1662
  $parcel$export($d05a635c6a58c99f$exports, "listSmsRecords", () => $d05a635c6a58c99f$export$3a0aa6683b18ae05);
1370
1663
  $parcel$export($d05a635c6a58c99f$exports, "getSmsRecord", () => $d05a635c6a58c99f$export$8a807b18b6923f94);
1371
1664
  $parcel$export($d05a635c6a58c99f$exports, "updateSmsRecord", () => $d05a635c6a58c99f$export$a658b2c8c182930a);
1372
1665
  $parcel$export($d05a635c6a58c99f$exports, "deleteSmsRecord", () => $d05a635c6a58c99f$export$2816e50d4ec74f93);
1666
+ $parcel$export($d05a635c6a58c99f$exports, "listIndustries", () => $d05a635c6a58c99f$export$6a657f882af8e729);
1667
+ $parcel$export($d05a635c6a58c99f$exports, "listRegions", () => $d05a635c6a58c99f$export$40295cce70884665);
1373
1668
  // This file is auto-generated by @hey-api/openapi-ts
1374
1669
 
1375
1670
  const $d05a635c6a58c99f$export$388e0302ca0d9a41 = (0, $hgUW1$createClient)((0, $hgUW1$createConfig)());
@@ -1427,6 +1722,12 @@ const $d05a635c6a58c99f$export$2d6e9b4c68afb6c8 = (options)=>{
1427
1722
  url: "/auth/@refresh"
1428
1723
  });
1429
1724
  };
1725
+ const $d05a635c6a58c99f$export$1d732abae8c2178b = (options)=>{
1726
+ return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
1727
+ ...options,
1728
+ url: "/auth/@cleanup"
1729
+ });
1730
+ };
1430
1731
  const $d05a635c6a58c99f$export$3493b8991d49f558 = (options)=>{
1431
1732
  return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1432
1733
  ...options,
@@ -1457,6 +1758,12 @@ const $d05a635c6a58c99f$export$7d0f10f273c0438a = (options)=>{
1457
1758
  url: "/users/{userId}"
1458
1759
  });
1459
1760
  };
1761
+ const $d05a635c6a58c99f$export$6bae5989866b69dc = (options)=>{
1762
+ return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
1763
+ ...options,
1764
+ url: "/users/employee/{userEmployeeId}"
1765
+ });
1766
+ };
1460
1767
  const $d05a635c6a58c99f$export$ba1d92ba04505a80 = (options)=>{
1461
1768
  return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1462
1769
  ...options,
@@ -1496,7 +1803,7 @@ const $d05a635c6a58c99f$export$becf4f9e48e6290a = (options)=>{
1496
1803
  const $d05a635c6a58c99f$export$9c52b148e3e82e = (options)=>{
1497
1804
  return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
1498
1805
  ...options,
1499
- url: "/namespaces/{namespaceId}"
1806
+ url: "/namespaces/{namespaceIdOrKey}"
1500
1807
  });
1501
1808
  };
1502
1809
  const $d05a635c6a58c99f$export$4b83ac7774adea2f = (options)=>{
@@ -1535,6 +1842,36 @@ const $d05a635c6a58c99f$export$f3b72123251cadf = (options)=>{
1535
1842
  url: "/sessions/{sessionId}"
1536
1843
  });
1537
1844
  };
1845
+ const $d05a635c6a58c99f$export$856f728536d122cb = (options)=>{
1846
+ return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1847
+ ...options,
1848
+ url: "/groups"
1849
+ });
1850
+ };
1851
+ const $d05a635c6a58c99f$export$6e0114716bd43025 = (options)=>{
1852
+ return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1853
+ ...options,
1854
+ url: "/groups"
1855
+ });
1856
+ };
1857
+ const $d05a635c6a58c99f$export$dd8fe8767b0c9948 = (options)=>{
1858
+ return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1859
+ ...options,
1860
+ url: "/groups/{groupIdOrName}"
1861
+ });
1862
+ };
1863
+ const $d05a635c6a58c99f$export$7266cde9e95c4de8 = (options)=>{
1864
+ return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
1865
+ ...options,
1866
+ url: "/groups/{groupId}"
1867
+ });
1868
+ };
1869
+ const $d05a635c6a58c99f$export$ae2679b329fc10b6 = (options)=>{
1870
+ return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
1871
+ ...options,
1872
+ url: "/groups/{groupId}"
1873
+ });
1874
+ };
1538
1875
  const $d05a635c6a58c99f$export$a6205785190db785 = (options)=>{
1539
1876
  return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1540
1877
  ...options,
@@ -1601,18 +1938,6 @@ const $d05a635c6a58c99f$export$47732292698093e5 = (options)=>{
1601
1938
  url: "/email/records/{emailRecordId}"
1602
1939
  });
1603
1940
  };
1604
- const $d05a635c6a58c99f$export$6a657f882af8e729 = (options)=>{
1605
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1606
- ...options,
1607
- url: "/industries"
1608
- });
1609
- };
1610
- const $d05a635c6a58c99f$export$40295cce70884665 = (options)=>{
1611
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1612
- ...options,
1613
- url: "/regions"
1614
- });
1615
- };
1616
1941
  const $d05a635c6a58c99f$export$fe12addabe061498 = (options)=>{
1617
1942
  return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1618
1943
  ...options,
@@ -1649,6 +1974,18 @@ const $d05a635c6a58c99f$export$2816e50d4ec74f93 = (options)=>{
1649
1974
  url: "/sms/records/{smsRecordId}"
1650
1975
  });
1651
1976
  };
1977
+ const $d05a635c6a58c99f$export$6a657f882af8e729 = (options)=>{
1978
+ return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1979
+ ...options,
1980
+ url: "/industries"
1981
+ });
1982
+ };
1983
+ const $d05a635c6a58c99f$export$40295cce70884665 = (options)=>{
1984
+ return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1985
+ ...options,
1986
+ url: "/regions"
1987
+ });
1988
+ };
1652
1989
 
1653
1990
 
1654
1991
  var $ffc5a78cf4bf2729$exports = {};
@@ -1657,5 +1994,5 @@ var $ffc5a78cf4bf2729$exports = {};
1657
1994
 
1658
1995
 
1659
1996
 
1660
- export {$dad94870630697a9$export$88f4d4b355951aa3 as $HealthCheckResult, $dad94870630697a9$export$f4de602dbafe6fc8 as $LoginDto, $dad94870630697a9$export$424b0b82fa10bdfa as $User, $dad94870630697a9$export$aaf658bacb5186fb as $SessionWithToken, $dad94870630697a9$export$b60f6dff66c5c7ac as $LoginByEmailDto, $dad94870630697a9$export$330f12720b62cc63 as $LoginByPhoneDto, $dad94870630697a9$export$b5be97c39364f433 as $RegisterDto, $dad94870630697a9$export$e47424ab6045dd9e as $RegisterbyPhoneDto, $dad94870630697a9$export$297fa16bfda62978 as $RegisterByEmailDto, $dad94870630697a9$export$9700ad9c19f406f1 as $SignTokenDto, $dad94870630697a9$export$836264d3c2fd35dd as $Token, $dad94870630697a9$export$4f302e855623adeb as $RefreshTokenDto, $dad94870630697a9$export$42fb86b793a2c536 as $CreateUserDto, $dad94870630697a9$export$1b308892cefd8e3e as $UpdateUserDto, $dad94870630697a9$export$ea03f88e5a85dda9 as $ResetPasswordDto, $dad94870630697a9$export$3bacf71d57b21dff as $UpdatePasswordDto, $dad94870630697a9$export$3a0f0f379fb2f43f as $CreateNamespaceDto, $dad94870630697a9$export$fef09edac2f41dd6 as $Namespace, $dad94870630697a9$export$532a2356385b479a as $UpdateNamespaceDto, $dad94870630697a9$export$c383d7f32a575ab as $CreateSessionDto, $dad94870630697a9$export$90376f1cecfdbf1b as $Session, $dad94870630697a9$export$8799e003f5e64a20 as $UpdateSessionDto, $dad94870630697a9$export$7e72ed431ee59116 as $CreateCaptchaDto, $dad94870630697a9$export$1f2dec6968d7e276 as $Captcha, $dad94870630697a9$export$9ccc176b5ae9cc36 as $UpdateCaptchaDto, $dad94870630697a9$export$6f9a342594b281c0 as $SendEmailDto, $dad94870630697a9$export$ca86ed5d3edf6578 as $EmailStatus, $dad94870630697a9$export$2093419254bae162 as $CreateEmailRecordDto, $dad94870630697a9$export$96180cdcc4bc745c as $EmailRecord, $dad94870630697a9$export$f581847698cf72b6 as $UpdateEmailRecordDto, $dad94870630697a9$export$86e7567d0e80a3fd as $Industry, $dad94870630697a9$export$fd4976cd1b633c9 as $Region, $dad94870630697a9$export$9af4a86888b337b1 as $SendSmsDto, $dad94870630697a9$export$d1050030e8300ed6 as $SmsStatus, $dad94870630697a9$export$c91a8145d1d88a6b as $CreateSmsRecordDto, $dad94870630697a9$export$62bcd56e06b73f35 as $SmsRecord, $dad94870630697a9$export$b885d88b4209b261 as $UpdateSmsRecordDto, $d05a635c6a58c99f$export$388e0302ca0d9a41 as client, $d05a635c6a58c99f$export$e2e77b41cb4e1f9e as hello, $d05a635c6a58c99f$export$596d806903d1f59e as login, $d05a635c6a58c99f$export$72356d9e5d4287de as loginByEmail, $d05a635c6a58c99f$export$aa06bc33124d2a00 as loginByPhone, $d05a635c6a58c99f$export$6503ec6e8aabbaf as register, $d05a635c6a58c99f$export$acd2ee44d8cc419c as registerByPhone, $d05a635c6a58c99f$export$81b4f1bef0778e97 as registerByEmail, $d05a635c6a58c99f$export$6fa58217127c2be5 as signToken, $d05a635c6a58c99f$export$2d6e9b4c68afb6c8 as refresh, $d05a635c6a58c99f$export$3493b8991d49f558 as createUser, $d05a635c6a58c99f$export$1c4bb93498097c2d as listUsers, $d05a635c6a58c99f$export$7cbf767827cd68ba as getUser, $d05a635c6a58c99f$export$e3ac7a5d19605772 as updateUser, $d05a635c6a58c99f$export$7d0f10f273c0438a as deleteUser, $d05a635c6a58c99f$export$ba1d92ba04505a80 as verifyIdentity, $d05a635c6a58c99f$export$dc726c8e334dd814 as resetPassword, $d05a635c6a58c99f$export$e2853351e15b7895 as updatePassword, $d05a635c6a58c99f$export$9351443236ea3261 as createNamespace, $d05a635c6a58c99f$export$64f28126552508c0 as listNamespaces, $d05a635c6a58c99f$export$becf4f9e48e6290a as getNamespace, $d05a635c6a58c99f$export$9c52b148e3e82e as updateNamespace, $d05a635c6a58c99f$export$4b83ac7774adea2f as deleteNamespace, $d05a635c6a58c99f$export$f7c62c73429afa28 as createSession, $d05a635c6a58c99f$export$e2f57af6ce5ee4d as listSessions, $d05a635c6a58c99f$export$12151e9ef3722552 as getSession, $d05a635c6a58c99f$export$531818e825e774db as updateSession, $d05a635c6a58c99f$export$f3b72123251cadf as deleteSession, $d05a635c6a58c99f$export$a6205785190db785 as createCaptcha, $d05a635c6a58c99f$export$72a6916a1591271b as listCaptchas, $d05a635c6a58c99f$export$3f7c59539a3d9e70 as getCaptcha, $d05a635c6a58c99f$export$a8ca09988a1eeb80 as updateCaptcha, $d05a635c6a58c99f$export$b7ca998081fe193a as deleteCaptcha, $d05a635c6a58c99f$export$1cea2e25b75a88f2 as sendEmail, $d05a635c6a58c99f$export$1f96d950f89862c2 as createEmailRecord, $d05a635c6a58c99f$export$f7461c51f0fbbbec as listEmailRecords, $d05a635c6a58c99f$export$e3abaa1f0f2be390 as getEmailRecord, $d05a635c6a58c99f$export$340a3b15edf5320b as updateEmailRecord, $d05a635c6a58c99f$export$47732292698093e5 as deleteEmailRecord, $d05a635c6a58c99f$export$6a657f882af8e729 as listIndustries, $d05a635c6a58c99f$export$40295cce70884665 as listRegions, $d05a635c6a58c99f$export$fe12addabe061498 as sendSms, $d05a635c6a58c99f$export$89ba073eddabee7c as createSmsRecord, $d05a635c6a58c99f$export$3a0aa6683b18ae05 as listSmsRecords, $d05a635c6a58c99f$export$8a807b18b6923f94 as getSmsRecord, $d05a635c6a58c99f$export$a658b2c8c182930a as updateSmsRecord, $d05a635c6a58c99f$export$2816e50d4ec74f93 as deleteSmsRecord};
1997
+ export {$dad94870630697a9$export$88f4d4b355951aa3 as $HealthCheckResult, $dad94870630697a9$export$f4de602dbafe6fc8 as $LoginDto, $dad94870630697a9$export$424b0b82fa10bdfa as $User, $dad94870630697a9$export$aaf658bacb5186fb as $SessionWithToken, $dad94870630697a9$export$b60f6dff66c5c7ac as $LoginByEmailDto, $dad94870630697a9$export$330f12720b62cc63 as $LoginByPhoneDto, $dad94870630697a9$export$b5be97c39364f433 as $RegisterDto, $dad94870630697a9$export$e47424ab6045dd9e as $RegisterbyPhoneDto, $dad94870630697a9$export$297fa16bfda62978 as $RegisterByEmailDto, $dad94870630697a9$export$9700ad9c19f406f1 as $SignTokenDto, $dad94870630697a9$export$836264d3c2fd35dd as $Token, $dad94870630697a9$export$4f302e855623adeb as $RefreshTokenDto, $dad94870630697a9$export$42fb86b793a2c536 as $CreateUserDto, $dad94870630697a9$export$1b308892cefd8e3e as $UpdateUserDto, $dad94870630697a9$export$ea03f88e5a85dda9 as $ResetPasswordDto, $dad94870630697a9$export$3bacf71d57b21dff as $UpdatePasswordDto, $dad94870630697a9$export$3a0f0f379fb2f43f as $CreateNamespaceDto, $dad94870630697a9$export$fef09edac2f41dd6 as $Namespace, $dad94870630697a9$export$532a2356385b479a as $UpdateNamespaceDto, $dad94870630697a9$export$c383d7f32a575ab as $CreateSessionDto, $dad94870630697a9$export$90376f1cecfdbf1b as $Session, $dad94870630697a9$export$8799e003f5e64a20 as $UpdateSessionDto, $dad94870630697a9$export$f82ca5b68f88f064 as $CreateGroupDto, $dad94870630697a9$export$c90c1d4bd95ad384 as $Group, $dad94870630697a9$export$1003ec321a8b124 as $UpdateGroupDto, $dad94870630697a9$export$7e72ed431ee59116 as $CreateCaptchaDto, $dad94870630697a9$export$1f2dec6968d7e276 as $Captcha, $dad94870630697a9$export$9ccc176b5ae9cc36 as $UpdateCaptchaDto, $dad94870630697a9$export$6f9a342594b281c0 as $SendEmailDto, $dad94870630697a9$export$ca86ed5d3edf6578 as $EmailStatus, $dad94870630697a9$export$2093419254bae162 as $CreateEmailRecordDto, $dad94870630697a9$export$96180cdcc4bc745c as $EmailRecord, $dad94870630697a9$export$f581847698cf72b6 as $UpdateEmailRecordDto, $dad94870630697a9$export$9af4a86888b337b1 as $SendSmsDto, $dad94870630697a9$export$d1050030e8300ed6 as $SmsStatus, $dad94870630697a9$export$c91a8145d1d88a6b as $CreateSmsRecordDto, $dad94870630697a9$export$62bcd56e06b73f35 as $SmsRecord, $dad94870630697a9$export$b885d88b4209b261 as $UpdateSmsRecordDto, $dad94870630697a9$export$86e7567d0e80a3fd as $Industry, $dad94870630697a9$export$fd4976cd1b633c9 as $Region, $d05a635c6a58c99f$export$388e0302ca0d9a41 as client, $d05a635c6a58c99f$export$e2e77b41cb4e1f9e as hello, $d05a635c6a58c99f$export$596d806903d1f59e as login, $d05a635c6a58c99f$export$72356d9e5d4287de as loginByEmail, $d05a635c6a58c99f$export$aa06bc33124d2a00 as loginByPhone, $d05a635c6a58c99f$export$6503ec6e8aabbaf as register, $d05a635c6a58c99f$export$acd2ee44d8cc419c as registerByPhone, $d05a635c6a58c99f$export$81b4f1bef0778e97 as registerByEmail, $d05a635c6a58c99f$export$6fa58217127c2be5 as signToken, $d05a635c6a58c99f$export$2d6e9b4c68afb6c8 as refresh, $d05a635c6a58c99f$export$1d732abae8c2178b as cleanupAllData, $d05a635c6a58c99f$export$3493b8991d49f558 as createUser, $d05a635c6a58c99f$export$1c4bb93498097c2d as listUsers, $d05a635c6a58c99f$export$7cbf767827cd68ba as getUser, $d05a635c6a58c99f$export$e3ac7a5d19605772 as updateUser, $d05a635c6a58c99f$export$7d0f10f273c0438a as deleteUser, $d05a635c6a58c99f$export$6bae5989866b69dc as upsertUserByEmployeeId, $d05a635c6a58c99f$export$ba1d92ba04505a80 as verifyIdentity, $d05a635c6a58c99f$export$dc726c8e334dd814 as resetPassword, $d05a635c6a58c99f$export$e2853351e15b7895 as updatePassword, $d05a635c6a58c99f$export$9351443236ea3261 as createNamespace, $d05a635c6a58c99f$export$64f28126552508c0 as listNamespaces, $d05a635c6a58c99f$export$becf4f9e48e6290a as getNamespace, $d05a635c6a58c99f$export$9c52b148e3e82e as updateNamespace, $d05a635c6a58c99f$export$4b83ac7774adea2f as deleteNamespace, $d05a635c6a58c99f$export$f7c62c73429afa28 as createSession, $d05a635c6a58c99f$export$e2f57af6ce5ee4d as listSessions, $d05a635c6a58c99f$export$12151e9ef3722552 as getSession, $d05a635c6a58c99f$export$531818e825e774db as updateSession, $d05a635c6a58c99f$export$f3b72123251cadf as deleteSession, $d05a635c6a58c99f$export$856f728536d122cb as createGroup, $d05a635c6a58c99f$export$6e0114716bd43025 as listGroups, $d05a635c6a58c99f$export$dd8fe8767b0c9948 as getGroup, $d05a635c6a58c99f$export$7266cde9e95c4de8 as updateGroup, $d05a635c6a58c99f$export$ae2679b329fc10b6 as deleteGroup, $d05a635c6a58c99f$export$a6205785190db785 as createCaptcha, $d05a635c6a58c99f$export$72a6916a1591271b as listCaptchas, $d05a635c6a58c99f$export$3f7c59539a3d9e70 as getCaptcha, $d05a635c6a58c99f$export$a8ca09988a1eeb80 as updateCaptcha, $d05a635c6a58c99f$export$b7ca998081fe193a as deleteCaptcha, $d05a635c6a58c99f$export$1cea2e25b75a88f2 as sendEmail, $d05a635c6a58c99f$export$1f96d950f89862c2 as createEmailRecord, $d05a635c6a58c99f$export$f7461c51f0fbbbec as listEmailRecords, $d05a635c6a58c99f$export$e3abaa1f0f2be390 as getEmailRecord, $d05a635c6a58c99f$export$340a3b15edf5320b as updateEmailRecord, $d05a635c6a58c99f$export$47732292698093e5 as deleteEmailRecord, $d05a635c6a58c99f$export$fe12addabe061498 as sendSms, $d05a635c6a58c99f$export$89ba073eddabee7c as createSmsRecord, $d05a635c6a58c99f$export$3a0aa6683b18ae05 as listSmsRecords, $d05a635c6a58c99f$export$8a807b18b6923f94 as getSmsRecord, $d05a635c6a58c99f$export$a658b2c8c182930a as updateSmsRecord, $d05a635c6a58c99f$export$2816e50d4ec74f93 as deleteSmsRecord, $d05a635c6a58c99f$export$6a657f882af8e729 as listIndustries, $d05a635c6a58c99f$export$40295cce70884665 as listRegions};
1661
1998
  //# sourceMappingURL=module.js.map