@silexpert/core 0.4.113 → 0.4.115

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 (159) hide show
  1. package/es/api/resources/BalanceSheetQuestion.d.ts +6 -0
  2. package/es/api/resources/BalanceSheetQuestion.d.ts.map +1 -0
  3. package/es/api/resources/BalanceSheetQuestion.js +7 -0
  4. package/es/api/resources/BalanceSheetQuestion.js.map +1 -0
  5. package/es/api/resources/ExerciceQuestion.d.ts +8 -0
  6. package/es/api/resources/ExerciceQuestion.d.ts.map +1 -0
  7. package/es/api/resources/ExerciceQuestion.js +13 -0
  8. package/es/api/resources/ExerciceQuestion.js.map +1 -0
  9. package/es/api/resources/PartneredAccountant.d.ts +3 -1
  10. package/es/api/resources/PartneredAccountant.d.ts.map +1 -1
  11. package/es/api/resources/PartneredAccountant.js +6 -0
  12. package/es/api/resources/PartneredAccountant.js.map +1 -1
  13. package/es/api/resources/VatControl.d.ts +10 -0
  14. package/es/api/resources/VatControl.d.ts.map +1 -0
  15. package/es/api/resources/VatControl.js +20 -0
  16. package/es/api/resources/VatControl.js.map +1 -0
  17. package/es/api/resources.d.ts +8 -0
  18. package/es/api/resources.d.ts.map +1 -1
  19. package/es/api/resources.js +8 -0
  20. package/es/api/resources.js.map +1 -1
  21. package/es/types/Enum/AnswerTypeValue.d.ts +10 -0
  22. package/es/types/Enum/AnswerTypeValue.d.ts.map +1 -0
  23. package/es/types/Enum/AnswerTypeValue.js +12 -0
  24. package/es/types/Enum/AnswerTypeValue.js.map +1 -0
  25. package/es/types/Enum/BalanceSheetQuestion.d.ts +12 -0
  26. package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -0
  27. package/es/types/Enum/BalanceSheetQuestion.js +14 -0
  28. package/es/types/Enum/BalanceSheetQuestion.js.map +1 -0
  29. package/es/types/Enum/PartneredAccountantServiceType.d.ts +11 -0
  30. package/es/types/Enum/PartneredAccountantServiceType.d.ts.map +1 -0
  31. package/es/types/Enum/PartneredAccountantServiceType.js +40 -0
  32. package/es/types/Enum/PartneredAccountantServiceType.js.map +1 -0
  33. package/es/types/Enum/PartneredAccountantServiceTypeId.d.ts +9 -0
  34. package/es/types/Enum/PartneredAccountantServiceTypeId.d.ts.map +1 -0
  35. package/es/types/Enum/PartneredAccountantServiceTypeId.js +10 -0
  36. package/es/types/Enum/PartneredAccountantServiceTypeId.js.map +1 -0
  37. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +1 -0
  38. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
  39. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +7 -0
  40. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
  41. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +1 -0
  42. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
  43. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +7 -0
  44. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
  45. package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.d.ts +10 -0
  46. package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.d.ts.map +1 -0
  47. package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js +43 -0
  48. package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -0
  49. package/es/types/Interface/api/exerciceQuestion/QueryQuestion.d.ts +5 -0
  50. package/es/types/Interface/api/exerciceQuestion/QueryQuestion.d.ts.map +1 -0
  51. package/es/types/Interface/api/exerciceQuestion/QueryQuestion.js +23 -0
  52. package/es/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -0
  53. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts +1 -0
  54. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts.map +1 -1
  55. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js +4 -0
  56. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
  57. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.d.ts +7 -0
  58. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.d.ts.map +1 -0
  59. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js +32 -0
  60. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -0
  61. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts +2 -0
  62. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts.map +1 -1
  63. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js +8 -0
  64. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
  65. package/es/types/Interface/models/IAnswerType.d.ts +9 -0
  66. package/es/types/Interface/models/IAnswerType.d.ts.map +1 -0
  67. package/es/types/Interface/models/IAnswerType.js +2 -0
  68. package/es/types/Interface/models/IAnswerType.js.map +1 -0
  69. package/es/types/Interface/models/IAnswerTypeValue.d.ts +10 -0
  70. package/es/types/Interface/models/IAnswerTypeValue.d.ts.map +1 -0
  71. package/es/types/Interface/models/IAnswerTypeValue.js +2 -0
  72. package/es/types/Interface/models/IAnswerTypeValue.js.map +1 -0
  73. package/es/types/Interface/models/IApiError.d.ts +3 -1
  74. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  75. package/es/types/Interface/models/IApiError.js +3 -0
  76. package/es/types/Interface/models/IApiError.js.map +1 -1
  77. package/es/types/Interface/models/IBalanceSheetModule.d.ts +1 -0
  78. package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
  79. package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -1
  80. package/es/types/Interface/models/IBalanceSheetQuestion.d.ts +11 -0
  81. package/es/types/Interface/models/IBalanceSheetQuestion.d.ts.map +1 -0
  82. package/es/types/Interface/models/IBalanceSheetQuestion.js +2 -0
  83. package/es/types/Interface/models/IBalanceSheetQuestion.js.map +1 -0
  84. package/es/types/Interface/models/IExerciceQuestion.d.ts +16 -0
  85. package/es/types/Interface/models/IExerciceQuestion.d.ts.map +1 -0
  86. package/es/types/Interface/models/IExerciceQuestion.js +2 -0
  87. package/es/types/Interface/models/IExerciceQuestion.js.map +1 -0
  88. package/es/types/index.d.ts +10 -0
  89. package/es/types/index.d.ts.map +1 -1
  90. package/es/types/index.js +10 -0
  91. package/es/types/index.js.map +1 -1
  92. package/js/api/resources/BalanceSheetQuestion.js +20 -0
  93. package/js/api/resources/BalanceSheetQuestion.js.map +1 -0
  94. package/js/api/resources/ExerciceQuestion.js +28 -0
  95. package/js/api/resources/ExerciceQuestion.js.map +1 -0
  96. package/js/api/resources/PartneredAccountant.js +8 -0
  97. package/js/api/resources/PartneredAccountant.js.map +1 -1
  98. package/js/api/resources/VatControl.js +46 -0
  99. package/js/api/resources/VatControl.js.map +1 -0
  100. package/js/api/resources.js +13 -1
  101. package/js/api/resources.js.map +1 -1
  102. package/js/types/Enum/AnswerTypeValue.js +20 -0
  103. package/js/types/Enum/AnswerTypeValue.js.map +1 -0
  104. package/js/types/Enum/BalanceSheetQuestion.js +22 -0
  105. package/js/types/Enum/BalanceSheetQuestion.js.map +1 -0
  106. package/js/types/Enum/PartneredAccountantServiceType.js +48 -0
  107. package/js/types/Enum/PartneredAccountantServiceType.js.map +1 -0
  108. package/js/types/Enum/PartneredAccountantServiceTypeId.js +16 -0
  109. package/js/types/Enum/PartneredAccountantServiceTypeId.js.map +1 -0
  110. package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +2 -0
  111. package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
  112. package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +2 -0
  113. package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
  114. package/js/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js +39 -0
  115. package/js/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -0
  116. package/js/types/Interface/api/exerciceQuestion/QueryQuestion.js +33 -0
  117. package/js/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -0
  118. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js +2 -0
  119. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
  120. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js +37 -0
  121. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -0
  122. package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js +4 -0
  123. package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
  124. package/js/types/Interface/models/IAnswerType.js +6 -0
  125. package/js/types/Interface/models/IAnswerType.js.map +1 -0
  126. package/js/types/Interface/models/IAnswerTypeValue.js +6 -0
  127. package/js/types/Interface/models/IAnswerTypeValue.js.map +1 -0
  128. package/js/types/Interface/models/IApiError.js +4 -1
  129. package/js/types/Interface/models/IApiError.js.map +1 -1
  130. package/js/types/Interface/models/IBalanceSheetQuestion.js +6 -0
  131. package/js/types/Interface/models/IBalanceSheetQuestion.js.map +1 -0
  132. package/js/types/Interface/models/IExerciceQuestion.js +6 -0
  133. package/js/types/Interface/models/IExerciceQuestion.js.map +1 -0
  134. package/js/types/index.js +120 -0
  135. package/js/types/index.js.map +1 -1
  136. package/package.json +1 -1
  137. package/ts/api/resources/BalanceSheetQuestion.ts +8 -0
  138. package/ts/api/resources/ExerciceQuestion.ts +16 -0
  139. package/ts/api/resources/PartneredAccountant.ts +9 -0
  140. package/ts/api/resources/VatControl.ts +26 -0
  141. package/ts/api/resources.ts +8 -0
  142. package/ts/types/Enum/AnswerTypeValue.ts +10 -0
  143. package/ts/types/Enum/BalanceSheetQuestion.ts +12 -0
  144. package/ts/types/Enum/PartneredAccountantServiceType.ts +52 -0
  145. package/ts/types/Enum/PartneredAccountantServiceTypeId.ts +8 -0
  146. package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +6 -0
  147. package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +6 -0
  148. package/ts/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.ts +33 -0
  149. package/ts/types/Interface/api/exerciceQuestion/QueryQuestion.ts +12 -0
  150. package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.ts +3 -0
  151. package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.ts +18 -0
  152. package/ts/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.ts +6 -0
  153. package/ts/types/Interface/models/IAnswerType.ts +12 -0
  154. package/ts/types/Interface/models/IAnswerTypeValue.ts +13 -0
  155. package/ts/types/Interface/models/IApiError.ts +4 -0
  156. package/ts/types/Interface/models/IBalanceSheetModule.ts +1 -0
  157. package/ts/types/Interface/models/IBalanceSheetQuestion.ts +14 -0
  158. package/ts/types/Interface/models/IExerciceQuestion.ts +19 -0
  159. package/ts/types/index.ts +10 -0
