@silexpert/core 0.4.28 → 0.4.30

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 (118) hide show
  1. package/es/api/resources/Loan.d.ts +11 -0
  2. package/es/api/resources/Loan.d.ts.map +1 -0
  3. package/es/api/resources/Loan.js +13 -0
  4. package/es/api/resources/Loan.js.map +1 -0
  5. package/es/api/resources/SocietyPromoCode.d.ts +8 -0
  6. package/es/api/resources/SocietyPromoCode.d.ts.map +1 -0
  7. package/es/api/resources/SocietyPromoCode.js +13 -0
  8. package/es/api/resources/SocietyPromoCode.js.map +1 -0
  9. package/es/api/resources/Stocks.d.ts +11 -0
  10. package/es/api/resources/Stocks.d.ts.map +1 -0
  11. package/es/api/resources/Stocks.js +22 -0
  12. package/es/api/resources/Stocks.js.map +1 -0
  13. package/es/api/resources.d.ts +6 -0
  14. package/es/api/resources.d.ts.map +1 -1
  15. package/es/api/resources.js +6 -0
  16. package/es/api/resources.js.map +1 -1
  17. package/es/types/Enum/GlobalRegime.js +41 -41
  18. package/es/types/Enum/GlobalRegime.js.map +1 -1
  19. package/es/types/Enum/StockType.d.ts +15 -55
  20. package/es/types/Enum/StockType.d.ts.map +1 -1
  21. package/es/types/Enum/StockType.js +24 -0
  22. package/es/types/Enum/StockType.js.map +1 -1
  23. package/es/types/Interface/api/loan/CreateLoan.d.ts +10 -0
  24. package/es/types/Interface/api/loan/CreateLoan.d.ts.map +1 -0
  25. package/es/types/Interface/api/loan/CreateLoan.js +41 -0
  26. package/es/types/Interface/api/loan/CreateLoan.js.map +1 -0
  27. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +5 -0
  28. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +1 -0
  29. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +21 -0
  30. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -0
  31. package/es/types/Interface/api/stock/StockEntries.d.ts +20 -0
  32. package/es/types/Interface/api/stock/StockEntries.d.ts.map +1 -0
  33. package/es/types/Interface/api/stock/StockEntries.js +114 -0
  34. package/es/types/Interface/api/stock/StockEntries.js.map +1 -0
  35. package/es/types/Interface/api/stock/Stocks.d.ts +14 -0
  36. package/es/types/Interface/api/stock/Stocks.d.ts.map +1 -0
  37. package/es/types/Interface/api/stock/Stocks.js +2 -0
  38. package/es/types/Interface/api/stock/Stocks.js.map +1 -0
  39. package/es/types/Interface/api/stock/StocksDepreciationInterface.d.ts +8 -0
  40. package/es/types/Interface/api/stock/StocksDepreciationInterface.d.ts.map +1 -0
  41. package/es/types/Interface/api/stock/StocksDepreciationInterface.js +2 -0
  42. package/es/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -0
  43. package/es/types/Interface/api/stock/StocksType.d.ts +7 -0
  44. package/es/types/Interface/api/stock/StocksType.d.ts.map +1 -0
  45. package/es/types/Interface/api/stock/StocksType.js +2 -0
  46. package/es/types/Interface/api/stock/StocksType.js.map +1 -0
  47. package/es/types/Interface/models/IBalanceSheetModule.d.ts +11 -0
  48. package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -0
  49. package/es/types/Interface/models/IBalanceSheetModule.js +2 -0
  50. package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -0
  51. package/es/types/Interface/models/ILoan.d.ts +18 -0
  52. package/es/types/Interface/models/ILoan.d.ts.map +1 -0
  53. package/es/types/Interface/models/ILoan.js +2 -0
  54. package/es/types/Interface/models/ILoan.js.map +1 -0
  55. package/es/types/Interface/models/ISocietyPromoCode.d.ts +8 -0
  56. package/es/types/Interface/models/ISocietyPromoCode.d.ts.map +1 -0
  57. package/es/types/Interface/models/ISocietyPromoCode.js +2 -0
  58. package/es/types/Interface/models/ISocietyPromoCode.js.map +1 -0
  59. package/es/types/Interface/models/IStock.d.ts +11 -0
  60. package/es/types/Interface/models/IStock.d.ts.map +1 -0
  61. package/es/types/Interface/models/IStock.js +2 -0
  62. package/es/types/Interface/models/IStock.js.map +1 -0
  63. package/es/types/index.d.ts +9 -0
  64. package/es/types/index.d.ts.map +1 -1
  65. package/es/types/index.js +11 -0
  66. package/es/types/index.js.map +1 -1
  67. package/js/api/resources/Loan.js +26 -0
  68. package/js/api/resources/Loan.js.map +1 -0
  69. package/js/api/resources/SocietyPromoCode.js +26 -0
  70. package/js/api/resources/SocietyPromoCode.js.map +1 -0
  71. package/js/api/resources/Stocks.js +44 -0
  72. package/js/api/resources/Stocks.js.map +1 -0
  73. package/js/api/resources.js +10 -1
  74. package/js/api/resources.js.map +1 -1
  75. package/js/types/Enum/GlobalRegime.js +41 -41
  76. package/js/types/Enum/GlobalRegime.js.map +1 -1
  77. package/js/types/Enum/StockType.js +25 -1
  78. package/js/types/Enum/StockType.js.map +1 -1
  79. package/js/types/Interface/api/loan/CreateLoan.js +39 -0
  80. package/js/types/Interface/api/loan/CreateLoan.js.map +1 -0
  81. package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +29 -0
  82. package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -0
  83. package/js/types/Interface/api/stock/StockEntries.js +98 -0
  84. package/js/types/Interface/api/stock/StockEntries.js.map +1 -0
  85. package/js/types/Interface/api/stock/Stocks.js +6 -0
  86. package/js/types/Interface/api/stock/Stocks.js.map +1 -0
  87. package/js/types/Interface/api/stock/StocksDepreciationInterface.js +6 -0
  88. package/js/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -0
  89. package/js/types/Interface/api/stock/StocksType.js +6 -0
  90. package/js/types/Interface/api/stock/StocksType.js.map +1 -0
  91. package/js/types/Interface/models/IBalanceSheetModule.js +6 -0
  92. package/js/types/Interface/models/IBalanceSheetModule.js.map +1 -0
  93. package/js/types/Interface/models/ILoan.js +6 -0
  94. package/js/types/Interface/models/ILoan.js.map +1 -0
  95. package/js/types/Interface/models/ISocietyPromoCode.js +6 -0
  96. package/js/types/Interface/models/ISocietyPromoCode.js.map +1 -0
  97. package/js/types/Interface/models/IStock.js +6 -0
  98. package/js/types/Interface/models/IStock.js.map +1 -0
  99. package/js/types/index.js +108 -0
  100. package/js/types/index.js.map +1 -1
  101. package/package.json +1 -1
  102. package/ts/api/resources/Loan.ts +17 -0
  103. package/ts/api/resources/SocietyPromoCode.ts +16 -0
  104. package/ts/api/resources/Stocks.ts +28 -0
  105. package/ts/api/resources.ts +6 -0
  106. package/ts/types/Enum/GlobalRegime.ts +41 -41
  107. package/ts/types/Enum/StockType.ts +31 -2
  108. package/ts/types/Interface/api/loan/CreateLoan.ts +24 -0
  109. package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +9 -0
  110. package/ts/types/Interface/api/stock/StockEntries.ts +115 -0
  111. package/ts/types/Interface/api/stock/Stocks.ts +14 -0
  112. package/ts/types/Interface/api/stock/StocksDepreciationInterface.ts +8 -0
  113. package/ts/types/Interface/api/stock/StocksType.ts +6 -0
  114. package/ts/types/Interface/models/IBalanceSheetModule.ts +11 -0
  115. package/ts/types/Interface/models/ILoan.ts +20 -0
  116. package/ts/types/Interface/models/ISocietyPromoCode.ts +7 -0
  117. package/ts/types/Interface/models/IStock.ts +10 -0
  118. package/ts/types/index.ts +11 -0
