@silexpert/core 0.4.90 → 0.4.92

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 (231) hide show
  1. package/es/api/resources/PartneredAccountant.d.ts +14 -0
  2. package/es/api/resources/PartneredAccountant.d.ts.map +1 -0
  3. package/es/api/resources/PartneredAccountant.js +28 -0
  4. package/es/api/resources/PartneredAccountant.js.map +1 -0
  5. package/es/api/resources/QuotesAccount.d.ts +3 -2
  6. package/es/api/resources/QuotesAccount.d.ts.map +1 -1
  7. package/es/api/resources/QuotesAccount.js +4 -1
  8. package/es/api/resources/QuotesAccount.js.map +1 -1
  9. package/es/api/resources/Transaction.d.ts +3 -1
  10. package/es/api/resources/Transaction.d.ts.map +1 -1
  11. package/es/api/resources/Transaction.js +6 -0
  12. package/es/api/resources/Transaction.js.map +1 -1
  13. package/es/api/resources.d.ts +2 -0
  14. package/es/api/resources.d.ts.map +1 -1
  15. package/es/api/resources.js +2 -0
  16. package/es/api/resources.js.map +1 -1
  17. package/es/types/Enum/PartneredAccountantServiceState.d.ts +7 -0
  18. package/es/types/Enum/PartneredAccountantServiceState.d.ts.map +1 -0
  19. package/es/types/Enum/PartneredAccountantServiceState.js +8 -0
  20. package/es/types/Enum/PartneredAccountantServiceState.js.map +1 -0
  21. package/es/types/Enum/Proceding.d.ts +35 -0
  22. package/es/types/Enum/Proceding.d.ts.map +1 -0
  23. package/es/types/Enum/Proceding.js +35 -0
  24. package/es/types/Enum/Proceding.js.map +1 -0
  25. package/es/types/Enum/ReportType.d.ts +4 -0
  26. package/es/types/Enum/ReportType.d.ts.map +1 -1
  27. package/es/types/Enum/ReportType.js +4 -0
  28. package/es/types/Enum/ReportType.js.map +1 -1
  29. package/es/types/Enum/Role.d.ts +3 -1
  30. package/es/types/Enum/Role.d.ts.map +1 -1
  31. package/es/types/Enum/Role.js +2 -0
  32. package/es/types/Enum/Role.js.map +1 -1
  33. package/es/types/Interface/api/account/ReadQuoteAccount.d.ts +8 -0
  34. package/es/types/Interface/api/account/ReadQuoteAccount.d.ts.map +1 -0
  35. package/es/types/Interface/api/account/ReadQuoteAccount.js +2 -0
  36. package/es/types/Interface/api/account/ReadQuoteAccount.js.map +1 -0
  37. package/es/types/Interface/api/accountingEntry/CreateManualEntry.d.ts +8 -0
  38. package/es/types/Interface/api/accountingEntry/CreateManualEntry.d.ts.map +1 -0
  39. package/es/types/Interface/api/accountingEntry/CreateManualEntry.js +33 -0
  40. package/es/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -0
  41. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts +6 -0
  42. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts.map +1 -0
  43. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js +25 -0
  44. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -0
  45. package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.d.ts +5 -0
  46. package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.d.ts.map +1 -0
  47. package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js +21 -0
  48. package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -0
  49. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountant.d.ts +19 -0
  50. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountant.d.ts.map +1 -0
  51. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js +3 -0
  52. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js.map +1 -0
  53. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.d.ts +5 -0
  54. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.d.ts.map +1 -0
  55. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js +2 -0
  56. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js.map +1 -0
  57. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.d.ts +9 -0
  58. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.d.ts.map +1 -0
  59. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js +3 -0
  60. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js.map +1 -0
  61. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.d.ts +5 -0
  62. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.d.ts.map +1 -0
  63. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js +3 -0
  64. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js.map +1 -0
  65. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.d.ts +8 -0
  66. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.d.ts.map +1 -0
  67. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js +2 -0
  68. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js.map +1 -0
  69. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts +6 -0
  70. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts.map +1 -0
  71. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js +22 -0
  72. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -0
  73. package/es/types/Interface/api/salariesFile/ReadSalariesFile.d.ts +3 -0
  74. package/es/types/Interface/api/salariesFile/ReadSalariesFile.d.ts.map +1 -1
  75. package/es/types/Interface/api/salariesFile/ReadSalariesFile.js.map +1 -1
  76. package/es/types/Interface/api/sponsorship/QuerySponsorship.d.ts +3 -0
  77. package/es/types/Interface/api/sponsorship/QuerySponsorship.d.ts.map +1 -1
  78. package/es/types/Interface/api/sponsorship/QuerySponsorship.js +6 -0
  79. package/es/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
  80. package/es/types/Interface/api/sponsorship/ReadSponsorship.d.ts +10 -0
  81. package/es/types/Interface/api/sponsorship/ReadSponsorship.d.ts.map +1 -1
  82. package/es/types/Interface/api/sponsorship/ReadSponsorship.js.map +1 -1
  83. package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -0
  84. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  85. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  86. package/es/types/Interface/models/IApiError.d.ts +1 -0
  87. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  88. package/es/types/Interface/models/IApiError.js +1 -0
  89. package/es/types/Interface/models/IApiError.js.map +1 -1
  90. package/es/types/Interface/models/IPartneredAccountant.d.ts +27 -0
  91. package/es/types/Interface/models/IPartneredAccountant.d.ts.map +1 -0
  92. package/es/types/Interface/models/IPartneredAccountant.js +2 -0
  93. package/es/types/Interface/models/IPartneredAccountant.js.map +1 -0
  94. package/es/types/Interface/models/IPartneredAccountantCompanyService.d.ts +17 -0
  95. package/es/types/Interface/models/IPartneredAccountantCompanyService.d.ts.map +1 -0
  96. package/es/types/Interface/models/IPartneredAccountantCompanyService.js +2 -0
  97. package/es/types/Interface/models/IPartneredAccountantCompanyService.js.map +1 -0
  98. package/es/types/Interface/models/IPartneredAccountantPicture.d.ts +12 -0
  99. package/es/types/Interface/models/IPartneredAccountantPicture.d.ts.map +1 -0
  100. package/es/types/Interface/models/IPartneredAccountantPicture.js +2 -0
  101. package/es/types/Interface/models/IPartneredAccountantPicture.js.map +1 -0
  102. package/es/types/Interface/models/IPartneredAccountantService.d.ts +13 -0
  103. package/es/types/Interface/models/IPartneredAccountantService.d.ts.map +1 -0
  104. package/es/types/Interface/models/IPartneredAccountantService.js +2 -0
  105. package/es/types/Interface/models/IPartneredAccountantService.js.map +1 -0
  106. package/es/types/Interface/models/IPartneredAccountantTag.d.ts +8 -0
  107. package/es/types/Interface/models/IPartneredAccountantTag.d.ts.map +1 -0
  108. package/es/types/Interface/models/IPartneredAccountantTag.js +2 -0
  109. package/es/types/Interface/models/IPartneredAccountantTag.js.map +1 -0
  110. package/es/types/Interface/models/IPartneredAccountantToTag.d.ts +12 -0
  111. package/es/types/Interface/models/IPartneredAccountantToTag.d.ts.map +1 -0
  112. package/es/types/Interface/models/IPartneredAccountantToTag.js +2 -0
  113. package/es/types/Interface/models/IPartneredAccountantToTag.js.map +1 -0
  114. package/es/types/Interface/models/ISalariesFile.d.ts +2 -0
  115. package/es/types/Interface/models/ISalariesFile.d.ts.map +1 -1
  116. package/es/types/Interface/models/ISalariesFile.js.map +1 -1
  117. package/es/types/Interface/models/ISociety.d.ts +2 -2
  118. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  119. package/es/types/Interface/models/ISociety.js.map +1 -1
  120. package/es/types/Interface/models/{ISocietyProceeding.d.ts → ISocietyProceding.d.ts} +6 -6
  121. package/es/types/Interface/models/ISocietyProceding.d.ts.map +1 -0
  122. package/es/types/Interface/models/ISocietyProceding.js +2 -0
  123. package/es/types/Interface/models/ISocietyProceding.js.map +1 -0
  124. package/es/types/Interface/models/ITeam.d.ts +1 -1
  125. package/es/types/Interface/models/ITeam.d.ts.map +1 -1
  126. package/es/types/Interface/models/ITeam.js.map +1 -1
  127. package/es/types/Interface/models/IUser.d.ts +1 -0
  128. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  129. package/es/types/Interface/models/IUser.js.map +1 -1
  130. package/es/types/index.d.ts +19 -1
  131. package/es/types/index.d.ts.map +1 -1
  132. package/es/types/index.js +19 -1
  133. package/es/types/index.js.map +1 -1
  134. package/export-models.json +9 -0
  135. package/js/api/resources/PartneredAccountant.js +52 -0
  136. package/js/api/resources/PartneredAccountant.js.map +1 -0
  137. package/js/api/resources/QuotesAccount.js +5 -1
  138. package/js/api/resources/QuotesAccount.js.map +1 -1
  139. package/js/api/resources/Transaction.js +8 -0
  140. package/js/api/resources/Transaction.js.map +1 -1
  141. package/js/api/resources.js +4 -1
  142. package/js/api/resources.js.map +1 -1
  143. package/js/types/Enum/PartneredAccountantServiceState.js +14 -0
  144. package/js/types/Enum/PartneredAccountantServiceState.js.map +1 -0
  145. package/js/types/Enum/Proceding.js +40 -0
  146. package/js/types/Enum/Proceding.js.map +1 -0
  147. package/js/types/Enum/ReportType.js +4 -0
  148. package/js/types/Enum/ReportType.js.map +1 -1
  149. package/js/types/Enum/Role.js +2 -0
  150. package/js/types/Enum/Role.js.map +1 -1
  151. package/js/types/Interface/{models/ISocietyProceeding.js → api/account/ReadQuoteAccount.js} +1 -1
  152. package/js/types/Interface/{models/ISocietyProceeding.js.map → api/account/ReadQuoteAccount.js.map} +1 -1
  153. package/js/types/Interface/api/accountingEntry/CreateManualEntry.js +35 -0
  154. package/js/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -0
  155. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js +31 -0
  156. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -0
  157. package/js/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js +29 -0
  158. package/js/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -0
  159. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js +10 -0
  160. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js.map +1 -0
  161. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js +6 -0
  162. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js.map +1 -0
  163. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js +10 -0
  164. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js.map +1 -0
  165. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js +10 -0
  166. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js.map +1 -0
  167. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js +6 -0
  168. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js.map +1 -0
  169. package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js +31 -0
  170. package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -0
  171. package/js/types/Interface/api/sponsorship/QuerySponsorship.js +9 -1
  172. package/js/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
  173. package/js/types/Interface/api/sponsorship/ReadSponsorship.js.map +1 -1
  174. package/js/types/Interface/models/IApiError.js +2 -1
  175. package/js/types/Interface/models/IApiError.js.map +1 -1
  176. package/js/types/Interface/models/IPartneredAccountant.js +6 -0
  177. package/js/types/Interface/models/IPartneredAccountant.js.map +1 -0
  178. package/js/types/Interface/models/IPartneredAccountantCompanyService.js +6 -0
  179. package/js/types/Interface/models/IPartneredAccountantCompanyService.js.map +1 -0
  180. package/js/types/Interface/models/IPartneredAccountantPicture.js +6 -0
  181. package/js/types/Interface/models/IPartneredAccountantPicture.js.map +1 -0
  182. package/js/types/Interface/models/IPartneredAccountantService.js +6 -0
  183. package/js/types/Interface/models/IPartneredAccountantService.js.map +1 -0
  184. package/js/types/Interface/models/IPartneredAccountantTag.js +6 -0
  185. package/js/types/Interface/models/IPartneredAccountantTag.js.map +1 -0
  186. package/js/types/Interface/models/IPartneredAccountantToTag.js +6 -0
  187. package/js/types/Interface/models/IPartneredAccountantToTag.js.map +1 -0
  188. package/js/types/Interface/models/ISocietyProceding.js +6 -0
  189. package/js/types/Interface/models/ISocietyProceding.js.map +1 -0
  190. package/js/types/index.js +219 -3
  191. package/js/types/index.js.map +1 -1
  192. package/package.json +1 -1
  193. package/table.json +1 -1
  194. package/ts/api/resources/PartneredAccountant.ts +51 -0
  195. package/ts/api/resources/QuotesAccount.ts +8 -4
  196. package/ts/api/resources/Transaction.ts +9 -1
  197. package/ts/api/resources.ts +2 -0
  198. package/ts/types/Enum/PartneredAccountantServiceState.ts +6 -0
  199. package/ts/types/Enum/Proceding.ts +34 -0
  200. package/ts/types/Enum/ReportType.ts +4 -0
  201. package/ts/types/Enum/Role.ts +2 -0
  202. package/ts/types/Interface/api/account/ReadQuoteAccount.ts +8 -0
  203. package/ts/types/Interface/api/accountingEntry/CreateManualEntry.ts +18 -0
  204. package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.ts +12 -0
  205. package/ts/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.ts +9 -0
  206. package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountant.ts +21 -0
  207. package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.ts +5 -0
  208. package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.ts +8 -0
  209. package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.ts +4 -0
  210. package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.ts +11 -0
  211. package/ts/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.ts +10 -0
  212. package/ts/types/Interface/api/salariesFile/ReadSalariesFile.ts +3 -0
  213. package/ts/types/Interface/api/sponsorship/QuerySponsorship.ts +5 -0
  214. package/ts/types/Interface/api/sponsorship/ReadSponsorship.ts +1 -1
  215. package/ts/types/Interface/models/IAccountingTransaction.ts +1 -0
  216. package/ts/types/Interface/models/IApiError.ts +1 -0
  217. package/ts/types/Interface/models/IPartneredAccountant.ts +30 -0
  218. package/ts/types/Interface/models/IPartneredAccountantCompanyService.ts +20 -0
  219. package/ts/types/Interface/models/IPartneredAccountantPicture.ts +15 -0
  220. package/ts/types/Interface/models/IPartneredAccountantService.ts +16 -0
  221. package/ts/types/Interface/models/IPartneredAccountantTag.ts +8 -0
  222. package/ts/types/Interface/models/IPartneredAccountantToTag.ts +15 -0
  223. package/ts/types/Interface/models/ISalariesFile.ts +2 -0
  224. package/ts/types/Interface/models/ISociety.ts +2 -2
  225. package/ts/types/Interface/models/{ISocietyProceeding.ts → ISocietyProceding.ts} +5 -5
  226. package/ts/types/Interface/models/ITeam.ts +1 -1
  227. package/ts/types/Interface/models/IUser.ts +1 -0
  228. package/ts/types/index.ts +19 -1
  229. package/es/types/Interface/models/ISocietyProceeding.d.ts.map +0 -1
  230. package/es/types/Interface/models/ISocietyProceeding.js +0 -2
  231. package/es/types/Interface/models/ISocietyProceeding.js.map +0 -1
