@0xsequence/api 2.3.27 → 2.3.29

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.
@@ -13,7 +13,7 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // sequence-api v0.4.0 1bfcfbfaf0d9cbc4cb88e71af967670e1c5506aa
16
+ // sequence-api v0.4.0 d43a5aac616814072c69e63f2f81fe65ea10a7e0
17
17
  // --
18
18
  // Code generated by webrpc-gen@v0.25.3 with typescript generator. DO NOT EDIT.
19
19
  //
@@ -29,7 +29,7 @@ const WebRPCVersion = "v1";
29
29
  const WebRPCSchemaVersion = "v0.4.0";
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash = "1bfcfbfaf0d9cbc4cb88e71af967670e1c5506aa";
32
+ const WebRPCSchemaHash = "d43a5aac616814072c69e63f2f81fe65ea10a7e0";
33
33
  function VersionFromHeader(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader);
35
35
  if (!headerValue) {
@@ -89,6 +89,11 @@ let SardineQuoteType = /*#__PURE__*/function (SardineQuoteType) {
89
89
  SardineQuoteType["sell"] = "sell";
90
90
  return SardineQuoteType;
91
91
  }({});
92
+ let GetLifiSwapRouteDirection = /*#__PURE__*/function (GetLifiSwapRouteDirection) {
93
+ GetLifiSwapRouteDirection["to"] = "to";
94
+ GetLifiSwapRouteDirection["from"] = "from";
95
+ return GetLifiSwapRouteDirection;
96
+ }({});
92
97
  let TokenType = /*#__PURE__*/function (TokenType) {
93
98
  TokenType["ERC20"] = "ERC20";
94
99
  TokenType["ERC721"] = "ERC721";
@@ -101,6 +106,11 @@ let TransakBuySell = /*#__PURE__*/function (TransakBuySell) {
101
106
  TransakBuySell["SELL"] = "SELL";
102
107
  return TransakBuySell;
103
108
  }({});
109
+ let TradeType = /*#__PURE__*/function (TradeType) {
110
+ TradeType["EXACT_INPUT"] = "EXACT_INPUT";
111
+ TradeType["EXACT_OUTPUT"] = "EXACT_OUTPUT";
112
+ return TradeType;
113
+ }({});
104
114
  let CheckoutOptionCrypto = /*#__PURE__*/function (CheckoutOptionCrypto) {
105
115
  CheckoutOptionCrypto["none"] = "none";
106
116
  CheckoutOptionCrypto["partially"] = "partially";
@@ -520,6 +530,19 @@ class API {
520
530
  });
521
531
  });
522
532
  };
