@silexpert/core 1.0.19 → 1.0.24

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 (128) hide show
  1. package/es/api/resources/CommercialDocument.d.ts +1 -0
  2. package/es/api/resources/CommercialDocument.d.ts.map +1 -1
  3. package/es/api/resources/CommercialDocument.js +3 -0
  4. package/es/api/resources/CommercialDocument.js.map +1 -1
  5. package/es/api/resources/FIle.d.ts +6 -0
  6. package/es/api/resources/FIle.d.ts.map +1 -0
  7. package/es/api/resources/FIle.js +7 -0
  8. package/es/api/resources/FIle.js.map +1 -0
  9. package/es/api/resources/Invoice.d.ts +2 -1
  10. package/es/api/resources/Invoice.d.ts.map +1 -1
  11. package/es/api/resources/Invoice.js +3 -0
  12. package/es/api/resources/Invoice.js.map +1 -1
  13. package/es/api/resources/Qonto.js +1 -1
  14. package/es/api/resources/Qonto.js.map +1 -1
  15. package/es/api/resources.d.ts +2 -0
  16. package/es/api/resources.d.ts.map +1 -1
  17. package/es/api/resources.js +2 -0
  18. package/es/api/resources.js.map +1 -1
  19. package/es/types/Enum/BrandClementine.d.ts +9 -0
  20. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  21. package/es/types/Enum/BrandClementine.js +6 -0
  22. package/es/types/Enum/BrandClementine.js.map +1 -1
  23. package/es/types/Enum/BrandComptalib.d.ts +85 -0
  24. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  25. package/es/types/Enum/BrandComptalib.js +6 -0
  26. package/es/types/Enum/BrandComptalib.js.map +1 -1
  27. package/es/types/Enum/BrandPourcentage.d.ts +1 -0
  28. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  29. package/es/types/Enum/BrandPourcentage.js +4 -3
  30. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  31. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  32. package/es/types/Enum/TaskResponseType.js +11 -0
  33. package/es/types/Enum/TaskResponseType.js.map +1 -1
  34. package/es/types/Interface/api/commercialManagement/Create.d.ts +2 -1
  35. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  36. package/es/types/Interface/api/commercialManagement/Create.js +7 -2
  37. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
  38. package/es/types/Interface/api/commercialManagement/Query.d.ts +3 -0
  39. package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
  40. package/es/types/Interface/api/commercialManagement/Query.js +7 -0
  41. package/es/types/Interface/api/commercialManagement/Query.js.map +1 -1
  42. package/es/types/Interface/api/file/Create.d.ts +7 -0
  43. package/es/types/Interface/api/file/Create.d.ts.map +1 -0
  44. package/es/types/Interface/api/file/Create.js +28 -0
  45. package/es/types/Interface/api/file/Create.js.map +1 -0
  46. package/es/types/Interface/api/file/Read.d.ts +6 -0
  47. package/es/types/Interface/api/file/Read.d.ts.map +1 -0
  48. package/es/types/Interface/api/file/Read.js +3 -0
  49. package/es/types/Interface/api/file/Read.js.map +1 -0
  50. package/es/types/Interface/api/revision/QueryRevisionAccount.js +1 -1
  51. package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  52. package/es/types/Interface/models/ISocietyGescom.d.ts +1 -0
  53. package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  54. package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
  55. package/es/types/index.d.ts +2 -0
  56. package/es/types/index.d.ts.map +1 -1
  57. package/es/types/index.js +2 -0
  58. package/es/types/index.js.map +1 -1
  59. package/es/utils/amount.js +1 -1
  60. package/es/utils/amount.js.map +1 -1
  61. package/es/utils/brands.d.ts +1 -1
  62. package/es/utils/brands.d.ts.map +1 -1
  63. package/es/utils/brands.js +8 -26
  64. package/es/utils/brands.js.map +1 -1
  65. package/es/utils/commercialManagement/templates/body.d.ts.map +1 -1
  66. package/es/utils/commercialManagement/templates/body.js +21 -13
  67. package/es/utils/commercialManagement/templates/body.js.map +1 -1
  68. package/es/utils/commercialManagement/templates/common.js +3 -3
  69. package/es/utils/commercialManagement/templates/common.js.map +1 -1
  70. package/js/api/resources/CommercialDocument.js +8 -0
  71. package/js/api/resources/CommercialDocument.js.map +1 -1
  72. package/js/api/resources/FIle.js +18 -0
  73. package/js/api/resources/FIle.js.map +1 -0
  74. package/js/api/resources/Invoice.js +8 -0
  75. package/js/api/resources/Invoice.js.map +1 -1
  76. package/js/api/resources/Qonto.js +1 -1
  77. package/js/api/resources/Qonto.js.map +1 -1
  78. package/js/api/resources.js +4 -1
  79. package/js/api/resources.js.map +1 -1
  80. package/js/types/Enum/BrandClementine.js +6 -0
  81. package/js/types/Enum/BrandClementine.js.map +1 -1
  82. package/js/types/Enum/BrandComptalib.js +6 -0
  83. package/js/types/Enum/BrandComptalib.js.map +1 -1
  84. package/js/types/Enum/BrandPourcentage.js +4 -3
  85. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  86. package/js/types/Enum/TaskResponseType.js +10 -0
  87. package/js/types/Enum/TaskResponseType.js.map +1 -1
  88. package/js/types/Interface/api/commercialManagement/Create.js +3 -1
  89. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
  90. package/js/types/Interface/api/commercialManagement/Query.js +7 -1
  91. package/js/types/Interface/api/commercialManagement/Query.js.map +1 -1
  92. package/js/types/Interface/api/file/Create.js +33 -0
  93. package/js/types/Interface/api/file/Create.js.map +1 -0
  94. package/js/types/Interface/api/file/Read.js +10 -0
  95. package/js/types/Interface/api/file/Read.js.map +1 -0
  96. package/js/types/Interface/api/revision/QueryRevisionAccount.js +1 -1
  97. package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  98. package/js/types/index.js +24 -0
  99. package/js/types/index.js.map +1 -1
  100. package/js/utils/amount.js +1 -1
  101. package/js/utils/amount.js.map +1 -1
  102. package/js/utils/brands.js +7 -26
  103. package/js/utils/brands.js.map +1 -1
  104. package/js/utils/commercialManagement/templates/body.js +21 -13
  105. package/js/utils/commercialManagement/templates/body.js.map +1 -1
  106. package/js/utils/commercialManagement/templates/common.js +3 -3
  107. package/js/utils/commercialManagement/templates/common.js.map +1 -1
  108. package/package.json +1 -1
  109. package/ts/api/resources/CommercialDocument.ts +4 -0
  110. package/ts/api/resources/FIle.ts +11 -0
  111. package/ts/api/resources/Invoice.ts +5 -0
  112. package/ts/api/resources/Qonto.ts +1 -1
  113. package/ts/api/resources.ts +2 -0
  114. package/ts/types/Enum/BrandClementine.ts +6 -0
  115. package/ts/types/Enum/BrandComptalib.ts +6 -0
  116. package/ts/types/Enum/BrandPourcentage.ts +4 -3
  117. package/ts/types/Enum/TaskResponseType.ts +11 -0
  118. package/ts/types/Interface/api/commercialManagement/Create.ts +6 -2
  119. package/ts/types/Interface/api/commercialManagement/Query.ts +6 -0
  120. package/ts/types/Interface/api/file/Create.ts +16 -0
  121. package/ts/types/Interface/api/file/Read.ts +6 -0
  122. package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +1 -1
  123. package/ts/types/Interface/models/ISocietyGescom.ts +1 -0
  124. package/ts/types/index.ts +2 -0
  125. package/ts/utils/amount.ts +1 -1
  126. package/ts/utils/brands.ts +7 -25
  127. package/ts/utils/commercialManagement/templates/body.ts +21 -13
  128. package/ts/utils/commercialManagement/templates/common.ts +3 -3
