@ember-finance/sdk 1.0.10 → 1.0.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.
Files changed (84) hide show
  1. package/dist/src/vaults/api/api.d.ts +2 -2
  2. package/dist/src/vaults/api/apis/accounts-api.d.ts +112 -89
  3. package/dist/src/vaults/api/apis/accounts-api.js +288 -82
  4. package/dist/src/vaults/api/apis/vaults-api.d.ts +17 -154
  5. package/dist/src/vaults/api/apis/vaults-api.js +220 -121
  6. package/dist/src/vaults/api/base.d.ts +2 -2
  7. package/dist/src/vaults/api/base.js +1 -2
  8. package/dist/src/vaults/api/common.d.ts +1 -1
  9. package/dist/src/vaults/api/common.js +17 -10
  10. package/dist/src/vaults/api/configuration.js +5 -4
  11. package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +5 -5
  12. package/dist/src/vaults/api/models/account-transaction.d.ts +11 -14
  13. package/dist/src/vaults/api/models/account-transaction.js +7 -12
  14. package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +23 -26
  15. package/dist/src/vaults/api/models/account-withdrawal-request.js +8 -13
  16. package/dist/src/vaults/api/models/apy-history.d.ts +4 -4
  17. package/dist/src/vaults/api/models/asset.d.ts +7 -7
  18. package/dist/src/vaults/api/models/borrowed.d.ts +5 -5
  19. package/dist/src/vaults/api/models/coin-price.d.ts +2 -2
  20. package/dist/src/vaults/api/models/deposit-transaction.d.ts +10 -10
  21. package/dist/src/vaults/api/models/exposure-coin.d.ts +4 -4
  22. package/dist/src/vaults/api/models/exposure-protocol.d.ts +13 -13
  23. package/dist/src/vaults/api/models/exposure.d.ts +5 -5
  24. package/dist/src/vaults/api/models/fee.d.ts +4 -4
  25. package/dist/src/vaults/api/models/history-interval.d.ts +7 -6
  26. package/dist/src/vaults/api/models/history-interval.js +6 -7
  27. package/dist/src/vaults/api/models/index.d.ts +62 -60
  28. package/dist/src/vaults/api/models/index.js +2 -0
  29. package/dist/src/vaults/api/models/lp.d.ts +13 -13
  30. package/dist/src/vaults/api/models/manager.d.ts +4 -4
  31. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +4 -4
  32. package/dist/src/vaults/api/models/perps.d.ts +3 -3
  33. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +6 -5
  34. package/dist/src/vaults/api/models/pnl-history-interval.js +5 -6
  35. package/dist/src/vaults/api/models/pnl-history.d.ts +3 -3
  36. package/dist/src/vaults/api/models/position-history-interval.d.ts +22 -0
  37. package/dist/src/vaults/api/models/position-history-interval.js +26 -0
  38. package/dist/src/vaults/api/models/position-history.d.ts +65 -0
  39. package/dist/src/vaults/api/models/position-history.js +20 -0
  40. package/dist/src/vaults/api/models/position-value.d.ts +17 -6
  41. package/dist/src/vaults/api/models/position-value.js +5 -0
  42. package/dist/src/vaults/api/models/position.d.ts +4 -4
  43. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +10 -10
  44. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +7 -7
  45. package/dist/src/vaults/api/models/protocol-info.d.ts +6 -6
  46. package/dist/src/vaults/api/models/protocol.d.ts +4 -4
  47. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +17 -17
  48. package/dist/src/vaults/api/models/raw-event.d.ts +25 -28
  49. package/dist/src/vaults/api/models/raw-event.js +19 -24
  50. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +8 -8
  51. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +10 -10
  52. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +8 -8
  53. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +8 -8
  54. package/dist/src/vaults/api/models/reported-apy.d.ts +2 -2
  55. package/dist/src/vaults/api/models/request-processed-event.d.ts +10 -10
  56. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +9 -9
  57. package/dist/src/vaults/api/models/reward-token.d.ts +5 -5
  58. package/dist/src/vaults/api/models/reward.d.ts +4 -4
  59. package/dist/src/vaults/api/models/share-price-history.d.ts +2 -2
  60. package/dist/src/vaults/api/models/strategy.d.ts +7 -7
  61. package/dist/src/vaults/api/models/sub-account.d.ts +3 -3
  62. package/dist/src/vaults/api/models/supplied.d.ts +5 -5
  63. package/dist/src/vaults/api/models/tvl-history.d.ts +2 -2
  64. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +6 -6
  65. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +6 -6
  66. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +4 -4
  67. package/dist/src/vaults/api/models/vault-created-event.d.ts +7 -7
  68. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +9 -9
  69. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +7 -7
  70. package/dist/src/vaults/api/models/vault-detail.d.ts +37 -40
  71. package/dist/src/vaults/api/models/vault-detail.js +6 -11
  72. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +4 -4
  73. package/dist/src/vaults/api/models/vault-info.d.ts +11 -11
  74. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +4 -4
  75. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +4 -4
  76. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +3 -3
  77. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +5 -5
  78. package/dist/src/vaults/api/models/vault-protocol.d.ts +4 -4
  79. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +4 -4
  80. package/dist/src/vaults/api/models/vault-slice.d.ts +5 -5
  81. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +6 -6
  82. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +7 -7
  83. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +10 -4
  84. package/package.json +1 -1
