@marqeta/ux-toolkit-sdk-javascript 2.37.0 → 2.38.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.
@@ -12863,18 +12863,18 @@ function _getUserAccounts() {
12863
12863
  return _getUserAccounts.apply(this, arguments);
12864
12864
  }
12865
12865
  __name(getUserAccounts, "getUserAccounts");
12866
- function createUserSavingsAccount(request) {
12867
- return _createUserSavingsAccount.apply(this, arguments);
12866
+ function saveUserConsents(request) {
12867
+ return _saveUserConsents.apply(this, arguments);
12868
12868
  }
12869
- function _createUserSavingsAccount() {
12870
- _createUserSavingsAccount = // src/accounts/base/interactors/createUserSavingsAccount.ts
12869
+ function _saveUserConsents() {
12870
+ _saveUserConsents = // src/accounts/base/interactors/saveUserConsents.ts
12871
12871
  _async_to_generator(function(request) {
12872
12872
  var container2, accountRepository, result, error2;
12873
12873
  return _ts_generator(this, function(_state) {
12874
12874
  switch(_state.label){
12875
12875
  case 0:
12876
- logDebug("Creating user savings account", {
12877
- interactor: "createUserSavingsAccount"
12876
+ logDebug("Saving user consents", {
12877
+ interactor: "saveUserConsents"
12878
12878
  });
12879
12879
  _state.label = 1;
12880
12880
  case 1:
@@ -12888,13 +12888,66 @@ function _createUserSavingsAccount() {
12888
12888
  accountRepository = container2.get(ITF_ACCOUNT_REPOSITORY);
12889
12889
  return [
12890
12890
  4,
12891
- accountRepository.createUserSavingsAccount(request)
12891
+ accountRepository.saveUserConsents(request)
12892
12892
  ];
12893
12893
  case 2:
12894
12894
  result = _state.sent();
12895
- logInfo("User savings account created successfully", {
12895
+ logInfo("User consents saved successfully", {
12896
+ interactor: "saveUserConsents"
12897
+ });
12898
+ return [
12899
+ 2,
12900
+ result
12901
+ ];
12902
+ case 3:
12903
+ error2 = _state.sent();
12904
+ logInfo("[ERROR] Failed to save user consents", {
12905
+ error: error2,
12906
+ interactor: "saveUserConsents"
12907
+ });
12908
+ throw error2;
12909
+ case 4:
12910
+ return [
12911
+ 2
12912
+ ];
12913
+ }
12914
+ });
12915
+ });
12916
+ return _saveUserConsents.apply(this, arguments);
12917
+ }
12918
+ __name(saveUserConsents, "saveUserConsents");
12919
+ function createAccount(request) {
12920
+ return _createAccount.apply(this, arguments);
12921
+ }
12922
+ function _createAccount() {
12923
+ _createAccount = // src/accounts/base/interactors/createAccount.ts
12924
+ _async_to_generator(function(request) {
12925
+ var container2, accountRepository, result, error2;
12926
+ return _ts_generator(this, function(_state) {
12927
+ switch(_state.label){
12928
+ case 0:
12929
+ logDebug("Creating account", {
12930
+ interactor: "createAccount"
12931
+ });
12932
+ _state.label = 1;
12933
+ case 1:
12934
+ _state.trys.push([
12935
+ 1,
12936
+ 3,
12937
+ ,
12938
+ 4
12939
+ ]);
12940
+ container2 = getActiveIocContainer();
12941
+ accountRepository = container2.get(ITF_ACCOUNT_REPOSITORY);
12942
+ return [
12943
+ 4,
12944
+ accountRepository.createAccount(request)
12945
+ ];
12946
+ case 2:
12947
+ result = _state.sent();
12948
+ logInfo("Account created successfully", {
12896
12949
  status: result.status,
12897
- interactor: "createUserSavingsAccount"
12950
+ interactor: "createAccount"
12898
12951
  });
12899
12952
  return [
12900
12953
  2,
@@ -12902,9 +12955,9 @@ function _createUserSavingsAccount() {
12902
12955
  ];
12903
12956
  case 3:
12904
12957
  error2 = _state.sent();
12905
- logInfo("[ERROR] Failed to create user savings account", {
12958
+ logInfo("[ERROR] Failed to create account", {
12906
12959
  error: error2,
12907
- interactor: "createUserSavingsAccount"
12960
+ interactor: "createAccount"
12908
12961
  });
12909
12962
  throw error2;
12910
12963
  case 4:
@@ -12914,9 +12967,62 @@ function _createUserSavingsAccount() {
12914
12967
  }
12915
12968
  });
12916
12969
  });
12917
- return _createUserSavingsAccount.apply(this, arguments);
12970
+ return _createAccount.apply(this, arguments);
12971
+ }
12972
+ __name(createAccount, "createAccount");
12973
+ function getDisclosureDocs() {
12974
+ return _getDisclosureDocs.apply(this, arguments);
12918
12975
  }
12919
- __name(createUserSavingsAccount, "createUserSavingsAccount");
12976
+ function _getDisclosureDocs() {
12977
+ _getDisclosureDocs = // src/accounts/base/interactors/getDisclosureDocs.ts
12978
+ _async_to_generator(function() {
12979
+ var container2, accountRepository, result, error2;
12980
+ return _ts_generator(this, function(_state) {
12981
+ switch(_state.label){
12982
+ case 0:
12983
+ logDebug("Getting disclosure docs", {
12984
+ interactor: "getDisclosureDocs"
12985
+ });
12986
+ _state.label = 1;
12987
+ case 1:
12988
+ _state.trys.push([
12989
+ 1,
12990
+ 3,
12991
+ ,
12992
+ 4
12993
+ ]);
12994
+ container2 = getActiveIocContainer();
12995
+ accountRepository = container2.get(ITF_ACCOUNT_REPOSITORY);
12996
+ return [
12997
+ 4,
12998
+ accountRepository.getDisclosureDocs()
12999
+ ];
13000
+ case 2:
13001
+ result = _state.sent();
13002
+ logInfo("Disclosure docs retrieved successfully", {
13003
+ interactor: "getDisclosureDocs"
13004
+ });
13005
+ return [
13006
+ 2,
13007
+ result
13008
+ ];
13009
+ case 3:
13010
+ error2 = _state.sent();
13011
+ logInfo("[ERROR] Failed to get disclosure docs", {
13012
+ error: error2,
13013
+ interactor: "getDisclosureDocs"
13014
+ });
13015
+ throw error2;
13016
+ case 4:
13017
+ return [
13018
+ 2
13019
+ ];
13020
+ }
13021
+ });
13022
+ });
13023
+ return _getDisclosureDocs.apply(this, arguments);
13024
+ }
13025
+ __name(getDisclosureDocs, "getDisclosureDocs");
12920
13026
  // src/accounts/base/repositories/iAccountRepository.ts
12921
13027
  function _ts_decorate36(decorators, target, key, desc) {
12922
13028
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -17927,6 +18033,7 @@ var TEST_INTEREST_TIERS = {
17927
18033
  type: InterestTierResponseTypeEnum.Savings,
17928
18034
  current_rate: {
17929
18035
  account_rate: 4.25,
18036
+ effective_rate: 4.25,
17930
18037
  effective_date: "2026-01-01",
17931
18038
  created_time: "2025-12-15T10:00:00Z",
17932
18039
  updated_time: "2025-12-15T10:00:00Z"
@@ -17941,6 +18048,7 @@ var TEST_INTEREST_TIERS = {
17941
18048
  type: InterestTierResponseTypeEnum.Checking,
17942
18049
  current_rate: {
17943
18050
  account_rate: 0.5,
18051
+ effective_rate: 0.5,
17944
18052
  effective_date: "2026-01-01",
17945
18053
  created_time: "2025-12-15T10:00:00Z",
17946
18054
  updated_time: "2025-12-15T10:00:00Z"
@@ -18006,10 +18114,29 @@ var _MockAccountRepository = /*#__PURE__*/ function() {
18006
18114
  ]);
18007
18115
  __publicField(this, "_userAccountsListResponse", TEST_USER_ACCOUNTS);
18008
18116
  __publicField(this, "_interestTiersResponse", TEST_INTEREST_TIERS);
18009
- __publicField(this, "_savingsAccountResponse", {
18010
- status: "ACTIVE",
18011
- message: "Savings account created successfully",
18012
- account_token: "savings-account-token-001"
18117
+ __publicField(this, "_saveConsentsResponse", {
18118
+ consents: [
18119
+ {
18120
+ token: "consent-token-001",
18121
+ type: "SAVINGS_BOX",
18122
+ status: "ACCEPTED",
18123
+ status_date: "2026-01-01T00:00:00Z"
18124
+ }
18125
+ ],
18126
+ message: "Consents saved successfully"
18127
+ });
18128
+ __publicField(this, "_createAccountResponse", {
18129
+ token: "account-token-001",
18130
+ type: "SAVINGS",
18131
+ status: "PENDING"
18132
+ });
18133
+ __publicField(this, "_disclosureDocsResponse", {
18134
+ savingsBox: [
18135
+ {
18136
+ date: "2026-01-22",
18137
+ url: "https://www.example.com"
18138
+ }
18139
+ ]
18013
18140
  });
18014
18141
  }
18015
18142
  _create_class(_MockAccountRepository, [
@@ -18044,9 +18171,21 @@ var _MockAccountRepository = /*#__PURE__*/ function() {
18044
18171
  }
18045
18172
  },
18046
18173
  {
18047
- key: "setSavingsAccountResponse",
18048
- value: function setSavingsAccountResponse(response) {
18049
- this._savingsAccountResponse = response;
18174
+ key: "setSaveConsentsResponse",
18175
+ value: function setSaveConsentsResponse(response) {
18176
+ this._saveConsentsResponse = response;
18177
+ }
18178
+ },
18179
+ {
18180
+ key: "setCreateAccountResponse",
18181
+ value: function setCreateAccountResponse(response) {
18182
+ this._createAccountResponse = response;
18183
+ }
18184
+ },
18185
+ {
18186
+ key: "setDisclosureDocsResponse",
18187
+ value: function setDisclosureDocsResponse(response) {
18188
+ this._disclosureDocsResponse = response;
18050
18189
  }
18051
18190
  },
18052
18191
  {
@@ -18150,17 +18289,51 @@ var _MockAccountRepository = /*#__PURE__*/ function() {
18150
18289
  }
18151
18290
  },
18152
18291
  {
18153
- key: "createUserSavingsAccount",
18154
- value: function createUserSavingsAccount(request) {
18292
+ key: "saveUserConsents",
18293
+ value: function saveUserConsents(request) {
18155
18294
  var _this = this;
18156
18295
  return _async_to_generator(function() {
18157
18296
  return _ts_generator(this, function(_state) {
18158
- if (_instanceof(_this._savingsAccountResponse, Error)) {
18159
- throw _this._savingsAccountResponse;
18297
+ if (_instanceof(_this._saveConsentsResponse, Error)) {
18298
+ throw _this._saveConsentsResponse;
18160
18299
  }
18161
18300
  return [
18162
18301
  2,
18163
- _this._savingsAccountResponse
18302
+ _this._saveConsentsResponse
18303
+ ];
18304
+ });
18305
+ })();
18306
+ }
18307
+ },
18308
+ {
18309
+ key: "createAccount",
18310
+ value: function createAccount(request) {
18311
+ var _this = this;
18312
+ return _async_to_generator(function() {
18313
+ return _ts_generator(this, function(_state) {
18314
+ if (_instanceof(_this._createAccountResponse, Error)) {
18315
+ throw _this._createAccountResponse;
18316
+ }
18317
+ return [
18318
+ 2,
18319
+ _this._createAccountResponse
18320
+ ];
18321
+ });
18322
+ })();
18323
+ }
18324
+ },
18325
+ {
18326
+ key: "getDisclosureDocs",
18327
+ value: function getDisclosureDocs() {
18328
+ var _this = this;
18329
+ return _async_to_generator(function() {
18330
+ return _ts_generator(this, function(_state) {
18331
+ if (_instanceof(_this._disclosureDocsResponse, Error)) {
18332
+ throw _this._disclosureDocsResponse;
18333
+ }
18334
+ return [
18335
+ 2,
18336
+ _this._disclosureDocsResponse
18164
18337
  ];
18165
18338
  });
18166
18339
  })();
@@ -18543,15 +18716,68 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
18543
18716
  }
18544
18717
  },
18545
18718
  {
18546
- key: "createUserSavingsAccount",
18547
- value: function createUserSavingsAccount(request) {
18719
+ key: "saveUserConsents",
18720
+ value: function saveUserConsents(request) {
18721
+ var _this = this;
18722
+ return _async_to_generator(function() {
18723
+ var cuiApiBaseUrl, path, data, err;
18724
+ return _ts_generator(this, function(_state) {
18725
+ switch(_state.label){
18726
+ case 0:
18727
+ logDebug("Saving user consents", {
18728
+ adapter: "RestAccountRepository"
18729
+ });
18730
+ _state.label = 1;
18731
+ case 1:
18732
+ _state.trys.push([
18733
+ 1,
18734
+ 3,
18735
+ ,
18736
+ 4
18737
+ ]);
18738
+ cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
18739
+ path = "".concat(cuiApiBaseUrl, "/api/v2/users/consents");
18740
+ return [
18741
+ 4,
18742
+ _this.httpClient.post(path, {
18743
+ body: JSON.stringify(request)
18744
+ })
18745
+ ];
18746
+ case 2:
18747
+ data = _state.sent();
18748
+ logInfo("User consents saved successfully", {
18749
+ adapter: "RestAccountRepository"
18750
+ });
18751
+ return [
18752
+ 2,
18753
+ data
18754
+ ];
18755
+ case 3:
18756
+ err = _state.sent();
18757
+ logInfo("[ERROR] Unable to save user consents", {
18758
+ err: err,
18759
+ adapter: "RestAccountRepository"
18760
+ });
18761
+ throw new MqSDKError("Unable to save user consents", err);
18762
+ case 4:
18763
+ return [
18764
+ 2
18765
+ ];
18766
+ }
18767
+ });
18768
+ })();
18769
+ }
18770
+ },
18771
+ {
18772
+ key: "createAccount",
18773
+ value: function createAccount(request) {
18548
18774
  var _this = this;
18549
18775
  return _async_to_generator(function() {
18550
18776
  var cuiApiBaseUrl, path, data, err;
18551
18777
  return _ts_generator(this, function(_state) {
18552
18778
  switch(_state.label){
18553
18779
  case 0:
18554
- logDebug("Creating user savings account", {
18780
+ logDebug("Creating account", {
18555
18781
  adapter: "RestAccountRepository"
18556
18782
  });
18557
18783
  _state.label = 1;
@@ -18563,7 +18789,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
18563
18789
  4
18564
18790
  ]);
18565
18791
  cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
18566
- path = "".concat(cuiApiBaseUrl, "/api/v2/users/savingsaccounts");
18792
+ path = "".concat(cuiApiBaseUrl, "/api/v2/users/accounts");
18567
18793
  return [
18568
18794
  4,
18569
18795
  _this.httpClient.post(path, {
@@ -18572,7 +18798,7 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
18572
18798
  ];
18573
18799
  case 2:
18574
18800
  data = _state.sent();
18575
- logInfo("User savings account created successfully", {
18801
+ logInfo("Account created successfully", {
18576
18802
  status: data.status,
18577
18803
  adapter: "RestAccountRepository"
18578
18804
  });
@@ -18582,11 +18808,62 @@ var _RestAccountRepository = /*#__PURE__*/ function() {
18582
18808
  ];
18583
18809
  case 3:
18584
18810
  err = _state.sent();
18585
- logInfo("[ERROR] Unable to create user savings account", {
18811
+ logInfo("[ERROR] Unable to create account", {
18812
+ err: err,
18813
+ adapter: "RestAccountRepository"
18814
+ });
18815
+ throw new MqSDKError("Unable to create account", err);
18816
+ case 4:
18817
+ return [
18818
+ 2
18819
+ ];
18820
+ }
18821
+ });
18822
+ })();
18823
+ }
18824
+ },
18825
+ {
18826
+ key: "getDisclosureDocs",
18827
+ value: function getDisclosureDocs() {
18828
+ var _this = this;
18829
+ return _async_to_generator(function() {
18830
+ var cuiApiBaseUrl, path, data, err;
18831
+ return _ts_generator(this, function(_state) {
18832
+ switch(_state.label){
18833
+ case 0:
18834
+ logDebug("Getting disclosure docs", {
18835
+ adapter: "RestAccountRepository"
18836
+ });
18837
+ _state.label = 1;
18838
+ case 1:
18839
+ _state.trys.push([
18840
+ 1,
18841
+ 3,
18842
+ ,
18843
+ 4
18844
+ ]);
18845
+ cuiApiBaseUrl = getEnvConfigValueByName("CUI_API_BASE_URL");
18846
+ path = "".concat(cuiApiBaseUrl, "/api/v2/users/disclosures/docs");
18847
+ return [
18848
+ 4,
18849
+ _this.httpClient.get(path)
18850
+ ];
18851
+ case 2:
18852
+ data = _state.sent();
18853
+ logInfo("Disclosure docs retrieved successfully", {
18854
+ adapter: "RestAccountRepository"
18855
+ });
18856
+ return [
18857
+ 2,
18858
+ data
18859
+ ];
18860
+ case 3:
18861
+ err = _state.sent();
18862
+ logInfo("[ERROR] Unable to retrieve disclosure docs", {
18586
18863
  err: err,
18587
18864
  adapter: "RestAccountRepository"
18588
18865
  });
18589
- throw new MqSDKError("Unable to create user savings account", err);
18866
+ throw new MqSDKError("Unable to retrieve disclosure docs", err);
18590
18867
  case 4:
18591
18868
  return [
18592
18869
  2
@@ -18903,7 +19180,7 @@ var mswAccountHandlers = [
18903
19180
  }
18904
19181
  return HttpResponse.json(TEST_INTEREST_TIERS);
18905
19182
  }),
18906
- http.post("".concat(mockMode_exports.CUI_API_BASE_URL, "/api/v2/users/savingsaccounts"), function(param) {
19183
+ http.post("".concat(mockMode_exports.CUI_API_BASE_URL, "/api/v2/users/consents"), function(param) {
18907
19184
  var request = param.request;
18908
19185
  var authorization = request.headers.get("authorization");
18909
19186
  var _$_optionalChain = _sliced_to_array(_optionalChain([
@@ -18924,13 +19201,82 @@ var mswAccountHandlers = [
18924
19201
  });
18925
19202
  }
18926
19203
  var response = {
18927
- status: "ACTIVE",
18928
- message: "Savings account created successfully",
18929
- account_token: "savings-account-token-001"
19204
+ consents: [
19205
+ {
19206
+ token: "consent-token-001",
19207
+ type: "SAVINGS_BOX",
19208
+ status: "ACCEPTED",
19209
+ status_date: "2026-01-01T00:00:00Z"
19210
+ }
19211
+ ],
19212
+ message: "Consents saved successfully"
18930
19213
  };
18931
19214
  return HttpResponse.json(response, {
18932
19215
  status: 201
18933
19216
  });
19217
+ }),
19218
+ http.post("".concat(mockMode_exports.CUI_API_BASE_URL, "/api/v2/users/accounts"), function(param) {
19219
+ var request = param.request;
19220
+ var authorization = request.headers.get("authorization");
19221
+ var _$_optionalChain = _sliced_to_array(_optionalChain([
19222
+ authorization,
19223
+ 'optionalAccess',
19224
+ function(_84) {
19225
+ return _84.split;
19226
+ },
19227
+ 'call',
19228
+ function(_85) {
19229
+ return _85(" ");
19230
+ }
19231
+ ]), 2), _ = _$_optionalChain[0], token = _$_optionalChain[1];
19232
+ if (token === "invalid-token") {
19233
+ return new HttpResponse(null, {
19234
+ status: 401,
19235
+ statusText: "Unauthorized"
19236
+ });
19237
+ }
19238
+ var response = {
19239
+ token: "account-token-456",
19240
+ type: "SAVINGS",
19241
+ status: "PENDING"
19242
+ };
19243
+ return HttpResponse.json(response, {
19244
+ status: 202
19245
+ });
19246
+ }),
19247
+ http.get("".concat(mockMode_exports.CUI_API_BASE_URL, "/api/v2/users/disclosures/docs"), function(param) {
19248
+ var request = param.request;
19249
+ var authorization = request.headers.get("authorization");
19250
+ var _$_optionalChain = _sliced_to_array(_optionalChain([
19251
+ authorization,
19252
+ 'optionalAccess',
19253
+ function(_86) {
19254
+ return _86.split;
19255
+ },
19256
+ 'call',
19257
+ function(_87) {
19258
+ return _87(" ");
19259
+ }
19260
+ ]), 2), _ = _$_optionalChain[0], token = _$_optionalChain[1];
19261
+ if (token === "invalid-token") {
19262
+ return new HttpResponse(null, {
19263
+ status: 401,
19264
+ statusText: "Unauthorized"
19265
+ });
19266
+ }
19267
+ var response = {
19268
+ savingsBox: [
19269
+ {
19270
+ date: "2026-01-22",
19271
+ url: "https://www.example.com"
19272
+ },
19273
+ {
19274
+ date: "2026-05-10",
19275
+ url: "https://www.example.com"
19276
+ }
19277
+ ]
19278
+ };
19279
+ return HttpResponse.json(response);
18934
19280
  })
18935
19281
  ];
18936
19282
  // src/analytics/ioc/symbols.ts
@@ -20781,12 +21127,12 @@ var _RestComponentsRepository = /*#__PURE__*/ function() {
20781
21127
  componentCount: _optionalChain([
20782
21128
  data,
20783
21129
  'access',
20784
- function(_84) {
20785
- return _84.components;
21130
+ function(_88) {
21131
+ return _88.components;
20786
21132
  },
20787
21133
  'optionalAccess',
20788
- function(_85) {
20789
- return _85.length;
21134
+ function(_89) {
21135
+ return _89.length;
20790
21136
  }
20791
21137
  ]) || 0,
20792
21138
  adapter: "RestComponentsRepository"
@@ -21312,16 +21658,16 @@ function _retrieveDocumentForDispute() {
21312
21658
  documentCount: _optionalChain([
21313
21659
  result,
21314
21660
  'access',
21315
- function(_86) {
21316
- return _86.data;
21661
+ function(_90) {
21662
+ return _90.data;
21317
21663
  },
21318
21664
  'optionalAccess',
21319
- function(_87) {
21320
- return _87.documents;
21665
+ function(_91) {
21666
+ return _91.documents;
21321
21667
  },
21322
21668
  'optionalAccess',
21323
- function(_88) {
21324
- return _88.length;
21669
+ function(_92) {
21670
+ return _92.length;
21325
21671
  }
21326
21672
  ]) || 0,
21327
21673
  interactor: "retrieveDocumentForDispute"
@@ -22177,12 +22523,12 @@ var _RestDisputeRepository = /*#__PURE__*/ function() {
22177
22523
  stepCount: _optionalChain([
22178
22524
  result,
22179
22525
  'access',
22180
- function(_89) {
22181
- return _89.steps;
22526
+ function(_93) {
22527
+ return _93.steps;
22182
22528
  },
22183
22529
  'optionalAccess',
22184
- function(_90) {
22185
- return _90.length;
22530
+ function(_94) {
22531
+ return _94.length;
22186
22532
  }
22187
22533
  ]),
22188
22534
  adapter: "RestDisputeRepository"
@@ -22503,16 +22849,16 @@ var _RestDisputeRepository = /*#__PURE__*/ function() {
22503
22849
  documentCount: _optionalChain([
22504
22850
  result,
22505
22851
  'access',
22506
- function(_91) {
22507
- return _91.data;
22852
+ function(_95) {
22853
+ return _95.data;
22508
22854
  },
22509
22855
  'optionalAccess',
22510
- function(_92) {
22511
- return _92.documents;
22856
+ function(_96) {
22857
+ return _96.documents;
22512
22858
  },
22513
22859
  'optionalAccess',
22514
- function(_93) {
22515
- return _93.length;
22860
+ function(_97) {
22861
+ return _97.length;
22516
22862
  }
22517
22863
  ]),
22518
22864
  adapter: "RestDisputeRepository"
@@ -22677,65 +23023,65 @@ var mswDisputesHandlers = [
22677
23023
  var initalQnAns = _optionalChain([
22678
23024
  CUR_STEP1_RESPONSE,
22679
23025
  'access',
22680
- function(_94) {
22681
- return _94.defaultValues;
23026
+ function(_98) {
23027
+ return _98.defaultValues;
22682
23028
  },
22683
23029
  'optionalAccess',
22684
- function(_95) {
22685
- return _95["Q-INITIAL-QUESTION"];
23030
+ function(_99) {
23031
+ return _99["Q-INITIAL-QUESTION"];
22686
23032
  }
22687
23033
  ]);
22688
23034
  if (initalQnAns) {
22689
23035
  var initalQnReadableAns = _optionalChain([
22690
23036
  CUR_STEP1_RESPONSE,
22691
23037
  'access',
22692
- function(_96) {
22693
- return _96.schema;
23038
+ function(_100) {
23039
+ return _100.schema;
22694
23040
  },
22695
23041
  'optionalAccess',
22696
- function(_97) {
22697
- return _97.properties;
23042
+ function(_101) {
23043
+ return _101.properties;
22698
23044
  },
22699
23045
  'optionalAccess',
22700
- function(_98) {
22701
- return _98["Q-INITIAL-QUESTION"];
23046
+ function(_102) {
23047
+ return _102["Q-INITIAL-QUESTION"];
22702
23048
  },
22703
23049
  'optionalAccess',
22704
- function(_99) {
22705
- return _99.oneOf;
23050
+ function(_103) {
23051
+ return _103.oneOf;
22706
23052
  },
22707
23053
  'optionalAccess',
22708
- function(_100) {
22709
- return _100.find;
23054
+ function(_104) {
23055
+ return _104.find;
22710
23056
  },
22711
23057
  'call',
22712
- function(_101) {
22713
- return _101(function(val) {
23058
+ function(_105) {
23059
+ return _105(function(val) {
22714
23060
  return val.const === initalQnAns;
22715
23061
  });
22716
23062
  },
22717
23063
  'optionalAccess',
22718
- function(_102) {
22719
- return _102.title;
23064
+ function(_106) {
23065
+ return _106.title;
22720
23066
  }
22721
23067
  ]);
22722
23068
  var initialQuestion = _optionalChain([
22723
23069
  CUR_STEP1_RESPONSE,
22724
23070
  'access',
22725
- function(_103) {
22726
- return _103.schema;
23071
+ function(_107) {
23072
+ return _107.schema;
22727
23073
  },
22728
23074
  'optionalAccess',
22729
- function(_104) {
22730
- return _104.properties;
23075
+ function(_108) {
23076
+ return _108.properties;
22731
23077
  },
22732
23078
  'optionalAccess',
22733
- function(_105) {
22734
- return _105["Q-INITIAL-QUESTION"];
23079
+ function(_109) {
23080
+ return _109["Q-INITIAL-QUESTION"];
22735
23081
  },
22736
23082
  'optionalAccess',
22737
- function(_106) {
22738
- return _106.title;
23083
+ function(_110) {
23084
+ return _110.title;
22739
23085
  }
22740
23086
  ]);
22741
23087
  if (initialQuestion && initalQnReadableAns) {
@@ -22751,64 +23097,64 @@ var mswDisputesHandlers = [
22751
23097
  var fraudQnAns = _optionalChain([
22752
23098
  CUR_FRAUD_STEP_RESPONSE,
22753
23099
  'access',
22754
- function(_107) {
22755
- return _107.defaultValues;
23100
+ function(_111) {
23101
+ return _111.defaultValues;
22756
23102
  },
22757
23103
  'optionalAccess',
22758
- function(_108) {
22759
- return _108["Q-card-with-user"];
23104
+ function(_112) {
23105
+ return _112["Q-card-with-user"];
22760
23106
  }
22761
23107
  ]);
22762
23108
  var fraudQnReadableAns = _optionalChain([
22763
23109
  CUR_FRAUD_STEP_RESPONSE,
22764
23110
  'access',
22765
- function(_109) {
22766
- return _109.schema;
23111
+ function(_113) {
23112
+ return _113.schema;
22767
23113
  },
22768
23114
  'optionalAccess',
22769
- function(_110) {
22770
- return _110.properties;
23115
+ function(_114) {
23116
+ return _114.properties;
22771
23117
  },
22772
23118
  'optionalAccess',
22773
- function(_111) {
22774
- return _111["Q-card-with-user"];
23119
+ function(_115) {
23120
+ return _115["Q-card-with-user"];
22775
23121
  },
22776
23122
  'optionalAccess',
22777
- function(_112) {
22778
- return _112.oneOf;
23123
+ function(_116) {
23124
+ return _116.oneOf;
22779
23125
  },
22780
23126
  'optionalAccess',
22781
- function(_113) {
22782
- return _113.find;
23127
+ function(_117) {
23128
+ return _117.find;
22783
23129
  },
22784
23130
  'call',
22785
- function(_114) {
22786
- return _114(function(val) {
23131
+ function(_118) {
23132
+ return _118(function(val) {
22787
23133
  return val.const === fraudQnAns;
22788
23134
  });
22789
23135
  },
22790
23136
  'optionalAccess',
22791
- function(_115) {
22792
- return _115.title;
23137
+ function(_119) {
23138
+ return _119.title;
22793
23139
  }
22794
23140
  ]);
22795
23141
  var fraudQuestion = _optionalChain([
22796
23142
  CUR_FRAUD_STEP_RESPONSE,
22797
23143
  'access',
22798
- function(_116) {
22799
- return _116.schema;
23144
+ function(_120) {
23145
+ return _120.schema;
22800
23146
  },
22801
23147
  'optionalAccess',
22802
- function(_117) {
22803
- return _117.properties;
23148
+ function(_121) {
23149
+ return _121.properties;
22804
23150
  },
22805
23151
  'optionalAccess',
22806
- function(_118) {
22807
- return _118["Q-card-with-user"];
23152
+ function(_122) {
23153
+ return _122["Q-card-with-user"];
22808
23154
  },
22809
23155
  'optionalAccess',
22810
- function(_119) {
22811
- return _119.title;
23156
+ function(_123) {
23157
+ return _123.title;
22812
23158
  }
22813
23159
  ]);
22814
23160
  if (fraudQnReadableAns && fraudQuestion) answersForReview.push({
@@ -22821,64 +23167,64 @@ var mswDisputesHandlers = [
22821
23167
  var recognizedQnAns = _optionalChain([
22822
23168
  CUR_RECOGNIZED_TRANSACTION_RESPONSE,
22823
23169
  'access',
22824
- function(_120) {
22825
- return _120.defaultValues;
23170
+ function(_124) {
23171
+ return _124.defaultValues;
22826
23172
  },
22827
23173
  'optionalAccess',
22828
- function(_121) {
22829
- return _121.Q2;
23174
+ function(_125) {
23175
+ return _125.Q2;
22830
23176
  }
22831
23177
  ]);
22832
23178
  var recognizedQnReadableAns = _optionalChain([
22833
23179
  CUR_RECOGNIZED_TRANSACTION_RESPONSE,
22834
23180
  'access',
22835
- function(_122) {
22836
- return _122.schema;
23181
+ function(_126) {
23182
+ return _126.schema;
22837
23183
  },
22838
23184
  'optionalAccess',
22839
- function(_123) {
22840
- return _123.properties;
23185
+ function(_127) {
23186
+ return _127.properties;
22841
23187
  },
22842
23188
  'optionalAccess',
22843
- function(_124) {
22844
- return _124.Q2;
23189
+ function(_128) {
23190
+ return _128.Q2;
22845
23191
  },
22846
23192
  'optionalAccess',
22847
- function(_125) {
22848
- return _125.oneOf;
23193
+ function(_129) {
23194
+ return _129.oneOf;
22849
23195
  },
22850
23196
  'optionalAccess',
22851
- function(_126) {
22852
- return _126.find;
23197
+ function(_130) {
23198
+ return _130.find;
22853
23199
  },
22854
23200
  'call',
22855
- function(_127) {
22856
- return _127(function(val) {
23201
+ function(_131) {
23202
+ return _131(function(val) {
22857
23203
  return val.const === recognizedQnAns;
22858
23204
  });
22859
23205
  },
22860
23206
  'optionalAccess',
22861
- function(_128) {
22862
- return _128.title;
23207
+ function(_132) {
23208
+ return _132.title;
22863
23209
  }
22864
23210
  ]);
22865
23211
  var recognizedQuestion = _optionalChain([
22866
23212
  CUR_RECOGNIZED_TRANSACTION_RESPONSE,
22867
23213
  'access',
22868
- function(_129) {
22869
- return _129.schema;
23214
+ function(_133) {
23215
+ return _133.schema;
22870
23216
  },
22871
23217
  'optionalAccess',
22872
- function(_130) {
22873
- return _130.properties;
23218
+ function(_134) {
23219
+ return _134.properties;
22874
23220
  },
22875
23221
  'optionalAccess',
22876
- function(_131) {
22877
- return _131.Q2;
23222
+ function(_135) {
23223
+ return _135.Q2;
22878
23224
  },
22879
23225
  'optionalAccess',
22880
- function(_132) {
22881
- return _132.title;
23226
+ function(_136) {
23227
+ return _136.title;
22882
23228
  }
22883
23229
  ]);
22884
23230
  if (recognizedQnReadableAns && recognizedQuestion) {
@@ -22894,65 +23240,65 @@ var mswDisputesHandlers = [
22894
23240
  var amountQnAns = _optionalChain([
22895
23241
  CUR_AMOUNT_STEP_RESPONSE,
22896
23242
  'access',
22897
- function(_133) {
22898
- return _133.defaultValues;
23243
+ function(_137) {
23244
+ return _137.defaultValues;
22899
23245
  },
22900
23246
  'optionalAccess',
22901
- function(_134) {
22902
- return _134.Q13;
23247
+ function(_138) {
23248
+ return _138.Q13;
22903
23249
  }
22904
23250
  ]);
22905
23251
  if (amountQnAns) {
22906
23252
  var amountQnReadableAns = _optionalChain([
22907
23253
  CUR_AMOUNT_STEP_RESPONSE,
22908
23254
  'access',
22909
- function(_135) {
22910
- return _135.schema;
23255
+ function(_139) {
23256
+ return _139.schema;
22911
23257
  },
22912
23258
  'optionalAccess',
22913
- function(_136) {
22914
- return _136.properties;
23259
+ function(_140) {
23260
+ return _140.properties;
22915
23261
  },
22916
23262
  'optionalAccess',
22917
- function(_137) {
22918
- return _137.Q13;
23263
+ function(_141) {
23264
+ return _141.Q13;
22919
23265
  },
22920
23266
  'optionalAccess',
22921
- function(_138) {
22922
- return _138.oneOf;
23267
+ function(_142) {
23268
+ return _142.oneOf;
22923
23269
  },
22924
23270
  'optionalAccess',
22925
- function(_139) {
22926
- return _139.find;
23271
+ function(_143) {
23272
+ return _143.find;
22927
23273
  },
22928
23274
  'call',
22929
- function(_140) {
22930
- return _140(function(val) {
23275
+ function(_144) {
23276
+ return _144(function(val) {
22931
23277
  return val.const === amountQnAns;
22932
23278
  });
22933
23279
  },
22934
23280
  'optionalAccess',
22935
- function(_141) {
22936
- return _141.title;
23281
+ function(_145) {
23282
+ return _145.title;
22937
23283
  }
22938
23284
  ]);
22939
23285
  var amountQuestion = _optionalChain([
22940
23286
  CUR_AMOUNT_STEP_RESPONSE,
22941
23287
  'access',
22942
- function(_142) {
22943
- return _142.schema;
23288
+ function(_146) {
23289
+ return _146.schema;
22944
23290
  },
22945
23291
  'optionalAccess',
22946
- function(_143) {
22947
- return _143.properties;
23292
+ function(_147) {
23293
+ return _147.properties;
22948
23294
  },
22949
23295
  'optionalAccess',
22950
- function(_144) {
22951
- return _144.Q13;
23296
+ function(_148) {
23297
+ return _148.Q13;
22952
23298
  },
22953
23299
  'optionalAccess',
22954
- function(_145) {
22955
- return _145.title;
23300
+ function(_149) {
23301
+ return _149.title;
22956
23302
  }
22957
23303
  ]);
22958
23304
  if (amountQnReadableAns && amountQuestion) {
@@ -22965,48 +23311,48 @@ var mswDisputesHandlers = [
22965
23311
  if (_optionalChain([
22966
23312
  CUR_AMOUNT_STEP_RESPONSE,
22967
23313
  'access',
22968
- function(_146) {
22969
- return _146.defaultValues;
23314
+ function(_150) {
23315
+ return _150.defaultValues;
22970
23316
  },
22971
23317
  'optionalAccess',
22972
- function(_147) {
22973
- return _147.Q100;
23318
+ function(_151) {
23319
+ return _151.Q100;
22974
23320
  }
22975
23321
  ])) {
22976
23322
  answersForReview.push({
22977
23323
  question: _optionalChain([
22978
23324
  CUR_AMOUNT_STEP_RESPONSE,
22979
23325
  'access',
22980
- function(_148) {
22981
- return _148.schema;
23326
+ function(_152) {
23327
+ return _152.schema;
22982
23328
  },
22983
23329
  'optionalAccess',
22984
- function(_149) {
22985
- return _149.dependencies;
23330
+ function(_153) {
23331
+ return _153.dependencies;
22986
23332
  },
22987
23333
  'optionalAccess',
22988
- function(_150) {
22989
- return _150.Q13;
23334
+ function(_154) {
23335
+ return _154.Q13;
22990
23336
  },
22991
23337
  'optionalAccess',
22992
- function(_151) {
22993
- return _151.oneOf;
23338
+ function(_155) {
23339
+ return _155.oneOf;
22994
23340
  },
22995
23341
  'optionalAccess',
22996
- function(_152) {
22997
- return _152[0];
23342
+ function(_156) {
23343
+ return _156[0];
22998
23344
  },
22999
23345
  'optionalAccess',
23000
- function(_153) {
23001
- return _153.properties;
23346
+ function(_157) {
23347
+ return _157.properties;
23002
23348
  },
23003
23349
  'optionalAccess',
23004
- function(_154) {
23005
- return _154.Q100;
23350
+ function(_158) {
23351
+ return _158.Q100;
23006
23352
  },
23007
23353
  'optionalAccess',
23008
- function(_155) {
23009
- return _155.title;
23354
+ function(_159) {
23355
+ return _159.title;
23010
23356
  }
23011
23357
  ]),
23012
23358
  answers: [
@@ -23017,48 +23363,48 @@ var mswDisputesHandlers = [
23017
23363
  if (_optionalChain([
23018
23364
  CUR_AMOUNT_STEP_RESPONSE,
23019
23365
  'access',
23020
- function(_156) {
23021
- return _156.defaultValues;
23366
+ function(_160) {
23367
+ return _160.defaultValues;
23022
23368
  },
23023
23369
  'optionalAccess',
23024
- function(_157) {
23025
- return _157.Q14;
23370
+ function(_161) {
23371
+ return _161.Q14;
23026
23372
  }
23027
23373
  ])) {
23028
23374
  answersForReview.push({
23029
23375
  question: _optionalChain([
23030
23376
  CUR_AMOUNT_STEP_RESPONSE,
23031
23377
  'access',
23032
- function(_158) {
23033
- return _158.schema;
23378
+ function(_162) {
23379
+ return _162.schema;
23034
23380
  },
23035
23381
  'optionalAccess',
23036
- function(_159) {
23037
- return _159.dependencies;
23382
+ function(_163) {
23383
+ return _163.dependencies;
23038
23384
  },
23039
23385
  'optionalAccess',
23040
- function(_160) {
23041
- return _160.Q13;
23386
+ function(_164) {
23387
+ return _164.Q13;
23042
23388
  },
23043
23389
  'optionalAccess',
23044
- function(_161) {
23045
- return _161.oneOf;
23390
+ function(_165) {
23391
+ return _165.oneOf;
23046
23392
  },
23047
23393
  'optionalAccess',
23048
- function(_162) {
23049
- return _162[1];
23394
+ function(_166) {
23395
+ return _166[1];
23050
23396
  },
23051
23397
  'optionalAccess',
23052
- function(_163) {
23053
- return _163.properties;
23398
+ function(_167) {
23399
+ return _167.properties;
23054
23400
  },
23055
23401
  'optionalAccess',
23056
- function(_164) {
23057
- return _164.Q14;
23402
+ function(_168) {
23403
+ return _168.Q14;
23058
23404
  },
23059
23405
  'optionalAccess',
23060
- function(_165) {
23061
- return _165.title;
23406
+ function(_169) {
23407
+ return _169.title;
23062
23408
  }
23063
23409
  ]),
23064
23410
  answers: [
@@ -23069,48 +23415,48 @@ var mswDisputesHandlers = [
23069
23415
  if (_optionalChain([
23070
23416
  CUR_AMOUNT_STEP_RESPONSE,
23071
23417
  'access',
23072
- function(_166) {
23073
- return _166.defaultValues;
23418
+ function(_170) {
23419
+ return _170.defaultValues;
23074
23420
  },
23075
23421
  'optionalAccess',
23076
- function(_167) {
23077
- return _167.Q15;
23422
+ function(_171) {
23423
+ return _171.Q15;
23078
23424
  }
23079
23425
  ])) {
23080
23426
  answersForReview.push({
23081
23427
  question: _optionalChain([
23082
23428
  CUR_AMOUNT_STEP_RESPONSE,
23083
23429
  'access',
23084
- function(_168) {
23085
- return _168.schema;
23430
+ function(_172) {
23431
+ return _172.schema;
23086
23432
  },
23087
23433
  'optionalAccess',
23088
- function(_169) {
23089
- return _169.dependencies;
23434
+ function(_173) {
23435
+ return _173.dependencies;
23090
23436
  },
23091
23437
  'optionalAccess',
23092
- function(_170) {
23093
- return _170.Q13;
23438
+ function(_174) {
23439
+ return _174.Q13;
23094
23440
  },
23095
23441
  'optionalAccess',
23096
- function(_171) {
23097
- return _171.oneOf;
23442
+ function(_175) {
23443
+ return _175.oneOf;
23098
23444
  },
23099
23445
  'optionalAccess',
23100
- function(_172) {
23101
- return _172[1];
23446
+ function(_176) {
23447
+ return _176[1];
23102
23448
  },
23103
23449
  'optionalAccess',
23104
- function(_173) {
23105
- return _173.properties;
23450
+ function(_177) {
23451
+ return _177.properties;
23106
23452
  },
23107
23453
  'optionalAccess',
23108
- function(_174) {
23109
- return _174.Q15;
23454
+ function(_178) {
23455
+ return _178.Q15;
23110
23456
  },
23111
23457
  'optionalAccess',
23112
- function(_175) {
23113
- return _175.title;
23458
+ function(_179) {
23459
+ return _179.title;
23114
23460
  }
23115
23461
  ]),
23116
23462
  answers: [
@@ -23262,12 +23608,12 @@ var mswDisputesHandlers = [
23262
23608
  var initialQuestionAnswer = _optionalChain([
23263
23609
  CUR_STEP1_RESPONSE,
23264
23610
  'access',
23265
- function(_176) {
23266
- return _176.defaultValues;
23611
+ function(_180) {
23612
+ return _180.defaultValues;
23267
23613
  },
23268
23614
  'optionalAccess',
23269
- function(_177) {
23270
- return _177["Q-INITIAL-QUESTION"];
23615
+ function(_181) {
23616
+ return _181["Q-INITIAL-QUESTION"];
23271
23617
  }
23272
23618
  ]);
23273
23619
  switch(initialQuestionAnswer){
@@ -24895,14 +25241,14 @@ var _RestKycRepository = /*#__PURE__*/ function() {
24895
25241
  if (_optionalChain([
24896
25242
  error2,
24897
25243
  'optionalAccess',
24898
- function(_178) {
24899
- return _178.msg;
25244
+ function(_182) {
25245
+ return _182.msg;
24900
25246
  }
24901
25247
  ]) && _optionalChain([
24902
25248
  error2,
24903
25249
  'optionalAccess',
24904
- function(_179) {
24905
- return _179.debug;
25250
+ function(_183) {
25251
+ return _183.debug;
24906
25252
  }
24907
25253
  ])) {
24908
25254
  logInfo("[ERROR] KYC verification failed with standardized error", {
@@ -24960,12 +25306,12 @@ function _postVerifyKyb() {
24960
25306
  if (kybVerificationAttributes.locale_code === "INVALID" || !_optionalChain([
24961
25307
  kybVerificationAttributes,
24962
25308
  'access',
24963
- function(_180) {
24964
- return _180.answers;
25309
+ function(_184) {
25310
+ return _184.answers;
24965
25311
  },
24966
25312
  'optionalAccess',
24967
- function(_181) {
24968
- return _181.length;
25313
+ function(_185) {
25314
+ return _185.length;
24969
25315
  }
24970
25316
  ])) {
24971
25317
  logInfo("[ERROR] Invalid KYB request - invalid locale or no answers", {
@@ -24977,16 +25323,16 @@ function _postVerifyKyb() {
24977
25323
  hasErrorValue = _optionalChain([
24978
25324
  kybVerificationAttributes,
24979
25325
  'access',
24980
- function(_182) {
24981
- return _182.answers;
25326
+ function(_186) {
25327
+ return _186.answers;
24982
25328
  },
24983
25329
  'optionalAccess',
24984
- function(_183) {
24985
- return _183.some;
25330
+ function(_187) {
25331
+ return _187.some;
24986
25332
  },
24987
25333
  'call',
24988
- function(_184) {
24989
- return _184(function(answer) {
25334
+ function(_188) {
25335
+ return _188(function(answer) {
24990
25336
  return [
24991
25337
  "222222222",
24992
25338
  "444444444",
@@ -26488,14 +26834,14 @@ var _RestKybRepository = /*#__PURE__*/ function() {
26488
26834
  if (_optionalChain([
26489
26835
  error2,
26490
26836
  'optionalAccess',
26491
- function(_185) {
26492
- return _185.msg;
26837
+ function(_189) {
26838
+ return _189.msg;
26493
26839
  }
26494
26840
  ]) && _optionalChain([
26495
26841
  error2,
26496
26842
  'optionalAccess',
26497
- function(_186) {
26498
- return _186.debug;
26843
+ function(_190) {
26844
+ return _190.debug;
26499
26845
  }
26500
26846
  ])) {
26501
26847
  logInfo("[ERROR] KYB onboarding initialization failed with standardized error", {
@@ -26563,14 +26909,14 @@ var _RestKybRepository = /*#__PURE__*/ function() {
26563
26909
  if (_optionalChain([
26564
26910
  error2,
26565
26911
  'optionalAccess',
26566
- function(_187) {
26567
- return _187.msg;
26912
+ function(_191) {
26913
+ return _191.msg;
26568
26914
  }
26569
26915
  ]) && _optionalChain([
26570
26916
  error2,
26571
26917
  'optionalAccess',
26572
- function(_188) {
26573
- return _188.debug;
26918
+ function(_192) {
26919
+ return _192.debug;
26574
26920
  }
26575
26921
  ])) {
26576
26922
  logInfo("[ERROR] KYB verification failed with standardized error", {
@@ -26937,12 +27283,12 @@ var _RestMoneyMovementRepository = /*#__PURE__*/ function() {
26937
27283
  cardCount: _optionalChain([
26938
27284
  result,
26939
27285
  'access',
26940
- function(_189) {
26941
- return _189.data;
27286
+ function(_193) {
27287
+ return _193.data;
26942
27288
  },
26943
27289
  'optionalAccess',
26944
- function(_190) {
26945
- return _190.length;
27290
+ function(_194) {
27291
+ return _194.length;
26946
27292
  }
26947
27293
  ]) || 0,
26948
27294
  adapter: "RestMoneyMovementRepository"
@@ -27439,12 +27785,12 @@ function _getExternalCards() {
27439
27785
  cardCount: _optionalChain([
27440
27786
  result,
27441
27787
  'access',
27442
- function(_191) {
27443
- return _191.data;
27788
+ function(_195) {
27789
+ return _195.data;
27444
27790
  },
27445
27791
  'optionalAccess',
27446
- function(_192) {
27447
- return _192.length;
27792
+ function(_196) {
27793
+ return _196.length;
27448
27794
  }
27449
27795
  ]) || 0,
27450
27796
  interactor: "getExternalCards"
@@ -29366,12 +29712,12 @@ var _RestStatementsRepository = /*#__PURE__*/ function() {
29366
29712
  statementCount: _optionalChain([
29367
29713
  response,
29368
29714
  'access',
29369
- function(_193) {
29370
- return _193.data;
29715
+ function(_197) {
29716
+ return _197.data;
29371
29717
  },
29372
29718
  'optionalAccess',
29373
- function(_194) {
29374
- return _194.length;
29719
+ function(_198) {
29720
+ return _198.length;
29375
29721
  }
29376
29722
  ]) || 0,
29377
29723
  hasMore: response.is_more,
@@ -31943,12 +32289,12 @@ var filterMockTransactionsByStatus = /* @__PURE__ */ __name(function(statuses) {
31943
32289
  return statuses.includes(_optionalChain([
31944
32290
  status,
31945
32291
  'optionalAccess',
31946
- function(_195) {
31947
- return _195.toUpperCase;
32292
+ function(_199) {
32293
+ return _199.toUpperCase;
31948
32294
  },
31949
32295
  'call',
31950
- function(_196) {
31951
- return _196();
32296
+ function(_200) {
32297
+ return _200();
31952
32298
  }
31953
32299
  ]));
31954
32300
  });
@@ -32000,8 +32346,8 @@ var mswTransactionsHandlers = [
32000
32346
  if (_optionalChain([
32001
32347
  queryStatus,
32002
32348
  'optionalAccess',
32003
- function(_197) {
32004
- return _197[0];
32349
+ function(_201) {
32350
+ return _201[0];
32005
32351
  }
32006
32352
  ]) === "PENDING") {
32007
32353
  is_more = filteredMockData.length > 10;
@@ -32368,7 +32714,9 @@ exports.getAccountBalances = getAccountBalances;
32368
32714
  exports.getDepositAccounts = getDepositAccounts;
32369
32715
  exports.getInterestTiers = getInterestTiers;
32370
32716
  exports.getUserAccounts = getUserAccounts;
32371
- exports.createUserSavingsAccount = createUserSavingsAccount;
32717
+ exports.saveUserConsents = saveUserConsents;
32718
+ exports.createAccount = createAccount;
32719
+ exports.getDisclosureDocs = getDisclosureDocs;
32372
32720
  exports.iAccountRepository = iAccountRepository;
32373
32721
  exports.UserAccountStatus = UserAccountStatus;
32374
32722
  exports.UserAccountType = UserAccountType;