@tesouro/embedded-components-react 0.5.227 → 0.5.228

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.
Files changed (59) hide show
  1. package/README.md +21 -21
  2. package/dist/index.d.ts +54 -34
  3. package/dist/index.js +1 -1
  4. package/dist/lib/ReceivablesWidget.d.ts +54 -34
  5. package/dist/lib/ReceivablesWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +4 -4
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +29 -59
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +36 -141
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +26 -16
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +58 -37
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +228 -122
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +300 -147
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +34 -37
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +126 -122
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +150 -58
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +38 -91
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +113 -107
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +98 -231
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +111 -27
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +25 -624
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +631 -39
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +41 -40
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +35 -74
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +73 -115
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +115 -313
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js +325 -0
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +15 -2
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +11 -12
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +42 -1
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +19 -3
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +73 -3
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +3 -1
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +16 -1
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +32 -4
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +304 -11
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +42 -258
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +62 -38
  39. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +485 -61
  40. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +90 -480
  41. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +2 -0
  42. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +3 -1
  43. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +0 -3
  44. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +100 -1
  45. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +23 -95
  46. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +231 -23
  47. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +3 -236
  48. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +249 -3
  49. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +78 -234
  50. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +53 -87
  51. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +343 -49
  52. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +29 -20
  53. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
  54. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +189 -211
  55. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +43 -59
  56. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  57. package/package.json +1 -1
  58. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +0 -106
  59. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +0 -353
