@marqeta/ux-toolkit-sdk-javascript 2.0.0 → 2.1.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
@@ -579,6 +579,18 @@ __export(src_exports, {
579
579
  CleanupOnUnload: function() {
580
580
  return CleanupOnUnload;
581
581
  },
582
+ ConsentPaymentScope: function() {
583
+ return ConsentPaymentScope;
584
+ },
585
+ ConsentPaymentType: function() {
586
+ return ConsentPaymentType;
587
+ },
588
+ ConsentScope: function() {
589
+ return ConsentScope;
590
+ },
591
+ ConsentStatus: function() {
592
+ return ConsentStatus;
593
+ },
582
594
  CreateUserRequestIdentificationsInnerTypeEnum: function() {
583
595
  return CreateUserRequestIdentificationsInnerTypeEnum;
584
596
  },
@@ -1413,6 +1425,9 @@ __export(src_exports, {
1413
1425
  getClientId: function() {
1414
1426
  return getClientId;
1415
1427
  },
1428
+ getConsentById: function() {
1429
+ return getConsentById;
1430
+ },
1416
1431
  getExternalAccount: function() {
1417
1432
  return getExternalAccount;
1418
1433
  },
@@ -1443,6 +1458,9 @@ __export(src_exports, {
1443
1458
  getSsoAccessTokenHandler: function() {
1444
1459
  return getSsoAccessTokenHandler;
1445
1460
  },
1461
+ getTransferByToken: function() {
1462
+ return getTransferByToken;
1463
+ },
1446
1464
  getUserProgram: function() {
1447
1465
  return getUserProgram;
1448
1466
  },
@@ -19199,6 +19217,63 @@ var TransactionDirection;
19199
19217
  TransactionDirection2["In"] = "IN";
19200
19218
  TransactionDirection2["Out"] = "OUT";
19201
19219
  })(TransactionDirection || (TransactionDirection = {}));
19220
+ // src/wla/base/types/AtmSearch.ts
19221
+ var AtmLocationAccessFeesEnum;
19222
+ (function(AtmLocationAccessFeesEnum2) {
19223
+ AtmLocationAccessFeesEnum2["Unknown"] = "UNKNOWN";
19224
+ AtmLocationAccessFeesEnum2["Domestic"] = "DOMESTIC";
19225
+ AtmLocationAccessFeesEnum2["International"] = "INTERNATIONAL";
19226
+ AtmLocationAccessFeesEnum2["DomesticAndInternational"] = "DOMESTIC_AND_INTERNATIONAL";
19227
+ AtmLocationAccessFeesEnum2["NoFee"] = "NO_FEE";
19228
+ })(AtmLocationAccessFeesEnum || (AtmLocationAccessFeesEnum = {}));
19229
+ var AtmLocationAvailabilityEnum;
19230
+ (function(AtmLocationAvailabilityEnum2) {
19231
+ AtmLocationAvailabilityEnum2["Unknown"] = "UNKNOWN";
19232
+ AtmLocationAvailabilityEnum2["AlwaysAvailable"] = "ALWAYS_AVAILABLE";
19233
+ AtmLocationAvailabilityEnum2["BusinessHours"] = "BUSINESS_HOURS";
19234
+ AtmLocationAvailabilityEnum2["IrregularHours"] = "IRREGULAR_HOURS";
19235
+ })(AtmLocationAvailabilityEnum || (AtmLocationAvailabilityEnum = {}));
19236
+ var AtmLocationDistanceUnitEnum;
19237
+ (function(AtmLocationDistanceUnitEnum2) {
19238
+ AtmLocationDistanceUnitEnum2["Km"] = "KM";
19239
+ AtmLocationDistanceUnitEnum2["Mile"] = "MILE";
19240
+ })(AtmLocationDistanceUnitEnum || (AtmLocationDistanceUnitEnum = {}));
19241
+ var AtmLocationHandicapAccessibleEnum;
19242
+ (function(AtmLocationHandicapAccessibleEnum2) {
19243
+ AtmLocationHandicapAccessibleEnum2["Unknown"] = "UNKNOWN";
19244
+ AtmLocationHandicapAccessibleEnum2["IsHandicapAccessible"] = "IS_HANDICAP_ACCESSIBLE";
19245
+ AtmLocationHandicapAccessibleEnum2["NotHandicapAccessible"] = "NOT_HANDICAP_ACCESSIBLE";
19246
+ })(AtmLocationHandicapAccessibleEnum || (AtmLocationHandicapAccessibleEnum = {}));
19247
+ var AtmLocationHasSharedDepositEnum;
19248
+ (function(AtmLocationHasSharedDepositEnum2) {
19249
+ AtmLocationHasSharedDepositEnum2["True"] = "true";
19250
+ AtmLocationHasSharedDepositEnum2["False"] = "false";
19251
+ })(AtmLocationHasSharedDepositEnum || (AtmLocationHasSharedDepositEnum = {}));
19252
+ var AtmLocationIsSurchargeFreeAllianceEnum;
19253
+ (function(AtmLocationIsSurchargeFreeAllianceEnum2) {
19254
+ AtmLocationIsSurchargeFreeAllianceEnum2["True"] = "true";
19255
+ AtmLocationIsSurchargeFreeAllianceEnum2["False"] = "false";
19256
+ })(AtmLocationIsSurchargeFreeAllianceEnum || (AtmLocationIsSurchargeFreeAllianceEnum = {}));
19257
+ var AtmLocationLocationTypeEnum;
19258
+ (function(AtmLocationLocationTypeEnum2) {
19259
+ AtmLocationLocationTypeEnum2["Other"] = "OTHER";
19260
+ AtmLocationLocationTypeEnum2["Airport"] = "AIRPORT";
19261
+ AtmLocationLocationTypeEnum2["Hospital"] = "HOSPITAL";
19262
+ AtmLocationLocationTypeEnum2["FinancialInstitution"] = "FINANCIAL_INSTITUTION";
19263
+ })(AtmLocationLocationTypeEnum || (AtmLocationLocationTypeEnum = {}));
19264
+ var AtmLocationSupportsContactLessEnum;
19265
+ (function(AtmLocationSupportsContactLessEnum2) {
19266
+ AtmLocationSupportsContactLessEnum2["SupportsContactless"] = "SUPPORTS_CONTACTLESS";
19267
+ AtmLocationSupportsContactLessEnum2["DoesNotSupportContactless"] = "DOES_NOT_SUPPORT_CONTACTLESS";
19268
+ AtmLocationSupportsContactLessEnum2["Unknown"] = "UNKNOWN";
19269
+ })(AtmLocationSupportsContactLessEnum || (AtmLocationSupportsContactLessEnum = {}));
19270
+ var AtmLocationSurchargeFreeAllianceNetworkEnum;
19271
+ (function(AtmLocationSurchargeFreeAllianceNetworkEnum2) {
19272
+ AtmLocationSurchargeFreeAllianceNetworkEnum2["DoesNotParticipateInSfa"] = "DOES_NOT_PARTICIPATE_IN_SFA";
19273
+ AtmLocationSurchargeFreeAllianceNetworkEnum2["AllpointPrepaid"] = "ALLPOINT_PREPAID";
19274
+ AtmLocationSurchargeFreeAllianceNetworkEnum2["MoneypassDebit"] = "MONEYPASS_DEBIT";
19275
+ AtmLocationSurchargeFreeAllianceNetworkEnum2["AllSurchargeFree"] = "ALL_SURCHARGE_FREE";
19276
+ })(AtmLocationSurchargeFreeAllianceNetworkEnum || (AtmLocationSurchargeFreeAllianceNetworkEnum = {}));
19202
19277
  // src/wla/base/types/BookTransferResponse.ts
19203
19278
  var BookTransferResponseStatusEnum;
19204
19279
  (function(BookTransferResponseStatusEnum2) {
@@ -19230,6 +19305,30 @@ var ShippingMethodEnum;
19230
19305
  ShippingMethodEnum2["USPS_EXPEDITED"] = "USPS_EXPEDITED";
19231
19306
  ShippingMethodEnum2["USPS_REGULAR"] = "USPS_REGULAR";
19232
19307
  })(ShippingMethodEnum || (ShippingMethodEnum = {}));
19308
+ // src/wla/base/types/ConsentResponse.ts
19309
+ var ConsentStatus;
19310
+ (function(ConsentStatus2) {
19311
+ ConsentStatus2["AUTHORISED"] = "AUTHORISED";
19312
+ ConsentStatus2["REJECTED"] = "REJECTED";
19313
+ ConsentStatus2["AWAITING_AUTHORISATION"] = "AWAITING_AUTHORISATION";
19314
+ ConsentStatus2["REVOKED"] = "REVOKED";
19315
+ ConsentStatus2["CONSUMED"] = "CONSUMED";
19316
+ })(ConsentStatus || (ConsentStatus = {}));
19317
+ var ConsentScope;
19318
+ (function(ConsentScope2) {
19319
+ ConsentScope2["ACCOUNTS"] = "ACCOUNTS";
19320
+ ConsentScope2["PAYMENTS"] = "PAYMENTS";
19321
+ })(ConsentScope || (ConsentScope = {}));
19322
+ var ConsentPaymentScope;
19323
+ (function(ConsentPaymentScope2) {
19324
+ ConsentPaymentScope2["DOMESTIC"] = "DOMESTIC";
19325
+ ConsentPaymentScope2["INTERNATIONAL"] = "INTERNATIONAL";
19326
+ })(ConsentPaymentScope || (ConsentPaymentScope = {}));
19327
+ var ConsentPaymentType;
19328
+ (function(ConsentPaymentType2) {
19329
+ ConsentPaymentType2["STANDARD"] = "STANDARD";
19330
+ ConsentPaymentType2["SCHEDULED"] = "SCHEDULED";
19331
+ })(ConsentPaymentType || (ConsentPaymentType = {}));
19233
19332
  // src/wla/base/types/ExternalAccountListRequest.ts
19234
19333
  var ExternalAccountStatus;
19235
19334
  (function(ExternalAccountStatus3) {
@@ -19304,6 +19403,13 @@ var PushRegistrationRequestDevicePlatformEnum;
19304
19403
  PushRegistrationRequestDevicePlatformEnum2["IOS"] = "IOS";
19305
19404
  PushRegistrationRequestDevicePlatformEnum2["ANDROID"] = "ANDROID";
19306
19405
  })(PushRegistrationRequestDevicePlatformEnum || (PushRegistrationRequestDevicePlatformEnum = {}));
19406
+ // src/wla/base/types/ReplaceCard.ts
19407
+ var ReplaceCardRequestReasonEnum;
19408
+ (function(ReplaceCardRequestReasonEnum2) {
19409
+ ReplaceCardRequestReasonEnum2["Lost"] = "LOST";
19410
+ ReplaceCardRequestReasonEnum2["Stolen"] = "STOLEN";
19411
+ ReplaceCardRequestReasonEnum2["Damaged"] = "DAMAGED";
19412
+ })(ReplaceCardRequestReasonEnum || (ReplaceCardRequestReasonEnum = {}));
19307
19413
  // src/wla/base/types/TransactionListResponse.ts
19308
19414
  var TransactionStatus;
19309
19415
  (function(TransactionStatus2) {
@@ -19372,70 +19478,6 @@ var WlaUserStatus;
19372
19478
  WlaUserStatus2["SUSPENDED"] = "SUSPENDED";
19373
19479
  WlaUserStatus2["TERMINATED"] = "TERMINATED";
19374
19480
  })(WlaUserStatus || (WlaUserStatus = {}));
19375
- // src/wla/base/types/AtmSearch.ts
19376
- var AtmLocationAccessFeesEnum;
19377
- (function(AtmLocationAccessFeesEnum2) {
19378
- AtmLocationAccessFeesEnum2["Unknown"] = "UNKNOWN";
19379
- AtmLocationAccessFeesEnum2["Domestic"] = "DOMESTIC";
19380
- AtmLocationAccessFeesEnum2["International"] = "INTERNATIONAL";
19381
- AtmLocationAccessFeesEnum2["DomesticAndInternational"] = "DOMESTIC_AND_INTERNATIONAL";
19382
- AtmLocationAccessFeesEnum2["NoFee"] = "NO_FEE";
19383
- })(AtmLocationAccessFeesEnum || (AtmLocationAccessFeesEnum = {}));
19384
- var AtmLocationAvailabilityEnum;
19385
- (function(AtmLocationAvailabilityEnum2) {
19386
- AtmLocationAvailabilityEnum2["Unknown"] = "UNKNOWN";
19387
- AtmLocationAvailabilityEnum2["AlwaysAvailable"] = "ALWAYS_AVAILABLE";
19388
- AtmLocationAvailabilityEnum2["BusinessHours"] = "BUSINESS_HOURS";
19389
- AtmLocationAvailabilityEnum2["IrregularHours"] = "IRREGULAR_HOURS";
19390
- })(AtmLocationAvailabilityEnum || (AtmLocationAvailabilityEnum = {}));
19391
- var AtmLocationDistanceUnitEnum;
19392
- (function(AtmLocationDistanceUnitEnum2) {
19393
- AtmLocationDistanceUnitEnum2["Km"] = "KM";
19394
- AtmLocationDistanceUnitEnum2["Mile"] = "MILE";
19395
- })(AtmLocationDistanceUnitEnum || (AtmLocationDistanceUnitEnum = {}));
19396
- var AtmLocationHandicapAccessibleEnum;
19397
- (function(AtmLocationHandicapAccessibleEnum2) {
19398
- AtmLocationHandicapAccessibleEnum2["Unknown"] = "UNKNOWN";
19399
- AtmLocationHandicapAccessibleEnum2["IsHandicapAccessible"] = "IS_HANDICAP_ACCESSIBLE";
19400
- AtmLocationHandicapAccessibleEnum2["NotHandicapAccessible"] = "NOT_HANDICAP_ACCESSIBLE";
19401
- })(AtmLocationHandicapAccessibleEnum || (AtmLocationHandicapAccessibleEnum = {}));
19402
- var AtmLocationHasSharedDepositEnum;
19403
- (function(AtmLocationHasSharedDepositEnum2) {
19404
- AtmLocationHasSharedDepositEnum2["True"] = "true";
19405
- AtmLocationHasSharedDepositEnum2["False"] = "false";
19406
- })(AtmLocationHasSharedDepositEnum || (AtmLocationHasSharedDepositEnum = {}));
19407
- var AtmLocationIsSurchargeFreeAllianceEnum;
19408
- (function(AtmLocationIsSurchargeFreeAllianceEnum2) {
19409
- AtmLocationIsSurchargeFreeAllianceEnum2["True"] = "true";
19410
- AtmLocationIsSurchargeFreeAllianceEnum2["False"] = "false";
19411
- })(AtmLocationIsSurchargeFreeAllianceEnum || (AtmLocationIsSurchargeFreeAllianceEnum = {}));
19412
- var AtmLocationLocationTypeEnum;
19413
- (function(AtmLocationLocationTypeEnum2) {
19414
- AtmLocationLocationTypeEnum2["Other"] = "OTHER";
19415
- AtmLocationLocationTypeEnum2["Airport"] = "AIRPORT";
19416
- AtmLocationLocationTypeEnum2["Hospital"] = "HOSPITAL";
19417
- AtmLocationLocationTypeEnum2["FinancialInstitution"] = "FINANCIAL_INSTITUTION";
19418
- })(AtmLocationLocationTypeEnum || (AtmLocationLocationTypeEnum = {}));
19419
- var AtmLocationSupportsContactLessEnum;
19420
- (function(AtmLocationSupportsContactLessEnum2) {
19421
- AtmLocationSupportsContactLessEnum2["SupportsContactless"] = "SUPPORTS_CONTACTLESS";
19422
- AtmLocationSupportsContactLessEnum2["DoesNotSupportContactless"] = "DOES_NOT_SUPPORT_CONTACTLESS";
19423
- AtmLocationSupportsContactLessEnum2["Unknown"] = "UNKNOWN";
19424
- })(AtmLocationSupportsContactLessEnum || (AtmLocationSupportsContactLessEnum = {}));
19425
- var AtmLocationSurchargeFreeAllianceNetworkEnum;
19426
- (function(AtmLocationSurchargeFreeAllianceNetworkEnum2) {
19427
- AtmLocationSurchargeFreeAllianceNetworkEnum2["DoesNotParticipateInSfa"] = "DOES_NOT_PARTICIPATE_IN_SFA";
19428
- AtmLocationSurchargeFreeAllianceNetworkEnum2["AllpointPrepaid"] = "ALLPOINT_PREPAID";
19429
- AtmLocationSurchargeFreeAllianceNetworkEnum2["MoneypassDebit"] = "MONEYPASS_DEBIT";
19430
- AtmLocationSurchargeFreeAllianceNetworkEnum2["AllSurchargeFree"] = "ALL_SURCHARGE_FREE";
19431
- })(AtmLocationSurchargeFreeAllianceNetworkEnum || (AtmLocationSurchargeFreeAllianceNetworkEnum = {}));
19432
- // src/wla/base/types/ReplaceCard.ts
19433
- var ReplaceCardRequestReasonEnum;
19434
- (function(ReplaceCardRequestReasonEnum2) {
19435
- ReplaceCardRequestReasonEnum2["Lost"] = "LOST";
19436
- ReplaceCardRequestReasonEnum2["Stolen"] = "STOLEN";
19437
- ReplaceCardRequestReasonEnum2["Damaged"] = "DAMAGED";
19438
- })(ReplaceCardRequestReasonEnum || (ReplaceCardRequestReasonEnum = {}));
19439
19481
  // src/wla/adapters/RestWlaService.ts
19440
19482
  function _ts_decorate104(decorators, target, key, desc) {
19441
19483
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -20644,6 +20686,88 @@ var _RestWlaService = /*#__PURE__*/ function() {
20644
20686
  });
20645
20687
  })();
20646
20688
  }
20689
+ },
20690
+ {
20691
+ key: "getConsentById",
20692
+ value: function getConsentById(id, country_code) {
20693
+ var _this = this;
20694
+ return _async_to_generator(function() {
20695
+ var cuiApiBaseUrl, path, params, error2;
20696
+ return _ts_generator(this, function(_state) {
20697
+ switch(_state.label){
20698
+ case 0:
20699
+ _state.trys.push([
20700
+ 0,
20701
+ 2,
20702
+ ,
20703
+ 3
20704
+ ]);
20705
+ cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
20706
+ path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/consents/").concat(id);
20707
+ params = {
20708
+ headers: _this.getCommonWlaApiHeaders()
20709
+ };
20710
+ return [
20711
+ 4,
20712
+ _this.httpClient.get(path, params)
20713
+ ];
20714
+ case 1:
20715
+ return [
20716
+ 2,
20717
+ _state.sent()
20718
+ ];
20719
+ case 2:
20720
+ error2 = _state.sent();
20721
+ throw new MqSDKError("Unable to get consent for the id provided", error2);
20722
+ case 3:
20723
+ return [
20724
+ 2
20725
+ ];
20726
+ }
20727
+ });
20728
+ })();
20729
+ }
20730
+ },
20731
+ {
20732
+ key: "getTransferByToken",
20733
+ value: function getTransferByToken(token, country_code) {
20734
+ var _this = this;
20735
+ return _async_to_generator(function() {
20736
+ var cuiApiBaseUrl, path, params, error2;
20737
+ return _ts_generator(this, function(_state) {
20738
+ switch(_state.label){
20739
+ case 0:
20740
+ _state.trys.push([
20741
+ 0,
20742
+ 2,
20743
+ ,
20744
+ 3
20745
+ ]);
20746
+ cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
20747
+ path = "".concat(cuiApiBaseUrl, "/api/v1/wla/open-banking/").concat(country_code, "/transfers/").concat(token);
20748
+ params = {
20749
+ headers: _this.getCommonWlaApiHeaders()
20750
+ };
20751
+ return [
20752
+ 4,
20753
+ _this.httpClient.get(path, params)
20754
+ ];
20755
+ case 1:
20756
+ return [
20757
+ 2,
20758
+ _state.sent()
20759
+ ];
20760
+ case 2:
20761
+ error2 = _state.sent();
20762
+ throw new MqSDKError("Unable to get transfer for the token provided", error2);
20763
+ case 3:
20764
+ return [
20765
+ 2
20766
+ ];
20767
+ }
20768
+ });
20769
+ })();
20770
+ }
20647
20771
  }
