@marqeta/ux-toolkit-sdk-javascript 2.28.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.
@@ -1820,6 +1820,86 @@ var _StandardizedError = /*#__PURE__*/ function(Error1) {
1820
1820
  }(_wrap_native_super(Error));
1821
1821
  __name(_StandardizedError, "StandardizedError");
1822
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");
1823
1903
  // src/common/ioc/commonIOCModule.ts
1824
1904
  // src/common/adapters/InMemRegistryService.ts
1825
1905
  function _ts_decorate12(decorators, target, key, desc) {
@@ -1923,6 +2003,22 @@ function convertObjKeysToLowerCamelCase(inputObj) {
1923
2003
  return newobj;
1924
2004
  }
1925
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");
1926
2022
  function getCardsByUserToken() {
1927
2023
  return _getCardsByUserToken.apply(this, arguments);
1928
2024
  }
@@ -2073,8 +2169,8 @@ function _activateCardByTokenOrPan() {
2073
2169
  state: _optionalChain([
2074
2170
  result,
2075
2171
  'optionalAccess',
2076
- function(_8) {
2077
- return _8.state;
2172
+ function(_12) {
2173
+ return _12.state;
2078
2174
  }
2079
2175
  ]),
2080
2176
  interactor: "activateCardByTokenOrPan"
@@ -2138,8 +2234,8 @@ function _lockCardByToken() {
2138
2234
  state: _optionalChain([
2139
2235
  result,
2140
2236
  'optionalAccess',
2141
- function(_9) {
2142
- return _9.state;
2237
+ function(_13) {
2238
+ return _13.state;
2143
2239
  }
2144
2240
  ]),
2145
2241
  interactor: "lockCardByToken"
@@ -2203,8 +2299,8 @@ function _replaceCardByToken() {
2203
2299
  newCardToken: _optionalChain([
2204
2300
  result,
2205
2301
  'optionalAccess',
2206
- function(_10) {
2207
- return _10.token;
2302
+ function(_14) {
2303
+ return _14.token;
2208
2304
  }
2209
2305
  ]),
2210
2306
  interactor: "replaceCardByToken"
@@ -2268,8 +2364,8 @@ function _unlockCardByToken() {
2268
2364
  state: _optionalChain([
2269
2365
  result,
2270
2366
  'optionalAccess',
2271
- function(_11) {
2272
- return _11.state;
2367
+ function(_15) {
2368
+ return _15.state;
2273
2369
  }
2274
2370
  ]),
2275
2371
  interactor: "unlockCardByToken"
@@ -4781,21 +4877,21 @@ function _checkHttpStandizedError() {
4781
4877
  error2 = _optionalChain([
4782
4878
  data,
4783
4879
  'optionalAccess',
4784
- function(_12) {
4785
- return _12.error;
4880
+ function(_16) {
4881
+ return _16.error;
4786
4882
  }
4787
4883
  ]);
4788
4884
  if (_optionalChain([
4789
4885
  error2,
4790
4886
  'optionalAccess',
4791
- function(_13) {
4792
- return _13.id;
4887
+ function(_17) {
4888
+ return _17.id;
4793
4889
  }
4794
4890
  ]) && _optionalChain([
4795
4891
  error2,
4796
4892
  'optionalAccess',
4797
- function(_14) {
4798
- return _14.debug;
4893
+ function(_18) {
4894
+ return _18.debug;
4799
4895
  }
4800
4896
  ])) {
4801
4897
  convertedDebug = error2.debug.map(function(item) {
@@ -4816,14 +4912,14 @@ function _checkHttpStandizedError() {
4816
4912
  if (_optionalChain([
4817
4913
  oauthError,
4818
4914
  'optionalAccess',
4819
- function(_15) {
4820
- return _15.error;
4915
+ function(_19) {
4916
+ return _19.error;
4821
4917
  }
4822
4918
  ]) && _optionalChain([
4823
4919
  oauthError,
4824
4920
  'optionalAccess',
4825
- function(_16) {
4826
- return _16.error_description;
4921
+ function(_20) {
4922
+ return _20.error_description;
4827
4923
  }
4828
4924
  ]) && !httpIsOk) {
4829
4925
  throw oauthError;
@@ -6424,8 +6520,8 @@ var _M2mAuthenticatedHttpClient = /*#__PURE__*/ function() {
6424
6520
  paramHeaders = _optionalChain([
6425
6521
  params,
6426
6522
  'optionalAccess',
6427
- function(_17) {
6428
- return _17.headers;
6523
+ function(_21) {
6524
+ return _21.headers;
6429
6525
  }
6430
6526
  ]);
6431
6527
  _tmp = [
@@ -6532,8 +6628,8 @@ var _M2mAuthenticatedHttpClient = /*#__PURE__*/ function() {
6532
6628
  var headers = _nullishCoalesce(_optionalChain([
6533
6629
  params,
6534
6630
  'optionalAccess',
6535
- function(_18) {
6536
- return _18.headers;
6631
+ function(_22) {
6632
+ return _22.headers;
6537
6633
  }
6538
6634
  ]), function() {
6539
6635
  return {};
@@ -6764,8 +6860,8 @@ var _SsoAuthenticatedHttpClient = /*#__PURE__*/ function() {
6764
6860
  paramHeaders = _optionalChain([
6765
6861
  params,
6766
6862
  'optionalAccess',
6767
- function(_19) {
6768
- return _19.headers;
6863
+ function(_23) {
6864
+ return _23.headers;
6769
6865
  }
6770
6866
  ]) || {};
6771
6867
  hasAuthorizationHeader = Boolean((typeof paramHeaders === "undefined" ? "undefined" : _type_of(paramHeaders)) === "object" && paramHeaders !== null && "Authorization" in paramHeaders);
@@ -7065,8 +7161,8 @@ var _RestAuthService = /*#__PURE__*/ function() {
7065
7161
  convertedData = convertObjKeysToLowerCamelCase(convertObjKeysToCamelCase(_optionalChain([
7066
7162
  data,
7067
7163
  'optionalAccess',
7068
- function(_20) {
7069
- return _20.data;
7164
+ function(_24) {
7165
+ return _24.data;
7070
7166
  }
7071
7167
  ])));
7072
7168
  cardholderContext = new CardholderContextEntity(convertedData);
@@ -7727,12 +7823,12 @@ var _RequestHandler = /*#__PURE__*/ function() {
7727
7823
  if (_this.isUsed && _optionalChain([
7728
7824
  _this,
7729
7825
  'access',
7730
- function(_21) {
7731
- return _21.options;
7826
+ function(_25) {
7827
+ return _25.options;
7732
7828
  },
7733
7829
  'optionalAccess',
7734
- function(_22) {
7735
- return _22.once;
7830
+ function(_26) {
7831
+ return _26.once;
7736
7832
  }
7737
7833
  ])) {
7738
7834
  return [
@@ -7764,12 +7860,12 @@ var _RequestHandler = /*#__PURE__*/ function() {
7764
7860
  if (_this.isUsed && _optionalChain([
7765
7861
  _this,
7766
7862
  'access',
7767
- function(_23) {
7768
- return _23.options;
7863
+ function(_27) {
7864
+ return _27.options;
7769
7865
  },
7770
7866
  'optionalAccess',
7771
- function(_24) {
7772
- return _24.once;
7867
+ function(_28) {
7868
+ return _28.once;
7773
7869
  }
7774
7870
  ])) {
7775
7871
  return [
@@ -7868,12 +7964,12 @@ var _RequestHandler = /*#__PURE__*/ function() {
7868
7964
  _this.resolverGeneratorResult = _optionalChain([
7869
7965
  nextResponse,
7870
7966
  'optionalAccess',
7871
- function(_25) {
7872
- return _25.clone;
7967
+ function(_29) {
7968
+ return _29.clone;
7873
7969
  },
7874
7970
  'call',
7875
- function(_26) {
7876
- return _26();
7971
+ function(_30) {
7972
+ return _30();
7877
7973
  }
7878
7974
  ]);
7879
7975
  }
@@ -9135,7 +9231,7 @@ function isPropertyAccessible(object, method) {
9135
9231
  try {
9136
9232
  object[method];
9137
9233
  return true;
9138
- } catch (e2) {
9234
+ } catch (e4) {
9139
9235
  return false;
9140
9236
  }
9141
9237
  }
@@ -9329,20 +9425,20 @@ function getAllRequestCookies(request) {
9329
9425
  var cookiesFromStore = Array.from(_optionalChain([
9330
9426
  store,
9331
9427
  'access',
9332
- function(_27) {
9333
- return _27.get;
9428
+ function(_31) {
9429
+ return _31.get;
9334
9430
  },
9335
9431
  'call',
9336
- function(_28) {
9337
- return _28(request);
9432
+ function(_32) {
9433
+ return _32(request);
9338
9434
  },
9339
9435
  'optionalAccess',
9340
- function(_29) {
9341
- return _29.entries;
9436
+ function(_33) {
9437
+ return _33.entries;
9342
9438
  },
9343
9439
  'call',
9344
- function(_30) {
9345
- return _30();
9440
+ function(_34) {
9441
+ return _34();
9346
9442
  }
9347
9443
  ])).reduce(function(cookies, param) {
9348
9444
  var _param = _sliced_to_array(param, 2), name = _param[0], value = _param[1].value;
@@ -9433,12 +9529,12 @@ var _HttpHandler = /*#__PURE__*/ function(RequestHandler) {
9433
9529
  match2 = matchRequestUrl(url, _this.info.path, _optionalChain([
9434
9530
  args,
9435
9531
  'access',
9436
- function(_31) {
9437
- return _31.resolutionContext;
9532
+ function(_35) {
9533
+ return _35.resolutionContext;
9438
9534
  },
9439
9535
  'optionalAccess',
9440
- function(_32) {
9441
- return _32.baseUrl;
9536
+ function(_36) {
9537
+ return _36.baseUrl;
9442
9538
  }
9443
9539
  ]));
9444
9540
  cookies = getAllRequestCookies(args.request);
@@ -9474,16 +9570,16 @@ var _HttpHandler = /*#__PURE__*/ function(RequestHandler) {
9474
9570
  params: _optionalChain([
9475
9571
  args,
9476
9572
  'access',
9477
- function(_33) {
9478
- return _33.parsedResult;
9573
+ function(_37) {
9574
+ return _37.parsedResult;
9479
9575
  },
9480
9576
  'access',
9481
- function(_34) {
9482
- return _34.match;
9577
+ function(_38) {
9578
+ return _38.match;
9483
9579
  },
9484
9580
  'optionalAccess',
9485
- function(_35) {
9486
- return _35.params;
9581
+ function(_39) {
9582
+ return _39.params;
9487
9583
  }
9488
9584
  ]) || {},
9489
9585
  cookies: args.parsedResult.cookies
@@ -9876,12 +9972,12 @@ var Headers2 = (_a6 = /*#__PURE__*/ function() {
9876
9972
  ].includes(_optionalChain([
9877
9973
  init,
9878
9974
  'optionalAccess',
9879
- function(_36) {
9880
- return _36.constructor;
9975
+ function(_40) {
9976
+ return _40.constructor;
9881
9977
  },
9882
9978
  'access',
9883
- function(_37) {
9884
- return _37.name;
9979
+ function(_41) {
9980
+ return _41.name;
9885
9981
  }
9886
9982
  ])) || _instanceof(init, _a6) || typeof globalThis.Headers !== "undefined" && _instanceof(init, globalThis.Headers)) {
9887
9983
  var initialHeaders = init;
@@ -10320,22 +10416,22 @@ function normalizeResponseInit() {
10320
10416
  var status = _optionalChain([
10321
10417
  init,
10322
10418
  'optionalAccess',
10323
- function(_38) {
10324
- return _38.status;
10419
+ function(_42) {
10420
+ return _42.status;
10325
10421
  }
10326
10422
  ]) || 200;
10327
10423
  var statusText = _optionalChain([
10328
10424
  init,
10329
10425
  'optionalAccess',
10330
- function(_39) {
10331
- return _39.statusText;
10426
+ function(_43) {
10427
+ return _43.statusText;
10332
10428
  }
10333
10429
  ]) || message2[status] || "";
10334
10430
  var headers = new Headers(_optionalChain([
10335
10431
  init,
10336
10432
  'optionalAccess',
10337
- function(_40) {
10338
- return _40.headers;
10433
+ function(_44) {
10434
+ return _44.headers;
10339
10435
  }
10340
10436
  ]));
10341
10437
  return _object_spread_props(_object_spread({}, init), {
@@ -12536,12 +12632,12 @@ var mswAccountHandlers = [
12536
12632
  _$_optionalChain = _sliced_to_array(_optionalChain([
12537
12633
  authorization,
12538
12634
  'optionalAccess',
12539
- function(_41) {
12540
- return _41.split;
12635
+ function(_45) {
12636
+ return _45.split;
12541
12637
  },
12542
12638
  'call',
12543
- function(_42) {
12544
- return _42(" ");
12639
+ function(_46) {
12640
+ return _46(" ");
12545
12641
  }
12546
12642
  ]), 2), _ = _$_optionalChain[0], token = _$_optionalChain[1];
12547
12643
  userStatus = "ACTIVE";
@@ -13729,12 +13825,12 @@ var _RestComponentsRepository = /*#__PURE__*/ function() {
13729
13825
  componentCount: _optionalChain([
13730
13826
  data,
13731
13827
  'access',
13732
- function(_43) {
13733
- return _43.components;
13828
+ function(_47) {
13829
+ return _47.components;
13734
13830
  },
13735
13831
  'optionalAccess',
13736
- function(_44) {
13737
- return _44.length;
13832
+ function(_48) {
13833
+ return _48.length;
13738
13834
  }
13739
13835
  ]) || 0,
13740
13836
  adapter: "RestComponentsRepository"
@@ -14260,16 +14356,16 @@ function _retrieveDocumentForDispute() {
14260
14356
  documentCount: _optionalChain([
14261
14357
  result,
14262
14358
  'access',
14263
- function(_45) {
14264
- return _45.data;
14359
+ function(_49) {
14360
+ return _49.data;
14265
14361
  },
14266
14362
  'optionalAccess',
14267
- function(_46) {
14268
- return _46.documents;
14363
+ function(_50) {
14364
+ return _50.documents;
14269
14365
  },
14270
14366
  'optionalAccess',
14271
- function(_47) {
14272
- return _47.length;
14367
+ function(_51) {
14368
+ return _51.length;
14273
14369
  }
14274
14370
  ]) || 0,
14275
14371
  interactor: "retrieveDocumentForDispute"
@@ -15125,12 +15221,12 @@ var _RestDisputeRepository = /*#__PURE__*/ function() {
15125
15221
  stepCount: _optionalChain([
15126
15222
  result,
15127
15223
  'access',
15128
- function(_48) {
15129
- return _48.steps;
15224
+ function(_52) {
15225
+ return _52.steps;
15130
15226
  },
15131
15227
  'optionalAccess',
15132
- function(_49) {
15133
- return _49.length;
15228
+ function(_53) {
15229
+ return _53.length;
15134
15230
  }
15135
15231
  ]),
15136
15232
  adapter: "RestDisputeRepository"
@@ -15451,16 +15547,16 @@ var _RestDisputeRepository = /*#__PURE__*/ function() {
15451
15547
  documentCount: _optionalChain([
15452
15548
  result,
15453
15549
  'access',
15454
- function(_50) {
15455
- return _50.data;
15550
+ function(_54) {
15551
+ return _54.data;
15456
15552
  },
15457
15553
  'optionalAccess',
15458
- function(_51) {
15459
- return _51.documents;
15554
+ function(_55) {
15555
+ return _55.documents;
15460
15556
  },
15461
15557
  'optionalAccess',
15462
- function(_52) {
15463
- return _52.length;
15558
+ function(_56) {
15559
+ return _56.length;
15464
15560
  }
15465
15561
  ]),
15466
15562
  adapter: "RestDisputeRepository"
@@ -15625,65 +15721,65 @@ var mswDisputesHandlers = [
15625
15721
  var initalQnAns = _optionalChain([
15626
15722
  CUR_STEP1_RESPONSE,
15627
15723
  'access',
15628
- function(_53) {
15629
- return _53.defaultValues;
15724
+ function(_57) {
15725
+ return _57.defaultValues;
15630
15726
  },
15631
15727
  'optionalAccess',
15632
- function(_54) {
15633
- return _54["Q-INITIAL-QUESTION"];
15728
+ function(_58) {
15729
+ return _58["Q-INITIAL-QUESTION"];
15634
15730
  }
15635
15731
  ]);
15636
15732
  if (initalQnAns) {
15637
15733
  var initalQnReadableAns = _optionalChain([
15638
15734
  CUR_STEP1_RESPONSE,
15639
15735
  'access',
15640
- function(_55) {
15641
- return _55.schema;
15736
+ function(_59) {
15737
+ return _59.schema;
15642
15738
  },
15643
15739
  'optionalAccess',
15644
- function(_56) {
15645
- return _56.properties;
15740
+ function(_60) {
15741
+ return _60.properties;
15646
15742
  },
15647
15743
  'optionalAccess',
15648
- function(_57) {
15649
- return _57["Q-INITIAL-QUESTION"];
15744
+ function(_61) {
15745
+ return _61["Q-INITIAL-QUESTION"];
15650
15746
  },
15651
15747
  'optionalAccess',
15652
- function(_58) {
15653
- return _58.oneOf;
15748
+ function(_62) {
15749
+ return _62.oneOf;
15654
15750
  },
15655
15751
  'optionalAccess',
15656
- function(_59) {
15657
- return _59.find;
15752
+ function(_63) {
15753
+ return _63.find;
15658
15754
  },
15659
15755
  'call',
15660
- function(_60) {
15661
- return _60(function(val) {
15756
+ function(_64) {
15757
+ return _64(function(val) {
15662
15758
  return val.const === initalQnAns;
15663
15759
  });
15664
15760
  },
15665
15761
  'optionalAccess',
15666
- function(_61) {
15667
- return _61.title;
15762
+ function(_65) {
15763
+ return _65.title;
15668
15764
  }
15669
15765
  ]);
15670
15766
  var initialQuestion = _optionalChain([
15671
15767
  CUR_STEP1_RESPONSE,
15672
15768
  'access',
15673
- function(_62) {
15674
- return _62.schema;
15769
+ function(_66) {
15770
+ return _66.schema;
15675
15771
  },
15676
15772
  'optionalAccess',
15677
- function(_63) {
15678
- return _63.properties;
15773
+ function(_67) {
15774
+ return _67.properties;
15679
15775
  },
15680
15776
  'optionalAccess',
15681
- function(_64) {
15682
- return _64["Q-INITIAL-QUESTION"];
15777
+ function(_68) {
15778
+ return _68["Q-INITIAL-QUESTION"];
15683
15779
  },
15684
15780
  'optionalAccess',
15685
- function(_65) {
15686
- return _65.title;
15781
+ function(_69) {
15782
+ return _69.title;
15687
15783
  }
15688
15784
  ]);
15689
15785
  if (initialQuestion && initalQnReadableAns) {
@@ -15699,64 +15795,64 @@ var mswDisputesHandlers = [
15699
15795
  var fraudQnAns = _optionalChain([
15700
15796
  CUR_FRAUD_STEP_RESPONSE,
15701
15797
  'access',
15702
- function(_66) {
15703
- return _66.defaultValues;
15798
+ function(_70) {
15799
+ return _70.defaultValues;
15704
15800
  },
15705
15801
  'optionalAccess',
15706
- function(_67) {
15707
- return _67["Q-card-with-user"];
15802
+ function(_71) {
15803
+ return _71["Q-card-with-user"];
15708
15804
  }
15709
15805
  ]);
15710
15806
  var fraudQnReadableAns = _optionalChain([
15711
15807
  CUR_FRAUD_STEP_RESPONSE,
15712
15808
  'access',
15713
- function(_68) {
15714
- return _68.schema;
15809
+ function(_72) {
15810
+ return _72.schema;
15715
15811
  },
15716
15812
  'optionalAccess',
15717
- function(_69) {
15718
- return _69.properties;
15813
+ function(_73) {
15814
+ return _73.properties;
15719
15815
  },
15720
15816
  'optionalAccess',
15721
- function(_70) {
15722
- return _70["Q-card-with-user"];
15817
+ function(_74) {
15818
+ return _74["Q-card-with-user"];
15723
15819
  },
15724
15820
  'optionalAccess',
15725
- function(_71) {
15726
- return _71.oneOf;
15821
+ function(_75) {
15822
+ return _75.oneOf;
15727
15823
  },
15728
15824
  'optionalAccess',
15729
- function(_72) {
15730
- return _72.find;
15825
+ function(_76) {
15826
+ return _76.find;
15731
15827
  },
15732
15828
  'call',
15733
- function(_73) {
15734
- return _73(function(val) {
15829
+ function(_77) {
15830
+ return _77(function(val) {
15735
15831
  return val.const === fraudQnAns;
15736
15832
  });
15737
15833
  },
15738
15834
  'optionalAccess',
15739
- function(_74) {
15740
- return _74.title;
15835
+ function(_78) {
15836
+ return _78.title;
15741
15837
  }
15742
15838
  ]);
15743
15839
  var fraudQuestion = _optionalChain([
15744
15840
  CUR_FRAUD_STEP_RESPONSE,
15745
15841
  'access',
15746
- function(_75) {
15747
- return _75.schema;
15842
+ function(_79) {
15843
+ return _79.schema;
15748
15844
  },
15749
15845
  'optionalAccess',
15750
- function(_76) {
15751
- return _76.properties;
15846
+ function(_80) {
15847
+ return _80.properties;
15752
15848
  },
15753
15849
  'optionalAccess',
15754
- function(_77) {
15755
- return _77["Q-card-with-user"];
15850
+ function(_81) {
15851
+ return _81["Q-card-with-user"];
15756
15852
  },
15757
15853
  'optionalAccess',
15758
- function(_78) {
15759
- return _78.title;
15854
+ function(_82) {
15855
+ return _82.title;
15760
15856
  }
15761
15857
  ]);
15762
15858
  if (fraudQnReadableAns && fraudQuestion) answersForReview.push({
@@ -15769,64 +15865,64 @@ var mswDisputesHandlers = [
15769
15865
  var recognizedQnAns = _optionalChain([
15770
15866
  CUR_RECOGNIZED_TRANSACTION_RESPONSE,
15771
15867
  'access',
15772
- function(_79) {
15773
- return _79.defaultValues;
15868
+ function(_83) {
15869
+ return _83.defaultValues;
15774
15870
  },
15775
15871
  'optionalAccess',
15776
- function(_80) {
15777
- return _80.Q2;
15872
+ function(_84) {
15873
+ return _84.Q2;
15778
15874
  }
15779
15875
  ]);
15780
15876
  var recognizedQnReadableAns = _optionalChain([
15781
15877
  CUR_RECOGNIZED_TRANSACTION_RESPONSE,
15782
15878
  'access',
15783
- function(_81) {
15784
- return _81.schema;
15879
+ function(_85) {
15880
+ return _85.schema;
15785
15881
  },
15786
15882
  'optionalAccess',
15787
- function(_82) {
15788
- return _82.properties;
15883
+ function(_86) {
15884
+ return _86.properties;
15789
15885
  },
15790
15886
  'optionalAccess',
15791
- function(_83) {
15792
- return _83.Q2;
15887
+ function(_87) {
15888
+ return _87.Q2;
15793
15889
  },
15794
15890
  'optionalAccess',
15795
- function(_84) {
15796
- return _84.oneOf;
15891
+ function(_88) {
15892
+ return _88.oneOf;
15797
15893
  },
15798
15894
  'optionalAccess',
15799
- function(_85) {
15800
- return _85.find;
15895
+ function(_89) {
15896
+ return _89.find;
15801
15897
  },
15802
15898
  'call',
15803
- function(_86) {
15804
- return _86(function(val) {
15899
+ function(_90) {
15900
+ return _90(function(val) {
15805
15901
  return val.const === recognizedQnAns;
15806
15902
  });
15807
15903
  },
15808
15904
  'optionalAccess',
15809
- function(_87) {
15810
- return _87.title;
15905
+ function(_91) {
15906
+ return _91.title;
15811
15907
  }
15812
15908
  ]);
15813
15909
  var recognizedQuestion = _optionalChain([
15814
15910
  CUR_RECOGNIZED_TRANSACTION_RESPONSE,
15815
15911
  'access',
15816
- function(_88) {
15817
- return _88.schema;
15912
+ function(_92) {
15913
+ return _92.schema;
15818
15914
  },
15819
15915
  'optionalAccess',
15820
- function(_89) {
15821
- return _89.properties;
15916
+ function(_93) {
15917
+ return _93.properties;
15822
15918
  },
15823
15919
  'optionalAccess',
15824
- function(_90) {
15825
- return _90.Q2;
15920
+ function(_94) {
15921
+ return _94.Q2;
15826
15922
  },
15827
15923
  'optionalAccess',
15828
- function(_91) {
15829
- return _91.title;
15924
+ function(_95) {
15925
+ return _95.title;
15830
15926
  }
15831
15927
  ]);
15832
15928
  if (recognizedQnReadableAns && recognizedQuestion) {
@@ -15842,65 +15938,65 @@ var mswDisputesHandlers = [
15842
15938
  var amountQnAns = _optionalChain([
15843
15939
  CUR_AMOUNT_STEP_RESPONSE,
15844
15940
  'access',
15845
- function(_92) {
15846
- return _92.defaultValues;
15941
+ function(_96) {
15942
+ return _96.defaultValues;
15847
15943
  },
15848
15944
  'optionalAccess',
15849
- function(_93) {
15850
- return _93.Q13;
15945
+ function(_97) {
15946
+ return _97.Q13;
15851
15947
  }
15852
15948
  ]);
15853
15949
  if (amountQnAns) {
15854
15950
  var amountQnReadableAns = _optionalChain([
15855
15951
  CUR_AMOUNT_STEP_RESPONSE,
15856
15952
  'access',
15857
- function(_94) {
15858
- return _94.schema;
15953
+ function(_98) {
15954
+ return _98.schema;
15859
15955
  },
15860
15956
  'optionalAccess',
15861
- function(_95) {
15862
- return _95.properties;
15957
+ function(_99) {
15958
+ return _99.properties;
15863
15959
  },
15864
15960
  'optionalAccess',
15865
- function(_96) {
15866
- return _96.Q13;
15961
+ function(_100) {
15962
+ return _100.Q13;
15867
15963
  },
15868
15964
  'optionalAccess',
15869
- function(_97) {
15870
- return _97.oneOf;
15965
+ function(_101) {
15966
+ return _101.oneOf;
15871
15967
  },
15872
15968
  'optionalAccess',
15873
- function(_98) {
15874
- return _98.find;
15969
+ function(_102) {
15970
+ return _102.find;
15875
15971
  },
15876
15972
  'call',
15877
- function(_99) {
15878
- return _99(function(val) {
15973
+ function(_103) {
15974
+ return _103(function(val) {
15879
15975
  return val.const === amountQnAns;
15880
15976
  });
15881
15977
  },
15882
15978
  'optionalAccess',
15883
- function(_100) {
15884
- return _100.title;
15979
+ function(_104) {
15980
+ return _104.title;
15885
15981
  }
15886
15982
  ]);
15887
15983
  var amountQuestion = _optionalChain([
15888
15984
  CUR_AMOUNT_STEP_RESPONSE,
15889
15985
  'access',
15890
- function(_101) {
15891
- return _101.schema;
15986
+ function(_105) {
15987
+ return _105.schema;
15892
15988
  },
15893
15989
  'optionalAccess',
15894
- function(_102) {
15895
- return _102.properties;
15990
+ function(_106) {
15991
+ return _106.properties;
15896
15992
  },
15897
15993
  'optionalAccess',
15898
- function(_103) {
15899
- return _103.Q13;
15994
+ function(_107) {
15995
+ return _107.Q13;
15900
15996
  },
15901
15997
  'optionalAccess',
15902
- function(_104) {
15903
- return _104.title;
15998
+ function(_108) {
15999
+ return _108.title;
15904
16000
  }
15905
16001
  ]);
15906
16002
  if (amountQnReadableAns && amountQuestion) {
@@ -15913,48 +16009,48 @@ var mswDisputesHandlers = [
15913
16009
  if (_optionalChain([
15914
16010
  CUR_AMOUNT_STEP_RESPONSE,
15915
16011
  'access',
15916
- function(_105) {
15917
- return _105.defaultValues;
16012
+ function(_109) {
16013
+ return _109.defaultValues;
15918
16014
  },
15919
16015
  'optionalAccess',
15920
- function(_106) {
15921
- return _106.Q100;
16016
+ function(_110) {
16017
+ return _110.Q100;
15922
16018
  }
15923
16019
  ])) {
15924
16020
  answersForReview.push({
15925
16021
  question: _optionalChain([
15926
16022
  CUR_AMOUNT_STEP_RESPONSE,
15927
16023
  'access',
15928
- function(_107) {
15929
- return _107.schema;
16024
+ function(_111) {
16025
+ return _111.schema;
15930
16026
  },
15931
16027
  'optionalAccess',
15932
- function(_108) {
15933
- return _108.dependencies;
16028
+ function(_112) {
16029
+ return _112.dependencies;
15934
16030
  },
15935
16031
  'optionalAccess',
15936
- function(_109) {
15937
- return _109.Q13;
16032
+ function(_113) {
16033
+ return _113.Q13;
15938
16034
  },
15939
16035
  'optionalAccess',
15940
- function(_110) {
15941
- return _110.oneOf;
16036
+ function(_114) {
16037
+ return _114.oneOf;
15942
16038
  },
15943
16039
  'optionalAccess',
15944
- function(_111) {
15945
- return _111[0];
16040
+ function(_115) {
16041
+ return _115[0];
15946
16042
  },
15947
16043
  'optionalAccess',
15948
- function(_112) {
15949
- return _112.properties;
16044
+ function(_116) {
16045
+ return _116.properties;
15950
16046
  },
15951
16047
  'optionalAccess',
15952
- function(_113) {
15953
- return _113.Q100;
16048
+ function(_117) {
16049
+ return _117.Q100;
15954
16050
  },
15955
16051
  'optionalAccess',
15956
- function(_114) {
15957
- return _114.title;
16052
+ function(_118) {
16053
+ return _118.title;
15958
16054
  }
15959
16055
  ]),
15960
16056
  answers: [
@@ -15965,48 +16061,48 @@ var mswDisputesHandlers = [
15965
16061
  if (_optionalChain([
15966
16062
  CUR_AMOUNT_STEP_RESPONSE,
15967
16063
  'access',
15968
- function(_115) {
15969
- return _115.defaultValues;
16064
+ function(_119) {
16065
+ return _119.defaultValues;
15970
16066
  },
15971
16067
  'optionalAccess',
15972
- function(_116) {
15973
- return _116.Q14;
16068
+ function(_120) {
16069
+ return _120.Q14;
15974
16070
  }
15975
16071
  ])) {
15976
16072
  answersForReview.push({
15977
16073
  question: _optionalChain([
15978
16074
  CUR_AMOUNT_STEP_RESPONSE,
15979
16075
  'access',
15980
- function(_117) {
15981
- return _117.schema;
16076
+ function(_121) {
16077
+ return _121.schema;
15982
16078
  },
15983
16079
  'optionalAccess',
15984
- function(_118) {
15985
- return _118.dependencies;
16080
+ function(_122) {
16081
+ return _122.dependencies;
15986
16082
  },
15987
16083
  'optionalAccess',
15988
- function(_119) {
15989
- return _119.Q13;
16084
+ function(_123) {
16085
+ return _123.Q13;
15990
16086
  },
15991
16087
  'optionalAccess',
15992
- function(_120) {
15993
- return _120.oneOf;
16088
+ function(_124) {
16089
+ return _124.oneOf;
15994
16090
  },
15995
16091
  'optionalAccess',
15996
- function(_121) {
15997
- return _121[1];
16092
+ function(_125) {
16093
+ return _125[1];
15998
16094
  },
15999
16095
  'optionalAccess',
16000
- function(_122) {
16001
- return _122.properties;
16096
+ function(_126) {
16097
+ return _126.properties;
16002
16098
  },
16003
16099
  'optionalAccess',
16004
- function(_123) {
16005
- return _123.Q14;
16100
+ function(_127) {
16101
+ return _127.Q14;
16006
16102
  },
16007
16103
  'optionalAccess',
16008
- function(_124) {
16009
- return _124.title;
16104
+ function(_128) {
16105
+ return _128.title;
16010
16106
  }
16011
16107
  ]),
16012
16108
  answers: [
@@ -16017,48 +16113,48 @@ var mswDisputesHandlers = [
16017
16113
  if (_optionalChain([
16018
16114
  CUR_AMOUNT_STEP_RESPONSE,
16019
16115
  'access',
16020
- function(_125) {
16021
- return _125.defaultValues;
16116
+ function(_129) {
16117
+ return _129.defaultValues;
16022
16118
  },
16023
16119
  'optionalAccess',
16024
- function(_126) {
16025
- return _126.Q15;
16120
+ function(_130) {
16121
+ return _130.Q15;
16026
16122
  }
16027
16123
  ])) {
16028
16124
  answersForReview.push({
16029
16125
  question: _optionalChain([
16030
16126
  CUR_AMOUNT_STEP_RESPONSE,
16031
16127
  'access',
16032
- function(_127) {
16033
- return _127.schema;
16128
+ function(_131) {
16129
+ return _131.schema;
16034
16130
  },
16035
16131
  'optionalAccess',
16036
- function(_128) {
16037
- return _128.dependencies;
16132
+ function(_132) {
16133
+ return _132.dependencies;
16038
16134
  },
16039
16135
  'optionalAccess',
16040
- function(_129) {
16041
- return _129.Q13;
16136
+ function(_133) {
16137
+ return _133.Q13;
16042
16138
  },
16043
16139
  'optionalAccess',
16044
- function(_130) {
16045
- return _130.oneOf;
16140
+ function(_134) {
16141
+ return _134.oneOf;
16046
16142
  },
16047
16143
  'optionalAccess',
16048
- function(_131) {
16049
- return _131[1];
16144
+ function(_135) {
16145
+ return _135[1];
16050
16146
  },
16051
16147
  'optionalAccess',
16052
- function(_132) {
16053
- return _132.properties;
16148
+ function(_136) {
16149
+ return _136.properties;
16054
16150
  },
16055
16151
  'optionalAccess',
16056
- function(_133) {
16057
- return _133.Q15;
16152
+ function(_137) {
16153
+ return _137.Q15;
16058
16154
  },
16059
16155
  'optionalAccess',
16060
- function(_134) {
16061
- return _134.title;
16156
+ function(_138) {
16157
+ return _138.title;
16062
16158
  }
16063
16159
  ]),
16064
16160
  answers: [
@@ -16210,12 +16306,12 @@ var mswDisputesHandlers = [
16210
16306
  var initialQuestionAnswer = _optionalChain([
16211
16307
  CUR_STEP1_RESPONSE,
16212
16308
  'access',
16213
- function(_135) {
16214
- return _135.defaultValues;
16309
+ function(_139) {
16310
+ return _139.defaultValues;
16215
16311
  },
16216
16312
  'optionalAccess',
16217
- function(_136) {
16218
- return _136["Q-INITIAL-QUESTION"];
16313
+ function(_140) {
16314
+ return _140["Q-INITIAL-QUESTION"];
16219
16315
  }
16220
16316
  ]);
16221
16317
  switch(initialQuestionAnswer){
@@ -17821,14 +17917,14 @@ var _RestKycRepository = /*#__PURE__*/ function() {
17821
17917
  if (_optionalChain([
17822
17918
  error2,
17823
17919
  'optionalAccess',
17824
- function(_137) {
17825
- return _137.msg;
17920
+ function(_141) {
17921
+ return _141.msg;
17826
17922
  }
17827
17923
  ]) && _optionalChain([
17828
17924
  error2,
17829
17925
  'optionalAccess',
17830
- function(_138) {
17831
- return _138.debug;
17926
+ function(_142) {
17927
+ return _142.debug;
17832
17928
  }
17833
17929
  ])) {
17834
17930
  logError("KYC verification failed with standardized error", {
@@ -17886,12 +17982,12 @@ function _postVerifyKyb() {
17886
17982
  if (kybVerificationAttributes.locale_code === "INVALID" || !_optionalChain([
17887
17983
  kybVerificationAttributes,
17888
17984
  'access',
17889
- function(_139) {
17890
- return _139.answers;
17985
+ function(_143) {
17986
+ return _143.answers;
17891
17987
  },
17892
17988
  'optionalAccess',
17893
- function(_140) {
17894
- return _140.length;
17989
+ function(_144) {
17990
+ return _144.length;
17895
17991
  }
17896
17992
  ])) {
17897
17993
  logError("Invalid KYB request - invalid locale or no answers", {
@@ -17903,16 +17999,16 @@ function _postVerifyKyb() {
17903
17999
  hasErrorValue = _optionalChain([
17904
18000
  kybVerificationAttributes,
17905
18001
  'access',
17906
- function(_141) {
17907
- return _141.answers;
18002
+ function(_145) {
18003
+ return _145.answers;
17908
18004
  },
17909
18005
  'optionalAccess',
17910
- function(_142) {
17911
- return _142.some;
18006
+ function(_146) {
18007
+ return _146.some;
17912
18008
  },
17913
18009
  'call',
17914
- function(_143) {
17915
- return _143(function(answer) {
18010
+ function(_147) {
18011
+ return _147(function(answer) {
17916
18012
  return [
17917
18013
  "222222222",
17918
18014
  "444444444",
@@ -19394,14 +19490,14 @@ var _RestKybRepository = /*#__PURE__*/ function() {
19394
19490
  if (_optionalChain([
19395
19491
  error2,
19396
19492
  'optionalAccess',
19397
- function(_144) {
19398
- return _144.msg;
19493
+ function(_148) {
19494
+ return _148.msg;
19399
19495
  }
19400
19496
  ]) && _optionalChain([
19401
19497
  error2,
19402
19498
  'optionalAccess',
19403
- function(_145) {
19404
- return _145.debug;
19499
+ function(_149) {
19500
+ return _149.debug;
19405
19501
  }
19406
19502
  ])) {
19407
19503
  logError("KYB onboarding initialization failed with standardized error", {
@@ -19469,14 +19565,14 @@ var _RestKybRepository = /*#__PURE__*/ function() {
19469
19565
  if (_optionalChain([
19470
19566
  error2,
19471
19567
  'optionalAccess',
19472
- function(_146) {
19473
- return _146.msg;
19568
+ function(_150) {
19569
+ return _150.msg;
19474
19570
  }
19475
19571
  ]) && _optionalChain([
19476
19572
  error2,
19477
19573
  'optionalAccess',
19478
- function(_147) {
19479
- return _147.debug;
19574
+ function(_151) {
19575
+ return _151.debug;
19480
19576
  }
19481
19577
  ])) {
19482
19578
  logError("KYB verification failed with standardized error", {
@@ -19815,12 +19911,12 @@ var _RestMoneyMovementRepository = /*#__PURE__*/ function() {
19815
19911
  cardCount: _optionalChain([
19816
19912
  result,
19817
19913
  'access',
19818
- function(_148) {
19819
- return _148.data;
19914
+ function(_152) {
19915
+ return _152.data;
19820
19916
  },
19821
19917
  'optionalAccess',
19822
- function(_149) {
19823
- return _149.length;
19918
+ function(_153) {
19919
+ return _153.length;
19824
19920
  }
19825
19921
  ]) || 0,
19826
19922
  adapter: "RestMoneyMovementRepository"
@@ -20317,12 +20413,12 @@ function _getExternalCards() {
20317
20413
  cardCount: _optionalChain([
20318
20414
  result,
20319
20415
  'access',
20320
- function(_150) {
20321
- return _150.data;
20416
+ function(_154) {
20417
+ return _154.data;
20322
20418
  },
20323
20419
  'optionalAccess',
20324
- function(_151) {
20325
- return _151.length;
20420
+ function(_155) {
20421
+ return _155.length;
20326
20422
  }
20327
20423
  ]) || 0,
20328
20424
  interactor: "getExternalCards"
@@ -21176,7 +21272,7 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
21176
21272
  if (parsedUrl.protocol !== "https:") {
21177
21273
  throw new Error("OAuth base URL must use HTTPS protocol");
21178
21274
  }
21179
- } catch (e3) {
21275
+ } catch (e5) {
21180
21276
  throw new Error("Invalid OAuth base URL format");
21181
21277
  }
21182
21278
  }
@@ -21799,12 +21895,12 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
21799
21895
  statementCount: _optionalChain([
21800
21896
  response,
21801
21897
  'access',
21802
- function(_152) {
21803
- return _152.data;
21898
+ function(_156) {
21899
+ return _156.data;
21804
21900
  },
21805
21901
  'optionalAccess',
21806
- function(_153) {
21807
- return _153.length;
21902
+ function(_157) {
21903
+ return _157.length;
21808
21904
  }
21809
21905
  ]) || 0,
21810
21906
  hasMore: response.is_more,
@@ -21998,7 +22094,7 @@ var formatDateForClient = /* @__PURE__ */ __name(function(timestamp) {
21998
22094
  day: "numeric"
21999
22095
  });
22000
22096
  return formattedDate.replace("Sep", "Sept");
22001
- } catch (e4) {
22097
+ } catch (e6) {
22002
22098
  return timestamp;
22003
22099
  }
22004
22100
  }, "formatDateForClient");
@@ -24203,12 +24299,12 @@ var filterMockTransactionsByStatus = /* @__PURE__ */ __name(function(statuses) {
24203
24299
  return statuses.includes(_optionalChain([
24204
24300
  status,
24205
24301
  'optionalAccess',
24206
- function(_154) {
24207
- return _154.toUpperCase;
24302
+ function(_158) {
24303
+ return _158.toUpperCase;
24208
24304
  },
24209
24305
  'call',
24210
- function(_155) {
24211
- return _155();
24306
+ function(_159) {
24307
+ return _159();
24212
24308
  }
24213
24309
  ]));
24214
24310
  });
@@ -24260,8 +24356,8 @@ var mswTransactionsHandlers = [
24260
24356
  if (_optionalChain([
24261
24357
  queryStatus,
24262
24358
  'optionalAccess',
24263
- function(_156) {
24264
- return _156[0];
24359
+ function(_160) {
24360
+ return _160[0];
24265
24361
  }
24266
24362
  ]) === "PENDING") {
24267
24363
  is_more = filteredMockData.length > 10;
@@ -24770,59 +24866,12 @@ function _ts_metadata21(k, v) {
24770
24866
  __name(_ts_metadata21, "_ts_metadata");
24771
24867
  var _RestWlaService = /*#__PURE__*/ function() {
24772
24868
  function _RestWlaService() {
24773
- var _this = this;
24774
24869
  _class_call_check(this, _RestWlaService);
24775
24870
  __publicField(this, "cacheService");
24776
24871
  __publicField(this, "httpClient");
24777
24872
  __publicField(this, "unauthenticatedHttpClient");
24778
- __publicField(this, "getCommonWlaApiHeaders", /* @__PURE__ */ __name(function() {
24779
- var appConfig = _this.getAppConfig();
24780
- return {
24781
- "app-version": appConfig.appVersion,
24782
- "device-id": appConfig.deviceId,
24783
- "client-ip": appConfig.clientIp
24784
- };
24785
- }, "getCommonWlaApiHeaders"));
24786
24873
  }
24787
24874
  _create_class(_RestWlaService, [
24788
- {
24789
- key: "setAppConfig",
24790
- value: function setAppConfig(appVersion, deviceId, clientIp) {
24791
- logDebug("Setting WLA app config", {
24792
- appVersion: appVersion,
24793
- deviceId: deviceId,
24794
- clientIp: clientIp,
24795
- adapter: "RestWlaService"
24796
- });
24797
- try {
24798
- this.cacheService.set("wlaAppConfig", JSON.stringify({
24799
- appVersion: appVersion,
24800
- deviceId: deviceId,
24801
- clientIp: clientIp
24802
- }));
24803
- logInfo("WLA app config set successfully", {
24804
- adapter: "RestWlaService"
24805
- });
24806
- } catch (error2) {
24807
- logError("Failed to set WLA app config", {
24808
- error: error2,
24809
- adapter: "RestWlaService"
24810
- });
24811
- throw error2;
24812
- }
24813
- }
24814
- },
24815
- {
24816
- key: "getAppConfig",
24817
- value: function getAppConfig() {
24818
- var config = this.cacheService.get("wlaAppConfig");
24819
- try {
24820
- var parsedConfig = JSON.parse(config);
24821
- return parsedConfig;
24822
- } catch (e5) {}
24823
- return {};
24824
- }
24825
- },
24826
24875
  {
24827
24876
  key: "transitionOnboardingStatus",
24828
24877
  value: function transitionOnboardingStatus(oldStatus, newStatus) {
@@ -24842,7 +24891,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
24842
24891
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/transition-onboarding-status");
24843
24892
  params = {
24844
24893
  method: "POST",
24845
- headers: _this.getCommonWlaApiHeaders(),
24894
+ headers: getCommonApiHeaders(),
24846
24895
  body: JSON.stringify({
24847
24896
  old_status: oldStatus,
24848
24897
  new_status: newStatus
@@ -24893,7 +24942,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
24893
24942
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
24894
24943
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/profile");
24895
24944
  params = {
24896
- headers: _this.getCommonWlaApiHeaders()
24945
+ headers: getCommonApiHeaders()
24897
24946
  };
24898
24947
  return [
24899
24948
  4,
@@ -24948,7 +24997,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
24948
24997
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/onboarding/create-card");
24949
24998
  params = {
24950
24999
  method: "POST",
24951
- headers: _this.getCommonWlaApiHeaders(),
25000
+ headers: getCommonApiHeaders(),
24952
25001
  body: JSON.stringify(requestBody)
24953
25002
  };
24954
25003
  return [
@@ -25007,7 +25056,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25007
25056
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/onboarding/set-pin");
25008
25057
  params = {
25009
25058
  method: "POST",
25010
- headers: _this.getCommonWlaApiHeaders(),
25059
+ headers: getCommonApiHeaders(),
25011
25060
  body: JSON.stringify({
25012
25061
  card_token: cardToken,
25013
25062
  pin: pin,
@@ -25071,7 +25120,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25071
25120
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/transition-onboarding-status");
25072
25121
  params = {
25073
25122
  method: "POST",
25074
- headers: _this.getCommonWlaApiHeaders(),
25123
+ headers: getCommonApiHeaders(),
25075
25124
  body: JSON.stringify({
25076
25125
  old_status: OnboardingStatus.ACCOUNT_ACTIVATED,
25077
25126
  new_status: OnboardingStatus.ACCOUNT_VERIFIED
@@ -25179,7 +25228,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25179
25228
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/transition-onboarding-status");
25180
25229
  params = {
25181
25230
  method: "POST",
25182
- headers: _this.getCommonWlaApiHeaders(),
25231
+ headers: getCommonApiHeaders(),
25183
25232
  body: JSON.stringify({
25184
25233
  old_status: OnboardingStatus.CREATED,
25185
25234
  new_status: OnboardingStatus.ACCOUNT_ACTIVATED
@@ -25238,7 +25287,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25238
25287
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/settings/push-notification");
25239
25288
  params = {
25240
25289
  method: "POST",
25241
- headers: _this.getCommonWlaApiHeaders(),
25290
+ headers: getCommonApiHeaders(),
25242
25291
  body: JSON.stringify(requestBody)
25243
25292
  };
25244
25293
  return [
@@ -25294,7 +25343,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25294
25343
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/settings/push-notification");
25295
25344
  params = {
25296
25345
  method: "PUT",
25297
- headers: _this.getCommonWlaApiHeaders(),
25346
+ headers: getCommonApiHeaders(),
25298
25347
  body: JSON.stringify(requestBody)
25299
25348
  };
25300
25349
  return [
@@ -25350,7 +25399,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25350
25399
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/settings/push-notification");
25351
25400
  params = {
25352
25401
  method: "DELETE",
25353
- headers: _this.getCommonWlaApiHeaders()
25402
+ headers: getCommonApiHeaders()
25354
25403
  };
25355
25404
  return [
25356
25405
  4,
@@ -25404,7 +25453,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25404
25453
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
25405
25454
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/offers");
25406
25455
  params = {
25407
- headers: _this.getCommonWlaApiHeaders()
25456
+ headers: getCommonApiHeaders()
25408
25457
  };
25409
25458
  return [
25410
25459
  4,
@@ -25462,7 +25511,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25462
25511
  });
25463
25512
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/offer?").concat(queryParams.toString());
25464
25513
  params = {
25465
- headers: _this.getCommonWlaApiHeaders()
25514
+ headers: getCommonApiHeaders()
25466
25515
  };
25467
25516
  return [
25468
25517
  4,
@@ -25522,24 +25571,24 @@ var _RestWlaService = /*#__PURE__*/ function() {
25522
25571
  }, _optionalChain([
25523
25572
  requestBody,
25524
25573
  'optionalAccess',
25525
- function(_157) {
25526
- return _157.status;
25574
+ function(_161) {
25575
+ return _161.status;
25527
25576
  }
25528
25577
  ]) ? {
25529
25578
  status: requestBody.status.join(",")
25530
25579
  } : {}, _optionalChain([
25531
25580
  requestBody,
25532
25581
  'optionalAccess',
25533
- function(_158) {
25534
- return _158.start_index;
25582
+ function(_162) {
25583
+ return _162.start_index;
25535
25584
  }
25536
25585
  ]) ? {
25537
25586
  start_index: "".concat(requestBody.start_index)
25538
25587
  } : {}, _optionalChain([
25539
25588
  requestBody,
25540
25589
  'optionalAccess',
25541
- function(_159) {
25542
- return _159.count;
25590
+ function(_163) {
25591
+ return _163.count;
25543
25592
  }
25544
25593
  ]) ? {
25545
25594
  count: "".concat(requestBody.count)
@@ -25549,7 +25598,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25549
25598
  "status"
25550
25599
  ]);
25551
25600
  params = {
25552
- headers: _this.getCommonWlaApiHeaders()
25601
+ headers: getCommonApiHeaders()
25553
25602
  };
25554
25603
  return [
25555
25604
  4,
@@ -25610,7 +25659,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25610
25659
  });
25611
25660
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/card?").concat(queryParams.toString());
25612
25661
  params = {
25613
- headers: _this.getCommonWlaApiHeaders()
25662
+ headers: getCommonApiHeaders()
25614
25663
  };
25615
25664
  return [
25616
25665
  4,
@@ -25621,12 +25670,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
25621
25670
  if (_optionalChain([
25622
25671
  data,
25623
25672
  'access',
25624
- function(_160) {
25625
- return _160.card_art;
25673
+ function(_164) {
25674
+ return _164.card_art;
25626
25675
  },
25627
25676
  'optionalAccess',
25628
- function(_161) {
25629
- return _161.back;
25677
+ function(_165) {
25678
+ return _165.back;
25630
25679
  }
25631
25680
  ])) {
25632
25681
  data.card_art.back = "".concat(cardArtBaseUrl).concat(data.card_art.back);
@@ -25634,12 +25683,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
25634
25683
  if (_optionalChain([
25635
25684
  data,
25636
25685
  'access',
25637
- function(_162) {
25638
- return _162.card_art;
25686
+ function(_166) {
25687
+ return _166.card_art;
25639
25688
  },
25640
25689
  'optionalAccess',
25641
- function(_163) {
25642
- return _163.front;
25690
+ function(_167) {
25691
+ return _167.front;
25643
25692
  }
25644
25693
  ])) {
25645
25694
  data.card_art.front = "".concat(cardArtBaseUrl).concat(data.card_art.front);
@@ -25693,7 +25742,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25693
25742
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
25694
25743
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/").concat(token);
25695
25744
  params = {
25696
- headers: _this.getCommonWlaApiHeaders()
25745
+ headers: getCommonApiHeaders()
25697
25746
  };
25698
25747
  return [
25699
25748
  4,
@@ -25750,32 +25799,32 @@ var _RestWlaService = /*#__PURE__*/ function() {
25750
25799
  queryParams = new URLSearchParams(_object_spread({}, _optionalChain([
25751
25800
  requestBody,
25752
25801
  'optionalAccess',
25753
- function(_164) {
25754
- return _164.count;
25802
+ function(_168) {
25803
+ return _168.count;
25755
25804
  }
25756
25805
  ]) ? {
25757
25806
  count: "".concat(requestBody.count)
25758
25807
  } : {}, _optionalChain([
25759
25808
  requestBody,
25760
25809
  'optionalAccess',
25761
- function(_165) {
25762
- return _165.start_index;
25810
+ function(_169) {
25811
+ return _169.start_index;
25763
25812
  }
25764
25813
  ]) ? {
25765
25814
  start_index: "".concat(requestBody.start_index)
25766
25815
  } : {}, _optionalChain([
25767
25816
  requestBody,
25768
25817
  'optionalAccess',
25769
- function(_166) {
25770
- return _166.sort_by;
25818
+ function(_170) {
25819
+ return _170.sort_by;
25771
25820
  }
25772
25821
  ]) ? {
25773
25822
  sort_by: "".concat(requestBody.sort_by)
25774
25823
  } : {}, _optionalChain([
25775
25824
  requestBody,
25776
25825
  'optionalAccess',
25777
- function(_167) {
25778
- return _167.status;
25826
+ function(_171) {
25827
+ return _171.status;
25779
25828
  }
25780
25829
  ]) ? {
25781
25830
  status: requestBody.status.join(",")
@@ -25785,7 +25834,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25785
25834
  "status"
25786
25835
  ]);
25787
25836
  params = {
25788
- headers: _this.getCommonWlaApiHeaders()
25837
+ headers: getCommonApiHeaders()
25789
25838
  };
25790
25839
  return [
25791
25840
  4,
@@ -25805,12 +25854,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
25805
25854
  if (_optionalChain([
25806
25855
  error2,
25807
25856
  'optionalAccess',
25808
- function(_168) {
25809
- return _168.debug;
25857
+ function(_172) {
25858
+ return _172.debug;
25810
25859
  },
25811
25860
  'optionalAccess',
25812
- function(_169) {
25813
- return _169.length;
25861
+ function(_173) {
25862
+ return _173.length;
25814
25863
  }
25815
25864
  ])) {
25816
25865
  logError("Unable to get external account list with standardized error", {
@@ -25857,7 +25906,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25857
25906
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts");
25858
25907
  params = {
25859
25908
  method: "POST",
25860
- headers: _this.getCommonWlaApiHeaders(),
25909
+ headers: getCommonApiHeaders(),
25861
25910
  body: JSON.stringify(requestBody)
25862
25911
  };
25863
25912
  return [
@@ -25878,12 +25927,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
25878
25927
  if (_optionalChain([
25879
25928
  error2,
25880
25929
  'optionalAccess',
25881
- function(_170) {
25882
- return _170.debug;
25930
+ function(_174) {
25931
+ return _174.debug;
25883
25932
  },
25884
25933
  'optionalAccess',
25885
- function(_171) {
25886
- return _171.length;
25934
+ function(_175) {
25935
+ return _175.length;
25887
25936
  }
25888
25937
  ])) {
25889
25938
  logError("Unable to create external account with standardized error", {
@@ -25930,7 +25979,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
25930
25979
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/verification");
25931
25980
  params = {
25932
25981
  method: "POST",
25933
- headers: _this.getCommonWlaApiHeaders(),
25982
+ headers: getCommonApiHeaders(),
25934
25983
  body: JSON.stringify(requestBody)
25935
25984
  };
25936
25985
  return [
@@ -25951,12 +26000,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
25951
26000
  if (_optionalChain([
25952
26001
  error2,
25953
26002
  'optionalAccess',
25954
- function(_172) {
25955
- return _172.debug;
26003
+ function(_176) {
26004
+ return _176.debug;
25956
26005
  },
25957
26006
  'optionalAccess',
25958
- function(_173) {
25959
- return _173.length;
26007
+ function(_177) {
26008
+ return _177.length;
25960
26009
  }
25961
26010
  ])) {
25962
26011
  logError("Unable to verify external account with standardized error", {
@@ -26004,7 +26053,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26004
26053
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/externalaccounts/").concat(token);
26005
26054
  params = {
26006
26055
  method: "PATCH",
26007
- headers: _this.getCommonWlaApiHeaders(),
26056
+ headers: getCommonApiHeaders(),
26008
26057
  body: JSON.stringify(requestBody)
26009
26058
  };
26010
26059
  return [
@@ -26026,12 +26075,12 @@ var _RestWlaService = /*#__PURE__*/ function() {
26026
26075
  if (_optionalChain([
26027
26076
  error2,
26028
26077
  'optionalAccess',
26029
- function(_174) {
26030
- return _174.debug;
26078
+ function(_178) {
26079
+ return _178.debug;
26031
26080
  },
26032
26081
  'optionalAccess',
26033
- function(_175) {
26034
- return _175.length;
26082
+ function(_179) {
26083
+ return _179.length;
26035
26084
  }
26036
26085
  ])) {
26037
26086
  logError("Unable to update external account with standardized error", {
@@ -26083,7 +26132,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26083
26132
  });
26084
26133
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction?").concat(queryParams.toString());
26085
26134
  params = {
26086
- headers: _this.getCommonWlaApiHeaders()
26135
+ headers: getCommonApiHeaders()
26087
26136
  };
26088
26137
  return [
26089
26138
  4,
@@ -26140,7 +26189,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26140
26189
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
26141
26190
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction/challenge/").concat(challengeToken);
26142
26191
  params = {
26143
- headers: _this.getCommonWlaApiHeaders()
26192
+ headers: getCommonApiHeaders()
26144
26193
  };
26145
26194
  return [
26146
26195
  4,
@@ -26196,7 +26245,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26196
26245
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
26197
26246
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction/challenge/next");
26198
26247
  params = {
26199
- headers: _this.getCommonWlaApiHeaders()
26248
+ headers: getCommonApiHeaders()
26200
26249
  };
26201
26250
  return [
26202
26251
  4,
@@ -26253,7 +26302,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26253
26302
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/transaction/challenge/").concat(challengeToken, "/decision");
26254
26303
  params = {
26255
26304
  method: "POST",
26256
- headers: _this.getCommonWlaApiHeaders(),
26305
+ headers: getCommonApiHeaders(),
26257
26306
  body: JSON.stringify(body)
26258
26307
  };
26259
26308
  return [
@@ -26311,7 +26360,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26311
26360
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/book-transfer");
26312
26361
  params = {
26313
26362
  method: "POST",
26314
- headers: _this.getCommonWlaApiHeaders(),
26363
+ headers: getCommonApiHeaders(),
26315
26364
  body: JSON.stringify(requestBody)
26316
26365
  };
26317
26366
  return [
@@ -26367,7 +26416,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26367
26416
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/origination/transfers");
26368
26417
  params = {
26369
26418
  method: "POST",
26370
- headers: _this.getCommonWlaApiHeaders(),
26419
+ headers: getCommonApiHeaders(),
26371
26420
  body: JSON.stringify(requestBody)
26372
26421
  };
26373
26422
  return [
@@ -26431,7 +26480,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26431
26480
  });
26432
26481
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/account?").concat(queryParams.toString());
26433
26482
  params = {
26434
- headers: _this.getCommonWlaApiHeaders()
26483
+ headers: getCommonApiHeaders()
26435
26484
  };
26436
26485
  return [
26437
26486
  4,
@@ -26494,7 +26543,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26494
26543
  } : {}));
26495
26544
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/rewardsummaries?").concat(queryParams.toString());
26496
26545
  params = {
26497
- headers: _this.getCommonWlaApiHeaders()
26546
+ headers: getCommonApiHeaders()
26498
26547
  };
26499
26548
  return [
26500
26549
  4,
@@ -26565,7 +26614,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26565
26614
  } : {}));
26566
26615
  params = {
26567
26616
  method: "POST",
26568
- headers: _this.getCommonWlaApiHeaders(),
26617
+ headers: getCommonApiHeaders(),
26569
26618
  body: JSON.stringify(requestBody)
26570
26619
  };
26571
26620
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/atms/search?").concat(queryParams.toString());
@@ -26622,7 +26671,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26622
26671
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
26623
26672
  params = {
26624
26673
  method: "POST",
26625
- headers: _this.getCommonWlaApiHeaders(),
26674
+ headers: getCommonApiHeaders(),
26626
26675
  body: JSON.stringify(requestBody)
26627
26676
  };
26628
26677
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/card/replace");
@@ -26682,7 +26731,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26682
26731
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
26683
26732
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages/").concat(token, "?device_platform=").concat(devicePlatform);
26684
26733
  params = {
26685
- headers: _object_spread_props(_object_spread({}, _this.getCommonWlaApiHeaders()), {
26734
+ headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
26686
26735
  "X-Marqeta-Program-Short-Code": programShortCode
26687
26736
  })
26688
26737
  };
@@ -26743,7 +26792,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26743
26792
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
26744
26793
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages?device_platform=").concat(devicePlatform);
26745
26794
  params = {
26746
- headers: _object_spread_props(_object_spread({}, _this.getCommonWlaApiHeaders()), {
26795
+ headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
26747
26796
  "X-Marqeta-Program-Short-Code": programShortCode
26748
26797
  })
26749
26798
  };
@@ -26804,7 +26853,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26804
26853
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
26805
26854
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/").concat(id);
26806
26855
  params = {
26807
- headers: _this.getCommonWlaApiHeaders()
26856
+ headers: getCommonApiHeaders()
26808
26857
  };
26809
26858
  return [
26810
26859
  4,
@@ -26865,7 +26914,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26865
26914
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
26866
26915
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/transfers/").concat(token);
26867
26916
  params = {
26868
- headers: _this.getCommonWlaApiHeaders()
26917
+ headers: getCommonApiHeaders()
26869
26918
  };
26870
26919
  return [
26871
26920
  4,
@@ -26929,7 +26978,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26929
26978
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
26930
26979
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents?").concat(queryParams.toString());
26931
26980
  params = {
26932
- headers: _this.getCommonWlaApiHeaders()
26981
+ headers: getCommonApiHeaders()
26933
26982
  };
26934
26983
  return [
26935
26984
  4,
@@ -26989,7 +27038,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
26989
27038
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
26990
27039
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/transfers");
26991
27040
  params = {
26992
- headers: _this.getCommonWlaApiHeaders()
27041
+ headers: getCommonApiHeaders()
26993
27042
  };
26994
27043
  return [
26995
27044
  4,
@@ -27048,7 +27097,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
27048
27097
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
27049
27098
  params = {
27050
27099
  method: "PATCH",
27051
- headers: _this.getCommonWlaApiHeaders(),
27100
+ headers: getCommonApiHeaders(),
27052
27101
  body: JSON.stringify(requestBody)
27053
27102
  };
27054
27103
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/").concat(id);
@@ -27111,7 +27160,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
27111
27160
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
27112
27161
  params = {
27113
27162
  method: "PATCH",
27114
- headers: _this.getCommonWlaApiHeaders(),
27163
+ headers: getCommonApiHeaders(),
27115
27164
  body: JSON.stringify(requestBody)
27116
27165
  };
27117
27166
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/revoke/").concat(id);
@@ -27171,7 +27220,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
27171
27220
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
27172
27221
  params = {
27173
27222
  method: "GET",
27174
- headers: _this.getCommonWlaApiHeaders()
27223
+ headers: getCommonApiHeaders()
27175
27224
  };
27176
27225
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/faqs");
27177
27226
  return [
@@ -27227,7 +27276,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
27227
27276
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/password");
27228
27277
  params = {
27229
27278
  method: "POST",
27230
- headers: _this.getCommonWlaApiHeaders(),
27279
+ headers: getCommonApiHeaders(),
27231
27280
  body: JSON.stringify({
27232
27281
  password: password
27233
27282
  })
@@ -27286,7 +27335,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
27286
27335
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/password/change");
27287
27336
  params = {
27288
27337
  method: "POST",
27289
- headers: _object_spread_props(_object_spread({}, _this.getCommonWlaApiHeaders()), {
27338
+ headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
27290
27339
  "X-Marqeta-Program-Short-Code": programShortCode,
27291
27340
  "Authorization": "SSO ".concat(access_token)
27292
27341
  }),
@@ -27367,7 +27416,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
27367
27416
  }
27368
27417
  params = {
27369
27418
  method: "POST",
27370
- headers: _object_spread_props(_object_spread({}, _this.getCommonWlaApiHeaders()), {
27419
+ headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
27371
27420
  "Content-Type": "application/json",
27372
27421
  "X-Marqeta-Program-Short-Code": programShortCode
27373
27422
  }),
@@ -27430,7 +27479,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
27430
27479
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/user/resend-verification-email");
27431
27480
  params = {
27432
27481
  method: "POST",
27433
- headers: _object_spread_props(_object_spread({}, _this.getCommonWlaApiHeaders()), {
27482
+ headers: _object_spread_props(_object_spread({}, getCommonApiHeaders()), {
27434
27483
  "Content-Type": "application/json"
27435
27484
  }),
27436
27485
  body: JSON.stringify({})
@@ -27488,7 +27537,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
27488
27537
  path = "".concat(cuiApiBaseUrl, "/api/v1/wla/verify-user-device");
27489
27538
  params = {
27490
27539
  method: "POST",
27491
- headers: _this.getCommonWlaApiHeaders(),
27540
+ headers: getCommonApiHeaders(),
27492
27541
  body: JSON.stringify(requestBody)
27493
27542
  };
27494
27543
  return [
@@ -27853,12 +27902,12 @@ function _getAccountTransactions() {
27853
27902
  transactionCount: _optionalChain([
27854
27903
  result,
27855
27904
  'access',
27856
- function(_176) {
27857
- return _176.data;
27905
+ function(_180) {
27906
+ return _180.data;
27858
27907
  },
27859
27908
  'optionalAccess',
27860
- function(_177) {
27861
- return _177.length;
27909
+ function(_181) {
27910
+ return _181.length;
27862
27911
  }
27863
27912
  ]) || 0,
27864
27913
  interactor: "getAccountTransactions"
@@ -28076,12 +28125,12 @@ function _getOffers() {
28076
28125
  offerCount: _optionalChain([
28077
28126
  result,
28078
28127
  'access',
28079
- function(_178) {
28080
- return _178.data;
28128
+ function(_182) {
28129
+ return _182.data;
28081
28130
  },
28082
28131
  'optionalAccess',
28083
- function(_179) {
28084
- return _179.length;
28132
+ function(_183) {
28133
+ return _183.length;
28085
28134
  }
28086
28135
  ]) || 0,
28087
28136
  interactor: "getOffers"
@@ -28808,68 +28857,6 @@ function _setWlaCardPin() {
28808
28857
  return _setWlaCardPin.apply(this, arguments);
28809
28858
  }
28810
28859
  __name(setWlaCardPin, "setWlaCardPin");
28811
- function setWlaConfig(appVersion, deviceId, clientIp) {
28812
- return _setWlaConfig.apply(this, arguments);
28813
- }
28814
- function _setWlaConfig() {
28815
- _setWlaConfig = // src/wla/base/interactors/setWlaConfig.ts
28816
- _async_to_generator(function(appVersion, deviceId, clientIp) {
28817
- var container2, wlaService, error2;
28818
- return _ts_generator(this, function(_state) {
28819
- switch(_state.label){
28820
- case 0:
28821
- logDebug("Setting WLA config", {
28822
- appVersion: appVersion,
28823
- deviceId: deviceId,
28824
- clientIp: clientIp,
28825
- interactor: "setWlaConfig"
28826
- });
28827
- _state.label = 1;
28828
- case 1:
28829
- _state.trys.push([
28830
- 1,
28831
- 3,
28832
- ,
28833
- 4
28834
- ]);
28835
- container2 = getActiveIocContainer();
28836
- wlaService = container2.get(ITF_WLA_SERVICE);
28837
- return [
28838
- 4,
28839
- wlaService.setAppConfig(appVersion, deviceId, clientIp)
28840
- ];
28841
- case 2:
28842
- _state.sent();
28843
- logInfo("WLA config set successfully", {
28844
- appVersion: appVersion,
28845
- deviceId: deviceId,
28846
- clientIp: clientIp,
28847
- interactor: "setWlaConfig"
28848
- });
28849
- return [
28850
- 3,
28851
- 4
28852
- ];
28853
- case 3:
28854
- error2 = _state.sent();
28855
- logError("Failed to set WLA config", {
28856
- error: error2,
28857
- appVersion: appVersion,
28858
- deviceId: deviceId,
28859
- clientIp: clientIp,
28860
- interactor: "setWlaConfig"
28861
- });
28862
- throw error2;
28863
- case 4:
28864
- return [
28865
- 2
28866
- ];
28867
- }
28868
- });
28869
- });
28870
- return _setWlaConfig.apply(this, arguments);
28871
- }
28872
- __name(setWlaConfig, "setWlaConfig");
28873
28860
  function updateConsentStatus(id) {
28874
28861
  return _updateConsentStatus.apply(this, arguments);
28875
28862
  }
@@ -29362,11 +29349,14 @@ exports.MockCacheService = MockCacheService;
29362
29349
  exports.MockPersistedCacheService = MockPersistedCacheService;
29363
29350
  exports.MockRegistryService = MockRegistryService;
29364
29351
  exports.StandardizedError = StandardizedError;
29352
+ exports.setAppConfig = setAppConfig;
29353
+ exports.getAppConfig = getAppConfig;
29365
29354
  exports.InMemRegistryService = InMemRegistryService;
29366
29355
  exports.commonIOCModule = commonIOCModule;
29367
29356
  exports.mockCommonIOCModule = mockCommonIOCModule;
29368
29357
  exports.convertObjKeysToCamelCase = convertObjKeysToCamelCase;
29369
29358
  exports.convertObjKeysToLowerCamelCase = convertObjKeysToLowerCamelCase;
29359
+ exports.getCommonApiHeaders = getCommonApiHeaders;
29370
29360
  exports.getCardsByUserToken = getCardsByUserToken;
29371
29361
  exports.getShowpanByCardToken = getShowpanByCardToken;
29372
29362
  exports.activateCardByTokenOrPan = activateCardByTokenOrPan;
@@ -29790,7 +29780,6 @@ exports.replaceWlaCard = replaceWlaCard;
29790
29780
  exports.revokeConsent = revokeConsent;
29791
29781
  exports.searchAtms = searchAtms;
29792
29782
  exports.setWlaCardPin = setWlaCardPin;
29793
- exports.setWlaConfig = setWlaConfig;
29794
29783
  exports.updateConsentStatus = updateConsentStatus;
29795
29784
  exports.updateExternalAccount = updateExternalAccount;
29796
29785
  exports.verifyExternalAccount = verifyExternalAccount;