@@ -0,0 +1,20 @@
1
+ import { ISociety } from './ISociety';
2
+ import { IExercice } from './IExercice';
3
+
4
+ export interface ILoan {
5
+ id?: number;
6
+ name: string;
7
+ lenderDesignation: string;
8
+ number: number;
9
+ amount: number;
10
+ assetBeforeExercice: number;
11
+ assetAfterExercice: number;
12
+ idExercice: number;
13
+ idSociety: number;
14
+ createdAt?: Date | null;
15
+ updatedAt?: Date | null;
16
+
17
+ // Associations
18
+ society?: ISociety;
19
+ exercice?: IExercice
20
+ }
@@ -0,0 +1,7 @@
1
+ export interface ISocietyPromoCode {
2
+ id?: number;
3
+ idSociety: number;
4
+ idPromoCode: number;
5
+ createdAt?: Date | null;
6
+ updatedAt?: Date | null;
7
+ }
@@ -0,0 +1,10 @@
1
+ export interface IStock {
2
+ id?: number;
3
+ dateValue: Date;
4
+ idAccountingTransaction: number;
5
+ idAccountingTransactionExtourne: number;
6
+ idAccountingTransactionDepreciation: number | null;
7
+ idAccountingTransactionDepreciationExtourne: number | null;
8
+ idAccountReferral: number;
9
+ idSociety: number;
10
+ }
package/ts/types/index.ts CHANGED
@@ -276,6 +276,10 @@ export * from './Interface/models/IFecFile';
276
276
  export * from './Interface/models/ISuggestion';
