@silexpert/core 0.4.54 → 0.4.56

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 (215) hide show
  1. package/es/api/resources/Dashboard.d.ts +2 -1
  2. package/es/api/resources/Dashboard.d.ts.map +1 -1
  3. package/es/api/resources/Dashboard.js +3 -0
  4. package/es/api/resources/Dashboard.js.map +1 -1
  5. package/es/types/Enum/AccountingFileType.d.ts +8 -0
  6. package/es/types/Enum/AccountingFileType.d.ts.map +1 -0
  7. package/es/types/Enum/AccountingFileType.js +9 -0
  8. package/es/types/Enum/AccountingFileType.js.map +1 -0
  9. package/es/types/Enum/FileType.d.ts +108 -0
  10. package/es/types/Enum/FileType.d.ts.map +1 -0
  11. package/es/types/Enum/FileType.js +108 -0
  12. package/es/types/Enum/FileType.js.map +1 -0
  13. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts +1 -0
  14. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts.map +1 -1
  15. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js +4 -0
  16. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
  17. package/es/types/Interface/api/dashboard/QueryDeadline.d.ts +6 -0
  18. package/es/types/Interface/api/dashboard/QueryDeadline.d.ts.map +1 -0
  19. package/es/types/Interface/api/dashboard/QueryDeadline.js +25 -0
  20. package/es/types/Interface/api/dashboard/QueryDeadline.js.map +1 -0
  21. package/es/types/Interface/api/dashboard/QueryGescom.d.ts +1 -0
  22. package/es/types/Interface/api/dashboard/QueryGescom.d.ts.map +1 -1
  23. package/es/types/Interface/api/dashboard/QueryGescom.js +4 -0
  24. package/es/types/Interface/api/dashboard/QueryGescom.js.map +1 -1
  25. package/es/types/Interface/api/dashboard/ReadBalanceBankAccount.d.ts +6 -1
  26. package/es/types/Interface/api/dashboard/ReadBalanceBankAccount.d.ts.map +1 -1
  27. package/es/types/Interface/api/dashboard/ReadBalanceBankAccount.js.map +1 -1
  28. package/es/types/Interface/api/dashboard/ReadDeadline.d.ts +17 -0
  29. package/es/types/Interface/api/dashboard/ReadDeadline.d.ts.map +1 -0
  30. package/es/types/Interface/api/dashboard/ReadDeadline.js +5 -0
  31. package/es/types/Interface/api/dashboard/ReadDeadline.js.map +1 -0
  32. package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts +2 -2
  33. package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts.map +1 -1
  34. package/es/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -1
  35. package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts +2 -2
  36. package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts.map +1 -1
  37. package/es/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -1
  38. package/es/types/Interface/api/prestashop/InvoicesPrestashop.d.ts +7 -0
  39. package/es/types/Interface/api/prestashop/InvoicesPrestashop.d.ts.map +1 -0
  40. package/es/types/Interface/api/{shopify/ImportInvoicesShopify.js → prestashop/InvoicesPrestashop.js} +6 -6
  41. package/es/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -0
  42. package/es/types/Interface/api/prestashop/PSAddress.d.ts +26 -0
  43. package/es/types/Interface/api/prestashop/PSAddress.d.ts.map +1 -0
  44. package/es/types/Interface/api/prestashop/PSAddress.js +2 -0
  45. package/es/types/Interface/api/prestashop/PSAddress.js.map +1 -0
  46. package/es/types/Interface/api/prestashop/PSCountry.d.ts +15 -0
  47. package/es/types/Interface/api/prestashop/PSCountry.d.ts.map +1 -0
  48. package/es/types/Interface/api/prestashop/PSCountry.js +2 -0
  49. package/es/types/Interface/api/prestashop/PSCountry.js.map +1 -0
  50. package/es/types/Interface/api/prestashop/PSObject.d.ts +4 -0
  51. package/es/types/Interface/api/prestashop/PSObject.d.ts.map +1 -0
  52. package/es/types/Interface/api/prestashop/PSObject.js +2 -0
  53. package/es/types/Interface/api/prestashop/PSObject.js.map +1 -0
  54. package/es/types/Interface/api/prestashop/PSOrder.d.ts +53 -0
  55. package/es/types/Interface/api/prestashop/PSOrder.d.ts.map +1 -0
  56. package/es/types/Interface/api/prestashop/PSOrder.js +2 -0
  57. package/es/types/Interface/api/prestashop/PSOrder.js.map +1 -0
  58. package/es/types/Interface/api/prestashop/PSOrderRow.d.ts +16 -0
  59. package/es/types/Interface/api/prestashop/PSOrderRow.d.ts.map +1 -0
  60. package/es/types/Interface/api/prestashop/PSOrderRow.js +2 -0
  61. package/es/types/Interface/api/prestashop/PSOrderRow.js.map +1 -0
  62. package/es/types/Interface/api/shopify/InvoicesShopify.d.ts +7 -0
  63. package/es/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -0
  64. package/es/types/Interface/api/shopify/InvoicesShopify.js +29 -0
  65. package/es/types/Interface/api/shopify/InvoicesShopify.js.map +1 -0
  66. package/es/types/Interface/api/shopify/ShopifyFinancialStatus.d.ts.map +1 -0
  67. package/es/types/Interface/api/shopify/ShopifyFinancialStatus.js.map +1 -0
  68. package/es/types/Interface/api/shopify/ShopifyOrder.d.ts +1 -1
  69. package/es/types/Interface/api/shopify/ShopifyOrder.d.ts.map +1 -1
  70. package/es/types/Interface/api/shopify/ShopifyOrder.js.map +1 -1
  71. package/es/types/Interface/api/society/CreateSociety.d.ts +4 -0
  72. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  73. package/es/types/Interface/api/society/CreateSociety.js +16 -0
  74. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  75. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +7 -0
  76. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -0
  77. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js +29 -0
  78. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -0
  79. package/es/types/Interface/api/woocommerce/WCBilling.d.ts +14 -0
  80. package/es/types/Interface/api/woocommerce/WCBilling.d.ts.map +1 -0
  81. package/es/types/Interface/api/woocommerce/WCBilling.js +2 -0
  82. package/es/types/Interface/api/woocommerce/WCBilling.js.map +1 -0
  83. package/es/types/Interface/api/woocommerce/WCLineItem.d.ts +18 -0
  84. package/es/types/Interface/api/woocommerce/WCLineItem.d.ts.map +1 -0
  85. package/es/types/Interface/api/woocommerce/WCLineItem.js +2 -0
  86. package/es/types/Interface/api/woocommerce/WCLineItem.js.map +1 -0
  87. package/es/types/Interface/api/woocommerce/WCLinks.d.ts +7 -0
  88. package/es/types/Interface/api/woocommerce/WCLinks.d.ts.map +1 -0
  89. package/es/types/Interface/api/woocommerce/WCLinks.js +2 -0
  90. package/es/types/Interface/api/woocommerce/WCLinks.js.map +1 -0
  91. package/es/types/Interface/api/woocommerce/WCMetaData.d.ts +6 -0
  92. package/es/types/Interface/api/woocommerce/WCMetaData.d.ts.map +1 -0
  93. package/es/types/Interface/api/woocommerce/WCMetaData.js +2 -0
  94. package/es/types/Interface/api/woocommerce/WCMetaData.js.map +1 -0
  95. package/es/types/Interface/api/woocommerce/WCOrder.d.ts +50 -0
  96. package/es/types/Interface/api/woocommerce/WCOrder.d.ts.map +1 -0
  97. package/es/types/Interface/api/woocommerce/WCOrder.js +2 -0
  98. package/es/types/Interface/api/woocommerce/WCOrder.js.map +1 -0
  99. package/es/types/Interface/api/woocommerce/WCSelf.d.ts +4 -0
  100. package/es/types/Interface/api/woocommerce/WCSelf.d.ts.map +1 -0
  101. package/es/types/Interface/api/woocommerce/WCSelf.js +2 -0
  102. package/es/types/Interface/api/woocommerce/WCSelf.js.map +1 -0
  103. package/es/types/Interface/api/woocommerce/WCShiping.d.ts +13 -0
  104. package/es/types/Interface/api/woocommerce/WCShiping.d.ts.map +1 -0
  105. package/es/types/Interface/api/woocommerce/WCShiping.js +2 -0
  106. package/es/types/Interface/api/woocommerce/WCShiping.js.map +1 -0
  107. package/es/types/Interface/api/woocommerce/WCShippingLine.d.ts +12 -0
  108. package/es/types/Interface/api/woocommerce/WCShippingLine.d.ts.map +1 -0
  109. package/es/types/Interface/api/woocommerce/WCShippingLine.js +2 -0
  110. package/es/types/Interface/api/woocommerce/WCShippingLine.js.map +1 -0
  111. package/es/types/Interface/api/woocommerce/WCTaxes.d.ts +10 -0
  112. package/es/types/Interface/api/woocommerce/WCTaxes.d.ts.map +1 -0
  113. package/es/types/Interface/api/woocommerce/WCTaxes.js +2 -0
  114. package/es/types/Interface/api/woocommerce/WCTaxes.js.map +1 -0
  115. package/es/types/index.d.ts +16 -2
  116. package/es/types/index.d.ts.map +1 -1
  117. package/es/types/index.js +16 -2
  118. package/es/types/index.js.map +1 -1
  119. package/js/api/resources/Dashboard.js +6 -0
  120. package/js/api/resources/Dashboard.js.map +1 -1
  121. package/js/types/Enum/AccountingFileType.js +15 -0
  122. package/js/types/Enum/AccountingFileType.js.map +1 -0
  123. package/js/types/Enum/FileType.js +113 -0
  124. package/js/types/Enum/FileType.js.map +1 -0
  125. package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js +4 -0
  126. package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
  127. package/js/types/Interface/api/dashboard/QueryDeadline.js +31 -0
  128. package/js/types/Interface/api/dashboard/QueryDeadline.js.map +1 -0
  129. package/js/types/Interface/api/dashboard/QueryGescom.js +2 -0
  130. package/js/types/Interface/api/dashboard/QueryGescom.js.map +1 -1
  131. package/js/types/Interface/api/dashboard/ReadBalanceBankAccount.js.map +1 -1
  132. package/js/types/Interface/api/dashboard/ReadDeadline.js +14 -0
  133. package/js/types/Interface/api/dashboard/ReadDeadline.js.map +1 -0
  134. package/js/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -1
  135. package/js/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -1
  136. package/js/types/Interface/api/{shopify/ImportInvoicesShopify.js → prestashop/InvoicesPrestashop.js} +8 -8
  137. package/js/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -0
  138. package/js/types/Interface/api/prestashop/PSAddress.js +6 -0
  139. package/js/types/Interface/api/prestashop/PSAddress.js.map +1 -0
  140. package/js/types/Interface/api/prestashop/PSCountry.js +6 -0
  141. package/js/types/Interface/api/prestashop/PSCountry.js.map +1 -0
  142. package/js/types/Interface/api/prestashop/PSObject.js +6 -0
  143. package/js/types/Interface/api/prestashop/PSObject.js.map +1 -0
  144. package/js/types/Interface/api/prestashop/PSOrder.js +6 -0
  145. package/js/types/Interface/api/prestashop/PSOrder.js.map +1 -0
  146. package/js/types/Interface/api/prestashop/PSOrderRow.js +6 -0
  147. package/js/types/Interface/api/prestashop/PSOrderRow.js.map +1 -0
  148. package/js/types/Interface/api/shopify/InvoicesShopify.js +33 -0
  149. package/js/types/Interface/api/shopify/InvoicesShopify.js.map +1 -0
  150. package/js/types/Interface/api/society/CreateSociety.js +8 -0
  151. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  152. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js +33 -0
  153. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -0
  154. package/js/types/Interface/api/woocommerce/WCBilling.js +6 -0
  155. package/js/types/Interface/api/woocommerce/WCBilling.js.map +1 -0
  156. package/js/types/Interface/api/woocommerce/WCLineItem.js +6 -0
  157. package/js/types/Interface/api/woocommerce/WCLineItem.js.map +1 -0
  158. package/js/types/Interface/api/woocommerce/WCLinks.js +6 -0
  159. package/js/types/Interface/api/woocommerce/WCLinks.js.map +1 -0
  160. package/js/types/Interface/api/woocommerce/WCMetaData.js +6 -0
  161. package/js/types/Interface/api/woocommerce/WCMetaData.js.map +1 -0
  162. package/js/types/Interface/api/woocommerce/WCOrder.js +6 -0
  163. package/js/types/Interface/api/woocommerce/WCOrder.js.map +1 -0
  164. package/js/types/Interface/api/woocommerce/WCSelf.js +6 -0
  165. package/js/types/Interface/api/woocommerce/WCSelf.js.map +1 -0
  166. package/js/types/Interface/api/woocommerce/WCShiping.js +6 -0
  167. package/js/types/Interface/api/woocommerce/WCShiping.js.map +1 -0
  168. package/js/types/Interface/api/woocommerce/WCShippingLine.js +6 -0
  169. package/js/types/Interface/api/woocommerce/WCShippingLine.js.map +1 -0
  170. package/js/types/Interface/api/woocommerce/WCTaxes.js +6 -0
  171. package/js/types/Interface/api/woocommerce/WCTaxes.js.map +1 -0
  172. package/js/types/index.js +177 -9
  173. package/js/types/index.js.map +1 -1
  174. package/package.json +1 -1
  175. package/ts/api/resources/Dashboard.ts +6 -0
  176. package/ts/types/Enum/AccountingFileType.ts +7 -0
  177. package/ts/types/Enum/FileType.ts +107 -0
  178. package/ts/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.ts +3 -0
  179. package/ts/types/Interface/api/dashboard/QueryDeadline.ts +12 -0
  180. package/ts/types/Interface/api/dashboard/QueryGescom.ts +3 -0
  181. package/ts/types/Interface/api/dashboard/ReadBalanceBankAccount.ts +7 -1
  182. package/ts/types/Interface/api/dashboard/ReadDeadline.ts +17 -0
  183. package/ts/types/Interface/api/dashboard/ReadTopBuys.ts +2 -2
  184. package/ts/types/Interface/api/dashboard/ReadTopProviders.ts +2 -2
  185. package/ts/types/Interface/api/{shopify/ImportInvoicesShopify.ts → prestashop/InvoicesPrestashop.ts} +1 -1
  186. package/ts/types/Interface/api/prestashop/PSAddress.ts +26 -0
  187. package/ts/types/Interface/api/prestashop/PSCountry.ts +15 -0
  188. package/ts/types/Interface/api/prestashop/PSObject.ts +3 -0
  189. package/ts/types/Interface/api/prestashop/PSOrder.ts +54 -0
  190. package/ts/types/Interface/api/prestashop/PSOrderRow.ts +16 -0
  191. package/ts/types/Interface/api/shopify/InvoicesShopify.ts +12 -0
  192. package/ts/types/Interface/api/shopify/ShopifyOrder.ts +1 -3
  193. package/ts/types/Interface/api/society/CreateSociety.ts +12 -0
  194. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +12 -0
  195. package/ts/types/Interface/api/woocommerce/WCBilling.ts +13 -0
  196. package/ts/types/Interface/api/woocommerce/WCLineItem.ts +18 -0
  197. package/ts/types/Interface/api/woocommerce/WCLinks.ts +7 -0
  198. package/ts/types/Interface/api/woocommerce/WCMetaData.ts +5 -0
  199. package/ts/types/Interface/api/woocommerce/WCOrder.ts +50 -0
  200. package/ts/types/Interface/api/woocommerce/WCSelf.ts +3 -0
  201. package/ts/types/Interface/api/woocommerce/WCShiping.ts +12 -0
  202. package/ts/types/Interface/api/woocommerce/WCShippingLine.ts +12 -0
  203. package/ts/types/Interface/api/woocommerce/WCTaxes.ts +9 -0
  204. package/ts/types/index.ts +16 -2
  205. package/es/types/Enum/ShopifyFinancialStatus.d.ts.map +0 -1
  206. package/es/types/Enum/ShopifyFinancialStatus.js.map +0 -1
  207. package/es/types/Interface/api/shopify/ImportInvoicesShopify.d.ts +0 -7
  208. package/es/types/Interface/api/shopify/ImportInvoicesShopify.d.ts.map +0 -1
  209. package/es/types/Interface/api/shopify/ImportInvoicesShopify.js.map +0 -1
  210. package/js/types/Interface/api/shopify/ImportInvoicesShopify.js.map +0 -1
  211. /package/es/types/{Enum → Interface/api/shopify}/ShopifyFinancialStatus.d.ts +0 -0
  212. /package/es/types/{Enum → Interface/api/shopify}/ShopifyFinancialStatus.js +0 -0
  213. /package/js/types/{Enum → Interface/api/shopify}/ShopifyFinancialStatus.js +0 -0
  214. /package/js/types/{Enum → Interface/api/shopify}/ShopifyFinancialStatus.js.map +0 -0
  215. /package/ts/types/{Enum → Interface/api/shopify}/ShopifyFinancialStatus.ts +0 -0
