@xchainjs/xchain-thornode 0.3.17 → 0.3.19

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
@@ -1082,62 +1082,6 @@ const MimirApiAxiosParamCreator = function (configuration) {
1082
1082
  options: localVarRequestOptions,
1083
1083
  };
1084
1084
  }),
1085
- /**
1086
- * Returns current mimir V2 configuration.
1087
- * @param {number} [height] optional block height, defaults to current tip
1088
- * @param {*} [options] Override http request option.
1089
- * @throws {RequiredError}
1090
- */
1091
- mimirV2: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
1092
- const localVarPath = `/thorchain/mimirV2`;
1093
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1094
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1095
- let baseOptions;
1096
- if (configuration) {
1097
- baseOptions = configuration.baseOptions;
1098
- }
1099
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1100
- const localVarHeaderParameter = {};
1101
- const localVarQueryParameter = {};
1102
- if (height !== undefined) {
1103
- localVarQueryParameter['height'] = height;
1104
- }
1105
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1106
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1107
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1108
- return {
1109
- url: toPathString(localVarUrlObj),
1110
- options: localVarRequestOptions,
1111
- };
1112
- }),
1113
- /**
1114
- * Returns mapping of mimir V2 IDs to name.
1115
- * @param {number} [height] optional block height, defaults to current tip
1116
- * @param {*} [options] Override http request option.
1117
- * @throws {RequiredError}
1118
- */
1119
- mimirV2IDs: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
1120
- const localVarPath = `/thorchain/mimirV2/ids`;
1121
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1122
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1123
- let baseOptions;
1124
- if (configuration) {
1125
- baseOptions = configuration.baseOptions;
1126
- }
1127
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1128
- const localVarHeaderParameter = {};
1129
- const localVarQueryParameter = {};
1130
- if (height !== undefined) {
1131
- localVarQueryParameter['height'] = height;
1132
- }
1133
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1134
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1135
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1136
- return {
1137
- url: toPathString(localVarUrlObj),
1138
- options: localVarRequestOptions,
1139
- };
1140
- }),
1141
1085
  };
1142
1086
  };
1143
1087
  /**
@@ -1209,30 +1153,6 @@ const MimirApiFp = function (configuration) {
1209
1153
  return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1210
1154
  });
1211
1155
  },
1212
- /**
1213
- * Returns current mimir V2 configuration.
1214
- * @param {number} [height] optional block height, defaults to current tip
1215
- * @param {*} [options] Override http request option.
1216
- * @throws {RequiredError}
1217
- */
1218
- mimirV2(height, options) {
1219
- return __awaiter(this, void 0, void 0, function* () {
1220
- const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirV2(height, options);
1221
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1222
- });
1223
- },
1224
- /**
1225
- * Returns mapping of mimir V2 IDs to name.
1226
- * @param {number} [height] optional block height, defaults to current tip
1227
- * @param {*} [options] Override http request option.
1228
- * @throws {RequiredError}
1229
- */
1230
- mimirV2IDs(height, options) {
1231
- return __awaiter(this, void 0, void 0, function* () {
1232
- const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirV2IDs(height, options);
1233
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1234
- });
1235
- },
1236
1156
  };
1237
1157
  };
1238
1158
  /**
@@ -1289,24 +1209,6 @@ const MimirApiFactory = function (configuration, basePath, axios) {
1289
1209
  mimirNodes(height, options) {
1290
1210
  return localVarFp.mimirNodes(height, options).then((request) => request(axios, basePath));
1291
1211
  },
1292
- /**
1293
- * Returns current mimir V2 configuration.
1294
- * @param {number} [height] optional block height, defaults to current tip
1295
- * @param {*} [options] Override http request option.
1296
- * @throws {RequiredError}
1297
- */
1298
- mimirV2(height, options) {
1299
- return localVarFp.mimirV2(height, options).then((request) => request(axios, basePath));
1300
- },
1301
- /**
1302
- * Returns mapping of mimir V2 IDs to name.
1303
- * @param {number} [height] optional block height, defaults to current tip
1304
- * @param {*} [options] Override http request option.
1305
- * @throws {RequiredError}
1306
- */
1307
- mimirV2IDs(height, options) {
1308
- return localVarFp.mimirV2IDs(height, options).then((request) => request(axios, basePath));
1309
- },
1310
1212
  };
