@silexpert/core 0.4.88 → 0.4.90

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 (200) hide show
  1. package/es/api/resources/BudgetInsight.d.ts +11 -0
  2. package/es/api/resources/BudgetInsight.d.ts.map +1 -0
  3. package/es/api/resources/BudgetInsight.js +10 -0
  4. package/es/api/resources/BudgetInsight.js.map +1 -0
  5. package/es/api/resources/Connector.d.ts +5 -0
  6. package/es/api/resources/Connector.d.ts.map +1 -0
  7. package/es/api/resources/Connector.js +7 -0
  8. package/es/api/resources/Connector.js.map +1 -0
  9. package/es/api/resources/FecFile.d.ts +4 -1
  10. package/es/api/resources/FecFile.d.ts.map +1 -1
  11. package/es/api/resources/FecFile.js +9 -0
  12. package/es/api/resources/FecFile.js.map +1 -1
  13. package/es/api/resources/QuotesAccount.d.ts +6 -0
  14. package/es/api/resources/QuotesAccount.d.ts.map +1 -0
  15. package/es/api/resources/QuotesAccount.js +8 -0
  16. package/es/api/resources/QuotesAccount.js.map +1 -0
  17. package/es/api/resources/Report.d.ts +6 -0
  18. package/es/api/resources/Report.d.ts.map +1 -1
  19. package/es/api/resources/Report.js +3 -0
  20. package/es/api/resources/Report.js.map +1 -1
  21. package/es/api/resources/SalariesFile.d.ts +17 -0
  22. package/es/api/resources/SalariesFile.d.ts.map +1 -1
  23. package/es/api/resources/SalariesFile.js +17 -0
  24. package/es/api/resources/SalariesFile.js.map +1 -1
  25. package/es/api/resources/Transaction.d.ts +2 -1
  26. package/es/api/resources/Transaction.d.ts.map +1 -1
  27. package/es/api/resources/Transaction.js +3 -0
  28. package/es/api/resources/Transaction.js.map +1 -1
  29. package/es/api/resources.d.ts +2 -0
  30. package/es/api/resources.d.ts.map +1 -1
  31. package/es/api/resources.js +2 -0
  32. package/es/api/resources.js.map +1 -1
  33. package/es/types/Enum/AccountType.d.ts +1 -6
  34. package/es/types/Enum/AccountType.d.ts.map +1 -1
  35. package/es/types/Enum/AccountType.js +1 -6
  36. package/es/types/Enum/AccountType.js.map +1 -1
  37. package/es/types/Enum/BrandClementine.d.ts +5 -0
  38. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  39. package/es/types/Enum/BrandClementine.js +7 -4
  40. package/es/types/Enum/BrandClementine.js.map +1 -1
  41. package/es/types/Enum/BrandComptalib.d.ts +2 -0
  42. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  43. package/es/types/Enum/BrandComptalib.js +2 -0
  44. package/es/types/Enum/BrandComptalib.js.map +1 -1
  45. package/es/types/Enum/BrandLegalstart.d.ts +1 -0
  46. package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
  47. package/es/types/Enum/BrandLegalstart.js +1 -0
  48. package/es/types/Enum/BrandLegalstart.js.map +1 -1
  49. package/es/types/Enum/RevisionGuide.d.ts +1 -1
  50. package/es/types/Enum/RevisionGuide.d.ts.map +1 -1
  51. package/es/types/Enum/RevisionGuide.js +1 -1
  52. package/es/types/Enum/RevisionGuide.js.map +1 -1
  53. package/es/types/Form/FormConnector.d.ts +1 -0
  54. package/es/types/Form/FormConnector.d.ts.map +1 -1
  55. package/es/types/Form/FormConnector.js.map +1 -1
  56. package/es/types/Interface/api/accountant/ReadAccountantBalance.d.ts +6 -0
  57. package/es/types/Interface/api/accountant/ReadAccountantBalance.d.ts.map +1 -0
  58. package/es/types/Interface/api/accountant/ReadAccountantBalance.js +3 -0
  59. package/es/types/Interface/api/accountant/ReadAccountantBalance.js.map +1 -0
  60. package/es/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.d.ts +5 -0
  61. package/es/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.d.ts.map +1 -0
  62. package/es/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js +21 -0
  63. package/es/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js.map +1 -0
  64. package/es/types/Interface/api/fecFile/DeleteFecFile.d.ts +6 -0
  65. package/es/types/Interface/api/fecFile/DeleteFecFile.d.ts.map +1 -0
  66. package/es/types/Interface/api/fecFile/DeleteFecFile.js +2 -0
  67. package/es/types/Interface/api/fecFile/DeleteFecFile.js.map +1 -0
  68. package/es/types/Interface/api/prestashop/InvoicesPrestashop.d.ts +4 -4
  69. package/es/types/Interface/api/prestashop/InvoicesPrestashop.d.ts.map +1 -1
  70. package/es/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -1
  71. package/es/types/Interface/api/quotes/QueryQuotesAccount.d.ts +6 -0
  72. package/es/types/Interface/api/quotes/QueryQuotesAccount.d.ts.map +1 -0
  73. package/es/types/Interface/api/quotes/QueryQuotesAccount.js +25 -0
  74. package/es/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -0
  75. package/es/types/Interface/api/report/CreateReport.d.ts +1 -1
  76. package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  77. package/es/types/Interface/api/report/CreateReport.js +1 -1
  78. package/es/types/Interface/api/report/CreateReport.js.map +1 -1
  79. package/es/types/Interface/api/salariesFile/ReadSalariesFile.d.ts +4 -0
  80. package/es/types/Interface/api/salariesFile/ReadSalariesFile.d.ts.map +1 -1
  81. package/es/types/Interface/api/salariesFile/ReadSalariesFile.js.map +1 -1
  82. package/es/types/Interface/api/society/CreateSociety.d.ts +1 -1
  83. package/es/types/Interface/api/society/CreateSociety.js +1 -1
  84. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  85. package/es/types/Interface/api/society/UpdateSociety.d.ts +1 -1
  86. package/es/types/Interface/api/society/UpdateSociety.js +1 -1
  87. package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
  88. package/es/types/Interface/api/sponsorship/ReadSponsorship.d.ts +13 -0
  89. package/es/types/Interface/api/sponsorship/ReadSponsorship.d.ts.map +1 -0
  90. package/es/types/Interface/api/sponsorship/ReadSponsorship.js +3 -0
  91. package/es/types/Interface/api/sponsorship/ReadSponsorship.js.map +1 -0
  92. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +4 -0
  93. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  94. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +18 -2
  95. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  96. package/es/types/Interface/models/IApiError.d.ts +9 -1
  97. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  98. package/es/types/Interface/models/IApiError.js +8 -0
  99. package/es/types/Interface/models/IApiError.js.map +1 -1
  100. package/es/types/Interface/models/IBankAccount.d.ts +1 -0
  101. package/es/types/Interface/models/IBankAccount.d.ts.map +1 -1
  102. package/es/types/Interface/models/IBankAccount.js.map +1 -1
  103. package/es/types/Interface/models/IBankConnection.d.ts +1 -0
  104. package/es/types/Interface/models/IBankConnection.d.ts.map +1 -1
  105. package/es/types/Interface/models/IBankConnection.js.map +1 -1
  106. package/es/types/Interface/models/ILastUpdateConnection.d.ts +11 -0
  107. package/es/types/Interface/models/ILastUpdateConnection.d.ts.map +1 -0
  108. package/es/types/Interface/models/ILastUpdateConnection.js +2 -0
  109. package/es/types/Interface/models/ILastUpdateConnection.js.map +1 -0
  110. package/es/types/Interface/models/IReport.d.ts +1 -1
  111. package/es/types/Interface/models/IReport.d.ts.map +1 -1
  112. package/es/types/Interface/models/IReport.js.map +1 -1
  113. package/es/types/index.d.ts +6 -0
  114. package/es/types/index.d.ts.map +1 -1
  115. package/es/types/index.js +6 -0
  116. package/es/types/index.js.map +1 -1
  117. package/js/api/resources/BudgetInsight.js +22 -0
  118. package/js/api/resources/BudgetInsight.js.map +1 -0
  119. package/js/api/resources/Connector.js +18 -0
  120. package/js/api/resources/Connector.js.map +1 -0
  121. package/js/api/resources/FecFile.js +16 -0
  122. package/js/api/resources/FecFile.js.map +1 -1
  123. package/js/api/resources/QuotesAccount.js +22 -0
  124. package/js/api/resources/QuotesAccount.js.map +1 -0
  125. package/js/api/resources/Report.js +6 -0
  126. package/js/api/resources/Report.js.map +1 -1
  127. package/js/api/resources/SalariesFile.js +21 -0
  128. package/js/api/resources/SalariesFile.js.map +1 -1
  129. package/js/api/resources/Transaction.js +4 -0
  130. package/js/api/resources/Transaction.js.map +1 -1
  131. package/js/api/resources.js +4 -1
  132. package/js/api/resources.js.map +1 -1
  133. package/js/types/Enum/AccountType.js +1 -6
  134. package/js/types/Enum/AccountType.js.map +1 -1
  135. package/js/types/Enum/BrandClementine.js +7 -4
  136. package/js/types/Enum/BrandClementine.js.map +1 -1
  137. package/js/types/Enum/BrandComptalib.js +2 -0
  138. package/js/types/Enum/BrandComptalib.js.map +1 -1
  139. package/js/types/Enum/BrandLegalstart.js +1 -0
  140. package/js/types/Enum/BrandLegalstart.js.map +1 -1
  141. package/js/types/Enum/RevisionGuide.js +1 -1
  142. package/js/types/Enum/RevisionGuide.js.map +1 -1
  143. package/js/types/Form/FormConnector.js.map +1 -1
  144. package/js/types/Interface/api/accountant/ReadAccountantBalance.js +10 -0
  145. package/js/types/Interface/api/accountant/ReadAccountantBalance.js.map +1 -0
  146. package/js/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js +29 -0
  147. package/js/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js.map +1 -0
  148. package/js/types/Interface/api/fecFile/DeleteFecFile.js +6 -0
  149. package/js/types/Interface/api/fecFile/DeleteFecFile.js.map +1 -0
  150. package/js/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -1
  151. package/js/types/Interface/api/quotes/QueryQuotesAccount.js +31 -0
  152. package/js/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -0
  153. package/js/types/Interface/api/report/CreateReport.js +1 -1
  154. package/js/types/Interface/api/report/CreateReport.js.map +1 -1
  155. package/js/types/Interface/api/society/CreateSociety.js +1 -1
  156. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  157. package/js/types/Interface/api/society/UpdateSociety.js +1 -1
  158. package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
  159. package/js/types/Interface/api/sponsorship/ReadSponsorship.js +10 -0
  160. package/js/types/Interface/api/sponsorship/ReadSponsorship.js.map +1 -0
  161. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +22 -2
  162. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  163. package/js/types/Interface/models/IApiError.js +10 -2
  164. package/js/types/Interface/models/IApiError.js.map +1 -1
  165. package/js/types/Interface/models/ILastUpdateConnection.js +6 -0
  166. package/js/types/Interface/models/ILastUpdateConnection.js.map +1 -0
  167. package/js/types/index.js +72 -0
  168. package/js/types/index.js.map +1 -1
  169. package/package.json +1 -1
  170. package/ts/api/resources/BudgetInsight.ts +14 -0
  171. package/ts/api/resources/Connector.ts +7 -0
  172. package/ts/api/resources/FecFile.ts +13 -0
  173. package/ts/api/resources/QuotesAccount.ts +11 -0
  174. package/ts/api/resources/Report.ts +5 -0
  175. package/ts/api/resources/SalariesFile.ts +21 -5
  176. package/ts/api/resources/Transaction.ts +6 -2
  177. package/ts/api/resources.ts +2 -0
  178. package/ts/types/Enum/AccountType.ts +1 -6
  179. package/ts/types/Enum/BrandClementine.ts +7 -4
  180. package/ts/types/Enum/BrandComptalib.ts +2 -0
  181. package/ts/types/Enum/BrandLegalstart.ts +1 -0
  182. package/ts/types/Enum/RevisionGuide.ts +1 -1
  183. package/ts/types/Form/FormConnector.ts +3 -0
  184. package/ts/types/Interface/api/accountant/ReadAccountantBalance.ts +5 -0
  185. package/ts/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.ts +9 -0
  186. package/ts/types/Interface/api/fecFile/DeleteFecFile.ts +5 -0
  187. package/ts/types/Interface/api/prestashop/InvoicesPrestashop.ts +4 -4
  188. package/ts/types/Interface/api/quotes/QueryQuotesAccount.ts +12 -0
  189. package/ts/types/Interface/api/report/CreateReport.ts +1 -1
  190. package/ts/types/Interface/api/salariesFile/ReadSalariesFile.ts +5 -1
  191. package/ts/types/Interface/api/society/CreateSociety.ts +1 -1
  192. package/ts/types/Interface/api/society/UpdateSociety.ts +1 -1
  193. package/ts/types/Interface/api/sponsorship/ReadSponsorship.ts +5 -0
  194. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +14 -2
  195. package/ts/types/Interface/models/IApiError.ts +8 -0
  196. package/ts/types/Interface/models/IBankAccount.ts +1 -0
  197. package/ts/types/Interface/models/IBankConnection.ts +1 -0
  198. package/ts/types/Interface/models/ILastUpdateConnection.ts +13 -0
  199. package/ts/types/Interface/models/IReport.ts +1 -1
  200. package/ts/types/index.ts +6 -0
