@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.
- package/es/api/resources/BalanceSheetQuestion.d.ts +6 -0
- package/es/api/resources/BalanceSheetQuestion.d.ts.map +1 -0
- package/es/api/resources/BalanceSheetQuestion.js +7 -0
- package/es/api/resources/BalanceSheetQuestion.js.map +1 -0
- package/es/api/resources/ExerciceQuestion.d.ts +8 -0
- package/es/api/resources/ExerciceQuestion.d.ts.map +1 -0
- package/es/api/resources/ExerciceQuestion.js +13 -0
- package/es/api/resources/ExerciceQuestion.js.map +1 -0
- package/es/api/resources/PartneredAccountant.d.ts +3 -1
- package/es/api/resources/PartneredAccountant.d.ts.map +1 -1
- package/es/api/resources/PartneredAccountant.js +6 -0
- package/es/api/resources/PartneredAccountant.js.map +1 -1
- package/es/api/resources/VatControl.d.ts +10 -0
- package/es/api/resources/VatControl.d.ts.map +1 -0
- package/es/api/resources/VatControl.js +20 -0
- package/es/api/resources/VatControl.js.map +1 -0
- package/es/api/resources.d.ts +8 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +8 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AnswerTypeValue.d.ts +10 -0
- package/es/types/Enum/AnswerTypeValue.d.ts.map +1 -0
- package/es/types/Enum/AnswerTypeValue.js +12 -0
- package/es/types/Enum/AnswerTypeValue.js.map +1 -0
- package/es/types/Enum/BalanceSheetQuestion.d.ts +12 -0
- package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -0
- package/es/types/Enum/BalanceSheetQuestion.js +14 -0
- package/es/types/Enum/BalanceSheetQuestion.js.map +1 -0
- package/es/types/Enum/PartneredAccountantServiceType.d.ts +11 -0
- package/es/types/Enum/PartneredAccountantServiceType.d.ts.map +1 -0
- package/es/types/Enum/PartneredAccountantServiceType.js +40 -0
- package/es/types/Enum/PartneredAccountantServiceType.js.map +1 -0
- package/es/types/Enum/PartneredAccountantServiceTypeId.d.ts +9 -0
- package/es/types/Enum/PartneredAccountantServiceTypeId.d.ts.map +1 -0
- package/es/types/Enum/PartneredAccountantServiceTypeId.js +10 -0
- package/es/types/Enum/PartneredAccountantServiceTypeId.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +7 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +1 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +7 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.d.ts +10 -0
- package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.d.ts.map +1 -0
- package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js +43 -0
- package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -0
- package/es/types/Interface/api/exerciceQuestion/QueryQuestion.d.ts +5 -0
- package/es/types/Interface/api/exerciceQuestion/QueryQuestion.d.ts.map +1 -0
- package/es/types/Interface/api/exerciceQuestion/QueryQuestion.js +23 -0
- package/es/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts +1 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js +4 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.d.ts +7 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js +32 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts +2 -0
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js +8 -0
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
- package/es/types/Interface/models/IAnswerType.d.ts +9 -0
- package/es/types/Interface/models/IAnswerType.d.ts.map +1 -0
- package/es/types/Interface/models/IAnswerType.js +2 -0
- package/es/types/Interface/models/IAnswerType.js.map +1 -0
- package/es/types/Interface/models/IAnswerTypeValue.d.ts +10 -0
- package/es/types/Interface/models/IAnswerTypeValue.d.ts.map +1 -0
- package/es/types/Interface/models/IAnswerTypeValue.js +2 -0
- package/es/types/Interface/models/IAnswerTypeValue.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +3 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +3 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.d.ts +1 -0
- package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetQuestion.d.ts +11 -0
- package/es/types/Interface/models/IBalanceSheetQuestion.d.ts.map +1 -0
- package/es/types/Interface/models/IBalanceSheetQuestion.js +2 -0
- package/es/types/Interface/models/IBalanceSheetQuestion.js.map +1 -0
- package/es/types/Interface/models/IExerciceQuestion.d.ts +16 -0
- package/es/types/Interface/models/IExerciceQuestion.d.ts.map +1 -0
- package/es/types/Interface/models/IExerciceQuestion.js +2 -0
- package/es/types/Interface/models/IExerciceQuestion.js.map +1 -0
- package/es/types/index.d.ts +10 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +10 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/BalanceSheetQuestion.js +20 -0
- package/js/api/resources/BalanceSheetQuestion.js.map +1 -0
- package/js/api/resources/ExerciceQuestion.js +28 -0
- package/js/api/resources/ExerciceQuestion.js.map +1 -0
- package/js/api/resources/PartneredAccountant.js +8 -0
- package/js/api/resources/PartneredAccountant.js.map +1 -1
- package/js/api/resources/VatControl.js +46 -0
- package/js/api/resources/VatControl.js.map +1 -0
- package/js/api/resources.js +13 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AnswerTypeValue.js +20 -0
- package/js/types/Enum/AnswerTypeValue.js.map +1 -0
- package/js/types/Enum/BalanceSheetQuestion.js +22 -0
- package/js/types/Enum/BalanceSheetQuestion.js.map +1 -0
- package/js/types/Enum/PartneredAccountantServiceType.js +48 -0
- package/js/types/Enum/PartneredAccountantServiceType.js.map +1 -0
- package/js/types/Enum/PartneredAccountantServiceTypeId.js +16 -0
- package/js/types/Enum/PartneredAccountantServiceTypeId.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +2 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +2 -0
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js +39 -0
- package/js/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -0
- package/js/types/Interface/api/exerciceQuestion/QueryQuestion.js +33 -0
- package/js/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js +2 -0
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js +37 -0
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js +4 -0
- package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
- package/js/types/Interface/models/IAnswerType.js +6 -0
- package/js/types/Interface/models/IAnswerType.js.map +1 -0
- package/js/types/Interface/models/IAnswerTypeValue.js +6 -0
- package/js/types/Interface/models/IAnswerTypeValue.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +4 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheetQuestion.js +6 -0
- package/js/types/Interface/models/IBalanceSheetQuestion.js.map +1 -0
- package/js/types/Interface/models/IExerciceQuestion.js +6 -0
- package/js/types/Interface/models/IExerciceQuestion.js.map +1 -0
- package/js/types/index.js +120 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheetQuestion.ts +8 -0
- package/ts/api/resources/ExerciceQuestion.ts +16 -0
- package/ts/api/resources/PartneredAccountant.ts +9 -0
- package/ts/api/resources/VatControl.ts +26 -0
- package/ts/api/resources.ts +8 -0
- package/ts/types/Enum/AnswerTypeValue.ts +10 -0
- package/ts/types/Enum/BalanceSheetQuestion.ts +12 -0
- package/ts/types/Enum/PartneredAccountantServiceType.ts +52 -0
- package/ts/types/Enum/PartneredAccountantServiceTypeId.ts +8 -0
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.ts +33 -0
- package/ts/types/Interface/api/exerciceQuestion/QueryQuestion.ts +12 -0
- package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.ts +3 -0
- package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.ts +18 -0
- package/ts/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.ts +6 -0
- package/ts/types/Interface/models/IAnswerType.ts +12 -0
- package/ts/types/Interface/models/IAnswerTypeValue.ts +13 -0
- package/ts/types/Interface/models/IApiError.ts +4 -0
- package/ts/types/Interface/models/IBalanceSheetModule.ts +1 -0
- package/ts/types/Interface/models/IBalanceSheetQuestion.ts +14 -0
- package/ts/types/Interface/models/IExerciceQuestion.ts +19 -0
- 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
|
+
}
|
|
@@ -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';
|