@silexpert/core 0.4.43 → 0.4.46

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 (267) hide show
  1. package/es/api/resources/dashboard.d.ts +6 -3
  2. package/es/api/resources/dashboard.d.ts.map +1 -1
  3. package/es/api/resources/dashboard.js +12 -2
  4. package/es/api/resources/dashboard.js.map +1 -1
  5. package/es/types/Enum/ShopifyFinancialStatus.d.ts +2 -0
  6. package/es/types/Enum/ShopifyFinancialStatus.d.ts.map +1 -0
  7. package/es/types/Enum/ShopifyFinancialStatus.js +2 -0
  8. package/es/types/Enum/ShopifyFinancialStatus.js.map +1 -0
  9. package/es/types/Enum/StockType.js +1 -1
  10. package/es/types/Enum/StockType.js.map +1 -1
  11. package/es/types/Enum/TransactionKind.d.ts +2 -0
  12. package/es/types/Enum/TransactionKind.d.ts.map +1 -0
  13. package/es/types/Enum/TransactionKind.js +2 -0
  14. package/es/types/Enum/TransactionKind.js.map +1 -0
  15. package/es/types/Enum/TransactionStatus.d.ts +2 -0
  16. package/es/types/Enum/TransactionStatus.d.ts.map +1 -0
  17. package/es/types/Enum/TransactionStatus.js +2 -0
  18. package/es/types/Enum/TransactionStatus.js.map +1 -0
  19. package/es/types/Interface/api/crisp/GetCrisp.d.ts +42 -0
  20. package/es/types/Interface/api/crisp/GetCrisp.d.ts.map +1 -0
  21. package/es/types/Interface/api/crisp/GetCrisp.js +2 -0
  22. package/es/types/Interface/api/crisp/GetCrisp.js.map +1 -0
  23. package/es/types/Interface/api/dashboard/QueryTopBuys.d.ts +5 -0
  24. package/es/types/Interface/api/dashboard/QueryTopBuys.d.ts.map +1 -0
  25. package/es/types/Interface/api/dashboard/QueryTopBuys.js +21 -0
  26. package/es/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -0
  27. package/es/types/Interface/api/dashboard/QueryTopProviders.d.ts +5 -0
  28. package/es/types/Interface/api/dashboard/QueryTopProviders.d.ts.map +1 -0
  29. package/es/types/Interface/api/dashboard/QueryTopProviders.js +21 -0
  30. package/es/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -0
  31. package/es/types/Interface/api/dashboard/QueryVat.d.ts +5 -0
  32. package/es/types/Interface/api/dashboard/QueryVat.d.ts.map +1 -0
  33. package/es/types/Interface/api/dashboard/QueryVat.js +21 -0
  34. package/es/types/Interface/api/dashboard/QueryVat.js.map +1 -0
  35. package/es/types/Interface/api/dashboard/{ResultBalanceBankAccount.d.ts → ReadBalanceBankAccount.d.ts} +2 -2
  36. package/es/types/Interface/api/dashboard/ReadBalanceBankAccount.d.ts.map +1 -0
  37. package/es/types/Interface/api/dashboard/ReadBalanceBankAccount.js +5 -0
  38. package/es/types/Interface/api/dashboard/ReadBalanceBankAccount.js.map +1 -0
  39. package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts +6 -0
  40. package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts.map +1 -0
  41. package/es/types/Interface/api/dashboard/ReadTopBuys.js +3 -0
  42. package/es/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -0
  43. package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts +6 -0
  44. package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts.map +1 -0
  45. package/es/types/Interface/api/dashboard/ReadTopProviders.js +3 -0
  46. package/es/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -0
  47. package/es/types/Interface/api/dashboard/{ResultTurnOverProfitAndLoss.d.ts → ReadTurnOverProfitAndLoss.d.ts} +2 -2
  48. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.d.ts.map +1 -0
  49. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js +7 -0
  50. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js.map +1 -0
  51. package/es/types/Interface/api/dashboard/ReadVat.d.ts +11 -0
  52. package/es/types/Interface/api/dashboard/ReadVat.d.ts.map +1 -0
  53. package/es/types/Interface/api/dashboard/ReadVat.js +5 -0
  54. package/es/types/Interface/api/dashboard/ReadVat.js.map +1 -0
  55. package/es/types/Interface/api/pdf/BillingDocumentData.d.ts +22 -20
  56. package/es/types/Interface/api/pdf/BillingDocumentData.d.ts.map +1 -1
  57. package/es/types/Interface/api/pdf/BillingDocumentData.js.map +1 -1
  58. package/es/types/Interface/api/shopify/ImportInvoicesShopify.d.ts +5 -0
  59. package/es/types/Interface/api/shopify/ImportInvoicesShopify.d.ts.map +1 -0
  60. package/es/types/Interface/api/shopify/ImportInvoicesShopify.js +21 -0
  61. package/es/types/Interface/api/shopify/ImportInvoicesShopify.js.map +1 -0
  62. package/es/types/Interface/api/shopify/ShopifyOrder.d.ts +366 -0
  63. package/es/types/Interface/api/shopify/ShopifyOrder.d.ts.map +1 -0
  64. package/es/types/Interface/api/shopify/ShopifyOrder.js +2 -0
  65. package/es/types/Interface/api/shopify/ShopifyOrder.js.map +1 -0
  66. package/es/types/Interface/api/shopify/address.d.ts +72 -0
  67. package/es/types/Interface/api/shopify/address.d.ts.map +1 -0
  68. package/es/types/Interface/api/shopify/address.js +2 -0
  69. package/es/types/Interface/api/shopify/address.js.map +1 -0
  70. package/es/types/Interface/api/shopify/base.d.ts +11 -0
  71. package/es/types/Interface/api/shopify/base.d.ts.map +1 -0
  72. package/es/types/Interface/api/shopify/base.js +2 -0
  73. package/es/types/Interface/api/shopify/base.js.map +1 -0
  74. package/es/types/Interface/api/shopify/client_details.d.ts +28 -0
  75. package/es/types/Interface/api/shopify/client_details.d.ts.map +1 -0
  76. package/es/types/Interface/api/shopify/client_details.js +2 -0
  77. package/es/types/Interface/api/shopify/client_details.js.map +1 -0
  78. package/es/types/Interface/api/shopify/customer.d.ts +99 -0
  79. package/es/types/Interface/api/shopify/customer.d.ts.map +1 -0
  80. package/es/types/Interface/api/shopify/customer.js +2 -0
  81. package/es/types/Interface/api/shopify/customer.js.map +1 -0
  82. package/es/types/Interface/api/shopify/discount_allocation.d.ts +17 -0
  83. package/es/types/Interface/api/shopify/discount_allocation.d.ts.map +1 -0
  84. package/es/types/Interface/api/shopify/discount_allocation.js +2 -0
  85. package/es/types/Interface/api/shopify/discount_allocation.js.map +1 -0
  86. package/es/types/Interface/api/shopify/discount_application.d.ts +74 -0
  87. package/es/types/Interface/api/shopify/discount_application.d.ts.map +1 -0
  88. package/es/types/Interface/api/shopify/discount_application.js +2 -0
  89. package/es/types/Interface/api/shopify/discount_application.js.map +1 -0
  90. package/es/types/Interface/api/shopify/discount_code.d.ts +16 -0
  91. package/es/types/Interface/api/shopify/discount_code.d.ts.map +1 -0
  92. package/es/types/Interface/api/shopify/discount_code.js +2 -0
  93. package/es/types/Interface/api/shopify/discount_code.js.map +1 -0
  94. package/es/types/Interface/api/shopify/fulfillment.d.ts +93 -0
  95. package/es/types/Interface/api/shopify/fulfillment.d.ts.map +1 -0
  96. package/es/types/Interface/api/shopify/fulfillment.js +2 -0
  97. package/es/types/Interface/api/shopify/fulfillment.js.map +1 -0
  98. package/es/types/Interface/api/shopify/line_item.d.ts +126 -0
  99. package/es/types/Interface/api/shopify/line_item.d.ts.map +1 -0
  100. package/es/types/Interface/api/shopify/line_item.js +2 -0
  101. package/es/types/Interface/api/shopify/line_item.js.map +1 -0
  102. package/es/types/Interface/api/shopify/line_item_property.d.ts +12 -0
  103. package/es/types/Interface/api/shopify/line_item_property.d.ts.map +1 -0
  104. package/es/types/Interface/api/shopify/line_item_property.js +2 -0
  105. package/es/types/Interface/api/shopify/line_item_property.js.map +1 -0
  106. package/es/types/Interface/api/shopify/location.d.ts +57 -0
  107. package/es/types/Interface/api/shopify/location.d.ts.map +1 -0
  108. package/es/types/Interface/api/shopify/location.js +2 -0
  109. package/es/types/Interface/api/shopify/location.js.map +1 -0
  110. package/es/types/Interface/api/shopify/note_attribute.d.ts +11 -0
  111. package/es/types/Interface/api/shopify/note_attribute.d.ts.map +1 -0
  112. package/es/types/Interface/api/shopify/note_attribute.js +2 -0
  113. package/es/types/Interface/api/shopify/note_attribute.js.map +1 -0
  114. package/es/types/Interface/api/shopify/payment_details.d.ts +9 -0
  115. package/es/types/Interface/api/shopify/payment_details.d.ts.map +1 -0
  116. package/es/types/Interface/api/shopify/payment_details.js +2 -0
  117. package/es/types/Interface/api/shopify/payment_details.js.map +1 -0
  118. package/es/types/Interface/api/shopify/price_set.d.ts +11 -0
  119. package/es/types/Interface/api/shopify/price_set.d.ts.map +1 -0
  120. package/es/types/Interface/api/shopify/price_set.js +2 -0
  121. package/es/types/Interface/api/shopify/price_set.js.map +1 -0
  122. package/es/types/Interface/api/shopify/refund.d.ts +140 -0
  123. package/es/types/Interface/api/shopify/refund.d.ts.map +1 -0
  124. package/es/types/Interface/api/shopify/refund.js +2 -0
  125. package/es/types/Interface/api/shopify/refund.js.map +1 -0
  126. package/es/types/Interface/api/shopify/shipping_line.d.ts +59 -0
  127. package/es/types/Interface/api/shopify/shipping_line.d.ts.map +1 -0
  128. package/es/types/Interface/api/shopify/shipping_line.js +2 -0
  129. package/es/types/Interface/api/shopify/shipping_line.js.map +1 -0
  130. package/es/types/Interface/api/shopify/tax_line.d.ts +22 -0
  131. package/es/types/Interface/api/shopify/tax_line.d.ts.map +1 -0
  132. package/es/types/Interface/api/shopify/tax_line.js +2 -0
  133. package/es/types/Interface/api/shopify/tax_line.js.map +1 -0
  134. package/es/types/Interface/api/shopify/transaction.d.ts +103 -0
  135. package/es/types/Interface/api/shopify/transaction.d.ts.map +1 -0
  136. package/es/types/Interface/api/shopify/transaction.js +2 -0
  137. package/es/types/Interface/api/shopify/transaction.js.map +1 -0
  138. package/es/types/Interface/models/IAccountingFile.d.ts +1 -1
  139. package/es/types/Interface/models/IAccountingFile.js.map +1 -1
  140. package/es/types/Interface/models/IEngagementAccountingFile.d.ts +1 -1
  141. package/es/types/Interface/models/IEngagementAccountingFile.js.map +1 -1
  142. package/es/types/Interface/models/ISocietyGescom.d.ts +29 -29
  143. package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  144. package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
  145. package/es/types/index.d.ts +12 -2
  146. package/es/types/index.d.ts.map +1 -1
  147. package/es/types/index.js +12 -2
  148. package/es/types/index.js.map +1 -1
  149. package/js/api/resources/dashboard.js +22 -2
  150. package/js/api/resources/dashboard.js.map +1 -1
  151. package/js/types/Enum/ShopifyFinancialStatus.js +6 -0
  152. package/js/types/Enum/ShopifyFinancialStatus.js.map +1 -0
  153. package/js/types/Enum/StockType.js +1 -1
  154. package/js/types/Enum/StockType.js.map +1 -1
  155. package/js/types/Enum/TransactionKind.js +6 -0
  156. package/js/types/Enum/TransactionKind.js.map +1 -0
  157. package/js/types/Enum/TransactionStatus.js +6 -0
  158. package/js/types/Enum/TransactionStatus.js.map +1 -0
  159. package/js/types/Interface/api/crisp/GetCrisp.js +6 -0
  160. package/js/types/Interface/api/crisp/GetCrisp.js.map +1 -0
  161. package/js/types/Interface/api/dashboard/QueryTopBuys.js +29 -0
  162. package/js/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -0
  163. package/js/types/Interface/api/dashboard/QueryTopProviders.js +29 -0
  164. package/js/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -0
  165. package/js/types/Interface/api/dashboard/QueryVat.js +29 -0
  166. package/js/types/Interface/api/dashboard/QueryVat.js.map +1 -0
  167. package/js/types/Interface/api/dashboard/ReadBalanceBankAccount.js +14 -0
  168. package/js/types/Interface/api/dashboard/ReadBalanceBankAccount.js.map +1 -0
  169. package/js/types/Interface/api/dashboard/ReadTopBuys.js +10 -0
  170. package/js/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -0
  171. package/js/types/Interface/api/dashboard/ReadTopProviders.js +10 -0
  172. package/js/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -0
  173. package/js/types/Interface/api/dashboard/{ResultTurnOverProfitAndLoss.js → ReadTurnOverProfitAndLoss.js} +3 -3
  174. package/js/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js.map +1 -0
  175. package/js/types/Interface/api/dashboard/ReadVat.js +14 -0
  176. package/js/types/Interface/api/dashboard/ReadVat.js.map +1 -0
  177. package/js/types/Interface/api/shopify/ImportInvoicesShopify.js +29 -0
  178. package/js/types/Interface/api/shopify/ImportInvoicesShopify.js.map +1 -0
  179. package/js/types/Interface/api/shopify/ShopifyOrder.js +6 -0
  180. package/js/types/Interface/api/shopify/ShopifyOrder.js.map +1 -0
  181. package/js/types/Interface/api/shopify/address.js +6 -0
  182. package/js/types/Interface/api/shopify/address.js.map +1 -0
  183. package/js/types/Interface/api/shopify/base.js +6 -0
  184. package/js/types/Interface/api/shopify/base.js.map +1 -0
  185. package/js/types/Interface/api/shopify/client_details.js +6 -0
  186. package/js/types/Interface/api/shopify/client_details.js.map +1 -0
  187. package/js/types/Interface/api/shopify/customer.js +6 -0
  188. package/js/types/Interface/api/shopify/customer.js.map +1 -0
  189. package/js/types/Interface/api/shopify/discount_allocation.js +6 -0
  190. package/js/types/Interface/api/shopify/discount_allocation.js.map +1 -0
  191. package/js/types/Interface/api/shopify/discount_application.js +6 -0
  192. package/js/types/Interface/api/shopify/discount_application.js.map +1 -0
  193. package/js/types/Interface/api/shopify/discount_code.js +6 -0
  194. package/js/types/Interface/api/shopify/discount_code.js.map +1 -0
  195. package/js/types/Interface/api/shopify/fulfillment.js +6 -0
  196. package/js/types/Interface/api/shopify/fulfillment.js.map +1 -0
  197. package/js/types/Interface/api/shopify/line_item.js +6 -0
  198. package/js/types/Interface/api/shopify/line_item.js.map +1 -0
  199. package/js/types/Interface/api/shopify/line_item_property.js +6 -0
  200. package/js/types/Interface/api/shopify/line_item_property.js.map +1 -0
  201. package/js/types/Interface/api/shopify/location.js +6 -0
  202. package/js/types/Interface/api/shopify/location.js.map +1 -0
  203. package/js/types/Interface/api/shopify/note_attribute.js +6 -0
  204. package/js/types/Interface/api/shopify/note_attribute.js.map +1 -0
  205. package/js/types/Interface/api/shopify/payment_details.js +6 -0
  206. package/js/types/Interface/api/shopify/payment_details.js.map +1 -0
  207. package/js/types/Interface/api/shopify/price_set.js +6 -0
  208. package/js/types/Interface/api/shopify/price_set.js.map +1 -0
  209. package/js/types/Interface/api/shopify/refund.js +6 -0
  210. package/js/types/Interface/api/shopify/refund.js.map +1 -0
  211. package/js/types/Interface/api/shopify/shipping_line.js +6 -0
  212. package/js/types/Interface/api/shopify/shipping_line.js.map +1 -0
  213. package/js/types/Interface/api/shopify/tax_line.js +6 -0
  214. package/js/types/Interface/api/shopify/tax_line.js.map +1 -0
  215. package/js/types/Interface/api/shopify/transaction.js +6 -0
  216. package/js/types/Interface/api/shopify/transaction.js.map +1 -0
  217. package/js/types/index.js +126 -6
  218. package/js/types/index.js.map +1 -1
  219. package/package.json +1 -1
  220. package/ts/api/resources/dashboard.ts +32 -6
  221. package/ts/types/Enum/ShopifyFinancialStatus.ts +11 -0
  222. package/ts/types/Enum/StockType.ts +1 -1
  223. package/ts/types/Enum/TransactionKind.ts +7 -0
  224. package/ts/types/Enum/TransactionStatus.ts +6 -0
  225. package/ts/types/Interface/api/crisp/GetCrisp.ts +46 -0
  226. package/ts/types/Interface/api/dashboard/QueryTopBuys.ts +9 -0
  227. package/ts/types/Interface/api/dashboard/QueryTopProviders.ts +9 -0
  228. package/ts/types/Interface/api/dashboard/QueryVat.ts +9 -0
  229. package/ts/types/Interface/api/dashboard/{ResultBalanceBankAccount.ts → ReadBalanceBankAccount.ts} +1 -1
  230. package/ts/types/Interface/api/dashboard/ReadTopBuys.ts +5 -0
  231. package/ts/types/Interface/api/dashboard/ReadTopProviders.ts +5 -0
  232. package/ts/types/Interface/api/dashboard/{ResultTurnOverProfitAndLoss.ts → ReadTurnOverProfitAndLoss.ts} +1 -1
  233. package/ts/types/Interface/api/dashboard/ReadVat.ts +11 -0
  234. package/ts/types/Interface/api/pdf/BillingDocumentData.ts +22 -20
  235. package/ts/types/Interface/api/shopify/ImportInvoicesShopify.ts +8 -0
  236. package/ts/types/Interface/api/shopify/ShopifyOrder.ts +436 -0
  237. package/ts/types/Interface/api/shopify/address.ts +88 -0
  238. package/ts/types/Interface/api/shopify/base.ts +10 -0
  239. package/ts/types/Interface/api/shopify/client_details.ts +33 -0
  240. package/ts/types/Interface/api/shopify/customer.ts +125 -0
  241. package/ts/types/Interface/api/shopify/discount_allocation.ts +19 -0
  242. package/ts/types/Interface/api/shopify/discount_application.ts +83 -0
  243. package/ts/types/Interface/api/shopify/discount_code.ts +18 -0
  244. package/ts/types/Interface/api/shopify/fulfillment.ts +110 -0
  245. package/ts/types/Interface/api/shopify/line_item.ts +153 -0
  246. package/ts/types/Interface/api/shopify/line_item_property.ts +13 -0
  247. package/ts/types/Interface/api/shopify/location.ts +69 -0
  248. package/ts/types/Interface/api/shopify/note_attribute.ts +11 -0
  249. package/ts/types/Interface/api/shopify/payment_details.ts +13 -0
  250. package/ts/types/Interface/api/shopify/price_set.ts +10 -0
  251. package/ts/types/Interface/api/shopify/refund.ts +142 -0
  252. package/ts/types/Interface/api/shopify/shipping_line.ts +71 -0
  253. package/ts/types/Interface/api/shopify/tax_line.ts +25 -0
  254. package/ts/types/Interface/api/shopify/transaction.ts +123 -0
  255. package/ts/types/Interface/models/IAccountingFile.ts +1 -1
  256. package/ts/types/Interface/models/IEngagementAccountingFile.ts +1 -1
  257. package/ts/types/Interface/models/ISocietyGescom.ts +29 -29
  258. package/ts/types/index.ts +12 -2
  259. package/es/types/Interface/api/dashboard/ResultBalanceBankAccount.d.ts.map +0 -1
  260. package/es/types/Interface/api/dashboard/ResultBalanceBankAccount.js +0 -5
  261. package/es/types/Interface/api/dashboard/ResultBalanceBankAccount.js.map +0 -1
  262. package/es/types/Interface/api/dashboard/ResultTurnOverProfitAndLoss.d.ts.map +0 -1
  263. package/es/types/Interface/api/dashboard/ResultTurnOverProfitAndLoss.js +0 -7
  264. package/es/types/Interface/api/dashboard/ResultTurnOverProfitAndLoss.js.map +0 -1
  265. package/js/types/Interface/api/dashboard/ResultBalanceBankAccount.js +0 -14
  266. package/js/types/Interface/api/dashboard/ResultBalanceBankAccount.js.map +0 -1
  267. package/js/types/Interface/api/dashboard/ResultTurnOverProfitAndLoss.js.map +0 -1