1311
1213
  };
1312
1214
  /**
@@ -1368,26 +1270,6 @@ class MimirApi extends BaseAPI {
1368
1270
  mimirNodes(height, options) {
1369
1271
  return MimirApiFp(this.configuration).mimirNodes(height, options).then((request) => request(this.axios, this.basePath));
1370
1272
  }
1371
- /**
1372
- * Returns current mimir V2 configuration.
1373
- * @param {number} [height] optional block height, defaults to current tip
1374
- * @param {*} [options] Override http request option.
1375
- * @throws {RequiredError}
1376
- * @memberof MimirApi
1377
- */
1378
- mimirV2(height, options) {
1379
- return MimirApiFp(this.configuration).mimirV2(height, options).then((request) => request(this.axios, this.basePath));
1380
- }
1381
- /**
1382
- * Returns mapping of mimir V2 IDs to name.
1383
- * @param {number} [height] optional block height, defaults to current tip
1384
- * @param {*} [options] Override http request option.
1385
- * @throws {RequiredError}
1386
- * @memberof MimirApi
1387
- */
1388
- mimirV2IDs(height, options) {
1389
- return MimirApiFp(this.configuration).mimirV2IDs(height, options).then((request) => request(this.axios, this.basePath));
1390
- }
1391
1273
  }
