@0xsequence/api 2.2.10 → 2.2.12
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/0xsequence-api.cjs.dev.js +248 -7
- package/dist/0xsequence-api.cjs.prod.js +248 -7
- package/dist/0xsequence-api.esm.js +228 -8
- package/dist/declarations/src/api.gen.d.ts +133 -3
- package/package.json +1 -1
- package/src/api.gen.ts +381 -9
|
@@ -13,12 +13,15 @@ function _extends() {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* eslint-disable */
|
|
16
|
-
// sequence-api v0.4.0
|
|
16
|
+
// sequence-api v0.4.0 c3eb9010746703c095291691cd8f08dc04999062
|
|
17
17
|
// --
|
|
18
|
-
// Code generated by webrpc-gen@v0.
|
|
18
|
+
// Code generated by webrpc-gen@v0.22.0 with typescript generator. DO NOT EDIT.
|
|
19
19
|
//
|
|
20
20
|
// webrpc-gen -schema=api.ridl -target=typescript -client -out=./clients/api.gen.ts
|
|
21
21
|
|
|
22
|
+
const WebrpcHeader = 'Webrpc';
|
|
23
|
+
const WebrpcHeaderValue = 'webrpc@v0.22.0;gen-typescript@v0.16.1;sequence-api@v0.4.0';
|
|
24
|
+
|
|
22
25
|
// WebRPC description and code-gen version
|
|
23
26
|
const WebRPCVersion = 'v1';
|
|
24
27
|
|
|
@@ -26,7 +29,42 @@ const WebRPCVersion = 'v1';
|
|
|
26
29
|
const WebRPCSchemaVersion = 'v0.4.0';
|
|
27
30
|
|
|
28
31
|
// Schema hash generated from your RIDL schema
|
|
29
|
-
const WebRPCSchemaHash = '
|
|
32
|
+
const WebRPCSchemaHash = 'c3eb9010746703c095291691cd8f08dc04999062';
|
|
33
|
+
function VersionFromHeader(headers) {
|
|
34
|
+
const headerValue = headers.get(WebrpcHeader);
|
|
35
|
+
if (!headerValue) {
|
|
36
|
+
return {
|
|
37
|
+
webrpcGenVersion: '',
|
|
38
|
+
codeGenName: '',
|
|
39
|
+
codeGenVersion: '',
|
|
40
|
+
schemaName: '',
|
|
41
|
+
schemaVersion: ''
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
return parseWebrpcGenVersions(headerValue);
|
|
45
|
+
}
|
|
46
|
+
function parseWebrpcGenVersions(header) {
|
|
47
|
+
const versions = header.split(';');
|
|
48
|
+
if (versions.length < 3) {
|
|
49
|
+
return {
|
|
50
|
+
webrpcGenVersion: '',
|
|
51
|
+
codeGenName: '',
|
|
52
|
+
codeGenVersion: '',
|
|
53
|
+
schemaName: '',
|
|
54
|
+
schemaVersion: ''
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
const [_, webrpcGenVersion] = versions[0].split('@');
|
|
58
|
+
const [codeGenName, codeGenVersion] = versions[1].split('@');
|
|
59
|
+
const [schemaName, schemaVersion] = versions[2].split('@');
|
|
60
|
+
return {
|
|
61
|
+
webrpcGenVersion,
|
|
62
|
+
codeGenName,
|
|
63
|
+
codeGenVersion,
|
|
64
|
+
schemaName,
|
|
65
|
+
schemaVersion
|
|
66
|
+
};
|
|
67
|
+
}
|
|
30
68
|
|
|
31
69
|
//
|
|
32
70
|
// Types
|
|
@@ -531,6 +569,19 @@ class API {
|
|
|
531
569
|
});
|
|
532
570
|
});
|
|
533
571
|
};
|
|
572
|
+
this.sardineGetSupportedTokenForSwap = (args, headers, signal) => {
|
|
573
|
+
return this.fetch(this.url('SardineGetSupportedTokenForSwap'), createHTTPRequest(args, headers, signal)).then(res => {
|
|
574
|
+
return buildResponse(res).then(_data => {
|
|
575
|
+
return {
|
|
576
|
+
token: _data.token
|
|
577
|
+
};
|
|
578
|
+
});
|
|
579
|
+
}, error => {
|
|
580
|
+
throw WebrpcRequestFailedError.new({
|
|
581
|
+
cause: `fetch(): ${error.message || ''}`
|
|
582
|
+
});
|
|
583
|
+
});
|
|
584
|
+
};
|
|
534
585
|
this.sardineGetEnabledTokens = (headers, signal) => {
|
|
535
586
|
return this.fetch(this.url('SardineGetEnabledTokens'), createHTTPRequest({}, headers, signal)).then(res => {
|
|
536
587
|
return buildResponse(res).then(_data => {
|
|
@@ -969,11 +1020,13 @@ class API {
|
|
|
969
1020
|
}
|
|
970
1021
|
}
|
|
971
1022
|
const createHTTPRequest = (body = {}, headers = {}, signal = null) => {
|
|
1023
|
+
const reqHeaders = _extends({}, headers, {
|
|
1024
|
+
'Content-Type': 'application/json'
|
|
1025
|
+
});
|
|
1026
|
+
reqHeaders[WebrpcHeader] = WebrpcHeaderValue;
|
|
972
1027
|
return {
|
|
973
1028
|
method: 'POST',
|
|
974
|
-
headers:
|
|
975
|
-
'Content-Type': 'application/json'
|
|
976
|
-
}),
|
|
1029
|
+
headers: reqHeaders,
|
|
977
1030
|
body: JSON.stringify(body || {}),
|
|
978
1031
|
signal
|
|
979
1032
|
};
|
|
@@ -1117,6 +1170,18 @@ class SessionExpiredError extends WebrpcError {
|
|
|
1117
1170
|
Object.setPrototypeOf(this, SessionExpiredError.prototype);
|
|
1118
1171
|
}
|
|
1119
1172
|
}
|
|
1173
|
+
class MethodNotFoundError extends WebrpcError {
|
|
1174
|
+
constructor(name = 'MethodNotFound', code = 1003, message = 'Method not found', status = 0, cause) {
|
|
1175
|
+
super(name, code, message, status, cause);
|
|
1176
|
+
Object.setPrototypeOf(this, MethodNotFoundError.prototype);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
class RequestConflictError extends WebrpcError {
|
|
1180
|
+
constructor(name = 'RequestConflict', code = 1004, message = 'Conflict with target resource', status = 0, cause) {
|
|
1181
|
+
super(name, code, message, status, cause);
|
|
1182
|
+
Object.setPrototypeOf(this, RequestConflictError.prototype);
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1120
1185
|
class AbortedError extends WebrpcError {
|
|
1121
1186
|
constructor(name = 'Aborted', code = 1005, message = 'Request aborted', status = 0, cause) {
|
|
1122
1187
|
super(name, code, message, status, cause);
|
|
@@ -1129,6 +1194,84 @@ class GeoblockedError extends WebrpcError {
|
|
|
1129
1194
|
Object.setPrototypeOf(this, GeoblockedError.prototype);
|
|
1130
1195
|
}
|
|
1131
1196
|
}
|
|
1197
|
+
class RateLimitedError extends WebrpcError {
|
|
1198
|
+
constructor(name = 'RateLimited', code = 1007, message = 'Rate-limited. Please slow down.', status = 0, cause) {
|
|
1199
|
+
super(name, code, message, status, cause);
|
|
1200
|
+
Object.setPrototypeOf(this, RateLimitedError.prototype);
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
class ProjectNotFoundError extends WebrpcError {
|
|
1204
|
+
constructor(name = 'ProjectNotFound', code = 1008, message = 'Project not found', status = 0, cause) {
|
|
1205
|
+
super(name, code, message, status, cause);
|
|
1206
|
+
Object.setPrototypeOf(this, ProjectNotFoundError.prototype);
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
class AccessKeyNotFoundError extends WebrpcError {
|
|
1210
|
+
constructor(name = 'AccessKeyNotFound', code = 1101, message = 'Access key not found', status = 0, cause) {
|
|
1211
|
+
super(name, code, message, status, cause);
|
|
1212
|
+
Object.setPrototypeOf(this, AccessKeyNotFoundError.prototype);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
class AccessKeyMismatchError extends WebrpcError {
|
|
1216
|
+
constructor(name = 'AccessKeyMismatch', code = 1102, message = 'Access key mismatch', status = 0, cause) {
|
|
1217
|
+
super(name, code, message, status, cause);
|
|
1218
|
+
Object.setPrototypeOf(this, AccessKeyMismatchError.prototype);
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
class InvalidOriginError extends WebrpcError {
|
|
1222
|
+
constructor(name = 'InvalidOrigin', code = 1103, message = 'Invalid origin for Access Key', status = 0, cause) {
|
|
1223
|
+
super(name, code, message, status, cause);
|
|
1224
|
+
Object.setPrototypeOf(this, InvalidOriginError.prototype);
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
class InvalidServiceError extends WebrpcError {
|
|
1228
|
+
constructor(name = 'InvalidService', code = 1104, message = 'Service not enabled for Access key', status = 0, cause) {
|
|
1229
|
+
super(name, code, message, status, cause);
|
|
1230
|
+
Object.setPrototypeOf(this, InvalidServiceError.prototype);
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
class UnauthorizedUserError extends WebrpcError {
|
|
1234
|
+
constructor(name = 'UnauthorizedUser', code = 1105, message = 'Unauthorized user', status = 0, cause) {
|
|
1235
|
+
super(name, code, message, status, cause);
|
|
1236
|
+
Object.setPrototypeOf(this, UnauthorizedUserError.prototype);
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
class QuotaExceededError extends WebrpcError {
|
|
1240
|
+
constructor(name = 'QuotaExceeded', code = 1200, message = 'Quota request exceeded', status = 0, cause) {
|
|
1241
|
+
super(name, code, message, status, cause);
|
|
1242
|
+
Object.setPrototypeOf(this, QuotaExceededError.prototype);
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
class QuotaRateLimitError extends WebrpcError {
|
|
1246
|
+
constructor(name = 'QuotaRateLimit', code = 1201, message = 'Quota rate limit exceeded', status = 0, cause) {
|
|
1247
|
+
super(name, code, message, status, cause);
|
|
1248
|
+
Object.setPrototypeOf(this, QuotaRateLimitError.prototype);
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
class NoDefaultKeyError extends WebrpcError {
|
|
1252
|
+
constructor(name = 'NoDefaultKey', code = 1300, message = 'No default access key found', status = 0, cause) {
|
|
1253
|
+
super(name, code, message, status, cause);
|
|
1254
|
+
Object.setPrototypeOf(this, NoDefaultKeyError.prototype);
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
class MaxAccessKeysError extends WebrpcError {
|
|
1258
|
+
constructor(name = 'MaxAccessKeys', code = 1301, message = 'Access keys limit reached', status = 0, cause) {
|
|
1259
|
+
super(name, code, message, status, cause);
|
|
1260
|
+
Object.setPrototypeOf(this, MaxAccessKeysError.prototype);
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
class AtLeastOneKeyError extends WebrpcError {
|
|
1264
|
+
constructor(name = 'AtLeastOneKey', code = 1302, message = 'You need at least one Access Key', status = 0, cause) {
|
|
1265
|
+
super(name, code, message, status, cause);
|
|
1266
|
+
Object.setPrototypeOf(this, AtLeastOneKeyError.prototype);
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
class TimeoutError extends WebrpcError {
|
|
1270
|
+
constructor(name = 'Timeout', code = 1900, message = 'Request timed out', status = 0, cause) {
|
|
1271
|
+
super(name, code, message, status, cause);
|
|
1272
|
+
Object.setPrototypeOf(this, TimeoutError.prototype);
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1132
1275
|
class InvalidArgumentError extends WebrpcError {
|
|
1133
1276
|
constructor(name = 'InvalidArgument', code = 2000, message = 'Invalid argument', status = 0, cause) {
|
|
1134
1277
|
super(name, code, message, status, cause);
|
|
@@ -1153,6 +1296,12 @@ class NotFoundError extends WebrpcError {
|
|
|
1153
1296
|
Object.setPrototypeOf(this, NotFoundError.prototype);
|
|
1154
1297
|
}
|
|
1155
1298
|
}
|
|
1299
|
+
class UnsupportedNetworkError extends WebrpcError {
|
|
1300
|
+
constructor(name = 'UnsupportedNetwork', code = 3008, message = 'Unsupported network', status = 0, cause) {
|
|
1301
|
+
super(name, code, message, status, cause);
|
|
1302
|
+
Object.setPrototypeOf(this, UnsupportedNetworkError.prototype);
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1156
1305
|
let errors = /*#__PURE__*/function (errors) {
|
|
1157
1306
|
errors["WebrpcEndpoint"] = "WebrpcEndpoint";
|
|
1158
1307
|
errors["WebrpcRequestFailed"] = "WebrpcRequestFailed";
|
|
@@ -1168,14 +1317,69 @@ let errors = /*#__PURE__*/function (errors) {
|
|
|
1168
1317
|
errors["Unauthorized"] = "Unauthorized";
|
|
1169
1318
|
errors["PermissionDenied"] = "PermissionDenied";
|
|
1170
1319
|
errors["SessionExpired"] = "SessionExpired";
|
|
1320
|
+
errors["MethodNotFound"] = "MethodNotFound";
|
|
1321
|
+
errors["RequestConflict"] = "RequestConflict";
|
|
1171
1322
|
errors["Aborted"] = "Aborted";
|
|
1172
1323
|
errors["Geoblocked"] = "Geoblocked";
|
|
1324
|
+
errors["RateLimited"] = "RateLimited";
|
|
1325
|
+
errors["ProjectNotFound"] = "ProjectNotFound";
|
|
1326
|
+
errors["AccessKeyNotFound"] = "AccessKeyNotFound";
|
|
1327
|
+
errors["AccessKeyMismatch"] = "AccessKeyMismatch";
|
|
1328
|
+
errors["InvalidOrigin"] = "InvalidOrigin";
|
|
1329
|
+
errors["InvalidService"] = "InvalidService";
|
|
1330
|
+
errors["UnauthorizedUser"] = "UnauthorizedUser";
|
|
1331
|
+
errors["QuotaExceeded"] = "QuotaExceeded";
|
|
1332
|
+
errors["QuotaRateLimit"] = "QuotaRateLimit";
|
|
1333
|
+
errors["NoDefaultKey"] = "NoDefaultKey";
|
|
1334
|
+
errors["MaxAccessKeys"] = "MaxAccessKeys";
|
|
1335
|
+
errors["AtLeastOneKey"] = "AtLeastOneKey";
|
|
1336
|
+
errors["Timeout"] = "Timeout";
|
|
1173
1337
|
errors["InvalidArgument"] = "InvalidArgument";
|
|
1174
1338
|
errors["Unavailable"] = "Unavailable";
|
|
1175
1339
|
errors["QueryFailed"] = "QueryFailed";
|
|
1176
1340
|
errors["NotFound"] = "NotFound";
|
|
1341
|
+
errors["UnsupportedNetwork"] = "UnsupportedNetwork";
|
|
1177
1342
|
return errors;
|
|
1178
1343
|
}({});
|
|
1344
|
+
let WebrpcErrorCodes = /*#__PURE__*/function (WebrpcErrorCodes) {
|
|
1345
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcEndpoint"] = 0] = "WebrpcEndpoint";
|
|
1346
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcRequestFailed"] = -1] = "WebrpcRequestFailed";
|
|
1347
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcBadRoute"] = -2] = "WebrpcBadRoute";
|
|
1348
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcBadMethod"] = -3] = "WebrpcBadMethod";
|
|
1349
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcBadRequest"] = -4] = "WebrpcBadRequest";
|
|
1350
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcBadResponse"] = -5] = "WebrpcBadResponse";
|
|
1351
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcServerPanic"] = -6] = "WebrpcServerPanic";
|
|
1352
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcInternalError"] = -7] = "WebrpcInternalError";
|
|
1353
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcClientDisconnected"] = -8] = "WebrpcClientDisconnected";
|
|
1354
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcStreamLost"] = -9] = "WebrpcStreamLost";
|
|
1355
|
+
WebrpcErrorCodes[WebrpcErrorCodes["WebrpcStreamFinished"] = -10] = "WebrpcStreamFinished";
|
|
1356
|
+
WebrpcErrorCodes[WebrpcErrorCodes["Unauthorized"] = 1000] = "Unauthorized";
|
|
1357
|
+
WebrpcErrorCodes[WebrpcErrorCodes["PermissionDenied"] = 1001] = "PermissionDenied";
|
|
1358
|
+
WebrpcErrorCodes[WebrpcErrorCodes["SessionExpired"] = 1002] = "SessionExpired";
|
|
1359
|
+
WebrpcErrorCodes[WebrpcErrorCodes["MethodNotFound"] = 1003] = "MethodNotFound";
|
|
1360
|
+
WebrpcErrorCodes[WebrpcErrorCodes["RequestConflict"] = 1004] = "RequestConflict";
|
|
1361
|
+
WebrpcErrorCodes[WebrpcErrorCodes["Aborted"] = 1005] = "Aborted";
|
|
1362
|
+
WebrpcErrorCodes[WebrpcErrorCodes["Geoblocked"] = 1006] = "Geoblocked";
|
|
1363
|
+
WebrpcErrorCodes[WebrpcErrorCodes["RateLimited"] = 1007] = "RateLimited";
|
|
1364
|
+
WebrpcErrorCodes[WebrpcErrorCodes["ProjectNotFound"] = 1008] = "ProjectNotFound";
|
|
1365
|
+
WebrpcErrorCodes[WebrpcErrorCodes["AccessKeyNotFound"] = 1101] = "AccessKeyNotFound";
|
|
1366
|
+
WebrpcErrorCodes[WebrpcErrorCodes["AccessKeyMismatch"] = 1102] = "AccessKeyMismatch";
|
|
1367
|
+
WebrpcErrorCodes[WebrpcErrorCodes["InvalidOrigin"] = 1103] = "InvalidOrigin";
|
|
1368
|
+
WebrpcErrorCodes[WebrpcErrorCodes["InvalidService"] = 1104] = "InvalidService";
|
|
1369
|
+
WebrpcErrorCodes[WebrpcErrorCodes["UnauthorizedUser"] = 1105] = "UnauthorizedUser";
|
|
1370
|
+
WebrpcErrorCodes[WebrpcErrorCodes["QuotaExceeded"] = 1200] = "QuotaExceeded";
|
|
1371
|
+
WebrpcErrorCodes[WebrpcErrorCodes["QuotaRateLimit"] = 1201] = "QuotaRateLimit";
|
|
1372
|
+
WebrpcErrorCodes[WebrpcErrorCodes["NoDefaultKey"] = 1300] = "NoDefaultKey";
|
|
1373
|
+
WebrpcErrorCodes[WebrpcErrorCodes["MaxAccessKeys"] = 1301] = "MaxAccessKeys";
|
|
1374
|
+
WebrpcErrorCodes[WebrpcErrorCodes["AtLeastOneKey"] = 1302] = "AtLeastOneKey";
|
|
1375
|
+
WebrpcErrorCodes[WebrpcErrorCodes["Timeout"] = 1900] = "Timeout";
|
|
1376
|
+
WebrpcErrorCodes[WebrpcErrorCodes["InvalidArgument"] = 2000] = "InvalidArgument";
|
|
1377
|
+
WebrpcErrorCodes[WebrpcErrorCodes["Unavailable"] = 2002] = "Unavailable";
|
|
1378
|
+
WebrpcErrorCodes[WebrpcErrorCodes["QueryFailed"] = 2003] = "QueryFailed";
|
|
1379
|
+
WebrpcErrorCodes[WebrpcErrorCodes["NotFound"] = 3000] = "NotFound";
|
|
1380
|
+
WebrpcErrorCodes[WebrpcErrorCodes["UnsupportedNetwork"] = 3008] = "UnsupportedNetwork";
|
|
1381
|
+
return WebrpcErrorCodes;
|
|
1382
|
+
}({});
|
|
1179
1383
|
const webrpcErrorByCode = {
|
|
1180
1384
|
[0]: WebrpcEndpointError,
|
|
1181
1385
|
[-1]: WebrpcRequestFailedError,
|
|
@@ -1191,12 +1395,28 @@ const webrpcErrorByCode = {
|
|
|
1191
1395
|
[1000]: UnauthorizedError,
|
|
1192
1396
|
[1001]: PermissionDeniedError,
|
|
1193
1397
|
[1002]: SessionExpiredError,
|
|
1398
|
+
[1003]: MethodNotFoundError,
|
|
1399
|
+
[1004]: RequestConflictError,
|
|
1194
1400
|
[1005]: AbortedError,
|
|
1195
1401
|
[1006]: GeoblockedError,
|
|
1402
|
+
[1007]: RateLimitedError,
|
|
1403
|
+
[1008]: ProjectNotFoundError,
|
|
1404
|
+
[1101]: AccessKeyNotFoundError,
|
|
1405
|
+
[1102]: AccessKeyMismatchError,
|
|
1406
|
+
[1103]: InvalidOriginError,
|
|
1407
|
+
[1104]: InvalidServiceError,
|
|
1408
|
+
[1105]: UnauthorizedUserError,
|
|
1409
|
+
[1200]: QuotaExceededError,
|
|
1410
|
+
[1201]: QuotaRateLimitError,
|
|
1411
|
+
[1300]: NoDefaultKeyError,
|
|
1412
|
+
[1301]: MaxAccessKeysError,
|
|
1413
|
+
[1302]: AtLeastOneKeyError,
|
|
1414
|
+
[1900]: TimeoutError,
|
|
1196
1415
|
[2000]: InvalidArgumentError,
|
|
1197
1416
|
[2002]: UnavailableError,
|
|
1198
1417
|
[2003]: QueryFailedError,
|
|
1199
|
-
[3000]: NotFoundError
|
|
1418
|
+
[3000]: NotFoundError,
|
|
1419
|
+
[3008]: UnsupportedNetworkError
|
|
1200
1420
|
};
|
|
1201
1421
|
|
|
1202
1422
|
class SequenceAPIClient extends API {
|
|
@@ -1227,19 +1447,36 @@ class SequenceAPIClient extends API {
|
|
|
1227
1447
|
|
|
1228
1448
|
exports.API = API;
|
|
1229
1449
|
exports.AbortedError = AbortedError;
|
|
1450
|
+
exports.AccessKeyMismatchError = AccessKeyMismatchError;
|
|
1451
|
+
exports.AccessKeyNotFoundError = AccessKeyNotFoundError;
|
|
1452
|
+
exports.AtLeastOneKeyError = AtLeastOneKeyError;
|
|
1230
1453
|
exports.GeoblockedError = GeoblockedError;
|
|
1231
1454
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
1455
|
+
exports.InvalidOriginError = InvalidOriginError;
|
|
1456
|
+
exports.InvalidServiceError = InvalidServiceError;
|
|
1457
|
+
exports.MaxAccessKeysError = MaxAccessKeysError;
|
|
1458
|
+
exports.MethodNotFoundError = MethodNotFoundError;
|
|
1459
|
+
exports.NoDefaultKeyError = NoDefaultKeyError;
|
|
1232
1460
|
exports.NotFoundError = NotFoundError;
|
|
1233
1461
|
exports.PermissionDeniedError = PermissionDeniedError;
|
|
1462
|
+
exports.ProjectNotFoundError = ProjectNotFoundError;
|
|
1234
1463
|
exports.QueryFailedError = QueryFailedError;
|
|
1464
|
+
exports.QuotaExceededError = QuotaExceededError;
|
|
1465
|
+
exports.QuotaRateLimitError = QuotaRateLimitError;
|
|
1466
|
+
exports.RateLimitedError = RateLimitedError;
|
|
1467
|
+
exports.RequestConflictError = RequestConflictError;
|
|
1235
1468
|
exports.SardinePaymentType = SardinePaymentType;
|
|
1236
1469
|
exports.SardineQuoteType = SardineQuoteType;
|
|
1237
1470
|
exports.SequenceAPIClient = SequenceAPIClient;
|
|
1238
1471
|
exports.SessionExpiredError = SessionExpiredError;
|
|
1239
1472
|
exports.SortOrder = SortOrder;
|
|
1473
|
+
exports.TimeoutError = TimeoutError;
|
|
1240
1474
|
exports.TokenType = TokenType;
|
|
1241
1475
|
exports.UnauthorizedError = UnauthorizedError;
|
|
1476
|
+
exports.UnauthorizedUserError = UnauthorizedUserError;
|
|
1242
1477
|
exports.UnavailableError = UnavailableError;
|
|
1478
|
+
exports.UnsupportedNetworkError = UnsupportedNetworkError;
|
|
1479
|
+
exports.VersionFromHeader = VersionFromHeader;
|
|
1243
1480
|
exports.WebRPCSchemaHash = WebRPCSchemaHash;
|
|
1244
1481
|
exports.WebRPCSchemaVersion = WebRPCSchemaVersion;
|
|
1245
1482
|
exports.WebRPCVersion = WebRPCVersion;
|
|
@@ -1250,9 +1487,13 @@ exports.WebrpcBadRouteError = WebrpcBadRouteError;
|
|
|
1250
1487
|
exports.WebrpcClientDisconnectedError = WebrpcClientDisconnectedError;
|
|
1251
1488
|
exports.WebrpcEndpointError = WebrpcEndpointError;
|
|
1252
1489
|
exports.WebrpcError = WebrpcError;
|
|
1490
|
+
exports.WebrpcErrorCodes = WebrpcErrorCodes;
|
|
1491
|
+
exports.WebrpcHeader = WebrpcHeader;
|
|
1492
|
+
exports.WebrpcHeaderValue = WebrpcHeaderValue;
|
|
1253
1493
|
exports.WebrpcInternalErrorError = WebrpcInternalErrorError;
|
|
1254
1494
|
exports.WebrpcRequestFailedError = WebrpcRequestFailedError;
|
|
1255
1495
|
exports.WebrpcServerPanicError = WebrpcServerPanicError;
|
|
1256
1496
|
exports.WebrpcStreamFinishedError = WebrpcStreamFinishedError;
|
|
1257
1497
|
exports.WebrpcStreamLostError = WebrpcStreamLostError;
|
|
1258
1498
|
exports.errors = errors;
|
|
1499
|
+
exports.webrpcErrorByCode = webrpcErrorByCode;
|