@marqeta/ux-toolkit-sdk-javascript 2.11.1 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-IZT6DCPH.mjs → chunk-IMAK62CK.mjs} +104 -25
- package/dist/{chunk-XXB3JBGC.js → chunk-QVJUSVKU.js} +107 -27
- package/dist/index.d.mts +26 -14
- package/dist/index.d.ts +26 -14
- package/dist/index.js +456 -456
- package/dist/index.mjs +1 -1
- package/dist/react-native.js +722 -486
- package/dist/react-native.mjs +228 -2
- package/package.json +19 -3
|
@@ -3025,6 +3025,9 @@ __export(development_exports, {
|
|
|
3025
3025
|
CUI_API_BASE_URL: function() {
|
|
3026
3026
|
return CUI_API_BASE_URL;
|
|
3027
3027
|
},
|
|
3028
|
+
CUI_API_PINNED_CERTIFICATES: function() {
|
|
3029
|
+
return CUI_API_PINNED_CERTIFICATES;
|
|
3030
|
+
},
|
|
3028
3031
|
CUI_API_PINNED_KEY_HASHES: function() {
|
|
3029
3032
|
return CUI_API_PINNED_KEY_HASHES;
|
|
3030
3033
|
},
|
|
@@ -3045,7 +3048,12 @@ var CDN_CARD_ART_BASE_URL = "https://web.ux-toolkit.dev.marqeta.com";
|
|
|
3045
3048
|
var CDN_ICONS_BASE_URL = "https://web.ux-toolkit.dev.marqeta.com";
|
|
3046
3049
|
var CUI_API_BASE_URL = "https://ux-toolkit-api.qa.marqeta.com";
|
|
3047
3050
|
var CUI_API_PINNED_KEY_HASHES = [
|
|
3048
|
-
"b2+9RflphGdeGGdN7/1/qZd97+jzs5qpv1FSTGYYsk0="
|
|
3051
|
+
"sha256/b2+9RflphGdeGGdN7/1/qZd97+jzs5qpv1FSTGYYsk0=",
|
|
3052
|
+
"sha256/Wec45nQiFwKvHtuHxSAMGkt19k+uPSw9JlEkxhvYPHk="
|
|
3053
|
+
];
|
|
3054
|
+
var CUI_API_PINNED_CERTIFICATES = [
|
|
3055
|
+
"qa_leaf",
|
|
3056
|
+
"digicert_g2_2020_ca1"
|
|
3049
3057
|
];
|
|
3050
3058
|
var CUI_IFRAME_BASE_URL = "https://web.ux-toolkit.dev.marqeta.com";
|
|
3051
3059
|
var GA_MAX_QUEUE_TTL = 5e3;
|
|
@@ -3063,6 +3071,9 @@ __export(localhost_exports, {
|
|
|
3063
3071
|
CUI_API_BASE_URL: function() {
|
|
3064
3072
|
return CUI_API_BASE_URL2;
|
|
3065
3073
|
},
|
|
3074
|
+
CUI_API_PINNED_CERTIFICATES: function() {
|
|
3075
|
+
return CUI_API_PINNED_CERTIFICATES2;
|
|
3076
|
+
},
|
|
3066
3077
|
CUI_API_PINNED_KEY_HASHES: function() {
|
|
3067
3078
|
return CUI_API_PINNED_KEY_HASHES2;
|
|
3068
3079
|
},
|
|
@@ -3083,6 +3094,7 @@ var CDN_CARD_ART_BASE_URL2 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
|
3083
3094
|
var CDN_ICONS_BASE_URL2 = "http://localhost:4001/static";
|
|
3084
3095
|
var CUI_API_BASE_URL2 = "http://localhost:4001";
|
|
3085
3096
|
var CUI_API_PINNED_KEY_HASHES2 = [];
|
|
3097
|
+
var CUI_API_PINNED_CERTIFICATES2 = [];
|
|
3086
3098
|
var CUI_IFRAME_BASE_URL2 = "http://localhost:4001";
|
|
3087
3099
|
var GA_MAX_QUEUE_TTL2 = 5e3;
|
|
3088
3100
|
var GA_MAX_REQUEST_EVENT_LIMIT2 = 3;
|
|
@@ -3111,6 +3123,9 @@ __export(production_exports, {
|
|
|
3111
3123
|
CUI_API_BASE_URL: function() {
|
|
3112
3124
|
return CUI_API_BASE_URL4;
|
|
3113
3125
|
},
|
|
3126
|
+
CUI_API_PINNED_CERTIFICATES: function() {
|
|
3127
|
+
return CUI_API_PINNED_CERTIFICATES3;
|
|
3128
|
+
},
|
|
3114
3129
|
CUI_API_PINNED_KEY_HASHES: function() {
|
|
3115
3130
|
return CUI_API_PINNED_KEY_HASHES3;
|
|
3116
3131
|
},
|
|
@@ -3131,7 +3146,12 @@ var CDN_CARD_ART_BASE_URL3 = "https://web.ux-toolkit.marqeta.com";
|
|
|
3131
3146
|
var CDN_ICONS_BASE_URL4 = "https://web.ux-toolkit.marqeta.com";
|
|
3132
3147
|
var CUI_API_BASE_URL4 = "https://ux-toolkit-api.marqeta.com";
|
|
3133
3148
|
var CUI_API_PINNED_KEY_HASHES3 = [
|
|
3134
|
-
"Z8b/Hcsgp8SfjDxyjLv8l87fq6SqGJruG6pf/Bb11+Q="
|
|
3149
|
+
"sha256/Z8b/Hcsgp8SfjDxyjLv8l87fq6SqGJruG6pf/Bb11+Q=",
|
|
3150
|
+
"sha256/Wec45nQiFwKvHtuHxSAMGkt19k+uPSw9JlEkxhvYPHk="
|
|
3151
|
+
];
|
|
3152
|
+
var CUI_API_PINNED_CERTIFICATES3 = [
|
|
3153
|
+
"prod_leaf",
|
|
3154
|
+
"digicert_g2_2020_ca1"
|
|
3135
3155
|
];
|
|
3136
3156
|
var CUI_IFRAME_BASE_URL3 = "https://web.ux-toolkit.marqeta.com";
|
|
3137
3157
|
var GA_MAX_QUEUE_TTL3 = 5e3;
|
|
@@ -3149,6 +3169,9 @@ __export(qa_exports, {
|
|
|
3149
3169
|
CUI_API_BASE_URL: function() {
|
|
3150
3170
|
return CUI_API_BASE_URL5;
|
|
3151
3171
|
},
|
|
3172
|
+
CUI_API_PINNED_CERTIFICATES: function() {
|
|
3173
|
+
return CUI_API_PINNED_CERTIFICATES4;
|
|
3174
|
+
},
|
|
3152
3175
|
CUI_API_PINNED_KEY_HASHES: function() {
|
|
3153
3176
|
return CUI_API_PINNED_KEY_HASHES4;
|
|
3154
3177
|
},
|
|
@@ -3169,7 +3192,12 @@ var CDN_CARD_ART_BASE_URL4 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
|
3169
3192
|
var CDN_ICONS_BASE_URL5 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
3170
3193
|
var CUI_API_BASE_URL5 = "https://ux-toolkit-api.qa.marqeta.com";
|
|
3171
3194
|
var CUI_API_PINNED_KEY_HASHES4 = [
|
|
3172
|
-
"b2+9RflphGdeGGdN7/1/qZd97+jzs5qpv1FSTGYYsk0="
|
|
3195
|
+
"sha256/b2+9RflphGdeGGdN7/1/qZd97+jzs5qpv1FSTGYYsk0=",
|
|
3196
|
+
"sha256/Wec45nQiFwKvHtuHxSAMGkt19k+uPSw9JlEkxhvYPHk="
|
|
3197
|
+
];
|
|
3198
|
+
var CUI_API_PINNED_CERTIFICATES4 = [
|
|
3199
|
+
"qa_leaf",
|
|
3200
|
+
"digicert_g2_2020_ca1"
|
|
3173
3201
|
];
|
|
3174
3202
|
var CUI_IFRAME_BASE_URL4 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
3175
3203
|
var GA_MAX_QUEUE_TTL4 = 5e3;
|
|
@@ -3187,6 +3215,9 @@ __export(sandbox_exports, {
|
|
|
3187
3215
|
CUI_API_BASE_URL: function() {
|
|
3188
3216
|
return CUI_API_BASE_URL6;
|
|
3189
3217
|
},
|
|
3218
|
+
CUI_API_PINNED_CERTIFICATES: function() {
|
|
3219
|
+
return CUI_API_PINNED_CERTIFICATES5;
|
|
3220
|
+
},
|
|
3190
3221
|
CUI_API_PINNED_KEY_HASHES: function() {
|
|
3191
3222
|
return CUI_API_PINNED_KEY_HASHES5;
|
|
3192
3223
|
},
|
|
@@ -3207,7 +3238,12 @@ var CDN_CARD_ART_BASE_URL5 = "https://web.ux-toolkit.marqeta.com/sandbox";
|
|
|
3207
3238
|
var CDN_ICONS_BASE_URL6 = "https://web.ux-toolkit.marqeta.com";
|
|
3208
3239
|
var CUI_API_BASE_URL6 = "https://ux-toolkit-api-sandbox.marqeta.com";
|
|
3209
3240
|
var CUI_API_PINNED_KEY_HASHES5 = [
|
|
3210
|
-
"Z8b/Hcsgp8SfjDxyjLv8l87fq6SqGJruG6pf/Bb11+Q="
|
|
3241
|
+
"sha256/Z8b/Hcsgp8SfjDxyjLv8l87fq6SqGJruG6pf/Bb11+Q=",
|
|
3242
|
+
"sha256/Wec45nQiFwKvHtuHxSAMGkt19k+uPSw9JlEkxhvYPHk="
|
|
3243
|
+
];
|
|
3244
|
+
var CUI_API_PINNED_CERTIFICATES5 = [
|
|
3245
|
+
"sandbox_leaf",
|
|
3246
|
+
"digicert_g2_2020_ca1"
|
|
3211
3247
|
];
|
|
3212
3248
|
var CUI_IFRAME_BASE_URL5 = "https://web.ux-toolkit.marqeta.com";
|
|
3213
3249
|
var GA_MAX_QUEUE_TTL5 = 5e3;
|
|
@@ -4128,7 +4164,7 @@ var _BaseHttpClient = /*#__PURE__*/ function() {
|
|
|
4128
4164
|
}();
|
|
4129
4165
|
__name(_BaseHttpClient, "BaseHttpClient");
|
|
4130
4166
|
var BaseHttpClient = _BaseHttpClient;
|
|
4131
|
-
BaseHttpClient = _ts_decorate36([
|
|
4167
|
+
BaseHttpClient = exports.BaseHttpClient = _ts_decorate36([
|
|
4132
4168
|
_inversify.injectable.call(void 0)
|
|
4133
4169
|
], BaseHttpClient);
|
|
4134
4170
|
function checkHttpStandizedError(httpIsOk, data) {
|
|
@@ -4278,7 +4314,7 @@ var _FetchHttpClient = /*#__PURE__*/ function(BaseHttpClient) {
|
|
|
4278
4314
|
}(BaseHttpClient);
|
|
4279
4315
|
__name(_FetchHttpClient, "FetchHttpClient");
|
|
4280
4316
|
var FetchHttpClient = _FetchHttpClient;
|
|
4281
|
-
FetchHttpClient =
|
|
4317
|
+
FetchHttpClient = _ts_decorate37([
|
|
4282
4318
|
_inversify.injectable.call(void 0)
|
|
4283
4319
|
], FetchHttpClient);
|
|
4284
4320
|
// src/http-client/ioc/httpClientIOCModule.ts
|
|
@@ -10262,22 +10298,63 @@ var TEST_DEPOSIT_ACCOUNT = {
|
|
|
10262
10298
|
var _MockAccountRepository = /*#__PURE__*/ function() {
|
|
10263
10299
|
function _MockAccountRepository() {
|
|
10264
10300
|
_class_call_check(this, _MockAccountRepository);
|
|
10301
|
+
__publicField(this, "_accountHolderGroupResponse", null);
|
|
10302
|
+
__publicField(this, "_accountBalancesResponse", new AccountBalancesEntity(mockAccountBalances));
|
|
10303
|
+
__publicField(this, "_depositAccountsResponse", [
|
|
10304
|
+
new DepositAccountEntity(TEST_DEPOSIT_ACCOUNT)
|
|
10305
|
+
]);
|
|
10265
10306
|
}
|
|
10266
10307
|
_create_class(_MockAccountRepository, [
|
|
10308
|
+
{
|
|
10309
|
+
key: "setAccountHolderGroupResponse",
|
|
10310
|
+
value: function setAccountHolderGroupResponse(response) {
|
|
10311
|
+
this._accountHolderGroupResponse = response;
|
|
10312
|
+
}
|
|
10313
|
+
},
|
|
10314
|
+
{
|
|
10315
|
+
key: "setAccountBalancesResponse",
|
|
10316
|
+
value: function setAccountBalancesResponse(response) {
|
|
10317
|
+
this._accountBalancesResponse = response;
|
|
10318
|
+
}
|
|
10319
|
+
},
|
|
10320
|
+
{
|
|
10321
|
+
key: "setDepositAccountsResponse",
|
|
10322
|
+
value: function setDepositAccountsResponse(response) {
|
|
10323
|
+
this._depositAccountsResponse = response;
|
|
10324
|
+
}
|
|
10325
|
+
},
|
|
10267
10326
|
{
|
|
10268
10327
|
key: "getAccountHolderGroup",
|
|
10269
|
-
value: function getAccountHolderGroup() {
|
|
10270
|
-
|
|
10328
|
+
value: function getAccountHolderGroup(shortCode) {
|
|
10329
|
+
var _this = this;
|
|
10330
|
+
return _async_to_generator(function() {
|
|
10331
|
+
return _ts_generator(this, function(_state) {
|
|
10332
|
+
if (!_this._accountHolderGroupResponse) {
|
|
10333
|
+
throw new Error("Method not implemented.");
|
|
10334
|
+
}
|
|
10335
|
+
if (_instanceof(_this._accountHolderGroupResponse, Error)) {
|
|
10336
|
+
throw _this._accountHolderGroupResponse;
|
|
10337
|
+
}
|
|
10338
|
+
return [
|
|
10339
|
+
2,
|
|
10340
|
+
_this._accountHolderGroupResponse
|
|
10341
|
+
];
|
|
10342
|
+
});
|
|
10343
|
+
})();
|
|
10271
10344
|
}
|
|
10272
10345
|
},
|
|
10273
10346
|
{
|
|
10274
10347
|
key: "getAccountBalances",
|
|
10275
|
-
value: function getAccountBalances() {
|
|
10348
|
+
value: function getAccountBalances(shortCode) {
|
|
10349
|
+
var _this = this;
|
|
10276
10350
|
return _async_to_generator(function() {
|
|
10277
10351
|
return _ts_generator(this, function(_state) {
|
|
10352
|
+
if (_instanceof(_this._accountBalancesResponse, Error)) {
|
|
10353
|
+
throw _this._accountBalancesResponse;
|
|
10354
|
+
}
|
|
10278
10355
|
return [
|
|
10279
10356
|
2,
|
|
10280
|
-
|
|
10357
|
+
_this._accountBalancesResponse
|
|
10281
10358
|
];
|
|
10282
10359
|
});
|
|
10283
10360
|
})();
|
|
@@ -10285,14 +10362,16 @@ var _MockAccountRepository = /*#__PURE__*/ function() {
|
|
|
10285
10362
|
},
|
|
10286
10363
|
{
|
|
10287
10364
|
key: "getDepositAccounts",
|
|
10288
|
-
value: function getDepositAccounts() {
|
|
10365
|
+
value: function getDepositAccounts(shortCode) {
|
|
10366
|
+
var _this = this;
|
|
10289
10367
|
return _async_to_generator(function() {
|
|
10290
10368
|
return _ts_generator(this, function(_state) {
|
|
10369
|
+
if (_instanceof(_this._depositAccountsResponse, Error)) {
|
|
10370
|
+
throw _this._depositAccountsResponse;
|
|
10371
|
+
}
|
|
10291
10372
|
return [
|
|
10292
10373
|
2,
|
|
10293
|
-
|
|
10294
|
-
new DepositAccountEntity(TEST_DEPOSIT_ACCOUNT)
|
|
10295
|
-
]
|
|
10374
|
+
_this._depositAccountsResponse
|
|
10296
10375
|
];
|
|
10297
10376
|
});
|
|
10298
10377
|
})();
|
|
@@ -10326,7 +10405,7 @@ var _GetAccountHolderGroup = /*#__PURE__*/ function() {
|
|
|
10326
10405
|
_create_class(_GetAccountHolderGroup, [
|
|
10327
10406
|
{
|
|
10328
10407
|
key: "execute",
|
|
10329
|
-
value: function execute() {
|
|
10408
|
+
value: function execute(shortCode) {
|
|
10330
10409
|
var _this = this;
|
|
10331
10410
|
return _async_to_generator(function() {
|
|
10332
10411
|
return _ts_generator(this, function(_state) {
|
|
@@ -10334,7 +10413,7 @@ var _GetAccountHolderGroup = /*#__PURE__*/ function() {
|
|
|
10334
10413
|
case 0:
|
|
10335
10414
|
return [
|
|
10336
10415
|
4,
|
|
10337
|
-
_this.accountRepository.getAccountHolderGroup()
|
|
10416
|
+
_this.accountRepository.getAccountHolderGroup(shortCode)
|
|
10338
10417
|
];
|
|
10339
10418
|
case 1:
|
|
10340
10419
|
return [
|
|
@@ -10378,7 +10457,7 @@ var _GetAccountBalances = /*#__PURE__*/ function() {
|
|
|
10378
10457
|
_create_class(_GetAccountBalances, [
|
|
10379
10458
|
{
|
|
10380
10459
|
key: "execute",
|
|
10381
|
-
value: function execute() {
|
|
10460
|
+
value: function execute(shortCode) {
|
|
10382
10461
|
var _this = this;
|
|
10383
10462
|
return _async_to_generator(function() {
|
|
10384
10463
|
return _ts_generator(this, function(_state) {
|
|
@@ -10386,7 +10465,7 @@ var _GetAccountBalances = /*#__PURE__*/ function() {
|
|
|
10386
10465
|
case 0:
|
|
10387
10466
|
return [
|
|
10388
10467
|
4,
|
|
10389
|
-
_this.accountRepository.getAccountBalances()
|
|
10468
|
+
_this.accountRepository.getAccountBalances(shortCode)
|
|
10390
10469
|
];
|
|
10391
10470
|
case 1:
|
|
10392
10471
|
return [
|
|
@@ -10430,7 +10509,7 @@ var _GetDepositAccounts = /*#__PURE__*/ function() {
|
|
|
10430
10509
|
_create_class(_GetDepositAccounts, [
|
|
10431
10510
|
{
|
|
10432
10511
|
key: "execute",
|
|
10433
|
-
value: function execute() {
|
|
10512
|
+
value: function execute(shortCode) {
|
|
10434
10513
|
var _this = this;
|
|
10435
10514
|
return _async_to_generator(function() {
|
|
10436
10515
|
return _ts_generator(this, function(_state) {
|
|
@@ -10438,7 +10517,7 @@ var _GetDepositAccounts = /*#__PURE__*/ function() {
|
|
|
10438
10517
|
case 0:
|
|
10439
10518
|
return [
|
|
10440
10519
|
4,
|
|
10441
|
-
_this.accountRepository.getDepositAccounts()
|
|
10520
|
+
_this.accountRepository.getDepositAccounts(shortCode)
|
|
10442
10521
|
];
|
|
10443
10522
|
case 1:
|
|
10444
10523
|
return [
|
|
@@ -10484,7 +10563,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
10484
10563
|
_create_class(_RestAccountRepository, [
|
|
10485
10564
|
{
|
|
10486
10565
|
key: "getAccountBalances",
|
|
10487
|
-
value: function getAccountBalances() {
|
|
10566
|
+
value: function getAccountBalances(shortCode) {
|
|
10488
10567
|
var _this = this;
|
|
10489
10568
|
return _async_to_generator(function() {
|
|
10490
10569
|
var cuiApiBaseUrl, path, data, err;
|
|
@@ -10498,7 +10577,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
10498
10577
|
3
|
|
10499
10578
|
]);
|
|
10500
10579
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
10501
|
-
path = "".concat(cuiApiBaseUrl, "/api/v1/accountbalance");
|
|
10580
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/accountbalance").concat(shortCode ? "?short_code=".concat(shortCode) : "");
|
|
10502
10581
|
return [
|
|
10503
10582
|
4,
|
|
10504
10583
|
_this.httpClient.get(path)
|
|
@@ -10532,7 +10611,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
10532
10611
|
},
|
|
10533
10612
|
{
|
|
10534
10613
|
key: "getAccountHolderGroup",
|
|
10535
|
-
value: function getAccountHolderGroup() {
|
|
10614
|
+
value: function getAccountHolderGroup(shortCode) {
|
|
10536
10615
|
var _this = this;
|
|
10537
10616
|
return _async_to_generator(function() {
|
|
10538
10617
|
var cuiApiBaseUrl, path, response, accountHolderGroupResponse, err;
|
|
@@ -10546,7 +10625,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
10546
10625
|
3
|
|
10547
10626
|
]);
|
|
10548
10627
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
10549
|
-
path = "".concat(cuiApiBaseUrl, "/api/v1/accountholdergroup");
|
|
10628
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/accountholdergroup").concat(shortCode ? "?short_code=".concat(shortCode) : "");
|
|
10550
10629
|
return [
|
|
10551
10630
|
4,
|
|
10552
10631
|
_this.httpClient.get(path)
|
|
@@ -10581,7 +10660,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
10581
10660
|
},
|
|
10582
10661
|
{
|
|
10583
10662
|
key: "getDepositAccounts",
|
|
10584
|
-
value: function getDepositAccounts() {
|
|
10663
|
+
value: function getDepositAccounts(shortCode) {
|
|
10585
10664
|
var _this = this;
|
|
10586
10665
|
return _async_to_generator(function() {
|
|
10587
10666
|
var cuiApiBaseUrl, path, data, updatedAccountsBalanceResponse, err;
|
|
@@ -10595,7 +10674,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
|
|
|
10595
10674
|
3
|
|
10596
10675
|
]);
|
|
10597
10676
|
cuiApiBaseUrl = _this.getEnvConfigValueByName.execute("CUI_API_BASE_URL");
|
|
10598
|
-
path = "".concat(cuiApiBaseUrl, "/api/v1/depositaccounts");
|
|
10677
|
+
path = "".concat(cuiApiBaseUrl, "/api/v1/depositaccounts").concat(shortCode ? "?short_code=".concat(shortCode) : "");
|
|
10599
10678
|
return [
|
|
10600
10679
|
4,
|
|
10601
10680
|
_this.httpClient.get(path)
|
|
@@ -22295,7 +22374,8 @@ exports.DpopAuthCredentialService = DpopAuthCredentialService;
|
|
|
22295
22374
|
exports.iAuthCredentialService = iAuthCredentialService;
|
|
22296
22375
|
exports.iAuthCredsMessageService = iAuthCredsMessageService;
|
|
22297
22376
|
exports.iHttpClient = iHttpClient;
|
|
22298
|
-
exports.
|
|
22377
|
+
exports.BaseHttpClient = BaseHttpClient;
|
|
22378
|
+
exports.checkHttpStandizedError = checkHttpStandizedError;
|
|
22299
22379
|
exports.ITF_HTTP_CLIENT = ITF_HTTP_CLIENT;
|
|
22300
22380
|
exports.iAuthenticatedHttpClient = iAuthenticatedHttpClient;
|
|
22301
22381
|
exports.iAuthService = iAuthService;
|
package/dist/index.d.mts
CHANGED
|
@@ -509,32 +509,38 @@ declare const mockAccountHolderGroup: {
|
|
|
509
509
|
declare const mockDepositAccountJson: DepositAccountEntityJsonType;
|
|
510
510
|
|
|
511
511
|
declare abstract class iAccountRepository {
|
|
512
|
-
abstract getAccountHolderGroup(): Promise<AccountHolderGroupEntity>;
|
|
513
|
-
abstract getAccountBalances(): Promise<AccountBalancesEntity>;
|
|
514
|
-
abstract getDepositAccounts(): Promise<DepositAccountEntity[]>;
|
|
512
|
+
abstract getAccountHolderGroup(shortCode?: string): Promise<AccountHolderGroupEntity>;
|
|
513
|
+
abstract getAccountBalances(shortCode?: string): Promise<AccountBalancesEntity>;
|
|
514
|
+
abstract getDepositAccounts(shortCode?: string): Promise<DepositAccountEntity[]>;
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
declare const TEST_USER_TOKEN = "test-user-token";
|
|
518
518
|
declare const TEST_DEPOSIT_ACCOUNT: DepositAccountEntityJsonType;
|
|
519
519
|
declare class MockAccountRepository implements iAccountRepository {
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
520
|
+
private _accountHolderGroupResponse;
|
|
521
|
+
private _accountBalancesResponse;
|
|
522
|
+
private _depositAccountsResponse;
|
|
523
|
+
setAccountHolderGroupResponse(response: AccountHolderGroupEntity | Error): void;
|
|
524
|
+
setAccountBalancesResponse(response: AccountBalancesEntity | Error): void;
|
|
525
|
+
setDepositAccountsResponse(response: DepositAccountEntity[] | Error): void;
|
|
526
|
+
getAccountHolderGroup(shortCode?: string): Promise<AccountHolderGroupEntity>;
|
|
527
|
+
getAccountBalances(shortCode?: string): Promise<AccountBalancesEntity>;
|
|
528
|
+
getDepositAccounts(shortCode?: string): Promise<DepositAccountEntity[]>;
|
|
523
529
|
}
|
|
524
530
|
|
|
525
531
|
declare class GetAccountHolderGroup {
|
|
526
532
|
accountRepository: iAccountRepository;
|
|
527
|
-
execute(): Promise<AccountHolderGroupEntity>;
|
|
533
|
+
execute(shortCode?: string): Promise<AccountHolderGroupEntity>;
|
|
528
534
|
}
|
|
529
535
|
|
|
530
536
|
declare class GetAccountBalances {
|
|
531
537
|
accountRepository: iAccountRepository;
|
|
532
|
-
execute(): Promise<AccountBalancesEntity>;
|
|
538
|
+
execute(shortCode?: string): Promise<AccountBalancesEntity>;
|
|
533
539
|
}
|
|
534
540
|
|
|
535
541
|
declare class GetDepositAccounts {
|
|
536
542
|
accountRepository: iAccountRepository;
|
|
537
|
-
execute(): Promise<DepositAccountEntity[]>;
|
|
543
|
+
execute(shortCode?: string): Promise<DepositAccountEntity[]>;
|
|
538
544
|
}
|
|
539
545
|
|
|
540
546
|
declare const accountsIOCModule: ContainerModule;
|
|
@@ -1318,26 +1324,28 @@ declare const CDN_CARD_ART_BASE_URL$4 = "https://web.ux-toolkit.dev.marqeta.com"
|
|
|
1318
1324
|
declare const CDN_ICONS_BASE_URL$5 = "https://web.ux-toolkit.dev.marqeta.com";
|
|
1319
1325
|
declare const CUI_API_BASE_URL$5 = "https://ux-toolkit-api.qa.marqeta.com";
|
|
1320
1326
|
declare const CUI_API_PINNED_KEY_HASHES$4: string[];
|
|
1327
|
+
declare const CUI_API_PINNED_CERTIFICATES$4: string[];
|
|
1321
1328
|
declare const CUI_IFRAME_BASE_URL$4 = "https://web.ux-toolkit.dev.marqeta.com";
|
|
1322
1329
|
declare const GA_MAX_QUEUE_TTL$4 = 5000;
|
|
1323
1330
|
declare const GA_MAX_REQUEST_EVENT_LIMIT$4 = 3;
|
|
1324
1331
|
declare const I18N_BASE_URL$4 = "https://web.ux-toolkit.dev.marqeta.com";
|
|
1325
1332
|
|
|
1326
1333
|
declare namespace development {
|
|
1327
|
-
export { CDN_CARD_ART_BASE_URL$4 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$5 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$5 as CUI_API_BASE_URL, CUI_API_PINNED_KEY_HASHES$4 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$4 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$4 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$4 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$4 as I18N_BASE_URL };
|
|
1334
|
+
export { CDN_CARD_ART_BASE_URL$4 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$5 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$5 as CUI_API_BASE_URL, CUI_API_PINNED_CERTIFICATES$4 as CUI_API_PINNED_CERTIFICATES, CUI_API_PINNED_KEY_HASHES$4 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$4 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$4 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$4 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$4 as I18N_BASE_URL };
|
|
1328
1335
|
}
|
|
1329
1336
|
|
|
1330
1337
|
declare const CDN_CARD_ART_BASE_URL$3 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1331
1338
|
declare const CDN_ICONS_BASE_URL$4 = "http://localhost:4001/static";
|
|
1332
1339
|
declare const CUI_API_BASE_URL$4 = "http://localhost:4001";
|
|
1333
1340
|
declare const CUI_API_PINNED_KEY_HASHES$3: never[];
|
|
1341
|
+
declare const CUI_API_PINNED_CERTIFICATES$3: never[];
|
|
1334
1342
|
declare const CUI_IFRAME_BASE_URL$3 = "http://localhost:4001";
|
|
1335
1343
|
declare const GA_MAX_QUEUE_TTL$3 = 5000;
|
|
1336
1344
|
declare const GA_MAX_REQUEST_EVENT_LIMIT$3 = 3;
|
|
1337
1345
|
declare const I18N_BASE_URL$3 = "http://localhost:4001/static";
|
|
1338
1346
|
|
|
1339
1347
|
declare namespace localhost {
|
|
1340
|
-
export { CDN_CARD_ART_BASE_URL$3 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$4 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$4 as CUI_API_BASE_URL, CUI_API_PINNED_KEY_HASHES$3 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$3 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$3 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$3 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$3 as I18N_BASE_URL };
|
|
1348
|
+
export { CDN_CARD_ART_BASE_URL$3 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$4 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$4 as CUI_API_BASE_URL, CUI_API_PINNED_CERTIFICATES$3 as CUI_API_PINNED_CERTIFICATES, CUI_API_PINNED_KEY_HASHES$3 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$3 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$3 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$3 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$3 as I18N_BASE_URL };
|
|
1341
1349
|
}
|
|
1342
1350
|
|
|
1343
1351
|
declare const CUI_API_BASE_URL$3 = "https://cui-service-mock";
|
|
@@ -1351,32 +1359,35 @@ declare const CDN_CARD_ART_BASE_URL$2 = "https://web.ux-toolkit.marqeta.com";
|
|
|
1351
1359
|
declare const CDN_ICONS_BASE_URL$2 = "https://web.ux-toolkit.marqeta.com";
|
|
1352
1360
|
declare const CUI_API_BASE_URL$2 = "https://ux-toolkit-api.marqeta.com";
|
|
1353
1361
|
declare const CUI_API_PINNED_KEY_HASHES$2: string[];
|
|
1362
|
+
declare const CUI_API_PINNED_CERTIFICATES$2: string[];
|
|
1354
1363
|
declare const CUI_IFRAME_BASE_URL$2 = "https://web.ux-toolkit.marqeta.com";
|
|
1355
1364
|
declare const GA_MAX_QUEUE_TTL$2 = 5000;
|
|
1356
1365
|
declare const GA_MAX_REQUEST_EVENT_LIMIT$2 = 25;
|
|
1357
1366
|
declare const I18N_BASE_URL$2 = "https://web.ux-toolkit.marqeta.com";
|
|
1358
1367
|
|
|
1359
1368
|
declare namespace production {
|
|
1360
|
-
export { CDN_CARD_ART_BASE_URL$2 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$2 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$2 as CUI_API_BASE_URL, CUI_API_PINNED_KEY_HASHES$2 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$2 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$2 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$2 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$2 as I18N_BASE_URL };
|
|
1369
|
+
export { CDN_CARD_ART_BASE_URL$2 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$2 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$2 as CUI_API_BASE_URL, CUI_API_PINNED_CERTIFICATES$2 as CUI_API_PINNED_CERTIFICATES, CUI_API_PINNED_KEY_HASHES$2 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$2 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$2 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$2 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$2 as I18N_BASE_URL };
|
|
1361
1370
|
}
|
|
1362
1371
|
|
|
1363
1372
|
declare const CDN_CARD_ART_BASE_URL$1 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1364
1373
|
declare const CDN_ICONS_BASE_URL$1 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1365
1374
|
declare const CUI_API_BASE_URL$1 = "https://ux-toolkit-api.qa.marqeta.com";
|
|
1366
1375
|
declare const CUI_API_PINNED_KEY_HASHES$1: string[];
|
|
1376
|
+
declare const CUI_API_PINNED_CERTIFICATES$1: string[];
|
|
1367
1377
|
declare const CUI_IFRAME_BASE_URL$1 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1368
1378
|
declare const GA_MAX_QUEUE_TTL$1 = 5000;
|
|
1369
1379
|
declare const GA_MAX_REQUEST_EVENT_LIMIT$1 = 25;
|
|
1370
1380
|
declare const I18N_BASE_URL$1 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1371
1381
|
|
|
1372
1382
|
declare namespace qa {
|
|
1373
|
-
export { CDN_CARD_ART_BASE_URL$1 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$1 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$1 as CUI_API_BASE_URL, CUI_API_PINNED_KEY_HASHES$1 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$1 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$1 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$1 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$1 as I18N_BASE_URL };
|
|
1383
|
+
export { CDN_CARD_ART_BASE_URL$1 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$1 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$1 as CUI_API_BASE_URL, CUI_API_PINNED_CERTIFICATES$1 as CUI_API_PINNED_CERTIFICATES, CUI_API_PINNED_KEY_HASHES$1 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$1 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$1 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$1 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$1 as I18N_BASE_URL };
|
|
1374
1384
|
}
|
|
1375
1385
|
|
|
1376
1386
|
declare const CDN_CARD_ART_BASE_URL = "https://web.ux-toolkit.marqeta.com/sandbox";
|
|
1377
1387
|
declare const CDN_ICONS_BASE_URL = "https://web.ux-toolkit.marqeta.com";
|
|
1378
1388
|
declare const CUI_API_BASE_URL = "https://ux-toolkit-api-sandbox.marqeta.com";
|
|
1379
1389
|
declare const CUI_API_PINNED_KEY_HASHES: string[];
|
|
1390
|
+
declare const CUI_API_PINNED_CERTIFICATES: string[];
|
|
1380
1391
|
declare const CUI_IFRAME_BASE_URL = "https://web.ux-toolkit.marqeta.com";
|
|
1381
1392
|
declare const GA_MAX_QUEUE_TTL = 5000;
|
|
1382
1393
|
declare const GA_MAX_REQUEST_EVENT_LIMIT = 25;
|
|
@@ -1385,13 +1396,14 @@ declare const I18N_BASE_URL = "https://web.ux-toolkit.marqeta.com";
|
|
|
1385
1396
|
declare const sandbox_CDN_CARD_ART_BASE_URL: typeof CDN_CARD_ART_BASE_URL;
|
|
1386
1397
|
declare const sandbox_CDN_ICONS_BASE_URL: typeof CDN_ICONS_BASE_URL;
|
|
1387
1398
|
declare const sandbox_CUI_API_BASE_URL: typeof CUI_API_BASE_URL;
|
|
1399
|
+
declare const sandbox_CUI_API_PINNED_CERTIFICATES: typeof CUI_API_PINNED_CERTIFICATES;
|
|
1388
1400
|
declare const sandbox_CUI_API_PINNED_KEY_HASHES: typeof CUI_API_PINNED_KEY_HASHES;
|
|
1389
1401
|
declare const sandbox_CUI_IFRAME_BASE_URL: typeof CUI_IFRAME_BASE_URL;
|
|
1390
1402
|
declare const sandbox_GA_MAX_QUEUE_TTL: typeof GA_MAX_QUEUE_TTL;
|
|
1391
1403
|
declare const sandbox_GA_MAX_REQUEST_EVENT_LIMIT: typeof GA_MAX_REQUEST_EVENT_LIMIT;
|
|
1392
1404
|
declare const sandbox_I18N_BASE_URL: typeof I18N_BASE_URL;
|
|
1393
1405
|
declare namespace sandbox {
|
|
1394
|
-
export { sandbox_CDN_CARD_ART_BASE_URL as CDN_CARD_ART_BASE_URL, sandbox_CDN_ICONS_BASE_URL as CDN_ICONS_BASE_URL, sandbox_CUI_API_BASE_URL as CUI_API_BASE_URL, sandbox_CUI_API_PINNED_KEY_HASHES as CUI_API_PINNED_KEY_HASHES, sandbox_CUI_IFRAME_BASE_URL as CUI_IFRAME_BASE_URL, sandbox_GA_MAX_QUEUE_TTL as GA_MAX_QUEUE_TTL, sandbox_GA_MAX_REQUEST_EVENT_LIMIT as GA_MAX_REQUEST_EVENT_LIMIT, sandbox_I18N_BASE_URL as I18N_BASE_URL };
|
|
1406
|
+
export { sandbox_CDN_CARD_ART_BASE_URL as CDN_CARD_ART_BASE_URL, sandbox_CDN_ICONS_BASE_URL as CDN_ICONS_BASE_URL, sandbox_CUI_API_BASE_URL as CUI_API_BASE_URL, sandbox_CUI_API_PINNED_CERTIFICATES as CUI_API_PINNED_CERTIFICATES, sandbox_CUI_API_PINNED_KEY_HASHES as CUI_API_PINNED_KEY_HASHES, sandbox_CUI_IFRAME_BASE_URL as CUI_IFRAME_BASE_URL, sandbox_GA_MAX_QUEUE_TTL as GA_MAX_QUEUE_TTL, sandbox_GA_MAX_REQUEST_EVENT_LIMIT as GA_MAX_REQUEST_EVENT_LIMIT, sandbox_I18N_BASE_URL as I18N_BASE_URL };
|
|
1395
1407
|
}
|
|
1396
1408
|
|
|
1397
1409
|
declare class GetActiveEnvName {
|
package/dist/index.d.ts
CHANGED
|
@@ -509,32 +509,38 @@ declare const mockAccountHolderGroup: {
|
|
|
509
509
|
declare const mockDepositAccountJson: DepositAccountEntityJsonType;
|
|
510
510
|
|
|
511
511
|
declare abstract class iAccountRepository {
|
|
512
|
-
abstract getAccountHolderGroup(): Promise<AccountHolderGroupEntity>;
|
|
513
|
-
abstract getAccountBalances(): Promise<AccountBalancesEntity>;
|
|
514
|
-
abstract getDepositAccounts(): Promise<DepositAccountEntity[]>;
|
|
512
|
+
abstract getAccountHolderGroup(shortCode?: string): Promise<AccountHolderGroupEntity>;
|
|
513
|
+
abstract getAccountBalances(shortCode?: string): Promise<AccountBalancesEntity>;
|
|
514
|
+
abstract getDepositAccounts(shortCode?: string): Promise<DepositAccountEntity[]>;
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
declare const TEST_USER_TOKEN = "test-user-token";
|
|
518
518
|
declare const TEST_DEPOSIT_ACCOUNT: DepositAccountEntityJsonType;
|
|
519
519
|
declare class MockAccountRepository implements iAccountRepository {
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
520
|
+
private _accountHolderGroupResponse;
|
|
521
|
+
private _accountBalancesResponse;
|
|
522
|
+
private _depositAccountsResponse;
|
|
523
|
+
setAccountHolderGroupResponse(response: AccountHolderGroupEntity | Error): void;
|
|
524
|
+
setAccountBalancesResponse(response: AccountBalancesEntity | Error): void;
|
|
525
|
+
setDepositAccountsResponse(response: DepositAccountEntity[] | Error): void;
|
|
526
|
+
getAccountHolderGroup(shortCode?: string): Promise<AccountHolderGroupEntity>;
|
|
527
|
+
getAccountBalances(shortCode?: string): Promise<AccountBalancesEntity>;
|
|
528
|
+
getDepositAccounts(shortCode?: string): Promise<DepositAccountEntity[]>;
|
|
523
529
|
}
|
|
524
530
|
|
|
525
531
|
declare class GetAccountHolderGroup {
|
|
526
532
|
accountRepository: iAccountRepository;
|
|
527
|
-
execute(): Promise<AccountHolderGroupEntity>;
|
|
533
|
+
execute(shortCode?: string): Promise<AccountHolderGroupEntity>;
|
|
528
534
|
}
|
|
529
535
|
|
|
530
536
|
declare class GetAccountBalances {
|
|
531
537
|
accountRepository: iAccountRepository;
|
|
532
|
-
execute(): Promise<AccountBalancesEntity>;
|
|
538
|
+
execute(shortCode?: string): Promise<AccountBalancesEntity>;
|
|
533
539
|
}
|
|
534
540
|
|
|
535
541
|
declare class GetDepositAccounts {
|
|
536
542
|
accountRepository: iAccountRepository;
|
|
537
|
-
execute(): Promise<DepositAccountEntity[]>;
|
|
543
|
+
execute(shortCode?: string): Promise<DepositAccountEntity[]>;
|
|
538
544
|
}
|
|
539
545
|
|
|
540
546
|
declare const accountsIOCModule: ContainerModule;
|
|
@@ -1318,26 +1324,28 @@ declare const CDN_CARD_ART_BASE_URL$4 = "https://web.ux-toolkit.dev.marqeta.com"
|
|
|
1318
1324
|
declare const CDN_ICONS_BASE_URL$5 = "https://web.ux-toolkit.dev.marqeta.com";
|
|
1319
1325
|
declare const CUI_API_BASE_URL$5 = "https://ux-toolkit-api.qa.marqeta.com";
|
|
1320
1326
|
declare const CUI_API_PINNED_KEY_HASHES$4: string[];
|
|
1327
|
+
declare const CUI_API_PINNED_CERTIFICATES$4: string[];
|
|
1321
1328
|
declare const CUI_IFRAME_BASE_URL$4 = "https://web.ux-toolkit.dev.marqeta.com";
|
|
1322
1329
|
declare const GA_MAX_QUEUE_TTL$4 = 5000;
|
|
1323
1330
|
declare const GA_MAX_REQUEST_EVENT_LIMIT$4 = 3;
|
|
1324
1331
|
declare const I18N_BASE_URL$4 = "https://web.ux-toolkit.dev.marqeta.com";
|
|
1325
1332
|
|
|
1326
1333
|
declare namespace development {
|
|
1327
|
-
export { CDN_CARD_ART_BASE_URL$4 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$5 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$5 as CUI_API_BASE_URL, CUI_API_PINNED_KEY_HASHES$4 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$4 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$4 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$4 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$4 as I18N_BASE_URL };
|
|
1334
|
+
export { CDN_CARD_ART_BASE_URL$4 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$5 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$5 as CUI_API_BASE_URL, CUI_API_PINNED_CERTIFICATES$4 as CUI_API_PINNED_CERTIFICATES, CUI_API_PINNED_KEY_HASHES$4 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$4 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$4 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$4 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$4 as I18N_BASE_URL };
|
|
1328
1335
|
}
|
|
1329
1336
|
|
|
1330
1337
|
declare const CDN_CARD_ART_BASE_URL$3 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1331
1338
|
declare const CDN_ICONS_BASE_URL$4 = "http://localhost:4001/static";
|
|
1332
1339
|
declare const CUI_API_BASE_URL$4 = "http://localhost:4001";
|
|
1333
1340
|
declare const CUI_API_PINNED_KEY_HASHES$3: never[];
|
|
1341
|
+
declare const CUI_API_PINNED_CERTIFICATES$3: never[];
|
|
1334
1342
|
declare const CUI_IFRAME_BASE_URL$3 = "http://localhost:4001";
|
|
1335
1343
|
declare const GA_MAX_QUEUE_TTL$3 = 5000;
|
|
1336
1344
|
declare const GA_MAX_REQUEST_EVENT_LIMIT$3 = 3;
|
|
1337
1345
|
declare const I18N_BASE_URL$3 = "http://localhost:4001/static";
|
|
1338
1346
|
|
|
1339
1347
|
declare namespace localhost {
|
|
1340
|
-
export { CDN_CARD_ART_BASE_URL$3 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$4 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$4 as CUI_API_BASE_URL, CUI_API_PINNED_KEY_HASHES$3 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$3 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$3 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$3 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$3 as I18N_BASE_URL };
|
|
1348
|
+
export { CDN_CARD_ART_BASE_URL$3 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$4 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$4 as CUI_API_BASE_URL, CUI_API_PINNED_CERTIFICATES$3 as CUI_API_PINNED_CERTIFICATES, CUI_API_PINNED_KEY_HASHES$3 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$3 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$3 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$3 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$3 as I18N_BASE_URL };
|
|
1341
1349
|
}
|
|
1342
1350
|
|
|
1343
1351
|
declare const CUI_API_BASE_URL$3 = "https://cui-service-mock";
|
|
@@ -1351,32 +1359,35 @@ declare const CDN_CARD_ART_BASE_URL$2 = "https://web.ux-toolkit.marqeta.com";
|
|
|
1351
1359
|
declare const CDN_ICONS_BASE_URL$2 = "https://web.ux-toolkit.marqeta.com";
|
|
1352
1360
|
declare const CUI_API_BASE_URL$2 = "https://ux-toolkit-api.marqeta.com";
|
|
1353
1361
|
declare const CUI_API_PINNED_KEY_HASHES$2: string[];
|
|
1362
|
+
declare const CUI_API_PINNED_CERTIFICATES$2: string[];
|
|
1354
1363
|
declare const CUI_IFRAME_BASE_URL$2 = "https://web.ux-toolkit.marqeta.com";
|
|
1355
1364
|
declare const GA_MAX_QUEUE_TTL$2 = 5000;
|
|
1356
1365
|
declare const GA_MAX_REQUEST_EVENT_LIMIT$2 = 25;
|
|
1357
1366
|
declare const I18N_BASE_URL$2 = "https://web.ux-toolkit.marqeta.com";
|
|
1358
1367
|
|
|
1359
1368
|
declare namespace production {
|
|
1360
|
-
export { CDN_CARD_ART_BASE_URL$2 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$2 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$2 as CUI_API_BASE_URL, CUI_API_PINNED_KEY_HASHES$2 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$2 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$2 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$2 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$2 as I18N_BASE_URL };
|
|
1369
|
+
export { CDN_CARD_ART_BASE_URL$2 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$2 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$2 as CUI_API_BASE_URL, CUI_API_PINNED_CERTIFICATES$2 as CUI_API_PINNED_CERTIFICATES, CUI_API_PINNED_KEY_HASHES$2 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$2 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$2 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$2 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$2 as I18N_BASE_URL };
|
|
1361
1370
|
}
|
|
1362
1371
|
|
|
1363
1372
|
declare const CDN_CARD_ART_BASE_URL$1 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1364
1373
|
declare const CDN_ICONS_BASE_URL$1 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1365
1374
|
declare const CUI_API_BASE_URL$1 = "https://ux-toolkit-api.qa.marqeta.com";
|
|
1366
1375
|
declare const CUI_API_PINNED_KEY_HASHES$1: string[];
|
|
1376
|
+
declare const CUI_API_PINNED_CERTIFICATES$1: string[];
|
|
1367
1377
|
declare const CUI_IFRAME_BASE_URL$1 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1368
1378
|
declare const GA_MAX_QUEUE_TTL$1 = 5000;
|
|
1369
1379
|
declare const GA_MAX_REQUEST_EVENT_LIMIT$1 = 25;
|
|
1370
1380
|
declare const I18N_BASE_URL$1 = "https://web.ux-toolkit.qa.marqeta.com";
|
|
1371
1381
|
|
|
1372
1382
|
declare namespace qa {
|
|
1373
|
-
export { CDN_CARD_ART_BASE_URL$1 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$1 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$1 as CUI_API_BASE_URL, CUI_API_PINNED_KEY_HASHES$1 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$1 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$1 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$1 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$1 as I18N_BASE_URL };
|
|
1383
|
+
export { CDN_CARD_ART_BASE_URL$1 as CDN_CARD_ART_BASE_URL, CDN_ICONS_BASE_URL$1 as CDN_ICONS_BASE_URL, CUI_API_BASE_URL$1 as CUI_API_BASE_URL, CUI_API_PINNED_CERTIFICATES$1 as CUI_API_PINNED_CERTIFICATES, CUI_API_PINNED_KEY_HASHES$1 as CUI_API_PINNED_KEY_HASHES, CUI_IFRAME_BASE_URL$1 as CUI_IFRAME_BASE_URL, GA_MAX_QUEUE_TTL$1 as GA_MAX_QUEUE_TTL, GA_MAX_REQUEST_EVENT_LIMIT$1 as GA_MAX_REQUEST_EVENT_LIMIT, I18N_BASE_URL$1 as I18N_BASE_URL };
|
|
1374
1384
|
}
|
|
1375
1385
|
|
|
1376
1386
|
declare const CDN_CARD_ART_BASE_URL = "https://web.ux-toolkit.marqeta.com/sandbox";
|
|
1377
1387
|
declare const CDN_ICONS_BASE_URL = "https://web.ux-toolkit.marqeta.com";
|
|
1378
1388
|
declare const CUI_API_BASE_URL = "https://ux-toolkit-api-sandbox.marqeta.com";
|
|
1379
1389
|
declare const CUI_API_PINNED_KEY_HASHES: string[];
|
|
1390
|
+
declare const CUI_API_PINNED_CERTIFICATES: string[];
|
|
1380
1391
|
declare const CUI_IFRAME_BASE_URL = "https://web.ux-toolkit.marqeta.com";
|
|
1381
1392
|
declare const GA_MAX_QUEUE_TTL = 5000;
|
|
1382
1393
|
declare const GA_MAX_REQUEST_EVENT_LIMIT = 25;
|
|
@@ -1385,13 +1396,14 @@ declare const I18N_BASE_URL = "https://web.ux-toolkit.marqeta.com";
|
|
|
1385
1396
|
declare const sandbox_CDN_CARD_ART_BASE_URL: typeof CDN_CARD_ART_BASE_URL;
|
|
1386
1397
|
declare const sandbox_CDN_ICONS_BASE_URL: typeof CDN_ICONS_BASE_URL;
|
|
1387
1398
|
declare const sandbox_CUI_API_BASE_URL: typeof CUI_API_BASE_URL;
|
|
1399
|
+
declare const sandbox_CUI_API_PINNED_CERTIFICATES: typeof CUI_API_PINNED_CERTIFICATES;
|
|
1388
1400
|
declare const sandbox_CUI_API_PINNED_KEY_HASHES: typeof CUI_API_PINNED_KEY_HASHES;
|
|
1389
1401
|
declare const sandbox_CUI_IFRAME_BASE_URL: typeof CUI_IFRAME_BASE_URL;
|
|
1390
1402
|
declare const sandbox_GA_MAX_QUEUE_TTL: typeof GA_MAX_QUEUE_TTL;
|
|
1391
1403
|
declare const sandbox_GA_MAX_REQUEST_EVENT_LIMIT: typeof GA_MAX_REQUEST_EVENT_LIMIT;
|
|
1392
1404
|
declare const sandbox_I18N_BASE_URL: typeof I18N_BASE_URL;
|
|
1393
1405
|
declare namespace sandbox {
|
|
1394
|
-
export { sandbox_CDN_CARD_ART_BASE_URL as CDN_CARD_ART_BASE_URL, sandbox_CDN_ICONS_BASE_URL as CDN_ICONS_BASE_URL, sandbox_CUI_API_BASE_URL as CUI_API_BASE_URL, sandbox_CUI_API_PINNED_KEY_HASHES as CUI_API_PINNED_KEY_HASHES, sandbox_CUI_IFRAME_BASE_URL as CUI_IFRAME_BASE_URL, sandbox_GA_MAX_QUEUE_TTL as GA_MAX_QUEUE_TTL, sandbox_GA_MAX_REQUEST_EVENT_LIMIT as GA_MAX_REQUEST_EVENT_LIMIT, sandbox_I18N_BASE_URL as I18N_BASE_URL };
|
|
1406
|
+
export { sandbox_CDN_CARD_ART_BASE_URL as CDN_CARD_ART_BASE_URL, sandbox_CDN_ICONS_BASE_URL as CDN_ICONS_BASE_URL, sandbox_CUI_API_BASE_URL as CUI_API_BASE_URL, sandbox_CUI_API_PINNED_CERTIFICATES as CUI_API_PINNED_CERTIFICATES, sandbox_CUI_API_PINNED_KEY_HASHES as CUI_API_PINNED_KEY_HASHES, sandbox_CUI_IFRAME_BASE_URL as CUI_IFRAME_BASE_URL, sandbox_GA_MAX_QUEUE_TTL as GA_MAX_QUEUE_TTL, sandbox_GA_MAX_REQUEST_EVENT_LIMIT as GA_MAX_REQUEST_EVENT_LIMIT, sandbox_I18N_BASE_URL as I18N_BASE_URL };
|
|
1395
1407
|
}
|
|
1396
1408
|
|
|
1397
1409
|
declare class GetActiveEnvName {
|