@silexpert/core 2.0.70 → 2.0.71

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.
@@ -204,7 +204,9 @@ export type ReadEInvoicingReception = {
204
204
  }>;
205
205
  };
206
206
  };
207
- export type ProductInvoiceFromEInvoice = Omit<IProductInvoice, 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'>;
207
+ export type ProductInvoiceFromEInvoice = Omit<IProductInvoice, 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'> & {
208
+ idAccount: number | null;
209
+ };
208
210
  export type ReadEinvoiceInfo = {
209
211
  emissionDate: string;
210
212
  dueDate: string;
@@ -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;AAEnD,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG,OAAO,CA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ACpE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrF,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,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';\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"]}
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<\n IProductInvoice,\n 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'\n> & {\n idAccount: number | null;\n};\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"]}
@@ -1,6 +1,7 @@
1
1
  import { DocoonFlowType } from './DocoonInvoice.js';
2
2
  import { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';
3
3
  import { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';
4
+ import { ProductInvoiceFromEInvoice } from '#types/index.js';
4
5
  export type CreateLegalEntity = {
5
6
  name: string;
6
7
  legalId: string;
@@ -61,6 +62,7 @@ export declare class RejectEInvoice {
61
62
  }
62
63
  export declare class AcceptEInvoice {
63
64
  status: EInvoicingStatusCode;
65
+ products?: ProductInvoiceFromEInvoice[];
64
66
  internalNumber?: string;
65
67
  internalComment?: string;
66
68
  idThirdParty?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Create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AAM,eAAe,GAAG,0BAA0B,GAAG;IACzD,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,oBAAoB,EAAE,MAAM,CAAC;KAC9B,CAAC;CACH,CAAC;AACF,qBAAa,mBAAmB;IAI9B,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B;AACD,qBAAa,cAAc;IAGzB,MAAM,EAAE,oBAAoB,CAAC;IAI7B,UAAU,EAAE,oBAAoB,CAAC;IAIjC,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,qBAAa,cAAc;IAGzB,MAAM,EAAE,oBAAoB,CAAC;IAK7B,QAAQ,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAKxC,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -50,6 +50,7 @@ __decorate([
50
50
  ], RejectEInvoice.prototype, "reason", void 0);
51
51
  export class AcceptEInvoice {
52
52
  status;
53
+ products;
53
54
  internalNumber;
54
55
  internalComment;
55
56
  idThirdParty;
@@ -59,6 +60,12 @@ __decorate([
59
60
  IsEnum(EInvoicingStatusCode),
60
61
  __metadata("design:type", Number)
61
62
  ], AcceptEInvoice.prototype, "status", void 0);
63
+ __decorate([
64
+ ApiProperty(),
65
+ IsArray(),
66
+ IsOptional(),
67
+ __metadata("design:type", Array)
68
+ ], AcceptEInvoice.prototype, "products", void 0);
62
69
  __decorate([
63
70
  ApiPropertyOptional(),
64
71
  IsString(),
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRo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IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oDACS","sourcesContent":["import { ApiPropertyOptional, ApiProperty } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsArray, IsEnum, IsDateString, IsNumber } from 'class-validator';\nimport { DocoonFlowType } from './DocoonInvoice.js';\nimport { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';\nimport { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';\n\nexport type CreateLegalEntity = {\n name: string;\n legalId: string;\n isEnabled: boolean;\n legalIdSchemeId?: string;\n code?: string;\n isTaxable?: boolean;\n taxCountryCode?: string;\n personType?: 'PRIVATE_PERSON' | 'MORAL_PERSON_PRIVATE' | 'MORAL_PERSON_PUBLIC';\n taxId?: string;\n legalForm?: string;\n capital?: number;\n structures?: CreateLegalEntityStructure[];\n};\n\nexport type CreateLegalEntityStructure = {\n name: string;\n code?: string;\n legalIdSchemeId?: string;\n legalId: string;\n isEnabled?: boolean;\n countryCode?: string;\n startDate?: string | null;\n endDate?: string | null;\n address?: {\n name?: string;\n street?: string;\n city?: string;\n zipCode?: string;\n postBox?: string;\n additionalInfo?: string;\n country?: string;\n };\n mainActivity?: {\n name?: string;\n code?: string;\n };\n};\n\nexport type CreateStructure = CreateLegalEntityStructure & {\n parentStructureId: string;\n};\n\nexport type RelaunchDirectoryLine = {\n directoryLineId: string;\n directoryLineInfo: {\n name: string;\n dateFrom: string;\n dateTo?: string | null;\n addressingIdentifier: string;\n };\n};\nexport class ImportDocoonInvoice {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n updatedAfter?: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsString({ each: true })\n @IsOptional()\n flowType?: DocoonFlowType[];\n}\nexport class RejectEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiProperty()\n @IsEnum(EInvoicingReasonType)\n reasonType: EInvoicingReasonType;\n\n @ApiProperty()\n @IsString()\n reason: string;\n}\nexport class AcceptEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalComment?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhG,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAuD3E,MAAM,OAAO,mBAAmB;IAI9B,YAAY,CAAU;IAMtB,QAAQ,CAAoB;CAC7B;AAPC;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;yDACS;AAMtB;IAJC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,UAAU,EAAE;;qDACe;AAE9B,MAAM,OAAO,cAAc;IAGzB,MAAM,CAAuB;IAI7B,UAAU,CAAuB;IAIjC,MAAM,CAAS;CAChB;AATC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;8CACA;AAI7B;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;kDACI;AAIjC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;8CACI;AAEjB,MAAM,OAAO,cAAc;IAGzB,MAAM,CAAuB;IAK7B,QAAQ,CAAgC;IAKxC,cAAc,CAAU;IAKxB,eAAe,CAAU;IAKzB,YAAY,CAAU;CACvB;AArBC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;8CACA;AAK7B;IAHC,WAAW,EAAE;IACb,OAAO,EAAE;IACT,UAAU,EAAE;;gDAC2B;AAKxC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACY;AAKzB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oDACS","sourcesContent":["import { ApiPropertyOptional, ApiProperty } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsArray, IsEnum, IsDateString, IsNumber } from 'class-validator';\nimport { DocoonFlowType } from './DocoonInvoice.js';\nimport { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';\nimport { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';\nimport { ProductInvoiceFromEInvoice } from '#types/index.js';\n\nexport type CreateLegalEntity = {\n name: string;\n legalId: string;\n isEnabled: boolean;\n legalIdSchemeId?: string;\n code?: string;\n isTaxable?: boolean;\n taxCountryCode?: string;\n personType?: 'PRIVATE_PERSON' | 'MORAL_PERSON_PRIVATE' | 'MORAL_PERSON_PUBLIC';\n taxId?: string;\n legalForm?: string;\n capital?: number;\n structures?: CreateLegalEntityStructure[];\n};\n\nexport type CreateLegalEntityStructure = {\n name: string;\n code?: string;\n legalIdSchemeId?: string;\n legalId: string;\n isEnabled?: boolean;\n countryCode?: string;\n startDate?: string | null;\n endDate?: string | null;\n address?: {\n name?: string;\n street?: string;\n city?: string;\n zipCode?: string;\n postBox?: string;\n additionalInfo?: string;\n country?: string;\n };\n mainActivity?: {\n name?: string;\n code?: string;\n };\n};\n\nexport type CreateStructure = CreateLegalEntityStructure & {\n parentStructureId: string;\n};\n\nexport type RelaunchDirectoryLine = {\n directoryLineId: string;\n directoryLineInfo: {\n name: string;\n dateFrom: string;\n dateTo?: string | null;\n addressingIdentifier: string;\n };\n};\nexport class ImportDocoonInvoice {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n updatedAfter?: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsString({ each: true })\n @IsOptional()\n flowType?: DocoonFlowType[];\n}\nexport class RejectEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiProperty()\n @IsEnum(EInvoicingReasonType)\n reasonType: EInvoicingReasonType;\n\n @ApiProperty()\n @IsString()\n reason: string;\n}\nexport class AcceptEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiProperty()\n @IsArray()\n @IsOptional()\n products?: ProductInvoiceFromEInvoice[];\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalComment?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}\n"]}
@@ -176,16 +176,18 @@ export type ReadDocoonResultSearch = {
176
176
  documentStatus: string;
177
177
  name: string;
178
178
  acknowledgement?: DocoonFlowAcknowledgement;
179
+ acknowledgment?: DocoonFlowAcknowledgement;
179
180
  };
180
181
  export type DocoonFlowAcknowledgement = {
181
182
  status: 'Ok' | 'Error';
182
- details?: Array<{
183
- level: string | null;
184
- item: string | null;
185
- reasonCode: string | null;
186
- reasonMessage: string | null;
187
- fullMessage: string | null;
188
- }>;
183
+ details?: DocoonFlowAcknowledgementDetails;
184
+ };
185
+ export type DocoonFlowAcknowledgementDetails = {
186
+ level: string | null;
187
+ item: string | null;
188
+ reasonCode: string | null;
189
+ reasonMessage: string | null;
190
+ fullMessage: string | null;
189
191
  };
190
192
  export type DocoonFlowType = 'CustomerInvoice' | 'SupplierInvoice';
191
193
  export type DocoonFlowDirection = 'In' | 'Out';
@@ -1 +1 @@
1
- {"version":3,"file":"DocoonInvoice.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/DocoonInvoice.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0BAA0B,EAAE,MAAM,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,KAAK,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC,CAAC;IACH,mBAAmB,EAAE;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF;;OAEG;IACH,OAAO,EAAE;QACP,aAAa,EAAE,MAAM,CAAC;QACtB,sBAAsB,EAAE,MAAM,CAAC;QAC/B,gBAAgB,EAAE,KAAK,CAAC;YACtB,WAAW,EAAE,MAAM,CAAC;YACpB,iBAAiB,EAAE,MAAM,CAAC;SAC3B,CAAC,CAAC;QACH,WAAW,EAAE,MAAM,CAAC;QACpB,4BAA4B,EAAE,MAAM,CAAC;QACrC,iBAAiB,EAAE,KAAK,CAAC;YACvB,2BAA2B,EAAE,MAAM,CAAC;YACpC,cAAc,EAAE,MAAM,CAAC;SACxB,CAAC,CAAC;QACH,KAAK,EAAE,MAAM,CAAC;QACd,gBAAgB,EAAE,MAAM,CAAC;QACzB,cAA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AAK,CAAC;AAC/C,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,KAAK,GAAG,UAAU,CAAC;AAC1D,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAE3F,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DocoonInvoice.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/DocoonInvoice.ts"],"names":[],"mappings":"","sourcesContent":["export type DocoonInvoice = {\n numeroFacture: string;\n dateEmission: string;\n codeType: string;\n codeDevise: string;\n codeDateExigibiliteTva: string;\n dateEcheance: string;\n referenceAcheteur: string;\n referenceBonCommande: string;\n numeroOrdreVente: string;\n identifiantObjetFacture: string;\n identifiantSchema: string;\n referenceComptableAcheteur: string;\n conditionPaiement: string;\n noteDeFacture: Array<{\n codeSujetNote: string;\n noteFacture: string;\n }>;\n controleDuProcessus: {\n typeProcessus: string;\n typeProfil: string;\n };\n /**\n * THIRDPARTY\n */\n vendeur: {\n raisonSociale: string;\n appellationCommerciale: string;\n identifiantPrive: Array<{\n identifiant: string;\n identifiantSchema: string;\n }>;\n numeroSiren: string;\n identifiantSchemaIdentifiant: string;\n identifiantFiscal: Array<{\n qualifiantIdentifiantFiscal: string;\n identifiantTva: string;\n }>;\n email: string;\n identifiantEmail: string;\n formeJuridique: string;\n adressePostale: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n contact: {\n pointContact: string;\n telephone: string;\n email: string;\n };\n countryCodeFR: boolean;\n };\n //\n acheteur: {\n raisonSociale: string;\n appellationCommerciale?: string;\n identifiantPrive: Array<{\n identifiant: string;\n identifiantSchema: string;\n }>;\n numeroSiren: string;\n identifiantSchemaIdentifiant: string;\n identifiantFiscal: Array<{\n qualifiantIdentifiantFiscal: string;\n identifiantTva: string;\n }>;\n email: string;\n identifiantEmail: string;\n adressePostale: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n contact: {\n pointContact: string;\n telephone: string;\n email: string;\n };\n countryCodeFR: boolean;\n };\n\n informationsDeLivraisonPresentationDeService: {\n lieuLivraison: string;\n };\n\n periodeDeFacturation: {\n dateDebut: string;\n dateFin: string;\n };\n adresseDeLivraisonRealisationPrestationDeService: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n instructionsDePaiement: {\n codeMoyen: string;\n libelleMoyen: 'Virement';\n avis: string;\n virement: {\n identifiantComptePaiement: string;\n nomComptePaiement: string;\n identifiantPrestatairePaiement: string;\n };\n };\n totauxDuDocument: {\n sommeMontantNetLigne: number;\n sommeRemiseDocument: number;\n sommeChargeDocument: number;\n montantTotalFactureHorsTva: number;\n montantTotalTvaFacture: number;\n montantTotalFactureAvecTva: number;\n montantPaye: number;\n montantAPayer: number;\n };\n ventilationDeLaTva: Array<{\n baseImpositionTva: number;\n montantTypeTva: number;\n codeTypeTva: string;\n tauxTypeTva: number;\n }>;\n ligneDeFacture: Array<{\n identifiant: string;\n quantiteFacture: number;\n codeQuantiteFacture: string;\n montantNetFacture: number;\n detailDuPrix: {\n prixNet: number;\n rabaisPrix: number;\n prixBrut: number;\n quantiteBasePrix: number;\n codeQuantitePrix: string;\n };\n informationSurLaTva: {\n codeTypeTva: string;\n tauxTva: number;\n };\n informationSurArticle: {\n designation: string;\n description: string;\n };\n }>;\n};\n\nexport type ReadDocoonSearch = {\n total: number;\n offset: number;\n limit: number;\n filter: {\n limit: number;\n offset: number;\n where: {\n updatedAfter: string;\n flowType: DocoonFlowType[];\n };\n };\n result: ReadDocoonResultSearch[];\n};\n\nexport type ReadDocoonResultSearch = {\n documentId: string;\n structureId: string;\n submittedAt: string;\n updatedAt: string;\n flowId: string;\n trackingId: string;\n flowDirection: DocoonFlowDirection;\n flowType: DocoonFlowType;\n flowStatus: string;\n flowSyntax: DocoonFlowSyntax;\n flowProfile: string;\n flowCategory: DocoonFlowCategory;\n isRead: boolean;\n documentTypeCode: string;\n documentStatus: string;\n name: string;\n acknowledgement?: DocoonFlowAcknowledgement;\n};\n\nexport type DocoonFlowAcknowledgement = {\n status: 'Ok' | 'Error';\n details?: Array<{\n level: string | null;\n item: string | null;\n reasonCode: string | null;\n reasonMessage: string | null;\n fullMessage: string | null;\n }>;\n};\nexport type DocoonFlowType = 'CustomerInvoice' | 'SupplierInvoice';\nexport type DocoonFlowDirection = 'In' | 'Out';\nexport type DocoonFlowSyntax = 'UBL' | 'CII' | 'Factur-X';\nexport type DocoonFlowCategory = 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';\n\nexport type DocoonFlowDocType = 'Original' | 'ReadableView';\n"]}
1
+ {"version":3,"file":"DocoonInvoice.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/DocoonInvoice.ts"],"names":[],"mappings":"","sourcesContent":["export type DocoonInvoice = {\n numeroFacture: string;\n dateEmission: string;\n codeType: string;\n codeDevise: string;\n codeDateExigibiliteTva: string;\n dateEcheance: string;\n referenceAcheteur: string;\n referenceBonCommande: string;\n numeroOrdreVente: string;\n identifiantObjetFacture: string;\n identifiantSchema: string;\n referenceComptableAcheteur: string;\n conditionPaiement: string;\n noteDeFacture: Array<{\n codeSujetNote: string;\n noteFacture: string;\n }>;\n controleDuProcessus: {\n typeProcessus: string;\n typeProfil: string;\n };\n /**\n * THIRDPARTY\n */\n vendeur: {\n raisonSociale: string;\n appellationCommerciale: string;\n identifiantPrive: Array<{\n identifiant: string;\n identifiantSchema: string;\n }>;\n numeroSiren: string;\n identifiantSchemaIdentifiant: string;\n identifiantFiscal: Array<{\n qualifiantIdentifiantFiscal: string;\n identifiantTva: string;\n }>;\n email: string;\n identifiantEmail: string;\n formeJuridique: string;\n adressePostale: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n contact: {\n pointContact: string;\n telephone: string;\n email: string;\n };\n countryCodeFR: boolean;\n };\n //\n acheteur: {\n raisonSociale: string;\n appellationCommerciale?: string;\n identifiantPrive: Array<{\n identifiant: string;\n identifiantSchema: string;\n }>;\n numeroSiren: string;\n identifiantSchemaIdentifiant: string;\n identifiantFiscal: Array<{\n qualifiantIdentifiantFiscal: string;\n identifiantTva: string;\n }>;\n email: string;\n identifiantEmail: string;\n adressePostale: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n contact: {\n pointContact: string;\n telephone: string;\n email: string;\n };\n countryCodeFR: boolean;\n };\n\n informationsDeLivraisonPresentationDeService: {\n lieuLivraison: string;\n };\n\n periodeDeFacturation: {\n dateDebut: string;\n dateFin: string;\n };\n adresseDeLivraisonRealisationPrestationDeService: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n instructionsDePaiement: {\n codeMoyen: string;\n libelleMoyen: 'Virement';\n avis: string;\n virement: {\n identifiantComptePaiement: string;\n nomComptePaiement: string;\n identifiantPrestatairePaiement: string;\n };\n };\n totauxDuDocument: {\n sommeMontantNetLigne: number;\n sommeRemiseDocument: number;\n sommeChargeDocument: number;\n montantTotalFactureHorsTva: number;\n montantTotalTvaFacture: number;\n montantTotalFactureAvecTva: number;\n montantPaye: number;\n montantAPayer: number;\n };\n ventilationDeLaTva: Array<{\n baseImpositionTva: number;\n montantTypeTva: number;\n codeTypeTva: string;\n tauxTypeTva: number;\n }>;\n ligneDeFacture: Array<{\n identifiant: string;\n quantiteFacture: number;\n codeQuantiteFacture: string;\n montantNetFacture: number;\n detailDuPrix: {\n prixNet: number;\n rabaisPrix: number;\n prixBrut: number;\n quantiteBasePrix: number;\n codeQuantitePrix: string;\n };\n informationSurLaTva: {\n codeTypeTva: string;\n tauxTva: number;\n };\n informationSurArticle: {\n designation: string;\n description: string;\n };\n }>;\n};\n\nexport type ReadDocoonSearch = {\n total: number;\n offset: number;\n limit: number;\n filter: {\n limit: number;\n offset: number;\n where: {\n updatedAfter: string;\n flowType: DocoonFlowType[];\n };\n };\n result: ReadDocoonResultSearch[];\n};\n\nexport type ReadDocoonResultSearch = {\n documentId: string;\n structureId: string;\n submittedAt: string;\n updatedAt: string;\n flowId: string;\n trackingId: string;\n flowDirection: DocoonFlowDirection;\n flowType: DocoonFlowType;\n flowStatus: string;\n flowSyntax: DocoonFlowSyntax;\n flowProfile: string;\n flowCategory: DocoonFlowCategory;\n isRead: boolean;\n documentTypeCode: string;\n documentStatus: string;\n name: string;\n acknowledgement?: DocoonFlowAcknowledgement;\n // There is probably a typo in the document but just in case, we handle both \"acknowledgment\" and \"acknowledgement\"\n acknowledgment?: DocoonFlowAcknowledgement;\n};\n\nexport type DocoonFlowAcknowledgement = {\n status: 'Ok' | 'Error';\n details?: DocoonFlowAcknowledgementDetails;\n};\n\nexport type DocoonFlowAcknowledgementDetails = {\n level: string | null;\n item: string | null;\n reasonCode: string | null;\n reasonMessage: string | null;\n fullMessage: string | null;\n};\n\nexport type DocoonFlowType = 'CustomerInvoice' | 'SupplierInvoice';\nexport type DocoonFlowDirection = 'In' | 'Out';\nexport type DocoonFlowSyntax = 'UBL' | 'CII' | 'Factur-X';\nexport type DocoonFlowCategory = 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';\n\nexport type DocoonFlowDocType = 'Original' | 'ReadableView';\n"]}
@@ -4,9 +4,5 @@ export type SyncFlowStatusResult = {
4
4
  status: EInvoicingStatusCode;
5
5
  message: string | null;
6
6
  docoonStatus: string;
7
- files: {
8
- xmlId: number | null;
9
- pdfId: number | null;
10
- };
11
7
  };
12
8
  //# sourceMappingURL=SyncFlowStatusResult.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SyncFlowStatusResult.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/einvoicing/SyncFlowStatusResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,oBAAoB,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;KACtB,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"SyncFlowStatusResult.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/einvoicing/SyncFlowStatusResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,oBAAoB,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SyncFlowStatusResult.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/einvoicing/SyncFlowStatusResult.ts"],"names":[],"mappings":"","sourcesContent":["import { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';\n\nexport type SyncFlowStatusResult = {\n id: number;\n status: EInvoicingStatusCode;\n message: string | null;\n docoonStatus: string;\n files: {\n xmlId: number | null;\n pdfId: number | null;\n };\n};\n"]}
1
+ {"version":3,"file":"SyncFlowStatusResult.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/einvoicing/SyncFlowStatusResult.ts"],"names":[],"mappings":"","sourcesContent":["import { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';\n\nexport type SyncFlowStatusResult = {\n id: number;\n status: EInvoicingStatusCode;\n message: string | null;\n docoonStatus: string;\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "2.0.70",
3
+ "version": "2.0.71",
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",
@@ -214,7 +214,12 @@ export type ReadEInvoicingReception = {
214
214
  };
215
215
  };
216
216
 
217
- export type ProductInvoiceFromEInvoice = Omit<IProductInvoice, 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'>;
217
+ export type ProductInvoiceFromEInvoice = Omit<
218
+ IProductInvoice,
219
+ 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'
220
+ > & {
221
+ idAccount: number | null;
222
+ };
218
223
 
219
224
  export type ReadEinvoiceInfo = {
220
225
  emissionDate: string;
@@ -3,6 +3,7 @@ import { IsString, IsOptional, IsArray, IsEnum, IsDateString, IsNumber } from 'c
3
3
  import { DocoonFlowType } from './DocoonInvoice.js';
4
4
  import { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';
5
5
  import { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';
6
+ import { ProductInvoiceFromEInvoice } from '#types/index.js';
6
7
 
7
8
  export type CreateLegalEntity = {
8
9
  name: string;
@@ -86,6 +87,11 @@ export class AcceptEInvoice {
86
87
  @IsEnum(EInvoicingStatusCode)
87
88
  status: EInvoicingStatusCode;
88
89
 
90
+ @ApiProperty()
91
+ @IsArray()
92
+ @IsOptional()
93
+ products?: ProductInvoiceFromEInvoice[];
94
+
89
95
  @ApiPropertyOptional()
90
96
  @IsString()
91
97
  @IsOptional()
@@ -181,18 +181,23 @@ export type ReadDocoonResultSearch = {
181
181
  documentStatus: string;
182
182
  name: string;
183
183
  acknowledgement?: DocoonFlowAcknowledgement;
184
+ // There is probably a typo in the document but just in case, we handle both "acknowledgment" and "acknowledgement"
185
+ acknowledgment?: DocoonFlowAcknowledgement;
184
186
  };
185
187
 
186
188
  export type DocoonFlowAcknowledgement = {
187
189
  status: 'Ok' | 'Error';
188
- details?: Array<{
189
- level: string | null;
190
- item: string | null;
191
- reasonCode: string | null;
192
- reasonMessage: string | null;
193
- fullMessage: string | null;
194
- }>;
190
+ details?: DocoonFlowAcknowledgementDetails;
191
+ };
192
+
193
+ export type DocoonFlowAcknowledgementDetails = {
194
+ level: string | null;
195
+ item: string | null;
196
+ reasonCode: string | null;
197
+ reasonMessage: string | null;
198
+ fullMessage: string | null;
195
199
  };
200
+
196
201
  export type DocoonFlowType = 'CustomerInvoice' | 'SupplierInvoice';
197
202
  export type DocoonFlowDirection = 'In' | 'Out';
198
203
  export type DocoonFlowSyntax = 'UBL' | 'CII' | 'Factur-X';
@@ -5,8 +5,4 @@ export type SyncFlowStatusResult = {
5
5
  status: EInvoicingStatusCode;
6
6
  message: string | null;
7
7
  docoonStatus: string;
8
- files: {
9
- xmlId: number | null;
10
- pdfId: number | null;
11
- };
12
8
  };