20648
20772
  ]);
20649
20773
  return _RestWlaService;
@@ -20847,6 +20971,33 @@ function _getAccountTransactions() {
20847
20971
  return _getAccountTransactions.apply(this, arguments);
20848
20972
  }
20849
20973
  __name(getAccountTransactions, "getAccountTransactions");
20974
+ function getConsentById(id, country_code) {
20975
+ return _getConsentById.apply(this, arguments);
20976
+ }
20977
+ function _getConsentById() {
20978
+ _getConsentById = // src/wla/base/interactors/getConsentById.ts
20979
+ _async_to_generator(function(id, country_code) {
20980
+ var container2, wlaService;
20981
+ return _ts_generator(this, function(_state) {
20982
+ switch(_state.label){
20983
+ case 0:
20984
+ container2 = getActiveIocContainer();
20985
+ wlaService = container2.get(ITF_WLA_SERVICE);
20986
+ return [
20987
+ 4,
20988
+ wlaService.getConsentById(id, country_code)
20989
+ ];
20990
+ case 1:
20991
+ return [
20992
+ 2,
20993
+ _state.sent()
20994
+ ];
20995
+ }
20996
+ });
20997
+ });
20998
+ return _getConsentById.apply(this, arguments);
20999
+ }
21000
+ __name(getConsentById, "getConsentById");
20850
21001
  function getExternalAccount(token) {
20851
21002
  return _getExternalAccount.apply(this, arguments);
20852
21003
  }
