@xchainjs/xchain-thornode 0.3.19 → 0.3.21

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/lib/index.js CHANGED
@@ -1,12 +1,10 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var globalAxios = require('axios');
6
4
 
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
5
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
6
 
9
- var globalAxios__default = /*#__PURE__*/_interopDefaultLegacy(globalAxios);
7
+ var globalAxios__default = /*#__PURE__*/_interopDefault(globalAxios);
10
8
 
11
9
  /******************************************************************************
12
10
  Copyright (c) Microsoft Corporation.
@@ -22,6 +20,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
20
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
21
  PERFORMANCE OF THIS SOFTWARE.
24
22
  ***************************************************************************** */
23
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
24
+
25
25
 
26
26
  function __awaiter(thisArg, _arguments, P, generator) {
27
27
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -31,9 +31,28 @@ function __awaiter(thisArg, _arguments, P, generator) {
31
31
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
32
32
  step((generator = generator.apply(thisArg, _arguments || [])).next());
33
33
  });
34
- }
34
+ }
35
+
36
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
37
+ var e = new Error(message);
38
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
39
+ };
35
40
 
36
41
  /* tslint:disable */
42
+ /* eslint-disable */
43
+ /**
44
+ * Thornode API
45
+ * Thornode REST API.
46
+ *
47
+ * The version of the OpenAPI document: 1.134.0
48
+ * Contact: devs@thorchain.org
49
+ *
50
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
51
+ * https://openapi-generator.tech
52
+ * Do not edit the class manually.
53
+ */
54
+ // Some imports not used depending on template conditions
55
+ // @ts-ignore
37
56
  const BASE_PATH = "http://localhost".replace(/\/+$/, "");
38
57
  /**
39
58
  *
@@ -41,7 +60,7 @@ const BASE_PATH = "http://localhost".replace(/\/+$/, "");
41
60
  * @class BaseAPI
42
61
  */
