@silexpert/core 0.4.127 → 0.4.129

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/GeneralLedger.js +2 -2
  2. package/es/api/resources/GeneralLedger.js.map +1 -1
  3. package/es/api/resources/Revision.d.ts +6 -0
  4. package/es/api/resources/Revision.d.ts.map +1 -0
  5. package/es/api/resources/Revision.js +7 -0
  6. package/es/api/resources/Revision.js.map +1 -0
  7. package/es/api/resources/Transaction.d.ts +2 -1
  8. package/es/api/resources/Transaction.d.ts.map +1 -1
  9. package/es/api/resources/Transaction.js +3 -0
  10. package/es/api/resources/Transaction.js.map +1 -1
  11. package/es/api/resources/WorkingSchedule.d.ts +6 -0
  12. package/es/api/resources/WorkingSchedule.d.ts.map +1 -0
  13. package/es/api/resources/WorkingSchedule.js +12 -0
  14. package/es/api/resources/WorkingSchedule.js.map +1 -0
  15. package/es/api/resources.d.ts +4 -0
  16. package/es/api/resources.d.ts.map +1 -1
  17. package/es/api/resources.js +4 -0
  18. package/es/api/resources.js.map +1 -1
  19. package/es/types/Enum/Aspone.d.ts +2 -1
  20. package/es/types/Enum/Aspone.d.ts.map +1 -1
  21. package/es/types/Enum/Aspone.js +1 -0
  22. package/es/types/Enum/Aspone.js.map +1 -1
  23. package/es/types/Enum/BalanceSheetQuestion.d.ts +7 -1
  24. package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  25. package/es/types/Enum/BalanceSheetQuestion.js +6 -0
  26. package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
  27. package/es/types/Enum/CerfaType.d.ts +2 -1
  28. package/es/types/Enum/CerfaType.d.ts.map +1 -1
  29. package/es/types/Enum/CerfaType.js +1 -0
  30. package/es/types/Enum/CerfaType.js.map +1 -1
  31. package/es/types/Enum/Currency.d.ts +4 -0
  32. package/es/types/Enum/Currency.d.ts.map +1 -0
  33. package/es/types/Enum/Currency.js +5 -0
  34. package/es/types/Enum/Currency.js.map +1 -0
  35. package/es/types/Enum/JeDeclare.d.ts +24 -0
  36. package/es/types/Enum/JeDeclare.d.ts.map +1 -0
  37. package/es/types/Enum/JeDeclare.js +28 -0
  38. package/es/types/Enum/JeDeclare.js.map +1 -0
  39. package/es/types/Enum/PartnerTransactionType.d.ts +3 -1
  40. package/es/types/Enum/PartnerTransactionType.d.ts.map +1 -1
  41. package/es/types/Enum/PartnerTransactionType.js +2 -0
  42. package/es/types/Enum/PartnerTransactionType.js.map +1 -1
  43. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts +11 -0
  44. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts.map +1 -0
  45. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js +46 -0
  46. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -0
  47. package/es/types/Interface/api/aspone/ReadInterchange.d.ts +1 -1
  48. package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
  49. package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  50. package/es/types/Interface/api/aspone/Util.d.ts +2 -0
  51. package/es/types/Interface/api/aspone/Util.d.ts.map +1 -1
  52. package/es/types/Interface/api/aspone/Util.js.map +1 -1
  53. package/es/types/Interface/api/cerfa/2572.d.ts +149 -0
  54. package/es/types/Interface/api/cerfa/2572.d.ts.map +1 -0
  55. package/es/types/Interface/api/cerfa/2572.js +5 -0
  56. package/es/types/Interface/api/cerfa/2572.js.map +1 -0
  57. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +1 -0
  58. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
  59. package/es/types/Interface/api/cerfa/CreateCerfa.js +1 -0
  60. package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  61. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts +7 -0
  62. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts.map +1 -0
  63. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js +37 -0
  64. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -0
  65. package/es/types/Interface/api/jeDeclare/Util.d.ts +68 -0
  66. package/es/types/Interface/api/jeDeclare/Util.d.ts.map +1 -0
  67. package/es/types/Interface/api/jeDeclare/Util.js +2 -0
  68. package/es/types/Interface/api/jeDeclare/Util.js.map +1 -0
  69. package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts +23 -0
  70. package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts.map +1 -0
  71. package/es/types/Interface/api/jeDeclare/UtilCFONB.js +378 -0
  72. package/es/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -0
  73. package/es/types/Interface/api/log/CreateLog.d.ts +1 -0
  74. package/es/types/Interface/api/log/CreateLog.d.ts.map +1 -1
  75. package/es/types/Interface/api/log/CreateLog.js.map +1 -1
  76. package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.d.ts.map +1 -1
  77. package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js +0 -6
  78. package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
  79. package/es/types/Interface/api/registration/CreateRegistration.d.ts +2 -1
  80. package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  81. package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  82. package/es/types/Interface/api/revision/QueryRevision.d.ts +6 -0
  83. package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -0
  84. package/es/types/Interface/api/revision/QueryRevision.js +29 -0
  85. package/es/types/Interface/api/revision/QueryRevision.js.map +1 -0
  86. package/es/types/Interface/api/revision/ReadRevision.d.ts +14 -0
  87. package/es/types/Interface/api/revision/ReadRevision.d.ts.map +1 -0
  88. package/es/types/Interface/api/revision/ReadRevision.js +2 -0
  89. package/es/types/Interface/api/revision/ReadRevision.js.map +1 -0
  90. package/es/types/Interface/api/revision/Revision.d.ts +5 -0
  91. package/es/types/Interface/api/revision/Revision.d.ts.map +1 -0
  92. package/es/types/Interface/api/revision/Revision.js +2 -0
  93. package/es/types/Interface/api/revision/Revision.js.map +1 -0
  94. package/es/types/Interface/api/revision/RevisionObject.d.ts +10 -0
  95. package/es/types/Interface/api/revision/RevisionObject.d.ts.map +1 -0
  96. package/es/types/Interface/api/revision/RevisionObject.js +2 -0
  97. package/es/types/Interface/api/revision/RevisionObject.js.map +1 -0
  98. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +1 -0
  99. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  100. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js +4 -0
  101. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  102. package/es/types/Interface/models/IApiError.d.ts +2 -1
  103. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  104. package/es/types/Interface/models/IApiError.js +2 -0
  105. package/es/types/Interface/models/IApiError.js.map +1 -1
  106. package/es/types/Interface/models/IUser.d.ts +1 -0
  107. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  108. package/es/types/Interface/models/IUser.js.map +1 -1
  109. package/es/types/Interface/models/IWorkingSchedule.d.ts +3 -1
  110. package/es/types/Interface/models/IWorkingSchedule.d.ts.map +1 -1
  111. package/es/types/Interface/models/IWorkingSchedule.js.map +1 -1
  112. package/es/types/index.d.ts +10 -0
  113. package/es/types/index.d.ts.map +1 -1
  114. package/es/types/index.js +10 -0
  115. package/es/types/index.js.map +1 -1
  116. package/js/api/resources/GeneralLedger.js +2 -2
  117. package/js/api/resources/GeneralLedger.js.map +1 -1
  118. package/js/api/resources/Revision.js +20 -0
  119. package/js/api/resources/Revision.js.map +1 -0
  120. package/js/api/resources/Transaction.js +6 -0
  121. package/js/api/resources/Transaction.js.map +1 -1
  122. package/js/api/resources/WorkingSchedule.js +23 -0
  123. package/js/api/resources/WorkingSchedule.js.map +1 -0
  124. package/js/api/resources.js +7 -1
  125. package/js/api/resources.js.map +1 -1
  126. package/js/types/Enum/Aspone.js +1 -0
  127. package/js/types/Enum/Aspone.js.map +1 -1
  128. package/js/types/Enum/BalanceSheetQuestion.js +7 -0
  129. package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
  130. package/js/types/Enum/CerfaType.js +1 -0
  131. package/js/types/Enum/CerfaType.js.map +1 -1
  132. package/js/types/Enum/Currency.js +11 -0
  133. package/js/types/Enum/Currency.js.map +1 -0
  134. package/js/types/Enum/JeDeclare.js +40 -0
  135. package/js/types/Enum/JeDeclare.js.map +1 -0
  136. package/js/types/Enum/PartnerTransactionType.js +2 -0
  137. package/js/types/Enum/PartnerTransactionType.js.map +1 -1
  138. package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js +41 -0
  139. package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -0
  140. package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  141. package/js/types/Interface/api/aspone/Util.js.map +1 -1
  142. package/js/types/Interface/api/cerfa/2572.js +14 -0
  143. package/js/types/Interface/api/cerfa/2572.js.map +1 -0
  144. package/js/types/Interface/api/cerfa/CreateCerfa.js +12 -0
  145. package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  146. package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js +37 -0
  147. package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -0
  148. package/js/types/Interface/api/jeDeclare/Util.js +6 -0
  149. package/js/types/Interface/api/jeDeclare/Util.js.map +1 -0
  150. package/js/types/Interface/api/jeDeclare/UtilCFONB.js +394 -0
  151. package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -0
  152. package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js +2 -6
  153. package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
  154. package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  155. package/js/types/Interface/api/revision/QueryRevision.js +33 -0
  156. package/js/types/Interface/api/revision/QueryRevision.js.map +1 -0
  157. package/js/types/Interface/api/revision/ReadRevision.js +6 -0
  158. package/js/types/Interface/api/revision/ReadRevision.js.map +1 -0
  159. package/js/types/Interface/api/revision/Revision.js +6 -0
  160. package/js/types/Interface/api/revision/Revision.js.map +1 -0
  161. package/js/types/Interface/api/revision/RevisionObject.js +6 -0
  162. package/js/types/Interface/api/revision/RevisionObject.js.map +1 -0
  163. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js +2 -0
  164. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  165. package/js/types/Interface/models/IApiError.js +3 -1
  166. package/js/types/Interface/models/IApiError.js.map +1 -1
  167. package/js/types/index.js +120 -0
  168. package/js/types/index.js.map +1 -1
  169. package/package.json +1 -1
  170. package/ts/api/resources/GeneralLedger.ts +2 -2
  171. package/ts/api/resources/Revision.ts +8 -0
  172. package/ts/api/resources/Transaction.ts +5 -1
  173. package/ts/api/resources/WorkingSchedule.ts +12 -0
  174. package/ts/api/resources.ts +4 -0
  175. package/ts/types/Enum/Aspone.ts +1 -0
  176. package/ts/types/Enum/BalanceSheetQuestion.ts +7 -0
  177. package/ts/types/Enum/CerfaType.ts +1 -0
  178. package/ts/types/Enum/Currency.ts +3 -0
  179. package/ts/types/Enum/JeDeclare.ts +26 -0
  180. package/ts/types/Enum/PartnerTransactionType.ts +2 -0
  181. package/ts/types/Interface/api/accountingTransaction/DeleteInvoices.ts +37 -0
  182. package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
  183. package/ts/types/Interface/api/aspone/Util.ts +3 -0
  184. package/ts/types/Interface/api/cerfa/2572.ts +150 -0
  185. package/ts/types/Interface/api/cerfa/CreateCerfa.ts +1 -0
  186. package/ts/types/Interface/api/jeDeclare/CreateDocumentsParams.ts +23 -0
  187. package/ts/types/Interface/api/jeDeclare/Util.ts +69 -0
  188. package/ts/types/Interface/api/jeDeclare/UtilCFONB.ts +387 -0
  189. package/ts/types/Interface/api/log/CreateLog.ts +1 -0
  190. package/ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts +0 -6
  191. package/ts/types/Interface/api/registration/CreateRegistration.ts +2 -1
  192. package/ts/types/Interface/api/revision/QueryRevision.ts +16 -0
  193. package/ts/types/Interface/api/revision/ReadRevision.ts +14 -0
  194. package/ts/types/Interface/api/revision/Revision.ts +5 -0
  195. package/ts/types/Interface/api/revision/RevisionObject.ts +10 -0
  196. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +2 -0
  197. package/ts/types/Interface/models/IApiError.ts +2 -0
  198. package/ts/types/Interface/models/IUser.ts +1 -0
  199. package/ts/types/Interface/models/IWorkingSchedule.ts +3 -1
  200. package/ts/types/index.ts +10 -1
