@cuenca-mx/cuenca-js 0.0.5-dev.7 → 0.0.5-dev.8

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/build/index.mjs CHANGED
@@ -2,10 +2,9 @@ import axios from 'axios';
2
2
  import Buffer from 'buffer';
3
3
  import { CuencaResponseException, CuencaException, NoResultFound, MultipleResultsFound, InvalidPassword } from './errors/index.mjs';
4
4
  import { Jwt } from './jwt/index.mjs';
5
- import { P as Phase, F as FileFormat, d as dateToUTC, e as enumValueFromString, E as EntryType, T as TransactionStatus, C as CardFundingType, a as CardIssuer, b as CardStatus, c as CardType, f as CardErrorType, g as CardTransactionType, h as CommissionType, D as DepositNetwork, K as KYCFileType, S as SavingCategory, i as ServiceProviderCategory, j as TransferNetwork, V as VerificationStatus, U as UserStatus, k as VerificationType, W as WalletTransactionType } from './data-86ddd935.mjs';
6
- import { A as Address, K as KYCFile, T as TOSAgreements, a as AccountQuery, b as ApiKeyQuery, B as BalanceEntryQuery, c as BillPaymentQuery, C as CardsQuery, d as CardTransactionQuery, Q as QueryParams, D as DepositQuery, W as WalletQuery, S as StatementQuery, e as TransferQuery, U as UserQuery, f as WalletTransactionQuery } from './identities-f01f7ffa.mjs';
7
- import { A as ApiKeyUpdateRequest, a as ArpcRequest, C as CardActivationRequest, b as CardRequest, c as CardUpdateRequest, d as CardValidationRequest, U as UploadRequest, K as KYCValidationsRequest, S as SavingRequest, T as TransferRequest, e as UserCredentialRequest, f as UserCredentialUpdateRequest, g as UserLoginRequest, h as UserUpdateRequest, V as VerificationRequest, i as VerificationAttemptRequest, W as WalletTransactionRequest } from './walletTransactionRequest-180eb9ea.mjs';
8
- import 'module';
5
+ import { P as Phase, F as FileFormat, d as dateToUTC, e as enumValueFromString, E as EntryType, T as TransactionStatus, B as BridgeAccountStatus, C as CardFundingType, a as CardIssuer, b as CardStatus, c as CardType, f as CardErrorType, g as CardTransactionType, h as CommissionType, D as DepositNetwork, S as SavingCategory, i as ServiceProviderCategory, j as TransferNetwork, U as UserStatus, V as VerificationType, W as WalletTransactionType } from './data-487ea691.mjs';
6
+ import { K as KYCFile, T as TOSAgreements, A as AccountQuery, a as ApiKeyQuery, B as BalanceEntryQuery, b as BillPaymentQuery, c as BridgeAccountQuery, C as CardsQuery, d as CardTransactionQuery, Q as QueryParams, D as DepositQuery, W as WalletQuery, S as StatementQuery, e as TransferQuery, U as UserQuery, f as WalletTransactionQuery } from './identities-32031e5d.mjs';
7
+ import { A as ApiKeyUpdateRequest, a as ArpcRequest, C as CardActivationRequest, b as CardRequest, c as CardUpdateRequest, d as CardValidationRequest, S as SavingRequest, T as TransferRequest, U as UserCredentialRequest, e as UserCredentialUpdateRequest, f as UserLoginRequest, g as UserUpdateRequest, V as VerificationRequest, h as VerificationAttemptRequest, W as WalletTransactionRequest } from './walletTransactionRequest-bdcb7e35.mjs';
9
8
 
10
9
  /* global window */
11
10
 
@@ -18,7 +17,7 @@ const isNode =
18
17
 
19
18
  const runtimeEnv = { isBrowser, isNode };
20
19
 
