@36node/auth-sdk 1.2.0 → 1.3.0-pr-13-189465f53d
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 +237 -227
- package/dist/main.js.map +1 -1
- package/dist/module.js +238 -228
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +335 -296
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export const $User: {
|
|
|
116
116
|
};
|
|
117
117
|
readonly employeeId: {
|
|
118
118
|
readonly type: "string";
|
|
119
|
-
readonly description: "
|
|
119
|
+
readonly description: "员工编号";
|
|
120
120
|
};
|
|
121
121
|
readonly permissions: {
|
|
122
122
|
readonly description: "权限";
|
|
@@ -147,7 +147,7 @@ export const $User: {
|
|
|
147
147
|
};
|
|
148
148
|
readonly status: {
|
|
149
149
|
readonly type: "string";
|
|
150
|
-
readonly description: "
|
|
150
|
+
readonly description: "状态";
|
|
151
151
|
};
|
|
152
152
|
readonly expireAt: {
|
|
153
153
|
readonly format: "date-time";
|
|
@@ -462,7 +462,7 @@ export const $CreateUserDto: {
|
|
|
462
462
|
};
|
|
463
463
|
readonly employeeId: {
|
|
464
464
|
readonly type: "string";
|
|
465
|
-
readonly description: "
|
|
465
|
+
readonly description: "员工编号";
|
|
466
466
|
};
|
|
467
467
|
readonly permissions: {
|
|
468
468
|
readonly description: "权限";
|
|
@@ -488,7 +488,7 @@ export const $CreateUserDto: {
|
|
|
488
488
|
};
|
|
489
489
|
readonly status: {
|
|
490
490
|
readonly type: "string";
|
|
491
|
-
readonly description: "
|
|
491
|
+
readonly description: "状态";
|
|
492
492
|
};
|
|
493
493
|
readonly expireAt: {
|
|
494
494
|
readonly format: "date-time";
|
|
@@ -587,7 +587,7 @@ export const $UpdateUserDto: {
|
|
|
587
587
|
};
|
|
588
588
|
readonly employeeId: {
|
|
589
589
|
readonly type: "string";
|
|
590
|
-
readonly description: "
|
|
590
|
+
readonly description: "员工编号";
|
|
591
591
|
};
|
|
592
592
|
readonly permissions: {
|
|
593
593
|
readonly description: "权限";
|
|
@@ -618,7 +618,7 @@ export const $UpdateUserDto: {
|
|
|
618
618
|
};
|
|
619
619
|
readonly status: {
|
|
620
620
|
readonly type: "string";
|
|
621
|
-
readonly description: "
|
|
621
|
+
readonly description: "状态";
|
|
622
622
|
};
|
|
623
623
|
readonly expireAt: {
|
|
624
624
|
readonly format: "date-time";
|
|
@@ -927,6 +927,114 @@ export const $UpdateSessionDto: {
|
|
|
927
927
|
};
|
|
928
928
|
};
|
|
929
929
|
};
|
|
930
|
+
export const $CreateGroupDto: {
|
|
931
|
+
readonly type: "object";
|
|
932
|
+
readonly properties: {
|
|
933
|
+
readonly data: {
|
|
934
|
+
readonly type: "string";
|
|
935
|
+
readonly description: "额外数据";
|
|
936
|
+
};
|
|
937
|
+
readonly name: {
|
|
938
|
+
readonly type: "string";
|
|
939
|
+
readonly description: "名称";
|
|
940
|
+
};
|
|
941
|
+
readonly permissions: {
|
|
942
|
+
readonly description: "权限";
|
|
943
|
+
readonly type: "array";
|
|
944
|
+
readonly items: {
|
|
945
|
+
readonly type: "string";
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
readonly active: {
|
|
949
|
+
readonly type: "boolean";
|
|
950
|
+
readonly description: "是否启用";
|
|
951
|
+
};
|
|
952
|
+
readonly userCount: {
|
|
953
|
+
readonly type: "number";
|
|
954
|
+
readonly description: "人数";
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
readonly required: readonly ["name"];
|
|
958
|
+
};
|
|
959
|
+
export const $Group: {
|
|
960
|
+
readonly type: "object";
|
|
961
|
+
readonly properties: {
|
|
962
|
+
readonly data: {
|
|
963
|
+
readonly type: "string";
|
|
964
|
+
readonly description: "额外数据";
|
|
965
|
+
};
|
|
966
|
+
readonly name: {
|
|
967
|
+
readonly type: "string";
|
|
968
|
+
readonly description: "名称";
|
|
969
|
+
};
|
|
970
|
+
readonly permissions: {
|
|
971
|
+
readonly description: "权限";
|
|
972
|
+
readonly type: "array";
|
|
973
|
+
readonly items: {
|
|
974
|
+
readonly type: "string";
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
readonly active: {
|
|
978
|
+
readonly type: "boolean";
|
|
979
|
+
readonly description: "是否启用";
|
|
980
|
+
};
|
|
981
|
+
readonly userCount: {
|
|
982
|
+
readonly type: "number";
|
|
983
|
+
readonly description: "人数";
|
|
984
|
+
};
|
|
985
|
+
readonly id: {
|
|
986
|
+
readonly type: "string";
|
|
987
|
+
readonly description: "Entity id";
|
|
988
|
+
};
|
|
989
|
+
readonly createdAt: {
|
|
990
|
+
readonly format: "date-time";
|
|
991
|
+
readonly type: "string";
|
|
992
|
+
readonly description: "Entity created at when";
|
|
993
|
+
};
|
|
994
|
+
readonly updatedAt: {
|
|
995
|
+
readonly format: "date-time";
|
|
996
|
+
readonly type: "string";
|
|
997
|
+
readonly description: "Entity updated at when";
|
|
998
|
+
};
|
|
999
|
+
readonly createdBy: {
|
|
1000
|
+
readonly type: "string";
|
|
1001
|
+
readonly description: "Entity created by who";
|
|
1002
|
+
};
|
|
1003
|
+
readonly updatedBy: {
|
|
1004
|
+
readonly type: "string";
|
|
1005
|
+
readonly description: "Entity updated by who";
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
readonly required: readonly ["name", "id"];
|
|
1009
|
+
};
|
|
1010
|
+
export const $UpdateGroupDto: {
|
|
1011
|
+
readonly type: "object";
|
|
1012
|
+
readonly properties: {
|
|
1013
|
+
readonly data: {
|
|
1014
|
+
readonly type: "string";
|
|
1015
|
+
readonly description: "额外数据";
|
|
1016
|
+
};
|
|
1017
|
+
readonly name: {
|
|
1018
|
+
readonly type: "string";
|
|
1019
|
+
readonly description: "名称";
|
|
1020
|
+
};
|
|
1021
|
+
readonly permissions: {
|
|
1022
|
+
readonly description: "权限";
|
|
1023
|
+
readonly type: "array";
|
|
1024
|
+
readonly items: {
|
|
1025
|
+
readonly type: "string";
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
readonly active: {
|
|
1029
|
+
readonly type: "boolean";
|
|
1030
|
+
readonly description: "是否启用";
|
|
1031
|
+
};
|
|
1032
|
+
readonly userCount: {
|
|
1033
|
+
readonly type: "number";
|
|
1034
|
+
readonly description: "人数";
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
930
1038
|
export const $CreateCaptchaDto: {
|
|
931
1039
|
readonly type: "object";
|
|
932
1040
|
readonly properties: {
|
|
@@ -1139,149 +1247,6 @@ export const $UpdateEmailRecordDto: {
|
|
|
1139
1247
|
};
|
|
1140
1248
|
};
|
|
1141
1249
|
};
|
|
1142
|
-
export const $Industry: {
|
|
1143
|
-
readonly type: "object";
|
|
1144
|
-
readonly properties: {
|
|
1145
|
-
readonly code: {
|
|
1146
|
-
readonly type: "string";
|
|
1147
|
-
readonly description: "编码";
|
|
1148
|
-
};
|
|
1149
|
-
readonly name: {
|
|
1150
|
-
readonly type: "string";
|
|
1151
|
-
readonly description: "名称";
|
|
1152
|
-
};
|
|
1153
|
-
readonly children: {
|
|
1154
|
-
readonly description: "子集";
|
|
1155
|
-
readonly type: "array";
|
|
1156
|
-
readonly items: {
|
|
1157
|
-
readonly $ref: "#/components/schemas/Industry";
|
|
1158
|
-
};
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
readonly required: readonly ["code", "name", "children"];
|
|
1162
|
-
};
|
|
1163
|
-
export const $CreateGroupDto: {
|
|
1164
|
-
readonly type: "object";
|
|
1165
|
-
readonly properties: {
|
|
1166
|
-
readonly name: {
|
|
1167
|
-
readonly type: "string";
|
|
1168
|
-
readonly description: "名称";
|
|
1169
|
-
};
|
|
1170
|
-
readonly permissions: {
|
|
1171
|
-
readonly description: "权限";
|
|
1172
|
-
readonly type: "array";
|
|
1173
|
-
readonly items: {
|
|
1174
|
-
readonly type: "string";
|
|
1175
|
-
};
|
|
1176
|
-
};
|
|
1177
|
-
readonly active: {
|
|
1178
|
-
readonly type: "boolean";
|
|
1179
|
-
readonly description: "是否启用";
|
|
1180
|
-
};
|
|
1181
|
-
readonly userCount: {
|
|
1182
|
-
readonly type: "number";
|
|
1183
|
-
readonly description: "人数";
|
|
1184
|
-
};
|
|
1185
|
-
};
|
|
1186
|
-
readonly required: readonly ["name"];
|
|
1187
|
-
};
|
|
1188
|
-
export const $Group: {
|
|
1189
|
-
readonly type: "object";
|
|
1190
|
-
readonly properties: {
|
|
1191
|
-
readonly name: {
|
|
1192
|
-
readonly type: "string";
|
|
1193
|
-
readonly description: "名称";
|
|
1194
|
-
};
|
|
1195
|
-
readonly permissions: {
|
|
1196
|
-
readonly description: "权限";
|
|
1197
|
-
readonly type: "array";
|
|
1198
|
-
readonly items: {
|
|
1199
|
-
readonly type: "string";
|
|
1200
|
-
};
|
|
1201
|
-
};
|
|
1202
|
-
readonly active: {
|
|
1203
|
-
readonly type: "boolean";
|
|
1204
|
-
readonly description: "是否启用";
|
|
1205
|
-
};
|
|
1206
|
-
readonly userCount: {
|
|
1207
|
-
readonly type: "number";
|
|
1208
|
-
readonly description: "人数";
|
|
1209
|
-
};
|
|
1210
|
-
readonly id: {
|
|
1211
|
-
readonly type: "string";
|
|
1212
|
-
readonly description: "Entity id";
|
|
1213
|
-
};
|
|
1214
|
-
readonly createdAt: {
|
|
1215
|
-
readonly format: "date-time";
|
|
1216
|
-
readonly type: "string";
|
|
1217
|
-
readonly description: "Entity created at when";
|
|
1218
|
-
};
|
|
1219
|
-
readonly updatedAt: {
|
|
1220
|
-
readonly format: "date-time";
|
|
1221
|
-
readonly type: "string";
|
|
1222
|
-
readonly description: "Entity updated at when";
|
|
1223
|
-
};
|
|
1224
|
-
readonly createdBy: {
|
|
1225
|
-
readonly type: "string";
|
|
1226
|
-
readonly description: "Entity created by who";
|
|
1227
|
-
};
|
|
1228
|
-
readonly updatedBy: {
|
|
1229
|
-
readonly type: "string";
|
|
1230
|
-
readonly description: "Entity updated by who";
|
|
1231
|
-
};
|
|
1232
|
-
};
|
|
1233
|
-
readonly required: readonly ["name", "id"];
|
|
1234
|
-
};
|
|
1235
|
-
export const $UpdateGroupDto: {
|
|
1236
|
-
readonly type: "object";
|
|
1237
|
-
readonly properties: {
|
|
1238
|
-
readonly name: {
|
|
1239
|
-
readonly type: "string";
|
|
1240
|
-
readonly description: "名称";
|
|
1241
|
-
};
|
|
1242
|
-
readonly permissions: {
|
|
1243
|
-
readonly description: "权限";
|
|
1244
|
-
readonly type: "array";
|
|
1245
|
-
readonly items: {
|
|
1246
|
-
readonly type: "string";
|
|
1247
|
-
};
|
|
1248
|
-
};
|
|
1249
|
-
readonly active: {
|
|
1250
|
-
readonly type: "boolean";
|
|
1251
|
-
readonly description: "是否启用";
|
|
1252
|
-
};
|
|
1253
|
-
readonly userCount: {
|
|
1254
|
-
readonly type: "number";
|
|
1255
|
-
readonly description: "人数";
|
|
1256
|
-
};
|
|
1257
|
-
};
|
|
1258
|
-
};
|
|
1259
|
-
export const $Region: {
|
|
1260
|
-
readonly type: "object";
|
|
1261
|
-
readonly properties: {
|
|
1262
|
-
readonly code: {
|
|
1263
|
-
readonly type: "string";
|
|
1264
|
-
readonly description: "缩写";
|
|
1265
|
-
};
|
|
1266
|
-
readonly nameZh: {
|
|
1267
|
-
readonly type: "string";
|
|
1268
|
-
readonly description: "中文名称";
|
|
1269
|
-
};
|
|
1270
|
-
readonly namePinyin: {
|
|
1271
|
-
readonly type: "string";
|
|
1272
|
-
readonly description: "中文拼音";
|
|
1273
|
-
};
|
|
1274
|
-
readonly nameEn: {
|
|
1275
|
-
readonly type: "string";
|
|
1276
|
-
readonly description: "英文名称";
|
|
1277
|
-
};
|
|
1278
|
-
readonly dialingPrefix: {
|
|
1279
|
-
readonly type: "string";
|
|
1280
|
-
readonly description: "电话前缀";
|
|
1281
|
-
};
|
|
1282
|
-
};
|
|
1283
|
-
readonly required: readonly ["code", "nameZh", "namePinyin", "nameEn", "dialingPrefix"];
|
|
1284
|
-
};
|
|
1285
1250
|
export const $SendSmsDto: {
|
|
1286
1251
|
readonly type: "object";
|
|
1287
1252
|
readonly properties: {
|
|
@@ -1416,6 +1381,53 @@ export const $UpdateSmsRecordDto: {
|
|
|
1416
1381
|
};
|
|
1417
1382
|
};
|
|
1418
1383
|
};
|
|
1384
|
+
export const $Industry: {
|
|
1385
|
+
readonly type: "object";
|
|
1386
|
+
readonly properties: {
|
|
1387
|
+
readonly code: {
|
|
1388
|
+
readonly type: "string";
|
|
1389
|
+
readonly description: "编码";
|
|
1390
|
+
};
|
|
1391
|
+
readonly name: {
|
|
1392
|
+
readonly type: "string";
|
|
1393
|
+
readonly description: "名称";
|
|
1394
|
+
};
|
|
1395
|
+
readonly children: {
|
|
1396
|
+
readonly description: "子集";
|
|
1397
|
+
readonly type: "array";
|
|
1398
|
+
readonly items: {
|
|
1399
|
+
readonly $ref: "#/components/schemas/Industry";
|
|
1400
|
+
};
|
|
1401
|
+
};
|
|
1402
|
+
};
|
|
1403
|
+
readonly required: readonly ["code", "name", "children"];
|
|
1404
|
+
};
|
|
1405
|
+
export const $Region: {
|
|
1406
|
+
readonly type: "object";
|
|
1407
|
+
readonly properties: {
|
|
1408
|
+
readonly code: {
|
|
1409
|
+
readonly type: "string";
|
|
1410
|
+
readonly description: "缩写";
|
|
1411
|
+
};
|
|
1412
|
+
readonly nameZh: {
|
|
1413
|
+
readonly type: "string";
|
|
1414
|
+
readonly description: "中文名称";
|
|
1415
|
+
};
|
|
1416
|
+
readonly namePinyin: {
|
|
1417
|
+
readonly type: "string";
|
|
1418
|
+
readonly description: "中文拼音";
|
|
1419
|
+
};
|
|
1420
|
+
readonly nameEn: {
|
|
1421
|
+
readonly type: "string";
|
|
1422
|
+
readonly description: "英文名称";
|
|
1423
|
+
};
|
|
1424
|
+
readonly dialingPrefix: {
|
|
1425
|
+
readonly type: "string";
|
|
1426
|
+
readonly description: "电话前缀";
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1429
|
+
readonly required: readonly ["code", "nameZh", "namePinyin", "nameEn", "dialingPrefix"];
|
|
1430
|
+
};
|
|
1419
1431
|
export type HealthCheckResult = {
|
|
1420
1432
|
message: string;
|
|
1421
1433
|
};
|
|
@@ -1652,6 +1664,32 @@ export type UpdateSessionDto = {
|
|
|
1652
1664
|
client?: string;
|
|
1653
1665
|
uid?: string;
|
|
1654
1666
|
};
|
|
1667
|
+
export type CreateGroupDto = {
|
|
1668
|
+
data?: string;
|
|
1669
|
+
name: string;
|
|
1670
|
+
permissions?: Array<string>;
|
|
1671
|
+
active?: boolean;
|
|
1672
|
+
userCount?: number;
|
|
1673
|
+
};
|
|
1674
|
+
export type Group = {
|
|
1675
|
+
data?: string;
|
|
1676
|
+
name: string;
|
|
1677
|
+
permissions?: Array<string>;
|
|
1678
|
+
active?: boolean;
|
|
1679
|
+
userCount?: number;
|
|
1680
|
+
id: string;
|
|
1681
|
+
createdAt?: string;
|
|
1682
|
+
updatedAt?: string;
|
|
1683
|
+
createdBy?: string;
|
|
1684
|
+
updatedBy?: string;
|
|
1685
|
+
};
|
|
1686
|
+
export type UpdateGroupDto = {
|
|
1687
|
+
data?: string;
|
|
1688
|
+
name?: string;
|
|
1689
|
+
permissions?: Array<string>;
|
|
1690
|
+
active?: boolean;
|
|
1691
|
+
userCount?: number;
|
|
1692
|
+
};
|
|
1655
1693
|
export type CreateCaptchaDto = {
|
|
1656
1694
|
code?: string;
|
|
1657
1695
|
expireAt?: string;
|
|
@@ -1708,41 +1746,6 @@ export type UpdateEmailRecordDto = {
|
|
|
1708
1746
|
content?: string;
|
|
1709
1747
|
sentAt?: string;
|
|
1710
1748
|
};
|
|
1711
|
-
export type Industry = {
|
|
1712
|
-
code: string;
|
|
1713
|
-
name: string;
|
|
1714
|
-
children: Array<Industry>;
|
|
1715
|
-
};
|
|
1716
|
-
export type CreateGroupDto = {
|
|
1717
|
-
name: string;
|
|
1718
|
-
permissions?: Array<string>;
|
|
1719
|
-
active?: boolean;
|
|
1720
|
-
userCount?: number;
|
|
1721
|
-
};
|
|
1722
|
-
export type Group = {
|
|
1723
|
-
name: string;
|
|
1724
|
-
permissions?: Array<string>;
|
|
1725
|
-
active?: boolean;
|
|
1726
|
-
userCount?: number;
|
|
1727
|
-
id: string;
|
|
1728
|
-
createdAt?: string;
|
|
1729
|
-
updatedAt?: string;
|
|
1730
|
-
createdBy?: string;
|
|
1731
|
-
updatedBy?: string;
|
|
1732
|
-
};
|
|
1733
|
-
export type UpdateGroupDto = {
|
|
1734
|
-
name?: string;
|
|
1735
|
-
permissions?: Array<string>;
|
|
1736
|
-
active?: boolean;
|
|
1737
|
-
userCount?: number;
|
|
1738
|
-
};
|
|
1739
|
-
export type Region = {
|
|
1740
|
-
code: string;
|
|
1741
|
-
nameZh: string;
|
|
1742
|
-
namePinyin: string;
|
|
1743
|
-
nameEn: string;
|
|
1744
|
-
dialingPrefix: string;
|
|
1745
|
-
};
|
|
1746
1749
|
export type SendSmsDto = {
|
|
1747
1750
|
phone: string;
|
|
1748
1751
|
sign: string;
|
|
@@ -1781,6 +1784,18 @@ export type UpdateSmsRecordDto = {
|
|
|
1781
1784
|
params?: string;
|
|
1782
1785
|
sentAt?: string;
|
|
1783
1786
|
};
|
|
1787
|
+
export type Industry = {
|
|
1788
|
+
code: string;
|
|
1789
|
+
name: string;
|
|
1790
|
+
children: Array<Industry>;
|
|
1791
|
+
};
|
|
1792
|
+
export type Region = {
|
|
1793
|
+
code: string;
|
|
1794
|
+
nameZh: string;
|
|
1795
|
+
namePinyin: string;
|
|
1796
|
+
nameEn: string;
|
|
1797
|
+
dialingPrefix: string;
|
|
1798
|
+
};
|
|
1784
1799
|
export type HelloResponse = HealthCheckResult;
|
|
1785
1800
|
export type HelloError = unknown;
|
|
1786
1801
|
export type LoginData = {
|
|
@@ -1829,6 +1844,8 @@ export type RefreshData = {
|
|
|
1829
1844
|
};
|
|
1830
1845
|
export type RefreshResponse = SessionWithToken | Token;
|
|
1831
1846
|
export type RefreshError = unknown;
|
|
1847
|
+
export type CleanupAllDataResponse = void;
|
|
1848
|
+
export type CleanupAllDataError = unknown;
|
|
1832
1849
|
export type CreateUserData = {
|
|
1833
1850
|
body: CreateUserDto;
|
|
1834
1851
|
};
|
|
@@ -1991,6 +2008,45 @@ export type DeleteSessionData = {
|
|
|
1991
2008
|
};
|
|
1992
2009
|
export type DeleteSessionResponse = void;
|
|
1993
2010
|
export type DeleteSessionError = unknown;
|
|
2011
|
+
export type CreateGroupData = {
|
|
2012
|
+
body: CreateGroupDto;
|
|
2013
|
+
};
|
|
2014
|
+
export type CreateGroupResponse = Group;
|
|
2015
|
+
export type CreateGroupError = unknown;
|
|
2016
|
+
export type ListGroupsData = {
|
|
2017
|
+
query?: {
|
|
2018
|
+
_limit?: number;
|
|
2019
|
+
_offset?: number;
|
|
2020
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
2021
|
+
active?: boolean;
|
|
2022
|
+
name?: string;
|
|
2023
|
+
name_like?: string;
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
export type ListGroupsResponse = Array<Group>;
|
|
2027
|
+
export type ListGroupsError = unknown;
|
|
2028
|
+
export type GetGroupData = {
|
|
2029
|
+
path: {
|
|
2030
|
+
groupIdOrName: string;
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
export type GetGroupResponse = Group;
|
|
2034
|
+
export type GetGroupError = unknown;
|
|
2035
|
+
export type UpdateGroupData = {
|
|
2036
|
+
body: UpdateGroupDto;
|
|
2037
|
+
path: {
|
|
2038
|
+
groupId: string;
|
|
2039
|
+
};
|
|
2040
|
+
};
|
|
2041
|
+
export type UpdateGroupResponse = Group;
|
|
2042
|
+
export type UpdateGroupError = unknown;
|
|
2043
|
+
export type DeleteGroupData = {
|
|
2044
|
+
path: {
|
|
2045
|
+
groupId: string;
|
|
2046
|
+
};
|
|
2047
|
+
};
|
|
2048
|
+
export type DeleteGroupResponse = void;
|
|
2049
|
+
export type DeleteGroupError = unknown;
|
|
1994
2050
|
export type CreateCaptchaData = {
|
|
1995
2051
|
body: CreateCaptchaDto;
|
|
1996
2052
|
};
|
|
@@ -2077,49 +2133,6 @@ export type DeleteEmailRecordData = {
|
|
|
2077
2133
|
};
|
|
2078
2134
|
export type DeleteEmailRecordResponse = void;
|
|
2079
2135
|
export type DeleteEmailRecordError = unknown;
|
|
2080
|
-
export type ListIndustriesResponse = Array<Industry>;
|
|
2081
|
-
export type ListIndustriesError = unknown;
|
|
2082
|
-
export type CreateGroupData = {
|
|
2083
|
-
body: CreateGroupDto;
|
|
2084
|
-
};
|
|
2085
|
-
export type CreateGroupResponse = Group;
|
|
2086
|
-
export type CreateGroupError = unknown;
|
|
2087
|
-
export type ListGroupsData = {
|
|
2088
|
-
query?: {
|
|
2089
|
-
_limit?: number;
|
|
2090
|
-
_offset?: number;
|
|
2091
|
-
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
2092
|
-
active?: boolean;
|
|
2093
|
-
name?: string;
|
|
2094
|
-
name_like?: string;
|
|
2095
|
-
};
|
|
2096
|
-
};
|
|
2097
|
-
export type ListGroupsResponse = Array<Group>;
|
|
2098
|
-
export type ListGroupsError = unknown;
|
|
2099
|
-
export type GetGroupData = {
|
|
2100
|
-
path: {
|
|
2101
|
-
groupIdOrName: string;
|
|
2102
|
-
};
|
|
2103
|
-
};
|
|
2104
|
-
export type GetGroupResponse = Group;
|
|
2105
|
-
export type GetGroupError = unknown;
|
|
2106
|
-
export type UpdateGroupData = {
|
|
2107
|
-
body: UpdateGroupDto;
|
|
2108
|
-
path: {
|
|
2109
|
-
groupId: string;
|
|
2110
|
-
};
|
|
2111
|
-
};
|
|
2112
|
-
export type UpdateGroupResponse = Group;
|
|
2113
|
-
export type UpdateGroupError = unknown;
|
|
2114
|
-
export type DeleteGroupData = {
|
|
2115
|
-
path: {
|
|
2116
|
-
groupId: string;
|
|
2117
|
-
};
|
|
2118
|
-
};
|
|
2119
|
-
export type DeleteGroupResponse = void;
|
|
2120
|
-
export type DeleteGroupError = unknown;
|
|
2121
|
-
export type ListRegionsResponse = Array<Region>;
|
|
2122
|
-
export type ListRegionsError = unknown;
|
|
2123
2136
|
export type SendSmsData = {
|
|
2124
2137
|
body: SendSmsDto;
|
|
2125
2138
|
};
|
|
@@ -2168,6 +2181,10 @@ export type DeleteSmsRecordData = {
|
|
|
2168
2181
|
};
|
|
2169
2182
|
export type DeleteSmsRecordResponse = void;
|
|
2170
2183
|
export type DeleteSmsRecordError = unknown;
|
|
2184
|
+
export type ListIndustriesResponse = Array<Industry>;
|
|
2185
|
+
export type ListIndustriesError = unknown;
|
|
2186
|
+
export type ListRegionsResponse = Array<Region>;
|
|
2187
|
+
export type ListRegionsError = unknown;
|
|
2171
2188
|
export const client: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2172
2189
|
export const hello: <ThrowOnError extends boolean = false>(options?: {
|
|
2173
2190
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
@@ -2391,6 +2408,28 @@ export const refresh: <ThrowOnError extends boolean = false>(options: {
|
|
|
2391
2408
|
} & RefreshData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2392
2409
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2393
2410
|
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RefreshResponse, unknown, ThrowOnError>;
|
|
2411
|
+
export const cleanupAllData: <ThrowOnError extends boolean = false>(options?: {
|
|
2412
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2413
|
+
cache?: RequestCache;
|
|
2414
|
+
credentials?: RequestCredentials;
|
|
2415
|
+
integrity?: string;
|
|
2416
|
+
keepalive?: boolean;
|
|
2417
|
+
mode?: RequestMode;
|
|
2418
|
+
redirect?: RequestRedirect;
|
|
2419
|
+
referrer?: string;
|
|
2420
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2421
|
+
signal?: AbortSignal;
|
|
2422
|
+
window?: null;
|
|
2423
|
+
path?: Record<string, unknown>;
|
|
2424
|
+
query?: Record<string, unknown>;
|
|
2425
|
+
baseUrl?: string;
|
|
2426
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2427
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2428
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2429
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2430
|
+
throwOnError?: ThrowOnError;
|
|
2431
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2432
|
+
}) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2394
2433
|
export const createUser: <ThrowOnError extends boolean = false>(options: {
|
|
2395
2434
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2396
2435
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
@@ -2646,7 +2685,7 @@ export const updateSession: <ThrowOnError extends boolean = false>(options: {
|
|
|
2646
2685
|
export const deleteSession: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2647
2686
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2648
2687
|
} & DeleteSessionData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2649
|
-
export const
|
|
2688
|
+
export const createGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2650
2689
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2651
2690
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2652
2691
|
cache?: RequestCache;
|
|
@@ -2668,16 +2707,16 @@ export const createCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
|
2668
2707
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2669
2708
|
throwOnError?: ThrowOnError;
|
|
2670
2709
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2671
|
-
} &
|
|
2710
|
+
} & CreateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2672
2711
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2673
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").
|
|
2674
|
-
export const
|
|
2712
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2713
|
+
export const listGroups: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2675
2714
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2676
|
-
} &
|
|
2677
|
-
export const
|
|
2715
|
+
} & ListGroupsData) => import("@hey-api/client-fetch").RequestResult<ListGroupsResponse, unknown, ThrowOnError>;
|
|
2716
|
+
export const getGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2678
2717
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2679
|
-
} &
|
|
2680
|
-
export const
|
|
2718
|
+
} & GetGroupData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2719
|
+
export const updateGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2681
2720
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2682
2721
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2683
2722
|
cache?: RequestCache;
|
|
@@ -2699,13 +2738,13 @@ export const updateCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
|
2699
2738
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2700
2739
|
throwOnError?: ThrowOnError;
|
|
2701
2740
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2702
|
-
} &
|
|
2741
|
+
} & UpdateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2703
2742
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2704
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").
|
|
2705
|
-
export const
|
|
2743
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2744
|
+
export const deleteGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2706
2745
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2707
|
-
} &
|
|
2708
|
-
export const
|
|
2746
|
+
} & DeleteGroupData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2747
|
+
export const createCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
2709
2748
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2710
2749
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2711
2750
|
cache?: RequestCache;
|
|
@@ -2727,10 +2766,16 @@ export const sendEmail: <ThrowOnError extends boolean = false>(options: {
|
|
|
2727
2766
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2728
2767
|
throwOnError?: ThrowOnError;
|
|
2729
2768
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2730
|
-
} &
|
|
2769
|
+
} & CreateCaptchaData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2731
2770
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2732
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<
|
|
2733
|
-
export const
|
|
2771
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2772
|
+
export const listCaptchas: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2773
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2774
|
+
} & ListCaptchasData) => import("@hey-api/client-fetch").RequestResult<ListCaptchasResponse, unknown, ThrowOnError>;
|
|
2775
|
+
export const getCaptcha: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2776
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2777
|
+
} & GetCaptchaData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2778
|
+
export const updateCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
2734
2779
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2735
2780
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2736
2781
|
cache?: RequestCache;
|
|
@@ -2752,16 +2797,13 @@ export const createEmailRecord: <ThrowOnError extends boolean = false>(options:
|
|
|
2752
2797
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2753
2798
|
throwOnError?: ThrowOnError;
|
|
2754
2799
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2755
|
-
} &
|
|
2756
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2757
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2758
|
-
export const listEmailRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2800
|
+
} & UpdateCaptchaData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2759
2801
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2760
|
-
}
|
|
2761
|
-
export const
|
|
2802
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2803
|
+
export const deleteCaptcha: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2762
2804
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2763
|
-
} &
|
|
2764
|
-
export const
|
|
2805
|
+
} & DeleteCaptchaData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2806
|
+
export const sendEmail: <ThrowOnError extends boolean = false>(options: {
|
|
2765
2807
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2766
2808
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2767
2809
|
cache?: RequestCache;
|
|
@@ -2783,13 +2825,11 @@ export const updateEmailRecord: <ThrowOnError extends boolean = false>(options:
|
|
|
2783
2825
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2784
2826
|
throwOnError?: ThrowOnError;
|
|
2785
2827
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2786
|
-
} &
|
|
2787
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2788
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2789
|
-
export const deleteEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2828
|
+
} & SendEmailData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2790
2829
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2791
|
-
}
|
|
2792
|
-
export const
|
|
2830
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2831
|
+
export const createEmailRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2832
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2793
2833
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2794
2834
|
cache?: RequestCache;
|
|
2795
2835
|
credentials?: RequestCredentials;
|
|
@@ -2810,8 +2850,16 @@ export const listIndustries: <ThrowOnError extends boolean = false>(options?: {
|
|
|
2810
2850
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2811
2851
|
throwOnError?: ThrowOnError;
|
|
2812
2852
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2813
|
-
}
|
|
2814
|
-
|
|
2853
|
+
} & CreateEmailRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2854
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2855
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2856
|
+
export const listEmailRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2857
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2858
|
+
} & ListEmailRecordsData) => import("@hey-api/client-fetch").RequestResult<ListEmailRecordsResponse, unknown, ThrowOnError>;
|
|
2859
|
+
export const getEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2860
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2861
|
+
} & GetEmailRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2862
|
+
export const updateEmailRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2815
2863
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2816
2864
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2817
2865
|
cache?: RequestCache;
|
|
@@ -2833,16 +2881,13 @@ export const createGroup: <ThrowOnError extends boolean = false>(options: {
|
|
|
2833
2881
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2834
2882
|
throwOnError?: ThrowOnError;
|
|
2835
2883
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2836
|
-
} &
|
|
2837
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2838
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2839
|
-
export const listGroups: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2884
|
+
} & UpdateEmailRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2840
2885
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2841
|
-
}
|
|
2842
|
-
export const
|
|
2886
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2887
|
+
export const deleteEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2843
2888
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2844
|
-
} &
|
|
2845
|
-
export const
|
|
2889
|
+
} & DeleteEmailRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2890
|
+
export const sendSms: <ThrowOnError extends boolean = false>(options: {
|
|
2846
2891
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2847
2892
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2848
2893
|
cache?: RequestCache;
|
|
@@ -2864,13 +2909,11 @@ export const updateGroup: <ThrowOnError extends boolean = false>(options: {
|
|
|
2864
2909
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2865
2910
|
throwOnError?: ThrowOnError;
|
|
2866
2911
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2867
|
-
} &
|
|
2868
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2869
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2870
|
-
export const deleteGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2912
|
+
} & SendSmsData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2871
2913
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2872
|
-
}
|
|
2873
|
-
export const
|
|
2914
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2915
|
+
export const createSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2916
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2874
2917
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2875
2918
|
cache?: RequestCache;
|
|
2876
2919
|
credentials?: RequestCredentials;
|
|
@@ -2891,8 +2934,16 @@ export const listRegions: <ThrowOnError extends boolean = false>(options?: {
|
|
|
2891
2934
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2892
2935
|
throwOnError?: ThrowOnError;
|
|
2893
2936
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2894
|
-
}
|
|
2895
|
-
|
|
2937
|
+
} & CreateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2938
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2939
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2940
|
+
export const listSmsRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2941
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2942
|
+
} & ListSmsRecordsData) => import("@hey-api/client-fetch").RequestResult<ListSmsRecordsResponse, unknown, ThrowOnError>;
|
|
2943
|
+
export const getSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2944
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2945
|
+
} & GetSmsRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2946
|
+
export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2896
2947
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2897
2948
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2898
2949
|
cache?: RequestCache;
|
|
@@ -2914,11 +2965,13 @@ export const sendSms: <ThrowOnError extends boolean = false>(options: {
|
|
|
2914
2965
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2915
2966
|
throwOnError?: ThrowOnError;
|
|
2916
2967
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2917
|
-
} &
|
|
2968
|
+
} & UpdateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2918
2969
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2919
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<
|
|
2920
|
-
export const
|
|
2921
|
-
|
|
2970
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2971
|
+
export const deleteSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2972
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2973
|
+
} & DeleteSmsRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2974
|
+
export const listIndustries: <ThrowOnError extends boolean = false>(options?: {
|
|
2922
2975
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2923
2976
|
cache?: RequestCache;
|
|
2924
2977
|
credentials?: RequestCredentials;
|
|
@@ -2939,17 +2992,8 @@ export const createSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
|
2939
2992
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2940
2993
|
throwOnError?: ThrowOnError;
|
|
2941
2994
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2942
|
-
}
|
|
2943
|
-
|
|
2944
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2945
|
-
export const listSmsRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2946
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2947
|
-
} & ListSmsRecordsData) => import("@hey-api/client-fetch").RequestResult<ListSmsRecordsResponse, unknown, ThrowOnError>;
|
|
2948
|
-
export const getSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2949
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2950
|
-
} & GetSmsRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2951
|
-
export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2952
|
-
headers?: Record<string, unknown> | HeadersInit;
|
|
2995
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListIndustriesResponse, unknown, ThrowOnError>;
|
|
2996
|
+
export const listRegions: <ThrowOnError extends boolean = false>(options?: {
|
|
2953
2997
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2954
2998
|
cache?: RequestCache;
|
|
2955
2999
|
credentials?: RequestCredentials;
|
|
@@ -2970,11 +3014,6 @@ export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
|
2970
3014
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2971
3015
|
throwOnError?: ThrowOnError;
|
|
2972
3016
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2973
|
-
}
|
|
2974
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2975
|
-
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2976
|
-
export const deleteSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2977
|
-
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2978
|
-
} & DeleteSmsRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
3017
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListRegionsResponse, unknown, ThrowOnError>;
|
|
2979
3018
|
|
|
2980
3019
|
//# sourceMappingURL=types.d.ts.map
|