@marqeta/ux-toolkit-sdk-javascript 2.37.0 → 2.39.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/{chunk-BTWY5DTU.mjs → chunk-F6J6VBHH.mjs} +879 -280
- package/dist/{chunk-O7344V5L.js → chunk-G2RTQWBN.js} +1257 -635
- package/dist/index.d.mts +151 -82
- package/dist/index.d.ts +151 -82
- package/dist/index.js +526 -518
- package/dist/index.mjs +2 -2
- package/dist/react-native.d.mts +1 -1
- package/dist/react-native.d.ts +1 -1
- package/dist/react-native.js +588 -580
- package/dist/react-native.mjs +2 -2
- package/package.json +1 -1
|
@@ -12863,18 +12863,18 @@ function _getUserAccounts() {
|
|
|
12863
12863
|
return _getUserAccounts.apply(this, arguments);
|
|
12864
12864
|
}
|
|
12865
12865
|
__name(getUserAccounts, "getUserAccounts");
|
|
12866
|
-
function
|
|
12867
|
-
return
|
|
12866
|
+
function saveUserConsents(request) {
|
|
12867
|
+
return _saveUserConsents.apply(this, arguments);
|
|
12868
12868
|
}
|
|
12869
|
-
function
|
|
12870
|
-
|
|
12869
|
+
function _saveUserConsents() {
|
|
12870
|
+
_saveUserConsents = // src/accounts/base/interactors/saveUserConsents.ts
|
|
12871
12871
|
_async_to_generator(function(request) {
|
|
12872
12872
|
var container2, accountRepository, result, error2;
|
|
12873
12873
|
return _ts_generator(this, function(_state) {
|
|
12874
12874
|
switch(_state.label){
|
|
12875
12875
|
case 0:
|
|
12876
|
-
logDebug("
|
|
12877
|
-
interactor: "
|
|
12876
|
+
logDebug("Saving user consents", {
|
|
12877
|
+
interactor: "saveUserConsents"
|
|
12878
12878
|
});
|
|
12879
12879
|
_state.label = 1;
|
|
12880
12880
|
case 1:
|
|
@@ -12888,13 +12888,119 @@ function _createUserSavingsAccount() {
|
|
|
12888
12888
|
accountRepository = container2.get(ITF_ACCOUNT_REPOSITORY);
|
|
12889
12889
|
return [
|
|
12890
12890
|
4,
|
|
12891
|
-
accountRepository.
|
|
12891
|
+
accountRepository.saveUserConsents(request)
|
|
12892
12892
|
];
|
|
12893
12893
|
case 2:
|
|
12894
12894
|
result = _state.sent();
|
|
12895
|
-
logInfo("User
|
|
12895
|
+
logInfo("User consents saved successfully", {
|
|
12896
|
+
interactor: "saveUserConsents"
|
|
12897
|
+
});
|
|
12898
|
+
return [
|
|
12899
|
+
2,
|
|
12900
|
+
result
|
|
12901
|
+
];
|
|
12902
|
+
case 3:
|
|
12903
|
+
error2 = _state.sent();
|
|
12904
|
+
logInfo("[ERROR] Failed to save user consents", {
|
|
12905
|
+
error: error2,
|
|
12906
|
+
interactor: "saveUserConsents"
|
|
12907
|
+
});
|
|
12908
|
+
throw error2;
|
|
12909
|
+
case 4:
|
|
12910
|
+
return [
|
|
12911
|
+
2
|
|
12912
|
+
];
|
|
12913
|
+
}
|
|
12914
|
+
});
|
|
12915
|
+
});
|
|
12916
|
+
return _saveUserConsents.apply(this, arguments);
|
|
12917
|
+
}
|
|
12918
|
+
__name(saveUserConsents, "saveUserConsents");
|
|
12919
|
+
function createAccount(request) {
|
|
12920
|
+
return _createAccount.apply(this, arguments);
|
|
12921
|
+
}
|
|
12922
|
+
function _createAccount() {
|
|
12923
|
+
_createAccount = // src/accounts/base/interactors/createAccount.ts
|
|
12924
|
+
_async_to_generator(function(request) {
|
|
12925
|
+
var container2, accountRepository, result, error2;
|
|
12926
|
+
return _ts_generator(this, function(_state) {
|
|
12927
|
+
switch(_state.label){
|
|
12928
|
+
case 0:
|
|
12929
|
+
logDebug("Creating account", {
|
|
12930
|
+
interactor: "createAccount"
|
|
12931
|
+
});
|
|
12932
|
+
_state.label = 1;
|
|
12933
|
+
case 1:
|
|
12934
|
+
_state.trys.push([
|
|
12935
|
+
1,
|
|
12936
|
+
3,
|
|
12937
|
+
,
|
|
12938
|
+
4
|
|
12939
|
+
]);
|
|
12940
|
+
container2 = getActiveIocContainer();
|
|
12941
|
+
accountRepository = container2.get(ITF_ACCOUNT_REPOSITORY);
|
|
12942
|
+
return [
|
|
12943
|
+
4,
|
|
12944
|
+
accountRepository.createAccount(request)
|
|
12945
|
+
];
|
|
12946
|
+
case 2:
|
|
12947
|
+
result = _state.sent();
|
|
12948
|
+
logInfo("Account created successfully", {
|
|
12896
12949
|
status: result.status,
|
|
12897
|
-
interactor: "
|
|
12950
|
+
interactor: "createAccount"
|
|
12951
|
+
});
|
|
12952
|
+
return [
|
|
12953
|
+
2,
|
|
12954
|
+
result
|
|
12955
|
+
];
|
|
12956
|
+
case 3:
|
|
12957
|
+
error2 = _state.sent();
|
|
12958
|
+
logInfo("[ERROR] Failed to create account", {
|
|
12959
|
+
error: error2,
|
|
12960
|
+
interactor: "createAccount"
|
|
12961
|
+
});
|
|
12962
|
+
throw error2;
|
|
12963
|
+
case 4:
|
|
12964
|
+
return [
|
|
12965
|
+
2
|
|
12966
|
+
];
|
|
12967
|
+
}
|
|
12968
|
+
});
|
|
12969
|
+
});
|
|
12970
|
+
return _createAccount.apply(this, arguments);
|
|
12971
|
+
}
|
|
12972
|
+
__name(createAccount, "createAccount");
|
|
12973
|
+
function getDisclosureDocs() {
|
|
12974
|
+
return _getDisclosureDocs.apply(this, arguments);
|
|
12975
|
+
}
|
|
12976
|
+
function _getDisclosureDocs() {
|
|
12977
|
+
_getDisclosureDocs = // src/accounts/base/interactors/getDisclosureDocs.ts
|
|
12978
|
+
_async_to_generator(function() {
|
|
12979
|
+
var container2, accountRepository, result, error2;
|
|
12980
|
+
return _ts_generator(this, function(_state) {
|
|
12981
|
+
switch(_state.label){
|
|
12982
|
+
case 0:
|
|
12983
|
+
logDebug("Getting disclosure docs", {
|
|
12984
|
+
interactor: "getDisclosureDocs"
|
|
12985
|
+
});
|
|
12986
|
+
_state.label = 1;
|
|
12987
|
+
case 1:
|
|
12988
|
+
_state.trys.push([
|
|
12989
|
+
1,
|
|
12990
|
+
3,
|
|
12991
|
+
,
|
|
12992
|
+
4
|
|
12993
|
+
]);
|
|
12994
|
+
container2 = getActiveIocContainer();
|
|
12995
|
+
accountRepository = container2.get(ITF_ACCOUNT_REPOSITORY);
|
|
12996
|
+
return [
|
|
12997
|
+
4,
|
|
12998
|
+
accountRepository.getDisclosureDocs()
|
|
12999
|
+
];
|
|
13000
|
+
case 2:
|
|
13001
|
+
result = _state.sent();
|
|
13002
|
+
logInfo("Disclosure docs retrieved successfully", {
|
|
13003
|
+
interactor: "getDisclosureDocs"
|
|
12898
13004
|
});
|
|
12899
13005
|
return [
|
|
12900
13006
|
2,
|
|
@@ -12902,9 +13008,9 @@ function _createUserSavingsAccount() {
|
|
|
12902
13008
|
];
|
|
12903
13009
|
case 3:
|
|
12904
13010
|
error2 = _state.sent();
|
|
12905
|
-
logInfo("[ERROR] Failed to
|
|
13011
|
+
logInfo("[ERROR] Failed to get disclosure docs", {
|
|
12906
13012
|
error: error2,
|
|
12907
|
-
interactor: "
|
|
13013
|
+
interactor: "getDisclosureDocs"
|
|
12908
13014
|
});
|
|
12909
13015
|
throw error2;
|
|
12910
13016
|
case 4:
|
|
@@ -12914,9 +13020,9 @@ function _createUserSavingsAccount() {
|
|
|
12914
13020
|
}
|
|
12915
13021
|
});
|
|
12916
13022
|
});
|
|
12917
|
-
return
|
|
13023
|
+
return _getDisclosureDocs.apply(this, arguments);
|
|
12918
13024
|
}
|
|
12919
|
-
__name(
|
|
13025
|
+
__name(getDisclosureDocs, "getDisclosureDocs");
|
|
12920
13026
|
// src/accounts/base/repositories/iAccountRepository.ts
|
|
12921
13027
|
function _ts_decorate36(decorators, target, key, desc) {
|
|
12922
13028
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -13340,13 +13446,6 @@ var TransactionChallengeAuthenticationMethod;
|
|
|
13340
13446
|
TransactionChallengeAuthenticationMethod2["KnowledgeBased"] = "KNOWLEDGE_BASED";
|
|
13341
13447
|
TransactionChallengeAuthenticationMethod2["Other"] = "OTHER";
|
|
13342
13448
|
})(TransactionChallengeAuthenticationMethod || (TransactionChallengeAuthenticationMethod = exports.TransactionChallengeAuthenticationMethod = {}));
|
|
13343
|
-
// src/wla/base/types/ProvisionWalletRequest.ts
|
|
13344
|
-
var DigitalWalletApplePayProvisionRequestDeviceTypeEnum;
|
|
13345
|
-
(function(DigitalWalletApplePayProvisionRequestDeviceTypeEnum2) {
|
|
13346
|
-
DigitalWalletApplePayProvisionRequestDeviceTypeEnum2["MobilePhone"] = "MOBILE_PHONE";
|
|
13347
|
-
DigitalWalletApplePayProvisionRequestDeviceTypeEnum2["Watch"] = "WATCH";
|
|
13348
|
-
DigitalWalletApplePayProvisionRequestDeviceTypeEnum2["Tablet"] = "TABLET";
|
|
13349
|
-
})(DigitalWalletApplePayProvisionRequestDeviceTypeEnum || (DigitalWalletApplePayProvisionRequestDeviceTypeEnum = exports.DigitalWalletApplePayProvisionRequestDeviceTypeEnum = {}));
|
|
13350
13449
|
// src/wla/adapters/RestWlaService.ts
|
|
13351
13450
|
function _ts_decorate37(decorators, target, key, desc) {
|
|
13352
13451
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -15973,124 +16072,6 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
15973
16072
|
});
|
|
15974
16073
|
})();
|
|
15975
16074
|
}
|
|
15976
|
-
},
|
|
15977
|
-
{
|
|
15978
|
-
key: "getCardEligibility",
|
|
15979
|
-
value: function getCardEligibility(request) {
|
|
15980
|
-
var _this = this;
|
|
15981
|
-
return _async_to_generator(function() {
|
|
15982
|
-
var cuiApiBaseUrl, path, error2;
|
|
15983
|
-
return _ts_generator(this, function(_state) {
|
|
15984
|
-
switch(_state.label){
|
|
15985
|
-
case 0:
|
|
15986
|
-
logDebug("Checking card eligibility", {
|
|
15987
|
-
cardToken: request.card_token,
|
|
15988
|
-
adapter: "RestWlaService"
|
|
15989
|
-
});
|
|
15990
|
-
_state.label = 1;
|
|
15991
|
-
case 1:
|
|
15992
|
-
_state.trys.push([
|
|
15993
|
-
1,
|
|
15994
|
-
3,
|
|
15995
|
-
,
|
|
15996
|
-
4
|
|
15997
|
-
]);
|
|
15998
|
-
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
15999
|
-
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/card/").concat(request.card_token, "/eligibility");
|
|
16000
|
-
return [
|
|
16001
|
-
4,
|
|
16002
|
-
_this.httpClient.get(path)
|
|
16003
|
-
];
|
|
16004
|
-
case 2:
|
|
16005
|
-
_state.sent();
|
|
16006
|
-
logInfo("Card is eligible", {
|
|
16007
|
-
cardToken: request.card_token,
|
|
16008
|
-
adapter: "RestWlaService"
|
|
16009
|
-
});
|
|
16010
|
-
return [
|
|
16011
|
-
2,
|
|
16012
|
-
{
|
|
16013
|
-
eligible: true
|
|
16014
|
-
}
|
|
16015
|
-
];
|
|
16016
|
-
case 3:
|
|
16017
|
-
error2 = _state.sent();
|
|
16018
|
-
logInfo("Card is not eligible", {
|
|
16019
|
-
error: error2,
|
|
16020
|
-
cardToken: request.card_token,
|
|
16021
|
-
adapter: "RestWlaService"
|
|
16022
|
-
});
|
|
16023
|
-
return [
|
|
16024
|
-
2,
|
|
16025
|
-
{
|
|
16026
|
-
eligible: false
|
|
16027
|
-
}
|
|
16028
|
-
];
|
|
16029
|
-
case 4:
|
|
16030
|
-
return [
|
|
16031
|
-
2
|
|
16032
|
-
];
|
|
16033
|
-
}
|
|
16034
|
-
});
|
|
16035
|
-
})();
|
|
16036
|
-
}
|
|
16037
|
-
},
|
|
16038
|
-
{
|
|
16039
|
-
key: "postRequestWalletProvisioning",
|
|
16040
|
-
value: function postRequestWalletProvisioning(request) {
|
|
16041
|
-
var _this = this;
|
|
16042
|
-
return _async_to_generator(function() {
|
|
16043
|
-
var cuiApiBaseUrl, platform, path, params, result, error2;
|
|
16044
|
-
return _ts_generator(this, function(_state) {
|
|
16045
|
-
switch(_state.label){
|
|
16046
|
-
case 0:
|
|
16047
|
-
logDebug("Requesting wallet provisioning", {
|
|
16048
|
-
platform: request.platform,
|
|
16049
|
-
adapter: "RestWlaService"
|
|
16050
|
-
});
|
|
16051
|
-
_state.label = 1;
|
|
16052
|
-
case 1:
|
|
16053
|
-
_state.trys.push([
|
|
16054
|
-
1,
|
|
16055
|
-
3,
|
|
16056
|
-
,
|
|
16057
|
-
4
|
|
16058
|
-
]);
|
|
16059
|
-
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
16060
|
-
platform = request.platform || "ios";
|
|
16061
|
-
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/wallet/provision/").concat(platform);
|
|
16062
|
-
params = {
|
|
16063
|
-
body: JSON.stringify(request)
|
|
16064
|
-
};
|
|
16065
|
-
return [
|
|
16066
|
-
4,
|
|
16067
|
-
_this.httpClient.post(path, params)
|
|
16068
|
-
];
|
|
16069
|
-
case 2:
|
|
16070
|
-
result = _state.sent();
|
|
16071
|
-
logInfo("Wallet provisioning requested successfully", {
|
|
16072
|
-
platform: platform,
|
|
16073
|
-
adapter: "RestWlaService"
|
|
16074
|
-
});
|
|
16075
|
-
return [
|
|
16076
|
-
2,
|
|
16077
|
-
result
|
|
16078
|
-
];
|
|
16079
|
-
case 3:
|
|
16080
|
-
error2 = _state.sent();
|
|
16081
|
-
logInfo("[ERROR] Unable to request wallet provisioning", {
|
|
16082
|
-
error: error2,
|
|
16083
|
-
adapter: "RestWlaService"
|
|
16084
|
-
});
|
|
16085
|
-
throw new MqSDKError("Unable to request wallet provisioning", error2);
|
|
16086
|
-
case 4:
|
|
16087
|
-
return [
|
|
16088
|
-
2
|
|
16089
|
-
];
|
|
16090
|
-
}
|
|
16091
|
-
});
|
|
16092
|
-
})();
|
|
16093
|
-
}
|
|
16094
16075
|
}
|
|
16095
16076
|
]);
|
|
16096
16077
|
return _RestWlaService;
|
|
@@ -17792,116 +17773,16 @@ function _updateDevicePushNotificationsRegistration() {
|
|
|
17792
17773
|
return _updateDevicePushNotificationsRegistration.apply(this, arguments);
|
|
17793
17774
|
}
|
|
17794
17775
|
__name(updateDevicePushNotificationsRegistration, "updateDevicePushNotificationsRegistration");
|
|
17795
|
-
|
|
17796
|
-
|
|
17797
|
-
|
|
17798
|
-
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
logDebug("Get Card eligibility");
|
|
17806
|
-
_state.label = 1;
|
|
17807
|
-
case 1:
|
|
17808
|
-
_state.trys.push([
|
|
17809
|
-
1,
|
|
17810
|
-
3,
|
|
17811
|
-
,
|
|
17812
|
-
4
|
|
17813
|
-
]);
|
|
17814
|
-
container2 = getActiveIocContainer();
|
|
17815
|
-
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
17816
|
-
return [
|
|
17817
|
-
4,
|
|
17818
|
-
wlaService.getCardEligibility(request)
|
|
17819
|
-
];
|
|
17820
|
-
case 2:
|
|
17821
|
-
return [
|
|
17822
|
-
2,
|
|
17823
|
-
_state.sent()
|
|
17824
|
-
];
|
|
17825
|
-
case 3:
|
|
17826
|
-
error2 = _state.sent();
|
|
17827
|
-
logInfo("[ERROR] Failed to get card eligibility", {
|
|
17828
|
-
error: error2,
|
|
17829
|
-
interactor: "getCardEligibility"
|
|
17830
|
-
});
|
|
17831
|
-
throw error2;
|
|
17832
|
-
case 4:
|
|
17833
|
-
return [
|
|
17834
|
-
2
|
|
17835
|
-
];
|
|
17836
|
-
}
|
|
17837
|
-
});
|
|
17838
|
-
});
|
|
17839
|
-
return _getCardEligibility.apply(this, arguments);
|
|
17840
|
-
}
|
|
17841
|
-
__name(getCardEligibility, "getCardEligibility");
|
|
17842
|
-
function postProvisionWallet(request) {
|
|
17843
|
-
return _postProvisionWallet.apply(this, arguments);
|
|
17844
|
-
}
|
|
17845
|
-
function _postProvisionWallet() {
|
|
17846
|
-
_postProvisionWallet = // src/wla/base/interactors/postProvisionWallet.ts
|
|
17847
|
-
_async_to_generator(function(request) {
|
|
17848
|
-
var container2, wlaService, result, error2;
|
|
17849
|
-
return _ts_generator(this, function(_state) {
|
|
17850
|
-
switch(_state.label){
|
|
17851
|
-
case 0:
|
|
17852
|
-
logDebug("Requesting wallet provisioning", {
|
|
17853
|
-
interactor: "postProvisionWallet"
|
|
17854
|
-
});
|
|
17855
|
-
_state.label = 1;
|
|
17856
|
-
case 1:
|
|
17857
|
-
_state.trys.push([
|
|
17858
|
-
1,
|
|
17859
|
-
3,
|
|
17860
|
-
,
|
|
17861
|
-
4
|
|
17862
|
-
]);
|
|
17863
|
-
container2 = getActiveIocContainer();
|
|
17864
|
-
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
17865
|
-
return [
|
|
17866
|
-
4,
|
|
17867
|
-
wlaService.postRequestWalletProvisioning(request)
|
|
17868
|
-
];
|
|
17869
|
-
case 2:
|
|
17870
|
-
result = _state.sent();
|
|
17871
|
-
logInfo("Wallet provisioning requested successfully", {
|
|
17872
|
-
interactor: "postProvisionWallet"
|
|
17873
|
-
});
|
|
17874
|
-
return [
|
|
17875
|
-
2,
|
|
17876
|
-
result
|
|
17877
|
-
];
|
|
17878
|
-
case 3:
|
|
17879
|
-
error2 = _state.sent();
|
|
17880
|
-
logInfo("[ERROR] Failed to request wallet provisioning", {
|
|
17881
|
-
error: error2,
|
|
17882
|
-
interactor: "postProvisionWallet"
|
|
17883
|
-
});
|
|
17884
|
-
throw error2;
|
|
17885
|
-
case 4:
|
|
17886
|
-
return [
|
|
17887
|
-
2
|
|
17888
|
-
];
|
|
17889
|
-
}
|
|
17890
|
-
});
|
|
17891
|
-
});
|
|
17892
|
-
return _postProvisionWallet.apply(this, arguments);
|
|
17893
|
-
}
|
|
17894
|
-
__name(postProvisionWallet, "postProvisionWallet");
|
|
17895
|
-
// src/wla/ioc/WlaIocModule.ts
|
|
17896
|
-
var WlaIocModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
17897
|
-
bind(ITF_WLA_SERVICE).to(RestWlaService).inSingletonScope();
|
|
17898
|
-
});
|
|
17899
|
-
// src/accounts/base/repositories/MockAccountRepository.ts
|
|
17900
|
-
function _ts_decorate38(decorators, target, key, desc) {
|
|
17901
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17902
|
-
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17903
|
-
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17904
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17776
|
+
// src/wla/ioc/WlaIocModule.ts
|
|
17777
|
+
var WlaIocModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
17778
|
+
bind(ITF_WLA_SERVICE).to(RestWlaService).inSingletonScope();
|
|
17779
|
+
});
|
|
17780
|
+
// src/accounts/base/repositories/MockAccountRepository.ts
|
|
17781
|
+
function _ts_decorate38(decorators, target, key, desc) {
|
|
17782
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17783
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17784
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17785
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17905
17786
|
}
|
|
17906
17787
|
__name(_ts_decorate38, "_ts_decorate");
|
|
17907
17788
|
var TEST_USER_TOKEN = "test-user-token";
|
|
@@ -17927,6 +17808,7 @@ var TEST_INTEREST_TIERS = {
|
|
|
17927
17808
|
type: InterestTierResponseTypeEnum.Savings,
|
|
17928
17809
|
current_rate: {
|
|
17929
17810
|
account_rate: 4.25,
|
|
17811
|
+
effective_rate: 4.25,
|
|
17930
17812
|
effective_date: "2026-01-01",
|
|
17931
17813
|
created_time: "2025-12-15T10:00:00Z",
|
|
17932
17814
|
updated_time: "2025-12-15T10:00:00Z"
|
|
@@ -17941,6 +17823,7 @@ var TEST_INTEREST_TIERS = {
|
|
|
17941
17823
|
type: InterestTierResponseTypeEnum.Checking,
|
|
17942
17824
|
current_rate: {
|
|
17943
17825
|
account_rate: 0.5,
|
|
17826
|
+
effective_rate: 0.5,
|
|
17944
17827
|
effective_date: "2026-01-01",
|
|
17945
17828
|
created_time: "2025-12-15T10:00:00Z",
|
|
17946
17829
|
updated_time: "2025-12-15T10:00:00Z"
|
|
@@ -18006,10 +17889,29 @@ var _MockAccountRepository = /*#__PURE__*/ function() {
|
|
|
18006
17889
|
]);
|
|
18007
17890
|
__publicField(this, "_userAccountsListResponse", TEST_USER_ACCOUNTS);
|
|
18008
17891
|
__publicField(this, "_interestTiersResponse", TEST_INTEREST_TIERS);
|
|
18009
|
-
__publicField(this, "
|
|
18010
|
-
|
|
18011
|
-
|
|
18012
|
-
|
|
17892
|
+
__publicField(this, "_saveConsentsResponse", {
|
|
17893
|
+
consents: [
|
|
17894
|
+
{
|
|
17895
|
+
token: "consent-token-001",
|
|
17896
|
+
type: "SAVINGS_BOX",
|
|
17897
|
+
status: "ACCEPTED",
|
|
17898
|
+
status_date: "2026-01-01T00:00:00Z"
|
|
17899
|
+
}
|
|
17900
|
+
],
|
|
17901
|
+
message: "Consents saved successfully"
|
|
17902
|
+
});
|
|
17903
|
+
__publicField(this, "_createAccountResponse", {
|
|
17904
|
+
token: "account-token-001",
|
|
17905
|
+
type: "SAVINGS",
|
|
17906
|
+
status: "PENDING"
|
|
17907
|
+
});
|
|
17908
|
+
__publicField(this, "_disclosureDocsResponse", {
|
|
17909
|
+
savingsBox: [
|
|
17910
|
+
{
|
|
17911
|
+
date: "2026-01-22",
|
|
17912
|
+
url: "https://www.example.com"
|
|
17913
|
+
}
|
|
17914
|
+
]
|
|
18013
17915
|
});
|
|
18014
17916
|
}
|
|
18015
17917
|
_create_class(_MockAccountRepository, [
|
|
@@ -18044,9 +17946,21 @@ var _MockAccountRepository = /*#__PURE__*/ function() {
|
|
|
18044
17946
|
}
|
|
18045
17947
|
},
|
|
18046
17948
|
{
|
|
18047
|
-
key: "
|
|
18048
|
-
value: function
|
|
18049
|
-
this.
|
|
17949
|
+
key: "setSaveConsentsResponse",
|
|
17950
|
+
value: function setSaveConsentsResponse(response) {
|
|
17951
|
+
this._saveConsentsResponse = response;
|
|
17952
|
+
}
|
|
17953
|
+
},
|
|
17954
|
+
{
|
|
17955
|
+
key: "setCreateAccountResponse",
|
|
17956
|
+
value: function setCreateAccountResponse(response) {
|
|
17957
|
+
this._createAccountResponse = response;
|
|
17958
|
+
}
|
|
17959
|
+
},
|
|
17960
|
+
{
|
|
17961
|
+
key: "setDisclosureDocsResponse",
|
|
17962
|
+
value: function setDisclosureDocsResponse(response) {
|
|
17963
|
+
this._disclosureDocsResponse = response;
|
|
18050
17964
|
}
|
|
18051
17965
|
},
|
|
18052
17966
|
{
|
|
@@ -18150,17 +18064,51 @@ var _MockAccountRepository = /*#__PURE__*/ function() {
|
|
|
18150
18064
|
}
|
|
18151
18065
|
},
|
|
18152
18066
|
{
|
|
18153
|
-
key: "
|
|
18154
|
-
value: function
|
|
18067
|
+
key: "saveUserConsents",
|
|
18068
|
+
value: function saveUserConsents(request) {
|
|
18069
|
+
var _this = this;
|
|
18070
|
+
return _async_to_generator(function() {
|
|
18071
|
+
return _ts_generator(this, function(_state) {
|
|
18072
|
+
if (_instanceof(_this._saveConsentsResponse, Error)) {
|
|
18073
|
+
throw _this._saveConsentsResponse;
|
|
18074
|
+
}
|
|
18075
|
+
return [
|
|
18076
|
+
2,
|
|
18077
|
+
_this._saveConsentsResponse
|
|
18078
|
+
];
|
|
18079
|
+
});
|
|
18080
|
+
})();
|
|
18081
|
+
}
|
|
18082
|
+
},
|
|
18083
|
+
{
|
|
18084
|
+
key: "createAccount",
|
|
18085
|
+
value: function createAccount(request) {
|
|
18086
|
+
var _this = this;
|
|
18087
|
+
return _async_to_generator(function() {
|
|
18088
|
+
return _ts_generator(this, function(_state) {
|
|
18089
|
+
if (_instanceof(_this._createAccountResponse, Error)) {
|
|
18090
|
+
throw _this._createAccountResponse;
|
|
18091
|
+
}
|
|
18092
|
+
return [
|
|
18093
|
+
2,
|
|
18094
|
+
_this._createAccountResponse
|
|
18095
|
+
];
|
|
18096
|
+
});
|
|
18097
|
+
})();
|
|
18098
|
+
}
|
|
18099
|
+
},
|
|
18100
|
+
{
|
|
18101
|
+
key: "getDisclosureDocs",
|
|
18102
|
+
value: function getDisclosureDocs() {
|
|
18155
18103
|
var _this = this;
|
|
18156
18104
|
return _async_to_generator(function() {
|
|
18157
18105
|
return _ts_generator(this, function(_state) {
|
|
18158
|
-
if (_instanceof(_this.
|
|
18159
|
-
throw _this.
|
|
18106
|
+
if (_instanceof(_this._disclosureDocsResponse, Error)) {
|
|
18107
|
+
throw _this._disclosureDocsResponse;
|
|
18160
18108
|
}
|
|
18161
18109
|
return [
|
|
18162
18110
|
2,
|
|
18163
|
-
_this.
|
|
18111
|
+
_this._disclosureDocsResponse
|
|
18164
18112
|
];
|
|
18165
18113
|
});
|
|
18166
18114
|
})();
|
|
@@ -18543,15 +18491,68 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
18543
18491
|
}
|
|
18544
18492
|
},
|
|
18545
18493
|
{
|
|
18546
|
-
key: "
|
|
18547
|
-
value: function
|
|
18494
|
+
key: "saveUserConsents",
|
|
18495
|
+
value: function saveUserConsents(request) {
|
|
18496
|
+
var _this = this;
|
|
18497
|
+
return _async_to_generator(function() {
|
|
18498
|
+
var cuiApiBaseUrl, path, data, err;
|
|
18499
|
+
return _ts_generator(this, function(_state) {
|
|
18500
|
+
switch(_state.label){
|
|
18501
|
+
case 0:
|
|
18502
|
+
logDebug("Saving user consents", {
|
|
18503
|
+
adapter: "RestAccountRepository"
|
|
18504
|
+
});
|
|
18505
|
+
_state.label = 1;
|
|
18506
|
+
case 1:
|
|
18507
|
+
_state.trys.push([
|
|
18508
|
+
1,
|
|
18509
|
+
3,
|
|
18510
|
+
,
|
|
18511
|
+
4
|
|
18512
|
+
]);
|
|
18513
|
+
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
18514
|
+
path = "".concat(cuiApiBaseUrl, "/api/v2/users/consents");
|
|
18515
|
+
return [
|
|
18516
|
+
4,
|
|
18517
|
+
_this.httpClient.post(path, {
|
|
18518
|
+
body: JSON.stringify(request)
|
|
18519
|
+
})
|
|
18520
|
+
];
|
|
18521
|
+
case 2:
|
|
18522
|
+
data = _state.sent();
|
|
18523
|
+
logInfo("User consents saved successfully", {
|
|
18524
|
+
adapter: "RestAccountRepository"
|
|
18525
|
+
});
|
|
18526
|
+
return [
|
|
18527
|
+
2,
|
|
18528
|
+
data
|
|
18529
|
+
];
|
|
18530
|
+
case 3:
|
|
18531
|
+
err = _state.sent();
|
|
18532
|
+
logInfo("[ERROR] Unable to save user consents", {
|
|
18533
|
+
err: err,
|
|
18534
|
+
adapter: "RestAccountRepository"
|
|
18535
|
+
});
|
|
18536
|
+
throw new MqSDKError("Unable to save user consents", err);
|
|
18537
|
+
case 4:
|
|
18538
|
+
return [
|
|
18539
|
+
2
|
|
18540
|
+
];
|
|
18541
|
+
}
|
|
18542
|
+
});
|
|
18543
|
+
})();
|
|
18544
|
+
}
|
|
18545
|
+
},
|
|
18546
|
+
{
|
|
18547
|
+
key: "createAccount",
|
|
18548
|
+
value: function createAccount(request) {
|
|
18548
18549
|
var _this = this;
|
|
18549
18550
|
return _async_to_generator(function() {
|
|
18550
18551
|
var cuiApiBaseUrl, path, data, err;
|
|
18551
18552
|
return _ts_generator(this, function(_state) {
|
|
18552
18553
|
switch(_state.label){
|
|
18553
18554
|
case 0:
|
|
18554
|
-
logDebug("Creating
|
|
18555
|
+
logDebug("Creating account", {
|
|
18555
18556
|
adapter: "RestAccountRepository"
|
|
18556
18557
|
});
|
|
18557
18558
|
_state.label = 1;
|
|
@@ -18563,7 +18564,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
18563
18564
|
4
|
|
18564
18565
|
]);
|
|
18565
18566
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
18566
|
-
path = "".concat(cuiApiBaseUrl, "/api/v2/users/
|
|
18567
|
+
path = "".concat(cuiApiBaseUrl, "/api/v2/users/accounts");
|
|
18567
18568
|
return [
|
|
18568
18569
|
4,
|
|
18569
18570
|
_this.httpClient.post(path, {
|
|
@@ -18572,7 +18573,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
18572
18573
|
];
|
|
18573
18574
|
case 2:
|
|
18574
18575
|
data = _state.sent();
|
|
18575
|
-
logInfo("
|
|
18576
|
+
logInfo("Account created successfully", {
|
|
18576
18577
|
status: data.status,
|
|
18577
18578
|
adapter: "RestAccountRepository"
|
|
18578
18579
|
});
|
|
@@ -18582,11 +18583,62 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
18582
18583
|
];
|
|
18583
18584
|
case 3:
|
|
18584
18585
|
err = _state.sent();
|
|
18585
|
-
logInfo("[ERROR] Unable to create
|
|
18586
|
+
logInfo("[ERROR] Unable to create account", {
|
|
18587
|
+
err: err,
|
|
18588
|
+
adapter: "RestAccountRepository"
|
|
18589
|
+
});
|
|
18590
|
+
throw new MqSDKError("Unable to create account", err);
|
|
18591
|
+
case 4:
|
|
18592
|
+
return [
|
|
18593
|
+
2
|
|
18594
|
+
];
|
|
18595
|
+
}
|
|
18596
|
+
});
|
|
18597
|
+
})();
|
|
18598
|
+
}
|
|
18599
|
+
},
|
|
18600
|
+
{
|
|
18601
|
+
key: "getDisclosureDocs",
|
|
18602
|
+
value: function getDisclosureDocs() {
|
|
18603
|
+
var _this = this;
|
|
18604
|
+
return _async_to_generator(function() {
|
|
18605
|
+
var cuiApiBaseUrl, path, data, err;
|
|
18606
|
+
return _ts_generator(this, function(_state) {
|
|
18607
|
+
switch(_state.label){
|
|
18608
|
+
case 0:
|
|
18609
|
+
logDebug("Getting disclosure docs", {
|
|
18610
|
+
adapter: "RestAccountRepository"
|
|
18611
|
+
});
|
|
18612
|
+
_state.label = 1;
|
|
18613
|
+
case 1:
|
|
18614
|
+
_state.trys.push([
|
|
18615
|
+
1,
|
|
18616
|
+
3,
|
|
18617
|
+
,
|
|
18618
|
+
4
|
|
18619
|
+
]);
|
|
18620
|
+
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
18621
|
+
path = "".concat(cuiApiBaseUrl, "/api/v2/users/disclosures/docs");
|
|
18622
|
+
return [
|
|
18623
|
+
4,
|
|
18624
|
+
_this.httpClient.get(path)
|
|
18625
|
+
];
|
|
18626
|
+
case 2:
|
|
18627
|
+
data = _state.sent();
|
|
18628
|
+
logInfo("Disclosure docs retrieved successfully", {
|
|
18629
|
+
adapter: "RestAccountRepository"
|
|
18630
|
+
});
|
|
18631
|
+
return [
|
|
18632
|
+
2,
|
|
18633
|
+
data
|
|
18634
|
+
];
|
|
18635
|
+
case 3:
|
|
18636
|
+
err = _state.sent();
|
|
18637
|
+
logInfo("[ERROR] Unable to retrieve disclosure docs", {
|
|
18586
18638
|
err: err,
|
|
18587
18639
|
adapter: "RestAccountRepository"
|
|
18588
18640
|
});
|
|
18589
|
-
throw new MqSDKError("Unable to
|
|
18641
|
+
throw new MqSDKError("Unable to retrieve disclosure docs", err);
|
|
18590
18642
|
case 4:
|
|
18591
18643
|
return [
|
|
18592
18644
|
2
|
|
@@ -18903,7 +18955,7 @@ var mswAccountHandlers = [
|
|
|
18903
18955
|
}
|
|
18904
18956
|
return HttpResponse.json(TEST_INTEREST_TIERS);
|
|
18905
18957
|
}),
|
|
18906
|
-
http.post("".concat(mockMode_exports.CUI_API_BASE_URL, "/api/v2/users/
|
|
18958
|
+
http.post("".concat(mockMode_exports.CUI_API_BASE_URL, "/api/v2/users/consents"), function(param) {
|
|
18907
18959
|
var request = param.request;
|
|
18908
18960
|
var authorization = request.headers.get("authorization");
|
|
18909
18961
|
var _$_optionalChain = _sliced_to_array(_optionalChain([
|
|
@@ -18924,13 +18976,82 @@ var mswAccountHandlers = [
|
|
|
18924
18976
|
});
|
|
18925
18977
|
}
|
|
18926
18978
|
var response = {
|
|
18927
|
-
|
|
18928
|
-
|
|
18929
|
-
|
|
18979
|
+
consents: [
|
|
18980
|
+
{
|
|
18981
|
+
token: "consent-token-001",
|
|
18982
|
+
type: "SAVINGS_BOX",
|
|
18983
|
+
status: "ACCEPTED",
|
|
18984
|
+
status_date: "2026-01-01T00:00:00Z"
|
|
18985
|
+
}
|
|
18986
|
+
],
|
|
18987
|
+
message: "Consents saved successfully"
|
|
18930
18988
|
};
|
|
18931
18989
|
return HttpResponse.json(response, {
|
|
18932
18990
|
status: 201
|
|
18933
18991
|
});
|
|
18992
|
+
}),
|
|
18993
|
+
http.post("".concat(mockMode_exports.CUI_API_BASE_URL, "/api/v2/users/accounts"), function(param) {
|
|
18994
|
+
var request = param.request;
|
|
18995
|
+
var authorization = request.headers.get("authorization");
|
|
18996
|
+
var _$_optionalChain = _sliced_to_array(_optionalChain([
|
|
18997
|
+
authorization,
|
|
18998
|
+
'optionalAccess',
|
|
18999
|
+
function(_84) {
|
|
19000
|
+
return _84.split;
|
|
19001
|
+
},
|
|
19002
|
+
'call',
|
|
19003
|
+
function(_85) {
|
|
19004
|
+
return _85(" ");
|
|
19005
|
+
}
|
|
19006
|
+
]), 2), _ = _$_optionalChain[0], token = _$_optionalChain[1];
|
|
19007
|
+
if (token === "invalid-token") {
|
|
19008
|
+
return new HttpResponse(null, {
|
|
19009
|
+
status: 401,
|
|
19010
|
+
statusText: "Unauthorized"
|
|
19011
|
+
});
|
|
19012
|
+
}
|
|
19013
|
+
var response = {
|
|
19014
|
+
token: "account-token-456",
|
|
19015
|
+
type: "SAVINGS",
|
|
19016
|
+
status: "PENDING"
|
|
19017
|
+
};
|
|
19018
|
+
return HttpResponse.json(response, {
|
|
19019
|
+
status: 202
|
|
19020
|
+
});
|
|
19021
|
+
}),
|
|
19022
|
+
http.get("".concat(mockMode_exports.CUI_API_BASE_URL, "/api/v2/users/disclosures/docs"), function(param) {
|
|
19023
|
+
var request = param.request;
|
|
19024
|
+
var authorization = request.headers.get("authorization");
|
|
19025
|
+
var _$_optionalChain = _sliced_to_array(_optionalChain([
|
|
19026
|
+
authorization,
|
|
19027
|
+
'optionalAccess',
|
|
19028
|
+
function(_86) {
|
|
19029
|
+
return _86.split;
|
|
19030
|
+
},
|
|
19031
|
+
'call',
|
|
19032
|
+
function(_87) {
|
|
19033
|
+
return _87(" ");
|
|
19034
|
+
}
|
|
19035
|
+
]), 2), _ = _$_optionalChain[0], token = _$_optionalChain[1];
|
|
19036
|
+
if (token === "invalid-token") {
|
|
19037
|
+
return new HttpResponse(null, {
|
|
19038
|
+
status: 401,
|
|
19039
|
+
statusText: "Unauthorized"
|
|
19040
|
+
});
|
|
19041
|
+
}
|
|
19042
|
+
var response = {
|
|
19043
|
+
savingsBox: [
|
|
19044
|
+
{
|
|
19045
|
+
date: "2026-01-22",
|
|
19046
|
+
url: "https://www.example.com"
|
|
19047
|
+
},
|
|
19048
|
+
{
|
|
19049
|
+
date: "2026-05-10",
|
|
19050
|
+
url: "https://www.example.com"
|
|
19051
|
+
}
|
|
19052
|
+
]
|
|
19053
|
+
};
|
|
19054
|
+
return HttpResponse.json(response);
|
|
18934
19055
|
})
|
|
18935
19056
|
];
|
|
18936
19057
|
// src/analytics/ioc/symbols.ts
|
|
@@ -20781,12 +20902,12 @@ var _RestComponentsRepository = /*#__PURE__*/ function() {
|
|
|
20781
20902
|
componentCount: _optionalChain([
|
|
20782
20903
|
data,
|
|
20783
20904
|
'access',
|
|
20784
|
-
function(
|
|
20785
|
-
return
|
|
20905
|
+
function(_88) {
|
|
20906
|
+
return _88.components;
|
|
20786
20907
|
},
|
|
20787
20908
|
'optionalAccess',
|
|
20788
|
-
function(
|
|
20789
|
-
return
|
|
20909
|
+
function(_89) {
|
|
20910
|
+
return _89.length;
|
|
20790
20911
|
}
|
|
20791
20912
|
]) || 0,
|
|
20792
20913
|
adapter: "RestComponentsRepository"
|
|
@@ -21312,16 +21433,16 @@ function _retrieveDocumentForDispute() {
|
|
|
21312
21433
|
documentCount: _optionalChain([
|
|
21313
21434
|
result,
|
|
21314
21435
|
'access',
|
|
21315
|
-
function(
|
|
21316
|
-
return
|
|
21436
|
+
function(_90) {
|
|
21437
|
+
return _90.data;
|
|
21317
21438
|
},
|
|
21318
21439
|
'optionalAccess',
|
|
21319
|
-
function(
|
|
21320
|
-
return
|
|
21440
|
+
function(_91) {
|
|
21441
|
+
return _91.documents;
|
|
21321
21442
|
},
|
|
21322
21443
|
'optionalAccess',
|
|
21323
|
-
function(
|
|
21324
|
-
return
|
|
21444
|
+
function(_92) {
|
|
21445
|
+
return _92.length;
|
|
21325
21446
|
}
|
|
21326
21447
|
]) || 0,
|
|
21327
21448
|
interactor: "retrieveDocumentForDispute"
|
|
@@ -22177,12 +22298,12 @@ var _RestDisputeRepository = /*#__PURE__*/ function() {
|
|
|
22177
22298
|
stepCount: _optionalChain([
|
|
22178
22299
|
result,
|
|
22179
22300
|
'access',
|
|
22180
|
-
function(
|
|
22181
|
-
return
|
|
22301
|
+
function(_93) {
|
|
22302
|
+
return _93.steps;
|
|
22182
22303
|
},
|
|
22183
22304
|
'optionalAccess',
|
|
22184
|
-
function(
|
|
22185
|
-
return
|
|
22305
|
+
function(_94) {
|
|
22306
|
+
return _94.length;
|
|
22186
22307
|
}
|
|
22187
22308
|
]),
|
|
22188
22309
|
adapter: "RestDisputeRepository"
|
|
@@ -22503,16 +22624,16 @@ var _RestDisputeRepository = /*#__PURE__*/ function() {
|
|
|
22503
22624
|
documentCount: _optionalChain([
|
|
22504
22625
|
result,
|
|
22505
22626
|
'access',
|
|
22506
|
-
function(
|
|
22507
|
-
return
|
|
22627
|
+
function(_95) {
|
|
22628
|
+
return _95.data;
|
|
22508
22629
|
},
|
|
22509
22630
|
'optionalAccess',
|
|
22510
|
-
function(
|
|
22511
|
-
return
|
|
22631
|
+
function(_96) {
|
|
22632
|
+
return _96.documents;
|
|
22512
22633
|
},
|
|
22513
22634
|
'optionalAccess',
|
|
22514
|
-
function(
|
|
22515
|
-
return
|
|
22635
|
+
function(_97) {
|
|
22636
|
+
return _97.length;
|
|
22516
22637
|
}
|
|
22517
22638
|
]),
|
|
22518
22639
|
adapter: "RestDisputeRepository"
|
|
@@ -22677,65 +22798,65 @@ var mswDisputesHandlers = [
|
|
|
22677
22798
|
var initalQnAns = _optionalChain([
|
|
22678
22799
|
CUR_STEP1_RESPONSE,
|
|
22679
22800
|
'access',
|
|
22680
|
-
function(
|
|
22681
|
-
return
|
|
22801
|
+
function(_98) {
|
|
22802
|
+
return _98.defaultValues;
|
|
22682
22803
|
},
|
|
22683
22804
|
'optionalAccess',
|
|
22684
|
-
function(
|
|
22685
|
-
return
|
|
22805
|
+
function(_99) {
|
|
22806
|
+
return _99["Q-INITIAL-QUESTION"];
|
|
22686
22807
|
}
|
|
22687
22808
|
]);
|
|
22688
22809
|
if (initalQnAns) {
|
|
22689
22810
|
var initalQnReadableAns = _optionalChain([
|
|
22690
22811
|
CUR_STEP1_RESPONSE,
|
|
22691
22812
|
'access',
|
|
22692
|
-
function(
|
|
22693
|
-
return
|
|
22813
|
+
function(_100) {
|
|
22814
|
+
return _100.schema;
|
|
22694
22815
|
},
|
|
22695
22816
|
'optionalAccess',
|
|
22696
|
-
function(
|
|
22697
|
-
return
|
|
22817
|
+
function(_101) {
|
|
22818
|
+
return _101.properties;
|
|
22698
22819
|
},
|
|
22699
22820
|
'optionalAccess',
|
|
22700
|
-
function(
|
|
22701
|
-
return
|
|
22821
|
+
function(_102) {
|
|
22822
|
+
return _102["Q-INITIAL-QUESTION"];
|
|
22702
22823
|
},
|
|
22703
22824
|
'optionalAccess',
|
|
22704
|
-
function(
|
|
22705
|
-
return
|
|
22825
|
+
function(_103) {
|
|
22826
|
+
return _103.oneOf;
|
|
22706
22827
|
},
|
|
22707
22828
|
'optionalAccess',
|
|
22708
|
-
function(
|
|
22709
|
-
return
|
|
22829
|
+
function(_104) {
|
|
22830
|
+
return _104.find;
|
|
22710
22831
|
},
|
|
22711
22832
|
'call',
|
|
22712
|
-
function(
|
|
22713
|
-
return
|
|
22833
|
+
function(_105) {
|
|
22834
|
+
return _105(function(val) {
|
|
22714
22835
|
return val.const === initalQnAns;
|
|
22715
22836
|
});
|
|
22716
22837
|
},
|
|
22717
22838
|
'optionalAccess',
|
|
22718
|
-
function(
|
|
22719
|
-
return
|
|
22839
|
+
function(_106) {
|
|
22840
|
+
return _106.title;
|
|
22720
22841
|
}
|
|
22721
22842
|
]);
|
|
22722
22843
|
var initialQuestion = _optionalChain([
|
|
22723
22844
|
CUR_STEP1_RESPONSE,
|
|
22724
22845
|
'access',
|
|
22725
|
-
function(
|
|
22726
|
-
return
|
|
22846
|
+
function(_107) {
|
|
22847
|
+
return _107.schema;
|
|
22727
22848
|
},
|
|
22728
22849
|
'optionalAccess',
|
|
22729
|
-
function(
|
|
22730
|
-
return
|
|
22850
|
+
function(_108) {
|
|
22851
|
+
return _108.properties;
|
|
22731
22852
|
},
|
|
22732
22853
|
'optionalAccess',
|
|
22733
|
-
function(
|
|
22734
|
-
return
|
|
22854
|
+
function(_109) {
|
|
22855
|
+
return _109["Q-INITIAL-QUESTION"];
|
|
22735
22856
|
},
|
|
22736
22857
|
'optionalAccess',
|
|
22737
|
-
function(
|
|
22738
|
-
return
|
|
22858
|
+
function(_110) {
|
|
22859
|
+
return _110.title;
|
|
22739
22860
|
}
|
|
22740
22861
|
]);
|
|
22741
22862
|
if (initialQuestion && initalQnReadableAns) {
|
|
@@ -22751,64 +22872,64 @@ var mswDisputesHandlers = [
|
|
|
22751
22872
|
var fraudQnAns = _optionalChain([
|
|
22752
22873
|
CUR_FRAUD_STEP_RESPONSE,
|
|
22753
22874
|
'access',
|
|
22754
|
-
function(
|
|
22755
|
-
return
|
|
22875
|
+
function(_111) {
|
|
22876
|
+
return _111.defaultValues;
|
|
22756
22877
|
},
|
|
22757
22878
|
'optionalAccess',
|
|
22758
|
-
function(
|
|
22759
|
-
return
|
|
22879
|
+
function(_112) {
|
|
22880
|
+
return _112["Q-card-with-user"];
|
|
22760
22881
|
}
|
|
22761
22882
|
]);
|
|
22762
22883
|
var fraudQnReadableAns = _optionalChain([
|
|
22763
22884
|
CUR_FRAUD_STEP_RESPONSE,
|
|
22764
22885
|
'access',
|
|
22765
|
-
function(
|
|
22766
|
-
return
|
|
22886
|
+
function(_113) {
|
|
22887
|
+
return _113.schema;
|
|
22767
22888
|
},
|
|
22768
22889
|
'optionalAccess',
|
|
22769
|
-
function(
|
|
22770
|
-
return
|
|
22890
|
+
function(_114) {
|
|
22891
|
+
return _114.properties;
|
|
22771
22892
|
},
|
|
22772
22893
|
'optionalAccess',
|
|
22773
|
-
function(
|
|
22774
|
-
return
|
|
22894
|
+
function(_115) {
|
|
22895
|
+
return _115["Q-card-with-user"];
|
|
22775
22896
|
},
|
|
22776
22897
|
'optionalAccess',
|
|
22777
|
-
function(
|
|
22778
|
-
return
|
|
22898
|
+
function(_116) {
|
|
22899
|
+
return _116.oneOf;
|
|
22779
22900
|
},
|
|
22780
22901
|
'optionalAccess',
|
|
22781
|
-
function(
|
|
22782
|
-
return
|
|
22902
|
+
function(_117) {
|
|
22903
|
+
return _117.find;
|
|
22783
22904
|
},
|
|
22784
22905
|
'call',
|
|
22785
|
-
function(
|
|
22786
|
-
return
|
|
22906
|
+
function(_118) {
|
|
22907
|
+
return _118(function(val) {
|
|
22787
22908
|
return val.const === fraudQnAns;
|
|
22788
22909
|
});
|
|
22789
22910
|
},
|
|
22790
22911
|
'optionalAccess',
|
|
22791
|
-
function(
|
|
22792
|
-
return
|
|
22912
|
+
function(_119) {
|
|
22913
|
+
return _119.title;
|
|
22793
22914
|
}
|
|
22794
22915
|
]);
|
|
22795
22916
|
var fraudQuestion = _optionalChain([
|
|
22796
22917
|
CUR_FRAUD_STEP_RESPONSE,
|
|
22797
22918
|
'access',
|
|
22798
|
-
function(
|
|
22799
|
-
return
|
|
22919
|
+
function(_120) {
|
|
22920
|
+
return _120.schema;
|
|
22800
22921
|
},
|
|
22801
22922
|
'optionalAccess',
|
|
22802
|
-
function(
|
|
22803
|
-
return
|
|
22923
|
+
function(_121) {
|
|
22924
|
+
return _121.properties;
|
|
22804
22925
|
},
|
|
22805
22926
|
'optionalAccess',
|
|
22806
|
-
function(
|
|
22807
|
-
return
|
|
22927
|
+
function(_122) {
|
|
22928
|
+
return _122["Q-card-with-user"];
|
|
22808
22929
|
},
|
|
22809
22930
|
'optionalAccess',
|
|
22810
|
-
function(
|
|
22811
|
-
return
|
|
22931
|
+
function(_123) {
|
|
22932
|
+
return _123.title;
|
|
22812
22933
|
}
|
|
22813
22934
|
]);
|
|
22814
22935
|
if (fraudQnReadableAns && fraudQuestion) answersForReview.push({
|
|
@@ -22821,64 +22942,64 @@ var mswDisputesHandlers = [
|
|
|
22821
22942
|
var recognizedQnAns = _optionalChain([
|
|
22822
22943
|
CUR_RECOGNIZED_TRANSACTION_RESPONSE,
|
|
22823
22944
|
'access',
|
|
22824
|
-
function(
|
|
22825
|
-
return
|
|
22945
|
+
function(_124) {
|
|
22946
|
+
return _124.defaultValues;
|
|
22826
22947
|
},
|
|
22827
22948
|
'optionalAccess',
|
|
22828
|
-
function(
|
|
22829
|
-
return
|
|
22949
|
+
function(_125) {
|
|
22950
|
+
return _125.Q2;
|
|
22830
22951
|
}
|
|
22831
22952
|
]);
|
|
22832
22953
|
var recognizedQnReadableAns = _optionalChain([
|
|
22833
22954
|
CUR_RECOGNIZED_TRANSACTION_RESPONSE,
|
|
22834
22955
|
'access',
|
|
22835
|
-
function(
|
|
22836
|
-
return
|
|
22956
|
+
function(_126) {
|
|
22957
|
+
return _126.schema;
|
|
22837
22958
|
},
|
|
22838
22959
|
'optionalAccess',
|
|
22839
|
-
function(
|
|
22840
|
-
return
|
|
22960
|
+
function(_127) {
|
|
22961
|
+
return _127.properties;
|
|
22841
22962
|
},
|
|
22842
22963
|
'optionalAccess',
|
|
22843
|
-
function(
|
|
22844
|
-
return
|
|
22964
|
+
function(_128) {
|
|
22965
|
+
return _128.Q2;
|
|
22845
22966
|
},
|
|
22846
22967
|
'optionalAccess',
|
|
22847
|
-
function(
|
|
22848
|
-
return
|
|
22968
|
+
function(_129) {
|
|
22969
|
+
return _129.oneOf;
|
|
22849
22970
|
},
|
|
22850
22971
|
'optionalAccess',
|
|
22851
|
-
function(
|
|
22852
|
-
return
|
|
22972
|
+
function(_130) {
|
|
22973
|
+
return _130.find;
|
|
22853
22974
|
},
|
|
22854
22975
|
'call',
|
|
22855
|
-
function(
|
|
22856
|
-
return
|
|
22976
|
+
function(_131) {
|
|
22977
|
+
return _131(function(val) {
|
|
22857
22978
|
return val.const === recognizedQnAns;
|
|
22858
22979
|
});
|
|
22859
22980
|
},
|
|
22860
22981
|
'optionalAccess',
|
|
22861
|
-
function(
|
|
22862
|
-
return
|
|
22982
|
+
function(_132) {
|
|
22983
|
+
return _132.title;
|
|
22863
22984
|
}
|
|
22864
22985
|
]);
|
|
22865
22986
|
var recognizedQuestion = _optionalChain([
|
|
22866
22987
|
CUR_RECOGNIZED_TRANSACTION_RESPONSE,
|
|
22867
22988
|
'access',
|
|
22868
|
-
function(
|
|
22869
|
-
return
|
|
22989
|
+
function(_133) {
|
|
22990
|
+
return _133.schema;
|
|
22870
22991
|
},
|
|
22871
22992
|
'optionalAccess',
|
|
22872
|
-
function(
|
|
22873
|
-
return
|
|
22993
|
+
function(_134) {
|
|
22994
|
+
return _134.properties;
|
|
22874
22995
|
},
|
|
22875
22996
|
'optionalAccess',
|
|
22876
|
-
function(
|
|
22877
|
-
return
|
|
22997
|
+
function(_135) {
|
|
22998
|
+
return _135.Q2;
|
|
22878
22999
|
},
|
|
22879
23000
|
'optionalAccess',
|
|
22880
|
-
function(
|
|
22881
|
-
return
|
|
23001
|
+
function(_136) {
|
|
23002
|
+
return _136.title;
|
|
22882
23003
|
}
|
|
22883
23004
|
]);
|
|
22884
23005
|
if (recognizedQnReadableAns && recognizedQuestion) {
|
|
@@ -22894,65 +23015,65 @@ var mswDisputesHandlers = [
|
|
|
22894
23015
|
var amountQnAns = _optionalChain([
|
|
22895
23016
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
22896
23017
|
'access',
|
|
22897
|
-
function(
|
|
22898
|
-
return
|
|
23018
|
+
function(_137) {
|
|
23019
|
+
return _137.defaultValues;
|
|
22899
23020
|
},
|
|
22900
23021
|
'optionalAccess',
|
|
22901
|
-
function(
|
|
22902
|
-
return
|
|
23022
|
+
function(_138) {
|
|
23023
|
+
return _138.Q13;
|
|
22903
23024
|
}
|
|
22904
23025
|
]);
|
|
22905
23026
|
if (amountQnAns) {
|
|
22906
23027
|
var amountQnReadableAns = _optionalChain([
|
|
22907
23028
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
22908
23029
|
'access',
|
|
22909
|
-
function(
|
|
22910
|
-
return
|
|
23030
|
+
function(_139) {
|
|
23031
|
+
return _139.schema;
|
|
22911
23032
|
},
|
|
22912
23033
|
'optionalAccess',
|
|
22913
|
-
function(
|
|
22914
|
-
return
|
|
23034
|
+
function(_140) {
|
|
23035
|
+
return _140.properties;
|
|
22915
23036
|
},
|
|
22916
23037
|
'optionalAccess',
|
|
22917
|
-
function(
|
|
22918
|
-
return
|
|
23038
|
+
function(_141) {
|
|
23039
|
+
return _141.Q13;
|
|
22919
23040
|
},
|
|
22920
23041
|
'optionalAccess',
|
|
22921
|
-
function(
|
|
22922
|
-
return
|
|
23042
|
+
function(_142) {
|
|
23043
|
+
return _142.oneOf;
|
|
22923
23044
|
},
|
|
22924
23045
|
'optionalAccess',
|
|
22925
|
-
function(
|
|
22926
|
-
return
|
|
23046
|
+
function(_143) {
|
|
23047
|
+
return _143.find;
|
|
22927
23048
|
},
|
|
22928
23049
|
'call',
|
|
22929
|
-
function(
|
|
22930
|
-
return
|
|
23050
|
+
function(_144) {
|
|
23051
|
+
return _144(function(val) {
|
|
22931
23052
|
return val.const === amountQnAns;
|
|
22932
23053
|
});
|
|
22933
23054
|
},
|
|
22934
23055
|
'optionalAccess',
|
|
22935
|
-
function(
|
|
22936
|
-
return
|
|
23056
|
+
function(_145) {
|
|
23057
|
+
return _145.title;
|
|
22937
23058
|
}
|
|
22938
23059
|
]);
|
|
22939
23060
|
var amountQuestion = _optionalChain([
|
|
22940
23061
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
22941
23062
|
'access',
|
|
22942
|
-
function(
|
|
22943
|
-
return
|
|
23063
|
+
function(_146) {
|
|
23064
|
+
return _146.schema;
|
|
22944
23065
|
},
|
|
22945
23066
|
'optionalAccess',
|
|
22946
|
-
function(
|
|
22947
|
-
return
|
|
23067
|
+
function(_147) {
|
|
23068
|
+
return _147.properties;
|
|
22948
23069
|
},
|
|
22949
23070
|
'optionalAccess',
|
|
22950
|
-
function(
|
|
22951
|
-
return
|
|
23071
|
+
function(_148) {
|
|
23072
|
+
return _148.Q13;
|
|
22952
23073
|
},
|
|
22953
23074
|
'optionalAccess',
|
|
22954
|
-
function(
|
|
22955
|
-
return
|
|
23075
|
+
function(_149) {
|
|
23076
|
+
return _149.title;
|
|
22956
23077
|
}
|
|
22957
23078
|
]);
|
|
22958
23079
|
if (amountQnReadableAns && amountQuestion) {
|
|
@@ -22965,48 +23086,48 @@ var mswDisputesHandlers = [
|
|
|
22965
23086
|
if (_optionalChain([
|
|
22966
23087
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
22967
23088
|
'access',
|
|
22968
|
-
function(
|
|
22969
|
-
return
|
|
23089
|
+
function(_150) {
|
|
23090
|
+
return _150.defaultValues;
|
|
22970
23091
|
},
|
|
22971
23092
|
'optionalAccess',
|
|
22972
|
-
function(
|
|
22973
|
-
return
|
|
23093
|
+
function(_151) {
|
|
23094
|
+
return _151.Q100;
|
|
22974
23095
|
}
|
|
22975
23096
|
])) {
|
|
22976
23097
|
answersForReview.push({
|
|
22977
23098
|
question: _optionalChain([
|
|
22978
23099
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
22979
23100
|
'access',
|
|
22980
|
-
function(
|
|
22981
|
-
return
|
|
23101
|
+
function(_152) {
|
|
23102
|
+
return _152.schema;
|
|
22982
23103
|
},
|
|
22983
23104
|
'optionalAccess',
|
|
22984
|
-
function(
|
|
22985
|
-
return
|
|
23105
|
+
function(_153) {
|
|
23106
|
+
return _153.dependencies;
|
|
22986
23107
|
},
|
|
22987
23108
|
'optionalAccess',
|
|
22988
|
-
function(
|
|
22989
|
-
return
|
|
23109
|
+
function(_154) {
|
|
23110
|
+
return _154.Q13;
|
|
22990
23111
|
},
|
|
22991
23112
|
'optionalAccess',
|
|
22992
|
-
function(
|
|
22993
|
-
return
|
|
23113
|
+
function(_155) {
|
|
23114
|
+
return _155.oneOf;
|
|
22994
23115
|
},
|
|
22995
23116
|
'optionalAccess',
|
|
22996
|
-
function(
|
|
22997
|
-
return
|
|
23117
|
+
function(_156) {
|
|
23118
|
+
return _156[0];
|
|
22998
23119
|
},
|
|
22999
23120
|
'optionalAccess',
|
|
23000
|
-
function(
|
|
23001
|
-
return
|
|
23121
|
+
function(_157) {
|
|
23122
|
+
return _157.properties;
|
|
23002
23123
|
},
|
|
23003
23124
|
'optionalAccess',
|
|
23004
|
-
function(
|
|
23005
|
-
return
|
|
23125
|
+
function(_158) {
|
|
23126
|
+
return _158.Q100;
|
|
23006
23127
|
},
|
|
23007
23128
|
'optionalAccess',
|
|
23008
|
-
function(
|
|
23009
|
-
return
|
|
23129
|
+
function(_159) {
|
|
23130
|
+
return _159.title;
|
|
23010
23131
|
}
|
|
23011
23132
|
]),
|
|
23012
23133
|
answers: [
|
|
@@ -23017,48 +23138,48 @@ var mswDisputesHandlers = [
|
|
|
23017
23138
|
if (_optionalChain([
|
|
23018
23139
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
23019
23140
|
'access',
|
|
23020
|
-
function(
|
|
23021
|
-
return
|
|
23141
|
+
function(_160) {
|
|
23142
|
+
return _160.defaultValues;
|
|
23022
23143
|
},
|
|
23023
23144
|
'optionalAccess',
|
|
23024
|
-
function(
|
|
23025
|
-
return
|
|
23145
|
+
function(_161) {
|
|
23146
|
+
return _161.Q14;
|
|
23026
23147
|
}
|
|
23027
23148
|
])) {
|
|
23028
23149
|
answersForReview.push({
|
|
23029
23150
|
question: _optionalChain([
|
|
23030
23151
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
23031
23152
|
'access',
|
|
23032
|
-
function(
|
|
23033
|
-
return
|
|
23153
|
+
function(_162) {
|
|
23154
|
+
return _162.schema;
|
|
23034
23155
|
},
|
|
23035
23156
|
'optionalAccess',
|
|
23036
|
-
function(
|
|
23037
|
-
return
|
|
23157
|
+
function(_163) {
|
|
23158
|
+
return _163.dependencies;
|
|
23038
23159
|
},
|
|
23039
23160
|
'optionalAccess',
|
|
23040
|
-
function(
|
|
23041
|
-
return
|
|
23161
|
+
function(_164) {
|
|
23162
|
+
return _164.Q13;
|
|
23042
23163
|
},
|
|
23043
23164
|
'optionalAccess',
|
|
23044
|
-
function(
|
|
23045
|
-
return
|
|
23165
|
+
function(_165) {
|
|
23166
|
+
return _165.oneOf;
|
|
23046
23167
|
},
|
|
23047
23168
|
'optionalAccess',
|
|
23048
|
-
function(
|
|
23049
|
-
return
|
|
23169
|
+
function(_166) {
|
|
23170
|
+
return _166[1];
|
|
23050
23171
|
},
|
|
23051
23172
|
'optionalAccess',
|
|
23052
|
-
function(
|
|
23053
|
-
return
|
|
23173
|
+
function(_167) {
|
|
23174
|
+
return _167.properties;
|
|
23054
23175
|
},
|
|
23055
23176
|
'optionalAccess',
|
|
23056
|
-
function(
|
|
23057
|
-
return
|
|
23177
|
+
function(_168) {
|
|
23178
|
+
return _168.Q14;
|
|
23058
23179
|
},
|
|
23059
23180
|
'optionalAccess',
|
|
23060
|
-
function(
|
|
23061
|
-
return
|
|
23181
|
+
function(_169) {
|
|
23182
|
+
return _169.title;
|
|
23062
23183
|
}
|
|
23063
23184
|
]),
|
|
23064
23185
|
answers: [
|
|
@@ -23069,48 +23190,48 @@ var mswDisputesHandlers = [
|
|
|
23069
23190
|
if (_optionalChain([
|
|
23070
23191
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
23071
23192
|
'access',
|
|
23072
|
-
function(
|
|
23073
|
-
return
|
|
23193
|
+
function(_170) {
|
|
23194
|
+
return _170.defaultValues;
|
|
23074
23195
|
},
|
|
23075
23196
|
'optionalAccess',
|
|
23076
|
-
function(
|
|
23077
|
-
return
|
|
23197
|
+
function(_171) {
|
|
23198
|
+
return _171.Q15;
|
|
23078
23199
|
}
|
|
23079
23200
|
])) {
|
|
23080
23201
|
answersForReview.push({
|
|
23081
23202
|
question: _optionalChain([
|
|
23082
23203
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
23083
23204
|
'access',
|
|
23084
|
-
function(
|
|
23085
|
-
return
|
|
23205
|
+
function(_172) {
|
|
23206
|
+
return _172.schema;
|
|
23086
23207
|
},
|
|
23087
23208
|
'optionalAccess',
|
|
23088
|
-
function(
|
|
23089
|
-
return
|
|
23209
|
+
function(_173) {
|
|
23210
|
+
return _173.dependencies;
|
|
23090
23211
|
},
|
|
23091
23212
|
'optionalAccess',
|
|
23092
|
-
function(
|
|
23093
|
-
return
|
|
23213
|
+
function(_174) {
|
|
23214
|
+
return _174.Q13;
|
|
23094
23215
|
},
|
|
23095
23216
|
'optionalAccess',
|
|
23096
|
-
function(
|
|
23097
|
-
return
|
|
23217
|
+
function(_175) {
|
|
23218
|
+
return _175.oneOf;
|
|
23098
23219
|
},
|
|
23099
23220
|
'optionalAccess',
|
|
23100
|
-
function(
|
|
23101
|
-
return
|
|
23221
|
+
function(_176) {
|
|
23222
|
+
return _176[1];
|
|
23102
23223
|
},
|
|
23103
23224
|
'optionalAccess',
|
|
23104
|
-
function(
|
|
23105
|
-
return
|
|
23225
|
+
function(_177) {
|
|
23226
|
+
return _177.properties;
|
|
23106
23227
|
},
|
|
23107
23228
|
'optionalAccess',
|
|
23108
|
-
function(
|
|
23109
|
-
return
|
|
23229
|
+
function(_178) {
|
|
23230
|
+
return _178.Q15;
|
|
23110
23231
|
},
|
|
23111
23232
|
'optionalAccess',
|
|
23112
|
-
function(
|
|
23113
|
-
return
|
|
23233
|
+
function(_179) {
|
|
23234
|
+
return _179.title;
|
|
23114
23235
|
}
|
|
23115
23236
|
]),
|
|
23116
23237
|
answers: [
|
|
@@ -23262,12 +23383,12 @@ var mswDisputesHandlers = [
|
|
|
23262
23383
|
var initialQuestionAnswer = _optionalChain([
|
|
23263
23384
|
CUR_STEP1_RESPONSE,
|
|
23264
23385
|
'access',
|
|
23265
|
-
function(
|
|
23266
|
-
return
|
|
23386
|
+
function(_180) {
|
|
23387
|
+
return _180.defaultValues;
|
|
23267
23388
|
},
|
|
23268
23389
|
'optionalAccess',
|
|
23269
|
-
function(
|
|
23270
|
-
return
|
|
23390
|
+
function(_181) {
|
|
23391
|
+
return _181["Q-INITIAL-QUESTION"];
|
|
23271
23392
|
}
|
|
23272
23393
|
]);
|
|
23273
23394
|
switch(initialQuestionAnswer){
|
|
@@ -24895,14 +25016,14 @@ var _RestKycRepository = /*#__PURE__*/ function() {
|
|
|
24895
25016
|
if (_optionalChain([
|
|
24896
25017
|
error2,
|
|
24897
25018
|
'optionalAccess',
|
|
24898
|
-
function(
|
|
24899
|
-
return
|
|
25019
|
+
function(_182) {
|
|
25020
|
+
return _182.msg;
|
|
24900
25021
|
}
|
|
24901
25022
|
]) && _optionalChain([
|
|
24902
25023
|
error2,
|
|
24903
25024
|
'optionalAccess',
|
|
24904
|
-
function(
|
|
24905
|
-
return
|
|
25025
|
+
function(_183) {
|
|
25026
|
+
return _183.debug;
|
|
24906
25027
|
}
|
|
24907
25028
|
])) {
|
|
24908
25029
|
logInfo("[ERROR] KYC verification failed with standardized error", {
|
|
@@ -24960,12 +25081,12 @@ function _postVerifyKyb() {
|
|
|
24960
25081
|
if (kybVerificationAttributes.locale_code === "INVALID" || !_optionalChain([
|
|
24961
25082
|
kybVerificationAttributes,
|
|
24962
25083
|
'access',
|
|
24963
|
-
function(
|
|
24964
|
-
return
|
|
25084
|
+
function(_184) {
|
|
25085
|
+
return _184.answers;
|
|
24965
25086
|
},
|
|
24966
25087
|
'optionalAccess',
|
|
24967
|
-
function(
|
|
24968
|
-
return
|
|
25088
|
+
function(_185) {
|
|
25089
|
+
return _185.length;
|
|
24969
25090
|
}
|
|
24970
25091
|
])) {
|
|
24971
25092
|
logInfo("[ERROR] Invalid KYB request - invalid locale or no answers", {
|
|
@@ -24977,16 +25098,16 @@ function _postVerifyKyb() {
|
|
|
24977
25098
|
hasErrorValue = _optionalChain([
|
|
24978
25099
|
kybVerificationAttributes,
|
|
24979
25100
|
'access',
|
|
24980
|
-
function(
|
|
24981
|
-
return
|
|
25101
|
+
function(_186) {
|
|
25102
|
+
return _186.answers;
|
|
24982
25103
|
},
|
|
24983
25104
|
'optionalAccess',
|
|
24984
|
-
function(
|
|
24985
|
-
return
|
|
25105
|
+
function(_187) {
|
|
25106
|
+
return _187.some;
|
|
24986
25107
|
},
|
|
24987
25108
|
'call',
|
|
24988
|
-
function(
|
|
24989
|
-
return
|
|
25109
|
+
function(_188) {
|
|
25110
|
+
return _188(function(answer) {
|
|
24990
25111
|
return [
|
|
24991
25112
|
"222222222",
|
|
24992
25113
|
"444444444",
|
|
@@ -26488,14 +26609,14 @@ var _RestKybRepository = /*#__PURE__*/ function() {
|
|
|
26488
26609
|
if (_optionalChain([
|
|
26489
26610
|
error2,
|
|
26490
26611
|
'optionalAccess',
|
|
26491
|
-
function(
|
|
26492
|
-
return
|
|
26612
|
+
function(_189) {
|
|
26613
|
+
return _189.msg;
|
|
26493
26614
|
}
|
|
26494
26615
|
]) && _optionalChain([
|
|
26495
26616
|
error2,
|
|
26496
26617
|
'optionalAccess',
|
|
26497
|
-
function(
|
|
26498
|
-
return
|
|
26618
|
+
function(_190) {
|
|
26619
|
+
return _190.debug;
|
|
26499
26620
|
}
|
|
26500
26621
|
])) {
|
|
26501
26622
|
logInfo("[ERROR] KYB onboarding initialization failed with standardized error", {
|
|
@@ -26563,14 +26684,14 @@ var _RestKybRepository = /*#__PURE__*/ function() {
|
|
|
26563
26684
|
if (_optionalChain([
|
|
26564
26685
|
error2,
|
|
26565
26686
|
'optionalAccess',
|
|
26566
|
-
function(
|
|
26567
|
-
return
|
|
26687
|
+
function(_191) {
|
|
26688
|
+
return _191.msg;
|
|
26568
26689
|
}
|
|
26569
26690
|
]) && _optionalChain([
|
|
26570
26691
|
error2,
|
|
26571
26692
|
'optionalAccess',
|
|
26572
|
-
function(
|
|
26573
|
-
return
|
|
26693
|
+
function(_192) {
|
|
26694
|
+
return _192.debug;
|
|
26574
26695
|
}
|
|
26575
26696
|
])) {
|
|
26576
26697
|
logInfo("[ERROR] KYB verification failed with standardized error", {
|
|
@@ -26937,12 +27058,12 @@ var _RestMoneyMovementRepository = /*#__PURE__*/ function() {
|
|
|
26937
27058
|
cardCount: _optionalChain([
|
|
26938
27059
|
result,
|
|
26939
27060
|
'access',
|
|
26940
|
-
function(
|
|
26941
|
-
return
|
|
27061
|
+
function(_193) {
|
|
27062
|
+
return _193.data;
|
|
26942
27063
|
},
|
|
26943
27064
|
'optionalAccess',
|
|
26944
|
-
function(
|
|
26945
|
-
return
|
|
27065
|
+
function(_194) {
|
|
27066
|
+
return _194.length;
|
|
26946
27067
|
}
|
|
26947
27068
|
]) || 0,
|
|
26948
27069
|
adapter: "RestMoneyMovementRepository"
|
|
@@ -27439,12 +27560,12 @@ function _getExternalCards() {
|
|
|
27439
27560
|
cardCount: _optionalChain([
|
|
27440
27561
|
result,
|
|
27441
27562
|
'access',
|
|
27442
|
-
function(
|
|
27443
|
-
return
|
|
27563
|
+
function(_195) {
|
|
27564
|
+
return _195.data;
|
|
27444
27565
|
},
|
|
27445
27566
|
'optionalAccess',
|
|
27446
|
-
function(
|
|
27447
|
-
return
|
|
27567
|
+
function(_196) {
|
|
27568
|
+
return _196.length;
|
|
27448
27569
|
}
|
|
27449
27570
|
]) || 0,
|
|
27450
27571
|
interactor: "getExternalCards"
|
|
@@ -29366,12 +29487,12 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
|
|
|
29366
29487
|
statementCount: _optionalChain([
|
|
29367
29488
|
response,
|
|
29368
29489
|
'access',
|
|
29369
|
-
function(
|
|
29370
|
-
return
|
|
29490
|
+
function(_197) {
|
|
29491
|
+
return _197.data;
|
|
29371
29492
|
},
|
|
29372
29493
|
'optionalAccess',
|
|
29373
|
-
function(
|
|
29374
|
-
return
|
|
29494
|
+
function(_198) {
|
|
29495
|
+
return _198.length;
|
|
29375
29496
|
}
|
|
29376
29497
|
]) || 0,
|
|
29377
29498
|
hasMore: response.is_more,
|
|
@@ -31943,12 +32064,12 @@ var filterMockTransactionsByStatus = /* @__PURE__ */ __name(function(statuses) {
|
|
|
31943
32064
|
return statuses.includes(_optionalChain([
|
|
31944
32065
|
status,
|
|
31945
32066
|
'optionalAccess',
|
|
31946
|
-
function(
|
|
31947
|
-
return
|
|
32067
|
+
function(_199) {
|
|
32068
|
+
return _199.toUpperCase;
|
|
31948
32069
|
},
|
|
31949
32070
|
'call',
|
|
31950
|
-
function(
|
|
31951
|
-
return
|
|
32071
|
+
function(_200) {
|
|
32072
|
+
return _200();
|
|
31952
32073
|
}
|
|
31953
32074
|
]));
|
|
31954
32075
|
});
|
|
@@ -32000,8 +32121,8 @@ var mswTransactionsHandlers = [
|
|
|
32000
32121
|
if (_optionalChain([
|
|
32001
32122
|
queryStatus,
|
|
32002
32123
|
'optionalAccess',
|
|
32003
|
-
function(
|
|
32004
|
-
return
|
|
32124
|
+
function(_201) {
|
|
32125
|
+
return _201[0];
|
|
32005
32126
|
}
|
|
32006
32127
|
]) === "PENDING") {
|
|
32007
32128
|
is_more = filteredMockData.length > 10;
|
|
@@ -32151,139 +32272,632 @@ var mswTransactionsHandlers = [
|
|
|
32151
32272
|
return HttpResponse.json(txnIcons_default);
|
|
32152
32273
|
})
|
|
32153
32274
|
];
|
|
32154
|
-
// src/
|
|
32155
|
-
|
|
32156
|
-
|
|
32157
|
-
|
|
32158
|
-
|
|
32159
|
-
|
|
32160
|
-
});
|
|
32161
|
-
// src/ioc/loadBaseContainerModules.ts
|
|
32162
|
-
function loadBaseContainerModules(container2) {
|
|
32163
|
-
container2.load(accountsIOCModule);
|
|
32164
|
-
container2.load(analyticsIOCModule);
|
|
32165
|
-
container2.load(authIOCModule);
|
|
32166
|
-
container2.load(cardsIOCModule);
|
|
32167
|
-
container2.load(commonIOCModule);
|
|
32168
|
-
container2.load(creditIOCModule);
|
|
32169
|
-
container2.load(envConfigIOCModule);
|
|
32170
|
-
container2.load(httpClientIOCModule);
|
|
32171
|
-
container2.load(statementsIOCModule);
|
|
32172
|
-
container2.load(themesIOCModule);
|
|
32173
|
-
container2.load(transactionsIOCModule);
|
|
32174
|
-
container2.load(moneyMovementIOCModule);
|
|
32175
|
-
container2.load(iconsIOCModule);
|
|
32176
|
-
container2.load(featureFlagsIOCModule);
|
|
32177
|
-
container2.load(usersIOCModule);
|
|
32178
|
-
container2.load(kycIOCModule);
|
|
32179
|
-
container2.load(kybIOCModule);
|
|
32180
|
-
container2.load(disputesIOCModule);
|
|
32181
|
-
container2.load(componentsIOCModule);
|
|
32182
|
-
container2.load(WlaIocModule);
|
|
32183
|
-
container2.load(idpIOCModule);
|
|
32184
|
-
container2.load(loggingIOCModule);
|
|
32275
|
+
// src/wallet/adapters/rest/RestWalletService.ts
|
|
32276
|
+
function _ts_decorate85(decorators, target, key, desc) {
|
|
32277
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
32278
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
32279
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
32280
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
32185
32281
|
}
|
|
32186
|
-
__name(
|
|
32187
|
-
|
|
32188
|
-
|
|
32189
|
-
|
|
32190
|
-
|
|
32191
|
-
|
|
32192
|
-
|
|
32193
|
-
|
|
32194
|
-
|
|
32195
|
-
|
|
32196
|
-
|
|
32197
|
-
|
|
32198
|
-
|
|
32199
|
-
|
|
32200
|
-
|
|
32201
|
-
|
|
32202
|
-
|
|
32203
|
-
|
|
32204
|
-
|
|
32205
|
-
|
|
32206
|
-
|
|
32207
|
-
|
|
32208
|
-
|
|
32209
|
-
|
|
32210
|
-
|
|
32211
|
-
|
|
32212
|
-
|
|
32213
|
-
|
|
32214
|
-
|
|
32215
|
-
|
|
32216
|
-
|
|
32217
|
-
|
|
32218
|
-
|
|
32219
|
-
|
|
32220
|
-
|
|
32221
|
-
|
|
32222
|
-
|
|
32223
|
-
|
|
32224
|
-
|
|
32225
|
-
|
|
32226
|
-
|
|
32227
|
-
|
|
32228
|
-
|
|
32229
|
-
|
|
32230
|
-
|
|
32231
|
-
|
|
32232
|
-
|
|
32233
|
-
|
|
32234
|
-
|
|
32235
|
-
|
|
32236
|
-
|
|
32237
|
-
|
|
32238
|
-
|
|
32239
|
-
|
|
32240
|
-
|
|
32241
|
-
|
|
32242
|
-
|
|
32243
|
-
|
|
32244
|
-
|
|
32245
|
-
|
|
32246
|
-
|
|
32247
|
-
|
|
32248
|
-
|
|
32249
|
-
|
|
32250
|
-
|
|
32251
|
-
|
|
32252
|
-
|
|
32253
|
-
|
|
32254
|
-
|
|
32255
|
-
|
|
32256
|
-
|
|
32257
|
-
|
|
32258
|
-
|
|
32259
|
-
|
|
32260
|
-
|
|
32261
|
-
|
|
32262
|
-
|
|
32263
|
-
|
|
32264
|
-
|
|
32265
|
-
|
|
32266
|
-
|
|
32267
|
-
|
|
32268
|
-
|
|
32269
|
-
|
|
32270
|
-
|
|
32271
|
-
|
|
32272
|
-
|
|
32273
|
-
|
|
32274
|
-
|
|
32275
|
-
|
|
32276
|
-
|
|
32277
|
-
|
|
32278
|
-
|
|
32279
|
-
|
|
32280
|
-
|
|
32281
|
-
|
|
32282
|
-
|
|
32283
|
-
|
|
32284
|
-
|
|
32285
|
-
|
|
32286
|
-
|
|
32282
|
+
__name(_ts_decorate85, "_ts_decorate");
|
|
32283
|
+
function _ts_metadata24(k, v) {
|
|
32284
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
32285
|
+
}
|
|
32286
|
+
__name(_ts_metadata24, "_ts_metadata");
|
|
32287
|
+
var _RestWalletService = /*#__PURE__*/ function() {
|
|
32288
|
+
function _RestWalletService() {
|
|
32289
|
+
_class_call_check(this, _RestWalletService);
|
|
32290
|
+
__publicField(this, "httpClient");
|
|
32291
|
+
}
|
|
32292
|
+
_create_class(_RestWalletService, [
|
|
32293
|
+
{
|
|
32294
|
+
key: "getCardEligibility",
|
|
32295
|
+
value: function getCardEligibility(request) {
|
|
32296
|
+
var _this = this;
|
|
32297
|
+
return _async_to_generator(function() {
|
|
32298
|
+
var cuiApiBaseUrl, path, error2;
|
|
32299
|
+
return _ts_generator(this, function(_state) {
|
|
32300
|
+
switch(_state.label){
|
|
32301
|
+
case 0:
|
|
32302
|
+
logDebug("Checking card eligibility", {
|
|
32303
|
+
cardToken: request.card_token,
|
|
32304
|
+
adapter: "RestWalletService"
|
|
32305
|
+
});
|
|
32306
|
+
_state.label = 1;
|
|
32307
|
+
case 1:
|
|
32308
|
+
_state.trys.push([
|
|
32309
|
+
1,
|
|
32310
|
+
3,
|
|
32311
|
+
,
|
|
32312
|
+
4
|
|
32313
|
+
]);
|
|
32314
|
+
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
32315
|
+
path = "".concat(cuiApiBaseUrl, "/api/v2/user/wallet/cards/").concat(request.card_token, "/eligibility");
|
|
32316
|
+
return [
|
|
32317
|
+
4,
|
|
32318
|
+
_this.httpClient.get(path)
|
|
32319
|
+
];
|
|
32320
|
+
case 2:
|
|
32321
|
+
_state.sent();
|
|
32322
|
+
logInfo("Card is eligible", {
|
|
32323
|
+
cardToken: request.card_token,
|
|
32324
|
+
adapter: "RestWalletService"
|
|
32325
|
+
});
|
|
32326
|
+
return [
|
|
32327
|
+
2,
|
|
32328
|
+
{
|
|
32329
|
+
eligible: true
|
|
32330
|
+
}
|
|
32331
|
+
];
|
|
32332
|
+
case 3:
|
|
32333
|
+
error2 = _state.sent();
|
|
32334
|
+
logInfo("Card is not eligible", {
|
|
32335
|
+
error: error2,
|
|
32336
|
+
cardToken: request.card_token,
|
|
32337
|
+
adapter: "RestWalletService"
|
|
32338
|
+
});
|
|
32339
|
+
return [
|
|
32340
|
+
2,
|
|
32341
|
+
{
|
|
32342
|
+
eligible: false
|
|
32343
|
+
}
|
|
32344
|
+
];
|
|
32345
|
+
case 4:
|
|
32346
|
+
return [
|
|
32347
|
+
2
|
|
32348
|
+
];
|
|
32349
|
+
}
|
|
32350
|
+
});
|
|
32351
|
+
})();
|
|
32352
|
+
}
|
|
32353
|
+
},
|
|
32354
|
+
{
|
|
32355
|
+
key: "postRequestWalletProvisioning",
|
|
32356
|
+
value: function postRequestWalletProvisioning(request) {
|
|
32357
|
+
var _this = this;
|
|
32358
|
+
return _async_to_generator(function() {
|
|
32359
|
+
var cuiApiBaseUrl, platform, path, params, result, error2;
|
|
32360
|
+
return _ts_generator(this, function(_state) {
|
|
32361
|
+
switch(_state.label){
|
|
32362
|
+
case 0:
|
|
32363
|
+
logDebug("Requesting wallet provisioning", {
|
|
32364
|
+
platform: request.platform,
|
|
32365
|
+
adapter: "RestWalletService"
|
|
32366
|
+
});
|
|
32367
|
+
_state.label = 1;
|
|
32368
|
+
case 1:
|
|
32369
|
+
_state.trys.push([
|
|
32370
|
+
1,
|
|
32371
|
+
3,
|
|
32372
|
+
,
|
|
32373
|
+
4
|
|
32374
|
+
]);
|
|
32375
|
+
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
32376
|
+
platform = request.platform || "ios";
|
|
32377
|
+
path = "".concat(cuiApiBaseUrl, "/api/v2/user/wallet/provision/").concat(platform);
|
|
32378
|
+
params = {
|
|
32379
|
+
body: JSON.stringify(request)
|
|
32380
|
+
};
|
|
32381
|
+
return [
|
|
32382
|
+
4,
|
|
32383
|
+
_this.httpClient.post(path, params)
|
|
32384
|
+
];
|
|
32385
|
+
case 2:
|
|
32386
|
+
result = _state.sent();
|
|
32387
|
+
logInfo("Wallet provisioning requested successfully", {
|
|
32388
|
+
platform: platform,
|
|
32389
|
+
adapter: "RestWalletService"
|
|
32390
|
+
});
|
|
32391
|
+
return [
|
|
32392
|
+
2,
|
|
32393
|
+
result
|
|
32394
|
+
];
|
|
32395
|
+
case 3:
|
|
32396
|
+
error2 = _state.sent();
|
|
32397
|
+
logInfo("[ERROR] Unable to request wallet provisioning", {
|
|
32398
|
+
error: error2,
|
|
32399
|
+
adapter: "RestWalletService"
|
|
32400
|
+
});
|
|
32401
|
+
throw new MqSDKError("Unable to request wallet provisioning", error2);
|
|
32402
|
+
case 4:
|
|
32403
|
+
return [
|
|
32404
|
+
2
|
|
32405
|
+
];
|
|
32406
|
+
}
|
|
32407
|
+
});
|
|
32408
|
+
})();
|
|
32409
|
+
}
|
|
32410
|
+
},
|
|
32411
|
+
{
|
|
32412
|
+
key: "getWalletPendingRequests",
|
|
32413
|
+
value: function getWalletPendingRequests() {
|
|
32414
|
+
var _this = this;
|
|
32415
|
+
return _async_to_generator(function() {
|
|
32416
|
+
var cuiApiBaseUrl, path, data, error2;
|
|
32417
|
+
return _ts_generator(this, function(_state) {
|
|
32418
|
+
switch(_state.label){
|
|
32419
|
+
case 0:
|
|
32420
|
+
logDebug("Getting wallet pending requests", {
|
|
32421
|
+
adapter: "RestWalletService"
|
|
32422
|
+
});
|
|
32423
|
+
_state.label = 1;
|
|
32424
|
+
case 1:
|
|
32425
|
+
_state.trys.push([
|
|
32426
|
+
1,
|
|
32427
|
+
3,
|
|
32428
|
+
,
|
|
32429
|
+
4
|
|
32430
|
+
]);
|
|
32431
|
+
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
32432
|
+
path = "".concat(cuiApiBaseUrl, "/api/v2/user/wallet/pending-requests");
|
|
32433
|
+
return [
|
|
32434
|
+
4,
|
|
32435
|
+
_this.httpClient.get(path)
|
|
32436
|
+
];
|
|
32437
|
+
case 2:
|
|
32438
|
+
data = _state.sent();
|
|
32439
|
+
logInfo("Wallet pending requests retrieved successfully", {
|
|
32440
|
+
adapter: "RestWalletService"
|
|
32441
|
+
});
|
|
32442
|
+
return [
|
|
32443
|
+
2,
|
|
32444
|
+
data
|
|
32445
|
+
];
|
|
32446
|
+
case 3:
|
|
32447
|
+
error2 = _state.sent();
|
|
32448
|
+
logInfo("[ERROR] Unable to get wallet pending requests", {
|
|
32449
|
+
error: error2,
|
|
32450
|
+
adapter: "RestWalletService"
|
|
32451
|
+
});
|
|
32452
|
+
throw new MqSDKError("Unable to get wallet pending requests", error2);
|
|
32453
|
+
case 4:
|
|
32454
|
+
return [
|
|
32455
|
+
2
|
|
32456
|
+
];
|
|
32457
|
+
}
|
|
32458
|
+
});
|
|
32459
|
+
})();
|
|
32460
|
+
}
|
|
32461
|
+
},
|
|
32462
|
+
{
|
|
32463
|
+
key: "postWalletPendingRequest",
|
|
32464
|
+
value: function postWalletPendingRequest(digitalWalletToken, body) {
|
|
32465
|
+
var _this = this;
|
|
32466
|
+
return _async_to_generator(function() {
|
|
32467
|
+
var cuiApiBaseUrl, path, params, error2;
|
|
32468
|
+
return _ts_generator(this, function(_state) {
|
|
32469
|
+
switch(_state.label){
|
|
32470
|
+
case 0:
|
|
32471
|
+
logDebug("Posting wallet pending request decision", {
|
|
32472
|
+
digitalWalletToken: digitalWalletToken,
|
|
32473
|
+
adapter: "RestWalletService"
|
|
32474
|
+
});
|
|
32475
|
+
_state.label = 1;
|
|
32476
|
+
case 1:
|
|
32477
|
+
_state.trys.push([
|
|
32478
|
+
1,
|
|
32479
|
+
3,
|
|
32480
|
+
,
|
|
32481
|
+
4
|
|
32482
|
+
]);
|
|
32483
|
+
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
32484
|
+
path = "".concat(cuiApiBaseUrl, "/api/v2/user/wallet/pending-requests/").concat(digitalWalletToken);
|
|
32485
|
+
params = {
|
|
32486
|
+
body: JSON.stringify(body)
|
|
32487
|
+
};
|
|
32488
|
+
return [
|
|
32489
|
+
4,
|
|
32490
|
+
_this.httpClient.post(path, params)
|
|
32491
|
+
];
|
|
32492
|
+
case 2:
|
|
32493
|
+
_state.sent();
|
|
32494
|
+
logInfo("Wallet pending request decision posted successfully", {
|
|
32495
|
+
digitalWalletToken: digitalWalletToken,
|
|
32496
|
+
adapter: "RestWalletService"
|
|
32497
|
+
});
|
|
32498
|
+
return [
|
|
32499
|
+
3,
|
|
32500
|
+
4
|
|
32501
|
+
];
|
|
32502
|
+
case 3:
|
|
32503
|
+
error2 = _state.sent();
|
|
32504
|
+
logInfo("[ERROR] Unable to post wallet pending request decision", {
|
|
32505
|
+
error: error2,
|
|
32506
|
+
digitalWalletToken: digitalWalletToken,
|
|
32507
|
+
adapter: "RestWalletService"
|
|
32508
|
+
});
|
|
32509
|
+
throw new MqSDKError("Unable to post wallet pending request decision", error2);
|
|
32510
|
+
case 4:
|
|
32511
|
+
return [
|
|
32512
|
+
2
|
|
32513
|
+
];
|
|
32514
|
+
}
|
|
32515
|
+
});
|
|
32516
|
+
})();
|
|
32517
|
+
}
|
|
32518
|
+
}
|
|
32519
|
+
]);
|
|
32520
|
+
return _RestWalletService;
|
|
32521
|
+
}();
|
|
32522
|
+
__name(_RestWalletService, "RestWalletService");
|
|
32523
|
+
var RestWalletService = _RestWalletService;
|
|
32524
|
+
_ts_decorate85([
|
|
32525
|
+
_inversify.inject.call(void 0, ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
32526
|
+
_ts_metadata24("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
32527
|
+
], RestWalletService.prototype, "httpClient", void 0);
|
|
32528
|
+
RestWalletService = exports.RestWalletService = _ts_decorate85([
|
|
32529
|
+
_inversify.injectable.call(void 0)
|
|
32530
|
+
], RestWalletService);
|
|
32531
|
+
// src/wallet/base/services/iWalletService.ts
|
|
32532
|
+
function _ts_decorate86(decorators, target, key, desc) {
|
|
32533
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
32534
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
32535
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
32536
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
32537
|
+
}
|
|
32538
|
+
__name(_ts_decorate86, "_ts_decorate");
|
|
32539
|
+
var _iWalletService = function _iWalletService() {
|
|
32540
|
+
_class_call_check(this, _iWalletService);
|
|
32541
|
+
};
|
|
32542
|
+
__name(_iWalletService, "iWalletService");
|
|
32543
|
+
var iWalletService = _iWalletService;
|
|
32544
|
+
iWalletService = exports.iWalletService = _ts_decorate86([
|
|
32545
|
+
_inversify.injectable.call(void 0)
|
|
32546
|
+
], iWalletService);
|
|
32547
|
+
// src/wallet/ioc/symbols.ts
|
|
32548
|
+
var ITF_WALLET_SERVICE = Symbol.for("iWalletService");
|
|
32549
|
+
function getCardEligibility(request) {
|
|
32550
|
+
return _getCardEligibility.apply(this, arguments);
|
|
32551
|
+
}
|
|
32552
|
+
function _getCardEligibility() {
|
|
32553
|
+
_getCardEligibility = // src/wallet/base/interactors/getCardEligibility.ts
|
|
32554
|
+
_async_to_generator(function(request) {
|
|
32555
|
+
var container2, walletService, error2;
|
|
32556
|
+
return _ts_generator(this, function(_state) {
|
|
32557
|
+
switch(_state.label){
|
|
32558
|
+
case 0:
|
|
32559
|
+
logDebug("Get Card eligibility");
|
|
32560
|
+
_state.label = 1;
|
|
32561
|
+
case 1:
|
|
32562
|
+
_state.trys.push([
|
|
32563
|
+
1,
|
|
32564
|
+
3,
|
|
32565
|
+
,
|
|
32566
|
+
4
|
|
32567
|
+
]);
|
|
32568
|
+
container2 = getActiveIocContainer();
|
|
32569
|
+
walletService = container2.get(ITF_WALLET_SERVICE);
|
|
32570
|
+
return [
|
|
32571
|
+
4,
|
|
32572
|
+
walletService.getCardEligibility(request)
|
|
32573
|
+
];
|
|
32574
|
+
case 2:
|
|
32575
|
+
return [
|
|
32576
|
+
2,
|
|
32577
|
+
_state.sent()
|
|
32578
|
+
];
|
|
32579
|
+
case 3:
|
|
32580
|
+
error2 = _state.sent();
|
|
32581
|
+
logInfo("[ERROR] Failed to get card eligibility", {
|
|
32582
|
+
error: error2,
|
|
32583
|
+
interactor: "getCardEligibility"
|
|
32584
|
+
});
|
|
32585
|
+
throw error2;
|
|
32586
|
+
case 4:
|
|
32587
|
+
return [
|
|
32588
|
+
2
|
|
32589
|
+
];
|
|
32590
|
+
}
|
|
32591
|
+
});
|
|
32592
|
+
});
|
|
32593
|
+
return _getCardEligibility.apply(this, arguments);
|
|
32594
|
+
}
|
|
32595
|
+
__name(getCardEligibility, "getCardEligibility");
|
|
32596
|
+
function getWalletPendingRequests() {
|
|
32597
|
+
return _getWalletPendingRequests.apply(this, arguments);
|
|
32598
|
+
}
|
|
32599
|
+
function _getWalletPendingRequests() {
|
|
32600
|
+
_getWalletPendingRequests = // src/wallet/base/interactors/getWalletPendingRequests.ts
|
|
32601
|
+
_async_to_generator(function() {
|
|
32602
|
+
var container2, walletService, result, error2;
|
|
32603
|
+
return _ts_generator(this, function(_state) {
|
|
32604
|
+
switch(_state.label){
|
|
32605
|
+
case 0:
|
|
32606
|
+
logDebug("Get wallet pending requests", {
|
|
32607
|
+
interactor: "getWalletPendingRequests"
|
|
32608
|
+
});
|
|
32609
|
+
_state.label = 1;
|
|
32610
|
+
case 1:
|
|
32611
|
+
_state.trys.push([
|
|
32612
|
+
1,
|
|
32613
|
+
3,
|
|
32614
|
+
,
|
|
32615
|
+
4
|
|
32616
|
+
]);
|
|
32617
|
+
container2 = getActiveIocContainer();
|
|
32618
|
+
walletService = container2.get(ITF_WALLET_SERVICE);
|
|
32619
|
+
return [
|
|
32620
|
+
4,
|
|
32621
|
+
walletService.getWalletPendingRequests()
|
|
32622
|
+
];
|
|
32623
|
+
case 2:
|
|
32624
|
+
result = _state.sent();
|
|
32625
|
+
logInfo("Wallet pending requests retrieved successfully", {
|
|
32626
|
+
count: result.count,
|
|
32627
|
+
interactor: "getWalletPendingRequests"
|
|
32628
|
+
});
|
|
32629
|
+
return [
|
|
32630
|
+
2,
|
|
32631
|
+
result
|
|
32632
|
+
];
|
|
32633
|
+
case 3:
|
|
32634
|
+
error2 = _state.sent();
|
|
32635
|
+
logInfo("[ERROR] Failed to get wallet pending requests", {
|
|
32636
|
+
error: error2,
|
|
32637
|
+
interactor: "getWalletPendingRequests"
|
|
32638
|
+
});
|
|
32639
|
+
throw error2;
|
|
32640
|
+
case 4:
|
|
32641
|
+
return [
|
|
32642
|
+
2
|
|
32643
|
+
];
|
|
32644
|
+
}
|
|
32645
|
+
});
|
|
32646
|
+
});
|
|
32647
|
+
return _getWalletPendingRequests.apply(this, arguments);
|
|
32648
|
+
}
|
|
32649
|
+
__name(getWalletPendingRequests, "getWalletPendingRequests");
|
|
32650
|
+
function postProvisionWallet(request) {
|
|
32651
|
+
return _postProvisionWallet.apply(this, arguments);
|
|
32652
|
+
}
|
|
32653
|
+
function _postProvisionWallet() {
|
|
32654
|
+
_postProvisionWallet = // src/wallet/base/interactors/postProvisionWallet.ts
|
|
32655
|
+
_async_to_generator(function(request) {
|
|
32656
|
+
var container2, walletService, result, error2;
|
|
32657
|
+
return _ts_generator(this, function(_state) {
|
|
32658
|
+
switch(_state.label){
|
|
32659
|
+
case 0:
|
|
32660
|
+
logDebug("Requesting wallet provisioning", {
|
|
32661
|
+
interactor: "postProvisionWallet"
|
|
32662
|
+
});
|
|
32663
|
+
_state.label = 1;
|
|
32664
|
+
case 1:
|
|
32665
|
+
_state.trys.push([
|
|
32666
|
+
1,
|
|
32667
|
+
3,
|
|
32668
|
+
,
|
|
32669
|
+
4
|
|
32670
|
+
]);
|
|
32671
|
+
container2 = getActiveIocContainer();
|
|
32672
|
+
walletService = container2.get(ITF_WALLET_SERVICE);
|
|
32673
|
+
return [
|
|
32674
|
+
4,
|
|
32675
|
+
walletService.postRequestWalletProvisioning(request)
|
|
32676
|
+
];
|
|
32677
|
+
case 2:
|
|
32678
|
+
result = _state.sent();
|
|
32679
|
+
logInfo("Wallet provisioning requested successfully", {
|
|
32680
|
+
interactor: "postProvisionWallet"
|
|
32681
|
+
});
|
|
32682
|
+
return [
|
|
32683
|
+
2,
|
|
32684
|
+
result
|
|
32685
|
+
];
|
|
32686
|
+
case 3:
|
|
32687
|
+
error2 = _state.sent();
|
|
32688
|
+
logInfo("[ERROR] Failed to request wallet provisioning", {
|
|
32689
|
+
error: error2,
|
|
32690
|
+
interactor: "postProvisionWallet"
|
|
32691
|
+
});
|
|
32692
|
+
throw error2;
|
|
32693
|
+
case 4:
|
|
32694
|
+
return [
|
|
32695
|
+
2
|
|
32696
|
+
];
|
|
32697
|
+
}
|
|
32698
|
+
});
|
|
32699
|
+
});
|
|
32700
|
+
return _postProvisionWallet.apply(this, arguments);
|
|
32701
|
+
}
|
|
32702
|
+
__name(postProvisionWallet, "postProvisionWallet");
|
|
32703
|
+
function postWalletPendingRequest(digitalWalletToken, body) {
|
|
32704
|
+
return _postWalletPendingRequest.apply(this, arguments);
|
|
32705
|
+
}
|
|
32706
|
+
function _postWalletPendingRequest() {
|
|
32707
|
+
_postWalletPendingRequest = // src/wallet/base/interactors/postWalletPendingRequest.ts
|
|
32708
|
+
_async_to_generator(function(digitalWalletToken, body) {
|
|
32709
|
+
var container2, walletService, error2;
|
|
32710
|
+
return _ts_generator(this, function(_state) {
|
|
32711
|
+
switch(_state.label){
|
|
32712
|
+
case 0:
|
|
32713
|
+
logDebug("Post wallet pending request", {
|
|
32714
|
+
interactor: "postWalletPendingRequest"
|
|
32715
|
+
});
|
|
32716
|
+
_state.label = 1;
|
|
32717
|
+
case 1:
|
|
32718
|
+
_state.trys.push([
|
|
32719
|
+
1,
|
|
32720
|
+
3,
|
|
32721
|
+
,
|
|
32722
|
+
4
|
|
32723
|
+
]);
|
|
32724
|
+
container2 = getActiveIocContainer();
|
|
32725
|
+
walletService = container2.get(ITF_WALLET_SERVICE);
|
|
32726
|
+
return [
|
|
32727
|
+
4,
|
|
32728
|
+
walletService.postWalletPendingRequest(digitalWalletToken, body)
|
|
32729
|
+
];
|
|
32730
|
+
case 2:
|
|
32731
|
+
_state.sent();
|
|
32732
|
+
logInfo("Wallet pending request updated successfully", {
|
|
32733
|
+
interactor: "postWalletPendingRequest"
|
|
32734
|
+
});
|
|
32735
|
+
return [
|
|
32736
|
+
3,
|
|
32737
|
+
4
|
|
32738
|
+
];
|
|
32739
|
+
case 3:
|
|
32740
|
+
error2 = _state.sent();
|
|
32741
|
+
logInfo("[ERROR] Failed to post wallet pending request", {
|
|
32742
|
+
error: error2,
|
|
32743
|
+
interactor: "postWalletPendingRequest"
|
|
32744
|
+
});
|
|
32745
|
+
throw error2;
|
|
32746
|
+
case 4:
|
|
32747
|
+
return [
|
|
32748
|
+
2
|
|
32749
|
+
];
|
|
32750
|
+
}
|
|
32751
|
+
});
|
|
32752
|
+
});
|
|
32753
|
+
return _postWalletPendingRequest.apply(this, arguments);
|
|
32754
|
+
}
|
|
32755
|
+
__name(postWalletPendingRequest, "postWalletPendingRequest");
|
|
32756
|
+
// src/wallet/base/types/ProvisionWalletRequest.ts
|
|
32757
|
+
var DigitalWalletApplePayProvisionRequestDeviceTypeEnum;
|
|
32758
|
+
(function(DigitalWalletApplePayProvisionRequestDeviceTypeEnum2) {
|
|
32759
|
+
DigitalWalletApplePayProvisionRequestDeviceTypeEnum2["MobilePhone"] = "MOBILE_PHONE";
|
|
32760
|
+
DigitalWalletApplePayProvisionRequestDeviceTypeEnum2["Watch"] = "WATCH";
|
|
32761
|
+
DigitalWalletApplePayProvisionRequestDeviceTypeEnum2["Tablet"] = "TABLET";
|
|
32762
|
+
})(DigitalWalletApplePayProvisionRequestDeviceTypeEnum || (DigitalWalletApplePayProvisionRequestDeviceTypeEnum = exports.DigitalWalletApplePayProvisionRequestDeviceTypeEnum = {}));
|
|
32763
|
+
// src/wallet/ioc/WalletIocModule.ts
|
|
32764
|
+
var walletIOCModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
32765
|
+
bind(ITF_WALLET_SERVICE).to(RestWalletService).inSingletonScope();
|
|
32766
|
+
});
|
|
32767
|
+
// src/ioc/container.ts
|
|
32768
|
+
// src/ioc/loadBaseContainerModules.ts
|
|
32769
|
+
// src/analytics/ioc/analyticsIOCModule.ts
|
|
32770
|
+
var analyticsIOCModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
32771
|
+
bind(ITF_ANALYTICS_SERVICE).to(GaMeasurementAnalyticsService).inSingletonScope();
|
|
32772
|
+
bind(ITF_SESSION_SERVICE).to(VanillaSessionService).inSingletonScope();
|
|
32773
|
+
});
|
|
32774
|
+
// src/ioc/loadBaseContainerModules.ts
|
|
32775
|
+
function loadBaseContainerModules(container2) {
|
|
32776
|
+
container2.load(accountsIOCModule);
|
|
32777
|
+
container2.load(analyticsIOCModule);
|
|
32778
|
+
container2.load(authIOCModule);
|
|
32779
|
+
container2.load(cardsIOCModule);
|
|
32780
|
+
container2.load(commonIOCModule);
|
|
32781
|
+
container2.load(creditIOCModule);
|
|
32782
|
+
container2.load(envConfigIOCModule);
|
|
32783
|
+
container2.load(httpClientIOCModule);
|
|
32784
|
+
container2.load(statementsIOCModule);
|
|
32785
|
+
container2.load(themesIOCModule);
|
|
32786
|
+
container2.load(transactionsIOCModule);
|
|
32787
|
+
container2.load(moneyMovementIOCModule);
|
|
32788
|
+
container2.load(iconsIOCModule);
|
|
32789
|
+
container2.load(featureFlagsIOCModule);
|
|
32790
|
+
container2.load(usersIOCModule);
|
|
32791
|
+
container2.load(kycIOCModule);
|
|
32792
|
+
container2.load(kybIOCModule);
|
|
32793
|
+
container2.load(disputesIOCModule);
|
|
32794
|
+
container2.load(componentsIOCModule);
|
|
32795
|
+
container2.load(WlaIocModule);
|
|
32796
|
+
container2.load(walletIOCModule);
|
|
32797
|
+
container2.load(idpIOCModule);
|
|
32798
|
+
container2.load(loggingIOCModule);
|
|
32799
|
+
}
|
|
32800
|
+
__name(loadBaseContainerModules, "loadBaseContainerModules");
|
|
32801
|
+
// src/ioc/container.ts
|
|
32802
|
+
var container = new (0, _inversify.Container)();
|
|
32803
|
+
loadBaseContainerModules(container);
|
|
32804
|
+
// src/index.ts
|
|
32805
|
+
setActiveIocContainer(container);
|
|
32806
|
+
exports.__name = __name;
|
|
32807
|
+
exports.AccountBalancesEntity = AccountBalancesEntity;
|
|
32808
|
+
exports.UserEntity = UserEntity;
|
|
32809
|
+
exports.CardEntity = CardEntity;
|
|
32810
|
+
exports.CardStates = CardStates;
|
|
32811
|
+
exports.CardholderVerificationMethods = CardholderVerificationMethods;
|
|
32812
|
+
exports.ITF_CARD_REPOSITORY = ITF_CARD_REPOSITORY;
|
|
32813
|
+
exports.ACTIVE_IOC_CONTAINER = ACTIVE_IOC_CONTAINER;
|
|
32814
|
+
exports.setActiveIocContainer = setActiveIocContainer;
|
|
32815
|
+
exports.MqSDKError = MqSDKError;
|
|
32816
|
+
exports.getActiveIocContainer = getActiveIocContainer;
|
|
32817
|
+
exports.LogLevel = LogLevel;
|
|
32818
|
+
exports.LogLevelString = LogLevelString;
|
|
32819
|
+
exports.iLoggerService = iLoggerService;
|
|
32820
|
+
exports.ConsoleLoggerService = ConsoleLoggerService;
|
|
32821
|
+
exports.ITF_LOGGER_SERVICE = ITF_LOGGER_SERVICE;
|
|
32822
|
+
exports.logError = logError;
|
|
32823
|
+
exports.logWarn = logWarn;
|
|
32824
|
+
exports.logInfo = logInfo;
|
|
32825
|
+
exports.logDebug = logDebug;
|
|
32826
|
+
exports.setLogLevel = setLogLevel;
|
|
32827
|
+
exports.getLogLevel = getLogLevel;
|
|
32828
|
+
exports.MockLoggerService = MockLoggerService;
|
|
32829
|
+
exports.loggingIOCModule = loggingIOCModule;
|
|
32830
|
+
exports.mockLoggingIOCModule = mockLoggingIOCModule;
|
|
32831
|
+
exports.getCardByToken = getCardByToken;
|
|
32832
|
+
exports.LocalStorageCacheService = LocalStorageCacheService;
|
|
32833
|
+
exports.WindowCacheService = WindowCacheService;
|
|
32834
|
+
exports.ITF_CACHE_SERVICE = ITF_CACHE_SERVICE;
|
|
32835
|
+
exports.ITF_PERSISTED_CACHE_SERVICE = ITF_PERSISTED_CACHE_SERVICE;
|
|
32836
|
+
exports.ITF_REGISTRY_SERVICE = ITF_REGISTRY_SERVICE;
|
|
32837
|
+
exports.registerCleanupHandler = registerCleanupHandler;
|
|
32838
|
+
exports.cleanupOnUnload = cleanupOnUnload;
|
|
32839
|
+
exports.WlaSdkError = WlaSdkError;
|
|
32840
|
+
exports.iCacheService = iCacheService;
|
|
32841
|
+
exports.iPersistedCacheService = iPersistedCacheService;
|
|
32842
|
+
exports.iRegistryService = iRegistryService;
|
|
32843
|
+
exports.MockCacheService = MockCacheService;
|
|
32844
|
+
exports.MockPersistedCacheService = MockPersistedCacheService;
|
|
32845
|
+
exports.MockRegistryService = MockRegistryService;
|
|
32846
|
+
exports.StandardizedError = StandardizedError;
|
|
32847
|
+
exports.setAppConfig = setAppConfig;
|
|
32848
|
+
exports.getAppConfig = getAppConfig;
|
|
32849
|
+
exports.InMemRegistryService = InMemRegistryService;
|
|
32850
|
+
exports.commonIOCModule = commonIOCModule;
|
|
32851
|
+
exports.mockCommonIOCModule = mockCommonIOCModule;
|
|
32852
|
+
exports.convertObjKeysToCamelCase = convertObjKeysToCamelCase;
|
|
32853
|
+
exports.convertObjKeysToLowerCamelCase = convertObjKeysToLowerCamelCase;
|
|
32854
|
+
exports.getCardsByUserToken = getCardsByUserToken;
|
|
32855
|
+
exports.getShowpanByCardToken = getShowpanByCardToken;
|
|
32856
|
+
exports.activateCardByTokenOrPan = activateCardByTokenOrPan;
|
|
32857
|
+
exports.lockCardByToken = lockCardByToken;
|
|
32858
|
+
exports.replaceCardByToken = replaceCardByToken;
|
|
32859
|
+
exports.unlockCardByToken = unlockCardByToken;
|
|
32860
|
+
exports.updatePinByCardToken = updatePinByCardToken;
|
|
32861
|
+
exports.getPinByCardToken = getPinByCardToken;
|
|
32862
|
+
exports.orderCard = orderCard;
|
|
32863
|
+
exports.replaceCardV2 = replaceCardV2;
|
|
32864
|
+
exports.iCardRepository = iCardRepository;
|
|
32865
|
+
exports.TEST_CARD_PRODUCT_TOKEN = TEST_CARD_PRODUCT_TOKEN;
|
|
32866
|
+
exports.TEST_CARD_TOKEN = TEST_CARD_TOKEN;
|
|
32867
|
+
exports.TEST_CARD_TOKEN_IS_ACTIVE = TEST_CARD_TOKEN_IS_ACTIVE;
|
|
32868
|
+
exports.TEST_CARD_TOKEN_IS_VIRTUAL = TEST_CARD_TOKEN_IS_VIRTUAL;
|
|
32869
|
+
exports.TEST_CARD_TOKEN_IS_ACTIVE_VIRTUAL = TEST_CARD_TOKEN_IS_ACTIVE_VIRTUAL;
|
|
32870
|
+
exports.TEST_CARD_TOKEN_IS_SUSPENDED_VIRTUAL = TEST_CARD_TOKEN_IS_SUSPENDED_VIRTUAL;
|
|
32871
|
+
exports.TEST_CARD_TOKEN_INVALID = TEST_CARD_TOKEN_INVALID;
|
|
32872
|
+
exports.TEST_CARD_TOKEN_LOADING = TEST_CARD_TOKEN_LOADING;
|
|
32873
|
+
exports.TEST_CARD_TOKEN_LIMIT_EXCEEDED = TEST_CARD_TOKEN_LIMIT_EXCEEDED;
|
|
32874
|
+
exports.TEST_CARD_TOKEN_IS_SUSPENDED = TEST_CARD_TOKEN_IS_SUSPENDED;
|
|
32875
|
+
exports.TEST_CARD_TOKEN_IS_UNACTIVATED = TEST_CARD_TOKEN_IS_UNACTIVATED;
|
|
32876
|
+
exports.TEST_CARD_TOKEN_IS_EXPIRED = TEST_CARD_TOKEN_IS_EXPIRED;
|
|
32877
|
+
exports.TEST_CARD_TOKEN_IS_TERMINATED = TEST_CARD_TOKEN_IS_TERMINATED;
|
|
32878
|
+
exports.TEST_CARDHOLDER_VERIFICATION_METHOD = TEST_CARDHOLDER_VERIFICATION_METHOD;
|
|
32879
|
+
exports.TEST_CVV_NUMBER = TEST_CVV_NUMBER;
|
|
32880
|
+
exports.TEST_EXPIRATION = TEST_EXPIRATION;
|
|
32881
|
+
exports.TEST_PIN = TEST_PIN;
|
|
32882
|
+
exports.TEST_CARD_ACTIONS = TEST_CARD_ACTIONS;
|
|
32883
|
+
exports.ACTIVE_CARD_ACTIONS = ACTIVE_CARD_ACTIONS;
|
|
32884
|
+
exports.TERMINATED_CARD_ACTIONS = TERMINATED_CARD_ACTIONS;
|
|
32885
|
+
exports.SUSPENDED_CARD_ACTIONS = SUSPENDED_CARD_ACTIONS;
|
|
32886
|
+
exports.TEST_CARD = TEST_CARD;
|
|
32887
|
+
exports.TEST_ACTIVE_CARD = TEST_ACTIVE_CARD;
|
|
32888
|
+
exports.TEST_ACTIVE_CARD_VIRTUAL = TEST_ACTIVE_CARD_VIRTUAL;
|
|
32889
|
+
exports.TEST_SUSPENDED_CARD_VIRTUAL = TEST_SUSPENDED_CARD_VIRTUAL;
|
|
32890
|
+
exports.TEST_WEAK_PINS = TEST_WEAK_PINS;
|
|
32891
|
+
exports.MockCardRepository = MockCardRepository;
|
|
32892
|
+
exports.development_exports = development_exports;
|
|
32893
|
+
exports.localhost_exports = localhost_exports;
|
|
32894
|
+
exports.mockMode_exports = mockMode_exports;
|
|
32895
|
+
exports.production_exports = production_exports;
|
|
32896
|
+
exports.qa_exports = qa_exports;
|
|
32897
|
+
exports.sandbox_exports = sandbox_exports;
|
|
32898
|
+
exports.getActiveEnvName = getActiveEnvName;
|
|
32899
|
+
exports.isMockModeEnabled = isMockModeEnabled;
|
|
32900
|
+
exports.getEnvConfigValueByName = getEnvConfigValueByName;
|
|
32287
32901
|
exports.setActiveEnvName = setActiveEnvName;
|
|
32288
32902
|
exports.setMockMode = setMockMode;
|
|
32289
32903
|
exports.getLanguageCode = getLanguageCode;
|
|
@@ -32368,7 +32982,9 @@ exports.getAccountBalances = getAccountBalances;
|
|
|
32368
32982
|
exports.getDepositAccounts = getDepositAccounts;
|
|
32369
32983
|
exports.getInterestTiers = getInterestTiers;
|
|
32370
32984
|
exports.getUserAccounts = getUserAccounts;
|
|
32371
|
-
exports.
|
|
32985
|
+
exports.saveUserConsents = saveUserConsents;
|
|
32986
|
+
exports.createAccount = createAccount;
|
|
32987
|
+
exports.getDisclosureDocs = getDisclosureDocs;
|
|
32372
32988
|
exports.iAccountRepository = iAccountRepository;
|
|
32373
32989
|
exports.UserAccountStatus = UserAccountStatus;
|
|
32374
32990
|
exports.UserAccountType = UserAccountType;
|
|
@@ -32424,7 +33040,6 @@ exports.TransactionChallengeResponseCardNetworkEnum = TransactionChallengeRespon
|
|
|
32424
33040
|
exports.TransactionChallengeResponseStateEnum = TransactionChallengeResponseStateEnum;
|
|
32425
33041
|
exports.TransactionChallengeCancelReason = TransactionChallengeCancelReason;
|
|
32426
33042
|
exports.TransactionChallengeAuthenticationMethod = TransactionChallengeAuthenticationMethod;
|
|
32427
|
-
exports.DigitalWalletApplePayProvisionRequestDeviceTypeEnum = DigitalWalletApplePayProvisionRequestDeviceTypeEnum;
|
|
32428
33043
|
exports.RestWlaService = RestWlaService;
|
|
32429
33044
|
exports.ITF_WLA_SERVICE = ITF_WLA_SERVICE;
|
|
32430
33045
|
exports.bookTransfer = bookTransfer;
|
|
@@ -32468,8 +33083,6 @@ exports.getTransactionChallengeByToken = getTransactionChallengeByToken;
|
|
|
32468
33083
|
exports.getNextTransactionChallenge = getNextTransactionChallenge;
|
|
32469
33084
|
exports.postTransactionChallengeDecision = postTransactionChallengeDecision;
|
|
32470
33085
|
exports.updateDevicePushNotificationsRegistration = updateDevicePushNotificationsRegistration;
|
|
32471
|
-
exports.getCardEligibility = getCardEligibility;
|
|
32472
|
-
exports.postProvisionWallet = postProvisionWallet;
|
|
32473
33086
|
exports.WlaIocModule = WlaIocModule;
|
|
32474
33087
|
exports.TEST_USER_TOKEN = TEST_USER_TOKEN;
|
|
32475
33088
|
exports.TEST_DEPOSIT_ACCOUNT = TEST_DEPOSIT_ACCOUNT;
|
|
@@ -32714,6 +33327,15 @@ exports.TransactionDetailIconTypeEnum = TransactionDetailIconTypeEnum;
|
|
|
32714
33327
|
exports.Direction = Direction;
|
|
32715
33328
|
exports.transactionsIOCModule = transactionsIOCModule;
|
|
32716
33329
|
exports.mswTransactionsHandlers = mswTransactionsHandlers;
|
|
33330
|
+
exports.RestWalletService = RestWalletService;
|
|
33331
|
+
exports.iWalletService = iWalletService;
|
|
33332
|
+
exports.ITF_WALLET_SERVICE = ITF_WALLET_SERVICE;
|
|
33333
|
+
exports.getCardEligibility = getCardEligibility;
|
|
33334
|
+
exports.getWalletPendingRequests = getWalletPendingRequests;
|
|
33335
|
+
exports.postProvisionWallet = postProvisionWallet;
|
|
33336
|
+
exports.postWalletPendingRequest = postWalletPendingRequest;
|
|
33337
|
+
exports.DigitalWalletApplePayProvisionRequestDeviceTypeEnum = DigitalWalletApplePayProvisionRequestDeviceTypeEnum;
|
|
33338
|
+
exports.walletIOCModule = walletIOCModule;
|
|
32717
33339
|
exports.loadBaseContainerModules = loadBaseContainerModules;
|
|
32718
33340
|
exports.container = container; /*! Bundled license information:
|
|
32719
33341
|
|