@@ -0,0 +1,12 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class QueryDeadline {
4
+ @ApiProperty()
5
+ startDate: string | Date;
6
+
7
+ @ApiProperty()
8
+ endDate: string | Date;
9
+
10
+ @ApiProperty()
11
+ datesType?: Array<string>;
12
+ }
@@ -12,4 +12,7 @@ export class QueryGescom {
12
12
 
13
13
  @ApiPropertyOptional()
14
14
  isLate?: boolean;
15
+
16
+ @ApiPropertyOptional()
17
+ isCanceled?: boolean;
15
18
  }
@@ -1,10 +1,16 @@
1
1
  export class ReadBalanceBankAccount {
2
2
  periodicity: string;
3
3
  nb: number;
4
- balancesBankDatas: Array<BankAccountData>;
4
+ balancesBankDatas: BankAccountData[][];
5
5
  labels: string[];
6
+ totalBalances?: TotalBalances[];
6
7
  }
7
8
 
9
+ export type TotalBalances = {
10
+ idBankAccount: number;
11
+ balance: number;
12
+ };
13
+
8
14
  export class BankAccountData {
9
15
  idBankAccount?: number;
10
16
  noData?: boolean;
@@ -0,0 +1,17 @@
1
+ export class ReadDeadline {
2
+ vat?: Array<string>;
3
+ cfe?: Array<string>;
4
+ tvs?: Array<string>;
5
+ balanceSheetClosing?: Array<string>;
6
+ submittingBalanceSheetTaxPurpose?: Array<string>;
7
+ incomeTax?: Array<string>;
8
+ PVAG?: Array<string>;
9
+ CVAE?: CVAEType;
10
+ isSoldes?: Array<string>;
11
+ isDeposits?: Array<string>;
12
+ }
13
+
14
+ export class CVAEType {
15
+ deposit: Array<string>;
16
+ declaration: Array<string>;
17
+ }
@@ -1,8 +1,8 @@
1
1
  export class ReadTopBuys {
2
+ icon: string;
3
+ color: string;
2
4
  id: number;
3
5
  name: string;
4
6
  amount: number;
5
- color: string;
6
- icon: string;
7
7
  iconPNG: string;
8
8
  }
@@ -1,8 +1,8 @@
1
1
  export class ReadTopProviders {
2
+ icon: string;
3
+ color: string;
2
4
  company: string;
3
5
  idThirdParty: number;
4
6
  amount: number;
5
- color: string;
6
- icon: string;
7
7
  iconPNG: string;
8
8
  }
@@ -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
+ }
@@ -12,9 +12,7 @@ import { ClientDetails } from './client_details';
12
12
  import { PaymentDetails } from './payment_details';