21
- const name="@cuenca-mx/cuenca-js";const version="0.0.5-dev.7";const description="Cuenca client for JS";const main="./build/index.cjs";const module="./build/index.mjs";const browser="./build/umd/cuenca.umd.js";const files=["build/**/*"];const exports={".":{"import":"./build/index.mjs",require:"./build/index.cjs"},"./errors":{"import":"./build/errors/index.mjs",require:"./build/errors/index.cjs"},"./jwt":{"import":"./build/jwt/index.mjs",require:"./build/jwt/index.cjs"},"./requests":{"import":"./build/requests/index.mjs",require:"./build/requests/index.cjs"},"./types":{"import":"./build/types/index.mjs",require:"./build/types/index.cjs"}};const packageManager="yarn@3.0.2";const type="module";const repository={type:"git",url:"https://github.com/cuenca-mx/cuenca-js.git",directory:"packages/cuenca-js"};const keywords=["cuenca"];const license="MIT";const bugs={url:"https://github.com/cuenca-mx/cuenca-js/issues"};const homepage="https://cuenca.com";const scripts={build:"rm -rf build/ && yarn rollup --config",test:"yarn node --experimental-vm-modules $(yarn bin jest)",publish:"yarn build && yarn npm publish"};const devDependencies={"@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.1",jest:"^27.4.5",rollup:"^2.61.1","rollup-plugin-terser":"^7.0.2"};const dependencies={axios:"^0.24.0",buffer:"^6.0.3","form-data":"^4.0.0"};var pkg = {name:name,version:version,description:description,main:main,module:module,browser:browser,files:files,exports:exports,packageManager:packageManager,type:type,repository:repository,keywords:keywords,license:license,bugs:bugs,homepage:homepage,scripts:scripts,devDependencies:devDependencies,dependencies:dependencies};
20
+ const name="@cuenca-mx/cuenca-js";const version="0.0.5-dev.8";const description="Cuenca client for JS";const main="./build/index.cjs";const module="./build/index.mjs";const browser="./build/umd/cuenca.umd.js";const files=["build/**/*"];const exports={".":{"import":"./build/index.mjs",require:"./build/index.cjs"},"./errors":{"import":"./build/errors/index.mjs",require:"./build/errors/index.cjs"},"./jwt":{"import":"./build/jwt/index.mjs",require:"./build/jwt/index.cjs"},"./requests":{"import":"./build/requests/index.mjs",require:"./build/requests/index.cjs"},"./types":{"import":"./build/types/index.mjs",require:"./build/types/index.cjs"}};const packageManager="yarn@3.0.2";const type="module";const repository={type:"git",url:"https://github.com/cuenca-mx/cuenca-js.git",directory:"packages/cuenca-js"};const keywords=["cuenca"];const license="MIT";const bugs={url:"https://github.com/cuenca-mx/cuenca-js/issues"};const homepage="https://cuenca.com";const scripts={build:"rm -rf build/ && yarn rollup --config",test:"yarn node --experimental-vm-modules $(yarn bin jest)",publish:"yarn build && yarn npm publish"};const devDependencies={"@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.1",jest:"^27.4.5",rollup:"^2.61.1","rollup-plugin-terser":"^7.0.2"};const dependencies={axios:"^0.24.0",buffer:"^6.0.3"};var pkg = {name:name,version:version,description:description,main:main,module:module,browser:browser,files:files,exports:exports,packageManager:packageManager,type:type,repository:repository,keywords:keywords,license:license,bugs:bugs,homepage:homepage,scripts:scripts,devDependencies:devDependencies,dependencies:dependencies};
22
21
 
