@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
|
@@ -401,6 +401,11 @@ function _ts_generator(thisArg, body) {
|
|
|
401
401
|
Object.defineProperty(exports, "__esModule", {
|
|
402
402
|
value: true
|
|
403
403
|
});
|
|
404
|
+
function _interopRequireDefault(obj) {
|
|
405
|
+
return obj && obj.__esModule ? obj : {
|
|
406
|
+
default: obj
|
|
407
|
+
};
|
|
408
|
+
}
|
|
404
409
|
function _nullishCoalesce(lhs, rhsFn) {
|
|
405
410
|
if (lhs != null) {
|
|
406
411
|
return lhs;
|
|
@@ -1815,6 +1820,86 @@ var _StandardizedError = /*#__PURE__*/ function(Error1) {
|
|
|
1815
1820
|
}(_wrap_native_super(Error));
|
|
1816
1821
|
__name(_StandardizedError, "StandardizedError");
|
|
1817
1822
|
var StandardizedError = _StandardizedError;
|
|
1823
|
+
// src/common/base/interactors/setAppConfig.ts
|
|
1824
|
+
function setAppConfig(appVersion, deviceId) {
|
|
1825
|
+
logDebug("Setting app config", {
|
|
1826
|
+
appVersion: appVersion,
|
|
1827
|
+
deviceId: deviceId,
|
|
1828
|
+
interactor: "setAppConfig"
|
|
1829
|
+
});
|
|
1830
|
+
try {
|
|
1831
|
+
var container2 = getActiveIocContainer();
|
|
1832
|
+
if (!container2) {
|
|
1833
|
+
logError("IoC container not initialized", {
|
|
1834
|
+
appVersion: appVersion,
|
|
1835
|
+
deviceId: deviceId,
|
|
1836
|
+
interactor: "setAppConfig"
|
|
1837
|
+
});
|
|
1838
|
+
return;
|
|
1839
|
+
}
|
|
1840
|
+
var cacheService = container2.get(ITF_CACHE_SERVICE);
|
|
1841
|
+
cacheService.set("appConfig", JSON.stringify({
|
|
1842
|
+
appVersion: appVersion,
|
|
1843
|
+
deviceId: deviceId
|
|
1844
|
+
}));
|
|
1845
|
+
logInfo("App config set successfully", {
|
|
1846
|
+
appVersion: appVersion,
|
|
1847
|
+
deviceId: deviceId,
|
|
1848
|
+
interactor: "setAppConfig"
|
|
1849
|
+
});
|
|
1850
|
+
} catch (error2) {
|
|
1851
|
+
logError("Failed to set app config", {
|
|
1852
|
+
error: error2,
|
|
1853
|
+
appVersion: appVersion,
|
|
1854
|
+
deviceId: deviceId,
|
|
1855
|
+
interactor: "setAppConfig"
|
|
1856
|
+
});
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
__name(setAppConfig, "setAppConfig");
|
|
1860
|
+
// src/common/base/interactors/getAppConfig.ts
|
|
1861
|
+
var defaultConfig = {
|
|
1862
|
+
appVersion: "",
|
|
1863
|
+
deviceId: ""
|
|
1864
|
+
};
|
|
1865
|
+
function getAppConfig() {
|
|
1866
|
+
try {
|
|
1867
|
+
var container2 = getActiveIocContainer();
|
|
1868
|
+
var cacheService = _optionalChain([
|
|
1869
|
+
container2,
|
|
1870
|
+
'optionalAccess',
|
|
1871
|
+
function(_8) {
|
|
1872
|
+
return _8.get;
|
|
1873
|
+
},
|
|
1874
|
+
'call',
|
|
1875
|
+
function(_9) {
|
|
1876
|
+
return _9(ITF_CACHE_SERVICE);
|
|
1877
|
+
}
|
|
1878
|
+
]);
|
|
1879
|
+
var config = _optionalChain([
|
|
1880
|
+
cacheService,
|
|
1881
|
+
'optionalAccess',
|
|
1882
|
+
function(_10) {
|
|
1883
|
+
return _10.get;
|
|
1884
|
+
},
|
|
1885
|
+
'call',
|
|
1886
|
+
function(_11) {
|
|
1887
|
+
return _11("appConfig");
|
|
1888
|
+
}
|
|
1889
|
+
]);
|
|
1890
|
+
if (!config || typeof config !== "string") {
|
|
1891
|
+
return defaultConfig;
|
|
1892
|
+
}
|
|
1893
|
+
var parsedConfig = JSON.parse(config);
|
|
1894
|
+
return {
|
|
1895
|
+
appVersion: parsedConfig.appVersion || "",
|
|
1896
|
+
deviceId: parsedConfig.deviceId || ""
|
|
1897
|
+
};
|
|
1898
|
+
} catch (e2) {
|
|
1899
|
+
return defaultConfig;
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
__name(getAppConfig, "getAppConfig");
|
|
1818
1903
|
// src/common/ioc/commonIOCModule.ts
|
|
1819
1904
|
// src/common/adapters/InMemRegistryService.ts
|
|
1820
1905
|
function _ts_decorate12(decorators, target, key, desc) {
|
|
@@ -1918,6 +2003,22 @@ function convertObjKeysToLowerCamelCase(inputObj) {
|
|
|
1918
2003
|
return newobj;
|
|
1919
2004
|
}
|
|
1920
2005
|
__name(convertObjKeysToLowerCamelCase, "convertObjKeysToLowerCamelCase");
|
|
2006
|
+
// src/common/utils/getCommonApiHeaders.ts
|
|
2007
|
+
function getCommonApiHeaders() {
|
|
2008
|
+
try {
|
|
2009
|
+
var appConfig = getAppConfig();
|
|
2010
|
+
return {
|
|
2011
|
+
"app-version": appConfig.appVersion,
|
|
2012
|
+
"device-id": appConfig.deviceId
|
|
2013
|
+
};
|
|
2014
|
+
} catch (e3) {
|
|
2015
|
+
return {
|
|
2016
|
+
"app-version": "",
|
|
2017
|
+
"device-id": ""
|
|
2018
|
+
};
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
__name(getCommonApiHeaders, "getCommonApiHeaders");
|
|
1921
2022
|
function getCardsByUserToken() {
|
|
1922
2023
|
return _getCardsByUserToken.apply(this, arguments);
|
|
1923
2024
|
}
|
|
@@ -2068,8 +2169,8 @@ function _activateCardByTokenOrPan() {
|
|
|
2068
2169
|
state: _optionalChain([
|
|
2069
2170
|
result,
|
|
2070
2171
|
'optionalAccess',
|
|
2071
|
-
function(
|
|
2072
|
-
return
|
|
2172
|
+
function(_12) {
|
|
2173
|
+
return _12.state;
|
|
2073
2174
|
}
|
|
2074
2175
|
]),
|
|
2075
2176
|
interactor: "activateCardByTokenOrPan"
|
|
@@ -2133,8 +2234,8 @@ function _lockCardByToken() {
|
|
|
2133
2234
|
state: _optionalChain([
|
|
2134
2235
|
result,
|
|
2135
2236
|
'optionalAccess',
|
|
2136
|
-
function(
|
|
2137
|
-
return
|
|
2237
|
+
function(_13) {
|
|
2238
|
+
return _13.state;
|
|
2138
2239
|
}
|
|
2139
2240
|
]),
|
|
2140
2241
|
interactor: "lockCardByToken"
|
|
@@ -2198,8 +2299,8 @@ function _replaceCardByToken() {
|
|
|
2198
2299
|
newCardToken: _optionalChain([
|
|
2199
2300
|
result,
|
|
2200
2301
|
'optionalAccess',
|
|
2201
|
-
function(
|
|
2202
|
-
return
|
|
2302
|
+
function(_14) {
|
|
2303
|
+
return _14.token;
|
|
2203
2304
|
}
|
|
2204
2305
|
]),
|
|
2205
2306
|
interactor: "replaceCardByToken"
|
|
@@ -2263,8 +2364,8 @@ function _unlockCardByToken() {
|
|
|
2263
2364
|
state: _optionalChain([
|
|
2264
2365
|
result,
|
|
2265
2366
|
'optionalAccess',
|
|
2266
|
-
function(
|
|
2267
|
-
return
|
|
2367
|
+
function(_15) {
|
|
2368
|
+
return _15.state;
|
|
2268
2369
|
}
|
|
2269
2370
|
]),
|
|
2270
2371
|
interactor: "unlockCardByToken"
|
|
@@ -4776,21 +4877,21 @@ function _checkHttpStandizedError() {
|
|
|
4776
4877
|
error2 = _optionalChain([
|
|
4777
4878
|
data,
|
|
4778
4879
|
'optionalAccess',
|
|
4779
|
-
function(
|
|
4780
|
-
return
|
|
4880
|
+
function(_16) {
|
|
4881
|
+
return _16.error;
|
|
4781
4882
|
}
|
|
4782
4883
|
]);
|
|
4783
4884
|
if (_optionalChain([
|
|
4784
4885
|
error2,
|
|
4785
4886
|
'optionalAccess',
|
|
4786
|
-
function(
|
|
4787
|
-
return
|
|
4887
|
+
function(_17) {
|
|
4888
|
+
return _17.id;
|
|
4788
4889
|
}
|
|
4789
4890
|
]) && _optionalChain([
|
|
4790
4891
|
error2,
|
|
4791
4892
|
'optionalAccess',
|
|
4792
|
-
function(
|
|
4793
|
-
return
|
|
4893
|
+
function(_18) {
|
|
4894
|
+
return _18.debug;
|
|
4794
4895
|
}
|
|
4795
4896
|
])) {
|
|
4796
4897
|
convertedDebug = error2.debug.map(function(item) {
|
|
@@ -4811,14 +4912,14 @@ function _checkHttpStandizedError() {
|
|
|
4811
4912
|
if (_optionalChain([
|
|
4812
4913
|
oauthError,
|
|
4813
4914
|
'optionalAccess',
|
|
4814
|
-
function(
|
|
4815
|
-
return
|
|
4915
|
+
function(_19) {
|
|
4916
|
+
return _19.error;
|
|
4816
4917
|
}
|
|
4817
4918
|
]) && _optionalChain([
|
|
4818
4919
|
oauthError,
|
|
4819
4920
|
'optionalAccess',
|
|
4820
|
-
function(
|
|
4821
|
-
return
|
|
4921
|
+
function(_20) {
|
|
4922
|
+
return _20.error_description;
|
|
4822
4923
|
}
|
|
4823
4924
|
]) && !httpIsOk) {
|
|
4824
4925
|
throw oauthError;
|
|
@@ -6419,8 +6520,8 @@ var _M2mAuthenticatedHttpClient = /*#__PURE__*/ function() {
|
|
|
6419
6520
|
paramHeaders = _optionalChain([
|
|
6420
6521
|
params,
|
|
6421
6522
|
'optionalAccess',
|
|
6422
|
-
function(
|
|
6423
|
-
return
|
|
6523
|
+
function(_21) {
|
|
6524
|
+
return _21.headers;
|
|
6424
6525
|
}
|
|
6425
6526
|
]);
|
|
6426
6527
|
_tmp = [
|
|
@@ -6527,8 +6628,8 @@ var _M2mAuthenticatedHttpClient = /*#__PURE__*/ function() {
|
|
|
6527
6628
|
var headers = _nullishCoalesce(_optionalChain([
|
|
6528
6629
|
params,
|
|
6529
6630
|
'optionalAccess',
|
|
6530
|
-
function(
|
|
6531
|
-
return
|
|
6631
|
+
function(_22) {
|
|
6632
|
+
return _22.headers;
|
|
6532
6633
|
}
|
|
6533
6634
|
]), function() {
|
|
6534
6635
|
return {};
|
|
@@ -6759,8 +6860,8 @@ var _SsoAuthenticatedHttpClient = /*#__PURE__*/ function() {
|
|
|
6759
6860
|
paramHeaders = _optionalChain([
|
|
6760
6861
|
params,
|
|
6761
6862
|
'optionalAccess',
|
|
6762
|
-
function(
|
|
6763
|
-
return
|
|
6863
|
+
function(_23) {
|
|
6864
|
+
return _23.headers;
|
|
6764
6865
|
}
|
|
6765
6866
|
]) || {};
|
|
6766
6867
|
hasAuthorizationHeader = Boolean((typeof paramHeaders === "undefined" ? "undefined" : _type_of(paramHeaders)) === "object" && paramHeaders !== null && "Authorization" in paramHeaders);
|
|
@@ -7060,8 +7161,8 @@ var _RestAuthService = /*#__PURE__*/ function() {
|
|
|
7060
7161
|
convertedData = convertObjKeysToLowerCamelCase(convertObjKeysToCamelCase(_optionalChain([
|
|
7061
7162
|
data,
|
|
7062
7163
|
'optionalAccess',
|
|
7063
|
-
function(
|
|
7064
|
-
return
|
|
7164
|
+
function(_24) {
|
|
7165
|
+
return _24.data;
|
|
7065
7166
|
}
|
|
7066
7167
|
])));
|
|
7067
7168
|
cardholderContext = new CardholderContextEntity(convertedData);
|
|
@@ -7722,12 +7823,12 @@ var _RequestHandler = /*#__PURE__*/ function() {
|
|
|
7722
7823
|
if (_this.isUsed && _optionalChain([
|
|
7723
7824
|
_this,
|
|
7724
7825
|
'access',
|
|
7725
|
-
function(
|
|
7726
|
-
return
|
|
7826
|
+
function(_25) {
|
|
7827
|
+
return _25.options;
|
|
7727
7828
|
},
|
|
7728
7829
|
'optionalAccess',
|
|
7729
|
-
function(
|
|
7730
|
-
return
|
|
7830
|
+
function(_26) {
|
|
7831
|
+
return _26.once;
|
|
7731
7832
|
}
|
|
7732
7833
|
])) {
|
|
7733
7834
|
return [
|
|
@@ -7759,12 +7860,12 @@ var _RequestHandler = /*#__PURE__*/ function() {
|
|
|
7759
7860
|
if (_this.isUsed && _optionalChain([
|
|
7760
7861
|
_this,
|
|
7761
7862
|
'access',
|
|
7762
|
-
function(
|
|
7763
|
-
return
|
|
7863
|
+
function(_27) {
|
|
7864
|
+
return _27.options;
|
|
7764
7865
|
},
|
|
7765
7866
|
'optionalAccess',
|
|
7766
|
-
function(
|
|
7767
|
-
return
|
|
7867
|
+
function(_28) {
|
|
7868
|
+
return _28.once;
|
|
7768
7869
|
}
|
|
7769
7870
|
])) {
|
|
7770
7871
|
return [
|
|
@@ -7863,12 +7964,12 @@ var _RequestHandler = /*#__PURE__*/ function() {
|
|
|
7863
7964
|
_this.resolverGeneratorResult = _optionalChain([
|
|
7864
7965
|
nextResponse,
|
|
7865
7966
|
'optionalAccess',
|
|
7866
|
-
function(
|
|
7867
|
-
return
|
|
7967
|
+
function(_29) {
|
|
7968
|
+
return _29.clone;
|
|
7868
7969
|
},
|
|
7869
7970
|
'call',
|
|
7870
|
-
function(
|
|
7871
|
-
return
|
|
7971
|
+
function(_30) {
|
|
7972
|
+
return _30();
|
|
7872
7973
|
}
|
|
7873
7974
|
]);
|
|
7874
7975
|
}
|
|
@@ -9130,7 +9231,7 @@ function isPropertyAccessible(object, method) {
|
|
|
9130
9231
|
try {
|
|
9131
9232
|
object[method];
|
|
9132
9233
|
return true;
|
|
9133
|
-
} catch (
|
|
9234
|
+
} catch (e4) {
|
|
9134
9235
|
return false;
|
|
9135
9236
|
}
|
|
9136
9237
|
}
|
|
@@ -9324,20 +9425,20 @@ function getAllRequestCookies(request) {
|
|
|
9324
9425
|
var cookiesFromStore = Array.from(_optionalChain([
|
|
9325
9426
|
store,
|
|
9326
9427
|
'access',
|
|
9327
|
-
function(
|
|
9328
|
-
return
|
|
9428
|
+
function(_31) {
|
|
9429
|
+
return _31.get;
|
|
9329
9430
|
},
|
|
9330
9431
|
'call',
|
|
9331
|
-
function(
|
|
9332
|
-
return
|
|
9432
|
+
function(_32) {
|
|
9433
|
+
return _32(request);
|
|
9333
9434
|
},
|
|
9334
9435
|
'optionalAccess',
|
|
9335
|
-
function(
|
|
9336
|
-
return
|
|
9436
|
+
function(_33) {
|
|
9437
|
+
return _33.entries;
|
|
9337
9438
|
},
|
|
9338
9439
|
'call',
|
|
9339
|
-
function(
|
|
9340
|
-
return
|
|
9440
|
+
function(_34) {
|
|
9441
|
+
return _34();
|
|
9341
9442
|
}
|
|
9342
9443
|
])).reduce(function(cookies, param) {
|
|
9343
9444
|
var _param = _sliced_to_array(param, 2), name = _param[0], value = _param[1].value;
|
|
@@ -9428,12 +9529,12 @@ var _HttpHandler = /*#__PURE__*/ function(RequestHandler) {
|
|
|
9428
9529
|
match2 = matchRequestUrl(url, _this.info.path, _optionalChain([
|
|
9429
9530
|
args,
|
|
9430
9531
|
'access',
|
|
9431
|
-
function(
|
|
9432
|
-
return
|
|
9532
|
+
function(_35) {
|
|
9533
|
+
return _35.resolutionContext;
|
|
9433
9534
|
},
|
|
9434
9535
|
'optionalAccess',
|
|
9435
|
-
function(
|
|
9436
|
-
return
|
|
9536
|
+
function(_36) {
|
|
9537
|
+
return _36.baseUrl;
|
|
9437
9538
|
}
|
|
9438
9539
|
]));
|
|
9439
9540
|
cookies = getAllRequestCookies(args.request);
|
|
@@ -9469,16 +9570,16 @@ var _HttpHandler = /*#__PURE__*/ function(RequestHandler) {
|
|
|
9469
9570
|
params: _optionalChain([
|
|
9470
9571
|
args,
|
|
9471
9572
|
'access',
|
|
9472
|
-
function(
|
|
9473
|
-
return
|
|
9573
|
+
function(_37) {
|
|
9574
|
+
return _37.parsedResult;
|
|
9474
9575
|
},
|
|
9475
9576
|
'access',
|
|
9476
|
-
function(
|
|
9477
|
-
return
|
|
9577
|
+
function(_38) {
|
|
9578
|
+
return _38.match;
|
|
9478
9579
|
},
|
|
9479
9580
|
'optionalAccess',
|
|
9480
|
-
function(
|
|
9481
|
-
return
|
|
9581
|
+
function(_39) {
|
|
9582
|
+
return _39.params;
|
|
9482
9583
|
}
|
|
9483
9584
|
]) || {},
|
|
9484
9585
|
cookies: args.parsedResult.cookies
|
|
@@ -9871,12 +9972,12 @@ var Headers2 = (_a6 = /*#__PURE__*/ function() {
|
|
|
9871
9972
|
].includes(_optionalChain([
|
|
9872
9973
|
init,
|
|
9873
9974
|
'optionalAccess',
|
|
9874
|
-
function(
|
|
9875
|
-
return
|
|
9975
|
+
function(_40) {
|
|
9976
|
+
return _40.constructor;
|
|
9876
9977
|
},
|
|
9877
9978
|
'access',
|
|
9878
|
-
function(
|
|
9879
|
-
return
|
|
9979
|
+
function(_41) {
|
|
9980
|
+
return _41.name;
|
|
9880
9981
|
}
|
|
9881
9982
|
])) || _instanceof(init, _a6) || typeof globalThis.Headers !== "undefined" && _instanceof(init, globalThis.Headers)) {
|
|
9882
9983
|
var initialHeaders = init;
|
|
@@ -10315,22 +10416,22 @@ function normalizeResponseInit() {
|
|
|
10315
10416
|
var status = _optionalChain([
|
|
10316
10417
|
init,
|
|
10317
10418
|
'optionalAccess',
|
|
10318
|
-
function(
|
|
10319
|
-
return
|
|
10419
|
+
function(_42) {
|
|
10420
|
+
return _42.status;
|
|
10320
10421
|
}
|
|
10321
10422
|
]) || 200;
|
|
10322
10423
|
var statusText = _optionalChain([
|
|
10323
10424
|
init,
|
|
10324
10425
|
'optionalAccess',
|
|
10325
|
-
function(
|
|
10326
|
-
return
|
|
10426
|
+
function(_43) {
|
|
10427
|
+
return _43.statusText;
|
|
10327
10428
|
}
|
|
10328
10429
|
]) || message2[status] || "";
|
|
10329
10430
|
var headers = new Headers(_optionalChain([
|
|
10330
10431
|
init,
|
|
10331
10432
|
'optionalAccess',
|
|
10332
|
-
function(
|
|
10333
|
-
return
|
|
10433
|
+
function(_44) {
|
|
10434
|
+
return _44.headers;
|
|
10334
10435
|
}
|
|
10335
10436
|
]));
|
|
10336
10437
|
return _object_spread_props(_object_spread({}, init), {
|
|
@@ -12531,12 +12632,12 @@ var mswAccountHandlers = [
|
|
|
12531
12632
|
_$_optionalChain = _sliced_to_array(_optionalChain([
|
|
12532
12633
|
authorization,
|
|
12533
12634
|
'optionalAccess',
|
|
12534
|
-
function(
|
|
12535
|
-
return
|
|
12635
|
+
function(_45) {
|
|
12636
|
+
return _45.split;
|
|
12536
12637
|
},
|
|
12537
12638
|
'call',
|
|
12538
|
-
function(
|
|
12539
|
-
return
|
|
12639
|
+
function(_46) {
|
|
12640
|
+
return _46(" ");
|
|
12540
12641
|
}
|
|
12541
12642
|
]), 2), _ = _$_optionalChain[0], token = _$_optionalChain[1];
|
|
12542
12643
|
userStatus = "ACTIVE";
|
|
@@ -13724,12 +13825,12 @@ var _RestComponentsRepository = /*#__PURE__*/ function() {
|
|
|
13724
13825
|
componentCount: _optionalChain([
|
|
13725
13826
|
data,
|
|
13726
13827
|
'access',
|
|
13727
|
-
function(
|
|
13728
|
-
return
|
|
13828
|
+
function(_47) {
|
|
13829
|
+
return _47.components;
|
|
13729
13830
|
},
|
|
13730
13831
|
'optionalAccess',
|
|
13731
|
-
function(
|
|
13732
|
-
return
|
|
13832
|
+
function(_48) {
|
|
13833
|
+
return _48.length;
|
|
13733
13834
|
}
|
|
13734
13835
|
]) || 0,
|
|
13735
13836
|
adapter: "RestComponentsRepository"
|
|
@@ -14255,16 +14356,16 @@ function _retrieveDocumentForDispute() {
|
|
|
14255
14356
|
documentCount: _optionalChain([
|
|
14256
14357
|
result,
|
|
14257
14358
|
'access',
|
|
14258
|
-
function(
|
|
14259
|
-
return
|
|
14359
|
+
function(_49) {
|
|
14360
|
+
return _49.data;
|
|
14260
14361
|
},
|
|
14261
14362
|
'optionalAccess',
|
|
14262
|
-
function(
|
|
14263
|
-
return
|
|
14363
|
+
function(_50) {
|
|
14364
|
+
return _50.documents;
|
|
14264
14365
|
},
|
|
14265
14366
|
'optionalAccess',
|
|
14266
|
-
function(
|
|
14267
|
-
return
|
|
14367
|
+
function(_51) {
|
|
14368
|
+
return _51.length;
|
|
14268
14369
|
}
|
|
14269
14370
|
]) || 0,
|
|
14270
14371
|
interactor: "retrieveDocumentForDispute"
|
|
@@ -15120,12 +15221,12 @@ var _RestDisputeRepository = /*#__PURE__*/ function() {
|
|
|
15120
15221
|
stepCount: _optionalChain([
|
|
15121
15222
|
result,
|
|
15122
15223
|
'access',
|
|
15123
|
-
function(
|
|
15124
|
-
return
|
|
15224
|
+
function(_52) {
|
|
15225
|
+
return _52.steps;
|
|
15125
15226
|
},
|
|
15126
15227
|
'optionalAccess',
|
|
15127
|
-
function(
|
|
15128
|
-
return
|
|
15228
|
+
function(_53) {
|
|
15229
|
+
return _53.length;
|
|
15129
15230
|
}
|
|
15130
15231
|
]),
|
|
15131
15232
|
adapter: "RestDisputeRepository"
|
|
@@ -15446,16 +15547,16 @@ var _RestDisputeRepository = /*#__PURE__*/ function() {
|
|
|
15446
15547
|
documentCount: _optionalChain([
|
|
15447
15548
|
result,
|
|
15448
15549
|
'access',
|
|
15449
|
-
function(
|
|
15450
|
-
return
|
|
15550
|
+
function(_54) {
|
|
15551
|
+
return _54.data;
|
|
15451
15552
|
},
|
|
15452
15553
|
'optionalAccess',
|
|
15453
|
-
function(
|
|
15454
|
-
return
|
|
15554
|
+
function(_55) {
|
|
15555
|
+
return _55.documents;
|
|
15455
15556
|
},
|
|
15456
15557
|
'optionalAccess',
|
|
15457
|
-
function(
|
|
15458
|
-
return
|
|
15558
|
+
function(_56) {
|
|
15559
|
+
return _56.length;
|
|
15459
15560
|
}
|
|
15460
15561
|
]),
|
|
15461
15562
|
adapter: "RestDisputeRepository"
|
|
@@ -15620,65 +15721,65 @@ var mswDisputesHandlers = [
|
|
|
15620
15721
|
var initalQnAns = _optionalChain([
|
|
15621
15722
|
CUR_STEP1_RESPONSE,
|
|
15622
15723
|
'access',
|
|
15623
|
-
function(
|
|
15624
|
-
return
|
|
15724
|
+
function(_57) {
|
|
15725
|
+
return _57.defaultValues;
|
|
15625
15726
|
},
|
|
15626
15727
|
'optionalAccess',
|
|
15627
|
-
function(
|
|
15628
|
-
return
|
|
15728
|
+
function(_58) {
|
|
15729
|
+
return _58["Q-INITIAL-QUESTION"];
|
|
15629
15730
|
}
|
|
15630
15731
|
]);
|
|
15631
15732
|
if (initalQnAns) {
|
|
15632
15733
|
var initalQnReadableAns = _optionalChain([
|
|
15633
15734
|
CUR_STEP1_RESPONSE,
|
|
15634
15735
|
'access',
|
|
15635
|
-
function(
|
|
15636
|
-
return
|
|
15736
|
+
function(_59) {
|
|
15737
|
+
return _59.schema;
|
|
15637
15738
|
},
|
|
15638
15739
|
'optionalAccess',
|
|
15639
|
-
function(
|
|
15640
|
-
return
|
|
15740
|
+
function(_60) {
|
|
15741
|
+
return _60.properties;
|
|
15641
15742
|
},
|
|
15642
15743
|
'optionalAccess',
|
|
15643
|
-
function(
|
|
15644
|
-
return
|
|
15744
|
+
function(_61) {
|
|
15745
|
+
return _61["Q-INITIAL-QUESTION"];
|
|
15645
15746
|
},
|
|
15646
15747
|
'optionalAccess',
|
|
15647
|
-
function(
|
|
15648
|
-
return
|
|
15748
|
+
function(_62) {
|
|
15749
|
+
return _62.oneOf;
|
|
15649
15750
|
},
|
|
15650
15751
|
'optionalAccess',
|
|
15651
|
-
function(
|
|
15652
|
-
return
|
|
15752
|
+
function(_63) {
|
|
15753
|
+
return _63.find;
|
|
15653
15754
|
},
|
|
15654
15755
|
'call',
|
|
15655
|
-
function(
|
|
15656
|
-
return
|
|
15756
|
+
function(_64) {
|
|
15757
|
+
return _64(function(val) {
|
|
15657
15758
|
return val.const === initalQnAns;
|
|
15658
15759
|
});
|
|
15659
15760
|
},
|
|
15660
15761
|
'optionalAccess',
|
|
15661
|
-
function(
|
|
15662
|
-
return
|
|
15762
|
+
function(_65) {
|
|
15763
|
+
return _65.title;
|
|
15663
15764
|
}
|
|
15664
15765
|
]);
|
|
15665
15766
|
var initialQuestion = _optionalChain([
|
|
15666
15767
|
CUR_STEP1_RESPONSE,
|
|
15667
15768
|
'access',
|
|
15668
|
-
function(
|
|
15669
|
-
return
|
|
15769
|
+
function(_66) {
|
|
15770
|
+
return _66.schema;
|
|
15670
15771
|
},
|
|
15671
15772
|
'optionalAccess',
|
|
15672
|
-
function(
|
|
15673
|
-
return
|
|
15773
|
+
function(_67) {
|
|
15774
|
+
return _67.properties;
|
|
15674
15775
|
},
|
|
15675
15776
|
'optionalAccess',
|
|
15676
|
-
function(
|
|
15677
|
-
return
|
|
15777
|
+
function(_68) {
|
|
15778
|
+
return _68["Q-INITIAL-QUESTION"];
|
|
15678
15779
|
},
|
|
15679
15780
|
'optionalAccess',
|
|
15680
|
-
function(
|
|
15681
|
-
return
|
|
15781
|
+
function(_69) {
|
|
15782
|
+
return _69.title;
|
|
15682
15783
|
}
|
|
15683
15784
|
]);
|
|
15684
15785
|
if (initialQuestion && initalQnReadableAns) {
|
|
@@ -15694,64 +15795,64 @@ var mswDisputesHandlers = [
|
|
|
15694
15795
|
var fraudQnAns = _optionalChain([
|
|
15695
15796
|
CUR_FRAUD_STEP_RESPONSE,
|
|
15696
15797
|
'access',
|
|
15697
|
-
function(
|
|
15698
|
-
return
|
|
15798
|
+
function(_70) {
|
|
15799
|
+
return _70.defaultValues;
|
|
15699
15800
|
},
|
|
15700
15801
|
'optionalAccess',
|
|
15701
|
-
function(
|
|
15702
|
-
return
|
|
15802
|
+
function(_71) {
|
|
15803
|
+
return _71["Q-card-with-user"];
|
|
15703
15804
|
}
|
|
15704
15805
|
]);
|
|
15705
15806
|
var fraudQnReadableAns = _optionalChain([
|
|
15706
15807
|
CUR_FRAUD_STEP_RESPONSE,
|
|
15707
15808
|
'access',
|
|
15708
|
-
function(
|
|
15709
|
-
return
|
|
15809
|
+
function(_72) {
|
|
15810
|
+
return _72.schema;
|
|
15710
15811
|
},
|
|
15711
15812
|
'optionalAccess',
|
|
15712
|
-
function(
|
|
15713
|
-
return
|
|
15813
|
+
function(_73) {
|
|
15814
|
+
return _73.properties;
|
|
15714
15815
|
},
|
|
15715
15816
|
'optionalAccess',
|
|
15716
|
-
function(
|
|
15717
|
-
return
|
|
15817
|
+
function(_74) {
|
|
15818
|
+
return _74["Q-card-with-user"];
|
|
15718
15819
|
},
|
|
15719
15820
|
'optionalAccess',
|
|
15720
|
-
function(
|
|
15721
|
-
return
|
|
15821
|
+
function(_75) {
|
|
15822
|
+
return _75.oneOf;
|
|
15722
15823
|
},
|
|
15723
15824
|
'optionalAccess',
|
|
15724
|
-
function(
|
|
15725
|
-
return
|
|
15825
|
+
function(_76) {
|
|
15826
|
+
return _76.find;
|
|
15726
15827
|
},
|
|
15727
15828
|
'call',
|
|
15728
|
-
function(
|
|
15729
|
-
return
|
|
15829
|
+
function(_77) {
|
|
15830
|
+
return _77(function(val) {
|
|
15730
15831
|
return val.const === fraudQnAns;
|
|
15731
15832
|
});
|
|
15732
15833
|
},
|
|
15733
15834
|
'optionalAccess',
|
|
15734
|
-
function(
|
|
15735
|
-
return
|
|
15835
|
+
function(_78) {
|
|
15836
|
+
return _78.title;
|
|
15736
15837
|
}
|
|
15737
15838
|
]);
|
|
15738
15839
|
var fraudQuestion = _optionalChain([
|
|
15739
15840
|
CUR_FRAUD_STEP_RESPONSE,
|
|
15740
15841
|
'access',
|
|
15741
|
-
function(
|
|
15742
|
-
return
|
|
15842
|
+
function(_79) {
|
|
15843
|
+
return _79.schema;
|
|
15743
15844
|
},
|
|
15744
15845
|
'optionalAccess',
|
|
15745
|
-
function(
|
|
15746
|
-
return
|
|
15846
|
+
function(_80) {
|
|
15847
|
+
return _80.properties;
|
|
15747
15848
|
},
|
|
15748
15849
|
'optionalAccess',
|
|
15749
|
-
function(
|
|
15750
|
-
return
|
|
15850
|
+
function(_81) {
|
|
15851
|
+
return _81["Q-card-with-user"];
|
|
15751
15852
|
},
|
|
15752
15853
|
'optionalAccess',
|
|
15753
|
-
function(
|
|
15754
|
-
return
|
|
15854
|
+
function(_82) {
|
|
15855
|
+
return _82.title;
|
|
15755
15856
|
}
|
|
15756
15857
|
]);
|
|
15757
15858
|
if (fraudQnReadableAns && fraudQuestion) answersForReview.push({
|
|
@@ -15764,64 +15865,64 @@ var mswDisputesHandlers = [
|
|
|
15764
15865
|
var recognizedQnAns = _optionalChain([
|
|
15765
15866
|
CUR_RECOGNIZED_TRANSACTION_RESPONSE,
|
|
15766
15867
|
'access',
|
|
15767
|
-
function(
|
|
15768
|
-
return
|
|
15868
|
+
function(_83) {
|
|
15869
|
+
return _83.defaultValues;
|
|
15769
15870
|
},
|
|
15770
15871
|
'optionalAccess',
|
|
15771
|
-
function(
|
|
15772
|
-
return
|
|
15872
|
+
function(_84) {
|
|
15873
|
+
return _84.Q2;
|
|
15773
15874
|
}
|
|
15774
15875
|
]);
|
|
15775
15876
|
var recognizedQnReadableAns = _optionalChain([
|
|
15776
15877
|
CUR_RECOGNIZED_TRANSACTION_RESPONSE,
|
|
15777
15878
|
'access',
|
|
15778
|
-
function(
|
|
15779
|
-
return
|
|
15879
|
+
function(_85) {
|
|
15880
|
+
return _85.schema;
|
|
15780
15881
|
},
|
|
15781
15882
|
'optionalAccess',
|
|
15782
|
-
function(
|
|
15783
|
-
return
|
|
15883
|
+
function(_86) {
|
|
15884
|
+
return _86.properties;
|
|
15784
15885
|
},
|
|
15785
15886
|
'optionalAccess',
|
|
15786
|
-
function(
|
|
15787
|
-
return
|
|
15887
|
+
function(_87) {
|
|
15888
|
+
return _87.Q2;
|
|
15788
15889
|
},
|
|
15789
15890
|
'optionalAccess',
|
|
15790
|
-
function(
|
|
15791
|
-
return
|
|
15891
|
+
function(_88) {
|
|
15892
|
+
return _88.oneOf;
|
|
15792
15893
|
},
|
|
15793
15894
|
'optionalAccess',
|
|
15794
|
-
function(
|
|
15795
|
-
return
|
|
15895
|
+
function(_89) {
|
|
15896
|
+
return _89.find;
|
|
15796
15897
|
},
|
|
15797
15898
|
'call',
|
|
15798
|
-
function(
|
|
15799
|
-
return
|
|
15899
|
+
function(_90) {
|
|
15900
|
+
return _90(function(val) {
|
|
15800
15901
|
return val.const === recognizedQnAns;
|
|
15801
15902
|
});
|
|
15802
15903
|
},
|
|
15803
15904
|
'optionalAccess',
|
|
15804
|
-
function(
|
|
15805
|
-
return
|
|
15905
|
+
function(_91) {
|
|
15906
|
+
return _91.title;
|
|
15806
15907
|
}
|
|
15807
15908
|
]);
|
|
15808
15909
|
var recognizedQuestion = _optionalChain([
|
|
15809
15910
|
CUR_RECOGNIZED_TRANSACTION_RESPONSE,
|
|
15810
15911
|
'access',
|
|
15811
|
-
function(
|
|
15812
|
-
return
|
|
15912
|
+
function(_92) {
|
|
15913
|
+
return _92.schema;
|
|
15813
15914
|
},
|
|
15814
15915
|
'optionalAccess',
|
|
15815
|
-
function(
|
|
15816
|
-
return
|
|
15916
|
+
function(_93) {
|
|
15917
|
+
return _93.properties;
|
|
15817
15918
|
},
|
|
15818
15919
|
'optionalAccess',
|
|
15819
|
-
function(
|
|
15820
|
-
return
|
|
15920
|
+
function(_94) {
|
|
15921
|
+
return _94.Q2;
|
|
15821
15922
|
},
|
|
15822
15923
|
'optionalAccess',
|
|
15823
|
-
function(
|
|
15824
|
-
return
|
|
15924
|
+
function(_95) {
|
|
15925
|
+
return _95.title;
|
|
15825
15926
|
}
|
|
15826
15927
|
]);
|
|
15827
15928
|
if (recognizedQnReadableAns && recognizedQuestion) {
|
|
@@ -15837,65 +15938,65 @@ var mswDisputesHandlers = [
|
|
|
15837
15938
|
var amountQnAns = _optionalChain([
|
|
15838
15939
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
15839
15940
|
'access',
|
|
15840
|
-
function(
|
|
15841
|
-
return
|
|
15941
|
+
function(_96) {
|
|
15942
|
+
return _96.defaultValues;
|
|
15842
15943
|
},
|
|
15843
15944
|
'optionalAccess',
|
|
15844
|
-
function(
|
|
15845
|
-
return
|
|
15945
|
+
function(_97) {
|
|
15946
|
+
return _97.Q13;
|
|
15846
15947
|
}
|
|
15847
15948
|
]);
|
|
15848
15949
|
if (amountQnAns) {
|
|
15849
15950
|
var amountQnReadableAns = _optionalChain([
|
|
15850
15951
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
15851
15952
|
'access',
|
|
15852
|
-
function(
|
|
15853
|
-
return
|
|
15953
|
+
function(_98) {
|
|
15954
|
+
return _98.schema;
|
|
15854
15955
|
},
|
|
15855
15956
|
'optionalAccess',
|
|
15856
|
-
function(
|
|
15857
|
-
return
|
|
15957
|
+
function(_99) {
|
|
15958
|
+
return _99.properties;
|
|
15858
15959
|
},
|
|
15859
15960
|
'optionalAccess',
|
|
15860
|
-
function(
|
|
15861
|
-
return
|
|
15961
|
+
function(_100) {
|
|
15962
|
+
return _100.Q13;
|
|
15862
15963
|
},
|
|
15863
15964
|
'optionalAccess',
|
|
15864
|
-
function(
|
|
15865
|
-
return
|
|
15965
|
+
function(_101) {
|
|
15966
|
+
return _101.oneOf;
|
|
15866
15967
|
},
|
|
15867
15968
|
'optionalAccess',
|
|
15868
|
-
function(
|
|
15869
|
-
return
|
|
15969
|
+
function(_102) {
|
|
15970
|
+
return _102.find;
|
|
15870
15971
|
},
|
|
15871
15972
|
'call',
|
|
15872
|
-
function(
|
|
15873
|
-
return
|
|
15973
|
+
function(_103) {
|
|
15974
|
+
return _103(function(val) {
|
|
15874
15975
|
return val.const === amountQnAns;
|
|
15875
15976
|
});
|
|
15876
15977
|
},
|
|
15877
15978
|
'optionalAccess',
|
|
15878
|
-
function(
|
|
15879
|
-
return
|
|
15979
|
+
function(_104) {
|
|
15980
|
+
return _104.title;
|
|
15880
15981
|
}
|
|
15881
15982
|
]);
|
|
15882
15983
|
var amountQuestion = _optionalChain([
|
|
15883
15984
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
15884
15985
|
'access',
|
|
15885
|
-
function(
|
|
15886
|
-
return
|
|
15986
|
+
function(_105) {
|
|
15987
|
+
return _105.schema;
|
|
15887
15988
|
},
|
|
15888
15989
|
'optionalAccess',
|
|
15889
|
-
function(
|
|
15890
|
-
return
|
|
15990
|
+
function(_106) {
|
|
15991
|
+
return _106.properties;
|
|
15891
15992
|
},
|
|
15892
15993
|
'optionalAccess',
|
|
15893
|
-
function(
|
|
15894
|
-
return
|
|
15994
|
+
function(_107) {
|
|
15995
|
+
return _107.Q13;
|
|
15895
15996
|
},
|
|
15896
15997
|
'optionalAccess',
|
|
15897
|
-
function(
|
|
15898
|
-
return
|
|
15998
|
+
function(_108) {
|
|
15999
|
+
return _108.title;
|
|
15899
16000
|
}
|
|
15900
16001
|
]);
|
|
15901
16002
|
if (amountQnReadableAns && amountQuestion) {
|
|
@@ -15908,48 +16009,48 @@ var mswDisputesHandlers = [
|
|
|
15908
16009
|
if (_optionalChain([
|
|
15909
16010
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
15910
16011
|
'access',
|
|
15911
|
-
function(
|
|
15912
|
-
return
|
|
16012
|
+
function(_109) {
|
|
16013
|
+
return _109.defaultValues;
|
|
15913
16014
|
},
|
|
15914
16015
|
'optionalAccess',
|
|
15915
|
-
function(
|
|
15916
|
-
return
|
|
16016
|
+
function(_110) {
|
|
16017
|
+
return _110.Q100;
|
|
15917
16018
|
}
|
|
15918
16019
|
])) {
|
|
15919
16020
|
answersForReview.push({
|
|
15920
16021
|
question: _optionalChain([
|
|
15921
16022
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
15922
16023
|
'access',
|
|
15923
|
-
function(
|
|
15924
|
-
return
|
|
16024
|
+
function(_111) {
|
|
16025
|
+
return _111.schema;
|
|
15925
16026
|
},
|
|
15926
16027
|
'optionalAccess',
|
|
15927
|
-
function(
|
|
15928
|
-
return
|
|
16028
|
+
function(_112) {
|
|
16029
|
+
return _112.dependencies;
|
|
15929
16030
|
},
|
|
15930
16031
|
'optionalAccess',
|
|
15931
|
-
function(
|
|
15932
|
-
return
|
|
16032
|
+
function(_113) {
|
|
16033
|
+
return _113.Q13;
|
|
15933
16034
|
},
|
|
15934
16035
|
'optionalAccess',
|
|
15935
|
-
function(
|
|
15936
|
-
return
|
|
16036
|
+
function(_114) {
|
|
16037
|
+
return _114.oneOf;
|
|
15937
16038
|
},
|
|
15938
16039
|
'optionalAccess',
|
|
15939
|
-
function(
|
|
15940
|
-
return
|
|
16040
|
+
function(_115) {
|
|
16041
|
+
return _115[0];
|
|
15941
16042
|
},
|
|
15942
16043
|
'optionalAccess',
|
|
15943
|
-
function(
|
|
15944
|
-
return
|
|
16044
|
+
function(_116) {
|
|
16045
|
+
return _116.properties;
|
|
15945
16046
|
},
|
|
15946
16047
|
'optionalAccess',
|
|
15947
|
-
function(
|
|
15948
|
-
return
|
|
16048
|
+
function(_117) {
|
|
16049
|
+
return _117.Q100;
|
|
15949
16050
|
},
|
|
15950
16051
|
'optionalAccess',
|
|
15951
|
-
function(
|
|
15952
|
-
return
|
|
16052
|
+
function(_118) {
|
|
16053
|
+
return _118.title;
|
|
15953
16054
|
}
|
|
15954
16055
|
]),
|
|
15955
16056
|
answers: [
|
|
@@ -15960,48 +16061,48 @@ var mswDisputesHandlers = [
|
|
|
15960
16061
|
if (_optionalChain([
|
|
15961
16062
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
15962
16063
|
'access',
|
|
15963
|
-
function(
|
|
15964
|
-
return
|
|
16064
|
+
function(_119) {
|
|
16065
|
+
return _119.defaultValues;
|
|
15965
16066
|
},
|
|
15966
16067
|
'optionalAccess',
|
|
15967
|
-
function(
|
|
15968
|
-
return
|
|
16068
|
+
function(_120) {
|
|
16069
|
+
return _120.Q14;
|
|
15969
16070
|
}
|
|
15970
16071
|
])) {
|
|
15971
16072
|
answersForReview.push({
|
|
15972
16073
|
question: _optionalChain([
|
|
15973
16074
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
15974
16075
|
'access',
|
|
15975
|
-
function(
|
|
15976
|
-
return
|
|
16076
|
+
function(_121) {
|
|
16077
|
+
return _121.schema;
|
|
15977
16078
|
},
|
|
15978
16079
|
'optionalAccess',
|
|
15979
|
-
function(
|
|
15980
|
-
return
|
|
16080
|
+
function(_122) {
|
|
16081
|
+
return _122.dependencies;
|
|
15981
16082
|
},
|
|
15982
16083
|
'optionalAccess',
|
|
15983
|
-
function(
|
|
15984
|
-
return
|
|
16084
|
+
function(_123) {
|
|
16085
|
+
return _123.Q13;
|
|
15985
16086
|
},
|
|
15986
16087
|
'optionalAccess',
|
|
15987
|
-
function(
|
|
15988
|
-
return
|
|
16088
|
+
function(_124) {
|
|
16089
|
+
return _124.oneOf;
|
|
15989
16090
|
},
|
|
15990
16091
|
'optionalAccess',
|
|
15991
|
-
function(
|
|
15992
|
-
return
|
|
16092
|
+
function(_125) {
|
|
16093
|
+
return _125[1];
|
|
15993
16094
|
},
|
|
15994
16095
|
'optionalAccess',
|
|
15995
|
-
function(
|
|
15996
|
-
return
|
|
16096
|
+
function(_126) {
|
|
16097
|
+
return _126.properties;
|
|
15997
16098
|
},
|
|
15998
16099
|
'optionalAccess',
|
|
15999
|
-
function(
|
|
16000
|
-
return
|
|
16100
|
+
function(_127) {
|
|
16101
|
+
return _127.Q14;
|
|
16001
16102
|
},
|
|
16002
16103
|
'optionalAccess',
|
|
16003
|
-
function(
|
|
16004
|
-
return
|
|
16104
|
+
function(_128) {
|
|
16105
|
+
return _128.title;
|
|
16005
16106
|
}
|
|
16006
16107
|
]),
|
|
16007
16108
|
answers: [
|
|
@@ -16012,48 +16113,48 @@ var mswDisputesHandlers = [
|
|
|
16012
16113
|
if (_optionalChain([
|
|
16013
16114
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
16014
16115
|
'access',
|
|
16015
|
-
function(
|
|
16016
|
-
return
|
|
16116
|
+
function(_129) {
|
|
16117
|
+
return _129.defaultValues;
|
|
16017
16118
|
},
|
|
16018
16119
|
'optionalAccess',
|
|
16019
|
-
function(
|
|
16020
|
-
return
|
|
16120
|
+
function(_130) {
|
|
16121
|
+
return _130.Q15;
|
|
16021
16122
|
}
|
|
16022
16123
|
])) {
|
|
16023
16124
|
answersForReview.push({
|
|
16024
16125
|
question: _optionalChain([
|
|
16025
16126
|
CUR_AMOUNT_STEP_RESPONSE,
|
|
16026
16127
|
'access',
|
|
16027
|
-
function(
|
|
16028
|
-
return
|
|
16128
|
+
function(_131) {
|
|
16129
|
+
return _131.schema;
|
|
16029
16130
|
},
|
|
16030
16131
|
'optionalAccess',
|
|
16031
|
-
function(
|
|
16032
|
-
return
|
|
16132
|
+
function(_132) {
|
|
16133
|
+
return _132.dependencies;
|
|
16033
16134
|
},
|
|
16034
16135
|
'optionalAccess',
|
|
16035
|
-
function(
|
|
16036
|
-
return
|
|
16136
|
+
function(_133) {
|
|
16137
|
+
return _133.Q13;
|
|
16037
16138
|
},
|
|
16038
16139
|
'optionalAccess',
|
|
16039
|
-
function(
|
|
16040
|
-
return
|
|
16140
|
+
function(_134) {
|
|
16141
|
+
return _134.oneOf;
|
|
16041
16142
|
},
|
|
16042
16143
|
'optionalAccess',
|
|
16043
|
-
function(
|
|
16044
|
-
return
|
|
16144
|
+
function(_135) {
|
|
16145
|
+
return _135[1];
|
|
16045
16146
|
},
|
|
16046
16147
|
'optionalAccess',
|
|
16047
|
-
function(
|
|
16048
|
-
return
|
|
16148
|
+
function(_136) {
|
|
16149
|
+
return _136.properties;
|
|
16049
16150
|
},
|
|
16050
16151
|
'optionalAccess',
|
|
16051
|
-
function(
|
|
16052
|
-
return
|
|
16152
|
+
function(_137) {
|
|
16153
|
+
return _137.Q15;
|
|
16053
16154
|
},
|
|
16054
16155
|
'optionalAccess',
|
|
16055
|
-
function(
|
|
16056
|
-
return
|
|
16156
|
+
function(_138) {
|
|
16157
|
+
return _138.title;
|
|
16057
16158
|
}
|
|
16058
16159
|
]),
|
|
16059
16160
|
answers: [
|
|
@@ -16205,12 +16306,12 @@ var mswDisputesHandlers = [
|
|
|
16205
16306
|
var initialQuestionAnswer = _optionalChain([
|
|
16206
16307
|
CUR_STEP1_RESPONSE,
|
|
16207
16308
|
'access',
|
|
16208
|
-
function(
|
|
16209
|
-
return
|
|
16309
|
+
function(_139) {
|
|
16310
|
+
return _139.defaultValues;
|
|
16210
16311
|
},
|
|
16211
16312
|
'optionalAccess',
|
|
16212
|
-
function(
|
|
16213
|
-
return
|
|
16313
|
+
function(_140) {
|
|
16314
|
+
return _140["Q-INITIAL-QUESTION"];
|
|
16214
16315
|
}
|
|
16215
16316
|
]);
|
|
16216
16317
|
switch(initialQuestionAnswer){
|
|
@@ -16317,20 +16418,50 @@ var mswDisputesHandlers = [
|
|
|
16317
16418
|
var ITF_FEATURE_FLAG_SERVICE = Symbol.for("iFeatureFlagService");
|
|
16318
16419
|
var INTR_FEATURE_FLAG_IS_ENABLED = Symbol.for("FeatureFlagIsEnabled");
|
|
16319
16420
|
// src/feature-flags/base/interactors/featureFlagIsEnabled.ts
|
|
16421
|
+
var DEV_MODE_FLAG_PREFIX = "DEV_";
|
|
16320
16422
|
function featureFlagIsEnabled(flagName) {
|
|
16321
16423
|
logDebug("Checking feature flag", {
|
|
16322
16424
|
flagName: flagName,
|
|
16323
16425
|
interactor: "featureFlagIsEnabled"
|
|
16324
16426
|
});
|
|
16325
|
-
|
|
16326
|
-
|
|
16327
|
-
|
|
16328
|
-
|
|
16329
|
-
|
|
16330
|
-
|
|
16331
|
-
|
|
16332
|
-
|
|
16333
|
-
|
|
16427
|
+
try {
|
|
16428
|
+
var container2 = getActiveIocContainer();
|
|
16429
|
+
var featureFlagService = container2.get(ITF_FEATURE_FLAG_SERVICE);
|
|
16430
|
+
var cacheService = container2.get(ITF_CACHE_SERVICE);
|
|
16431
|
+
var existingValue = featureFlagService.getFlagValue(flagName);
|
|
16432
|
+
if (existingValue !== void 0) {
|
|
16433
|
+
logDebug("Feature flag found with existing value", {
|
|
16434
|
+
flagName: flagName,
|
|
16435
|
+
isEnabled: existingValue,
|
|
16436
|
+
interactor: "featureFlagIsEnabled"
|
|
16437
|
+
});
|
|
16438
|
+
return existingValue;
|
|
16439
|
+
}
|
|
16440
|
+
var isDevelopmentMode = cacheService.get("devFlagsAutoEnabled") || false;
|
|
16441
|
+
var shouldAutoEnable = isDevelopmentMode && flagName.startsWith(DEV_MODE_FLAG_PREFIX);
|
|
16442
|
+
var defaultValue = shouldAutoEnable;
|
|
16443
|
+
logDebug("Initializing feature flag", {
|
|
16444
|
+
flagName: flagName,
|
|
16445
|
+
defaultValue: defaultValue,
|
|
16446
|
+
isDevelopmentMode: isDevelopmentMode,
|
|
16447
|
+
shouldAutoEnable: shouldAutoEnable,
|
|
16448
|
+
interactor: "featureFlagIsEnabled"
|
|
16449
|
+
});
|
|
16450
|
+
featureFlagService.initializeFlagValue(flagName, defaultValue);
|
|
16451
|
+
logDebug("Feature flag initialized and checked", {
|
|
16452
|
+
flagName: flagName,
|
|
16453
|
+
isEnabled: defaultValue,
|
|
16454
|
+
interactor: "featureFlagIsEnabled"
|
|
16455
|
+
});
|
|
16456
|
+
return defaultValue;
|
|
16457
|
+
} catch (error2) {
|
|
16458
|
+
logError("Error checking feature flag", {
|
|
16459
|
+
error: error2,
|
|
16460
|
+
flagName: flagName,
|
|
16461
|
+
interactor: "featureFlagIsEnabled"
|
|
16462
|
+
});
|
|
16463
|
+
return false;
|
|
16464
|
+
}
|
|
16334
16465
|
}
|
|
16335
16466
|
__name(featureFlagIsEnabled, "featureFlagIsEnabled");
|
|
16336
16467
|
function loadFeatureFlags() {
|
|
@@ -16386,6 +16517,21 @@ function _loadFeatureFlags() {
|
|
|
16386
16517
|
return _loadFeatureFlags.apply(this, arguments);
|
|
16387
16518
|
}
|
|
16388
16519
|
__name(loadFeatureFlags, "loadFeatureFlags");
|
|
16520
|
+
// src/feature-flags/base/interactors/setAutoEnableDevFlags.ts
|
|
16521
|
+
function setAutoEnableDevFlags(enabled) {
|
|
16522
|
+
logDebug("Setting auto enable dev flags", {
|
|
16523
|
+
enabled: enabled,
|
|
16524
|
+
interactor: "setAutoEnableDevFlags"
|
|
16525
|
+
});
|
|
16526
|
+
var container2 = getActiveIocContainer();
|
|
16527
|
+
var cacheService = container2.get(ITF_CACHE_SERVICE);
|
|
16528
|
+
cacheService.set("devFlagsAutoEnabled", enabled);
|
|
16529
|
+
logInfo("Auto enable dev flags set successfully", {
|
|
16530
|
+
enabled: enabled,
|
|
16531
|
+
interactor: "setAutoEnableDevFlags"
|
|
16532
|
+
});
|
|
16533
|
+
}
|
|
16534
|
+
__name(setAutoEnableDevFlags, "setAutoEnableDevFlags");
|
|
16389
16535
|
// src/feature-flags/base/services/iFeatureFlagService.ts
|
|
16390
16536
|
function _ts_decorate49(decorators, target, key, desc) {
|
|
16391
16537
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -16410,25 +16556,45 @@ function _ts_decorate50(decorators, target, key, desc) {
|
|
|
16410
16556
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16411
16557
|
}
|
|
16412
16558
|
__name(_ts_decorate50, "_ts_decorate");
|
|
16559
|
+
function _ts_metadata11(k, v) {
|
|
16560
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
16561
|
+
}
|
|
16562
|
+
__name(_ts_metadata11, "_ts_metadata");
|
|
16413
16563
|
var _MockFeatureFlagService = /*#__PURE__*/ function(iFeatureFlagService) {
|
|
16414
16564
|
_inherits(_MockFeatureFlagService, iFeatureFlagService);
|
|
16415
16565
|
var _super = _create_super(_MockFeatureFlagService);
|
|
16416
16566
|
function _MockFeatureFlagService() {
|
|
16417
16567
|
_class_call_check(this, _MockFeatureFlagService);
|
|
16418
16568
|
var _this;
|
|
16419
|
-
_this = _super.call
|
|
16420
|
-
this
|
|
16421
|
-
].concat(Array.prototype.slice.call(arguments)));
|
|
16569
|
+
_this = _super.call(this);
|
|
16422
16570
|
__publicField(_assert_this_initialized(_this), "flagData", {});
|
|
16423
16571
|
return _this;
|
|
16424
16572
|
}
|
|
16425
16573
|
_create_class(_MockFeatureFlagService, [
|
|
16574
|
+
{
|
|
16575
|
+
key: "initializeFlagValue",
|
|
16576
|
+
value: function initializeFlagValue(flagName, defaultValue) {
|
|
16577
|
+
this.flagData[flagName] = defaultValue;
|
|
16578
|
+
}
|
|
16579
|
+
},
|
|
16580
|
+
{
|
|
16581
|
+
key: "getFlagValue",
|
|
16582
|
+
value: function getFlagValue(flagName) {
|
|
16583
|
+
return this.flagData[flagName];
|
|
16584
|
+
}
|
|
16585
|
+
},
|
|
16426
16586
|
{
|
|
16427
16587
|
key: "loadMockFlagData",
|
|
16428
16588
|
value: function loadMockFlagData(flagData) {
|
|
16429
16589
|
Object.assign(this.flagData, flagData);
|
|
16430
16590
|
}
|
|
16431
16591
|
},
|
|
16592
|
+
{
|
|
16593
|
+
key: "setMockFlagValue",
|
|
16594
|
+
value: function setMockFlagValue(flagName, value) {
|
|
16595
|
+
this.flagData[flagName] = value;
|
|
16596
|
+
}
|
|
16597
|
+
},
|
|
16432
16598
|
{
|
|
16433
16599
|
key: "loadFlagsData",
|
|
16434
16600
|
value: function loadFlagsData() {
|
|
@@ -16440,12 +16606,6 @@ var _MockFeatureFlagService = /*#__PURE__*/ function(iFeatureFlagService) {
|
|
|
16440
16606
|
});
|
|
16441
16607
|
})();
|
|
16442
16608
|
}
|
|
16443
|
-
},
|
|
16444
|
-
{
|
|
16445
|
-
key: "featureFlagIsEnabled",
|
|
16446
|
-
value: function featureFlagIsEnabled(flagName) {
|
|
16447
|
-
return this.flagData[flagName] || false;
|
|
16448
|
-
}
|
|
16449
16609
|
}
|
|
16450
16610
|
]);
|
|
16451
16611
|
return _MockFeatureFlagService;
|
|
@@ -16453,10 +16613,14 @@ var _MockFeatureFlagService = /*#__PURE__*/ function(iFeatureFlagService) {
|
|
|
16453
16613
|
__name(_MockFeatureFlagService, "MockFeatureFlagService");
|
|
16454
16614
|
var MockFeatureFlagService = _MockFeatureFlagService;
|
|
16455
16615
|
MockFeatureFlagService = exports.MockFeatureFlagService = _ts_decorate50([
|
|
16456
|
-
_inversify.injectable.call(void 0)
|
|
16616
|
+
_inversify.injectable.call(void 0),
|
|
16617
|
+
_ts_metadata11("design:type", Function),
|
|
16618
|
+
_ts_metadata11("design:paramtypes", [])
|
|
16457
16619
|
], MockFeatureFlagService);
|
|
16458
16620
|
// src/feature-flags/ioc/featureFlagsIOCModule.ts
|
|
16459
|
-
// src/feature-flags/adapters/
|
|
16621
|
+
// src/feature-flags/adapters/async-storage/AsyncStorageFeatureFlagService.ts
|
|
16622
|
+
var _asyncstorage = require('@react-native-async-storage/async-storage');
|
|
16623
|
+
var _asyncstorage2 = _interopRequireDefault(_asyncstorage);
|
|
16460
16624
|
function _ts_decorate51(decorators, target, key, desc) {
|
|
16461
16625
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16462
16626
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -16464,33 +16628,174 @@ function _ts_decorate51(decorators, target, key, desc) {
|
|
|
16464
16628
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16465
16629
|
}
|
|
16466
16630
|
__name(_ts_decorate51, "_ts_decorate");
|
|
16467
|
-
|
|
16468
|
-
|
|
16469
|
-
|
|
16470
|
-
|
|
16471
|
-
var FFLAGS_SESSION_STORAGE_KEY = "mqcui-feature-flags";
|
|
16472
|
-
var _SessionStorageFeatureFlagService = /*#__PURE__*/ function() {
|
|
16473
|
-
function _SessionStorageFeatureFlagService() {
|
|
16474
|
-
_class_call_check(this, _SessionStorageFeatureFlagService);
|
|
16631
|
+
var FFLAGS_ASYNC_STORAGE_KEY = "mqcui-feature-flags";
|
|
16632
|
+
var _AsyncStorageFeatureFlagService = /*#__PURE__*/ function() {
|
|
16633
|
+
function _AsyncStorageFeatureFlagService() {
|
|
16634
|
+
_class_call_check(this, _AsyncStorageFeatureFlagService);
|
|
16475
16635
|
__publicField(this, "flagsData", {});
|
|
16476
|
-
this.internalLoadFlagsData();
|
|
16477
16636
|
}
|
|
16478
|
-
_create_class(
|
|
16637
|
+
_create_class(_AsyncStorageFeatureFlagService, [
|
|
16479
16638
|
{
|
|
16480
|
-
key: "
|
|
16481
|
-
value: function
|
|
16482
|
-
|
|
16483
|
-
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
|
|
16487
|
-
|
|
16488
|
-
|
|
16489
|
-
|
|
16490
|
-
|
|
16491
|
-
|
|
16492
|
-
|
|
16493
|
-
|
|
16639
|
+
key: "loadFlagsData",
|
|
16640
|
+
value: function loadFlagsData() {
|
|
16641
|
+
var _this = this;
|
|
16642
|
+
return _async_to_generator(function() {
|
|
16643
|
+
var flagsDataString, err;
|
|
16644
|
+
return _ts_generator(this, function(_state) {
|
|
16645
|
+
switch(_state.label){
|
|
16646
|
+
case 0:
|
|
16647
|
+
logDebug("Loading feature flags from async storage", {
|
|
16648
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16649
|
+
});
|
|
16650
|
+
_state.label = 1;
|
|
16651
|
+
case 1:
|
|
16652
|
+
_state.trys.push([
|
|
16653
|
+
1,
|
|
16654
|
+
3,
|
|
16655
|
+
,
|
|
16656
|
+
4
|
|
16657
|
+
]);
|
|
16658
|
+
return [
|
|
16659
|
+
4,
|
|
16660
|
+
_asyncstorage2.default.getItem(FFLAGS_ASYNC_STORAGE_KEY)
|
|
16661
|
+
];
|
|
16662
|
+
case 2:
|
|
16663
|
+
flagsDataString = _state.sent();
|
|
16664
|
+
if (flagsDataString !== null) {
|
|
16665
|
+
try {
|
|
16666
|
+
_this.flagsData = JSON.parse(flagsDataString);
|
|
16667
|
+
logInfo("Feature flags loaded from async storage", {
|
|
16668
|
+
flagCount: Object.keys(_this.flagsData).length,
|
|
16669
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16670
|
+
});
|
|
16671
|
+
} catch (parseError) {
|
|
16672
|
+
logError("Failed to parse feature flags data from async storage, resetting to empty", {
|
|
16673
|
+
parseError: parseError,
|
|
16674
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16675
|
+
});
|
|
16676
|
+
_this.flagsData = {};
|
|
16677
|
+
_asyncstorage2.default.removeItem(FFLAGS_ASYNC_STORAGE_KEY).catch(function(removeError) {
|
|
16678
|
+
logError("Failed to remove corrupted feature flags data", {
|
|
16679
|
+
removeError: removeError,
|
|
16680
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16681
|
+
});
|
|
16682
|
+
});
|
|
16683
|
+
}
|
|
16684
|
+
} else {
|
|
16685
|
+
logDebug("No feature flags found in async storage", {
|
|
16686
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16687
|
+
});
|
|
16688
|
+
}
|
|
16689
|
+
return [
|
|
16690
|
+
3,
|
|
16691
|
+
4
|
|
16692
|
+
];
|
|
16693
|
+
case 3:
|
|
16694
|
+
err = _state.sent();
|
|
16695
|
+
logError("Error while loading feature flags data", {
|
|
16696
|
+
err: err,
|
|
16697
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16698
|
+
});
|
|
16699
|
+
return [
|
|
16700
|
+
3,
|
|
16701
|
+
4
|
|
16702
|
+
];
|
|
16703
|
+
case 4:
|
|
16704
|
+
return [
|
|
16705
|
+
2
|
|
16706
|
+
];
|
|
16707
|
+
}
|
|
16708
|
+
});
|
|
16709
|
+
})();
|
|
16710
|
+
}
|
|
16711
|
+
},
|
|
16712
|
+
{
|
|
16713
|
+
key: "initializeFlagValue",
|
|
16714
|
+
value: function initializeFlagValue(flagName, defaultValue) {
|
|
16715
|
+
logDebug("Initializing flag value", {
|
|
16716
|
+
flagName: flagName,
|
|
16717
|
+
defaultValue: defaultValue,
|
|
16718
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16719
|
+
});
|
|
16720
|
+
try {
|
|
16721
|
+
this.flagsData[flagName] = defaultValue;
|
|
16722
|
+
var flagsDataString = JSON.stringify(this.flagsData);
|
|
16723
|
+
_asyncstorage2.default.setItem(FFLAGS_ASYNC_STORAGE_KEY, flagsDataString).catch(function(err) {
|
|
16724
|
+
logError("Error saving flag value to async storage", {
|
|
16725
|
+
err: err,
|
|
16726
|
+
flagName: flagName,
|
|
16727
|
+
defaultValue: defaultValue,
|
|
16728
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16729
|
+
});
|
|
16730
|
+
});
|
|
16731
|
+
logDebug("Flag value initialized", {
|
|
16732
|
+
flagName: flagName,
|
|
16733
|
+
defaultValue: defaultValue,
|
|
16734
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16735
|
+
});
|
|
16736
|
+
} catch (err) {
|
|
16737
|
+
logError("Error initializing flag value", {
|
|
16738
|
+
err: err,
|
|
16739
|
+
flagName: flagName,
|
|
16740
|
+
defaultValue: defaultValue,
|
|
16741
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16742
|
+
});
|
|
16743
|
+
}
|
|
16744
|
+
}
|
|
16745
|
+
},
|
|
16746
|
+
{
|
|
16747
|
+
key: "getFlagValue",
|
|
16748
|
+
value: function getFlagValue(flagName) {
|
|
16749
|
+
logDebug("Getting raw flag value", {
|
|
16750
|
+
flagName: flagName,
|
|
16751
|
+
adapter: "AsyncStorageFeatureFlagService"
|
|
16752
|
+
});
|
|
16753
|
+
return this.flagsData[flagName];
|
|
16754
|
+
}
|
|
16755
|
+
}
|
|
16756
|
+
]);
|
|
16757
|
+
return _AsyncStorageFeatureFlagService;
|
|
16758
|
+
}();
|
|
16759
|
+
__name(_AsyncStorageFeatureFlagService, "AsyncStorageFeatureFlagService");
|
|
16760
|
+
var AsyncStorageFeatureFlagService = _AsyncStorageFeatureFlagService;
|
|
16761
|
+
AsyncStorageFeatureFlagService = exports.AsyncStorageFeatureFlagService = _ts_decorate51([
|
|
16762
|
+
_inversify.injectable.call(void 0)
|
|
16763
|
+
], AsyncStorageFeatureFlagService);
|
|
16764
|
+
// src/feature-flags/adapters/session-storage/SessionStorageFeatureFlagService.ts
|
|
16765
|
+
function _ts_decorate52(decorators, target, key, desc) {
|
|
16766
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16767
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16768
|
+
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;
|
|
16769
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16770
|
+
}
|
|
16771
|
+
__name(_ts_decorate52, "_ts_decorate");
|
|
16772
|
+
function _ts_metadata12(k, v) {
|
|
16773
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
16774
|
+
}
|
|
16775
|
+
__name(_ts_metadata12, "_ts_metadata");
|
|
16776
|
+
var FFLAGS_SESSION_STORAGE_KEY = "mqcui-feature-flags";
|
|
16777
|
+
var _SessionStorageFeatureFlagService = /*#__PURE__*/ function() {
|
|
16778
|
+
function _SessionStorageFeatureFlagService() {
|
|
16779
|
+
_class_call_check(this, _SessionStorageFeatureFlagService);
|
|
16780
|
+
__publicField(this, "flagsData", {});
|
|
16781
|
+
this.internalLoadFlagsData();
|
|
16782
|
+
}
|
|
16783
|
+
_create_class(_SessionStorageFeatureFlagService, [
|
|
16784
|
+
{
|
|
16785
|
+
key: "internalLoadFlagsData",
|
|
16786
|
+
value: function internalLoadFlagsData() {
|
|
16787
|
+
logDebug("Loading feature flags from session storage", {
|
|
16788
|
+
adapter: "SessionStorageFeatureFlagService"
|
|
16789
|
+
});
|
|
16790
|
+
try {
|
|
16791
|
+
var flagsDataString = window.sessionStorage.getItem(FFLAGS_SESSION_STORAGE_KEY);
|
|
16792
|
+
if (flagsDataString !== null) {
|
|
16793
|
+
this.flagsData = JSON.parse(flagsDataString);
|
|
16794
|
+
logInfo("Feature flags loaded from session storage", {
|
|
16795
|
+
flagCount: Object.keys(this.flagsData).length,
|
|
16796
|
+
adapter: "SessionStorageFeatureFlagService"
|
|
16797
|
+
});
|
|
16798
|
+
} else {
|
|
16494
16799
|
logDebug("No feature flags found in session storage", {
|
|
16495
16800
|
adapter: "SessionStorageFeatureFlagService"
|
|
16496
16801
|
});
|
|
@@ -16521,54 +16826,40 @@ var _SessionStorageFeatureFlagService = /*#__PURE__*/ function() {
|
|
|
16521
16826
|
}
|
|
16522
16827
|
},
|
|
16523
16828
|
{
|
|
16524
|
-
key: "
|
|
16525
|
-
value: function
|
|
16526
|
-
logDebug("
|
|
16829
|
+
key: "initializeFlagValue",
|
|
16830
|
+
value: function initializeFlagValue(flagName, defaultValue) {
|
|
16831
|
+
logDebug("Initializing flag value", {
|
|
16527
16832
|
flagName: flagName,
|
|
16833
|
+
defaultValue: defaultValue,
|
|
16528
16834
|
adapter: "SessionStorageFeatureFlagService"
|
|
16529
16835
|
});
|
|
16530
16836
|
try {
|
|
16531
|
-
|
|
16532
|
-
|
|
16837
|
+
this.flagsData[flagName] = defaultValue;
|
|
16838
|
+
var flagsDataString = JSON.stringify(this.flagsData);
|
|
16839
|
+
window.sessionStorage.setItem(FFLAGS_SESSION_STORAGE_KEY, flagsDataString);
|
|
16840
|
+
logDebug("Flag value initialized and saved", {
|
|
16533
16841
|
flagName: flagName,
|
|
16534
|
-
|
|
16842
|
+
defaultValue: defaultValue,
|
|
16535
16843
|
adapter: "SessionStorageFeatureFlagService"
|
|
16536
16844
|
});
|
|
16537
|
-
return isEnabled;
|
|
16538
16845
|
} catch (err) {
|
|
16539
|
-
logError("Error
|
|
16846
|
+
logError("Error initializing flag value", {
|
|
16540
16847
|
err: err,
|
|
16541
16848
|
flagName: flagName,
|
|
16849
|
+
defaultValue: defaultValue,
|
|
16542
16850
|
adapter: "SessionStorageFeatureFlagService"
|
|
16543
16851
|
});
|
|
16544
16852
|
}
|
|
16545
|
-
return false;
|
|
16546
|
-
}
|
|
16547
|
-
},
|
|
16548
|
-
{
|
|
16549
|
-
key: "tryGettingFlagValue",
|
|
16550
|
-
value: function tryGettingFlagValue(flagName) {
|
|
16551
|
-
var flagValue = this.flagsData[flagName];
|
|
16552
|
-
if (flagValue === void 0) {
|
|
16553
|
-
this.initFalseFlagValue(flagName);
|
|
16554
|
-
}
|
|
16555
|
-
return flagValue || false;
|
|
16556
16853
|
}
|
|
16557
16854
|
},
|
|
16558
16855
|
{
|
|
16559
|
-
key: "
|
|
16560
|
-
value: function
|
|
16561
|
-
logDebug("
|
|
16562
|
-
flagName: flagName,
|
|
16563
|
-
adapter: "SessionStorageFeatureFlagService"
|
|
16564
|
-
});
|
|
16565
|
-
this.flagsData[flagName] = false;
|
|
16566
|
-
var flagsDataString = JSON.stringify(this.flagsData);
|
|
16567
|
-
window.sessionStorage.setItem(FFLAGS_SESSION_STORAGE_KEY, flagsDataString);
|
|
16568
|
-
logDebug("False flag value initialized and saved", {
|
|
16856
|
+
key: "getFlagValue",
|
|
16857
|
+
value: function getFlagValue(flagName) {
|
|
16858
|
+
logDebug("Getting raw flag value", {
|
|
16569
16859
|
flagName: flagName,
|
|
16570
16860
|
adapter: "SessionStorageFeatureFlagService"
|
|
16571
16861
|
});
|
|
16862
|
+
return this.flagsData[flagName];
|
|
16572
16863
|
}
|
|
16573
16864
|
}
|
|
16574
16865
|
]);
|
|
@@ -16576,19 +16867,19 @@ var _SessionStorageFeatureFlagService = /*#__PURE__*/ function() {
|
|
|
16576
16867
|
}();
|
|
16577
16868
|
__name(_SessionStorageFeatureFlagService, "SessionStorageFeatureFlagService");
|
|
16578
16869
|
var SessionStorageFeatureFlagService = _SessionStorageFeatureFlagService;
|
|
16579
|
-
SessionStorageFeatureFlagService = exports.SessionStorageFeatureFlagService =
|
|
16870
|
+
SessionStorageFeatureFlagService = exports.SessionStorageFeatureFlagService = _ts_decorate52([
|
|
16580
16871
|
_inversify.injectable.call(void 0),
|
|
16581
|
-
|
|
16582
|
-
|
|
16872
|
+
_ts_metadata12("design:type", Function),
|
|
16873
|
+
_ts_metadata12("design:paramtypes", [])
|
|
16583
16874
|
], SessionStorageFeatureFlagService);
|
|
16584
16875
|
// src/feature-flags/adapters/stub/StubFeatureFlagService.ts
|
|
16585
|
-
function
|
|
16876
|
+
function _ts_decorate53(decorators, target, key, desc) {
|
|
16586
16877
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16587
16878
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16588
16879
|
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;
|
|
16589
16880
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16590
16881
|
}
|
|
16591
|
-
__name(
|
|
16882
|
+
__name(_ts_decorate53, "_ts_decorate");
|
|
16592
16883
|
var _StubFeatureFlagService = /*#__PURE__*/ function() {
|
|
16593
16884
|
function _StubFeatureFlagService() {
|
|
16594
16885
|
_class_call_check(this, _StubFeatureFlagService);
|
|
@@ -16614,20 +16905,24 @@ var _StubFeatureFlagService = /*#__PURE__*/ function() {
|
|
|
16614
16905
|
}
|
|
16615
16906
|
},
|
|
16616
16907
|
{
|
|
16617
|
-
key: "
|
|
16618
|
-
value: function
|
|
16619
|
-
logDebug("
|
|
16908
|
+
key: "initializeFlagValue",
|
|
16909
|
+
value: function initializeFlagValue(flagName, defaultValue) {
|
|
16910
|
+
logDebug("Initializing flag value", {
|
|
16620
16911
|
flagName: flagName,
|
|
16912
|
+
defaultValue: defaultValue,
|
|
16621
16913
|
adapter: "StubFeatureFlagService"
|
|
16622
16914
|
});
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16915
|
+
this.flagsData[flagName] = defaultValue;
|
|
16916
|
+
}
|
|
16917
|
+
},
|
|
16918
|
+
{
|
|
16919
|
+
key: "getFlagValue",
|
|
16920
|
+
value: function getFlagValue(flagName) {
|
|
16921
|
+
logDebug("Getting raw flag value", {
|
|
16626
16922
|
flagName: flagName,
|
|
16627
|
-
isEnabled: isEnabled,
|
|
16628
16923
|
adapter: "StubFeatureFlagService"
|
|
16629
16924
|
});
|
|
16630
|
-
return
|
|
16925
|
+
return this.flagsData[flagName];
|
|
16631
16926
|
}
|
|
16632
16927
|
},
|
|
16633
16928
|
{
|
|
@@ -16651,7 +16946,7 @@ var _StubFeatureFlagService = /*#__PURE__*/ function() {
|
|
|
16651
16946
|
}();
|
|
16652
16947
|
__name(_StubFeatureFlagService, "StubFeatureFlagService");
|
|
16653
16948
|
var StubFeatureFlagService = _StubFeatureFlagService;
|
|
16654
|
-
StubFeatureFlagService = exports.StubFeatureFlagService =
|
|
16949
|
+
StubFeatureFlagService = exports.StubFeatureFlagService = _ts_decorate53([
|
|
16655
16950
|
_inversify.injectable.call(void 0)
|
|
16656
16951
|
], StubFeatureFlagService);
|
|
16657
16952
|
// src/feature-flags/ioc/featureFlagsIOCModule.ts
|
|
@@ -16913,19 +17208,19 @@ function _putUpdateUser() {
|
|
|
16913
17208
|
}
|
|
16914
17209
|
__name(putUpdateUser, "putUpdateUser");
|
|
16915
17210
|
// src/users/base/repositories/iUsersRepository.ts
|
|
16916
|
-
function
|
|
17211
|
+
function _ts_decorate54(decorators, target, key, desc) {
|
|
16917
17212
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16918
17213
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16919
17214
|
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;
|
|
16920
17215
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16921
17216
|
}
|
|
16922
|
-
__name(
|
|
17217
|
+
__name(_ts_decorate54, "_ts_decorate");
|
|
16923
17218
|
var _iUsersRepository = function _iUsersRepository() {
|
|
16924
17219
|
_class_call_check(this, _iUsersRepository);
|
|
16925
17220
|
};
|
|
16926
17221
|
__name(_iUsersRepository, "iUsersRepository");
|
|
16927
17222
|
var iUsersRepository = _iUsersRepository;
|
|
16928
|
-
iUsersRepository = exports.iUsersRepository =
|
|
17223
|
+
iUsersRepository = exports.iUsersRepository = _ts_decorate54([
|
|
16929
17224
|
_inversify.injectable.call(void 0)
|
|
16930
17225
|
], iUsersRepository);
|
|
16931
17226
|
// src/users/base/repositories/MockiUsersRepository.ts
|
|
@@ -16935,13 +17230,13 @@ var CREATE_USER_ERROR = "Unable to create user";
|
|
|
16935
17230
|
var FETCH_USER_ERROR = "Unable to fetch user";
|
|
16936
17231
|
var UPDATE_USER_ERROR = "Unable to update user";
|
|
16937
17232
|
// src/users/base/repositories/MockiUsersRepository.ts
|
|
16938
|
-
function
|
|
17233
|
+
function _ts_decorate55(decorators, target, key, desc) {
|
|
16939
17234
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16940
17235
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16941
17236
|
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;
|
|
16942
17237
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16943
17238
|
}
|
|
16944
|
-
__name(
|
|
17239
|
+
__name(_ts_decorate55, "_ts_decorate");
|
|
16945
17240
|
var VALID_CUI_USER_RESPONSE = {
|
|
16946
17241
|
token: "a5a6742c-642e-49d0-ad7e-748cf140a03b",
|
|
16947
17242
|
active: true,
|
|
@@ -17011,7 +17306,7 @@ var _MockiUsersRepository = /*#__PURE__*/ function() {
|
|
|
17011
17306
|
}();
|
|
17012
17307
|
__name(_MockiUsersRepository, "MockiUsersRepository");
|
|
17013
17308
|
var MockiUsersRepository = _MockiUsersRepository;
|
|
17014
|
-
MockiUsersRepository = exports.MockiUsersRepository =
|
|
17309
|
+
MockiUsersRepository = exports.MockiUsersRepository = _ts_decorate55([
|
|
17015
17310
|
_inversify.injectable.call(void 0)
|
|
17016
17311
|
], MockiUsersRepository);
|
|
17017
17312
|
// src/users/adapters/rest/httpMocks.ts
|
|
@@ -17143,17 +17438,17 @@ var mswUsersHandlers = [
|
|
|
17143
17438
|
}())
|
|
17144
17439
|
];
|
|
17145
17440
|
// src/users/adapters/rest/RestUsersRepository.ts
|
|
17146
|
-
function
|
|
17441
|
+
function _ts_decorate56(decorators, target, key, desc) {
|
|
17147
17442
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17148
17443
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17149
17444
|
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;
|
|
17150
17445
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17151
17446
|
}
|
|
17152
|
-
__name(
|
|
17153
|
-
function
|
|
17447
|
+
__name(_ts_decorate56, "_ts_decorate");
|
|
17448
|
+
function _ts_metadata13(k, v) {
|
|
17154
17449
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
17155
17450
|
}
|
|
17156
|
-
__name(
|
|
17451
|
+
__name(_ts_metadata13, "_ts_metadata");
|
|
17157
17452
|
var _RestUsersRepository = /*#__PURE__*/ function() {
|
|
17158
17453
|
function _RestUsersRepository() {
|
|
17159
17454
|
_class_call_check(this, _RestUsersRepository);
|
|
@@ -17337,11 +17632,11 @@ var _RestUsersRepository = /*#__PURE__*/ function() {
|
|
|
17337
17632
|
}();
|
|
17338
17633
|
__name(_RestUsersRepository, "RestUsersRepository");
|
|
17339
17634
|
var RestUsersRepository = _RestUsersRepository;
|
|
17340
|
-
|
|
17635
|
+
_ts_decorate56([
|
|
17341
17636
|
_inversify.inject.call(void 0, ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
17342
|
-
|
|
17637
|
+
_ts_metadata13("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
17343
17638
|
], RestUsersRepository.prototype, "httpClient", void 0);
|
|
17344
|
-
RestUsersRepository = exports.RestUsersRepository =
|
|
17639
|
+
RestUsersRepository = exports.RestUsersRepository = _ts_decorate56([
|
|
17345
17640
|
_inversify.injectable.call(void 0)
|
|
17346
17641
|
], RestUsersRepository);
|
|
17347
17642
|
// src/users/ioc/usersIOCModule.ts
|
|
@@ -17438,19 +17733,19 @@ function _postVerifyKyc() {
|
|
|
17438
17733
|
}
|
|
17439
17734
|
__name(postVerifyKyc, "postVerifyKyc");
|
|
17440
17735
|
// src/kyc/base/repositories/iKycRepository.ts
|
|
17441
|
-
function
|
|
17736
|
+
function _ts_decorate57(decorators, target, key, desc) {
|
|
17442
17737
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17443
17738
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17444
17739
|
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;
|
|
17445
17740
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17446
17741
|
}
|
|
17447
|
-
__name(
|
|
17742
|
+
__name(_ts_decorate57, "_ts_decorate");
|
|
17448
17743
|
var _iKycRepository = function _iKycRepository() {
|
|
17449
17744
|
_class_call_check(this, _iKycRepository);
|
|
17450
17745
|
};
|
|
17451
17746
|
__name(_iKycRepository, "iKycRepository");
|
|
17452
17747
|
var iKycRepository = _iKycRepository;
|
|
17453
|
-
iKycRepository = exports.iKycRepository =
|
|
17748
|
+
iKycRepository = exports.iKycRepository = _ts_decorate57([
|
|
17454
17749
|
_inversify.injectable.call(void 0)
|
|
17455
17750
|
], iKycRepository);
|
|
17456
17751
|
// src/kyc/adapters/rest/httpMocks/mswKycHandlers.ts
|
|
@@ -17562,17 +17857,17 @@ var mswKycHandlers = [
|
|
|
17562
17857
|
}())
|
|
17563
17858
|
];
|
|
17564
17859
|
// src/kyc/adapters/rest/RestKycRepository.ts
|
|
17565
|
-
function
|
|
17860
|
+
function _ts_decorate58(decorators, target, key, desc) {
|
|
17566
17861
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17567
17862
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17568
17863
|
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;
|
|
17569
17864
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17570
17865
|
}
|
|
17571
|
-
__name(
|
|
17572
|
-
function
|
|
17866
|
+
__name(_ts_decorate58, "_ts_decorate");
|
|
17867
|
+
function _ts_metadata14(k, v) {
|
|
17573
17868
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
17574
17869
|
}
|
|
17575
|
-
__name(
|
|
17870
|
+
__name(_ts_metadata14, "_ts_metadata");
|
|
17576
17871
|
var _RestKycRepository = /*#__PURE__*/ function() {
|
|
17577
17872
|
function _RestKycRepository() {
|
|
17578
17873
|
_class_call_check(this, _RestKycRepository);
|
|
@@ -17622,14 +17917,14 @@ var _RestKycRepository = /*#__PURE__*/ function() {
|
|
|
17622
17917
|
if (_optionalChain([
|
|
17623
17918
|
error2,
|
|
17624
17919
|
'optionalAccess',
|
|
17625
|
-
function(
|
|
17626
|
-
return
|
|
17920
|
+
function(_141) {
|
|
17921
|
+
return _141.msg;
|
|
17627
17922
|
}
|
|
17628
17923
|
]) && _optionalChain([
|
|
17629
17924
|
error2,
|
|
17630
17925
|
'optionalAccess',
|
|
17631
|
-
function(
|
|
17632
|
-
return
|
|
17926
|
+
function(_142) {
|
|
17927
|
+
return _142.debug;
|
|
17633
17928
|
}
|
|
17634
17929
|
])) {
|
|
17635
17930
|
logError("KYC verification failed with standardized error", {
|
|
@@ -17657,11 +17952,11 @@ var _RestKycRepository = /*#__PURE__*/ function() {
|
|
|
17657
17952
|
}();
|
|
17658
17953
|
__name(_RestKycRepository, "RestKycRepository");
|
|
17659
17954
|
var RestKycRepository = _RestKycRepository;
|
|
17660
|
-
|
|
17955
|
+
_ts_decorate58([
|
|
17661
17956
|
_inversify.inject.call(void 0, ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
17662
|
-
|
|
17957
|
+
_ts_metadata14("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
17663
17958
|
], RestKycRepository.prototype, "httpClient", void 0);
|
|
17664
|
-
RestKycRepository = exports.RestKycRepository =
|
|
17959
|
+
RestKycRepository = exports.RestKycRepository = _ts_decorate58([
|
|
17665
17960
|
_inversify.injectable.call(void 0)
|
|
17666
17961
|
], RestKycRepository);
|
|
17667
17962
|
// src/kyc/ioc/kycIOCModule.ts
|
|
@@ -17687,12 +17982,12 @@ function _postVerifyKyb() {
|
|
|
17687
17982
|
if (kybVerificationAttributes.locale_code === "INVALID" || !_optionalChain([
|
|
17688
17983
|
kybVerificationAttributes,
|
|
17689
17984
|
'access',
|
|
17690
|
-
function(
|
|
17691
|
-
return
|
|
17985
|
+
function(_143) {
|
|
17986
|
+
return _143.answers;
|
|
17692
17987
|
},
|
|
17693
17988
|
'optionalAccess',
|
|
17694
|
-
function(
|
|
17695
|
-
return
|
|
17989
|
+
function(_144) {
|
|
17990
|
+
return _144.length;
|
|
17696
17991
|
}
|
|
17697
17992
|
])) {
|
|
17698
17993
|
logError("Invalid KYB request - invalid locale or no answers", {
|
|
@@ -17704,16 +17999,16 @@ function _postVerifyKyb() {
|
|
|
17704
17999
|
hasErrorValue = _optionalChain([
|
|
17705
18000
|
kybVerificationAttributes,
|
|
17706
18001
|
'access',
|
|
17707
|
-
function(
|
|
17708
|
-
return
|
|
18002
|
+
function(_145) {
|
|
18003
|
+
return _145.answers;
|
|
17709
18004
|
},
|
|
17710
18005
|
'optionalAccess',
|
|
17711
|
-
function(
|
|
17712
|
-
return
|
|
18006
|
+
function(_146) {
|
|
18007
|
+
return _146.some;
|
|
17713
18008
|
},
|
|
17714
18009
|
'call',
|
|
17715
|
-
function(
|
|
17716
|
-
return
|
|
18010
|
+
function(_147) {
|
|
18011
|
+
return _147(function(answer) {
|
|
17717
18012
|
return [
|
|
17718
18013
|
"222222222",
|
|
17719
18014
|
"444444444",
|
|
@@ -17826,19 +18121,19 @@ function _initializeOnboarding() {
|
|
|
17826
18121
|
}
|
|
17827
18122
|
__name(initializeOnboarding, "initializeOnboarding");
|
|
17828
18123
|
// src/kyb/base/repositories/iKybRepository.ts
|
|
17829
|
-
function
|
|
18124
|
+
function _ts_decorate59(decorators, target, key, desc) {
|
|
17830
18125
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17831
18126
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17832
18127
|
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;
|
|
17833
18128
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17834
18129
|
}
|
|
17835
|
-
__name(
|
|
18130
|
+
__name(_ts_decorate59, "_ts_decorate");
|
|
17836
18131
|
var _iKybRepository = function _iKybRepository() {
|
|
17837
18132
|
_class_call_check(this, _iKybRepository);
|
|
17838
18133
|
};
|
|
17839
18134
|
__name(_iKybRepository, "iKybRepository");
|
|
17840
18135
|
var iKybRepository = _iKybRepository;
|
|
17841
|
-
iKybRepository = exports.iKybRepository =
|
|
18136
|
+
iKybRepository = exports.iKybRepository = _ts_decorate59([
|
|
17842
18137
|
_inversify.injectable.call(void 0)
|
|
17843
18138
|
], iKybRepository);
|
|
17844
18139
|
// src/kyb/base/types/KybEvaluationResponse.ts
|
|
@@ -19132,17 +19427,17 @@ var mswKybHandlers = [
|
|
|
19132
19427
|
}())
|
|
19133
19428
|
];
|
|
19134
19429
|
// src/kyb/adapters/rest/RestKybRepository.ts
|
|
19135
|
-
function
|
|
19430
|
+
function _ts_decorate60(decorators, target, key, desc) {
|
|
19136
19431
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19137
19432
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19138
19433
|
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;
|
|
19139
19434
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19140
19435
|
}
|
|
19141
|
-
__name(
|
|
19142
|
-
function
|
|
19436
|
+
__name(_ts_decorate60, "_ts_decorate");
|
|
19437
|
+
function _ts_metadata15(k, v) {
|
|
19143
19438
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
19144
19439
|
}
|
|
19145
|
-
__name(
|
|
19440
|
+
__name(_ts_metadata15, "_ts_metadata");
|
|
19146
19441
|
var _RestKybRepository = /*#__PURE__*/ function() {
|
|
19147
19442
|
function _RestKybRepository() {
|
|
19148
19443
|
_class_call_check(this, _RestKybRepository);
|
|
@@ -19195,14 +19490,14 @@ var _RestKybRepository = /*#__PURE__*/ function() {
|
|
|
19195
19490
|
if (_optionalChain([
|
|
19196
19491
|
error2,
|
|
19197
19492
|
'optionalAccess',
|
|
19198
|
-
function(
|
|
19199
|
-
return
|
|
19493
|
+
function(_148) {
|
|
19494
|
+
return _148.msg;
|
|
19200
19495
|
}
|
|
19201
19496
|
]) && _optionalChain([
|
|
19202
19497
|
error2,
|
|
19203
19498
|
'optionalAccess',
|
|
19204
|
-
function(
|
|
19205
|
-
return
|
|
19499
|
+
function(_149) {
|
|
19500
|
+
return _149.debug;
|
|
19206
19501
|
}
|
|
19207
19502
|
])) {
|
|
19208
19503
|
logError("KYB onboarding initialization failed with standardized error", {
|
|
@@ -19270,14 +19565,14 @@ var _RestKybRepository = /*#__PURE__*/ function() {
|
|
|
19270
19565
|
if (_optionalChain([
|
|
19271
19566
|
error2,
|
|
19272
19567
|
'optionalAccess',
|
|
19273
|
-
function(
|
|
19274
|
-
return
|
|
19568
|
+
function(_150) {
|
|
19569
|
+
return _150.msg;
|
|
19275
19570
|
}
|
|
19276
19571
|
]) && _optionalChain([
|
|
19277
19572
|
error2,
|
|
19278
19573
|
'optionalAccess',
|
|
19279
|
-
function(
|
|
19280
|
-
return
|
|
19574
|
+
function(_151) {
|
|
19575
|
+
return _151.debug;
|
|
19281
19576
|
}
|
|
19282
19577
|
])) {
|
|
19283
19578
|
logError("KYB verification failed with standardized error", {
|
|
@@ -19305,11 +19600,11 @@ var _RestKybRepository = /*#__PURE__*/ function() {
|
|
|
19305
19600
|
}();
|
|
19306
19601
|
__name(_RestKybRepository, "RestKybRepository");
|
|
19307
19602
|
var RestKybRepository = _RestKybRepository;
|
|
19308
|
-
|
|
19603
|
+
_ts_decorate60([
|
|
19309
19604
|
_inversify.inject.call(void 0, ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
19310
|
-
|
|
19605
|
+
_ts_metadata15("design:type", typeof iHttpClient === "undefined" ? Object : iHttpClient)
|
|
19311
19606
|
], RestKybRepository.prototype, "httpClient", void 0);
|
|
19312
|
-
RestKybRepository = exports.RestKybRepository =
|
|
19607
|
+
RestKybRepository = exports.RestKybRepository = _ts_decorate60([
|
|
19313
19608
|
_inversify.injectable.call(void 0)
|
|
19314
19609
|
], RestKybRepository);
|
|
19315
19610
|
// src/kyb/ioc/kybIOCModule.ts
|
|
@@ -19318,13 +19613,13 @@ var kybIOCModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
|
19318
19613
|
});
|
|
19319
19614
|
// src/kyb/ioc/mockKybIOCModule.ts
|
|
19320
19615
|
// src/kyb/base/repositories/MockKybRepository.ts
|
|
19321
|
-
function
|
|
19616
|
+
function _ts_decorate61(decorators, target, key, desc) {
|
|
19322
19617
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19323
19618
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19324
19619
|
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;
|
|
19325
19620
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19326
19621
|
}
|
|
19327
|
-
__name(
|
|
19622
|
+
__name(_ts_decorate61, "_ts_decorate");
|
|
19328
19623
|
var _MockKybRepository = /*#__PURE__*/ function() {
|
|
19329
19624
|
function _MockKybRepository() {
|
|
19330
19625
|
_class_call_check(this, _MockKybRepository);
|
|
@@ -19427,7 +19722,7 @@ var _MockKybRepository = /*#__PURE__*/ function() {
|
|
|
19427
19722
|
}();
|
|
19428
19723
|
__name(_MockKybRepository, "MockKybRepository");
|
|
19429
19724
|
var MockKybRepository = _MockKybRepository;
|
|
19430
|
-
MockKybRepository =
|
|
19725
|
+
MockKybRepository = _ts_decorate61([
|
|
19431
19726
|
_inversify.injectable.call(void 0)
|
|
19432
19727
|
], MockKybRepository);
|
|
19433
19728
|
// src/kyb/ioc/mockKybIOCModule.ts
|
|
@@ -19435,29 +19730,29 @@ var mockKybIOCModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
|
19435
19730
|
bind(ITF_KYB).to(MockKybRepository).inSingletonScope();
|
|
19436
19731
|
});
|
|
19437
19732
|
// src/money-movement/base/repositiories/iMoneyMovementRepository.ts
|
|
19438
|
-
function
|
|
19733
|
+
function _ts_decorate62(decorators, target, key, desc) {
|
|
19439
19734
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19440
19735
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19441
19736
|
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;
|
|
19442
19737
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19443
19738
|
}
|
|
19444
|
-
__name(
|
|
19739
|
+
__name(_ts_decorate62, "_ts_decorate");
|
|
19445
19740
|
var _iMoneyMovementRepository = function _iMoneyMovementRepository() {
|
|
19446
19741
|
_class_call_check(this, _iMoneyMovementRepository);
|
|
19447
19742
|
};
|
|
19448
19743
|
__name(_iMoneyMovementRepository, "iMoneyMovementRepository");
|
|
19449
19744
|
var iMoneyMovementRepository = _iMoneyMovementRepository;
|
|
19450
|
-
iMoneyMovementRepository = exports.iMoneyMovementRepository =
|
|
19745
|
+
iMoneyMovementRepository = exports.iMoneyMovementRepository = _ts_decorate62([
|
|
19451
19746
|
_inversify.injectable.call(void 0)
|
|
19452
19747
|
], iMoneyMovementRepository);
|
|
19453
19748
|
// src/money-movement/base/repositiories/MockMoneyMovementRepository.ts
|
|
19454
|
-
function
|
|
19749
|
+
function _ts_decorate63(decorators, target, key, desc) {
|
|
19455
19750
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19456
19751
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19457
19752
|
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;
|
|
19458
19753
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19459
19754
|
}
|
|
19460
|
-
__name(
|
|
19755
|
+
__name(_ts_decorate63, "_ts_decorate");
|
|
19461
19756
|
var TEST_SOURCE_CARD = {
|
|
19462
19757
|
expiration: "05/24",
|
|
19463
19758
|
last_four: "\u2022\u20221234",
|
|
@@ -19555,7 +19850,7 @@ var _MockMoneyMovementRepository = /*#__PURE__*/ function() {
|
|
|
19555
19850
|
}();
|
|
19556
19851
|
__name(_MockMoneyMovementRepository, "MockMoneyMovementRepository");
|
|
19557
19852
|
var MockMoneyMovementRepository = _MockMoneyMovementRepository;
|
|
19558
|
-
MockMoneyMovementRepository = exports.MockMoneyMovementRepository =
|
|
19853
|
+
MockMoneyMovementRepository = exports.MockMoneyMovementRepository = _ts_decorate63([
|
|
19559
19854
|
_inversify.injectable.call(void 0)
|
|
19560
19855
|
], MockMoneyMovementRepository);
|
|
19561
19856
|
// src/money-movement/ioc/mockMoneyMovementIOCModule.ts
|
|
@@ -19567,17 +19862,17 @@ var mockMoneyMovementIOCModule = new (0, _inversify.ContainerModule)(function(bi
|
|
|
19567
19862
|
});
|
|
19568
19863
|
// src/money-movement/ioc/moneyMovementIOCModule.ts
|
|
19569
19864
|
// src/money-movement/adapters/rest/RestMoneyMovementRepository.ts
|
|
19570
|
-
function
|
|
19865
|
+
function _ts_decorate64(decorators, target, key, desc) {
|
|
19571
19866
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19572
19867
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19573
19868
|
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;
|
|
19574
19869
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19575
19870
|
}
|
|
19576
|
-
__name(
|
|
19577
|
-
function
|
|
19871
|
+
__name(_ts_decorate64, "_ts_decorate");
|
|
19872
|
+
function _ts_metadata16(k, v) {
|
|
19578
19873
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
19579
19874
|
}
|
|
19580
|
-
__name(
|
|
19875
|
+
__name(_ts_metadata16, "_ts_metadata");
|
|
19581
19876
|
var _RestMoneyMovementRepository = /*#__PURE__*/ function() {
|
|
19582
19877
|
function _RestMoneyMovementRepository() {
|
|
19583
19878
|
_class_call_check(this, _RestMoneyMovementRepository);
|
|
@@ -19616,12 +19911,12 @@ var _RestMoneyMovementRepository = /*#__PURE__*/ function() {
|
|
|
19616
19911
|
cardCount: _optionalChain([
|
|
19617
19912
|
result,
|
|
19618
19913
|
'access',
|
|
19619
|
-
function(
|
|
19620
|
-
return
|
|
19914
|
+
function(_152) {
|
|
19915
|
+
return _152.data;
|
|
19621
19916
|
},
|
|
19622
19917
|
'optionalAccess',
|
|
19623
|
-
function(
|
|
19624
|
-
return
|
|
19918
|
+
function(_153) {
|
|
19919
|
+
return _153.length;
|
|
19625
19920
|
}
|
|
19626
19921
|
]) || 0,
|
|
19627
19922
|
adapter: "RestMoneyMovementRepository"
|
|
@@ -19909,11 +20204,11 @@ var _RestMoneyMovementRepository = /*#__PURE__*/ function() {
|
|
|
19909
20204
|
}();
|
|
19910
20205
|
__name(_RestMoneyMovementRepository, "RestMoneyMovementRepository");
|
|
19911
20206
|
var RestMoneyMovementRepository = _RestMoneyMovementRepository;
|
|
19912
|
-
|
|
20207
|
+
_ts_decorate64([
|
|
19913
20208
|
_inversify.inject.call(void 0, ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
19914
|
-
|
|
20209
|
+
_ts_metadata16("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
19915
20210
|
], RestMoneyMovementRepository.prototype, "httpClient", void 0);
|
|
19916
|
-
RestMoneyMovementRepository =
|
|
20211
|
+
RestMoneyMovementRepository = _ts_decorate64([
|
|
19917
20212
|
_inversify.injectable.call(void 0)
|
|
19918
20213
|
], RestMoneyMovementRepository);
|
|
19919
20214
|
// src/money-movement/ioc/moneyMovementIOCModule.ts
|
|
@@ -20118,12 +20413,12 @@ function _getExternalCards() {
|
|
|
20118
20413
|
cardCount: _optionalChain([
|
|
20119
20414
|
result,
|
|
20120
20415
|
'access',
|
|
20121
|
-
function(
|
|
20122
|
-
return
|
|
20416
|
+
function(_154) {
|
|
20417
|
+
return _154.data;
|
|
20123
20418
|
},
|
|
20124
20419
|
'optionalAccess',
|
|
20125
|
-
function(
|
|
20126
|
-
return
|
|
20420
|
+
function(_155) {
|
|
20421
|
+
return _155.length;
|
|
20127
20422
|
}
|
|
20128
20423
|
]) || 0,
|
|
20129
20424
|
interactor: "getExternalCards"
|
|
@@ -20786,29 +21081,29 @@ function _verifyOTP() {
|
|
|
20786
21081
|
}
|
|
20787
21082
|
__name(verifyOTP, "verifyOTP");
|
|
20788
21083
|
// src/idp/base/services/iIdpService.ts
|
|
20789
|
-
function
|
|
21084
|
+
function _ts_decorate65(decorators, target, key, desc) {
|
|
20790
21085
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20791
21086
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20792
21087
|
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;
|
|
20793
21088
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20794
21089
|
}
|
|
20795
|
-
__name(
|
|
21090
|
+
__name(_ts_decorate65, "_ts_decorate");
|
|
20796
21091
|
var _iIdpService = function _iIdpService() {
|
|
20797
21092
|
_class_call_check(this, _iIdpService);
|
|
20798
21093
|
};
|
|
20799
21094
|
__name(_iIdpService, "iIdpService");
|
|
20800
21095
|
var iIdpService = _iIdpService;
|
|
20801
|
-
iIdpService = exports.iIdpService =
|
|
21096
|
+
iIdpService = exports.iIdpService = _ts_decorate65([
|
|
20802
21097
|
_inversify.injectable.call(void 0)
|
|
20803
21098
|
], iIdpService);
|
|
20804
21099
|
// src/idp/base/services/MockIdpService.ts
|
|
20805
|
-
function
|
|
21100
|
+
function _ts_decorate66(decorators, target, key, desc) {
|
|
20806
21101
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20807
21102
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20808
21103
|
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;
|
|
20809
21104
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20810
21105
|
}
|
|
20811
|
-
__name(
|
|
21106
|
+
__name(_ts_decorate66, "_ts_decorate");
|
|
20812
21107
|
var _MockIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
20813
21108
|
_inherits(_MockIdpService, iIdpService);
|
|
20814
21109
|
var _super = _create_super(_MockIdpService);
|
|
@@ -20941,21 +21236,21 @@ var _MockIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
20941
21236
|
}(iIdpService);
|
|
20942
21237
|
__name(_MockIdpService, "MockIdpService");
|
|
20943
21238
|
var MockIdpService = _MockIdpService;
|
|
20944
|
-
MockIdpService = exports.MockIdpService =
|
|
21239
|
+
MockIdpService = exports.MockIdpService = _ts_decorate66([
|
|
20945
21240
|
_inversify.injectable.call(void 0)
|
|
20946
21241
|
], MockIdpService);
|
|
20947
21242
|
// src/idp/adapters/rest/RestIdpService.ts
|
|
20948
|
-
function
|
|
21243
|
+
function _ts_decorate67(decorators, target, key, desc) {
|
|
20949
21244
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20950
21245
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20951
21246
|
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;
|
|
20952
21247
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20953
21248
|
}
|
|
20954
|
-
__name(
|
|
20955
|
-
function
|
|
21249
|
+
__name(_ts_decorate67, "_ts_decorate");
|
|
21250
|
+
function _ts_metadata17(k, v) {
|
|
20956
21251
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20957
21252
|
}
|
|
20958
|
-
__name(
|
|
21253
|
+
__name(_ts_metadata17, "_ts_metadata");
|
|
20959
21254
|
var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
20960
21255
|
_inherits(_RestIdpService, iIdpService);
|
|
20961
21256
|
var _super = _create_super(_RestIdpService);
|
|
@@ -20977,7 +21272,7 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
20977
21272
|
if (parsedUrl.protocol !== "https:") {
|
|
20978
21273
|
throw new Error("OAuth base URL must use HTTPS protocol");
|
|
20979
21274
|
}
|
|
20980
|
-
} catch (
|
|
21275
|
+
} catch (e5) {
|
|
20981
21276
|
throw new Error("Invalid OAuth base URL format");
|
|
20982
21277
|
}
|
|
20983
21278
|
}
|
|
@@ -21390,11 +21685,11 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
21390
21685
|
}(iIdpService);
|
|
21391
21686
|
__name(_RestIdpService, "RestIdpService");
|
|
21392
21687
|
var RestIdpService = _RestIdpService;
|
|
21393
|
-
|
|
21688
|
+
_ts_decorate67([
|
|
21394
21689
|
_inversify.inject.call(void 0, ITF_HTTP_CLIENT),
|
|
21395
|
-
|
|
21690
|
+
_ts_metadata17("design:type", typeof iHttpClient === "undefined" ? Object : iHttpClient)
|
|
21396
21691
|
], RestIdpService.prototype, "httpClient", void 0);
|
|
21397
|
-
RestIdpService = exports.RestIdpService =
|
|
21692
|
+
RestIdpService = exports.RestIdpService = _ts_decorate67([
|
|
21398
21693
|
_inversify.injectable.call(void 0)
|
|
21399
21694
|
], RestIdpService);
|
|
21400
21695
|
// src/idp/ioc/idpIOCModule.ts
|
|
@@ -21406,19 +21701,19 @@ var mockIdpIOCModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
|
21406
21701
|
bind(ITF_IDP_SERVICE).to(MockIdpService).inSingletonScope();
|
|
21407
21702
|
});
|
|
21408
21703
|
// src/statements/base/repositories/iStatementsRepository.ts
|
|
21409
|
-
function
|
|
21704
|
+
function _ts_decorate68(decorators, target, key, desc) {
|
|
21410
21705
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
21411
21706
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21412
21707
|
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;
|
|
21413
21708
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21414
21709
|
}
|
|
21415
|
-
__name(
|
|
21710
|
+
__name(_ts_decorate68, "_ts_decorate");
|
|
21416
21711
|
var _iStatementsRepository = function _iStatementsRepository() {
|
|
21417
21712
|
_class_call_check(this, _iStatementsRepository);
|
|
21418
21713
|
};
|
|
21419
21714
|
__name(_iStatementsRepository, "iStatementsRepository");
|
|
21420
21715
|
var iStatementsRepository = _iStatementsRepository;
|
|
21421
|
-
iStatementsRepository = exports.iStatementsRepository =
|
|
21716
|
+
iStatementsRepository = exports.iStatementsRepository = _ts_decorate68([
|
|
21422
21717
|
_inversify.injectable.call(void 0)
|
|
21423
21718
|
], iStatementsRepository);
|
|
21424
21719
|
// src/statements/base/repositories/statementTypes.ts
|
|
@@ -21548,17 +21843,17 @@ function _getStatementAsset() {
|
|
|
21548
21843
|
__name(getStatementAsset, "getStatementAsset");
|
|
21549
21844
|
// src/statements/ioc/statementsIOCModules.ts
|
|
21550
21845
|
// src/statements/adapters/rest/RestStatementsRepository.ts
|
|
21551
|
-
function
|
|
21846
|
+
function _ts_decorate69(decorators, target, key, desc) {
|
|
21552
21847
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
21553
21848
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21554
21849
|
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;
|
|
21555
21850
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21556
21851
|
}
|
|
21557
|
-
__name(
|
|
21558
|
-
function
|
|
21852
|
+
__name(_ts_decorate69, "_ts_decorate");
|
|
21853
|
+
function _ts_metadata18(k, v) {
|
|
21559
21854
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
21560
21855
|
}
|
|
21561
|
-
__name(
|
|
21856
|
+
__name(_ts_metadata18, "_ts_metadata");
|
|
21562
21857
|
var _RestStatementsRepository = /*#__PURE__*/ function() {
|
|
21563
21858
|
function _RestStatementsRepository() {
|
|
21564
21859
|
_class_call_check(this, _RestStatementsRepository);
|
|
@@ -21600,12 +21895,12 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
|
|
|
21600
21895
|
statementCount: _optionalChain([
|
|
21601
21896
|
response,
|
|
21602
21897
|
'access',
|
|
21603
|
-
function(
|
|
21604
|
-
return
|
|
21898
|
+
function(_156) {
|
|
21899
|
+
return _156.data;
|
|
21605
21900
|
},
|
|
21606
21901
|
'optionalAccess',
|
|
21607
|
-
function(
|
|
21608
|
-
return
|
|
21902
|
+
function(_157) {
|
|
21903
|
+
return _157.length;
|
|
21609
21904
|
}
|
|
21610
21905
|
]) || 0,
|
|
21611
21906
|
hasMore: response.is_more,
|
|
@@ -21721,11 +22016,11 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
|
|
|
21721
22016
|
}();
|
|
21722
22017
|
__name(_RestStatementsRepository, "RestStatementsRepository");
|
|
21723
22018
|
var RestStatementsRepository = _RestStatementsRepository;
|
|
21724
|
-
|
|
22019
|
+
_ts_decorate69([
|
|
21725
22020
|
_inversify.inject.call(void 0, ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
21726
|
-
|
|
22021
|
+
_ts_metadata18("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
21727
22022
|
], RestStatementsRepository.prototype, "httpClient", void 0);
|
|
21728
|
-
RestStatementsRepository =
|
|
22023
|
+
RestStatementsRepository = _ts_decorate69([
|
|
21729
22024
|
_inversify.injectable.call(void 0)
|
|
21730
22025
|
], RestStatementsRepository);
|
|
21731
22026
|
// src/statements/ioc/statementsIOCModules.ts
|
|
@@ -21799,7 +22094,7 @@ var formatDateForClient = /* @__PURE__ */ __name(function(timestamp) {
|
|
|
21799
22094
|
day: "numeric"
|
|
21800
22095
|
});
|
|
21801
22096
|
return formattedDate.replace("Sep", "Sept");
|
|
21802
|
-
} catch (
|
|
22097
|
+
} catch (e6) {
|
|
21803
22098
|
return timestamp;
|
|
21804
22099
|
}
|
|
21805
22100
|
}, "formatDateForClient");
|
|
@@ -22514,13 +22809,13 @@ var _iThemeRepository = function _iThemeRepository() {
|
|
|
22514
22809
|
__name(_iThemeRepository, "iThemeRepository");
|
|
22515
22810
|
var iThemeRepository = _iThemeRepository;
|
|
22516
22811
|
// src/themes/base/repositories/MockThemeRepository.ts
|
|
22517
|
-
function
|
|
22812
|
+
function _ts_decorate70(decorators, target, key, desc) {
|
|
22518
22813
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22519
22814
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22520
22815
|
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;
|
|
22521
22816
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22522
22817
|
}
|
|
22523
|
-
__name(
|
|
22818
|
+
__name(_ts_decorate70, "_ts_decorate");
|
|
22524
22819
|
var TEST_THEME_NAME = "myTestTheme";
|
|
22525
22820
|
var TEST_THEME_OBJECT = {
|
|
22526
22821
|
colors: {
|
|
@@ -22562,7 +22857,7 @@ var _MockThemeRepository = /*#__PURE__*/ function() {
|
|
|
22562
22857
|
}();
|
|
22563
22858
|
__name(_MockThemeRepository, "MockThemeRepository");
|
|
22564
22859
|
var MockThemeRepository = _MockThemeRepository;
|
|
22565
|
-
MockThemeRepository = exports.MockThemeRepository =
|
|
22860
|
+
MockThemeRepository = exports.MockThemeRepository = _ts_decorate70([
|
|
22566
22861
|
_inversify.injectable.call(void 0)
|
|
22567
22862
|
], MockThemeRepository);
|
|
22568
22863
|
// src/themes/base/repositories/iIconsRepository.ts
|
|
@@ -22577,17 +22872,17 @@ var mockThemesIOCModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
|
22577
22872
|
});
|
|
22578
22873
|
// src/themes/ioc/themesIOCModule.ts
|
|
22579
22874
|
// src/themes/adapters/rest/RestThemeRepository.ts
|
|
22580
|
-
function
|
|
22875
|
+
function _ts_decorate71(decorators, target, key, desc) {
|
|
22581
22876
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22582
22877
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22583
22878
|
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;
|
|
22584
22879
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22585
22880
|
}
|
|
22586
|
-
__name(
|
|
22587
|
-
function
|
|
22881
|
+
__name(_ts_decorate71, "_ts_decorate");
|
|
22882
|
+
function _ts_metadata19(k, v) {
|
|
22588
22883
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22589
22884
|
}
|
|
22590
|
-
__name(
|
|
22885
|
+
__name(_ts_metadata19, "_ts_metadata");
|
|
22591
22886
|
var _RestThemeRepository = /*#__PURE__*/ function() {
|
|
22592
22887
|
function _RestThemeRepository() {
|
|
22593
22888
|
_class_call_check(this, _RestThemeRepository);
|
|
@@ -22654,11 +22949,11 @@ var _RestThemeRepository = /*#__PURE__*/ function() {
|
|
|
22654
22949
|
}();
|
|
22655
22950
|
__name(_RestThemeRepository, "RestThemeRepository");
|
|
22656
22951
|
var RestThemeRepository = _RestThemeRepository;
|
|
22657
|
-
|
|
22952
|
+
_ts_decorate71([
|
|
22658
22953
|
_inversify.inject.call(void 0, ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
22659
|
-
|
|
22954
|
+
_ts_metadata19("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
22660
22955
|
], RestThemeRepository.prototype, "httpClient", void 0);
|
|
22661
|
-
RestThemeRepository =
|
|
22956
|
+
RestThemeRepository = _ts_decorate71([
|
|
22662
22957
|
_inversify.injectable.call(void 0)
|
|
22663
22958
|
], RestThemeRepository);
|
|
22664
22959
|
// src/themes/ioc/themesIOCModule.ts
|
|
@@ -22667,13 +22962,13 @@ var themesIOCModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
|
22667
22962
|
});
|
|
22668
22963
|
// src/themes/ioc/iconsIOCModule.ts
|
|
22669
22964
|
// src/themes/adapters/rest/StaticIconsRepository.ts
|
|
22670
|
-
function
|
|
22965
|
+
function _ts_decorate72(decorators, target, key, desc) {
|
|
22671
22966
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22672
22967
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22673
22968
|
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;
|
|
22674
22969
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22675
22970
|
}
|
|
22676
|
-
__name(
|
|
22971
|
+
__name(_ts_decorate72, "_ts_decorate");
|
|
22677
22972
|
var _StaticIconsRepository = /*#__PURE__*/ function() {
|
|
22678
22973
|
function _StaticIconsRepository() {
|
|
22679
22974
|
_class_call_check(this, _StaticIconsRepository);
|
|
@@ -22770,7 +23065,7 @@ var _StaticIconsRepository = /*#__PURE__*/ function() {
|
|
|
22770
23065
|
}();
|
|
22771
23066
|
__name(_StaticIconsRepository, "StaticIconsRepository");
|
|
22772
23067
|
var StaticIconsRepository = _StaticIconsRepository;
|
|
22773
|
-
StaticIconsRepository =
|
|
23068
|
+
StaticIconsRepository = _ts_decorate72([
|
|
22774
23069
|
_inversify.injectable.call(void 0)
|
|
22775
23070
|
], StaticIconsRepository);
|
|
22776
23071
|
// src/themes/ioc/iconsIOCModule.ts
|
|
@@ -22778,19 +23073,19 @@ var iconsIOCModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
|
22778
23073
|
bind(ITF_ICONS_REPOSITORY).to(StaticIconsRepository).inSingletonScope();
|
|
22779
23074
|
});
|
|
22780
23075
|
// src/transactions/base/repositories/iTransactionsRepository.ts
|
|
22781
|
-
function
|
|
23076
|
+
function _ts_decorate73(decorators, target, key, desc) {
|
|
22782
23077
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22783
23078
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22784
23079
|
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;
|
|
22785
23080
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22786
23081
|
}
|
|
22787
|
-
__name(
|
|
23082
|
+
__name(_ts_decorate73, "_ts_decorate");
|
|
22788
23083
|
var _iTransactionsRepository = function _iTransactionsRepository() {
|
|
22789
23084
|
_class_call_check(this, _iTransactionsRepository);
|
|
22790
23085
|
};
|
|
22791
23086
|
__name(_iTransactionsRepository, "iTransactionsRepository");
|
|
22792
23087
|
var iTransactionsRepository = _iTransactionsRepository;
|
|
22793
|
-
iTransactionsRepository = exports.iTransactionsRepository =
|
|
23088
|
+
iTransactionsRepository = exports.iTransactionsRepository = _ts_decorate73([
|
|
22794
23089
|
_inversify.injectable.call(void 0)
|
|
22795
23090
|
], iTransactionsRepository);
|
|
22796
23091
|
// src/transactions/base/repositories/MockTransactionsRepository.ts
|
|
@@ -22807,13 +23102,13 @@ var TransactionDetailsBannerType;
|
|
|
22807
23102
|
TransactionDetailsBannerType2["WARNING"] = "WARNING";
|
|
22808
23103
|
})(TransactionDetailsBannerType || (TransactionDetailsBannerType = exports.TransactionDetailsBannerType = {}));
|
|
22809
23104
|
// src/transactions/base/repositories/MockTransactionsRepository.ts
|
|
22810
|
-
function
|
|
23105
|
+
function _ts_decorate74(decorators, target, key, desc) {
|
|
22811
23106
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22812
23107
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22813
23108
|
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;
|
|
22814
23109
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22815
23110
|
}
|
|
22816
|
-
__name(
|
|
23111
|
+
__name(_ts_decorate74, "_ts_decorate");
|
|
22817
23112
|
var _MockTransactionsRepository = /*#__PURE__*/ function() {
|
|
22818
23113
|
function _MockTransactionsRepository() {
|
|
22819
23114
|
_class_call_check(this, _MockTransactionsRepository);
|
|
@@ -22944,7 +23239,7 @@ var _MockTransactionsRepository = /*#__PURE__*/ function() {
|
|
|
22944
23239
|
}();
|
|
22945
23240
|
__name(_MockTransactionsRepository, "MockTransactionsRepository");
|
|
22946
23241
|
var MockTransactionsRepository = _MockTransactionsRepository;
|
|
22947
|
-
MockTransactionsRepository = exports.MockTransactionsRepository =
|
|
23242
|
+
MockTransactionsRepository = exports.MockTransactionsRepository = _ts_decorate74([
|
|
22948
23243
|
_inversify.injectable.call(void 0)
|
|
22949
23244
|
], MockTransactionsRepository);
|
|
22950
23245
|
// src/transactions/ioc/symbols.ts
|
|
@@ -23253,17 +23548,17 @@ var Direction;
|
|
|
23253
23548
|
var PENDING_QUERY = "PENDING";
|
|
23254
23549
|
var NON_PENDING_QUERY = "COMPLETION,DECLINED";
|
|
23255
23550
|
// src/transactions/adapters/rest/RestTransactionsRepository.ts
|
|
23256
|
-
function
|
|
23551
|
+
function _ts_decorate75(decorators, target, key, desc) {
|
|
23257
23552
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
23258
23553
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23259
23554
|
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;
|
|
23260
23555
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23261
23556
|
}
|
|
23262
|
-
__name(
|
|
23263
|
-
function
|
|
23557
|
+
__name(_ts_decorate75, "_ts_decorate");
|
|
23558
|
+
function _ts_metadata20(k, v) {
|
|
23264
23559
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
23265
23560
|
}
|
|
23266
|
-
__name(
|
|
23561
|
+
__name(_ts_metadata20, "_ts_metadata");
|
|
23267
23562
|
var _RestTransactionsRepository = /*#__PURE__*/ function() {
|
|
23268
23563
|
function _RestTransactionsRepository() {
|
|
23269
23564
|
_class_call_check(this, _RestTransactionsRepository);
|
|
@@ -23521,11 +23816,11 @@ var _RestTransactionsRepository = /*#__PURE__*/ function() {
|
|
|
23521
23816
|
}();
|
|
23522
23817
|
__name(_RestTransactionsRepository, "RestTransactionsRepository");
|
|
23523
23818
|
var RestTransactionsRepository = _RestTransactionsRepository;
|
|
23524
|
-
|
|
23819
|
+
_ts_decorate75([
|
|
23525
23820
|
_inversify.inject.call(void 0, ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
23526
|
-
|
|
23821
|
+
_ts_metadata20("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
23527
23822
|
], RestTransactionsRepository.prototype, "httpClient", void 0);
|
|
23528
|
-
RestTransactionsRepository =
|
|
23823
|
+
RestTransactionsRepository = _ts_decorate75([
|
|
23529
23824
|
_inversify.injectable.call(void 0)
|
|
23530
23825
|
], RestTransactionsRepository);
|
|
23531
23826
|
// src/transactions/ioc/transactionsIOCModule.ts
|
|
@@ -24004,12 +24299,12 @@ var filterMockTransactionsByStatus = /* @__PURE__ */ __name(function(statuses) {
|
|
|
24004
24299
|
return statuses.includes(_optionalChain([
|
|
24005
24300
|
status,
|
|
24006
24301
|
'optionalAccess',
|
|
24007
|
-
function(
|
|
24008
|
-
return
|
|
24302
|
+
function(_158) {
|
|
24303
|
+
return _158.toUpperCase;
|
|
24009
24304
|
},
|
|
24010
24305
|
'call',
|
|
24011
|
-
function(
|
|
24012
|
-
return
|
|
24306
|
+
function(_159) {
|
|
24307
|
+
return _159();
|
|
24013
24308
|
}
|
|
24014
24309
|
]));
|
|
24015
24310
|
});
|
|
@@ -24061,8 +24356,8 @@ var mswTransactionsHandlers = [
|
|
|
24061
24356
|
if (_optionalChain([
|
|
24062
24357
|
queryStatus,
|
|
24063
24358
|
'optionalAccess',
|
|
24064
|
-
function(
|
|
24065
|
-
return
|
|
24359
|
+
function(_160) {
|
|
24360
|
+
return _160[0];
|
|
24066
24361
|
}
|
|
24067
24362
|
]) === "PENDING") {
|
|
24068
24363
|
is_more = filteredMockData.length > 10;
|
|
@@ -24558,72 +24853,25 @@ var TransactionChallengeAuthenticationMethod;
|
|
|
24558
24853
|
TransactionChallengeAuthenticationMethod2["Other"] = "OTHER";
|
|
24559
24854
|
})(TransactionChallengeAuthenticationMethod || (TransactionChallengeAuthenticationMethod = exports.TransactionChallengeAuthenticationMethod = {}));
|
|
24560
24855
|
// src/wla/adapters/RestWlaService.ts
|
|
24561
|
-
function
|
|
24856
|
+
function _ts_decorate76(decorators, target, key, desc) {
|
|
24562
24857
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
24563
24858
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
24564
24859
|
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;
|
|
24565
24860
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24566
24861
|
}
|
|
24567
|
-
__name(
|
|
24568
|
-
function
|
|
24862
|
+
__name(_ts_decorate76, "_ts_decorate");
|
|
24863
|
+
function _ts_metadata21(k, v) {
|
|
24569
24864
|
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
24570
24865
|
}
|
|
24571
|
-
__name(
|
|
24866
|
+
__name(_ts_metadata21, "_ts_metadata");
|
|
24572
24867
|
var _RestWlaService = /*#__PURE__*/ function() {
|
|
24573
24868
|
function _RestWlaService() {
|
|
24574
|
-
var _this = this;
|
|
24575
24869
|
_class_call_check(this, _RestWlaService);
|
|
24576
24870
|
__publicField(this, "cacheService");
|
|
24577
24871
|
__publicField(this, "httpClient");
|
|
24578
24872
|
__publicField(this, "unauthenticatedHttpClient");
|
|
24579
|
-
__publicField(this, "getCommonWlaApiHeaders", /* @__PURE__ */ __name(function() {
|
|
24580
|
-
var appConfig = _this.getAppConfig();
|
|
24581
|
-
return {
|
|
24582
|
-
"app-version": appConfig.appVersion,
|
|
24583
|
-
"device-id": appConfig.deviceId,
|
|
24584
|
-
"client-ip": appConfig.clientIp
|
|
24585
|
-
};
|
|
24586
|
-
}, "getCommonWlaApiHeaders"));
|
|
24587
24873
|
}
|
|
24588
24874
|
_create_class(_RestWlaService, [
|
|
24589
|
-
{
|
|
24590
|
-
key: "setAppConfig",
|
|
24591
|
-
value: function setAppConfig(appVersion, deviceId, clientIp) {
|
|
24592
|
-
logDebug("Setting WLA app config", {
|
|
24593
|
-
appVersion: appVersion,
|
|
24594
|
-
deviceId: deviceId,
|
|
24595
|
-
clientIp: clientIp,
|
|
24596
|
-
adapter: "RestWlaService"
|
|
24597
|
-
});
|
|
24598
|
-
try {
|
|
24599
|
-
this.cacheService.set("wlaAppConfig", JSON.stringify({
|
|
24600
|
-
appVersion: appVersion,
|
|
24601
|
-
deviceId: deviceId,
|
|
24602
|
-
clientIp: clientIp
|
|
24603
|
-
}));
|
|
24604
|
-
logInfo("WLA app config set successfully", {
|
|
24605
|
-
adapter: "RestWlaService"
|
|
24606
|
-
});
|
|
24607
|
-
} catch (error2) {
|
|
24608
|
-
logError("Failed to set WLA app config", {
|
|
24609
|
-
error: error2,
|
|
24610
|
-
adapter: "RestWlaService"
|
|
24611
|
-
});
|
|
24612
|
-
throw error2;
|
|
24613
|
-
}
|
|
24614
|
-
}
|
|
24615
|
-
},
|
|
24616
|
-
{
|
|
24617
|
-
key: "getAppConfig",
|
|
24618
|
-
value: function getAppConfig() {
|
|
24619
|
-
var config = this.cacheService.get("wlaAppConfig");
|
|
24620
|
-
try {
|
|
24621
|
-
var parsedConfig = JSON.parse(config);
|
|
24622
|
-
return parsedConfig;
|
|
24623
|
-
} catch (e5) {}
|
|
24624
|
-
return {};
|
|
24625
|
-
}
|
|
24626
|
-
},
|
|
24627
24875
|
{
|
|
24628
24876
|
key: "transitionOnboardingStatus",
|
|
24629
24877
|
value: function transitionOnboardingStatus(oldStatus, newStatus) {
|
|
@@ -24643,7 +24891,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24643
24891
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/transition-onboarding-status");
|
|
24644
24892
|
params = {
|
|
24645
24893
|
method: "POST",
|
|
24646
|
-
headers:
|
|
24894
|
+
headers: getCommonApiHeaders(),
|
|
24647
24895
|
body: JSON.stringify({
|
|
24648
24896
|
old_status: oldStatus,
|
|
24649
24897
|
new_status: newStatus
|
|
@@ -24694,7 +24942,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24694
24942
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
24695
24943
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/profile");
|
|
24696
24944
|
params = {
|
|
24697
|
-
headers:
|
|
24945
|
+
headers: getCommonApiHeaders()
|
|
24698
24946
|
};
|
|
24699
24947
|
return [
|
|
24700
24948
|
4,
|
|
@@ -24749,7 +24997,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24749
24997
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/onboarding/create-card");
|
|
24750
24998
|
params = {
|
|
24751
24999
|
method: "POST",
|
|
24752
|
-
headers:
|
|
25000
|
+
headers: getCommonApiHeaders(),
|
|
24753
25001
|
body: JSON.stringify(requestBody)
|
|
24754
25002
|
};
|
|
24755
25003
|
return [
|
|
@@ -24808,7 +25056,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24808
25056
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/onboarding/set-pin");
|
|
24809
25057
|
params = {
|
|
24810
25058
|
method: "POST",
|
|
24811
|
-
headers:
|
|
25059
|
+
headers: getCommonApiHeaders(),
|
|
24812
25060
|
body: JSON.stringify({
|
|
24813
25061
|
card_token: cardToken,
|
|
24814
25062
|
pin: pin,
|
|
@@ -24872,7 +25120,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24872
25120
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/transition-onboarding-status");
|
|
24873
25121
|
params = {
|
|
24874
25122
|
method: "POST",
|
|
24875
|
-
headers:
|
|
25123
|
+
headers: getCommonApiHeaders(),
|
|
24876
25124
|
body: JSON.stringify({
|
|
24877
25125
|
old_status: OnboardingStatus.ACCOUNT_ACTIVATED,
|
|
24878
25126
|
new_status: OnboardingStatus.ACCOUNT_VERIFIED
|
|
@@ -24980,7 +25228,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
24980
25228
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/transition-onboarding-status");
|
|
24981
25229
|
params = {
|
|
24982
25230
|
method: "POST",
|
|
24983
|
-
headers:
|
|
25231
|
+
headers: getCommonApiHeaders(),
|
|
24984
25232
|
body: JSON.stringify({
|
|
24985
25233
|
old_status: OnboardingStatus.CREATED,
|
|
24986
25234
|
new_status: OnboardingStatus.ACCOUNT_ACTIVATED
|
|
@@ -25039,7 +25287,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25039
25287
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/settings/push-notification");
|
|
25040
25288
|
params = {
|
|
25041
25289
|
method: "POST",
|
|
25042
|
-
headers:
|
|
25290
|
+
headers: getCommonApiHeaders(),
|
|
25043
25291
|
body: JSON.stringify(requestBody)
|
|
25044
25292
|
};
|
|
25045
25293
|
return [
|
|
@@ -25071,6 +25319,62 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25071
25319
|
})();
|
|
25072
25320
|
}
|
|
25073
25321
|
},
|
|
25322
|
+
{
|
|
25323
|
+
key: "updateDevicePushNotificationRegistration",
|
|
25324
|
+
value: function updateDevicePushNotificationRegistration(requestBody) {
|
|
25325
|
+
var _this = this;
|
|
25326
|
+
return _async_to_generator(function() {
|
|
25327
|
+
var cuiApiBaseUrl, path, params, error2;
|
|
25328
|
+
return _ts_generator(this, function(_state) {
|
|
25329
|
+
switch(_state.label){
|
|
25330
|
+
case 0:
|
|
25331
|
+
logDebug("Updating device push notification registration", {
|
|
25332
|
+
adapter: "RestWlaService"
|
|
25333
|
+
});
|
|
25334
|
+
_state.label = 1;
|
|
25335
|
+
case 1:
|
|
25336
|
+
_state.trys.push([
|
|
25337
|
+
1,
|
|
25338
|
+
3,
|
|
25339
|
+
,
|
|
25340
|
+
4
|
|
25341
|
+
]);
|
|
25342
|
+
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25343
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/settings/push-notification");
|
|
25344
|
+
params = {
|
|
25345
|
+
method: "PUT",
|
|
25346
|
+
headers: getCommonApiHeaders(),
|
|
25347
|
+
body: JSON.stringify(requestBody)
|
|
25348
|
+
};
|
|
25349
|
+
return [
|
|
25350
|
+
4,
|
|
25351
|
+
_this.httpClient.put(path, params)
|
|
25352
|
+
];
|
|
25353
|
+
case 2:
|
|
25354
|
+
_state.sent();
|
|
25355
|
+
logInfo("Push notifications registration was updated successfully", {
|
|
25356
|
+
adapter: "RestWlaService"
|
|
25357
|
+
});
|
|
25358
|
+
return [
|
|
25359
|
+
3,
|
|
25360
|
+
4
|
|
25361
|
+
];
|
|
25362
|
+
case 3:
|
|
25363
|
+
error2 = _state.sent();
|
|
25364
|
+
logError("Push notifications registration update failed", {
|
|
25365
|
+
error: error2,
|
|
25366
|
+
adapter: "RestWlaService"
|
|
25367
|
+
});
|
|
25368
|
+
throw new MqSDKError("Unable to update device push notification registration", error2);
|
|
25369
|
+
case 4:
|
|
25370
|
+
return [
|
|
25371
|
+
2
|
|
25372
|
+
];
|
|
25373
|
+
}
|
|
25374
|
+
});
|
|
25375
|
+
})();
|
|
25376
|
+
}
|
|
25377
|
+
},
|
|
25074
25378
|
{
|
|
25075
25379
|
key: "deleteRegistrationForPushNotifications",
|
|
25076
25380
|
value: function deleteRegistrationForPushNotifications() {
|
|
@@ -25095,7 +25399,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25095
25399
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/settings/push-notification");
|
|
25096
25400
|
params = {
|
|
25097
25401
|
method: "DELETE",
|
|
25098
|
-
headers:
|
|
25402
|
+
headers: getCommonApiHeaders()
|
|
25099
25403
|
};
|
|
25100
25404
|
return [
|
|
25101
25405
|
4,
|
|
@@ -25149,7 +25453,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25149
25453
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25150
25454
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/offers");
|
|
25151
25455
|
params = {
|
|
25152
|
-
headers:
|
|
25456
|
+
headers: getCommonApiHeaders()
|
|
25153
25457
|
};
|
|
25154
25458
|
return [
|
|
25155
25459
|
4,
|
|
@@ -25207,7 +25511,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25207
25511
|
});
|
|
25208
25512
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/offer?").concat(queryParams.toString());
|
|
25209
25513
|
params = {
|
|
25210
|
-
headers:
|
|
25514
|
+
headers: getCommonApiHeaders()
|
|
25211
25515
|
};
|
|
25212
25516
|
return [
|
|
25213
25517
|
4,
|
|
@@ -25267,24 +25571,24 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25267
25571
|
}, _optionalChain([
|
|
25268
25572
|
requestBody,
|
|
25269
25573
|
'optionalAccess',
|
|
25270
|
-
function(
|
|
25271
|
-
return
|
|
25574
|
+
function(_161) {
|
|
25575
|
+
return _161.status;
|
|
25272
25576
|
}
|
|
25273
25577
|
]) ? {
|
|
25274
25578
|
status: requestBody.status.join(",")
|
|
25275
25579
|
} : {}, _optionalChain([
|
|
25276
25580
|
requestBody,
|
|
25277
25581
|
'optionalAccess',
|
|
25278
|
-
function(
|
|
25279
|
-
return
|
|
25582
|
+
function(_162) {
|
|
25583
|
+
return _162.start_index;
|
|
25280
25584
|
}
|
|
25281
25585
|
]) ? {
|
|
25282
25586
|
start_index: "".concat(requestBody.start_index)
|
|
25283
25587
|
} : {}, _optionalChain([
|
|
25284
25588
|
requestBody,
|
|
25285
25589
|
'optionalAccess',
|
|
25286
|
-
function(
|
|
25287
|
-
return
|
|
25590
|
+
function(_163) {
|
|
25591
|
+
return _163.count;
|
|
25288
25592
|
}
|
|
25289
25593
|
]) ? {
|
|
25290
25594
|
count: "".concat(requestBody.count)
|
|
@@ -25294,7 +25598,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25294
25598
|
"status"
|
|
25295
25599
|
]);
|
|
25296
25600
|
params = {
|
|
25297
|
-
headers:
|
|
25601
|
+
headers: getCommonApiHeaders()
|
|
25298
25602
|
};
|
|
25299
25603
|
return [
|
|
25300
25604
|
4,
|
|
@@ -25355,7 +25659,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25355
25659
|
});
|
|
25356
25660
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/card?").concat(queryParams.toString());
|
|
25357
25661
|
params = {
|
|
25358
|
-
headers:
|
|
25662
|
+
headers: getCommonApiHeaders()
|
|
25359
25663
|
};
|
|
25360
25664
|
return [
|
|
25361
25665
|
4,
|
|
@@ -25366,12 +25670,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25366
25670
|
if (_optionalChain([
|
|
25367
25671
|
data,
|
|
25368
25672
|
'access',
|
|
25369
|
-
function(
|
|
25370
|
-
return
|
|
25673
|
+
function(_164) {
|
|
25674
|
+
return _164.card_art;
|
|
25371
25675
|
},
|
|
25372
25676
|
'optionalAccess',
|
|
25373
|
-
function(
|
|
25374
|
-
return
|
|
25677
|
+
function(_165) {
|
|
25678
|
+
return _165.back;
|
|
25375
25679
|
}
|
|
25376
25680
|
])) {
|
|
25377
25681
|
data.card_art.back = "".concat(cardArtBaseUrl).concat(data.card_art.back);
|
|
@@ -25379,12 +25683,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25379
25683
|
if (_optionalChain([
|
|
25380
25684
|
data,
|
|
25381
25685
|
'access',
|
|
25382
|
-
function(
|
|
25383
|
-
return
|
|
25686
|
+
function(_166) {
|
|
25687
|
+
return _166.card_art;
|
|
25384
25688
|
},
|
|
25385
25689
|
'optionalAccess',
|
|
25386
|
-
function(
|
|
25387
|
-
return
|
|
25690
|
+
function(_167) {
|
|
25691
|
+
return _167.front;
|
|
25388
25692
|
}
|
|
25389
25693
|
])) {
|
|
25390
25694
|
data.card_art.front = "".concat(cardArtBaseUrl).concat(data.card_art.front);
|
|
@@ -25438,7 +25742,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25438
25742
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25439
25743
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/").concat(token);
|
|
25440
25744
|
params = {
|
|
25441
|
-
headers:
|
|
25745
|
+
headers: getCommonApiHeaders()
|
|
25442
25746
|
};
|
|
25443
25747
|
return [
|
|
25444
25748
|
4,
|
|
@@ -25495,32 +25799,32 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25495
25799
|
queryParams = new URLSearchParams(_object_spread({}, _optionalChain([
|
|
25496
25800
|
requestBody,
|
|
25497
25801
|
'optionalAccess',
|
|
25498
|
-
function(
|
|
25499
|
-
return
|
|
25802
|
+
function(_168) {
|
|
25803
|
+
return _168.count;
|
|
25500
25804
|
}
|
|
25501
25805
|
]) ? {
|
|
25502
25806
|
count: "".concat(requestBody.count)
|
|
25503
25807
|
} : {}, _optionalChain([
|
|
25504
25808
|
requestBody,
|
|
25505
25809
|
'optionalAccess',
|
|
25506
|
-
function(
|
|
25507
|
-
return
|
|
25810
|
+
function(_169) {
|
|
25811
|
+
return _169.start_index;
|
|
25508
25812
|
}
|
|
25509
25813
|
]) ? {
|
|
25510
25814
|
start_index: "".concat(requestBody.start_index)
|
|
25511
25815
|
} : {}, _optionalChain([
|
|
25512
25816
|
requestBody,
|
|
25513
25817
|
'optionalAccess',
|
|
25514
|
-
function(
|
|
25515
|
-
return
|
|
25818
|
+
function(_170) {
|
|
25819
|
+
return _170.sort_by;
|
|
25516
25820
|
}
|
|
25517
25821
|
]) ? {
|
|
25518
25822
|
sort_by: "".concat(requestBody.sort_by)
|
|
25519
25823
|
} : {}, _optionalChain([
|
|
25520
25824
|
requestBody,
|
|
25521
25825
|
'optionalAccess',
|
|
25522
|
-
function(
|
|
25523
|
-
return
|
|
25826
|
+
function(_171) {
|
|
25827
|
+
return _171.status;
|
|
25524
25828
|
}
|
|
25525
25829
|
]) ? {
|
|
25526
25830
|
status: requestBody.status.join(",")
|
|
@@ -25530,7 +25834,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25530
25834
|
"status"
|
|
25531
25835
|
]);
|
|
25532
25836
|
params = {
|
|
25533
|
-
headers:
|
|
25837
|
+
headers: getCommonApiHeaders()
|
|
25534
25838
|
};
|
|
25535
25839
|
return [
|
|
25536
25840
|
4,
|
|
@@ -25550,12 +25854,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25550
25854
|
if (_optionalChain([
|
|
25551
25855
|
error2,
|
|
25552
25856
|
'optionalAccess',
|
|
25553
|
-
function(
|
|
25554
|
-
return
|
|
25857
|
+
function(_172) {
|
|
25858
|
+
return _172.debug;
|
|
25555
25859
|
},
|
|
25556
25860
|
'optionalAccess',
|
|
25557
|
-
function(
|
|
25558
|
-
return
|
|
25861
|
+
function(_173) {
|
|
25862
|
+
return _173.length;
|
|
25559
25863
|
}
|
|
25560
25864
|
])) {
|
|
25561
25865
|
logError("Unable to get external account list with standardized error", {
|
|
@@ -25602,7 +25906,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25602
25906
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts");
|
|
25603
25907
|
params = {
|
|
25604
25908
|
method: "POST",
|
|
25605
|
-
headers:
|
|
25909
|
+
headers: getCommonApiHeaders(),
|
|
25606
25910
|
body: JSON.stringify(requestBody)
|
|
25607
25911
|
};
|
|
25608
25912
|
return [
|
|
@@ -25623,12 +25927,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25623
25927
|
if (_optionalChain([
|
|
25624
25928
|
error2,
|
|
25625
25929
|
'optionalAccess',
|
|
25626
|
-
function(
|
|
25627
|
-
return
|
|
25930
|
+
function(_174) {
|
|
25931
|
+
return _174.debug;
|
|
25628
25932
|
},
|
|
25629
25933
|
'optionalAccess',
|
|
25630
|
-
function(
|
|
25631
|
-
return
|
|
25934
|
+
function(_175) {
|
|
25935
|
+
return _175.length;
|
|
25632
25936
|
}
|
|
25633
25937
|
])) {
|
|
25634
25938
|
logError("Unable to create external account with standardized error", {
|
|
@@ -25675,7 +25979,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25675
25979
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/verification");
|
|
25676
25980
|
params = {
|
|
25677
25981
|
method: "POST",
|
|
25678
|
-
headers:
|
|
25982
|
+
headers: getCommonApiHeaders(),
|
|
25679
25983
|
body: JSON.stringify(requestBody)
|
|
25680
25984
|
};
|
|
25681
25985
|
return [
|
|
@@ -25696,12 +26000,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25696
26000
|
if (_optionalChain([
|
|
25697
26001
|
error2,
|
|
25698
26002
|
'optionalAccess',
|
|
25699
|
-
function(
|
|
25700
|
-
return
|
|
26003
|
+
function(_176) {
|
|
26004
|
+
return _176.debug;
|
|
25701
26005
|
},
|
|
25702
26006
|
'optionalAccess',
|
|
25703
|
-
function(
|
|
25704
|
-
return
|
|
26007
|
+
function(_177) {
|
|
26008
|
+
return _177.length;
|
|
25705
26009
|
}
|
|
25706
26010
|
])) {
|
|
25707
26011
|
logError("Unable to verify external account with standardized error", {
|
|
@@ -25749,7 +26053,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25749
26053
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/").concat(token);
|
|
25750
26054
|
params = {
|
|
25751
26055
|
method: "PATCH",
|
|
25752
|
-
headers:
|
|
26056
|
+
headers: getCommonApiHeaders(),
|
|
25753
26057
|
body: JSON.stringify(requestBody)
|
|
25754
26058
|
};
|
|
25755
26059
|
return [
|
|
@@ -25771,12 +26075,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25771
26075
|
if (_optionalChain([
|
|
25772
26076
|
error2,
|
|
25773
26077
|
'optionalAccess',
|
|
25774
|
-
function(
|
|
25775
|
-
return
|
|
26078
|
+
function(_178) {
|
|
26079
|
+
return _178.debug;
|
|
25776
26080
|
},
|
|
25777
26081
|
'optionalAccess',
|
|
25778
|
-
function(
|
|
25779
|
-
return
|
|
26082
|
+
function(_179) {
|
|
26083
|
+
return _179.length;
|
|
25780
26084
|
}
|
|
25781
26085
|
])) {
|
|
25782
26086
|
logError("Unable to update external account with standardized error", {
|
|
@@ -25828,7 +26132,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25828
26132
|
});
|
|
25829
26133
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction?").concat(queryParams.toString());
|
|
25830
26134
|
params = {
|
|
25831
|
-
headers:
|
|
26135
|
+
headers: getCommonApiHeaders()
|
|
25832
26136
|
};
|
|
25833
26137
|
return [
|
|
25834
26138
|
4,
|
|
@@ -25885,7 +26189,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25885
26189
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25886
26190
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction/challenge/").concat(challengeToken);
|
|
25887
26191
|
params = {
|
|
25888
|
-
headers:
|
|
26192
|
+
headers: getCommonApiHeaders()
|
|
25889
26193
|
};
|
|
25890
26194
|
return [
|
|
25891
26195
|
4,
|
|
@@ -25941,7 +26245,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25941
26245
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
25942
26246
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction/challenge/next");
|
|
25943
26247
|
params = {
|
|
25944
|
-
headers:
|
|
26248
|
+
headers: getCommonApiHeaders()
|
|
25945
26249
|
};
|
|
25946
26250
|
return [
|
|
25947
26251
|
4,
|
|
@@ -25998,7 +26302,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
25998
26302
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction/challenge/").concat(challengeToken, "/decision");
|
|
25999
26303
|
params = {
|
|
26000
26304
|
method: "POST",
|
|
26001
|
-
headers:
|
|
26305
|
+
headers: getCommonApiHeaders(),
|
|
26002
26306
|
body: JSON.stringify(body)
|
|
26003
26307
|
};
|
|
26004
26308
|
return [
|
|
@@ -26056,7 +26360,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26056
26360
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/book-transfer");
|
|
26057
26361
|
params = {
|
|
26058
26362
|
method: "POST",
|
|
26059
|
-
headers:
|
|
26363
|
+
headers: getCommonApiHeaders(),
|
|
26060
26364
|
body: JSON.stringify(requestBody)
|
|
26061
26365
|
};
|
|
26062
26366
|
return [
|
|
@@ -26112,7 +26416,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26112
26416
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/origination/transfers");
|
|
26113
26417
|
params = {
|
|
26114
26418
|
method: "POST",
|
|
26115
|
-
headers:
|
|
26419
|
+
headers: getCommonApiHeaders(),
|
|
26116
26420
|
body: JSON.stringify(requestBody)
|
|
26117
26421
|
};
|
|
26118
26422
|
return [
|
|
@@ -26176,7 +26480,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26176
26480
|
});
|
|
26177
26481
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/account?").concat(queryParams.toString());
|
|
26178
26482
|
params = {
|
|
26179
|
-
headers:
|
|
26483
|
+
headers: getCommonApiHeaders()
|
|
26180
26484
|
};
|
|
26181
26485
|
return [
|
|
26182
26486
|
4,
|
|
@@ -26239,7 +26543,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26239
26543
|
} : {}));
|
|
26240
26544
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/rewardsummaries?").concat(queryParams.toString());
|
|
26241
26545
|
params = {
|
|
26242
|
-
headers:
|
|
26546
|
+
headers: getCommonApiHeaders()
|
|
26243
26547
|
};
|
|
26244
26548
|
return [
|
|
26245
26549
|
4,
|
|
@@ -26310,7 +26614,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26310
26614
|
} : {}));
|
|
26311
26615
|
params = {
|
|
26312
26616
|
method: "POST",
|
|
26313
|
-
headers:
|
|
26617
|
+
headers: getCommonApiHeaders(),
|
|
26314
26618
|
body: JSON.stringify(requestBody)
|
|
26315
26619
|
};
|
|
26316
26620
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/atms/search?").concat(queryParams.toString());
|
|
@@ -26367,7 +26671,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26367
26671
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26368
26672
|
params = {
|
|
26369
26673
|
method: "POST",
|
|
26370
|
-
headers:
|
|
26674
|
+
headers: getCommonApiHeaders(),
|
|
26371
26675
|
body: JSON.stringify(requestBody)
|
|
26372
26676
|
};
|
|
26373
26677
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/card/replace");
|
|
@@ -26427,7 +26731,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26427
26731
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26428
26732
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages/").concat(token, "?device_platform=").concat(devicePlatform);
|
|
26429
26733
|
params = {
|
|
26430
|
-
headers: _object_spread_props(_object_spread({},
|
|
26734
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
26431
26735
|
"X-Marqeta-Program-Short-Code": programShortCode
|
|
26432
26736
|
})
|
|
26433
26737
|
};
|
|
@@ -26488,7 +26792,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26488
26792
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26489
26793
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages?device_platform=").concat(devicePlatform);
|
|
26490
26794
|
params = {
|
|
26491
|
-
headers: _object_spread_props(_object_spread({},
|
|
26795
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
26492
26796
|
"X-Marqeta-Program-Short-Code": programShortCode
|
|
26493
26797
|
})
|
|
26494
26798
|
};
|
|
@@ -26549,7 +26853,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26549
26853
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26550
26854
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/").concat(id);
|
|
26551
26855
|
params = {
|
|
26552
|
-
headers:
|
|
26856
|
+
headers: getCommonApiHeaders()
|
|
26553
26857
|
};
|
|
26554
26858
|
return [
|
|
26555
26859
|
4,
|
|
@@ -26610,7 +26914,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26610
26914
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26611
26915
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/transfers/").concat(token);
|
|
26612
26916
|
params = {
|
|
26613
|
-
headers:
|
|
26917
|
+
headers: getCommonApiHeaders()
|
|
26614
26918
|
};
|
|
26615
26919
|
return [
|
|
26616
26920
|
4,
|
|
@@ -26674,7 +26978,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26674
26978
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26675
26979
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents?").concat(queryParams.toString());
|
|
26676
26980
|
params = {
|
|
26677
|
-
headers:
|
|
26981
|
+
headers: getCommonApiHeaders()
|
|
26678
26982
|
};
|
|
26679
26983
|
return [
|
|
26680
26984
|
4,
|
|
@@ -26734,7 +27038,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26734
27038
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26735
27039
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/transfers");
|
|
26736
27040
|
params = {
|
|
26737
|
-
headers:
|
|
27041
|
+
headers: getCommonApiHeaders()
|
|
26738
27042
|
};
|
|
26739
27043
|
return [
|
|
26740
27044
|
4,
|
|
@@ -26793,7 +27097,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26793
27097
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26794
27098
|
params = {
|
|
26795
27099
|
method: "PATCH",
|
|
26796
|
-
headers:
|
|
27100
|
+
headers: getCommonApiHeaders(),
|
|
26797
27101
|
body: JSON.stringify(requestBody)
|
|
26798
27102
|
};
|
|
26799
27103
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/").concat(id);
|
|
@@ -26856,7 +27160,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26856
27160
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26857
27161
|
params = {
|
|
26858
27162
|
method: "PATCH",
|
|
26859
|
-
headers:
|
|
27163
|
+
headers: getCommonApiHeaders(),
|
|
26860
27164
|
body: JSON.stringify(requestBody)
|
|
26861
27165
|
};
|
|
26862
27166
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/revoke/").concat(id);
|
|
@@ -26916,7 +27220,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26916
27220
|
cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
|
|
26917
27221
|
params = {
|
|
26918
27222
|
method: "GET",
|
|
26919
|
-
headers:
|
|
27223
|
+
headers: getCommonApiHeaders()
|
|
26920
27224
|
};
|
|
26921
27225
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/faqs");
|
|
26922
27226
|
return [
|
|
@@ -26972,7 +27276,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
26972
27276
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/password");
|
|
26973
27277
|
params = {
|
|
26974
27278
|
method: "POST",
|
|
26975
|
-
headers:
|
|
27279
|
+
headers: getCommonApiHeaders(),
|
|
26976
27280
|
body: JSON.stringify({
|
|
26977
27281
|
password: password
|
|
26978
27282
|
})
|
|
@@ -27031,7 +27335,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
27031
27335
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/password/change");
|
|
27032
27336
|
params = {
|
|
27033
27337
|
method: "POST",
|
|
27034
|
-
headers: _object_spread_props(_object_spread({},
|
|
27338
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
27035
27339
|
"X-Marqeta-Program-Short-Code": programShortCode,
|
|
27036
27340
|
"Authorization": "SSO ".concat(access_token)
|
|
27037
27341
|
}),
|
|
@@ -27112,7 +27416,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
27112
27416
|
}
|
|
27113
27417
|
params = {
|
|
27114
27418
|
method: "POST",
|
|
27115
|
-
headers: _object_spread_props(_object_spread({},
|
|
27419
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
27116
27420
|
"Content-Type": "application/json",
|
|
27117
27421
|
"X-Marqeta-Program-Short-Code": programShortCode
|
|
27118
27422
|
}),
|
|
@@ -27175,7 +27479,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
27175
27479
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/resend-verification-email");
|
|
27176
27480
|
params = {
|
|
27177
27481
|
method: "POST",
|
|
27178
|
-
headers: _object_spread_props(_object_spread({},
|
|
27482
|
+
headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
|
|
27179
27483
|
"Content-Type": "application/json"
|
|
27180
27484
|
}),
|
|
27181
27485
|
body: JSON.stringify({})
|
|
@@ -27233,7 +27537,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
27233
27537
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/verify-user-device");
|
|
27234
27538
|
params = {
|
|
27235
27539
|
method: "POST",
|
|
27236
|
-
headers:
|
|
27540
|
+
headers: getCommonApiHeaders(),
|
|
27237
27541
|
body: JSON.stringify(requestBody)
|
|
27238
27542
|
};
|
|
27239
27543
|
return [
|
|
@@ -27270,19 +27574,19 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
27270
27574
|
}();
|
|
27271
27575
|
__name(_RestWlaService, "RestWlaService");
|
|
27272
27576
|
var RestWlaService = _RestWlaService;
|
|
27273
|
-
|
|
27577
|
+
_ts_decorate76([
|
|
27274
27578
|
_inversify.inject.call(void 0, ITF_CACHE_SERVICE),
|
|
27275
|
-
|
|
27579
|
+
_ts_metadata21("design:type", typeof iCacheService === "undefined" ? Object : iCacheService)
|
|
27276
27580
|
], RestWlaService.prototype, "cacheService", void 0);
|
|
27277
|
-
|
|
27581
|
+
_ts_decorate76([
|
|
27278
27582
|
_inversify.inject.call(void 0, ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
27279
|
-
|
|
27583
|
+
_ts_metadata21("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
27280
27584
|
], RestWlaService.prototype, "httpClient", void 0);
|
|
27281
|
-
|
|
27585
|
+
_ts_decorate76([
|
|
27282
27586
|
_inversify.inject.call(void 0, ITF_HTTP_CLIENT),
|
|
27283
|
-
|
|
27587
|
+
_ts_metadata21("design:type", typeof iHttpClient === "undefined" ? Object : iHttpClient)
|
|
27284
27588
|
], RestWlaService.prototype, "unauthenticatedHttpClient", void 0);
|
|
27285
|
-
RestWlaService = exports.RestWlaService =
|
|
27589
|
+
RestWlaService = exports.RestWlaService = _ts_decorate76([
|
|
27286
27590
|
_inversify.injectable.call(void 0)
|
|
27287
27591
|
], RestWlaService);
|
|
27288
27592
|
function bookTransfer(payload) {
|
|
@@ -27598,12 +27902,12 @@ function _getAccountTransactions() {
|
|
|
27598
27902
|
transactionCount: _optionalChain([
|
|
27599
27903
|
result,
|
|
27600
27904
|
'access',
|
|
27601
|
-
function(
|
|
27602
|
-
return
|
|
27905
|
+
function(_180) {
|
|
27906
|
+
return _180.data;
|
|
27603
27907
|
},
|
|
27604
27908
|
'optionalAccess',
|
|
27605
|
-
function(
|
|
27606
|
-
return
|
|
27909
|
+
function(_181) {
|
|
27910
|
+
return _181.length;
|
|
27607
27911
|
}
|
|
27608
27912
|
]) || 0,
|
|
27609
27913
|
interactor: "getAccountTransactions"
|
|
@@ -27821,12 +28125,12 @@ function _getOffers() {
|
|
|
27821
28125
|
offerCount: _optionalChain([
|
|
27822
28126
|
result,
|
|
27823
28127
|
'access',
|
|
27824
|
-
function(
|
|
27825
|
-
return
|
|
28128
|
+
function(_182) {
|
|
28129
|
+
return _182.data;
|
|
27826
28130
|
},
|
|
27827
28131
|
'optionalAccess',
|
|
27828
|
-
function(
|
|
27829
|
-
return
|
|
28132
|
+
function(_183) {
|
|
28133
|
+
return _183.length;
|
|
27830
28134
|
}
|
|
27831
28135
|
]) || 0,
|
|
27832
28136
|
interactor: "getOffers"
|
|
@@ -28553,68 +28857,6 @@ function _setWlaCardPin() {
|
|
|
28553
28857
|
return _setWlaCardPin.apply(this, arguments);
|
|
28554
28858
|
}
|
|
28555
28859
|
__name(setWlaCardPin, "setWlaCardPin");
|
|
28556
|
-
function setWlaConfig(appVersion, deviceId, clientIp) {
|
|
28557
|
-
return _setWlaConfig.apply(this, arguments);
|
|
28558
|
-
}
|
|
28559
|
-
function _setWlaConfig() {
|
|
28560
|
-
_setWlaConfig = // src/wla/base/interactors/setWlaConfig.ts
|
|
28561
|
-
_async_to_generator(function(appVersion, deviceId, clientIp) {
|
|
28562
|
-
var container2, wlaService, error2;
|
|
28563
|
-
return _ts_generator(this, function(_state) {
|
|
28564
|
-
switch(_state.label){
|
|
28565
|
-
case 0:
|
|
28566
|
-
logDebug("Setting WLA config", {
|
|
28567
|
-
appVersion: appVersion,
|
|
28568
|
-
deviceId: deviceId,
|
|
28569
|
-
clientIp: clientIp,
|
|
28570
|
-
interactor: "setWlaConfig"
|
|
28571
|
-
});
|
|
28572
|
-
_state.label = 1;
|
|
28573
|
-
case 1:
|
|
28574
|
-
_state.trys.push([
|
|
28575
|
-
1,
|
|
28576
|
-
3,
|
|
28577
|
-
,
|
|
28578
|
-
4
|
|
28579
|
-
]);
|
|
28580
|
-
container2 = getActiveIocContainer();
|
|
28581
|
-
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
28582
|
-
return [
|
|
28583
|
-
4,
|
|
28584
|
-
wlaService.setAppConfig(appVersion, deviceId, clientIp)
|
|
28585
|
-
];
|
|
28586
|
-
case 2:
|
|
28587
|
-
_state.sent();
|
|
28588
|
-
logInfo("WLA config set successfully", {
|
|
28589
|
-
appVersion: appVersion,
|
|
28590
|
-
deviceId: deviceId,
|
|
28591
|
-
clientIp: clientIp,
|
|
28592
|
-
interactor: "setWlaConfig"
|
|
28593
|
-
});
|
|
28594
|
-
return [
|
|
28595
|
-
3,
|
|
28596
|
-
4
|
|
28597
|
-
];
|
|
28598
|
-
case 3:
|
|
28599
|
-
error2 = _state.sent();
|
|
28600
|
-
logError("Failed to set WLA config", {
|
|
28601
|
-
error: error2,
|
|
28602
|
-
appVersion: appVersion,
|
|
28603
|
-
deviceId: deviceId,
|
|
28604
|
-
clientIp: clientIp,
|
|
28605
|
-
interactor: "setWlaConfig"
|
|
28606
|
-
});
|
|
28607
|
-
throw error2;
|
|
28608
|
-
case 4:
|
|
28609
|
-
return [
|
|
28610
|
-
2
|
|
28611
|
-
];
|
|
28612
|
-
}
|
|
28613
|
-
});
|
|
28614
|
-
});
|
|
28615
|
-
return _setWlaConfig.apply(this, arguments);
|
|
28616
|
-
}
|
|
28617
|
-
__name(setWlaConfig, "setWlaConfig");
|
|
28618
28860
|
function updateConsentStatus(id) {
|
|
28619
28861
|
return _updateConsentStatus.apply(this, arguments);
|
|
28620
28862
|
}
|
|
@@ -28969,6 +29211,62 @@ function _postTransactionChallengeDecision() {
|
|
|
28969
29211
|
return _postTransactionChallengeDecision.apply(this, arguments);
|
|
28970
29212
|
}
|
|
28971
29213
|
__name(postTransactionChallengeDecision, "postTransactionChallengeDecision");
|
|
29214
|
+
function updateDevicePushNotificationsRegistration(requestBody) {
|
|
29215
|
+
return _updateDevicePushNotificationsRegistration.apply(this, arguments);
|
|
29216
|
+
}
|
|
29217
|
+
function _updateDevicePushNotificationsRegistration() {
|
|
29218
|
+
_updateDevicePushNotificationsRegistration = // src/wla/base/interactors/updateDevicePushNotificationsRegistration.ts
|
|
29219
|
+
_async_to_generator(function(requestBody) {
|
|
29220
|
+
var container2, wlaService, error2;
|
|
29221
|
+
return _ts_generator(this, function(_state) {
|
|
29222
|
+
switch(_state.label){
|
|
29223
|
+
case 0:
|
|
29224
|
+
logDebug("Updating device push notifications registration", {
|
|
29225
|
+
status: requestBody.is_active,
|
|
29226
|
+
interactor: "updateDevicePushNotificationsRegistration"
|
|
29227
|
+
});
|
|
29228
|
+
_state.label = 1;
|
|
29229
|
+
case 1:
|
|
29230
|
+
_state.trys.push([
|
|
29231
|
+
1,
|
|
29232
|
+
3,
|
|
29233
|
+
,
|
|
29234
|
+
4
|
|
29235
|
+
]);
|
|
29236
|
+
container2 = getActiveIocContainer();
|
|
29237
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
29238
|
+
return [
|
|
29239
|
+
4,
|
|
29240
|
+
wlaService.updateDevicePushNotificationRegistration(requestBody)
|
|
29241
|
+
];
|
|
29242
|
+
case 2:
|
|
29243
|
+
_state.sent();
|
|
29244
|
+
logInfo("Push notifications registration updated", {
|
|
29245
|
+
status: requestBody.is_active,
|
|
29246
|
+
interactor: "updateDevicePushNotificationsRegistration"
|
|
29247
|
+
});
|
|
29248
|
+
return [
|
|
29249
|
+
3,
|
|
29250
|
+
4
|
|
29251
|
+
];
|
|
29252
|
+
case 3:
|
|
29253
|
+
error2 = _state.sent();
|
|
29254
|
+
logError("Failed to update push notification registration", {
|
|
29255
|
+
error: error2,
|
|
29256
|
+
status: requestBody.is_active,
|
|
29257
|
+
interactor: "updateDevicePushNotificationsRegistration"
|
|
29258
|
+
});
|
|
29259
|
+
throw error2;
|
|
29260
|
+
case 4:
|
|
29261
|
+
return [
|
|
29262
|
+
2
|
|
29263
|
+
];
|
|
29264
|
+
}
|
|
29265
|
+
});
|
|
29266
|
+
});
|
|
29267
|
+
return _updateDevicePushNotificationsRegistration.apply(this, arguments);
|
|
29268
|
+
}
|
|
29269
|
+
__name(updateDevicePushNotificationsRegistration, "updateDevicePushNotificationsRegistration");
|
|
28972
29270
|
// src/wla/ioc/WlaIocModule.ts
|
|
28973
29271
|
var WlaIocModule = new (0, _inversify.ContainerModule)(function(bind) {
|
|
28974
29272
|
bind(ITF_WLA_SERVICE).to(RestWlaService).inSingletonScope();
|
|
@@ -29051,11 +29349,14 @@ exports.MockCacheService = MockCacheService;
|
|
|
29051
29349
|
exports.MockPersistedCacheService = MockPersistedCacheService;
|
|
29052
29350
|
exports.MockRegistryService = MockRegistryService;
|
|
29053
29351
|
exports.StandardizedError = StandardizedError;
|
|
29352
|
+
exports.setAppConfig = setAppConfig;
|
|
29353
|
+
exports.getAppConfig = getAppConfig;
|
|
29054
29354
|
exports.InMemRegistryService = InMemRegistryService;
|
|
29055
29355
|
exports.commonIOCModule = commonIOCModule;
|
|
29056
29356
|
exports.mockCommonIOCModule = mockCommonIOCModule;
|
|
29057
29357
|
exports.convertObjKeysToCamelCase = convertObjKeysToCamelCase;
|
|
29058
29358
|
exports.convertObjKeysToLowerCamelCase = convertObjKeysToLowerCamelCase;
|
|
29359
|
+
exports.getCommonApiHeaders = getCommonApiHeaders;
|
|
29059
29360
|
exports.getCardsByUserToken = getCardsByUserToken;
|
|
29060
29361
|
exports.getShowpanByCardToken = getShowpanByCardToken;
|
|
29061
29362
|
exports.activateCardByTokenOrPan = activateCardByTokenOrPan;
|
|
@@ -29259,8 +29560,11 @@ exports.mswDisputesHandlers = mswDisputesHandlers;
|
|
|
29259
29560
|
exports.ITF_FEATURE_FLAG_SERVICE = ITF_FEATURE_FLAG_SERVICE;
|
|
29260
29561
|
exports.featureFlagIsEnabled = featureFlagIsEnabled;
|
|
29261
29562
|
exports.loadFeatureFlags = loadFeatureFlags;
|
|
29563
|
+
exports.setAutoEnableDevFlags = setAutoEnableDevFlags;
|
|
29262
29564
|
exports.iFeatureFlagService = iFeatureFlagService;
|
|
29263
29565
|
exports.MockFeatureFlagService = MockFeatureFlagService;
|
|
29566
|
+
exports.FFLAGS_ASYNC_STORAGE_KEY = FFLAGS_ASYNC_STORAGE_KEY;
|
|
29567
|
+
exports.AsyncStorageFeatureFlagService = AsyncStorageFeatureFlagService;
|
|
29264
29568
|
exports.FFLAGS_SESSION_STORAGE_KEY = FFLAGS_SESSION_STORAGE_KEY;
|
|
29265
29569
|
exports.SessionStorageFeatureFlagService = SessionStorageFeatureFlagService;
|
|
29266
29570
|
exports.StubFeatureFlagService = StubFeatureFlagService;
|
|
@@ -29476,7 +29780,6 @@ exports.replaceWlaCard = replaceWlaCard;
|
|
|
29476
29780
|
exports.revokeConsent = revokeConsent;
|
|
29477
29781
|
exports.searchAtms = searchAtms;
|
|
29478
29782
|
exports.setWlaCardPin = setWlaCardPin;
|
|
29479
|
-
exports.setWlaConfig = setWlaConfig;
|
|
29480
29783
|
exports.updateConsentStatus = updateConsentStatus;
|
|
29481
29784
|
exports.updateExternalAccount = updateExternalAccount;
|
|
29482
29785
|
exports.verifyExternalAccount = verifyExternalAccount;
|
|
@@ -29488,6 +29791,7 @@ exports.verifyUserDevice = verifyUserDevice;
|
|
|
29488
29791
|
exports.getTransactionChallengeByToken = getTransactionChallengeByToken;
|
|
29489
29792
|
exports.getNextTransactionChallenge = getNextTransactionChallenge;
|
|
29490
29793
|
exports.postTransactionChallengeDecision = postTransactionChallengeDecision;
|
|
29794
|
+
exports.updateDevicePushNotificationsRegistration = updateDevicePushNotificationsRegistration;
|
|
29491
29795
|
exports.WlaIocModule = WlaIocModule;
|
|
29492
29796
|
exports.loadBaseContainerModules = loadBaseContainerModules;
|
|
29493
29797
|
exports.container = container; /*! Bundled license information:
|