@@ -44,18 +44,22 @@ const VaultsApiAxiosParamCreator = function (configuration) {
44
44
  if (configuration) {
45
45
  baseOptions = configuration.baseOptions;
46
46
  }
47
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
47
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
48
48
  const localVarHeaderParameter = {};
49
49
  const localVarQueryParameter = {};
50
50
  if (coinTypes !== undefined) {
51
- localVarQueryParameter['coinTypes'] = coinTypes;
51
+ localVarQueryParameter["coinTypes"] = coinTypes;
52
52
  }
53
53
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
54
54
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
55
+ localVarRequestOptions.headers = {
56
+ ...localVarHeaderParameter,
57
+ ...headersFromBaseOptions,
58
+ ...options.headers
59
+ };
56
60
  return {
57
61
  url: (0, common_1.toPathString)(localVarUrlObj),
58
- options: localVarRequestOptions,
62
+ options: localVarRequestOptions
59
63
  };
60
64
  },
61
65
  /**
@@ -74,21 +78,25 @@ const VaultsApiAxiosParamCreator = function (configuration) {
74
78
  if (configuration) {
75
79
  baseOptions = configuration.baseOptions;
76
80
  }
77
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
81
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
78
82
  const localVarHeaderParameter = {};
79
83
  const localVarQueryParameter = {};
80
84
  if (limit !== undefined) {
81
- localVarQueryParameter['limit'] = limit;
85
+ localVarQueryParameter["limit"] = limit;
82
86
  }
83
87
  if (interval !== undefined) {
84
- localVarQueryParameter['interval'] = interval;
88
+ localVarQueryParameter["interval"] = interval;
85
89
  }
86
90
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
87
91
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
92
+ localVarRequestOptions.headers = {
93
+ ...localVarHeaderParameter,
94
+ ...headersFromBaseOptions,
95
+ ...options.headers
96
+ };
89
97
  return {
90
98
  url: (0, common_1.toPathString)(localVarUrlObj),
91
- options: localVarRequestOptions,
99
+ options: localVarRequestOptions
92
100
  };
93
101
  },
94
102
  /**
@@ -107,21 +115,25 @@ const VaultsApiAxiosParamCreator = function (configuration) {
107
115
  if (configuration) {
108
116
  baseOptions = configuration.baseOptions;
109
117
  }
110
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
118
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
111
119
  const localVarHeaderParameter = {};
112
120
  const localVarQueryParameter = {};
113
121
  if (limit !== undefined) {
114
- localVarQueryParameter['limit'] = limit;
122
+ localVarQueryParameter["limit"] = limit;
115
123
  }
116
124
  if (interval !== undefined) {
117
- localVarQueryParameter['interval'] = interval;
125
+ localVarQueryParameter["interval"] = interval;
118
126
  }
119
127
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
120
128
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
121
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
129
+ localVarRequestOptions.headers = {
130
+ ...localVarHeaderParameter,
131
+ ...headersFromBaseOptions,
132
+ ...options.headers
133
+ };
122
134
  return {
123
135
  url: (0, common_1.toPathString)(localVarUrlObj),
124
- options: localVarRequestOptions,
136
+ options: localVarRequestOptions
125
137
  };
126
138
  },
127
139
  /**
@@ -136,7 +148,7 @@ const VaultsApiAxiosParamCreator = function (configuration) {
136
148
  */