@@ -20930,6 +21081,71 @@ function _getOffers() {
20930
21081
  return _getOffers.apply(this, arguments);
20931
21082
  }
20932
21083
  __name(getOffers, "getOffers");
21084
+ function getOutagesByToken(outageToken, devicePlatform) {
21085
+ return _getOutagesByToken.apply(this, arguments);
21086
+ }
21087
+ function _getOutagesByToken() {
21088
+ _getOutagesByToken = // src/wla/base/interactors/getOutagesByToken.ts
21089
+ _async_to_generator(function(outageToken, devicePlatform) {
21090
+ var container2, wlaService;
21091
+ return _ts_generator(this, function(_state) {
21092
+ container2 = getActiveIocContainer();
21093
+ wlaService = container2.get(ITF_WLA_SERVICE);
21094
+ return [
21095
+ 2,
21096
+ wlaService.getOutageByToken(outageToken, devicePlatform)
21097
+ ];
21098
+ });
21099
+ });
21100
+ return _getOutagesByToken.apply(this, arguments);
21101
+ }
21102
+ __name(getOutagesByToken, "getOutagesByToken");
21103
+ function getOutagesList(devicePlatform) {
21104
+ return _getOutagesList.apply(this, arguments);
21105
+ }
21106
+ function _getOutagesList() {
21107
+ _getOutagesList = // src/wla/base/interactors/getOutagesList.ts
21108
+ _async_to_generator(function(devicePlatform) {
21109
+ var container2, wlaService;
21110
+ return _ts_generator(this, function(_state) {
21111
+ container2 = getActiveIocContainer();
21112
+ wlaService = container2.get(ITF_WLA_SERVICE);
21113
+ return [
21114
+ 2,
21115
+ wlaService.getOutagesList(devicePlatform)
21116
+ ];
21117
+ });
21118
+ });
21119
+ return _getOutagesList.apply(this, arguments);
21120
+ }
21121
+ __name(getOutagesList, "getOutagesList");
21122
+ function getTransferByToken(token, country_code) {
21123
+ return _getTransferByToken.apply(this, arguments);
21124
+ }
21125
+ function _getTransferByToken() {
21126
+ _getTransferByToken = // src/wla/base/interactors/getTransferByToken.ts
21127
+ _async_to_generator(function(token, country_code) {
21128
+ var container2, wlaService;
21129
+ return _ts_generator(this, function(_state) {
21130
+ switch(_state.label){
21131
+ case 0:
21132
+ container2 = getActiveIocContainer();
21133
+ wlaService = container2.get(ITF_WLA_SERVICE);
21134
+ return [
21135
+ 4,
21136
+ wlaService.getTransferByToken(token, country_code)
21137
+ ];
21138
+ case 1:
21139
+ return [
21140
+ 2,
21141
+ _state.sent()
21142
+ ];
21143
+ }
21144
+ });
21145
+ });
21146
+ return _getTransferByToken.apply(this, arguments);
21147
+ }
21148
+ __name(getTransferByToken, "getTransferByToken");
20933
21149
  function getWlaAccountDetails(accountToken, includeYtdInterest, includeInterestTiers) {
20934
21150
  return _getWlaAccountDetails.apply(this, arguments);
20935
21151
  }
