@silexpert/core 1.3.193-ca12-3 → 1.3.193

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 (49) hide show
  1. package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -19
  2. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +1 -1
  3. package/dist/cjs/types/Enum/SocietyApproval.js +1 -76
  4. package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/cerfa/3514.d.ts +2 -2
  6. package/dist/cjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
  7. package/dist/cjs/types/Interface/api/cerfa/3514.js.map +1 -1
  8. package/dist/cjs/types/Interface/api/cerfa/3517.d.ts +233 -238
  9. package/dist/cjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
  10. package/dist/cjs/types/Interface/api/cerfa/3517.js.map +1 -1
  11. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
  12. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  13. package/dist/cjs/utils/vat/3517/century23.d.ts +8 -0
  14. package/dist/cjs/utils/vat/3517/century23.d.ts.map +1 -0
  15. package/dist/cjs/utils/vat/3517/{century26.js → century23.js} +193 -247
  16. package/dist/cjs/utils/vat/3517/century23.js.map +1 -0
  17. package/dist/cjs/utils/vat/centuries.js +13 -13
  18. package/dist/cjs/utils/vat/centuries.js.map +1 -1
  19. package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -19
  20. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +1 -1
  21. package/dist/mjs/types/Enum/SocietyApproval.js +0 -75
  22. package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -1
  23. package/dist/mjs/types/Interface/api/cerfa/3514.d.ts +2 -2
  24. package/dist/mjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
  25. package/dist/mjs/types/Interface/api/cerfa/3514.js.map +1 -1
  26. package/dist/mjs/types/Interface/api/cerfa/3517.d.ts +233 -238
  27. package/dist/mjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
  28. package/dist/mjs/types/Interface/api/cerfa/3517.js.map +1 -1
  29. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
  30. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  31. package/dist/mjs/utils/vat/3517/century23.d.ts +8 -0
  32. package/dist/mjs/utils/vat/3517/century23.d.ts.map +1 -0
  33. package/dist/mjs/utils/vat/3517/{century26.js → century23.js} +135 -189
  34. package/dist/mjs/utils/vat/3517/century23.js.map +1 -0
  35. package/dist/mjs/utils/vat/centuries.js +13 -13
  36. package/dist/mjs/utils/vat/centuries.js.map +1 -1
  37. package/package.json +1 -1
  38. package/ts/types/Enum/SocietyApproval.ts +0 -83
  39. package/ts/types/Interface/api/cerfa/3514.ts +2 -2
  40. package/ts/types/Interface/api/cerfa/3517.ts +211 -207
  41. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +1 -1
  42. package/ts/utils/vat/3517/{century26.ts → century23.ts} +145 -203
  43. package/ts/utils/vat/centuries.ts +21 -21
  44. package/dist/cjs/utils/vat/3517/century26.d.ts +0 -8
  45. package/dist/cjs/utils/vat/3517/century26.d.ts.map +0 -1
  46. package/dist/cjs/utils/vat/3517/century26.js.map +0 -1
  47. package/dist/mjs/utils/vat/3517/century26.d.ts +0 -8
  48. package/dist/mjs/utils/vat/3517/century26.d.ts.map +0 -1
  49. package/dist/mjs/utils/vat/3517/century26.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":";;;AA8BA,MAAa,cAAc;CAG1B;AAHD,wCAGC","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2031Century,\n AnyCerfa2033Century,\n AnyCerfa2050Century,\n AnyCerfa2035Century,\n AnyCerfa2065Century,\n AnyCerfa2571Century,\n AnyCerfa2572Century,\n Cerfa2069RCI_2024,\n Cerfa2573_2024,\n Cerfa3519_2017,\n FieldForGeneration,\n PayloadCerfa3519_2017,\n QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue {\n key: string;\n value: string | number | boolean | null;\n}\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[];\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType;\n name: string;\n century: string; // Millésime du formulaire ASPONE\n centuries: number[];\n payload: (...args: any[]) => any;\n asponePayload: (...args: any[]) => any;\n fields: Array<CerfaPayloadForm>;\n fileName: '3310-2023' | '3514-2022' | '3310-2024' | '3517-2025' | '3310-2025' | '3517-2026';\n annex?: AnnexVatDocument;\n annexFields?: (data: any) => AsponeFormFields;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null;\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress;\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null;\n code: string | null;\n };\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording | keyof typeof Question]: any;\n};\n\nexport type Termination = {\n type: TerminationType;\n date: string | null;\n};\n\nexport type AsponeFormFields = Array<{\n name: string;\n /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */\n nilKey?: string;\n fields: FieldForGeneration[];\n index?: number;\n}>;\nexport type AsponeFormField = {\n name: string;\n /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */\n nilKey?: string;\n fields: FieldForGeneration[];\n};\n\nexport interface RegistrationPayload {\n cerfa2573?: Cerfa2573_2024;\n cerfa2572?: AnyCerfa2572Century;\n cerfa2571?: AnyCerfa2571Century;\n cerfa2031?: AnyCerfa2031Century;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2050?: AnyCerfa2050Century;\n cerfa2065?: AnyCerfa2065Century;\n cerfa2035?: AnyCerfa2035Century;\n cerfa2069RCI?: Cerfa2069RCI_2024;\n}\n\nexport type ReadFormFile = {\n name: string;\n idFile: number;\n size: number;\n token: string;\n id?: number;\n Location: string;\n ETag: string;\n Bucket: string;\n Key?: string;\n mimeType?: string;\n};\n\nexport interface ReadFormGeneration {\n file: ReadFormFile;\n payload: RegistrationPayload;\n}\n\nexport interface ReadAnnexFormGeneration {\n file?: ReadFormFile;\n payload: RegistrationPayload;\n}\n"]}