@@ -5,10 +5,10 @@ export class CommercialDocumentCommonHTML {
5
5
  header = `<style>html {
6
6
  -webkit-print-color-adjust: exact;
7
7
  }</style><% if (settings && settings.isEdgingDisplayed) { %>
8
- <span style="position: absolute; top: 0; left: 0; width: 100vw; font-size: 10px; height: 15px; background-color: <%= settings && settings.edgingColor ? settings.edgingColor : '#333333' %>; margin-bottom: 20px;"></span>
8
+ <span id="header-edging" style="position: absolute; top: 0; left: 0; width: 100vw; font-size: 10px; height: 15px; background-color: <%= settings && settings.edgingColor ? settings.edgingColor : '#333333' %>; margin-bottom: 20px;"></span>
9
9
  <% } %>`;
10
10
 
11
- footer = `<div style="font-size: 8px; color: #DADCDF; text-align: center; margin-left: 40px; margin-right: 40px; display: block; width: 100%">
11
+ footer = `<div style="font-size: 8px; color: #DADCDF; text-align: center; padding: 0 40px; display: block; width: 100%">
12
12
  <% if (freeText) { %><%- freeText %><br/><br/><% } %>
13
13
  <% if (accountingCategoryFormatted) {%>
14
14
  <%= accountingCategoryFormatted %> |
@@ -107,7 +107,7 @@ export class CommercialDocumentCommonHTML {
107
107
  <% }) %>
108
108
  </table>`;
109
109
 
110
- amountRecapitulation = `<table class="summary-prices" style="width: 40%">
110
+ amountRecapitulation = `<table class="summary-prices" style="width: 100%; padding-left: 20px;">
111
111
  <thead>
112
112
  <tr>
113
113
  <td colspan="2">Récapitulatif</td>