@@ -0,0 +1,18 @@
1
+ import { IsEnum } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { PartneredAccountantServiceTypeId } from '../../../Enum/PartneredAccountantServiceTypeId';
4
+
5
+ export class CreatePartneredAccountantRequestedServiceExpress {
6
+ @ApiPropertyOptional()
7
+ idPartneredAccountantService?: number;
8
+
9
+ @ApiProperty()
10
+ notes: string;
11
+
12
+ @ApiPropertyOptional()
13
+ preTaxPrice?: number;
14
+
15
+ @ApiPropertyOptional()
16
+ @IsEnum(PartneredAccountantServiceTypeId)
17
+ idServiceType?: number;
18
+ }
@@ -14,4 +14,10 @@ export class UpdatePartneredAccountantSoldService {
14
14
 
15
15
  @ApiPropertyOptional()
16
16
  preTaxPrice?: number;
17
+
18
+ @ApiPropertyOptional()
19
+ idPartneredAccountantService?: number;
20
+
21
+ @ApiPropertyOptional()
22
+ idServiceType?: number;
17
23
  }
@@ -0,0 +1,12 @@
1
+ import { IAnswerTypeValue } from '../..';
2
+
3
+ export interface IAnswerType {
4
+ id: number;
5
+ type: string;
6
+
7
+ createdAt?: Date | null;
8
+ updatedAt?: Date | null;
9
+
10
+ // Associations
11
+ answerTypeValues?: Array<IAnswerTypeValue>;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { IAnswerType } from '../..';
2
+
3
+ export interface IAnswerTypeValue {
4
+ id: number;
5
+ idAnswerType: number;
6
+ value: string;
7
+
8
+ createdAt?: Date | null;
9
+ updatedAt?: Date | null;
10
+
11
+ // Associations
12
+ answerType?: IAnswerType;
13
+ }
@@ -138,6 +138,10 @@ export enum Code {
138
138
 
139
139
  // Accounts
140
140
  GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',
141
+
142
+ // Balance Sheet Questions
143
+ UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',
144
+ QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',
141
145
  }
142
146
 
143
147
  export interface IApiError {
@@ -14,6 +14,7 @@ export interface IBalanceSheetModule {
14
14
  hasManualEntryToDeclare?: boolean | null;
15
15
  hasLaundryFees?: boolean | null;
16
16
  hasMealExpenses?: boolean | null;
17
+ hasCheckedVAT?: boolean | null;
17
18
  idSociety: number;
18
19
  idExercice: number;
19
20
  createdAt?: Date | null;
@@ -0,0 +1,14 @@
1
+ import { IAnswerType } from './IAnswerType';
2
+
3
+ export interface IBalanceSheetQuestion {
4
+ id: number;
5
+ name: string;
6
+ theme: string;
7
+ idAnswerType: number;
8
+
9
+ createdAt?: Date | null;
10
+ updatedAt?: Date | null;
11
+
12
+ // Associations
13
+ answerType?: IAnswerType;
14
+ }
@@ -0,0 +1,19 @@
1
+ import { IAnswerTypeValue } from './IAnswerTypeValue';
2
+ import { IBalanceSheetQuestion } from './IBalanceSheetQuestion';
3
+ import { IExercice } from './IExercice';
4
+
5
+ export interface IExerciceQuestion {
6
+ id: number;
7
+ idExercice: number;
8
+ idQuestion: number;
9
+ idAnswerTypeValue?: number;
10
+ answer?: string;
11
+
12
+ createdAt?: Date | null;
13
+ updatedAt?: Date | null;
14
+
15
+ // Associations
16
+ exercice?: IExercice;
17
+ question?: IBalanceSheetQuestion;
18
+ answerTypeValue?: IAnswerTypeValue;
19
+ }
package/ts/types/index.ts CHANGED
@@ -291,6 +291,10 @@ export * from './Interface/models/IRevisionGuide';
291
291
  export * from './Interface/models/ISponsorshipWithSponsorInfo';
292
292
  export * from './Interface/models/ILastUpdateConnection';
293
293
  export * from './Interface/models/IAccountsSectors';
294
+ export * from './Interface/models/IAnswerType';
295
+ export * from './Interface/models/IAnswerTypeValue';
296
+ export * from './Interface/models/IBalanceSheetQuestion';
297
+ export * from './Interface/models/IExerciceQuestion';
294
298
 
295
299
  // Forms
296
300
  export * from './Form/FormAuthenticate';
@@ -370,6 +374,9 @@ export * from './Enum/ProductType';
370
374
  export * from './Enum/Unit';
371
375
  export * from './Enum/MealExpenseTresholds';
372
376
  export * from './Enum/MimeType';
377
+ export * from './Enum/BalanceSheetQuestion';
378
+ export * from './Enum/AnswerTypeValue';
379
+ export * from './Enum/PartneredAccountantServiceType';
373
380
 
374
381
  // Interfaces API
375
382
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
@@ -534,6 +541,7 @@ export * from './Interface/api/partneredAccountant/QueryParteneredAccountantSold
534
541
  export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated';
535
542
  export * from './Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService';
536
543
  export * from './Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService';
544
+ export * from './Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress';
537
545
  export * from './Interface/api/partneredAccountant/CreatePartneredAccountantSociety';
538
546
  export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSociety';
539
547
  export * from './Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService';
@@ -556,3 +564,5 @@ export * from './Interface/api/journal/QueryJournal';
556
564
  export * from './Interface/api/balanceSheet/ReadBalanceSheetTransaction';
557
565
  export * from './Interface/api/mealExpense/CreateMealExpense';
558
566
  export * from './Interface/api/mealExpense/ReadMealExpense';
567
+ export * from './Interface/api/exerciceQuestion/QueryQuestion';
568
+ export * from './Interface/api/exerciceQuestion/CreateExerciceQuestion';