ecotransac-shared-js 1.1.21 → 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +32 -22
- package/dist/index.mjs +32 -22
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1545,127 +1545,137 @@ var PRENUP_TYPES = [
|
|
|
1545
1545
|
// src/static/contact/fields.ts
|
|
1546
1546
|
var contactFormFields = [
|
|
1547
1547
|
{
|
|
1548
|
-
fieldType: "switch",
|
|
1549
1548
|
name: "isLegalEntity",
|
|
1549
|
+
fieldType: "switch",
|
|
1550
1550
|
label: "Le contact est une personne morale"
|
|
1551
1551
|
},
|
|
1552
1552
|
{
|
|
1553
|
-
fieldType: "text",
|
|
1554
1553
|
name: "companyName",
|
|
1554
|
+
fieldType: "text",
|
|
1555
1555
|
label: "D\xE9nomination sociale",
|
|
1556
1556
|
condition: only("isLegalEntity")
|
|
1557
1557
|
},
|
|
1558
1558
|
{
|
|
1559
|
-
fieldType: "text",
|
|
1560
1559
|
name: "companyLegalStatus",
|
|
1560
|
+
fieldType: "text",
|
|
1561
1561
|
label: "Forme juridique",
|
|
1562
1562
|
condition: only("isLegalEntity"),
|
|
1563
1563
|
props: { options: LEGAL_STATUS }
|
|
1564
1564
|
},
|
|
1565
1565
|
{
|
|
1566
|
-
fieldType: "text",
|
|
1567
1566
|
name: "companyRegistrationNumber",
|
|
1567
|
+
fieldType: "text",
|
|
1568
1568
|
label: "Num\xE9ro d'immatriculation (SIREN)",
|
|
1569
1569
|
condition: only("isLegalEntity")
|
|
1570
1570
|
},
|
|
1571
1571
|
{
|
|
1572
|
-
fieldType: "number",
|
|
1573
1572
|
name: "companyCapitalStock",
|
|
1573
|
+
fieldType: "number",
|
|
1574
1574
|
label: "Capital social",
|
|
1575
1575
|
condition: only("isLegalEntity"),
|
|
1576
1576
|
props: { suffix: "\u20AC" }
|
|
1577
1577
|
},
|
|
1578
1578
|
{
|
|
1579
|
-
fieldType: "date",
|
|
1580
1579
|
name: "authorizationRepresentationDate",
|
|
1580
|
+
fieldType: "date",
|
|
1581
1581
|
label: "Date d'habilitation \xE0 repr\xE9senter l'entit\xE9",
|
|
1582
1582
|
condition: only("isLegalEntity")
|
|
1583
1583
|
},
|
|
1584
1584
|
{
|
|
1585
|
-
fieldType: "radio",
|
|
1586
1585
|
name: "gender",
|
|
1586
|
+
fieldType: "radio",
|
|
1587
1587
|
label: "Civilit\xE9",
|
|
1588
1588
|
props: { options: GENDER }
|
|
1589
1589
|
},
|
|
1590
1590
|
{
|
|
1591
|
-
fieldType: "text",
|
|
1592
1591
|
name: "firstName",
|
|
1592
|
+
fieldType: "text",
|
|
1593
1593
|
label: "Pr\xE9nom"
|
|
1594
1594
|
},
|
|
1595
1595
|
{
|
|
1596
|
-
fieldType: "text",
|
|
1597
1596
|
name: "lastName",
|
|
1597
|
+
fieldType: "text",
|
|
1598
1598
|
label: "Nom de famille"
|
|
1599
1599
|
},
|
|
1600
1600
|
{
|
|
1601
|
-
fieldType: "text",
|
|
1602
1601
|
name: "profession",
|
|
1602
|
+
fieldType: "text",
|
|
1603
1603
|
label: "Fonction dans l'entit\xE9",
|
|
1604
1604
|
condition: only("isLegalEntity")
|
|
1605
1605
|
},
|
|
1606
1606
|
{
|
|
1607
|
-
fieldType: "country",
|
|
1608
1607
|
name: "nationality",
|
|
1608
|
+
fieldType: "country",
|
|
1609
1609
|
label: "Nationalit\xE9"
|
|
1610
1610
|
},
|
|
1611
1611
|
{
|
|
1612
|
-
fieldType: "date",
|
|
1613
1612
|
name: "dateOfBirth",
|
|
1613
|
+
fieldType: "date",
|
|
1614
1614
|
label: "Date de naissance"
|
|
1615
1615
|
},
|
|
1616
1616
|
{
|
|
1617
|
-
fieldType: "text",
|
|
1618
1617
|
name: "placeOfBirth",
|
|
1618
|
+
fieldType: "text",
|
|
1619
1619
|
label: "Ville de naissance"
|
|
1620
1620
|
},
|
|
1621
1621
|
{
|
|
1622
|
-
fieldType: "country",
|
|
1623
1622
|
name: "countryOfBirth",
|
|
1623
|
+
fieldType: "country",
|
|
1624
1624
|
label: "Pays de naissance"
|
|
1625
1625
|
},
|
|
1626
1626
|
{
|
|
1627
|
-
fieldType: "text",
|
|
1628
1627
|
name: "maritalStatus",
|
|
1628
|
+
fieldType: "text",
|
|
1629
1629
|
label: "Situation matrimoniale",
|
|
1630
1630
|
props: { options: MARITAL_STATUS }
|
|
1631
1631
|
},
|
|
1632
1632
|
{
|
|
1633
|
-
fieldType: "text",
|
|
1634
1633
|
name: "prenupType",
|
|
1634
|
+
fieldType: "text",
|
|
1635
1635
|
label: "Type de contrat de mariage",
|
|
1636
1636
|
condition: only("isMarriedWithPrenup"),
|
|
1637
1637
|
props: { options: PRENUP_TYPES }
|
|
1638
1638
|
},
|
|
1639
1639
|
{
|
|
1640
|
-
fieldType: "text",
|
|
1641
1640
|
name: "profession",
|
|
1641
|
+
fieldType: "text",
|
|
1642
1642
|
label: "Profession",
|
|
1643
1643
|
condition: not("isLegalEntity")
|
|
1644
1644
|
},
|
|
1645
1645
|
{
|
|
1646
|
-
fieldType: "phone",
|
|
1647
1646
|
name: "phone",
|
|
1647
|
+
fieldType: "phone",
|
|
1648
1648
|
label: "Num\xE9ro de t\xE9l\xE9phone"
|
|
1649
1649
|
},
|
|
1650
1650
|
{
|
|
1651
|
-
fieldType: "text",
|
|
1652
1651
|
name: "email",
|
|
1652
|
+
fieldType: "text",
|
|
1653
1653
|
label: "Adresse e-mail"
|
|
1654
1654
|
},
|
|
1655
1655
|
{
|
|
1656
|
-
fieldType: "address",
|
|
1657
1656
|
name: "address",
|
|
1657
|
+
fieldType: "address",
|
|
1658
1658
|
label: "Adresse postale"
|
|
1659
1659
|
},
|
|
1660
1660
|
{
|
|
1661
|
-
fieldType: "text",
|
|
1662
1661
|
name: "kycDocumentType",
|
|
1662
|
+
fieldType: "text",
|
|
1663
1663
|
label: "Type de document d'identit\xE9",
|
|
1664
1664
|
props: { options: IDENTIFICATION_DOCUMENTS }
|
|
1665
1665
|
},
|
|
1666
1666
|
{
|
|
1667
|
-
|
|
1667
|
+
name: "kycDocumentNumber",
|
|
1668
|
+
fieldType: "text",
|
|
1669
|
+
label: "Num\xE9ro du document"
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
name: "kycIssuedBy",
|
|
1673
|
+
fieldType: "text",
|
|
1674
|
+
label: "D\xE9livr\xE9 par"
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1668
1677
|
name: "kycExpiresAt",
|
|
1678
|
+
fieldType: "date",
|
|
1669
1679
|
label: "Date d'expiration"
|
|
1670
1680
|
}
|
|
1671
1681
|
];
|
package/dist/index.mjs
CHANGED
|
@@ -1464,127 +1464,137 @@ var PRENUP_TYPES = [
|
|
|
1464
1464
|
// src/static/contact/fields.ts
|
|
1465
1465
|
var contactFormFields = [
|
|
1466
1466
|
{
|
|
1467
|
-
fieldType: "switch",
|
|
1468
1467
|
name: "isLegalEntity",
|
|
1468
|
+
fieldType: "switch",
|
|
1469
1469
|
label: "Le contact est une personne morale"
|
|
1470
1470
|
},
|
|
1471
1471
|
{
|
|
1472
|
-
fieldType: "text",
|
|
1473
1472
|
name: "companyName",
|
|
1473
|
+
fieldType: "text",
|
|
1474
1474
|
label: "D\xE9nomination sociale",
|
|
1475
1475
|
condition: only("isLegalEntity")
|
|
1476
1476
|
},
|
|
1477
1477
|
{
|
|
1478
|
-
fieldType: "text",
|
|
1479
1478
|
name: "companyLegalStatus",
|
|
1479
|
+
fieldType: "text",
|
|
1480
1480
|
label: "Forme juridique",
|
|
1481
1481
|
condition: only("isLegalEntity"),
|
|
1482
1482
|
props: { options: LEGAL_STATUS }
|
|
1483
1483
|
},
|
|
1484
1484
|
{
|
|
1485
|
-
fieldType: "text",
|
|
1486
1485
|
name: "companyRegistrationNumber",
|
|
1486
|
+
fieldType: "text",
|
|
1487
1487
|
label: "Num\xE9ro d'immatriculation (SIREN)",
|
|
1488
1488
|
condition: only("isLegalEntity")
|
|
1489
1489
|
},
|
|
1490
1490
|
{
|
|
1491
|
-
fieldType: "number",
|
|
1492
1491
|
name: "companyCapitalStock",
|
|
1492
|
+
fieldType: "number",
|
|
1493
1493
|
label: "Capital social",
|
|
1494
1494
|
condition: only("isLegalEntity"),
|
|
1495
1495
|
props: { suffix: "\u20AC" }
|
|
1496
1496
|
},
|
|
1497
1497
|
{
|
|
1498
|
-
fieldType: "date",
|
|
1499
1498
|
name: "authorizationRepresentationDate",
|
|
1499
|
+
fieldType: "date",
|
|
1500
1500
|
label: "Date d'habilitation \xE0 repr\xE9senter l'entit\xE9",
|
|
1501
1501
|
condition: only("isLegalEntity")
|
|
1502
1502
|
},
|
|
1503
1503
|
{
|
|
1504
|
-
fieldType: "radio",
|
|
1505
1504
|
name: "gender",
|
|
1505
|
+
fieldType: "radio",
|
|
1506
1506
|
label: "Civilit\xE9",
|
|
1507
1507
|
props: { options: GENDER }
|
|
1508
1508
|
},
|
|
1509
1509
|
{
|
|
1510
|
-
fieldType: "text",
|
|
1511
1510
|
name: "firstName",
|
|
1511
|
+
fieldType: "text",
|
|
1512
1512
|
label: "Pr\xE9nom"
|
|
1513
1513
|
},
|
|
1514
1514
|
{
|
|
1515
|
-
fieldType: "text",
|
|
1516
1515
|
name: "lastName",
|
|
1516
|
+
fieldType: "text",
|
|
1517
1517
|
label: "Nom de famille"
|
|
1518
1518
|
},
|
|
1519
1519
|
{
|
|
1520
|
-
fieldType: "text",
|
|
1521
1520
|
name: "profession",
|
|
1521
|
+
fieldType: "text",
|
|
1522
1522
|
label: "Fonction dans l'entit\xE9",
|
|
1523
1523
|
condition: only("isLegalEntity")
|
|
1524
1524
|
},
|
|
1525
1525
|
{
|
|
1526
|
-
fieldType: "country",
|
|
1527
1526
|
name: "nationality",
|
|
1527
|
+
fieldType: "country",
|
|
1528
1528
|
label: "Nationalit\xE9"
|
|
1529
1529
|
},
|
|
1530
1530
|
{
|
|
1531
|
-
fieldType: "date",
|
|
1532
1531
|
name: "dateOfBirth",
|
|
1532
|
+
fieldType: "date",
|
|
1533
1533
|
label: "Date de naissance"
|
|
1534
1534
|
},
|
|
1535
1535
|
{
|
|
1536
|
-
fieldType: "text",
|
|
1537
1536
|
name: "placeOfBirth",
|
|
1537
|
+
fieldType: "text",
|
|
1538
1538
|
label: "Ville de naissance"
|
|
1539
1539
|
},
|
|
1540
1540
|
{
|
|
1541
|
-
fieldType: "country",
|
|
1542
1541
|
name: "countryOfBirth",
|
|
1542
|
+
fieldType: "country",
|
|
1543
1543
|
label: "Pays de naissance"
|
|
1544
1544
|
},
|
|
1545
1545
|
{
|
|
1546
|
-
fieldType: "text",
|
|
1547
1546
|
name: "maritalStatus",
|
|
1547
|
+
fieldType: "text",
|
|
1548
1548
|
label: "Situation matrimoniale",
|
|
1549
1549
|
props: { options: MARITAL_STATUS }
|
|
1550
1550
|
},
|
|
1551
1551
|
{
|
|
1552
|
-
fieldType: "text",
|
|
1553
1552
|
name: "prenupType",
|
|
1553
|
+
fieldType: "text",
|
|
1554
1554
|
label: "Type de contrat de mariage",
|
|
1555
1555
|
condition: only("isMarriedWithPrenup"),
|
|
1556
1556
|
props: { options: PRENUP_TYPES }
|
|
1557
1557
|
},
|
|
1558
1558
|
{
|
|
1559
|
-
fieldType: "text",
|
|
1560
1559
|
name: "profession",
|
|
1560
|
+
fieldType: "text",
|
|
1561
1561
|
label: "Profession",
|
|
1562
1562
|
condition: not("isLegalEntity")
|
|
1563
1563
|
},
|
|
1564
1564
|
{
|
|
1565
|
-
fieldType: "phone",
|
|
1566
1565
|
name: "phone",
|
|
1566
|
+
fieldType: "phone",
|
|
1567
1567
|
label: "Num\xE9ro de t\xE9l\xE9phone"
|
|
1568
1568
|
},
|
|
1569
1569
|
{
|
|
1570
|
-
fieldType: "text",
|
|
1571
1570
|
name: "email",
|
|
1571
|
+
fieldType: "text",
|
|
1572
1572
|
label: "Adresse e-mail"
|
|
1573
1573
|
},
|
|
1574
1574
|
{
|
|
1575
|
-
fieldType: "address",
|
|
1576
1575
|
name: "address",
|
|
1576
|
+
fieldType: "address",
|
|
1577
1577
|
label: "Adresse postale"
|
|
1578
1578
|
},
|
|
1579
1579
|
{
|
|
1580
|
-
fieldType: "text",
|
|
1581
1580
|
name: "kycDocumentType",
|
|
1581
|
+
fieldType: "text",
|
|
1582
1582
|
label: "Type de document d'identit\xE9",
|
|
1583
1583
|
props: { options: IDENTIFICATION_DOCUMENTS }
|
|
1584
1584
|
},
|
|
1585
1585
|
{
|
|
1586
|
-
|
|
1586
|
+
name: "kycDocumentNumber",
|
|
1587
|
+
fieldType: "text",
|
|
1588
|
+
label: "Num\xE9ro du document"
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
name: "kycIssuedBy",
|
|
1592
|
+
fieldType: "text",
|
|
1593
|
+
label: "D\xE9livr\xE9 par"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1587
1596
|
name: "kycExpiresAt",
|
|
1597
|
+
fieldType: "date",
|
|
1588
1598
|
label: "Date d'expiration"
|
|
1589
1599
|
}
|
|
1590
1600
|
];
|