277
277
  export * from './Interface/models/ISalariesFile';
278
278
  export * from './Interface/models/IPromoCode';
279
+ export * from './Interface/models/ILoan';
280
+ export * from './Interface/models/IBalanceSheetModule';
281
+ export * from './Interface/models/IStock';
282
+ export * from './Interface/models/ISocietyPromoCode';
279
283
 
280
284
  // Forms
281
285
  export * from './Form/FormAuthenticate';
@@ -321,6 +325,7 @@ export * from './Enum/TaxSystem';
321
325
  export * from './Enum/FiscalRegime';
322
326
  export * from './Enum/Activity';
323
327
  export * from './Enum/CerfaType';
328
+ export * from './Enum/StockType';
324
329
 
325
330
  // Interfaces API
326
331
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
@@ -356,6 +361,8 @@ export * from './Interface/api/BasePaginate';
356
361
  export * from './Interface/api/BaseRequest';
357
362
  export * from './Interface/api/generalLedger/IGeneralLedgerAccount';
358
363
  export * from './Interface/api/generalLedger/IGeneralLedgerAccountingEntry';
364
+ // export * from './Interface/api/stock/stockEntries';
365
+ export * from './Interface/api/stock/StockEntries';
359
366
 
360
367
  // export * from './Interface/api/survey/QuerySurvey';
361
368
  export * from './Interface/api/survey/ReadSurvey';
@@ -396,3 +403,7 @@ export * from './Interface/api/shine/ConnectResponse';
396
403
  export * from './Interface/api/promoCode/UpdatePromoCode';
397
404
  export * from './Interface/api/promoCode/CreatePromoCode';
398
405
  export * from './Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount';
406
+ export * from './Interface/api/loan/CreateLoan';
407
+ export * from './Interface/api/stock/StocksType';
408
+ // export * from './Interface/api/stock/StockEntries';
409
+ export * from './Interface/api/societyPromoCode/CreateSocietyPromoCode';