@silexpert/core 1.2.31 → 1.2.34
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/dist/cjs/api/resources/Brevo.d.ts +4 -4
- package/dist/cjs/api/resources/Brevo.d.ts.map +1 -1
- package/dist/cjs/api/resources/Brevo.js +2 -2
- package/dist/cjs/api/resources/Brevo.js.map +1 -1
- package/dist/cjs/api/resources/CalendarEvent.d.ts +1 -1
- package/dist/cjs/api/resources/CalendarEvent.d.ts.map +1 -1
- package/dist/cjs/api/resources/CalendarEvent.js +2 -2
- package/dist/cjs/api/resources/CalendarEvent.js.map +1 -1
- package/dist/cjs/api/resources/CommercialConditionOfSale.d.ts +9 -0
- package/dist/cjs/api/resources/CommercialConditionOfSale.d.ts.map +1 -0
- package/dist/cjs/api/resources/CommercialConditionOfSale.js +20 -0
- package/dist/cjs/api/resources/CommercialConditionOfSale.js.map +1 -0
- package/dist/cjs/api/resources/CommercialDocumentTemplate.d.ts +9 -0
- package/dist/cjs/api/resources/CommercialDocumentTemplate.d.ts.map +1 -0
- package/dist/cjs/api/resources/CommercialDocumentTemplate.js +20 -0
- package/dist/cjs/api/resources/CommercialDocumentTemplate.js.map +1 -0
- package/dist/cjs/api/resources/CommercialEmail.d.ts +9 -0
- package/dist/cjs/api/resources/CommercialEmail.d.ts.map +1 -0
- package/dist/cjs/api/resources/CommercialEmail.js +20 -0
- package/dist/cjs/api/resources/CommercialEmail.js.map +1 -0
- package/dist/cjs/api/resources/Dashboard.d.ts +2 -1
- package/dist/cjs/api/resources/Dashboard.d.ts.map +1 -1
- package/dist/cjs/api/resources/Dashboard.js +3 -0
- package/dist/cjs/api/resources/Dashboard.js.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts +4 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.js +9 -0
- package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +6 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +6 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/PaymentRecovery.d.ts +9 -0
- package/dist/cjs/types/Enum/PaymentRecovery.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PaymentRecovery.js +150 -1
- package/dist/cjs/types/Enum/PaymentRecovery.js.map +1 -1
- package/dist/cjs/types/Enum/QualificationLead.d.ts +13 -0
- package/dist/cjs/types/Enum/QualificationLead.d.ts.map +1 -0
- package/dist/cjs/types/Enum/QualificationLead.js +39 -0
- package/dist/cjs/types/Enum/QualificationLead.js.map +1 -0
- package/dist/cjs/types/Enum/ReasonCancelSignatureRequest.d.ts +6 -0
- package/dist/cjs/types/Enum/ReasonCancelSignatureRequest.d.ts.map +1 -0
- package/dist/cjs/types/Enum/ReasonCancelSignatureRequest.js +11 -0
- package/dist/cjs/types/Enum/ReasonCancelSignatureRequest.js.map +1 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +8 -5
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +26 -17
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/Read.d.ts +21 -0
- package/dist/cjs/types/Interface/api/brevo/Read.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/brevo/Read.js +3 -0
- package/dist/cjs/types/Interface/api/brevo/Read.js.map +1 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +14 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js +64 -6
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Query.d.ts +5 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Query.js +24 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Read.d.ts +7 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Read.js.map +1 -1
- package/dist/cjs/types/Interface/api/customerSignature/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/customerSignature/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/customerSignature/Query.js +4 -0
- package/dist/cjs/types/Interface/api/customerSignature/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +7 -0
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +27 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts +2 -0
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js +12 -0
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +1 -0
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +6 -0
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISaleDocumentTemplate.d.ts +16 -0
- package/dist/cjs/types/Interface/models/ISaleDocumentTemplate.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/ISaleDocumentTemplate.js +3 -0
- package/dist/cjs/types/Interface/models/ISaleDocumentTemplate.js.map +1 -0
- package/dist/cjs/types/Interface/models/ITerminationList.d.ts +1 -0
- package/dist/cjs/types/Interface/models/ITerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ITerminationList.js.map +1 -1
- package/dist/cjs/types/index.d.ts +4 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +4 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js +2 -2
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/saleEmail.js +1 -1
- package/dist/cjs/utils/commercialManagement/saleEmail.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/templates/body.js +1 -1
- package/dist/cjs/utils/commercialManagement/templates/body.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/templates/common.js +1 -1
- package/dist/cjs/utils/commercialManagement/templates/common.js.map +1 -1
- package/dist/mjs/api/resources/Brevo.d.ts +4 -4
- package/dist/mjs/api/resources/Brevo.d.ts.map +1 -1
- package/dist/mjs/api/resources/Brevo.js +2 -2
- package/dist/mjs/api/resources/Brevo.js.map +1 -1
- package/dist/mjs/api/resources/CalendarEvent.d.ts +1 -1
- package/dist/mjs/api/resources/CalendarEvent.d.ts.map +1 -1
- package/dist/mjs/api/resources/CalendarEvent.js +2 -2
- package/dist/mjs/api/resources/CalendarEvent.js.map +1 -1
- package/dist/mjs/api/resources/CommercialConditionOfSale.d.ts +9 -0
- package/dist/mjs/api/resources/CommercialConditionOfSale.d.ts.map +1 -0
- package/dist/mjs/api/resources/CommercialConditionOfSale.js +16 -0
- package/dist/mjs/api/resources/CommercialConditionOfSale.js.map +1 -0
- package/dist/mjs/api/resources/CommercialDocumentTemplate.d.ts +9 -0
- package/dist/mjs/api/resources/CommercialDocumentTemplate.d.ts.map +1 -0
- package/dist/mjs/api/resources/CommercialDocumentTemplate.js +16 -0
- package/dist/mjs/api/resources/CommercialDocumentTemplate.js.map +1 -0
- package/dist/mjs/api/resources/CommercialEmail.d.ts +9 -0
- package/dist/mjs/api/resources/CommercialEmail.d.ts.map +1 -0
- package/dist/mjs/api/resources/CommercialEmail.js +16 -0
- package/dist/mjs/api/resources/CommercialEmail.js.map +1 -0
- package/dist/mjs/api/resources/Dashboard.d.ts +2 -1
- package/dist/mjs/api/resources/Dashboard.d.ts.map +1 -1
- package/dist/mjs/api/resources/Dashboard.js +3 -0
- package/dist/mjs/api/resources/Dashboard.js.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts +4 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.js +9 -0
- package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +6 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +6 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/PaymentRecovery.d.ts +9 -0
- package/dist/mjs/types/Enum/PaymentRecovery.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PaymentRecovery.js +149 -0
- package/dist/mjs/types/Enum/PaymentRecovery.js.map +1 -1
- package/dist/mjs/types/Enum/QualificationLead.d.ts +13 -0
- package/dist/mjs/types/Enum/QualificationLead.d.ts.map +1 -0
- package/dist/mjs/types/Enum/QualificationLead.js +36 -0
- package/dist/mjs/types/Enum/QualificationLead.js.map +1 -0
- package/dist/mjs/types/Enum/ReasonCancelSignatureRequest.d.ts +6 -0
- package/dist/mjs/types/Enum/ReasonCancelSignatureRequest.d.ts.map +1 -0
- package/dist/mjs/types/Enum/ReasonCancelSignatureRequest.js +8 -0
- package/dist/mjs/types/Enum/ReasonCancelSignatureRequest.js.map +1 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +8 -5
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +27 -18
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/Read.d.ts +21 -0
- package/dist/mjs/types/Interface/api/brevo/Read.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/brevo/Read.js +2 -0
- package/dist/mjs/types/Interface/api/brevo/Read.js.map +1 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +14 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +73 -8
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Query.d.ts +5 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Query.js +26 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Read.d.ts +7 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Read.js.map +1 -1
- package/dist/mjs/types/Interface/api/customerSignature/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/customerSignature/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/customerSignature/Query.js +5 -0
- package/dist/mjs/types/Interface/api/customerSignature/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +7 -0
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +31 -2
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts +2 -0
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js +14 -0
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +1 -0
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +9 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISaleDocumentTemplate.d.ts +16 -0
- package/dist/mjs/types/Interface/models/ISaleDocumentTemplate.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/ISaleDocumentTemplate.js +2 -0
- package/dist/mjs/types/Interface/models/ISaleDocumentTemplate.js.map +1 -0
- package/dist/mjs/types/Interface/models/ITerminationList.d.ts +1 -0
- package/dist/mjs/types/Interface/models/ITerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ITerminationList.js.map +1 -1
- package/dist/mjs/types/index.d.ts +4 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +4 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js +2 -2
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/saleEmail.js +1 -1
- package/dist/mjs/utils/commercialManagement/saleEmail.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/templates/body.js +1 -1
- package/dist/mjs/utils/commercialManagement/templates/body.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/templates/common.js +1 -1
- package/dist/mjs/utils/commercialManagement/templates/common.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Brevo.ts +5 -5
- package/ts/api/resources/CalendarEvent.ts +2 -2
- package/ts/api/resources/CommercialConditionOfSale.ts +20 -0
- package/ts/api/resources/CommercialDocumentTemplate.ts +20 -0
- package/ts/api/resources/CommercialEmail.ts +20 -0
- package/ts/api/resources/Dashboard.ts +6 -0
- package/ts/api/resources/PaymentExpectation.ts +13 -1
- package/ts/api/resources.ts +6 -0
- package/ts/types/Enum/PaymentRecovery.ts +150 -0
- package/ts/types/Enum/QualificationLead.ts +35 -0
- package/ts/types/Enum/ReasonCancelSignatureRequest.ts +5 -0
- package/ts/types/Interface/api/brevo/BrevoElement.ts +19 -11
- package/ts/types/Interface/api/brevo/Read.ts +22 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +52 -5
- package/ts/types/Interface/api/commercialManagement/Query.ts +21 -0
- package/ts/types/Interface/api/commercialManagement/Read.ts +10 -1
- package/ts/types/Interface/api/customerSignature/Query.ts +5 -0
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +23 -2
- package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +10 -0
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +7 -1
- package/ts/types/Interface/models/IPaymentExpectation.ts +2 -0
- package/ts/types/Interface/models/ISaleDocumentTemplate.ts +18 -0
- package/ts/types/Interface/models/ITerminationList.ts +1 -0
- package/ts/types/index.ts +4 -0
- package/ts/utils/commercialManagement/internationalization/choices.ts +2 -2
- package/ts/utils/commercialManagement/saleEmail.ts +2 -2
- package/ts/utils/commercialManagement/templates/body.ts +1 -1
- package/ts/utils/commercialManagement/templates/common.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.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,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACQ;AAMjB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;+DACU","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsInt, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, EmailType, FontIds, InvoiceLanguage, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSignatureFile?: number | null;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiPropertyOptional({ description: 'Remise globale' })\n generalDiscount2: number | null;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage; \n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage; \n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string,\n dueDate: Date | null,\n idEstimateInvoiceType: EstimateInvoiceType,\n totalTaxExcluded: number,\n totalTaxIncluded: number,\n file?: IFile\n language: InvoiceLanguage\n },\n logoUrl: string | null,\n companyName: string,\n fileUrl: string | null,\n hostS3: string,\n hasVat: boolean\n};\n\nexport class CreateSaleEmail {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsEnum(EmailType)\n type: number; \n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n \n @ApiProperty()\n @IsInt()\n idSociety: number;\n}\n\nexport class UpdateSaleEmail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number; \n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateGeneralConditionOfSale {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateGeneralConditionOfSale {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}"]}
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AAEzB,6CAAqE;AACrE,sFAA2E;AAC3E,6EAA8H;AAC9H,mEAAoE;AACpE,iEAA8D;AAO9D,MAAa,uBAAuB;CA0RnC;AA1RD,0DA0RC;AAnRG;IAND,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,EAAE;QACN,OAAO,EAAE,4BAA4B;KACtC,CAAC;;wDACwB;AAKxB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACe;AAKxB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACW;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEAC4B;AAKrC;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACY;AAKrB;IAHD,IA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AAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACK;AAKd;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACgD;AAKzD;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;yEACK;AAMjC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACQ","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsIn, IsInt, IsNumber, IsObject, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, EmailType, FontIds, InvoiceLanguage, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSignatureFile?: number | null;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiPropertyOptional({ description: 'Remise globale' })\n generalDiscount2: number | null;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage; \n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage; \n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string,\n dueDate: Date | null,\n idEstimateInvoiceType: EstimateInvoiceType,\n totalTaxExcluded: number,\n totalTaxIncluded: number,\n file?: IFile\n language: InvoiceLanguage\n },\n logoUrl: string | null,\n companyName: string,\n fileUrl: string | null,\n hostS3: string,\n hasVat: boolean\n};\n\nexport class CreateSaleEmail {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsEnum(EmailType)\n type: number; \n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class UpdateSaleEmail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number; \n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateGeneralConditionOfSale {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateGeneralConditionOfSale {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateSaleDocumentTemplate {\n @ApiProperty()\n @IsIn(Object.values(InvoiceLanguage))\n language: InvoiceLanguage;\n\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsObject()\n template: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiProperty()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateSaleDocumentTemplate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(Object.values(InvoiceLanguage))\n language?: InvoiceLanguage;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n template?: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}"]}
|
|
@@ -60,4 +60,9 @@ export declare class QueryExportCommercialManagementIntoCSV {
|
|
|
60
60
|
idSociety: number;
|
|
61
61
|
types: EstimateInvoiceType[];
|
|
62
62
|
}
|
|
63
|
+
export declare class QueryRecentActivity {
|
|
64
|
+
page?: number;
|
|
65
|
+
limit?: number;
|
|
66
|
+
search?: string;
|
|
67
|
+
}
|
|
63
68
|
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,qBAAa,YAAY;IAIrB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,aAAa,CAAC;IAKvB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE;QACL,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,CAAC,EAAE,aAAa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CAAC;IAMd,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.QueryExportCommercialManagementIntoCSV = exports.QueryCountByStatus = exports.QueryDocumentPaginated = exports.QueryPreviewDocument = exports.QueryNextReference = exports.QueryGetDefaultPayload = exports.QueryInvoice = void 0;
|
|
12
|
+
exports.QueryRecentActivity = exports.QueryExportCommercialManagementIntoCSV = exports.QueryCountByStatus = exports.QueryDocumentPaginated = exports.QueryPreviewDocument = exports.QueryNextReference = exports.QueryGetDefaultPayload = exports.QueryInvoice = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
@@ -201,4 +201,27 @@ __decorate([
|
|
|
201
201
|
(0, class_validator_1.IsArray)(),
|
|
202
202
|
__metadata("design:type", Array)
|
|
203
203
|
], QueryExportCommercialManagementIntoCSV.prototype, "types", void 0);
|
|
204
|
+
class QueryRecentActivity {
|
|
205
|
+
}
|
|
206
|
+
exports.QueryRecentActivity = QueryRecentActivity;
|
|
207
|
+
__decorate([
|
|
208
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
209
|
+
(0, class_validator_1.IsOptional)(),
|
|
210
|
+
(0, class_validator_1.IsInt)(),
|
|
211
|
+
(0, class_validator_1.Min)(1),
|
|
212
|
+
__metadata("design:type", Number)
|
|
213
|
+
], QueryRecentActivity.prototype, "page", void 0);
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
216
|
+
(0, class_validator_1.IsOptional)(),
|
|
217
|
+
(0, class_validator_1.IsInt)(),
|
|
218
|
+
(0, class_validator_1.Min)(1),
|
|
219
|
+
__metadata("design:type", Number)
|
|
220
|
+
], QueryRecentActivity.prototype, "limit", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
223
|
+
(0, class_validator_1.IsOptional)(),
|
|
224
|
+
(0, class_validator_1.IsString)(),
|
|
225
|
+
__metadata("design:type", String)
|
|
226
|
+
], QueryRecentActivity.prototype, "search", void 0);
|
|
204
227
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAGyB;AAEzB,6CAAqE;AACrE,sFAA2E;AAC3E,6EAAiG;AACjG,mEAAoE;AAGpE,MAAa,YAAY;CAqCxB;AArCD,oCAqCC;AAjCG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;6CACI;AAKjB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;6CACI;AAKjB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACO;AAKhB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACc;AAKvB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACQ;AAMjB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GA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;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;kDACU;AAMf;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACO","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsInt, IsNumber, IsOptional, IsString,\n Min,\n} from 'class-validator';\nimport { Order } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { DiscountType, EstimateStatus, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { QueryPaginate } from '../BasePaginate';\n\nexport class QueryInvoice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n toAnnotate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDescending?: boolean;\n}\n\nexport interface ParamPaginatedInvoices {\n idSociety: number;\n date?: {\n gte?: string;\n lte?: string;\n };\n status?: InvoiceStatus;\n search?: string;\n pagination: QueryPaginate;\n toAnnotate?: boolean;\n order?: Order;\n}\n\nexport class QueryGetDefaultPayload {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryNextReference {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport interface Discount {\n type: DiscountType,\n amount: number\n}\n\nexport class QueryPreviewDocument {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryDocumentPaginated {\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: EstimateStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idThirdParty?: number;\n}\n\nexport class QueryCountByStatus {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport class QueryExportCommercialManagementIntoCSV {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n}\n\nexport class QueryRecentActivity {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n limit?: number;\n\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n}"]}
|
|
@@ -99,5 +99,12 @@ export type ReadCommercialMailTemplate = {
|
|
|
99
99
|
export type ReadSaleEmail = ISaleEmail & {
|
|
100
100
|
defaultFromApplication: boolean;
|
|
101
101
|
};
|
|
102
|
+
export type ReadRecentActivity = {
|
|
103
|
+
id: number;
|
|
104
|
+
type: 'estimate' | 'product' | 'tier';
|
|
105
|
+
label: string;
|
|
106
|
+
updatedAt: string;
|
|
107
|
+
item?: IEstimateInvoice | IProductInvoice | IThirdParty;
|
|
108
|
+
};
|
|
102
109
|
export {};
|
|
103
110
|
//# sourceMappingURL=Read.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,kCAAkC,EAAE,MAAM,kDAAkD,CAAC;AACtG,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kEAAkE,CAAC;AAC/G,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAAC;AAE7E,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GAAG;IAAE,EAAE,EAAE,MAAM,C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,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;CAAE,CAAC;AAEzD,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,OAAO,EAAE,cAAc,CAAC;QAAC,MAAM,EAAE,cAAc,CAAC;KAAE,CAAA;IACpF,QAAQ,EAAE;QAAE,QAAQ,EAAE,cAAc,CAAC;QAAC,OAAO,EAAE,cAAc,CAAC;QAAC,OAAO,EAAE,cAAc,CAAC;KAAE,CAAA;CAC1F,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG;IACvC,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,gBAAgB,GAAG,eAAe,GAAG,WAAW,CAAC;CACzD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"","sourcesContent":["import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { IAccountingFile } from '../../models/IAccountingFile';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction';\nimport { CommercialDocumentInputs } from './Create';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice';\nimport { EstimateStatus, FontIds, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { IThirdParty } from '../../models/IThirdParty';\nimport { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type';\nimport { ISaleEmail } from '../../models/ISaleEmail';\n\nexport type ReadCashBasedInvoice = Partial<IAccountingFile>;\n\nexport type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;\n\nexport type ReadEstimateInvoice = IEstimateInvoice & { id: number };\n\nexport type ReadProductEditing = IProductInvoice & {\n totalTaxExcluded: number;\n unitFormatted: string;\n vatFormatted: string;\n discountFormatted: string | null;\n discountTypeFormatted: string | null;\n priceTaxExcludedFormatted: string | null;\n totalTaxExcludedFormatted: string | null;\n marginVatFormatted: string | null;\n};\n\nexport type ReadThirdPartyEditing = IThirdParty & {\n deliveryCountry: string | null;\n country: string | null;\n};\n\nexport type ReadVatEditing = {\n id: number;\n name: string;\n amount: number;\n value: number;\n baseFormatted: string;\n amountFormatted: string;\n toPay: number;\n base: number;\n};\n\nexport type ReadPreview = { idFile: number; };\n\nexport type ReadDocumentEditing = CommercialDocumentInputs & {\n title?: string | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n phoneContact: string | null;\n dueDateFormatted: string | null;\n expirationDateFormatted: string | null;\n capitalFormatted: string | null;\n depositFormatted: string | null;\n emissionDateFormatted: string | null;\n products: ReadProductEditing[];\n vats: ReadVatEditing[];\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n totalTaxAndDiscountIncluded: number;\n generalDiscountFormatted: string | null;\n totalTaxExcludedFormatted: string;\n totalTaxIncludedFormatted: string;\n totalTaxAndDiscountIncludedFormatted: string;\n totalVatAmountFormatted: string;\n font: {\n id: FontIds;\n name: string;\n url: string;\n },\n shouldDisplayDiscountColumn: boolean;\n paymentLink?: string;\n marginVats: string[];\n accountingCategoryFormatted: string | null;\n languageTemplate: InternationalizationChoices\n};\n\nexport type ReadCommercialDocumentTemplate = {\n header: string;\n body: string;\n footer: string;\n data: ReadDocumentEditing;\n};\n\nexport type ReadEstimateInvoiceStatus =\nInvoiceStatus.PAID |\nInvoiceStatus.UNPAID |\nInvoiceStatus.CANCELED |\nInvoiceStatus.WAITING |\nEstimateStatus.REFUSED |\nEstimateStatus.BILLED |\nEstimateStatus.ACCEPTED |\nEstimateStatus.WAITING |\nEstimateStatus.EXPIRED;\n\ntype CountAndNumber = { count: number; amount: number; };\n\nexport type ReadCountDocumentByStatus = {\n invoices: { paid: CountAndNumber; waiting: CountAndNumber; unpaid: CountAndNumber; }\n preSales: { accepted: CountAndNumber; waiting: CountAndNumber; refused: CountAndNumber; }\n};\n\nexport type ReadCommercialMailTemplate = {\n header: string;\n};\n\nexport type ReadSaleEmail = ISaleEmail & {\n defaultFromApplication: boolean;\n}
|
|
1
|
+
{"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"","sourcesContent":["import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { IAccountingFile } from '../../models/IAccountingFile';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction';\nimport { CommercialDocumentInputs } from './Create';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice';\nimport { EstimateStatus, FontIds, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { IThirdParty } from '../../models/IThirdParty';\nimport { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type';\nimport { ISaleEmail } from '../../models/ISaleEmail';\n\nexport type ReadCashBasedInvoice = Partial<IAccountingFile>;\n\nexport type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;\n\nexport type ReadEstimateInvoice = IEstimateInvoice & { id: number };\n\nexport type ReadProductEditing = IProductInvoice & {\n totalTaxExcluded: number;\n unitFormatted: string;\n vatFormatted: string;\n discountFormatted: string | null;\n discountTypeFormatted: string | null;\n priceTaxExcludedFormatted: string | null;\n totalTaxExcludedFormatted: string | null;\n marginVatFormatted: string | null;\n};\n\nexport type ReadThirdPartyEditing = IThirdParty & {\n deliveryCountry: string | null;\n country: string | null;\n};\n\nexport type ReadVatEditing = {\n id: number;\n name: string;\n amount: number;\n value: number;\n baseFormatted: string;\n amountFormatted: string;\n toPay: number;\n base: number;\n};\n\nexport type ReadPreview = { idFile: number; };\n\nexport type ReadDocumentEditing = CommercialDocumentInputs & {\n title?: string | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n phoneContact: string | null;\n dueDateFormatted: string | null;\n expirationDateFormatted: string | null;\n capitalFormatted: string | null;\n depositFormatted: string | null;\n emissionDateFormatted: string | null;\n products: ReadProductEditing[];\n vats: ReadVatEditing[];\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n totalTaxAndDiscountIncluded: number;\n generalDiscountFormatted: string | null;\n totalTaxExcludedFormatted: string;\n totalTaxIncludedFormatted: string;\n totalTaxAndDiscountIncludedFormatted: string;\n totalVatAmountFormatted: string;\n font: {\n id: FontIds;\n name: string;\n url: string;\n },\n shouldDisplayDiscountColumn: boolean;\n paymentLink?: string;\n marginVats: string[];\n accountingCategoryFormatted: string | null;\n languageTemplate: InternationalizationChoices\n};\n\nexport type ReadCommercialDocumentTemplate = {\n header: string;\n body: string;\n footer: string;\n data: ReadDocumentEditing;\n};\n\nexport type ReadEstimateInvoiceStatus =\nInvoiceStatus.PAID |\nInvoiceStatus.UNPAID |\nInvoiceStatus.CANCELED |\nInvoiceStatus.WAITING |\nEstimateStatus.REFUSED |\nEstimateStatus.BILLED |\nEstimateStatus.ACCEPTED |\nEstimateStatus.WAITING |\nEstimateStatus.EXPIRED;\n\ntype CountAndNumber = { count: number; amount: number; };\n\nexport type ReadCountDocumentByStatus = {\n invoices: { paid: CountAndNumber; waiting: CountAndNumber; unpaid: CountAndNumber; }\n preSales: { accepted: CountAndNumber; waiting: CountAndNumber; refused: CountAndNumber; }\n};\n\nexport type ReadCommercialMailTemplate = {\n header: string;\n};\n\nexport type ReadSaleEmail = ISaleEmail & {\n defaultFromApplication: boolean;\n};\n\nexport type ReadRecentActivity = {\n id: number;\n type: 'estimate' | 'product' | 'tier';\n label: string;\n updatedAt: string;\n // i don't know if needed, it is in the type but not return from service for now\n item?: IEstimateInvoice | IProductInvoice | IThirdParty;\n}"]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { WhereOptions } from 'sequelize';
|
|
2
|
+
import { ICustomerSignature } from '../../models/ICustomerSignature';
|
|
1
3
|
export declare class QueryCustomerSignature {
|
|
2
4
|
id?: number;
|
|
3
5
|
idDemand?: number;
|
|
@@ -16,5 +18,6 @@ export declare class QueryCustomerSignature {
|
|
|
16
18
|
idGedFile?: number;
|
|
17
19
|
dateSendPlaqToClient?: string;
|
|
18
20
|
includes?: string[];
|
|
21
|
+
where?: WhereOptions<ICustomerSignature>;
|
|
19
22
|
}
|
|
20
23
|
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/customerSignature/Query.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/customerSignature/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,qBAAa,sBAAsB;IAI/B,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAK9B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAGpB,KAAK,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;CAC5C"}
|
|
@@ -117,4 +117,8 @@ __decorate([
|
|
|
117
117
|
(0, class_validator_1.IsString)({ each: true }),
|
|
118
118
|
__metadata("design:type", Array)
|
|
119
119
|
], QueryCustomerSignature.prototype, "includes", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
122
|
+
__metadata("design:type", Object)
|
|
123
|
+
], QueryCustomerSignature.prototype, "where", void 0);
|
|
120
124
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/customerSignature/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAwD;
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/customerSignature/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAwD;AAIxD,MAAa,sBAAsB;CAwFlC;AAxFD,wDAwFC;AApFG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;kDACM;AAKZ;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACY;AAKlB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACoB;AAK1B;IAHD,IAAA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AAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACH;AAGpB;IADD,IAAA,2BAAmB,GAAE;;qDACqB","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { WhereOptions } from 'sequelize';\nimport { ICustomerSignature } from '../../models/ICustomerSignature';\n\nexport class QueryCustomerSignature {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idDemand?: number;\n \n @ApiPropertyOptional()\n @IsOptional() \n @IsInt()\n idFileFilesInfos?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fileNameFilesInfos?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n sha1FilesInfos?: string; \n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n memberId?: number; \n \n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tokenSigner?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailSigner?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneSigner?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSendMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idStatusSignature?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborater?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idGedFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n dateSendPlaqToClient?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n includes?: string[];\n\n @ApiPropertyOptional()\n where?: WhereOptions<ICustomerSignature>;\n}"]}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
1
2
|
export declare class QueryGetPaymentExpectation {
|
|
2
3
|
idPrestation: number;
|
|
3
4
|
}
|
|
5
|
+
export declare class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
|
|
6
|
+
search?: string;
|
|
7
|
+
searchAmount?: string;
|
|
8
|
+
startDate: Date;
|
|
9
|
+
endDate: Date;
|
|
10
|
+
}
|
|
4
11
|
//# sourceMappingURL=QueryPaymentExpectation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,0BAA0B;IAGnC,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,mCAAoC,SAAQ,qBAAqB;IAI1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -9,9 +9,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.QueryGetPaymentExpectation = void 0;
|
|
12
|
+
exports.QueryGetPaymentExpectationPaginated = exports.QueryGetPaymentExpectation = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
|
+
const BasePaginate_1 = require("../BasePaginate");
|
|
15
16
|
class QueryGetPaymentExpectation {
|
|
16
17
|
}
|
|
17
18
|
exports.QueryGetPaymentExpectation = QueryGetPaymentExpectation;
|
|
@@ -20,4 +21,29 @@ __decorate([
|
|
|
20
21
|
(0, class_validator_1.IsInt)(),
|
|
21
22
|
__metadata("design:type", Number)
|
|
22
23
|
], QueryGetPaymentExpectation.prototype, "idPrestation", void 0);
|
|
24
|
+
class QueryGetPaymentExpectationPaginated extends BasePaginate_1.RequiredQueryPaginate {
|
|
25
|
+
}
|
|
26
|
+
exports.QueryGetPaymentExpectationPaginated = QueryGetPaymentExpectationPaginated;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], QueryGetPaymentExpectationPaginated.prototype, "search", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], QueryGetPaymentExpectationPaginated.prototype, "searchAmount", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, utils_1.ApiProperty)(),
|
|
41
|
+
(0, class_validator_1.IsDate)(),
|
|
42
|
+
__metadata("design:type", Date)
|
|
43
|
+
], QueryGetPaymentExpectationPaginated.prototype, "startDate", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, utils_1.ApiProperty)(),
|
|
46
|
+
(0, class_validator_1.IsDate)(),
|
|
47
|
+
__metadata("design:type", Date)
|
|
48
|
+
], QueryGetPaymentExpectationPaginated.prototype, "endDate", void 0);
|
|
23
49
|
//# sourceMappingURL=QueryPaymentExpectation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAqE;AACrE,kDAAwD;AAExD,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AADG;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;gEACe;AAGzB,MAAa,mCAAoC,SAAQ,oCAAqB;CAkB7E;AAlBD,kFAkBC;AAdG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACK;AAKhB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yEACW;AAItB;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACI,IAAI;sEAAC;AAIhB;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACE,IAAI;oEAAC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryGetPaymentExpectation {\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n}\n\nexport class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n searchAmount?: string;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":"AAQA,qBAAa,qBAAqB;IAI9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAKjC,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAMxB,4BAA4B,CAAC,EAAE,IAAI,CAAC;IAIpC,aAAa,EAAE,IAAI,CAAC;IAKpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,eAAe,CAAC,EAAE,IAAI,CAAC;IAMvB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAI/B,SAAS,EAAE,MAAM,CAAC;IAIlB,YAAY,EAAE,MAAM,EAAE,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,qBAAqB;IAI9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAKjC,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,IAAI,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,eAAe,CAAC,EAAE,IAAI,CAAC;IAMvB,MAAM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AC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,qBAAqB;IAI9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAKjC,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,IAAI,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,eAAe,CAAC,EAAE,IAAI,CAAC;IAMvB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAKnC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAKzB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAK/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -199,6 +199,18 @@ __decorate([
|
|
|
199
199
|
(0, class_validator_1.IsInt)(),
|
|
200
200
|
__metadata("design:type", Number)
|
|
201
201
|
], UpdateTerminationList.prototype, "idRefund", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
204
|
+
(0, class_validator_1.IsOptional)(),
|
|
205
|
+
(0, class_validator_1.IsNumber)(),
|
|
206
|
+
__metadata("design:type", Number)
|
|
207
|
+
], UpdateTerminationList.prototype, "commercialGestureAmount", void 0);
|
|
208
|
+
__decorate([
|
|
209
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
210
|
+
(0, class_validator_1.IsOptional)(),
|
|
211
|
+
(0, class_validator_1.IsInt)({ each: true }),
|
|
212
|
+
__metadata("design:type", Array)
|
|
213
|
+
], UpdateTerminationList.prototype, "listIdTypeBrand", void 0);
|
|
202
214
|
__decorate([
|
|
203
215
|
(0, utils_1.ApiPropertyOptional)(),
|
|
204
216
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAIyB;AACzB,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,qBAAqB;CAqGjC;AArGD,sDAqGC;AAjGG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACqB;AAK3B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iEACsB;AAK5B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sEAC2B;AAKjC;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACQ;AAMjB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACY,IAAI;+DAAC;AAMxB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACwB,IAAI;2EAAC;AAIpC;IAFD,IAAA,mBAAW,GAAE;IACb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HD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACY;AAGzB,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"CreateTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAIyB;AACzB,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,qBAAqB;CAqGjC;AArGD,sDAqGC;AAjGG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACqB;AAK3B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iEACsB;AAK5B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sEAC2B;AAKjC;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACQ;AAMjB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACY,IAAI;+DAAC;AAMxB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACwB,IAAI;2EAAC;AAIpC;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACQ,IAAI;4DAAC;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACoB;AAK1B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACW,IAAI;8DAAC;AAMvB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ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B,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACW;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kEACW;AAK/B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACa;AAKnB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2DACgB;AAKtB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8DACmB;AAMzB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8DACgB;AAK1B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACY","sourcesContent":["import {\n IsBoolean,\n IsDate,\n IsInt, IsOptional, IsString, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateTerminationList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationConclusion?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n recalledCustomer?: Date;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n recalledCustomerBySupervisor?: Date;\n\n @ApiProperty()\n @IsDate()\n effectiveDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endContractDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n refund?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n refundAmount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n monthlyPrice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n monthNumber?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n monthOffer?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReasonTermination?: number[];\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt({ each: true })\n idPrestation: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborateur?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needPaymentLink?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n totalAmount?: number;\n}\n\nexport class UpdateTerminationList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationConclusion?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n effectiveDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endContractDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n refund?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n refundAmount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRefund?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n commercialGestureAmount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({each: true})\n listIdTypeBrand?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n monthlyPrice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n monthNumber?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n monthOffer?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReasonTermination?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborateur?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needPaymentLink?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n totalAmount?: number;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryVatDeclaration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,qBAAa,2BAA2B;IAGpC,QAAQ,EAAE,MAAM,CAAC;IAIjB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAG/B,EAAE,EAAE,MAAM,CAAC;IAKX,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,mBAAmB;IAI5B,eAAe,CAAC,EAAE,IAAI,CAAC;IAIvB,WAAW,EAAE,SAAS,CAAC;CAC1B;AAED,qBAAa,aAAa;IAGtB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,IAAI,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryVatDeclaration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,qBAAa,2BAA2B;IAGpC,QAAQ,EAAE,MAAM,CAAC;IAIjB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAG/B,EAAE,EAAE,MAAM,CAAC;IAKX,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,mBAAmB;IAI5B,eAAe,CAAC,EAAE,IAAI,CAAC;IAIvB,WAAW,EAAE,SAAS,CAAC;CAC1B;AAED,qBAAa,aAAa;IAGtB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,IAAI,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC;IAMpC,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB"}
|
|
@@ -79,4 +79,10 @@ __decorate([
|
|
|
79
79
|
(0, class_validator_1.IsOptional)(),
|
|
80
80
|
__metadata("design:type", String)
|
|
81
81
|
], QueryVatEntry.prototype, "type", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, decorators_1.ApiPropertyOptional)(),
|
|
84
|
+
(0, class_validator_1.IsIn)(Object.values(CerfaType_1.CerfaType)),
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
__metadata("design:type", Number)
|
|
87
|
+
], QueryVatEntry.prototype, "idCerfaType", void 0);
|
|
82
88
|
//# sourceMappingURL=QueryVatDeclaration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,uDAAoD;AACpD,6DAAgF;AAEhF,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AALG;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACI;AAIjB;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gEACW;AAGxB,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAXG;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;kDACE;AAKX;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;yDACQ;AAKnB;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;uDACM;AAGrB,MAAa,mBAAmB;CAS/B;AATD,kDASC;AALG;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACO,IAAI;4DAAC;AAIvB;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,qBAAS,CAAC;;wDACO;AAG3B,MAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,uDAAoD;AACpD,6DAAgF;AAEhF,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AALG;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACI;AAIjB;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gEACW;AAGxB,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAXG;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;kDACE;AAKX;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;yDACQ;AAKnB;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;uDACM;AAGrB,MAAa,mBAAmB;CAS/B;AATD,kDASC;AALG;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACO,IAAI;4DAAC;AAIvB;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,qBAAS,CAAC;;wDACO;AAG3B,MAAa,aAAa;CAmBzB;AAnBD,sCAmBC;AAhBG;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;gDACK;AAIlB;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;8CACG;AAKhB;IAHD,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACuB;AAMpC;IAHC,IAAA,gCAAmB,GAAE;IACrB,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,qBAAS,CAAC,CAAC;IAC9B,IAAA,4BAAU,GAAE;;kDACW","sourcesContent":["import {\n IsDate, IsDateString, IsEnum, IsIn, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryPreviousVatDeclaration {\n @ApiProperty()\n @IsDateString()\n fromDate: string;\n\n @ApiProperty()\n @IsNumber()\n idCerfaType: number;\n}\n\nexport class QueryVatMigrationEntry {\n @ApiProperty()\n @IsNumber()\n id: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate?: string;\n}\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: CerfaType;\n}\n\nexport class QueryVatEntry {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsString()\n @IsOptional()\n type?: 'collected' | 'deductible';\n\n // TODO: Passer le paramètre en requis une fois le front mis à jour\n @ApiPropertyOptional()\n @IsIn(Object.values(CerfaType))\n @IsOptional()\n idCerfaType?: CerfaType;\n}"]}
|
|
@@ -13,6 +13,8 @@ export interface IPaymentExpectation {
|
|
|
13
13
|
idSociety: number;
|
|
14
14
|
idRegulation: number | null;
|
|
15
15
|
idPrestation: number | null;
|
|
16
|
+
idUserNotifyPaiementProceed?: number | null;
|
|
17
|
+
idUserTaskPaiementProceed?: number | null;
|
|
16
18
|
createdAt?: Date | null;
|
|
17
19
|
updatedAt?: Date | null;
|
|
18
20
|
society?: ISociety;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentExpectation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGzD,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,aAAa,GAAG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U,CAAC,EAAE,WAAW,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPaymentExpectation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentExpectation.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IRegulation } from './IRegulation';\nimport { PaymentReason } from '../../Enum/PaymentReason';\n\n// paymentsExpectations\nexport interface IPaymentExpectation {\n id?: number;\n label: string;\n amount: number;\n payload: string;\n ref: string;\n archive: boolean;\n idCodeErreur: number | null;\n idReason: PaymentReason | null;\n idSociety: number;\n idRegulation: number | null;\n idPrestation: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n regulation?: IRegulation;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IPaymentExpectation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentExpectation.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IRegulation } from './IRegulation';\nimport { PaymentReason } from '../../Enum/PaymentReason';\n\n// paymentsExpectations\nexport interface IPaymentExpectation {\n id?: number;\n label: string;\n amount: number;\n payload: string;\n ref: string;\n archive: boolean;\n idCodeErreur: number | null;\n idReason: PaymentReason | null;\n idSociety: number;\n idRegulation: number | null;\n idPrestation: number | null;\n idUserNotifyPaiementProceed?: number | null;\n idUserTaskPaiementProceed?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n regulation?: IRegulation;\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CreateInvoiceDocument, CreatePreSaleDocument, InvoiceLanguage } from '../..';
|
|
2
|
+
import { EstimateInvoiceType } from '../../Enum/EstimateInvoice';
|
|
3
|
+
import { ISociety } from './ISociety';
|
|
4
|
+
export interface ISaleDocumentTemplate {
|
|
5
|
+
id?: number;
|
|
6
|
+
name: string;
|
|
7
|
+
language: InvoiceLanguage;
|
|
8
|
+
template: CreateInvoiceDocument | CreatePreSaleDocument;
|
|
9
|
+
idEstimateInvoiceType: EstimateInvoiceType;
|
|
10
|
+
isDefault: boolean;
|
|
11
|
+
idSociety: number;
|
|
12
|
+
createdAt?: Date | null;
|
|
13
|
+
updatedAt?: Date | null;
|
|
14
|
+
society?: ISociety;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=ISaleDocumentTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISaleDocumentTemplate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISaleDocumentTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,qBAAqB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,EAAE,qBAAqB,GAAG,qBAAqB,CAAC;IACxD,qBAAqB,EAAE,mBAAmB,CAAC;IAC3C,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAA;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISaleDocumentTemplate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISaleDocumentTemplate.ts"],"names":[],"mappings":"","sourcesContent":["import { CreateInvoiceDocument, CreatePreSaleDocument, InvoiceLanguage } from '../..';\nimport { EstimateInvoiceType } from '../../Enum/EstimateInvoice';\nimport { ISociety } from './ISociety';\n\nexport interface ISaleDocumentTemplate {\n id?: number;\n name: string;\n language: InvoiceLanguage;\n template: CreateInvoiceDocument | CreatePreSaleDocument;\n idEstimateInvoiceType: EstimateInvoiceType;\n isDefault: boolean;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // association\n society?: ISociety\n}"]}
|
|
@@ -18,6 +18,7 @@ export interface ITerminationList {
|
|
|
18
18
|
monthlyPrice?: number | null;
|
|
19
19
|
monthNumber?: number | null;
|
|
20
20
|
monthOffer?: number | null;
|
|
21
|
+
commercialGestureAmount?: number | null;
|
|
21
22
|
idReasonTermination?: number[] | null;
|
|
22
23
|
idSociety?: number | null;
|
|
23
24
|
idPrestation?: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITerminationList.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACvD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAE/B,4BAA4B,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,IA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