@silexpert/core 1.0.103 → 1.0.106
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/BalanceSheet.d.ts +2 -1
- package/es/api/resources/BalanceSheet.d.ts.map +1 -1
- package/es/api/resources/BalanceSheet.js +3 -0
- package/es/api/resources/BalanceSheet.js.map +1 -1
- package/es/api/resources/Exercice.d.ts +2 -1
- package/es/api/resources/Exercice.d.ts.map +1 -1
- package/es/api/resources/Exercice.js +3 -0
- package/es/api/resources/Exercice.js.map +1 -1
- package/es/api/resources/Library.d.ts +3 -0
- package/es/api/resources/Library.d.ts.map +1 -1
- package/es/api/resources/Library.js +9 -0
- package/es/api/resources/Library.js.map +1 -1
- package/es/api/resources/SignFile.d.ts +6 -0
- package/es/api/resources/SignFile.d.ts.map +1 -0
- package/es/api/resources/SignFile.js +7 -0
- package/es/api/resources/SignFile.js.map +1 -0
- package/es/api/resources/SocietyConfigBalanceSheet.d.ts +10 -0
- package/es/api/resources/SocietyConfigBalanceSheet.d.ts.map +1 -0
- package/es/api/resources/SocietyConfigBalanceSheet.js +19 -0
- package/es/api/resources/SocietyConfigBalanceSheet.js.map +1 -0
- package/es/api/resources.d.ts +4 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +4 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts +118 -1
- package/es/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheet.js +136 -0
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +25 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +5 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +20 -0
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +5 -0
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.d.ts +5 -0
- package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +5 -0
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/DepositDocumentType.d.ts +35 -0
- package/es/types/Enum/DepositDocumentType.d.ts.map +1 -0
- package/es/types/Enum/DepositDocumentType.js +191 -0
- package/es/types/Enum/DepositDocumentType.js.map +1 -0
- package/es/types/Enum/Ged.d.ts +17 -1
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +17 -8
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/RevisionGuide.d.ts +56 -6
- package/es/types/Enum/RevisionGuide.d.ts.map +1 -1
- package/es/types/Enum/RevisionGuide.js +54 -4
- package/es/types/Enum/RevisionGuide.js.map +1 -1
- package/es/types/Enum/RoleDetail.js +1 -1
- package/es/types/Enum/RoleDetail.js.map +1 -1
- package/es/types/Enum/StatusSignature.d.ts +9 -0
- package/es/types/Enum/StatusSignature.d.ts.map +1 -0
- package/es/types/Enum/StatusSignature.js +10 -0
- package/es/types/Enum/StatusSignature.js.map +1 -0
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +8 -0
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +44 -0
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Create.d.ts +18 -0
- package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Create.js +14 -0
- package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/es/types/Interface/api/commercialManagement/Read.d.ts +3 -0
- package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Read.js.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts +16 -0
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -0
- package/es/types/Interface/api/exercice/UpdateExercice.js +101 -0
- package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -0
- package/es/types/Interface/api/facturation/CreateRebilling.d.ts +1 -1
- package/es/types/Interface/api/facturation/CreateRebilling.js +3 -3
- package/es/types/Interface/api/facturation/CreateRebilling.js.map +1 -1
- package/es/types/Interface/api/gedFile/createFileAndGed.d.ts +15 -0
- package/es/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -0
- package/es/types/Interface/api/gedFile/createFileAndGed.js +73 -0
- package/es/types/Interface/api/gedFile/createFileAndGed.js.map +1 -0
- package/es/types/Interface/api/gedFile/updateGedFile.d.ts +1 -0
- package/es/types/Interface/api/gedFile/updateGedFile.d.ts.map +1 -1
- package/es/types/Interface/api/gedFile/updateGedFile.js +4 -0
- package/es/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
- package/es/types/Interface/api/library/QueryLibrary.d.ts +6 -0
- package/es/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/es/types/Interface/api/library/QueryLibrary.js +41 -0
- package/es/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/es/types/Interface/api/signFile/CreateFileToSign.d.ts +12 -0
- package/es/types/Interface/api/signFile/CreateFileToSign.d.ts.map +1 -0
- package/es/types/Interface/api/signFile/CreateFileToSign.js +58 -0
- package/es/types/Interface/api/signFile/CreateFileToSign.js.map +1 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.d.ts +6 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.d.ts.map +1 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js +36 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.d.ts +11 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.d.ts.map +1 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js +58 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js.map +1 -0
- package/es/types/Interface/models/ICustomerSignature.d.ts +5 -2
- package/es/types/Interface/models/ICustomerSignature.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomerSignature.js.map +1 -1
- package/es/types/Interface/models/IExercice.d.ts +1 -1
- package/es/types/Interface/models/IExercice.js.map +1 -1
- package/es/types/Interface/models/IGedFile.d.ts +1 -0
- package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/es/types/Interface/models/IGedFile.js.map +1 -1
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.d.ts +9 -3
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.js.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.d.ts +2 -0
- package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/es/types/index.d.ts +8 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +8 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/amount.d.ts +4 -0
- package/es/utils/amount.d.ts.map +1 -1
- package/es/utils/amount.js +23 -0
- package/es/utils/amount.js.map +1 -1
- package/es/utils/commercialManagement/document.d.ts +4 -3
- package/es/utils/commercialManagement/document.d.ts.map +1 -1
- package/es/utils/commercialManagement/document.js +59 -13
- package/es/utils/commercialManagement/document.js.map +1 -1
- package/es/utils/commercialManagement/templates/common.d.ts +4 -0
- package/es/utils/commercialManagement/templates/common.d.ts.map +1 -1
- package/es/utils/commercialManagement/templates/common.js +123 -2
- package/es/utils/commercialManagement/templates/common.js.map +1 -1
- package/js/api/resources/BalanceSheet.js +4 -0
- package/js/api/resources/BalanceSheet.js.map +1 -1
- package/js/api/resources/Exercice.js +4 -0
- package/js/api/resources/Exercice.js.map +1 -1
- package/js/api/resources/Library.js +18 -0
- package/js/api/resources/Library.js.map +1 -1
- package/js/api/resources/SignFile.js +22 -0
- package/js/api/resources/SignFile.js.map +1 -0
- package/js/api/resources/SocietyConfigBalanceSheet.js +36 -0
- package/js/api/resources/SocietyConfigBalanceSheet.js.map +1 -0
- package/js/api/resources.js +6 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +118 -1
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +6 -1
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +6 -1
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +6 -1
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/DepositDocumentType.js +166 -0
- package/js/types/Enum/DepositDocumentType.js.map +1 -0
- package/js/types/Enum/Ged.js +23 -11
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/RevisionGuide.js +55 -4
- package/js/types/Enum/RevisionGuide.js.map +1 -1
- package/js/types/Enum/RoleDetail.js +1 -1
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Enum/StatusSignature.js +16 -0
- package/js/types/Enum/StatusSignature.js.map +1 -0
- package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +37 -0
- package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -0
- package/js/types/Interface/api/commercialManagement/Create.js +4 -0
- package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/js/types/Interface/api/exercice/UpdateExercice.js +55 -0
- package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -0
- package/js/types/Interface/api/facturation/CreateRebilling.js +1 -1
- package/js/types/Interface/api/facturation/CreateRebilling.js.map +1 -1
- package/js/types/Interface/api/gedFile/createFileAndGed.js +49 -0
- package/js/types/Interface/api/gedFile/createFileAndGed.js.map +1 -0
- package/js/types/Interface/api/gedFile/updateGedFile.js +2 -0
- package/js/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
- package/js/types/Interface/api/library/QueryLibrary.js +26 -1
- package/js/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/js/types/Interface/api/signFile/CreateFileToSign.js +43 -0
- package/js/types/Interface/api/signFile/CreateFileToSign.js.map +1 -0
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js +39 -0
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -0
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js +43 -0
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js.map +1 -0
- package/js/types/index.js +96 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/amount.js +31 -0
- package/js/utils/amount.js.map +1 -1
- package/js/utils/commercialManagement/document.js +52 -4
- package/js/utils/commercialManagement/document.js.map +1 -1
- package/js/utils/commercialManagement/templates/common.js +127 -2
- package/js/utils/commercialManagement/templates/common.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheet.ts +5 -1
- package/ts/api/resources/Exercice.ts +5 -1
- package/ts/api/resources/Library.ts +12 -0
- package/ts/api/resources/SignFile.ts +8 -0
- package/ts/api/resources/SocietyConfigBalanceSheet.ts +27 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/BalanceSheet.ts +137 -0
- package/ts/types/Enum/BrandClementine.ts +5 -0
- package/ts/types/Enum/BrandComptalib.ts +5 -0
- package/ts/types/Enum/BrandPourcentage.ts +5 -0
- package/ts/types/Enum/DepositDocumentType.ts +194 -0
- package/ts/types/Enum/Ged.ts +17 -8
- package/ts/types/Enum/RevisionGuide.ts +56 -5
- package/ts/types/Enum/RoleDetail.ts +1 -1
- package/ts/types/Enum/StatusSignature.ts +8 -0
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +31 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +30 -1
- package/ts/types/Interface/api/commercialManagement/Read.ts +4 -0
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +80 -0
- package/ts/types/Interface/api/facturation/CreateRebilling.ts +3 -3
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +55 -0
- package/ts/types/Interface/api/gedFile/updateGedFile.ts +3 -0
- package/ts/types/Interface/api/library/QueryLibrary.ts +34 -0
- package/ts/types/Interface/api/signFile/CreateFileToSign.ts +41 -0
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.ts +25 -0
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.ts +42 -0
- package/ts/types/Interface/models/ICustomerSignature.ts +5 -2
- package/ts/types/Interface/models/IExercice.ts +1 -1
- package/ts/types/Interface/models/IGedFile.ts +1 -0
- package/ts/types/Interface/models/ISocietyConfigBalanceSheet.ts +9 -3
- package/ts/types/Interface/models/ISocietyGescom.ts +2 -0
- package/ts/types/index.ts +8 -0
- package/ts/utils/amount.ts +37 -0
- package/ts/utils/commercialManagement/document.ts +135 -27
- package/ts/utils/commercialManagement/templates/common.ts +126 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAOM,MAAOA,uBAAP,CAA8B;;QAAvBA,uB,GAAAA,uB;;AAOXC,YANC,iCAMD,EALC,iCAKD,EAJC,+BAID,EAHC,yBAAI,CAAJ,EAAO;EACNC,OAAO,EAAE;AADH,CAAP,CAGD;;AAKAD,YAHC,iCAGD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AED,EADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAGI,MAAOW,gBAAP,CAAuB;;QAAhBA,gB,GAAAA,gB;;AAGXX,YAFC,yBAED,EADC,4BAAOY,8BAAP,CACD;;AAIAZ,YAFC,yBAED,EADC,mCACD;;AAIAA,YAFC,yBAED,EADC,mCACD;;AAKAA,YAHC,yBAGD,EAFC,yBAED,EADC,gCACD;;AAGI,MAAOa,wBAAP,CAA+B;;QAAxBA,wB,GAAAA,wB;;AAGXb,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD","names":["CreateCommercialSetting","__decorate","message","CreateCommercialMail","CreateCommercialMailWithMultipleFiles","CommercialDocumentInputs","description","Array","CreatePreSaleDocument","CreateInvoiceDocument","CreateCgv","CreateReminder","CreateRecurrence","RecurrenceType","CreateRegenerateDocument"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, FontIds, 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\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\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\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}\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}"]}
|
|
1
|
+
{"version":3,"file":"Create.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAOM,MAAOA,uBAAP,CAA8B;;QAAvBA,uB,GAAAA,uB;;AAOXC,YANC,iCAMD,EALC,iCAKD,EAJC,+BAID,EAHC,yBAAI,CAAJ,EAAO;EACNC,OAAO,EAAE;AADH,CAAP,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,E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yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAGI,MAAOO,qBAAP,SAAqCH,wBAArC,CAA6D;;QAAtDG,qB,GAAAA,qB;;AAMP,MAAOC,qBAAP,SAAqCJ,wBAArC,CAA6D;;QAAtDI,qB,GAAAA,qB;;AAQP,MAAOC,SAAP,CAAgB;;QAATA,S,GAAAA,S;;AAEXT,YADC,yBACD;;AAGI,MAAOU,cAAP,CAAqB;;QAAdA,c,GAAAA,c;;AAIXV,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAGI,MAAOW,gBAAP,CAAuB;;QAAhBA,gB,GAAAA,gB;;AAGXX,YAFC,yBAED,EADC,4BAAOY,8BAAP,CACD;;AAIAZ,YAFC,yBAED,EADC,mCACD;;AAIAA,YAFC,yBAED,EADC,mCACD;;AAKAA,YAHC,yBAGD,EAFC,yBAED,EADC,gCACD;;AAGI,MAAOa,wBAAP,CAA+B;;QAAxBA,wB,GAAAA,wB;;AAGXb,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD","names":["CreateCommercialSetting","__decorate","message","CreateCommercialMail","CreateCommercialMailWithMultipleFiles","CommercialDocumentInputs","description","Array","CreatePreSaleDocument","CreateInvoiceDocument","CreateCgv","CreateReminder","CreateRecurrence","RecurrenceType","CreateRegenerateDocument"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { IFile } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, FontIds, 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\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\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\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}\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 },\n logoUrl: string | null,\n companyName: string,\n fileUrl: string | null,\n hostS3: string,\n hasVat: boolean\n};"]}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.UpdateExercice = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _decorators = require("../../../../utils/decorators");
|
|
11
|
+
|
|
12
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
13
|
+
|
|
14
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length,
|
|
16
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
17
|
+
d;
|
|
18
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
23
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
class UpdateExercice {}
|
|
27
|
+
|
|
28
|
+
exports.UpdateExercice = UpdateExercice;
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], UpdateExercice.prototype, "startDate", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], UpdateExercice.prototype, "endDate", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateExercice.prototype, "isBack", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateExercice.prototype, "allAnnote", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateExercice.prototype, "current", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateExercice.prototype, "withApproval", void 0);
|
|
41
|
+
|
|
42
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateExercice.prototype, "reviewGuide", void 0);
|
|
43
|
+
|
|
44
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateExercice.prototype, "summaryNote", void 0);
|
|
45
|
+
|
|
46
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateExercice.prototype, "receiptJeDeclare", void 0);
|
|
47
|
+
|
|
48
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateExercice.prototype, "annualFolderEdition", void 0);
|
|
49
|
+
|
|
50
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateExercice.prototype, "idSociety", void 0);
|
|
51
|
+
|
|
52
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateExercice.prototype, "turnoverMax", void 0);
|
|
53
|
+
|
|
54
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateExercice.prototype, "benefit", void 0);
|
|
55
|
+
//# sourceMappingURL=UpdateExercice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateExercice.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,cAAP,CAAqB;;QAAdA,c,GAAAA,c;;AAIXC,YAHC,sCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,sCAGD,EAFC,mCAED,EADC,iCACD;;AAMAA,YAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAA,YAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAA,YAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAA,YAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAA,YAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAA,YAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAA,YAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAA,YAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,sCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,sCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,sCAGD,EAFC,+BAED,EADC,iCACD","names":["UpdateExercice","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/exercice/UpdateExercice.ts"],"sourcesContent":["import {\n IsBoolean, IsDateString, IsNumber, IsOptional,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateExercice {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isBack?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n allAnnote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n current?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withApproval?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n reviewGuide?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n summaryNote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n receiptJeDeclare?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n annualFolderEdition?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n turnoverMax?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n benefit?: number;\n}"]}
|
|
@@ -31,7 +31,7 @@ __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0,
|
|
|
31
31
|
|
|
32
32
|
__decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", String)], CreateRebilling.prototype, "hasToBeAccruals", void 0);
|
|
33
33
|
|
|
34
|
-
__decorate([(0, _.ApiProperty)(), (0, _classValidator.
|
|
34
|
+
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateRebilling.prototype, "turnoverMax", void 0);
|
|
35
35
|
|
|
36
36
|
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], CreateRebilling.prototype, "idExercice", void 0);
|
|
37
37
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateRebilling.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,eAAP,CAAsB;;QAAfA,e,GAAAA,e;;AAIXC,YAHC,4BAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,4BAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAIAA,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,oBAED,EADC,4BACD;;AAIAA,YAFC,oBAED,EADC,4BACD;;AAIAA,YAFC,oBAED,EADC,4BACD;;AAIAA,YAFC,oBAED,EADC,4BACD;;AAIAA,YAFC,oBAED,EADC,4BACD","names":["CreateRebilling","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/facturation/CreateRebilling.ts"],"sourcesContent":["import {\n IsBoolean, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateRebilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n hasToBeAccruals?: string;\n\n @ApiProperty()\n @
|
|
1
|
+
{"version":3,"file":"CreateRebilling.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,eAAP,CAAsB;;QAAfA,e,GAAAA,e;;AAIXC,YAHC,4BAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,4BAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAIAA,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,oBAED,EADC,4BACD;;AAIAA,YAFC,oBAED,EADC,4BACD;;AAIAA,YAFC,oBAED,EADC,4BACD;;AAIAA,YAFC,oBAED,EADC,4BACD;;AAIAA,YAFC,oBAED,EADC,4BACD","names":["CreateRebilling","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/facturation/CreateRebilling.ts"],"sourcesContent":["import {\n IsBoolean, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateRebilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n hasToBeAccruals?: string;\n\n @ApiProperty()\n @IsNumber()\n turnoverMax: number;\n\n @ApiProperty()\n @IsInt()\n idExercice: number;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n\n @ApiProperty()\n @IsInt()\n numberOfMonths: number;\n\n @ApiProperty()\n @IsInt()\n totalAmount: number;\n}"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateFileAndGed = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class CreateFileAndGed {}
|
|
25
|
+
|
|
26
|
+
exports.CreateFileAndGed = CreateFileAndGed;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], CreateFileAndGed.prototype, "file", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateFileAndGed.prototype, "filename", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], CreateFileAndGed.prototype, "emissionDate", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileAndGed.prototype, "statutFile", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileAndGed.prototype, "idTypeGedFile", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateFileAndGed.prototype, "idUser", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateFileAndGed.prototype, "idGedFolder", void 0);
|
|
41
|
+
|
|
42
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateFileAndGed.prototype, "idSociety", void 0);
|
|
43
|
+
|
|
44
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileAndGed.prototype, "typeFile", void 0);
|
|
45
|
+
|
|
46
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileAndGed.prototype, "idExercice", void 0);
|
|
47
|
+
|
|
48
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileAndGed.prototype, "idBalanceSheet", void 0);
|
|
49
|
+
//# sourceMappingURL=createFileAndGed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createFileAndGed.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAGM,MAAOA,gBAAP,CAAuB;;QAAhBA,gB,GAAAA,gB;;AAEXC,YADC,yBACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,6BACD,4BAAcC,KAAd;;AAKAD,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD","names":["CreateFileAndGed","__decorate","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/gedFile/createFileAndGed.ts"],"sourcesContent":["import {\n IsDate, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateFileAndGed {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n filename: string;\n\n @ApiProperty()\n @IsDate()\n emissionDate: Date;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n statutFile: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idTypeGedFile: number;\n\n @ApiProperty()\n @IsNumber()\n idUser: number;\n\n @ApiProperty()\n @IsNumber()\n idGedFolder: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n typeFile: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idExercice: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idBalanceSheet: number;\n}\n"]}
|
|
@@ -39,5 +39,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)
|
|
|
39
39
|
|
|
40
40
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], UpdateGedFile.prototype, "idExercice", void 0);
|
|
41
41
|
|
|
42
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], UpdateGedFile.prototype, "idBalanceSheet", void 0);
|
|
43
|
+
|
|
42
44
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], UpdateGedFile.prototype, "idMail", void 0);
|
|
43
45
|
//# sourceMappingURL=updateGedFile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateGedFile.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAOA,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAEXC,YADC,iCACD,4BAAcC,KAAd;;AAGAD,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD","names":["UpdateGedFile","__decorate","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/gedFile/updateGedFile.ts"],"sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateGedFile {\n @ApiPropertyOptional()\n emissionDate: Date;\n\n @ApiPropertyOptional()\n statutFile: number;\n\n @ApiPropertyOptional()\n idTypeGedFile: number;\n\n @ApiPropertyOptional()\n idUser: number;\n\n @ApiPropertyOptional()\n idGedFolder: number;\n\n @ApiPropertyOptional()\n idSociety: number;\n\n @ApiPropertyOptional()\n idFile: number;\n\n @ApiPropertyOptional()\n idExercice: number;\n\n @ApiPropertyOptional()\n idMail: number;\n}"]}
|
|
1
|
+
{"version":3,"file":"updateGedFile.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAOA,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAEXC,YADC,iCACD,4BAAcC,KAAd;;AAGAD,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD","names":["UpdateGedFile","__decorate","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/gedFile/updateGedFile.ts"],"sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateGedFile {\n @ApiPropertyOptional()\n emissionDate: Date;\n\n @ApiPropertyOptional()\n statutFile: number;\n\n @ApiPropertyOptional()\n idTypeGedFile: number;\n\n @ApiPropertyOptional()\n idUser: number;\n\n @ApiPropertyOptional()\n idGedFolder: number;\n\n @ApiPropertyOptional()\n idSociety: number;\n\n @ApiPropertyOptional()\n idFile: number;\n\n @ApiPropertyOptional()\n idExercice: number;\n\n @ApiPropertyOptional()\n idBalanceSheet: number;\n\n @ApiPropertyOptional()\n idMail: number;\n}"]}
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.UpdateOrCreateGedFile = exports.QueryDownloadFile = exports.QueryLibraryFile = undefined;
|
|
7
7
|
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
8
10
|
var _utils = require("../../../../utils");
|
|
9
11
|
|
|
10
12
|
var _Ged = require("../../../Enum/Ged");
|
|
@@ -21,7 +23,12 @@ var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
|
21
23
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
24
|
};
|
|
23
25
|
|
|
24
|
-
class QueryLibraryFile {
|
|
26
|
+
class QueryLibraryFile {
|
|
27
|
+
constructor() {
|
|
28
|
+
this.findSign = false;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
}
|
|
25
32
|
|
|
26
33
|
exports.QueryLibraryFile = QueryLibraryFile;
|
|
27
34
|
|
|
@@ -31,10 +38,28 @@ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)
|
|
|
31
38
|
|
|
32
39
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryLibraryFile.prototype, "idTypeGedFile", void 0);
|
|
33
40
|
|
|
41
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Array)], QueryLibraryFile.prototype, "typeGedFolder", void 0);
|
|
42
|
+
|
|
34
43
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryLibraryFile.prototype, "idExercice", void 0);
|
|
35
44
|
|
|
45
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryLibraryFile.prototype, "idBalanceSheet", void 0);
|
|
46
|
+
|
|
36
47
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryLibraryFile.prototype, "idFile", void 0);
|
|
37
48
|
|
|
49
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryLibraryFile.prototype, "typeFile", void 0);
|
|
50
|
+
|
|
51
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryLibraryFile.prototype, "findSign", void 0);
|
|
52
|
+
|
|
53
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
|
|
54
|
+
each: true
|
|
55
|
+
}), __metadata("design:type", Array)], QueryLibraryFile.prototype, "attributes", void 0);
|
|
56
|
+
|
|
57
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
|
|
58
|
+
each: true
|
|
59
|
+
}), (0, _classValidator.IsIn)(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed'], {
|
|
60
|
+
each: true
|
|
61
|
+
}), __metadata("design:type", Array)], QueryLibraryFile.prototype, "include", void 0);
|
|
62
|
+
|
|
38
63
|
class QueryDownloadFile {}
|
|
39
64
|
|
|
40
65
|
exports.QueryDownloadFile = QueryDownloadFile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryLibrary.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,gBAAP,CAAuB;;
|
|
1
|
+
{"version":3,"file":"QueryLibrary.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,gBAAP,CAAuB;EAA7BC;IA8BE,gBAAqB,KAArB;EAgBD;;AA9C4B;;QAAhBD,gB,GAAAA,gB;;AAEXE,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,iCACD;;AAOAA,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAGD;;AAQAD,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,WAAD,EAAc,cAAd,EAA8B,mBAA9B,EAAmD,aAAnD,CAAL,EAAwE;EAAEA,IAAI,EAAE;AAAR,CAAxE,CACD;;AAGI,MAAOC,iBAAP,CAAwB;;QAAjBA,iB,GAAAA,iB;;AAEXF,YADC,yBACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGI,MAAOG,qBAAP,CAA4B;;QAArBA,qB,GAAAA,qB;;AAEXH,YADC,yBACD;;AAGAA,YADC,iCACD,4BAAeI,KAAf;;AAGAJ,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD","names":["QueryLibraryFile","constructor","__decorate","each","QueryDownloadFile","UpdateOrCreateGedFile","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/library/QueryLibrary.ts"],"sourcesContent":["import {\n IsIn, IsOptional, IsString, IsNumber, IsBoolean,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { GedFolder, GedFileType } from '../../../Enum/Ged';\n\nexport class QueryLibraryFile {\n @ApiProperty()\n idSociety: number;\n\n @ApiPropertyOptional()\n idGedFolder?: GedFolder;\n\n @ApiPropertyOptional()\n idTypeGedFile?: GedFileType;\n\n @ApiPropertyOptional()\n typeGedFolder?: GedFolder[];\n\n @ApiPropertyOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n idFile?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n typeFile?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n findSign?: boolean = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed'], { each: true })\n include?: string[];\n}\n\nexport class QueryDownloadFile {\n @ApiProperty()\n folderName: string;\n\n @ApiProperty()\n token: string;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n idMail?: number;\n}\n\nexport class UpdateOrCreateGedFile {\n @ApiProperty()\n idFile: number;\n\n @ApiPropertyOptional()\n emissionDate?: Date;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n idGedFolder: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n idTypeGedFile?: number;\n}"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateFileToSign = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class CreateFileToSign {}
|
|
25
|
+
|
|
26
|
+
exports.CreateFileToSign = CreateFileToSign;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], CreateFileToSign.prototype, "file", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileToSign.prototype, "idUser", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateFileToSign.prototype, "idGedFolder", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateFileToSign.prototype, "idSociety", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileToSign.prototype, "idExercice", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileToSign.prototype, "idBalanceSheet", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileToSign.prototype, "nbrPage", void 0);
|
|
41
|
+
|
|
42
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateFileToSign.prototype, "typeFile", void 0);
|
|
43
|
+
//# sourceMappingURL=CreateFileToSign.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateFileToSign.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAGM,MAAOA,gBAAP,CAAuB;;QAAhBA,gB,GAAAA,gB;;AAEXC,YADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD","names":["CreateFileToSign","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/signFile/CreateFileToSign.ts"],"sourcesContent":["import { IsOptional, IsNumber } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateFileToSign {\n @ApiProperty()\n file: TFile;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n\n @ApiProperty()\n @IsNumber()\n idGedFolder: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n nbrPage: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n typeFile: number;\n}"]}
|
package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryGetAllSocietyConfigBalanceSheet = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class QueryGetAllSocietyConfigBalanceSheet {}
|
|
25
|
+
|
|
26
|
+
exports.QueryGetAllSocietyConfigBalanceSheet = QueryGetAllSocietyConfigBalanceSheet;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryGetAllSocietyConfigBalanceSheet.prototype, "idBalanceSheet", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
|
|
31
|
+
each: true
|
|
32
|
+
}), __metadata("design:type", Array)], QueryGetAllSocietyConfigBalanceSheet.prototype, "attributes", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
|
|
35
|
+
each: true
|
|
36
|
+
}), (0, _classValidator.IsIn)(['society'], {
|
|
37
|
+
each: true
|
|
38
|
+
}), __metadata("design:type", Array)], QueryGetAllSocietyConfigBalanceSheet.prototype, "include", void 0);
|
|
39
|
+
//# sourceMappingURL=QueryGetAllSocietyConfigBalanceSheet.js.map
|
package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryGetAllSocietyConfigBalanceSheet.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,oCAAP,CAA2C;;QAApCA,oC,GAAAA,oC;;AAGXC,YAFC,yBAED,EADC,4BACD;;AAOAA,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAGD;;AAQAD,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,CAAL,EAAkB;EAAEA,IAAI,EAAE;AAAR,CAAlB,CACD","names":["QueryGetAllSocietyConfigBalanceSheet","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.ts"],"sourcesContent":["import {\n IsOptional, IsString, IsIn, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\n\nexport class QueryGetAllSocietyConfigBalanceSheet {\n @ApiProperty()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['society'], { each: true })\n include?: string[];\n}"]}
|
package/js/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryPaginatedSocietyConfigBalanceSheet = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class QueryPaginatedSocietyConfigBalanceSheet {}
|
|
25
|
+
|
|
26
|
+
exports.QueryPaginatedSocietyConfigBalanceSheet = QueryPaginatedSocietyConfigBalanceSheet;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedSocietyConfigBalanceSheet.prototype, "state", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedSocietyConfigBalanceSheet.prototype, "stateClient", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryPaginatedSocietyConfigBalanceSheet.prototype, "comment", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryPaginatedSocietyConfigBalanceSheet.prototype, "amount", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryPaginatedSocietyConfigBalanceSheet.prototype, "idSociety", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryPaginatedSocietyConfigBalanceSheet.prototype, "idTypeDocumentsWaiting", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryPaginatedSocietyConfigBalanceSheet.prototype, "idExercice", void 0);
|
|
41
|
+
|
|
42
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryPaginatedSocietyConfigBalanceSheet.prototype, "idBalanceSheet", void 0);
|
|
43
|
+
//# sourceMappingURL=QueryPaginatedSocietyConfigBalanceSheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryPaginatedSocietyConfigBalanceSheet.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,uCAAP,CAA8C;;QAAvCA,uC,GAAAA,uC;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD","names":["QueryPaginatedSocietyConfigBalanceSheet","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.ts"],"sourcesContent":["import {\n IsNumber, IsOptional, IsString, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\n\nexport class QueryPaginatedSocietyConfigBalanceSheet {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n stateClient?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsNumber()\n idTypeDocumentsWaiting: number;\n\n @ApiProperty()\n @IsNumber()\n idExercice: number;\n\n @ApiProperty()\n @IsNumber()\n idBalanceSheet: number;\n}\n"]}
|
package/js/types/index.js
CHANGED
|
@@ -5500,6 +5500,30 @@ Object.keys(_InpiType).forEach(function (key) {
|
|
|
5500
5500
|
});
|
|
5501
5501
|
});
|
|
5502
5502
|
|
|
5503
|
+
var _DepositDocumentType = require("./Enum/DepositDocumentType");
|
|
5504
|
+
|
|
5505
|
+
Object.keys(_DepositDocumentType).forEach(function (key) {
|
|
5506
|
+
if (key === "default" || key === "__esModule") return;
|
|
5507
|
+
Object.defineProperty(exports, key, {
|
|
5508
|
+
enumerable: true,
|
|
5509
|
+
get: function () {
|
|
5510
|
+
return _DepositDocumentType[key];
|
|
5511
|
+
}
|
|
5512
|
+
});
|
|
5513
|
+
});
|
|
5514
|
+
|
|
5515
|
+
var _StatusSignature = require("./Enum/StatusSignature");
|
|
5516
|
+
|
|
5517
|
+
Object.keys(_StatusSignature).forEach(function (key) {
|
|
5518
|
+
if (key === "default" || key === "__esModule") return;
|
|
5519
|
+
Object.defineProperty(exports, key, {
|
|
5520
|
+
enumerable: true,
|
|
5521
|
+
get: function () {
|
|
5522
|
+
return _StatusSignature[key];
|
|
5523
|
+
}
|
|
5524
|
+
});
|
|
5525
|
+
});
|
|
5526
|
+
|
|
5503
5527
|
var _BankCollectingState = require("./Enum/BankCollectingState");
|
|
5504
5528
|
|
|
5505
5529
|
Object.keys(_BankCollectingState).forEach(function (key) {
|
|
@@ -6820,6 +6844,18 @@ Object.keys(_CreateExercice).forEach(function (key) {
|
|
|
6820
6844
|
});
|
|
6821
6845
|
});
|
|
6822
6846
|
|
|
6847
|
+
var _UpdateExercice = require("./Interface/api/exercice/UpdateExercice");
|
|
6848
|
+
|
|
6849
|
+
Object.keys(_UpdateExercice).forEach(function (key) {
|
|
6850
|
+
if (key === "default" || key === "__esModule") return;
|
|
6851
|
+
Object.defineProperty(exports, key, {
|
|
6852
|
+
enumerable: true,
|
|
6853
|
+
get: function () {
|
|
6854
|
+
return _UpdateExercice[key];
|
|
6855
|
+
}
|
|
6856
|
+
});
|
|
6857
|
+
});
|
|
6858
|
+
|
|
6823
6859
|
var _ReadAccountingIncome = require("./Interface/api/accountingIncome/ReadAccountingIncome");
|
|
6824
6860
|
|
|
6825
6861
|
Object.keys(_ReadAccountingIncome).forEach(function (key) {
|
|
@@ -7744,6 +7780,18 @@ Object.keys(_ReadBalanceSheet).forEach(function (key) {
|
|
|
7744
7780
|
});
|
|
7745
7781
|
});
|
|
7746
7782
|
|
|
7783
|
+
var _UpdateBalanceSheet = require("./Interface/api/balanceSheet/UpdateBalanceSheet");
|
|
7784
|
+
|
|
7785
|
+
Object.keys(_UpdateBalanceSheet).forEach(function (key) {
|
|
7786
|
+
if (key === "default" || key === "__esModule") return;
|
|
7787
|
+
Object.defineProperty(exports, key, {
|
|
7788
|
+
enumerable: true,
|
|
7789
|
+
get: function () {
|
|
7790
|
+
return _UpdateBalanceSheet[key];
|
|
7791
|
+
}
|
|
7792
|
+
});
|
|
7793
|
+
});
|
|
7794
|
+
|
|
7747
7795
|
var _QueryPappers = require("./Interface/api/pappers/QueryPappers");
|
|
7748
7796
|
|
|
7749
7797
|
Object.keys(_QueryPappers).forEach(function (key) {
|
|
@@ -9640,6 +9688,30 @@ Object.keys(_QueryStatsByTaskTypeInCsv).forEach(function (key) {
|
|
|
9640
9688
|
});
|
|
9641
9689
|
});
|
|
9642
9690
|
|
|
9691
|
+
var _QueryPaginatedSocietyConfigBalanceSheet = require("./Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet");
|
|
9692
|
+
|
|
9693
|
+
Object.keys(_QueryPaginatedSocietyConfigBalanceSheet).forEach(function (key) {
|
|
9694
|
+
if (key === "default" || key === "__esModule") return;
|
|
9695
|
+
Object.defineProperty(exports, key, {
|
|
9696
|
+
enumerable: true,
|
|
9697
|
+
get: function () {
|
|
9698
|
+
return _QueryPaginatedSocietyConfigBalanceSheet[key];
|
|
9699
|
+
}
|
|
9700
|
+
});
|
|
9701
|
+
});
|
|
9702
|
+
|
|
9703
|
+
var _QueryGetAllSocietyConfigBalanceSheet = require("./Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet");
|
|
9704
|
+
|
|
9705
|
+
Object.keys(_QueryGetAllSocietyConfigBalanceSheet).forEach(function (key) {
|
|
9706
|
+
if (key === "default" || key === "__esModule") return;
|
|
9707
|
+
Object.defineProperty(exports, key, {
|
|
9708
|
+
enumerable: true,
|
|
9709
|
+
get: function () {
|
|
9710
|
+
return _QueryGetAllSocietyConfigBalanceSheet[key];
|
|
9711
|
+
}
|
|
9712
|
+
});
|
|
9713
|
+
});
|
|
9714
|
+
|
|
9643
9715
|
var _Query3cxSearch = require("./Interface/api/3cx/Query3cxSearch");
|
|
9644
9716
|
|
|
9645
9717
|
Object.keys(_Query3cxSearch).forEach(function (key) {
|
|
@@ -10084,6 +10156,18 @@ Object.keys(_updateGedFile).forEach(function (key) {
|
|
|
10084
10156
|
});
|
|
10085
10157
|
});
|
|
10086
10158
|
|
|
10159
|
+
var _createFileAndGed = require("./Interface/api/gedFile/createFileAndGed");
|
|
10160
|
+
|
|
10161
|
+
Object.keys(_createFileAndGed).forEach(function (key) {
|
|
10162
|
+
if (key === "default" || key === "__esModule") return;
|
|
10163
|
+
Object.defineProperty(exports, key, {
|
|
10164
|
+
enumerable: true,
|
|
10165
|
+
get: function () {
|
|
10166
|
+
return _createFileAndGed[key];
|
|
10167
|
+
}
|
|
10168
|
+
});
|
|
10169
|
+
});
|
|
10170
|
+
|
|
10087
10171
|
var _iDocus = require("./Interface/api/iDocus/iDocus");
|
|
10088
10172
|
|
|
10089
10173
|
Object.keys(_iDocus).forEach(function (key) {
|
|
@@ -10120,6 +10204,18 @@ Object.keys(_ReadPdftkizer).forEach(function (key) {
|
|
|
10120
10204
|
});
|
|
10121
10205
|
});
|
|
10122
10206
|
|
|
10207
|
+
var _CreateFileToSign = require("./Interface/api/signFile/CreateFileToSign");
|
|
10208
|
+
|
|
10209
|
+
Object.keys(_CreateFileToSign).forEach(function (key) {
|
|
10210
|
+
if (key === "default" || key === "__esModule") return;
|
|
10211
|
+
Object.defineProperty(exports, key, {
|
|
10212
|
+
enumerable: true,
|
|
10213
|
+
get: function () {
|
|
10214
|
+
return _CreateFileToSign[key];
|
|
10215
|
+
}
|
|
10216
|
+
});
|
|
10217
|
+
});
|
|
10218
|
+
|
|
10123
10219
|
var _Query6 = require("./Interface/api/rule/Query");
|
|
10124
10220
|
|
|
10125
10221
|
Object.keys(_Query6).forEach(function (key) {
|