23
22
  class Client {
24
23
  constructor({
@@ -125,8 +124,8 @@ class Client {
125
124
  return this.request({ endpoint, format, params });
126
125
  }
127
126
 
128
- async post({ endpoint, data, multipart }) {
129
- return this.request({ method: 'POST', endpoint, data, multipart });
127
+ async post({ endpoint, data }) {
128
+ return this.request({ method: 'POST', endpoint, data });
130
129
  }
131
130
 
132
131
  async patch({ endpoint, data }) {
@@ -142,18 +141,13 @@ class Client {
142
141
  data = null,
143
142
  format = FileFormat.Json,
144
143
  method = 'GET',
145
- multipart = false,
146
144
  params = null,
147
145
  }) {
148
- let headers;
149
- if (multipart) {
150
- headers = data.getHeaders();
151
- } else {
152
- headers = {
153
- 'Content-Type': 'application/json',
154
- Accept: `application/${format.value}`,
155
- };
156
- }
146
+ const headers = {
147
+ 'Content-Type': 'application/json',
148
+ Accept: `application/${format.value}`,
149
+ };
150
+
157
151
  if (this.authHeader) {
158
152
  headers.Authorization = this.authHeader;
159
153
  }
@@ -172,6 +166,7 @@ class Client {
172
166
  }
173
167
  headers['X-Cuenca-Token'] = this.jwtToken.token;
174
168
  }
169
+
175
170
  const headersInterceptor = this.addHeadersToRequest(headers);
176
171
 
177
172
  const modifiedData = data;
@@ -364,6 +359,64 @@ class BillPayment extends Transaction {
364
359
  });
365
360
  }
366
361
 
362
+ class BridgeAccount {
363
+ constructor({
364
+ id,
365
+ names,
366
+ firstSurname,
367
+ secondSurname,
368
+ dateOfBirth,
369
+ countryOfBirth,
370
+ rfc,
371
+ curp,
372
+ userId,
373
+ gender,
374
+ phoneNumber,
375
+ emailAddress,
376
+ govtId,
377
+ proofOfAddress,
378
+ proofOfLife,
379
+ status,
380
+ }) {
381
+ this.id = id;
382
+ this.emailAddress = emailAddress;
383
+ this.govtId = govtId;
384
+ this.names = names;
385
+ this.firstSurname = firstSurname;
386
+ this.secondSurname = secondSurname;
387
+ this.dateOfBirth = dateOfBirth;
388
+ this.countryOfBirth = countryOfBirth;
389
+ this.rfc = rfc;
390
+ this.curp = curp;
391
+ this.userId = userId;
392
+ this.gender = gender;
393
+ this.phoneNumber = phoneNumber;
394
+ this.addressProofs = proofOfAddress;
395
+ this.lifeProofs = proofOfLife;
396
+ this.status = enumValueFromString(BridgeAccountStatus, status);
397
+ }
398
+
399
+ static fromObject = ({ status, ...obj }) =>
400
+ new BridgeAccount({
401
+ id: obj.id,
402
+ names: obj.names,
403
+ firstSurname: obj.first_surname,
404
+ secondSurname: obj.second_surname,
405
+ dateOfBirth: obj.date_of_birth,
406
+ countryOfBirth: obj.country_of_birth,
407
+ rfc: obj.rfc,
408
+ curp: obj.curp,
409
+ userId: obj.user_id,
410
+ gender: obj.gender,
411
+ govtId: obj.govt_id,
412
+ emailAddress: obj.email_address,
413
+ phoneNumber: obj.phone_number,
414
+ proofOfAddress: obj.proof_of_address,
415
+ proofOfLife: obj.proof_of_life,
416
+ status,
417
+ });
418
+ }
419
+
367
420
  class Card {
368
421
  constructor({
369
422
  createdAt,
@@ -624,35 +677,6 @@ class Deposit extends Transaction {
624
677
  });
625
678
  }
626
679
 
627
- class File {
628
- constructor({ extension, type, url, userId }) {
629
- this.extension = extension;
630
- this.type = enumValueFromString(KYCFileType, type);
631
- this.url = url;
632
- this.userId = userId;
633
- }
634
-
635
- static fromObject = ({ extension, type, url, ...obj }) =>
636
- new File({ extension, type, url, userId: obj.user_id });
637
- }
638
-
639
- class KYCValidations {
640
- constructor({ platformId, attemps, verificationId, filesUri }) {
641
- this.attemps = attemps;
642
- this.filesUri = filesUri;
643
- this.platformId = platformId;
644
- this.verificationId = verificationId;
645
- }
646
-
647
- static fromObject = ({ attemps, ...obj }) =>
648
- new KYCValidations({
649
- attemps,
650
- filesUri: obj.files_uri,
651
- platformId: obj.platform_id,
652
- verificationId: obj.verification_id,
653
- });
654
- }
655
-
656
680
  class LoginToken {
657
681
  constructor({ id }) {
658
682
  this.id = id;
@@ -808,73 +832,29 @@ class Transfer extends Transaction {
808
832
 
809
833
  class User {
810
834
  constructor({
811
- address,
812
- blacklistValidationStatus,
813
- clabe,
814
- countryOfBirth,
815
- createdAt,
816
- curp,
817
- dateOfBirth,
818
835
  emailAddress,
819
- firstSurname,
820
- gender,
821
836
  govtId,
822
- id,
823
837
  level,
824
- names,
825
- nationality,
826
838
  phoneNumber,
827
839
  proofOfAddress,
828
840
  proofOfLife,
829
841
  requiredLevel,
830
- rfc,
831
- secondSurname,
832
- stateOfBirth,
833
842
  status,
834
843
  termsOfService,
835
- updatedAt,
836
844
  verificationId,
837
845
  }) {
838
- this.add = address;
839
- this.blacklistValidationStatus = enumValueFromString(
840
- VerificationStatus,
841
- blacklistValidationStatus,
842
- );
843
- this.clabe = clabe;
844
- this.countryOfBirth = countryOfBirth;
845
- this.createdAt = dateToUTC(createdAt);
846
- this.curp = curp;
847
- this.dateOfBirth = dateOfBirth;
848
846
  this.emailAddress = emailAddress;
849
- this.firstSurname = firstSurname;
850
- this.gender = gender;
851
847
  this.govstIds = govtId;
852
- this.id = id;
853
848
  this.level = level;
854
- this.names = names;
855
- this.nationality = nationality;
856
849
  this.phoneNumber = phoneNumber;
857
850
  this.addressProofs = proofOfAddress;
858
851
  this.lifeProofs = proofOfLife;
859
852
  this.requiredLevel = requiredLevel;
860
- this.rfc = rfc;
861
- this.secondSurname = secondSurname;
862
- this.stateOfBirth = stateOfBirth;
863
853
  this.status = enumValueFromString(UserStatus, status);
864
854
  this.terms = termsOfService;
865
- this.updatedAt = dateToUTC(updatedAt);
866
855
  this.verificationId = verificationId;
867
856
  }
868
857
 
869
- get address() {
870
- return this._address;
871
- }
872
-
873
- set add(value) {
874
- if (!value) return;
875
- this._address = Address.fromObject(value);
876
- }
877
-
878
858
  get proofOfAddress() {
879
859
  return this._proofOfAddress;
880
860
  }
@@ -911,45 +891,17 @@ class User {
911
891
  this._termsOfService = TOSAgreements.fromObject(value);
912
892
  }
913
893
 
914
- static fromObject = ({
915
- address,
916
- clabe,
917
- curp,
918
- gender,
919
- id,
920
- level,
921
- names,
922
- nationality,
923
- rfc,
924
- status,
925
- ...obj
926
- }) =>
894
+ static fromObject = ({ level, status, ...obj }) =>
927
895
  new User({
928
- address,
929
- clabe,
930
- curp,
931
- gender,
932
- id,
933
896
  level,
934
- names,
935
- nationality,
936
- rfc,
937
897
  status,
938
- blacklistValidationStatus: obj.blacklist_validation_status,
939
- countryOfBirth: obj.country_of_birth,
940
- createdAt: obj.created_at,
941
- dateOfBirth: obj.date_of_birth,
942
- emailAddress: obj.email_address,
943
- firstSurname: obj.first_surname,
944
898
  govtId: obj.govt_id,
899
+ emailAddress: obj.email_address,
945
900
  phoneNumber: obj.phone_number,
946
901
  proofOfAddress: obj.proof_of_address,
947
902
  proofOfLife: obj.proof_of_life,
948
903
  requiredLevel: obj.required_level,
949
- secondSurname: obj.second_surname,
950
- stateOfBirth: obj.state_of_birth,
951
904
  termsOfService: obj.terms_of_service,
952
- updatedAt: obj.updated_at,
953
905
  verificationId: obj.verification_id,
954
906
  });
955
907
  }
@@ -1119,14 +1071,13 @@ const getModelFromPath = (path, obj) => {
1119
1071
  arpc: () => Arpc.fromObject(obj),
1120
1072
  balance_entries: () => BalanceEntry.fromObject(obj),
1121
1073
  bill_payments: () => BillPayment.fromObject(obj),
1074
+ 'bridge/accounts': () => BridgeAccount.fromObject(obj),
1122
1075
  cards: () => Card.fromObject(obj),
1123
1076
  card_activations: () => CardActivation.fromObject(obj),
1124
1077
  card_transactions: () => CardTransaction.fromObject(obj),
1125
1078
  card_validations: () => CardValidation.fromObject(obj),
1126
1079
  commissions: () => Commission.fromObject(obj),
1127
1080
  deposits: () => Deposit.fromObject(obj),
1128
- files: () => File.fromObject(obj),
1129
- kyc_validations: () => KYCValidations.fromObject(obj),
1130
1081
  login_tokens: () => LoginToken.fromObject(obj),
1131
1082
  savings: () => Saving.fromObject(obj),
1132
1083
  service_providers: () => ServiceProvider.fromObject(obj),
@@ -1192,19 +1143,6 @@ const Updateable = (SuperClass) =>
1192
1143
  }
1193
1144
  };
1194
1145
 
1195
- const Uploadable = (SuperClass) =>
1196
- class Uploadable extends SuperClass {
1197
- async _upload(data) {
1198
- const response = await this.client.post({
1199
- endpoint: `/${this.path}`,
1200
- data,
1201
- multipart: true,
1202
- });
1203
- const model = getModelFromPath(this.path, response);
1204
- return model;
1205
- }
1206
- };
1207
-
1208
1146
  const Deactivable = (SuperClass) =>
1209
1147
  class Deactivable extends SuperClass {
1210
1148
  async _deactivate(id, data) {
@@ -1220,14 +1158,10 @@ const Deactivable = (SuperClass) =>
1220
1158
  const Downlodable = (SuperClass) =>
1221
1159
  class Downlodable extends SuperClass {
1222
1160
  async _download(id, format) {
1223
- const interceptor = this.client.addConfigToRequest({
1224
- responseType: 'stream',
1225
- });
1226
1161
  const byteString = await this.client.get({
1227
1162
  endpoint: `/${this.path}/${id}`,
1228
1163
  format,
1229
1164
  });
1230
- interceptor.eject();
1231
1165
  return byteString;
1232
1166
  }
1233
1167
  };
@@ -1394,6 +1328,12 @@ class BillPaymentResource extends mix(Resource).with(Queryable, Retrievable) {
1394
1328
  }
1395
1329
  }
1396
1330
 
1331
+ class BridegAccountResource extends mix(Resource).with(Queryable, Retrievable) {
1332
+ constructor(client) {
1333
+ super('bridge/accounts', BridgeAccountQuery, client);
1334
+ }
1335
+ }
1336
+
1397
1337
  class CardActivationResource extends mix(Resource).with(Creatable) {
1398
1338
  constructor(client) {
1399
1339
  super('card_activations', Object, client);
@@ -1521,39 +1461,6 @@ class DepositResource extends mix(Resource).with(Queryable, Retrievable) {
1521
1461
  }
1522
1462
  }
1523
1463
 
1524
- class FileResource extends mix(Resource).with(Downlodable, Uploadable) {
1525
- constructor(client) {
1526
- super('files', Object, client);
1527
- }
1528
-
1529
- async download(id) {
1530
- const byteString = await this._download(id, FileFormat.Any);
1531
- return byteString;
1532
- }
1533
-
1534
- async upload({ ...req }) {
1535
- const request = new UploadRequest(req);
1536
- const fileUpload = await this._upload(request.toFormData());
1537
- return fileUpload;
1538
- }
1539
- }
1540
-
1541
- class KYCValidationsResource extends mix(Resource).with(
1542
- Creatable,
1543
- Retrievable,
1544
- Queryable,
1545
- ) {
1546
- constructor(client) {
1547
- super('kyc_validations', Object, client);
1548
- }
1549
-
1550
- async create(userId = 'me') {
1551
- const request = new KYCValidationsRequest(userId);
1552
- const kycValidation = await this._create(request.toObject());
1553
- return kycValidation;
1554
- }
1555
- }
1556
-
1557
1464
  class LoginTokenResource extends mix(Resource).with(Creatable) {
1558
1465
  constructor(client) {
1559
1466
  super('login_tokens', Object, client);
@@ -1846,8 +1753,6 @@ class Cuenca {
1846
1753
  this.cardValidations = new CardValidationResource(client);
1847
1754
  this.commissions = new CommissionResource(client);
1848
1755
  this.deposits = new DepositResource(client);
1849
- this.files = new FileResource(client);
1850
- this.kycValidations = new KYCValidationsResource(client);
1851
1756
  this.loginTokens = new LoginTokenResource(client);
1852
1757
  this.savings = new SavingResource(client);
1853
1758
  this.serviceProviders = new ServiceProviderResource(client);
@@ -2,11 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var walletTransactionRequest = require('../walletTransactionRequest-ee4e5af1.cjs');
5
+ var walletTransactionRequest = require('../walletTransactionRequest-8a816a1f.cjs');
6
6
  require('../errors/index.cjs');
7
- require('../data-d25afb50.cjs');
8
- require('buffer');
9
- require('module');
7
+ require('../data-f85a5287.cjs');
10
8
 
11
9
 
12
10
 
@@ -16,8 +14,6 @@ exports.CardActivationRequest = walletTransactionRequest.CardActivationRequest;
16
14
  exports.CardRequest = walletTransactionRequest.CardRequest;
17
15
  exports.CardUpdateRequest = walletTransactionRequest.CardUpdateRequest;
18
16
  exports.CardValidationRequest = walletTransactionRequest.CardValidationRequest;
19
- exports.FileUploadRequest = walletTransactionRequest.UploadRequest;
20
- exports.KYCValidationsRequeest = walletTransactionRequest.KYCValidationsRequest;
21
17
  exports.SavingRequest = walletTransactionRequest.SavingRequest;
22
18
  exports.TransferRequest = walletTransactionRequest.TransferRequest;
23
19
  exports.UserCredentialRequest = walletTransactionRequest.UserCredentialRequest;
@@ -1,5 +1,3 @@
1
- export { A as ApiKeyUpdateRequest, a as ArpcRequest, C as CardActivationRequest, b as CardRequest, c as CardUpdateRequest, d as CardValidationRequest, U as FileUploadRequest, K as KYCValidationsRequeest, S as SavingRequest, T as TransferRequest, e as UserCredentialRequest, f as UserCredentialUpdateRequest, g as UserLoginRequest, h as UserUpdateRequest, i as VerificationAttemptRequest, V as VerificationRequest, W as WalletTransactionRequest } from '../walletTransactionRequest-180eb9ea.mjs';
1
+ export { A as ApiKeyUpdateRequest, a as ArpcRequest, C as CardActivationRequest, b as CardRequest, c as CardUpdateRequest, d as CardValidationRequest, S as SavingRequest, T as TransferRequest, U as UserCredentialRequest, e as UserCredentialUpdateRequest, f as UserLoginRequest, g as UserUpdateRequest, h as VerificationAttemptRequest, V as VerificationRequest, W as WalletTransactionRequest } from '../walletTransactionRequest-bdcb7e35.mjs';
2
2
  import '../errors/index.mjs';
3
- import '../data-86ddd935.mjs';
4
- import 'buffer';
5
- import 'module';
3
+ import '../data-487ea691.mjs';
@@ -2,12 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var data = require('../data-d25afb50.cjs');
6
- var identities = require('../identities-b472f1c7.cjs');
5
+ var data = require('../data-f85a5287.cjs');
6
+ var identities = require('../identities-ab85ec0b.cjs');
7
7
  require('../errors/index.cjs');
8
8
 
9
9
 
10
10
 
11
+ exports.BridgeAccountStatus = data.BridgeAccountStatus;
11
12
  exports.CardErrorType = data.CardErrorType;
12
13
  exports.CardFundingType = data.CardFundingType;
13
14
  exports.CardIssuer = data.CardIssuer;
@@ -27,14 +28,13 @@ exports.TrackDataMethod = data.TrackDataMethod;
27
28
  exports.TransactionStatus = data.TransactionStatus;
28
29
  exports.TransferNetwork = data.TransferNetwork;
29
30
  exports.UserStatus = data.UserStatus;
30
- exports.VerificationStatus = data.VerificationStatus;
31
31
  exports.VerificationType = data.VerificationType;
32
32
  exports.WalletTransactionType = data.WalletTransactionType;
33
33
  exports.AccountQuery = identities.AccountQuery;
34
- exports.Address = identities.Address;
35
34
  exports.ApiKeyQuery = identities.ApiKeyQuery;
36
35
  exports.BalanceEntryQuery = identities.BalanceEntryQuery;
37
36
  exports.BillPaymentQuery = identities.BillPaymentQuery;
37
+ exports.BridgeAccountQuery = identities.BridgeAccountQuery;
38
38
  exports.CardTransactionQuery = identities.CardTransactionQuery;
39
39
  exports.CardsQuery = identities.CardsQuery;
40
40
  exports.DepositQuery = identities.DepositQuery;
@@ -43,7 +43,6 @@ exports.PageSize = identities.PageSize;
43
43
  exports.QueryParams = identities.QueryParams;
44
44
  exports.StatementQuery = identities.StatementQuery;
45
45
  exports.TOSAgreements = identities.TOSAgreements;
46
- exports.TransactionQuery = identities.TransactionQuery;
47
46
  exports.TransferQuery = identities.TransferQuery;
48
47
  exports.UserQuery = identities.UserQuery;
49
48
  exports.WalletQuery = identities.WalletQuery;
@@ -1,3 +1,3 @@
1
- export { f as CardErrorType, C as CardFundingType, a as CardIssuer, b as CardStatus, g as CardTransactionType, c as CardType, h as CommissionType, D as DepositNetwork, E as EntryType, F as FileFormat, K as KYCFileType, l as KYCStatus, P as Phase, S as SavingCategory, i as ServiceProviderCategory, m as TrackDataMethod, T as TransactionStatus, j as TransferNetwork, U as UserStatus, V as VerificationStatus, k as VerificationType, W as WalletTransactionType } from '../data-86ddd935.mjs';
2
- export { a as AccountQuery, A as Address, b as ApiKeyQuery, B as BalanceEntryQuery, c as BillPaymentQuery, d as CardTransactionQuery, C as CardsQuery, D as DepositQuery, K as KYCFile, P as PageSize, Q as QueryParams, S as StatementQuery, T as TOSAgreements, g as TransactionQuery, e as TransferQuery, U as UserQuery, W as WalletQuery, f as WalletTransactionQuery } from '../identities-f01f7ffa.mjs';
1
+ export { B as BridgeAccountStatus, f as CardErrorType, C as CardFundingType, a as CardIssuer, b as CardStatus, g as CardTransactionType, c as CardType, h as CommissionType, D as DepositNetwork, E as EntryType, F as FileFormat, K as KYCFileType, k as KYCStatus, P as Phase, S as SavingCategory, i as ServiceProviderCategory, l as TrackDataMethod, T as TransactionStatus, j as TransferNetwork, U as UserStatus, V as VerificationType, W as WalletTransactionType } from '../data-487ea691.mjs';
2
+ export { A as AccountQuery, a as ApiKeyQuery, B as BalanceEntryQuery, b as BillPaymentQuery, c as BridgeAccountQuery, d as CardTransactionQuery, C as CardsQuery, D as DepositQuery, K as KYCFile, P as PageSize, Q as QueryParams, S as StatementQuery, T as TOSAgreements, e as TransferQuery, U as UserQuery, W as WalletQuery, f as WalletTransactionQuery } from '../identities-32031e5d.mjs';
3
3
  import '../errors/index.mjs';