@silexpert/core 0.4.55 → 0.4.57

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 (268) hide show
  1. package/es/api/resources/TaxDeadline.d.ts +8 -0
  2. package/es/api/resources/TaxDeadline.d.ts.map +1 -0
  3. package/es/api/resources/TaxDeadline.js +10 -0
  4. package/es/api/resources/TaxDeadline.js.map +1 -0
  5. package/es/api/resources.d.ts +2 -0
  6. package/es/api/resources.d.ts.map +1 -1
  7. package/es/api/resources.js +2 -0
  8. package/es/api/resources.js.map +1 -1
  9. package/es/types/Enum/AccountingFileType.d.ts +8 -0
  10. package/es/types/Enum/AccountingFileType.d.ts.map +1 -0
  11. package/es/types/Enum/AccountingFileType.js +9 -0
  12. package/es/types/Enum/AccountingFileType.js.map +1 -0
  13. package/es/types/Enum/BalanceSheet.d.ts +17 -0
  14. package/es/types/Enum/BalanceSheet.d.ts.map +1 -1
  15. package/es/types/Enum/BalanceSheet.js +18 -0
  16. package/es/types/Enum/BalanceSheet.js.map +1 -1
  17. package/es/types/Enum/Channel.d.ts +5 -0
  18. package/es/types/Enum/Channel.d.ts.map +1 -0
  19. package/es/types/Enum/Channel.js +6 -0
  20. package/es/types/Enum/Channel.js.map +1 -0
  21. package/es/types/Enum/Comment.d.ts +18 -0
  22. package/es/types/Enum/Comment.d.ts.map +1 -0
  23. package/es/types/Enum/Comment.js +19 -0
  24. package/es/types/Enum/Comment.js.map +1 -0
  25. package/es/types/Enum/FieldSocietyStat.d.ts +9 -0
  26. package/es/types/Enum/FieldSocietyStat.d.ts.map +1 -0
  27. package/es/types/Enum/FieldSocietyStat.js +10 -0
  28. package/es/types/Enum/FieldSocietyStat.js.map +1 -0
  29. package/es/types/Enum/FileType.d.ts +108 -0
  30. package/es/types/Enum/FileType.d.ts.map +1 -0
  31. package/es/types/Enum/FileType.js +108 -0
  32. package/es/types/Enum/FileType.js.map +1 -0
  33. package/es/types/Enum/Notification.d.ts +5 -0
  34. package/es/types/Enum/Notification.d.ts.map +1 -0
  35. package/es/types/Enum/Notification.js +6 -0
  36. package/es/types/Enum/Notification.js.map +1 -0
  37. package/es/types/Enum/Prestation.d.ts +7 -0
  38. package/es/types/Enum/Prestation.d.ts.map +1 -0
  39. package/es/types/Enum/Prestation.js +8 -0
  40. package/es/types/Enum/Prestation.js.map +1 -0
  41. package/es/types/Enum/Supervision.d.ts +10 -0
  42. package/es/types/Enum/Supervision.d.ts.map +1 -0
  43. package/es/types/Enum/Supervision.js +11 -0
  44. package/es/types/Enum/Supervision.js.map +1 -0
  45. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +4 -0
  46. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
  47. package/es/types/Interface/api/cerfa/CreateCerfa.js +8 -0
  48. package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  49. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts +1 -0
  50. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts.map +1 -1
  51. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js +4 -0
  52. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
  53. package/es/types/Interface/api/prestashop/InvoicesPrestashop.d.ts +7 -0
  54. package/es/types/Interface/api/prestashop/InvoicesPrestashop.d.ts.map +1 -0
  55. package/es/types/Interface/api/{shopify/ImportInvoicesShopify.js → prestashop/InvoicesPrestashop.js} +6 -6
  56. package/es/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -0
  57. package/es/types/Interface/api/prestashop/PSAddress.d.ts +26 -0
  58. package/es/types/Interface/api/prestashop/PSAddress.d.ts.map +1 -0
  59. package/es/types/Interface/api/prestashop/PSAddress.js +2 -0
  60. package/es/types/Interface/api/prestashop/PSAddress.js.map +1 -0
  61. package/es/types/Interface/api/prestashop/PSCountry.d.ts +15 -0
  62. package/es/types/Interface/api/prestashop/PSCountry.d.ts.map +1 -0
  63. package/es/types/Interface/api/prestashop/PSCountry.js +2 -0
  64. package/es/types/Interface/api/prestashop/PSCountry.js.map +1 -0
  65. package/es/types/Interface/api/prestashop/PSObject.d.ts +4 -0
  66. package/es/types/Interface/api/prestashop/PSObject.d.ts.map +1 -0
  67. package/es/types/Interface/api/prestashop/PSObject.js +2 -0
  68. package/es/types/Interface/api/prestashop/PSObject.js.map +1 -0
  69. package/es/types/Interface/api/prestashop/PSOrder.d.ts +53 -0
  70. package/es/types/Interface/api/prestashop/PSOrder.d.ts.map +1 -0
  71. package/es/types/Interface/api/prestashop/PSOrder.js +2 -0
  72. package/es/types/Interface/api/prestashop/PSOrder.js.map +1 -0
  73. package/es/types/Interface/api/prestashop/PSOrderRow.d.ts +16 -0
  74. package/es/types/Interface/api/prestashop/PSOrderRow.d.ts.map +1 -0
  75. package/es/types/Interface/api/prestashop/PSOrderRow.js +2 -0
  76. package/es/types/Interface/api/prestashop/PSOrderRow.js.map +1 -0
  77. package/es/types/Interface/api/shopify/InvoicesShopify.d.ts +7 -0
  78. package/es/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -0
  79. package/es/types/Interface/api/shopify/InvoicesShopify.js +29 -0
  80. package/es/types/Interface/api/shopify/InvoicesShopify.js.map +1 -0
  81. package/es/types/Interface/api/society/CreateSociety.d.ts +4 -0
  82. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  83. package/es/types/Interface/api/society/CreateSociety.js +16 -0
  84. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  85. package/es/types/Interface/api/society/ReadSociety.d.ts +8 -0
  86. package/es/types/Interface/api/society/ReadSociety.d.ts.map +1 -0
  87. package/es/types/Interface/api/society/ReadSociety.js +2 -0
  88. package/es/types/Interface/api/society/ReadSociety.js.map +1 -0
  89. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +29 -0
  90. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -0
  91. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +99 -0
  92. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -0
  93. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +77 -0
  94. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -0
  95. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js +11 -0
  96. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -0
  97. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +7 -0
  98. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -0
  99. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js +29 -0
  100. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -0
  101. package/es/types/Interface/api/woocommerce/WCBilling.d.ts +14 -0
  102. package/es/types/Interface/api/woocommerce/WCBilling.d.ts.map +1 -0
  103. package/es/types/Interface/api/woocommerce/WCBilling.js +2 -0
  104. package/es/types/Interface/api/woocommerce/WCBilling.js.map +1 -0
  105. package/es/types/Interface/api/woocommerce/WCLineItem.d.ts +18 -0
  106. package/es/types/Interface/api/woocommerce/WCLineItem.d.ts.map +1 -0
  107. package/es/types/Interface/api/woocommerce/WCLineItem.js +2 -0
  108. package/es/types/Interface/api/woocommerce/WCLineItem.js.map +1 -0
  109. package/es/types/Interface/api/woocommerce/WCLinks.d.ts +7 -0
  110. package/es/types/Interface/api/woocommerce/WCLinks.d.ts.map +1 -0
  111. package/es/types/Interface/api/woocommerce/WCLinks.js +2 -0
  112. package/es/types/Interface/api/woocommerce/WCLinks.js.map +1 -0
  113. package/es/types/Interface/api/woocommerce/WCMetaData.d.ts +6 -0
  114. package/es/types/Interface/api/woocommerce/WCMetaData.d.ts.map +1 -0
  115. package/es/types/Interface/api/woocommerce/WCMetaData.js +2 -0
  116. package/es/types/Interface/api/woocommerce/WCMetaData.js.map +1 -0
  117. package/es/types/Interface/api/woocommerce/WCOrder.d.ts +50 -0
  118. package/es/types/Interface/api/woocommerce/WCOrder.d.ts.map +1 -0
  119. package/es/types/Interface/api/woocommerce/WCOrder.js +2 -0
  120. package/es/types/Interface/api/woocommerce/WCOrder.js.map +1 -0
  121. package/es/types/Interface/api/woocommerce/WCSelf.d.ts +4 -0
  122. package/es/types/Interface/api/woocommerce/WCSelf.d.ts.map +1 -0
  123. package/es/types/Interface/api/woocommerce/WCSelf.js +2 -0
  124. package/es/types/Interface/api/woocommerce/WCSelf.js.map +1 -0
  125. package/es/types/Interface/api/woocommerce/WCShiping.d.ts +13 -0
  126. package/es/types/Interface/api/woocommerce/WCShiping.d.ts.map +1 -0
  127. package/es/types/Interface/api/woocommerce/WCShiping.js +2 -0
  128. package/es/types/Interface/api/woocommerce/WCShiping.js.map +1 -0
  129. package/es/types/Interface/api/woocommerce/WCShippingLine.d.ts +12 -0
  130. package/es/types/Interface/api/woocommerce/WCShippingLine.d.ts.map +1 -0
  131. package/es/types/Interface/api/woocommerce/WCShippingLine.js +2 -0
  132. package/es/types/Interface/api/woocommerce/WCShippingLine.js.map +1 -0
  133. package/es/types/Interface/api/woocommerce/WCTaxes.d.ts +10 -0
  134. package/es/types/Interface/api/woocommerce/WCTaxes.d.ts.map +1 -0
  135. package/es/types/Interface/api/woocommerce/WCTaxes.js +2 -0
  136. package/es/types/Interface/api/woocommerce/WCTaxes.js.map +1 -0
  137. package/es/types/Interface/models/ICustomerTva.d.ts +1 -1
  138. package/es/types/Interface/models/ICustomerTva.js.map +1 -1
  139. package/es/types/Interface/models/IPrestation.d.ts +2 -2
  140. package/es/types/Interface/models/IPrestation.d.ts.map +1 -1
  141. package/es/types/Interface/models/IPrestation.js.map +1 -1
  142. package/es/types/Interface/models/ISociety.d.ts +7 -3
  143. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  144. package/es/types/Interface/models/ISociety.js.map +1 -1
  145. package/es/types/Interface/models/ISocietyStat.d.ts +2 -2
  146. package/es/types/Interface/models/ISocietyStat.js.map +1 -1
  147. package/es/types/Interface/models/ISupervision.d.ts +2 -0
  148. package/es/types/Interface/models/ISupervision.d.ts.map +1 -1
  149. package/es/types/Interface/models/ISupervision.js.map +1 -1
  150. package/es/types/index.d.ts +22 -1
  151. package/es/types/index.d.ts.map +1 -1
  152. package/es/types/index.js +22 -1
  153. package/es/types/index.js.map +1 -1
  154. package/js/api/resources/TaxDeadline.js +30 -0
  155. package/js/api/resources/TaxDeadline.js.map +1 -0
  156. package/js/api/resources.js +4 -1
  157. package/js/api/resources.js.map +1 -1
  158. package/js/types/Enum/AccountingFileType.js +15 -0
  159. package/js/types/Enum/AccountingFileType.js.map +1 -0
  160. package/js/types/Enum/BalanceSheet.js +20 -0
  161. package/js/types/Enum/BalanceSheet.js.map +1 -1
  162. package/js/types/Enum/Channel.js +12 -0
  163. package/js/types/Enum/Channel.js.map +1 -0
  164. package/js/types/Enum/Comment.js +25 -0
  165. package/js/types/Enum/Comment.js.map +1 -0
  166. package/js/types/Enum/FieldSocietyStat.js +16 -0
  167. package/js/types/Enum/FieldSocietyStat.js.map +1 -0
  168. package/js/types/Enum/FileType.js +113 -0
  169. package/js/types/Enum/FileType.js.map +1 -0
  170. package/js/types/Enum/Notification.js +12 -0
  171. package/js/types/Enum/Notification.js.map +1 -0
  172. package/js/types/Enum/Prestation.js +14 -0
  173. package/js/types/Enum/Prestation.js.map +1 -0
  174. package/js/types/Enum/Supervision.js +17 -0
  175. package/js/types/Enum/Supervision.js.map +1 -0
  176. package/js/types/Interface/api/cerfa/CreateCerfa.js +4 -0
  177. package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  178. package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js +4 -0
  179. package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
  180. package/js/types/Interface/api/{shopify/ImportInvoicesShopify.js → prestashop/InvoicesPrestashop.js} +8 -8
  181. package/js/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -0
  182. package/js/types/Interface/api/prestashop/PSAddress.js +6 -0
  183. package/js/types/Interface/api/prestashop/PSAddress.js.map +1 -0
  184. package/js/types/Interface/api/prestashop/PSCountry.js +6 -0
  185. package/js/types/Interface/api/prestashop/PSCountry.js.map +1 -0
  186. package/js/types/Interface/api/prestashop/PSObject.js +6 -0
  187. package/js/types/Interface/api/prestashop/PSObject.js.map +1 -0
  188. package/js/types/Interface/api/prestashop/PSOrder.js +6 -0
  189. package/js/types/Interface/api/prestashop/PSOrder.js.map +1 -0
  190. package/js/types/Interface/api/prestashop/PSOrderRow.js +6 -0
  191. package/js/types/Interface/api/prestashop/PSOrderRow.js.map +1 -0
  192. package/js/types/Interface/api/shopify/InvoicesShopify.js +33 -0
  193. package/js/types/Interface/api/shopify/InvoicesShopify.js.map +1 -0
  194. package/js/types/Interface/api/society/CreateSociety.js +8 -0
  195. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  196. package/js/types/Interface/api/society/ReadSociety.js +6 -0
  197. package/js/types/Interface/api/society/ReadSociety.js.map +1 -0
  198. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +121 -0
  199. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -0
  200. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js +26 -0
  201. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -0
  202. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js +33 -0
  203. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -0
  204. package/js/types/Interface/api/woocommerce/WCBilling.js +6 -0
  205. package/js/types/Interface/api/woocommerce/WCBilling.js.map +1 -0
  206. package/js/types/Interface/api/woocommerce/WCLineItem.js +6 -0
  207. package/js/types/Interface/api/woocommerce/WCLineItem.js.map +1 -0
  208. package/js/types/Interface/api/woocommerce/WCLinks.js +6 -0
  209. package/js/types/Interface/api/woocommerce/WCLinks.js.map +1 -0
  210. package/js/types/Interface/api/woocommerce/WCMetaData.js +6 -0
  211. package/js/types/Interface/api/woocommerce/WCMetaData.js.map +1 -0
  212. package/js/types/Interface/api/woocommerce/WCOrder.js +6 -0
  213. package/js/types/Interface/api/woocommerce/WCOrder.js.map +1 -0
  214. package/js/types/Interface/api/woocommerce/WCSelf.js +6 -0
  215. package/js/types/Interface/api/woocommerce/WCSelf.js.map +1 -0
  216. package/js/types/Interface/api/woocommerce/WCShiping.js +6 -0
  217. package/js/types/Interface/api/woocommerce/WCShiping.js.map +1 -0
  218. package/js/types/Interface/api/woocommerce/WCShippingLine.js +6 -0
  219. package/js/types/Interface/api/woocommerce/WCShippingLine.js.map +1 -0
  220. package/js/types/Interface/api/woocommerce/WCTaxes.js +6 -0
  221. package/js/types/Interface/api/woocommerce/WCTaxes.js.map +1 -0
  222. package/js/types/index.js +255 -3
  223. package/js/types/index.js.map +1 -1
  224. package/package.json +1 -1
  225. package/ts/api/resources/TaxDeadline.ts +20 -0
  226. package/ts/api/resources.ts +2 -0
  227. package/ts/types/Enum/AccountingFileType.ts +7 -0
  228. package/ts/types/Enum/BalanceSheet.ts +18 -0
  229. package/ts/types/Enum/Channel.ts +4 -0
  230. package/ts/types/Enum/Comment.ts +17 -0
  231. package/ts/types/Enum/FieldSocietyStat.ts +8 -0
  232. package/ts/types/Enum/FileType.ts +107 -0
  233. package/ts/types/Enum/Notification.ts +4 -0
  234. package/ts/types/Enum/Prestation.ts +6 -0
  235. package/ts/types/Enum/Supervision.ts +9 -0
  236. package/ts/types/Interface/api/cerfa/CreateCerfa.ts +8 -0
  237. package/ts/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.ts +3 -0
  238. package/ts/types/Interface/api/{shopify/ImportInvoicesShopify.ts → prestashop/InvoicesPrestashop.ts} +1 -1
  239. package/ts/types/Interface/api/prestashop/PSAddress.ts +26 -0
  240. package/ts/types/Interface/api/prestashop/PSCountry.ts +15 -0
  241. package/ts/types/Interface/api/prestashop/PSObject.ts +3 -0
  242. package/ts/types/Interface/api/prestashop/PSOrder.ts +54 -0
  243. package/ts/types/Interface/api/prestashop/PSOrderRow.ts +16 -0
  244. package/ts/types/Interface/api/shopify/InvoicesShopify.ts +12 -0
  245. package/ts/types/Interface/api/society/CreateSociety.ts +12 -0
  246. package/ts/types/Interface/api/society/ReadSociety.ts +7 -0
  247. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +69 -0
  248. package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +73 -0
  249. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +12 -0
  250. package/ts/types/Interface/api/woocommerce/WCBilling.ts +13 -0
  251. package/ts/types/Interface/api/woocommerce/WCLineItem.ts +18 -0
  252. package/ts/types/Interface/api/woocommerce/WCLinks.ts +7 -0
  253. package/ts/types/Interface/api/woocommerce/WCMetaData.ts +5 -0
  254. package/ts/types/Interface/api/woocommerce/WCOrder.ts +50 -0
  255. package/ts/types/Interface/api/woocommerce/WCSelf.ts +3 -0
  256. package/ts/types/Interface/api/woocommerce/WCShiping.ts +12 -0
  257. package/ts/types/Interface/api/woocommerce/WCShippingLine.ts +12 -0
  258. package/ts/types/Interface/api/woocommerce/WCTaxes.ts +9 -0
  259. package/ts/types/Interface/models/ICustomerTva.ts +1 -1
  260. package/ts/types/Interface/models/IPrestation.ts +2 -2
  261. package/ts/types/Interface/models/ISociety.ts +9 -3
  262. package/ts/types/Interface/models/ISocietyStat.ts +2 -2
  263. package/ts/types/Interface/models/ISupervision.ts +2 -0
  264. package/ts/types/index.ts +22 -1
  265. package/es/types/Interface/api/shopify/ImportInvoicesShopify.d.ts +0 -7
  266. package/es/types/Interface/api/shopify/ImportInvoicesShopify.d.ts.map +0 -1
  267. package/es/types/Interface/api/shopify/ImportInvoicesShopify.js.map +0 -1
  268. package/js/types/Interface/api/shopify/ImportInvoicesShopify.js.map +0 -1
