@36node/auth-sdk 1.2.0 → 1.3.0
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 +225 -227
- package/dist/main.js.map +1 -1
- package/dist/module.js +226 -228
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +320 -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,102 @@ export const $UpdateSessionDto: {
|
|
|
927
927
|
};
|
|
928
928
|
};
|
|
929
929
|
};
|
|
930
|
+
export const $CreateGroupDto: {
|
|
931
|
+
readonly type: "object";
|
|
932
|
+
readonly properties: {
|
|
933
|
+
readonly name: {
|
|
934
|
+
readonly type: "string";
|
|
935
|
+
readonly description: "名称";
|
|
936
|
+
};
|
|
937
|
+
readonly permissions: {
|
|
938
|
+
readonly description: "权限";
|
|
939
|
+
readonly type: "array";
|
|
940
|
+
readonly items: {
|
|
941
|
+
readonly type: "string";
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
readonly active: {
|
|
945
|
+
readonly type: "boolean";
|
|
946
|
+
readonly description: "是否启用";
|
|
947
|
+
};
|
|
948
|
+
readonly userCount: {
|
|
949
|
+
readonly type: "number";
|
|
950
|
+
readonly description: "人数";
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
readonly required: readonly ["name"];
|
|
954
|
+
};
|
|
955
|
+
export const $Group: {
|
|
956
|
+
readonly type: "object";
|
|
957
|
+
readonly properties: {
|
|
958
|
+
readonly name: {
|
|
959
|
+
readonly type: "string";
|
|
960
|
+
readonly description: "名称";
|
|
961
|
+
};
|
|
962
|
+
readonly permissions: {
|
|
963
|
+
readonly description: "权限";
|
|
964
|
+
readonly type: "array";
|
|
965
|
+
readonly items: {
|
|
966
|
+
readonly type: "string";
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
readonly active: {
|
|
970
|
+
readonly type: "boolean";
|
|
971
|
+
readonly description: "是否启用";
|
|
972
|
+
};
|
|
973
|
+
readonly userCount: {
|
|
974
|
+
readonly type: "number";
|
|
975
|
+
readonly description: "人数";
|
|
976
|
+
};
|
|
977
|
+
readonly id: {
|
|
978
|
+
readonly type: "string";
|
|
979
|
+
readonly description: "Entity id";
|
|
980
|
+
};
|
|
981
|
+
readonly createdAt: {
|
|
982
|
+
readonly format: "date-time";
|
|
983
|
+
readonly type: "string";
|
|
984
|
+
readonly description: "Entity created at when";
|
|
985
|
+
};
|
|
986
|
+
readonly updatedAt: {
|
|
987
|
+
readonly format: "date-time";
|
|
988
|
+
readonly type: "string";
|
|
989
|
+
readonly description: "Entity updated at when";
|
|
990
|
+
};
|
|
991
|
+
readonly createdBy: {
|
|
992
|
+
readonly type: "string";
|
|
993
|
+
readonly description: "Entity created by who";
|
|
994
|
+
};
|
|
995
|
+
readonly updatedBy: {
|
|
996
|
+
readonly type: "string";
|
|
997
|
+
readonly description: "Entity updated by who";
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
readonly required: readonly ["name", "id"];
|
|
1001
|
+
};
|
|
1002
|
+
export const $UpdateGroupDto: {
|
|
1003
|
+
readonly type: "object";
|
|
1004
|
+
readonly properties: {
|
|
1005
|
+
readonly name: {
|
|
1006
|
+
readonly type: "string";
|
|
1007
|
+
readonly description: "名称";
|
|
1008
|
+
};
|
|
1009
|
+
readonly permissions: {
|
|
1010
|
+
readonly description: "权限";
|
|
1011
|
+
readonly type: "array";
|
|
1012
|
+
readonly items: {
|
|
1013
|
+
readonly type: "string";
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
readonly active: {
|
|
1017
|
+
readonly type: "boolean";
|
|
1018
|
+
readonly description: "是否启用";
|
|
1019
|
+
};
|
|
1020
|
+
readonly userCount: {
|
|
1021
|
+
readonly type: "number";
|
|
1022
|
+
readonly description: "人数";
|
|
1023
|
+
};
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
930
1026
|
export const $CreateCaptchaDto: {
|
|
931
1027
|
readonly type: "object";
|
|
932
1028
|
readonly properties: {
|
|
@@ -1139,149 +1235,6 @@ export const $UpdateEmailRecordDto: {
|
|
|
1139
1235
|
};
|
|
1140
1236
|
};
|
|
1141
1237
|
};
|
|
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
1238
|
export const $SendSmsDto: {
|
|
1286
1239
|
readonly type: "object";
|
|
1287
1240
|
readonly properties: {
|
|
@@ -1416,6 +1369,53 @@ export const $UpdateSmsRecordDto: {
|
|
|
1416
1369
|
};
|
|
1417
1370
|
};
|
|
1418
1371
|
};
|
|
1372
|
+
export const $Industry: {
|
|
1373
|
+
readonly type: "object";
|
|
1374
|
+
readonly properties: {
|
|
1375
|
+
readonly code: {
|
|
1376
|
+
readonly type: "string";
|
|
1377
|
+
readonly description: "编码";
|
|
1378
|
+
};
|
|
1379
|
+
readonly name: {
|
|
1380
|
+
readonly type: "string";
|
|
1381
|
+
readonly description: "名称";
|
|
1382
|
+
};
|
|
1383
|
+
readonly children: {
|
|
1384
|
+
readonly description: "子集";
|
|
1385
|
+
readonly type: "array";
|
|
1386
|
+
readonly items: {
|
|
1387
|
+
readonly $ref: "#/components/schemas/Industry";
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
readonly required: readonly ["code", "name", "children"];
|
|
1392
|
+
};
|
|
1393
|
+
export const $Region: {
|
|
1394
|
+
readonly type: "object";
|
|
1395
|
+
readonly properties: {
|
|
1396
|
+
readonly code: {
|
|
1397
|
+
readonly type: "string";
|
|
1398
|
+
readonly description: "缩写";
|
|
1399
|
+
};
|
|
1400
|
+
readonly nameZh: {
|
|
1401
|
+
readonly type: "string";
|
|
1402
|
+
readonly description: "中文名称";
|
|
1403
|
+
};
|
|
1404
|
+
readonly namePinyin: {
|
|
1405
|
+
readonly type: "string";
|
|
1406
|
+
readonly description: "中文拼音";
|
|
1407
|
+
};
|
|
1408
|
+
readonly nameEn: {
|
|
1409
|
+
readonly type: "string";
|
|
1410
|
+
readonly description: "英文名称";
|
|
1411
|
+
};
|
|
1412
|
+
readonly dialingPrefix: {
|
|
1413
|
+
readonly type: "string";
|
|
1414
|
+
readonly description: "电话前缀";
|
|
1415
|
+
};
|
|
1416
|
+
};
|
|
1417
|
+
readonly required: readonly ["code", "nameZh", "namePinyin", "nameEn", "dialingPrefix"];
|
|
1418
|
+
};
|
|
1419
1419
|
export type HealthCheckResult = {
|
|
1420
1420
|
message: string;
|
|
1421
1421
|
};
|
|
@@ -1652,6 +1652,29 @@ export type UpdateSessionDto = {
|
|
|
1652
1652
|
client?: string;
|
|
1653
1653
|
uid?: string;
|
|
1654
1654
|
};
|
|
1655
|
+
export type CreateGroupDto = {
|
|
1656
|
+
name: string;
|
|
1657
|
+
permissions?: Array<string>;
|
|
1658
|
+
active?: boolean;
|
|
1659
|
+
userCount?: number;
|
|
1660
|
+
};
|
|
1661
|
+
export type Group = {
|
|
1662
|
+
name: string;
|
|
1663
|
+
permissions?: Array<string>;
|
|
1664
|
+
active?: boolean;
|
|
1665
|
+
userCount?: number;
|
|
1666
|
+
id: string;
|
|
1667
|
+
createdAt?: string;
|
|
1668
|
+
updatedAt?: string;
|
|
1669
|
+
createdBy?: string;
|
|
1670
|
+
updatedBy?: string;
|
|
1671
|
+
};
|
|
1672
|
+
export type UpdateGroupDto = {
|
|
1673
|
+
name?: string;
|
|
1674
|
+
permissions?: Array<string>;
|
|
1675
|
+
active?: boolean;
|
|
1676
|
+
userCount?: number;
|
|
1677
|
+
};
|
|
1655
1678
|
export type CreateCaptchaDto = {
|
|
1656
1679
|
code?: string;
|
|
1657
1680
|
expireAt?: string;
|
|
@@ -1708,41 +1731,6 @@ export type UpdateEmailRecordDto = {
|
|
|
1708
1731
|
content?: string;
|
|
1709
1732
|
sentAt?: string;
|
|
1710
1733
|
};
|
|
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
1734
|
export type SendSmsDto = {
|
|
1747
1735
|
phone: string;
|
|
1748
1736
|
sign: string;
|
|
@@ -1781,6 +1769,18 @@ export type UpdateSmsRecordDto = {
|
|
|
1781
1769
|
params?: string;
|
|
1782
1770
|
sentAt?: string;
|
|
1783
1771
|
};
|
|
1772
|
+
export type Industry = {
|
|
1773
|
+
code: string;
|
|
1774
|
+
name: string;
|
|
1775
|
+
children: Array<Industry>;
|
|
1776
|
+
};
|
|
1777
|
+
export type Region = {
|
|
1778
|
+
code: string;
|
|
1779
|
+
nameZh: string;
|
|
1780
|
+
namePinyin: string;
|
|
1781
|
+
nameEn: string;
|
|
1782
|
+
dialingPrefix: string;
|
|
1783
|
+
};
|
|
1784
1784
|
export type HelloResponse = HealthCheckResult;
|
|
1785
1785
|
export type HelloError = unknown;
|
|
1786
1786
|
export type LoginData = {
|
|
@@ -1829,6 +1829,8 @@ export type RefreshData = {
|
|
|
1829
1829
|
};
|
|
1830
1830
|
export type RefreshResponse = SessionWithToken | Token;
|
|
1831
1831
|
export type RefreshError = unknown;
|
|
1832
|
+
export type CleanupAllDataResponse = void;
|
|
1833
|
+
export type CleanupAllDataError = unknown;
|
|
1832
1834
|
export type CreateUserData = {
|
|
1833
1835
|
body: CreateUserDto;
|
|
1834
1836
|
};
|
|
@@ -1991,6 +1993,45 @@ export type DeleteSessionData = {
|
|
|
1991
1993
|
};
|
|
1992
1994
|
export type DeleteSessionResponse = void;
|
|
1993
1995
|
export type DeleteSessionError = unknown;
|
|
1996
|
+
export type CreateGroupData = {
|
|
1997
|
+
body: CreateGroupDto;
|
|
1998
|
+
};
|
|
1999
|
+
export type CreateGroupResponse = Group;
|
|
2000
|
+
export type CreateGroupError = unknown;
|
|
2001
|
+
export type ListGroupsData = {
|
|
2002
|
+
query?: {
|
|
2003
|
+
_limit?: number;
|
|
2004
|
+
_offset?: number;
|
|
2005
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
2006
|
+
active?: boolean;
|
|
2007
|
+
name?: string;
|
|
2008
|
+
name_like?: string;
|
|
2009
|
+
};
|
|
2010
|
+
};
|
|
2011
|
+
export type ListGroupsResponse = Array<Group>;
|
|
2012
|
+
export type ListGroupsError = unknown;
|
|
2013
|
+
export type GetGroupData = {
|
|
2014
|
+
path: {
|
|
2015
|
+
groupIdOrName: string;
|
|
2016
|
+
};
|
|
2017
|
+
};
|
|
2018
|
+
export type GetGroupResponse = Group;
|
|
2019
|
+
export type GetGroupError = unknown;
|
|
2020
|
+
export type UpdateGroupData = {
|
|
2021
|
+
body: UpdateGroupDto;
|
|
2022
|
+
path: {
|
|
2023
|
+
groupId: string;
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
export type UpdateGroupResponse = Group;
|
|
2027
|
+
export type UpdateGroupError = unknown;
|
|
2028
|
+
export type DeleteGroupData = {
|
|
2029
|
+
path: {
|
|
2030
|
+
groupId: string;
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
export type DeleteGroupResponse = void;
|
|
2034
|
+
export type DeleteGroupError = unknown;
|
|
1994
2035
|
export type CreateCaptchaData = {
|
|
1995
2036
|
body: CreateCaptchaDto;
|
|
1996
2037
|
};
|
|
@@ -2077,49 +2118,6 @@ export type DeleteEmailRecordData = {
|
|
|
2077
2118
|
};
|
|
2078
2119
|
export type DeleteEmailRecordResponse = void;
|
|
2079
2120
|
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
2121
|
export type SendSmsData = {
|
|
2124
2122
|
body: SendSmsDto;
|
|
2125
2123
|
};
|
|
@@ -2168,6 +2166,10 @@ export type DeleteSmsRecordData = {
|
|
|
2168
2166
|
};
|
|
2169
2167
|
export type DeleteSmsRecordResponse = void;
|
|
2170
2168
|
export type DeleteSmsRecordError = unknown;
|
|
2169
|
+
export type ListIndustriesResponse = Array<Industry>;
|
|
2170
|
+
export type ListIndustriesError = unknown;
|
|
2171
|
+
export type ListRegionsResponse = Array<Region>;
|
|
2172
|
+
export type ListRegionsError = unknown;
|
|
2171
2173
|
export const client: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2172
2174
|
export const hello: <ThrowOnError extends boolean = false>(options?: {
|
|
2173
2175
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
@@ -2391,6 +2393,28 @@ export const refresh: <ThrowOnError extends boolean = false>(options: {
|
|
|
2391
2393
|
} & RefreshData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2392
2394
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2393
2395
|
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RefreshResponse, unknown, ThrowOnError>;
|
|
2396
|
+
export const cleanupAllData: <ThrowOnError extends boolean = false>(options?: {
|
|
2397
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2398
|
+
cache?: RequestCache;
|
|
2399
|
+
credentials?: RequestCredentials;
|
|
2400
|
+
integrity?: string;
|
|
2401
|
+
keepalive?: boolean;
|
|
2402
|
+
mode?: RequestMode;
|
|
2403
|
+
redirect?: RequestRedirect;
|
|
2404
|
+
referrer?: string;
|
|
2405
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2406
|
+
signal?: AbortSignal;
|
|
2407
|
+
window?: null;
|
|
2408
|
+
path?: Record<string, unknown>;
|
|
2409
|
+
query?: Record<string, unknown>;
|
|
2410
|
+
baseUrl?: string;
|
|
2411
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2412
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2413
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2414
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2415
|
+
throwOnError?: ThrowOnError;
|
|
2416
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2417
|
+
}) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2394
2418
|
export const createUser: <ThrowOnError extends boolean = false>(options: {
|
|
2395
2419
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2396
2420
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
@@ -2646,7 +2670,7 @@ export const updateSession: <ThrowOnError extends boolean = false>(options: {
|
|
|
2646
2670
|
export const deleteSession: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2647
2671
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2648
2672
|
} & DeleteSessionData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2649
|
-
export const
|
|
2673
|
+
export const createGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2650
2674
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2651
2675
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2652
2676
|
cache?: RequestCache;
|
|
@@ -2668,16 +2692,16 @@ export const createCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
|
2668
2692
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2669
2693
|
throwOnError?: ThrowOnError;
|
|
2670
2694
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2671
|
-
} &
|
|
2695
|
+
} & CreateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2672
2696
|
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
|
|
2697
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2698
|
+
export const listGroups: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2675
2699
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2676
|
-
} &
|
|
2677
|
-
export const
|
|
2700
|
+
} & ListGroupsData) => import("@hey-api/client-fetch").RequestResult<ListGroupsResponse, unknown, ThrowOnError>;
|
|
2701
|
+
export const getGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2678
2702
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2679
|
-
} &
|
|
2680
|
-
export const
|
|
2703
|
+
} & GetGroupData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2704
|
+
export const updateGroup: <ThrowOnError extends boolean = false>(options: {
|
|
2681
2705
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2682
2706
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2683
2707
|
cache?: RequestCache;
|
|
@@ -2699,13 +2723,13 @@ export const updateCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
|
2699
2723
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2700
2724
|
throwOnError?: ThrowOnError;
|
|
2701
2725
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2702
|
-
} &
|
|
2726
|
+
} & UpdateGroupData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2703
2727
|
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
|
|
2728
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Group, unknown, ThrowOnError>;
|
|
2729
|
+
export const deleteGroup: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2706
2730
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2707
|
-
} &
|
|
2708
|
-
export const
|
|
2731
|
+
} & DeleteGroupData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2732
|
+
export const createCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
2709
2733
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2710
2734
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2711
2735
|
cache?: RequestCache;
|
|
@@ -2727,10 +2751,16 @@ export const sendEmail: <ThrowOnError extends boolean = false>(options: {
|
|
|
2727
2751
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2728
2752
|
throwOnError?: ThrowOnError;
|
|
2729
2753
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2730
|
-
} &
|
|
2754
|
+
} & CreateCaptchaData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2731
2755
|
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
|
|
2756
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2757
|
+
export const listCaptchas: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2758
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2759
|
+
} & ListCaptchasData) => import("@hey-api/client-fetch").RequestResult<ListCaptchasResponse, unknown, ThrowOnError>;
|
|
2760
|
+
export const getCaptcha: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2761
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2762
|
+
} & GetCaptchaData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2763
|
+
export const updateCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
2734
2764
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2735
2765
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2736
2766
|
cache?: RequestCache;
|
|
@@ -2752,16 +2782,13 @@ export const createEmailRecord: <ThrowOnError extends boolean = false>(options:
|
|
|
2752
2782
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2753
2783
|
throwOnError?: ThrowOnError;
|
|
2754
2784
|
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"> & {
|
|
2785
|
+
} & UpdateCaptchaData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2759
2786
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2760
|
-
}
|
|
2761
|
-
export const
|
|
2787
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2788
|
+
export const deleteCaptcha: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2762
2789
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2763
|
-
} &
|
|
2764
|
-
export const
|
|
2790
|
+
} & DeleteCaptchaData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2791
|
+
export const sendEmail: <ThrowOnError extends boolean = false>(options: {
|
|
2765
2792
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2766
2793
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2767
2794
|
cache?: RequestCache;
|
|
@@ -2783,13 +2810,11 @@ export const updateEmailRecord: <ThrowOnError extends boolean = false>(options:
|
|
|
2783
2810
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2784
2811
|
throwOnError?: ThrowOnError;
|
|
2785
2812
|
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"> & {
|
|
2813
|
+
} & SendEmailData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2790
2814
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2791
|
-
}
|
|
2792
|
-
export const
|
|
2815
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2816
|
+
export const createEmailRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2817
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2793
2818
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2794
2819
|
cache?: RequestCache;
|
|
2795
2820
|
credentials?: RequestCredentials;
|
|
@@ -2810,8 +2835,16 @@ export const listIndustries: <ThrowOnError extends boolean = false>(options?: {
|
|
|
2810
2835
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2811
2836
|
throwOnError?: ThrowOnError;
|
|
2812
2837
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2813
|
-
}
|
|
2814
|
-
|
|
2838
|
+
} & CreateEmailRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2839
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2840
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2841
|
+
export const listEmailRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2842
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2843
|
+
} & ListEmailRecordsData) => import("@hey-api/client-fetch").RequestResult<ListEmailRecordsResponse, unknown, ThrowOnError>;
|
|
2844
|
+
export const getEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2845
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2846
|
+
} & GetEmailRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2847
|
+
export const updateEmailRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2815
2848
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2816
2849
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2817
2850
|
cache?: RequestCache;
|
|
@@ -2833,16 +2866,13 @@ export const createGroup: <ThrowOnError extends boolean = false>(options: {
|
|
|
2833
2866
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2834
2867
|
throwOnError?: ThrowOnError;
|
|
2835
2868
|
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"> & {
|
|
2869
|
+
} & UpdateEmailRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2840
2870
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2841
|
-
}
|
|
2842
|
-
export const
|
|
2871
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2872
|
+
export const deleteEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2843
2873
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2844
|
-
} &
|
|
2845
|
-
export const
|
|
2874
|
+
} & DeleteEmailRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2875
|
+
export const sendSms: <ThrowOnError extends boolean = false>(options: {
|
|
2846
2876
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2847
2877
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2848
2878
|
cache?: RequestCache;
|
|
@@ -2864,13 +2894,11 @@ export const updateGroup: <ThrowOnError extends boolean = false>(options: {
|
|
|
2864
2894
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2865
2895
|
throwOnError?: ThrowOnError;
|
|
2866
2896
|
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"> & {
|
|
2897
|
+
} & SendSmsData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2871
2898
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2872
|
-
}
|
|
2873
|
-
export const
|
|
2899
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2900
|
+
export const createSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2901
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2874
2902
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2875
2903
|
cache?: RequestCache;
|
|
2876
2904
|
credentials?: RequestCredentials;
|
|
@@ -2891,8 +2919,16 @@ export const listRegions: <ThrowOnError extends boolean = false>(options?: {
|
|
|
2891
2919
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2892
2920
|
throwOnError?: ThrowOnError;
|
|
2893
2921
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2894
|
-
}
|
|
2895
|
-
|
|
2922
|
+
} & CreateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2923
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2924
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2925
|
+
export const listSmsRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2926
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2927
|
+
} & ListSmsRecordsData) => import("@hey-api/client-fetch").RequestResult<ListSmsRecordsResponse, unknown, ThrowOnError>;
|
|
2928
|
+
export const getSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2929
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2930
|
+
} & GetSmsRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2931
|
+
export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2896
2932
|
headers?: Record<string, unknown> | HeadersInit;
|
|
2897
2933
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2898
2934
|
cache?: RequestCache;
|
|
@@ -2914,11 +2950,13 @@ export const sendSms: <ThrowOnError extends boolean = false>(options: {
|
|
|
2914
2950
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2915
2951
|
throwOnError?: ThrowOnError;
|
|
2916
2952
|
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2917
|
-
} &
|
|
2953
|
+
} & UpdateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2918
2954
|
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
|
-
|
|
2955
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2956
|
+
export const deleteSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2957
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2958
|
+
} & DeleteSmsRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2959
|
+
export const listIndustries: <ThrowOnError extends boolean = false>(options?: {
|
|
2922
2960
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2923
2961
|
cache?: RequestCache;
|
|
2924
2962
|
credentials?: RequestCredentials;
|
|
@@ -2939,17 +2977,8 @@ export const createSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
|
2939
2977
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2940
2978
|
throwOnError?: ThrowOnError;
|
|
2941
2979
|
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;
|
|
2980
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListIndustriesResponse, unknown, ThrowOnError>;
|
|
2981
|
+
export const listRegions: <ThrowOnError extends boolean = false>(options?: {
|
|
2953
2982
|
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2954
2983
|
cache?: RequestCache;
|
|
2955
2984
|
credentials?: RequestCredentials;
|
|
@@ -2970,11 +2999,6 @@ export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
|
2970
2999
|
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2971
3000
|
throwOnError?: ThrowOnError;
|
|
2972
3001
|
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>;
|
|
3002
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListRegionsResponse, unknown, ThrowOnError>;
|
|
2979
3003
|
|
|
2980
3004
|
//# sourceMappingURL=types.d.ts.map
|