43
62
  class BaseAPI {
44
- constructor(configuration, basePath = BASE_PATH, axios = globalAxios__default["default"]) {
63
+ constructor(configuration, basePath = BASE_PATH, axios = globalAxios__default.default) {
45
64
  this.basePath = basePath;
46
65
  this.axios = axios;
47
66
  if (configuration) {
@@ -65,6 +84,18 @@ class RequiredError extends Error {
65
84
  }
66
85
 
67
86
  /* tslint:disable */
87
+ /* eslint-disable */
88
+ /**
89
+ * Thornode API
90
+ * Thornode REST API.
91
+ *
92
+ * The version of the OpenAPI document: 1.134.0
93
+ * Contact: devs@thorchain.org
94
+ *
95
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
96
+ * https://openapi-generator.tech
97
+ * Do not edit the class manually.
98
+ */
68
99
  /**
69
100
  *
70
101
  * @export
@@ -126,6 +157,18 @@ const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, confi
126
157
  };
127
158
 
128
159
  /* tslint:disable */
160
+ /* eslint-disable */
161
+ /**
162
+ * Thornode API
163
+ * Thornode REST API.
164
+ *
165
+ * The version of the OpenAPI document: 1.134.0
166
+ * Contact: devs@thorchain.org
167
+ *
168
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
169
+ * https://openapi-generator.tech
170
+ * Do not edit the class manually.
171
+ */
129
172
  const NodeStatusEnum = {
130
173
  Active: 'Active',
131
174
  Whitelisted: 'Whitelisted',
@@ -196,7 +239,7 @@ const BlockApiFp = function (configuration) {
196
239
  block(height, options) {
197
240
  return __awaiter(this, void 0, void 0, function* () {
198
241
  const localVarAxiosArgs = yield localVarAxiosParamCreator.block(height, options);
199
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
242
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
200
243
  });
201
244
  },
202
245
  };
@@ -331,7 +374,7 @@ const BorrowersApiFp = function (configuration) {
331
374
  borrower(asset, address, height, options) {
332
375
  return __awaiter(this, void 0, void 0, function* () {
333
376
  const localVarAxiosArgs = yield localVarAxiosParamCreator.borrower(asset, address, height, options);
334
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
377
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
335
378
  });
336
379
  },
337
380
  /**
@@ -344,7 +387,7 @@ const BorrowersApiFp = function (configuration) {
344
387
  borrowers(asset, height, options) {
345
388
  return __awaiter(this, void 0, void 0, function* () {
346
389
  const localVarAxiosArgs = yield localVarAxiosParamCreator.borrowers(asset, height, options);
347
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
390
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
348
391
  });
349
392
  },
350
393
  };
@@ -467,7 +510,7 @@ const CloutApiFp = function (configuration) {
467
510
  swapperClout(address, height, options) {
468
511
  return __awaiter(this, void 0, void 0, function* () {
469
512
  const localVarAxiosArgs = yield localVarAxiosParamCreator.swapperClout(address, height, options);
470
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
513
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
471
514
  });
472
515
  },
473
516
  };
@@ -557,7 +600,7 @@ const HealthApiFp = function (configuration) {
557
600
  ping(options) {
558
601
  return __awaiter(this, void 0, void 0, function* () {
559
602
  const localVarAxiosArgs = yield localVarAxiosParamCreator.ping(options);
560
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
603
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
561
604
  });
562
605
  },
563
606
  };
@@ -681,7 +724,7 @@ const InvariantsApiFp = function (configuration) {
681
724
  invariant(invariant, height, options) {
682
725
  return __awaiter(this, void 0, void 0, function* () {
683
726
  const localVarAxiosArgs = yield localVarAxiosParamCreator.invariant(invariant, height, options);
684
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
727
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
685
728
  });
686
729
  },
687
730
  /**
@@ -693,7 +736,7 @@ const InvariantsApiFp = function (configuration) {
693
736
  invariants(height, options) {
694
737
  return __awaiter(this, void 0, void 0, function* () {
695
738
  const localVarAxiosArgs = yield localVarAxiosParamCreator.invariants(height, options);
696
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
739
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
697
740
  });
698
741
  },
699
742
  };
@@ -849,7 +892,7 @@ const LiquidityProvidersApiFp = function (configuration) {
849
892
  liquidityProvider(asset, address, height, options) {
850
893
  return __awaiter(this, void 0, void 0, function* () {
851
894
  const localVarAxiosArgs = yield localVarAxiosParamCreator.liquidityProvider(asset, address, height, options);
852
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
895
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
853
896
  });
854
897
  },
855
898
  /**
@@ -862,7 +905,7 @@ const LiquidityProvidersApiFp = function (configuration) {
862
905
  liquidityProviders(asset, height, options) {
863
906
  return __awaiter(this, void 0, void 0, function* () {
864
907
  const localVarAxiosArgs = yield localVarAxiosParamCreator.liquidityProviders(asset, height, options);
865
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
908
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
866
909
  });
867
910
  },
868
911
  };
@@ -1100,7 +1143,7 @@ const MimirApiFp = function (configuration) {
1100
1143
  mimir(height, options) {
1101
1144
  return __awaiter(this, void 0, void 0, function* () {
1102
1145
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimir(height, options);
1103
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1146
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1104
1147
  });
1105
1148
  },
1106
1149
  /**
@@ -1112,7 +1155,7 @@ const MimirApiFp = function (configuration) {
1112
1155
  mimirAdmin(height, options) {
1113
1156
  return __awaiter(this, void 0, void 0, function* () {
1114
1157
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirAdmin(height, options);
1115
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1158
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1116
1159
  });
1117
1160
  },
1118
1161
  /**
@@ -1125,7 +1168,7 @@ const MimirApiFp = function (configuration) {
1125
1168
  mimirKey(key, height, options) {
1126
1169
  return __awaiter(this, void 0, void 0, function* () {
1127
1170
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirKey(key, height, options);
1128
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1171
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1129
1172
  });
1130
1173
  },
1131
1174
  /**
@@ -1138,7 +1181,7 @@ const MimirApiFp = function (configuration) {
1138
1181
  mimirNode(address, height, options) {
1139
1182
  return __awaiter(this, void 0, void 0, function* () {
1140
1183
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirNode(address, height, options);
1141
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1184
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1142
1185
  });
1143
1186
  },
1144
1187
  /**
@@ -1150,7 +1193,7 @@ const MimirApiFp = function (configuration) {
1150
1193
  mimirNodes(height, options) {
1151
1194
  return __awaiter(this, void 0, void 0, function* () {
1152
1195
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirNodes(height, options);
1153
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1196
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1154
1197
  });
1155
1198
  },
1156
1199
  };
@@ -1588,7 +1631,7 @@ const NetworkApiFp = function (configuration) {
1588
1631
  ban(address, height, options) {
1589
1632
  return __awaiter(this, void 0, void 0, function* () {
1590
1633
  const localVarAxiosArgs = yield localVarAxiosParamCreator.ban(address, height, options);
1591
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1634
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1592
1635
  });
1593
1636
  },
1594
1637
  /**
@@ -1600,7 +1643,7 @@ const NetworkApiFp = function (configuration) {
1600
1643
  constants(height, options) {
1601
1644
  return __awaiter(this, void 0, void 0, function* () {
1602
1645
  const localVarAxiosArgs = yield localVarAxiosParamCreator.constants(height, options);
1603
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1646
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1604
1647
  });
1605
1648
  },
1606
1649
  /**
@@ -1612,7 +1655,7 @@ const NetworkApiFp = function (configuration) {
1612
1655
  inboundAddresses(height, options) {
1613
1656
  return __awaiter(this, void 0, void 0, function* () {
1614
1657
  const localVarAxiosArgs = yield localVarAxiosParamCreator.inboundAddresses(height, options);
1615
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1658
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1616
1659
  });
1617
1660
  },
1618
1661
  /**
@@ -1624,7 +1667,7 @@ const NetworkApiFp = function (configuration) {
1624
1667
  lastblock(height, options) {
1625
1668
  return __awaiter(this, void 0, void 0, function* () {
1626
1669
  const localVarAxiosArgs = yield localVarAxiosParamCreator.lastblock(height, options);
1627
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1670
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1628
1671
  });
1629
1672
  },
1630
1673
  /**
@@ -1637,7 +1680,7 @@ const NetworkApiFp = function (configuration) {
1637
1680
  lastblockChain(chain, height, options) {
1638
1681
  return __awaiter(this, void 0, void 0, function* () {
1639
1682
  const localVarAxiosArgs = yield localVarAxiosParamCreator.lastblockChain(chain, height, options);
1640
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1683
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1641
1684
  });
1642
1685
  },
1643
1686
  /**
@@ -1649,7 +1692,7 @@ const NetworkApiFp = function (configuration) {
1649
1692
  network(height, options) {
1650
1693
  return __awaiter(this, void 0, void 0, function* () {
1651
1694
  const localVarAxiosArgs = yield localVarAxiosParamCreator.network(height, options);
1652
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1695
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1653
1696
  });
1654
1697
  },
1655
1698
  /**
@@ -1662,7 +1705,7 @@ const NetworkApiFp = function (configuration) {
1662
1705
  outboundFeeAsset(asset, height, options) {
1663
1706
  return __awaiter(this, void 0, void 0, function* () {
1664
1707
  const localVarAxiosArgs = yield localVarAxiosParamCreator.outboundFeeAsset(asset, height, options);
1665
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1708
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1666
1709
  });
1667
1710
  },
1668
1711
  /**
@@ -1674,7 +1717,7 @@ const NetworkApiFp = function (configuration) {
1674
1717
  outboundFees(height, options) {
1675
1718
  return __awaiter(this, void 0, void 0, function* () {
1676
1719
  const localVarAxiosArgs = yield localVarAxiosParamCreator.outboundFees(height, options);
1677
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1720
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1678
1721
  });
1679
1722
  },
1680
1723
  /**
@@ -1686,7 +1729,7 @@ const NetworkApiFp = function (configuration) {
1686
1729
  ragnarok(height, options) {
1687
1730
  return __awaiter(this, void 0, void 0, function* () {
1688
1731
  const localVarAxiosArgs = yield localVarAxiosParamCreator.ragnarok(height, options);
1689
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1732
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1690
1733
  });
1691
1734
  },
1692
1735
  /**
@@ -1698,7 +1741,7 @@ const NetworkApiFp = function (configuration) {
1698
1741
  version(height, options) {
1699
1742
  return __awaiter(this, void 0, void 0, function* () {
1700
1743
  const localVarAxiosArgs = yield localVarAxiosParamCreator.version(height, options);
1701
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1744
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
1702
1745
  });
1703
1746
  },
1704
1747
  };
@@ -2001,7 +2044,7 @@ const NodesApiFp = function (configuration) {
2001
2044
  node(address, height, options) {
2002
2045
  return __awaiter(this, void 0, void 0, function* () {
2003
2046
  const localVarAxiosArgs = yield localVarAxiosParamCreator.node(address, height, options);
2004
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2047
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2005
2048
  });
2006
2049
  },
2007
2050
  /**
@@ -2013,7 +2056,7 @@ const NodesApiFp = function (configuration) {
2013
2056
  nodes(height, options) {
2014
2057
  return __awaiter(this, void 0, void 0, function* () {
2015
2058
  const localVarAxiosArgs = yield localVarAxiosParamCreator.nodes(height, options);
2016
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2059
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2017
2060
  });
2018
2061
  },
2019
2062
  };
@@ -2160,7 +2203,7 @@ const PoolSlipApiFp = function (configuration) {
2160
2203
  poolslip(asset, height, options) {
2161
2204
  return __awaiter(this, void 0, void 0, function* () {
2162
2205
  const localVarAxiosArgs = yield localVarAxiosParamCreator.poolslip(asset, height, options);
2163
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2206
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2164
2207
  });
2165
2208
  },
2166
2209
  /**
@@ -2172,7 +2215,7 @@ const PoolSlipApiFp = function (configuration) {
2172
2215
  poolslips(height, options) {
2173
2216
  return __awaiter(this, void 0, void 0, function* () {
2174
2217
  const localVarAxiosArgs = yield localVarAxiosParamCreator.poolslips(height, options);
2175
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2218
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2176
2219
  });
2177
2220
  },
2178
2221
  };
@@ -2379,7 +2422,7 @@ const PoolsApiFp = function (configuration) {
2379
2422
  dpool(asset, height, options) {
2380
2423
  return __awaiter(this, void 0, void 0, function* () {
2381
2424
  const localVarAxiosArgs = yield localVarAxiosParamCreator.dpool(asset, height, options);
2382
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2425
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2383
2426
  });
2384
2427
  },
2385
2428
  /**
@@ -2391,7 +2434,7 @@ const PoolsApiFp = function (configuration) {
2391
2434
  dpools(height, options) {
2392
2435
  return __awaiter(this, void 0, void 0, function* () {
2393
2436
  const localVarAxiosArgs = yield localVarAxiosParamCreator.dpools(height, options);
2394
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2437
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2395
2438
  });
2396
2439
  },
2397
2440
  /**
@@ -2404,7 +2447,7 @@ const PoolsApiFp = function (configuration) {
2404
2447
  pool(asset, height, options) {
2405
2448
  return __awaiter(this, void 0, void 0, function* () {
2406
2449
  const localVarAxiosArgs = yield localVarAxiosParamCreator.pool(asset, height, options);
2407
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2450
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2408
2451
  });
2409
2452
  },
2410
2453
  /**
@@ -2416,7 +2459,7 @@ const PoolsApiFp = function (configuration) {
2416
2459
  pools(height, options) {
2417
2460
  return __awaiter(this, void 0, void 0, function* () {
2418
2461
  const localVarAxiosArgs = yield localVarAxiosParamCreator.pools(height, options);
2419
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2462
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2420
2463
  });
2421
2464
  },
2422
2465
  };
@@ -2654,7 +2697,7 @@ const QueueApiFp = function (configuration) {
2654
2697
  queue(height, options) {
2655
2698
  return __awaiter(this, void 0, void 0, function* () {
2656
2699
  const localVarAxiosArgs = yield localVarAxiosParamCreator.queue(height, options);
2657
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2700
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2658
2701
  });
2659
2702
  },
2660
2703
  /**
@@ -2666,7 +2709,7 @@ const QueueApiFp = function (configuration) {
2666
2709
  queueOutbound(height, options) {
2667
2710
  return __awaiter(this, void 0, void 0, function* () {
2668
2711
  const localVarAxiosArgs = yield localVarAxiosParamCreator.queueOutbound(height, options);
2669
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2712
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2670
2713
  });
2671
2714
  },
2672
2715
  /**
@@ -2678,7 +2721,7 @@ const QueueApiFp = function (configuration) {
2678
2721
  queueScheduled(height, options) {
2679
2722
  return __awaiter(this, void 0, void 0, function* () {
2680
2723
  const localVarAxiosArgs = yield localVarAxiosParamCreator.queueScheduled(height, options);
2681
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2724
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2682
2725
  });
2683
2726
  },
2684
2727
  /**
@@ -2690,7 +2733,7 @@ const QueueApiFp = function (configuration) {
2690
2733
  queueSwap(height, options) {
2691
2734
  return __awaiter(this, void 0, void 0, function* () {
2692
2735
  const localVarAxiosArgs = yield localVarAxiosParamCreator.queueSwap(height, options);
2693
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2736
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
2694
2737
  });
2695
2738
  },
2696
2739
  };
@@ -3065,7 +3108,7 @@ const QuoteApiFp = function (configuration) {
3065
3108
  quoteloanclose(height, fromAsset, repayBps, toAsset, loanOwner, minOut, options) {
3066
3109
  return __awaiter(this, void 0, void 0, function* () {
3067
3110
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanclose(height, fromAsset, repayBps, toAsset, loanOwner, minOut, options);
3068
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3111
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3069
3112
  });
3070
3113
  },
3071
3114
  /**
@@ -3084,7 +3127,7 @@ const QuoteApiFp = function (configuration) {
3084
3127
  quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options) {
3085
3128
  return __awaiter(this, void 0, void 0, function* () {
3086
3129
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options);
3087
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3130
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3088
3131
  });
3089
3132
  },
3090
3133
  /**
@@ -3098,7 +3141,7 @@ const QuoteApiFp = function (configuration) {
3098
3141
  quotesaverdeposit(height, asset, amount, options) {
3099
3142
  return __awaiter(this, void 0, void 0, function* () {
3100
3143
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quotesaverdeposit(height, asset, amount, options);
3101
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3144
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3102
3145
  });
3103
3146
  },
3104
3147
  /**
@@ -3113,7 +3156,7 @@ const QuoteApiFp = function (configuration) {
3113
3156
  quotesaverwithdraw(height, asset, address, withdrawBps, options) {
3114
3157
  return __awaiter(this, void 0, void 0, function* () {
3115
3158
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quotesaverwithdraw(height, asset, address, withdrawBps, options);
3116
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3159
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3117
3160
  });
3118
3161
  },
3119
3162
  /**
@@ -3135,7 +3178,7 @@ const QuoteApiFp = function (configuration) {
3135
3178
  quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options) {
3136
3179
  return __awaiter(this, void 0, void 0, function* () {
3137
3180
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options);
3138
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3181
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3139
3182
  });
3140
3183
  },
3141
3184
  };
@@ -3418,7 +3461,7 @@ const RUNEPoolApiFp = function (configuration) {
3418
3461
  runePool(height, options) {
3419
3462
  return __awaiter(this, void 0, void 0, function* () {
3420
3463
  const localVarAxiosArgs = yield localVarAxiosParamCreator.runePool(height, options);
3421
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3464
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3422
3465
  });
3423
3466
  },
3424
3467
  /**
@@ -3431,7 +3474,7 @@ const RUNEPoolApiFp = function (configuration) {
3431
3474
  runeProvider(address, height, options) {
3432
3475
  return __awaiter(this, void 0, void 0, function* () {
3433
3476
  const localVarAxiosArgs = yield localVarAxiosParamCreator.runeProvider(address, height, options);
3434
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3477
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3435
3478
  });
3436
3479
  },
3437
3480
  /**
@@ -3443,7 +3486,7 @@ const RUNEPoolApiFp = function (configuration) {
3443
3486
  runeProviders(height, options) {
3444
3487
  return __awaiter(this, void 0, void 0, function* () {
3445
3488
  const localVarAxiosArgs = yield localVarAxiosParamCreator.runeProviders(height, options);
3446
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3489
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3447
3490
  });
3448
3491
  },
3449
3492
  };
@@ -3618,7 +3661,7 @@ const SaversApiFp = function (configuration) {
3618
3661
  saver(asset, address, height, options) {
3619
3662
  return __awaiter(this, void 0, void 0, function* () {
3620
3663
  const localVarAxiosArgs = yield localVarAxiosParamCreator.saver(asset, address, height, options);
3621
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3664
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3622
3665
  });
3623
3666
  },
3624
3667
  /**
@@ -3631,7 +3674,7 @@ const SaversApiFp = function (configuration) {
3631
3674
  savers(asset, height, options) {
3632
3675
  return __awaiter(this, void 0, void 0, function* () {
3633
3676
  const localVarAxiosArgs = yield localVarAxiosParamCreator.savers(asset, height, options);
3634
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3677
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3635
3678
  });
3636
3679
  },
3637
3680
  };
@@ -3782,7 +3825,7 @@ const StreamingSwapApiFp = function (configuration) {
3782
3825
  streamSwap(hash, height, options) {
3783
3826
  return __awaiter(this, void 0, void 0, function* () {
3784
3827
  const localVarAxiosArgs = yield localVarAxiosParamCreator.streamSwap(hash, height, options);
3785
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3828
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3786
3829
  });
3787
3830
  },
3788
3831
  /**
@@ -3794,7 +3837,7 @@ const StreamingSwapApiFp = function (configuration) {
3794
3837
  streamSwaps(height, options) {
3795
3838
  return __awaiter(this, void 0, void 0, function* () {
3796
3839
  const localVarAxiosArgs = yield localVarAxiosParamCreator.streamSwaps(height, options);
3797
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3840
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3798
3841
  });
3799
3842
  },
3800
3843
  };
@@ -4033,7 +4076,7 @@ const TSSApiFp = function (configuration) {
4033
4076
  keygenPubkey(height, pubkey, options) {
4034
4077
  return __awaiter(this, void 0, void 0, function* () {
4035
4078
  const localVarAxiosArgs = yield localVarAxiosParamCreator.keygenPubkey(height, pubkey, options);
4036
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4079
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4037
4080
  });
4038
4081
  },
4039
4082
  /**
@@ -4045,7 +4088,7 @@ const TSSApiFp = function (configuration) {
4045
4088
  keysign(height, options) {
4046
4089
  return __awaiter(this, void 0, void 0, function* () {
4047
4090
  const localVarAxiosArgs = yield localVarAxiosParamCreator.keysign(height, options);
4048
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4091
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4049
4092
  });
4050
4093
  },
4051
4094
  /**
@@ -4058,7 +4101,7 @@ const TSSApiFp = function (configuration) {
4058
4101
  keysignPubkey(height, pubkey, options) {
4059
4102
  return __awaiter(this, void 0, void 0, function* () {
4060
4103
  const localVarAxiosArgs = yield localVarAxiosParamCreator.keysignPubkey(height, pubkey, options);
4061
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4104
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4062
4105
  });
4063
4106
  },
4064
4107
  /**
@@ -4070,7 +4113,7 @@ const TSSApiFp = function (configuration) {
4070
4113
  metrics(height, options) {
4071
4114
  return __awaiter(this, void 0, void 0, function* () {
4072
4115
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metrics(height, options);
4073
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4116
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4074
4117
  });
4075
4118
  },
4076
4119
  /**
@@ -4083,7 +4126,7 @@ const TSSApiFp = function (configuration) {
4083
4126
  metricsKeygen(pubkey, height, options) {
4084
4127
  return __awaiter(this, void 0, void 0, function* () {
4085
4128
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metricsKeygen(pubkey, height, options);
4086
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4129
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4087
4130
  });
4088
4131
  },
4089
4132
  };
@@ -4263,7 +4306,7 @@ const ThornamesApiFp = function (configuration) {
4263
4306
  thorname(name, height, options) {
4264
4307
  return __awaiter(this, void 0, void 0, function* () {
4265
4308
  const localVarAxiosArgs = yield localVarAxiosParamCreator.thorname(name, height, options);
4266
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4309
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4267
4310
  });
4268
4311
  },
4269
4312
  };
@@ -4363,7 +4406,7 @@ const TradeAccountApiFp = function (configuration) {
4363
4406
  tradeAccount(address, height, options) {
4364
4407
  return __awaiter(this, void 0, void 0, function* () {
4365
4408
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeAccount(address, height, options);
4366
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4409
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4367
4410
  });
4368
4411
  },
4369
4412
  };
@@ -4463,7 +4506,7 @@ const TradeAccountsApiFp = function (configuration) {
4463
4506
  tradeAccounts(asset, height, options) {
4464
4507
  return __awaiter(this, void 0, void 0, function* () {
4465
4508
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeAccounts(asset, height, options);
4466
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4509
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4467
4510
  });
4468
4511
  },
4469
4512
  };
@@ -4563,7 +4606,7 @@ const TradeUnitApiFp = function (configuration) {
4563
4606
  tradeUnit(asset, height, options) {
4564
4607
  return __awaiter(this, void 0, void 0, function* () {
4565
4608
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeUnit(asset, height, options);
4566
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4609
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4567
4610
  });
4568
4611
  },
4569
4612
  };
@@ -4658,7 +4701,7 @@ const TradeUnitsApiFp = function (configuration) {
4658
4701
  tradeUnits(height, options) {
4659
4702
  return __awaiter(this, void 0, void 0, function* () {
4660
4703
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeUnits(height, options);
4661
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4704
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4662
4705
  });
4663
4706
  },
4664
4707
  };
@@ -4884,7 +4927,7 @@ const TransactionsApiFp = function (configuration) {
4884
4927
  tx(hash, height, options) {
4885
4928
  return __awaiter(this, void 0, void 0, function* () {
4886
4929
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tx(hash, height, options);
4887
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4930
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4888
4931
  });
4889
4932
  },
4890
4933
  /**
@@ -4897,7 +4940,7 @@ const TransactionsApiFp = function (configuration) {
4897
4940
  txSigners(hash, height, options) {
4898
4941
  return __awaiter(this, void 0, void 0, function* () {
4899
4942
  const localVarAxiosArgs = yield localVarAxiosParamCreator.txSigners(hash, height, options);
4900
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4943
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4901
4944
  });
4902
4945
  },
4903
4946
  /**
@@ -4910,7 +4953,7 @@ const TransactionsApiFp = function (configuration) {
4910
4953
  txSignersOld(hash, height, options) {
4911
4954
  return __awaiter(this, void 0, void 0, function* () {
4912
4955
  const localVarAxiosArgs = yield localVarAxiosParamCreator.txSignersOld(hash, height, options);
4913
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4956
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4914
4957
  });
4915
4958
  },
4916
4959
  /**
@@ -4923,7 +4966,7 @@ const TransactionsApiFp = function (configuration) {
4923
4966
  txStages(hash, height, options) {
4924
4967
  return __awaiter(this, void 0, void 0, function* () {
4925
4968
  const localVarAxiosArgs = yield localVarAxiosParamCreator.txStages(hash, height, options);
4926
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4969
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4927
4970
  });
4928
4971
  },
4929
4972
  /**
@@ -4936,7 +4979,7 @@ const TransactionsApiFp = function (configuration) {
4936
4979
  txStatus(hash, height, options) {
4937
4980
  return __awaiter(this, void 0, void 0, function* () {
4938
4981
  const localVarAxiosArgs = yield localVarAxiosParamCreator.txStatus(hash, height, options);
4939
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4982
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4940
4983
  });
4941
4984
  },
4942
4985
  };
@@ -5203,7 +5246,7 @@ const VaultsApiFp = function (configuration) {
5203
5246
  asgard(height, options) {
5204
5247
  return __awaiter(this, void 0, void 0, function* () {
5205
5248
  const localVarAxiosArgs = yield localVarAxiosParamCreator.asgard(height, options);
5206
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
5249
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
5207
5250
  });
5208
5251
  },
5209
5252
  /**
@@ -5216,7 +5259,7 @@ const VaultsApiFp = function (configuration) {
5216
5259
  vault(pubkey, height, options) {
5217
5260
  return __awaiter(this, void 0, void 0, function* () {
5218
5261
  const localVarAxiosArgs = yield localVarAxiosParamCreator.vault(pubkey, height, options);
5219
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
5262
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
5220
5263
  });
5221
5264
  },
5222
5265
  /**
@@ -5228,7 +5271,7 @@ const VaultsApiFp = function (configuration) {
5228
5271
  vaultPubkeys(height, options) {
5229
5272
  return __awaiter(this, void 0, void 0, function* () {
5230
5273
  const localVarAxiosArgs = yield localVarAxiosParamCreator.vaultPubkeys(height, options);
5231
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
5274
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
5232
5275
  });
5233
5276
  },
5234
5277
  /**
@@ -5240,7 +5283,7 @@ const VaultsApiFp = function (configuration) {
5240
5283
  yggdrasil(height, options) {
5241
5284
  return __awaiter(this, void 0, void 0, function* () {
5242
5285
  const localVarAxiosArgs = yield localVarAxiosParamCreator.yggdrasil(height, options);
5243
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
5286
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
5244
5287
  });
5245
5288
  },
5246
5289
  };