@@ -1,7 +1,10 @@
1
1
  import { Resource } from '../Resource';
2
- import { QueryBalanceBankAccount, QueryTurnoverProfitAndLoss, ResultBalanceBankAccount, ResultTurnoverProfitAndLoss } from '../../types';
2
+ import { QueryBalanceBankAccount, QueryTurnoverProfitAndLoss, QueryVat, QueryTopBuys, QueryTopProviders, ReadTopProviders, ReadTurnoverProfitAndLoss, ReadBalanceBankAccount, ReadVat, ReadTopBuys } from '../../types';
3
3
  export declare class Dashboard extends Resource {
4
- getTurnoverProfitAndLoss(params: QueryTurnoverProfitAndLoss): Promise<ResultTurnoverProfitAndLoss>;
5
- getBalanceBankAccount(params: QueryBalanceBankAccount): Promise<ResultBalanceBankAccount[]>;
4
+ getTurnoverProfitAndLoss(params: QueryTurnoverProfitAndLoss): Promise<ReadTurnoverProfitAndLoss>;
5
+ getBalanceBankAccount(params: QueryBalanceBankAccount): Promise<ReadBalanceBankAccount[]>;
6
+ getTva(dates: QueryVat): Promise<ReadVat>;
7
+ getTopBuys(dates: QueryTopBuys): Promise<ReadTopBuys[]>;
8
+ getTopProviders(params: QueryTopProviders): Promise<ReadTopProviders[]>;
6
9
  }