@@ -2,6 +2,10 @@ export type ReadSalariesFile = {
2
2
  idSociety: number,
3
3
  idFile: number,
4
4
  idAccountingTransaction: number,
5
+ label?: string,
6
+ dateValue?: Date,
7
+ token?:string,
8
+ name?:string
5
9
  createdAt?: string,
6
- updatedAt?: string
10
+ updatedAt?: string,
7
11
  };
@@ -29,7 +29,7 @@ export class CreateSociety {
29
29
  idActivity?: number;
30
30
 
31
31
  @ApiPropertyOptional()
32
- idTvaRegime?: number;
32
+ idVatRegime?: number;
33
33
 
34
34
  @ApiPropertyOptional()
35
35
  idLegalForm?: number;
@@ -23,7 +23,7 @@ export class UpdateSociety {
23
23
  idActivity?: number;
24
24
 
25
25
  @ApiPropertyOptional()
26
- idTvaRegime?: number;
26
+ idVatRegime?: number;
27
27
 
28
28
  @ApiPropertyOptional()
29
29
  idLegalForm?: number;
@@ -0,0 +1,5 @@
1
+ export class ReadSponsorshipApprove {
2
+ approved: Array<{ idBeneficiary: number; }>;
3
+ failed: Array<{ idBeneficiary: number; reason: string; }>;
4
+ waiting: Array<{ idBeneficiary: number }>;
5
+ }
@@ -32,8 +32,17 @@ export class QueryTaxDeadline {
32
32
  @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })
33
33
  year?: string;
34
34
 
35
- @ApiPropertyOptional()
35
+ @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })
36
36
  search?: string;
