@marqeta/ux-toolkit-sdk-javascript 1.3.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.d.mts +294 -145
- package/dist/index.d.ts +294 -145
- package/dist/index.js +554 -247
- package/dist/index.mjs +525 -258
- package/package.json +1 -1
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
|
},
|
|
@@ -900,6 +912,9 @@ __export(src_exports, {
|
|
|
900
912
|
InitiateFunding: function() {
|
|
901
913
|
return InitiateFunding;
|
|
902
914
|
},
|
|
915
|
+
InterestTierResponseTypeEnum: function() {
|
|
916
|
+
return InterestTierResponseTypeEnum;
|
|
917
|
+
},
|
|
903
918
|
IsMockModeEnabled: function() {
|
|
904
919
|
return IsMockModeEnabled;
|
|
905
920
|
},
|
|
@@ -1254,6 +1269,9 @@ __export(src_exports, {
|
|
|
1254
1269
|
TransactionDirection: function() {
|
|
1255
1270
|
return TransactionDirection;
|
|
1256
1271
|
},
|
|
1272
|
+
TransactionDisputeStatus: function() {
|
|
1273
|
+
return TransactionDisputeStatus;
|
|
1274
|
+
},
|
|
1257
1275
|
TransactionRecordStatus: function() {
|
|
1258
1276
|
return TransactionRecordStatus;
|
|
1259
1277
|
},
|
|
@@ -1407,6 +1425,9 @@ __export(src_exports, {
|
|
|
1407
1425
|
getClientId: function() {
|
|
1408
1426
|
return getClientId;
|
|
1409
1427
|
},
|
|
1428
|
+
getConsentById: function() {
|
|
1429
|
+
return getConsentById;
|
|
1430
|
+
},
|
|
1410
1431
|
getExternalAccount: function() {
|
|
1411
1432
|
return getExternalAccount;
|
|
1412
1433
|
},
|
|
@@ -1425,12 +1446,21 @@ __export(src_exports, {
|
|
|
1425
1446
|
getOffers: function() {
|
|
1426
1447
|
return getOffers;
|
|
1427
1448
|
},
|
|
1449
|
+
getOutagesByToken: function() {
|
|
1450
|
+
return getOutagesByToken;
|
|
1451
|
+
},
|
|
1452
|
+
getOutagesList: function() {
|
|
1453
|
+
return getOutagesList;
|
|
1454
|
+
},
|
|
1428
1455
|
getSessionId: function() {
|
|
1429
1456
|
return getSessionId;
|
|
1430
1457
|
},
|
|
1431
1458
|
getSsoAccessTokenHandler: function() {
|
|
1432
1459
|
return getSsoAccessTokenHandler;
|
|
1433
1460
|
},
|
|
1461
|
+
getTransferByToken: function() {
|
|
1462
|
+
return getTransferByToken;
|
|
1463
|
+
},
|
|
1434
1464
|
getUserProgram: function() {
|
|
1435
1465
|
return getUserProgram;
|
|
1436
1466
|
},
|
|
@@ -6405,54 +6435,41 @@ var _RestAuthService = /*#__PURE__*/ function() {
|
|
|
6405
6435
|
value: function getCardholderContext() {
|
|
6406
6436
|
var _this = this;
|
|
6407
6437
|
return _async_to_generator(function() {
|
|
6408
|
-
var cardholderContext,
|
|
6438
|
+
var cardholderContext, cuiApiBaseUrl, path, data, convertedData, error2;
|
|
6409
6439
|
return _ts_generator(this, function(_state) {
|
|
6410
6440
|
switch(_state.label){
|
|
6411
6441
|
case 0:
|
|
6412
6442
|
_state.trys.push([
|
|
6413
6443
|
0,
|
|
6414
|
-
|
|
6444
|
+
3,
|
|
6415
6445
|
,
|
|
6416
|
-
|
|
6446
|
+
4
|
|
6417
6447
|
]);
|
|
6418
6448
|
if (!!cardholderContext) return [
|
|
6419
6449
|
3,
|
|
6420
|
-
|
|
6450
|
+
2
|
|
6421
6451
|
];
|
|
6422
|
-
token = _this.cacheService.get("token");
|
|
6423
6452
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
6424
6453
|
path = "".concat(cuiApiBaseUrl, "/api/v1/auth/cardholder-context");
|
|
6425
6454
|
return [
|
|
6426
6455
|
4,
|
|
6427
|
-
|
|
6428
|
-
method: "GET",
|
|
6429
|
-
headers: {
|
|
6430
|
-
"Authorization": "Bearer ".concat(token),
|
|
6431
|
-
"Content-Type": "application/json"
|
|
6432
|
-
}
|
|
6433
|
-
})
|
|
6456
|
+
_this.authenticatedHttpClient.get(path)
|
|
6434
6457
|
];
|
|
6435
6458
|
case 1:
|
|
6436
|
-
response = _state.sent();
|
|
6437
|
-
return [
|
|
6438
|
-
4,
|
|
6439
|
-
response.json()
|
|
6440
|
-
];
|
|
6441
|
-
case 2:
|
|
6442
6459
|
data = _state.sent();
|
|
6443
6460
|
convertedData = convertObjKeysToLowerCamelCase(convertObjKeysToCamelCase(data === null || data === void 0 ? void 0 : data.data));
|
|
6444
6461
|
cardholderContext = new CardholderContextEntity(convertedData);
|
|
6445
6462
|
_this.cacheService.set("cardholderContext", cardholderContext);
|
|
6446
|
-
_state.label =
|
|
6447
|
-
case
|
|
6463
|
+
_state.label = 2;
|
|
6464
|
+
case 2:
|
|
6448
6465
|
return [
|
|
6449
6466
|
3,
|
|
6450
|
-
|
|
6467
|
+
4
|
|
6451
6468
|
];
|
|
6452
|
-
case
|
|
6469
|
+
case 3:
|
|
6453
6470
|
error2 = _state.sent();
|
|
6454
6471
|
throw new Error("Error during getCardholderContext ".concat(error2));
|
|
6455
|
-
case
|
|
6472
|
+
case 4:
|
|
6456
6473
|
return [
|
|
6457
6474
|
2,
|
|
6458
6475
|
new CardholderContextEntity(cardholderContext)
|
|
@@ -6467,53 +6484,40 @@ var _RestAuthService = /*#__PURE__*/ function() {
|
|
|
6467
6484
|
value: function getUserTokenHash() {
|
|
6468
6485
|
var _this = this;
|
|
6469
6486
|
return _async_to_generator(function() {
|
|
6470
|
-
var userTokenHash,
|
|
6487
|
+
var userTokenHash, cuiApiBaseUrl, path, data, error2;
|
|
6471
6488
|
return _ts_generator(this, function(_state) {
|
|
6472
6489
|
switch(_state.label){
|
|
6473
6490
|
case 0:
|
|
6474
6491
|
_state.trys.push([
|
|
6475
6492
|
0,
|
|
6476
|
-
|
|
6493
|
+
3,
|
|
6477
6494
|
,
|
|
6478
|
-
|
|
6495
|
+
4
|
|
6479
6496
|
]);
|
|
6480
6497
|
if (!!userTokenHash) return [
|
|
6481
6498
|
3,
|
|
6482
|
-
|
|
6499
|
+
2
|
|
6483
6500
|
];
|
|
6484
|
-
token = _this.cacheService.get("token");
|
|
6485
6501
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
6486
6502
|
path = "".concat(cuiApiBaseUrl, "/api/v1/auth/user-token-hash");
|
|
6487
6503
|
return [
|
|
6488
6504
|
4,
|
|
6489
|
-
|
|
6490
|
-
method: "GET",
|
|
6491
|
-
headers: {
|
|
6492
|
-
"Authorization": "Bearer ".concat(token),
|
|
6493
|
-
"Content-Type": "application/json"
|
|
6494
|
-
}
|
|
6495
|
-
})
|
|
6505
|
+
_this.authenticatedHttpClient.get(path)
|
|
6496
6506
|
];
|
|
6497
6507
|
case 1:
|
|
6498
|
-
response = _state.sent();
|
|
6499
|
-
return [
|
|
6500
|
-
4,
|
|
6501
|
-
response.json()
|
|
6502
|
-
];
|
|
6503
|
-
case 2:
|
|
6504
6508
|
data = _state.sent();
|
|
6505
6509
|
userTokenHash = data.user_token_hash;
|
|
6506
6510
|
_this.cacheService.set("userTokenHash", userTokenHash);
|
|
6507
|
-
_state.label =
|
|
6508
|
-
case
|
|
6511
|
+
_state.label = 2;
|
|
6512
|
+
case 2:
|
|
6509
6513
|
return [
|
|
6510
6514
|
3,
|
|
6511
|
-
|
|
6515
|
+
4
|
|
6512
6516
|
];
|
|
6513
|
-
case
|
|
6517
|
+
case 3:
|
|
6514
6518
|
error2 = _state.sent();
|
|
6515
6519
|
throw new Error("Error during getUserTokenHash ".concat(error2));
|
|
6516
|
-
case
|
|
6520
|
+
case 4:
|
|
6517
6521
|
return [
|
|
6518
6522
|
2,
|
|
6519
6523
|
userTokenHash
|
|
@@ -19202,12 +19206,74 @@ var AccountType;
|
|
|
19202
19206
|
AccountType2["CHECKING"] = "CHECKING";
|
|
19203
19207
|
AccountType2["SAVINGS"] = "SAVINGS";
|
|
19204
19208
|
})(AccountType || (AccountType = {}));
|
|
19209
|
+
var InterestTierResponseTypeEnum;
|
|
19210
|
+
(function(InterestTierResponseTypeEnum2) {
|
|
19211
|
+
InterestTierResponseTypeEnum2["Checking"] = "CHECKING";
|
|
19212
|
+
InterestTierResponseTypeEnum2["Savings"] = "SAVINGS";
|
|
19213
|
+
})(InterestTierResponseTypeEnum || (InterestTierResponseTypeEnum = {}));
|
|
19205
19214
|
// src/wla/base/types/AccountTransactions.ts
|
|
19206
19215
|
var TransactionDirection;
|
|
19207
19216
|
(function(TransactionDirection2) {
|
|
19208
19217
|
TransactionDirection2["In"] = "IN";
|
|
19209
19218
|
TransactionDirection2["Out"] = "OUT";
|
|
19210
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 = {}));
|
|
19211
19277
|
// src/wla/base/types/BookTransferResponse.ts
|
|
19212
19278
|
var BookTransferResponseStatusEnum;
|
|
19213
19279
|
(function(BookTransferResponseStatusEnum2) {
|
|
@@ -19239,6 +19305,30 @@ var ShippingMethodEnum;
|
|
|
19239
19305
|
ShippingMethodEnum2["USPS_EXPEDITED"] = "USPS_EXPEDITED";
|
|
19240
19306
|
ShippingMethodEnum2["USPS_REGULAR"] = "USPS_REGULAR";
|
|
19241
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 = {}));
|
|
19242
19332
|
// src/wla/base/types/ExternalAccountListRequest.ts
|
|
19243
19333
|
var ExternalAccountStatus;
|
|
19244
19334
|
(function(ExternalAccountStatus3) {
|
|
@@ -19313,6 +19403,13 @@ var PushRegistrationRequestDevicePlatformEnum;
|
|
|
19313
19403
|
PushRegistrationRequestDevicePlatformEnum2["IOS"] = "IOS";
|
|
19314
19404
|
PushRegistrationRequestDevicePlatformEnum2["ANDROID"] = "ANDROID";
|
|
19315
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 = {}));
|
|
19316
19413
|
// src/wla/base/types/TransactionListResponse.ts
|
|
19317
19414
|
var TransactionStatus;
|
|
19318
19415
|
(function(TransactionStatus2) {
|
|
@@ -19337,6 +19434,11 @@ var BannerTypeEnum;
|
|
|
19337
19434
|
BannerTypeEnum2["Info"] = "INFO";
|
|
19338
19435
|
BannerTypeEnum2["Warning"] = "WARNING";
|
|
19339
19436
|
})(BannerTypeEnum || (BannerTypeEnum = {}));
|
|
19437
|
+
var TransactionDisputeStatus;
|
|
19438
|
+
(function(TransactionDisputeStatus2) {
|
|
19439
|
+
TransactionDisputeStatus2["InReview"] = "IN_REVIEW";
|
|
19440
|
+
TransactionDisputeStatus2["Completed"] = "COMPLETED";
|
|
19441
|
+
})(TransactionDisputeStatus || (TransactionDisputeStatus = {}));
|
|
19340
19442
|
var TransactionDetailResponseIconTypeEnum;
|
|
19341
19443
|
(function(TransactionDetailResponseIconTypeEnum2) {
|
|
19342
19444
|
TransactionDetailResponseIconTypeEnum2["Payout"] = "PAYOUT";
|
|
@@ -19376,70 +19478,6 @@ var WlaUserStatus;
|
|
|
19376
19478
|
WlaUserStatus2["SUSPENDED"] = "SUSPENDED";
|
|
19377
19479
|
WlaUserStatus2["TERMINATED"] = "TERMINATED";
|
|
19378
19480
|
})(WlaUserStatus || (WlaUserStatus = {}));
|
|
19379
|
-
// src/wla/base/types/AtmSearch.ts
|
|
19380
|
-
var AtmLocationAccessFeesEnum;
|
|
19381
|
-
(function(AtmLocationAccessFeesEnum2) {
|
|
19382
|
-
AtmLocationAccessFeesEnum2["Unknown"] = "UNKNOWN";
|
|
19383
|
-
AtmLocationAccessFeesEnum2["Domestic"] = "DOMESTIC";
|
|
19384
|
-
AtmLocationAccessFeesEnum2["International"] = "INTERNATIONAL";
|
|
19385
|
-
AtmLocationAccessFeesEnum2["DomesticAndInternational"] = "DOMESTIC_AND_INTERNATIONAL";
|
|
19386
|
-
AtmLocationAccessFeesEnum2["NoFee"] = "NO_FEE";
|
|
19387
|
-
})(AtmLocationAccessFeesEnum || (AtmLocationAccessFeesEnum = {}));
|
|
19388
|
-
var AtmLocationAvailabilityEnum;
|
|
19389
|
-
(function(AtmLocationAvailabilityEnum2) {
|
|
19390
|
-
AtmLocationAvailabilityEnum2["Unknown"] = "UNKNOWN";
|
|
19391
|
-
AtmLocationAvailabilityEnum2["AlwaysAvailable"] = "ALWAYS_AVAILABLE";
|
|
19392
|
-
AtmLocationAvailabilityEnum2["BusinessHours"] = "BUSINESS_HOURS";
|
|
19393
|
-
AtmLocationAvailabilityEnum2["IrregularHours"] = "IRREGULAR_HOURS";
|
|
19394
|
-
})(AtmLocationAvailabilityEnum || (AtmLocationAvailabilityEnum = {}));
|
|
19395
|
-
var AtmLocationDistanceUnitEnum;
|
|
19396
|
-
(function(AtmLocationDistanceUnitEnum2) {
|
|
19397
|
-
AtmLocationDistanceUnitEnum2["Km"] = "KM";
|
|
19398
|
-
AtmLocationDistanceUnitEnum2["Mile"] = "MILE";
|
|
19399
|
-
})(AtmLocationDistanceUnitEnum || (AtmLocationDistanceUnitEnum = {}));
|
|
19400
|
-
var AtmLocationHandicapAccessibleEnum;
|
|
19401
|
-
(function(AtmLocationHandicapAccessibleEnum2) {
|
|
19402
|
-
AtmLocationHandicapAccessibleEnum2["Unknown"] = "UNKNOWN";
|
|
19403
|
-
AtmLocationHandicapAccessibleEnum2["IsHandicapAccessible"] = "IS_HANDICAP_ACCESSIBLE";
|
|
19404
|
-
AtmLocationHandicapAccessibleEnum2["NotHandicapAccessible"] = "NOT_HANDICAP_ACCESSIBLE";
|
|
19405
|
-
})(AtmLocationHandicapAccessibleEnum || (AtmLocationHandicapAccessibleEnum = {}));
|
|
19406
|
-
var AtmLocationHasSharedDepositEnum;
|
|
19407
|
-
(function(AtmLocationHasSharedDepositEnum2) {
|
|
19408
|
-
AtmLocationHasSharedDepositEnum2["True"] = "true";
|
|
19409
|
-
AtmLocationHasSharedDepositEnum2["False"] = "false";
|
|
19410
|
-
})(AtmLocationHasSharedDepositEnum || (AtmLocationHasSharedDepositEnum = {}));
|
|
19411
|
-
var AtmLocationIsSurchargeFreeAllianceEnum;
|
|
19412
|
-
(function(AtmLocationIsSurchargeFreeAllianceEnum2) {
|
|
19413
|
-
AtmLocationIsSurchargeFreeAllianceEnum2["True"] = "true";
|
|
19414
|
-
AtmLocationIsSurchargeFreeAllianceEnum2["False"] = "false";
|
|
19415
|
-
})(AtmLocationIsSurchargeFreeAllianceEnum || (AtmLocationIsSurchargeFreeAllianceEnum = {}));
|
|
19416
|
-
var AtmLocationLocationTypeEnum;
|
|
19417
|
-
(function(AtmLocationLocationTypeEnum2) {
|
|
19418
|
-
AtmLocationLocationTypeEnum2["Other"] = "OTHER";
|
|
19419
|
-
AtmLocationLocationTypeEnum2["Airport"] = "AIRPORT";
|
|
19420
|
-
AtmLocationLocationTypeEnum2["Hospital"] = "HOSPITAL";
|
|
19421
|
-
AtmLocationLocationTypeEnum2["FinancialInstitution"] = "FINANCIAL_INSTITUTION";
|
|
19422
|
-
})(AtmLocationLocationTypeEnum || (AtmLocationLocationTypeEnum = {}));
|
|
19423
|
-
var AtmLocationSupportsContactLessEnum;
|
|
19424
|
-
(function(AtmLocationSupportsContactLessEnum2) {
|
|
19425
|
-
AtmLocationSupportsContactLessEnum2["SupportsContactless"] = "SUPPORTS_CONTACTLESS";
|
|
19426
|
-
AtmLocationSupportsContactLessEnum2["DoesNotSupportContactless"] = "DOES_NOT_SUPPORT_CONTACTLESS";
|
|
19427
|
-
AtmLocationSupportsContactLessEnum2["Unknown"] = "UNKNOWN";
|
|
19428
|
-
})(AtmLocationSupportsContactLessEnum || (AtmLocationSupportsContactLessEnum = {}));
|
|
19429
|
-
var AtmLocationSurchargeFreeAllianceNetworkEnum;
|
|
19430
|
-
(function(AtmLocationSurchargeFreeAllianceNetworkEnum2) {
|
|
19431
|
-
AtmLocationSurchargeFreeAllianceNetworkEnum2["DoesNotParticipateInSfa"] = "DOES_NOT_PARTICIPATE_IN_SFA";
|
|
19432
|
-
AtmLocationSurchargeFreeAllianceNetworkEnum2["AllpointPrepaid"] = "ALLPOINT_PREPAID";
|
|
19433
|
-
AtmLocationSurchargeFreeAllianceNetworkEnum2["MoneypassDebit"] = "MONEYPASS_DEBIT";
|
|
19434
|
-
AtmLocationSurchargeFreeAllianceNetworkEnum2["AllSurchargeFree"] = "ALL_SURCHARGE_FREE";
|
|
19435
|
-
})(AtmLocationSurchargeFreeAllianceNetworkEnum || (AtmLocationSurchargeFreeAllianceNetworkEnum = {}));
|
|
19436
|
-
// src/wla/base/types/ReplaceCard.ts
|
|
19437
|
-
var ReplaceCardRequestReasonEnum;
|
|
19438
|
-
(function(ReplaceCardRequestReasonEnum2) {
|
|
19439
|
-
ReplaceCardRequestReasonEnum2["Lost"] = "LOST";
|
|
19440
|
-
ReplaceCardRequestReasonEnum2["Stolen"] = "STOLEN";
|
|
19441
|
-
ReplaceCardRequestReasonEnum2["Damaged"] = "DAMAGED";
|
|
19442
|
-
})(ReplaceCardRequestReasonEnum || (ReplaceCardRequestReasonEnum = {}));
|
|
19443
19481
|
// src/wla/adapters/RestWlaService.ts
|
|
19444
19482
|
function _ts_decorate104(decorators, target, key, desc) {
|
|
19445
19483
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -20373,7 +20411,7 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
20373
20411
|
{
|
|
20374
20412
|
key: "getAccountDetails",
|
|
20375
20413
|
value: function getAccountDetails(accountToken) {
|
|
20376
|
-
var includeYtdInterest = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
20414
|
+
var includeYtdInterest = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false, includeInterestTiers = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
|
|
20377
20415
|
var _this = this;
|
|
20378
20416
|
return _async_to_generator(function() {
|
|
20379
20417
|
var cuiApiBaseUrl, queryParams, path, params, data, error2;
|
|
@@ -20389,7 +20427,8 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
20389
20427
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
20390
20428
|
queryParams = new URLSearchParams({
|
|
20391
20429
|
account_token: accountToken,
|
|
20392
|
-
include_ytd_interest: "".concat(includeYtdInterest)
|
|
20430
|
+
include_ytd_interest: "".concat(includeYtdInterest),
|
|
20431
|
+
include_interest_tier: "".concat(includeInterestTiers)
|
|
20393
20432
|
});
|
|
20394
20433
|
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/account?").concat(queryParams.toString());
|
|
20395
20434
|
params = {
|
|
@@ -20563,70 +20602,236 @@ var _RestWlaService = /*#__PURE__*/ function() {
|
|
|
20563
20602
|
});
|
|
20564
20603
|
})();
|
|
20565
20604
|
}
|
|
20566
|
-
}
|
|
20567
|
-
|
|
20568
|
-
|
|
20569
|
-
|
|
20570
|
-
|
|
20571
|
-
var
|
|
20572
|
-
|
|
20573
|
-
|
|
20574
|
-
|
|
20575
|
-
|
|
20576
|
-
|
|
20577
|
-
|
|
20578
|
-
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
|
|
20582
|
-
|
|
20583
|
-
|
|
20584
|
-
|
|
20585
|
-
|
|
20586
|
-
|
|
20587
|
-
|
|
20588
|
-
|
|
20589
|
-
|
|
20590
|
-
|
|
20591
|
-
|
|
20592
|
-
|
|
20593
|
-
|
|
20594
|
-
|
|
20595
|
-
|
|
20596
|
-
|
|
20597
|
-
|
|
20598
|
-
|
|
20599
|
-
|
|
20600
|
-
|
|
20601
|
-
|
|
20602
|
-
|
|
20603
|
-
|
|
20604
|
-
|
|
20605
|
-
|
|
20606
|
-
|
|
20607
|
-
|
|
20608
|
-
|
|
20609
|
-
|
|
20610
|
-
|
|
20611
|
-
|
|
20612
|
-
|
|
20613
|
-
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
|
-
|
|
20625
|
-
|
|
20626
|
-
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
|
|
20605
|
+
},
|
|
20606
|
+
{
|
|
20607
|
+
key: "getOutageByToken",
|
|
20608
|
+
value: function getOutageByToken(token) {
|
|
20609
|
+
var devicePlatform = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "ANDROID";
|
|
20610
|
+
var _this = this;
|
|
20611
|
+
return _async_to_generator(function() {
|
|
20612
|
+
var cuiApiBaseUrl, path, params, error2;
|
|
20613
|
+
return _ts_generator(this, function(_state) {
|
|
20614
|
+
switch(_state.label){
|
|
20615
|
+
case 0:
|
|
20616
|
+
_state.trys.push([
|
|
20617
|
+
0,
|
|
20618
|
+
2,
|
|
20619
|
+
,
|
|
20620
|
+
3
|
|
20621
|
+
]);
|
|
20622
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
20623
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages/").concat(token, "?device_platform=").concat(devicePlatform);
|
|
20624
|
+
params = {
|
|
20625
|
+
headers: _this.getCommonWlaApiHeaders()
|
|
20626
|
+
};
|
|
20627
|
+
return [
|
|
20628
|
+
4,
|
|
20629
|
+
_this.httpClient.get(path, params)
|
|
20630
|
+
];
|
|
20631
|
+
case 1:
|
|
20632
|
+
return [
|
|
20633
|
+
2,
|
|
20634
|
+
_state.sent()
|
|
20635
|
+
];
|
|
20636
|
+
case 2:
|
|
20637
|
+
error2 = _state.sent();
|
|
20638
|
+
throw new MqSDKError("Unable to get Outages for the token provided", error2);
|
|
20639
|
+
case 3:
|
|
20640
|
+
return [
|
|
20641
|
+
2
|
|
20642
|
+
];
|
|
20643
|
+
}
|
|
20644
|
+
});
|
|
20645
|
+
})();
|
|
20646
|
+
}
|
|
20647
|
+
},
|
|
20648
|
+
{
|
|
20649
|
+
key: "getOutagesList",
|
|
20650
|
+
value: function getOutagesList() {
|
|
20651
|
+
var devicePlatform = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "ANDROID";
|
|
20652
|
+
var _this = this;
|
|
20653
|
+
return _async_to_generator(function() {
|
|
20654
|
+
var cuiApiBaseUrl, path, params, error2;
|
|
20655
|
+
return _ts_generator(this, function(_state) {
|
|
20656
|
+
switch(_state.label){
|
|
20657
|
+
case 0:
|
|
20658
|
+
_state.trys.push([
|
|
20659
|
+
0,
|
|
20660
|
+
2,
|
|
20661
|
+
,
|
|
20662
|
+
3
|
|
20663
|
+
]);
|
|
20664
|
+
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
20665
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/wla/outages?device_platform=").concat(devicePlatform);
|
|
20666
|
+
params = {
|
|
20667
|
+
headers: _this.getCommonWlaApiHeaders()
|
|
20668
|
+
};
|
|
20669
|
+
return [
|
|
20670
|
+
4,
|
|
20671
|
+
_this.httpClient.get(path, params)
|
|
20672
|
+
];
|
|
20673
|
+
case 1:
|
|
20674
|
+
return [
|
|
20675
|
+
2,
|
|
20676
|
+
_state.sent()
|
|
20677
|
+
];
|
|
20678
|
+
case 2:
|
|
20679
|
+
error2 = _state.sent();
|
|
20680
|
+
throw new MqSDKError("Unable to get Outages", error2);
|
|
20681
|
+
case 3:
|
|
20682
|
+
return [
|
|
20683
|
+
2
|
|
20684
|
+
];
|
|
20685
|
+
}
|
|
20686
|
+
});
|
|
20687
|
+
})();
|
|
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
|
+
}
|
|
20771
|
+
}
|
|
20772
|
+
]);
|
|
20773
|
+
return _RestWlaService;
|
|
20774
|
+
}();
|
|
20775
|
+
__name(_RestWlaService, "RestWlaService");
|
|
20776
|
+
var RestWlaService = _RestWlaService;
|
|
20777
|
+
_ts_decorate104([
|
|
20778
|
+
(0, import_inversify133.inject)(ITF_CACHE_SERVICE),
|
|
20779
|
+
_ts_metadata61("design:type", typeof iCacheService === "undefined" ? Object : iCacheService)
|
|
20780
|
+
], RestWlaService.prototype, "cacheService", void 0);
|
|
20781
|
+
_ts_decorate104([
|
|
20782
|
+
(0, import_inversify133.inject)(ITF_AUTHENTICATED_HTTP_CLIENT),
|
|
20783
|
+
_ts_metadata61("design:type", typeof iAuthenticatedHttpClient === "undefined" ? Object : iAuthenticatedHttpClient)
|
|
20784
|
+
], RestWlaService.prototype, "httpClient", void 0);
|
|
20785
|
+
_ts_decorate104([
|
|
20786
|
+
(0, import_inversify133.inject)(INTR_GET_ENV_CONFIG_VALUE_BY_NAME),
|
|
20787
|
+
_ts_metadata61("design:type", typeof GetEnvConfigValueByName === "undefined" ? Object : GetEnvConfigValueByName)
|
|
20788
|
+
], RestWlaService.prototype, "getEnvConfigValueByName", void 0);
|
|
20789
|
+
RestWlaService = _ts_decorate104([
|
|
20790
|
+
(0, import_inversify133.injectable)()
|
|
20791
|
+
], RestWlaService);
|
|
20792
|
+
// src/wla/ioc/symbols.ts
|
|
20793
|
+
var ITF_WLA_SERVICE = Symbol.for("iWlaService");
|
|
20794
|
+
function bookTransfer(payload) {
|
|
20795
|
+
return _bookTransfer.apply(this, arguments);
|
|
20796
|
+
}
|
|
20797
|
+
function _bookTransfer() {
|
|
20798
|
+
_bookTransfer = // src/wla/base/interactors/bookTransfer.ts
|
|
20799
|
+
_async_to_generator(function(payload) {
|
|
20800
|
+
var container2, wlaService, error2;
|
|
20801
|
+
return _ts_generator(this, function(_state) {
|
|
20802
|
+
switch(_state.label){
|
|
20803
|
+
case 0:
|
|
20804
|
+
_state.trys.push([
|
|
20805
|
+
0,
|
|
20806
|
+
2,
|
|
20807
|
+
,
|
|
20808
|
+
3
|
|
20809
|
+
]);
|
|
20810
|
+
container2 = getActiveIocContainer();
|
|
20811
|
+
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
20812
|
+
return [
|
|
20813
|
+
4,
|
|
20814
|
+
wlaService.bookTransfer(payload)
|
|
20815
|
+
];
|
|
20816
|
+
case 1:
|
|
20817
|
+
return [
|
|
20818
|
+
2,
|
|
20819
|
+
_state.sent()
|
|
20820
|
+
];
|
|
20821
|
+
case 2:
|
|
20822
|
+
error2 = _state.sent();
|
|
20823
|
+
throw new MqSDKError("Unable to book transfer");
|
|
20824
|
+
case 3:
|
|
20825
|
+
return [
|
|
20826
|
+
2
|
|
20827
|
+
];
|
|
20828
|
+
}
|
|
20829
|
+
});
|
|
20830
|
+
});
|
|
20831
|
+
return _bookTransfer.apply(this, arguments);
|
|
20832
|
+
}
|
|
20833
|
+
__name(bookTransfer, "bookTransfer");
|
|
20834
|
+
function createOriginationTransfer(payload) {
|
|
20630
20835
|
return _createOriginationTransfer.apply(this, arguments);
|
|
20631
20836
|
}
|
|
20632
20837
|
function _createOriginationTransfer() {
|
|
@@ -20766,6 +20971,33 @@ function _getAccountTransactions() {
|
|
|
20766
20971
|
return _getAccountTransactions.apply(this, arguments);
|
|
20767
20972
|
}
|
|
20768
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");
|
|
20769
21001
|
function getExternalAccount(token) {
|
|
20770
21002
|
return _getExternalAccount.apply(this, arguments);
|
|
20771
21003
|
}
|
|
@@ -20849,19 +21081,84 @@ function _getOffers() {
|
|
|
20849
21081
|
return _getOffers.apply(this, arguments);
|
|
20850
21082
|
}
|
|
20851
21083
|
__name(getOffers, "getOffers");
|
|
20852
|
-
function
|
|
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");
|
|
21149
|
+
function getWlaAccountDetails(accountToken, includeYtdInterest, includeInterestTiers) {
|
|
20853
21150
|
return _getWlaAccountDetails.apply(this, arguments);
|
|
20854
21151
|
}
|
|
20855
21152
|
function _getWlaAccountDetails() {
|
|
20856
21153
|
_getWlaAccountDetails = // src/wla/base/interactors/getWlaAccountDetails.ts
|
|
20857
|
-
_async_to_generator(function(accountToken, includeYtdInterest) {
|
|
21154
|
+
_async_to_generator(function(accountToken, includeYtdInterest, includeInterestTiers) {
|
|
20858
21155
|
var container2, wlaService;
|
|
20859
21156
|
return _ts_generator(this, function(_state) {
|
|
20860
21157
|
container2 = getActiveIocContainer();
|
|
20861
21158
|
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
20862
21159
|
return [
|
|
20863
21160
|
2,
|
|
20864
|
-
wlaService.getAccountDetails(accountToken, includeYtdInterest)
|
|
21161
|
+
wlaService.getAccountDetails(accountToken, includeYtdInterest, includeInterestTiers)
|
|
20865
21162
|
];
|
|
20866
21163
|
});
|
|
20867
21164
|
});
|
|
@@ -20968,11 +21265,11 @@ function _getWlaUserProfile() {
|
|
|
20968
21265
|
return _getWlaUserProfile.apply(this, arguments);
|
|
20969
21266
|
}
|
|
20970
21267
|
__name(getWlaUserProfile, "getWlaUserProfile");
|
|
20971
|
-
function
|
|
20972
|
-
return
|
|
21268
|
+
function markAccountActivated() {
|
|
21269
|
+
return _markAccountActivated.apply(this, arguments);
|
|
20973
21270
|
}
|
|
20974
|
-
function
|
|
20975
|
-
|
|
21271
|
+
function _markAccountActivated() {
|
|
21272
|
+
_markAccountActivated = // src/wla/base/interactors/markAccountActivated.ts
|
|
20976
21273
|
_async_to_generator(function() {
|
|
20977
21274
|
var container2, wlaService;
|
|
20978
21275
|
return _ts_generator(this, function(_state) {
|
|
@@ -20982,7 +21279,7 @@ function _markAccountVerified() {
|
|
|
20982
21279
|
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
20983
21280
|
return [
|
|
20984
21281
|
4,
|
|
20985
|
-
wlaService.
|
|
21282
|
+
wlaService.markAccountActivated()
|
|
20986
21283
|
];
|
|
20987
21284
|
case 1:
|
|
20988
21285
|
return [
|
|
@@ -20992,14 +21289,14 @@ function _markAccountVerified() {
|
|
|
20992
21289
|
}
|
|
20993
21290
|
});
|
|
20994
21291
|
});
|
|
20995
|
-
return _markAccountVerified.apply(this, arguments);
|
|
20996
|
-
}
|
|
20997
|
-
__name(markAccountVerified, "markAccountVerified");
|
|
20998
|
-
function markAccountActivated() {
|
|
20999
21292
|
return _markAccountActivated.apply(this, arguments);
|
|
21000
21293
|
}
|
|
21001
|
-
|
|
21002
|
-
|
|
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
|
|
21003
21300
|
_async_to_generator(function() {
|
|
21004
21301
|
var container2, wlaService;
|
|
21005
21302
|
return _ts_generator(this, function(_state) {
|
|
@@ -21009,7 +21306,7 @@ function _markAccountActivated() {
|
|
|
21009
21306
|
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
21010
21307
|
return [
|
|
21011
21308
|
4,
|
|
21012
|
-
wlaService.
|
|
21309
|
+
wlaService.markAccountVerified()
|
|
21013
21310
|
];
|
|
21014
21311
|
case 1:
|
|
21015
21312
|
return [
|
|
@@ -21019,9 +21316,9 @@ function _markAccountActivated() {
|
|
|
21019
21316
|
}
|
|
21020
21317
|
});
|
|
21021
21318
|
});
|
|
21022
|
-
return
|
|
21319
|
+
return _markAccountVerified.apply(this, arguments);
|
|
21023
21320
|
}
|
|
21024
|
-
__name(
|
|
21321
|
+
__name(markAccountVerified, "markAccountVerified");
|
|
21025
21322
|
function registerDeviceForPushNotifications(requestBody) {
|
|
21026
21323
|
return _registerDeviceForPushNotifications.apply(this, arguments);
|
|
21027
21324
|
}
|
|
@@ -21049,6 +21346,60 @@ function _registerDeviceForPushNotifications() {
|
|
|
21049
21346
|
return _registerDeviceForPushNotifications.apply(this, arguments);
|
|
21050
21347
|
}
|
|
21051
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");
|
|
21052
21403
|
function setWlaCardPin(cardToken, pin) {
|
|
21053
21404
|
return _setWlaCardPin.apply(this, arguments);
|
|
21054
21405
|
}
|
|
@@ -21175,60 +21526,6 @@ function _verifyExternalAccount() {
|
|
|
21175
21526
|
return _verifyExternalAccount.apply(this, arguments);
|
|
21176
21527
|
}
|
|
21177
21528
|
__name(verifyExternalAccount, "verifyExternalAccount");
|
|
21178
|
-
function searchAtms(requestBody, requestFilters) {
|
|
21179
|
-
return _searchAtms.apply(this, arguments);
|
|
21180
|
-
}
|
|
21181
|
-
function _searchAtms() {
|
|
21182
|
-
_searchAtms = // src/wla/base/interactors/searchAtms.ts
|
|
21183
|
-
_async_to_generator(function(requestBody, requestFilters) {
|
|
21184
|
-
var container2, wlaService;
|
|
21185
|
-
return _ts_generator(this, function(_state) {
|
|
21186
|
-
switch(_state.label){
|
|
21187
|
-
case 0:
|
|
21188
|
-
container2 = getActiveIocContainer();
|
|
21189
|
-
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
21190
|
-
return [
|
|
21191
|
-
4,
|
|
21192
|
-
wlaService.searchAtms(requestBody, requestFilters)
|
|
21193
|
-
];
|
|
21194
|
-
case 1:
|
|
21195
|
-
return [
|
|
21196
|
-
2,
|
|
21197
|
-
_state.sent()
|
|
21198
|
-
];
|
|
21199
|
-
}
|
|
21200
|
-
});
|
|
21201
|
-
});
|
|
21202
|
-
return _searchAtms.apply(this, arguments);
|
|
21203
|
-
}
|
|
21204
|
-
__name(searchAtms, "searchAtms");
|
|
21205
|
-
function replaceWlaCard(requestBody) {
|
|
21206
|
-
return _replaceWlaCard.apply(this, arguments);
|
|
21207
|
-
}
|
|
21208
|
-
function _replaceWlaCard() {
|
|
21209
|
-
_replaceWlaCard = // src/wla/base/interactors/replaceWlaCard.ts
|
|
21210
|
-
_async_to_generator(function(requestBody) {
|
|
21211
|
-
var container2, wlaService;
|
|
21212
|
-
return _ts_generator(this, function(_state) {
|
|
21213
|
-
switch(_state.label){
|
|
21214
|
-
case 0:
|
|
21215
|
-
container2 = getActiveIocContainer();
|
|
21216
|
-
wlaService = container2.get(ITF_WLA_SERVICE);
|
|
21217
|
-
return [
|
|
21218
|
-
4,
|
|
21219
|
-
wlaService.replaceCard(requestBody)
|
|
21220
|
-
];
|
|
21221
|
-
case 1:
|
|
21222
|
-
return [
|
|
21223
|
-
2,
|
|
21224
|
-
_state.sent()
|
|
21225
|
-
];
|
|
21226
|
-
}
|
|
21227
|
-
});
|
|
21228
|
-
});
|
|
21229
|
-
return _replaceWlaCard.apply(this, arguments);
|
|
21230
|
-
}
|
|
21231
|
-
__name(replaceWlaCard, "replaceWlaCard");
|
|
21232
21529
|
// src/wla/ioc/WlaIocModule.ts
|
|
21233
21530
|
var import_inversify134 = require("inversify");
|
|
21234
21531
|
var WlaIocModule = new import_inversify134.ContainerModule(function(bind) {
|
|
@@ -21627,6 +21924,10 @@ setActiveIocContainer(container);
|
|
|
21627
21924
|
CardholderContextEntity: CardholderContextEntity,
|
|
21628
21925
|
CardholderVerificationMethods: CardholderVerificationMethods,
|
|
21629
21926
|
CleanupOnUnload: CleanupOnUnload,
|
|
21927
|
+
ConsentPaymentScope: ConsentPaymentScope,
|
|
21928
|
+
ConsentPaymentType: ConsentPaymentType,
|
|
21929
|
+
ConsentScope: ConsentScope,
|
|
21930
|
+
ConsentStatus: ConsentStatus,
|
|
21630
21931
|
CreateUserRequestIdentificationsInnerTypeEnum: CreateUserRequestIdentificationsInnerTypeEnum,
|
|
21631
21932
|
CreateUserResponseStatusEnum: CreateUserResponseStatusEnum,
|
|
21632
21933
|
Currency: Currency,
|
|
@@ -21734,6 +22035,7 @@ setActiveIocContainer(container);
|
|
|
21734
22035
|
ITF_USERS: ITF_USERS,
|
|
21735
22036
|
ITF_WLA_SERVICE: ITF_WLA_SERVICE,
|
|
21736
22037
|
InitiateFunding: InitiateFunding,
|
|
22038
|
+
InterestTierResponseTypeEnum: InterestTierResponseTypeEnum,
|
|
21737
22039
|
IsMockModeEnabled: IsMockModeEnabled,
|
|
21738
22040
|
KycVerificationRequestIdentifierTypeEnum: KycVerificationRequestIdentifierTypeEnum,
|
|
21739
22041
|
LIST_OF_ENABLED_COMPONENTS: LIST_OF_ENABLED_COMPONENTS,
|
|
@@ -21852,6 +22154,7 @@ setActiveIocContainer(container);
|
|
|
21852
22154
|
TransactionDetailResponseIconTypeEnum: TransactionDetailResponseIconTypeEnum,
|
|
21853
22155
|
TransactionDetailsBannerType: TransactionDetailsBannerType,
|
|
21854
22156
|
TransactionDirection: TransactionDirection,
|
|
22157
|
+
TransactionDisputeStatus: TransactionDisputeStatus,
|
|
21855
22158
|
TransactionRecordStatus: TransactionRecordStatus,
|
|
21856
22159
|
TransactionStatus: TransactionStatus,
|
|
21857
22160
|
TransactionType: TransactionType,
|
|
@@ -21903,14 +22206,18 @@ setActiveIocContainer(container);
|
|
|
21903
22206
|
getCachedAuthTokenExpiration: getCachedAuthTokenExpiration,
|
|
21904
22207
|
getCardholderContext: getCardholderContext,
|
|
21905
22208
|
getClientId: getClientId,
|
|
22209
|
+
getConsentById: getConsentById,
|
|
21906
22210
|
getExternalAccount: getExternalAccount,
|
|
21907
22211
|
getExternalAccountList: getExternalAccountList,
|
|
21908
22212
|
getMockUpdatedUserRequestToCreateResponse: getMockUpdatedUserRequestToCreateResponse,
|
|
21909
22213
|
getMockUserRequestToCreateResponse: getMockUserRequestToCreateResponse,
|
|
21910
22214
|
getOfferDetails: getOfferDetails,
|
|
21911
22215
|
getOffers: getOffers,
|
|
22216
|
+
getOutagesByToken: getOutagesByToken,
|
|
22217
|
+
getOutagesList: getOutagesList,
|
|
21912
22218
|
getSessionId: getSessionId,
|
|
21913
22219
|
getSsoAccessTokenHandler: getSsoAccessTokenHandler,
|
|
22220
|
+
getTransferByToken: getTransferByToken,
|
|
21914
22221
|
getUserProgram: getUserProgram,
|
|
21915
22222
|
getUserTokenHash: getUserTokenHash,
|
|
21916
22223
|
getWlaAccountDetails: getWlaAccountDetails,
|