@@ -21049,11 +21265,11 @@ function _getWlaUserProfile() {
21049
21265
  return _getWlaUserProfile.apply(this, arguments);
21050
21266
  }
21051
21267
  __name(getWlaUserProfile, "getWlaUserProfile");
21052
- function markAccountVerified() {
21053
- return _markAccountVerified.apply(this, arguments);
21268
+ function markAccountActivated() {
21269
+ return _markAccountActivated.apply(this, arguments);
21054
21270
  }
21055
- function _markAccountVerified() {
21056
- _markAccountVerified = // src/wla/base/interactors/markAccountVerified.ts
21271
+ function _markAccountActivated() {
21272
+ _markAccountActivated = // src/wla/base/interactors/markAccountActivated.ts
21057
21273
  _async_to_generator(function() {
21058
21274
  var container2, wlaService;
21059
21275
  return _ts_generator(this, function(_state) {
@@ -21063,7 +21279,7 @@ function _markAccountVerified() {
21063
21279
  wlaService = container2.get(ITF_WLA_SERVICE);
21064
21280
  return [
21065
21281
  4,
21066
- wlaService.markAccountVerified()
21282
+ wlaService.markAccountActivated()
21067
21283
  ];
21068
21284
  case 1:
21069
21285
  return [
@@ -21073,14 +21289,14 @@ function _markAccountVerified() {
21073
21289
  }
21074
21290
  });
21075
21291
  });
21076
- return _markAccountVerified.apply(this, arguments);
21077
- }
21078
- __name(markAccountVerified, "markAccountVerified");
21079
- function markAccountActivated() {
21080
21292
  return _markAccountActivated.apply(this, arguments);
21081
21293
  }
21082
- function _markAccountActivated() {
21083
- _markAccountActivated = // src/wla/base/interactors/markAccountActivated.ts
21294
+ __name(markAccountActivated, "markAccountActivated");
21295
+ function markAccountVerified() {
21296
+ return _markAccountVerified.apply(this, arguments);
21297
+ }
21298
+ function _markAccountVerified() {
21299
+ _markAccountVerified = // src/wla/base/interactors/markAccountVerified.ts
21084
21300
  _async_to_generator(function() {
21085
21301
  var container2, wlaService;
21086
21302
  return _ts_generator(this, function(_state) {
@@ -21090,7 +21306,7 @@ function _markAccountActivated() {
21090
21306
  wlaService = container2.get(ITF_WLA_SERVICE);
21091
21307
  return [
21092
21308
  4,
21093
- wlaService.markAccountActivated()
21309
+ wlaService.markAccountVerified()
21094
21310
  ];
21095
21311
  case 1:
21096
21312
  return [
@@ -21100,9 +21316,9 @@ function _markAccountActivated() {
21100
21316
  }
21101
21317
  });
21102
21318
  });
21103
- return _markAccountActivated.apply(this, arguments);
21319
+ return _markAccountVerified.apply(this, arguments);
21104
21320
  }
21105
- __name(markAccountActivated, "markAccountActivated");
21321
+ __name(markAccountVerified, "markAccountVerified");
21106
21322
  function registerDeviceForPushNotifications(requestBody) {
21107
21323
  return _registerDeviceForPushNotifications.apply(this, arguments);
21108
21324
  }
@@ -21130,6 +21346,60 @@ function _registerDeviceForPushNotifications() {
21130
21346
  return _registerDeviceForPushNotifications.apply(this, arguments);
21131
21347
  }
21132
21348
  __name(registerDeviceForPushNotifications, "registerDeviceForPushNotifications");
21349
+ function replaceWlaCard(requestBody) {
21350
+ return _replaceWlaCard.apply(this, arguments);
21351
+ }
21352
+ function _replaceWlaCard() {
21353
+ _replaceWlaCard = // src/wla/base/interactors/replaceWlaCard.ts
21354
+ _async_to_generator(function(requestBody) {
21355
+ var container2, wlaService;
21356
+ return _ts_generator(this, function(_state) {
21357
+ switch(_state.label){
21358
+ case 0:
21359
+ container2 = getActiveIocContainer();
21360
+ wlaService = container2.get(ITF_WLA_SERVICE);
21361
+ return [
21362
+ 4,
21363
+ wlaService.replaceCard(requestBody)
21364
+ ];
21365
+ case 1:
21366
+ return [
21367
+ 2,
21368
+ _state.sent()
21369
+ ];
21370
+ }
21371
+ });
21372
+ });
21373
+ return _replaceWlaCard.apply(this, arguments);
21374
+ }
21375
+ __name(replaceWlaCard, "replaceWlaCard");
21376
+ function searchAtms(requestBody, requestFilters) {
21377
+ return _searchAtms.apply(this, arguments);
21378
+ }
21379
+ function _searchAtms() {
21380
+ _searchAtms = // src/wla/base/interactors/searchAtms.ts
21381
+ _async_to_generator(function(requestBody, requestFilters) {
21382
+ var container2, wlaService;
21383
+ return _ts_generator(this, function(_state) {
21384
+ switch(_state.label){
21385
+ case 0:
21386
+ container2 = getActiveIocContainer();
21387
+ wlaService = container2.get(ITF_WLA_SERVICE);
21388
+ return [
21389
+ 4,
21390
+ wlaService.searchAtms(requestBody, requestFilters)
21391
+ ];
21392
+ case 1:
21393
+ return [
21394
+ 2,
21395
+ _state.sent()
21396
+ ];
21397
+ }
21398
+ });
21399
+ });
21400
+ return _searchAtms.apply(this, arguments);
21401
+ }
21402
+ __name(searchAtms, "searchAtms");
21133
21403
  function setWlaCardPin(cardToken, pin) {
21134
21404
  return _setWlaCardPin.apply(this, arguments);
21135
21405
  }
@@ -21256,98 +21526,6 @@ function _verifyExternalAccount() {
21256
21526
  return _verifyExternalAccount.apply(this, arguments);
21257
21527
  }
21258
21528
  __name(verifyExternalAccount, "verifyExternalAccount");
21259
- function searchAtms(requestBody, requestFilters) {
21260
- return _searchAtms.apply(this, arguments);
21261
- }
21262
- function _searchAtms() {
21263
- _searchAtms = // src/wla/base/interactors/searchAtms.ts
21264
- _async_to_generator(function(requestBody, requestFilters) {
21265
- var container2, wlaService;
21266
- return _ts_generator(this, function(_state) {
21267
- switch(_state.label){
21268
- case 0:
21269
- container2 = getActiveIocContainer();
21270
- wlaService = container2.get(ITF_WLA_SERVICE);
21271
- return [
21272
- 4,
21273
- wlaService.searchAtms(requestBody, requestFilters)
21274
- ];
21275
- case 1:
21276
- return [
21277
- 2,
21278
- _state.sent()
21279
- ];
21280
- }
21281
- });
21282
- });
21283
- return _searchAtms.apply(this, arguments);
21284
- }
21285
- __name(searchAtms, "searchAtms");
21286
- function replaceWlaCard(requestBody) {
21287
- return _replaceWlaCard.apply(this, arguments);
21288
- }
21289
- function _replaceWlaCard() {
21290
- _replaceWlaCard = // src/wla/base/interactors/replaceWlaCard.ts
21291
- _async_to_generator(function(requestBody) {
21292
- var container2, wlaService;
21293
- return _ts_generator(this, function(_state) {
21294
- switch(_state.label){
21295
- case 0:
21296
- container2 = getActiveIocContainer();
21297
- wlaService = container2.get(ITF_WLA_SERVICE);
21298
- return [
21299
- 4,
21300
- wlaService.replaceCard(requestBody)
21301
- ];
21302
- case 1:
21303
- return [
21304
- 2,
21305
- _state.sent()
21306
- ];
21307
- }
21308
- });
21309
- });
21310
- return _replaceWlaCard.apply(this, arguments);
21311
- }
21312
- __name(replaceWlaCard, "replaceWlaCard");
21313
- function getOutagesList(devicePlatform) {
21314
- return _getOutagesList.apply(this, arguments);
21315
- }
21316
- function _getOutagesList() {
21317
- _getOutagesList = // src/wla/base/interactors/getOutagesList.ts
21318
- _async_to_generator(function(devicePlatform) {
21319
- var container2, wlaService;
21320
- return _ts_generator(this, function(_state) {
21321
- container2 = getActiveIocContainer();
21322
- wlaService = container2.get(ITF_WLA_SERVICE);
21323
- return [
21324
- 2,
21325
- wlaService.getOutagesList(devicePlatform)
21326
- ];
21327
- });
21328
- });
21329
- return _getOutagesList.apply(this, arguments);
21330
- }
21331
- __name(getOutagesList, "getOutagesList");
21332
- function getOutagesByToken(outageToken, devicePlatform) {
21333
- return _getOutagesByToken.apply(this, arguments);
21334
- }
21335
- function _getOutagesByToken() {
21336
- _getOutagesByToken = // src/wla/base/interactors/getOutagesByToken.ts
21337
- _async_to_generator(function(outageToken, devicePlatform) {
21338
- var container2, wlaService;
21339
- return _ts_generator(this, function(_state) {
21340
- container2 = getActiveIocContainer();
21341
- wlaService = container2.get(ITF_WLA_SERVICE);
21342
- return [
21343
- 2,
21344
- wlaService.getOutageByToken(outageToken, devicePlatform)
21345
- ];
21346
- });
21347
- });
21348
- return _getOutagesByToken.apply(this, arguments);
21349
- }
21350
- __name(getOutagesByToken, "getOutagesByToken");
21351
21529
  // src/wla/ioc/WlaIocModule.ts
21352
21530
  var import_inversify134 = require("inversify");
21353
21531
  var WlaIocModule = new import_inversify134.ContainerModule(function(bind) {
@@ -21746,6 +21924,10 @@ setActiveIocContainer(container);
21746
21924
  CardholderContextEntity: CardholderContextEntity,
21747
21925
  CardholderVerificationMethods: CardholderVerificationMethods,
21748
21926
  CleanupOnUnload: CleanupOnUnload,
21927
+ ConsentPaymentScope: ConsentPaymentScope,
21928
+ ConsentPaymentType: ConsentPaymentType,
21929
+ ConsentScope: ConsentScope,
21930
+ ConsentStatus: ConsentStatus,
21749
21931
  CreateUserRequestIdentificationsInnerTypeEnum: CreateUserRequestIdentificationsInnerTypeEnum,
21750
21932
  CreateUserResponseStatusEnum: CreateUserResponseStatusEnum,
21751
21933
  Currency: Currency,
@@ -22024,6 +22206,7 @@ setActiveIocContainer(container);
22024
22206
  getCachedAuthTokenExpiration: getCachedAuthTokenExpiration,
22025
22207
  getCardholderContext: getCardholderContext,
22026
22208
  getClientId: getClientId,
22209
+ getConsentById: getConsentById,
22027
22210
  getExternalAccount: getExternalAccount,
22028
22211
  getExternalAccountList: getExternalAccountList,
22029
22212
  getMockUpdatedUserRequestToCreateResponse: getMockUpdatedUserRequestToCreateResponse,
@@ -22034,6 +22217,7 @@ setActiveIocContainer(container);
22034
22217
  getOutagesList: getOutagesList,
22035
22218
  getSessionId: getSessionId,
22036
22219
  getSsoAccessTokenHandler: getSsoAccessTokenHandler,
22220
+ getTransferByToken: getTransferByToken,
22037
22221
  getUserProgram: getUserProgram,
22038
22222
  getUserTokenHash: getUserTokenHash,
22039
22223
  getWlaAccountDetails: getWlaAccountDetails,