@@ -0,0 +1,10 @@
1
+ export type RevisionPeriod = {
2
+ startDate: Date,
3
+ endDate: Date,
4
+ };
5
+
6
+ export interface RevisionPeriods {
7
+ next: RevisionPeriod,
8
+ previous: RevisionPeriod,
9
+ current: RevisionPeriod,
10
+ }
@@ -9,4 +9,6 @@ export class InvoicesWoocommerce {
9
9
  ids: number[];
10
10
  @ApiPropertyOptional()
11
11
  idSociety: number;
12
+ @ApiPropertyOptional()
13
+ date: Date;
12
14
  }
@@ -151,6 +151,8 @@ export enum Code {
151
151
  EXERCICE_ALREADY_CLOSED = 'EXERCICE_ALREADY_CLOSED',
152
152
  MISSING_ANNOTATIONS = 'MISSING_ANNOTATIONS',
153
153
 
154
+ // jeDeclare errors
155
+ ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',
154
156
  }
155
157
 
156
158
  export interface IApiError {
@@ -50,6 +50,7 @@ export interface IUser {
50
50
  toContact: boolean;
51
51
  stateProspect: boolean | null;
52
52
  birthdate: Date | null;
53
+ arrivalDate: Date | null;
53
54
  isNewProspect: boolean;
54
55
  hasAccountNumberDisplay: boolean;
55
56
  isAssociate: boolean | null;
@@ -1,3 +1,4 @@
1
+ import { IUser } from './IUser';
1
2
  import { IEmployee } from './IEmployee';
2
3
 
3
4
  // workingSchedule
@@ -14,5 +15,6 @@ export interface IWorkingSchedule {
14
15
  updatedAt?: Date | null;
15
16
 
16
17
  // Associations
17
- employee: IEmployee;
18
+ employee?: IEmployee;
19
+ user?: IUser;
18
20
  }
package/ts/types/index.ts CHANGED
@@ -383,6 +383,8 @@ export * from './Enum/LegalInformation';
383
383
  export * from './Enum/ProvisionType';
384
384
  export * from './Enum/Ocr';
385
385
  export * from './Enum/MachineLearning';
386
+ export * from './Enum/JeDeclare';
387
+ export * from './Enum/Currency';
386
388
 
387
389
  // Interfaces API
388
390
  export * from './Interface/api/aspone/ReadInterchange';
@@ -405,6 +407,7 @@ export * from './Interface/api/account/UpdateAccountSociety';
405
407
  export * from './Interface/api/account/QueryAccountSociety';
406
408
  export * from './Interface/api/account/QueryGenericAccount';
407
409
  export * from './Interface/api/accountingTransaction/QueryTransaction';
410
+ export * from './Interface/api/accountingTransaction/DeleteInvoices';
408
411
  export * from './Interface/api/user/QueryConfirm';
409
412
  export * from './Interface/api/user/QuerySocieties';
410
413
  export * from './Interface/api/user/QueryResendConfirmationLink';
@@ -468,6 +471,10 @@ export * from './Interface/api/bankStatement/QueryTransactionBankStatement';
468
471
  export * from './Interface/api/ocr/OcrTypeTransactions';
469
472
  export * from './Interface/api/bankStatement/ReadBankStatement';
470
473
  export * from './Interface/api/tax/ReadCompanyTax';
474
+ export * from './Interface/api/revision/QueryRevision';
475
+ export * from './Interface/api/revision/ReadRevision';
476
+ export * from './Interface/api/revision/RevisionObject';
477
+ export * from './Interface/api/revision/Revision';
471
478
 
472
479
  // export * from './Interface/api/survey/QuerySurvey';
473
480
  export * from './Interface/api/survey/ReadSurvey';
@@ -600,5 +607,7 @@ export * from './Interface/api/financialCharge/CreateNonDeductibleInterests';
600
607
  export * from './Interface/api/financialCharge/CreatedNonDeductibleInterests';
601
608
  export * from './Interface/api/machineLearning/CreateMachineLearningAnnotation';
602
609
  export * from './Interface/api/machineLearning/ResultCreateMachineLearningAnnotation';
603
-
610
+ export * from './Interface/api/jeDeclare/Util';
611
+ export * from './Interface/api/jeDeclare/CreateDocumentsParams';
612
+ export * from './Interface/api/jeDeclare/UtilCFONB';
604
613
  export * from '../utils/cerfa';