@@ -1475,15 +1475,7 @@ var n = (e) => (e.client ?? t).post({
1475
1475
  "Content-Type": "application/json",
1476
1476
  ...e.headers
1477
1477
  }
1478
- }), Nt = (e) => (e.client ?? t).get({
1479
- security: [{
1480
- key: "HTTPBearer",
1481
- scheme: "bearer",
1482
- type: "http"
1483
- }],
1484
- url: "/finops/v1/receivables/{receivable_id}/history",
1485
- ...e
1486
- }), Pt = (e) => (e.client ?? t).post({
1478
+ }), Nt = (e) => (e.client ?? t).post({
1487
1479
  security: [{
1488
1480
  key: "HTTPBearer",
1489
1481
  scheme: "bearer",
@@ -1491,15 +1483,7 @@ var n = (e) => (e.client ?? t).post({
1491
1483
  }],
1492
1484
  url: "/finops/v1/receivables/{receivable_id}/issue",
1493
1485
  ...e
1494
- }), Ft = (e) => (e.client ?? t).get({
1495
- security: [{
1496
- key: "HTTPBearer",
1497
- scheme: "bearer",
1498
- type: "http"
1499
- }],
1500
- url: "/finops/v1/receivables/{receivable_id}/mails",
1501
- ...e
1502
- }), It = (e) => (e.client ?? t).post({
1486
+ }), Pt = (e) => (e.client ?? t).post({
1503
1487
  security: [{
1504
1488
  key: "HTTPBearer",
1505
1489
  scheme: "bearer",
@@ -1511,7 +1495,7 @@ var n = (e) => (e.client ?? t).post({
1511
1495
  "Content-Type": "application/json",
1512
1496
  ...e.headers
1513
1497
  }
1514
- }), Lt = (e) => (e.client ?? t).post({
1498
+ }), Ft = (e) => (e.client ?? t).post({
1515
1499
  security: [{
1516
1500
  key: "HTTPBearer",
1517
1501
  scheme: "bearer",
@@ -1523,7 +1507,7 @@ var n = (e) => (e.client ?? t).post({
1523
1507
  "Content-Type": "application/json",
1524
1508
  ...e.headers
1525
1509
  }
1526
- }), Rt = (e) => (e.client ?? t).post({
1510
+ }), It = (e) => (e.client ?? t).post({
1527
1511
  security: [{
1528
1512
  key: "HTTPBearer",
1529
1513
  scheme: "bearer",
@@ -1535,7 +1519,7 @@ var n = (e) => (e.client ?? t).post({
1535
1519
  "Content-Type": "application/json",
1536
1520
  ...e.headers
1537
1521
  }
1538
- }), zt = (e) => (e.client ?? t).get({
1522
+ }), Lt = (e) => (e.client ?? t).get({
1539
1523
  security: [{
1540
1524
  key: "HTTPBearer",
1541
1525
  scheme: "bearer",
@@ -1543,7 +1527,7 @@ var n = (e) => (e.client ?? t).post({
1543
1527
  }],
1544
1528
  url: "/finops/v1/receivables/{receivable_id}/pdf-link",
1545
1529
  ...e
1546
- }), Bt = (e) => (e.client ?? t).post({
1530
+ }), Rt = (e) => (e.client ?? t).post({
1547
1531
  security: [{
1548
1532
  key: "HTTPBearer",
1549
1533
  scheme: "bearer",
@@ -1555,7 +1539,7 @@ var n = (e) => (e.client ?? t).post({
1555
1539
  "Content-Type": "application/json",
1556
1540
  ...e.headers
1557
1541
  }
1558
- }), Vt = (e) => (e.client ?? t).post({
1542
+ }), zt = (e) => (e.client ?? t).post({
1559
1543
  security: [{
1560
1544
  key: "HTTPBearer",
1561
1545
  scheme: "bearer",
@@ -1567,7 +1551,7 @@ var n = (e) => (e.client ?? t).post({
1567
1551
  "Content-Type": "application/json",
1568
1552
  ...e.headers
1569
1553
  }
1570
- }), Ht = (e) => (e.client ?? t).get({
1554
+ }), Bt = (e) => (e.client ?? t).get({
1571
1555
  security: [{
1572
1556
  key: "HTTPBearer",
1573
1557
  scheme: "bearer",
@@ -1575,7 +1559,7 @@ var n = (e) => (e.client ?? t).post({
1575
1559
  }],
1576
1560
  url: "/finops/v1/recurrences/{recurrence_id}",
1577
1561
  ...e
1578
- }), Ut = (e) => (e.client ?? t).patch({
1562
+ }), Vt = (e) => (e.client ?? t).patch({
1579
1563
  security: [{
1580
1564
  key: "HTTPBearer",
1581
1565
  scheme: "bearer",
@@ -1587,7 +1571,7 @@ var n = (e) => (e.client ?? t).post({
1587
1571
  "Content-Type": "application/json",
1588
1572
  ...e.headers
1589
1573
  }
1590
- }), Wt = (e) => (e.client ?? t).get({
1574
+ }), Ht = (e) => (e.client ?? t).get({
1591
1575
  security: [{
1592
1576
  key: "HTTPBearer",
1593
1577
  scheme: "bearer",
@@ -1595,7 +1579,7 @@ var n = (e) => (e.client ?? t).post({
1595
1579
  }],
1596
1580
  url: "/finops/v1/transactions",
1597
1581
  ...e
1598
- }), Gt = (e) => (e.client ?? t).get({
1582
+ }), Ut = (e) => (e.client ?? t).get({
1599
1583
  security: [{
1600
1584
  key: "HTTPBearer",
1601
1585
  scheme: "bearer",
@@ -1603,7 +1587,7 @@ var n = (e) => (e.client ?? t).post({
1603
1587
  }],
1604
1588
  url: "/finops/v1/transactions/validations",
1605
1589
  ...e
1606
- }), Kt = (e) => (e.client ?? t).put({
1590
+ }), Wt = (e) => (e.client ?? t).put({
1607
1591
  security: [{
1608
1592
  key: "HTTPBearer",
1609
1593
  scheme: "bearer",
@@ -1615,7 +1599,7 @@ var n = (e) => (e.client ?? t).post({
1615
1599
  "Content-Type": "application/json",
1616
1600
  ...e.headers
1617
1601
  }
1618
- }), qt = (e) => (e.client ?? t).get({
1602
+ }), Gt = (e) => (e.client ?? t).get({
1619
1603
  security: [{
1620
1604
  key: "HTTPBearer",
1621
1605
  scheme: "bearer",
@@ -1623,7 +1607,7 @@ var n = (e) => (e.client ?? t).post({
1623
1607
  }],
1624
1608
  url: "/finops/v1/transactions/{transaction_id}",
1625
1609
  ...e
1626
- }), Jt = (e) => (e.client ?? t).patch({
1610
+ }), Kt = (e) => (e.client ?? t).patch({
1627
1611
  security: [{
1628
1612
  key: "HTTPBearer",
1629
1613
  scheme: "bearer",
@@ -1635,7 +1619,7 @@ var n = (e) => (e.client ?? t).post({
1635
1619
  "Content-Type": "application/json",
1636
1620
  ...e.headers
1637
1621
  }
1638
- }), Yt = (e) => (e.client ?? t).post({
1622
+ }), qt = (e) => (e.client ?? t).post({
1639
1623
  security: [{
1640
1624
  key: "HTTPBearer",
1641
1625
  scheme: "bearer",
@@ -1643,7 +1627,7 @@ var n = (e) => (e.client ?? t).post({
1643
1627
  }],
1644
1628
  url: "/finops/v1/transactions/{transaction_id}/approve",
1645
1629
  ...e
1646
- }), Xt = (e) => (e.client ?? t).get({
1630
+ }), Jt = (e) => (e.client ?? t).get({
1647
1631
  security: [{
1648
1632
  key: "HTTPBearer",
1649
1633
  scheme: "bearer",
@@ -1651,7 +1635,7 @@ var n = (e) => (e.client ?? t).post({
1651
1635
  }],
1652
1636
  url: "/finops/v1/transactions/{transaction_id}/expense_history",
1653
1637
  ...e
1654
- }), Zt = (e) => (e.client ?? t).post({
1638
+ }), Yt = (e) => (e.client ?? t).post({
1655
1639
  security: [{
1656
1640
  key: "HTTPBearer",
1657
1641
  scheme: "bearer",
@@ -1663,7 +1647,7 @@ var n = (e) => (e.client ?? t).post({
1663
1647
  "Content-Type": "application/json",
1664
1648
  ...e.headers
1665
1649
  }
1666
- }), Qt = (e) => (e.client ?? t).post({
1650
+ }), Xt = (e) => (e.client ?? t).post({
1667
1651
  security: [{
1668
1652
  key: "HTTPBearer",
1669
1653
  scheme: "bearer",
@@ -1671,7 +1655,7 @@ var n = (e) => (e.client ?? t).post({
1671
1655
  }],
1672
1656
  url: "/finops/v1/transactions/{transaction_id}/reopen",
1673
1657
  ...e
1674
- }), $t = (e) => (e.client ?? t).post({
1658
+ }), Zt = (e) => (e.client ?? t).post({
1675
1659
  security: [{
1676
1660
  key: "HTTPBearer",
1677
1661
  scheme: "bearer",
@@ -1683,7 +1667,7 @@ var n = (e) => (e.client ?? t).post({
1683
1667
  "Content-Type": "application/json",
1684
1668
  ...e.headers
1685
1669
  }
1686
- }), en = (e) => (e?.client ?? t).get({
1670
+ }), Qt = (e) => (e?.client ?? t).get({
1687
1671
  security: [{
1688
1672
  key: "APPToken",
1689
1673
  scheme: "bearer",
@@ -1695,7 +1679,7 @@ var n = (e) => (e.client ?? t).post({
1695
1679
  }],
1696
1680
  url: "/identity/v1/departments",
1697
1681
  ...e
1698
- }), tn = (e) => (e.client ?? t).post({
1682
+ }), $t = (e) => (e.client ?? t).post({
1699
1683
  security: [{
1700
1684
  key: "APPToken",
1701
1685
  scheme: "bearer",
@@ -1711,7 +1695,7 @@ var n = (e) => (e.client ?? t).post({
1711
1695
  "Content-Type": "application/json",
1712
1696
  ...e.headers
1713
1697
  }
1714
- }), nn = (e) => (e.client ?? t).delete({
1698
+ }), en = (e) => (e.client ?? t).delete({
1715
1699
  security: [{
1716
1700
  key: "APPToken",
1717
1701
  scheme: "bearer",
@@ -1723,7 +1707,7 @@ var n = (e) => (e.client ?? t).post({
1723
1707
  }],
1724
1708
  url: "/identity/v1/departments/{departmentId}",
1725
1709
  ...e
1726
- }), rn = (e) => (e.client ?? t).get({
1710
+ }), tn = (e) => (e.client ?? t).get({
1727
1711
  security: [{
1728
1712
  key: "APPToken",
1729
1713
  scheme: "bearer",
@@ -1735,7 +1719,7 @@ var n = (e) => (e.client ?? t).post({
1735
1719
  }],
1736
1720
  url: "/identity/v1/departments/{departmentId}",
1737
1721
  ...e
1738
- }), an = (e) => (e.client ?? t).put({
1722
+ }), nn = (e) => (e.client ?? t).put({
1739
1723
  security: [{
1740
1724
  key: "APPToken",
1741
1725
  scheme: "bearer",
@@ -1751,7 +1735,7 @@ var n = (e) => (e.client ?? t).post({
1751
1735
  "Content-Type": "application/json",
1752
1736
  ...e.headers
1753
1737
  }
1754
- }), on = (e) => (e.client ?? t).post({
1738
+ }), rn = (e) => (e.client ?? t).post({
1755
1739
  security: [{
1756
1740
  key: "APPToken",
1757
1741
  scheme: "bearer",
@@ -1767,7 +1751,7 @@ var n = (e) => (e.client ?? t).post({
1767
1751
  "Content-Type": "application/json",
1768
1752
  ...e.headers
1769
1753
  }
1770
- }), sn = (e) => (e?.client ?? t).get({
1754
+ }), an = (e) => (e?.client ?? t).get({
1771
1755
  security: [{
1772
1756
  key: "HTTPBearer",
1773
1757
  scheme: "bearer",
@@ -1775,7 +1759,7 @@ var n = (e) => (e.client ?? t).post({
1775
1759
  }],
1776
1760
  url: "/identity/v1/disclosures",
1777
1761
  ...e
1778
- }), cn = (e) => (e?.client ?? t).get({
1762
+ }), on = (e) => (e?.client ?? t).get({
1779
1763
  security: [{
1780
1764
  key: "APPToken",
1781
1765
  scheme: "bearer",
@@ -1787,7 +1771,7 @@ var n = (e) => (e.client ?? t).post({
1787
1771
  }],
1788
1772
  url: "/identity/v1/locations",
1789
1773
  ...e
1790
- }), ln = (e) => (e.client ?? t).post({
1774
+ }), sn = (e) => (e.client ?? t).post({
1791
1775
  security: [{
1792
1776
  key: "APPToken",
1793
1777
  scheme: "bearer",
@@ -1803,7 +1787,7 @@ var n = (e) => (e.client ?? t).post({
1803
1787
  "Content-Type": "application/json",
1804
1788
  ...e.headers
1805
1789
  }
1806
- }), un = (e) => (e.client ?? t).delete({
1790
+ }), cn = (e) => (e.client ?? t).delete({
1807
1791
  security: [{
1808
1792
  key: "APPToken",
1809
1793
  scheme: "bearer",
@@ -1815,7 +1799,7 @@ var n = (e) => (e.client ?? t).post({
1815
1799
  }],
1816
1800
  url: "/identity/v1/locations/{locationId}",
1817
1801
  ...e
1818
- }), dn = (e) => (e.client ?? t).get({
1802
+ }), ln = (e) => (e.client ?? t).get({
1819
1803
  security: [{
1820
1804
  key: "APPToken",
1821
1805
  scheme: "bearer",
@@ -1827,7 +1811,7 @@ var n = (e) => (e.client ?? t).post({
1827
1811
  }],
1828
1812
  url: "/identity/v1/locations/{locationId}",
1829
1813
  ...e
1830
- }), fn = (e) => (e.client ?? t).put({
1814
+ }), un = (e) => (e.client ?? t).put({
1831
1815
  security: [{
1832
1816
  key: "APPToken",
1833
1817
  scheme: "bearer",
@@ -1843,7 +1827,7 @@ var n = (e) => (e.client ?? t).post({
1843
1827
  "Content-Type": "application/json",
1844
1828
  ...e.headers
1845
1829
  }
1846
- }), pn = (e) => (e.client ?? t).post({
1830
+ }), dn = (e) => (e.client ?? t).post({
1847
1831
  security: [{
1848
1832
  key: "APPToken",
1849
1833
  scheme: "bearer",
@@ -1859,7 +1843,7 @@ var n = (e) => (e.client ?? t).post({
1859
1843
  "Content-Type": "application/json",
1860
1844
  ...e.headers
1861
1845
  }
1862
- }), mn = (e) => (e.client ?? t).get({
1846
+ }), fn = (e) => (e.client ?? t).get({
1863
1847
  security: [{
1864
1848
  key: "APPToken",
1865
1849
  scheme: "bearer",
@@ -1871,7 +1855,7 @@ var n = (e) => (e.client ?? t).post({
1871
1855
  }],
1872
1856
  url: "/identity/v1/organizations/{organizationId}",
1873
1857
  ...e
1874
- }), hn = (e) => (e?.client ?? t).get({
1858
+ }), pn = (e) => (e?.client ?? t).get({
1875
1859
  security: [{
1876
1860
  key: "APPToken",
1877
1861
  scheme: "bearer",
@@ -1883,7 +1867,7 @@ var n = (e) => (e.client ?? t).post({
1883
1867
  }],
1884
1868
  url: "/identity/v1/roles",
1885
1869
  ...e
1886
- }), gn = (e) => (e.client ?? t).post({
1870
+ }), mn = (e) => (e.client ?? t).post({
1887
1871
  security: [{
1888
1872
  key: "APPToken",
1889
1873
  scheme: "bearer",
@@ -1899,7 +1883,7 @@ var n = (e) => (e.client ?? t).post({
1899
1883
  "Content-Type": "application/json",
1900
1884
  ...e.headers
1901
1885
  }
1902
- }), _n = (e) => (e.client ?? t).get({
1886
+ }), hn = (e) => (e.client ?? t).get({
1903
1887
  security: [{
1904
1888
  key: "APPToken",
1905
1889
  scheme: "bearer",
@@ -1911,7 +1895,7 @@ var n = (e) => (e.client ?? t).post({
1911
1895
  }],
1912
1896
  url: "/identity/v1/roles/{roleId}/permissions",
1913
1897
  ...e
1914
- }), vn = (e) => (e.client ?? t).get({
1898
+ }), gn = (e) => (e.client ?? t).get({
1915
1899
  security: [{
1916
1900
  key: "HTTPBearer",
1917
1901
  scheme: "bearer",
@@ -1919,7 +1903,7 @@ var n = (e) => (e.client ?? t).post({
1919
1903
  }],
1920
1904
  url: "/identity/v1/user-data/{key}",
1921
1905
  ...e
1922
- }), yn = (e) => (e.client ?? t).put({
1906
+ }), _n = (e) => (e.client ?? t).put({
1923
1907
  security: [{
1924
1908
  key: "HTTPBearer",
1925
1909
  scheme: "bearer",
@@ -1931,7 +1915,7 @@ var n = (e) => (e.client ?? t).post({
1931
1915
  "Content-Type": "application/json",
1932
1916
  ...e.headers
1933
1917
  }
1934
- }), bn = (e) => (e?.client ?? t).get({
1918
+ }), vn = (e) => (e?.client ?? t).get({
1935
1919
  security: [{
1936
1920
  key: "APPToken",
1937
1921
  scheme: "bearer",
@@ -1943,7 +1927,7 @@ var n = (e) => (e.client ?? t).post({
1943
1927
  }],
1944
1928
  url: "/identity/v1/users",
1945
1929
  ...e
1946
- }), xn = (e) => (e.client ?? t).post({
1930
+ }), yn = (e) => (e.client ?? t).post({
1947
1931
  security: [{
1948
1932
  key: "APPToken",
1949
1933
  scheme: "bearer",
@@ -1959,7 +1943,7 @@ var n = (e) => (e.client ?? t).post({
1959
1943
  "Content-Type": "application/json",
1960
1944
  ...e.headers
1961
1945
  }
1962
- }), Sn = (e) => (e.client ?? t).patch({
1946
+ }), bn = (e) => (e.client ?? t).patch({
1963
1947
  security: [{
1964
1948
  key: "APPToken",
1965
1949
  scheme: "bearer",
@@ -1975,7 +1959,7 @@ var n = (e) => (e.client ?? t).post({
1975
1959
  "Content-Type": "application/json",
1976
1960
  ...e.headers
1977
1961
  }
1978
- }), Cn = (e) => (e.client ?? t).post({
1962
+ }), xn = (e) => (e.client ?? t).post({
1979
1963
  security: [{
1980
1964
  key: "APPToken",
1981
1965
  scheme: "bearer",
@@ -1989,4 +1973,4 @@ var n = (e) => (e.client ?? t).post({
1989
1973
  ...e
1990
1974
  });
1991
1975
  //#endregion
1992
- export { O as activateCreditCard, P as activateDebitCard, on as bulkUpdateDepartmentMembers, pn as bulkUpdateLocationMembers, gn as bulkUpdateRoleMembers, z as connectExternalBankAccount, K as createAchMoneyMovement, s as createApplication, p as createBankAccount, q as createBookTransfer, b as createCheckDeposit, A as createDebitCard, tn as createDepartment, ln as createLocation, xn as createUser, o as createVelocityControl, nn as deactivateDepartment, un as deactivateLocation, ee as deleteApprovalPoliciesId, c as deleteBankAccountApplication, le as deleteCounterpartsId, _e as deleteCounterpartsIdBankAccountsId, xe as deleteEntitiesIdLogo, ke as deleteFilesId, Me as deleteLedgerAccountsId, Le as deleteMeasureUnitsId, We as deletePayablesId, Qe as deletePayablesIdFile, gt as deleteProductsId, xt as deleteReceiptsId, Et as deleteReceivablesId, Cn as disableUser, w as downloadBankAccountTransactions, J as getAnalyticsPayables, Y as getAnalyticsReceipts, X as getAnalyticsReceivables, Z as getAnalyticsTransactions, r as getApiWidgetGatewayInit, i as getApplicationStatus, Q as getApprovalPolicies, ne as getApprovalRequests, g as getBankAccount, v as getBankAccountAccess, l as getBankAccountApplication, S as getBankAccountStatement, x as getBankAccountStatements, C as getBankAccountTransactions, T as getBankAccountTransfers, f as getBankAccounts, ae as getBankDetails, se as getCounterparts, ue as getCounterpartsId, fe as getCounterpartsIdAddresses, he as getCounterpartsIdBankAccounts, D as getCreditCardById, E as getCreditCards, M as getDebitCardById, F as getDebitCardCredentials, k as getDebitCards, rn as getDepartment, h as getDepositableBankAccounts, sn as getDisclosures, be as getDocumentsIdNextNumbers, Ce as getEntitiesIdSettings, Te as getEntityUsers, Ee as getEntityUsersMe, De as getEntityUsersMyEntity, H as getExternalBankAccountAccess, R as getExternalBankAccounts, Ae as getLedgerAccounts, dn as getLocation, Pe as getMailboxes, Fe as getMeasureUnits, a as getMerchantCategoryGroups, mn as getOrganization, ze as getOverdueReminders, Ve as getPayables, Ge as getPayablesId, $e as getPayablesIdHistory, et as getPayablesIdLineItems, st as getPayablesIdSuggestions, ut as getPaymentRecords, dt as getPaymentReminders, pt as getPaymentTerms, mt as getProducts, _t as getProductsId, yt as getReceipts, Ct as getReceivables, Dt as getReceivablesId, Nt as getReceivablesIdHistory, Ft as getReceivablesIdMails, zt as getReceivablesIdPdfLink, Tt as getReceivablesRequiredFields, Ht as getRecurrencesId, Wt as getTransactions, qt as getTransactionsId, Xt as getTransactionsIdExpenseHistory, Gt as getTransactionsValidations, vn as getUserData, bn as getUsers, y as grantBankAccountAccess, U as grantExternalBankAccountAccess, W as linkExternalBankAccount, en as listDepartments, cn as listLocations, _n as listRolePermissions, hn as listRoles, m as manageBankAccountAccess, j as manageDebitCardAccess, te as patchApprovalPoliciesId, de as patchCounterpartsId, me as patchCounterpartsIdAddressesId, ve as patchCounterpartsIdBankAccountsId, we as patchEntitiesIdSettings, Ne as patchLedgerAccountsId, Re as patchMeasureUnitsId, Ke as patchPayablesId, vt as patchProductsId, St as patchReceiptsId, Ot as patchReceivablesId, Ut as patchRecurrencesId, Jt as patchTransactionsId, n as postApiWidgetGatewayDisclosureAcceptance, $ as postApprovalPolicies, re as postApprovalRequestsIdApprove, ie as postApprovalRequestsIdReject, oe as postBankDetails, ce as postCounterparts, pe as postCounterpartsIdAddresses, ge as postCounterpartsIdBankAccounts, ye as postCounterpartsIdBankAccountsIdMakeDefault, Oe as postFiles, je as postLedgerAccounts, Ie as postMeasureUnits, Be as postOverdueReminders, He as postPayables, qe as postPayablesIdApprovePaymentOperation, Je as postPayablesIdAttachFile, Ye as postPayablesIdCancel, Xe as postPayablesIdDuplicatesIdConfirm, Ze as postPayablesIdDuplicatesIdDismiss, nt as postPayablesIdMarkAsPaid, rt as postPayablesIdReject, it as postPayablesIdReopen, at as postPayablesIdSchedulePayment, ot as postPayablesIdSubmitForApproval, ct as postPayablesIdValidate, Ue as postPayablesUploadFromFile, lt as postPaymentIntentsIdCancel, ft as postPaymentReminders, ht as postProducts, bt as postReceiptsUploadFromFile, wt as postReceivables, kt as postReceivablesIdAccept, At as postReceivablesIdCancel, jt as postReceivablesIdClone, Mt as postReceivablesIdDecline, Pt as postReceivablesIdIssue, It as postReceivablesIdMarkAsPaid, Lt as postReceivablesIdMarkAsPartiallyPaid, Rt as postReceivablesIdMarkAsUncollectible, Bt as postReceivablesIdSend, Vt as postRecurrences, Yt as postTransactionsIdApprove, Zt as postTransactionsIdReject, Qt as postTransactionsIdReopen, $t as postTransactionsIdSubmit, Se as putEntitiesIdLogo, tt as putPayablesIdLineItems, Kt as putTransactionsValidations, I as setDebitCardLockStatus, d as submitApplication, B as unlinkExternalBankAccount, u as updateApplication, _ as updateBankAccount, N as updateDebitCard, an as updateDepartment, V as updateExternalBankAccount, fn as updateLocation, Sn as updateUser, yn as upsertUserData, G as validateExternalBankAccount, L as verifyDebitCard };
1976
+ export { O as activateCreditCard, P as activateDebitCard, rn as bulkUpdateDepartmentMembers, dn as bulkUpdateLocationMembers, mn as bulkUpdateRoleMembers, z as connectExternalBankAccount, K as createAchMoneyMovement, s as createApplication, p as createBankAccount, q as createBookTransfer, b as createCheckDeposit, A as createDebitCard, $t as createDepartment, sn as createLocation, yn as createUser, o as createVelocityControl, en as deactivateDepartment, cn as deactivateLocation, ee as deleteApprovalPoliciesId, c as deleteBankAccountApplication, le as deleteCounterpartsId, _e as deleteCounterpartsIdBankAccountsId, xe as deleteEntitiesIdLogo, ke as deleteFilesId, Me as deleteLedgerAccountsId, Le as deleteMeasureUnitsId, We as deletePayablesId, Qe as deletePayablesIdFile, gt as deleteProductsId, xt as deleteReceiptsId, Et as deleteReceivablesId, xn as disableUser, w as downloadBankAccountTransactions, J as getAnalyticsPayables, Y as getAnalyticsReceipts, X as getAnalyticsReceivables, Z as getAnalyticsTransactions, r as getApiWidgetGatewayInit, i as getApplicationStatus, Q as getApprovalPolicies, ne as getApprovalRequests, g as getBankAccount, v as getBankAccountAccess, l as getBankAccountApplication, S as getBankAccountStatement, x as getBankAccountStatements, C as getBankAccountTransactions, T as getBankAccountTransfers, f as getBankAccounts, ae as getBankDetails, se as getCounterparts, ue as getCounterpartsId, fe as getCounterpartsIdAddresses, he as getCounterpartsIdBankAccounts, D as getCreditCardById, E as getCreditCards, M as getDebitCardById, F as getDebitCardCredentials, k as getDebitCards, tn as getDepartment, h as getDepositableBankAccounts, an as getDisclosures, be as getDocumentsIdNextNumbers, Ce as getEntitiesIdSettings, Te as getEntityUsers, Ee as getEntityUsersMe, De as getEntityUsersMyEntity, H as getExternalBankAccountAccess, R as getExternalBankAccounts, Ae as getLedgerAccounts, ln as getLocation, Pe as getMailboxes, Fe as getMeasureUnits, a as getMerchantCategoryGroups, fn as getOrganization, ze as getOverdueReminders, Ve as getPayables, Ge as getPayablesId, $e as getPayablesIdHistory, et as getPayablesIdLineItems, st as getPayablesIdSuggestions, ut as getPaymentRecords, dt as getPaymentReminders, pt as getPaymentTerms, mt as getProducts, _t as getProductsId, yt as getReceipts, Ct as getReceivables, Dt as getReceivablesId, Lt as getReceivablesIdPdfLink, Tt as getReceivablesRequiredFields, Bt as getRecurrencesId, Ht as getTransactions, Gt as getTransactionsId, Jt as getTransactionsIdExpenseHistory, Ut as getTransactionsValidations, gn as getUserData, vn as getUsers, y as grantBankAccountAccess, U as grantExternalBankAccountAccess, W as linkExternalBankAccount, Qt as listDepartments, on as listLocations, hn as listRolePermissions, pn as listRoles, m as manageBankAccountAccess, j as manageDebitCardAccess, te as patchApprovalPoliciesId, de as patchCounterpartsId, me as patchCounterpartsIdAddressesId, ve as patchCounterpartsIdBankAccountsId, we as patchEntitiesIdSettings, Ne as patchLedgerAccountsId, Re as patchMeasureUnitsId, Ke as patchPayablesId, vt as patchProductsId, St as patchReceiptsId, Ot as patchReceivablesId, Vt as patchRecurrencesId, Kt as patchTransactionsId, n as postApiWidgetGatewayDisclosureAcceptance, $ as postApprovalPolicies, re as postApprovalRequestsIdApprove, ie as postApprovalRequestsIdReject, oe as postBankDetails, ce as postCounterparts, pe as postCounterpartsIdAddresses, ge as postCounterpartsIdBankAccounts, ye as postCounterpartsIdBankAccountsIdMakeDefault, Oe as postFiles, je as postLedgerAccounts, Ie as postMeasureUnits, Be as postOverdueReminders, He as postPayables, qe as postPayablesIdApprovePaymentOperation, Je as postPayablesIdAttachFile, Ye as postPayablesIdCancel, Xe as postPayablesIdDuplicatesIdConfirm, Ze as postPayablesIdDuplicatesIdDismiss, nt as postPayablesIdMarkAsPaid, rt as postPayablesIdReject, it as postPayablesIdReopen, at as postPayablesIdSchedulePayment, ot as postPayablesIdSubmitForApproval, ct as postPayablesIdValidate, Ue as postPayablesUploadFromFile, lt as postPaymentIntentsIdCancel, ft as postPaymentReminders, ht as postProducts, bt as postReceiptsUploadFromFile, wt as postReceivables, kt as postReceivablesIdAccept, At as postReceivablesIdCancel, jt as postReceivablesIdClone, Mt as postReceivablesIdDecline, Nt as postReceivablesIdIssue, Pt as postReceivablesIdMarkAsPaid, Ft as postReceivablesIdMarkAsPartiallyPaid, It as postReceivablesIdMarkAsUncollectible, Rt as postReceivablesIdSend, zt as postRecurrences, qt as postTransactionsIdApprove, Yt as postTransactionsIdReject, Xt as postTransactionsIdReopen, Zt as postTransactionsIdSubmit, Se as putEntitiesIdLogo, tt as putPayablesIdLineItems, Wt as putTransactionsValidations, I as setDebitCardLockStatus, d as submitApplication, B as unlinkExternalBankAccount, u as updateApplication, _ as updateBankAccount, N as updateDebitCard, nn as updateDepartment, V as updateExternalBankAccount, un as updateLocation, bn as updateUser, _n as upsertUserData, G as validateExternalBankAccount, L as verifyDebitCard };
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.5.227", n = "5d413a6fc2962d365de306d5d524882f6212437a", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.228", n = "f162e8472eda00aa16ef953c8a82dfad611b32ca", 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.5.227",
3
+ "version": "0.5.228",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {
@@ -1,106 +0,0 @@
1
- import { Button as e, Dialog as t, DialogContent as n, DialogDescription as r, DialogFooter as i, DialogHeader as a, DialogTitle as o, Input as s, Label as c, RadioGroup as l, RadioGroupItem as u, Textarea as d } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { RECEIVABLE_PAYMENT_DIALOG_LABELS_EN as f } from "./index4.js";
3
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
4
- //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js
5
- function h({ message: e }) {
6
- return e ? /* @__PURE__ */ p("p", {
7
- className: "ttw:text-sm ttw:text-destructive",
8
- children: e
9
- }) : null;
10
- }
11
- function g({ open: g, onOpenChange: _, values: v, errors: y, inProgress: b, onChange: x, onSubmit: S, onCancel: C, labels: w }) {
12
- let T = {
13
- ...f,
14
- ...w
15
- };
16
- return /* @__PURE__ */ p(t, {
17
- open: g,
18
- onOpenChange: _,
19
- children: /* @__PURE__ */ m(n, { children: [
20
- /* @__PURE__ */ m(a, { children: [/* @__PURE__ */ p(o, { children: T.title }), /* @__PURE__ */ p(r, { children: T.description })] }),
21
- /* @__PURE__ */ m("div", {
22
- className: "ttw:flex ttw:flex-col ttw:gap-4",
23
- children: [
24
- y?.form && /* @__PURE__ */ p("p", {
25
- className: "ttw:rounded-md ttw:bg-destructive/10 ttw:px-3 ttw:py-2 ttw:text-sm ttw:text-destructive",
26
- children: y.form
27
- }),
28
- /* @__PURE__ */ m("div", {
29
- className: "ttw:flex ttw:flex-col ttw:gap-1.5",
30
- children: [/* @__PURE__ */ p(c, { children: T.modeLabel }), /* @__PURE__ */ m(l, {
31
- className: "ttw:flex ttw:flex-row ttw:gap-6",
32
- value: v.mode,
33
- onValueChange: (e) => x({ mode: e }),
34
- children: [/* @__PURE__ */ m("div", {
35
- className: "ttw:flex ttw:items-center ttw:gap-2",
36
- children: [/* @__PURE__ */ p(u, {
37
- value: "full",
38
- id: "receivable-payment-full"
39
- }), /* @__PURE__ */ p(c, {
40
- htmlFor: "receivable-payment-full",
41
- children: T.fullPayment
42
- })]
43
- }), /* @__PURE__ */ m("div", {
44
- className: "ttw:flex ttw:items-center ttw:gap-2",
45
- children: [/* @__PURE__ */ p(u, {
46
- value: "partial",
47
- id: "receivable-payment-partial"
48
- }), /* @__PURE__ */ p(c, {
49
- htmlFor: "receivable-payment-partial",
50
- children: T.partialPayment
51
- })]
52
- })]
53
- })]
54
- }),
55
- v.mode === "partial" && /* @__PURE__ */ m("div", {
56
- className: "ttw:flex ttw:flex-col ttw:gap-1.5",
57
- children: [
58
- /* @__PURE__ */ p(c, { children: T.amountPaidLabel }),
59
- /* @__PURE__ */ p(s, {
60
- inputMode: "decimal",
61
- value: v.amountPaid,
62
- onChange: (e) => x({ amountPaid: e.target.value })
63
- }),
64
- /* @__PURE__ */ p(h, { message: y?.amountPaid })
65
- ]
66
- }),
67
- v.mode === "full" && /* @__PURE__ */ m("div", {
68
- className: "ttw:flex ttw:flex-col ttw:gap-1.5",
69
- children: [
70
- /* @__PURE__ */ p(c, { children: T.paidAtLabel }),
71
- /* @__PURE__ */ p(s, {
72
- type: "date",
73
- value: v.paidAt,
74
- onChange: (e) => x({ paidAt: e.target.value })
75
- }),
76
- /* @__PURE__ */ p(h, { message: y?.paidAt })
77
- ]
78
- }),
79
- /* @__PURE__ */ m("div", {
80
- className: "ttw:flex ttw:flex-col ttw:gap-1.5",
81
- children: [
82
- /* @__PURE__ */ p(c, { children: T.commentLabel }),
83
- /* @__PURE__ */ p(d, {
84
- rows: 3,
85
- value: v.comment,
86
- onChange: (e) => x({ comment: e.target.value })
87
- }),
88
- /* @__PURE__ */ p(h, { message: y?.comment })
89
- ]
90
- })
91
- ]
92
- }),
93
- /* @__PURE__ */ m(i, { children: [/* @__PURE__ */ p(e, {
94
- variant: "ghost",
95
- onClick: C,
96
- children: T.cancelButton
97
- }), /* @__PURE__ */ p(e, {
98
- loading: b,
99
- onClick: S,
100
- children: T.submitButton
101
- })] })
102
- ] })
103
- });
104
- }
105
- //#endregion
106
- export { g as ReceivablePaymentDialog, g as default };