@silexpert/core 0.4.155 → 0.4.158
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/AffectedPatrimony.d.ts +21 -0
- package/es/api/resources/AffectedPatrimony.d.ts.map +1 -0
- package/es/api/resources/AffectedPatrimony.js +24 -0
- package/es/api/resources/AffectedPatrimony.js.map +1 -0
- package/es/api/resources/BankAccount.d.ts +6 -0
- package/es/api/resources/BankAccount.d.ts.map +1 -0
- package/es/api/resources/BankAccount.js +7 -0
- package/es/api/resources/BankAccount.js.map +1 -0
- package/es/api/resources/Log.d.ts +6 -0
- package/es/api/resources/Log.d.ts.map +1 -0
- package/es/api/resources/Log.js +8 -0
- package/es/api/resources/Log.js.map +1 -0
- package/es/api/resources/PromoCode.d.ts +5 -1
- package/es/api/resources/PromoCode.d.ts.map +1 -1
- package/es/api/resources/PromoCode.js +12 -0
- package/es/api/resources/PromoCode.js.map +1 -1
- package/es/api/resources/ThirdParty.d.ts +7 -0
- package/es/api/resources/ThirdParty.d.ts.map +1 -0
- package/es/api/resources/ThirdParty.js +12 -0
- package/es/api/resources/ThirdParty.js.map +1 -0
- package/es/api/resources.d.ts +6 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +6 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AnswerTypeValue.d.ts +2 -1
- package/es/types/Enum/AnswerTypeValue.d.ts.map +1 -1
- package/es/types/Enum/AnswerTypeValue.js +1 -0
- package/es/types/Enum/AnswerTypeValue.js.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.d.ts +18 -2
- package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.js +16 -0
- package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/es/types/Enum/BalanceSheetQuestionWording.d.ts +13 -1
- package/es/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheetQuestionWording.js +12 -0
- package/es/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/es/types/Enum/WebmailFlag.d.ts +9 -0
- package/es/types/Enum/WebmailFlag.d.ts.map +1 -0
- package/es/types/Enum/WebmailFlag.js +10 -0
- package/es/types/Enum/WebmailFlag.js.map +1 -0
- package/es/types/Enum/WebmailType.d.ts +11 -0
- package/es/types/Enum/WebmailType.d.ts.map +1 -0
- package/es/types/Enum/WebmailType.js +12 -0
- package/es/types/Enum/WebmailType.js.map +1 -0
- package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.d.ts +2 -1
- package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.d.ts.map +1 -1
- package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js +1 -4
- package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js.map +1 -1
- package/es/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.d.ts +7 -0
- package/es/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.d.ts.map +1 -0
- package/es/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.js +32 -0
- package/es/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.js.map +1 -0
- package/es/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.d.ts +6 -0
- package/es/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.d.ts.map +1 -0
- package/es/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js +32 -0
- package/es/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -0
- package/es/types/Interface/api/affectedPatrimony/ReadAffectedPatrimony.d.ts +6 -0
- package/es/types/Interface/api/affectedPatrimony/ReadAffectedPatrimony.d.ts.map +1 -0
- package/es/types/Interface/api/affectedPatrimony/ReadAffectedPatrimony.js +2 -0
- package/es/types/Interface/api/affectedPatrimony/ReadAffectedPatrimony.js.map +1 -0
- package/es/types/Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony.d.ts +6 -0
- package/es/types/Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony.d.ts.map +1 -0
- package/es/types/Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony.js +2 -0
- package/es/types/Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony.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/PrepareModulesAndCompletions.d.ts +5 -0
- package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js +21 -0
- package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.d.ts +8 -0
- package/es/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.js +2 -0
- package/es/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.js.map +1 -0
- 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/bankAccount/QueryBankAccount.d.ts +5 -0
- package/es/types/Interface/api/bankAccount/QueryBankAccount.d.ts.map +1 -0
- package/es/types/Interface/api/bankAccount/QueryBankAccount.js +30 -0
- package/es/types/Interface/api/bankAccount/QueryBankAccount.js.map +1 -0
- package/es/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/es/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2031.js.map +1 -1
- package/es/types/Interface/api/cerfa/2035.d.ts +0 -1
- package/es/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2035.js.map +1 -1
- package/es/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/es/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2065.js.map +1 -1
- package/es/types/Interface/api/cerfa/2572.d.ts +2 -1
- package/es/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2572.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/es/types/Interface/api/log/QueryLogPagination.d.ts +7 -0
- package/es/types/Interface/api/log/QueryLogPagination.d.ts.map +1 -0
- package/es/types/Interface/api/log/QueryLogPagination.js +44 -0
- package/es/types/Interface/api/log/QueryLogPagination.js.map +1 -0
- package/es/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +14 -0
- package/es/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/CreateDefaultPromoCode.js +76 -0
- package/es/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +5 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js +30 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +1 -0
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts +24 -0
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts.map +1 -0
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.js +96 -0
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -0
- package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts +5 -0
- package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts.map +1 -0
- package/es/types/Interface/api/thirdParty/QueryThirdParty.js +27 -0
- package/es/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -0
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts +24 -0
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts.map +1 -0
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +96 -0
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -0
- package/es/types/Interface/api/webmail/CreateWebmailFromLambda.d.ts +25 -0
- package/es/types/Interface/api/webmail/CreateWebmailFromLambda.d.ts.map +1 -0
- package/es/types/Interface/api/webmail/CreateWebmailFromLambda.js +109 -0
- package/es/types/Interface/api/webmail/CreateWebmailFromLambda.js.map +1 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +10 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +43 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +2 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +2 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.d.ts +2 -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/IVatDeclaration.d.ts +3 -0
- package/es/types/Interface/models/IVatDeclaration.d.ts.map +1 -1
- package/es/types/Interface/models/IVatDeclaration.js.map +1 -1
- package/es/types/Interface/models/IWebMail.d.ts +53 -53
- package/es/types/Interface/models/IWebMail.d.ts.map +1 -1
- package/es/types/Interface/models/IWebMail.js.map +1 -1
- package/es/types/index.d.ts +17 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +17 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/AffectedPatrimony.js +37 -0
- package/js/api/resources/AffectedPatrimony.js.map +1 -0
- package/js/api/resources/BankAccount.js +20 -0
- package/js/api/resources/BankAccount.js.map +1 -0
- package/js/api/resources/Log.js +24 -0
- package/js/api/resources/Log.js.map +1 -0
- package/js/api/resources/PromoCode.js +22 -0
- package/js/api/resources/PromoCode.js.map +1 -1
- package/js/api/resources/ThirdParty.js +24 -0
- package/js/api/resources/ThirdParty.js.map +1 -0
- package/js/api/resources.js +10 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AnswerTypeValue.js +1 -0
- package/js/types/Enum/AnswerTypeValue.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestion.js +17 -0
- package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestionWording.js +13 -0
- package/js/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/js/types/Enum/WebmailFlag.js +16 -0
- package/js/types/Enum/WebmailFlag.js.map +1 -0
- package/js/types/Enum/WebmailType.js +18 -0
- package/js/types/Enum/WebmailType.js.map +1 -0
- package/js/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js +1 -5
- package/js/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js.map +1 -1
- package/js/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.js +35 -0
- package/js/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.js.map +1 -0
- package/js/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js +35 -0
- package/js/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -0
- package/js/types/Interface/api/affectedPatrimony/ReadAffectedPatrimony.js +6 -0
- package/js/types/Interface/api/affectedPatrimony/ReadAffectedPatrimony.js.map +1 -0
- package/js/types/Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony.js +6 -0
- package/js/types/Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony.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/PrepareModulesAndCompletions.js +29 -0
- package/js/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.js +6 -0
- package/js/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.js.map +1 -0
- 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/bankAccount/QueryBankAccount.js +35 -0
- package/js/types/Interface/api/bankAccount/QueryBankAccount.js.map +1 -0
- package/js/types/Interface/api/cerfa/2031.js.map +1 -1
- package/js/types/Interface/api/cerfa/2035.js.map +1 -1
- package/js/types/Interface/api/cerfa/2065.js.map +1 -1
- package/js/types/Interface/api/cerfa/2572.js.map +1 -1
- package/js/types/Interface/api/log/QueryLogPagination.js +44 -0
- package/js/types/Interface/api/log/QueryLogPagination.js.map +1 -0
- package/js/types/Interface/api/promoCode/CreateDefaultPromoCode.js +51 -0
- package/js/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -0
- package/js/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js +37 -0
- package/js/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +1 -0
- package/js/types/Interface/api/thirdParty/CreateThirdPartyForm.js +69 -0
- package/js/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -0
- package/js/types/Interface/api/thirdParty/QueryThirdParty.js +33 -0
- package/js/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -0
- package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +69 -0
- package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -0
- package/js/types/Interface/api/webmail/CreateWebmailFromLambda.js +61 -0
- package/js/types/Interface/api/webmail/CreateWebmailFromLambda.js.map +1 -0
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +41 -0
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +3 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +204 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AffectedPatrimony.ts +26 -0
- package/ts/api/resources/BankAccount.ts +8 -0
- package/ts/api/resources/Log.ts +12 -0
- package/ts/api/resources/PromoCode.ts +17 -1
- package/ts/api/resources/ThirdParty.ts +19 -0
- package/ts/api/resources.ts +6 -0
- package/ts/types/Enum/AnswerTypeValue.ts +1 -0
- package/ts/types/Enum/BalanceSheetQuestion.ts +19 -0
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +16 -0
- package/ts/types/Enum/WebmailFlag.ts +8 -0
- package/ts/types/Enum/WebmailType.ts +10 -0
- package/ts/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.ts +2 -4
- package/ts/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.ts +22 -0
- package/ts/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.ts +19 -0
- package/ts/types/Interface/api/affectedPatrimony/ReadAffectedPatrimony.ts +5 -0
- package/ts/types/Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony.ts +5 -0
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.ts +9 -0
- package/ts/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.ts +7 -0
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/bankAccount/QueryBankAccount.ts +20 -0
- package/ts/types/Interface/api/cerfa/2031.ts +1 -0
- package/ts/types/Interface/api/cerfa/2035.ts +0 -1
- package/ts/types/Interface/api/cerfa/2065.ts +1 -0
- package/ts/types/Interface/api/cerfa/2572.ts +2 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +1 -0
- package/ts/types/Interface/api/log/QueryLogPagination.ts +27 -0
- package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +57 -0
- package/ts/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.ts +14 -0
- package/ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts +66 -0
- package/ts/types/Interface/api/thirdParty/QueryThirdParty.ts +15 -0
- package/ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts +66 -0
- package/ts/types/Interface/api/webmail/CreateWebmailFromLambda.ts +87 -0
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +30 -0
- package/ts/types/Interface/models/IApiError.ts +2 -1
- package/ts/types/Interface/models/IBalanceSheetModule.ts +2 -0
- package/ts/types/Interface/models/IVatDeclaration.ts +3 -0
- package/ts/types/Interface/models/IWebMail.ts +53 -53
- package/ts/types/index.ts +17 -0
|
@@ -11,11 +11,9 @@ export class QuerySocietyTransactionCount {
|
|
|
11
11
|
@IsArray()
|
|
12
12
|
idBankAccount?: number[];
|
|
13
13
|
|
|
14
|
-
@ApiProperty(
|
|
15
|
-
enum: AccountingJournal,
|
|
16
|
-
})
|
|
14
|
+
@ApiProperty()
|
|
17
15
|
@IsNotEmpty()
|
|
18
16
|
@IsArray()
|
|
19
17
|
@ArrayMinSize(1)
|
|
20
|
-
idAccountingJournal:
|
|
18
|
+
idAccountingJournal: AccountingJournal[];
|
|
21
19
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsArray, IsDate, IsNumber, Min,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty } from '../../../..';
|
|
5
|
+
import { CreateInKindAffectedPatrimony } from './CreateInKindAffectedPatrimony';
|
|
6
|
+
|
|
7
|
+
export class CreateAffectedPatrimony {
|
|
8
|
+
@ApiProperty()
|
|
9
|
+
@IsNumber()
|
|
10
|
+
@Min(0, {
|
|
11
|
+
message: 'amount should be positive',
|
|
12
|
+
})
|
|
13
|
+
capitalAffectedPatrimony: number;
|
|
14
|
+
|
|
15
|
+
@ApiProperty()
|
|
16
|
+
@IsDate()
|
|
17
|
+
dateAffectedPatrimony: Date;
|
|
18
|
+
|
|
19
|
+
@ApiProperty()
|
|
20
|
+
@IsArray()
|
|
21
|
+
inKindAffectedPatrimonies: CreateInKindAffectedPatrimony[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IsNumber, IsString, Min } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../..';
|
|
3
|
+
|
|
4
|
+
export class CreateInKindAffectedPatrimony {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsNumber()
|
|
7
|
+
@Min(0, {
|
|
8
|
+
message: 'Amount should be positive',
|
|
9
|
+
})
|
|
10
|
+
amount: number;
|
|
11
|
+
|
|
12
|
+
@ApiProperty()
|
|
13
|
+
@IsString()
|
|
14
|
+
designation: string;
|
|
15
|
+
|
|
16
|
+
@ApiProperty()
|
|
17
|
+
@IsNumber()
|
|
18
|
+
idAccount: number;
|
|
19
|
+
}
|
|
@@ -33,6 +33,12 @@ export class CreateBalanceSheetModuleForm {
|
|
|
33
33
|
@IsOptional()
|
|
34
34
|
incomeAllocation?: boolean | null;
|
|
35
35
|
|
|
36
|
+
@ApiPropertyOptional()
|
|
37
|
+
@IsBoolean()
|
|
38
|
+
@ToBoolean()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
hasAffectedPatrimony?: boolean | null;
|
|
41
|
+
|
|
36
42
|
// @ApiPropertyOptional()
|
|
37
43
|
// deadlinerecoveryImmobilization: boolean;
|
|
38
44
|
|
|
@@ -33,6 +33,12 @@ export class UpdateBalanceSheetModuleForm {
|
|
|
33
33
|
@IsOptional()
|
|
34
34
|
loanToDeclare?: boolean | null;
|
|
35
35
|
|
|
36
|
+
@ApiPropertyOptional()
|
|
37
|
+
@IsBoolean()
|
|
38
|
+
@ToBoolean()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
hasAffectedPatrimony?: boolean | null;
|
|
41
|
+
|
|
36
42
|
// @ApiPropertyOptional()
|
|
37
43
|
// deadlinerecoveryImmobilization: boolean;
|
|
38
44
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsBoolean, IsEnum, IsInt, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
|
+
import { BankAccountType } from '../../../Enum/BankAccountType';
|
|
7
|
+
|
|
8
|
+
export class QueryBankAccount {
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsBoolean()
|
|
12
|
+
@ToBoolean()
|
|
13
|
+
isActivated?: boolean;
|
|
14
|
+
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsOptional()
|
|
17
|
+
@IsInt()
|
|
18
|
+
@IsEnum(BankAccountType)
|
|
19
|
+
idBankAccountType?: number;
|
|
20
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Termination } from './ReadCerfa';
|
|
1
|
+
import { Termination, CerfaAddress } from './ReadCerfa';
|
|
2
2
|
|
|
3
3
|
type BaseAndAmount = {
|
|
4
4
|
base: number;
|
|
@@ -22,6 +22,7 @@ type Exercice = {
|
|
|
22
22
|
type Society = {
|
|
23
23
|
name: string;
|
|
24
24
|
address: string;
|
|
25
|
+
addressObject: CerfaAddress;
|
|
25
26
|
};
|
|
26
27
|
|
|
27
28
|
type PreFinancingWithAmount = {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsEnum, IsInt, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { LogType } from '../../../Enum/Log';
|
|
6
|
+
|
|
7
|
+
export class QueryLogPagination {
|
|
8
|
+
@ApiPropertyOptional()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
@IsInt()
|
|
11
|
+
limit?: number = 25;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
@IsOptional()
|
|
15
|
+
@IsInt()
|
|
16
|
+
page?: number = 1;
|
|
17
|
+
|
|
18
|
+
@ApiProperty()
|
|
19
|
+
@IsInt()
|
|
20
|
+
@IsEnum(LogType)
|
|
21
|
+
idLogType: number;
|
|
22
|
+
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
@IsString()
|
|
26
|
+
orderBy?: string = 'id';
|
|
27
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsBoolean, IsDate, IsJSON, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
|
+
|
|
7
|
+
export class CreateDefaultPromoCode {
|
|
8
|
+
@ApiProperty()
|
|
9
|
+
@IsString()
|
|
10
|
+
label: string;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsDate()
|
|
14
|
+
startDate?: Date | null;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
@IsDate()
|
|
18
|
+
endDate?: Date | null;
|
|
19
|
+
|
|
20
|
+
@ApiProperty()
|
|
21
|
+
@IsBoolean()
|
|
22
|
+
@ToBoolean()
|
|
23
|
+
isYearly: boolean;
|
|
24
|
+
|
|
25
|
+
@ApiProperty()
|
|
26
|
+
@IsBoolean()
|
|
27
|
+
@ToBoolean()
|
|
28
|
+
isMonthly: boolean;
|
|
29
|
+
|
|
30
|
+
@ApiProperty()
|
|
31
|
+
@IsBoolean()
|
|
32
|
+
@ToBoolean()
|
|
33
|
+
isMicroPlan: boolean;
|
|
34
|
+
|
|
35
|
+
@ApiProperty()
|
|
36
|
+
@IsBoolean()
|
|
37
|
+
@ToBoolean()
|
|
38
|
+
isCashBasedBusinessPlan: boolean;
|
|
39
|
+
|
|
40
|
+
@ApiProperty()
|
|
41
|
+
@IsBoolean()
|
|
42
|
+
@ToBoolean()
|
|
43
|
+
isAccrualBusinessPlan: boolean;
|
|
44
|
+
|
|
45
|
+
@ApiProperty()
|
|
46
|
+
@IsBoolean()
|
|
47
|
+
@ToBoolean()
|
|
48
|
+
isTest: boolean;
|
|
49
|
+
|
|
50
|
+
@ApiPropertyOptional()
|
|
51
|
+
@IsJSON()
|
|
52
|
+
metadata?: any | null;
|
|
53
|
+
|
|
54
|
+
@ApiProperty()
|
|
55
|
+
@IsString()
|
|
56
|
+
idStripeCoupon: string;
|
|
57
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IsNumber, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class ReadDefaultPaginationPromoCode {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsNumber()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
page?: number = 1;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsNumber()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
limit?: number = 25;
|
|
14
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { IsEnum } from 'class-validator';
|
|
2
|
+
import { ThirdPartyType } from '../../..';
|
|
3
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
4
|
+
|
|
5
|
+
export class CreateThirdPartyForm {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
budgeaSouscriptionId?: number | null;
|
|
8
|
+
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
fullname?: string | null;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
fullnameAccountant?: string | null;
|
|
14
|
+
|
|
15
|
+
@ApiProperty()
|
|
16
|
+
company: string;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
address?: string | null;
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
zipCode?: string | null;
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
city?: string | null;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
phone?: string | null;
|
|
29
|
+
|
|
30
|
+
@ApiPropertyOptional()
|
|
31
|
+
email?: string | null;
|
|
32
|
+
|
|
33
|
+
@ApiPropertyOptional()
|
|
34
|
+
nSiret?: string | null;
|
|
35
|
+
|
|
36
|
+
@ApiPropertyOptional()
|
|
37
|
+
nTva?: string | null;
|
|
38
|
+
|
|
39
|
+
@ApiProperty()
|
|
40
|
+
soldeInit: number;
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
state?: boolean | null;
|
|
44
|
+
|
|
45
|
+
@ApiPropertyOptional()
|
|
46
|
+
dateImport?: Date | null;
|
|
47
|
+
|
|
48
|
+
@ApiProperty()
|
|
49
|
+
isGeneric: boolean;
|
|
50
|
+
|
|
51
|
+
@ApiPropertyOptional()
|
|
52
|
+
juridicalSociety?: number | null;
|
|
53
|
+
|
|
54
|
+
@ApiPropertyOptional()
|
|
55
|
+
idTypePayment?: number | null;
|
|
56
|
+
|
|
57
|
+
@ApiPropertyOptional()
|
|
58
|
+
idAccount?: number | null;
|
|
59
|
+
|
|
60
|
+
@ApiPropertyOptional()
|
|
61
|
+
idCountry?: number | null;
|
|
62
|
+
|
|
63
|
+
@ApiProperty()
|
|
64
|
+
@IsEnum(ThirdPartyType)
|
|
65
|
+
idThirdPartyType: ThirdPartyType;
|
|
66
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IsEnum, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ThirdPartyType } from '../../..';
|
|
3
|
+
import { ApiPropertyOptional } from '../../../..';
|
|
4
|
+
|
|
5
|
+
export class QueryThirdParty {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
@IsString()
|
|
9
|
+
search?: string;
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
@IsEnum(ThirdPartyType)
|
|
14
|
+
type?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { IsEnum } from 'class-validator';
|
|
2
|
+
import { ThirdPartyType } from '../../..';
|
|
3
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
4
|
+
|
|
5
|
+
export class UpdateThirdPartyForm {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
budgeaSouscriptionId?: number | null;
|
|
8
|
+
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
fullname?: string | null;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
fullnameAccountant?: string | null;
|
|
14
|
+
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
company?: string;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
address?: string | null;
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
zipCode?: string | null;
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
city?: string | null;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
phone?: string | null;
|
|
29
|
+
|
|
30
|
+
@ApiPropertyOptional()
|
|
31
|
+
email?: string | null;
|
|
32
|
+
|
|
33
|
+
@ApiPropertyOptional()
|
|
34
|
+
nSiret?: string | null;
|
|
35
|
+
|
|
36
|
+
@ApiPropertyOptional()
|
|
37
|
+
nTva?: string | null;
|
|
38
|
+
|
|
39
|
+
@ApiPropertyOptional()
|
|
40
|
+
soldeInit?: number;
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
state?: boolean | null;
|
|
44
|
+
|
|
45
|
+
@ApiPropertyOptional()
|
|
46
|
+
dateImport?: Date | null;
|
|
47
|
+
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
isGeneric?: boolean;
|
|
50
|
+
|
|
51
|
+
@ApiPropertyOptional()
|
|
52
|
+
juridicalSociety?: number | null;
|
|
53
|
+
|
|
54
|
+
@ApiPropertyOptional()
|
|
55
|
+
idTypePayment?: number | null;
|
|
56
|
+
|
|
57
|
+
@ApiPropertyOptional()
|
|
58
|
+
idAccount?: number | null;
|
|
59
|
+
|
|
60
|
+
@ApiPropertyOptional()
|
|
61
|
+
idCountry?: number | null;
|
|
62
|
+
|
|
63
|
+
@ApiPropertyOptional()
|
|
64
|
+
@IsEnum(ThirdPartyType)
|
|
65
|
+
idThirdPartyType?: ThirdPartyType;
|
|
66
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import {
|
|
5
|
+
AddressObject, HeaderLines,
|
|
6
|
+
} from 'mailparser';
|
|
7
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
8
|
+
|
|
9
|
+
export class CreateWebmailFromLambda {
|
|
10
|
+
@ApiProperty()
|
|
11
|
+
@IsArray()
|
|
12
|
+
attachments: { [key: string]: any }[];
|
|
13
|
+
|
|
14
|
+
@ApiProperty()
|
|
15
|
+
@IsObject()
|
|
16
|
+
@IsNotEmpty()
|
|
17
|
+
headers: { [key: string]: any };
|
|
18
|
+
|
|
19
|
+
@ApiProperty()
|
|
20
|
+
@IsArray()
|
|
21
|
+
@IsNotEmpty()
|
|
22
|
+
headerLines: HeaderLines;
|
|
23
|
+
|
|
24
|
+
@ApiProperty()
|
|
25
|
+
html: string | false;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsString()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
text?: string;
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsString()
|
|
34
|
+
@IsOptional()
|
|
35
|
+
textAsHtml?: string;
|
|
36
|
+
|
|
37
|
+
@ApiPropertyOptional()
|
|
38
|
+
@IsString()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
subject?: string;
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
references?: string[] | string;
|
|
45
|
+
|
|
46
|
+
@ApiPropertyOptional()
|
|
47
|
+
@IsOptional()
|
|
48
|
+
@IsDate()
|
|
49
|
+
date?: Date;
|
|
50
|
+
|
|
51
|
+
@ApiPropertyOptional()
|
|
52
|
+
@IsOptional()
|
|
53
|
+
to?: AddressObject | AddressObject[];
|
|
54
|
+
|
|
55
|
+
@ApiPropertyOptional()
|
|
56
|
+
@IsObject()
|
|
57
|
+
@IsOptional()
|
|
58
|
+
from?: AddressObject;
|
|
59
|
+
|
|
60
|
+
@ApiPropertyOptional()
|
|
61
|
+
@IsOptional()
|
|
62
|
+
cc?: AddressObject | AddressObject[];
|
|
63
|
+
|
|
64
|
+
@ApiPropertyOptional()
|
|
65
|
+
@IsOptional()
|
|
66
|
+
bcc?: AddressObject | AddressObject[];
|
|
67
|
+
|
|
68
|
+
@ApiPropertyOptional()
|
|
69
|
+
@IsObject()
|
|
70
|
+
@IsOptional()
|
|
71
|
+
replyTo?: AddressObject;
|
|
72
|
+
|
|
73
|
+
@ApiPropertyOptional()
|
|
74
|
+
@IsString()
|
|
75
|
+
@IsOptional()
|
|
76
|
+
messageId?: string;
|
|
77
|
+
|
|
78
|
+
@ApiPropertyOptional()
|
|
79
|
+
@IsString()
|
|
80
|
+
@IsOptional()
|
|
81
|
+
inReplyTo?: string;
|
|
82
|
+
|
|
83
|
+
@ApiPropertyOptional()
|
|
84
|
+
@IsOptional()
|
|
85
|
+
@IsIn(['normal', 'low', 'high'])
|
|
86
|
+
priority?: 'normal' | 'low' | 'high';
|
|
87
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsMimeType, IsNumber, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
|
|
6
|
+
export class PostAttachmentEmailFromLambdaParams {
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
@IsString()
|
|
9
|
+
token: string;
|
|
10
|
+
|
|
11
|
+
@ApiProperty()
|
|
12
|
+
@IsString()
|
|
13
|
+
@IsMimeType()
|
|
14
|
+
mime: string;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
@IsOptional()
|
|
18
|
+
@IsNumber()
|
|
19
|
+
idSociety?: number;
|
|
20
|
+
|
|
21
|
+
@ApiProperty()
|
|
22
|
+
@IsString()
|
|
23
|
+
filename: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export class CreateAttachmentOldWebmail extends PostAttachmentEmailFromLambdaParams {
|
|
27
|
+
@ApiProperty()
|
|
28
|
+
@IsNumber()
|
|
29
|
+
idMail: number;
|
|
30
|
+
}
|
|
@@ -9,6 +9,7 @@ export enum Code {
|
|
|
9
9
|
tokenFailure = 'token_authentication_failure',
|
|
10
10
|
authenticationFailure = 'authentication_credentials_failure',
|
|
11
11
|
notFound = 'resource_not_found',
|
|
12
|
+
fileNotFound = 'file_not_found',
|
|
12
13
|
validationError = 'resource_validation_error',
|
|
13
14
|
constraintError = 'resource_constraint_error',
|
|
14
15
|
outOfRange = 'resource_ofr',
|
|
@@ -17,6 +18,7 @@ export enum Code {
|
|
|
17
18
|
serviceUnavailable = 'service_unavailable',
|
|
18
19
|
notImplemented = 'not_implemented',
|
|
19
20
|
unknown = 'unknown',
|
|
21
|
+
formatNotAuthorized = 'format_not_authorized',
|
|
20
22
|
|
|
21
23
|
// Annotation Error
|
|
22
24
|
failedCheckBalance = 'failed_check_balance',
|
|
@@ -157,7 +159,6 @@ export enum Code {
|
|
|
157
159
|
ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',
|
|
158
160
|
|
|
159
161
|
// Society Vehicles
|
|
160
|
-
|
|
161
162
|
MISSING_REGISTRATION_CARD = 'MISSING_REGISTRATION_CARD',
|
|
162
163
|
}
|
|
163
164
|
|
|
@@ -10,6 +10,8 @@ export interface IBalanceSheetModule {
|
|
|
10
10
|
incomeAllocation?: boolean | null;
|
|
11
11
|
salariesFile?: boolean | null;
|
|
12
12
|
hasShareCapital: boolean | null;
|
|
13
|
+
hasAffectedPatrimonyToDeclare?: boolean | null;
|
|
14
|
+
hasAffectedPatrimony?: boolean | null;
|
|
13
15
|
hasCustomerInvoiceToEstablish?: boolean | null;
|
|
14
16
|
hasCustomerAssetToEstablish?: boolean | null;
|
|
15
17
|
hasCustomerPrepaidIncome?: boolean | null;
|
|
@@ -4,6 +4,7 @@ import { ICerfaValue } from './ICerfaValue';
|
|
|
4
4
|
import { IVatDeclarationCertificate } from './IVatDeclarationCertificate';
|
|
5
5
|
import { IUser } from './IUser';
|
|
6
6
|
import { ISociety } from './ISociety';
|
|
7
|
+
import { IAccountingTransaction } from '../..';
|
|
7
8
|
|
|
8
9
|
// vatDeclaration
|
|
9
10
|
export interface IVatDeclaration {
|
|
@@ -104,6 +105,7 @@ export interface IVatDeclaration {
|
|
|
104
105
|
totalAPayer: number | null;
|
|
105
106
|
lastCredit: number | null;
|
|
106
107
|
idFile: number | null;
|
|
108
|
+
idAccountingTransaction: number | null;
|
|
107
109
|
createdAt?: Date | null;
|
|
108
110
|
updatedAt?: Date | null;
|
|
109
111
|
|
|
@@ -114,4 +116,5 @@ export interface IVatDeclaration {
|
|
|
114
116
|
vatDeclarationCertificates: IVatDeclarationCertificate[];
|
|
115
117
|
user: IUser;
|
|
116
118
|
society: ISociety;
|
|
119
|
+
accountingTransaction: IAccountingTransaction;
|
|
117
120
|
}
|