37
+
38
+ @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\'aujourd\'hui' })
39
+ additionalMonths?: number;
40
+
41
+ @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })
42
+ minimalEndDate?: string;
43
+
44
+ @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })
45
+ maximalEndDate?: string;
37
46
  }
38
47
 
39
48
  export class QueryTaxDeadlineStatistics {
@@ -64,6 +73,9 @@ export class QueryTaxDeadlineStatistics {
64
73
  @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })
65
74
  year?: string;
66
75
 
67
- @ApiPropertyOptional()
76
+ @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })
68
77
  search?: string;
78
+
79
+ @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\'aujourd\'hui' })
80
+ additionalMonths?: string;
69
81
  }
@@ -98,6 +98,7 @@ export enum Code {
98
98
 
99
99
  // FecFile
100
100
  insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',
101
+ fecFileAlreadyExists = 'fec_file_already_exists',
101
102
 
102
103
  // User creation
103
104
  userAlreadyExistWithSociety = 'user-already-exists',
@@ -106,6 +107,9 @@ export enum Code {
106
107
  expiredSmsCode = 'expired-sms-code',
107
108
  userNotInFmaProcess = 'user-not-in-maf-process',
108
109
  wrongSmsCode = 'wrong-sms-code',
110
+ userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',
111
+ userEmailAlreadyExist = 'user-username-already-exists',
112
+ userPhoneAlreadyExist = 'user-phone-already-exists',
109
113
 
110
114
  // Cerfa
111
115
  civilityNotFound = 'civility_not_found',
@@ -116,6 +120,7 @@ export enum Code {
116
120
  idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',
117
121
  sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',
118
122
  sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',
123
+ societyNotFound = 'society_not_found',
119
124
 
120
125
  payloadIsEmpty = 'payload_is_empty',
121
126
 
@@ -123,9 +128,12 @@ export enum Code {
123
128
  wrongPromoCode = 'wrong_promo_code',
124
129
 
125
130
  // Budget Fetch
131
+ fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',
126
132
  fetchConnectionFailed = 'fetch_connection_failed',
127
133
  fetchBankAccountFailed = 'fetch_bank_account_failed',
128
134
  fetchTransactionsFailed = 'fetch_transactions_failed',
135
+ fetchNewTokenFailed = 'fetch_new_token_failed',
136
+ udpateTokenFailed = 'update_token_failed',
129
137
 
130
138
  }
131
139
 
@@ -22,6 +22,7 @@ export interface IBankAccount {
22
22
  lastTryImport: Date | null;
23
23
  inProgressImport: Date | null;
24
24
  amountStart: number | null;
25
+ isGlobalFetched: boolean;
25
26
  dateStart: Date | null;
26
27
  idAccount: number | null;
27
28
  idBankList: number | null;
@@ -11,6 +11,7 @@ export interface IBankConnection {
11
11
  idBankList: number | null;
12
12
  idSociety: number;
13
13
  idTypeConnection: string | null
14
+ idConnectionExtern: number;
14
15
  createdAt?: Date | null;
15
16
  updatedAt?: Date | null;
16
17
 
@@ -0,0 +1,13 @@
1
+ import { ISociety } from './ISociety';
2
+
3
+ export interface ILastUpdateConnection {
4
+ idLastUpdateConnection?: number;
5
+ idConnection: number;
6
+ lastUpdate: string;
7
+ idSociety: number;
8
+ createdAt?: Date | null;
9
+ updatedAt?: Date | null;
10
+
11
+ // Associations
12
+ society: ISociety;
13
+ }
@@ -9,7 +9,7 @@ export interface IReport {
9
9
  idReportType?: number | null;
10
10
  idLetterType?: number | null;
11
11
  declareSoupcons?: boolean | null;
12
- etat?: number | null;
12
+ state?: number | null;
13
13
  informerjlb?: boolean | null;
14
14
  ressenti?: number | null;
15
15
  action?: number | null;
package/ts/types/index.ts CHANGED
@@ -285,6 +285,7 @@ export * from './Interface/models/IAccountingTransaction_new';
285
285
  export * from './Interface/models/IExerciceNote';
286
286
  export * from './Interface/models/IRevisionGuide';
287
287
  export * from './Interface/models/ISponsorshipWithSponsorInfo';
288
+ export * from './Interface/models/ILastUpdateConnection';
288
289
 
289
290
  // Forms
290
291
  export * from './Form/FormAuthenticate';
@@ -414,6 +415,8 @@ export * from './Interface/api/dashboard/ReadTopBuys';
414
415
  export * from './Interface/api/dashboard/ReadTopProviders';
415
416
  export * from './Interface/api/dashboard/ReadGescom';
416
417
  export * from './Interface/api/dashboard/ReadDeadline';
418
+ export * from './Interface/api/accountant/ReadAccountantBalance';
419
+ export * from './Interface/api/quotes/QueryQuotesAccount';
417
420
 
418
421
  // export * from './Interface/api/survey/QuerySurvey';
419
422
  export * from './Interface/api/survey/ReadSurvey';
@@ -430,6 +433,7 @@ export * from './Interface/api/partner/CreatePartner';
430
433
  export * from './Interface/api/partner/GetPartners';
431
434
  // export * from './Interface/api/generalLedger/GeneralLedgerQuery';
432
435
  export * from './Interface/api/fecFile/CreateFecFile';
436
+ export * from './Interface/api/fecFile/DeleteFecFile';
433
437
  export * from './Interface/api/fecFile/ReadFecFile';
434
438
  export * from './Interface/api/generalLedger/QueryGeneralLedger';
435
439
  export * from './Interface/api/incomeStatement/QueryIncomeStatement';
@@ -489,3 +493,5 @@ export * from './Interface/api/taxDeadline/ReadTaxDeadline';
489
493
  export * from './Interface/api/society/ReadSociety';
490
494
  export * from './Interface/api/exerciceNote/QueryExerciceNote';
491
495
  export * from './Interface/api/exerciceNote/CreateExerciceNote';
496
+ export * from './Interface/api/sponsorship/ReadSponsorship';
497
+ export * from './Interface/api/budgetInsight/UpdateBudgetPermanentToken';