@marqeta/ux-toolkit-sdk-javascript 2.27.0 → 2.29.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-6SZ5ZHNX.mjs → chunk-4PU77GEF.mjs} +648 -374
- package/dist/{chunk-ACMJRYDJ.js → chunk-I3SPAV5K.js} +998 -694
- package/dist/index.d.mts +46 -16
- package/dist/index.d.ts +46 -16
- package/dist/index.js +481 -475
- 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 +543 -537
- package/dist/react-native.mjs +7 -7
- package/package.json +1 -1
|
@@ -1778,6 +1778,66 @@ var _StandardizedError = /*#__PURE__*/ function(Error1) {
|
|
|
1778
1778
|
}(_wrap_native_super(Error));
|
|
1779
1779
|
__name(_StandardizedError, "StandardizedError");
|
|
1780
1780
|
var StandardizedError = _StandardizedError;
|
|
1781
|
+
// src/common/base/interactors/setAppConfig.ts
|
|
1782
|
+
function setAppConfig(appVersion, deviceId) {
|
|
1783
|
+
logDebug("Setting app config", {
|
|
1784
|
+
appVersion: appVersion,
|
|
1785
|
+
deviceId: deviceId,
|
|
1786
|
+
interactor: "setAppConfig"
|
|
1787
|
+
});
|
|
1788
|
+
try {
|
|
1789
|
+
var container2 = getActiveIocContainer();
|
|
1790
|
+
if (!container2) {
|
|
1791
|
+
logError("IoC container not initialized", {
|
|
1792
|
+
appVersion: appVersion,
|
|
1793
|
+
deviceId: deviceId,
|
|
1794
|
+
interactor: "setAppConfig"
|
|
1795
|
+
});
|
|
1796
|
+
return;
|
|
1797
|
+
}
|
|
1798
|
+
var cacheService = container2.get(ITF_CACHE_SERVICE);
|
|
1799
|
+
cacheService.set("appConfig", JSON.stringify({
|
|
1800
|
+
appVersion: appVersion,
|
|
1801
|
+
deviceId: deviceId
|
|
1802
|
+
}));
|
|
1803
|
+
logInfo("App config set successfully", {
|
|
1804
|
+
appVersion: appVersion,
|
|
1805
|
+
deviceId: deviceId,
|
|
1806
|
+
interactor: "setAppConfig"
|
|
1807
|
+
});
|
|
1808
|
+
} catch (error2) {
|
|
1809
|
+
logError("Failed to set app config", {
|
|
1810
|
+
error: error2,
|
|
1811
|
+
appVersion: appVersion,
|
|
1812
|
+
deviceId: deviceId,
|
|
1813
|
+
interactor: "setAppConfig"
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
__name(setAppConfig, "setAppConfig");
|
|
1818
|
+
// src/common/base/interactors/getAppConfig.ts
|
|
1819
|
+
var defaultConfig = {
|
|
1820
|
+
appVersion: "",
|
|
1821
|
+
deviceId: ""
|
|
1822
|
+
};
|
|
1823
|
+
function getAppConfig() {
|
|
1824
|
+
try {
|
|
1825
|
+
var container2 = getActiveIocContainer();
|
|
1826
|
+
var cacheService = container2 === null || container2 === void 0 ? void 0 : container2.get(ITF_CACHE_SERVICE);
|
|
1827
|
+
var config = cacheService === null || cacheService === void 0 ? void 0 : cacheService.get("appConfig");
|
|
1828
|
+
if (!config || typeof config !== "string") {
|
|
1829
|
+
return defaultConfig;
|
|
1830
|
+
}
|
|
1831
|
+
var parsedConfig = JSON.parse(config);
|
|
1832
|
+
return {
|
|
1833
|
+
appVersion: parsedConfig.appVersion || "",
|
|
1834
|
+
deviceId: parsedConfig.deviceId || ""
|
|
1835
|
+
};
|
|
1836
|
+
} catch (e) {
|
|
1837
|
+
return defaultConfig;
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
__name(getAppConfig, "getAppConfig");
|
|
1781
1841
|
// src/common/ioc/commonIOCModule.ts
|
|
1782
1842
|
import { ContainerModule as ContainerModule3 } from "inversify";
|
|
1783
1843
|
// src/common/adapters/InMemRegistryService.ts
|
|
@@ -1885,6 +1945,22 @@ function convertObjKeysToLowerCamelCase(inputObj) {
|
|
|
1885
1945
|
return newobj;
|
|
1886
1946
|
}
|
|
1887
1947
|
__name(convertObjKeysToLowerCamelCase, "convertObjKeysToLowerCamelCase");
|
|
1948
|
+
// src/common/utils/getCommonApiHeaders.ts
|
|
1949
|
+
function getCommonApiHeaders() {
|
|
1950
|
+
try {
|
|
1951
|
+
var appConfig = getAppConfig();
|
|
1952
|
+
return {
|
|
1953
|
+
"app-version": appConfig.appVersion,
|
|
1954
|
+
"device-id": appConfig.deviceId
|
|
1955
|
+
};
|
|
1956
|
+
} catch (e) {
|
|
1957
|
+
return {
|
|
1958
|
+
"app-version": "",
|
|
1959
|
+
"device-id": ""
|
|
1960
|
+
};
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1963
|
+
__name(getCommonApiHeaders, "getCommonApiHeaders");
|
|
1888
1964
|
function getCardsByUserToken() {
|
|
1889
1965
|
return _getCardsByUserToken.apply(this, arguments);
|
|
1890
1966
|
}
|
|
@@ -15781,20 +15857,50 @@ var mswDisputesHandlers = [
|
|
|
15781
15857
|
var ITF_FEATURE_FLAG_SERVICE = Symbol.for("iFeatureFlagService");
|
|
15782
15858
|
var INTR_FEATURE_FLAG_IS_ENABLED = Symbol.for("FeatureFlagIsEnabled");
|
|
15783
15859
|
// src/feature-flags/base/interactors/featureFlagIsEnabled.ts
|
|
15860
|
+
var DEV_MODE_FLAG_PREFIX = "DEV_";
|
|
15784
15861
|
function featureFlagIsEnabled(flagName) {
|
|
15785
15862
|
logDebug("Checking feature flag", {
|
|
15786
15863
|
flagName: flagName,
|
|
15787
15864
|
interactor: "featureFlagIsEnabled"
|
|
15788
15865
|
});
|
|
15789
|
-
|
|
15790
|
-
|
|
15791
|
-
|
|
15792
|
-
|
|
15793
|
-
|
|
15794
|
-
|
|
15795
|
-
|
|
15796
|
-
|
|
15797
|
-
|
|
15866
|
+
try {
|
|
15867
|
+
var container2 = getActiveIocContainer();
|
|
15868
|
+
var featureFlagService = container2.get(ITF_FEATURE_FLAG_SERVICE);
|
|
15869
|
+
var cacheService = container2.get(ITF_CACHE_SERVICE);
|
|
15870
|
+
var existingValue = featureFlagService.getFlagValue(flagName);
|
|
15871
|
+
if (existingValue !== void 0) {
|
|
15872
|
+
logDebug("Feature flag found with existing value", {
|
|
15873
|
+
flagName: flagName,
|
|
15874
|
+
isEnabled: existingValue,
|
|
15875
|
+
interactor: "featureFlagIsEnabled"
|
|
15876
|
+
});
|
|
15877
|
+
return existingValue;
|
|
15878
|
+
}
|
|
15879
|
+
var isDevelopmentMode = cacheService.get("devFlagsAutoEnabled") || false;
|
|
15880
|
+
var shouldAutoEnable = isDevelopmentMode && flagName.startsWith(DEV_MODE_FLAG_PREFIX);
|
|
15881
|
+
var defaultValue = shouldAutoEnable;
|
|
15882
|
+
logDebug("Initializing feature flag", {
|
|
15883
|
+
flagName: flagName,
|
|
15884
|
+
defaultValue: defaultValue,
|
|
15885
|
+
isDevelopmentMode: isDevelopmentMode,
|
|
15886
|
+
shouldAutoEnable: shouldAutoEnable,
|
|
15887
|
+
interactor: "featureFlagIsEnabled"
|
|
15888
|
+
});
|
|
15889
|
+
featureFlagService.initializeFlagValue(flagName, defaultValue);
|
|
15890
|
+
logDebug("Feature flag initialized and checked", {
|
|
15891
|
+
flagName: flagName,
|
|
15892
|
+
isEnabled: defaultValue,
|
|
15893
|
+
interactor: "featureFlagIsEnabled"
|
|
15894
|
+
});
|
|
15895
|
+
return defaultValue;
|
|
15896
|
+
} catch (error2) {
|
|
15897
|
+
logError("Error checking feature flag", {
|
|
15898
|
+
error: error2,
|
|
15899
|
+
flagName: flagName,
|
|
15900
|
+
interactor: "featureFlagIsEnabled"
|
|
15901
|
+
});
|
|
15902
|
+
return false;
|
|
15903
|
+
}
|
|
15798
15904
|
}
|
|
15799
15905
|
__name(featureFlagIsEnabled, "featureFlagIsEnabled");
|
|
15800
15906
|
function loadFeatureFlags() {
|
|
@@ -15850,6 +15956,21 @@ function _loadFeatureFlags() {
|
|
|
15850
15956
|
return _loadFeatureFlags.apply(this, arguments);
|
|
15851
15957
|
}
|
|
15852
15958
|
__name(loadFeatureFlags, "loadFeatureFlags");
|
|
15959
|
+
// src/feature-flags/base/interactors/setAutoEnableDevFlags.ts
|
|
15960
|
+
function setAutoEnableDevFlags(enabled) {
|
|
15961
|
+
logDebug("Setting auto enable dev flags", {
|
|
15962
|
+
enabled: enabled,
|
|
15963
|
+
interactor: "setAutoEnableDevFlags"
|
|
15964
|
+
});
|
|
15965
|
+
var container2 = getActiveIocContainer();
|
|
15966
|
+
var cacheService = container2.get(ITF_CACHE_SERVICE);
|
|
15967
|
+
cacheService.set("devFlagsAutoEnabled", enabled);
|
|
15968
|
+
logInfo("Auto enable dev flags set successfully", {
|
|
15969
|
+
enabled: enabled,
|
|
15970
|
+
interactor: "setAutoEnableDevFlags"
|
|
15971
|
+
});
|
|
15972
|
+
}
|
|
15973
|
+
__name(setAutoEnableDevFlags, "setAutoEnableDevFlags");
|
|
15853
15974
|
// src/feature-flags/base/services/iFeatureFlagService.ts
|
|
15854
15975
|
import { injectable as injectable49 } from "inversify";
|
|
15855
15976
|
function _ts_decorate49(decorators, target, key, desc) {
|
|
@@ -15877,6 +15998,10 @@ function _ts_decorate50(decorators, target, key, desc) {
|
|
|
15877
15998
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15878
15999
|
}
|
|
15879
16000
|
__name(_ts_decorate50, "_ts_decorate");
|
|
16001
|
+
function _ts_metadata11(k, v) {
|
|
16002
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
16003
|
+
}
|
|
16004
|
+
__name(_ts_metadata11, "_ts_metadata");
|
|
15880
16005
|
var _MockFeatureFlagService = /*#__PURE__*/ function(iFeatureFlagService) {
|
|
15881
16006
|
"use strict";
|
|
15882
16007
|
_inherits(_MockFeatureFlagService, iFeatureFlagService);
|
|
@@ -15884,19 +16009,35 @@ var _MockFeatureFlagService = /*#__PURE__*/ function(iFeatureFlagService) {
|
|
|
15884
16009
|
function _MockFeatureFlagService() {
|
|
15885
16010
|
_class_call_check(this, _MockFeatureFlagService);
|
|
15886
16011
|
var _this;
|
|
15887
|
-
_this = _super.call
|
|
15888
|
-
this
|
|
15889
|
-
].concat(Array.prototype.slice.call(arguments)));
|
|
16012
|
+
_this = _super.call(this);
|
|
15890
16013
|
__publicField(_assert_this_initialized(_this), "flagData", {});
|
|
15891
16014
|
return _this;
|
|
15892
16015
|
}
|
|
15893
16016
|
_create_class(_MockFeatureFlagService, [
|
|
16017
|
+
{
|
|
16018
|
+
key: "initializeFlagValue",
|
|
16019
|
+
value: function initializeFlagValue(flagName, defaultValue) {
|
|
16020
|
+
this.flagData[flagName] = defaultValue;
|
|
16021
|
+
}
|
|
16022
|
+
},
|
|
16023
|
+
{
|
|
16024
|
+
key: "getFlagValue",
|
|
16025
|
+
value: function getFlagValue(flagName) {
|
|
16026
|
+
return this.flagData[flagName];
|
|
16027
|
+
}
|
|
16028
|
+
},
|
|
15894
16029
|
{
|
|
15895
16030
|
key: "loadMockFlagData",
|
|
15896
16031
|
value: function loadMockFlagData(flagData) {
|
|
15897
16032
|
Object.assign(this.flagData, flagData);
|
|
15898
16033
|
}
|
|
15899
16034
|
},
|
|
16035
|
+
{
|
|
16036
|
+
key: "setMockFlagValue",
|
|
16037
|
+
value: function setMockFlagValue(flagName, value) {
|
|
16038
|
+
this.flagData[flagName] = value;
|
|
16039
|
+
}
|
|
16040
|
+
},
|
|
15900
16041
|
{
|
|
15901
16042
|
key: "loadFlagsData",
|
|
15902
16043
|
value: function loadFlagsData() {
|
|
@@ -15908,12 +16049,6 @@ var _MockFeatureFlagService = /*#__PURE__*/ function(iFeatureFlagService) {
|
|
|
15908
16049
|
});
|
|
15909
16050
|
})();
|
|
15910
16051
|
}
|
|
15911
|
-
},
|
|
15912
|
-
{
|
|
15913
|
-
key: "featureFlagIsEnabled",
|
|
15914
|
-
value: function featureFlagIsEnabled(flagName) {
|
|
15915
|
-
return this.flagData[flagName] || false;
|
|
15916
|
-
}
|
|
15917
16052
|
}
|
|
15918
16053
|
]);
|
|
15919
16054
|
return _MockFeatureFlagService;
|
|
@@ -15921,12 +16056,15 @@ var _MockFeatureFlagService = /*#__PURE__*/ function(iFeatureFlagService) {
|
|
|
15921
16056
|
__name(_MockFeatureFlagService, "MockFeatureFlagService");
|
|
15922
16057
|
var MockFeatureFlagService = _MockFeatureFlagService;
|
|
15923
16058
|
MockFeatureFlagService = _ts_decorate50([
|
|
15924
|
-
injectable50()
|
|
16059
|
+
injectable50(),
|
|
16060
|
+
_ts_metadata11("design:type", Function),
|
|
16061
|
+
_ts_metadata11("design:paramtypes", [])
|
|
15925
16062
|
], MockFeatureFlagService);
|
|
15926
16063
|
// src/feature-flags/ioc/featureFlagsIOCModule.ts
|
|
15927
16064
|
import { ContainerModule as ContainerModule17 } from "inversify";
|
|
15928
|
-
// src/feature-flags/adapters/
|
|
16065
|
+
// src/feature-flags/adapters/async-storage/AsyncStorageFeatureFlagService.ts
|
|
15929
16066
|
import { injectable as injectable51 } from "inversify";
|
|
16067
|
+
import AsyncStorage from "@react-native-async-storage/async-storage";
|
|
15930
16068
|
function _ts_decorate51(decorators, target, key, desc) {
|
|
15931
16069
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15932
16070
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -15934,10 +16072,153 @@ function _ts_decorate51(decorators, target, key, desc) {
|
|
|
15934
16072
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15935
16073
|
}
|
|
15936
16074
|
__name(_ts_decorate51, "_ts_decorate");
|
|
15937
|
-
|
|
16075
|
+
var FFLAGS_ASYNC_STORAGE_KEY = "mqcui-feature-flags";
|
|
16076
|
+
var _AsyncStorageFeatureFlagService = /*#__PURE__*/ function() {
|
|
16077
|
+
"use strict";
|
|
16078
|
+
function _AsyncStorageFeatureFlagService() {
|
|
16079
|
+
_class_call_check(this, _AsyncStorageFeatureFlagService);
|
|
16080
|
+
__publicField(this, "flagsData", {});
|
|
16081
|
+
}
|
|
16082
|
+
_create_class(_AsyncStorageFeatureFlagService, [
|
|
16083
|
+
{
|
|
16084
|
+
key: "loadFlagsData",
|
|
16085
|
+
value: function loadFlagsData() {
|
|
16086
|
+
var _this = this;
|
|
16087
|
+
return _async_to_generator(function() {
|
|
16088
|
+
var flagsDataString, err;
|
|
16089
|
+
return _ts_generator(this, function(_state) {
|
|
16090
|
+
switch(_state.label){
|
|
16091
|
+
case 0:
|
|
16092
|
+
logDebug("Loading feature flags from async storage", {
|
|
16093
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16094
|
+
});
|
|
16095
|
+
_state.label = 1;
|
|
16096
|
+
case 1:
|
|
16097
|
+
_state.trys.push([
|
|
16098
|
+
1,
|
|
16099
|
+
3,
|
|
16100
|
+
,
|
|
16101
|
+
4
|
|
16102
|
+
]);
|
|
16103
|
+
return [
|
|
16104
|
+
4,
|
|
16105
|
+
AsyncStorage.getItem(FFLAGS_ASYNC_STORAGE_KEY)
|
|
16106
|
+
];
|
|
16107
|
+
case 2:
|
|
16108
|
+
flagsDataString = _state.sent();
|
|
16109
|
+
if (flagsDataString !== null) {
|
|
16110
|
+
try {
|
|
16111
|
+
_this.flagsData = JSON.parse(flagsDataString);
|
|
16112
|
+
logInfo("Feature flags loaded from async storage", {
|
|
16113
|
+
flagCount: Object.keys(_this.flagsData).length,
|
|
16114
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16115
|
+
});
|
|
16116
|
+
} catch (parseError) {
|
|
16117
|
+
logError("Failed to parse feature flags data from async storage, resetting to empty", {
|
|
16118
|
+
parseError: parseError,
|
|
16119
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16120
|
+
});
|
|
16121
|
+
_this.flagsData = {};
|
|
16122
|
+
AsyncStorage.removeItem(FFLAGS_ASYNC_STORAGE_KEY).catch(function(removeError) {
|
|
16123
|
+
logError("Failed to remove corrupted feature flags data", {
|
|
16124
|
+
removeError: removeError,
|
|
16125
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16126
|
+
});
|
|
16127
|
+
});
|
|
16128
|
+
}
|
|
16129
|
+
} else {
|
|
16130
|
+
logDebug("No feature flags found in async storage", {
|
|
16131
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16132
|
+
});
|
|
16133
|
+
}
|
|
16134
|
+
return [
|
|
16135
|
+
3,
|
|
16136
|
+
4
|
|
16137
|
+
];
|
|
16138
|
+
case 3:
|
|
16139
|
+
err = _state.sent();
|
|
16140
|
+
logError("Error while loading feature flags data", {
|
|
16141
|
+
err: err,
|
|
16142
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16143
|
+
});
|
|
16144
|
+
return [
|
|
16145
|
+
3,
|
|
16146
|
+
4
|
|
16147
|
+
];
|
|
16148
|
+
case 4:
|
|
16149
|
+
return [
|
|
16150
|
+
2
|
|
16151
|
+
];
|
|
16152
|
+
}
|
|
16153
|
+
});
|
|
16154
|
+
})();
|
|
16155
|
+
}
|
|
16156
|
+
},
|
|
16157
|
+
{
|
|
16158
|
+
key: "initializeFlagValue",
|
|
16159
|
+
value: function initializeFlagValue(flagName, defaultValue) {
|
|
16160
|
+
logDebug("Initializing flag value", {
|
|
16161
|
+
flagName: flagName,
|
|
16162
|
+
defaultValue: defaultValue,
|
|
16163
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16164
|
+
});
|
|
16165
|
+
try {
|
|
16166
|
+
this.flagsData[flagName] = defaultValue;
|
|
16167
|
+
var flagsDataString = JSON.stringify(this.flagsData);
|
|
16168
|
+
AsyncStorage.setItem(FFLAGS_ASYNC_STORAGE_KEY, flagsDataString).catch(function(err) {
|
|
16169
|
+
logError("Error saving flag value to async storage", {
|
|
16170
|
+
err: err,
|
|
16171
|
+
flagName: flagName,
|
|
16172
|
+
defaultValue: defaultValue,
|
|
16173
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16174
|
+
});
|
|
16175
|
+
});
|
|
16176
|
+
logDebug("Flag value initialized", {
|
|
16177
|
+
flagName: flagName,
|
|
16178
|
+
defaultValue: defaultValue,
|
|
16179
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16180
|
+
});
|
|
16181
|
+
} catch (err) {
|
|
16182
|
+
logError("Error initializing flag value", {
|
|
16183
|
+
err: err,
|
|
16184
|
+
flagName: flagName,
|
|
16185
|
+
defaultValue: defaultValue,
|
|
16186
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16187
|
+
});
|
|
16188
|
+
}
|
|
16189
|
+
}
|
|
16190
|
+
},
|
|
16191
|
+
{
|
|
16192
|
+
key: "getFlagValue",
|
|
16193
|
+
value: function getFlagValue(flagName) {
|
|
16194
|
+
logDebug("Getting raw flag value", {
|
|
16195
|
+
flagName: flagName,
|
|
16196
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16197
|
+
});
|
|
16198
|
+
return this.flagsData[flagName];
|
|
16199
|
+
}
|
|
16200
|
+
}
|
|
16201
|
+
]);
|
|
16202
|
+
return _AsyncStorageFeatureFlagService;
|
|
16203
|
+
}();
|
|
16204
|
+
__name(_AsyncStorageFeatureFlagService, "AsyncStorageFeatureFlagService");
|
|
16205
|
+
var AsyncStorageFeatureFlagService = _AsyncStorageFeatureFlagService;
|
|
16206
|
+
AsyncStorageFeatureFlagService = _ts_decorate51([
|
|
16207
|
+
injectable51()
|
|
16208
|
+
], AsyncStorageFeatureFlagService);
|
|
16209
|
+
// src/feature-flags/adapters/session-storage/SessionStorageFeatureFlagService.ts
|
|
16210
|
+
import { injectable as injectable52 } from "inversify";
|
|
16211
|
+
function _ts_decorate52(decorators, target, key, desc) {
|
|
16212
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16213
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16214
|
+
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;
|
|
16215
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16216
|
+
}
|
|
16217
|
+
__name(_ts_decorate52, "_ts_decorate");
|
|
16218
|
+
function _ts_metadata12(k, v) {
|
|
15938
16219
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
15939
16220
|
}
|
|
15940
|
-
__name(
|
|
16221
|
+
__name(_ts_metadata12, "_ts_metadata");
|
|
15941
16222
|
var FFLAGS_SESSION_STORAGE_KEY = "mqcui-feature-flags";
|
|
15942
16223
|
var _SessionStorageFeatureFlagService = /*#__PURE__*/ function() {
|
|
15943
16224
|
"use strict";
|
|
@@ -15992,54 +16273,40 @@ var _SessionStorageFeatureFlagService = /*#__PURE__*/ function() {
|
|
|
15992
16273
|
}
|
|
15993
16274
|
},
|
|
15994
16275
|
{
|
|
15995
|
-
key: "
|
|
15996
|
-
value: function
|
|
15997
|
-
logDebug("
|
|
16276
|
+
key: "initializeFlagValue",
|
|
16277
|
+
value: function initializeFlagValue(flagName, defaultValue) {
|
|
16278
|
+
logDebug("Initializing flag value", {
|
|
15998
16279
|
flagName: flagName,
|
|
16280
|
+
defaultValue: defaultValue,
|
|
15999
16281
|
adapter: "SessionStorageFeatureFlagService"
|
|
16000
16282
|
});
|
|
16001
16283
|
try {
|
|
16002
|
-
|
|
16003
|
-
|
|
16284
|
+
this.flagsData[flagName] = defaultValue;
|
|
16285
|
+
var flagsDataString = JSON.stringify(this.flagsData);
|
|
16286
|
+
window.sessionStorage.setItem(FFLAGS_SESSION_STORAGE_KEY, flagsDataString);
|
|
16287
|
+
logDebug("Flag value initialized and saved", {
|
|
16004
16288
|
flagName: flagName,
|
|
16005
|
-
|
|
16289
|
+
defaultValue: defaultValue,
|
|
16006
16290
|
adapter: "SessionStorageFeatureFlagService"
|
|
16007
16291
|
});
|
|
16008
|
-
return isEnabled;
|
|
16009
16292
|
} catch (err) {
|
|
16010
|
-
logError("Error
|
|
16293
|
+
logError("Error initializing flag value", {
|
|
16011
16294
|
err: err,
|
|
16012
16295
|
flagName: flagName,
|
|
16296
|
+
defaultValue: defaultValue,
|
|
16013
16297
|
adapter: "SessionStorageFeatureFlagService"
|
|
16014
16298
|
});
|
|
16015
16299
|
}
|
|
16016
|
-
return false;
|
|
16017
|
-
}
|
|
16018
|
-
},
|
|
16019
|
-
{
|
|
16020
|
-
key: "tryGettingFlagValue",
|
|
16021
|
-
value: function tryGettingFlagValue(flagName) {
|
|
16022
|
-
var flagValue = this.flagsData[flagName];
|
|
16023
|
-
if (flagValue === void 0) {
|
|
16024
|
-
this.initFalseFlagValue(flagName);
|
|
16025
|
-
}
|
|
16026
|
-
return flagValue || false;
|
|
16027
16300
|
}
|
|
16028
16301
|
},
|
|
16029
16302
|
{
|
|
16030
|
-
key: "
|
|
16031
|
-
value: function
|
|
16032
|
-
logDebug("
|
|
16033
|
-
flagName: flagName,
|
|
16034
|
-
adapter: "SessionStorageFeatureFlagService"
|
|
16035
|
-
});
|
|
16036
|
-
this.flagsData[flagName] = false;
|
|
16037
|
-
var flagsDataString = JSON.stringify(this.flagsData);
|
|
16038
|
-
window.sessionStorage.setItem(FFLAGS_SESSION_STORAGE_KEY, flagsDataString);
|
|
16039
|
-
logDebug("False flag value initialized and saved", {
|
|
16303
|
+
key: "getFlagValue",
|
|
16304
|
+
value: function getFlagValue(flagName) {
|
|
16305
|
+
logDebug("Getting raw flag value", {
|
|
16040
16306
|
flagName: flagName,
|
|
16041
16307
|
adapter: "SessionStorageFeatureFlagService"
|
|
16042
16308
|
});
|
|
16309
|
+
return this.flagsData[flagName];
|
|
16043
16310
|
}
|
|
16044
16311
|
}
|
|
16045
16312
|
]);
|
|
@@ -16047,20 +16314,20 @@ var _SessionStorageFeatureFlagService = /*#__PURE__*/ function() {
|
|
|
16047
16314
|
}();
|
|
16048
16315
|
__name(_SessionStorageFeatureFlagService, "SessionStorageFeatureFlagService");
|
|
16049
16316
|
var SessionStorageFeatureFlagService = _SessionStorageFeatureFlagService;
|
|
16050
|
-
SessionStorageFeatureFlagService =
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16317
|
+
SessionStorageFeatureFlagService = _ts_decorate52([
|
|
16318
|
+
injectable52(),
|
|
16319
|
+
_ts_metadata12("design:type", Function),
|
|
16320
|
+
_ts_metadata12("design:paramtypes", [])
|
|
16054
16321
|
], SessionStorageFeatureFlagService);
|
|
16055
16322
|
// src/feature-flags/adapters/stub/StubFeatureFlagService.ts
|
|
16056
|
-
import { injectable as
|
|
16057
|
-
function
|
|
16323
|
+
import { injectable as injectable53 } from "inversify";
|
|
16324
|
+
function _ts_decorate53(decorators, target, key, desc) {
|
|
16058
16325
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16059
16326
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16060
16327
|
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;
|
|
16061
16328
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16062
16329
|
}
|
|
16063
|
-
__name(
|
|
16330
|
+
__name(_ts_decorate53, "_ts_decorate");
|
|
16064
16331
|
var _StubFeatureFlagService = /*#__PURE__*/ function() {
|
|
16065
16332
|
"use strict";
|
|
16066
16333
|
function _StubFeatureFlagService() {
|
|
@@ -16087,20 +16354,24 @@ var _StubFeatureFlagService = /*#__PURE__*/ function() {
|
|
|
16087
16354
|
}
|
|
16088
16355
|
},
|
|
16089
16356
|
{
|
|
16090
|
-
key: "
|
|
16091
|
-
value: function
|
|
16092
|
-
logDebug("
|
|
16357
|
+
key: "initializeFlagValue",
|
|
16358
|
+
value: function initializeFlagValue(flagName, defaultValue) {
|
|
16359
|
+
logDebug("Initializing flag value", {
|
|
16093
16360
|
flagName: flagName,
|
|
16361
|
+
defaultValue: defaultValue,
|
|
16094
16362
|
adapter: "StubFeatureFlagService"
|
|
16095
16363
|
});
|
|
16096
|
-
|
|
16097
|
-
|
|
16098
|
-
|
|
16364
|
+
this.flagsData[flagName] = defaultValue;
|
|
16365
|
+
}
|
|
16366
|
+
},
|
|
16367
|
+
{
|
|
16368
|
+
key: "getFlagValue",
|
|
16369
|
+
value: function getFlagValue(flagName) {
|
|
16370
|
+
logDebug("Getting raw flag value", {
|
|
16099
16371
|
flagName: flagName,
|
|
16100
|
-
isEnabled: isEnabled,
|
|
16101
16372
|
adapter: "StubFeatureFlagService"
|
|
16102
16373
|
});
|
|
16103
|
-
return
|
|
16374
|
+
return this.flagsData[flagName];
|
|
16104
16375
|
}
|
|
16105
16376
|
},
|
|
16106
16377
|
{
|
|
@@ -16124,8 +16395,8 @@ var _StubFeatureFlagService = /*#__PURE__*/ function() {
|
|
|
16124
16395
|
}();
|
|
16125
16396
|
__name(_StubFeatureFlagService, "StubFeatureFlagService");
|
|
16126
16397
|
var StubFeatureFlagService = _StubFeatureFlagService;
|
|
16127
|
-
StubFeatureFlagService =
|
|
16128
|
-
|
|
16398
|
+
StubFeatureFlagService = _ts_decorate53([
|
|
16399
|
+
injectable53()
|
|
16129
16400
|
], StubFeatureFlagService);
|
|
16130
16401
|
// src/feature-flags/ioc/featureFlagsIOCModule.ts
|
|
16131
16402
|
var featureFlagsIOCModule = new ContainerModule17(function(bind) {
|
|
@@ -16387,38 +16658,38 @@ function _putUpdateUser() {
|
|
|
16387
16658
|
}
|
|
16388
16659
|
__name(putUpdateUser, "putUpdateUser");
|
|
16389
16660
|
// src/users/base/repositories/iUsersRepository.ts
|
|
16390
|
-
import { injectable as
|
|
16391
|
-
function
|
|
16661
|
+
import { injectable as injectable54 } from "inversify";
|
|
16662
|
+
function _ts_decorate54(decorators, target, key, desc) {
|
|
16392
16663
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16393
16664
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16394
16665
|
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;
|
|
16395
16666
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16396
16667
|
}
|
|
16397
|
-
__name(
|
|
16668
|
+
__name(_ts_decorate54, "_ts_decorate");
|
|
16398
16669
|
var _iUsersRepository = function _iUsersRepository() {
|
|
16399
16670
|
"use strict";
|
|
16400
16671
|
_class_call_check(this, _iUsersRepository);
|
|
16401
16672
|
};
|
|
16402
16673
|
__name(_iUsersRepository, "iUsersRepository");
|
|
16403
16674
|
var iUsersRepository = _iUsersRepository;
|
|
16404
|
-
iUsersRepository =
|
|
16405
|
-
|
|
16675
|
+
iUsersRepository = _ts_decorate54([
|
|
16676
|
+
injectable54()
|
|
16406
16677
|
], iUsersRepository);
|
|
16407
16678
|
// src/users/base/repositories/MockiUsersRepository.ts
|
|
16408
|
-
import { injectable as
|
|
16679
|
+
import { injectable as injectable55 } from "inversify";
|
|
16409
16680
|
// src/common/constants/errorConstants.ts
|
|
16410
16681
|
var CREATE_USERS_BAD_REQUEST = "CREATE_USERS_BAD_REQUEST";
|
|
16411
16682
|
var CREATE_USER_ERROR = "Unable to create user";
|
|
16412
16683
|
var FETCH_USER_ERROR = "Unable to fetch user";
|
|
16413
16684
|
var UPDATE_USER_ERROR = "Unable to update user";
|
|
16414
16685
|
// src/users/base/repositories/MockiUsersRepository.ts
|
|
16415
|
-
function
|
|
16686
|
+
function _ts_decorate55(decorators, target, key, desc) {
|
|
16416
16687
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16417
16688
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16418
16689
|
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;
|
|
16419
16690
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16420
16691
|
}
|
|
16421
|
-
__name(
|
|
16692
|
+
__name(_ts_decorate55, "_ts_decorate");
|
|
16422
16693
|
var VALID_CUI_USER_RESPONSE = {
|
|
16423
16694
|
token: "a5a6742c-642e-49d0-ad7e-748cf140a03b",
|
|
16424
16695
|
active: true,
|
|
@@ -16489,8 +16760,8 @@ var _MockiUsersRepository = /*#__PURE__*/ function() {
|
|
|
16489
16760
|
}();
|
|
16490
16761
|
__name(_MockiUsersRepository, "MockiUsersRepository");
|
|
16491
16762
|
var MockiUsersRepository = _MockiUsersRepository;
|
|
16492
|
-
MockiUsersRepository =
|
|
16493
|
-
|
|
16763
|
+
MockiUsersRepository = _ts_decorate55([
|
|
16764
|
+
injectable55()
|
|
16494
16765
|
], MockiUsersRepository);
|
|
16495
16766
|
// src/users/adapters/rest/httpMocks.ts
|
|
16496
16767
|
var mswUsersHandlers = [
|
|
@@ -16621,18 +16892,18 @@ var mswUsersHandlers = [
|
|
|
16621
16892
|
}())
|
|
16622
16893
|
];
|
|
16623
16894
|
// src/users/adapters/rest/RestUsersRepository.ts
|
|
16624
|
-
import { inject as inject10, injectable as
|
|
16625
|
-
function
|
|
16895
|
+
import { inject as inject10, injectable as injectable56 } from "inversify";
|
|
16896
|
+
function _ts_decorate56(decorators, target, key, desc) {
|
|
16626
16897
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16627
16898
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16628
16899
|
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;
|
|
16629
16900
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16630
16901
|
}
|
|
16631
|
-
__name(
|
|
16632
|
-
function
|
|
16902
|
+
__name(_ts_decorate56, "_ts_decorate");
|
|
16903
|
+
function _ts_metadata13(k, v) {
|
|
16633
16904
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
16634
16905
|
}
|
|
16635
|
-
__name(
|
|
16906
|
+
__name(_ts_metadata13, "_ts_metadata");
|
|
16636
16907
|
var _RestUsersRepository = /*#__PURE__*/ function() {
|
|
16637
16908
|
"use strict";
|
|
16638
16909
|
function _RestUsersRepository() {
|
|
@@ -16817,12 +17088,12 @@ var _RestUsersRepository = /*#__PURE__*/ function() {
|
|
|
16817
17088
|
}();
|
|
16818
17089
|
__name(_RestUsersRepository, "RestUsersRepository");
|
|
16819
17090
|
var RestUsersRepository = _RestUsersRepository;
|
|
16820
|
-
|
|
17091
|
+
_ts_decorate56([
|
|
16821
17092
|
inject10(ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
16822
|
-
|
|
17093
|
+
_ts_metadata13("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
16823
17094
|
], RestUsersRepository.prototype, "httpClient", void 0);
|
|
16824
|
-
RestUsersRepository =
|
|
16825
|
-
|
|
17095
|
+
RestUsersRepository = _ts_decorate56([
|
|
17096
|
+
injectable56()
|
|
16826
17097
|
], RestUsersRepository);
|
|
16827
17098
|
// src/users/ioc/usersIOCModule.ts
|
|
16828
17099
|
import { ContainerModule as ContainerModule19 } from "inversify";
|
|
@@ -16920,22 +17191,22 @@ function _postVerifyKyc() {
|
|
|
16920
17191
|
}
|
|
16921
17192
|
__name(postVerifyKyc, "postVerifyKyc");
|
|
16922
17193
|
// src/kyc/base/repositories/iKycRepository.ts
|
|
16923
|
-
import { injectable as
|
|
16924
|
-
function
|
|
17194
|
+
import { injectable as injectable57 } from "inversify";
|
|
17195
|
+
function _ts_decorate57(decorators, target, key, desc) {
|
|
16925
17196
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16926
17197
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16927
17198
|
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;
|
|
16928
17199
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16929
17200
|
}
|
|
16930
|
-
__name(
|
|
17201
|
+
__name(_ts_decorate57, "_ts_decorate");
|
|
16931
17202
|
var _iKycRepository = function _iKycRepository() {
|
|
16932
17203
|
"use strict";
|
|
16933
17204
|
_class_call_check(this, _iKycRepository);
|
|
16934
17205
|
};
|
|
16935
17206
|
__name(_iKycRepository, "iKycRepository");
|
|
16936
17207
|
var iKycRepository = _iKycRepository;
|
|
16937
|
-
iKycRepository =
|
|
16938
|
-
|
|
17208
|
+
iKycRepository = _ts_decorate57([
|
|
17209
|
+
injectable57()
|
|
16939
17210
|
], iKycRepository);
|
|
16940
17211
|
// src/kyc/adapters/rest/httpMocks/mswKycHandlers.ts
|
|
16941
17212
|
var mswKycHandlers = [
|
|
@@ -17046,18 +17317,18 @@ var mswKycHandlers = [
|
|
|
17046
17317
|
}())
|
|
17047
17318
|
];
|
|
17048
17319
|
// src/kyc/adapters/rest/RestKycRepository.ts
|
|
17049
|
-
import { inject as inject11, injectable as
|
|
17050
|
-
function
|
|
17320
|
+
import { inject as inject11, injectable as injectable58 } from "inversify";
|
|
17321
|
+
function _ts_decorate58(decorators, target, key, desc) {
|
|
17051
17322
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17052
17323
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17053
17324
|
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;
|
|
17054
17325
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17055
17326
|
}
|
|
17056
|
-
__name(
|
|
17057
|
-
function
|
|
17327
|
+
__name(_ts_decorate58, "_ts_decorate");
|
|
17328
|
+
function _ts_metadata14(k, v) {
|
|
17058
17329
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
17059
17330
|
}
|
|
17060
|
-
__name(
|
|
17331
|
+
__name(_ts_metadata14, "_ts_metadata");
|
|
17061
17332
|
var _RestKycRepository = /*#__PURE__*/ function() {
|
|
17062
17333
|
"use strict";
|
|
17063
17334
|
function _RestKycRepository() {
|
|
@@ -17131,12 +17402,12 @@ var _RestKycRepository = /*#__PURE__*/ function() {
|
|
|
17131
17402
|
}();
|
|
17132
17403
|
__name(_RestKycRepository, "RestKycRepository");
|
|
17133
17404
|
var RestKycRepository = _RestKycRepository;
|
|
17134
|
-
|
|
17405
|
+
_ts_decorate58([
|
|
17135
17406
|
inject11(ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
17136
|
-
|
|
17407
|
+
_ts_metadata14("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
17137
17408
|
], RestKycRepository.prototype, "httpClient", void 0);
|
|
17138
|
-
RestKycRepository =
|
|
17139
|
-
|
|
17409
|
+
RestKycRepository = _ts_decorate58([
|
|
17410
|
+
injectable58()
|
|
17140
17411
|
], RestKycRepository);
|
|
17141
17412
|
// src/kyc/ioc/kycIOCModule.ts
|
|
17142
17413
|
import { ContainerModule as ContainerModule21 } from "inversify";
|
|
@@ -17277,22 +17548,22 @@ function _initializeOnboarding() {
|
|
|
17277
17548
|
}
|
|
17278
17549
|
__name(initializeOnboarding, "initializeOnboarding");
|
|
17279
17550
|
// src/kyb/base/repositories/iKybRepository.ts
|
|
17280
|
-
import { injectable as
|
|
17281
|
-
function
|
|
17551
|
+
import { injectable as injectable59 } from "inversify";
|
|
17552
|
+
function _ts_decorate59(decorators, target, key, desc) {
|
|
17282
17553
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17283
17554
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17284
17555
|
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;
|
|
17285
17556
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17286
17557
|
}
|
|
17287
|
-
__name(
|
|
17558
|
+
__name(_ts_decorate59, "_ts_decorate");
|
|
17288
17559
|
var _iKybRepository = function _iKybRepository() {
|
|
17289
17560
|
"use strict";
|
|
17290
17561
|
_class_call_check(this, _iKybRepository);
|
|
17291
17562
|
};
|
|
17292
17563
|
__name(_iKybRepository, "iKybRepository");
|
|
17293
17564
|
var iKybRepository = _iKybRepository;
|
|
17294
|
-
iKybRepository =
|
|
17295
|
-
|
|
17565
|
+
iKybRepository = _ts_decorate59([
|
|
17566
|
+
injectable59()
|
|
17296
17567
|
], iKybRepository);
|
|
17297
17568
|
// src/kyb/base/types/KybEvaluationResponse.ts
|
|
17298
17569
|
var KybEvaluationStatus = {
|
|
@@ -18585,18 +18856,18 @@ var mswKybHandlers = [
|
|
|
18585
18856
|
}())
|
|
18586
18857
|
];
|
|
18587
18858
|
// src/kyb/adapters/rest/RestKybRepository.ts
|
|
18588
|
-
import { inject as inject12, injectable as
|
|
18589
|
-
function
|
|
18859
|
+
import { inject as inject12, injectable as injectable60 } from "inversify";
|
|
18860
|
+
function _ts_decorate60(decorators, target, key, desc) {
|
|
18590
18861
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18591
18862
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18592
18863
|
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;
|
|
18593
18864
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18594
18865
|
}
|
|
18595
|
-
__name(
|
|
18596
|
-
function
|
|
18866
|
+
__name(_ts_decorate60, "_ts_decorate");
|
|
18867
|
+
function _ts_metadata15(k, v) {
|
|
18597
18868
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
18598
18869
|
}
|
|
18599
|
-
__name(
|
|
18870
|
+
__name(_ts_metadata15, "_ts_metadata");
|
|
18600
18871
|
var _RestKybRepository = /*#__PURE__*/ function() {
|
|
18601
18872
|
"use strict";
|
|
18602
18873
|
function _RestKybRepository() {
|
|
@@ -18736,12 +19007,12 @@ var _RestKybRepository = /*#__PURE__*/ function() {
|
|
|
18736
19007
|
}();
|
|
18737
19008
|
__name(_RestKybRepository, "RestKybRepository");
|
|
18738
19009
|
var RestKybRepository = _RestKybRepository;
|
|
18739
|
-
|
|
19010
|
+
_ts_decorate60([
|
|
18740
19011
|
inject12(ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
18741
|
-
|
|
19012
|
+
_ts_metadata15("design:type", typeof iHttpClient === "undefined" ? Object : iHttpClient)
|
|
18742
19013
|
], RestKybRepository.prototype, "httpClient", void 0);
|
|
18743
|
-
RestKybRepository =
|
|
18744
|
-
|
|
19014
|
+
RestKybRepository = _ts_decorate60([
|
|
19015
|
+
injectable60()
|
|
18745
19016
|
], RestKybRepository);
|
|
18746
19017
|
// src/kyb/ioc/kybIOCModule.ts
|
|
18747
19018
|
import { ContainerModule as ContainerModule22 } from "inversify";
|
|
@@ -18751,14 +19022,14 @@ var kybIOCModule = new ContainerModule22(function(bind) {
|
|
|
18751
19022
|
// src/kyb/ioc/mockKybIOCModule.ts
|
|
18752
19023
|
import { ContainerModule as ContainerModule23 } from "inversify";
|
|
18753
19024
|
// src/kyb/base/repositories/MockKybRepository.ts
|
|
18754
|
-
import { injectable as
|
|
18755
|
-
function
|
|
19025
|
+
import { injectable as injectable61 } from "inversify";
|
|
19026
|
+
function _ts_decorate61(decorators, target, key, desc) {
|
|
18756
19027
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18757
19028
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18758
19029
|
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;
|
|
18759
19030
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18760
19031
|
}
|
|
18761
|
-
__name(
|
|
19032
|
+
__name(_ts_decorate61, "_ts_decorate");
|
|
18762
19033
|
var _MockKybRepository = /*#__PURE__*/ function() {
|
|
18763
19034
|
"use strict";
|
|
18764
19035
|
function _MockKybRepository() {
|
|
@@ -18862,40 +19133,40 @@ var _MockKybRepository = /*#__PURE__*/ function() {
|
|
|
18862
19133
|
}();
|
|
18863
19134
|
__name(_MockKybRepository, "MockKybRepository");
|
|
18864
19135
|
var MockKybRepository = _MockKybRepository;
|
|
18865
|
-
MockKybRepository =
|
|
18866
|
-
|
|
19136
|
+
MockKybRepository = _ts_decorate61([
|
|
19137
|
+
injectable61()
|
|
18867
19138
|
], MockKybRepository);
|
|
18868
19139
|
// src/kyb/ioc/mockKybIOCModule.ts
|
|
18869
19140
|
var mockKybIOCModule = new ContainerModule23(function(bind) {
|
|
18870
19141
|
bind(ITF_KYB).to(MockKybRepository).inSingletonScope();
|
|
18871
19142
|
});
|
|
18872
19143
|
// src/money-movement/base/repositiories/iMoneyMovementRepository.ts
|
|
18873
|
-
import { injectable as
|
|
18874
|
-
function
|
|
19144
|
+
import { injectable as injectable62 } from "inversify";
|
|
19145
|
+
function _ts_decorate62(decorators, target, key, desc) {
|
|
18875
19146
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18876
19147
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18877
19148
|
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;
|
|
18878
19149
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18879
19150
|
}
|
|
18880
|
-
__name(
|
|
19151
|
+
__name(_ts_decorate62, "_ts_decorate");
|
|
18881
19152
|
var _iMoneyMovementRepository = function _iMoneyMovementRepository() {
|
|
18882
19153
|
"use strict";
|
|
18883
19154
|
_class_call_check(this, _iMoneyMovementRepository);
|
|
18884
19155
|
};
|
|
18885
19156
|
__name(_iMoneyMovementRepository, "iMoneyMovementRepository");
|
|
18886
19157
|
var iMoneyMovementRepository = _iMoneyMovementRepository;
|
|
18887
|
-
iMoneyMovementRepository =
|
|
18888
|
-
|
|
19158
|
+
iMoneyMovementRepository = _ts_decorate62([
|
|
19159
|
+
injectable62()
|
|
18889
19160
|
], iMoneyMovementRepository);
|
|
18890
19161
|
// src/money-movement/base/repositiories/MockMoneyMovementRepository.ts
|
|
18891
|
-
import { injectable as
|
|
18892
|
-
function
|
|
19162
|
+
import { injectable as injectable63 } from "inversify";
|
|
19163
|
+
function _ts_decorate63(decorators, target, key, desc) {
|
|
18893
19164
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18894
19165
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18895
19166
|
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;
|
|
18896
19167
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18897
19168
|
}
|
|
18898
|
-
__name(
|
|
19169
|
+
__name(_ts_decorate63, "_ts_decorate");
|
|
18899
19170
|
var TEST_SOURCE_CARD = {
|
|
18900
19171
|
expiration: "05/24",
|
|
18901
19172
|
last_four: "\u2022\u20221234",
|
|
@@ -18994,8 +19265,8 @@ var _MockMoneyMovementRepository = /*#__PURE__*/ function() {
|
|
|
18994
19265
|
}();
|
|
18995
19266
|
__name(_MockMoneyMovementRepository, "MockMoneyMovementRepository");
|
|
18996
19267
|
var MockMoneyMovementRepository = _MockMoneyMovementRepository;
|
|
18997
|
-
MockMoneyMovementRepository =
|
|
18998
|
-
|
|
19268
|
+
MockMoneyMovementRepository = _ts_decorate63([
|
|
19269
|
+
injectable63()
|
|
18999
19270
|
], MockMoneyMovementRepository);
|
|
19000
19271
|
// src/money-movement/ioc/mockMoneyMovementIOCModule.ts
|
|
19001
19272
|
import { ContainerModule as ContainerModule24 } from "inversify";
|
|
@@ -19008,18 +19279,18 @@ var mockMoneyMovementIOCModule = new ContainerModule24(function(bind) {
|
|
|
19008
19279
|
// src/money-movement/ioc/moneyMovementIOCModule.ts
|
|
19009
19280
|
import { ContainerModule as ContainerModule25 } from "inversify";
|
|
19010
19281
|
// src/money-movement/adapters/rest/RestMoneyMovementRepository.ts
|
|
19011
|
-
import { inject as inject13, injectable as
|
|
19012
|
-
function
|
|
19282
|
+
import { inject as inject13, injectable as injectable64 } from "inversify";
|
|
19283
|
+
function _ts_decorate64(decorators, target, key, desc) {
|
|
19013
19284
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19014
19285
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19015
19286
|
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;
|
|
19016
19287
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19017
19288
|
}
|
|
19018
|
-
__name(
|
|
19019
|
-
function
|
|
19289
|
+
__name(_ts_decorate64, "_ts_decorate");
|
|
19290
|
+
function _ts_metadata16(k, v) {
|
|
19020
19291
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
19021
19292
|
}
|
|
19022
|
-
__name(
|
|
19293
|
+
__name(_ts_metadata16, "_ts_metadata");
|
|
19023
19294
|
var _RestMoneyMovementRepository = /*#__PURE__*/ function() {
|
|
19024
19295
|
"use strict";
|
|
19025
19296
|
function _RestMoneyMovementRepository() {
|
|
@@ -19342,12 +19613,12 @@ var _RestMoneyMovementRepository = /*#__PURE__*/ function() {
|
|
|
19342
19613
|
}();
|
|
19343
19614
|
__name(_RestMoneyMovementRepository, "RestMoneyMovementRepository");
|
|
19344
19615
|
var RestMoneyMovementRepository = _RestMoneyMovementRepository;
|
|
19345
|
-
|
|
19616
|
+
_ts_decorate64([
|
|
19346
19617
|
inject13(ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
19347
|
-
|
|
19618
|
+
_ts_metadata16("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
19348
19619
|
], RestMoneyMovementRepository.prototype, "httpClient", void 0);
|
|
19349
|
-
RestMoneyMovementRepository =
|
|
19350
|
-
|
|
19620
|
+
RestMoneyMovementRepository = _ts_decorate64([
|
|
19621
|
+
injectable64()
|
|
19351
19622
|
], RestMoneyMovementRepository);
|
|
19352
19623
|
// src/money-movement/ioc/moneyMovementIOCModule.ts
|
|
19353
19624
|
var moneyMovementIOCModule = new ContainerModule25(function(bind) {
|
|
@@ -20209,32 +20480,32 @@ function _verifyOTP() {
|
|
|
20209
20480
|
}
|
|
20210
20481
|
__name(verifyOTP, "verifyOTP");
|
|
20211
20482
|
// src/idp/base/services/iIdpService.ts
|
|
20212
|
-
import { injectable as
|
|
20213
|
-
function
|
|
20483
|
+
import { injectable as injectable65 } from "inversify";
|
|
20484
|
+
function _ts_decorate65(decorators, target, key, desc) {
|
|
20214
20485
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20215
20486
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20216
20487
|
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;
|
|
20217
20488
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20218
20489
|
}
|
|
20219
|
-
__name(
|
|
20490
|
+
__name(_ts_decorate65, "_ts_decorate");
|
|
20220
20491
|
var _iIdpService = function _iIdpService() {
|
|
20221
20492
|
"use strict";
|
|
20222
20493
|
_class_call_check(this, _iIdpService);
|
|
20223
20494
|
};
|
|
20224
20495
|
__name(_iIdpService, "iIdpService");
|
|
20225
20496
|
var iIdpService = _iIdpService;
|
|
20226
|
-
iIdpService =
|
|
20227
|
-
|
|
20497
|
+
iIdpService = _ts_decorate65([
|
|
20498
|
+
injectable65()
|
|
20228
20499
|
], iIdpService);
|
|
20229
20500
|
// src/idp/base/services/MockIdpService.ts
|
|
20230
|
-
import { injectable as
|
|
20231
|
-
function
|
|
20501
|
+
import { injectable as injectable66 } from "inversify";
|
|
20502
|
+
function _ts_decorate66(decorators, target, key, desc) {
|
|
20232
20503
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20233
20504
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20234
20505
|
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;
|
|
20235
20506
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20236
20507
|
}
|
|
20237
|
-
__name(
|
|
20508
|
+
__name(_ts_decorate66, "_ts_decorate");
|
|
20238
20509
|
var _MockIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
20239
20510
|
"use strict";
|
|
20240
20511
|
_inherits(_MockIdpService, iIdpService);
|
|
@@ -20368,22 +20639,22 @@ var _MockIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
20368
20639
|
}(iIdpService);
|
|
20369
20640
|
__name(_MockIdpService, "MockIdpService");
|
|
20370
20641
|
var MockIdpService = _MockIdpService;
|
|
20371
|
-
MockIdpService =
|
|
20372
|
-
|
|
20642
|
+
MockIdpService = _ts_decorate66([
|
|
20643
|
+
injectable66()
|
|
20373
20644
|
], MockIdpService);
|
|
20374
20645
|
// src/idp/adapters/rest/RestIdpService.ts
|
|
20375
|
-
import { injectable as
|
|
20376
|
-
function
|
|
20646
|
+
import { injectable as injectable67, inject as inject14 } from "inversify";
|
|
20647
|
+
function _ts_decorate67(decorators, target, key, desc) {
|
|
20377
20648
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20378
20649
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20379
20650
|
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;
|
|
20380
20651
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20381
20652
|
}
|
|
20382
|
-
__name(
|
|
20383
|
-
function
|
|
20653
|
+
__name(_ts_decorate67, "_ts_decorate");
|
|
20654
|
+
function _ts_metadata17(k, v) {
|
|
20384
20655
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20385
20656
|
}
|
|
20386
|
-
__name(
|
|
20657
|
+
__name(_ts_metadata17, "_ts_metadata");
|
|
20387
20658
|
var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
20388
20659
|
"use strict";
|
|
20389
20660
|
_inherits(_RestIdpService, iIdpService);
|
|
@@ -20819,12 +21090,12 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
20819
21090
|
}(iIdpService);
|
|
20820
21091
|
__name(_RestIdpService, "RestIdpService");
|
|
20821
21092
|
var RestIdpService = _RestIdpService;
|
|
20822
|
-
|
|
21093
|
+
_ts_decorate67([
|
|
20823
21094
|
inject14(ITF_HTTP_CLIENT),
|
|
20824
|
-
|
|
21095
|
+
_ts_metadata17("design:type", typeof iHttpClient === "undefined" ? Object : iHttpClient)
|
|
20825
21096
|
], RestIdpService.prototype, "httpClient", void 0);
|
|
20826
|
-
RestIdpService =
|
|
20827
|
-
|
|
21097
|
+
RestIdpService = _ts_decorate67([
|
|
21098
|
+
injectable67()
|
|
20828
21099
|
], RestIdpService);
|
|
20829
21100
|
// src/idp/ioc/idpIOCModule.ts
|
|
20830
21101
|
import { ContainerModule as ContainerModule26 } from "inversify";
|
|
@@ -20837,22 +21108,22 @@ var mockIdpIOCModule = new ContainerModule27(function(bind) {
|
|
|
20837
21108
|
bind(ITF_IDP_SERVICE).to(MockIdpService).inSingletonScope();
|
|
20838
21109
|
});
|
|
20839
21110
|
// src/statements/base/repositories/iStatementsRepository.ts
|
|
20840
|
-
import { injectable as
|
|
20841
|
-
function
|
|
21111
|
+
import { injectable as injectable68 } from "inversify";
|
|
21112
|
+
function _ts_decorate68(decorators, target, key, desc) {
|
|
20842
21113
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20843
21114
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20844
21115
|
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;
|
|
20845
21116
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20846
21117
|
}
|
|
20847
|
-
__name(
|
|
21118
|
+
__name(_ts_decorate68, "_ts_decorate");
|
|
20848
21119
|
var _iStatementsRepository = function _iStatementsRepository() {
|
|
20849
21120
|
"use strict";
|
|
20850
21121
|
_class_call_check(this, _iStatementsRepository);
|
|
20851
21122
|
};
|
|
20852
21123
|
__name(_iStatementsRepository, "iStatementsRepository");
|
|
20853
21124
|
var iStatementsRepository = _iStatementsRepository;
|
|
20854
|
-
iStatementsRepository =
|
|
20855
|
-
|
|
21125
|
+
iStatementsRepository = _ts_decorate68([
|
|
21126
|
+
injectable68()
|
|
20856
21127
|
], iStatementsRepository);
|
|
20857
21128
|
// src/statements/base/repositories/statementTypes.ts
|
|
20858
21129
|
var StatementAssetStateEnum;
|
|
@@ -20982,18 +21253,18 @@ __name(getStatementAsset, "getStatementAsset");
|
|
|
20982
21253
|
// src/statements/ioc/statementsIOCModules.ts
|
|
20983
21254
|
import { ContainerModule as ContainerModule28 } from "inversify";
|
|
20984
21255
|
// src/statements/adapters/rest/RestStatementsRepository.ts
|
|
20985
|
-
import { inject as inject15, injectable as
|
|
20986
|
-
function
|
|
21256
|
+
import { inject as inject15, injectable as injectable69 } from "inversify";
|
|
21257
|
+
function _ts_decorate69(decorators, target, key, desc) {
|
|
20987
21258
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20988
21259
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20989
21260
|
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;
|
|
20990
21261
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20991
21262
|
}
|
|
20992
|
-
__name(
|
|
20993
|
-
function
|
|
21263
|
+
__name(_ts_decorate69, "_ts_decorate");
|
|
21264
|
+
function _ts_metadata18(k, v) {
|
|
20994
21265
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20995
21266
|
}
|
|
20996
|
-
__name(
|
|
21267
|
+
__name(_ts_metadata18, "_ts_metadata");
|
|
20997
21268
|
var _RestStatementsRepository = /*#__PURE__*/ function() {
|
|
20998
21269
|
"use strict";
|
|
20999
21270
|
function _RestStatementsRepository() {
|
|
@@ -21147,12 +21418,12 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
|
|
|
21147
21418
|
}();
|
|
21148
21419
|
__name(_RestStatementsRepository, "RestStatementsRepository");
|
|
21149
21420
|
var RestStatementsRepository = _RestStatementsRepository;
|
|
21150
|
-
|
|
21421
|
+
_ts_decorate69([
|
|
21151
21422
|
inject15(ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
21152
|
-
|
|
21423
|
+
_ts_metadata18("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
21153
21424
|
], RestStatementsRepository.prototype, "httpClient", void 0);
|
|
21154
|
-
RestStatementsRepository =
|
|
21155
|
-
|
|
21425
|
+
RestStatementsRepository = _ts_decorate69([
|
|
21426
|
+
injectable69()
|
|
21156
21427
|
], RestStatementsRepository);
|
|
21157
21428
|
// src/statements/ioc/statementsIOCModules.ts
|
|
21158
21429
|
var statementsIOCModule = new ContainerModule28(function(bind) {
|
|
@@ -21941,14 +22212,14 @@ var _iThemeRepository = function _iThemeRepository() {
|
|
|
21941
22212
|
__name(_iThemeRepository, "iThemeRepository");
|
|
21942
22213
|
var iThemeRepository = _iThemeRepository;
|
|
21943
22214
|
// src/themes/base/repositories/MockThemeRepository.ts
|
|
21944
|
-
import { injectable as
|
|
21945
|
-
function
|
|
22215
|
+
import { injectable as injectable70 } from "inversify";
|
|
22216
|
+
function _ts_decorate70(decorators, target, key, desc) {
|
|
21946
22217
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
21947
22218
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21948
22219
|
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;
|
|
21949
22220
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21950
22221
|
}
|
|
21951
|
-
__name(
|
|
22222
|
+
__name(_ts_decorate70, "_ts_decorate");
|
|
21952
22223
|
var TEST_THEME_NAME = "myTestTheme";
|
|
21953
22224
|
var TEST_THEME_OBJECT = {
|
|
21954
22225
|
colors: {
|
|
@@ -21991,8 +22262,8 @@ var _MockThemeRepository = /*#__PURE__*/ function() {
|
|
|
21991
22262
|
}();
|
|
21992
22263
|
__name(_MockThemeRepository, "MockThemeRepository");
|
|
21993
22264
|
var MockThemeRepository = _MockThemeRepository;
|
|
21994
|
-
MockThemeRepository =
|
|
21995
|
-
|
|
22265
|
+
MockThemeRepository = _ts_decorate70([
|
|
22266
|
+
injectable70()
|
|
21996
22267
|
], MockThemeRepository);
|
|
21997
22268
|
// src/themes/base/repositories/iIconsRepository.ts
|
|
21998
22269
|
var _iIconsRepository = function _iIconsRepository() {
|
|
@@ -22009,18 +22280,18 @@ var mockThemesIOCModule = new ContainerModule29(function(bind) {
|
|
|
22009
22280
|
// src/themes/ioc/themesIOCModule.ts
|
|
22010
22281
|
import { ContainerModule as ContainerModule30 } from "inversify";
|
|
22011
22282
|
// src/themes/adapters/rest/RestThemeRepository.ts
|
|
22012
|
-
import { inject as inject16, injectable as
|
|
22013
|
-
function
|
|
22283
|
+
import { inject as inject16, injectable as injectable71 } from "inversify";
|
|
22284
|
+
function _ts_decorate71(decorators, target, key, desc) {
|
|
22014
22285
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22015
22286
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22016
22287
|
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;
|
|
22017
22288
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22018
22289
|
}
|
|
22019
|
-
__name(
|
|
22020
|
-
function
|
|
22290
|
+
__name(_ts_decorate71, "_ts_decorate");
|
|
22291
|
+
function _ts_metadata19(k, v) {
|
|
22021
22292
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22022
22293
|
}
|
|
22023
|
-
__name(
|
|
22294
|
+
__name(_ts_metadata19, "_ts_metadata");
|
|
22024
22295
|
var _RestThemeRepository = /*#__PURE__*/ function() {
|
|
22025
22296
|
"use strict";
|
|
22026
22297
|
function _RestThemeRepository() {
|
|
@@ -22088,12 +22359,12 @@ var _RestThemeRepository = /*#__PURE__*/ function() {
|
|
|
22088
22359
|
}();
|
|
22089
22360
|
__name(_RestThemeRepository, "RestThemeRepository");
|
|
22090
22361
|
var RestThemeRepository = _RestThemeRepository;
|
|
22091
|
-
|
|
22362
|
+
_ts_decorate71([
|
|
22092
22363
|
inject16(ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
22093
|
-
|
|
22364
|
+
_ts_metadata19("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
22094
22365
|
], RestThemeRepository.prototype, "httpClient", void 0);
|
|
22095
|
-
RestThemeRepository =
|
|
22096
|
-
|
|
22366
|
+
RestThemeRepository = _ts_decorate71([
|
|
22367
|
+
injectable71()
|
|
22097
22368
|
], RestThemeRepository);
|
|
22098
22369
|
// src/themes/ioc/themesIOCModule.ts
|
|
22099
22370
|
var themesIOCModule = new ContainerModule30(function(bind) {
|
|
@@ -22102,14 +22373,14 @@ var themesIOCModule = new ContainerModule30(function(bind) {
|
|
|
22102
22373
|
// src/themes/ioc/iconsIOCModule.ts
|
|
22103
22374
|
import { ContainerModule as ContainerModule31 } from "inversify";
|
|
22104
22375
|
// src/themes/adapters/rest/StaticIconsRepository.ts
|
|
22105
|
-
import { injectable as
|
|
22106
|
-
function
|
|
22376
|
+
import { injectable as injectable72 } from "inversify";
|
|
22377
|
+
function _ts_decorate72(decorators, target, key, desc) {
|
|
22107
22378
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22108
22379
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22109
22380
|
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;
|
|
22110
22381
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22111
22382
|
}
|
|
22112
|
-
__name(
|
|
22383
|
+
__name(_ts_decorate72, "_ts_decorate");
|
|
22113
22384
|
var _StaticIconsRepository = /*#__PURE__*/ function() {
|
|
22114
22385
|
"use strict";
|
|
22115
22386
|
function _StaticIconsRepository() {
|
|
@@ -22207,33 +22478,33 @@ var _StaticIconsRepository = /*#__PURE__*/ function() {
|
|
|
22207
22478
|
}();
|
|
22208
22479
|
__name(_StaticIconsRepository, "StaticIconsRepository");
|
|
22209
22480
|
var StaticIconsRepository = _StaticIconsRepository;
|
|
22210
|
-
StaticIconsRepository =
|
|
22211
|
-
|
|
22481
|
+
StaticIconsRepository = _ts_decorate72([
|
|
22482
|
+
injectable72()
|
|
22212
22483
|
], StaticIconsRepository);
|
|
22213
22484
|
// src/themes/ioc/iconsIOCModule.ts
|
|
22214
22485
|
var iconsIOCModule = new ContainerModule31(function(bind) {
|
|
22215
22486
|
bind(ITF_ICONS_REPOSITORY).to(StaticIconsRepository).inSingletonScope();
|
|
22216
22487
|
});
|
|
22217
22488
|
// src/transactions/base/repositories/iTransactionsRepository.ts
|
|
22218
|
-
import { injectable as
|
|
22219
|
-
function
|
|
22489
|
+
import { injectable as injectable73 } from "inversify";
|
|
22490
|
+
function _ts_decorate73(decorators, target, key, desc) {
|
|
22220
22491
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22221
22492
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22222
22493
|
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;
|
|
22223
22494
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22224
22495
|
}
|
|
22225
|
-
__name(
|
|
22496
|
+
__name(_ts_decorate73, "_ts_decorate");
|
|
22226
22497
|
var _iTransactionsRepository = function _iTransactionsRepository() {
|
|
22227
22498
|
"use strict";
|
|
22228
22499
|
_class_call_check(this, _iTransactionsRepository);
|
|
22229
22500
|
};
|
|
22230
22501
|
__name(_iTransactionsRepository, "iTransactionsRepository");
|
|
22231
22502
|
var iTransactionsRepository = _iTransactionsRepository;
|
|
22232
|
-
iTransactionsRepository =
|
|
22233
|
-
|
|
22503
|
+
iTransactionsRepository = _ts_decorate73([
|
|
22504
|
+
injectable73()
|
|
22234
22505
|
], iTransactionsRepository);
|
|
22235
22506
|
// src/transactions/base/repositories/MockTransactionsRepository.ts
|
|
22236
|
-
import { injectable as
|
|
22507
|
+
import { injectable as injectable74 } from "inversify";
|
|
22237
22508
|
// src/transactions/base/repositories/transactionTypes.ts
|
|
22238
22509
|
var TransactionRecordStatus;
|
|
22239
22510
|
(function(TransactionRecordStatus2) {
|
|
@@ -22247,13 +22518,13 @@ var TransactionDetailsBannerType;
|
|
|
22247
22518
|
TransactionDetailsBannerType2["WARNING"] = "WARNING";
|
|
22248
22519
|
})(TransactionDetailsBannerType || (TransactionDetailsBannerType = {}));
|
|
22249
22520
|
// src/transactions/base/repositories/MockTransactionsRepository.ts
|
|
22250
|
-
function
|
|
22521
|
+
function _ts_decorate74(decorators, target, key, desc) {
|
|
22251
22522
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22252
22523
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22253
22524
|
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;
|
|
22254
22525
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22255
22526
|
}
|
|
22256
|
-
__name(
|
|
22527
|
+
__name(_ts_decorate74, "_ts_decorate");
|
|
22257
22528
|
var _MockTransactionsRepository = /*#__PURE__*/ function() {
|
|
22258
22529
|
"use strict";
|
|
22259
22530
|
function _MockTransactionsRepository() {
|
|
@@ -22385,8 +22656,8 @@ var _MockTransactionsRepository = /*#__PURE__*/ function() {
|
|
|
22385
22656
|
}();
|
|
22386
22657
|
__name(_MockTransactionsRepository, "MockTransactionsRepository");
|
|
22387
22658
|
var MockTransactionsRepository = _MockTransactionsRepository;
|
|
22388
|
-
MockTransactionsRepository =
|
|
22389
|
-
|
|
22659
|
+
MockTransactionsRepository = _ts_decorate74([
|
|
22660
|
+
injectable74()
|
|
22390
22661
|
], MockTransactionsRepository);
|
|
22391
22662
|
// src/transactions/ioc/symbols.ts
|
|
22392
22663
|
var ITF_TRANSACTIONS = Symbol.for("iTransactionsRepository");
|
|
@@ -22691,22 +22962,22 @@ var Direction;
|
|
|
22691
22962
|
// src/transactions/ioc/transactionsIOCModule.ts
|
|
22692
22963
|
import { ContainerModule as ContainerModule32 } from "inversify";
|
|
22693
22964
|
// src/transactions/adapters/rest/RestTransactionsRepository.ts
|
|
22694
|
-
import { inject as inject17, injectable as
|
|
22965
|
+
import { inject as inject17, injectable as injectable75 } from "inversify";
|
|
22695
22966
|
// src/transactions/adapters/rest/constants.ts
|
|
22696
22967
|
var PENDING_QUERY = "PENDING";
|
|
22697
22968
|
var NON_PENDING_QUERY = "COMPLETION,DECLINED";
|
|
22698
22969
|
// src/transactions/adapters/rest/RestTransactionsRepository.ts
|
|
22699
|
-
function
|
|
22970
|
+
function _ts_decorate75(decorators, target, key, desc) {
|
|
22700
22971
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22701
22972
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22702
22973
|
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;
|
|
22703
22974
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22704
22975
|
}
|
|
22705
|
-
__name(
|
|
22706
|
-
function
|
|
22976
|
+
__name(_ts_decorate75, "_ts_decorate");
|
|
22977
|
+
function _ts_metadata20(k, v) {
|
|
22707
22978
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22708
22979
|
}
|
|
22709
|
-
__name(
|
|
22980
|
+
__name(_ts_metadata20, "_ts_metadata");
|
|
22710
22981
|
var _RestTransactionsRepository = /*#__PURE__*/ function() {
|
|
22711
22982
|
"use strict";
|
|
22712
22983
|
function _RestTransactionsRepository() {
|
|
@@ -22965,12 +23236,12 @@ var _RestTransactionsRepository = /*#__PURE__*/ function() {
|
|
|
22965
23236
|
}();
|
|
22966
23237
|
__name(_RestTransactionsRepository, "RestTransactionsRepository");
|
|
22967
23238
|
var RestTransactionsRepository = _RestTransactionsRepository;
|
|
22968
|
-
|
|
23239
|
+
_ts_decorate75([
|
|
22969
23240
|
inject17(ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
22970
|
-
|
|
23241
|
+
_ts_metadata20("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
22971
23242
|
], RestTransactionsRepository.prototype, "httpClient", void 0);
|
|
22972
|
-
RestTransactionsRepository =
|
|
22973
|
-
|
|
23243
|
+
RestTransactionsRepository = _ts_decorate75([
|
|
23244
|
+
injectable75()
|
|
22974
23245
|
], RestTransactionsRepository);
|
|
22975
23246
|
// src/transactions/ioc/transactionsIOCModule.ts
|
|
22976
23247
|
var transactionsIOCModule = new ContainerModule32(function(bind) {
|
|
@@ -23596,7 +23867,7 @@ var mswTransactionsHandlers = [
|
|
|
23596
23867
|
})
|
|
23597
23868
|
];
|
|
23598
23869
|
// src/wla/adapters/RestWlaService.ts
|
|
23599
|
-
import { inject as inject18, injectable as
|
|
23870
|
+
import { inject as inject18, injectable as injectable76 } from "inversify";
|
|
23600
23871
|
// src/wla/base/types/AccountResponse.ts
|
|
23601
23872
|
var AccountType;
|
|
23602
23873
|
(function(AccountType2) {
|
|
@@ -23987,73 +24258,26 @@ var TransactionChallengeAuthenticationMethod;
|
|
|
23987
24258
|
TransactionChallengeAuthenticationMethod2["Other"] = "OTHER";
|
|
23988
24259
|
})(TransactionChallengeAuthenticationMethod || (TransactionChallengeAuthenticationMethod = {}));
|
|
23989
24260
|
// src/wla/adapters/RestWlaService.ts
|
|
23990
|
-
function
|
|
24261
|
+
function _ts_decorate76(decorators, target, key, desc) {
|
|
23991
24262
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
23992
24263
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23993
24264
|
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;
|
|
23994
24265
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23995
24266
|
}
|
|
23996
|
-
__name(
|
|
23997
|
-
function
|
|
24267
|
+
__name(_ts_decorate76, "_ts_decorate");
|
|
24268
|
+
function _ts_metadata21(k, v) {
|
|
23998
24269
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
23999
24270
|
}
|
|
24000
|
-
__name(
|
|
24271
|
+
__name(_ts_metadata21, "_ts_metadata");
|
|
24001
24272
|
var _RestWlaService = /*#__PURE__*/ function() {
|
|
24002
24273
|
"use strict";
|
|
24003
24274
|
function _RestWlaService() {
|
|
24004
|
-
var _this = this;
|
|
24005
24275
|
_class_call_check(this, _RestWlaService);
|
|
24006
24276
|
__publicField(this, "cacheService");
|
|
24007
24277
|
__publicField(this, "httpClient");
|
|
24008
24278
|
__publicField(this, "unauthenticatedHttpClient");
|
|
24009
|
-
__publicField(this, "getCommonWlaApiHeaders", /* @__PURE__ */ __name(function() {
|
|
24010
|
-
var appConfig = _this.getAppConfig();
|
|
24011
|
-
return {
|
|
24012
|
-
"app-version": appConfig.appVersion,
|
|
24013
|
-
"device-id": appConfig.deviceId,
|
|
24014
|
-
"client-ip": appConfig.clientIp
|
|
24015
|
-
};
|
|
24016
|
-
}, "getCommonWlaApiHeaders"));
|
|
24017
24279
|
}
|
|
24018
24280
|
_create_class(_RestWlaService, [
|
|
24019
|
-
{
|
|
24020
|
-
key: "setAppConfig",
|
|
24021
|
-
value: function setAppConfig(appVersion, deviceId, clientIp) {
|
|
24022
|
-
logDebug("Setting WLA app config", {
|
|
24023
|
-
appVersion: appVersion,
|
|
24024
|
-
deviceId: deviceId,
|
|
24025
|
-
clientIp: clientIp,
|
|
24026
|
-
adapter: "RestWlaService"
|
|
24027
|
-
});
|
|
24028
|
-
try {
|
|
24029
|
-
this.cacheService.set("wlaAppConfig", JSON.stringify({
|
|
24030
|
-
appVersion: appVersion,
|
|
24031
|
-
deviceId: deviceId,
|
|
24032
|
-
clientIp: clientIp
|
|
24033
|
-
}));
|
|
24034
|
-
logInfo("WLA app config set successfully", {
|
|
24035
|
-
adapter: "RestWlaService"
|
|
24036
|
-
});
|
|
24037
|
-
} catch (error2) {
|
|
24038
|
-
logError("Failed to set WLA app config", {
|
|
24039
|
-
error: error2,
|
|
24040
|
-
adapter: "RestWlaService"
|
|
24041
|
-
});
|
|
24042
|
-
throw error2;
|
|
24043
|
-
}
|
|
24044
|
-
}
|
|
24045
|
-
},
|
|
24046
|
-
{
|
|
24047
|
-
key: "getAppConfig",
|
|
24048
|
-
value: function getAppConfig() {
|
|
24049
|
-
var config = this.cacheService.get("wlaAppConfig");
|
|
24050
|
-
try {
|
|
24051
|
-
var parsedConfig = JSON.parse(config);
|
|
24052
|
-
return parsedConfig;
|
|
24053
|
-
} catch (e) {}
|
|
24054
|
-
return {};
|
|
24055
|
-
}
|
|
24056
|
-
},
|
|
24057
24281
|
{
|
|
24058
24282
|
key: "transitionOnboardingStatus",
|
|
24059
24283
|
value: function transitionOnboardingStatus(oldStatus, newStatus) {
|
|
@@ -24073,7 +24297,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24073
24297
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/transition-onboarding-status");
|
|
24074
24298
|
params = {
|
|
24075
24299
|
method: "POST",
|
|
24076
|
-
headers:
|
|
24300
|
+
headers: getCommonApiHeaders(),
|
|
24077
24301
|
body: JSON.stringify({
|
|
24078
24302
|
old_status: oldStatus,
|
|
24079
24303
|
new_status: newStatus
|
|
@@ -24124,7 +24348,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24124
24348
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
24125
24349
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/profile");
|
|
24126
24350
|
params = {
|
|
24127
|
-
headers:
|
|
24351
|
+
headers: getCommonApiHeaders()
|
|
24128
24352
|
};
|
|
24129
24353
|
return [
|
|
24130
24354
|
4,
|
|
@@ -24179,7 +24403,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24179
24403
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/onboarding/create-card");
|
|
24180
24404
|
params = {
|
|
24181
24405
|
method: "POST",
|
|
24182
|
-
headers:
|
|
24406
|
+
headers: getCommonApiHeaders(),
|
|
24183
24407
|
body: JSON.stringify(requestBody)
|
|
24184
24408
|
};
|
|
24185
24409
|
return [
|
|
@@ -24238,7 +24462,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24238
24462
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/onboarding/set-pin");
|
|
24239
24463
|
params = {
|
|
24240
24464
|
method: "POST",
|
|
24241
|
-
headers:
|
|
24465
|
+
headers: getCommonApiHeaders(),
|
|
24242
24466
|
body: JSON.stringify({
|
|
24243
24467
|
card_token: cardToken,
|
|
24244
24468
|
pin: pin,
|
|
@@ -24302,7 +24526,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24302
24526
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/transition-onboarding-status");
|
|
24303
24527
|
params = {
|
|
24304
24528
|
method: "POST",
|
|
24305
|
-
headers:
|
|
24529
|
+
headers: getCommonApiHeaders(),
|
|
24306
24530
|
body: JSON.stringify({
|
|
24307
24531
|
old_status: OnboardingStatus.ACCOUNT_ACTIVATED,
|
|
24308
24532
|
new_status: OnboardingStatus.ACCOUNT_VERIFIED
|
|
@@ -24410,7 +24634,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24410
24634
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/transition-onboarding-status");
|
|
24411
24635
|
params = {
|
|
24412
24636
|
method: "POST",
|
|
24413
|
-
headers:
|
|
24637
|
+
headers: getCommonApiHeaders(),
|
|
24414
24638
|
body: JSON.stringify({
|
|
24415
24639
|
old_status: OnboardingStatus.CREATED,
|
|
24416
24640
|
new_status: OnboardingStatus.ACCOUNT_ACTIVATED
|
|
@@ -24469,7 +24693,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24469
24693
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/settings/push-notification");
|
|
24470
24694
|
params = {
|
|
24471
24695
|
method: "POST",
|
|
24472
|
-
headers:
|
|
24696
|
+
headers: getCommonApiHeaders(),
|
|
24473
24697
|
body: JSON.stringify(requestBody)
|
|
24474
24698
|
};
|
|
24475
24699
|
return [
|
|
@@ -24501,6 +24725,62 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24501
24725
|
})();
|
|
24502
24726
|
}
|
|
24503
24727
|
},
|
|
24728
|
+
{
|
|
24729
|
+
key: "updateDevicePushNotificationRegistration",
|
|
24730
|
+
value: function updateDevicePushNotificationRegistration(requestBody) {
|
|
24731
|
+
var _this = this;
|
|
24732
|
+
return _async_to_generator(function() {
|
|
24733
|
+
var cuiApiBaseUrl, path, params, error2;
|
|
24734
|
+
return _ts_generator(this, function(_state) {
|
|
24735
|
+
switch(_state.label){
|
|
24736
|
+
case 0:
|
|
24737
|
+
logDebug("Updating device push notification registration", {
|
|
24738
|
+
adapter: "RestWlaService"
|
|
24739
|
+
});
|
|
24740
|
+
_state.label = 1;
|
|
24741
|
+
case 1:
|
|
24742
|
+
_state.trys.push([
|
|
24743
|
+
1,
|
|
24744
|
+
3,
|
|
24745
|
+
,
|
|
24746
|
+
4
|
|
24747
|
+
]);
|
|
24748
|
+
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
24749
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/settings/push-notification");
|
|
24750
|
+
params = {
|
|
24751
|
+
method: "PUT",
|
|
24752
|
+
headers: getCommonApiHeaders(),
|
|
24753
|
+
body: JSON.stringify(requestBody)
|
|
24754
|
+
};
|
|
24755
|
+
return [
|
|
24756
|
+
4,
|
|
24757
|
+
_this.httpClient.put(path, params)
|
|
24758
|
+
];
|
|
24759
|
+
case 2:
|
|
24760
|
+
_state.sent();
|
|
24761
|
+
logInfo("Push notifications registration was updated successfully", {
|
|
24762
|
+
adapter: "RestWlaService"
|
|
24763
|
+
});
|
|
24764
|
+
return [
|
|
24765
|
+
3,
|
|
24766
|
+
4
|
|
24767
|
+
];
|
|
24768
|
+
case 3:
|
|
24769
|
+
error2 = _state.sent();
|
|
24770
|
+
logError("Push notifications registration update failed", {
|
|
24771
|
+
error: error2,
|
|
24772
|
+
adapter: "RestWlaService"
|
|
24773
|
+
});
|
|
24774
|
+
throw new MqSDKError("Unable to update device push notification registration", error2);
|
|
24775
|
+
case 4:
|
|
24776
|
+
return [
|
|
24777
|
+
2
|
|
24778
|
+
];
|
|
24779
|
+
}
|
|
24780
|
+
});
|
|
24781
|
+
})();
|
|
24782
|
+
}
|
|
24783
|
+
},
|
|
24504
24784
|
{
|
|
24505
24785
|
key: "deleteRegistrationForPushNotifications",
|
|
24506
24786
|
value: function deleteRegistrationForPushNotifications() {
|
|
@@ -24525,7 +24805,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24525
24805
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/settings/push-notification");
|
|
24526
24806
|
params = {
|
|
24527
24807
|
method: "DELETE",
|
|
24528
|
-
headers:
|
|
24808
|
+
headers: getCommonApiHeaders()
|
|
24529
24809
|
};
|
|
24530
24810
|
return [
|
|
24531
24811
|
4,
|
|
@@ -24579,7 +24859,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24579
24859
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
24580
24860
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/offers");
|
|
24581
24861
|
params = {
|
|
24582
|
-
headers:
|
|
24862
|
+
headers: getCommonApiHeaders()
|
|
24583
24863
|
};
|
|
24584
24864
|
return [
|
|
24585
24865
|
4,
|
|
@@ -24637,7 +24917,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24637
24917
|
});
|
|
24638
24918
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/offer?").concat(queryParams.toString());
|
|
24639
24919
|
params = {
|
|
24640
|
-
headers:
|
|
24920
|
+
headers: getCommonApiHeaders()
|
|
24641
24921
|
};
|
|
24642
24922
|
return [
|
|
24643
24923
|
4,
|
|
@@ -24706,7 +24986,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24706
24986
|
"status"
|
|
24707
24987
|
]);
|
|
24708
24988
|
params = {
|
|
24709
|
-
headers:
|
|
24989
|
+
headers: getCommonApiHeaders()
|
|
24710
24990
|
};
|
|
24711
24991
|
return [
|
|
24712
24992
|
4,
|
|
@@ -24767,7 +25047,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24767
25047
|
});
|
|
24768
25048
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/card?").concat(queryParams.toString());
|
|
24769
25049
|
params = {
|
|
24770
|
-
headers:
|
|
25050
|
+
headers: getCommonApiHeaders()
|
|
24771
25051
|
};
|
|
24772
25052
|
return [
|
|
24773
25053
|
4,
|
|
@@ -24830,7 +25110,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24830
25110
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
24831
25111
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/").concat(token);
|
|
24832
25112
|
params = {
|
|
24833
|
-
headers:
|
|
25113
|
+
headers: getCommonApiHeaders()
|
|
24834
25114
|
};
|
|
24835
25115
|
return [
|
|
24836
25116
|
4,
|
|
@@ -24898,7 +25178,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24898
25178
|
"status"
|
|
24899
25179
|
]);
|
|
24900
25180
|
params = {
|
|
24901
|
-
headers:
|
|
25181
|
+
headers: getCommonApiHeaders()
|
|
24902
25182
|
};
|
|
24903
25183
|
return [
|
|
24904
25184
|
4,
|
|
@@ -24960,7 +25240,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24960
25240
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts");
|
|
24961
25241
|
params = {
|
|
24962
25242
|
method: "POST",
|
|
24963
|
-
headers:
|
|
25243
|
+
headers: getCommonApiHeaders(),
|
|
24964
25244
|
body: JSON.stringify(requestBody)
|
|
24965
25245
|
};
|
|
24966
25246
|
return [
|
|
@@ -25023,7 +25303,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25023
25303
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/verification");
|
|
25024
25304
|
params = {
|
|
25025
25305
|
method: "POST",
|
|
25026
|
-
headers:
|
|
25306
|
+
headers: getCommonApiHeaders(),
|
|
25027
25307
|
body: JSON.stringify(requestBody)
|
|
25028
25308
|
};
|
|
25029
25309
|
return [
|
|
@@ -25087,7 +25367,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25087
25367
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/").concat(token);
|
|
25088
25368
|
params = {
|
|
25089
25369
|
method: "PATCH",
|
|
25090
|
-
headers:
|
|
25370
|
+
headers: getCommonApiHeaders(),
|
|
25091
25371
|
body: JSON.stringify(requestBody)
|
|
25092
25372
|
};
|
|
25093
25373
|
return [
|
|
@@ -25156,7 +25436,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25156
25436
|
});
|
|
25157
25437
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction?").concat(queryParams.toString());
|
|
25158
25438
|
params = {
|
|
25159
|
-
headers:
|
|
25439
|
+
headers: getCommonApiHeaders()
|
|
25160
25440
|
};
|
|
25161
25441
|
return [
|
|
25162
25442
|
4,
|
|
@@ -25213,7 +25493,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25213
25493
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25214
25494
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction/challenge/").concat(challengeToken);
|
|
25215
25495
|
params = {
|
|
25216
|
-
headers:
|
|
25496
|
+
headers: getCommonApiHeaders()
|
|
25217
25497
|
};
|
|
25218
25498
|
return [
|
|
25219
25499
|
4,
|
|
@@ -25269,7 +25549,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25269
25549
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25270
25550
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction/challenge/next");
|
|
25271
25551
|
params = {
|
|
25272
|
-
headers:
|
|
25552
|
+
headers: getCommonApiHeaders()
|
|
25273
25553
|
};
|
|
25274
25554
|
return [
|
|
25275
25555
|
4,
|
|
@@ -25326,7 +25606,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25326
25606
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction/challenge/").concat(challengeToken, "/decision");
|
|
25327
25607
|
params = {
|
|
25328
25608
|
method: "POST",
|
|
25329
|
-
headers:
|
|
25609
|
+
headers: getCommonApiHeaders(),
|
|
25330
25610
|
body: JSON.stringify(body)
|
|
25331
25611
|
};
|
|
25332
25612
|
return [
|
|
@@ -25384,7 +25664,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25384
25664
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/book-transfer");
|
|
25385
25665
|
params = {
|
|
25386
25666
|
method: "POST",
|
|
25387
|
-
headers:
|
|
25667
|
+
headers: getCommonApiHeaders(),
|
|
25388
25668
|
body: JSON.stringify(requestBody)
|
|
25389
25669
|
};
|
|
25390
25670
|
return [
|
|
@@ -25440,7 +25720,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25440
25720
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/origination/transfers");
|
|
25441
25721
|
params = {
|
|
25442
25722
|
method: "POST",
|
|
25443
|
-
headers:
|
|
25723
|
+
headers: getCommonApiHeaders(),
|
|
25444
25724
|
body: JSON.stringify(requestBody)
|
|
25445
25725
|
};
|
|
25446
25726
|
return [
|
|
@@ -25504,7 +25784,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25504
25784
|
});
|
|
25505
25785
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/account?").concat(queryParams.toString());
|
|
25506
25786
|
params = {
|
|
25507
|
-
headers:
|
|
25787
|
+
headers: getCommonApiHeaders()
|
|
25508
25788
|
};
|
|
25509
25789
|
return [
|
|
25510
25790
|
4,
|
|
@@ -25567,7 +25847,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25567
25847
|
} : {}));
|
|
25568
25848
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/rewardsummaries?").concat(queryParams.toString());
|
|
25569
25849
|
params = {
|
|
25570
|
-
headers:
|
|
25850
|
+
headers: getCommonApiHeaders()
|
|
25571
25851
|
};
|
|
25572
25852
|
return [
|
|
25573
25853
|
4,
|
|
@@ -25638,7 +25918,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25638
25918
|
} : {}));
|
|
25639
25919
|
params = {
|
|
25640
25920
|
method: "POST",
|
|
25641
|
-
headers:
|
|
25921
|
+
headers: getCommonApiHeaders(),
|
|
25642
25922
|
body: JSON.stringify(requestBody)
|
|
25643
25923
|
};
|
|
25644
25924
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/atms/search?").concat(queryParams.toString());
|
|
@@ -25695,7 +25975,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25695
25975
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25696
25976
|
params = {
|
|
25697
25977
|
method: "POST",
|
|
25698
|
-
headers:
|
|
25978
|
+
headers: getCommonApiHeaders(),
|
|
25699
25979
|
body: JSON.stringify(requestBody)
|
|
25700
25980
|
};
|
|
25701
25981
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/card/replace");
|
|
@@ -25755,7 +26035,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25755
26035
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25756
26036
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages/").concat(token, "?device_platform=").concat(devicePlatform);
|
|
25757
26037
|
params = {
|
|
25758
|
-
headers: _object_spread_props(_object_spread({},
|
|
26038
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
25759
26039
|
"X-Marqeta-Program-Short-Code": programShortCode
|
|
25760
26040
|
})
|
|
25761
26041
|
};
|
|
@@ -25816,7 +26096,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25816
26096
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25817
26097
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages?device_platform=").concat(devicePlatform);
|
|
25818
26098
|
params = {
|
|
25819
|
-
headers: _object_spread_props(_object_spread({},
|
|
26099
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
25820
26100
|
"X-Marqeta-Program-Short-Code": programShortCode
|
|
25821
26101
|
})
|
|
25822
26102
|
};
|
|
@@ -25877,7 +26157,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25877
26157
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25878
26158
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/").concat(id);
|
|
25879
26159
|
params = {
|
|
25880
|
-
headers:
|
|
26160
|
+
headers: getCommonApiHeaders()
|
|
25881
26161
|
};
|
|
25882
26162
|
return [
|
|
25883
26163
|
4,
|
|
@@ -25938,7 +26218,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25938
26218
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25939
26219
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/transfers/").concat(token);
|
|
25940
26220
|
params = {
|
|
25941
|
-
headers:
|
|
26221
|
+
headers: getCommonApiHeaders()
|
|
25942
26222
|
};
|
|
25943
26223
|
return [
|
|
25944
26224
|
4,
|
|
@@ -26002,7 +26282,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26002
26282
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26003
26283
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents?").concat(queryParams.toString());
|
|
26004
26284
|
params = {
|
|
26005
|
-
headers:
|
|
26285
|
+
headers: getCommonApiHeaders()
|
|
26006
26286
|
};
|
|
26007
26287
|
return [
|
|
26008
26288
|
4,
|
|
@@ -26062,7 +26342,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26062
26342
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26063
26343
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/transfers");
|
|
26064
26344
|
params = {
|
|
26065
|
-
headers:
|
|
26345
|
+
headers: getCommonApiHeaders()
|
|
26066
26346
|
};
|
|
26067
26347
|
return [
|
|
26068
26348
|
4,
|
|
@@ -26121,7 +26401,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26121
26401
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26122
26402
|
params = {
|
|
26123
26403
|
method: "PATCH",
|
|
26124
|
-
headers:
|
|
26404
|
+
headers: getCommonApiHeaders(),
|
|
26125
26405
|
body: JSON.stringify(requestBody)
|
|
26126
26406
|
};
|
|
26127
26407
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/").concat(id);
|
|
@@ -26184,7 +26464,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26184
26464
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26185
26465
|
params = {
|
|
26186
26466
|
method: "PATCH",
|
|
26187
|
-
headers:
|
|
26467
|
+
headers: getCommonApiHeaders(),
|
|
26188
26468
|
body: JSON.stringify(requestBody)
|
|
26189
26469
|
};
|
|
26190
26470
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/revoke/").concat(id);
|
|
@@ -26244,7 +26524,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26244
26524
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26245
26525
|
params = {
|
|
26246
26526
|
method: "GET",
|
|
26247
|
-
headers:
|
|
26527
|
+
headers: getCommonApiHeaders()
|
|
26248
26528
|
};
|
|
26249
26529
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/faqs");
|
|
26250
26530
|
return [
|
|
@@ -26300,7 +26580,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26300
26580
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/password");
|
|
26301
26581
|
params = {
|
|
26302
26582
|
method: "POST",
|
|
26303
|
-
headers:
|
|
26583
|
+
headers: getCommonApiHeaders(),
|
|
26304
26584
|
body: JSON.stringify({
|
|
26305
26585
|
password: password
|
|
26306
26586
|
})
|
|
@@ -26359,7 +26639,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26359
26639
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/password/change");
|
|
26360
26640
|
params = {
|
|
26361
26641
|
method: "POST",
|
|
26362
|
-
headers: _object_spread_props(_object_spread({},
|
|
26642
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
26363
26643
|
"X-Marqeta-Program-Short-Code": programShortCode,
|
|
26364
26644
|
"Authorization": "SSO ".concat(access_token)
|
|
26365
26645
|
}),
|
|
@@ -26440,7 +26720,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26440
26720
|
}
|
|
26441
26721
|
params = {
|
|
26442
26722
|
method: "POST",
|
|
26443
|
-
headers: _object_spread_props(_object_spread({},
|
|
26723
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
26444
26724
|
"Content-Type": "application/json",
|
|
26445
26725
|
"X-Marqeta-Program-Short-Code": programShortCode
|
|
26446
26726
|
}),
|
|
@@ -26503,7 +26783,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26503
26783
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/resend-verification-email");
|
|
26504
26784
|
params = {
|
|
26505
26785
|
method: "POST",
|
|
26506
|
-
headers: _object_spread_props(_object_spread({},
|
|
26786
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
26507
26787
|
"Content-Type": "application/json"
|
|
26508
26788
|
}),
|
|
26509
26789
|
body: JSON.stringify({})
|
|
@@ -26561,7 +26841,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26561
26841
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/verify-user-device");
|
|
26562
26842
|
params = {
|
|
26563
26843
|
method: "POST",
|
|
26564
|
-
headers:
|
|
26844
|
+
headers: getCommonApiHeaders(),
|
|
26565
26845
|
body: JSON.stringify(requestBody)
|
|
26566
26846
|
};
|
|
26567
26847
|
return [
|
|
@@ -26598,20 +26878,20 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26598
26878
|
}();
|
|
26599
26879
|
__name(_RestWlaService, "RestWlaService");
|
|
26600
26880
|
var RestWlaService = _RestWlaService;
|
|
26601
|
-
|
|
26881
|
+
_ts_decorate76([
|
|
26602
26882
|
inject18(ITF_CACHE_SERVICE),
|
|
26603
|
-
|
|
26883
|
+
_ts_metadata21("design:type", typeof iCacheService === "undefined" ? Object : iCacheService)
|
|
26604
26884
|
], RestWlaService.prototype, "cacheService", void 0);
|
|
26605
|
-
|
|
26885
|
+
_ts_decorate76([
|
|
26606
26886
|
inject18(ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
26607
|
-
|
|
26887
|
+
_ts_metadata21("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
26608
26888
|
], RestWlaService.prototype, "httpClient", void 0);
|
|
26609
|
-
|
|
26889
|
+
_ts_decorate76([
|
|
26610
26890
|
inject18(ITF_HTTP_CLIENT),
|
|
26611
|
-
|
|
26891
|
+
_ts_metadata21("design:type", typeof iHttpClient === "undefined" ? Object : iHttpClient)
|
|
26612
26892
|
], RestWlaService.prototype, "unauthenticatedHttpClient", void 0);
|
|
26613
|
-
RestWlaService =
|
|
26614
|
-
|
|
26893
|
+
RestWlaService = _ts_decorate76([
|
|
26894
|
+
injectable76()
|
|
26615
26895
|
], RestWlaService);
|
|
26616
26896
|
function bookTransfer(payload) {
|
|
26617
26897
|
return _bookTransfer.apply(this, arguments);
|
|
@@ -27861,68 +28141,6 @@ function _setWlaCardPin() {
|
|
|
27861
28141
|
return _setWlaCardPin.apply(this, arguments);
|
|
27862
28142
|
}
|
|
27863
28143
|
__name(setWlaCardPin, "setWlaCardPin");
|
|
27864
|
-
function setWlaConfig(appVersion, deviceId, clientIp) {
|
|
27865
|
-
return _setWlaConfig.apply(this, arguments);
|
|
27866
|
-
}
|
|
27867
|
-
function _setWlaConfig() {
|
|
27868
|
-
_setWlaConfig = // src/wla/base/interactors/setWlaConfig.ts
|
|
27869
|
-
_async_to_generator(function(appVersion, deviceId, clientIp) {
|
|
27870
|
-
var container2, wlaService, error2;
|
|
27871
|
-
return _ts_generator(this, function(_state) {
|
|
27872
|
-
switch(_state.label){
|
|
27873
|
-
case 0:
|
|
27874
|
-
logDebug("Setting WLA config", {
|
|
27875
|
-
appVersion: appVersion,
|
|
27876
|
-
deviceId: deviceId,
|
|
27877
|
-
clientIp: clientIp,
|
|
27878
|
-
interactor: "setWlaConfig"
|
|
27879
|
-
});
|
|
27880
|
-
_state.label = 1;
|
|
27881
|
-
case 1:
|
|
27882
|
-
_state.trys.push([
|
|
27883
|
-
1,
|
|
27884
|
-
3,
|
|
27885
|
-
,
|
|
27886
|
-
4
|
|
27887
|
-
]);
|
|
27888
|
-
container2 = getActiveIocContainer();
|
|
27889
|
-
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
27890
|
-
return [
|
|
27891
|
-
4,
|
|
27892
|
-
wlaService.setAppConfig(appVersion, deviceId, clientIp)
|
|
27893
|
-
];
|
|
27894
|
-
case 2:
|
|
27895
|
-
_state.sent();
|
|
27896
|
-
logInfo("WLA config set successfully", {
|
|
27897
|
-
appVersion: appVersion,
|
|
27898
|
-
deviceId: deviceId,
|
|
27899
|
-
clientIp: clientIp,
|
|
27900
|
-
interactor: "setWlaConfig"
|
|
27901
|
-
});
|
|
27902
|
-
return [
|
|
27903
|
-
3,
|
|
27904
|
-
4
|
|
27905
|
-
];
|
|
27906
|
-
case 3:
|
|
27907
|
-
error2 = _state.sent();
|
|
27908
|
-
logError("Failed to set WLA config", {
|
|
27909
|
-
error: error2,
|
|
27910
|
-
appVersion: appVersion,
|
|
27911
|
-
deviceId: deviceId,
|
|
27912
|
-
clientIp: clientIp,
|
|
27913
|
-
interactor: "setWlaConfig"
|
|
27914
|
-
});
|
|
27915
|
-
throw error2;
|
|
27916
|
-
case 4:
|
|
27917
|
-
return [
|
|
27918
|
-
2
|
|
27919
|
-
];
|
|
27920
|
-
}
|
|
27921
|
-
});
|
|
27922
|
-
});
|
|
27923
|
-
return _setWlaConfig.apply(this, arguments);
|
|
27924
|
-
}
|
|
27925
|
-
__name(setWlaConfig, "setWlaConfig");
|
|
27926
28144
|
function updateConsentStatus(id) {
|
|
27927
28145
|
return _updateConsentStatus.apply(this, arguments);
|
|
27928
28146
|
}
|
|
@@ -28277,6 +28495,62 @@ function _postTransactionChallengeDecision() {
|
|
|
28277
28495
|
return _postTransactionChallengeDecision.apply(this, arguments);
|
|
28278
28496
|
}
|
|
28279
28497
|
__name(postTransactionChallengeDecision, "postTransactionChallengeDecision");
|
|
28498
|
+
function updateDevicePushNotificationsRegistration(requestBody) {
|
|
28499
|
+
return _updateDevicePushNotificationsRegistration.apply(this, arguments);
|
|
28500
|
+
}
|
|
28501
|
+
function _updateDevicePushNotificationsRegistration() {
|
|
28502
|
+
_updateDevicePushNotificationsRegistration = // src/wla/base/interactors/updateDevicePushNotificationsRegistration.ts
|
|
28503
|
+
_async_to_generator(function(requestBody) {
|
|
28504
|
+
var container2, wlaService, error2;
|
|
28505
|
+
return _ts_generator(this, function(_state) {
|
|
28506
|
+
switch(_state.label){
|
|
28507
|
+
case 0:
|
|
28508
|
+
logDebug("Updating device push notifications registration", {
|
|
28509
|
+
status: requestBody.is_active,
|
|
28510
|
+
interactor: "updateDevicePushNotificationsRegistration"
|
|
28511
|
+
});
|
|
28512
|
+
_state.label = 1;
|
|
28513
|
+
case 1:
|
|
28514
|
+
_state.trys.push([
|
|
28515
|
+
1,
|
|
28516
|
+
3,
|
|
28517
|
+
,
|
|
28518
|
+
4
|
|
28519
|
+
]);
|
|
28520
|
+
container2 = getActiveIocContainer();
|
|
28521
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
28522
|
+
return [
|
|
28523
|
+
4,
|
|
28524
|
+
wlaService.updateDevicePushNotificationRegistration(requestBody)
|
|
28525
|
+
];
|
|
28526
|
+
case 2:
|
|
28527
|
+
_state.sent();
|
|
28528
|
+
logInfo("Push notifications registration updated", {
|
|
28529
|
+
status: requestBody.is_active,
|
|
28530
|
+
interactor: "updateDevicePushNotificationsRegistration"
|
|
28531
|
+
});
|
|
28532
|
+
return [
|
|
28533
|
+
3,
|
|
28534
|
+
4
|
|
28535
|
+
];
|
|
28536
|
+
case 3:
|
|
28537
|
+
error2 = _state.sent();
|
|
28538
|
+
logError("Failed to update push notification registration", {
|
|
28539
|
+
error: error2,
|
|
28540
|
+
status: requestBody.is_active,
|
|
28541
|
+
interactor: "updateDevicePushNotificationsRegistration"
|
|
28542
|
+
});
|
|
28543
|
+
throw error2;
|
|
28544
|
+
case 4:
|
|
28545
|
+
return [
|
|
28546
|
+
2
|
|
28547
|
+
];
|
|
28548
|
+
}
|
|
28549
|
+
});
|
|
28550
|
+
});
|
|
28551
|
+
return _updateDevicePushNotificationsRegistration.apply(this, arguments);
|
|
28552
|
+
}
|
|
28553
|
+
__name(updateDevicePushNotificationsRegistration, "updateDevicePushNotificationsRegistration");
|
|
28280
28554
|
// src/wla/ioc/WlaIocModule.ts
|
|
28281
28555
|
import { ContainerModule as ContainerModule33 } from "inversify";
|
|
28282
28556
|
var WlaIocModule = new ContainerModule33(function(bind) {
|
|
@@ -28322,7 +28596,7 @@ var container = new Container();
|
|
|
28322
28596
|
loadBaseContainerModules(container);
|
|
28323
28597
|
// src/index.ts
|
|
28324
28598
|
setActiveIocContainer(container);
|
|
28325
|
-
export { __name, AccountBalancesEntity, UserEntity, CardEntity, CardStates, CardholderVerificationMethods, ITF_CARD_REPOSITORY, ACTIVE_IOC_CONTAINER, setActiveIocContainer, MqSDKError, getActiveIocContainer, LogLevel, LogLevelString, iLoggerService, ConsoleLoggerService, ITF_LOGGER_SERVICE, logError, logWarn, logInfo, logDebug, setLogLevel, getLogLevel, MockLoggerService, loggingIOCModule, mockLoggingIOCModule, getCardByToken, LocalStorageCacheService, WindowCacheService, ITF_CACHE_SERVICE, ITF_PERSISTED_CACHE_SERVICE, ITF_REGISTRY_SERVICE, registerCleanupHandler, cleanupOnUnload, WlaSdkError, iCacheService, iPersistedCacheService, iRegistryService, MockCacheService, MockPersistedCacheService, MockRegistryService, StandardizedError, InMemRegistryService, commonIOCModule, mockCommonIOCModule, convertObjKeysToCamelCase, convertObjKeysToLowerCamelCase, getCardsByUserToken, getShowpanByCardToken, activateCardByTokenOrPan, lockCardByToken, replaceCardByToken, unlockCardByToken, updatePinByCardToken, getPinByCardToken, iCardRepository, TEST_CARD_PRODUCT_TOKEN, TEST_CARD_TOKEN, TEST_CARD_TOKEN_IS_ACTIVE, TEST_CARD_TOKEN_IS_VIRTUAL, TEST_CARD_TOKEN_IS_ACTIVE_VIRTUAL, TEST_CARD_TOKEN_IS_SUSPENDED_VIRTUAL, TEST_CARD_TOKEN_INVALID, TEST_CARD_TOKEN_LOADING, TEST_CARD_TOKEN_LIMIT_EXCEEDED, TEST_CARD_TOKEN_IS_SUSPENDED, TEST_CARD_TOKEN_IS_UNACTIVATED, TEST_CARD_TOKEN_IS_EXPIRED, TEST_CARD_TOKEN_IS_TERMINATED, TEST_CARDHOLDER_VERIFICATION_METHOD, TEST_CVV_NUMBER, TEST_EXPIRATION, TEST_PIN, TEST_CARD_ACTIONS, ACTIVE_CARD_ACTIONS, TERMINATED_CARD_ACTIONS, SUSPENDED_CARD_ACTIONS, TEST_CARD, TEST_ACTIVE_CARD, TEST_ACTIVE_CARD_VIRTUAL, TEST_SUSPENDED_CARD_VIRTUAL, TEST_WEAK_PINS, MockCardRepository, development_exports, localhost_exports, mockMode_exports, production_exports, qa_exports, sandbox_exports, getActiveEnvName, isMockModeEnabled, getEnvConfigValueByName, setActiveEnvName, setMockMode, getLanguageCode, iGetEnvConfigValueByName, MockGetEnvConfigValueByName, envConfigIOCModule, INTR_GET_ACTIVE_ENV_NAME, INTR_SET_ACTIVE_ENV_NAME, INTR_IS_MOCK_MODE_ENABLED, INTR_SET_MOCK_MODE, INTR_GET_LANGUAGE_CODE, BrowserMessageService, BaseDpopAuthCredentialService, DpopAuthCredentialService, InMemSsoAccessTokenService, BaseHttpClient, checkHttpStandizedError, ITF_HTTP_CLIENT, AUTH_REFRESH_INTERVAL_ID, CardholderContextEntity, ITF_AUTH_CREDENTIAL_SERVICE, ITF_AUTH_CREDS_MESSAGE_SERVICE, ITF_AUTH_SERVICE, ITF_AUTHENTICATED_HTTP_CLIENT, ITF_SSO_ACCESS_TOKEN_SERVICE, getCachedAuthApiEndpoint, getCachedAuthApiHeadersResolver, getCachedAuthTokenExpiration, setCachedAuthToken, checkAndRefreshAuthToken, createProofToken, generateAuthKeyPair, getAuthKeyPair, getCachedAuthToken, getCardholderContext, getSsoAccessTokenHandler, getUserProgram, getUserTokenHash, setAuthKeyPair, setCachedAuthApiEndpoint, setCachedAuthApiHeadersResolver, setAuthParams, setSsoAccessTokenHandler, iAuthCredentialService, iAuthCredsMessageService, iAuthenticatedHttpClient, iAuthService, iSsoAccessTokenService, MockAuthCredentialService, MockAuthService, M2mAuthenticatedHttpClient, SsoAuthenticatedHttpClient, RestAuthService, INVALID_CUI_AUTH_TOKEN, INVALID_CARD_DETAILS_CUI_AUTH_TOKEN, NOT_OK_CUI_AUTH_TOKEN, REFRESHED_CUI_AUTH_TOKEN, VALID_CUI_AUTH_TOKEN, VALID_PROGRAM_SHORT_CODE, VALID_OAUTH_TOKEN, VALID_DPOP_TOKEN, NOT_OK_DPOP_TOKEN, MOCK_CUSTOMER_ENDPOINT, VALID_USER_TOKEN_HASH, mswAuthHandlers, authIOCModule, mockAuthIOCModule, cardsIOCModule, mockCardsIOCModule, mswCardsHandlers, AccountHolderGroupEntity, DepositAccountEntity, mockAccountBalances, mockAccountHolderGroup, mockDepositAccountJson, ITF_ACCOUNT_REPOSITORY, getAccountHolderGroup, getAccountBalances, getDepositAccounts, iAccountRepository, TEST_USER_TOKEN, TEST_DEPOSIT_ACCOUNT, MockAccountRepository, accountsIOCModule, mockAccountsIOCModule, EMPTY_DEPOSIT_ACCOUNTS_CUI_AUTH_TOKEN, DEPOSIT_ACCOUNTS_TERMINATED_CUI_AUTH_TOKEN, ACCOUNT_LOADING_CUI_AUTH_TOKEN, ACCOUNT_LIMITED_CUI_AUTH_TOKEN, ACCOUNT_UNVERIFIED_CUI_AUTH_TOKEN, ACCOUNT_SUSPENDED_CUI_AUTH_TOKEN, ACCOUNT_CLOSED_CUI_AUTH_TOKEN, mswAccountHandlers, ITF_ANALYTICS_SERVICE, ITF_SESSION_SERVICE, INTR_GET_SESSION_ID, INTR_GET_CLIENT_ID, trackEvent, getClientId, getSessionId, iAnalyticsService, MockAnalyticsService, TEST_CLIENT_ID, TEST_SESSION_ID, MockSessionService, iSessionService, mockAnalyticsIOCModule, SESSION_TTL, VanillaSessionService, GaMeasurementAnalyticsService, mswAnalyticsHandlers, loadEnabledComponentsByShortCode, isComponentEnabled, iComponentsRepository, CUI_ENABLED_SHORT_CODE, REPOSITORY_METHOD_FAILING_SHORT_CODE, LIST_OF_ENABLED_COMPONENTS, MockComponentsRepository, RestComponentsRepository, mswComponentsHandlers, componentsIOCModule, ITF_DISPUTES_REPOSITORY, startDispute, submitAnswerForDisputeQuestion, getAllStepsOfDispute, getStepOfDisputeByStepId, submitDispute, uploadDocumentForDispute, deleteDocumentForDispute, retrieveDocumentForDispute, downloadDocumentForDispute, iDisputesRepository, FormField, MOCK_GET_ALL_STEPS_RESPONSE, MOCK_STEP_COMPLETION_RESPONSE, MOCK_TRANSFORMED_ERROR_RESPONSE, MOCK_DISPUTE_ID, MOCK_SUBMIT_DISPUTE_RESPONSE, MOCK_AMOUNT_STEP_RESPONSE, MOCK_INVALID_TRANSACTION_TOKEN, MOCK_RECOGNIZED_TRANSACTION_RESPONSE, MOCK_STEP1_RESPONSE, MOCK_FRAUD_STEP_RESPONSE, MOCK_START_DISPUTE_RESPONSE, MOCK_DOCUMENT_ID1, MOCK_DOCUMENT_ID2, MOCK_DOCUMENT1, MOCK_DOCUMENT2, MOCK_RETRIEVE_DOCUMENTS_RESPONSE, MOCK_UPLOAD_DOCUMENTS_RESPONSE, MOCK_DELETE_DOCUMENTS_RESPONSE, MockDisputesRepository, disputesIOCModule, mockDisputesIOCModule, mswDisputesHandlers, ITF_FEATURE_FLAG_SERVICE, featureFlagIsEnabled, loadFeatureFlags, iFeatureFlagService, MockFeatureFlagService, FFLAGS_SESSION_STORAGE_KEY, SessionStorageFeatureFlagService, StubFeatureFlagService, featureFlagsIOCModule, mockFeatureFlagIOCModule, KycVerificationRequestIdentifierTypeEnum, CreateUserRequestIdentificationsInnerTypeEnum, CreateUserResponseStatusEnum, INVALID_ACCOUNT_HOLDER, mockCreateUserRequest, mockInvalidCreateUserRequest, mockCreatedUserResponse, getMockUserRequestToCreateResponse, mockUpdateUserResponse, getMockUpdatedUserRequestToCreateResponse, ITF_USERS, getUser, postCreateUser, putUpdateUser, iUsersRepository, VALID_CUI_USER_RESPONSE, MockiUsersRepository, mswUsersHandlers, RestUsersRepository, usersIOCModule, mockUsersIOCModule, LOADING_SSN, DOB_ISSUE_SSN, NAME_ISSUE_SSN, ADDRESS_ISSUE_SSN, OBAC_ISSUE_SSN, BAD_GENERAL_SSN, mockKycVerificationRequest, mockInvalidKycVerificationRequest, mockKycVerificationResponse, ITF_KYC, postVerifyKyc, iKycRepository, mswKycHandlers, RestKycRepository, kycIOCModule, ITF_KYB, postVerifyKyb, initializeOnboarding, iKybRepository, KybEvaluationStatus, CREATE_USERS_BAD_REQUEST2 as CREATE_USERS_BAD_REQUEST, CREATE_USERS_INTERNAL_SERVER_ERROR2 as CREATE_USERS_INTERNAL_SERVER_ERROR, KYB_LOADING_SSN, KYB_DOB_ISSUE_SSN, KYB_NAME_ISSUE_SSN, KYB_ADDRESS_ISSUE_SSN, KYB_OBAC_ISSUE_SSN, KYB_BAD_GENERAL_SSN, mockKybVerificationRequest, mockInvalidKybVerificationRequest, mockInvalidKybEvaluationRequest, mockKybEvaluationResponse, mockKybEvaluationRequest, mockKybVerificationResponse, mswKybHandlers, RestKybRepository, kybIOCModule, mockKybIOCModule, iMoneyMovementRepository, TEST_SOURCE_CARD, TEST_SOURCE_CARDS_RESPONSE, TEST_OK_RESPONSE, MockMoneyMovementRepository, ITF_MONEY_MOVEMENT, mockMoneyMovementIOCModule, moneyMovementIOCModule, addExternalCard, addExternalCardWithUserToken, initiateTransfer, getExternalCards, removeExternalCard, mockSourceCards, mswSourceCardsHandler, ITF_IDP_SERVICE, requestOtpCode, ITF_WLA_SERVICE, initPasswordAndLogin, loginWithIdAndPassword, refreshAccessToken, verifyOTP, iIdpService, MockIdpService, RestIdpService, idpIOCModule, mockIdpIOCModule, iStatementsRepository, StatementAssetStateEnum, ITF_STATEMENTS, ITF_STATEMENT_ASSET, getStatements, getStatementAsset, statementsIOCModule, MOCK_STATEMENT_ASSET_SIGNED_URL_PDF, MOCK_USER, toDateType, formatDateForApi, generateStatementsDateQueries, handleGetStatements, handleGetStatementAsset, mswStatementsHandlers, DEFAULT_THEME, getActiveTheme, deepMergeThemeObject, ITF_THEME_REPOSITORY, ITF_ICONS_REPOSITORY, setActiveThemeByName, getIconsByName, iThemeRepository, TEST_THEME_NAME, TEST_THEME_OBJECT, MockThemeRepository, iIconsRepository, mockThemesIOCModule, themesIOCModule, iconsIOCModule, iTransactionsRepository, TransactionRecordStatus, TransactionDetailsBannerType, MockTransactionsRepository, ITF_TRANSACTIONS, getTransactions, getTransactionDetails, getUserTransactionsV2, TransactionDetailIconTypeEnum, Direction, transactionsIOCModule, mswTransactionsHandlers, AccountType, InterestTierResponseTypeEnum, TransactionDirection, AtmLocationAccessFeesEnum, AtmLocationAvailabilityEnum, AtmLocationDistanceUnitEnum, AtmLocationHandicapAccessibleEnum, AtmLocationHasSharedDepositEnum, AtmLocationIsSurchargeFreeAllianceEnum, AtmLocationLocationTypeEnum, AtmLocationSupportsContactLessEnum, AtmLocationSurchargeFreeAllianceNetworkEnum, BookTransferResponseStatusEnum, CreateCardUseCase, CardFulfillmentRequestCardFulfillmentReasonEnum, ShippingMethodEnum, ConsentStatus, ConsentScope, ConsentPaymentScope, ConsentPaymentType, ExternalAccountStatus2 as ExternalAccountStatus, FaqParagraphTypeEnum, OfferStatus, OnboardingStatus, Currency, OriginationTransferScheme, TransferStatus, OriginationTransferReasonCode, OriginationDirection, OutageType, PushRegistrationRequestDevicePlatformEnum, ReplaceCardRequestReasonEnum, RevokeConsentStatus, ConsentPermissionType, TransactionStatus, TransactionType, BannerTypeEnum, TransactionDisputeStatus, TransactionDetailResponseIconTypeEnum, ConsentAction, SetPinRequestUsecaseEnum, LoyaltyTier, UserRole, WlaUserStatus, TransactionChallengeDecisionRequestResultEnum, TransactionChallengeDecisionResponseStatusEnum, TransactionChallengeTransactionResponseTransactionTypeEnum, TransactionChallengeTransactionResponseSubTypeEnum, TransactionChallengeResponseCardNetworkEnum, TransactionChallengeResponseStateEnum, TransactionChallengeCancelReason, TransactionChallengeAuthenticationMethod, RestWlaService, bookTransfer, createOriginationTransfer, createWlaCard, createWlaExternalAccount, deleteRegistrationForPushNotifications, getAccountTransactions, getConsentById, getConsents, getExternalAccount, getExternalAccountList, getOfferDetails, getOffers, getOutagesByToken, getOutagesList, getTransferByToken, getTransfers, getWlaAccountDetails, getWlaCardByToken, getWlaRewardSummaries, getWlaTransactionByToken, getWlaUserProfile, markAccountActivated, markAccountVerified, markPasswordSetupDone, registerDeviceForPushNotifications, replaceWlaCard, revokeConsent, searchAtms, setWlaCardPin, setWlaConfig, updateConsentStatus, updateExternalAccount, verifyExternalAccount, getWlaFaqs, changeWlaPassword, postWlaSendResetPasswordLink, resendVerificationEmail, verifyUserDevice, getTransactionChallengeByToken, getNextTransactionChallenge, postTransactionChallengeDecision, WlaIocModule, loadBaseContainerModules, container }; /*! Bundled license information:
|
|
28599
|
+
export { __name, AccountBalancesEntity, UserEntity, CardEntity, CardStates, CardholderVerificationMethods, ITF_CARD_REPOSITORY, ACTIVE_IOC_CONTAINER, setActiveIocContainer, MqSDKError, getActiveIocContainer, LogLevel, LogLevelString, iLoggerService, ConsoleLoggerService, ITF_LOGGER_SERVICE, logError, logWarn, logInfo, logDebug, setLogLevel, getLogLevel, MockLoggerService, loggingIOCModule, mockLoggingIOCModule, getCardByToken, LocalStorageCacheService, WindowCacheService, ITF_CACHE_SERVICE, ITF_PERSISTED_CACHE_SERVICE, ITF_REGISTRY_SERVICE, registerCleanupHandler, cleanupOnUnload, WlaSdkError, iCacheService, iPersistedCacheService, iRegistryService, MockCacheService, MockPersistedCacheService, MockRegistryService, StandardizedError, setAppConfig, getAppConfig, InMemRegistryService, commonIOCModule, mockCommonIOCModule, convertObjKeysToCamelCase, convertObjKeysToLowerCamelCase, getCommonApiHeaders, getCardsByUserToken, getShowpanByCardToken, activateCardByTokenOrPan, lockCardByToken, replaceCardByToken, unlockCardByToken, updatePinByCardToken, getPinByCardToken, iCardRepository, TEST_CARD_PRODUCT_TOKEN, TEST_CARD_TOKEN, TEST_CARD_TOKEN_IS_ACTIVE, TEST_CARD_TOKEN_IS_VIRTUAL, TEST_CARD_TOKEN_IS_ACTIVE_VIRTUAL, TEST_CARD_TOKEN_IS_SUSPENDED_VIRTUAL, TEST_CARD_TOKEN_INVALID, TEST_CARD_TOKEN_LOADING, TEST_CARD_TOKEN_LIMIT_EXCEEDED, TEST_CARD_TOKEN_IS_SUSPENDED, TEST_CARD_TOKEN_IS_UNACTIVATED, TEST_CARD_TOKEN_IS_EXPIRED, TEST_CARD_TOKEN_IS_TERMINATED, TEST_CARDHOLDER_VERIFICATION_METHOD, TEST_CVV_NUMBER, TEST_EXPIRATION, TEST_PIN, TEST_CARD_ACTIONS, ACTIVE_CARD_ACTIONS, TERMINATED_CARD_ACTIONS, SUSPENDED_CARD_ACTIONS, TEST_CARD, TEST_ACTIVE_CARD, TEST_ACTIVE_CARD_VIRTUAL, TEST_SUSPENDED_CARD_VIRTUAL, TEST_WEAK_PINS, MockCardRepository, development_exports, localhost_exports, mockMode_exports, production_exports, qa_exports, sandbox_exports, getActiveEnvName, isMockModeEnabled, getEnvConfigValueByName, setActiveEnvName, setMockMode, getLanguageCode, iGetEnvConfigValueByName, MockGetEnvConfigValueByName, envConfigIOCModule, INTR_GET_ACTIVE_ENV_NAME, INTR_SET_ACTIVE_ENV_NAME, INTR_IS_MOCK_MODE_ENABLED, INTR_SET_MOCK_MODE, INTR_GET_LANGUAGE_CODE, BrowserMessageService, BaseDpopAuthCredentialService, DpopAuthCredentialService, InMemSsoAccessTokenService, BaseHttpClient, checkHttpStandizedError, ITF_HTTP_CLIENT, AUTH_REFRESH_INTERVAL_ID, CardholderContextEntity, ITF_AUTH_CREDENTIAL_SERVICE, ITF_AUTH_CREDS_MESSAGE_SERVICE, ITF_AUTH_SERVICE, ITF_AUTHENTICATED_HTTP_CLIENT, ITF_SSO_ACCESS_TOKEN_SERVICE, getCachedAuthApiEndpoint, getCachedAuthApiHeadersResolver, getCachedAuthTokenExpiration, setCachedAuthToken, checkAndRefreshAuthToken, createProofToken, generateAuthKeyPair, getAuthKeyPair, getCachedAuthToken, getCardholderContext, getSsoAccessTokenHandler, getUserProgram, getUserTokenHash, setAuthKeyPair, setCachedAuthApiEndpoint, setCachedAuthApiHeadersResolver, setAuthParams, setSsoAccessTokenHandler, iAuthCredentialService, iAuthCredsMessageService, iAuthenticatedHttpClient, iAuthService, iSsoAccessTokenService, MockAuthCredentialService, MockAuthService, M2mAuthenticatedHttpClient, SsoAuthenticatedHttpClient, RestAuthService, INVALID_CUI_AUTH_TOKEN, INVALID_CARD_DETAILS_CUI_AUTH_TOKEN, NOT_OK_CUI_AUTH_TOKEN, REFRESHED_CUI_AUTH_TOKEN, VALID_CUI_AUTH_TOKEN, VALID_PROGRAM_SHORT_CODE, VALID_OAUTH_TOKEN, VALID_DPOP_TOKEN, NOT_OK_DPOP_TOKEN, MOCK_CUSTOMER_ENDPOINT, VALID_USER_TOKEN_HASH, mswAuthHandlers, authIOCModule, mockAuthIOCModule, cardsIOCModule, mockCardsIOCModule, mswCardsHandlers, AccountHolderGroupEntity, DepositAccountEntity, mockAccountBalances, mockAccountHolderGroup, mockDepositAccountJson, ITF_ACCOUNT_REPOSITORY, getAccountHolderGroup, getAccountBalances, getDepositAccounts, iAccountRepository, TEST_USER_TOKEN, TEST_DEPOSIT_ACCOUNT, MockAccountRepository, accountsIOCModule, mockAccountsIOCModule, EMPTY_DEPOSIT_ACCOUNTS_CUI_AUTH_TOKEN, DEPOSIT_ACCOUNTS_TERMINATED_CUI_AUTH_TOKEN, ACCOUNT_LOADING_CUI_AUTH_TOKEN, ACCOUNT_LIMITED_CUI_AUTH_TOKEN, ACCOUNT_UNVERIFIED_CUI_AUTH_TOKEN, ACCOUNT_SUSPENDED_CUI_AUTH_TOKEN, ACCOUNT_CLOSED_CUI_AUTH_TOKEN, mswAccountHandlers, ITF_ANALYTICS_SERVICE, ITF_SESSION_SERVICE, INTR_GET_SESSION_ID, INTR_GET_CLIENT_ID, trackEvent, getClientId, getSessionId, iAnalyticsService, MockAnalyticsService, TEST_CLIENT_ID, TEST_SESSION_ID, MockSessionService, iSessionService, mockAnalyticsIOCModule, SESSION_TTL, VanillaSessionService, GaMeasurementAnalyticsService, mswAnalyticsHandlers, loadEnabledComponentsByShortCode, isComponentEnabled, iComponentsRepository, CUI_ENABLED_SHORT_CODE, REPOSITORY_METHOD_FAILING_SHORT_CODE, LIST_OF_ENABLED_COMPONENTS, MockComponentsRepository, RestComponentsRepository, mswComponentsHandlers, componentsIOCModule, ITF_DISPUTES_REPOSITORY, startDispute, submitAnswerForDisputeQuestion, getAllStepsOfDispute, getStepOfDisputeByStepId, submitDispute, uploadDocumentForDispute, deleteDocumentForDispute, retrieveDocumentForDispute, downloadDocumentForDispute, iDisputesRepository, FormField, MOCK_GET_ALL_STEPS_RESPONSE, MOCK_STEP_COMPLETION_RESPONSE, MOCK_TRANSFORMED_ERROR_RESPONSE, MOCK_DISPUTE_ID, MOCK_SUBMIT_DISPUTE_RESPONSE, MOCK_AMOUNT_STEP_RESPONSE, MOCK_INVALID_TRANSACTION_TOKEN, MOCK_RECOGNIZED_TRANSACTION_RESPONSE, MOCK_STEP1_RESPONSE, MOCK_FRAUD_STEP_RESPONSE, MOCK_START_DISPUTE_RESPONSE, MOCK_DOCUMENT_ID1, MOCK_DOCUMENT_ID2, MOCK_DOCUMENT1, MOCK_DOCUMENT2, MOCK_RETRIEVE_DOCUMENTS_RESPONSE, MOCK_UPLOAD_DOCUMENTS_RESPONSE, MOCK_DELETE_DOCUMENTS_RESPONSE, MockDisputesRepository, disputesIOCModule, mockDisputesIOCModule, mswDisputesHandlers, ITF_FEATURE_FLAG_SERVICE, featureFlagIsEnabled, loadFeatureFlags, setAutoEnableDevFlags, iFeatureFlagService, MockFeatureFlagService, FFLAGS_ASYNC_STORAGE_KEY, AsyncStorageFeatureFlagService, FFLAGS_SESSION_STORAGE_KEY, SessionStorageFeatureFlagService, StubFeatureFlagService, featureFlagsIOCModule, mockFeatureFlagIOCModule, KycVerificationRequestIdentifierTypeEnum, CreateUserRequestIdentificationsInnerTypeEnum, CreateUserResponseStatusEnum, INVALID_ACCOUNT_HOLDER, mockCreateUserRequest, mockInvalidCreateUserRequest, mockCreatedUserResponse, getMockUserRequestToCreateResponse, mockUpdateUserResponse, getMockUpdatedUserRequestToCreateResponse, ITF_USERS, getUser, postCreateUser, putUpdateUser, iUsersRepository, VALID_CUI_USER_RESPONSE, MockiUsersRepository, mswUsersHandlers, RestUsersRepository, usersIOCModule, mockUsersIOCModule, LOADING_SSN, DOB_ISSUE_SSN, NAME_ISSUE_SSN, ADDRESS_ISSUE_SSN, OBAC_ISSUE_SSN, BAD_GENERAL_SSN, mockKycVerificationRequest, mockInvalidKycVerificationRequest, mockKycVerificationResponse, ITF_KYC, postVerifyKyc, iKycRepository, mswKycHandlers, RestKycRepository, kycIOCModule, ITF_KYB, postVerifyKyb, initializeOnboarding, iKybRepository, KybEvaluationStatus, CREATE_USERS_BAD_REQUEST2 as CREATE_USERS_BAD_REQUEST, CREATE_USERS_INTERNAL_SERVER_ERROR2 as CREATE_USERS_INTERNAL_SERVER_ERROR, KYB_LOADING_SSN, KYB_DOB_ISSUE_SSN, KYB_NAME_ISSUE_SSN, KYB_ADDRESS_ISSUE_SSN, KYB_OBAC_ISSUE_SSN, KYB_BAD_GENERAL_SSN, mockKybVerificationRequest, mockInvalidKybVerificationRequest, mockInvalidKybEvaluationRequest, mockKybEvaluationResponse, mockKybEvaluationRequest, mockKybVerificationResponse, mswKybHandlers, RestKybRepository, kybIOCModule, mockKybIOCModule, iMoneyMovementRepository, TEST_SOURCE_CARD, TEST_SOURCE_CARDS_RESPONSE, TEST_OK_RESPONSE, MockMoneyMovementRepository, ITF_MONEY_MOVEMENT, mockMoneyMovementIOCModule, moneyMovementIOCModule, addExternalCard, addExternalCardWithUserToken, initiateTransfer, getExternalCards, removeExternalCard, mockSourceCards, mswSourceCardsHandler, ITF_IDP_SERVICE, requestOtpCode, ITF_WLA_SERVICE, initPasswordAndLogin, loginWithIdAndPassword, refreshAccessToken, verifyOTP, iIdpService, MockIdpService, RestIdpService, idpIOCModule, mockIdpIOCModule, iStatementsRepository, StatementAssetStateEnum, ITF_STATEMENTS, ITF_STATEMENT_ASSET, getStatements, getStatementAsset, statementsIOCModule, MOCK_STATEMENT_ASSET_SIGNED_URL_PDF, MOCK_USER, toDateType, formatDateForApi, generateStatementsDateQueries, handleGetStatements, handleGetStatementAsset, mswStatementsHandlers, DEFAULT_THEME, getActiveTheme, deepMergeThemeObject, ITF_THEME_REPOSITORY, ITF_ICONS_REPOSITORY, setActiveThemeByName, getIconsByName, iThemeRepository, TEST_THEME_NAME, TEST_THEME_OBJECT, MockThemeRepository, iIconsRepository, mockThemesIOCModule, themesIOCModule, iconsIOCModule, iTransactionsRepository, TransactionRecordStatus, TransactionDetailsBannerType, MockTransactionsRepository, ITF_TRANSACTIONS, getTransactions, getTransactionDetails, getUserTransactionsV2, TransactionDetailIconTypeEnum, Direction, transactionsIOCModule, mswTransactionsHandlers, AccountType, InterestTierResponseTypeEnum, TransactionDirection, AtmLocationAccessFeesEnum, AtmLocationAvailabilityEnum, AtmLocationDistanceUnitEnum, AtmLocationHandicapAccessibleEnum, AtmLocationHasSharedDepositEnum, AtmLocationIsSurchargeFreeAllianceEnum, AtmLocationLocationTypeEnum, AtmLocationSupportsContactLessEnum, AtmLocationSurchargeFreeAllianceNetworkEnum, BookTransferResponseStatusEnum, CreateCardUseCase, CardFulfillmentRequestCardFulfillmentReasonEnum, ShippingMethodEnum, ConsentStatus, ConsentScope, ConsentPaymentScope, ConsentPaymentType, ExternalAccountStatus2 as ExternalAccountStatus, FaqParagraphTypeEnum, OfferStatus, OnboardingStatus, Currency, OriginationTransferScheme, TransferStatus, OriginationTransferReasonCode, OriginationDirection, OutageType, PushRegistrationRequestDevicePlatformEnum, ReplaceCardRequestReasonEnum, RevokeConsentStatus, ConsentPermissionType, TransactionStatus, TransactionType, BannerTypeEnum, TransactionDisputeStatus, TransactionDetailResponseIconTypeEnum, ConsentAction, SetPinRequestUsecaseEnum, LoyaltyTier, UserRole, WlaUserStatus, TransactionChallengeDecisionRequestResultEnum, TransactionChallengeDecisionResponseStatusEnum, TransactionChallengeTransactionResponseTransactionTypeEnum, TransactionChallengeTransactionResponseSubTypeEnum, TransactionChallengeResponseCardNetworkEnum, TransactionChallengeResponseStateEnum, TransactionChallengeCancelReason, TransactionChallengeAuthenticationMethod, RestWlaService, bookTransfer, createOriginationTransfer, createWlaCard, createWlaExternalAccount, deleteRegistrationForPushNotifications, getAccountTransactions, getConsentById, getConsents, getExternalAccount, getExternalAccountList, getOfferDetails, getOffers, getOutagesByToken, getOutagesList, getTransferByToken, getTransfers, getWlaAccountDetails, getWlaCardByToken, getWlaRewardSummaries, getWlaTransactionByToken, getWlaUserProfile, markAccountActivated, markAccountVerified, markPasswordSetupDone, registerDeviceForPushNotifications, replaceWlaCard, revokeConsent, searchAtms, setWlaCardPin, updateConsentStatus, updateExternalAccount, verifyExternalAccount, getWlaFaqs, changeWlaPassword, postWlaSendResetPasswordLink, resendVerificationEmail, verifyUserDevice, getTransactionChallengeByToken, getNextTransactionChallenge, postTransactionChallengeDecision, updateDevicePushNotificationsRegistration, WlaIocModule, loadBaseContainerModules, container }; /*! Bundled license information:
|
|
28326
28600
|
|
|
28327
28601
|
@bundled-es-modules/statuses/index-esm.js:
|
|
28328
28602
|
(*! Bundled license information:
|