137
149
  getRawEvents: async (startTimeInMs, endTimeInMs, limit, page, options = {}) => {
138
150
  // verify required parameter 'startTimeInMs' is not null or undefined
139
- (0, common_1.assertParamExists)('getRawEvents', 'startTimeInMs', startTimeInMs);
151
+ (0, common_1.assertParamExists)("getRawEvents", "startTimeInMs", startTimeInMs);
140
152
  const localVarPath = `/api/v1/vaults/raw-events`;
141
153
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
142
154
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -144,27 +156,31 @@ const VaultsApiAxiosParamCreator = function (configuration) {
144
156
  if (configuration) {
145
157
  baseOptions = configuration.baseOptions;
146
158
  }
147
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
159
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
148
160
  const localVarHeaderParameter = {};
149
161
  const localVarQueryParameter = {};
150
162
  if (startTimeInMs !== undefined) {
151
- localVarQueryParameter['startTimeInMs'] = startTimeInMs;
163
+ localVarQueryParameter["startTimeInMs"] = startTimeInMs;
152
164
  }
153
165
  if (endTimeInMs !== undefined) {
154
- localVarQueryParameter['endTimeInMs'] = endTimeInMs;
166
+ localVarQueryParameter["endTimeInMs"] = endTimeInMs;
155
167
  }
156
168
  if (limit !== undefined) {
157
- localVarQueryParameter['limit'] = limit;
169
+ localVarQueryParameter["limit"] = limit;
158
170
  }
159
171
  if (page !== undefined) {
160
- localVarQueryParameter['page'] = page;
172
+ localVarQueryParameter["page"] = page;
161
173
  }
162
174
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
163
175
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
164
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
176
+ localVarRequestOptions.headers = {
177
+ ...localVarHeaderParameter,
178
+ ...headersFromBaseOptions,
179
+ ...options.headers
180
+ };
165
181
  return {
166
182
  url: (0, common_1.toPathString)(localVarUrlObj),
167
- options: localVarRequestOptions,
183
+ options: localVarRequestOptions
168
184
  };
169
185
  },
170
186
  /**
@@ -178,30 +194,33 @@ const VaultsApiAxiosParamCreator = function (configuration) {
178
194
  */
179
195
  getVaultApyHistory: async (vaultId, limit, interval, options = {}) => {
180
196
  // verify required parameter 'vaultId' is not null or undefined
181
- (0, common_1.assertParamExists)('getVaultApyHistory', 'vaultId', vaultId);
182
- const localVarPath = `/api/v1/vaults/apy-history/{vaultId}`
183
- .replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
197
+ (0, common_1.assertParamExists)("getVaultApyHistory", "vaultId", vaultId);
198
+ const localVarPath = `/api/v1/vaults/apy-history/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
184
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
185
200
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
186
201
  let baseOptions;
187
202
  if (configuration) {
188
203
  baseOptions = configuration.baseOptions;
189
204
  }
190
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
205
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
191
206
  const localVarHeaderParameter = {};
192
207
  const localVarQueryParameter = {};
193
208
  if (limit !== undefined) {
194
- localVarQueryParameter['limit'] = limit;
209
+ localVarQueryParameter["limit"] = limit;
195
210
  }
196
211
  if (interval !== undefined) {
197
- localVarQueryParameter['interval'] = interval;
212
+ localVarQueryParameter["interval"] = interval;
198
213
  }
199
214
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
200
215
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
201
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
216
+ localVarRequestOptions.headers = {
217
+ ...localVarHeaderParameter,
218
+ ...headersFromBaseOptions,
219
+ ...options.headers
220
+ };
202
221
  return {
203
222
  url: (0, common_1.toPathString)(localVarUrlObj),
204
- options: localVarRequestOptions,
223
+ options: localVarRequestOptions
205
224
  };
206
225
  },
207
226
  /**
@@ -213,24 +232,27 @@ const VaultsApiAxiosParamCreator = function (configuration) {
213
232
  */
214
233
  getVaultExposure: async (vaultId, options = {}) => {
215
234
  // verify required parameter 'vaultId' is not null or undefined
216
- (0, common_1.assertParamExists)('getVaultExposure', 'vaultId', vaultId);
217
- const localVarPath = `/api/v1/vaults/exposure/{vaultId}`
218
- .replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
235
+ (0, common_1.assertParamExists)("getVaultExposure", "vaultId", vaultId);
236
+ const localVarPath = `/api/v1/vaults/exposure/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
219
237
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
220
238
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
221
239
  let baseOptions;
222
240
  if (configuration) {
223
241
  baseOptions = configuration.baseOptions;
224
242
  }
225
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
243
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
226
244
  const localVarHeaderParameter = {};
227
245
  const localVarQueryParameter = {};
228
246
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
229
247
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
230
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
248
+ localVarRequestOptions.headers = {
249
+ ...localVarHeaderParameter,
250
+ ...headersFromBaseOptions,
251
+ ...options.headers
252
+ };
231
253
  return {
232
254
  url: (0, common_1.toPathString)(localVarUrlObj),
233
- options: localVarRequestOptions,
255
+ options: localVarRequestOptions
234
256
  };
235
257
  },
236
258
  /**
@@ -244,30 +266,33 @@ const VaultsApiAxiosParamCreator = function (configuration) {
244
266
  */
245
267
  getVaultPnlHistory: async (vaultId, limit, interval, options = {}) => {
246
268
  // verify required parameter 'vaultId' is not null or undefined
247
- (0, common_1.assertParamExists)('getVaultPnlHistory', 'vaultId', vaultId);
248
- const localVarPath = `/api/v1/vaults/pnl-history/{vaultId}`
249
- .replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
269
+ (0, common_1.assertParamExists)("getVaultPnlHistory", "vaultId", vaultId);
270
+ const localVarPath = `/api/v1/vaults/pnl-history/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
250
271
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
251
272
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
252
273
  let baseOptions;
253
274
  if (configuration) {
254
275
  baseOptions = configuration.baseOptions;
255
276
  }
256
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
277
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
257
278
  const localVarHeaderParameter = {};
258
279
  const localVarQueryParameter = {};
259
280
  if (limit !== undefined) {
260
- localVarQueryParameter['limit'] = limit;
281
+ localVarQueryParameter["limit"] = limit;
261
282
  }
262
283
  if (interval !== undefined) {
263
- localVarQueryParameter['interval'] = interval;
284
+ localVarQueryParameter["interval"] = interval;
264
285
  }
265
286
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
266
287
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
267
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
288
+ localVarRequestOptions.headers = {
289
+ ...localVarHeaderParameter,
290
+ ...headersFromBaseOptions,
291
+ ...options.headers
292
+ };
268
293
  return {
269
294
  url: (0, common_1.toPathString)(localVarUrlObj),
270
- options: localVarRequestOptions,
295
+ options: localVarRequestOptions
271
296
  };
272
297
  },
273
298
  /**
@@ -281,30 +306,33 @@ const VaultsApiAxiosParamCreator = function (configuration) {
281
306
  */
282
307
  getVaultSharePriceHistory: async (vaultId, limit, interval, options = {}) => {
283
308
  // verify required parameter 'vaultId' is not null or undefined
284
- (0, common_1.assertParamExists)('getVaultSharePriceHistory', 'vaultId', vaultId);
285
- const localVarPath = `/api/v1/vaults/share-price-history/{vaultId}`
286
- .replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
309
+ (0, common_1.assertParamExists)("getVaultSharePriceHistory", "vaultId", vaultId);
310
+ const localVarPath = `/api/v1/vaults/share-price-history/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
287
311
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
288
312
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
289
313
  let baseOptions;
290
314
  if (configuration) {
291
315
  baseOptions = configuration.baseOptions;
292
316
  }
293
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
317
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
294
318
  const localVarHeaderParameter = {};
295
319
  const localVarQueryParameter = {};
296
320
  if (limit !== undefined) {
297
- localVarQueryParameter['limit'] = limit;
321
+ localVarQueryParameter["limit"] = limit;
298
322
  }
299
323
  if (interval !== undefined) {
300
- localVarQueryParameter['interval'] = interval;
324
+ localVarQueryParameter["interval"] = interval;
301
325
  }
302
326
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
303
327
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
304
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
328
+ localVarRequestOptions.headers = {
329
+ ...localVarHeaderParameter,
330
+ ...headersFromBaseOptions,
331
+ ...options.headers
332
+ };
305
333
  return {
306
334
  url: (0, common_1.toPathString)(localVarUrlObj),
307
- options: localVarRequestOptions,
335
+ options: localVarRequestOptions
308
336
  };
309
337
  },
310
338
  /**
@@ -316,24 +344,27 @@ const VaultsApiAxiosParamCreator = function (configuration) {
316
344
  */
317
345
  getVaultStrategy: async (vaultId, options = {}) => {
318
346
  // verify required parameter 'vaultId' is not null or undefined
319
- (0, common_1.assertParamExists)('getVaultStrategy', 'vaultId', vaultId);
320
- const localVarPath = `/api/v1/vaults/strategy/{vaultId}`
321
- .replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
347
+ (0, common_1.assertParamExists)("getVaultStrategy", "vaultId", vaultId);
348
+ const localVarPath = `/api/v1/vaults/strategy/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
322
349
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
323
350
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
324
351
  let baseOptions;
325
352
  if (configuration) {
326
353
  baseOptions = configuration.baseOptions;
327
354
  }
328
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
355
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
329
356
  const localVarHeaderParameter = {};
330
357
  const localVarQueryParameter = {};
331
358
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
332
359
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
333
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
360
+ localVarRequestOptions.headers = {
361
+ ...localVarHeaderParameter,
362
+ ...headersFromBaseOptions,
363
+ ...options.headers
364
+ };
334
365
  return {
335
366
  url: (0, common_1.toPathString)(localVarUrlObj),
336
- options: localVarRequestOptions,
367
+ options: localVarRequestOptions
337
368
  };
338
369
  },
339
370
  /**
@@ -347,30 +378,33 @@ const VaultsApiAxiosParamCreator = function (configuration) {
347
378
  */
348
379
  getVaultTvlHistory: async (vaultId, limit, interval, options = {}) => {
349
380
  // verify required parameter 'vaultId' is not null or undefined
350
- (0, common_1.assertParamExists)('getVaultTvlHistory', 'vaultId', vaultId);
351
- const localVarPath = `/api/v1/vaults/tvl-history/{vaultId}`
352
- .replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
381
+ (0, common_1.assertParamExists)("getVaultTvlHistory", "vaultId", vaultId);
382
+ const localVarPath = `/api/v1/vaults/tvl-history/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
353
383
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
354
384
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
355
385
  let baseOptions;
356
386
  if (configuration) {
357
387
  baseOptions = configuration.baseOptions;
358
388
  }
359
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
389
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
360
390
  const localVarHeaderParameter = {};
361
391
  const localVarQueryParameter = {};
362
392
  if (limit !== undefined) {
363
- localVarQueryParameter['limit'] = limit;
393
+ localVarQueryParameter["limit"] = limit;
364
394
  }
365
395
  if (interval !== undefined) {
366
- localVarQueryParameter['interval'] = interval;
396
+ localVarQueryParameter["interval"] = interval;
367
397
  }
368
398
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
369
399
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
370
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
400
+ localVarRequestOptions.headers = {
401
+ ...localVarHeaderParameter,
402
+ ...headersFromBaseOptions,
403
+ ...options.headers
404
+ };
371
405
  return {
372
406
  url: (0, common_1.toPathString)(localVarUrlObj),
373
- options: localVarRequestOptions,
407
+ options: localVarRequestOptions
374
408
  };
375
409
  },
376
410
  /**
@@ -389,21 +423,25 @@ const VaultsApiAxiosParamCreator = function (configuration) {
389
423
  if (configuration) {
390
424
  baseOptions = configuration.baseOptions;
391
425
  }
392
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
426
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
393
427
  const localVarHeaderParameter = {};
394
428
  const localVarQueryParameter = {};
395
429
  if (vaultId !== undefined) {
396
- localVarQueryParameter['vaultId'] = vaultId;
430
+ localVarQueryParameter["vaultId"] = vaultId;
397
431
  }
398
432
  if (receiptCoinSymbol !== undefined) {
399
- localVarQueryParameter['receiptCoinSymbol'] = receiptCoinSymbol;
433
+ localVarQueryParameter["receiptCoinSymbol"] = receiptCoinSymbol;
400
434
  }
401
435
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
402
436
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
403
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
437
+ localVarRequestOptions.headers = {
438
+ ...localVarHeaderParameter,
439
+ ...headersFromBaseOptions,
440
+ ...options.headers
441
+ };
404
442
  return {
405
443
  url: (0, common_1.toPathString)(localVarUrlObj),
406
- options: localVarRequestOptions,
444
+ options: localVarRequestOptions
407
445
  };
408
446
  },
409
447
  /**
@@ -420,15 +458,19 @@ const VaultsApiAxiosParamCreator = function (configuration) {
420
458
  if (configuration) {
421
459
  baseOptions = configuration.baseOptions;
422
460
  }
423
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
461
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
424
462
  const localVarHeaderParameter = {};
425
463
  const localVarQueryParameter = {};
426
464
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
427
465
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
428
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
466
+ localVarRequestOptions.headers = {
467
+ ...localVarHeaderParameter,
468
+ ...headersFromBaseOptions,
469
+ ...options.headers
470
+ };
429
471
  return {
430
472
  url: (0, common_1.toPathString)(localVarUrlObj),
431
- options: localVarRequestOptions,
473
+ options: localVarRequestOptions
432
474
  };
433
475
  },
434
476
  /**
@@ -440,7 +482,7 @@ const VaultsApiAxiosParamCreator = function (configuration) {
440
482
  */
441
483
  updateVaultStrategy: async (updateVaultStrategies, options = {}) => {
442
484
  // verify required parameter 'updateVaultStrategies' is not null or undefined
443
- (0, common_1.assertParamExists)('updateVaultStrategy', 'updateVaultStrategies', updateVaultStrategies);
485
+ (0, common_1.assertParamExists)("updateVaultStrategy", "updateVaultStrategies", updateVaultStrategies);
444
486
  const localVarPath = `/api/v1/vaults/strategy`;
445
487
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
446
488
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -448,19 +490,23 @@ const VaultsApiAxiosParamCreator = function (configuration) {
448
490
  if (configuration) {
449
491
  baseOptions = configuration.baseOptions;
450
492
  }
451
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
493
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
452
494
  const localVarHeaderParameter = {};
453
495
  const localVarQueryParameter = {};
454
- localVarHeaderParameter['Content-Type'] = 'application/json';
496
+ localVarHeaderParameter["Content-Type"] = "application/json";
455
497
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
456
498
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
457
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
499
+ localVarRequestOptions.headers = {
500
+ ...localVarHeaderParameter,
501
+ ...headersFromBaseOptions,
502
+ ...options.headers
503
+ };
458
504
  localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateVaultStrategies, localVarRequestOptions, configuration);
459
505
  return {
460
506
  url: (0, common_1.toPathString)(localVarUrlObj),
461
- options: localVarRequestOptions,
507
+ options: localVarRequestOptions
462
508
  };
463
- },
509
+ }
464
510
  };