533
+ this.getOnRampURL = (args, headers, signal) => {
534
+ return this.fetch(this.url('GetOnRampURL'), createHTTPRequest(args, headers, signal)).then(res => {
535
+ return buildResponse(res).then(_data => {
536
+ return {
537
+ url: _data.url
538
+ };
539
+ });
540
+ }, error => {
541
+ throw WebrpcRequestFailedError.new({
542
+ cause: `fetch(): ${error.message || ''}`
543
+ });
544
+ });
545
+ };
523
546
  this.sardineGetClientToken = (headers, signal) => {
524
547
  return this.fetch(this.url('SardineGetClientToken'), createHTTPRequest({}, headers, signal)).then(res => {
525
548
  return buildResponse(res).then(_data => {
@@ -1016,6 +1039,52 @@ class API {
1016
1039
  });
1017
1040
  });
1018
1041
  };
1042
+ this.getIntentCallsPayloads = (args, headers, signal) => {
1043
+ return this.fetch(this.url('GetIntentCallsPayloads'), createHTTPRequest(args, headers, signal)).then(res => {
1044
+ return buildResponse(res).then(_data => {
1045
+ return {
1046
+ calls: _data.calls,
1047
+ preconditions: _data.preconditions,
1048
+ metaTxns: _data.metaTxns,
1049
+ trailsFee: _data.trailsFee,
1050
+ quote: _data.quote,
1051
+ feeQuotes: _data.feeQuotes,
1052
+ originIntentAddress: _data.originIntentAddress,
1053
+ destinationIntentAddress: _data.destinationIntentAddress
1054
+ };
1055
+ });
1056
+ }, error => {
1057
+ throw WebrpcRequestFailedError.new({
1058
+ cause: `fetch(): ${error.message || ''}`
1059
+ });
1060
+ });
1061
+ };
1062
+ this.commitIntentConfig = (args, headers, signal) => {
1063
+ return this.fetch(this.url('CommitIntentConfig'), createHTTPRequest(args, headers, signal)).then(res => {
1064
+ return buildResponse(res).then(_data => {
1065
+ return {
1066
+ config: _data.config
1067
+ };
1068
+ });
1069
+ }, error => {
1070
+ throw WebrpcRequestFailedError.new({
1071
+ cause: `fetch(): ${error.message || ''}`
1072
+ });
1073
+ });
1074
+ };
1075
+ this.getIntentConfig = (args, headers, signal) => {
1076
+ return this.fetch(this.url('GetIntentConfig'), createHTTPRequest(args, headers, signal)).then(res => {
1077
+ return buildResponse(res).then(_data => {
1078
+ return {
1079
+ config: _data.config
1080
+ };
1081
+ });
1082
+ }, error => {
1083
+ throw WebrpcRequestFailedError.new({
1084
+ cause: `fetch(): ${error.message || ''}`
1085
+ });
1086
+ });
1087
+ };
1019
1088
  this.listCurrencyGroups = (headers, signal) => {
1020
1089
  return this.fetch(this.url('ListCurrencyGroups'), createHTTPRequest({}, headers, signal)).then(res => {
1021
1090
  return buildResponse(res).then(_data => {
@@ -1145,6 +1214,19 @@ class API {
1145
1214
  });
1146
1215
  });
1147
1216
  };
1217
+ this.getPackIds = (args, headers, signal) => {
1218
+ return this.fetch(this.url('GetPackIds'), createHTTPRequest(args, headers, signal)).then(res => {
1219
+ return buildResponse(res).then(_data => {
1220
+ return {
1221
+ packIds: _data.packIds
1222
+ };
1223
+ });
1224
+ }, error => {
1225
+ throw WebrpcRequestFailedError.new({
1226
+ cause: `fetch(): ${error.message || ''}`
1227
+ });
1228
+ });
1229
+ };
1148
1230
  this.deletePack = (args, headers, signal) => {
1149
1231
  return this.fetch(this.url('DeletePack'), createHTTPRequest(args, headers, signal)).then(res => {
1150
1232
  return buildResponse(res).then(_data => {
@@ -1223,6 +1305,111 @@ class API {
1223
1305
  });
1224
1306
  });
1225
1307
  };
1308
+ this.fortePayCreateIntent = (args, headers, signal) => {
1309
+ return this.fetch(this.url('FortePayCreateIntent'), createHTTPRequest(args, headers, signal)).then(res => {
1310
+ return buildResponse(res).then(_data => {
1311
+ return {
1312
+ resp: _data.resp
1313
+ };
1314
+ });
1315
+ }, error => {
1316
+ throw WebrpcRequestFailedError.new({
1317
+ cause: `fetch(): ${error.message || ''}`
1318
+ });
1319
+ });
1320
+ };
1321
+ this.fortePayGetPaymentStatuses = (args, headers, signal) => {
1322
+ return this.fetch(this.url('FortePayGetPaymentStatuses'), createHTTPRequest(args, headers, signal)).then(res => {
1323
+ return buildResponse(res).then(_data => {
1324
+ return {
1325
+ statuses: _data.statuses
1326
+ };
1327
+ });
1328
+ }, error => {
1329
+ throw WebrpcRequestFailedError.new({
1330
+ cause: `fetch(): ${error.message || ''}`
1331
+ });
1332
+ });
1333
+ };
1334
+ this.getCCTPTransfer = (args, headers, signal) => {
1335
+ return this.fetch(this.url('GetCCTPTransfer'), createHTTPRequest(args, headers, signal)).then(res => {
1336
+ return buildResponse(res).then(_data => {
1337
+ return {
1338
+ transfer: _data.transfer
1339
+ };
1340
+ });
1341
+ }, error => {
1342
+ throw WebrpcRequestFailedError.new({
1343
+ cause: `fetch(): ${error.message || ''}`
1344
+ });
1345
+ });
1346
+ };
1347
+ this.queueCCTPTransfer = (args, headers, signal) => {
1348
+ return this.fetch(this.url('QueueCCTPTransfer'), createHTTPRequest(args, headers, signal)).then(res => {
1349
+ return buildResponse(res).then(_data => {
1350
+ return {
1351
+ transfer: _data.transfer
1352
+ };
1353
+ });
1354
+ }, error => {
1355
+ throw WebrpcRequestFailedError.new({
1356
+ cause: `fetch(): ${error.message || ''}`
1357
+ });
1358
+ });
1359
+ };
1360
+ this.queueIntentConfigExecution = (args, headers, signal) => {
1361
+ return this.fetch(this.url('QueueIntentConfigExecution'), createHTTPRequest(args, headers, signal)).then(res => {
1362
+ return buildResponse(res).then(_data => {
1363
+ return {
1364
+ status: _data.status
1365
+ };
1366
+ });
1367
+ }, error => {
1368
+ throw WebrpcRequestFailedError.new({
1369
+ cause: `fetch(): ${error.message || ''}`
1370
+ });
1371
+ });
1372
+ };
1373
+ this.getIntentConfigExecutionStatus = (args, headers, signal) => {
1374
+ return this.fetch(this.url('GetIntentConfigExecutionStatus'), createHTTPRequest(args, headers, signal)).then(res => {
1375
+ return buildResponse(res).then(_data => {
1376
+ return {
1377
+ executionStatus: _data.executionStatus
1378
+ };
1379
+ });
1380
+ }, error => {
1381
+ throw WebrpcRequestFailedError.new({
1382
+ cause: `fetch(): ${error.message || ''}`
1383
+ });
1384
+ });
1385
+ };
1386
+ this.listIntentConfigs = (args, headers, signal) => {
1387
+ return this.fetch(this.url('ListIntentConfigs'), createHTTPRequest(args, headers, signal)).then(res => {
1388
+ return buildResponse(res).then(_data => {
1389
+ return {
1390
+ page: _data.page,
1391
+ intentConfigs: _data.intentConfigs
1392
+ };
1393
+ });
1394
+ }, error => {
1395
+ throw WebrpcRequestFailedError.new({
1396
+ cause: `fetch(): ${error.message || ''}`
1397
+ });
1398
+ });
1399
+ };
1400
+ this.queueMetaTxnReceipt = (args, headers, signal) => {
1401
+ return this.fetch(this.url('QueueMetaTxnReceipt'), createHTTPRequest(args, headers, signal)).then(res => {
1402
+ return buildResponse(res).then(_data => {
1403
+ return {
1404
+ status: _data.status
1405
+ };
1406
+ });
1407
+ }, error => {
1408
+ throw WebrpcRequestFailedError.new({
1409
+ cause: `fetch(): ${error.message || ''}`
1410
+ });
1411
+ });
1412
+ };
1226
1413
  this.hostname = hostname.replace(/\/*$/, '');
1227
1414
  this.fetch = (input, init) => fetch(input, init);
1228
1415
  }
@@ -1666,6 +1853,7 @@ exports.CheckoutOptionNFTCheckoutProvider = CheckoutOptionNFTCheckoutProvider;
1666
1853
  exports.CheckoutOptionOnRampProvider = CheckoutOptionOnRampProvider;
1667
1854
  exports.CheckoutOptionSwapProvider = CheckoutOptionSwapProvider;
1668
1855
  exports.GeoblockedError = GeoblockedError;
1856
+ exports.GetLifiSwapRouteDirection = GetLifiSwapRouteDirection;
1669
1857
  exports.InvalidArgumentError = InvalidArgumentError;
1670
1858
  exports.InvalidOriginError = InvalidOriginError;
1671
1859
  exports.InvalidServiceError = InvalidServiceError;
@@ -1687,6 +1875,7 @@ exports.SessionExpiredError = SessionExpiredError;
1687
1875
  exports.SortOrder = SortOrder;
1688
1876
  exports.TimeoutError = TimeoutError;
1689
1877
  exports.TokenType = TokenType;
1878
+ exports.TradeType = TradeType;
1690
1879
  exports.TransakBuySell = TransakBuySell;
1691
1880
  exports.UnauthorizedError = UnauthorizedError;
1692
1881
  exports.UnauthorizedUserError = UnauthorizedUserError;
@@ -13,7 +13,7 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // sequence-api v0.4.0 1bfcfbfaf0d9cbc4cb88e71af967670e1c5506aa
16
+ // sequence-api v0.4.0 d43a5aac616814072c69e63f2f81fe65ea10a7e0
17
17
  // --
18
18
  // Code generated by webrpc-gen@v0.25.3 with typescript generator. DO NOT EDIT.
19
19
  //
@@ -29,7 +29,7 @@ const WebRPCVersion = "v1";
29
29
  const WebRPCSchemaVersion = "v0.4.0";
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash = "1bfcfbfaf0d9cbc4cb88e71af967670e1c5506aa";
32
+ const WebRPCSchemaHash = "d43a5aac616814072c69e63f2f81fe65ea10a7e0";
33
33
  function VersionFromHeader(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader);
35
35
  if (!headerValue) {
@@ -89,6 +89,11 @@ let SardineQuoteType = /*#__PURE__*/function (SardineQuoteType) {
89
89
  SardineQuoteType["sell"] = "sell";
90
90
  return SardineQuoteType;
91
91
  }({});
92
+ let GetLifiSwapRouteDirection = /*#__PURE__*/function (GetLifiSwapRouteDirection) {
93
+ GetLifiSwapRouteDirection["to"] = "to";
94
+ GetLifiSwapRouteDirection["from"] = "from";
95
+ return GetLifiSwapRouteDirection;
96
+ }({});
92
97
  let TokenType = /*#__PURE__*/function (TokenType) {
93
98
  TokenType["ERC20"] = "ERC20";
94
99
  TokenType["ERC721"] = "ERC721";
@@ -101,6 +106,11 @@ let TransakBuySell = /*#__PURE__*/function (TransakBuySell) {
101
106
  TransakBuySell["SELL"] = "SELL";
102
107
  return TransakBuySell;
103
108
  }({});
109
+ let TradeType = /*#__PURE__*/function (TradeType) {
110
+ TradeType["EXACT_INPUT"] = "EXACT_INPUT";
111
+ TradeType["EXACT_OUTPUT"] = "EXACT_OUTPUT";
112
+ return TradeType;
113
+ }({});
104
114
  let CheckoutOptionCrypto = /*#__PURE__*/function (CheckoutOptionCrypto) {
105
115
  CheckoutOptionCrypto["none"] = "none";
106
116
  CheckoutOptionCrypto["partially"] = "partially";
@@ -520,6 +530,19 @@ class API {
520
530
  });
521
531
  });
522
532
  };
533
+ this.getOnRampURL = (args, headers, signal) => {
534
+ return this.fetch(this.url('GetOnRampURL'), createHTTPRequest(args, headers, signal)).then(res => {
535
+ return buildResponse(res).then(_data => {
536
+ return {
537
+ url: _data.url
538
+ };
539
+ });
540
+ }, error => {
541
+ throw WebrpcRequestFailedError.new({
542
+ cause: `fetch(): ${error.message || ''}`
543
+ });
544
+ });
545
+ };
523
546
  this.sardineGetClientToken = (headers, signal) => {
524
547
  return this.fetch(this.url('SardineGetClientToken'), createHTTPRequest({}, headers, signal)).then(res => {
525
548
  return buildResponse(res).then(_data => {
@@ -1016,6 +1039,52 @@ class API {
1016
1039
  });
1017
1040
  });
1018
1041
  };
1042
+ this.getIntentCallsPayloads = (args, headers, signal) => {
1043
+ return this.fetch(this.url('GetIntentCallsPayloads'), createHTTPRequest(args, headers, signal)).then(res => {
1044
+ return buildResponse(res).then(_data => {
1045
+ return {
1046
+ calls: _data.calls,
1047
+ preconditions: _data.preconditions,
1048
+ metaTxns: _data.metaTxns,
1049
+ trailsFee: _data.trailsFee,
1050
+ quote: _data.quote,
1051
+ feeQuotes: _data.feeQuotes,
1052
+ originIntentAddress: _data.originIntentAddress,
1053
+ destinationIntentAddress: _data.destinationIntentAddress
1054
+ };
1055
+ });
1056
+ }, error => {
1057
+ throw WebrpcRequestFailedError.new({
1058
+ cause: `fetch(): ${error.message || ''}`
1059
+ });
1060
+ });
1061
+ };
1062
+ this.commitIntentConfig = (args, headers, signal) => {
1063
+ return this.fetch(this.url('CommitIntentConfig'), createHTTPRequest(args, headers, signal)).then(res => {
1064
+ return buildResponse(res).then(_data => {
1065
+ return {
1066
+ config: _data.config
1067
+ };
1068
+ });
1069
+ }, error => {
1070
+ throw WebrpcRequestFailedError.new({
1071
+ cause: `fetch(): ${error.message || ''}`
1072
+ });
1073
+ });
1074
+ };
1075
+ this.getIntentConfig = (args, headers, signal) => {
1076
+ return this.fetch(this.url('GetIntentConfig'), createHTTPRequest(args, headers, signal)).then(res => {
1077
+ return buildResponse(res).then(_data => {
1078
+ return {
1079
+ config: _data.config
1080
+ };
1081
+ });
1082
+ }, error => {
1083
+ throw WebrpcRequestFailedError.new({
1084
+ cause: `fetch(): ${error.message || ''}`
1085
+ });
1086
+ });
1087
+ };
1019
1088
  this.listCurrencyGroups = (headers, signal) => {
1020
1089
  return this.fetch(this.url('ListCurrencyGroups'), createHTTPRequest({}, headers, signal)).then(res => {
1021
1090
  return buildResponse(res).then(_data => {
@@ -1145,6 +1214,19 @@ class API {
1145
1214
  });
1146
1215
  });
1147
1216
  };
1217
+ this.getPackIds = (args, headers, signal) => {
1218
+ return this.fetch(this.url('GetPackIds'), createHTTPRequest(args, headers, signal)).then(res => {
1219
+ return buildResponse(res).then(_data => {
1220
+ return {
1221
+ packIds: _data.packIds
1222
+ };
1223
+ });
1224
+ }, error => {
1225
+ throw WebrpcRequestFailedError.new({
1226
+ cause: `fetch(): ${error.message || ''}`
1227
+ });
1228
+ });
1229
+ };
1148
1230
  this.deletePack = (args, headers, signal) => {
1149
1231
  return this.fetch(this.url('DeletePack'), createHTTPRequest(args, headers, signal)).then(res => {
1150
1232
  return buildResponse(res).then(_data => {
@@ -1223,6 +1305,111 @@ class API {
1223
1305
  });
1224
1306
  });
1225
1307
  };
1308
+ this.fortePayCreateIntent = (args, headers, signal) => {
1309
+ return this.fetch(this.url('FortePayCreateIntent'), createHTTPRequest(args, headers, signal)).then(res => {
1310
+ return buildResponse(res).then(_data => {
1311
+ return {
1312
+ resp: _data.resp
1313
+ };
1314
+ });
1315
+ }, error => {
1316
+ throw WebrpcRequestFailedError.new({
1317
+ cause: `fetch(): ${error.message || ''}`
1318
+ });
1319
+ });
1320
+ };
1321
+ this.fortePayGetPaymentStatuses = (args, headers, signal) => {
1322
+ return this.fetch(this.url('FortePayGetPaymentStatuses'), createHTTPRequest(args, headers, signal)).then(res => {
1323
+ return buildResponse(res).then(_data => {
1324
+ return {
1325
+ statuses: _data.statuses
1326
+ };
1327
+ });
1328
+ }, error => {
1329
+ throw WebrpcRequestFailedError.new({
1330
+ cause: `fetch(): ${error.message || ''}`
1331
+ });
1332
+ });
1333
+ };
1334
+ this.getCCTPTransfer = (args, headers, signal) => {
1335
+ return this.fetch(this.url('GetCCTPTransfer'), createHTTPRequest(args, headers, signal)).then(res => {
1336
+ return buildResponse(res).then(_data => {
1337
+ return {
1338
+ transfer: _data.transfer
1339
+ };
1340
+ });
1341
+ }, error => {
1342
+ throw WebrpcRequestFailedError.new({
1343
+ cause: `fetch(): ${error.message || ''}`
1344
+ });
1345
+ });
1346
+ };
1347
+ this.queueCCTPTransfer = (args, headers, signal) => {
1348
+ return this.fetch(this.url('QueueCCTPTransfer'), createHTTPRequest(args, headers, signal)).then(res => {
1349
+ return buildResponse(res).then(_data => {
1350
+ return {
1351
+ transfer: _data.transfer
1352
+ };
1353
+ });
1354
+ }, error => {
1355
+ throw WebrpcRequestFailedError.new({
1356
+ cause: `fetch(): ${error.message || ''}`
1357
+ });
1358
+ });
1359
+ };
1360
+ this.queueIntentConfigExecution = (args, headers, signal) => {
1361
+ return this.fetch(this.url('QueueIntentConfigExecution'), createHTTPRequest(args, headers, signal)).then(res => {
1362
+ return buildResponse(res).then(_data => {
1363
+ return {
1364
+ status: _data.status
1365
+ };
1366
+ });
1367
+ }, error => {
1368
+ throw WebrpcRequestFailedError.new({
1369
+ cause: `fetch(): ${error.message || ''}`
1370
+ });
1371
+ });
1372
+ };
1373
+ this.getIntentConfigExecutionStatus = (args, headers, signal) => {
1374
+ return this.fetch(this.url('GetIntentConfigExecutionStatus'), createHTTPRequest(args, headers, signal)).then(res => {
1375
+ return buildResponse(res).then(_data => {
1376
+ return {
1377
+ executionStatus: _data.executionStatus
1378
+ };
1379
+ });
1380
+ }, error => {
1381
+ throw WebrpcRequestFailedError.new({
1382
+ cause: `fetch(): ${error.message || ''}`
1383
+ });
1384
+ });
1385
+ };
1386
+ this.listIntentConfigs = (args, headers, signal) => {
1387
+ return this.fetch(this.url('ListIntentConfigs'), createHTTPRequest(args, headers, signal)).then(res => {
1388
+ return buildResponse(res).then(_data => {
1389
+ return {
1390
+ page: _data.page,
1391
+ intentConfigs: _data.intentConfigs
1392
+ };
1393
+ });
1394
+ }, error => {
1395
+ throw WebrpcRequestFailedError.new({
1396
+ cause: `fetch(): ${error.message || ''}`
1397
+ });
1398
+ });
1399
+ };
1400
+ this.queueMetaTxnReceipt = (args, headers, signal) => {
1401
+ return this.fetch(this.url('QueueMetaTxnReceipt'), createHTTPRequest(args, headers, signal)).then(res => {
1402
+ return buildResponse(res).then(_data => {
1403
+ return {
1404
+ status: _data.status
1405
+ };
1406
+ });
1407
+ }, error => {
1408
+ throw WebrpcRequestFailedError.new({
1409
+ cause: `fetch(): ${error.message || ''}`
1410
+ });
1411
+ });
1412
+ };
1226
1413
  this.hostname = hostname.replace(/\/*$/, '');
1227
1414
  this.fetch = (input, init) => fetch(input, init);
1228
1415
  }
@@ -1666,6 +1853,7 @@ exports.CheckoutOptionNFTCheckoutProvider = CheckoutOptionNFTCheckoutProvider;
1666
1853
  exports.CheckoutOptionOnRampProvider = CheckoutOptionOnRampProvider;
1667
1854
  exports.CheckoutOptionSwapProvider = CheckoutOptionSwapProvider;
1668
1855
  exports.GeoblockedError = GeoblockedError;
1856
+ exports.GetLifiSwapRouteDirection = GetLifiSwapRouteDirection;
1669
1857
  exports.InvalidArgumentError = InvalidArgumentError;
1670
1858
  exports.InvalidOriginError = InvalidOriginError;
1671
1859
  exports.InvalidServiceError = InvalidServiceError;
@@ -1687,6 +1875,7 @@ exports.SessionExpiredError = SessionExpiredError;
1687
1875
  exports.SortOrder = SortOrder;
1688
1876
  exports.TimeoutError = TimeoutError;
1689
1877
  exports.TokenType = TokenType;
1878
+ exports.TradeType = TradeType;
1690
1879
  exports.TransakBuySell = TransakBuySell;
1691
1880
  exports.UnauthorizedError = UnauthorizedError;
1692
1881
  exports.UnauthorizedUserError = UnauthorizedUserError;