@silexpert/core 1.2.42 → 1.2.44

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.
Files changed (83) hide show
  1. package/dist/cjs/api/resources/BalanceSheet.d.ts +2 -1
  2. package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/BalanceSheet.js +3 -0
  4. package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
  5. package/dist/cjs/types/Enum/BalanceSheet.d.ts +4 -4
  6. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  7. package/dist/cjs/types/Enum/BalanceSheet.js +104 -21
  8. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  9. package/dist/cjs/types/Enum/BankCollectingState.d.ts +2 -1
  10. package/dist/cjs/types/Enum/BankCollectingState.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/BankCollectingState.js +7 -0
  12. package/dist/cjs/types/Enum/BankCollectingState.js.map +1 -1
  13. package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
  14. package/dist/cjs/types/Enum/BrandClementine.js +6 -0
  15. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  16. package/dist/cjs/types/Enum/Ged.d.ts +2 -1
  17. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/Ged.js +2 -0
  19. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  20. package/dist/cjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -1
  21. package/dist/cjs/types/Enum/ReasonNotSubscribed.js +12 -6
  22. package/dist/cjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
  23. package/dist/cjs/types/Interface/api/PaymentRecovery/Caarl.d.ts +1 -0
  24. package/dist/cjs/types/Interface/api/PaymentRecovery/Caarl.d.ts.map +1 -1
  25. package/dist/cjs/types/Interface/api/PaymentRecovery/Caarl.js.map +1 -1
  26. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +2 -2
  27. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  28. package/dist/cjs/types/Interface/api/balanceSheet/Query.js +4 -4
  29. package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  30. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
  31. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  32. package/dist/cjs/types/Interface/api/commercialManagement/Create.js +6 -0
  33. package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  34. package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts +1 -0
  35. package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  36. package/dist/cjs/types/Interface/models/ISocietyGescom.js.map +1 -1
  37. package/dist/mjs/api/resources/BalanceSheet.d.ts +2 -1
  38. package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
  39. package/dist/mjs/api/resources/BalanceSheet.js +6 -0
  40. package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
  41. package/dist/mjs/types/Enum/BalanceSheet.d.ts +4 -4
  42. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  43. package/dist/mjs/types/Enum/BalanceSheet.js +104 -21
  44. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  45. package/dist/mjs/types/Enum/BankCollectingState.d.ts +2 -1
  46. package/dist/mjs/types/Enum/BankCollectingState.d.ts.map +1 -1
  47. package/dist/mjs/types/Enum/BankCollectingState.js +7 -0
  48. package/dist/mjs/types/Enum/BankCollectingState.js.map +1 -1
  49. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  50. package/dist/mjs/types/Enum/BrandClementine.js +6 -0
  51. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  52. package/dist/mjs/types/Enum/Ged.d.ts +2 -1
  53. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  54. package/dist/mjs/types/Enum/Ged.js +2 -0
  55. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  56. package/dist/mjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -1
  57. package/dist/mjs/types/Enum/ReasonNotSubscribed.js +12 -6
  58. package/dist/mjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
  59. package/dist/mjs/types/Interface/api/PaymentRecovery/Caarl.d.ts +1 -0
  60. package/dist/mjs/types/Interface/api/PaymentRecovery/Caarl.d.ts.map +1 -1
  61. package/dist/mjs/types/Interface/api/PaymentRecovery/Caarl.js.map +1 -1
  62. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +2 -2
  63. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  64. package/dist/mjs/types/Interface/api/balanceSheet/Query.js +5 -5
  65. package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  66. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
  67. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  68. package/dist/mjs/types/Interface/api/commercialManagement/Create.js +7 -0
  69. package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  70. package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts +1 -0
  71. package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  72. package/dist/mjs/types/Interface/models/ISocietyGescom.js.map +1 -1
  73. package/package.json +1 -1
  74. package/ts/api/resources/BalanceSheet.ts +24 -2
  75. package/ts/types/Enum/BalanceSheet.ts +106 -23
  76. package/ts/types/Enum/BankCollectingState.ts +8 -1
  77. package/ts/types/Enum/BrandClementine.ts +6 -0
  78. package/ts/types/Enum/Ged.ts +49 -47
  79. package/ts/types/Enum/ReasonNotSubscribed.ts +12 -6
  80. package/ts/types/Interface/api/PaymentRecovery/Caarl.ts +1 -0
  81. package/ts/types/Interface/api/balanceSheet/Query.ts +5 -5
  82. package/ts/types/Interface/api/commercialManagement/Create.ts +5 -0
  83. package/ts/types/Interface/models/ISocietyGescom.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AAEzB,6CAAqE;AACrE,sFAA2E;AAC3E,6EAA8H;AAC9H,mEAAoE;AACpE,iEAA8D;AAO9D,MAAa,uBAAuB;CAgTnC;AAhTD,0DAgTC;AAzSG;IAND,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,EAAE;QACN,OAAO,EAAE,4BAA4B;KACtC,CAAC;;wDACwB;AAKxB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACe;AAKxB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACW;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEAC4B;AAKrC;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACY;AAKrB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACY;AAKrB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACW;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACmB;AAK5B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACoB;AAK7B;IAHD,IAAA,2BAAmB,G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AC,CAAC;;4DACR;AAK3B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACK;AAKd;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACgD;AAKzD;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;yEACK;AAMjC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACQ","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsIn, IsInt, IsNumber, IsObject, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, EmailType, FontIds, InvoiceLanguage, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areExternalBordersHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSignatureFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoUrl?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n paymentType?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n bonPour?: 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 @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage; \n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage; \n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string,\n dueDate: Date | null,\n idEstimateInvoiceType: EstimateInvoiceType,\n totalTaxExcluded: number,\n totalTaxIncluded: number,\n file?: IFile\n language: InvoiceLanguage\n },\n logoUrl: string | null,\n companyName: string,\n fileUrl: string | null,\n hostS3: string,\n hasVat: boolean\n};\n\nexport class CreateSaleEmail {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsEnum(EmailType)\n type: number; \n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class UpdateSaleEmail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number; \n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateGeneralConditionOfSale {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateGeneralConditionOfSale {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateSaleDocumentTemplate {\n @ApiProperty()\n @IsIn(Object.values(InvoiceLanguage))\n language: InvoiceLanguage;\n\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsObject()\n template: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiProperty()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateSaleDocumentTemplate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(Object.values(InvoiceLanguage))\n language?: InvoiceLanguage;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n template?: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AAEzB,6CAAqE;AACrE,sFAA2E;AAC3E,6EAA8H;AAC9H,mEAAoE;AACpE,iEAA8D;AAO9D,MAAa,uBAAuB;CAqTnC;AArTD,0DAqTC;AA9SG;IAND,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,EAAE;QACN,OAAO,EAAE,4BAA4B;KACtC,CAAC;;wDACwB;AAKxB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACe;AAKxB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACW;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEAC4B;AAKrC;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACY;AAKrB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACY;AAKrB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IA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AAA,0BAAQ,GAAE;;4DAC+C;AAIxD;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;yEACiB;AAK3C;IAHD,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACS;AAGvB,MAAa,0BAA0B;CA0BtC;AA1BD,gEA0BC;AAtBG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,sCAAe,CAAC,CAAC;;4DACR;AAK3B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACK;AAKd;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACgD;AAKzD;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;yEACK;AAMjC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACQ","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsIn, IsInt, IsNumber, IsObject, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, EmailType, FontIds, InvoiceLanguage, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areExternalBordersHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSignatureFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idGeneralConditionOfSale?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoUrl?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n paymentType?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n bonPour?: 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 @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage; \n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage; \n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string,\n dueDate: Date | null,\n idEstimateInvoiceType: EstimateInvoiceType,\n totalTaxExcluded: number,\n totalTaxIncluded: number,\n file?: IFile\n language: InvoiceLanguage\n },\n logoUrl: string | null,\n companyName: string,\n fileUrl: string | null,\n hostS3: string,\n hasVat: boolean\n};\n\nexport class CreateSaleEmail {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsEnum(EmailType)\n type: number; \n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class UpdateSaleEmail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number; \n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateGeneralConditionOfSale {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateGeneralConditionOfSale {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateSaleDocumentTemplate {\n @ApiProperty()\n @IsIn(Object.values(InvoiceLanguage))\n language: InvoiceLanguage;\n\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsObject()\n template: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiProperty()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateSaleDocumentTemplate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(Object.values(InvoiceLanguage))\n language?: InvoiceLanguage;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n template?: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}"]}
@@ -62,6 +62,7 @@ export interface ISocietyGescom {
62
62
  externalBorderColor?: string | null;
63
63
  idRibFile?: number | null;
64
64
  idSignatureFile?: number | null;
65
+ idGeneralConditionOfSale?: number | null;
65
66
  ribFile?: IFile;
66
67
  signatureFile?: IFile;
67
68
  createdAt?: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"ISocietyGescom.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyGescom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAC/F,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC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wB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,KAAK,CAAA;IACf,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ISocietyGescom.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyGescom.ts"],"names":[],"mappings":"","sourcesContent":["import { AccountingCategoryId, FontIds, LogoAlignment } from '../../Enum/CommercialManagement';\nimport { IFile } from './IFile';\n\n// societyGescom\nexport interface ISocietyGescom {\n id?: number;\n capital?: number | null;\n tvaCode?: string | null;\n rcs?: string | null;\n numberTradeDirectory?: string | null;\n bank?: string | null;\n iban?: string | null;\n bic?: string | null;\n mailContact?: string | null;\n phoneContact?: string | null;\n website?: string | null;\n penalties?: string | null;\n discount?: string | null;\n recoveryCost?: string | null;\n vatMention?: string | null;\n generatedBy?: boolean | null;\n bonPour?: boolean | null;\n acceptCheque?: boolean | null;\n mentionAutoent?: boolean | null;\n startInvoice?: number | null;\n startEstimate?: number | null;\n paymentsAccepted?: boolean | null;\n stripePaymentByDefault?: boolean;\n displayLogo?: boolean | null;\n cgv?: string | null;\n invoiceCgv?: boolean | null;\n template?: number | null;\n dayOfValidity?: number | null;\n color?: string | null;\n commercialName?: string | null;\n freeInvoiceText?: string | null;\n freeEstimateText?: string | null;\n accountingCategory?: AccountingCategoryId | null;\n shouldPayTaxAfterDebit?: boolean;\n logoAlignment?: LogoAlignment | null;\n isEdgingDisplayed?: boolean;\n edgingColor?: string;\n fontColor?: string;\n isCoordinatesFrameDisplayed?: boolean;\n areLinesSeparationHidden?: boolean;\n areColumnsSeparationHidden?: boolean;\n areExternalBordersHidden?: boolean;\n paymentType?: string | null;\n idFont?: FontIds | null;\n idSociety?: number | null;\n idTvaMargin?: number | null;\n shouldHideBrandName?: boolean;\n shouldHideEmailHeader?: boolean;\n customerBlockBorderThickness?: number | null;\n customerBlockBorderColor?: string | null;\n lineSeparationThickness?: number | null;\n lineSeparationType?: string | null;\n lineSeparationColor?: string | null;\n columnSeparationThickness?: number | null;\n columnSeparationType?: string | null;\n columnSeparationColor?: string | null;\n externalBorderThickness?: number | null;\n externalBorderType?: string | null;\n externalBorderColor?: string | null;\n idRibFile?: number | null;\n idSignatureFile?: number | null;\n ribFile?: IFile\n signatureFile?: IFile;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
1
+ {"version":3,"file":"ISocietyGescom.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyGescom.ts"],"names":[],"mappings":"","sourcesContent":["import { AccountingCategoryId, FontIds, LogoAlignment } from '../../Enum/CommercialManagement';\nimport { IFile } from './IFile';\n\n// societyGescom\nexport interface ISocietyGescom {\n id?: number;\n capital?: number | null;\n tvaCode?: string | null;\n rcs?: string | null;\n numberTradeDirectory?: string | null;\n bank?: string | null;\n iban?: string | null;\n bic?: string | null;\n mailContact?: string | null;\n phoneContact?: string | null;\n website?: string | null;\n penalties?: string | null;\n discount?: string | null;\n recoveryCost?: string | null;\n vatMention?: string | null;\n generatedBy?: boolean | null;\n bonPour?: boolean | null;\n acceptCheque?: boolean | null;\n mentionAutoent?: boolean | null;\n startInvoice?: number | null;\n startEstimate?: number | null;\n paymentsAccepted?: boolean | null;\n stripePaymentByDefault?: boolean;\n displayLogo?: boolean | null;\n cgv?: string | null;\n invoiceCgv?: boolean | null;\n template?: number | null;\n dayOfValidity?: number | null;\n color?: string | null;\n commercialName?: string | null;\n freeInvoiceText?: string | null;\n freeEstimateText?: string | null;\n accountingCategory?: AccountingCategoryId | null;\n shouldPayTaxAfterDebit?: boolean;\n logoAlignment?: LogoAlignment | null;\n isEdgingDisplayed?: boolean;\n edgingColor?: string;\n fontColor?: string;\n isCoordinatesFrameDisplayed?: boolean;\n areLinesSeparationHidden?: boolean;\n areColumnsSeparationHidden?: boolean;\n areExternalBordersHidden?: boolean;\n paymentType?: string | null;\n idFont?: FontIds | null;\n idSociety?: number | null;\n idTvaMargin?: number | null;\n shouldHideBrandName?: boolean;\n shouldHideEmailHeader?: boolean;\n customerBlockBorderThickness?: number | null;\n customerBlockBorderColor?: string | null;\n lineSeparationThickness?: number | null;\n lineSeparationType?: string | null;\n lineSeparationColor?: string | null;\n columnSeparationThickness?: number | null;\n columnSeparationType?: string | null;\n columnSeparationColor?: string | null;\n externalBorderThickness?: number | null;\n externalBorderType?: string | null;\n externalBorderColor?: string | null;\n idRibFile?: number | null;\n idSignatureFile?: number | null;\n idGeneralConditionOfSale?: number | null;\n ribFile?: IFile\n signatureFile?: IFile;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { IBalanceSheet, QueryBalanceSheetMonthlyStatistic, QueryBalanceSheetStatistic, QueryBalanceSheetAttestation, ReadBalanceSheetMonthlyStatistic, ReadBalanceSheetStatistic, ReadFreelanceTurnover, UpdateBalanceSheet, CreateBalanceSheetAttestation, QueryBalanceSheetGenerateUnpaid, ReadBalanceSheetConsistency } from '../..';
1
+ import { IBalanceSheet, QueryBalanceSheetMonthlyStatistic, QueryBalanceSheetStatistic, QueryBalanceSheetAttestation, ReadBalanceSheetMonthlyStatistic, ReadBalanceSheetStatistic, ReadFreelanceTurnover, UpdateBalanceSheet, CreateBalanceSheetAttestation, QueryBalanceSheetGenerateUnpaid, ReadBalanceSheetConsistency, QueryBalanceSheetSupervisedStatistic } from '../..';
2
2
  import { Resource } from '../Resource';
3
3
  import { AxiosResponse } from 'axios';
4
4
  export declare class BalanceSheet extends Resource {
@@ -6,6 +6,7 @@ export declare class BalanceSheet extends Resource {
6
6
  generateUnpaid(params: QueryBalanceSheetGenerateUnpaid): Promise<void>;
7
7
  getMonthlyStatistics(params: QueryBalanceSheetMonthlyStatistic): Promise<ReadBalanceSheetMonthlyStatistic>;
8
8
  getMonthlyStatisticsCsv(params: QueryBalanceSheetMonthlyStatistic): Promise<AxiosResponse>;
9
+ getSupervisedStatistics(params: QueryBalanceSheetSupervisedStatistic, signal?: AbortSignal): Promise<IBalanceSheet[]>;
9
10
  createAttestation(idBalanceSheet: number, params: CreateBalanceSheetAttestation): Promise<Buffer>;
10
11
  getAttestation(params: QueryBalanceSheetAttestation): Promise<string>;
11
12
  getPdf(params: {
@@ -1 +1 @@
1
- {"version":3,"file":"BalanceSheet.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iCAAiC,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,gCAAgC,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,2BAA2B,EAAE,MAAM,OAAO,CAAC;AACxU,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,qBAAa,YAAa,SAAQ,QAAQ;IACxC,aAAa,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAIrF,cAAc,CAAC,MAAM,EAAE,+BAA+B,GAAG,OAAO,CAAC,IAAI,CAAC;IAItE,oBAAoB,CAAC,MAAM,EAAE,iCAAiC,GAAG,OAAO,CAAC,gCAAgC,CAAC;IAI1G,uBAAuB,CAAC,MAAM,EAAE,iCAAiC,GAAG,OAAO,CAAC,aAAa,CAAC;IAI1F,iBAAiB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,MAAM,CAAC;IASjG,cAAc,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrE,MAAM,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IASvD,oBAAoB,CAA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B,GAAG,OAAO,CAAC,MAAM,CAAC;IASjG,cAAc,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrE,MAAM,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IASvD,oBAAoB,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAIpF,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,aAAa,CAAC;IAItE,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAIhE,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,EAAE,CAAC;CAG3E"}
@@ -12,6 +12,12 @@ export class BalanceSheet extends Resource {
12
12
  getMonthlyStatisticsCsv(params) {
13
13
  return this.axios.$get('/exercice/balanceSheet/monthly-statistics-csv', { params });
14
14
  }
15
+ getSupervisedStatistics(params, signal) {
16
+ return this.axios.$get('/exercice/balanceSheet/supervised-statistics', {
17
+ ...(signal ? { signal } : {}),
18
+ params,
19
+ });
20
+ }
15
21
  createAttestation(idBalanceSheet, params) {
16
22
  return this.axios.$post(`/exercice/balanceSheet/${idBalanceSheet}/attestations`, params, {
17
23
  responseType: 'arraybuffer',
@@ -1 +1 @@
1
- {"version":3,"file":"BalanceSheet.js","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheet.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,aAAa,CAAC,MAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,c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,aAAa,CAAC,UAAkB;QAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,UAAU,iBAAiB,CAAC,CAAC;IACnE,CAAC;IAED,cAAc,CAAC,UAAkB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,cAAc,CAAC,CAAC;IACjE,CAAC;CACF","sourcesContent":["import { IBalanceSheet, QueryBalanceSheetMonthlyStatistic, QueryBalanceSheetStatistic, QueryBalanceSheetAttestation, ReadBalanceSheetMonthlyStatistic, ReadBalanceSheetStatistic, ReadFreelanceTurnover, UpdateBalanceSheet, CreateBalanceSheetAttestation, QueryBalanceSheetGenerateUnpaid, ReadBalanceSheetConsistency } from '../..';\nimport { Resource } from '../Resource';\nimport { AxiosResponse } from 'axios';\n\n\nexport class BalanceSheet extends Resource {\n getStatistics(params: QueryBalanceSheetStatistic): Promise<ReadBalanceSheetStatistic> {\n return this.axios.$get('/exercice/balanceSheet/statistics', { params });\n }\n\n generateUnpaid(params: QueryBalanceSheetGenerateUnpaid): Promise<void> {\n return this.axios.$post('/exercice/balanceSheet/generate-unpaid', params);\n }\n\n getMonthlyStatistics(params: QueryBalanceSheetMonthlyStatistic): Promise<ReadBalanceSheetMonthlyStatistic> {\n return this.axios.$get('/exercice/balanceSheet/monthly-statistics', { params });\n }\n\n getMonthlyStatisticsCsv(params: QueryBalanceSheetMonthlyStatistic): Promise<AxiosResponse> {\n return this.axios.$get('/exercice/balanceSheet/monthly-statistics-csv', { params });\n }\n\n createAttestation(idBalanceSheet: number, params: CreateBalanceSheetAttestation): Promise<Buffer> {\n return this.axios.$post(`/exercice/balanceSheet/${idBalanceSheet}/attestations`, params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAttestation(params: QueryBalanceSheetAttestation): Promise<string> {\n return this.axios.$get('/exercice/balanceSheet/attestations', { params });\n }\n\n getPdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getFreelanceTurnover(params: { idExercice: number }): Promise<ReadFreelanceTurnover> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/freelanceTurnover`);\n }\n\n update(id: number, params: UpdateBalanceSheet): Promise<IBalanceSheet> {\n return this.axios.$put(`/exercice/balanceSheet/${id}`, params);\n }\n\n getByExercice(idExercice: number): Promise<IBalanceSheet | null> {\n return this.axios.$get(`/exercice/${idExercice}/balance-sheets`);\n }\n\n getConsistency(idExercice: number): Promise<ReadBalanceSheetConsistency[]> {\n return this.axios.$get(`/exercices/${idExercice}/consistency`);\n }\n}\n"]}
1
+ {"version":3,"file":"BalanceSheet.js","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheet.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,aAAa,CAAC,MAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,cAAc,CAAC,MAAuC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wCAAwC,EAAE,MAAM,CAAC,CAAC;IAC5E,CAAC;IAED,oBAAoB,CAAC,MAAyC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2CAA2C,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,uBAAuB,CAAC,MAAyC;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+CAA+C,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtF,CAAC;IAED,uBAAuB,CACrB,MAA4C,EAC5C,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,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ACjE,CAAC;CACF","sourcesContent":["import {\n IBalanceSheet,\n QueryBalanceSheetMonthlyStatistic,\n QueryBalanceSheetStatistic,\n QueryBalanceSheetAttestation,\n ReadBalanceSheetMonthlyStatistic,\n ReadBalanceSheetStatistic,\n ReadFreelanceTurnover,\n UpdateBalanceSheet,\n CreateBalanceSheetAttestation,\n QueryBalanceSheetGenerateUnpaid,\n ReadBalanceSheetConsistency,\n QueryBalanceSheetSupervisedStatistic,\n} from '../..';\nimport { Resource } from '../Resource';\nimport { AxiosResponse } from 'axios';\n\nexport class BalanceSheet extends Resource {\n getStatistics(params: QueryBalanceSheetStatistic): Promise<ReadBalanceSheetStatistic> {\n return this.axios.$get('/exercice/balanceSheet/statistics', { params });\n }\n\n generateUnpaid(params: QueryBalanceSheetGenerateUnpaid): Promise<void> {\n return this.axios.$post('/exercice/balanceSheet/generate-unpaid', params);\n }\n\n getMonthlyStatistics(params: QueryBalanceSheetMonthlyStatistic): Promise<ReadBalanceSheetMonthlyStatistic> {\n return this.axios.$get('/exercice/balanceSheet/monthly-statistics', { params });\n }\n\n getMonthlyStatisticsCsv(params: QueryBalanceSheetMonthlyStatistic): Promise<AxiosResponse> {\n return this.axios.$get('/exercice/balanceSheet/monthly-statistics-csv', { params });\n }\n\n getSupervisedStatistics(\n params: QueryBalanceSheetSupervisedStatistic,\n signal?: AbortSignal,\n ): Promise<IBalanceSheet[]> {\n return this.axios.$get('/exercice/balanceSheet/supervised-statistics', {\n ...(signal ? { signal } : {}),\n params,\n });\n }\n\n createAttestation(idBalanceSheet: number, params: CreateBalanceSheetAttestation): Promise<Buffer> {\n return this.axios.$post(`/exercice/balanceSheet/${idBalanceSheet}/attestations`, params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAttestation(params: QueryBalanceSheetAttestation): Promise<string> {\n return this.axios.$get('/exercice/balanceSheet/attestations', { params });\n }\n\n getPdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getFreelanceTurnover(params: { idExercice: number }): Promise<ReadFreelanceTurnover> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/freelanceTurnover`);\n }\n\n update(id: number, params: UpdateBalanceSheet): Promise<IBalanceSheet> {\n return this.axios.$put(`/exercice/balanceSheet/${id}`, params);\n }\n\n getByExercice(idExercice: number): Promise<IBalanceSheet | null> {\n return this.axios.$get(`/exercice/${idExercice}/balance-sheets`);\n }\n\n getConsistency(idExercice: number): Promise<ReadBalanceSheetConsistency[]> {\n return this.axios.$get(`/exercices/${idExercice}/consistency`);\n }\n}\n"]}
@@ -44,14 +44,14 @@ export declare const BalanceSheetDetails: readonly [{
44
44
  readonly alias: "ENC";
45
45
  readonly color: "grey";
46
46
  readonly textColor: "grey--text ";
47
- readonly forRoles: readonly [readonly ["front_office"], readonly ["expert"]];
47
+ readonly forRoles: readonly [readonly ["front_office"], readonly ["expert"], readonly ["customer_success"]];
48
48
  }, {
49
49
  readonly text: "Att. retour client";
50
50
  readonly value: BalanceSheetState.WAITING_CLIENT;
51
51
  readonly alias: "ARC";
52
52
  readonly color: "cyan";
53
53
  readonly textColor: "cyan--text";
54
- readonly forRoles: readonly [readonly ["front_office"], readonly ["expert"]];
54
+ readonly forRoles: readonly [readonly ["front_office"], readonly ["expert"], readonly ["customer_success"]];
55
55
  }, {
56
56
  readonly text: "À réviser";
57
57
  readonly value: BalanceSheetState.TO_REVISE;
@@ -82,14 +82,14 @@ export declare const BalanceSheetDetails: readonly [{
82
82
  readonly value: BalanceSheetState.SENDED_TO_CLIENT;
83
83
  readonly color: "blue";
84
84
  readonly textColor: "blue--text";
85
- readonly forRoles: readonly [readonly ["front_office"], readonly ["expert"]];
85
+ readonly forRoles: readonly [readonly ["front_office"], readonly ["expert"], readonly ["customer_success"]];
86
86
  }, {
87
87
  readonly text: "Accepté par le client";
88
88
  readonly value: BalanceSheetState.ACCEPTED_BY_CLIENT;
89
89
  readonly color: "blue darken-2";
90
90
  readonly textColor: "blue--text ";
91
91
  readonly alias: "APC";
92
- readonly forRoles: readonly [readonly ["front_office"], readonly ["expert"]];
92
+ readonly forRoles: readonly [readonly ["front_office"], readonly ["expert"], readonly ["customer_success"]];
93
93
  }, {
94
94
  readonly text: "Refusé par le client";
95
95
  readonly value: BalanceSheetState.REFUSED_BY_CLIENT;
@@ -1 +1 @@
1
- {"version":3,"file":"BalanceSheet.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/BalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,oBAAY,iBAAiB;IAC3B,KAAK,IAAI;IACT,eAAe,IAAI;IACnB,cAAc,IAAI;IAClB,gBAAgB,IAAI;IACpB,aAAa,IAAI;IACjB,cAAc,IAAI;IAClB,YAAY,IAAI;IAChB,kBAAkB,IAAI;IACtB,YAAY,IAAI;IAChB,OAAO,IAAI;IACX,SAAS,KAAK;IACd,UAAU,KAAK;IACf,cAAc,KAAK;IACnB,2BAA2B,KAAK;IAChC,MAAM,KAAK;IACX,kBAAkB,KAAK;IACvB,qBAAqB,KAAK;IAC1B,iBAAiB,KAAK;IACtB,iBAAiB,KAAK;IACtB,0BAA0B,KAAK;IAC/B,uBAAuB,KAAK;IAC5B,qBAAqB,KAAK;IAC1B,sBAAsB,KAAK;IAC3B,eAAe,KAAK;IACpB,wBAAwB,KAAK;IAC7B,qBAAqB,KAAK;IAC1B,sBAAsB,KAAK;IAC3B,4BAA4B,KAAK;IACjC,kBAAkB,KAAK;IACvB,iBAAiB,KAAK;CACvB;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE5B,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,qBAAqB,CAAC,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;CAC5D,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,EAAE,CAAC;AAEnD,eAAO,MAAM,yBAAyB,EAAE,gBAmUvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,gBAsQxC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,iBAAiB,EAajE,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;EAyB1B,CAAC"}
@@ -39,7 +39,15 @@ export const BalanceSheetDetails = [
39
39
  text: 'À faire',
40
40
  color: 'grey',
41
41
  textColor: 'grey--text',
42
- forRoles: [['front_office'], ['expert'], ['customer_success'], ['on_boarder'], ['termination'], ['litige'], ['facturation']],
42
+ forRoles: [
43
+ ['front_office'],
44
+ ['expert'],
45
+ ['customer_success'],
46
+ ['on_boarder'],
47
+ ['termination'],
48
+ ['litige'],
49
+ ['facturation'],
50
+ ],
43
51
  },
44
52
  {
45
53
  text: 'En cours de prod.',
@@ -47,7 +55,7 @@ export const BalanceSheetDetails = [
47
55
  alias: 'ENC',
48
56
  color: 'grey',
49
57
  textColor: 'grey--text ',
50
- forRoles: [['front_office'], ['expert']],
58
+ forRoles: [['front_office'], ['expert'], ['customer_success']],
51
59
  },
52
60
  {
53
61
  text: 'Att. retour client',
@@ -55,7 +63,7 @@ export const BalanceSheetDetails = [
55
63
  alias: 'ARC',
56
64
  color: 'cyan',
57
65
  textColor: 'cyan--text',
58
- forRoles: [['front_office'], ['expert']],
66
+ forRoles: [['front_office'], ['expert'], ['customer_success']],
59
67
  },
60
68
  {
61
69
  text: 'À réviser',
@@ -91,7 +99,7 @@ export const BalanceSheetDetails = [
91
99
  value: BalanceSheetState.SENDED_TO_CLIENT,
92
100
  color: 'blue',
93
101
  textColor: 'blue--text',
94
- forRoles: [['front_office'], ['expert']],
102
+ forRoles: [['front_office'], ['expert'], ['customer_success']],
95
103
  },
96
104
  {
97
105
  text: 'Accepté par le client',
@@ -99,7 +107,7 @@ export const BalanceSheetDetails = [
99
107
  color: 'blue darken-2',
100
108
  textColor: 'blue--text ',
101
109
  alias: 'APC',
102
- forRoles: [['front_office'], ['expert']],
110
+ forRoles: [['front_office'], ['expert'], ['customer_success']],
103
111
  },
104
112
  {
105
113
  text: 'Refusé par le client',
@@ -141,7 +149,13 @@ export const BalanceSheetDetails = [
141
149
  text: 'N/A',
142
150
  color: 'grey lighten-2',
143
151
  textColor: 'grey--text',
144
- forRoles: [['customer_success', 'manager'], ['on_boarder', 'manager'], ['termination', 'manager'], ['litige', 'manager'], ['facturation', 'manager']],
152
+ forRoles: [
153
+ ['customer_success', 'manager'],
154
+ ['on_boarder', 'manager'],
155
+ ['termination', 'manager'],
156
+ ['litige', 'manager'],
157
+ ['facturation', 'manager'],
158
+ ],
145
159
  },
146
160
  {
147
161
  text: 'Impayé',
@@ -149,7 +163,15 @@ export const BalanceSheetDetails = [
149
163
  color: 'error darken-2',
150
164
  textColor: 'error--text text--darken-2',
151
165
  key: 'unpaid',
152
- forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['customer_success'], ['on_boarder'], ['termination'], ['litige'], ['facturation']],
166
+ forRoles: [
167
+ ['front_office', 'manager'],
168
+ ['front_office_express', 'manager'],
169
+ ['customer_success'],
170
+ ['on_boarder'],
171
+ ['termination'],
172
+ ['litige'],
173
+ ['facturation'],
174
+ ],
153
175
  },
154
176
  {
155
177
  text: 'Facturation en cours',
@@ -201,14 +223,14 @@ export const BalanceSheetDetails = [
201
223
  forRoles: [['front_office'], ['expert']],
202
224
  },
203
225
  {
204
- text: 'Accepté SIE en l\'état',
226
+ text: "Accepté SIE en l'état",
205
227
  value: BalanceSheetState.ACCEPTED_BY_SIE_IN_STATE,
206
228
  color: 'green darken-3',
207
229
  colorText: 'green--text',
208
230
  forRoles: [['front_office'], ['expert']],
209
231
  },
210
232
  {
211
- text: 'Refus d\'établir',
233
+ text: "Refus d'établir",
212
234
  value: BalanceSheetState.ESTABLISH_REFUSED,
213
235
  color: 'orange darken-1',
214
236
  colorText: 'orange--text text--darken-1',
@@ -266,7 +288,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
266
288
  isSubcategory: true,
267
289
  fields: [
268
290
  {
269
- name: 'Frais d\'établissement',
291
+ name: "Frais d'établissement",
270
292
  accounts: ['201'],
271
293
  accountsDeducted: ['2801'],
272
294
  total: 0,
@@ -355,7 +377,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
355
377
  accountsDeducted: ['2967', '2968'],
356
378
  },
357
379
  {
358
- name: 'Titres immobilisés de l\'activité de portefeuille',
380
+ name: "Titres immobilisés de l'activité de portefeuille",
359
381
  accounts: ['273'],
360
382
  accountsDeducted: ['2973'],
361
383
  },
@@ -441,7 +463,36 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
441
463
  {
442
464
  // autres = lorsque les fournisseurs te doivent de l'argent = somme débit > crédit
443
465
  name: 'Autres',
444
- accounts: ['401', '408', '4096', '4097', '4098', '42', '43', '44', '451', '452', '453', '454', '455', '4561', '4563', '4564', '4565', '4566', '4567', '4568', '4569', '457', '458', '459', '46', '471', '472', '481'],
466
+ accounts: [
467
+ '401',
468
+ '408',
469
+ '4096',
470
+ '4097',
471
+ '4098',
472
+ '42',
473
+ '43',
474
+ '44',
475
+ '451',
476
+ '452',
477
+ '453',
478
+ '454',
479
+ '455',
480
+ '4561',
481
+ '4563',
482
+ '4564',
483
+ '4565',
484
+ '4566',
485
+ '4567',
486
+ '4568',
487
+ '4569',
488
+ '457',
489
+ '458',
490
+ '459',
491
+ '46',
492
+ '471',
493
+ '472',
494
+ '481',
495
+ ],
445
496
  idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.PLUS],
446
497
  accountsDeducted: ['495', '496'], // Actif : On compte dedans que ceux qui sont positifs que 4
447
498
  type: 'active',
@@ -482,7 +533,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
482
533
  type: 'active',
483
534
  },
484
535
  {
485
- name: 'Charges constatées d\'avance',
536
+ name: "Charges constatées d'avance",
486
537
  key: 'establishedInAdvance',
487
538
  accounts: ['486'],
488
539
  },
@@ -527,7 +578,16 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
527
578
  total: 0,
528
579
  totalDeducted: 0,
529
580
  calculation: true,
530
- calculationAdd: ['fixedAsset', 'subscribedCapital', 'circulatingActive', 'total3', 'total4', 'total3', 'total4', 'total5'],
581
+ calculationAdd: [
582
+ 'fixedAsset',
583
+ 'subscribedCapital',
584
+ 'circulatingActive',
585
+ 'total3',
586
+ 'total4',
587
+ 'total3',
588
+ 'total4',
589
+ 'total5',
590
+ ],
531
591
  isTotal: true,
532
592
  },
533
593
  ];
@@ -540,7 +600,7 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
540
600
  total: 0,
541
601
  },
542
602
  {
543
- name: 'Primes d\'émission, de fusion, d\'apport',
603
+ name: "Primes d'émission, de fusion, d'apport",
544
604
  key: 'issuePremiums',
545
605
  accounts: ['104'],
546
606
  isSubcategory: true,
@@ -554,7 +614,7 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
554
614
  total: 0,
555
615
  },
556
616
  {
557
- name: 'Ecart d\'équivalence',
617
+ name: "Ecart d'équivalence",
558
618
  key: 'equivalenceGap',
559
619
  accounts: ['107'],
560
620
  isSubcategory: true,
@@ -594,14 +654,14 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
594
654
  total: 0,
595
655
  },
596
656
  {
597
- name: 'Résultat de l\'exercice (bénéfice ou perte)',
657
+ name: "Résultat de l'exercice (bénéfice ou perte)",
598
658
  key: 'resultExercice',
599
659
  accounts: ['12'], // comptes 6 - 7
600
660
  isSubcategory: true,
601
661
  total: 0,
602
662
  },
603
663
  {
604
- name: 'Subventions d\'investissement',
664
+ name: "Subventions d'investissement",
605
665
  key: 'subsidies',
606
666
  accounts: ['13'],
607
667
  isSubcategory: true,
@@ -618,7 +678,17 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
618
678
  name: 'Total (I)',
619
679
  key: 'total1',
620
680
  calculation: true,
621
- calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated'],
681
+ calculationAdd: [
682
+ 'subscribedCapital',
683
+ 'issuePremiums',
684
+ 'equivalenceGap',
685
+ 'revaluationGap',
686
+ 'reservations',
687
+ 'postponement',
688
+ 'resultExercice',
689
+ 'subsidies',
690
+ 'subsidiesRegulated',
691
+ ],
622
692
  isTotal: true,
623
693
  total: 0,
624
694
  },
@@ -739,7 +809,7 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
739
809
  type: 'passive',
740
810
  },
741
811
  {
742
- name: 'Produits constatés d\'avance',
812
+ name: "Produits constatés d'avance",
743
813
  key: 'advanceProducts',
744
814
  accounts: ['487', '489'],
745
815
  isSubcategory: true,
@@ -767,7 +837,20 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
767
837
  key: 'total5',
768
838
  total: 0,
769
839
  calculation: true,
770
- calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated', 'provisions', 'debts', 'total4'],
840
+ calculationAdd: [
841
+ 'subscribedCapital',
842
+ 'issuePremiums',
843
+ 'equivalenceGap',
844
+ 'revaluationGap',
845
+ 'reservations',
846
+ 'postponement',
847
+ 'resultExercice',
848
+ 'subsidies',
849
+ 'subsidiesRegulated',
850
+ 'provisions',
851
+ 'debts',
852
+ 'total4',
853
+ ],
771
854
  isTotal: true,
772
855
  },
773
856
  ];