465
511
  };
466
512
  exports.VaultsApiAxiosParamCreator = VaultsApiAxiosParamCreator;
@@ -481,7 +527,7 @@ const VaultsApiFp = function (configuration) {
481
527
  async getCoinsPrice(coinTypes, options) {
482
528
  const localVarAxiosArgs = await localVarAxiosParamCreator.getCoinsPrice(coinTypes, options);
483
529
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
484
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getCoinsPrice']?.[localVarOperationServerIndex]?.url;
530
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getCoinsPrice"]?.[localVarOperationServerIndex]?.url;
485
531
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
486
532
  },
487
533
  /**
@@ -495,7 +541,7 @@ const VaultsApiFp = function (configuration) {
495
541
  async getProtocolPnlHistory(limit, interval, options) {
496
542
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProtocolPnlHistory(limit, interval, options);
497
543
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
498
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getProtocolPnlHistory']?.[localVarOperationServerIndex]?.url;
544
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getProtocolPnlHistory"]?.[localVarOperationServerIndex]?.url;
499
545
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
500
546
  },
501
547
  /**
@@ -509,7 +555,7 @@ const VaultsApiFp = function (configuration) {
509
555
  async getProtocolTvlHistory(limit, interval, options) {
510
556
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProtocolTvlHistory(limit, interval, options);
511
557
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
512
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getProtocolTvlHistory']?.[localVarOperationServerIndex]?.url;
558
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getProtocolTvlHistory"]?.[localVarOperationServerIndex]?.url;
513
559
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
514
560
  },
515
561
  /**
@@ -525,7 +571,7 @@ const VaultsApiFp = function (configuration) {
525
571
  async getRawEvents(startTimeInMs, endTimeInMs, limit, page, options) {
526
572
  const localVarAxiosArgs = await localVarAxiosParamCreator.getRawEvents(startTimeInMs, endTimeInMs, limit, page, options);
527
573
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
528
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getRawEvents']?.[localVarOperationServerIndex]?.url;
574
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getRawEvents"]?.[localVarOperationServerIndex]?.url;
529
575
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
530
576
  },
531
577
  /**
@@ -540,7 +586,7 @@ const VaultsApiFp = function (configuration) {
540
586
  async getVaultApyHistory(vaultId, limit, interval, options) {
541
587
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultApyHistory(vaultId, limit, interval, options);
542
588
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
543
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getVaultApyHistory']?.[localVarOperationServerIndex]?.url;
589
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultApyHistory"]?.[localVarOperationServerIndex]?.url;
544
590
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
545
591
  },
546
592
  /**
@@ -553,7 +599,7 @@ const VaultsApiFp = function (configuration) {
553
599
  async getVaultExposure(vaultId, options) {
554
600
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultExposure(vaultId, options);
555
601
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
556
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getVaultExposure']?.[localVarOperationServerIndex]?.url;
602
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultExposure"]?.[localVarOperationServerIndex]?.url;
557
603
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
558
604
  },
559
605
  /**
@@ -568,7 +614,7 @@ const VaultsApiFp = function (configuration) {
568
614
  async getVaultPnlHistory(vaultId, limit, interval, options) {
569
615
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultPnlHistory(vaultId, limit, interval, options);
570
616
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
571
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getVaultPnlHistory']?.[localVarOperationServerIndex]?.url;
617
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultPnlHistory"]?.[localVarOperationServerIndex]?.url;
572
618
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
573
619
  },
574
620
  /**
@@ -583,7 +629,7 @@ const VaultsApiFp = function (configuration) {
583
629
  async getVaultSharePriceHistory(vaultId, limit, interval, options) {
584
630
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultSharePriceHistory(vaultId, limit, interval, options);
585
631
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
586
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getVaultSharePriceHistory']?.[localVarOperationServerIndex]?.url;
632
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultSharePriceHistory"]?.[localVarOperationServerIndex]?.url;
587
633
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
588
634
  },
589
635
  /**
@@ -596,7 +642,7 @@ const VaultsApiFp = function (configuration) {
596
642
  async getVaultStrategy(vaultId, options) {
597
643
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultStrategy(vaultId, options);
598
644
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
599
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getVaultStrategy']?.[localVarOperationServerIndex]?.url;
645
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultStrategy"]?.[localVarOperationServerIndex]?.url;
600
646
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
601
647
  },
602
648
  /**
@@ -611,7 +657,7 @@ const VaultsApiFp = function (configuration) {
611
657
  async getVaultTvlHistory(vaultId, limit, interval, options) {
612
658
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultTvlHistory(vaultId, limit, interval, options);
613
659
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
614
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getVaultTvlHistory']?.[localVarOperationServerIndex]?.url;
660
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultTvlHistory"]?.[localVarOperationServerIndex]?.url;
615
661
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
616
662
  },
617
663
  /**
@@ -625,7 +671,8 @@ const VaultsApiFp = function (configuration) {
625
671
  async getVaults(vaultId, receiptCoinSymbol, options) {
626
672
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVaults(vaultId, receiptCoinSymbol, options);
627
673
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
628
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getVaults']?.[localVarOperationServerIndex]?.url;
674
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaults"]?.[localVarOperationServerIndex]
675
+ ?.url;
629
676
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
630
677
  },
631
678
  /**
@@ -637,7 +684,7 @@ const VaultsApiFp = function (configuration) {
637
684
  async getVaultsProtocolInfo(options) {
638
685
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultsProtocolInfo(options);
639
686
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
640
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.getVaultsProtocolInfo']?.[localVarOperationServerIndex]?.url;
687
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultsProtocolInfo"]?.[localVarOperationServerIndex]?.url;
641
688
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
642
689
  },
643
690
  /**
@@ -650,9 +697,9 @@ const VaultsApiFp = function (configuration) {
650
697
  async updateVaultStrategy(updateVaultStrategies, options) {
651
698
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateVaultStrategy(updateVaultStrategies, options);
652
699
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
653
- const localVarOperationServerBasePath = base_1.operationServerMap['VaultsApi.updateVaultStrategy']?.[localVarOperationServerIndex]?.url;
700
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.updateVaultStrategy"]?.[localVarOperationServerIndex]?.url;
654
701
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
655
- },
702
+ }
656
703
  };
657
704
  };
658
705
  exports.VaultsApiFp = VaultsApiFp;
@@ -671,7 +718,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
671
718
  * @throws {RequiredError}
672
719
  */
673
720
  getCoinsPrice(coinTypes, options) {
674
- return localVarFp.getCoinsPrice(coinTypes, options).then((request) => request(axios, basePath));
721
+ return localVarFp
722
+ .getCoinsPrice(coinTypes, options)
723
+ .then(request => request(axios, basePath));
675
724
  },
676
725
  /**
677
726
  *
@@ -682,7 +731,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
682
731
  * @throws {RequiredError}
683
732
  */
684
733
  getProtocolPnlHistory(limit, interval, options) {
685
- return localVarFp.getProtocolPnlHistory(limit, interval, options).then((request) => request(axios, basePath));
734
+ return localVarFp
735
+ .getProtocolPnlHistory(limit, interval, options)
736
+ .then(request => request(axios, basePath));
686
737
  },
687
738
  /**
688
739
  *
@@ -693,7 +744,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
693
744
  * @throws {RequiredError}
694
745
  */
695
746
  getProtocolTvlHistory(limit, interval, options) {
696
- return localVarFp.getProtocolTvlHistory(limit, interval, options).then((request) => request(axios, basePath));
747
+ return localVarFp
748
+ .getProtocolTvlHistory(limit, interval, options)
749
+ .then(request => request(axios, basePath));
697
750
  },
698
751
  /**
699
752
  *
@@ -706,7 +759,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
706
759
  * @throws {RequiredError}
707
760
  */
708
761
  getRawEvents(startTimeInMs, endTimeInMs, limit, page, options) {
709
- return localVarFp.getRawEvents(startTimeInMs, endTimeInMs, limit, page, options).then((request) => request(axios, basePath));
762
+ return localVarFp
763
+ .getRawEvents(startTimeInMs, endTimeInMs, limit, page, options)
764
+ .then(request => request(axios, basePath));
710
765
  },
711
766
  /**
712
767
  *
@@ -718,7 +773,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
718
773
  * @throws {RequiredError}
719
774
  */
720
775
  getVaultApyHistory(vaultId, limit, interval, options) {
721
- return localVarFp.getVaultApyHistory(vaultId, limit, interval, options).then((request) => request(axios, basePath));
776
+ return localVarFp
777
+ .getVaultApyHistory(vaultId, limit, interval, options)
778
+ .then(request => request(axios, basePath));
722
779
  },
723
780
  /**
724
781
  *
@@ -728,7 +785,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
728
785
  * @throws {RequiredError}
729
786
  */
730
787
  getVaultExposure(vaultId, options) {
731
- return localVarFp.getVaultExposure(vaultId, options).then((request) => request(axios, basePath));
788
+ return localVarFp
789
+ .getVaultExposure(vaultId, options)
790
+ .then(request => request(axios, basePath));
732
791
  },
733
792
  /**
734
793
  *
@@ -740,7 +799,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
740
799
  * @throws {RequiredError}
741
800
  */
742
801
  getVaultPnlHistory(vaultId, limit, interval, options) {
743
- return localVarFp.getVaultPnlHistory(vaultId, limit, interval, options).then((request) => request(axios, basePath));
802
+ return localVarFp
803
+ .getVaultPnlHistory(vaultId, limit, interval, options)
804
+ .then(request => request(axios, basePath));
744
805
  },
745
806
  /**
746
807
  *
@@ -752,7 +813,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
752
813
  * @throws {RequiredError}
753
814
  */
754
815
  getVaultSharePriceHistory(vaultId, limit, interval, options) {
755
- return localVarFp.getVaultSharePriceHistory(vaultId, limit, interval, options).then((request) => request(axios, basePath));
816
+ return localVarFp
817
+ .getVaultSharePriceHistory(vaultId, limit, interval, options)
818
+ .then(request => request(axios, basePath));
756
819
  },
757
820
  /**
758
821
  *
@@ -762,7 +825,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
762
825
  * @throws {RequiredError}
763
826
  */
764
827
  getVaultStrategy(vaultId, options) {
765
- return localVarFp.getVaultStrategy(vaultId, options).then((request) => request(axios, basePath));
828
+ return localVarFp
829
+ .getVaultStrategy(vaultId, options)
830
+ .then(request => request(axios, basePath));
766
831
  },
767
832
  /**
768
833
  *
@@ -774,7 +839,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
774
839
  * @throws {RequiredError}
775
840
  */
776
841
  getVaultTvlHistory(vaultId, limit, interval, options) {
777
- return localVarFp.getVaultTvlHistory(vaultId, limit, interval, options).then((request) => request(axios, basePath));
842
+ return localVarFp
843
+ .getVaultTvlHistory(vaultId, limit, interval, options)
844
+ .then(request => request(axios, basePath));
778
845
  },
779
846
  /**
780
847
  *
@@ -785,7 +852,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
785
852
  * @throws {RequiredError}
786
853
  */
787
854
  getVaults(vaultId, receiptCoinSymbol, options) {
788
- return localVarFp.getVaults(vaultId, receiptCoinSymbol, options).then((request) => request(axios, basePath));
855
+ return localVarFp
856
+ .getVaults(vaultId, receiptCoinSymbol, options)
857
+ .then(request => request(axios, basePath));
789
858
  },
790
859
  /**
791
860
  *
@@ -794,7 +863,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
794
863
  * @throws {RequiredError}
795
864
  */
796
865
  getVaultsProtocolInfo(options) {
797
- return localVarFp.getVaultsProtocolInfo(options).then((request) => request(axios, basePath));
866
+ return localVarFp
867
+ .getVaultsProtocolInfo(options)
868
+ .then(request => request(axios, basePath));
798
869
  },
799
870
  /**
800
871
  *
@@ -804,8 +875,10 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
804
875
  * @throws {RequiredError}
805
876
  */
806
877
  updateVaultStrategy(updateVaultStrategies, options) {
807
- return localVarFp.updateVaultStrategy(updateVaultStrategies, options).then((request) => request(axios, basePath));
808
- },
878
+ return localVarFp
879
+ .updateVaultStrategy(updateVaultStrategies, options)
880
+ .then(request => request(axios, basePath));
881
+ }
809
882
  };
