@tesouro/embedded-components-react 0.11.191 → 0.11.192

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.
@@ -1184,24 +1184,279 @@ type EmbeddedBankingBankRequirementsOutput = ({
1184
1184
  } & EmbeddedBankingBankRequirementsTestMtBank20260401Output) | ({
1185
1185
  requirementsVersion: 'test-mt-bank@2099-01-01';
1186
1186
  } & EmbeddedBankingBankRequirementsTestMtBank20990101Output);
1187
+ type EmbeddedBankingBankRequirementsTestMtBank20260101AnnualRevenue = 'UP_TO_100K' | 'UP_TO_250K' | 'UP_TO_500K' | 'UP_TO_750K' | 'UP_TO_1M' | 'UP_TO_2_5M' | 'UP_TO_5M' | 'OVER_5M';
1187
1188
  /**
1188
1189
  * Application requirements of Test M&T Bank, version 2026-01-01.
1189
1190
  */
1190
1191
  type EmbeddedBankingBankRequirementsTestMtBank20260101Output = {
1192
+ annualRevenue?: null | EmbeddedBankingBankRequirementsTestMtBank20260101AnnualRevenue;
1193
+ countryOfFormation?: null | CountryCode;
1194
+ /**
1195
+ * Is the business publicly traded?
1196
+ */
1197
+ isPublicCompany?: null | boolean;
1198
+ /**
1199
+ * Number of employees.
1200
+ */
1201
+ numberOfEmployees?: null | number | string;
1191
1202
  requirementsVersion: 'test-mt-bank@2026-01-01';
1203
+ /**
1204
+ * State of formation. The two-letter postal abbreviation of the state the business was formed in, such as DE.
1205
+ */
1206
+ stateOfFormation?: null | string;
1192
1207
  };
1208
+ type EmbeddedBankingBankRequirementsTestMtBank20260401AnnualRevenue = 'UP_TO_100K' | 'UP_TO_250K' | 'UP_TO_500K' | 'UP_TO_750K' | 'UP_TO_1M' | 'UP_TO_2_5M' | 'UP_TO_5M' | 'OVER_5M';
1193
1209
  /**
1194
- * Application requirements of Test M&T Bank, version 2026-04-01.
1210
+ * Application requirements of Test M&T Bank, version 2026-04-01. Changes from test-mt-bank@2026-01-01: adds `applicant.isControlPerson`, `applicant.title`, `applicant.occupation`, `applicant.citizenshipCountry`, `applicant.passportNumber`, `applicant.passportCountry`, `applicant.passportExpiryDate`, `applicant.votingRightsPercentage`, `owner.isControlPerson`, `owner.title`, `owner.occupation`, `owner.citizenshipCountry`, `owner.passportNumber`, `owner.passportCountry`, `owner.passportExpiryDate`, `owner.votingRightsPercentage`, `business.products`, `business.sameDayAchEnabled`, `business.achTransactionLimit`, `business.achDailyLimit`, `business.wireEnabled`, `business.wireTransactionLimit` and `business.wireDailyLimit`.
1195
1211
  */