7
10
  //# sourceMappingURL=dashboard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,uBAAuB,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,2BAA2B,EAC3G,MAAM,aAAa,CAAC;AAErB,qBAAa,SAAU,SAAQ,QAAQ;IACrC,wBAAwB,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAIlG,qBAAqB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,EAAE,CAAC;CAG5F"}
1
+ {"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,yBAAyB,EACzB,sBAAsB,EACtB,OAAO,EACP,WAAW,EACZ,MAAM,aAAa,CAAC;AAGrB,qBAAa,SAAU,SAAQ,QAAQ;IACrC,wBAAwB,CACtB,MAAM,EAAE,0BAA0B,GACjC,OAAO,CAAC,yBAAyB,CAAC;IAIrC,qBAAqB,CACnB,MAAM,EAAE,uBAAuB,GAC9B,OAAO,CAAC,sBAAsB,EAAE,CAAC;IAIpC,MAAM,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC;IAIzC,UAAU,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAIvD,eAAe,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;CAGxE"}
@@ -1,10 +1,20 @@
1
1
  import { Resource } from '../Resource';
2
+ const ROUTE = 'dashboard';
2
3
  export class Dashboard extends Resource {
3
4
  getTurnoverProfitAndLoss(params) {
4
- return this.axios.$get('dashboard/turnoverProfitAndLoss', { params });
5
+ return this.axios.$get(`${ROUTE}/turnoverProfitAndLoss`, { params });
5
6
  }
6
7
  getBalanceBankAccount(params) {
7
- return this.axios.$get('dashboard/balanceBankAccount', { params });
8
+ return this.axios.$get(`${ROUTE}/balanceBankAccount`, { params });
9
+ }
10
+ getTva(dates) {
11
+ return this.axios.get(`${ROUTE}/vat`, { params: dates });
12
+ }
13
+ getTopBuys(dates) {
14
+ return this.axios.$get(`${ROUTE}/topBuys`, { params: dates });
15
+ }
16
+ getTopProviders(params) {
17
+ return this.axios.$get(`${ROUTE}/topProviders`, { params });
8
18
  }
9
19
  }