@@ -0,0 +1,8 @@
1
+ export enum FieldSocietyStat {
2
+ PERCENT_ANNOTED_TRANSACTION = 1,
3
+ REAL_TORNOVER = 2,
4
+ FILL = 3,
5
+ TRANSACTION_COUNT = 4,
6
+ TRANSACTION_ANNOTED_COUNT = 5,
7
+ TRANSACTION_PERCENT_REVISED_COUNT = 6,
8
+ }
@@ -0,0 +1,107 @@
1
+ export const FileType = {
2
+ PDF: {
3
+ id: 1,
4
+ name: 'application/pdf',
5
+ extension: 'pdf',
6
+ },
7
+ DOC: {
8
+ id: 2,
9
+ name: 'application/msword',
10
+ extension: 'doc',
11
+ },
12
+ DOCX: {
13
+ id: 3,
14
+ name: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
15
+ extension: 'docx',
16
+ },
17
+ ODT: {
18
+ id: 4,
19
+ name: 'application/vnd.oasis.opendocument.text',
20
+ extension: 'odt',
21
+ },
22
+ PNG: {
23
+ id: 5,
24
+ name: 'image/png',
25
+ extension: 'png',
26
+ },
27
+ JPEG: {
28
+ id: 6,
29
+ name: 'image/jpeg',
30
+ extension: 'jpg',
31
+ },
32
+ XPNG: {
33
+ id: 7,
34
+ name: 'image/x-png',
35
+ extension: 'png',
36
+ },
37
+ XLS: {
38
+ id: 8,
39
+ name: 'application/vnd.ms-excel',
40
+ extension: 'xls',
41
+ },
42
+ ZIP: {
43
+ id: 9,
44
+ name: 'application/zip',
45
+ extension: 'zip',
46
+ },
47
+ SEVENZIP: {
48
+ id: 10,
49
+ name: 'application/x-7z-compressed',
50
+ extension: '7Z',
51
+ },
52
+ XLSX: {
53
+ id: 11,
54
+ name: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
55
+ extension: 'xlsx',
56
+ },
57
+ RAR: {
58
+ id: 12,
59
+ name: 'application/x-rar-compressed',
60
+ extension: 'rar',
61
+ },
62
+ CSV: {
63
+ id: 13,
64
+ name: 'text/csv',
65
+ extension: 'csv',
66
+ },
67
+ TXT: {
68
+ id: 14,
69
+ name: 'text/plain',
70
+ extension: 'txt',
71
+ },
72
+ ODS: {
73
+ id: 15,
74
+ name: 'application/vnd.oasis.opendocument.spreadsheet',
75
+ extension: 'ods',
76
+ },
77
+ ODP: {
78
+ id: 16,
79
+ name: 'application/vnd.oasis.opendocument.presentation',
80
+ extension: 'odp',
81
+ },
82
+ TIFF: {
83
+ id: 17,
84
+ name: 'image/tiff',
85
+ extension: 'tiff',
86
+ },
87
+ VCF: {
88
+ id: 18,
89
+ name: 'text/x-vcard',
90
+ extension: 'VCF',
91
+ },
92
+ JPG: {
93
+ id: 19,
94
+ name: 'image/jpg',
95
+ extension: 'jpg',
96
+ },
97
+ SVG: {
98
+ id: 20,
99
+ name: 'image/svg+xml',
100
+ extension: 'svg',
101
+ },
102
+ XML: {
103
+ id: 21,
104
+ name: 'text/xml',
105
+ extension: 'xml',
106
+ },
107
+ };
@@ -0,0 +1,4 @@
1
+ export enum NotificationCode {
2
+ UNPAID_OR_WAITING_END = 9,
3
+ ASK_TO_CHANGE_COMPTA_TYPE = 33,
4
+ }
@@ -0,0 +1,6 @@
1
+ export enum Prestation {
2
+ TELEDECLARATION = 13,
3
+ CESSION_ACTIONS = 51,
4
+ ATTESTATION_NON_REMUNERATION = 91,
5
+ COMPTA_MICRO = 185,
6
+ }
@@ -0,0 +1,9 @@
1
+ export enum Supervision {
2
+ WAITING = 1,
3
+ SIGNED = 3,
4
+ TO_ATTEST = 6,
5
+ ATTESTED = 7,
6
+ ATTEST_REFUSED = 8,
7
+ ATTEST_WITH_OBSERVATIONS = 9,
8
+ TO_REVIEW = 10,
9
+ }
@@ -92,6 +92,8 @@ export interface Cerfa2035Society {
92
92
  partnersCount?: number;
93
93
  determinedResult?: DeterminedResult; // Résultat déterminé
94
94
  accountingKept: AccountingKept; // Comptabilité tenue
95
+ withTax: boolean;
96
+ withoutTax: boolean;
95
97
  accreditedOrganization?: AccreditedOrganization // Si vous êtes adhérent d'un organisme agréé (association ou organisme mixte) ou client d'un viseur fiscal
96
98
  address: string;
97
99
  zipCode: string;
@@ -279,6 +281,12 @@ export class ParamsGenerate2035 {
279
281
  @ApiProperty()
280
282
  isNil: boolean; // Néant
281
283
 
284
+ @ApiPropertyOptional()
285
+ withoutTax?: boolean;
286
+
287
+ @ApiPropertyOptional()
288
+ withTax?: boolean;
289
+
282
290
  @ApiPropertyOptional()
283
291
  disbursements?: number | null; // Débours payés pour le compte des clients
284
292
 
@@ -20,4 +20,7 @@ export class CreateCustomerProviderOperation {
20
20
 
21
21
  @ApiPropertyOptional()
22
22
  isImmobilization?: boolean;
23
+
24
+ @ApiPropertyOptional({ description: 'Montant hors taxe du prochain exercice' })
25
+ amountWithoutTaxesForNextExercice?: number;
23
26
  }
@@ -1,6 +1,6 @@
1
1
  import { ApiPropertyOptional } from '../../../../utils';
2
2
 
3
- export class ImportInvoicesShopify {
3
+ export class InvoicesPrestashop {
4
4
  @ApiPropertyOptional()
5
5
  order: string;
6
6
  @ApiPropertyOptional()
@@ -0,0 +1,26 @@
1
+ import { PSObject } from './PSObject';
2
+
3
+ export interface PSAddress extends PSObject {
4
+ id_customer?: string | null
5
+ id_manufacturer?: string | null
6
+ id_supplier?: string | null
7
+ id_warehouse?: string | null
8
+ id_country?: string | null
9
+ id_state?: string | null
10
+ alias?: string | null
11
+ company?: string | null
12
+ lastname?: string | null
13
+ firstname?: string | null
14
+ vat_number?: string | null
15
+ address1?: string | null
16
+ address2?: string | null
17
+ postcode?: string | null
18
+ city?: string | null
19
+ other?: string | null
20
+ phone?: string | null
21
+ phone_mobile?: string | null
22
+ dni?: string | null
23
+ deleted?: string | null
24
+ date_add?: string | null
25
+ date_upd?: string | null
26
+ }
@@ -0,0 +1,15 @@
1
+ import { PSObject } from './PSObject';
2
+
3
+ export interface PSCountry extends PSObject {
4
+ id_zone?: string | null
5
+ id_currency?: string | null
6
+ call_prefix?: string | null
7
+ iso_code?: string | null
8
+ active?: string | null
9
+ contains_states?: string | null
10
+ need_identification_number?: string | null
11
+ need_zip_code?: string | null
12
+ zip_code_format?: string | null
13
+ display_tax_label?: string | null
14
+ name?: string | null
15
+ }
@@ -0,0 +1,3 @@
1
+ export interface PSObject {
2
+ id: number | null
3
+ }
@@ -0,0 +1,54 @@
1
+ import { PSObject } from './PSObject';
2
+ import { PSOrderRow } from './PSOrderRow';
3
+
4
+ export interface PSOrder extends PSObject {
5
+ id_address_delivery?: string | null
6
+ id_address_invoice?: string | null
7
+ id_cart?: string | null
8
+ id_currency?: string | null
9
+ id_lang?: string | null
10
+ id_customer?: string | null
11
+ id_carrier?: string | null
12
+ current_state?: string | null
13
+ module?: string | null
14
+ invoice_number?: string | null
15
+ invoice_date?: string | null
16
+ delivery_number?: string | null
17
+ delivery_date?: string | null
18
+ valid?: string | null
19
+ date_add?: string | null
20
+ date_upd?: string | null
21
+ shipping_number?: string | null
22
+ id_shop_group?: string | null
23
+ id_shop?: string | null
24
+ secure_key?: string | null
25
+ payment?: string | null
26
+ recyclable?: string | null
27
+ gift?: string | null
28
+ gift_message?: string | null
29
+ mobile_theme?: string | null
30
+ total_discounts?: string | null
31
+ total_discounts_tax_incl?: string | null
32
+ total_discounts_tax_excl?: string | null
33
+ total_paid?: string | null
34
+ total_paid_tax_incl?: string | null
35
+ total_paid_tax_excl?: string | null
36
+ total_paid_real?: string | null
37
+ total_products?: string | null
38
+ total_products_wt?: string | null
39
+ total_shipping?: string | null
40
+ total_shipping_tax_incl?: string | null
41
+ total_shipping_tax_excl?: string | null
42
+ carrier_tax_rate?: string | null
43
+ total_wrapping?: string | null
44
+ total_wrapping_tax_incl?: string | null
45
+ total_wrapping_tax_excl?: string | null
46
+ round_mode?: string | null
47
+ round_type?: string | null
48
+ conversion_rate?: string | null
49
+ reference?: string | null
50
+
51
+ associations?: {
52
+ order_rows?: PSOrderRow[]
53
+ }
54
+ }
@@ -0,0 +1,16 @@
1
+ import { PSObject } from './PSObject';
2
+
3
+ export interface PSOrderRow extends PSObject {
4
+ product_id: string,
5
+ product_attribute_id: string,
6
+ product_quantity: string,
7
+ product_name: string,
8
+ product_reference: string,
9
+ product_ean13: string,
10
+ product_isbn: string,
11
+ product_upc: string,
12
+ product_price: string,
13
+ unit_price_tax_incl: string,
14
+ unit_price_tax_excl: string,
15
+ id_customization: string
16
+ }
@@ -0,0 +1,12 @@
1
+ import { ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class InvoicesShopify {
4
+ @ApiPropertyOptional()
5
+ order: string;
6
+ @ApiPropertyOptional()
7
+ limit: number;
8
+ @ApiPropertyOptional()
9
+ ids: number[];
10
+ @ApiPropertyOptional()
11
+ idSociety: number;
12
+ }
@@ -45,4 +45,16 @@ export class CreateSociety {
45
45
 
46
46
  @ApiPropertyOptional()
47
47
  analyticsUtm?: AnalticsUtm;
48
+
49
+ @ApiPropertyOptional()
50
+ confirmedAt?: string;
51
+
52
+ @ApiPropertyOptional()
53
+ idFiscalRegime?: number;
54
+
55
+ @ApiPropertyOptional()
56
+ profitsType?: number;
57
+
58
+ @ApiPropertyOptional()
59
+ idTaxSystem?: number;
48
60
  }
@@ -0,0 +1,7 @@
1
+ export type UnpaidDetail = {
2
+ datePayment: Date,
3
+ amount: number,
4
+ idExercice: number,
5
+ dateStart: Date,
6
+ dateEnd: Date,
7
+ };
@@ -0,0 +1,69 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+ import { VatRegime } from '../../..';
3
+ import { ComptaType } from '../../../Enum/ComptaType';
4
+ import { TaxSystem } from '../../../Enum/TaxSystem';
5
+ import { BalanceSheetState } from '../../../Enum/BalanceSheet';
6
+
7
+ export class QueryTaxDeadline {
8
+ @ApiProperty({ description: 'Identifiant du collaborateur' })
9
+ idUser: number;
10
+
11
+ @ApiPropertyOptional({ description: 'Chiffre d\'affaires prévisionnel minimum' })
12
+ minimalTurnover?: number;
13
+
14
+ @ApiPropertyOptional({ description: 'Chiffre d\'affaires prévisionnel maximum' })
15
+ maximalTurnover?: number;
16
+
17
+ @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })
18
+ idVatRegime?: VatRegime | VatRegime[];
19
+
20
+ @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })
21
+ idComptaType?: ComptaType | ComptaType[];
22
+
23
+ @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })
24
+ idTaxSystem?: TaxSystem | TaxSystem[];
25
+
26
+ @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })
27
+ idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];
28
+
29
+ @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })
30
+ closingDate?: string;
31
+
32
+ @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })
33
+ year?: string;
34
+
35
+ @ApiPropertyOptional()
36
+ search?: string;
37
+ }
38
+
39
+ export class QueryTaxDeadlineStatistics {
40
+ @ApiProperty({ description: 'Identifiant du collaborateur' })
41
+ idUser: number;
42
+
43
+ @ApiPropertyOptional({ description: 'Chiffre d\'affaires prévisionnel minimum' })
44
+ minimalTurnover?: number;
45
+
46
+ @ApiPropertyOptional({ description: 'Chiffre d\'affaires prévisionnel maximum' })
47
+ maximalTurnover?: number;
48
+
49
+ @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })
50
+ idVatRegime?: VatRegime | VatRegime[];
51
+
52
+ @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })
53
+ idComptaType?: ComptaType | ComptaType[];
54
+
55
+ @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })
56
+ idTaxSystem?: TaxSystem | TaxSystem[];
57
+
58
+ @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })
59
+ idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];
60
+
61
+ @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })
62
+ closingDate?: string;
63
+
64
+ @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })
65
+ year?: string;
66
+
67
+ @ApiPropertyOptional()
68
+ search?: string;
69
+ }
@@ -0,0 +1,73 @@
1
+ import { IExercice } from '../../models/IExercice';
2
+ import { ComptaType } from '../../../Enum/ComptaType';
3
+ import { VatRegime } from '../../../Enum/VatRegime';
4
+ import { IBalanceSheet } from '../../models/IBalanceSheet';
5
+ import { ISupervision } from '../../models/ISupervision';
6
+ import { IExerciceDetail } from '../../models/IExerciceDetail';
7
+ import { IFile } from '../../models/IFile';
8
+ import { IUser } from '../../models/IUser';
9
+ import { ITerminationList } from '../../models/ITerminationList';
10
+ import { UnpaidDetail } from '../../..';
11
+ import { ICustomerTva } from '../../models/ICustomerTva';
12
+ import { ISupervisionPendingPoint } from '../../models/ISupervisionPendingPoint';
13
+
14
+ export class ReadTaxDeadline {
15
+ society: {
16
+ id?: number;
17
+ name: string | null;
18
+ idComptaType: ComptaType | null;
19
+ idVatRegime: VatRegime | null;
20
+ isWaitingEnd: boolean | null;
21
+ idTypeBrand: number | null;
22
+ vatUploadDay: number | null;
23
+ terminationsList?: ITerminationList | null;
24
+ unpaid: number | null;
25
+ unpaidDetails: UnpaidDetail[];
26
+ isLate: boolean;
27
+ };
28
+ exercice: IExercice;
29
+ exercices: IExercice[];
30
+ exerciceDetails: IExerciceDetail | null;
31
+ customersVat: ICustomerTva[];
32
+ commercial: IUser | null;
33
+ balanceSheet: IBalanceSheet | null;
34
+ supervision: ISupervision | null;
35
+ pendingPoints: ISupervisionPendingPoint[] | null;
36
+ letter: IFile | null;
37
+ prestations: PrestationTaxDeadline[];
38
+ activePrestationsComplementary: ComplementaryPrestationTaxDeadline[];
39
+ statistics: {
40
+ transactions: {
41
+ annoted: number;
42
+ total: number;
43
+ };
44
+ entries: {
45
+ revised: number;
46
+ total: number;
47
+ }
48
+ };
49
+ }
50
+
51
+ export class StateDetails {
52
+ date: string; total: number;
53
+ }
54
+ export class ReadTaxDeadlineStatistics {
55
+ todo: { total: number, details: StateDetails[] };
56
+ accepted: { total: number, details: StateDetails[] };
57
+ }
58
+
59
+ export class ComplementaryPrestationTaxDeadline {
60
+ id: number;
61
+ signed: boolean;
62
+ paid: boolean;
63
+ name: string;
64
+ isBack: boolean;
65
+ }
66
+
67
+ export class PrestationTaxDeadline {
68
+ id: number;
69
+ name: string;
70
+ amount: number;
71
+ paid: number;
72
+ isBack: boolean;
73
+ }
@@ -0,0 +1,12 @@
1
+ import { ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class InvoicesWoocommerce {
4
+ @ApiPropertyOptional()
5
+ order: string;
6
+ @ApiPropertyOptional()
7
+ limit: number;
8
+ @ApiPropertyOptional()
9
+ ids: number[];
10
+ @ApiPropertyOptional()
11
+ idSociety: number;
12
+ }
@@ -0,0 +1,13 @@
1
+ export interface WCBilling {
2
+ first_name: string;
3
+ last_name: string;
4
+ company: string;
5
+ address_1: string;
6
+ address_2: string;
7
+ city: string;
8
+ state: string;
9
+ postcode: string;
10
+ country: string;
11
+ email: string;
12
+ phone: string;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { WCMetaData } from './WCMetaData';
2
+
3
+ export interface WCLineItem {
4
+ id: number;
5
+ name: string;
6
+ product_id: number;
7
+ variation_id: number;
8
+ quantity: number;
9
+ tax_class: string;
10
+ subtotal: string;
11
+ subtotal_tax: string;
12
+ total: string;
13
+ total_tax: string;
14
+ taxes: any[];
15
+ meta_data: WCMetaData[];
16
+ sku: string;
17
+ price: number;
18
+ }
@@ -0,0 +1,7 @@
1
+ import { WCSelf } from './WCSelf';
2
+
3
+ export interface WCLinks {
4
+ self: WCSelf[];
5
+ collection: WCSelf[]; // WCCollection[];
6
+ customer: WCSelf[];// Up[];
7
+ }
@@ -0,0 +1,5 @@
1
+ export interface WCMetaData {
2
+ id: number;
3
+ key: string;
4
+ value: string;
5
+ }
@@ -0,0 +1,50 @@
1
+ import { WCBilling } from './WCBilling';
2
+ import { WCLineItem } from './WCLineItem';
3
+ import { WCLinks } from './WCLinks';
4
+ import { WCShipping } from './WCShiping';
5
+ import { WCShippingLine } from './WCShippingLine';
6
+
7
+ export interface WCOrder {
8
+ id: number;
9
+ parent_id: number;
10
+ number: string;
11
+ order_key: string;
12
+ created_via: string;
13
+ version: string;
14
+ status: string;
15
+ currency: string;
16
+ date_created: Date;
17
+ date_created_gmt: Date;
18
+ date_modified: Date;
19
+ date_modified_gmt: Date;
20
+ discount_total: string;
21
+ discount_tax: string;
22
+ shipping_total: string;
23
+ shipping_tax: string;
24
+ cart_tax: string;
25
+ total: string;
26
+ total_tax: string;
27
+ prices_include_tax: boolean;
28
+ customer_id: number;
29
+ customer_ip_address: string;
30
+ customer_user_agent: string;
31
+ customer_note: string;
32
+ billing: WCBilling;
33
+ shipping: WCShipping;
34
+ payment_method: string;
35
+ payment_method_title: string;
36
+ transaction_id: string;
37
+ date_paid?: any;
38
+ date_paid_gmt?: any;
39
+ date_completed?: any;
40
+ date_completed_gmt?: any;
41
+ cart_hash: string;
42
+ meta_data: any[];
43
+ line_items: WCLineItem[];
44
+ tax_lines: any[];
45
+ shipping_lines: WCShippingLine[];
46
+ fee_lines: any[];
47
+ coupon_lines: any[];
48
+ refunds: any[];
49
+ _links: WCLinks;
50
+ }
@@ -0,0 +1,3 @@
1
+ export interface WCSelf {
2
+ href: string;
3
+ }
@@ -0,0 +1,12 @@
1
+ export interface WCShipping {
2
+ first_name: string;
3
+ last_name: string;
4
+ company: string;
5
+ address_1: string;
6
+ address_2: string;
7
+ city: string;
8
+ state: string;
9
+ postcode: string;
10
+ country: string;
11
+ email: string;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { WCTaxe } from './WCTaxes';
2
+
3
+ export interface WCShippingLine {
4
+ id: number;
5
+ method_title: string;
6
+ method_id: string;
7
+ instance_id: string;
8
+ total: string;
9
+ total_tax: string;
10
+ taxes: WCTaxe[];
11
+ meta_data: any[];
12
+ }
@@ -0,0 +1,9 @@
1
+ export interface WCTaxe {
2
+ id:number;
3
+ method_title:string;
4
+ method_id: string;
5
+ total:string;
6
+ total_tax: string;
7
+ taxes: any[];
8
+ meta_data: any[]
9
+ }
@@ -12,7 +12,7 @@ export interface ICustomerTva {
12
12
  state: number;
13
13
  status: number | null;
14
14
  idExercice: number;
15
- dateTva: Date | null;
15
+ vatDate: Date | null;
16
16
  isCA12: boolean;
17
17
  amountBaseTva: number | null;
18
18
  comment: string | null;
@@ -33,7 +33,7 @@ export interface IPrestation {
33
33
  inProgress: number | null;
34
34
  idSociety: number;
35
35
  idPrestationList: number;
36
- idPrestationCompl: number | null;
36
+ idPrestationComplementary: number | null;
37
37
  gestionJuridique: boolean;
38
38
  idPrestationSocial: number | null;
39
39
  idPrestationJuridique: number | null;
@@ -46,7 +46,7 @@ export interface IPrestation {
46
46
  exercices: IExercice[];
47
47
  prestationsPayments: IPayment[];
48
48
  prestationsList: IPrestationList;
49
- prestationsCompl: IPrestationComplementary;
49
+ prestationsComplementary: IPrestationComplementary;
50
50
  prestationJuridique: IPrestation;
51
51
  prestationSocial: IPrestation;
52
52
  prestationCreation: IPrestation;