1196
1212
  type EmbeddedBankingBankRequirementsTestMtBank20260401Output = {
1213
+ /**
1214
+ * Most you expect to send by ACH in one day, in US dollars.
1215
+ */
1216
+ achDailyLimit?: null | number | string;
1217
+ /**
1218
+ * Largest single ACH payment you expect to send, in US dollars.
1219
+ */
1220
+ achTransactionLimit?: null | number | string;
1221
+ annualRevenue?: null | EmbeddedBankingBankRequirementsTestMtBank20260401AnnualRevenue;
1222
+ citizenshipCountry?: null | CountryCode;
1223
+ countryOfFormation?: null | CountryCode;
1224
+ /**
1225
+ * Are you a control person? Someone with significant responsibility for managing the business, such as its chief executive or managing member.
1226
+ */
1227
+ isControlPerson?: null | boolean;
1228
+ /**
1229
+ * Is the business publicly traded?
1230
+ */
1231
+ isPublicCompany?: null | boolean;
1232
+ /**
1233
+ * Number of employees.
1234
+ */
1235
+ numberOfEmployees?: null | number | string;
1236
+ /**
1237
+ * Your occupation.
1238
+ */
1239
+ occupation?: null | string;
1240
+ /**
1241
+ * Answers to the questions asked of each owner, in one entry per owner.
1242
+ */
1243
+ owners?: null | Array<EmbeddedBankingBankRequirementsTestMtBank20260401OwnerOutput>;
1244
+ passportCountry?: null | CountryCode;
1245
+ /**
1246
+ * When your passport expires. Only if you are not a US citizen.
1247
+ */
1248
+ passportExpiryDate?: null | string;
1249
+ /**
1250
+ * Passport number. Only if you are not a US citizen. Returned as its last four characters, or null when it has fewer than eight.
1251
+ */
1252
+ passportNumberLast4?: null | string;
1253
+ /**
1254
+ * Accounts to open.
1255
+ */
1256
+ products?: null | Array<EmbeddedBankingBankRequirementsTestMtBank20260401ProductsItemOutput>;
1197
1257
  requirementsVersion: 'test-mt-bank@2026-04-01';
1258
+ /**
1259
+ * Do you want to send same-day ACH payments?
1260
+ */
1261
+ sameDayAchEnabled?: null | boolean;
1262
+ /**
1263
+ * State of formation. The two-letter postal abbreviation of the state the business was formed in, such as DE.
1264
+ */
1265
+ stateOfFormation?: null | string;
1266
+ /**
1267
+ * Your title at the business.
1268
+ */
1269
+ title?: null | string;
1270
+ /**
1271
+ * How much of the business's voting rights do you hold?
1272
+ */
1273
+ votingRightsPercentage?: null | number | string;
1274
+ /**
1275
+ * Most you expect to send by wire in one day, in US dollars.
1276
+ */
1277
+ wireDailyLimit?: null | number | string;
1278
+ /**
1279
+ * Do you want to send wire transfers?
1280
+ */
1281
+ wireEnabled?: null | boolean;
1282
+ /**
1283
+ * Largest single wire you expect to send, in US dollars.
1284
+ */
1285
+ wireTransactionLimit?: null | number | string;
1286
+ };
1287
+ /**
1288
+ * One owner's answers to the questions Test M&amp;T Bank asks of each owner.
1289
+ */
1290
+ type EmbeddedBankingBankRequirementsTestMtBank20260401OwnerOutput = {
1291
+ citizenshipCountry?: null | CountryCode;
1292
+ /**
1293
+ * Is this owner a control person? Someone with significant responsibility for managing the business, such as its chief executive or managing member.
1294
+ */
1295
+ isControlPerson?: null | boolean;
1296
+ /**
1297
+ * Their occupation.
1298
+ */
1299
+ occupation?: null | string;
1300
+ /**
1301
+ * The id of the owner these answers are for, as the application's owners carry it.
1302
+ */
1303
+ ownerId: string;
1304
+ passportCountry?: null | CountryCode;
1305
+ /**
1306
+ * When their passport expires. Only if they are not a US citizen.
1307
+ */
1308
+ passportExpiryDate?: null | string;
1309
+ /**
1310
+ * Their passport number. Only if they are not a US citizen. Returned as its last four characters, or null when it has fewer than eight.
1311
+ */
1312
+ passportNumberLast4?: null | string;
1313
+ /**
1314
+ * Their title at the business.
1315
+ */
1316
+ title?: null | string;
1317
+ /**
1318
+ * How much of the business's voting rights do they hold?
1319
+ */
1320
+ votingRightsPercentage?: null | number | string;
1321
+ };
1322
+ /**
1323
+ * One entry in the answer to: Accounts to open.
1324
+ */
1325
+ type EmbeddedBankingBankRequirementsTestMtBank20260401ProductsItemOutput = {
1326
+ product?: null | EmbeddedBankingBankRequirementsTestMtBank20260401ProductsItemProduct;
1327
+ statementDelivery?: null | EmbeddedBankingBankRequirementsTestMtBank20260401ProductsItemStatementDelivery;
1198
1328
  };