1
+ {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":";;;AA8BA,MAAa,cAAc;CAG1B;AAHD,wCAGC","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2031Century,\n AnyCerfa2033Century,\n AnyCerfa2050Century,\n AnyCerfa2035Century,\n AnyCerfa2065Century,\n AnyCerfa2571Century,\n AnyCerfa2572Century,\n Cerfa2069RCI_2024,\n Cerfa2573_2024,\n Cerfa3519_2017,\n FieldForGeneration,\n PayloadCerfa3519_2017,\n QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue {\n key: string;\n value: string | number | boolean | null;\n}\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[];\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType;\n name: string;\n century: string; // Millésime du formulaire ASPONE\n centuries: number[];\n payload: (...args: any[]) => any;\n asponePayload: (...args: any[]) => any;\n fields: Array<CerfaPayloadForm>;\n fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024' | '3517-2025' | '3310-2025';\n annex?: AnnexVatDocument;\n annexFields?: (data: any) => AsponeFormFields;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null;\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress;\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null;\n code: string | null;\n };\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording | keyof typeof Question]: any;\n};\n\nexport type Termination = {\n type: TerminationType;\n date: string | null;\n};\n\nexport type AsponeFormFields = Array<{\n name: string;\n /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */\n nilKey?: string;\n fields: FieldForGeneration[];\n index?: number;\n}>;\nexport type AsponeFormField = {\n name: string;\n /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */\n nilKey?: string;\n fields: FieldForGeneration[];\n};\n\nexport interface RegistrationPayload {\n cerfa2573?: Cerfa2573_2024;\n cerfa2572?: AnyCerfa2572Century;\n cerfa2571?: AnyCerfa2571Century;\n cerfa2031?: AnyCerfa2031Century;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2050?: AnyCerfa2050Century;\n cerfa2065?: AnyCerfa2065Century;\n cerfa2035?: AnyCerfa2035Century;\n cerfa2069RCI?: Cerfa2069RCI_2024;\n}\n\nexport type ReadFormFile = {\n name: string;\n idFile: number;\n size: number;\n token: string;\n id?: number;\n Location: string;\n ETag: string;\n Bucket: string;\n Key?: string;\n mimeType?: string;\n};\n\nexport interface ReadFormGeneration {\n file: ReadFormFile;\n payload: RegistrationPayload;\n}\n\nexport interface ReadAnnexFormGeneration {\n file?: ReadFormFile;\n payload: RegistrationPayload;\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import { Cerfa3517_2023, PayloadCerfa3517_2023 } from '../../../types/Interface/api/cerfa/3517';
2
+ import { IAccountingEntry } from '../../../types/Interface/models/IAccountingEntry';
3
+ import { AsponeFormFields, CerfaPayloadForm } from '../../../types';
4
+ export declare function getCerfa3517Century23Payload(accountingEntries: IAccountingEntry[], payload: PayloadCerfa3517_2023): Cerfa3517_2023;
5
+ export declare function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): AsponeFormFields;
6
+ export declare function getCerfa3517DDRCentury23egistrationField(data: Cerfa3517_2023): AsponeFormFields;
7
+ export declare const cerfa3517Century23Fields: CerfaPayloadForm[];
8
+ //# sourceMappingURL=century23.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../../ts/utils/vat/3517/century23.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAGpF,OAAO,EAAE,gBAAgB,EAAkB,gBAAgB,EAAiB,MAAM,gBAAgB,CAAC;AAEnG,wBAAgB,4BAA4B,CAC1C,iBAAiB,EAAE,gBAAgB,EAAE,EACrC,OAAO,EAAE,qBAAqB,GAC7B,cAAc,CAsgBhB;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAmrC3F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAiK/F;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EA2atD,CAAC"}