@silexpert/core 2.0.65 → 2.0.67

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.
@@ -13,6 +13,7 @@ export declare class QueryTransaction {
13
13
  search?: string;
14
14
  descending?: boolean;
15
15
  toAnnotate?: boolean;
16
+ toVerify?: boolean;
16
17
  startDate?: string;
17
18
  endDate?: string;
18
19
  withMissingReceipt?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,qBAAa,gBAAgB;IAC3B,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAG9B,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAGhC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAGzB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAG7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAG3B,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,uBAAuB;IAElC,aAAa,CAAC,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BAAuB;IAElC,aAAa,CAAC,EAAE,6BAA6B,CAAC;IAG9C,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAG1C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,wBAAwB;IAInC,SAAS,EAAE,MAAM,CAAC;IAKlB,SAAS,EAAE,MAAM,CAAC;IAKlB,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -9,7 +9,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
11
11
  import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation.js';
12
- import { IsDateString, IsInt, IsOptional } from 'class-validator';
12
+ import { IsBoolean, IsDateString, IsInt, IsOptional } from 'class-validator';
13
+ import { ToBoolean } from '#utils/transforms/boolean.transform.js';
13
14
  export class QueryTransaction {
14
15
  id;
15
16
  page;
@@ -74,6 +75,13 @@ __decorate([
74
75
  ApiPropertyOptional(),
75
76
  __metadata("design:type", Boolean)
76
77
  ], QueryTransaction.prototype, "toAnnotate", void 0);
78
+ __decorate([
79
+ ApiPropertyOptional(),
80
+ ToBoolean(),
81
+ IsBoolean(),
82
+ IsOptional(),
83
+ __metadata("design:type", Boolean)
84
+ ], QueryTransaction.prototype, "toVerify", void 0);
77
85
  __decorate([
78
86
  ApiPropertyOptional(),
79
87
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"QueryTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAE/F,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,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;IAInC,SAAS,CAAS;IAKlB,SAAS,CAAS;IAKlB,OAAO,CAAS;CACjB;AAXC;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;2DACK;AAKlB;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;2DACK;AAKlB;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;yDACG","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation.js';\nimport { AccountingJournal } from '../../../Enum/AccountingJournal.js';\nimport { IsDateString, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryTransaction {\n id: number;\n\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiProperty()\n idAccountingJournal: number[];\n\n @ApiPropertyOptional()\n idAccountingFileType?: number[];\n\n @ApiPropertyOptional()\n idBankAccount?: number[];\n\n @ApiPropertyOptional()\n idAccountType?: number;\n\n @ApiPropertyOptional()\n idFile?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n toAnnotate?: boolean;\n\n @ApiPropertyOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n withMissingReceipt?: boolean;\n\n @ApiPropertyOptional()\n invoiceRequested?: boolean;\n\n @ApiPropertyOptional()\n onlyCredit?: boolean;\n\n @ApiPropertyOptional()\n onlyDebit?: boolean;\n}\n\nexport class QueryGetAllTransactions {\n @ApiPropertyOptional()\n typeOperation?: TypeCustomerProviderOperation;\n\n @ApiPropertyOptional()\n dateValue?: string;\n\n @ApiPropertyOptional()\n idAccountingJournal?: AccountingJournal[];\n\n @ApiPropertyOptional()\n idFile?: number;\n}\n\nexport class QueryAutomaticAnnotation {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate: string;\n}\n"]}
1
+ {"version":3,"file":"QueryTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAE/F,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAEnE,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,mBAAmB,CAAW;IAG9B,oBAAoB,CAAY;IAGhC,aAAa,CAAY;IAGzB,aAAa,CAAU;IAGvB,MAAM,CAAU;IAGhB,OAAO,CAAU;IAGjB,MAAM,CAAU;IAGhB,UAAU,CAAW;IAGrB,UAAU,CAAW;IASrB,SAAS,CAAU;IAGnB,OAAO,CAAU;IAGjB,kBAAkB,CAAW;IAG7B,gBAAgB,CAAW;IAG3B,UAAU,CAAW;IAGrB,SAAS,CAAW;CACrB;AAvDC;IADC,WAAW,EAAE;;8CACD;AAGb;IADC,WAAW,EAAE;;+CACA;AAGd;IADC,WAAW,EAAE;;6DACgB;AAG9B;IADC,mBAAmB,EAAE;;8DACU;AAGhC;IADC,mBAAmB,EAAE;;uDACG;AAGzB;IADC,mBAAmB,EAAE;;uDACC;AAGvB;IADC,mBAAmB,EAAE;;gDACN;AAGhB;IADC,mBAAmB,EAAE;;iDACL;AAGjB;IADC,mBAAmB,EAAE;;gDACN;AAGhB;IADC,mBAAmB,EAAE;;oDACD;AAGrB;IADC,mBAAmB,EAAE;;oDACD;AAMb;IAJP,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kDACc;AAG3B;IADC,mBAAmB,EAAE;;mDACH;AAGnB;IADC,mBAAmB,EAAE;;iDACL;AAGjB;IADC,mBAAmB,EAAE;;4DACO;AAG7B;IADC,mBAAmB,EAAE;;0DACK;AAG3B;IADC,mBAAmB,EAAE;;oDACD;AAGrB;IADC,mBAAmB,EAAE;;mDACF;AAGtB,MAAM,OAAO,uBAAuB;IAElC,aAAa,CAAiC;IAG9C,SAAS,CAAU;IAGnB,mBAAmB,CAAuB;IAG1C,MAAM,CAAU;CACjB;AAVC;IADC,mBAAmB,EAAE;;8DACwB;AAG9C;IADC,mBAAmB,EAAE;;0DACH;AAGnB;IADC,mBAAmB,EAAE;;oEACoB;AAG1C;IADC,mBAAmB,EAAE;;uDACN;AAGlB,MAAM,OAAO,wBAAwB;IAInC,SAAS,CAAS;IAKlB,SAAS,CAAS;IAKlB,OAAO,CAAS;CACjB;AAXC;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;2DACK;AAKlB;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;2DACK;AAKlB;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;yDACG","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation.js';\nimport { AccountingJournal } from '../../../Enum/AccountingJournal.js';\nimport { IsBoolean, IsDateString, IsInt, IsOptional } from 'class-validator';\nimport { ToBoolean } from '#utils/transforms/boolean.transform.js';\n\nexport class QueryTransaction {\n id: number;\n\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiProperty()\n idAccountingJournal: number[];\n\n @ApiPropertyOptional()\n idAccountingFileType?: number[];\n\n @ApiPropertyOptional()\n idBankAccount?: number[];\n\n @ApiPropertyOptional()\n idAccountType?: number;\n\n @ApiPropertyOptional()\n idFile?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n toAnnotate?: boolean;\n\n @ApiPropertyOptional()\n @ToBoolean()\n @IsBoolean()\n @IsOptional()\n declare toVerify?: boolean;\n\n @ApiPropertyOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n withMissingReceipt?: boolean;\n\n @ApiPropertyOptional()\n invoiceRequested?: boolean;\n\n @ApiPropertyOptional()\n onlyCredit?: boolean;\n\n @ApiPropertyOptional()\n onlyDebit?: boolean;\n}\n\nexport class QueryGetAllTransactions {\n @ApiPropertyOptional()\n typeOperation?: TypeCustomerProviderOperation;\n\n @ApiPropertyOptional()\n dateValue?: string;\n\n @ApiPropertyOptional()\n idAccountingJournal?: AccountingJournal[];\n\n @ApiPropertyOptional()\n idFile?: number;\n}\n\nexport class QueryAutomaticAnnotation {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate: string;\n}\n"]}
@@ -9,7 +9,6 @@ import { IThirdParty } from '../../models/IThirdParty.js';
9
9
  import { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type.js';
10
10
  import { ISaleEmail } from '../../models/ISaleEmail.js';
11
11
  import { CountryId } from '#types/Enum/Country.js';
12
- import { IAccountingTransaction } from '#types/Interface/models/IAccountingTransaction.js';
13
12
  export type ReadCashBasedInvoice = Partial<IAccountingFile>;
14
13
  export type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;
15
14
  export type ReadEstimateInvoice = IEstimateInvoice & {
@@ -207,7 +206,12 @@ export type ReadEInvoicingReception = {
207
206
  };
208
207
  export type ProductInvoiceFromEInvoice = Omit<IProductInvoice, 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'>;
209
208
  export type ReadEinvoiceInfo = {
210
- item: IAccountingFile | IAccountingTransaction;
209
+ emissionDate: string;
210
+ dueDate: string;
211
+ idThirdParty: number;
212
+ idCurrency: number;
213
+ externalId: string;
214
+ internalNumber: string;
211
215
  products: ProductInvoiceFromEInvoice[];
212
216
  };
213
217
  export type ReadEInvoice = {
@@ -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,kCAAkC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,kCAAkC,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,qEAAqE,CAAC;AAClH,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAAC;AAE7E,MAAM,MAAM,mBAAmB,GA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,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -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.js';\nimport { IAccountingFile } from '../../models/IAccountingFile.js';\nimport { IProductInvoice } from '../../models/IProductInvoice.js';\nimport { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction.js';\nimport { CommercialDocumentInputs } from './Create.js';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice.js';\nimport { EstimateStatus, FontIds, InvoiceStatus } from '../../../Enum/CommercialManagement.js';\nimport { IThirdParty } from '../../models/IThirdParty.js';\nimport { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type.js';\nimport { ISaleEmail } from '../../models/ISaleEmail.js';\nimport { CountryId } from '#types/Enum/Country.js';\nimport { IAccountingTransaction } from '#types/Interface/models/IAccountingTransaction.js';\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 FacturXInvoiceData = {\n label: string;\n invoiceNumber: string;\n dateValue: string;\n totalTaxIncluded: number;\n totalTaxExcluded: number;\n isAsset: boolean;\n thirdParty: IThirdParty;\n amounts: Array<{ idVat: number; amountBase: number; amountVat: number }>;\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 =\n | InvoiceStatus.PAID\n | InvoiceStatus.UNPAID\n | InvoiceStatus.CANCELED\n | InvoiceStatus.WAITING\n | EstimateStatus.REFUSED\n | EstimateStatus.BILLED\n | EstimateStatus.ACCEPTED\n | EstimateStatus.WAITING\n | EstimateStatus.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};\n\nexport type ReadStatisticRecurrentRevenue = {\n period: string;\n done: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n };\n projection: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n } | null;\n};\n\nexport type ReadEInvoicingReception = {\n label: string;\n reference: string;\n emissionDate: string;\n dueDate: string | undefined;\n idCurrency: number;\n type: EstimateInvoiceType;\n purchaseOrderReference: string | undefined;\n /** float, not in cent */\n totalTaxExcluded: number;\n /** float, not in cent */\n totalTaxIncluded: number;\n /** float, not in cent */\n depositPaid: number;\n /** float, not in cent */\n amountToPay: number;\n customer: {\n reference: string | undefined;\n name: string | undefined;\n siren: string | undefined;\n vatNumber: string | undefined;\n idCountry: CountryId | undefined;\n };\n provider: {\n name: string | undefined;\n siren: string | undefined;\n vatNumber: string | undefined;\n email: string | undefined;\n idCountry: CountryId | undefined;\n };\n products: Array<{\n externalId: string;\n name: string;\n comment: string | null;\n quantity: number;\n taxExcluded: number;\n totalTaxExcluded: number;\n taxRate: number | undefined;\n idVat: number | undefined;\n externalData: {\n id: string;\n unit: string | undefined;\n };\n }>;\n referencedInvoices: Array<{\n number: string;\n date: string;\n }>;\n vat: {\n totalTaxExcluded: number | undefined;\n list: Array<{\n idVat: number | undefined;\n amountBase: number;\n taxAmount: number;\n }>;\n };\n discount: {\n document: Array<{\n isCharge: boolean;\n amount: number;\n taxRate: number | undefined;\n idVat: number | undefined;\n externalData: {\n reasonCode: string | undefined;\n };\n }>;\n lines: Array<{\n isCharge: boolean;\n amount: number;\n }>;\n };\n};\n\nexport type ProductInvoiceFromEInvoice = Omit<IProductInvoice, 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'>;\n\nexport type ReadEinvoiceInfo = {\n item: IAccountingFile | IAccountingTransaction;\n products: ProductInvoiceFromEInvoice[];\n};\n\nexport type ReadEInvoice = {\n externalId: string;\n entityId: string;\n direction: 'In' | 'Out';\n type: string;\n flow: 'CustomerInvoice' | 'SupplierInvoice';\n syntax: 'UBL' | 'CII' | 'Factur-X';\n category: 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';\n name: string;\n status: string;\n statusDetails: Array<{ code: string; description: string; fullDescription: string }>;\n updatedAt: string;\n submittedAt: string;\n documentStatus: string;\n externalStructureId: string;\n documentId: string;\n};\n"]}
1
+ {"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"","sourcesContent":["import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice.js';\nimport { IAccountingFile } from '../../models/IAccountingFile.js';\nimport { IProductInvoice } from '../../models/IProductInvoice.js';\nimport { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction.js';\nimport { CommercialDocumentInputs } from './Create.js';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice.js';\nimport { EstimateStatus, FontIds, InvoiceStatus } from '../../../Enum/CommercialManagement.js';\nimport { IThirdParty } from '../../models/IThirdParty.js';\nimport { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type.js';\nimport { ISaleEmail } from '../../models/ISaleEmail.js';\nimport { CountryId } from '#types/Enum/Country.js';\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 FacturXInvoiceData = {\n label: string;\n invoiceNumber: string;\n dateValue: string;\n totalTaxIncluded: number;\n totalTaxExcluded: number;\n isAsset: boolean;\n thirdParty: IThirdParty;\n amounts: Array<{ idVat: number; amountBase: number; amountVat: number }>;\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 =\n | InvoiceStatus.PAID\n | InvoiceStatus.UNPAID\n | InvoiceStatus.CANCELED\n | InvoiceStatus.WAITING\n | EstimateStatus.REFUSED\n | EstimateStatus.BILLED\n | EstimateStatus.ACCEPTED\n | EstimateStatus.WAITING\n | EstimateStatus.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};\n\nexport type ReadStatisticRecurrentRevenue = {\n period: string;\n done: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n };\n projection: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n } | null;\n};\n\nexport type ReadEInvoicingReception = {\n label: string;\n reference: string;\n emissionDate: string;\n dueDate: string | undefined;\n idCurrency: number;\n type: EstimateInvoiceType;\n purchaseOrderReference: string | undefined;\n /** float, not in cent */\n totalTaxExcluded: number;\n /** float, not in cent */\n totalTaxIncluded: number;\n /** float, not in cent */\n depositPaid: number;\n /** float, not in cent */\n amountToPay: number;\n customer: {\n reference: string | undefined;\n name: string | undefined;\n siren: string | undefined;\n vatNumber: string | undefined;\n idCountry: CountryId | undefined;\n };\n provider: {\n name: string | undefined;\n siren: string | undefined;\n vatNumber: string | undefined;\n email: string | undefined;\n idCountry: CountryId | undefined;\n };\n products: Array<{\n externalId: string;\n name: string;\n comment: string | null;\n quantity: number;\n taxExcluded: number;\n totalTaxExcluded: number;\n taxRate: number | undefined;\n idVat: number | undefined;\n externalData: {\n id: string;\n unit: string | undefined;\n };\n }>;\n referencedInvoices: Array<{\n number: string;\n date: string;\n }>;\n vat: {\n totalTaxExcluded: number | undefined;\n list: Array<{\n idVat: number | undefined;\n amountBase: number;\n taxAmount: number;\n }>;\n };\n discount: {\n document: Array<{\n isCharge: boolean;\n amount: number;\n taxRate: number | undefined;\n idVat: number | undefined;\n externalData: {\n reasonCode: string | undefined;\n };\n }>;\n lines: Array<{\n isCharge: boolean;\n amount: number;\n }>;\n };\n};\n\nexport type ProductInvoiceFromEInvoice = Omit<IProductInvoice, 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'>;\n\nexport type ReadEinvoiceInfo = {\n emissionDate: string;\n dueDate: string;\n idThirdParty: number;\n idCurrency: number;\n externalId: string;\n internalNumber: string;\n products: ProductInvoiceFromEInvoice[];\n};\n\nexport type ReadEInvoice = {\n externalId: string;\n entityId: string;\n direction: 'In' | 'Out';\n type: string;\n flow: 'CustomerInvoice' | 'SupplierInvoice';\n syntax: 'UBL' | 'CII' | 'Factur-X';\n category: 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';\n name: string;\n status: string;\n statusDetails: Array<{ code: string; description: string; fullDescription: string }>;\n updatedAt: string;\n submittedAt: string;\n documentStatus: string;\n externalStructureId: string;\n documentId: string;\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "2.0.65",
3
+ "version": "2.0.67",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "keywords": [
6
6
  "accounting",
@@ -1,7 +1,8 @@
1
1
  import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
2
2
  import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation.js';
3
3
  import { AccountingJournal } from '../../../Enum/AccountingJournal.js';
4
- import { IsDateString, IsInt, IsOptional } from 'class-validator';
4
+ import { IsBoolean, IsDateString, IsInt, IsOptional } from 'class-validator';
5
+ import { ToBoolean } from '#utils/transforms/boolean.transform.js';
5
6
 
6
7
  export class QueryTransaction {
7
8
  id: number;
@@ -39,6 +40,12 @@ export class QueryTransaction {
39
40
  @ApiPropertyOptional()
40
41
  toAnnotate?: boolean;
41
42
 
43
+ @ApiPropertyOptional()
44
+ @ToBoolean()
45
+ @IsBoolean()
46
+ @IsOptional()
47
+ declare toVerify?: boolean;
48
+
42
49
  @ApiPropertyOptional()
43
50
  startDate?: string;
44
51
 
@@ -9,7 +9,6 @@ import { IThirdParty } from '../../models/IThirdParty.js';
9
9
  import { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type.js';
10
10
  import { ISaleEmail } from '../../models/ISaleEmail.js';
11
11
  import { CountryId } from '#types/Enum/Country.js';
12
- import { IAccountingTransaction } from '#types/Interface/models/IAccountingTransaction.js';
13
12
 
14
13
  export type ReadCashBasedInvoice = Partial<IAccountingFile>;
15
14
 
@@ -218,7 +217,12 @@ export type ReadEInvoicingReception = {
218
217
  export type ProductInvoiceFromEInvoice = Omit<IProductInvoice, 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'>;
219
218
 
220
219
  export type ReadEinvoiceInfo = {
221
- item: IAccountingFile | IAccountingTransaction;
220
+ emissionDate: string;
221
+ dueDate: string;
222
+ idThirdParty: number;
223
+ idCurrency: number;
224
+ externalId: string;
225
+ internalNumber: string;
222
226
  products: ProductInvoiceFromEInvoice[];
223
227
  };
224
228