13
13
  import { PriceSet } from './price_set';
14
14
  import { NoteAttribute } from './note_attribute';
15
-
16
- // Enum imports
17
- import { FinancialStatus } from '../../../Enum/ShopifyFinancialStatus';
15
+ import { FinancialStatus } from './ShopifyFinancialStatus';
18
16
 
19
17
  export interface ShopifyOrder extends ShopifyObject {
20
18
  /**
@@ -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,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
+ }
package/ts/types/index.ts CHANGED
@@ -335,6 +335,8 @@ export * from './Enum/TypeCustomerProviderOperation';
335
335
  export * from './Enum/EstimateInvoice';
336
336
  export * from './Enum/Gescom';
337
337
  export * from './Enum/TypeIncomeAllocation';
338
+ export * from './Enum/AccountingFileType';
339
+ export * from './Enum/FileType';
338
340
 
339
341
  // Interfaces API
340
342
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
@@ -387,11 +389,13 @@ export * from './Interface/api/dashboard/QueryVat';
387
389
  export * from './Interface/api/dashboard/QueryTopBuys';
388
390
  export * from './Interface/api/dashboard/QueryTopProviders';
389
391
  export * from './Interface/api/dashboard/ReadBalanceBankAccount';
392
+ export * from './Interface/api/dashboard/QueryGescom';
393
+ export * from './Interface/api/dashboard/QueryDeadline';
390
394
  export * from './Interface/api/dashboard/ReadVat';
391
395
  export * from './Interface/api/dashboard/ReadTopBuys';
392
396
  export * from './Interface/api/dashboard/ReadTopProviders';
393
- export * from './Interface/api/dashboard/QueryGescom';
394
397
  export * from './Interface/api/dashboard/ReadGescom';
398
+ export * from './Interface/api/dashboard/ReadDeadline';
395
399
 
396
400
  // export * from './Interface/api/survey/QuerySurvey';
397
401
  export * from './Interface/api/survey/ReadSurvey';
@@ -444,7 +448,17 @@ export * from './Interface/api/balanceSheetModule/UpdateBalanceSheetModule';
444
448
  export * from './Interface/api/balanceSheetModule/GetBalanceSheetModule';
445
449
  export * from './Interface/api/shopify/ShopifyOrder';
446
450
  export * from './Interface/api/shopify/address';
447
- export * from './Interface/api/shopify/ImportInvoicesShopify';
451
+ export * from './Interface/api/shopify/InvoicesShopify';
452
+ export * from './Interface/api/shopify/line_item';
453
+ export * from './Interface/api/shopify/tax_line';
454
+ export * from './Interface/api/shopify/shipping_line';
455
+ export * from './Interface/api/prestashop/PSOrder';
456
+ export * from './Interface/api/prestashop/PSAddress';
457
+ export * from './Interface/api/prestashop/PSCountry';
458
+ export * from './Interface/api/prestashop/InvoicesPrestashop';
459
+ export * from './Interface/api/woocommerce/WCOrder';
460
+ export * from './Interface/api/woocommerce/WCBilling';
461
+ export * from './Interface/api/woocommerce/InvoicesWoocommerce';
448
462
  export * from './Interface/api/transactions/QueryUnexport';
449
463
  export * from './Interface/api/crisp/GetCrisp';
450
464
  export * from './Interface/api/incomeAllocation/CreateIncomeAllocation';
@@ -1 +0,0 @@
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"}
@@ -1 +0,0 @@
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"]}
@@ -1,7 +0,0 @@
1
- export declare class ImportInvoicesShopify {
2
- order: string;
3
- limit: number;
4
- ids: number[];
5
- idSociety: number;
6
- }
7
- //# sourceMappingURL=ImportInvoicesShopify.d.ts.map
@@ -1 +0,0 @@
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,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,EAAE,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -1 +0,0 @@
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;CASjC;AAPC;IADC,mBAAmB,EAAE;;oDACR;AAEd;IADC,mBAAmB,EAAE;;oDACR;AAEd;IADC,mBAAmB,EAAE;;kDACR;AAEd;IADC,mBAAmB,EAAE;;wDACJ","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class ImportInvoicesShopify {\n @ApiPropertyOptional()\n order: string;\n @ApiPropertyOptional()\n limit: number;\n @ApiPropertyOptional()\n ids: number[];\n @ApiPropertyOptional()\n idSociety: number;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../ts/types/Interface/api/shopify/ImportInvoicesShopify.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,qBAAP,CAA4B;;QAArB,qB,GAAA,qB;;AAEX,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,+BAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAEA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,+BAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAEA,UAAA,CAAA,CADC,iCACD,E,gCAAA,CAAA,E,+BAAA,E,KAAA,E,KAAc,CAAd,CAAA;;AAEA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,+BAAA,E,WAAA,E,KAAkB,CAAlB,CAAA","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class ImportInvoicesShopify {\n @ApiPropertyOptional()\n order: string;\n @ApiPropertyOptional()\n limit: number;\n @ApiPropertyOptional()\n ids: number[];\n @ApiPropertyOptional()\n idSociety: number;\n}\n"],"sourceRoot":"","file":"ImportInvoicesShopify.js"}