@@ -1,11 +1,15 @@
1
1
  import { Resource } from '../Resource';
2
- import { QueryQuotesAccount } from '../../types';
2
+ import { IAccountingTransaction, QueryQuotesAccount, ReadQuoteAccount } from '../../types';
3
3
 
4
4
  const ROUTE = 'quotes';
5
5
  export class Dashboard extends Resource {
6
- getQuoteAccount(
6
+ create(
7
7
  params: QueryQuotesAccount,
8
- ) {
8
+ ): Promise<IAccountingTransaction> {
9
9
  return this.axios.$post(`${ROUTE}/account`, { params });
10
10
  }
11
- }
11
+
12
+ get(idExercice: number): Promise<ReadQuoteAccount[]> {
13
+ return this.axios.$get(`${ROUTE}/account/${idExercice}`);
14
+ }
15
+ }
@@ -2,7 +2,7 @@ import { Resource } from '../Resource';
2
2
  import {
3
3
  AccountingJournal,
4
4
  BasePaginate,
5
- QueryPaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance,
5
+ QueryPaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance, CreateManualEntry, IAccountingEntry,
6
6
  } from '../../types';
7
7
 
8
8
  export class Transaction extends Resource {
@@ -37,4 +37,12 @@ export class Transaction extends Resource {
37
37
  getBalanceQuotaShare(idExercice: number): Promise<Array<ReadAccountantBalance>> {
38
38
  return this.axios.$get(`/society/balance/${idExercice}`);
39
39
  }
40
+
41
+ createManual(data: Array<CreateManualEntry>): Promise<IAccountingTransaction> {
42
+ return this.axios.$post('/society/manual-transactions', data);
43
+ }
44
+
45
+ getAllManual(idExercice: number): Promise<Array<Array<IAccountingEntry>>> {
46
+ return this.axios.$get(`/society/manual-transactions/exercices/${idExercice}`);
47
+ }
40
48
  }
@@ -39,6 +39,7 @@ import { Library } from './resources/Library';
39
39
  import { TaxDeadline } from './resources/TaxDeadline';
40
40
  import { ExerciceNote } from './resources/ExerciceNote';
41
41
  import { Connector } from './resources/Connector';
42
+ import { PartneredAccountant } from './resources/PartneredAccountant';
42
43
 
43
44
  export const resources = {
44
45
  simulation: Simulation,
@@ -82,4 +83,5 @@ export const resources = {
82
83
  taxDeadline: TaxDeadline,
83
84
  exerciceNote: ExerciceNote,
84
85
  connector: Connector,
86
+ partneredAccountant: PartneredAccountant,
85
87
  };
@@ -0,0 +1,6 @@
1
+ export enum PartneredAccountantServiceState {
2
+ DECLINED = 0,
3
+ WAITING = 1,
4
+ ACCEPTED = 2,
5
+ PAYED = 3,
6
+ }
@@ -0,0 +1,34 @@
1
+ export const Proceding = {
2
+ BACKUP_PROCEDURE: {
3
+ id: 1,
4
+ name: 'Procédure de sauvegarde',
5
+ },
6
+ JUDICIAL_REORGANIZATION_PROCEDURE: {
7
+ id: 2,
8
+ name: 'Procédure de redressement judiciaire',
9
+ },
10
+ JUDICIAL_LIQUIDATION_PROCEDURE: {
11
+ id: 3,
12
+ name: 'Procédure de liquidation judiciaire',
13
+ },
14
+ CONCILIATION_PROCEDURE: {
15
+ id: 4,
16
+ name: 'Procédure de conciliation',
17
+ },
18
+ CONTINUATION_OF_THE_ACTIVITY: {
19
+ id: 5,
20
+ name: 'Poursuite de l\'activité',
21
+ },
22
+ DISSOLUTION: {
23
+ id: 6,
24
+ name: 'Dissolution / liquidation',
25
+ },
26
+ MOTHBALLING: {
27
+ id: 7,
28
+ name: 'Mise en sommeil',
29
+ },
30
+ EI_LIQUIDATION: {
31
+ id: 8,
32
+ name: 'Liquidation EI',
33
+ },
34
+ };
@@ -27,4 +27,8 @@ export const ReportType = {
27
27
  id: 6,
28
28
  name: 'Réponse de + de 3 mois',
29
29
  },
30
+ UNHAPPY_CUSTOMER: {
31
+ id: 7,
32
+ name: 'Client mécontent',
33
+ },
30
34
  };
@@ -26,4 +26,6 @@ export enum Role {
26
26
  CUSTOMER_SUCCESS_MANAGER = 32,
27
27
  COMMERCIAL_MANAGER = 33,
28
28
  FACTURATION = 34,
29
+ HUMAN_RESSOURCES = 35,
30
+ PARTNERED_ACCOUNTANT = 36,
29
31
  }
@@ -0,0 +1,8 @@
1
+ import { IAccount } from '../../models/IAccount';
2
+
3
+ export interface ReadQuoteAccount {
4
+ amount: number;
5
+ label: string;
6
+ date: Date;
7
+ categories: Array<IAccount>;
8
+ }
@@ -0,0 +1,18 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class CreateManualEntry {
4
+ @ApiProperty()
5
+ debit: number;
6
+
7
+ @ApiProperty()
8
+ credit: number;
9
+
10
+ @ApiProperty()
11
+ idAccount: number;
12
+
13
+ @ApiProperty()
14
+ designation: string;
15
+
16
+ @ApiProperty()
17
+ dateValue: Date;
18
+ }
@@ -0,0 +1,12 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class CreatePartneredAccountantRequestedService {
4
+ @ApiProperty()
5
+ idPartneredAccountantService: number;
6
+
7
+ @ApiProperty()
8
+ notes: string;
9
+
10
+ @ApiPropertyOptional()
11
+ preTaxPrice?: number;
12
+ }
@@ -0,0 +1,9 @@
1
+ import { ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class QueryParteneredAccountantSoldServices {
4
+ @ApiPropertyOptional()
5
+ idSociety?: number;
6
+
7
+ @ApiPropertyOptional()
8
+ search?: string;
9
+ }
@@ -0,0 +1,21 @@
1
+ import {
2
+ IFile, IPartneredAccountantTag, IVat,
3
+ } from '../../..';
4
+
5
+ export class ReadPartneredAccountant {
6
+ id: number;
7
+ name: string;
8
+ address: string;
9
+ zipCode: string;
10
+ city: string;
11
+ yearOfOrderRegistration: number;
12
+ schedules: string;
13
+ description: string;
14
+ VAT: IVat;
15
+ partneredAccountantTags: IPartneredAccountantTag[];
16
+ logo: IFile | null;
17
+ logoColor: string | null;
18
+ banner: IFile | null;
19
+ videoLink: string | null;
20
+ hasPendingRequests: boolean;
21
+ }
@@ -0,0 +1,5 @@
1
+ import { IPartneredAccountant, IPartneredAccountantCompanyService } from '../../..';
2
+
3
+ export interface ReadPartneredAccountantRequestedService extends IPartneredAccountant {
4
+ partneredAccountantCompaniesServices: IPartneredAccountantCompanyService[]
5
+ }
@@ -0,0 +1,8 @@
1
+ export class ReadPartneredAccountantService {
2
+ id: number;
3
+ name: string;
4
+ description: string;
5
+ preTaxPrice: number;
6
+ idPartneredAccountant: number;
7
+ isPending: boolean;
8
+ }
@@ -0,0 +1,4 @@
1
+ export class ReadPartneredAccountantSoldServiceStatistics {
2
+ state: number;
3
+ preTaxPriceTotal: number;
4
+ }
@@ -0,0 +1,11 @@
1
+ import {
2
+ BasePaginate, ISociety, IUser,
3
+ } from '../../..';
4
+
5
+ export interface ReadPartneredAccountantSoldService extends ISociety {
6
+ contact: IUser;
7
+ }
8
+
9
+ export interface ReadPartneredAccountantSoldServicesPaginated extends BasePaginate<ISociety> {
10
+ data: Array<ReadPartneredAccountantSoldService>;
11
+ }
@@ -0,0 +1,10 @@
1
+ import { PartneredAccountantServiceState } from '../../..';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class UpdatePartneredAccountantSoldService {
5
+ @ApiPropertyOptional()
6
+ state?: PartneredAccountantServiceState;
7
+
8
+ @ApiPropertyOptional()
9
+ preTaxPrice?: number;
10
+ }
@@ -1,6 +1,9 @@
1
1
  export type ReadSalariesFile = {
2
+ id: number,
2
3
  idSociety: number,
3
4
  idFile: number,
5
+ datePeriodEnd?: Date,
6
+ datePeriodStart?: Date,
4
7
  idAccountingTransaction: number,
5
8
  label?: string,
6
9
  dateValue?: Date,
@@ -13,3 +13,8 @@ export class QuerySponsorship {
13
13
  @ApiProperty()
14
14
  idSociety?: number;
15
15
  }
16
+
17
+ export class QuerySponsorshipApprove {
18
+ @ApiPropertyOptional({ description: 'Disable e-mail send with summary' })
19
+ disableEmail?: boolean;
20
+ }
@@ -1,5 +1,5 @@
1
1
  export class ReadSponsorshipApprove {
2
- approved: Array<{ idBeneficiary: number; }>;
2
+ approved: Array<{ idBeneficiary: number; subscriptionId: string; name: string; createdAt: string;sponsor: { idSociety: number, subscriptionId: string; iban: string; bic: string; name: string; } }>;
3
3
  failed: Array<{ idBeneficiary: number; reason: string; }>;
4
4
  waiting: Array<{ idBeneficiary: number }>;
5
5
  }
@@ -28,6 +28,7 @@ export interface IAccountingTransaction {
28
28
  isAsset?: boolean;
29
29
  isPayPerso?: boolean;
30
30
  isFecImport?: boolean;
31
+ isManual?: boolean;
31
32
  exported: Date | null;
32
33
  kilometers?: number | null;
33
34
  purchaseTtc?: number | null;
@@ -110,6 +110,7 @@ export enum Code {
110
110
  userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',
111
111
  userEmailAlreadyExist = 'user-username-already-exists',
112
112
  userPhoneAlreadyExist = 'user-phone-already-exists',
113
+ couldNotFindUser = 'could-not-find-user',
113
114
 
114
115
  // Cerfa
115
116
  civilityNotFound = 'civility_not_found',
@@ -0,0 +1,30 @@
1
+ import { IFile } from './IFile';
2
+ import { IPartneredAccountantTag } from './IPartneredAccountantTag';
3
+ import { IVat } from './IVat';
4
+
5
+ export interface IPartneredAccountant {
6
+ id?: number;
7
+ idUser: number;
8
+ name: string;
9
+ address: string;
10
+ zipCode:string;
11
+ city: string;
12
+ yearOfOrderRegistration: number;
13
+ schedules?: string;
14
+ description: string;
15
+ idVAT: number;
16
+ idLogo?: number;
17
+ logoColor?: string;
18
+ idBanner?: number;
19
+ videoLink?: string;
20
+
21
+ createdAt?: Date;
22
+ updatedAt?: Date;
23
+ deletedAt?: Date | null;
24
+
25
+ // Associations
26
+ VAT?: IVat;
27
+ logo?: IFile;
28
+ banner?: IFile;
29
+ partneredAccountantTags?: IPartneredAccountantTag[]
30
+ }
@@ -0,0 +1,20 @@
1
+ import { PartneredAccountantServiceState } from '../../Enum/PartneredAccountantServiceState';
2
+ import { IPartneredAccountantService } from './IPartneredAccountantService';
3
+ import { ISociety } from './ISociety';
4
+
5
+ export interface IPartneredAccountantCompanyService {
6
+ id?: number;
7
+ idPartneredAccountantService: number;
8
+ idSociety: number;
9
+ state: PartneredAccountantServiceState;
10
+ preTaxPrice?: number;
11
+ notes?: string;
12
+
13
+ createdAt?: Date;
14
+ updatedAt?: Date;
15
+ deletedAt?: Date | null;
16
+
17
+ // Associations
18
+ partneredAccountantService: IPartneredAccountantService;
19
+ society: ISociety;
20
+ }
@@ -0,0 +1,15 @@
1
+ import { IFile } from './IFile';
2
+ import { IPartneredAccountant } from './IPartneredAccountant';
3
+
4
+ export interface IPartneredAccountantPicture {
5
+ id?: number;
6
+ idPartneredAccountant: number;
7
+ idFile: number;
8
+
9
+ createdAt?: number;
10
+ updatedAt?: number;
11
+
12
+ // Associations
13
+ partneredAccountant?: IPartneredAccountant;
14
+ file?: IFile;
15
+ }
@@ -0,0 +1,16 @@
1
+ import { IPartneredAccountant } from './IPartneredAccountant';
2
+
3
+ export interface IPartneredAccountantService {
4
+ id?: number;
5
+ name: string;
6
+ description?: string;
7
+ preTaxPrice: number;
8
+ idPartneredAccountant: number;
9
+
10
+ createdAt?: Date;
11
+ updatedAt?: Date;
12
+ deletedAt?: Date | null;
13
+
14
+ // Associations
15
+ partneredAccountant?: IPartneredAccountant;
16
+ }
@@ -0,0 +1,8 @@
1
+ export interface IPartneredAccountantTag {
2
+ id?: number;
3
+ name: string;
4
+ color: string;
5
+
6
+ createdAt?: Date;
7
+ updatedAt?: Date;
8
+ }
@@ -0,0 +1,15 @@
1
+ import { IPartneredAccountantTag } from './IPartneredAccountantTag';
2
+ import { IPartneredAccountant } from './IPartneredAccountant';
3
+
4
+ export interface IPartneredAccountantToTag {
5
+ id?: number;
6
+ idPartneredAccountant: number;
7
+ idPartneredAccountantTag: number;
8
+
9
+ createdAt?: number;
10
+ updatedAt?: number;
11
+
12
+ // Associations
13
+ partneredAccountant?: IPartneredAccountant;
14
+ partneredAccountantTag?: IPartneredAccountantTag;
15
+ }
@@ -7,6 +7,8 @@ export interface ISalariesFile {
7
7
  idFile: number;
8
8
  idAccountingTransaction: number;
9
9
  idSociety: number;
10
+ datePeriodStart?: Date | null;
11
+ datePeriodEnd?: Date | null;
10
12
  createdAt?: Date | null;
11
13
  updatedAt?: Date | null;
12
14
 
@@ -40,7 +40,7 @@ import { ISocietyJuridical } from './ISocietyJuridical';
40
40
  import { IPaymentWaiting } from './IPaymentWaiting';
41
41
  import { IExercice } from './IExercice';
42
42
  import { IWebMail } from './IWebMail';
43
- import { ISocietyProceeding } from './ISocietyProceeding';
43
+ import { ISocietyProceding } from './ISocietyProceding';
44
44
  import { ISocietyAction } from './ISocietyAction';
45
45
  import { ISocietyStat } from './ISocietyStat';
46
46
  import { ISurvey } from './ISurvey';
@@ -182,7 +182,7 @@ export interface ISociety {
182
182
  paymentWaitings?: IPaymentWaiting[];
183
183
  societyExercices?: IExercice[];
184
184
  webmailMails?: IWebMail[];
185
- societyProceedings?: ISocietyProceeding[];
185
+ societyProcedings?: ISocietyProceding[];
186
186
  societyActions?: ISocietyAction[];
187
187
  societyStats?: ISocietyStat[];
188
188
  survey?: ISurvey[];
@@ -3,9 +3,9 @@ import { IProcedure } from './IProcedure';
3
3
  import { ISociety } from './ISociety';
4
4
 
5
5
  // societyProcedings
6
- export interface ISocietyProceeding {
6
+ export interface ISocietyProceding {
7
7
  id?: number;
8
- implementationDate: Date;
8
+ implementationDate: string | Date;
9
9
  idProceding: number | null;
10
10
  idSociety: number | null;
11
11
  idUser: number | null;
@@ -14,7 +14,7 @@ export interface ISocietyProceeding {
14
14
  deletedAt?: Date | null;
15
15
 
16
16
  // Associations
17
- user: IUser;
18
- proceding: IProcedure;
19
- society: ISociety;
17
+ user?: IUser;
18
+ proceding?: IProcedure;
19
+ society?: ISociety;
20
20
  }
@@ -5,7 +5,7 @@ import { IUser } from './IUser';
5
5
  export interface ITeam {
6
6
  id?: number;
7
7
  name: string;
8
- nbTotalActive: number;
8
+ nbTotalActive?: number;
9
9
  createdAt?: Date | null;
10
10
  updatedAt?: Date | null;
11
11
 
@@ -51,6 +51,7 @@ export interface IUser {
51
51
  stateProspect: boolean | null;
52
52
  birthdate: Date | null;
53
53
  isNewProspect: boolean;
54
+ hasAccountNumberDisplay: boolean;
54
55
  isAssociate: boolean | null;
55
56
  isResponderActive: boolean;
56
57
  suppDoublon: boolean | null;
package/ts/types/index.ts CHANGED
@@ -120,6 +120,12 @@ export * from './Interface/models/INotification';
120
120
  export * from './Interface/models/IOldExpertInfo';
121
121
  export * from './Interface/models/IOperationLegalNotice';
122
122
  export * from './Interface/models/IPageView';
123
+ export * from './Interface/models/IPartneredAccountant';
124
+ export * from './Interface/models/IPartneredAccountantCompanyService';
125
+ export * from './Interface/models/IPartneredAccountantPicture';
126
+ export * from './Interface/models/IPartneredAccountantService';
127
+ export * from './Interface/models/IPartneredAccountantTag';
128
+ export * from './Interface/models/IPartneredAccountantToTag';
123
129
  export * from './Interface/models/IPayPlan';
124
130
  export * from './Interface/models/IPartnerTransaction';
125
131
  export * from './Interface/models/IPaymentDelay';
@@ -186,7 +192,7 @@ export * from './Interface/models/ISocietyGescom';
186
192
  export * from './Interface/models/ISocietyJuridical';
187
193
  export * from './Interface/models/ISocietyNote';
188
194
  export * from './Interface/models/ISocietyPartner';
189
- export * from './Interface/models/ISocietyProceeding';
195
+ export * from './Interface/models/ISocietyProceding';
190
196
  export * from './Interface/models/ISocietyRelance';
191
197
  export * from './Interface/models/ISocietySocial';
192
198
  export * from './Interface/models/ISocietySoftware';
@@ -312,6 +318,7 @@ export * from './Enum/SurveyType';
312
318
  export * from './Enum/SurveyTypeDatas';
313
319
  export * from './Enum/ReportType';
314
320
  export * from './Enum/ReportState';
321
+ export * from './Enum/Proceding';
315
322
  export * from './Enum/LetterType';
316
323
  export * from './Enum/PartnerType';
317
324
  export * from './Enum/ThirdPartyType';
@@ -354,11 +361,13 @@ export * from './Enum/ExerciceNoteType';
354
361
  export * from './Enum/BrandClementine';
355
362
  export * from './Enum/BrandLegalstart';
356
363
  export * from './Enum/BrandComptalib';
364
+ export * from './Enum/PartneredAccountantServiceState';
357
365
 
358
366
  // Interfaces API
359
367
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
360
368
  export * from './Interface/api/simulation/CreateSimulation';
361
369
  export * from './Interface/api/accountingEntry/AnnotateAccountingTransaction';
370
+ export * from './Interface/api/accountingEntry/CreateManualEntry';
362
371
  export * from './Interface/api/immobilization/ReadFormattedImmobilization';
363
372
  export * from './Interface/api/immobilization/CreateImmobilization';
364
373
  export * from './Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer';
@@ -417,6 +426,7 @@ export * from './Interface/api/dashboard/ReadGescom';
417
426
  export * from './Interface/api/dashboard/ReadDeadline';
418
427
  export * from './Interface/api/accountant/ReadAccountantBalance';
419
428
  export * from './Interface/api/quotes/QueryQuotesAccount';
429
+ export * from './Interface/api/account/ReadQuoteAccount';
420
430
 
421
431
  // export * from './Interface/api/survey/QuerySurvey';
422
432
  export * from './Interface/api/survey/ReadSurvey';
@@ -495,3 +505,11 @@ export * from './Interface/api/exerciceNote/QueryExerciceNote';
495
505
  export * from './Interface/api/exerciceNote/CreateExerciceNote';
496
506
  export * from './Interface/api/sponsorship/ReadSponsorship';
497
507
  export * from './Interface/api/budgetInsight/UpdateBudgetPermanentToken';
508
+ export * from './Interface/api/partneredAccountant/ReadPartneredAccountant';
509
+ export * from './Interface/api/partneredAccountant/ReadPartneredAccountantService';
510
+ export * from './Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices';
511
+ export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated';
512
+ export * from './Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService';
513
+ export * from './Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService';
514
+ export * from './Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService';
515
+ export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics';
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISocietyProceeding.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietyProceeding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,kBAAkB;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kBAAkB,EAAE,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,EAAE,KAAK,CAAC;IACZ,SAAS,EAAE,UAAU,CAAC;IACtB,OAAO,EAAE,QAAQ,CAAC;CACnB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ISocietyProceeding.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISocietyProceeding.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietyProceeding.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IProcedure } from './IProcedure';\nimport { ISociety } from './ISociety';\n\n// societyProcedings\nexport interface ISocietyProceeding {\n id?: number;\n implementationDate: Date;\n idProceding: number | null;\n idSociety: number | null;\n idUser: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n user: IUser;\n proceding: IProcedure;\n society: ISociety;\n}\n"]}