1329
+ type EmbeddedBankingBankRequirementsTestMtBank20260401ProductsItemProduct = 'CHECKING' | 'SAVINGS';
1330
+ type EmbeddedBankingBankRequirementsTestMtBank20260401ProductsItemStatementDelivery = 'EMAIL' | 'MAIL' | 'EMAIL_AND_MAIL';
1331
+ type EmbeddedBankingBankRequirementsTestMtBank20990101AnnualRevenue = 'UP_TO_100K' | 'UP_TO_250K' | 'UP_TO_500K' | 'UP_TO_750K' | 'UP_TO_1M' | 'UP_TO_2_5M' | 'UP_TO_5M' | 'OVER_5M';
1199
1332
  /**
1200
- * Application requirements of Test M&amp;T Bank, version 2099-01-01.
1333
+ * Application requirements of Test M&amp;T Bank, version 2099-01-01. Changes from test-mt-bank@2026-04-01: adds `business.stockTickerSymbol`, `business.countryOfBusinessOperation` and `business.countryOfHeadquarterOperation`.
1201
1334
  */
1202
1335
  type EmbeddedBankingBankRequirementsTestMtBank20990101Output = {
1336
+ /**
1337
+ * Most you expect to send by ACH in one day, in US dollars.
1338
+ */
1339
+ achDailyLimit?: null | number | string;
1340
+ /**
1341
+ * Largest single ACH payment you expect to send, in US dollars.
1342
+ */
1343
+ achTransactionLimit?: null | number | string;
1344
+ annualRevenue?: null | EmbeddedBankingBankRequirementsTestMtBank20990101AnnualRevenue;
1345
+ citizenshipCountry?: null | CountryCode;
1346
+ countryOfBusinessOperation?: null | CountryCode;
1347
+ countryOfFormation?: null | CountryCode;
1348
+ countryOfHeadquarterOperation?: null | CountryCode;
1349
+ /**
1350
+ * Are you a control person? Someone with significant responsibility for managing the business, such as its chief executive or managing member.
1351
+ */
1352
+ isControlPerson?: null | boolean;
1353
+ /**
1354
+ * Is the business publicly traded?
1355
+ */
1356
+ isPublicCompany?: null | boolean;
1357
+ /**
1358
+ * Number of employees.
1359
+ */
1360
+ numberOfEmployees?: null | number | string;
1361
+ /**
1362
+ * Your occupation.
1363
+ */
1364
+ occupation?: null | string;
1365
+ /**
1366
+ * Answers to the questions asked of each owner, in one entry per owner.
1367
+ */
1368
+ owners?: null | Array<EmbeddedBankingBankRequirementsTestMtBank20990101OwnerOutput>;
1369
+ passportCountry?: null | CountryCode;
1370
+ /**
1371
+ * When your passport expires. Only if you are not a US citizen.
1372
+ */
1373
+ passportExpiryDate?: null | string;
1374
+ /**
1375
+ * Passport number. Only if you are not a US citizen. Returned as its last four characters, or null when it has fewer than eight.
1376
+ */
1377
+ passportNumberLast4?: null | string;
1378
+ /**
1379
+ * Accounts to open.
1380
+ */
1381
+ products?: null | Array<EmbeddedBankingBankRequirementsTestMtBank20990101ProductsItemOutput>;
1203
1382
  requirementsVersion: 'test-mt-bank@2099-01-01';
1383
+ /**
1384
+ * Do you want to send same-day ACH payments?
1385
+ */
1386
+ sameDayAchEnabled?: null | boolean;
1387
+ /**
1388
+ * State of formation. The two-letter postal abbreviation of the state the business was formed in, such as DE.
1389
+ */
1390
+ stateOfFormation?: null | string;
1391
+ /**
1392
+ * Stock ticker symbol.
1393
+ */
1394
+ stockTickerSymbol?: null | string;
1395
+ /**
1396
+ * Your title at the business.
1397
+ */
1398
+ title?: null | string;
1399
+ /**
1400
+ * How much of the business's voting rights do you hold?
1401
+ */
1402
+ votingRightsPercentage?: null | number | string;
1403
+ /**
1404
+ * Most you expect to send by wire in one day, in US dollars.
1405
+ */
1406
+ wireDailyLimit?: null | number | string;
1407
+ /**
1408
+ * Do you want to send wire transfers?
1409
+ */
1410
+ wireEnabled?: null | boolean;
1411
+ /**
1412
+ * Largest single wire you expect to send, in US dollars.
1413
+ */
1414
+ wireTransactionLimit?: null | number | string;
1415
+ };
1416
+ /**
1417
+ * One owner's answers to the questions Test M&amp;T Bank asks of each owner.
1418
+ */
1419
+ type EmbeddedBankingBankRequirementsTestMtBank20990101OwnerOutput = {
1420
+ citizenshipCountry?: null | CountryCode;
1421
+ /**
1422
+ * Is this owner a control person? Someone with significant responsibility for managing the business, such as its chief executive or managing member.
1423
+ */
1424
+ isControlPerson?: null | boolean;
1425
+ /**
1426
+ * Their occupation.
1427
+ */
1428
+ occupation?: null | string;
1429
+ /**
1430
+ * The id of the owner these answers are for, as the application's owners carry it.
1431
+ */
1432
+ ownerId: string;
1433
+ passportCountry?: null | CountryCode;
1434
+ /**
1435
+ * When their passport expires. Only if they are not a US citizen.
1436
+ */
1437
+ passportExpiryDate?: null | string;
1438
+ /**
1439
+ * Their passport number. Only if they are not a US citizen. Returned as its last four characters, or null when it has fewer than eight.
1440
+ */
1441
+ passportNumberLast4?: null | string;
1442
+ /**
1443
+ * Their title at the business.
1444
+ */
1445
+ title?: null | string;
1446
+ /**
1447
+ * How much of the business's voting rights do they hold?
1448
+ */
1449
+ votingRightsPercentage?: null | number | string;
1450
+ };
1451
+ /**
1452
+ * One entry in the answer to: Accounts to open.
1453
+ */
1454
+ type EmbeddedBankingBankRequirementsTestMtBank20990101ProductsItemOutput = {
1455
+ product?: null | EmbeddedBankingBankRequirementsTestMtBank20990101ProductsItemProduct;
1456
+ statementDelivery?: null | EmbeddedBankingBankRequirementsTestMtBank20990101ProductsItemStatementDelivery;
1204
1457
  };
1458
+ type EmbeddedBankingBankRequirementsTestMtBank20990101ProductsItemProduct = 'CHECKING' | 'SAVINGS';
1459
+ type EmbeddedBankingBankRequirementsTestMtBank20990101ProductsItemStatementDelivery = 'EMAIL' | 'MAIL' | 'EMAIL_AND_MAIL';
1205
1460
  /**
1206
1461
  * Business entity details of an organization.
1207
1462
  */
@@ -109,7 +109,11 @@ var n = (e) => (e.client ?? t).post({
109
109
  type: "http"
110
110
  }],
111
111
  url: "/embedded-banking/v1/bank-account-applications/{id}/submission",
112
- ...e
112
+ ...e,
113
+ headers: {
114
+ "Content-Type": "application/json",
115
+ ...e.headers
116
+ }
113
117
  }), f = (e) => (e?.client ?? t).get({
114
118
  security: [{
115
119
  key: "APPToken",
@@ -1,5 +1,5 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.11.191", n = "7caff5afe4c93191d1262c805fe83df063dcbe01", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.192", n = "54a6f78f3ffe5dc9fd7aebf6f2a1abcf03272f0b", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.11.191",
3
+ "version": "0.11.192",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [