@marqeta/ux-toolkit-sdk-javascript 2.2.1 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -636,6 +636,9 @@ __export(src_exports, {
636
636
  FFLAGS_SESSION_STORAGE_KEY: function() {
637
637
  return FFLAGS_SESSION_STORAGE_KEY;
638
638
  },
639
+ FaqParagraphTypeEnum: function() {
640
+ return FaqParagraphTypeEnum;
641
+ },
639
642
  FormField: function() {
640
643
  return FormField;
641
644
  },
@@ -1422,6 +1425,9 @@ __export(src_exports, {
1422
1425
  getCachedAuthApiEndpoint: function() {
1423
1426
  return getCachedAuthApiEndpoint;
1424
1427
  },
1428
+ getCachedAuthApiHeadersResolver: function() {
1429
+ return getCachedAuthApiHeadersResolver;
1430
+ },
1425
1431
  getCachedAuthToken: function() {
1426
1432
  return getCachedAuthToken;
1427
1433
  },
@@ -1488,6 +1494,9 @@ __export(src_exports, {
1488
1494
  getWlaCardByToken: function() {
1489
1495
  return getWlaCardByToken;
1490
1496
  },
1497
+ getWlaFaqs: function() {
1498
+ return getWlaFaqs;
1499
+ },
1491
1500
  getWlaRewardSummaries: function() {
1492
1501
  return getWlaRewardSummaries;
1493
1502
  },
@@ -1752,6 +1761,9 @@ __export(src_exports, {
1752
1761
  setCachedAuthApiEndpoint: function() {
1753
1762
  return setCachedAuthApiEndpoint;
1754
1763
  },
1764
+ setCachedAuthApiHeadersResolver: function() {
1765
+ return setCachedAuthApiHeadersResolver;
1766
+ },
1755
1767
  setCachedAuthToken: function() {
1756
1768
  return setCachedAuthToken;
1757
1769
  },
@@ -5010,6 +5022,7 @@ var _DpopAuthCredentialService = /*#__PURE__*/ function() {
5010
5022
  function _DpopAuthCredentialService() {
5011
5023
  _class_call_check(this, _DpopAuthCredentialService);
5012
5024
  __publicField(this, "cacheService");
5025
+ __publicField(this, "headersResolver");
5013
5026
  }
5014
5027
  _create_class(_DpopAuthCredentialService, [
5015
5028
  {
@@ -5348,6 +5361,18 @@ var _DpopAuthCredentialService = /*#__PURE__*/ function() {
5348
5361
  value: function setCachedAuthApiEndpoint(apiEndpoint) {
5349
5362
  this.cacheService.set("authApiEndpoint", apiEndpoint);
5350
5363
  }
5364
+ },
5365
+ {
5366
+ key: "getCachedAuthApiHeadersResolver",
5367
+ value: function getCachedAuthApiHeadersResolver() {
5368
+ return this.headersResolver;
5369
+ }
5370
+ },
5371
+ {
5372
+ key: "setCachedAuthApiHeadersResolver",
5373
+ value: function setCachedAuthApiHeadersResolver(headersResolver) {
5374
+ this.headersResolver = headersResolver;
5375
+ }
5351
5376
  }
5352
5377
  ]);
5353
5378
  return _DpopAuthCredentialService;
@@ -5667,6 +5692,7 @@ var _MockAuthCredentialService = /*#__PURE__*/ function() {
5667
5692
  function _MockAuthCredentialService() {
5668
5693
  _class_call_check(this, _MockAuthCredentialService);
5669
5694
  __publicField(this, "authApiEndpoint");
5695
+ __publicField(this, "authApiHeadersResolver");
5670
5696
  __publicField(this, "authKeyPair");
5671
5697
  __publicField(this, "authToken");
5672
5698
  __publicField(this, "expiresAt");
@@ -5766,6 +5792,18 @@ var _MockAuthCredentialService = /*#__PURE__*/ function() {
5766
5792
  value: function setCachedAuthApiEndpoint(apiEndpoint) {
5767
5793
  this.authApiEndpoint = apiEndpoint;
5768
5794
  }
5795
+ },
5796
+ {
5797
+ key: "getCachedAuthApiHeadersResolver",
5798
+ value: function getCachedAuthApiHeadersResolver() {
5799
+ return this.authApiHeadersResolver;
5800
+ }
5801
+ },
5802
+ {
5803
+ key: "setCachedAuthApiHeadersResolver",
5804
+ value: function setCachedAuthApiHeadersResolver(headersResolver) {
5805
+ this.authApiHeadersResolver = headersResolver;
5806
+ }
5769
5807
  }
5770
5808
  ]);
5771
5809
  return _MockAuthCredentialService;
@@ -5813,7 +5851,7 @@ var _MockAuthService = /*#__PURE__*/ function() {
5813
5851
  },
5814
5852
  {
5815
5853
  key: "requestNewAuthTokenByEndpoint",
5816
- value: function requestNewAuthTokenByEndpoint(_) {
5854
+ value: function requestNewAuthTokenByEndpoint(_url, _headers) {
5817
5855
  return Promise.resolve({
5818
5856
  accessToken: (0, import_uuid2.v4)(),
5819
5857
  expiresIn: 3600
@@ -5915,6 +5953,13 @@ function getCachedAuthApiEndpoint() {
5915
5953
  return authCredentialService.getCachedAuthApiEndpoint();
5916
5954
  }
5917
5955
  __name(getCachedAuthApiEndpoint, "getCachedAuthApiEndpoint");
5956
+ // src/auth/base/interactors/getCachedAuthApiHeadersResolver.ts
5957
+ function getCachedAuthApiHeadersResolver() {
5958
+ var container2 = getActiveIocContainer();
5959
+ var authCredentialService = container2.get(ITF_AUTH_CREDENTIAL_SERVICE);
5960
+ return authCredentialService.getCachedAuthApiHeadersResolver();
5961
+ }
5962
+ __name(getCachedAuthApiHeadersResolver, "getCachedAuthApiHeadersResolver");
5918
5963
  // src/auth/base/interactors/getCachedAuthTokenExpiration.ts
5919
5964
  function getCachedAuthTokenExpiration() {
5920
5965
  var container2 = getActiveIocContainer();
@@ -6050,20 +6095,50 @@ function debounceNewAuthTokenRequests(apiEndpoint) {
6050
6095
  }
6051
6096
  function _debounceNewAuthTokenRequests() {
6052
6097
  _debounceNewAuthTokenRequests = _async_to_generator(function(apiEndpoint) {
6053
- var container2, authService, response;
6098
+ var container2, authService, apiHeadersResolver, apiHeaders, _tmp, response;
6054
6099
  return _ts_generator(this, function(_state) {
6055
6100
  switch(_state.label){
6056
6101
  case 0:
6057
- if (requestPromiseSingleton === void 0) {
6058
- container2 = getActiveIocContainer();
6059
- authService = container2.get(ITF_AUTH_SERVICE);
6060
- requestPromiseSingleton = authService.requestNewAuthTokenByEndpoint(apiEndpoint);
6061
- }
6102
+ if (!(requestPromiseSingleton === void 0)) return [
6103
+ 3,
6104
+ 5
6105
+ ];
6106
+ container2 = getActiveIocContainer();
6107
+ authService = container2.get(ITF_AUTH_SERVICE);
6108
+ apiHeadersResolver = getCachedAuthApiHeadersResolver();
6109
+ if (!apiHeadersResolver) return [
6110
+ 3,
6111
+ 4
6112
+ ];
6113
+ if (!(typeof apiHeadersResolver === "function")) return [
6114
+ 3,
6115
+ 2
6116
+ ];
6062
6117
  return [
6063
6118
  4,
6064
- requestPromiseSingleton
6119
+ apiHeadersResolver()
6065
6120
  ];
6066
6121
  case 1:
6122
+ _tmp = _state.sent();
6123
+ return [
6124
+ 3,
6125
+ 3
6126
+ ];
6127
+ case 2:
6128
+ _tmp = apiHeadersResolver;
6129
+ _state.label = 3;
6130
+ case 3:
6131
+ apiHeaders = _tmp;
6132
+ _state.label = 4;
6133
+ case 4:
6134
+ requestPromiseSingleton = authService.requestNewAuthTokenByEndpoint(apiEndpoint, apiHeaders);
6135
+ _state.label = 5;
6136
+ case 5:
6137
+ return [
6138
+ 4,
6139
+ requestPromiseSingleton
6140
+ ];
6141
+ case 6:
6067
6142
  response = _state.sent();
6068
6143
  requestPromiseSingleton = void 0;
6069
6144
  return [
@@ -6262,17 +6337,24 @@ function setCachedAuthApiEndpoint(apiEndpoint) {
6262
6337
  authCredentialService.setCachedAuthApiEndpoint(apiEndpoint);
6263
6338
  }
6264
6339
  __name(setCachedAuthApiEndpoint, "setCachedAuthApiEndpoint");
6340
+ // src/auth/base/interactors/setCachedAuthApiHeadersResolver.ts
6341
+ function setCachedAuthApiHeadersResolver(headersResolver) {
6342
+ var container2 = getActiveIocContainer();
6343
+ var authCredentialService = container2.get(ITF_AUTH_CREDENTIAL_SERVICE);
6344
+ authCredentialService.setCachedAuthApiHeadersResolver(headersResolver);
6345
+ }
6346
+ __name(setCachedAuthApiHeadersResolver, "setCachedAuthApiHeadersResolver");
6265
6347
  function setAuthParams(authParams) {
6266
6348
  return _setAuthParams.apply(this, arguments);
6267
6349
  }
6268
6350
  function _setAuthParams() {
6269
6351
  _setAuthParams = // src/auth/base/interactors/setAuthParams.ts
6270
6352
  _async_to_generator(function(authParams) {
6271
- var apiEndpoint, existingAuth, keyPair, token, expiresAt;
6353
+ var apiEndpoint, apiHeadersResolver, existingAuth, keyPair, token, expiresAt;
6272
6354
  return _ts_generator(this, function(_state) {
6273
6355
  switch(_state.label){
6274
6356
  case 0:
6275
- apiEndpoint = authParams.apiEndpoint, existingAuth = authParams.existingAuth;
6357
+ apiEndpoint = authParams.apiEndpoint, apiHeadersResolver = authParams.apiHeadersResolver, existingAuth = authParams.existingAuth;
6276
6358
  if (!apiEndpoint && !existingAuth) {
6277
6359
  throw new MqSDKError("Missing API Endpoint or Existing Auth in AuthParams");
6278
6360
  }
@@ -6281,6 +6363,9 @@ function _setAuthParams() {
6281
6363
  1
6282
6364
  ];
6283
6365
  setCachedAuthApiEndpoint(apiEndpoint);
6366
+ if (apiHeadersResolver) {
6367
+ setCachedAuthApiHeadersResolver(apiHeadersResolver);
6368
+ }
6284
6369
  return [
6285
6370
  3,
6286
6371
  3
@@ -6411,7 +6496,7 @@ var _RestAuthService = /*#__PURE__*/ function() {
6411
6496
  },
6412
6497
  {
6413
6498
  key: "requestNewAuthTokenByEndpoint",
6414
- value: function requestNewAuthTokenByEndpoint(apiEndpoint) {
6499
+ value: function requestNewAuthTokenByEndpoint(apiEndpoint, apiHeaders) {
6415
6500
  var _this = this;
6416
6501
  return _async_to_generator(function() {
6417
6502
  var uxtServiceUrl, dpopProof, data, access_token, expires_in;
@@ -6428,9 +6513,9 @@ var _RestAuthService = /*#__PURE__*/ function() {
6428
6513
  return [
6429
6514
  4,
6430
6515
  _this.httpClient.post(apiEndpoint, {
6431
- headers: {
6516
+ headers: _object_spread({
6432
6517
  DPoP: dpopProof
6433
- }
6518
+ }, apiHeaders !== null && apiHeaders !== void 0 ? apiHeaders : {})
6434
6519
  })
6435
6520
  ];
6436
6521
  case 2:
@@ -16963,7 +17048,7 @@ var _GetStatementAsset = /*#__PURE__*/ function() {
16963
17048
  _create_class(_GetStatementAsset, [
16964
17049
  {
16965
17050
  key: "execute",
16966
- value: function execute(issuedDate) {
17051
+ value: function execute(issuedDate, accountToken) {
16967
17052
  var _this = this;
16968
17053
  return _async_to_generator(function() {
16969
17054
  var response;
@@ -16972,7 +17057,7 @@ var _GetStatementAsset = /*#__PURE__*/ function() {
16972
17057
  case 0:
16973
17058
  return [
16974
17059
  4,
16975
- _this.statementsRepository.getStatementAsset(issuedDate)
17060
+ _this.statementsRepository.getStatementAsset(issuedDate, accountToken)
16976
17061
  ];
16977
17062
  case 1:
16978
17063
  response = _state.sent();
@@ -17061,10 +17146,10 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
17061
17146
  },
17062
17147
  {
17063
17148
  key: "getStatementAsset",
17064
- value: function getStatementAsset(issuedDate) {
17149
+ value: function getStatementAsset(issuedDate, accountToken) {
17065
17150
  var _this = this;
17066
17151
  return _async_to_generator(function() {
17067
- var cuiApiBaseUrl, path, response, err;
17152
+ var queryParams, cuiApiBaseUrl, path, response, err;
17068
17153
  return _ts_generator(this, function(_state) {
17069
17154
  switch(_state.label){
17070
17155
  case 0:
@@ -17074,8 +17159,12 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
17074
17159
  ,
17075
17160
  3
17076
17161
  ]);
17162
+ queryParams = new URLSearchParams();
17163
+ if (accountToken) {
17164
+ queryParams.set("account_token", accountToken);
17165
+ }
17077
17166
  cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
17078
- path = "".concat(cuiApiBaseUrl, "/api/v1/statements/").concat(issuedDate, "/download");
17167
+ path = "".concat(cuiApiBaseUrl, "/api/v1/statements/").concat(issuedDate, "/download?").concat(queryParams.toString());
17079
17168
  return [
17080
17169
  4,
17081
17170
  _this.httpClient.get(path)
@@ -17101,7 +17190,7 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
17101
17190
  {
17102
17191
  key: "convertPaginationParamsToQueryParams",
17103
17192
  value: function convertPaginationParamsToQueryParams(paginationParams) {
17104
- var issuedEndDate = paginationParams.issuedEndDate, issuedStartDate = paginationParams.issuedStartDate;
17193
+ var issuedEndDate = paginationParams.issuedEndDate, issuedStartDate = paginationParams.issuedStartDate, accountToken = paginationParams.accountToken;
17105
17194
  var queryParams = new URLSearchParams([
17106
17195
  [
17107
17196
  "issued_end_date",
@@ -17111,7 +17200,12 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
17111
17200
  "issued_start_date",
17112
17201
  issuedStartDate
17113
17202
  ]
17114
- ]);
17203
+ ].concat(_to_consumable_array(accountToken ? [
17204
+ [
17205
+ "account_token",
17206
+ accountToken
17207
+ ]
17208
+ ] : [])));
17115
17209
  return queryParams;
17116
17210
  }
17117
17211
  }
@@ -17230,7 +17324,7 @@ var generateStatementsDateQueries = /* @__PURE__ */ __name(function() {
17230
17324
  };
17231
17325
  }, "generateStatementsDateQueries");
17232
17326
  // src/statements/adapters/rest/mockStatements.ts
17233
- var handleGetStatements = /* @__PURE__ */ __name(function(userToken, issuedEndDate, issuedStartDate) {
17327
+ var handleGetStatements = /* @__PURE__ */ __name(function(userToken, issuedEndDate, issuedStartDate, accountToken) {
17234
17328
  var response;
17235
17329
  var areIssuedDatesValid = validateIssuedDateQueryParams(issuedEndDate, issuedStartDate);
17236
17330
  if (!areIssuedDatesValid) {
@@ -17241,7 +17335,7 @@ var handleGetStatements = /* @__PURE__ */ __name(function(userToken, issuedEndDa
17241
17335
  ].includes(userToken)) {
17242
17336
  throw new Error("Status: ".concat(404));
17243
17337
  } else if (areIssuedDatesValid) {
17244
- response = generateStatementSummary(userToken, issuedEndDate, issuedStartDate);
17338
+ response = generateStatementSummary(userToken, issuedEndDate, issuedStartDate, accountToken);
17245
17339
  } else {
17246
17340
  throw new Error("Status: ".concat(500));
17247
17341
  }
@@ -17274,7 +17368,7 @@ var isMockUserCreationYear = /* @__PURE__ */ __name(function(issued_end_date) {
17274
17368
  var issuedEndDateYear = toDateType(issued_end_date).getFullYear();
17275
17369
  return mockUserCreationYear === issuedEndDateYear;
17276
17370
  }, "isMockUserCreationYear");
17277
- var generateStatementSummary = /* @__PURE__ */ __name(function(user_token, issued_end_date, issued_start_date) {
17371
+ var generateStatementSummary = /* @__PURE__ */ __name(function(user_token, issued_end_date, issued_start_date, account_token) {
17278
17372
  var data = [];
17279
17373
  var monthsDifference = 12;
17280
17374
  var issuedEndDateObject = getValidEndDate(issued_end_date);
@@ -17284,11 +17378,13 @@ var generateStatementSummary = /* @__PURE__ */ __name(function(user_token, issue
17284
17378
  monthsDifference = calculateMonthsDifference(issuedEndDateObject, toDateType(issued_start_date));
17285
17379
  }
17286
17380
  for(var i = 0; i < monthsDifference; i += 1){
17287
- data.push({
17381
+ data.push(_object_spread({
17288
17382
  cardholder_token: user_token || VALID_USER_TOKEN,
17289
17383
  issued_date: formatDateForApi(issuedEndDateObject),
17290
17384
  readable_issued_date: formatDateForClient(formatDateForApi(issuedEndDateObject))
17291
- });
17385
+ }, account_token && {
17386
+ account_token: account_token
17387
+ }));
17292
17388
  issuedEndDateObject.setMonth(issuedEndDateObject.getMonth() - 1);
17293
17389
  }
17294
17390
  return {
@@ -17322,17 +17418,20 @@ var mswStatementsHandlers = [
17322
17418
  var queryParams = new URLSearchParams(new URL(request.url).search);
17323
17419
  var queryIssuedEndDate = queryParams.get("issued_end_date");
17324
17420
  var queryIssuedStartDate = queryParams.get("issued_start_date");
17421
+ var queryAccountToken = queryParams.get("account_token");
17325
17422
  var authorizationError = handleAuthorizationCheck(authorization);
17326
17423
  if (authorizationError !== null) {
17327
17424
  return authorizationError;
17328
17425
  }
17329
- var response = handleGetStatements(VALID_USER_TOKEN, queryIssuedEndDate, queryIssuedStartDate);
17426
+ var response = handleGetStatements(VALID_USER_TOKEN, queryIssuedEndDate, queryIssuedStartDate, queryAccountToken);
17330
17427
  return HttpResponse.json(response);
17331
17428
  }),
17332
17429
  http.get("".concat(mockMode_exports.CUI_API_BASE_URL, "/api/v1/statements/:issuedDate/download"), function(param) {
17333
17430
  var request = param.request, params = param.params;
17334
17431
  var authorization = request.headers.get("authorization");
17335
17432
  var authorizationError = handleAuthorizationCheck(authorization);
17433
+ var queryParams = new URLSearchParams(new URL(request.url).search);
17434
+ var queryAccountToken = queryParams.get("account_token");
17336
17435
  if (authorizationError !== null) {
17337
17436
  return authorizationError;
17338
17437
  }
@@ -17344,7 +17443,7 @@ var mswStatementsHandlers = [
17344
17443
  }
17345
17444
  var response = handleGetStatementAsset();
17346
17445
  var _generateStatementsDateQueries = generateStatementsDateQueries(), ISSUED_END_DATE = _generateStatementsDateQueries.ISSUED_END_DATE, ISSUED_START_DATE = _generateStatementsDateQueries.ISSUED_START_DATE;
17347
- var mockResponse = handleGetStatements(VALID_USER_TOKEN, ISSUED_END_DATE, ISSUED_START_DATE).data;
17446
+ var mockResponse = handleGetStatements(VALID_USER_TOKEN, ISSUED_END_DATE, ISSUED_START_DATE, queryAccountToken).data;
17348
17447
  var assetIndex = mockResponse.findIndex(function(item) {
17349
17448
  return item.issued_date === params.issuedDate;
17350
17449
  });
@@ -19520,6 +19619,13 @@ var WlaUserStatus;
19520
19619
  WlaUserStatus2["SUSPENDED"] = "SUSPENDED";
19521
19620
  WlaUserStatus2["TERMINATED"] = "TERMINATED";
19522
19621
  })(WlaUserStatus || (WlaUserStatus = {}));
19622
+ // src/wla/base/types/FaqsResponse.ts
19623
+ var FaqParagraphTypeEnum;
19624
+ (function(FaqParagraphTypeEnum2) {
19625
+ FaqParagraphTypeEnum2["OrderedList"] = "ORDERED_LIST";
19626
+ FaqParagraphTypeEnum2["UnorderedList"] = "UNORDERED_LIST";
19627
+ FaqParagraphTypeEnum2["SimpleText"] = "SIMPLE_TEXT";
19628
+ })(FaqParagraphTypeEnum || (FaqParagraphTypeEnum = {}));
19523
19629
  // src/wla/adapters/RestWlaService.ts
19524
19630
  function _ts_decorate104(decorators, target, key, desc) {
19525
19631
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -20989,6 +21095,49 @@ var _RestWlaService = /*#__PURE__*/ function() {
20989
21095
  });
20990
21096
  })();
20991
21097
  }
21098
+ },
21099
+ {
21100
+ key: "getFaqs",
21101
+ value: function getFaqs() {
21102
+ var _this = this;
21103
+ return _async_to_generator(function() {
21104
+ var cuiApiBaseUrl, params, path, data, error2;
21105
+ return _ts_generator(this, function(_state) {
21106
+ switch(_state.label){
21107
+ case 0:
21108
+ _state.trys.push([
21109
+ 0,
21110
+ 2,
21111
+ ,
21112
+ 3
21113
+ ]);
21114
+ cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
21115
+ params = {
21116
+ method: "GET",
21117
+ headers: _this.getCommonWlaApiHeaders()
21118
+ };
21119
+ path = "".concat(cuiApiBaseUrl, "/api/v1/wla/faqs");
21120
+ return [
21121
+ 4,
21122
+ _this.httpClient.get(path, params)
21123
+ ];
21124
+ case 1:
21125
+ data = _state.sent();
21126
+ return [
21127
+ 2,
21128
+ data
21129
+ ];
21130
+ case 2:
21131
+ error2 = _state.sent();
21132
+ throw new MqSDKError("Unable to get FAQs", error2);
21133
+ case 3:
21134
+ return [
21135
+ 2
21136
+ ];
21137
+ }
21138
+ });
21139
+ })();
21140
+ }
20992
21141
  }
20993
21142
  ]);
20994
21143
  return _RestWlaService;
@@ -21867,6 +22016,33 @@ function _verifyExternalAccount() {
21867
22016
  return _verifyExternalAccount.apply(this, arguments);
21868
22017
  }
21869
22018
  __name(verifyExternalAccount, "verifyExternalAccount");
22019
+ function getWlaFaqs() {
22020
+ return _getWlaFaqs.apply(this, arguments);
22021
+ }
22022
+ function _getWlaFaqs() {
22023
+ _getWlaFaqs = // src/wla/base/interactors/getWlaFaqs.ts
22024
+ _async_to_generator(function() {
22025
+ var container2, wlaService;
22026
+ return _ts_generator(this, function(_state) {
22027
+ switch(_state.label){
22028
+ case 0:
22029
+ container2 = getActiveIocContainer();
22030
+ wlaService = container2.get(ITF_WLA_SERVICE);
22031
+ return [
22032
+ 4,
22033
+ wlaService.getFaqs()
22034
+ ];
22035
+ case 1:
22036
+ return [
22037
+ 2,
22038
+ _state.sent()
22039
+ ];
22040
+ }
22041
+ });
22042
+ });
22043
+ return _getWlaFaqs.apply(this, arguments);
22044
+ }
22045
+ __name(getWlaFaqs, "getWlaFaqs");
21870
22046
  // src/wla/ioc/WlaIocModule.ts
21871
22047
  var import_inversify134 = require("inversify");
21872
22048
  var WlaIocModule = new import_inversify134.ContainerModule(function(bind) {
@@ -22284,6 +22460,7 @@ setActiveIocContainer(container);
22284
22460
  EMPTY_DEPOSIT_ACCOUNTS_CUI_AUTH_TOKEN: EMPTY_DEPOSIT_ACCOUNTS_CUI_AUTH_TOKEN,
22285
22461
  ExternalAccountStatus: ExternalAccountStatus,
22286
22462
  FFLAGS_SESSION_STORAGE_KEY: FFLAGS_SESSION_STORAGE_KEY,
22463
+ FaqParagraphTypeEnum: FaqParagraphTypeEnum,
22287
22464
  FormField: FormField,
22288
22465
  GaMeasurementAnalyticsService: GaMeasurementAnalyticsService,
22289
22466
  GetAccountBalances: GetAccountBalances,
@@ -22546,6 +22723,7 @@ setActiveIocContainer(container);
22546
22723
  getActiveIocContainer: getActiveIocContainer,
22547
22724
  getAuthKeyPair: getAuthKeyPair,
22548
22725
  getCachedAuthApiEndpoint: getCachedAuthApiEndpoint,
22726
+ getCachedAuthApiHeadersResolver: getCachedAuthApiHeadersResolver,
22549
22727
  getCachedAuthToken: getCachedAuthToken,
22550
22728
  getCachedAuthTokenExpiration: getCachedAuthTokenExpiration,
22551
22729
  getCardholderContext: getCardholderContext,
@@ -22568,6 +22746,7 @@ setActiveIocContainer(container);
22568
22746
  getUserTokenHash: getUserTokenHash,
22569
22747
  getWlaAccountDetails: getWlaAccountDetails,
22570
22748
  getWlaCardByToken: getWlaCardByToken,
22749
+ getWlaFaqs: getWlaFaqs,
22571
22750
  getWlaRewardSummaries: getWlaRewardSummaries,
22572
22751
  getWlaTransactionByToken: getWlaTransactionByToken,
22573
22752
  getWlaUserProfile: getWlaUserProfile,
@@ -22656,6 +22835,7 @@ setActiveIocContainer(container);
22656
22835
  setAuthKeyPair: setAuthKeyPair,
22657
22836
  setAuthParams: setAuthParams,
22658
22837
  setCachedAuthApiEndpoint: setCachedAuthApiEndpoint,
22838
+ setCachedAuthApiHeadersResolver: setCachedAuthApiHeadersResolver,
22659
22839
  setCachedAuthToken: setCachedAuthToken,
22660
22840
  setSsoAccessTokenHandler: setSsoAccessTokenHandler,
22661
22841
  setWlaCardPin: setWlaCardPin,