1392
1274
  /**
1393
1275
  * NetworkApi - axios parameter creator
@@ -2193,99 +2075,6 @@ class NodesApi extends BaseAPI {
2193
2075
  return NodesApiFp(this.configuration).nodes(height, options).then((request) => request(this.axios, this.basePath));
2194
2076
  }
2195
2077
  }
2196
- /**
2197
- * POLApi - axios parameter creator
2198
- * @export
2199
- */
2200
- const POLApiAxiosParamCreator = function (configuration) {
2201
- return {
2202
- /**
2203
- * Returns protocol owned liquidity overview statistics.
2204
- * @param {number} [height] optional block height, defaults to current tip
2205
- * @param {*} [options] Override http request option.
2206
- * @throws {RequiredError}
2207
- */
2208
- pol: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
2209
- const localVarPath = `/thorchain/pol`;
2210
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2211
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2212
- let baseOptions;
2213
- if (configuration) {
2214
- baseOptions = configuration.baseOptions;
2215
- }
2216
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2217
- const localVarHeaderParameter = {};
2218
- const localVarQueryParameter = {};
2219
- if (height !== undefined) {
2220
- localVarQueryParameter['height'] = height;
2221
- }
2222
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2223
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2224
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2225
- return {
2226
- url: toPathString(localVarUrlObj),
2227
- options: localVarRequestOptions,
2228
- };
2229
- }),
2230
- };
2231
- };
2232
- /**
2233
- * POLApi - functional programming interface
2234
- * @export
2235
- */
2236
- const POLApiFp = function (configuration) {
2237
- const localVarAxiosParamCreator = POLApiAxiosParamCreator(configuration);
2238
- return {
2239
- /**
2240
- * Returns protocol owned liquidity overview statistics.
2241
- * @param {number} [height] optional block height, defaults to current tip
2242
- * @param {*} [options] Override http request option.
2243
- * @throws {RequiredError}
2244
- */
2245
- pol(height, options) {
2246
- return __awaiter(this, void 0, void 0, function* () {
2247
- const localVarAxiosArgs = yield localVarAxiosParamCreator.pol(height, options);
2248
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2249
- });
2250
- },
2251
- };
2252
- };
2253
- /**
2254
- * POLApi - factory interface
2255
- * @export
2256
- */
2257
- const POLApiFactory = function (configuration, basePath, axios) {
2258
- const localVarFp = POLApiFp(configuration);
2259
- return {
2260
- /**
2261
- * Returns protocol owned liquidity overview statistics.
2262
- * @param {number} [height] optional block height, defaults to current tip
2263
- * @param {*} [options] Override http request option.
2264
- * @throws {RequiredError}
2265
- */
2266
- pol(height, options) {
2267
- return localVarFp.pol(height, options).then((request) => request(axios, basePath));
2268
- },
2269
- };
2270
- };
2271
- /**
2272
- * POLApi - object-oriented interface
2273
- * @export
2274
- * @class POLApi
2275
- * @extends {BaseAPI}
2276
- */
2277
- class POLApi extends BaseAPI {
2278
- /**
2279
- * Returns protocol owned liquidity overview statistics.
2280
- * @param {number} [height] optional block height, defaults to current tip
2281
- * @param {*} [options] Override http request option.
2282
- * @throws {RequiredError}
2283
- * @memberof POLApi
2284
- */
2285
- pol(height, options) {
2286
- return POLApiFp(this.configuration).pol(height, options).then((request) => request(this.axios, this.basePath));
2287
- }
2288
- }
2289
2078
  /**
2290
2079
  * PoolSlipApi - axios parameter creator
2291
2080
  * @export
@@ -3517,6 +3306,224 @@ class QuoteApi extends BaseAPI {
3517
3306
  return QuoteApiFp(this.configuration).quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options).then((request) => request(this.axios, this.basePath));
3518
3307
  }
3519
3308
  }
3309
+ /**
3310
+ * RUNEPoolApi - axios parameter creator
3311
+ * @export
3312
+ */
3313
+ const RUNEPoolApiAxiosParamCreator = function (configuration) {
3314
+ return {
3315
+ /**
3316
+ * Returns the pool information for the RUNE pool.
3317
+ * @param {number} [height] optional block height, defaults to current tip
3318
+ * @param {*} [options] Override http request option.
3319
+ * @throws {RequiredError}
3320
+ */
3321
+ runePool: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
3322
+ const localVarPath = `/thorchain/runepool`;
3323
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3324
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3325
+ let baseOptions;
3326
+ if (configuration) {
3327
+ baseOptions = configuration.baseOptions;
3328
+ }
3329
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3330
+ const localVarHeaderParameter = {};
3331
+ const localVarQueryParameter = {};
3332
+ if (height !== undefined) {
3333
+ localVarQueryParameter['height'] = height;
3334
+ }
3335
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3336
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3337
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3338
+ return {
3339
+ url: toPathString(localVarUrlObj),
3340
+ options: localVarRequestOptions,
3341
+ };
3342
+ }),
3343
+ /**
3344
+ * Returns the RUNE Provider information for an address.
3345
+ * @param {string} address
3346
+ * @param {number} [height] optional block height, defaults to current tip
3347
+ * @param {*} [options] Override http request option.
3348
+ * @throws {RequiredError}
3349
+ */
3350
+ runeProvider: (address, height, options = {}) => __awaiter(this, void 0, void 0, function* () {
3351
+ // verify required parameter 'address' is not null or undefined
3352
+ assertParamExists('runeProvider', 'address', address);
3353
+ const localVarPath = `/thorchain/rune_provider/{address}`
3354
+ .replace(`{${"address"}}`, encodeURIComponent(String(address)));
3355
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3356
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3357
+ let baseOptions;
3358
+ if (configuration) {
3359
+ baseOptions = configuration.baseOptions;
3360
+ }
3361
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3362
+ const localVarHeaderParameter = {};
3363
+ const localVarQueryParameter = {};
3364
+ if (height !== undefined) {
3365
+ localVarQueryParameter['height'] = height;
3366
+ }
3367
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3368
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3369
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3370
+ return {
3371
+ url: toPathString(localVarUrlObj),
3372
+ options: localVarRequestOptions,
3373
+ };
3374
+ }),
3375
+ /**
3376
+ * Returns all RUNE Providers.
3377
+ * @param {number} [height] optional block height, defaults to current tip
3378
+ * @param {*} [options] Override http request option.
3379
+ * @throws {RequiredError}
3380
+ */
3381
+ runeProviders: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
3382
+ const localVarPath = `/thorchain/rune_providers`;
3383
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3384
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3385
+ let baseOptions;
3386
+ if (configuration) {
3387
+ baseOptions = configuration.baseOptions;
3388
+ }
3389
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3390
+ const localVarHeaderParameter = {};
3391
+ const localVarQueryParameter = {};
3392
+ if (height !== undefined) {
3393
+ localVarQueryParameter['height'] = height;
3394
+ }
3395
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3396
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3397
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3398
+ return {
3399
+ url: toPathString(localVarUrlObj),
3400
+ options: localVarRequestOptions,
3401
+ };
3402
+ }),
3403
+ };
3404
+ };
3405
+ /**
3406
+ * RUNEPoolApi - functional programming interface
3407
+ * @export
3408
+ */
3409
+ const RUNEPoolApiFp = function (configuration) {
3410
+ const localVarAxiosParamCreator = RUNEPoolApiAxiosParamCreator(configuration);
3411
+ return {
3412
+ /**
3413
+ * Returns the pool information for the RUNE pool.
3414
+ * @param {number} [height] optional block height, defaults to current tip
3415
+ * @param {*} [options] Override http request option.
3416
+ * @throws {RequiredError}
3417
+ */
3418
+ runePool(height, options) {
3419
+ return __awaiter(this, void 0, void 0, function* () {
3420
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.runePool(height, options);
3421
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3422
+ });
3423
+ },
3424
+ /**
3425
+ * Returns the RUNE Provider information for an address.
3426
+ * @param {string} address
3427
+ * @param {number} [height] optional block height, defaults to current tip
3428
+ * @param {*} [options] Override http request option.
3429
+ * @throws {RequiredError}
3430
+ */
3431
+ runeProvider(address, height, options) {
3432
+ return __awaiter(this, void 0, void 0, function* () {
3433
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.runeProvider(address, height, options);
3434
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3435
+ });
3436
+ },
3437
+ /**
3438
+ * Returns all RUNE Providers.
3439
+ * @param {number} [height] optional block height, defaults to current tip
3440
+ * @param {*} [options] Override http request option.
3441
+ * @throws {RequiredError}
3442
+ */
3443
+ runeProviders(height, options) {
3444
+ return __awaiter(this, void 0, void 0, function* () {
3445
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.runeProviders(height, options);
3446
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3447
+ });
3448
+ },
3449
+ };
3450
+ };
3451
+ /**
3452
+ * RUNEPoolApi - factory interface
3453
+ * @export
3454
+ */
3455
+ const RUNEPoolApiFactory = function (configuration, basePath, axios) {
3456
+ const localVarFp = RUNEPoolApiFp(configuration);
3457
+ return {
3458
+ /**
3459
+ * Returns the pool information for the RUNE pool.
3460
+ * @param {number} [height] optional block height, defaults to current tip
3461
+ * @param {*} [options] Override http request option.
3462
+ * @throws {RequiredError}
3463
+ */
3464
+ runePool(height, options) {
3465
+ return localVarFp.runePool(height, options).then((request) => request(axios, basePath));
3466
+ },
3467
+ /**
3468
+ * Returns the RUNE Provider information for an address.
3469
+ * @param {string} address
3470
+ * @param {number} [height] optional block height, defaults to current tip
3471
+ * @param {*} [options] Override http request option.
3472
+ * @throws {RequiredError}
3473
+ */
3474
+ runeProvider(address, height, options) {
3475
+ return localVarFp.runeProvider(address, height, options).then((request) => request(axios, basePath));
3476
+ },
3477
+ /**
3478
+ * Returns all RUNE Providers.
3479
+ * @param {number} [height] optional block height, defaults to current tip
3480
+ * @param {*} [options] Override http request option.
3481
+ * @throws {RequiredError}
3482
+ */
3483
+ runeProviders(height, options) {
3484
+ return localVarFp.runeProviders(height, options).then((request) => request(axios, basePath));
3485
+ },
3486
+ };
3487
+ };
3488
+ /**
3489
+ * RUNEPoolApi - object-oriented interface
3490
+ * @export
3491
+ * @class RUNEPoolApi
3492
+ * @extends {BaseAPI}
3493
+ */
3494
+ class RUNEPoolApi extends BaseAPI {
3495
+ /**
3496
+ * Returns the pool information for the RUNE pool.
3497
+ * @param {number} [height] optional block height, defaults to current tip
3498
+ * @param {*} [options] Override http request option.
3499
+ * @throws {RequiredError}
3500
+ * @memberof RUNEPoolApi
3501
+ */
3502
+ runePool(height, options) {
3503
+ return RUNEPoolApiFp(this.configuration).runePool(height, options).then((request) => request(this.axios, this.basePath));
3504
+ }
3505
+ /**
3506
+ * Returns the RUNE Provider information for an address.
3507
+ * @param {string} address
3508
+ * @param {number} [height] optional block height, defaults to current tip
3509
+ * @param {*} [options] Override http request option.
3510
+ * @throws {RequiredError}
3511
+ * @memberof RUNEPoolApi
3512
+ */
3513
+ runeProvider(address, height, options) {
3514
+ return RUNEPoolApiFp(this.configuration).runeProvider(address, height, options).then((request) => request(this.axios, this.basePath));
3515
+ }
3516
+ /**
3517
+ * Returns all RUNE Providers.
3518
+ * @param {number} [height] optional block height, defaults to current tip
3519
+ * @param {*} [options] Override http request option.
3520
+ * @throws {RequiredError}
3521
+ * @memberof RUNEPoolApi
3522
+ */
3523
+ runeProviders(height, options) {
3524
+ return RUNEPoolApiFp(this.configuration).runeProviders(height, options).then((request) => request(this.axios, this.basePath));
3525
+ }
3526
+ }
3520
3527
  /**
3521
3528
  * SaversApi - axios parameter creator
3522
3529
  * @export
@@ -5340,7 +5347,7 @@ class VaultsApi extends BaseAPI {
5340
5347
  * Thornode API
5341
5348
  * Thornode REST API.
5342
5349
  *
5343
- * The version of the OpenAPI document: 1.133.0
5350
+ * The version of the OpenAPI document: 1.134.0
5344
5351
  * Contact: devs@thorchain.org
5345
5352
  *
5346
5353
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5417,10 +5424,6 @@ exports.NodesApiAxiosParamCreator = NodesApiAxiosParamCreator;
5417
5424
  exports.NodesApiFactory = NodesApiFactory;
5418
5425
  exports.NodesApiFp = NodesApiFp;
5419
5426
  exports.ObservedTxStatusEnum = ObservedTxStatusEnum;
5420
- exports.POLApi = POLApi;
5421
- exports.POLApiAxiosParamCreator = POLApiAxiosParamCreator;
5422
- exports.POLApiFactory = POLApiFactory;
5423
- exports.POLApiFp = POLApiFp;
5424
5427
  exports.PoolSlipApi = PoolSlipApi;
5425
5428
  exports.PoolSlipApiAxiosParamCreator = PoolSlipApiAxiosParamCreator;
5426
5429
  exports.PoolSlipApiFactory = PoolSlipApiFactory;
@@ -5437,6 +5440,10 @@ exports.QuoteApi = QuoteApi;
5437
5440
  exports.QuoteApiAxiosParamCreator = QuoteApiAxiosParamCreator;
5438
5441
  exports.QuoteApiFactory = QuoteApiFactory;
5439
5442
  exports.QuoteApiFp = QuoteApiFp;
5443
+ exports.RUNEPoolApi = RUNEPoolApi;
5444
+ exports.RUNEPoolApiAxiosParamCreator = RUNEPoolApiAxiosParamCreator;
5445
+ exports.RUNEPoolApiFactory = RUNEPoolApiFactory;
5446
+ exports.RUNEPoolApiFp = RUNEPoolApiFp;
5440
5447
  exports.SaversApi = SaversApi;
5441
5448
  exports.SaversApiAxiosParamCreator = SaversApiAxiosParamCreator;
5442
5449
  exports.SaversApiFactory = SaversApiFactory;