@marqeta/ux-toolkit-sdk-javascript 0.26.0 → 0.28.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 +163 -21
- package/dist/index.d.ts +163 -21
- package/dist/index.js +433 -6
- package/dist/index.mjs +394 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -552,6 +552,9 @@ __export(src_exports, {
|
|
|
552
552
|
CreateUserResponseStatusEnum: function() {
|
|
553
553
|
return CreateUserResponseStatusEnum;
|
|
554
554
|
},
|
|
555
|
+
Currency: function() {
|
|
556
|
+
return Currency;
|
|
557
|
+
},
|
|
555
558
|
DEFAULT_THEME: function() {
|
|
556
559
|
return DEFAULT_THEME;
|
|
557
560
|
},
|
|
@@ -996,6 +999,15 @@ __export(src_exports, {
|
|
|
996
999
|
OnboardingStatus: function() {
|
|
997
1000
|
return OnboardingStatus;
|
|
998
1001
|
},
|
|
1002
|
+
OriginationDirection: function() {
|
|
1003
|
+
return OriginationDirection;
|
|
1004
|
+
},
|
|
1005
|
+
OriginationTransferReasonCode: function() {
|
|
1006
|
+
return OriginationTransferReasonCode;
|
|
1007
|
+
},
|
|
1008
|
+
OriginationTransferScheme: function() {
|
|
1009
|
+
return OriginationTransferScheme;
|
|
1010
|
+
},
|
|
999
1011
|
PushRegistrationRequestDevicePlatformEnum: function() {
|
|
1000
1012
|
return PushRegistrationRequestDevicePlatformEnum;
|
|
1001
1013
|
},
|
|
@@ -1191,6 +1203,9 @@ __export(src_exports, {
|
|
|
1191
1203
|
TransactionType: function() {
|
|
1192
1204
|
return TransactionType;
|
|
1193
1205
|
},
|
|
1206
|
+
TransferStatus: function() {
|
|
1207
|
+
return TransferStatus;
|
|
1208
|
+
},
|
|
1194
1209
|
UnlockCardByToken: function() {
|
|
1195
1210
|
return UnlockCardByToken;
|
|
1196
1211
|
},
|
|
@@ -1248,6 +1263,9 @@ __export(src_exports, {
|
|
|
1248
1263
|
componentsIOCModule: function() {
|
|
1249
1264
|
return componentsIOCModule;
|
|
1250
1265
|
},
|
|
1266
|
+
createOriginationTransfer: function() {
|
|
1267
|
+
return createOriginationTransfer;
|
|
1268
|
+
},
|
|
1251
1269
|
createWlaCard: function() {
|
|
1252
1270
|
return createWlaCard;
|
|
1253
1271
|
},
|
|
@@ -1293,6 +1311,9 @@ __export(src_exports, {
|
|
|
1293
1311
|
getClientId: function() {
|
|
1294
1312
|
return getClientId;
|
|
1295
1313
|
},
|
|
1314
|
+
getExternalAccount: function() {
|
|
1315
|
+
return getExternalAccount;
|
|
1316
|
+
},
|
|
1296
1317
|
getExternalAccountList: function() {
|
|
1297
1318
|
return getExternalAccountList;
|
|
1298
1319
|
},
|
|
@@ -1317,9 +1338,15 @@ __export(src_exports, {
|
|
|
1317
1338
|
getUserTokenHash: function() {
|
|
1318
1339
|
return getUserTokenHash;
|
|
1319
1340
|
},
|
|
1341
|
+
getWlaAccountDetails: function() {
|
|
1342
|
+
return getWlaAccountDetails;
|
|
1343
|
+
},
|
|
1320
1344
|
getWlaCardByToken: function() {
|
|
1321
1345
|
return getWlaCardByToken;
|
|
1322
1346
|
},
|
|
1347
|
+
getWlaRewardSummaries: function() {
|
|
1348
|
+
return getWlaRewardSummaries;
|
|
1349
|
+
},
|
|
1323
1350
|
getWlaTransactionByToken: function() {
|
|
1324
1351
|
return getWlaTransactionByToken;
|
|
1325
1352
|
},
|
|
@@ -1572,6 +1599,9 @@ __export(src_exports, {
|
|
|
1572
1599
|
transactionsIOCModule: function() {
|
|
1573
1600
|
return transactionsIOCModule;
|
|
1574
1601
|
},
|
|
1602
|
+
updateExternalAccount: function() {
|
|
1603
|
+
return updateExternalAccount;
|
|
1604
|
+
},
|
|
1575
1605
|
usersIOCModule: function() {
|
|
1576
1606
|
return usersIOCModule;
|
|
1577
1607
|
},
|
|
@@ -17862,6 +17892,12 @@ var mswTransactionsHandlers = [
|
|
|
17862
17892
|
];
|
|
17863
17893
|
// src/wla/adapters/RestWlaService.ts
|
|
17864
17894
|
var import_inversify127 = require("inversify");
|
|
17895
|
+
// src/wla/base/types/AccountResponse.ts
|
|
17896
|
+
var AccountType;
|
|
17897
|
+
(function(AccountType2) {
|
|
17898
|
+
AccountType2["CHECKING"] = "CHECKING";
|
|
17899
|
+
AccountType2["SAVINGS"] = "SAVINGS";
|
|
17900
|
+
})(AccountType || (AccountType = {}));
|
|
17865
17901
|
// src/wla/base/types/BookTransferResponse.ts
|
|
17866
17902
|
var BookTransferResponseStatusEnum;
|
|
17867
17903
|
(function(BookTransferResponseStatusEnum2) {
|
|
@@ -17922,6 +17958,45 @@ var OnboardingStatus;
|
|
|
17922
17958
|
OnboardingStatus2["ACCOUNT_CLAIMED"] = "ACCOUNT_CLAIMED";
|
|
17923
17959
|
OnboardingStatus2["ONBOARDING_COMPLETED"] = "ONBOARDING_COMPLETED";
|
|
17924
17960
|
})(OnboardingStatus || (OnboardingStatus = {}));
|
|
17961
|
+
// src/wla/base/types/OriginationTransferResponse.ts
|
|
17962
|
+
var Currency;
|
|
17963
|
+
(function(Currency2) {
|
|
17964
|
+
Currency2["GBP"] = "GBP";
|
|
17965
|
+
Currency2["USD"] = "USD";
|
|
17966
|
+
})(Currency || (Currency = {}));
|
|
17967
|
+
var OriginationTransferScheme;
|
|
17968
|
+
(function(OriginationTransferScheme2) {
|
|
17969
|
+
OriginationTransferScheme2["FASTER_PAYMENTS"] = "FASTER_PAYMENTS";
|
|
17970
|
+
})(OriginationTransferScheme || (OriginationTransferScheme = {}));
|
|
17971
|
+
var TransferStatus;
|
|
17972
|
+
(function(TransferStatus2) {
|
|
17973
|
+
TransferStatus2["INITIATED"] = "INITIATED";
|
|
17974
|
+
TransferStatus2["PENDING"] = "PENDING";
|
|
17975
|
+
TransferStatus2["CANCELLED"] = "CANCELLED";
|
|
17976
|
+
TransferStatus2["ERROR"] = "ERROR";
|
|
17977
|
+
TransferStatus2["SUBMITTED"] = "SUBMITTED";
|
|
17978
|
+
TransferStatus2["COMPLETED"] = "COMPLETED";
|
|
17979
|
+
TransferStatus2["RETURNED"] = "RETURNED";
|
|
17980
|
+
TransferStatus2["FAILED"] = "FAILED";
|
|
17981
|
+
})(TransferStatus || (TransferStatus = {}));
|
|
17982
|
+
var OriginationTransferReasonCode;
|
|
17983
|
+
(function(OriginationTransferReasonCode2) {
|
|
17984
|
+
OriginationTransferReasonCode2["TRANSFER_TO_OWN_ACCOUNT"] = "TRANSFER_TO_OWN_ACCOUNT";
|
|
17985
|
+
OriginationTransferReasonCode2["RETURNING_TO_AN_OVERPAYMENT"] = "RETURNING_TO_AN_OVERPAYMENT";
|
|
17986
|
+
OriginationTransferReasonCode2["PAYING_A_FRIEND"] = "PAYING_A_FRIEND";
|
|
17987
|
+
OriginationTransferReasonCode2["PAYING_FAMILY"] = "PAYING_FAMILY";
|
|
17988
|
+
OriginationTransferReasonCode2["PAYING_FOR_A_SERVICE"] = "PAYING_FOR_A_SERVICE";
|
|
17989
|
+
OriginationTransferReasonCode2["BUYING_GOODS"] = "BUYING_GOODS";
|
|
17990
|
+
OriginationTransferReasonCode2["PAYING_FOR_BUILDING_WORK"] = "PAYING_FOR_BUILDING_WORK";
|
|
17991
|
+
OriginationTransferReasonCode2["TRANSFER_TO_AN_INVESTMENT"] = "TRANSFER_TO_AN_INVESTMENT";
|
|
17992
|
+
OriginationTransferReasonCode2["PROPERTY_OR_LARGE_PURCHASE"] = "PROPERTY_OR_LARGE_PURCHASE";
|
|
17993
|
+
OriginationTransferReasonCode2["OTHERS"] = "OTHERS";
|
|
17994
|
+
})(OriginationTransferReasonCode || (OriginationTransferReasonCode = {}));
|
|
17995
|
+
var OriginationDirection;
|
|
17996
|
+
(function(OriginationDirection2) {
|
|
17997
|
+
OriginationDirection2["DEBIT"] = "DEBIT";
|
|
17998
|
+
OriginationDirection2["CREDIT"] = "CREDIT";
|
|
17999
|
+
})(OriginationDirection || (OriginationDirection = {}));
|
|
17925
18000
|
// src/wla/base/types/PushRegistrationRequest.ts
|
|
17926
18001
|
var PushRegistrationRequestDevicePlatformEnum;
|
|
17927
18002
|
(function(PushRegistrationRequestDevicePlatformEnum2) {
|
|
@@ -17944,12 +18019,6 @@ var TransactionType;
|
|
|
17944
18019
|
TransactionType2["TRANSFER"] = "TRANSFER";
|
|
17945
18020
|
TransactionType2["INTEREST"] = "INTEREST";
|
|
17946
18021
|
})(TransactionType || (TransactionType = {}));
|
|
17947
|
-
// src/wla/base/types/UserProfileResponse.ts
|
|
17948
|
-
var AccountType;
|
|
17949
|
-
(function(AccountType2) {
|
|
17950
|
-
AccountType2["CHECKING"] = "CHECKING";
|
|
17951
|
-
AccountType2["SAVINGS"] = "SAVINGS";
|
|
17952
|
-
})(AccountType || (AccountType = {}));
|
|
17953
18022
|
// src/wla/base/types/UserResponse.ts
|
|
17954
18023
|
var LoyaltyTier;
|
|
17955
18024
|
(function(LoyaltyTier2) {
|
|
@@ -18482,6 +18551,48 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
18482
18551
|
})();
|
|
18483
18552
|
}
|
|
18484
18553
|
},
|
|
18554
|
+
{
|
|
18555
|
+
key: "getExternalAccount",
|
|
18556
|
+
value: function getExternalAccount(token) {
|
|
18557
|
+
var _this = this;
|
|
18558
|
+
return _async_to_generator(function() {
|
|
18559
|
+
var cuiApiBaseUrl, path, params, data, error2;
|
|
18560
|
+
return _ts_generator(this, function(_state) {
|
|
18561
|
+
switch(_state.label){
|
|
18562
|
+
case 0:
|
|
18563
|
+
_state.trys.push([
|
|
18564
|
+
0,
|
|
18565
|
+
2,
|
|
18566
|
+
,
|
|
18567
|
+
3
|
|
18568
|
+
]);
|
|
18569
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
18570
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/").concat(token);
|
|
18571
|
+
params = {
|
|
18572
|
+
headers: _this.getCommonWlaApiHeaders()
|
|
18573
|
+
};
|
|
18574
|
+
return [
|
|
18575
|
+
4,
|
|
18576
|
+
_this.httpClient.get(path, params)
|
|
18577
|
+
];
|
|
18578
|
+
case 1:
|
|
18579
|
+
data = _state.sent();
|
|
18580
|
+
return [
|
|
18581
|
+
2,
|
|
18582
|
+
data
|
|
18583
|
+
];
|
|
18584
|
+
case 2:
|
|
18585
|
+
error2 = _state.sent();
|
|
18586
|
+
throw new MqSDKError("Unable to get external account", error2);
|
|
18587
|
+
case 3:
|
|
18588
|
+
return [
|
|
18589
|
+
2
|
|
18590
|
+
];
|
|
18591
|
+
}
|
|
18592
|
+
});
|
|
18593
|
+
})();
|
|
18594
|
+
}
|
|
18595
|
+
},
|
|
18485
18596
|
{
|
|
18486
18597
|
key: "getExternalAccountList",
|
|
18487
18598
|
value: function getExternalAccountList(requestBody) {
|
|
@@ -18624,6 +18735,50 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
18624
18735
|
})();
|
|
18625
18736
|
}
|
|
18626
18737
|
},
|
|
18738
|
+
{
|
|
18739
|
+
key: "updateExternalAccount",
|
|
18740
|
+
value: function updateExternalAccount(token, requestBody) {
|
|
18741
|
+
var _this = this;
|
|
18742
|
+
return _async_to_generator(function() {
|
|
18743
|
+
var cuiApiBaseUrl, path, params, data, error2;
|
|
18744
|
+
return _ts_generator(this, function(_state) {
|
|
18745
|
+
switch(_state.label){
|
|
18746
|
+
case 0:
|
|
18747
|
+
_state.trys.push([
|
|
18748
|
+
0,
|
|
18749
|
+
2,
|
|
18750
|
+
,
|
|
18751
|
+
3
|
|
18752
|
+
]);
|
|
18753
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
18754
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/").concat(token);
|
|
18755
|
+
params = {
|
|
18756
|
+
method: "PATCH",
|
|
18757
|
+
headers: _this.getCommonWlaApiHeaders(),
|
|
18758
|
+
body: JSON.stringify(requestBody)
|
|
18759
|
+
};
|
|
18760
|
+
return [
|
|
18761
|
+
4,
|
|
18762
|
+
_this.httpClient.post(path, params)
|
|
18763
|
+
];
|
|
18764
|
+
case 1:
|
|
18765
|
+
data = _state.sent();
|
|
18766
|
+
return [
|
|
18767
|
+
2,
|
|
18768
|
+
data
|
|
18769
|
+
];
|
|
18770
|
+
case 2:
|
|
18771
|
+
error2 = _state.sent();
|
|
18772
|
+
throw new MqSDKError("Unable to update external account", error2);
|
|
18773
|
+
case 3:
|
|
18774
|
+
return [
|
|
18775
|
+
2
|
|
18776
|
+
];
|
|
18777
|
+
}
|
|
18778
|
+
});
|
|
18779
|
+
})();
|
|
18780
|
+
}
|
|
18781
|
+
},
|
|
18627
18782
|
{
|
|
18628
18783
|
key: "getTransactionByToken",
|
|
18629
18784
|
value: function getTransactionByToken(transactionToken) {
|
|
@@ -18712,6 +18867,144 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
18712
18867
|
});
|
|
18713
18868
|
})();
|
|
18714
18869
|
}
|
|
18870
|
+
},
|
|
18871
|
+
{
|
|
18872
|
+
key: "createOriginationTransfer",
|
|
18873
|
+
value: function createOriginationTransfer(requestBody) {
|
|
18874
|
+
var _this = this;
|
|
18875
|
+
return _async_to_generator(function() {
|
|
18876
|
+
var cuiApiBaseUrl, path, params, data, error2;
|
|
18877
|
+
return _ts_generator(this, function(_state) {
|
|
18878
|
+
switch(_state.label){
|
|
18879
|
+
case 0:
|
|
18880
|
+
_state.trys.push([
|
|
18881
|
+
0,
|
|
18882
|
+
2,
|
|
18883
|
+
,
|
|
18884
|
+
3
|
|
18885
|
+
]);
|
|
18886
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
18887
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/origination/transfer");
|
|
18888
|
+
params = {
|
|
18889
|
+
method: "POST",
|
|
18890
|
+
headers: _this.getCommonWlaApiHeaders(),
|
|
18891
|
+
body: JSON.stringify(requestBody)
|
|
18892
|
+
};
|
|
18893
|
+
return [
|
|
18894
|
+
4,
|
|
18895
|
+
_this.httpClient.post(path, params)
|
|
18896
|
+
];
|
|
18897
|
+
case 1:
|
|
18898
|
+
data = _state.sent();
|
|
18899
|
+
return [
|
|
18900
|
+
2,
|
|
18901
|
+
data
|
|
18902
|
+
];
|
|
18903
|
+
case 2:
|
|
18904
|
+
error2 = _state.sent();
|
|
18905
|
+
throw new MqSDKError("Unable to create an origination transfer", error2);
|
|
18906
|
+
case 3:
|
|
18907
|
+
return [
|
|
18908
|
+
2
|
|
18909
|
+
];
|
|
18910
|
+
}
|
|
18911
|
+
});
|
|
18912
|
+
})();
|
|
18913
|
+
}
|
|
18914
|
+
},
|
|
18915
|
+
{
|
|
18916
|
+
key: "getAccountDetails",
|
|
18917
|
+
value: function getAccountDetails(accountToken) {
|
|
18918
|
+
var includeYtdInterest = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
18919
|
+
var _this = this;
|
|
18920
|
+
return _async_to_generator(function() {
|
|
18921
|
+
var cuiApiBaseUrl, queryParams, path, params, data, error2;
|
|
18922
|
+
return _ts_generator(this, function(_state) {
|
|
18923
|
+
switch(_state.label){
|
|
18924
|
+
case 0:
|
|
18925
|
+
_state.trys.push([
|
|
18926
|
+
0,
|
|
18927
|
+
2,
|
|
18928
|
+
,
|
|
18929
|
+
3
|
|
18930
|
+
]);
|
|
18931
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
18932
|
+
queryParams = new URLSearchParams({
|
|
18933
|
+
account_token: accountToken,
|
|
18934
|
+
include_ytd_interest: "".concat(includeYtdInterest)
|
|
18935
|
+
});
|
|
18936
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/account?").concat(queryParams.toString());
|
|
18937
|
+
params = {
|
|
18938
|
+
headers: _this.getCommonWlaApiHeaders()
|
|
18939
|
+
};
|
|
18940
|
+
return [
|
|
18941
|
+
4,
|
|
18942
|
+
_this.httpClient.get(path, params)
|
|
18943
|
+
];
|
|
18944
|
+
case 1:
|
|
18945
|
+
data = _state.sent();
|
|
18946
|
+
return [
|
|
18947
|
+
2,
|
|
18948
|
+
data
|
|
18949
|
+
];
|
|
18950
|
+
case 2:
|
|
18951
|
+
error2 = _state.sent();
|
|
18952
|
+
throw new MqSDKError("Unable to get account details", error2);
|
|
18953
|
+
case 3:
|
|
18954
|
+
return [
|
|
18955
|
+
2
|
|
18956
|
+
];
|
|
18957
|
+
}
|
|
18958
|
+
});
|
|
18959
|
+
})();
|
|
18960
|
+
}
|
|
18961
|
+
},
|
|
18962
|
+
{
|
|
18963
|
+
key: "getRewardSummaries",
|
|
18964
|
+
value: function getRewardSummaries(startIndex, count) {
|
|
18965
|
+
var _this = this;
|
|
18966
|
+
return _async_to_generator(function() {
|
|
18967
|
+
var cuiApiBaseUrl, queryParams, path, params, data, error2;
|
|
18968
|
+
return _ts_generator(this, function(_state) {
|
|
18969
|
+
switch(_state.label){
|
|
18970
|
+
case 0:
|
|
18971
|
+
_state.trys.push([
|
|
18972
|
+
0,
|
|
18973
|
+
2,
|
|
18974
|
+
,
|
|
18975
|
+
3
|
|
18976
|
+
]);
|
|
18977
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
18978
|
+
queryParams = new URLSearchParams(_object_spread({}, startIndex ? {
|
|
18979
|
+
start_index: "".concat(startIndex)
|
|
18980
|
+
} : {}, count ? {
|
|
18981
|
+
count: "".concat(count)
|
|
18982
|
+
} : {}));
|
|
18983
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/rewardsummaries?").concat(queryParams.toString());
|
|
18984
|
+
params = {
|
|
18985
|
+
headers: _this.getCommonWlaApiHeaders()
|
|
18986
|
+
};
|
|
18987
|
+
return [
|
|
18988
|
+
4,
|
|
18989
|
+
_this.httpClient.get(path, params)
|
|
18990
|
+
];
|
|
18991
|
+
case 1:
|
|
18992
|
+
data = _state.sent();
|
|
18993
|
+
return [
|
|
18994
|
+
2,
|
|
18995
|
+
data
|
|
18996
|
+
];
|
|
18997
|
+
case 2:
|
|
18998
|
+
error2 = _state.sent();
|
|
18999
|
+
throw new MqSDKError("Unable to get reward summary", error2);
|
|
19000
|
+
case 3:
|
|
19001
|
+
return [
|
|
19002
|
+
2
|
|
19003
|
+
];
|
|
19004
|
+
}
|
|
19005
|
+
});
|
|
19006
|
+
})();
|
|
19007
|
+
}
|
|
18715
19008
|
}
|
|
18716
19009
|
]);
|
|
18717
19010
|
return _RestWlaService;
|
|
@@ -18775,6 +19068,33 @@ function _bookTransfer() {
|
|
|
18775
19068
|
return _bookTransfer.apply(this, arguments);
|
|
18776
19069
|
}
|
|
18777
19070
|
__name(bookTransfer, "bookTransfer");
|
|
19071
|
+
function createOriginationTransfer(payload) {
|
|
19072
|
+
return _createOriginationTransfer.apply(this, arguments);
|
|
19073
|
+
}
|
|
19074
|
+
function _createOriginationTransfer() {
|
|
19075
|
+
_createOriginationTransfer = // src/wla/base/interactors/createOriginationTransfer.ts
|
|
19076
|
+
_async_to_generator(function(payload) {
|
|
19077
|
+
var container2, wlaService;
|
|
19078
|
+
return _ts_generator(this, function(_state) {
|
|
19079
|
+
switch(_state.label){
|
|
19080
|
+
case 0:
|
|
19081
|
+
container2 = getActiveIocContainer();
|
|
19082
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
19083
|
+
return [
|
|
19084
|
+
4,
|
|
19085
|
+
wlaService.createOriginationTransfer(payload)
|
|
19086
|
+
];
|
|
19087
|
+
case 1:
|
|
19088
|
+
return [
|
|
19089
|
+
2,
|
|
19090
|
+
_state.sent()
|
|
19091
|
+
];
|
|
19092
|
+
}
|
|
19093
|
+
});
|
|
19094
|
+
});
|
|
19095
|
+
return _createOriginationTransfer.apply(this, arguments);
|
|
19096
|
+
}
|
|
19097
|
+
__name(createOriginationTransfer, "createOriginationTransfer");
|
|
18778
19098
|
function createWlaCard(payload) {
|
|
18779
19099
|
return _createWlaCard.apply(this, arguments);
|
|
18780
19100
|
}
|
|
@@ -18888,6 +19208,25 @@ function _getAccountTransactions() {
|
|
|
18888
19208
|
return _getAccountTransactions.apply(this, arguments);
|
|
18889
19209
|
}
|
|
18890
19210
|
__name(getAccountTransactions, "getAccountTransactions");
|
|
19211
|
+
function getExternalAccount(token) {
|
|
19212
|
+
return _getExternalAccount.apply(this, arguments);
|
|
19213
|
+
}
|
|
19214
|
+
function _getExternalAccount() {
|
|
19215
|
+
_getExternalAccount = // src/wla/base/interactors/getExternalAccount.ts
|
|
19216
|
+
_async_to_generator(function(token) {
|
|
19217
|
+
var container2, wlaService;
|
|
19218
|
+
return _ts_generator(this, function(_state) {
|
|
19219
|
+
container2 = getActiveIocContainer();
|
|
19220
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
19221
|
+
return [
|
|
19222
|
+
2,
|
|
19223
|
+
wlaService.getExternalAccount(token)
|
|
19224
|
+
];
|
|
19225
|
+
});
|
|
19226
|
+
});
|
|
19227
|
+
return _getExternalAccount.apply(this, arguments);
|
|
19228
|
+
}
|
|
19229
|
+
__name(getExternalAccount, "getExternalAccount");
|
|
18891
19230
|
function getExternalAccountList(requestBody) {
|
|
18892
19231
|
return _getExternalAccountList.apply(this, arguments);
|
|
18893
19232
|
}
|
|
@@ -18945,6 +19284,25 @@ function _getOffers() {
|
|
|
18945
19284
|
return _getOffers.apply(this, arguments);
|
|
18946
19285
|
}
|
|
18947
19286
|
__name(getOffers, "getOffers");
|
|
19287
|
+
function getWlaAccountDetails(accountToken, includeYtdInterest) {
|
|
19288
|
+
return _getWlaAccountDetails.apply(this, arguments);
|
|
19289
|
+
}
|
|
19290
|
+
function _getWlaAccountDetails() {
|
|
19291
|
+
_getWlaAccountDetails = // src/wla/base/interactors/getWlaAccountDetails.ts
|
|
19292
|
+
_async_to_generator(function(accountToken, includeYtdInterest) {
|
|
19293
|
+
var container2, wlaService;
|
|
19294
|
+
return _ts_generator(this, function(_state) {
|
|
19295
|
+
container2 = getActiveIocContainer();
|
|
19296
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
19297
|
+
return [
|
|
19298
|
+
2,
|
|
19299
|
+
wlaService.getAccountDetails(accountToken, includeYtdInterest)
|
|
19300
|
+
];
|
|
19301
|
+
});
|
|
19302
|
+
});
|
|
19303
|
+
return _getWlaAccountDetails.apply(this, arguments);
|
|
19304
|
+
}
|
|
19305
|
+
__name(getWlaAccountDetails, "getWlaAccountDetails");
|
|
18948
19306
|
function getWlaCardByToken(cardToken) {
|
|
18949
19307
|
return _getWlaCardByToken.apply(this, arguments);
|
|
18950
19308
|
}
|
|
@@ -18972,6 +19330,25 @@ function _getWlaCardByToken() {
|
|
|
18972
19330
|
return _getWlaCardByToken.apply(this, arguments);
|
|
18973
19331
|
}
|
|
18974
19332
|
__name(getWlaCardByToken, "getWlaCardByToken");
|
|
19333
|
+
function getWlaRewardSummaries(startIndex, count) {
|
|
19334
|
+
return _getWlaRewardSummaries.apply(this, arguments);
|
|
19335
|
+
}
|
|
19336
|
+
function _getWlaRewardSummaries() {
|
|
19337
|
+
_getWlaRewardSummaries = // src/wla/base/interactors/getWlaRewardSummaries.ts
|
|
19338
|
+
_async_to_generator(function(startIndex, count) {
|
|
19339
|
+
var container2, wlaService;
|
|
19340
|
+
return _ts_generator(this, function(_state) {
|
|
19341
|
+
container2 = getActiveIocContainer();
|
|
19342
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
19343
|
+
return [
|
|
19344
|
+
2,
|
|
19345
|
+
wlaService.getRewardSummaries(startIndex, count)
|
|
19346
|
+
];
|
|
19347
|
+
});
|
|
19348
|
+
});
|
|
19349
|
+
return _getWlaRewardSummaries.apply(this, arguments);
|
|
19350
|
+
}
|
|
19351
|
+
__name(getWlaRewardSummaries, "getWlaRewardSummaries");
|
|
18975
19352
|
function getWlaTransactionByToken(transactionToken) {
|
|
18976
19353
|
return _getWlaTransactionByToken.apply(this, arguments);
|
|
18977
19354
|
}
|
|
@@ -19126,6 +19503,46 @@ function _setWlaConfig() {
|
|
|
19126
19503
|
return _setWlaConfig.apply(this, arguments);
|
|
19127
19504
|
}
|
|
19128
19505
|
__name(setWlaConfig, "setWlaConfig");
|
|
19506
|
+
function updateExternalAccount(token, payload) {
|
|
19507
|
+
return _updateExternalAccount.apply(this, arguments);
|
|
19508
|
+
}
|
|
19509
|
+
function _updateExternalAccount() {
|
|
19510
|
+
_updateExternalAccount = // src/wla/base/interactors/updateExternalAccount.ts
|
|
19511
|
+
_async_to_generator(function(token, payload) {
|
|
19512
|
+
var container2, wlaService, error2;
|
|
19513
|
+
return _ts_generator(this, function(_state) {
|
|
19514
|
+
switch(_state.label){
|
|
19515
|
+
case 0:
|
|
19516
|
+
_state.trys.push([
|
|
19517
|
+
0,
|
|
19518
|
+
2,
|
|
19519
|
+
,
|
|
19520
|
+
3
|
|
19521
|
+
]);
|
|
19522
|
+
container2 = getActiveIocContainer();
|
|
19523
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
19524
|
+
return [
|
|
19525
|
+
4,
|
|
19526
|
+
wlaService.updateExternalAccount(token, payload)
|
|
19527
|
+
];
|
|
19528
|
+
case 1:
|
|
19529
|
+
return [
|
|
19530
|
+
2,
|
|
19531
|
+
_state.sent()
|
|
19532
|
+
];
|
|
19533
|
+
case 2:
|
|
19534
|
+
error2 = _state.sent();
|
|
19535
|
+
throw new MqSDKError("Unable to update external account");
|
|
19536
|
+
case 3:
|
|
19537
|
+
return [
|
|
19538
|
+
2
|
|
19539
|
+
];
|
|
19540
|
+
}
|
|
19541
|
+
});
|
|
19542
|
+
});
|
|
19543
|
+
return _updateExternalAccount.apply(this, arguments);
|
|
19544
|
+
}
|
|
19545
|
+
__name(updateExternalAccount, "updateExternalAccount");
|
|
19129
19546
|
function verifyExternalAccount(payload) {
|
|
19130
19547
|
return _verifyExternalAccount.apply(this, arguments);
|
|
19131
19548
|
}
|
|
@@ -19230,6 +19647,7 @@ setActiveIocContainer(container);
|
|
|
19230
19647
|
CleanupOnUnload: CleanupOnUnload,
|
|
19231
19648
|
CreateUserRequestIdentificationsInnerTypeEnum: CreateUserRequestIdentificationsInnerTypeEnum,
|
|
19232
19649
|
CreateUserResponseStatusEnum: CreateUserResponseStatusEnum,
|
|
19650
|
+
Currency: Currency,
|
|
19233
19651
|
DEFAULT_THEME: DEFAULT_THEME,
|
|
19234
19652
|
DEPOSIT_ACCOUNTS_TERMINATED_CUI_AUTH_TOKEN: DEPOSIT_ACCOUNTS_TERMINATED_CUI_AUTH_TOKEN,
|
|
19235
19653
|
DOB_ISSUE_SSN: DOB_ISSUE_SSN,
|
|
@@ -19378,6 +19796,9 @@ setActiveIocContainer(container);
|
|
|
19378
19796
|
NOT_OK_CUI_AUTH_TOKEN: NOT_OK_CUI_AUTH_TOKEN,
|
|
19379
19797
|
OBAC_ISSUE_SSN: OBAC_ISSUE_SSN,
|
|
19380
19798
|
OnboardingStatus: OnboardingStatus,
|
|
19799
|
+
OriginationDirection: OriginationDirection,
|
|
19800
|
+
OriginationTransferReasonCode: OriginationTransferReasonCode,
|
|
19801
|
+
OriginationTransferScheme: OriginationTransferScheme,
|
|
19381
19802
|
PushRegistrationRequestDevicePlatformEnum: PushRegistrationRequestDevicePlatformEnum,
|
|
19382
19803
|
PutUpdateUser: PutUpdateUser,
|
|
19383
19804
|
REFRESHED_CUI_AUTH_TOKEN: REFRESHED_CUI_AUTH_TOKEN,
|
|
@@ -19443,6 +19864,7 @@ setActiveIocContainer(container);
|
|
|
19443
19864
|
TransactionRecordStatus: TransactionRecordStatus,
|
|
19444
19865
|
TransactionStatus: TransactionStatus,
|
|
19445
19866
|
TransactionType: TransactionType,
|
|
19867
|
+
TransferStatus: TransferStatus,
|
|
19446
19868
|
UnlockCardByToken: UnlockCardByToken,
|
|
19447
19869
|
UpdatePinByCardToken: UpdatePinByCardToken,
|
|
19448
19870
|
UploadDocumentForDispute: UploadDocumentForDispute,
|
|
@@ -19462,6 +19884,7 @@ setActiveIocContainer(container);
|
|
|
19462
19884
|
cardsIOCModule: cardsIOCModule,
|
|
19463
19885
|
commonIOCModule: commonIOCModule,
|
|
19464
19886
|
componentsIOCModule: componentsIOCModule,
|
|
19887
|
+
createOriginationTransfer: createOriginationTransfer,
|
|
19465
19888
|
createWlaCard: createWlaCard,
|
|
19466
19889
|
createWlaExternalAccount: createWlaExternalAccount,
|
|
19467
19890
|
deepMergeThemeObject: deepMergeThemeObject,
|
|
@@ -19477,6 +19900,7 @@ setActiveIocContainer(container);
|
|
|
19477
19900
|
getActiveIocContainer: getActiveIocContainer,
|
|
19478
19901
|
getCardholderContext: getCardholderContext,
|
|
19479
19902
|
getClientId: getClientId,
|
|
19903
|
+
getExternalAccount: getExternalAccount,
|
|
19480
19904
|
getExternalAccountList: getExternalAccountList,
|
|
19481
19905
|
getMockUpdatedUserRequestToCreateResponse: getMockUpdatedUserRequestToCreateResponse,
|
|
19482
19906
|
getMockUserRequestToCreateResponse: getMockUserRequestToCreateResponse,
|
|
@@ -19485,7 +19909,9 @@ setActiveIocContainer(container);
|
|
|
19485
19909
|
getSessionId: getSessionId,
|
|
19486
19910
|
getUserProgram: getUserProgram,
|
|
19487
19911
|
getUserTokenHash: getUserTokenHash,
|
|
19912
|
+
getWlaAccountDetails: getWlaAccountDetails,
|
|
19488
19913
|
getWlaCardByToken: getWlaCardByToken,
|
|
19914
|
+
getWlaRewardSummaries: getWlaRewardSummaries,
|
|
19489
19915
|
getWlaTransactionByToken: getWlaTransactionByToken,
|
|
19490
19916
|
getWlaUserProfile: getWlaUserProfile,
|
|
19491
19917
|
handleGetStatementAsset: handleGetStatementAsset,
|
|
@@ -19570,6 +19996,7 @@ setActiveIocContainer(container);
|
|
|
19570
19996
|
toDateType: toDateType,
|
|
19571
19997
|
trackEvent: trackEvent,
|
|
19572
19998
|
transactionsIOCModule: transactionsIOCModule,
|
|
19999
|
+
updateExternalAccount: updateExternalAccount,
|
|
19573
20000
|
usersIOCModule: usersIOCModule,
|
|
19574
20001
|
verifyExternalAccount: verifyExternalAccount
|
|
19575
20002
|
}); /*! Bundled license information:
|