@marqeta/ux-toolkit-sdk-javascript 1.2.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +125 -34
- package/dist/index.d.ts +125 -34
- package/dist/index.js +278 -57
- package/dist/index.mjs +255 -58
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -900,6 +900,9 @@ __export(src_exports, {
|
|
|
900
900
|
InitiateFunding: function() {
|
|
901
901
|
return InitiateFunding;
|
|
902
902
|
},
|
|
903
|
+
InterestTierResponseTypeEnum: function() {
|
|
904
|
+
return InterestTierResponseTypeEnum;
|
|
905
|
+
},
|
|
903
906
|
IsMockModeEnabled: function() {
|
|
904
907
|
return IsMockModeEnabled;
|
|
905
908
|
},
|
|
@@ -1083,6 +1086,9 @@ __export(src_exports, {
|
|
|
1083
1086
|
ReplaceCardByToken: function() {
|
|
1084
1087
|
return ReplaceCardByToken;
|
|
1085
1088
|
},
|
|
1089
|
+
ReplaceCardRequestReasonEnum: function() {
|
|
1090
|
+
return ReplaceCardRequestReasonEnum;
|
|
1091
|
+
},
|
|
1086
1092
|
RestAuthService: function() {
|
|
1087
1093
|
return RestAuthService;
|
|
1088
1094
|
},
|
|
@@ -1251,6 +1257,9 @@ __export(src_exports, {
|
|
|
1251
1257
|
TransactionDirection: function() {
|
|
1252
1258
|
return TransactionDirection;
|
|
1253
1259
|
},
|
|
1260
|
+
TransactionDisputeStatus: function() {
|
|
1261
|
+
return TransactionDisputeStatus;
|
|
1262
|
+
},
|
|
1254
1263
|
TransactionRecordStatus: function() {
|
|
1255
1264
|
return TransactionRecordStatus;
|
|
1256
1265
|
},
|
|
@@ -1422,6 +1431,12 @@ __export(src_exports, {
|
|
|
1422
1431
|
getOffers: function() {
|
|
1423
1432
|
return getOffers;
|
|
1424
1433
|
},
|
|
1434
|
+
getOutagesByToken: function() {
|
|
1435
|
+
return getOutagesByToken;
|
|
1436
|
+
},
|
|
1437
|
+
getOutagesList: function() {
|
|
1438
|
+
return getOutagesList;
|
|
1439
|
+
},
|
|
1425
1440
|
getSessionId: function() {
|
|
1426
1441
|
return getSessionId;
|
|
1427
1442
|
},
|
|
@@ -1677,6 +1692,9 @@ __export(src_exports, {
|
|
|
1677
1692
|
registerDeviceForPushNotifications: function() {
|
|
1678
1693
|
return registerDeviceForPushNotifications;
|
|
1679
1694
|
},
|
|
1695
|
+
replaceWlaCard: function() {
|
|
1696
|
+
return replaceWlaCard;
|
|
1697
|
+
},
|
|
1680
1698
|
sandbox: function() {
|
|
1681
1699
|
return sandbox_exports;
|
|
1682
1700
|
},
|
|
@@ -6399,54 +6417,41 @@ var _RestAuthService = /*#__PURE__*/ function() {
|
|
|
6399
6417
|
value: function getCardholderContext() {
|
|
6400
6418
|
var _this = this;
|
|
6401
6419
|
return _async_to_generator(function() {
|
|
6402
|
-
var cardholderContext,
|
|
6420
|
+
var cardholderContext, cuiApiBaseUrl, path, data, convertedData, error2;
|
|
6403
6421
|
return _ts_generator(this, function(_state) {
|
|
6404
6422
|
switch(_state.label){
|
|
6405
6423
|
case 0:
|
|
6406
6424
|
_state.trys.push([
|
|
6407
6425
|
0,
|
|
6408
|
-
|
|
6426
|
+
3,
|
|
6409
6427
|
,
|
|
6410
|
-
|
|
6428
|
+
4
|
|
6411
6429
|
]);
|
|
6412
6430
|
if (!!cardholderContext) return [
|
|
6413
6431
|
3,
|
|
6414
|
-
|
|
6432
|
+
2
|
|
6415
6433
|
];
|
|
6416
|
-
token = _this.cacheService.get("token");
|
|
6417
6434
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
6418
6435
|
path = "".concat(cuiApiBaseUrl, "/api/v1/auth/cardholder-context");
|
|
6419
6436
|
return [
|
|
6420
6437
|
4,
|
|
6421
|
-
|
|
6422
|
-
method: "GET",
|
|
6423
|
-
headers: {
|
|
6424
|
-
"Authorization": "Bearer ".concat(token),
|
|
6425
|
-
"Content-Type": "application/json"
|
|
6426
|
-
}
|
|
6427
|
-
})
|
|
6438
|
+
_this.authenticatedHttpClient.get(path)
|
|
6428
6439
|
];
|
|
6429
6440
|
case 1:
|
|
6430
|
-
response = _state.sent();
|
|
6431
|
-
return [
|
|
6432
|
-
4,
|
|
6433
|
-
response.json()
|
|
6434
|
-
];
|
|
6435
|
-
case 2:
|
|
6436
6441
|
data = _state.sent();
|
|
6437
6442
|
convertedData = convertObjKeysToLowerCamelCase(convertObjKeysToCamelCase(data === null || data === void 0 ? void 0 : data.data));
|
|
6438
6443
|
cardholderContext = new CardholderContextEntity(convertedData);
|
|
6439
6444
|
_this.cacheService.set("cardholderContext", cardholderContext);
|
|
6440
|
-
_state.label =
|
|
6441
|
-
case
|
|
6445
|
+
_state.label = 2;
|
|
6446
|
+
case 2:
|
|
6442
6447
|
return [
|
|
6443
6448
|
3,
|
|
6444
|
-
|
|
6449
|
+
4
|
|
6445
6450
|
];
|
|
6446
|
-
case
|
|
6451
|
+
case 3:
|
|
6447
6452
|
error2 = _state.sent();
|
|
6448
6453
|
throw new Error("Error during getCardholderContext ".concat(error2));
|
|
6449
|
-
case
|
|
6454
|
+
case 4:
|
|
6450
6455
|
return [
|
|
6451
6456
|
2,
|
|
6452
6457
|
new CardholderContextEntity(cardholderContext)
|
|
@@ -6461,53 +6466,40 @@ var _RestAuthService = /*#__PURE__*/ function() {
|
|
|
6461
6466
|
value: function getUserTokenHash() {
|
|
6462
6467
|
var _this = this;
|
|
6463
6468
|
return _async_to_generator(function() {
|
|
6464
|
-
var userTokenHash,
|
|
6469
|
+
var userTokenHash, cuiApiBaseUrl, path, data, error2;
|
|
6465
6470
|
return _ts_generator(this, function(_state) {
|
|
6466
6471
|
switch(_state.label){
|
|
6467
6472
|
case 0:
|
|
6468
6473
|
_state.trys.push([
|
|
6469
6474
|
0,
|
|
6470
|
-
|
|
6475
|
+
3,
|
|
6471
6476
|
,
|
|
6472
|
-
|
|
6477
|
+
4
|
|
6473
6478
|
]);
|
|
6474
6479
|
if (!!userTokenHash) return [
|
|
6475
6480
|
3,
|
|
6476
|
-
|
|
6481
|
+
2
|
|
6477
6482
|
];
|
|
6478
|
-
token = _this.cacheService.get("token");
|
|
6479
6483
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
6480
6484
|
path = "".concat(cuiApiBaseUrl, "/api/v1/auth/user-token-hash");
|
|
6481
6485
|
return [
|
|
6482
6486
|
4,
|
|
6483
|
-
|
|
6484
|
-
method: "GET",
|
|
6485
|
-
headers: {
|
|
6486
|
-
"Authorization": "Bearer ".concat(token),
|
|
6487
|
-
"Content-Type": "application/json"
|
|
6488
|
-
}
|
|
6489
|
-
})
|
|
6487
|
+
_this.authenticatedHttpClient.get(path)
|
|
6490
6488
|
];
|
|
6491
6489
|
case 1:
|
|
6492
|
-
response = _state.sent();
|
|
6493
|
-
return [
|
|
6494
|
-
4,
|
|
6495
|
-
response.json()
|
|
6496
|
-
];
|
|
6497
|
-
case 2:
|
|
6498
6490
|
data = _state.sent();
|
|
6499
6491
|
userTokenHash = data.user_token_hash;
|
|
6500
6492
|
_this.cacheService.set("userTokenHash", userTokenHash);
|
|
6501
|
-
_state.label =
|
|
6502
|
-
case
|
|
6493
|
+
_state.label = 2;
|
|
6494
|
+
case 2:
|
|
6503
6495
|
return [
|
|
6504
6496
|
3,
|
|
6505
|
-
|
|
6497
|
+
4
|
|
6506
6498
|
];
|
|
6507
|
-
case
|
|
6499
|
+
case 3:
|
|
6508
6500
|
error2 = _state.sent();
|
|
6509
6501
|
throw new Error("Error during getUserTokenHash ".concat(error2));
|
|
6510
|
-
case
|
|
6502
|
+
case 4:
|
|
6511
6503
|
return [
|
|
6512
6504
|
2,
|
|
6513
6505
|
userTokenHash
|
|
@@ -19196,6 +19188,11 @@ var AccountType;
|
|
|
19196
19188
|
AccountType2["CHECKING"] = "CHECKING";
|
|
19197
19189
|
AccountType2["SAVINGS"] = "SAVINGS";
|
|
19198
19190
|
})(AccountType || (AccountType = {}));
|
|
19191
|
+
var InterestTierResponseTypeEnum;
|
|
19192
|
+
(function(InterestTierResponseTypeEnum2) {
|
|
19193
|
+
InterestTierResponseTypeEnum2["Checking"] = "CHECKING";
|
|
19194
|
+
InterestTierResponseTypeEnum2["Savings"] = "SAVINGS";
|
|
19195
|
+
})(InterestTierResponseTypeEnum || (InterestTierResponseTypeEnum = {}));
|
|
19199
19196
|
// src/wla/base/types/AccountTransactions.ts
|
|
19200
19197
|
var TransactionDirection;
|
|
19201
19198
|
(function(TransactionDirection2) {
|
|
@@ -19331,6 +19328,11 @@ var BannerTypeEnum;
|
|
|
19331
19328
|
BannerTypeEnum2["Info"] = "INFO";
|
|
19332
19329
|
BannerTypeEnum2["Warning"] = "WARNING";
|
|
19333
19330
|
})(BannerTypeEnum || (BannerTypeEnum = {}));
|
|
19331
|
+
var TransactionDisputeStatus;
|
|
19332
|
+
(function(TransactionDisputeStatus2) {
|
|
19333
|
+
TransactionDisputeStatus2["InReview"] = "IN_REVIEW";
|
|
19334
|
+
TransactionDisputeStatus2["Completed"] = "COMPLETED";
|
|
19335
|
+
})(TransactionDisputeStatus || (TransactionDisputeStatus = {}));
|
|
19334
19336
|
var TransactionDetailResponseIconTypeEnum;
|
|
19335
19337
|
(function(TransactionDetailResponseIconTypeEnum2) {
|
|
19336
19338
|
TransactionDetailResponseIconTypeEnum2["Payout"] = "PAYOUT";
|
|
@@ -19427,6 +19429,13 @@ var AtmLocationSurchargeFreeAllianceNetworkEnum;
|
|
|
19427
19429
|
AtmLocationSurchargeFreeAllianceNetworkEnum2["MoneypassDebit"] = "MONEYPASS_DEBIT";
|
|
19428
19430
|
AtmLocationSurchargeFreeAllianceNetworkEnum2["AllSurchargeFree"] = "ALL_SURCHARGE_FREE";
|
|
19429
19431
|
})(AtmLocationSurchargeFreeAllianceNetworkEnum || (AtmLocationSurchargeFreeAllianceNetworkEnum = {}));
|
|
19432
|
+
// src/wla/base/types/ReplaceCard.ts
|
|
19433
|
+
var ReplaceCardRequestReasonEnum;
|
|
19434
|
+
(function(ReplaceCardRequestReasonEnum2) {
|
|
19435
|
+
ReplaceCardRequestReasonEnum2["Lost"] = "LOST";
|
|
19436
|
+
ReplaceCardRequestReasonEnum2["Stolen"] = "STOLEN";
|
|
19437
|
+
ReplaceCardRequestReasonEnum2["Damaged"] = "DAMAGED";
|
|
19438
|
+
})(ReplaceCardRequestReasonEnum || (ReplaceCardRequestReasonEnum = {}));
|
|
19430
19439
|
// src/wla/adapters/RestWlaService.ts
|
|
19431
19440
|
function _ts_decorate104(decorators, target, key, desc) {
|
|
19432
19441
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -20360,7 +20369,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
20360
20369
|
{
|
|
20361
20370
|
key: "getAccountDetails",
|
|
20362
20371
|
value: function getAccountDetails(accountToken) {
|
|
20363
|
-
var includeYtdInterest = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
20372
|
+
var includeYtdInterest = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false, includeInterestTiers = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
|
|
20364
20373
|
var _this = this;
|
|
20365
20374
|
return _async_to_generator(function() {
|
|
20366
20375
|
var cuiApiBaseUrl, queryParams, path, params, data, error2;
|
|
@@ -20376,7 +20385,8 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
20376
20385
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
20377
20386
|
queryParams = new URLSearchParams({
|
|
20378
20387
|
account_token: accountToken,
|
|
20379
|
-
include_ytd_interest: "".concat(includeYtdInterest)
|
|
20388
|
+
include_ytd_interest: "".concat(includeYtdInterest),
|
|
20389
|
+
include_interest_tier: "".concat(includeInterestTiers)
|
|
20380
20390
|
});
|
|
20381
20391
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/account?").concat(queryParams.toString());
|
|
20382
20392
|
params = {
|
|
@@ -20453,10 +20463,10 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
20453
20463
|
},
|
|
20454
20464
|
{
|
|
20455
20465
|
key: "searchAtms",
|
|
20456
|
-
value: function searchAtms(requestBody) {
|
|
20466
|
+
value: function searchAtms(requestBody, requestFilters) {
|
|
20457
20467
|
var _this = this;
|
|
20458
20468
|
return _async_to_generator(function() {
|
|
20459
|
-
var cuiApiBaseUrl, params, path, data, error2;
|
|
20469
|
+
var cuiApiBaseUrl, _ref, country_code, limit, offset, distance, distance_unit, queryParams, params, path, data, error2;
|
|
20460
20470
|
return _ts_generator(this, function(_state) {
|
|
20461
20471
|
switch(_state.label){
|
|
20462
20472
|
case 0:
|
|
@@ -20467,12 +20477,24 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
20467
20477
|
3
|
|
20468
20478
|
]);
|
|
20469
20479
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
20480
|
+
_ref = requestFilters || {}, country_code = _ref.country_code, limit = _ref.limit, offset = _ref.offset, distance = _ref.distance, distance_unit = _ref.distance_unit;
|
|
20481
|
+
queryParams = new URLSearchParams(_object_spread({}, country_code ? {
|
|
20482
|
+
country_code: "".concat(country_code)
|
|
20483
|
+
} : {}, limit ? {
|
|
20484
|
+
limit: "".concat(limit)
|
|
20485
|
+
} : {}, offset ? {
|
|
20486
|
+
offset: "".concat(offset)
|
|
20487
|
+
} : {}, distance ? {
|
|
20488
|
+
distance: "".concat(distance)
|
|
20489
|
+
} : {}, distance_unit ? {
|
|
20490
|
+
distance_unit: "".concat(distance_unit)
|
|
20491
|
+
} : {}));
|
|
20470
20492
|
params = {
|
|
20471
20493
|
method: "POST",
|
|
20472
20494
|
headers: _this.getCommonWlaApiHeaders(),
|
|
20473
20495
|
body: JSON.stringify(requestBody)
|
|
20474
20496
|
};
|
|
20475
|
-
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/atms/search");
|
|
20497
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/atms/search?").concat(queryParams.toString());
|
|
20476
20498
|
return [
|
|
20477
20499
|
4,
|
|
20478
20500
|
_this.httpClient.post(path, params)
|
|
@@ -20494,6 +20516,134 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
20494
20516
|
});
|
|
20495
20517
|
})();
|
|
20496
20518
|
}
|
|
20519
|
+
},
|
|
20520
|
+
{
|
|
20521
|
+
key: "replaceCard",
|
|
20522
|
+
value: function replaceCard(requestBody) {
|
|
20523
|
+
var _this = this;
|
|
20524
|
+
return _async_to_generator(function() {
|
|
20525
|
+
var cuiApiBaseUrl, params, path, data, error2;
|
|
20526
|
+
return _ts_generator(this, function(_state) {
|
|
20527
|
+
switch(_state.label){
|
|
20528
|
+
case 0:
|
|
20529
|
+
_state.trys.push([
|
|
20530
|
+
0,
|
|
20531
|
+
2,
|
|
20532
|
+
,
|
|
20533
|
+
3
|
|
20534
|
+
]);
|
|
20535
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
20536
|
+
params = {
|
|
20537
|
+
method: "POST",
|
|
20538
|
+
headers: _this.getCommonWlaApiHeaders(),
|
|
20539
|
+
body: JSON.stringify(requestBody)
|
|
20540
|
+
};
|
|
20541
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/card/replace");
|
|
20542
|
+
return [
|
|
20543
|
+
4,
|
|
20544
|
+
_this.httpClient.post(path, params)
|
|
20545
|
+
];
|
|
20546
|
+
case 1:
|
|
20547
|
+
data = _state.sent();
|
|
20548
|
+
return [
|
|
20549
|
+
2,
|
|
20550
|
+
data
|
|
20551
|
+
];
|
|
20552
|
+
case 2:
|
|
20553
|
+
error2 = _state.sent();
|
|
20554
|
+
throw new MqSDKError("Unable to place a card replacement request", error2);
|
|
20555
|
+
case 3:
|
|
20556
|
+
return [
|
|
20557
|
+
2
|
|
20558
|
+
];
|
|
20559
|
+
}
|
|
20560
|
+
});
|
|
20561
|
+
})();
|
|
20562
|
+
}
|
|
20563
|
+
},
|
|
20564
|
+
{
|
|
20565
|
+
key: "getOutageByToken",
|
|
20566
|
+
value: function getOutageByToken(token) {
|
|
20567
|
+
var devicePlatform = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "ANDROID";
|
|
20568
|
+
var _this = this;
|
|
20569
|
+
return _async_to_generator(function() {
|
|
20570
|
+
var cuiApiBaseUrl, path, params, error2;
|
|
20571
|
+
return _ts_generator(this, function(_state) {
|
|
20572
|
+
switch(_state.label){
|
|
20573
|
+
case 0:
|
|
20574
|
+
_state.trys.push([
|
|
20575
|
+
0,
|
|
20576
|
+
2,
|
|
20577
|
+
,
|
|
20578
|
+
3
|
|
20579
|
+
]);
|
|
20580
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
20581
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages/").concat(token, "?device_platform=").concat(devicePlatform);
|
|
20582
|
+
params = {
|
|
20583
|
+
headers: _this.getCommonWlaApiHeaders()
|
|
20584
|
+
};
|
|
20585
|
+
return [
|
|
20586
|
+
4,
|
|
20587
|
+
_this.httpClient.get(path, params)
|
|
20588
|
+
];
|
|
20589
|
+
case 1:
|
|
20590
|
+
return [
|
|
20591
|
+
2,
|
|
20592
|
+
_state.sent()
|
|
20593
|
+
];
|
|
20594
|
+
case 2:
|
|
20595
|
+
error2 = _state.sent();
|
|
20596
|
+
throw new MqSDKError("Unable to get Outages for the token provided", error2);
|
|
20597
|
+
case 3:
|
|
20598
|
+
return [
|
|
20599
|
+
2
|
|
20600
|
+
];
|
|
20601
|
+
}
|
|
20602
|
+
});
|
|
20603
|
+
})();
|
|
20604
|
+
}
|
|
20605
|
+
},
|
|
20606
|
+
{
|
|
20607
|
+
key: "getOutagesList",
|
|
20608
|
+
value: function getOutagesList() {
|
|
20609
|
+
var devicePlatform = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "ANDROID";
|
|
20610
|
+
var _this = this;
|
|
20611
|
+
return _async_to_generator(function() {
|
|
20612
|
+
var cuiApiBaseUrl, path, params, error2;
|
|
20613
|
+
return _ts_generator(this, function(_state) {
|
|
20614
|
+
switch(_state.label){
|
|
20615
|
+
case 0:
|
|
20616
|
+
_state.trys.push([
|
|
20617
|
+
0,
|
|
20618
|
+
2,
|
|
20619
|
+
,
|
|
20620
|
+
3
|
|
20621
|
+
]);
|
|
20622
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
20623
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages?device_platform=").concat(devicePlatform);
|
|
20624
|
+
params = {
|
|
20625
|
+
headers: _this.getCommonWlaApiHeaders()
|
|
20626
|
+
};
|
|
20627
|
+
return [
|
|
20628
|
+
4,
|
|
20629
|
+
_this.httpClient.get(path, params)
|
|
20630
|
+
];
|
|
20631
|
+
case 1:
|
|
20632
|
+
return [
|
|
20633
|
+
2,
|
|
20634
|
+
_state.sent()
|
|
20635
|
+
];
|
|
20636
|
+
case 2:
|
|
20637
|
+
error2 = _state.sent();
|
|
20638
|
+
throw new MqSDKError("Unable to get Outages", error2);
|
|
20639
|
+
case 3:
|
|
20640
|
+
return [
|
|
20641
|
+
2
|
|
20642
|
+
];
|
|
20643
|
+
}
|
|
20644
|
+
});
|
|
20645
|
+
})();
|
|
20646
|
+
}
|
|
20497
20647
|
}
|
|
20498
20648
|
]);
|
|
20499
20649
|
return _RestWlaService;
|
|
@@ -20780,19 +20930,19 @@ function _getOffers() {
|
|
|
20780
20930
|
return _getOffers.apply(this, arguments);
|
|
20781
20931
|
}
|
|
20782
20932
|
__name(getOffers, "getOffers");
|
|
20783
|
-
function getWlaAccountDetails(accountToken, includeYtdInterest) {
|
|
20933
|
+
function getWlaAccountDetails(accountToken, includeYtdInterest, includeInterestTiers) {
|
|
20784
20934
|
return _getWlaAccountDetails.apply(this, arguments);
|
|
20785
20935
|
}
|
|
20786
20936
|
function _getWlaAccountDetails() {
|
|
20787
20937
|
_getWlaAccountDetails = // src/wla/base/interactors/getWlaAccountDetails.ts
|
|
20788
|
-
_async_to_generator(function(accountToken, includeYtdInterest) {
|
|
20938
|
+
_async_to_generator(function(accountToken, includeYtdInterest, includeInterestTiers) {
|
|
20789
20939
|
var container2, wlaService;
|
|
20790
20940
|
return _ts_generator(this, function(_state) {
|
|
20791
20941
|
container2 = getActiveIocContainer();
|
|
20792
20942
|
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
20793
20943
|
return [
|
|
20794
20944
|
2,
|
|
20795
|
-
wlaService.getAccountDetails(accountToken, includeYtdInterest)
|
|
20945
|
+
wlaService.getAccountDetails(accountToken, includeYtdInterest, includeInterestTiers)
|
|
20796
20946
|
];
|
|
20797
20947
|
});
|
|
20798
20948
|
});
|
|
@@ -21106,12 +21256,12 @@ function _verifyExternalAccount() {
|
|
|
21106
21256
|
return _verifyExternalAccount.apply(this, arguments);
|
|
21107
21257
|
}
|
|
21108
21258
|
__name(verifyExternalAccount, "verifyExternalAccount");
|
|
21109
|
-
function searchAtms(requestBody) {
|
|
21259
|
+
function searchAtms(requestBody, requestFilters) {
|
|
21110
21260
|
return _searchAtms.apply(this, arguments);
|
|
21111
21261
|
}
|
|
21112
21262
|
function _searchAtms() {
|
|
21113
21263
|
_searchAtms = // src/wla/base/interactors/searchAtms.ts
|
|
21114
|
-
_async_to_generator(function(requestBody) {
|
|
21264
|
+
_async_to_generator(function(requestBody, requestFilters) {
|
|
21115
21265
|
var container2, wlaService;
|
|
21116
21266
|
return _ts_generator(this, function(_state) {
|
|
21117
21267
|
switch(_state.label){
|
|
@@ -21120,7 +21270,7 @@ function _searchAtms() {
|
|
|
21120
21270
|
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
21121
21271
|
return [
|
|
21122
21272
|
4,
|
|
21123
|
-
wlaService.searchAtms(requestBody)
|
|
21273
|
+
wlaService.searchAtms(requestBody, requestFilters)
|
|
21124
21274
|
];
|
|
21125
21275
|
case 1:
|
|
21126
21276
|
return [
|
|
@@ -21133,6 +21283,71 @@ function _searchAtms() {
|
|
|
21133
21283
|
return _searchAtms.apply(this, arguments);
|
|
21134
21284
|
}
|
|
21135
21285
|
__name(searchAtms, "searchAtms");
|
|
21286
|
+
function replaceWlaCard(requestBody) {
|
|
21287
|
+
return _replaceWlaCard.apply(this, arguments);
|
|
21288
|
+
}
|
|
21289
|
+
function _replaceWlaCard() {
|
|
21290
|
+
_replaceWlaCard = // src/wla/base/interactors/replaceWlaCard.ts
|
|
21291
|
+
_async_to_generator(function(requestBody) {
|
|
21292
|
+
var container2, wlaService;
|
|
21293
|
+
return _ts_generator(this, function(_state) {
|
|
21294
|
+
switch(_state.label){
|
|
21295
|
+
case 0:
|
|
21296
|
+
container2 = getActiveIocContainer();
|
|
21297
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
21298
|
+
return [
|
|
21299
|
+
4,
|
|
21300
|
+
wlaService.replaceCard(requestBody)
|
|
21301
|
+
];
|
|
21302
|
+
case 1:
|
|
21303
|
+
return [
|
|
21304
|
+
2,
|
|
21305
|
+
_state.sent()
|
|
21306
|
+
];
|
|
21307
|
+
}
|
|
21308
|
+
});
|
|
21309
|
+
});
|
|
21310
|
+
return _replaceWlaCard.apply(this, arguments);
|
|
21311
|
+
}
|
|
21312
|
+
__name(replaceWlaCard, "replaceWlaCard");
|
|
21313
|
+
function getOutagesList(devicePlatform) {
|
|
21314
|
+
return _getOutagesList.apply(this, arguments);
|
|
21315
|
+
}
|
|
21316
|
+
function _getOutagesList() {
|
|
21317
|
+
_getOutagesList = // src/wla/base/interactors/getOutagesList.ts
|
|
21318
|
+
_async_to_generator(function(devicePlatform) {
|
|
21319
|
+
var container2, wlaService;
|
|
21320
|
+
return _ts_generator(this, function(_state) {
|
|
21321
|
+
container2 = getActiveIocContainer();
|
|
21322
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
21323
|
+
return [
|
|
21324
|
+
2,
|
|
21325
|
+
wlaService.getOutagesList(devicePlatform)
|
|
21326
|
+
];
|
|
21327
|
+
});
|
|
21328
|
+
});
|
|
21329
|
+
return _getOutagesList.apply(this, arguments);
|
|
21330
|
+
}
|
|
21331
|
+
__name(getOutagesList, "getOutagesList");
|
|
21332
|
+
function getOutagesByToken(outageToken, devicePlatform) {
|
|
21333
|
+
return _getOutagesByToken.apply(this, arguments);
|
|
21334
|
+
}
|
|
21335
|
+
function _getOutagesByToken() {
|
|
21336
|
+
_getOutagesByToken = // src/wla/base/interactors/getOutagesByToken.ts
|
|
21337
|
+
_async_to_generator(function(outageToken, devicePlatform) {
|
|
21338
|
+
var container2, wlaService;
|
|
21339
|
+
return _ts_generator(this, function(_state) {
|
|
21340
|
+
container2 = getActiveIocContainer();
|
|
21341
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
21342
|
+
return [
|
|
21343
|
+
2,
|
|
21344
|
+
wlaService.getOutageByToken(outageToken, devicePlatform)
|
|
21345
|
+
];
|
|
21346
|
+
});
|
|
21347
|
+
});
|
|
21348
|
+
return _getOutagesByToken.apply(this, arguments);
|
|
21349
|
+
}
|
|
21350
|
+
__name(getOutagesByToken, "getOutagesByToken");
|
|
21136
21351
|
// src/wla/ioc/WlaIocModule.ts
|
|
21137
21352
|
var import_inversify134 = require("inversify");
|
|
21138
21353
|
var WlaIocModule = new import_inversify134.ContainerModule(function(bind) {
|
|
@@ -21638,6 +21853,7 @@ setActiveIocContainer(container);
|
|
|
21638
21853
|
ITF_USERS: ITF_USERS,
|
|
21639
21854
|
ITF_WLA_SERVICE: ITF_WLA_SERVICE,
|
|
21640
21855
|
InitiateFunding: InitiateFunding,
|
|
21856
|
+
InterestTierResponseTypeEnum: InterestTierResponseTypeEnum,
|
|
21641
21857
|
IsMockModeEnabled: IsMockModeEnabled,
|
|
21642
21858
|
KycVerificationRequestIdentifierTypeEnum: KycVerificationRequestIdentifierTypeEnum,
|
|
21643
21859
|
LIST_OF_ENABLED_COMPONENTS: LIST_OF_ENABLED_COMPONENTS,
|
|
@@ -21699,6 +21915,7 @@ setActiveIocContainer(container);
|
|
|
21699
21915
|
RegisterCleanupHandler: RegisterCleanupHandler,
|
|
21700
21916
|
RemoveSourceCard: RemoveSourceCard,
|
|
21701
21917
|
ReplaceCardByToken: ReplaceCardByToken,
|
|
21918
|
+
ReplaceCardRequestReasonEnum: ReplaceCardRequestReasonEnum,
|
|
21702
21919
|
RestAuthService: RestAuthService,
|
|
21703
21920
|
RestComponentsRepository: RestComponentsRepository,
|
|
21704
21921
|
RestKycRepository: RestKycRepository,
|
|
@@ -21755,6 +21972,7 @@ setActiveIocContainer(container);
|
|
|
21755
21972
|
TransactionDetailResponseIconTypeEnum: TransactionDetailResponseIconTypeEnum,
|
|
21756
21973
|
TransactionDetailsBannerType: TransactionDetailsBannerType,
|
|
21757
21974
|
TransactionDirection: TransactionDirection,
|
|
21975
|
+
TransactionDisputeStatus: TransactionDisputeStatus,
|
|
21758
21976
|
TransactionRecordStatus: TransactionRecordStatus,
|
|
21759
21977
|
TransactionStatus: TransactionStatus,
|
|
21760
21978
|
TransactionType: TransactionType,
|
|
@@ -21812,6 +22030,8 @@ setActiveIocContainer(container);
|
|
|
21812
22030
|
getMockUserRequestToCreateResponse: getMockUserRequestToCreateResponse,
|
|
21813
22031
|
getOfferDetails: getOfferDetails,
|
|
21814
22032
|
getOffers: getOffers,
|
|
22033
|
+
getOutagesByToken: getOutagesByToken,
|
|
22034
|
+
getOutagesList: getOutagesList,
|
|
21815
22035
|
getSessionId: getSessionId,
|
|
21816
22036
|
getSsoAccessTokenHandler: getSsoAccessTokenHandler,
|
|
21817
22037
|
getUserProgram: getUserProgram,
|
|
@@ -21897,6 +22117,7 @@ setActiveIocContainer(container);
|
|
|
21897
22117
|
reactNativeFeatureFlagsIOCModule: reactNativeFeatureFlagsIOCModule,
|
|
21898
22118
|
reactNativeSdkJsContainer: reactNativeSdkJsContainer,
|
|
21899
22119
|
registerDeviceForPushNotifications: registerDeviceForPushNotifications,
|
|
22120
|
+
replaceWlaCard: replaceWlaCard,
|
|
21900
22121
|
sandbox: sandbox,
|
|
21901
22122
|
sdkJsContainer: sdkJsContainer,
|
|
21902
22123
|
searchAtms: searchAtms,
|