10
20
  //# sourceMappingURL=dashboard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../../../ts/api/resources/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,SAAU,SAAQ,QAAQ;IACrC,wBAAwB,CAAC,MAAkC;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,qBAAqB,CAAC,MAA+B;QACnD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACrE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryBalanceBankAccount, QueryTurnoverProfitAndLoss, ResultBalanceBankAccount, ResultTurnoverProfitAndLoss,\n} from '../../types';\n\nexport class Dashboard extends Resource {\n getTurnoverProfitAndLoss(params: QueryTurnoverProfitAndLoss): Promise<ResultTurnoverProfitAndLoss> {\n return this.axios.$get('dashboard/turnoverProfitAndLoss', { params });\n }\n\n getBalanceBankAccount(params: QueryBalanceBankAccount): Promise<ResultBalanceBankAccount[]> {\n return this.axios.$get('dashboard/balanceBankAccount', { params });\n }\n}"]}
1
+ {"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../../../ts/api/resources/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAcvC,MAAM,KAAK,GAAG,WAAW,CAAC;AAC1B,MAAM,OAAO,SAAU,SAAQ,QAAQ;IACrC,wBAAwB,CACtB,MAAkC;QAElC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,wBAAwB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,qBAAqB,CACnB,MAA+B;QAE/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,MAAM,CAAC,KAAe;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,UAAU,CAAC,KAAmB;QAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,UAAU,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,eAAe,CAAC,MAAyB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,eAAe,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryBalanceBankAccount,\n QueryTurnoverProfitAndLoss,\n QueryVat,\n QueryTopBuys,\n QueryTopProviders,\n ReadTopProviders,\n ReadTurnoverProfitAndLoss,\n ReadBalanceBankAccount,\n ReadVat,\n ReadTopBuys,\n} from '../../types';\n\nconst ROUTE = 'dashboard';\nexport class Dashboard extends Resource {\n getTurnoverProfitAndLoss(\n params: QueryTurnoverProfitAndLoss,\n ): Promise<ReadTurnoverProfitAndLoss> {\n return this.axios.$get(`${ROUTE}/turnoverProfitAndLoss`, { params });\n }\n\n getBalanceBankAccount(\n params: QueryBalanceBankAccount,\n ): Promise<ReadBalanceBankAccount[]> {\n return this.axios.$get(`${ROUTE}/balanceBankAccount`, { params });\n }\n\n getTva(dates: QueryVat): Promise<ReadVat> {\n return this.axios.get(`${ROUTE}/vat`, { params: dates });\n }\n\n getTopBuys(dates: QueryTopBuys): Promise<ReadTopBuys[]> {\n return this.axios.$get(`${ROUTE}/topBuys`, { params: dates });\n }\n\n getTopProviders(params: QueryTopProviders): Promise<ReadTopProviders[]> {\n return this.axios.$get(`${ROUTE}/topProviders`, { params });\n }\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export declare type FinancialStatus = 'authorized' | 'pending' | 'paid' | 'partially_paid' | 'refunded' | 'voided' | 'partially_refunded' | 'unpaid' | 'any' | string;
2
+ //# sourceMappingURL=ShopifyFinancialStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShopifyFinancialStatus.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/ShopifyFinancialStatus.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe,GACvB,YAAY,GACZ,SAAS,GACT,MAAM,GACN,gBAAgB,GAChB,UAAU,GACV,QAAQ,GACR,oBAAoB,GACpB,QAAQ,GACR,KAAK,GACL,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ShopifyFinancialStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShopifyFinancialStatus.js","sourceRoot":"","sources":["../../../ts/types/Enum/ShopifyFinancialStatus.ts"],"names":[],"mappings":"","sourcesContent":["export type FinancialStatus =\n | 'authorized'\n | 'pending'\n | 'paid'\n | 'partially_paid'\n | 'refunded'\n | 'voided'\n | 'partially_refunded'\n | 'unpaid'\n | 'any'\n | string;\n"]}
@@ -39,7 +39,7 @@ export const StockType = {
39
39
  designation: 'Stock de travaux de production en cours',
40
40
  idAccount: 352,
41
41
  idAccountVariation: 422,
42
- idAccountDepreciation: 396,
42
+ idAccountDepreciation: 386,
43
43
  },
44
44
  STOCK_PRODUITS_SERVICE_EN_COURS: {
45
45
  designation: 'Stock de produit et service en cours',
@@ -1 +1 @@
1
- {"version":3,"file":"StockType.js","sourceRoot":"","sources":["../../../ts/types/Enum/StockType.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,SAAS,GAAmB;IACvC,sBAAsB,EAAE;QACtB,WAAW,EAAE,2BAA2B;QACxC,SAAS,EAAE,EAAE;QACb,kBAAkB,EAAE,EAAE;QACtB,qBA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0B;IACtD,kBAAkB,EAAE;QAClB,SAAS,EAAE,GAAG;QACd,iBAAiB,EAAE,GAAG;KACvB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,sBAAsB,EAAE,aAAa;IACrC,yBAAyB,EAAE,qBAAqB;IAChD,4BAA4B,EAAE,aAAa;IAC3C,eAAe,EAAE,WAAW;IAC5B,iBAAiB,EAAE,cAAc;IACjC,kCAAkC,EAAE,sBAAsB;IAC1D,iCAAiC,EAAE,gBAAgB;IACnD,+BAA+B,EAAE,sBAAsB;IACvD,iCAAiC,EAAE,oBAAoB;IACvD,mBAAmB,EAAE,kBAAkB;CACxC,CAAC","sourcesContent":["import { stockInterface } from '../Interface/api/stock/Stocks';\nimport { depreciationInterface } from '../Interface/api/stock/StocksDepreciationInterface';\n\nexport const StockType: stockInterface = {\n STOCK_MATIERE_PREMIERE: {\n designation: 'Stock de matière première',\n idAccount: 35,\n idAccountVariation: 28,\n idAccountDepreciation: 375,\n },\n STOCK_MATIERE_CONSOMMABLE: {\n designation: 'Stock de matière consommable',\n idAccount: 182,\n idAccountVariation: 29,\n idAccountDepreciation: 381,\n },\n STOCK_FOURNITURE_CONSOMMABLE: {\n designation: 'Stock de fourniture consommable',\n idAccount: 338,\n idAccountVariation: 29,\n idAccountDepreciation: 382,\n },\n STOCK_EMBALLAGE: {\n designation: 'Stock emballage',\n idAccount: 344,\n idAccountVariation: 29,\n idAccountDepreciation: 383,\n },\n STOCK_MARCHANDISE: {\n designation: 'Stock de marchandise',\n idAccount: 372,\n idAccountVariation: 36,\n idAccountDepreciation: 393,\n },\n STOCK_PRODUITS_PRODUCTION_EN_COURS: {\n designation: 'Stock de produits de production en cours',\n idAccount: 349,\n idAccountVariation: 421,\n idAccountDepreciation: 385,\n },\n STOCK_TRAVAUX_PRODUCTION_EN_COURS: {\n designation: 'Stock de travaux de production en cours',\n idAccount: 352,\n idAccountVariation: 422,\n idAccountDepreciation: 396,\n },\n STOCK_PRODUITS_SERVICE_EN_COURS: {\n designation: 'Stock de produit et service en cours',\n idAccount: 355,\n idAccountVariation: 424,\n idAccountDepreciation: 388,\n },\n STOCK_PRESTATION_SERVICE_EN_COURS: {\n designation: 'Stock de prestation de service en cours',\n idAccount: 358,\n idAccountVariation: 425,\n idAccountDepreciation: 389,\n },\n STOCK_PRODUITS_FINI: {\n designation: 'Stock de produits finis',\n idAccount: 364,\n idAccountVariation: 428,\n idAccountDepreciation: 392,\n },\n};\n\nexport const StockDepreciation: depreciationInterface = {\n DEPRECIATION_STOCK: {\n idAccount: 928,\n idAccountExtourne: 486,\n },\n};\n\nexport const StockMapping = {\n STOCK_MATIERE_PREMIERE: 'rawMaterial',\n STOCK_MATIERE_CONSOMMABLE: 'consumableMaterials',\n STOCK_FOURNITURE_CONSOMMABLE: 'consumables',\n STOCK_EMBALLAGE: 'packaging',\n STOCK_MARCHANDISE: 'merchandises',\n STOCK_PRODUITS_PRODUCTION_EN_COURS: 'semiFinishedProducts',\n STOCK_TRAVAUX_PRODUCTION_EN_COURS: 'workInProgress',\n STOCK_PRODUITS_SERVICE_EN_COURS: 'semiFinishedServices',\n STOCK_PRESTATION_SERVICE_EN_COURS: 'servicesInProgress',\n STOCK_PRODUITS_FINI: 'finishedProducts',\n};\n"]}
1
+ {"version":3,"file":"StockType.js","sourceRoot":"","sources":["../../../ts/types/Enum/StockType.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,SAAS,GAAmB;IACvC,sBAAsB,EAAE;QACtB,WAAW,EAAE,2BAA2B;QACxC,SAAS,EAAE,EAAE;QACb,kBAAkB,EAAE,EAAE;QACtB,qBAAqB,EAAE,GAAG;KAC3B;IACD,yBAAyB,EAAE;QACzB,WAAW,EAAE,8BAA8B;QAC3C,SAAS,EAAE,GAAG;QACd,kBAAkB,EAAE,EAAE;QACtB,qBAAqB,EAAE,GAAG;KAC3B;IACD,4BAA4B,EAAE;QAC5B,WAAW,EAAE,iCAAiC;QAC9C,SAAS,EAAE,GAA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AAE,WAAW;IAC5B,iBAAiB,EAAE,cAAc;IACjC,kCAAkC,EAAE,sBAAsB;IAC1D,iCAAiC,EAAE,gBAAgB;IACnD,+BAA+B,EAAE,sBAAsB;IACvD,iCAAiC,EAAE,oBAAoB;IACvD,mBAAmB,EAAE,kBAAkB;CACxC,CAAC","sourcesContent":["import { stockInterface } from '../Interface/api/stock/Stocks';\nimport { depreciationInterface } from '../Interface/api/stock/StocksDepreciationInterface';\n\nexport const StockType: stockInterface = {\n STOCK_MATIERE_PREMIERE: {\n designation: 'Stock de matière première',\n idAccount: 35,\n idAccountVariation: 28,\n idAccountDepreciation: 375,\n },\n STOCK_MATIERE_CONSOMMABLE: {\n designation: 'Stock de matière consommable',\n idAccount: 182,\n idAccountVariation: 29,\n idAccountDepreciation: 381,\n },\n STOCK_FOURNITURE_CONSOMMABLE: {\n designation: 'Stock de fourniture consommable',\n idAccount: 338,\n idAccountVariation: 29,\n idAccountDepreciation: 382,\n },\n STOCK_EMBALLAGE: {\n designation: 'Stock emballage',\n idAccount: 344,\n idAccountVariation: 29,\n idAccountDepreciation: 383,\n },\n STOCK_MARCHANDISE: {\n designation: 'Stock de marchandise',\n idAccount: 372,\n idAccountVariation: 36,\n idAccountDepreciation: 393,\n },\n STOCK_PRODUITS_PRODUCTION_EN_COURS: {\n designation: 'Stock de produits de production en cours',\n idAccount: 349,\n idAccountVariation: 421,\n idAccountDepreciation: 385,\n },\n STOCK_TRAVAUX_PRODUCTION_EN_COURS: {\n designation: 'Stock de travaux de production en cours',\n idAccount: 352,\n idAccountVariation: 422,\n idAccountDepreciation: 386,\n },\n STOCK_PRODUITS_SERVICE_EN_COURS: {\n designation: 'Stock de produit et service en cours',\n idAccount: 355,\n idAccountVariation: 424,\n idAccountDepreciation: 388,\n },\n STOCK_PRESTATION_SERVICE_EN_COURS: {\n designation: 'Stock de prestation de service en cours',\n idAccount: 358,\n idAccountVariation: 425,\n idAccountDepreciation: 389,\n },\n STOCK_PRODUITS_FINI: {\n designation: 'Stock de produits finis',\n idAccount: 364,\n idAccountVariation: 428,\n idAccountDepreciation: 392,\n },\n};\n\nexport const StockDepreciation: depreciationInterface = {\n DEPRECIATION_STOCK: {\n idAccount: 928,\n idAccountExtourne: 486,\n },\n};\n\nexport const StockMapping = {\n STOCK_MATIERE_PREMIERE: 'rawMaterial',\n STOCK_MATIERE_CONSOMMABLE: 'consumableMaterials',\n STOCK_FOURNITURE_CONSOMMABLE: 'consumables',\n STOCK_EMBALLAGE: 'packaging',\n STOCK_MARCHANDISE: 'merchandises',\n STOCK_PRODUITS_PRODUCTION_EN_COURS: 'semiFinishedProducts',\n STOCK_TRAVAUX_PRODUCTION_EN_COURS: 'workInProgress',\n STOCK_PRODUITS_SERVICE_EN_COURS: 'semiFinishedServices',\n STOCK_PRESTATION_SERVICE_EN_COURS: 'servicesInProgress',\n STOCK_PRODUITS_FINI: 'finishedProducts',\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export declare type TransactionKind = 'authorization' | 'capture' | 'sale' | 'void' | 'refund' | string;
2
+ //# sourceMappingURL=TransactionKind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionKind.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/TransactionKind.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe,GACvB,eAAe,GACf,SAAS,GACT,MAAM,GACN,MAAM,GACN,QAAQ,GACR,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TransactionKind.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionKind.js","sourceRoot":"","sources":["../../../ts/types/Enum/TransactionKind.ts"],"names":[],"mappings":"","sourcesContent":["export type TransactionKind =\n | 'authorization'\n | 'capture'\n | 'sale'\n | 'void'\n | 'refund'\n | string;\n"]}
@@ -0,0 +1,2 @@
1
+ export declare type TransactionStatus = 'pending' | 'failure' | 'success' | 'error' | string;
2
+ //# sourceMappingURL=TransactionStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionStatus.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/TransactionStatus.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB,GACzB,SAAS,GACT,SAAS,GACT,SAAS,GACT,OAAO,GACP,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TransactionStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionStatus.js","sourceRoot":"","sources":["../../../ts/types/Enum/TransactionStatus.ts"],"names":[],"mappings":"","sourcesContent":["export type TransactionStatus =\n | 'pending'\n | 'failure'\n | 'success'\n | 'error'\n | string;\n"]}
@@ -0,0 +1,42 @@
1
+ export declare type CrispHookPayload = {
2
+ website_id: string;
3
+ event: CrispEvent;
4
+ data: CrispData | any;
5
+ timestamp: number;
6
+ };
7
+ export declare type CrispEvent = 'session:sync:rating' | 'session:update_availability' | 'session:update_verify' | 'session:request' | 'session:set_email' | 'session:set_phone' | 'session:set_address' | 'session:set_avatar' | 'session:set_nickname' | 'session:set_data' | 'session:sync' | 'session:sync' | 'session:sync' | 'session:sync' | 'session:sync' | 'session:sync' | 'session:sync' | 'session:sync' | 'session:sync' | 'session:set_state' | 'session:set_block' | 'session:set_segments' | 'session:set_opened' | 'session:set_closed' | 'session:set_participants' | 'session:set_mentions' | 'session:set_routing' | 'session:removed' | 'message:updated' | 'message:send' | 'message:received' | 'message:compose:send' | 'message:compose:receive' | 'message:acknowledge:read:send' | 'message:acknowledge:read:received' | 'message:acknowledge:delivered' | 'message:notify:unread:send' | 'message:notify:unread:received' | 'people:profile:created' | 'people:profile:updated' | 'people:profile:removed' | 'people:bind:session' | 'people:sync:profile' | 'people:import:progress' | 'people:import:done' | 'campaign:progress' | 'campaign:dispatched' | 'campaign:running' | 'browsing:request:initiated' | 'browsing:request:rejected' | 'call:request:initiated' | 'call:request:rejected' | 'widget:action:processed' | 'status:health:changed' | 'website:update_visitors_count' | 'website:update_operators_availability' | 'website:users:available' | 'bucket:url:upload:generated' | 'bucket:url:avatar:generated' | 'bucket:url:website:generated' | 'bucket:url:campaign:generated' | 'bucket:url:helpdesk:generated' | 'bucket:url:status:generated' | 'bucket:url:processing:generated' | 'media:animation:listed' | 'email:subscribe' | 'email:track:view' | 'plugin:channel' | 'plugin:event' | 'plugin:settings:saved';
8
+ export declare type CrispData = SessionSyncRating;
9
+ export declare type SessionSyncRating = {
10
+ website_id: string;
11
+ session_id: string;
12
+ rating: {
13
+ stars: number;
14
+ comment: string;
15
+ };
16
+ };
17
+ export declare type GetConversationSuccessValue = {
18
+ session_id: string;
19
+ availability: string;
20
+ created_at: number;
21
+ is_blocked: boolean;
22
+ meta: {
23
+ nickname: string;
24
+ email: string;
25
+ phone: string;
26
+ avatar: string;
27
+ ip: string;
28
+ data: any;
29
+ segments: string;
30
+ };
31
+ state: string;
32
+ };
33
+ export declare type CrispError = {
34
+ reason: string;
35
+ message: string;
36
+ code: number;
37
+ data: {
38
+ namespace: string;
39
+ message: string;
40
+ };
41
+ };
42
+ //# sourceMappingURL=GetCrisp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetCrisp.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/crisp/GetCrisp.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,SAAS,GAAG,GAAG,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,UAAU,GAAG,qBAAqB,GAAG,6BAA6B,GAAE,uBAAuB,GAAE,iBAAiB,GAAE,mBAAmB,GAAE,mBAAmB,GAAE,qBAAqB,GAAE,oBAAoB,GAAE,sBAAsB,GAAE,kBAAkB,GAAE,cAAc,GAAE,cAAc,GAAE,cAAc,GAAE,cAAc,GAAE,cAAc,GAAE,cAAc,GAAE,cAAc,GAAE,cAAc,GA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C;QACd,MAAM,EAAE,MAAM,CAAC;QACf,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,GAAG,CAAC;QACV,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,UAAU,GAAG;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAA;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GetCrisp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetCrisp.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/crisp/GetCrisp.ts"],"names":[],"mappings":"","sourcesContent":["export type CrispHookPayload = {\n website_id: string;\n event: CrispEvent;\n data: CrispData | any; // TODO: Implement other data when used\n timestamp: number;\n};\n\nexport type CrispEvent = 'session:sync:rating' | 'session:update_availability' |'session:update_verify' |'session:request' |'session:set_email' |'session:set_phone' |'session:set_address' |'session:set_avatar' |'session:set_nickname' |'session:set_data' |'session:sync' |'session:sync' |'session:sync' |'session:sync' |'session:sync' |'session:sync' |'session:sync' |'session:sync' |'session:sync' |'session:set_state' |'session:set_block' |'session:set_segments' |'session:set_opened' |'session:set_closed' |'session:set_participants' |'session:set_mentions' |'session:set_routing' |'session:removed' | 'message:updated' |'message:send' |'message:received' |'message:compose:send' |'message:compose:receive' |'message:acknowledge:read:send' |'message:acknowledge:read:received' |'message:acknowledge:delivered' |'message:notify:unread:send' |'message:notify:unread:received' |'people:profile:created' |'people:profile:updated' |'people:profile:removed' |'people:bind:session' |'people:sync:profile' |'people:import:progress' |'people:import:done' |'campaign:progress' |'campaign:dispatched' |'campaign:running' |'browsing:request:initiated' |'browsing:request:rejected' |'call:request:initiated' |'call:request:rejected' |'widget:action:processed' |'status:health:changed' |'website:update_visitors_count' |'website:update_operators_availability' |'website:users:available' |'bucket:url:upload:generated' |'bucket:url:avatar:generated' |'bucket:url:website:generated' |'bucket:url:campaign:generated' |'bucket:url:helpdesk:generated' |'bucket:url:status:generated' |'bucket:url:processing:generated' |'media:animation:listed' |'email:subscribe' |'email:track:view' |'plugin:channel' |'plugin:event' |'plugin:settings:saved';\n\nexport type CrispData = SessionSyncRating;\n\nexport type SessionSyncRating = {\n website_id: string;\n session_id: string;\n rating: {\n stars: number;\n comment: string;\n }\n};\n\nexport type GetConversationSuccessValue = {\n session_id: string;\n availability: string;\n created_at: number;\n is_blocked: boolean;\n meta: {\n nickname: string;\n email: string;\n phone: string;\n avatar: string;\n ip: string;\n data: any,\n segments: string;\n },\n state: string;\n};\n\nexport type CrispError = {\n reason: string;\n message: string;\n code: number,\n data: {\n namespace: string;\n message: string;\n }\n};"]}
@@ -0,0 +1,5 @@
1
+ export declare class QueryTopBuys {
2
+ startDate: string | Date;
3
+ endDate: string | Date;
4
+ }
5
+ //# sourceMappingURL=QueryTopBuys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryTopBuys.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/QueryTopBuys.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IAEvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
@@ -0,0 +1,21 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { ApiProperty } from '../../../../utils';
11
+ export class QueryTopBuys {
12
+ }
13
+ __decorate([
14
+ ApiProperty(),
15
+ __metadata("design:type", Object)
16
+ ], QueryTopBuys.prototype, "startDate", void 0);
17
+ __decorate([
18
+ ApiProperty(),
19
+ __metadata("design:type", Object)
20
+ ], QueryTopBuys.prototype, "endDate", void 0);
21
+ //# sourceMappingURL=QueryTopBuys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryTopBuys.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/QueryTopBuys.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,YAAY;CAMxB;AAJC;IADC,WAAW,EAAE;;+CACW;AAGzB;IADC,WAAW,EAAE;;6CACS","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryTopBuys {\n @ApiProperty()\n startDate: string | Date;\n\n @ApiProperty()\n endDate: string | Date;\n}"]}
@@ -0,0 +1,5 @@
1
+ export declare class QueryTopProviders {
2
+ startDate: string | Date;
3
+ endDate: string | Date;
4
+ }
5
+ //# sourceMappingURL=QueryTopProviders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryTopProviders.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/QueryTopProviders.ts"],"names":[],"mappings":"AAEA,qBAAa,iBAAiB;IAE5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
@@ -0,0 +1,21 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { ApiProperty } from '../../../../utils';
11
+ export class QueryTopProviders {
12
+ }
13
+ __decorate([
14
+ ApiProperty(),
15
+ __metadata("design:type", Object)
16
+ ], QueryTopProviders.prototype, "startDate", void 0);
17
+ __decorate([
18
+ ApiProperty(),
19
+ __metadata("design:type", Object)
20
+ ], QueryTopProviders.prototype, "endDate", void 0);
21
+ //# sourceMappingURL=QueryTopProviders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryTopProviders.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/QueryTopProviders.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,iBAAiB;CAM7B;AAJC;IADC,WAAW,EAAE;;oDACW;AAGzB;IADC,WAAW,EAAE;;kDACS","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryTopProviders {\n @ApiProperty()\n startDate: string | Date;\n\n @ApiProperty()\n endDate: string | Date;\n}"]}
@@ -0,0 +1,5 @@
1
+ export declare class QueryVat {
2
+ startDate: string | Date;
3
+ endDate: string | Date;
4
+ }
5
+ //# sourceMappingURL=QueryVat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryVat.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/QueryVat.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IAEnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
@@ -0,0 +1,21 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { ApiProperty } from '../../../../utils';
11
+ export class QueryVat {
12
+ }
13
+ __decorate([
14
+ ApiProperty(),
15
+ __metadata("design:type", Object)
16
+ ], QueryVat.prototype, "startDate", void 0);
17
+ __decorate([
18
+ ApiProperty(),
19
+ __metadata("design:type", Object)
20
+ ], QueryVat.prototype, "endDate", void 0);
21
+ //# sourceMappingURL=QueryVat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryVat.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/QueryVat.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,QAAQ;CAMpB;AAJC;IADC,WAAW,EAAE;;2CACW;AAGzB;IADC,WAAW,EAAE;;yCACS","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryVat {\n @ApiProperty()\n startDate: string | Date;\n\n @ApiProperty()\n endDate: string | Date;\n}"]}
@@ -1,5 +1,5 @@
1
1
  import { IBalanceBankAccount } from '../../models/IBalanceBankAccount';
2
- export declare class ResultBalanceBankAccount {
2
+ export declare class ReadBalanceBankAccount {
3
3
  date: string | Date;
4
4
  datas: Array<MissingData | IBalanceBankAccount>;
5
5
  }
@@ -7,4 +7,4 @@ export declare class MissingData {
7
7
  idBankAccount: number;
8
8
  noData: boolean;
9
9
  }
10
- //# sourceMappingURL=ResultBalanceBankAccount.d.ts.map
10
+ //# sourceMappingURL=ReadBalanceBankAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadBalanceBankAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadBalanceBankAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,qBAAa,sBAAsB;IACjC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC,WAAW,GAAG,mBAAmB,CAAC,CAAC;CACjD;AAED,qBAAa,WAAW;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,5 @@
1
+ export class ReadBalanceBankAccount {
2
+ }
3
+ export class MissingData {
4
+ }
5
+ //# sourceMappingURL=ReadBalanceBankAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadBalanceBankAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadBalanceBankAccount.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,sBAAsB;CAGlC;AAED,MAAM,OAAO,WAAW;CAGvB","sourcesContent":["import { IBalanceBankAccount } from '../../models/IBalanceBankAccount';\n\nexport class ReadBalanceBankAccount {\n date: string | Date;\n datas: Array<MissingData | IBalanceBankAccount>;\n}\n\nexport class MissingData {\n idBankAccount: number;\n noData: boolean;\n}\n"]}
@@ -0,0 +1,6 @@
1
+ export declare class ReadTopBuys {
2
+ id: number;
3
+ name: string;
4
+ amount: number;
5
+ }
6
+ //# sourceMappingURL=ReadTopBuys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadTopBuys.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadTopBuys.ts"],"names":[],"mappings":"AAAA,qBAAa,WAAW;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,3 @@
1
+ export class ReadTopBuys {
2
+ }
3
+ //# sourceMappingURL=ReadTopBuys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadTopBuys.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadTopBuys.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,WAAW;CAIvB","sourcesContent":["export class ReadTopBuys {\n id: number;\n name: string;\n amount: number;\n}"]}
@@ -0,0 +1,6 @@
1
+ export declare class ReadTopProviders {
2
+ company: string;
3
+ idAccount: number;
4
+ amount: number;
5
+ }
6
+ //# sourceMappingURL=ReadTopProviders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadTopProviders.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadTopProviders.ts"],"names":[],"mappings":"AAAA,qBAAa,gBAAgB;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,3 @@
1
+ export class ReadTopProviders {
2
+ }
3
+ //# sourceMappingURL=ReadTopProviders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadTopProviders.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadTopProviders.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,gBAAgB;CAI5B","sourcesContent":["export class ReadTopProviders {\n company: string;\n idAccount: number;\n amount: number;\n}\n"]}
@@ -1,4 +1,4 @@
1
- export declare class ResultTurnoverProfitAndLoss {
1
+ export declare class ReadTurnoverProfitAndLoss {
2
2
  data: any;
3
3
  chart: {
4
4
  labels: Array<string>;
@@ -14,4 +14,4 @@ export declare class Periocidity {
14
14
  type: 'month' | 'day';
15
15
  intervales: number;
16
16
  }
17
- //# sourceMappingURL=ResultTurnOverProfitAndLoss.d.ts.map
17
+ //# sourceMappingURL=ReadTurnOverProfitAndLoss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadTurnOverProfitAndLoss.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.ts"],"names":[],"mappings":"AAAA,qBAAa,yBAAyB;IACpC,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,EAAE;QACL,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACtB,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;QACvB,WAAW,EAAE,WAAW,CAAC;KAC1B,CAAC;CACH;AAED,qBAAa,KAAK;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,qBAAa,WAAW;IACtB,IAAI,EAAE,OAAO,GAAG,KAAK,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,7 @@
1
+ export class ReadTurnoverProfitAndLoss {
2
+ }
3
+ export class Chart {
4
+ }
5
+ export class Periocidity {
6
+ }
7
+ //# sourceMappingURL=ReadTurnOverProfitAndLoss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadTurnOverProfitAndLoss.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,yBAAyB;CAOrC;AAED,MAAM,OAAO,KAAK;CAGjB;AAED,MAAM,OAAO,WAAW;CAGvB","sourcesContent":["export class ReadTurnoverProfitAndLoss {\n data: any;\n chart: {\n labels: Array<string>;\n dataSets: Array<Chart>;\n periodicity: Periocidity;\n };\n}\n\nexport class Chart {\n label: string;\n data: Array<number>;\n}\n\nexport class Periocidity {\n type: 'month' | 'day';\n intervales: number;\n}\n"]}
@@ -0,0 +1,11 @@
1
+ export declare class ReadVat {
2
+ tvas: Array<VatData>;
3
+ totalAmount: number;
4
+ isDebitor: boolean;
5
+ }
6
+ export declare class VatData {
7
+ label: string;
8
+ dataCollectible: number;
9
+ dataDeductible: number;
10
+ }
11
+ //# sourceMappingURL=ReadVat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadVat.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadVat.ts"],"names":[],"mappings":"AAAA,qBAAa,OAAO;IAClB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,OAAO;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,5 @@
1
+ export class ReadVat {
2
+ }
3
+ export class VatData {
4
+ }
5
+ //# sourceMappingURL=ReadVat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadVat.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadVat.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,OAAO;CAInB;AAED,MAAM,OAAO,OAAO;CAInB","sourcesContent":["export class ReadVat {\n tvas: Array<VatData>;\n totalAmount: number;\n isDebitor: boolean;\n}\n\nexport class VatData {\n label: string;\n dataCollectible: number;\n dataDeductible: number;\n}"]}
@@ -3,7 +3,7 @@ interface BillingDocumentItemVat {
3
3
  computeMethod: 'percentage';
4
4
  vatPercentageValue: number;
5
5
  }
6
- interface BillingDocumentItem {
6
+ export interface BillingDocumentItem {
7
7
  name: string;
8
8
  comment: string;
9
9
  quantity: number;
@@ -13,31 +13,33 @@ interface BillingDocumentItem {
13
13
  unit: string;
14
14
  vat: BillingDocumentItemVat;
15
15
  }
16
+ export interface BillingDocumentRecipient {
17
+ id?: number;
18
+ fullname: string | null;
19
+ company: string;
20
+ address?: string | null;
21
+ zipCode?: string | null;
22
+ city?: string | null;
23
+ phone?: string | null;
24
+ nTva?: string | null;
25
+ thirdPartyCountry: {
26
+ name: string;
27
+ };
28
+ }
29
+ export interface BillingDocumentReferences {
30
+ createdDate: Date | null;
31
+ ref: string | null;
32
+ paymentPlan: string | null;
33
+ dueDate: Date | null;
34
+ }
16
35
  export declare type BillingDocumentData = {
17
36
  society: Partial<ISociety>;
18
37
  deposit: number;
19
38
  template: number | null;
20
39
  generalComment: string | null;
21
40
  generalDiscount: number | null;
22
- recipient: {
23
- id?: number;
24
- fullname: string | null;
25
- company: string;
26
- address?: string | null;
27
- zipCode?: string | null;
28
- city?: string | null;
29
- phone?: string | null;
30
- nTva?: string | null;
31
- thirdPartyCountry: {
32
- name: string;
33
- };
34
- };
35
- references: {
36
- createdDate: Date | null;
37
- ref: string | null;
38
- paymentPlan: string | null;
39
- dueDate: Date | null;
40
- };
41
+ recipient: BillingDocumentRecipient;
42
+ references: BillingDocumentReferences;
41
43
  items: BillingDocumentItem[];
42
44
  };
43
45
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"BillingDocumentData.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,UAAU,sBAAsB;IAC9B,aAAa,EAAE,YAAY,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AACD,UAAU,mBAAmB;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,sBAAsB,CAAC;CAC7B;AAED,oBAAY,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE;QACT,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,iBAAiB,EAAE;YACjB,IAAI,EAAE,MAAM,CAAC;SACd,CAAA;KACF,CAAC;IACF,UAAU,EAAE;QACV,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;QACzB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;KACtB,CAAC;IACF,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC"}
1
+ {"version":3,"file":"BillingDocumentData.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,UAAU,sBAAsB;IAC9B,aAAa,EAAE,YAAY,CAAC;IAC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U,EAAE,yBAAyB,CAAC;IACtC,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BillingDocumentData.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\n\ninterface BillingDocumentItemVat {\n computeMethod: 'percentage',\n vatPercentageValue: number,\n}\ninterface BillingDocumentItem {\n name: string,\n comment: string,\n quantity: number,\n discount: number,\n code: string,\n price: number,\n unit: string,\n vat: BillingDocumentItemVat,\n}\n\nexport type BillingDocumentData = {\n society: Partial<ISociety>,\n deposit: number;\n template: number | null;\n generalComment: string | null;\n generalDiscount: number | null;\n recipient: {\n id?: number;\n fullname: string | null;\n company: string;\n address?: string | null;\n zipCode?: string | null;\n city?: string | null;\n phone?: string | null;\n nTva?: string | null;\n thirdPartyCountry: {\n name: string;\n }\n };\n references: {\n createdDate: Date | null;\n ref: string | null;\n paymentPlan: string | null;\n dueDate: Date | null;\n },\n items: BillingDocumentItem[]\n};"]}
1
+ {"version":3,"file":"BillingDocumentData.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\n\ninterface BillingDocumentItemVat {\n computeMethod: 'percentage',\n vatPercentageValue: number,\n}\nexport interface BillingDocumentItem {\n name: string,\n comment: string,\n quantity: number,\n discount: number,\n code: string,\n price: number,\n unit: string,\n vat: BillingDocumentItemVat,\n}\nexport interface BillingDocumentRecipient {\n id?: number;\n fullname: string | null;\n company: string;\n address?: string | null;\n zipCode?: string | null;\n city?: string | null;\n phone?: string | null;\n nTva?: string | null;\n thirdPartyCountry: {\n name: string;\n }\n}\nexport interface BillingDocumentReferences {\n createdDate: Date | null;\n ref: string | null;\n paymentPlan: string | null;\n dueDate: Date | null;\n}\n\nexport type BillingDocumentData = {\n society: Partial<ISociety>,\n deposit: number;\n template: number | null;\n generalComment: string | null;\n generalDiscount: number | null;\n recipient: BillingDocumentRecipient;\n references: BillingDocumentReferences,\n items: BillingDocumentItem[]\n};"]}
@@ -0,0 +1,5 @@
1
+ export declare class ImportInvoicesShopify {
2
+ limit: number;
3
+ idSociety: number;
4
+ }
5
+ //# sourceMappingURL=ImportInvoicesShopify.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImportInvoicesShopify.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/shopify/ImportInvoicesShopify.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;IAEhC,KAAK,EAAE,MAAM,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,21 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { ApiPropertyOptional } from '../../../../utils';
11
+ export class ImportInvoicesShopify {
12
+ }
13
+ __decorate([
14
+ ApiPropertyOptional(),
15
+ __metadata("design:type", Number)
16
+ ], ImportInvoicesShopify.prototype, "limit", void 0);
17
+ __decorate([
18
+ ApiPropertyOptional(),
19
+ __metadata("design:type", Number)
20
+ ], ImportInvoicesShopify.prototype, "idSociety", void 0);
21
+ //# sourceMappingURL=ImportInvoicesShopify.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImportInvoicesShopify.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/shopify/ImportInvoicesShopify.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,qBAAqB;CAKjC;AAHC;IADC,mBAAmB,EAAE;;oDACR;AAEd;IADC,mBAAmB,EAAE;;wDACJ","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class ImportInvoicesShopify {\n @ApiPropertyOptional()\n limit: number;\n @ApiPropertyOptional()\n idSociety: number;\n}\n"]}