@cuenca-mx/cuenca-js 0.0.14-dev18 → 0.0.14-dev19

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.
@@ -298,10 +298,10 @@ class Phase {
298
298
  }
299
299
  }
300
300
 
301
- class PLDFinterType {
302
- static Amount = new PLDFinterType('amount');
301
+ class PLDFilterType {
302
+ static Amount = new PLDFilterType('amount');
303
303
 
304
- static Volume = new PLDFinterType('volume');
304
+ static Volume = new PLDFilterType('volume');
305
305
 
306
306
  constructor(value) {
307
307
  this.value = value;
@@ -535,7 +535,7 @@ exports.MLIndicatorLevel = MLIndicatorLevel;
535
535
  exports.MLIndicatorPeriod = MLIndicatorPeriod;
536
536
  exports.MLIndicatorType = MLIndicatorType;
537
537
  exports.Network = Network;
538
- exports.PLDFinterType = PLDFinterType;
538
+ exports.PLDFilterType = PLDFilterType;
539
539
  exports.Phase = Phase;
540
540
  exports.SavingCategory = SavingCategory;
541
541
  exports.ServiceProviderCategory = ServiceProviderCategory;
@@ -296,10 +296,10 @@ class Phase {
296
296
  }
297
297
  }
298
298
 
299
- class PLDFinterType {
300
- static Amount = new PLDFinterType('amount');
299
+ class PLDFilterType {
300
+ static Amount = new PLDFilterType('amount');
301
301
 
302
- static Volume = new PLDFinterType('volume');
302
+ static Volume = new PLDFilterType('volume');
303
303
 
304
304
  constructor(value) {
305
305
  this.value = value;
@@ -513,4 +513,4 @@ const dateToUTC = (date) => {
513
513
  const enumValueFromString = (enumValue, value) =>
514
514
  Object.values(enumValue).find((enumV) => enumV.value === value);
515
515
 
516
- export { AlertStatus as A, BridgeAccountStatus as B, Currency as C, DepositNetwork as D, EntryType as E, FileFormat as F, KYCFileType as K, MLIndicatorLevel as M, Network as N, Phase as P, SourceAlertType as S, TransactionStatus as T, UserStatus as U, VerificationStatus as V, WalletTransactionType as W, MLIndicatorPeriod as a, MLIndicatorType as b, PLDFinterType as c, dateToUTC as d, enumValueFromString as e, BridgeBankAccountStatus as f, BridgeTransactionType as g, CardFundingType as h, CardIssuer as i, CardStatus as j, CardType as k, CardErrorType as l, CardTransactionType as m, CommissionType as n, SavingCategory as o, ServiceProviderCategory as p, SessionType as q, TransferNetwork as r, VerificationType as s, TrackDataMethod as t, UserType as u };
516
+ export { AlertStatus as A, BridgeAccountStatus as B, Currency as C, DepositNetwork as D, EntryType as E, FileFormat as F, KYCFileType as K, MLIndicatorLevel as M, Network as N, Phase as P, SourceAlertType as S, TransactionStatus as T, UserStatus as U, VerificationStatus as V, WalletTransactionType as W, MLIndicatorPeriod as a, MLIndicatorType as b, PLDFilterType as c, dateToUTC as d, enumValueFromString as e, BridgeBankAccountStatus as f, BridgeTransactionType as g, CardFundingType as h, CardIssuer as i, CardStatus as j, CardType as k, CardErrorType as l, CardTransactionType as m, CommissionType as n, SavingCategory as o, ServiceProviderCategory as p, SessionType as q, TransferNetwork as r, VerificationType as s, TrackDataMethod as t, UserType as u };
package/build/index.cjs CHANGED
@@ -6,9 +6,9 @@ var axios = require('axios');
6
6
  var Buffer = require('buffer');
7
7
  var errors_index = require('./errors/index.cjs');
8
8
  var jwt_index = require('./jwt/index.cjs');
9
- var data = require('./data-e4c28528.cjs');
10
- var vulnerableActivity = require('./vulnerableActivity-88dfbcae.cjs');
11
- var walletTransactionRequest = require('./walletTransactionRequest-fb66d805.cjs');
9
+ var data = require('./data-d64999cb.cjs');
10
+ var vulnerableActivity = require('./vulnerableActivity-c777ffc0.cjs');
11
+ var walletTransactionRequest = require('./walletTransactionRequest-fcd89391.cjs');
12
12
 
13
13
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14
14
 
@@ -26,7 +26,7 @@ const isNode =
26
26
 
27
27
  const runtimeEnv = { isBrowser, isNode };
28
28
 
29
- const name="@cuenca-mx/cuenca-js";const version="0.0.14-dev18";const description="Cuenca client for JS";const main="./build/index.cjs";const module$1="./build/index.mjs";const browser="./build/umd/cuenca.umd.js";const files=["build/**/*"];const exports$1={".":{"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",dev:"rm -rf build/ && yarn rollup --config && yarn node ../example.cjs",example:"yarn node ../example.cjs"};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$1,browser:browser,files:files,exports:exports$1,packageManager:packageManager,type:type,repository:repository,keywords:keywords,license:license,bugs:bugs,homepage:homepage,scripts:scripts,devDependencies:devDependencies,dependencies:dependencies};
29
+ const name="@cuenca-mx/cuenca-js";const version="0.0.14-dev19";const description="Cuenca client for JS";const main="./build/index.cjs";const module$1="./build/index.mjs";const browser="./build/umd/cuenca.umd.js";const files=["build/**/*"];const exports$1={".":{"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",dev:"rm -rf build/ && yarn rollup --config && yarn node ../example.cjs",example:"yarn node ../example.cjs"};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$1,browser:browser,files:files,exports:exports$1,packageManager:packageManager,type:type,repository:repository,keywords:keywords,license:license,bugs:bugs,homepage:homepage,scripts:scripts,devDependencies:devDependencies,dependencies:dependencies};
30
30
 
31
31
  class Client {
32
32
  constructor({
@@ -293,10 +293,10 @@ class Alert {
293
293
  this.sourceType = data.enumValueFromString(data.SourceAlertType, sourceType);
294
294
  this.transactionDate = data.dateToUTC(transactionDate);
295
295
  this.type = data.enumValueFromString(data.MLIndicatorType, type);
296
- this.typeOfFilter = data.enumValueFromString(data.PLDFinterType, typeOfFilter);
296
+ this.typeOfFilter = data.enumValueFromString(data.PLDFilterType, typeOfFilter);
297
297
  this.updatedAt = data.dateToUTC(updatedAt);
298
298
  this.userId = userId;
299
- this.setChangeLog = changeLog;
299
+ this.changeLog = changeLog;
300
300
  }
301
301
 
302
302
  static fromObject = ({
@@ -343,9 +343,9 @@ class Alert {
343
343
  return this._changeLog;
344
344
  }
345
345
 
346
- set setChangeLog(value) {
346
+ set changeLog(value) {
347
347
  if (!value || Object.keys(value).length === 0) return;
348
- this._changeLog = value.map((log) => vulnerableActivity.AlertLog.fromObject(log));
348
+ this._changeLog = value.map((entry) => vulnerableActivity.AlertLog.fromObject(entry));
349
349
  }
350
350
  }
351
351
 
@@ -505,7 +505,7 @@ class BridgeAccount {
505
505
  this.updatedAt = data.dateToUTC(updatedAt);
506
506
  this.emailAddress = emailAddress;
507
507
  this.clientClabe = clientClabe;
508
- this.setGovtId = govtId;
508
+ this.govtId = govtId;
509
509
  this.names = names;
510
510
  this.firstSurname = firstSurname;
511
511
  this.secondSurname = secondSurname;
@@ -516,10 +516,10 @@ class BridgeAccount {
516
516
  this.userId = userId;
517
517
  this.gender = gender;
518
518
  this.phoneNumber = phoneNumber;
519
- this.setProofOfAddress = proofOfAddress;
519
+ this.proofOfAddress = proofOfAddress;
520
520
  this.status = data.enumValueFromString(data.BridgeAccountStatus, status);
521
- this.setTerms = termsOfService;
522
- this.setAddress = address;
521
+ this.termsOfService = termsOfService;
522
+ this.address = address;
523
523
  }
524
524
 
525
525
  static fromObject = ({ status, address, ...obj }) =>
@@ -550,7 +550,7 @@ class BridgeAccount {
550
550
  return this._address;
551
551
  }
552
552
 
553
- set setAddress(value) {
553
+ set address(value) {
554
554
  if (!value || Object.keys(value).length === 0) return;
555
555
  this._address = vulnerableActivity.Address.fromObject(value);
556
556
  }
@@ -559,7 +559,7 @@ class BridgeAccount {
559
559
  return this._proofOfAddress;
560
560
  }
561
561
 
562
- set setProofOfAddress(value) {
562
+ set proofOfAddress(value) {
563
563
  if (!value || Object.keys(value).length === 0) return;
564
564
  this._proofOfAddress = vulnerableActivity.KYCFile.fromObject(value);
565
565
  }
@@ -568,7 +568,7 @@ class BridgeAccount {
568
568
  return this._govtId;
569
569
  }
570
570
 
571
- set setGovtId(value) {
571
+ set govtId(value) {
572
572
  if (!value || Object.keys(value).length === 0) return;
573
573
  this._govtId = vulnerableActivity.KYCFile.fromObject(value);
574
574
  }
@@ -577,7 +577,7 @@ class BridgeAccount {
577
577
  return this._termsOfService;
578
578
  }
579
579
 
580
- set setTerms(value) {
580
+ set termsOfService(value) {
581
581
  if (!value || Object.keys(value).length === 0) return;
582
582
  this._termsOfService = vulnerableActivity.TOSAgreements.fromObject(value);
583
583
  }
@@ -1061,15 +1061,15 @@ class TransactionalProfile {
1061
1061
  this.recipientsNum = recipientsNum;
1062
1062
  this.payersNum = payersNum;
1063
1063
 
1064
- this.setDeposits = deposits;
1065
- this.setWithdrawal = withdrawal;
1064
+ this.deposits = deposits;
1065
+ this.withdrawal = withdrawal;
1066
1066
  }
1067
1067
 
1068
1068
  get deposits() {
1069
1069
  return this._deposits;
1070
1070
  }
1071
1071
 
1072
- set setDeposits(value) {
1072
+ set deposits(value) {
1073
1073
  if (!value) return;
1074
1074
  this._deposits = vulnerableActivity.TransactionalProfileServices.fromObject(value);
1075
1075
  }
@@ -1078,7 +1078,7 @@ class TransactionalProfile {
1078
1078
  return this._withdrawal;
1079
1079
  }
1080
1080
 
1081
- set setWithdrawal(value) {
1081
+ set withdrawal(value) {
1082
1082
  if (!value) return;
1083
1083
  this._withdrawal = vulnerableActivity.TransactionalProfileServices.fromObject(value);
1084
1084
  }
@@ -1112,7 +1112,7 @@ class BaseUser {
1112
1112
  updatedAt,
1113
1113
  userType,
1114
1114
  }) {
1115
- this.setAddress = address;
1115
+ this.address = address;
1116
1116
  this.clabe = clabe;
1117
1117
  this.createdAt = data.dateToUTC(createdAt);
1118
1118
  this.emailAddress = emailAddress;
@@ -1133,7 +1133,7 @@ class BaseUser {
1133
1133
  return this._address;
1134
1134
  }
1135
1135
 
1136
- set setAddress(value) {
1136
+ set address(value) {
1137
1137
  if (!value) return;
1138
1138
  this._address = vulnerableActivity.Address.fromObject(value);
1139
1139
  }
@@ -1171,6 +1171,7 @@ class Partner extends BaseUser {
1171
1171
  address,
1172
1172
  audit,
1173
1173
  businessDetails,
1174
+ businessModel,
1174
1175
  businessName,
1175
1176
  clabe,
1176
1177
  createdAt,
@@ -1217,20 +1218,21 @@ class Partner extends BaseUser {
1217
1218
  updatedAt,
1218
1219
  userType,
1219
1220
  });
1220
- this.setAudit = audit;
1221
+ this.audit = audit;
1222
+ this.businessModel = businessModel;
1221
1223
  this.businessName = businessName;
1222
- this.setBusinessDetails = businessDetails;
1224
+ this.businessDetails = businessDetails;
1223
1225
  this.documentationUrl = documentationUrl;
1224
1226
  this.incorporationDate = data.dateToUTC(incorporationDate);
1225
1227
  this.externalAccount = externalAccount;
1226
1228
  this.folio = folio;
1227
1229
  this.legalName = legalName;
1228
- this.setLicense = license;
1229
- this.setShareholders = shareholders;
1230
- this.setLegalRepresentatives = legalRepresentatives;
1231
- this.setTransactionalProfile = transactionalProfile;
1230
+ this.license = license;
1231
+ this.shareholders = shareholders;
1232
+ this.legalRepresentatives = legalRepresentatives;
1233
+ this.transactionalProfile = transactionalProfile;
1232
1234
  this.userId = userId;
1233
- this.setVulnerableActivity = vulnerableActivity;
1235
+ this.vulnerableActivity = vulnerableActivity;
1234
1236
  this.webSite = webSite;
1235
1237
  }
1236
1238
 
@@ -1238,7 +1240,7 @@ class Partner extends BaseUser {
1238
1240
  return this._shareholders;
1239
1241
  }
1240
1242
 
1241
- set setShareholders(value) {
1243
+ set shareholders(value) {
1242
1244
  if (!value) return;
1243
1245
  this._shareholders = value.map((sh) => vulnerableActivity.ShareholderMoral.fromObject(sh));
1244
1246
  }
@@ -1247,18 +1249,27 @@ class Partner extends BaseUser {
1247
1249
  return this._legalRepresentatives;
1248
1250
  }
1249
1251
 
1250
- set setLegalRepresentatives(value) {
1252
+ set legalRepresentatives(value) {
1251
1253
  if (!value) return;
1252
1254
  this._legalRepresentatives = value.map((lr) =>
1253
1255
  vulnerableActivity.LegalRepresentatives.fromObject(lr),
1254
1256
  );
1255
1257
  }
1256
1258
 
1259
+ get externalAccount() {
1260
+ return this._externalAccount;
1261
+ }
1262
+
1263
+ set externalAccount(value) {
1264
+ if (!value) return;
1265
+ this._externalAccount = vulnerableActivity.ExternalAccount.fromObject(value);
1266
+ }
1267
+
1257
1268
  get vulnerableActivity() {
1258
1269
  return this._vulnerableActivity;
1259
1270
  }
1260
1271
 
1261
- set setVulnerableActivity(value) {
1272
+ set vulnerableActivity(value) {
1262
1273
  if (!value) return;
1263
1274
  this._vulnerableActivity = vulnerableActivity.VulnerableActivity.fromObject(value);
1264
1275
  }
@@ -1267,7 +1278,7 @@ class Partner extends BaseUser {
1267
1278
  return this._audit;
1268
1279
  }
1269
1280
 
1270
- set setAudit(value) {
1281
+ set audit(value) {
1271
1282
  if (!value) return;
1272
1283
  this._audit = vulnerableActivity.Audit.fromObject(value);
1273
1284
  }
@@ -1276,7 +1287,7 @@ class Partner extends BaseUser {
1276
1287
  return this._license;
1277
1288
  }
1278
1289
 
1279
- set setLicense(value) {
1290
+ set license(value) {
1280
1291
  if (!value) return;
1281
1292
  this._license = vulnerableActivity.License.fromObject(value);
1282
1293
  }
@@ -1285,7 +1296,7 @@ class Partner extends BaseUser {
1285
1296
  return this._transactionalProfile;
1286
1297
  }
1287
1298
 
1288
- set setTransactionalProfile(value) {
1299
+ set transactionalProfile(value) {
1289
1300
  if (!value) return;
1290
1301
  this._transactionalProfile = TransactionalProfile.fromObject(value);
1291
1302
  }
@@ -1294,7 +1305,7 @@ class Partner extends BaseUser {
1294
1305
  return this._businessDetails;
1295
1306
  }
1296
1307
 
1297
- set setBusinessDetails(value) {
1308
+ set businessDetails(value) {
1298
1309
  if (!value) return;
1299
1310
  this._businessDetails = vulnerableActivity.BusinessDetails.fromObject(value);
1300
1311
  }
@@ -1556,7 +1567,7 @@ class User {
1556
1567
  userType,
1557
1568
  verificationId,
1558
1569
  }) {
1559
- this.setAddress = address;
1570
+ this.address = address;
1560
1571
  this.blacklistValidationStatus = data.enumValueFromString(
1561
1572
  data.VerificationStatus,
1562
1573
  blacklistValidationStatus,
@@ -1565,7 +1576,7 @@ class User {
1565
1576
  this.countryOfBirth = countryOfBirth;
1566
1577
  this.createdAt = data.dateToUTC(createdAt);
1567
1578
  this.curp = curp;
1568
- this.setCurpDoc = curpDocument;
1579
+ this.curpDocument = curpDocument;
1569
1580
  this.dateOfBirth = dateOfBirth;
1570
1581
  this.emailAddress = emailAddress;
1571
1582
  this.firstSurname = firstSurname;
@@ -1575,15 +1586,15 @@ class User {
1575
1586
  this.names = names;
1576
1587
  this.nationality = nationality;
1577
1588
  this.phoneNumber = phoneNumber;
1578
- this.setGovtId = govtId;
1579
- this.setProofOfAddress = proofOfAddress;
1580
- this.setProofOfLife = proofOfLife;
1589
+ this.govtId = govtId;
1590
+ this.proofOfAddress = proofOfAddress;
1591
+ this.proofOfLife = proofOfLife;
1581
1592
  this.requiredLevel = requiredLevel;
1582
1593
  this.rfc = rfc;
1583
1594
  this.secondSurname = secondSurname;
1584
1595
  this.stateOfBirth = stateOfBirth;
1585
1596
  this.status = data.enumValueFromString(data.UserStatus, status);
1586
- this.setTerms = termsOfService;
1597
+ this.termsOfService = termsOfService;
1587
1598
  this.updatedAt = data.dateToUTC(updatedAt);
1588
1599
  this.userType = userType;
1589
1600
  this.verificationId = verificationId;
@@ -1593,7 +1604,7 @@ class User {
1593
1604
  return this._address;
1594
1605
  }
1595
1606
 
1596
- set setAddress(value) {
1607
+ set address(value) {
1597
1608
  if (!value) return;
1598
1609
  this._address = vulnerableActivity.Address.fromObject(value);
1599
1610
  }
@@ -1602,7 +1613,7 @@ class User {
1602
1613
  return this._proofOfAddress;
1603
1614
  }
1604
1615
 
1605
- set setProofOfAddress(value) {
1616
+ set proofOfAddress(value) {
1606
1617
  if (!value) return;
1607
1618
  this._proofOfAddress = vulnerableActivity.KYCFile.fromObject(value);
1608
1619
  }
@@ -1611,7 +1622,7 @@ class User {
1611
1622
  return this._proofOfLife;
1612
1623
  }
1613
1624
 
1614
- set setProofOfLife(value) {
1625
+ set proofOfLife(value) {
1615
1626
  if (!value) return;
1616
1627
  this._proofOfLife = vulnerableActivity.KYCFile.fromObject(value);
1617
1628
  }
@@ -1620,7 +1631,7 @@ class User {
1620
1631
  return this._govtId;
1621
1632
  }
1622
1633
 
1623
- set setGovtId(value) {
1634
+ set govtId(value) {
1624
1635
  if (!value) return;
1625
1636
  this._govtId = vulnerableActivity.KYCFile.fromObject(value);
1626
1637
  }
@@ -1629,7 +1640,7 @@ class User {
1629
1640
  return this._termsOfService;
1630
1641
  }
1631
1642
 
1632
- set setTerms(value) {
1643
+ set termsOfService(value) {
1633
1644
  if (!value) return;
1634
1645
  this._termsOfService = vulnerableActivity.TOSAgreements.fromObject(value);
1635
1646
  }
@@ -1638,7 +1649,7 @@ class User {
1638
1649
  return this._curpDocument;
1639
1650
  }
1640
1651
 
1641
- set setCurpDoc(value) {
1652
+ set curpDocument(value) {
1642
1653
  if (!value) return;
1643
1654
  this._curpDocument = vulnerableActivity.KYCFile.fromObject(value);
1644
1655
  }
@@ -2043,15 +2054,15 @@ class AlertResource extends mix(Resource).with(
2043
2054
  super('alerts', vulnerableActivity.AlertQuery, client);
2044
2055
  }
2045
2056
 
2046
- async create(...req) {
2047
- const request = new walletTransactionRequest.AlertUpdateRequest(...req);
2048
- const alert = await this._create(request.toObject());
2057
+ async create(req) {
2058
+ const request = new walletTransactionRequest.AlertUpdateRequest(req);
2059
+ const alert = await this._create(request.toCleanObject());
2049
2060
  return alert;
2050
2061
  }
2051
2062
 
2052
- async update(alertId, { ...req }) {
2063
+ async update(alertId, req) {
2053
2064
  const request = new walletTransactionRequest.AlertUpdateRequest(req);
2054
- const alert = await this._update(alertId, request.toObject());
2065
+ const alert = await this._update(alertId, request.toCleanObject());
2055
2066
  return alert;
2056
2067
  }
2057
2068
  }
@@ -2385,15 +2396,15 @@ class PartnerResource extends mix(Resource).with(
2385
2396
  super('partners', vulnerableActivity.PartnerQuery, client);
2386
2397
  }
2387
2398
 
2388
- async create(...req) {
2389
- const request = new walletTransactionRequest.PartnerUserRequest(...req);
2399
+ async create(req) {
2400
+ const request = new walletTransactionRequest.PartnerUserRequest(req);
2390
2401
  const partner = await this._create(request.toCleanObject());
2391
2402
  return partner;
2392
2403
  }
2393
2404
 
2394
- async update(partnerId, { ...req }) {
2405
+ async update(partnerId, req) {
2395
2406
  const request = new walletTransactionRequest.PartnerUserRequest(req);
2396
- const partner = await this._update(partnerId, request.toObject());
2407
+ const partner = await this._update(partnerId, request.toCleanObject());
2397
2408
  return partner;
2398
2409
  }
2399
2410
  }