810
883
  };
811
884
  exports.VaultsApiFactory = VaultsApiFactory;
@@ -825,7 +898,9 @@ class VaultsApi extends base_1.BaseAPI {
825
898
  * @memberof VaultsApi
826
899
  */
827
900
  getCoinsPrice(coinTypes, options) {
828
- return (0, exports.VaultsApiFp)(this.configuration).getCoinsPrice(coinTypes, options).then((request) => request(this.axios, this.basePath));
901
+ return (0, exports.VaultsApiFp)(this.configuration)
902
+ .getCoinsPrice(coinTypes, options)
903
+ .then(request => request(this.axios, this.basePath));
829
904
  }
830
905
  /**
831
906
  *
@@ -837,7 +912,9 @@ class VaultsApi extends base_1.BaseAPI {
837
912
  * @memberof VaultsApi
838
913
  */
839
914
  getProtocolPnlHistory(limit, interval, options) {
840
- return (0, exports.VaultsApiFp)(this.configuration).getProtocolPnlHistory(limit, interval, options).then((request) => request(this.axios, this.basePath));
915
+ return (0, exports.VaultsApiFp)(this.configuration)
916
+ .getProtocolPnlHistory(limit, interval, options)
917
+ .then(request => request(this.axios, this.basePath));
841
918
  }
842
919
  /**
843
920
  *
@@ -849,7 +926,9 @@ class VaultsApi extends base_1.BaseAPI {
849
926
  * @memberof VaultsApi
850
927
  */
851
928
  getProtocolTvlHistory(limit, interval, options) {
852
- return (0, exports.VaultsApiFp)(this.configuration).getProtocolTvlHistory(limit, interval, options).then((request) => request(this.axios, this.basePath));
929
+ return (0, exports.VaultsApiFp)(this.configuration)
930
+ .getProtocolTvlHistory(limit, interval, options)
931
+ .then(request => request(this.axios, this.basePath));
853
932
  }
854
933
  /**
855
934
  *
@@ -863,7 +942,9 @@ class VaultsApi extends base_1.BaseAPI {
863
942
  * @memberof VaultsApi
864
943
  */
865
944
  getRawEvents(startTimeInMs, endTimeInMs, limit, page, options) {
866
- return (0, exports.VaultsApiFp)(this.configuration).getRawEvents(startTimeInMs, endTimeInMs, limit, page, options).then((request) => request(this.axios, this.basePath));
945
+ return (0, exports.VaultsApiFp)(this.configuration)
946
+ .getRawEvents(startTimeInMs, endTimeInMs, limit, page, options)
947
+ .then(request => request(this.axios, this.basePath));
867
948
  }
868
949
  /**
869
950
  *
@@ -876,7 +957,9 @@ class VaultsApi extends base_1.BaseAPI {
876
957
  * @memberof VaultsApi
877
958
  */
878
959
  getVaultApyHistory(vaultId, limit, interval, options) {
879
- return (0, exports.VaultsApiFp)(this.configuration).getVaultApyHistory(vaultId, limit, interval, options).then((request) => request(this.axios, this.basePath));
960
+ return (0, exports.VaultsApiFp)(this.configuration)
961
+ .getVaultApyHistory(vaultId, limit, interval, options)
962
+ .then(request => request(this.axios, this.basePath));
880
963
  }
881
964
  /**
882
965
  *
@@ -887,7 +970,9 @@ class VaultsApi extends base_1.BaseAPI {
887
970
  * @memberof VaultsApi
888
971
  */
889
972
  getVaultExposure(vaultId, options) {
890
- return (0, exports.VaultsApiFp)(this.configuration).getVaultExposure(vaultId, options).then((request) => request(this.axios, this.basePath));
973
+ return (0, exports.VaultsApiFp)(this.configuration)
974
+ .getVaultExposure(vaultId, options)
975
+ .then(request => request(this.axios, this.basePath));
891
976
  }
892
977
  /**
893
978
  *
@@ -900,7 +985,9 @@ class VaultsApi extends base_1.BaseAPI {
900
985
  * @memberof VaultsApi
901
986
  */
902
987
  getVaultPnlHistory(vaultId, limit, interval, options) {
903
- return (0, exports.VaultsApiFp)(this.configuration).getVaultPnlHistory(vaultId, limit, interval, options).then((request) => request(this.axios, this.basePath));
988
+ return (0, exports.VaultsApiFp)(this.configuration)
989
+ .getVaultPnlHistory(vaultId, limit, interval, options)
990
+ .then(request => request(this.axios, this.basePath));
904
991
  }
905
992
  /**
906
993
  *
@@ -913,7 +1000,9 @@ class VaultsApi extends base_1.BaseAPI {
913
1000
  * @memberof VaultsApi
914
1001
  */
915
1002
  getVaultSharePriceHistory(vaultId, limit, interval, options) {
916
- return (0, exports.VaultsApiFp)(this.configuration).getVaultSharePriceHistory(vaultId, limit, interval, options).then((request) => request(this.axios, this.basePath));
1003
+ return (0, exports.VaultsApiFp)(this.configuration)
1004
+ .getVaultSharePriceHistory(vaultId, limit, interval, options)
1005
+ .then(request => request(this.axios, this.basePath));
917
1006
  }
918
1007
  /**
919
1008
  *
@@ -924,7 +1013,9 @@ class VaultsApi extends base_1.BaseAPI {
924
1013
  * @memberof VaultsApi
925
1014
  */
926
1015
  getVaultStrategy(vaultId, options) {
927
- return (0, exports.VaultsApiFp)(this.configuration).getVaultStrategy(vaultId, options).then((request) => request(this.axios, this.basePath));
1016
+ return (0, exports.VaultsApiFp)(this.configuration)
1017
+ .getVaultStrategy(vaultId, options)
1018
+ .then(request => request(this.axios, this.basePath));
928
1019
  }
929
1020
  /**
930
1021
  *
@@ -937,7 +1028,9 @@ class VaultsApi extends base_1.BaseAPI {
937
1028
  * @memberof VaultsApi
938
1029
  */
939
1030
  getVaultTvlHistory(vaultId, limit, interval, options) {
940
- return (0, exports.VaultsApiFp)(this.configuration).getVaultTvlHistory(vaultId, limit, interval, options).then((request) => request(this.axios, this.basePath));
1031
+ return (0, exports.VaultsApiFp)(this.configuration)
1032
+ .getVaultTvlHistory(vaultId, limit, interval, options)
1033
+ .then(request => request(this.axios, this.basePath));
941
1034
  }
942
1035
  /**
943
1036
  *
@@ -949,7 +1042,9 @@ class VaultsApi extends base_1.BaseAPI {
949
1042
  * @memberof VaultsApi
950
1043
  */
951
1044
  getVaults(vaultId, receiptCoinSymbol, options) {
952
- return (0, exports.VaultsApiFp)(this.configuration).getVaults(vaultId, receiptCoinSymbol, options).then((request) => request(this.axios, this.basePath));
1045
+ return (0, exports.VaultsApiFp)(this.configuration)
1046
+ .getVaults(vaultId, receiptCoinSymbol, options)
1047
+ .then(request => request(this.axios, this.basePath));
953
1048
  }
954
1049
  /**
955
1050
  *
@@ -959,7 +1054,9 @@ class VaultsApi extends base_1.BaseAPI {
959
1054
  * @memberof VaultsApi
960
1055
  */
961
1056
  getVaultsProtocolInfo(options) {
962
- return (0, exports.VaultsApiFp)(this.configuration).getVaultsProtocolInfo(options).then((request) => request(this.axios, this.basePath));
1057
+ return (0, exports.VaultsApiFp)(this.configuration)
1058
+ .getVaultsProtocolInfo(options)
1059
+ .then(request => request(this.axios, this.basePath));
963
1060
  }
964
1061
  /**
965
1062
  *
@@ -970,7 +1067,9 @@ class VaultsApi extends base_1.BaseAPI {
970
1067
  * @memberof VaultsApi
971
1068
  */
972
1069
  updateVaultStrategy(updateVaultStrategies, options) {
973
- return (0, exports.VaultsApiFp)(this.configuration).updateVaultStrategy(updateVaultStrategies, options).then((request) => request(this.axios, this.basePath));
1070
+ return (0, exports.VaultsApiFp)(this.configuration)
1071
+ .updateVaultStrategy(updateVaultStrategies, options)
1072
+ .then(request => request(this.axios, this.basePath));
974
1073
  }
975
1074
  }
976
1075
  exports.VaultsApi = VaultsApi;