@silexpert/core 1.1.383 → 1.1.384
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/BankAccount.js +1 -1
- package/dist/cjs/api/resources/BankAccount.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -2
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/Aspone.d.ts +6 -0
- package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Aspone.js +8 -1
- package/dist/cjs/types/Enum/Aspone.js.map +1 -1
- package/dist/cjs/types/Enum/FuelType.d.ts +2 -0
- package/dist/cjs/types/Enum/FuelType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/FuelType.js +15 -14
- package/dist/cjs/types/Enum/FuelType.js.map +1 -1
- package/dist/cjs/types/Interface/api/aspone/ReadInterchange.d.ts +2 -1
- package/dist/cjs/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +9 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts +5 -0
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +9 -0
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +1 -3
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts +1 -3
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +23 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklist.d.ts +3 -0
- package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
- package/dist/mjs/api/resources/BankAccount.js +1 -1
- package/dist/mjs/api/resources/BankAccount.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -2
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/Aspone.d.ts +6 -0
- package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Aspone.js +7 -0
- package/dist/mjs/types/Enum/Aspone.js.map +1 -1
- package/dist/mjs/types/Enum/FuelType.d.ts +2 -0
- package/dist/mjs/types/Enum/FuelType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/FuelType.js +15 -14
- package/dist/mjs/types/Enum/FuelType.js.map +1 -1
- package/dist/mjs/types/Interface/api/aspone/ReadInterchange.d.ts +2 -1
- package/dist/mjs/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +9 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts +5 -0
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +9 -0
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +1 -3
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts +1 -3
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +23 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklist.d.ts +3 -0
- package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BankAccount.ts +1 -1
- package/ts/api/resources.ts +0 -2
- package/ts/types/Enum/Aspone.ts +7 -0
- package/ts/types/Enum/FuelType.ts +18 -15
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +2 -1
- package/ts/types/Interface/api/cerfa/2031.ts +3 -1
- package/ts/types/Interface/api/cerfa/2035.ts +2 -0
- package/ts/types/Interface/api/cerfa/2065.ts +4 -2
- package/ts/types/Interface/api/cerfa/2571.ts +1 -3
- package/ts/types/Interface/api/cerfa/2572.ts +5 -2
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +30 -1
- package/ts/types/Interface/models/IChecklist.ts +3 -0
- package/dist/cjs/api/resources/Cerfa.d.ts +0 -25
- package/dist/cjs/api/resources/Cerfa.d.ts.map +0 -1
- package/dist/cjs/api/resources/Cerfa.js +0 -37
- package/dist/cjs/api/resources/Cerfa.js.map +0 -1
- package/dist/mjs/api/resources/Cerfa.d.ts +0 -25
- package/dist/mjs/api/resources/Cerfa.d.ts.map +0 -1
- package/dist/mjs/api/resources/Cerfa.js +0 -33
- package/dist/mjs/api/resources/Cerfa.js.map +0 -1
- package/ts/api/resources/Cerfa.ts +0 -39
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2065.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2065.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"2065.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2065.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EACL,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EACjF,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,MAAM,qBAAqB,GAAG;IAClC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,kBAAkB;IAE3B,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,KAAK,gBAAgB,GAAG;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,gBAAgB;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,YAAY,CAAC;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AAE,MAAM,CAAC;QACf,aAAa,EAAE,MAAM,CAAC;QACtB,sBAAsB,EAAE,gBAAgB,CAAC;QACzC,OAAO,EAAE,gBAAgB,CAAC;QAC1B,QAAQ,EAAE,gBAAgB,CAAC;QAC3B,SAAS,EAAE,gBAAgB,CAAC;KAC7B,CAAA;IACD,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;KAAE,CAAA;CAC9C;AAED,MAAM,MAAM,gBAAgB,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE;QAAE,SAAS,EAAE,SAAS,CAAC;QAAC,SAAS,EAAE,SAAS,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2065.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2065.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"2065.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2065.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAa,MAAM,aAAa,CAAC;AAe7D,MAAM,OAAO,kBAAkB;IAE3B,MAAM,CAAW;CACpB;AADG;IADD,mBAAmB,CAAC,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;;kDAC9C;AASrB,MAAM,OAAO,gBAAgB;IAC3B,IAAI,CAAS;IACb,gBAAgB,CAAS;IACzB,aAAa,CAAe;IAC5B,KAAK,CAAS;IACd,KAAK,CAAS;IACd,UAAU,CAAgB;IAC1B,iBAAiB,CAAe;CACjC;AAED,MAAM,OAAO,sBAAsB;IACjC,IAAI,CAAS;IACb,OAAO,CAAe;IACtB,UAAU,CAAS;IACnB,IAAI,CAAS;IACb,MAAM,CAAS;IACf,WAAW,CAAS;IACpB,MAAM,CAAS;IACf,YAAY,CAAS;IACrB,QAAQ,CAAS;IACjB,MAAM,CAAS;CAChB","sourcesContent":["import { ApiPropertyOptional, Cerfa2033 } from '../../../..';\nimport {\n CerfaAddress, ViewerDetails, Accountant, CouncilDetails, EcfDetails, Termination,\n} from './ReadCerfa';\nimport { PartnersLegalEntity } from './Utils';\n\nexport type BusinessPartnersValue = {\n idBusinessPartner: number,\n amount: number;\n indemnities: number;\n refund: number;\n indemnities2: number;\n refunds2: number;\n};\n\nexport class ParamsGenerate2065 {\n @ApiPropertyOptional({ description: 'Modifie le chemin du PDF' })\n isTest?: boolean;\n}\n\ntype LessValuesByRate = {\n exonerated: number;\n reduced: number;\n normal: number;\n};\n\nexport class Cerfa2065Society {\n name: string;\n addressFormatted: string;\n addressObject: CerfaAddress;\n siret: string;\n email: string;\n oldAddress: string | null;\n oldAddressDetails: CerfaAddress;\n}\n\nexport class Cerfa2065Remunerations {\n name: string;\n address: CerfaAddress;\n sharesHeld: number;\n year: number;\n amount: number;\n indemnities: number;\n refund: number;\n indemnities2: number;\n refunds2: number;\n reason: string;\n}\nexport interface Cerfa2065 {\n termination: Termination;\n isNil?: boolean;\n society: Cerfa2065Society;\n period: {\n startDate: string,\n endDate: string,\n months: string;\n };\n isSimplifiedRegime: boolean;\n isDeclarationForGroup: boolean;\n isRealRegime: boolean;\n isPME: boolean;\n fillialeText: string | null;\n affiliateHead: PartnersLegalEntity & { countryCode: string; siret: string; } | null;\n isTonnageOption: boolean;\n headOffice: {\n number: string;\n addressFormatted: string;\n country: string;\n countryCode: string | null;\n street: string;\n zipCode: string;\n city: string;\n };\n incomeDate: Date | null;\n siret: string | null;\n activity: string;\n hasActivityChanged: boolean;\n benefitNormalRate: number;\n deficit: number;\n benefit15: number;\n resultNet: number;\n addedValues15: number;\n addedValues19: number;\n exoneration: number;\n otherAddedValues19: number;\n otherAddedValues0: number;\n isNewBusinessSexies: boolean;\n isYoungBusiness: boolean;\n isNewBusinessSepties: boolean;\n isActivityZone: boolean;\n isRestructuration: boolean;\n isUrbanToDynamise: boolean;\n isUrban: boolean;\n isOther: boolean;\n isPriorityZone: boolean;\n isInvestmentBusiness: boolean;\n benefitOrDeficit: number;\n exoneration15: number;\n isImpositionDOMTOM: boolean;\n furnitureIncome: number;\n icomeOther: number;\n income2Dot5: number;\n isSocietyHead: boolean;\n otherSocietyHead:{ name: string | null; has: boolean; address: CerfaAddress | null; number: string | null; };\n isSocietyDesigned: boolean;\n societyHead: { name: string; number: string; fiscalNumber: string; } & CerfaAddress;\n hasAccountancyComputerized: boolean;\n hasNotAccountancyComputerized: boolean;\n accountancyComputerizedName: string;\n accountant: Accountant;\n hasOGA: boolean;\n hasViewer: boolean;\n viewer: ViewerDetails;\n council: CouncilDetails;\n ecf: EcfDetails;\n declarer: {\n date: string;\n place: string;\n name: string;\n }\n distributionAmount: { bySociety: number; byEstablishment: number };\n remuneration: number;\n advances: number;\n others: Array<{ label: string; amount: number; }>;\n elligible: number;\n noElligible: number;\n amountRemunerations: number;\n remunerations: Cerfa2065Remunerations[],\n diverse: {\n funds: {\n name: string;\n address: string;\n addressDetails: CerfaAddress;\n },\n address: string;\n otherAddresses: Array<{ name: string; address: CerfaAddress }>;\n }\n simplified: {\n amount: number;\n retrocessions: number;\n remainingExerciceStart: LessValuesByRate;\n imputed: LessValuesByRate;\n realized: LessValuesByRate;\n remaining: LessValuesByRate;\n }\n donation: { amount: number; number: number; }\n}\n\nexport type PrepareCerfa2065 = { idExercice: number; idSociety: number; values: { cerfa2065: Cerfa2065; cerfa2033: Cerfa2033 } };"]}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CerfaType } from '../../../Enum/CerfaType';
|
|
2
1
|
import { CerfaAddress } from './ReadCerfa';
|
|
3
2
|
type Exercice = {
|
|
4
3
|
startDate: string;
|
|
@@ -85,8 +84,7 @@ export declare class Cerfa2571_2023 {
|
|
|
85
84
|
export type Prepare2571Params = {
|
|
86
85
|
idSociety: number;
|
|
87
86
|
idExercice: number;
|
|
88
|
-
|
|
89
|
-
idCerfaType: CerfaType.CERFA_2571_2023_A | CerfaType.CERFA_2571_2023_B | CerfaType.CERFA_2571_2023_C | CerfaType.CERFA_2571_2023_D;
|
|
87
|
+
idRegistration: number;
|
|
90
88
|
};
|
|
91
89
|
export {};
|
|
92
90
|
//# sourceMappingURL=2571.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2571.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2571.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"2571.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2571.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,KAAK,QAAQ,GAAG;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,YAAY,CAAC;CAC7B,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,C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ClB,QAAQ,EAAE,MAAM,CAAC;QACjB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2571.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2571.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"2571.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2571.ts"],"names":[],"mappings":"AAqCA,MAAM,OAAO,cAAc;IACzB,KAAK,CAAS;IACd,QAAQ,CAAW;IACnB,OAAO,CAAU;IACjB,UAAU,CAwBR;IACF,OAAO,CAAU;IACjB,cAAc,CAAkB;IAChC,QAAQ,CAON;IACF,MAAM,CAWJ;CACH","sourcesContent":["import { CerfaAddress } from './ReadCerfa';\n\ntype Exercice = {\n startDate: string;\n endDate: string;\n};\n\ntype Society = {\n name: string;\n address: string;\n addressObject: CerfaAddress;\n};\n\ntype Payment = {\n date: number;\n phone: string;\n isTransfer: boolean;\n isCheck: boolean;\n isElectronicPayment: boolean;\n contribution: number;\n limitDate: number;\n amountToInpute: number;\n};\n\ntype Administration = {\n amount: number;\n date: string;\n operationNumber: number;\n receptionDate: string;\n};\n\ntype BaseRateAndAmount = {\n base: number;\n rate: number;\n amount: number;\n};\n\nexport class Cerfa2571_2023 {\n siren: string;\n exercice: Exercice;\n society: Society;\n companyTax: {\n imputations: {\n default: number;\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n };\n toPay: {\n default: number;\n rent: number;\n social: number;\n tax: number;\n capitalGain: number;\n total: number;\n };\n reductions: {\n hasDefault: boolean;\n hasSocial: boolean;\n }\n };\n payment: Payment;\n administration?: Administration;\n advances: {\n normalRate: BaseRateAndAmount;\n reducedRate: BaseRateAndAmount;\n onResult: BaseRateAndAmount;\n subTotal: number;\n regulation: number;\n total: number;\n };\n credit: {\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n default: number;\n toPay: number;\n };\n}\n\nexport type Prepare2571Params = {\n idSociety: number;\n idExercice: number;\n idRegistration: number;\n};"]}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CerfaType } from '../../../Enum/CerfaType';
|
|
2
1
|
import { Termination, CerfaAddress } from './ReadCerfa';
|
|
3
2
|
type BaseAndAmount = {
|
|
4
3
|
base: number;
|
|
@@ -232,8 +231,7 @@ export declare class Cerfa2572_2023 {
|
|
|
232
231
|
export type Prepare2572Params = {
|
|
233
232
|
idSociety: number;
|
|
234
233
|
idExercice: number;
|
|
235
|
-
|
|
236
|
-
idCerfaType: CerfaType.CERFA_2572_2022 | CerfaType.CERFA_2572_2023;
|
|
234
|
+
idRegistration: number;
|
|
237
235
|
};
|
|
238
236
|
export declare class ParamsGenerate2572 {
|
|
239
237
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2572.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2572.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"2572.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2572.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAExD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,GAAG,GAAG;IACT,UAAU,EAAE,aAAa,CA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QACrB,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;CACH;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,qBAAa,kBAAkB;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2572.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2572.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"2572.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2572.ts"],"names":[],"mappings":"AA4MA,MAAM,OAAO,cAAc;IACzB,KAAK,CAAS;IACd,QAAQ,CAAW;IACnB,OAAO,CAAU;IACjB,GAAG,CAAM;IACT,KAAK,CAAQ;IACb,kBAAkB,CAAqB;IACvC,kBAAkB,CAAqB;IACvC,OAAO,CAAU;IACjB,OAAO,CAAU;IACjB,cAAc,CAAkB;IAChC,WAAW,CAAc;CAC1B;AAED,MAAM,OAAO,cAAc;IACzB,KAAK,CAAS;IACd,QAAQ,CAAW;IACnB,OAAO,CAAU;IACjB,GAAG,CAAW;IACd,KAAK,CAAa;IAClB,kBAAkB,CAAqB;IACvC,kBAAkB,CAAqB;IACvC,OAAO,CAAe;IACtB,OAAO,CAAU;IACjB,cAAc,CAAkB;IAChC,WAAW,CAAc;IACzB,qBAAqB,CAGnB;CACH;AAQD,MAAM,OAAO,kBAAkB;CAAG","sourcesContent":["import { Termination, CerfaAddress } from './ReadCerfa';\n\ntype BaseAndAmount = {\n base: number;\n amount: number;\n};\n\ntype Tax = {\n normalRate: BaseAndAmount;\n normalRate2: BaseAndAmount;\n reduceRate: BaseAndAmount;\n addedValue: { amount: number; }\n other: { amount: number; }\n total: number;\n};\n\ntype Tax_2023 = {\n normalRate: BaseAndAmount;\n reduceRate: BaseAndAmount;\n addedValue: { amount: number; }\n other: { amount: number; }\n total: number;\n};\n\ntype Exercice = {\n startDate: string;\n endDate: string;\n};\n\ntype Society = {\n name: string;\n address: string;\n addressObject: CerfaAddress;\n};\n\ntype PreFinancingWithAmount = {\n preFinancing: number;\n amount: number;\n};\n\ntype Debts = {\n onCompanyTax: number;\n notOnCompanyTax: number;\n VEL: number;\n PRE: number;\n new: number;\n companyTaxAfterImputation: number;\n reducedTax: {\n inEurope: number;\n amount: number;\n }\n balanceInPreviousExercises: number;\n jobCredit: PreFinancingWithAmount;\n jobCreditForLongExercises: PreFinancingWithAmount;\n jobCreditForPreviousExercises: number;\n corse: number;\n CORInPreviousExercise: number;\n deficit: number;\n RADInPreviousExercise: number;\n CIRcredit: number;\n CIRsolde: number;\n reportedInLine2B11: number;\n subTotal: number;\n inDepositLimit: number;\n balanceDebtInPreviousExercises: number;\n FOR: number;\n RAC: number;\n FAM: number;\n CIN: number;\n BIO: number;\n PHO: number;\n AUD: number;\n ART: number;\n CJV: number;\n CPE: number;\n CCI: number;\n PTR: number;\n CIO: PreFinancingWithAmount;\n COL: PreFinancingWithAmount;\n CSV: number;\n CAC: number;\n REB: number;\n BLC: number;\n RTD: number;\n CPG: number;\n HVE: number;\n newUnlistedReceivables: number;\n inLine2C22: number;\n subTotal2: number;\n afterImputation: number;\n payment: number;\n taxAmount: number;\n CSB: { base: number };\n};\n\ntype Debts_2023 = {\n onCompanyTax: number;\n notOnCompanyTax: number;\n VEL: number;\n PRE: number;\n new: number;\n companyTaxAfterImputation: number;\n reducedTax: {\n inEurope: number;\n amount: number;\n }\n balanceInPreviousExercises: number;\n jobCredit: PreFinancingWithAmount;\n jobCreditForLongExercises: PreFinancingWithAmount;\n jobCreditForPreviousExercises: number;\n corse: number;\n CORInPreviousExercise: number;\n deficit: number;\n RADInPreviousExercise: number;\n CIRcredit: number;\n CIRsolde: number;\n CRCcredit: number;\n CRCsolde: number;\n reportedInLine2B11: number;\n subTotal: number;\n inDepositLimit: number;\n balanceDebtInPreviousExercises: number;\n reducedTaxOuterSea: number;\n balanceInPreviousExercisesOuterSea: number;\n FOR: number;\n RAC: number;\n FAM: number;\n CIN: number;\n BIO: number;\n PHO: number;\n AUD: number;\n ART: number;\n CJV: number;\n CPE: number;\n CCI: number;\n PTR: number;\n CIO: PreFinancingWithAmount;\n COL: PreFinancingWithAmount;\n CSV: number;\n REB: number;\n RTD: number;\n CPG: number;\n HVE: number;\n EOM: number;\n newUnlistedReceivables: number;\n inLine2C22: number;\n subTotal2: number;\n afterImputation: number;\n payment: number;\n taxAmount: number;\n};\n\ntype SocialContribution = {\n CSB: BaseAndAmount;\n strangers: number;\n onCompanyTax: number;\n payment: number;\n};\n\ntype YearlyContribution = {\n onRent: number;\n amount: number;\n payment: number;\n};\n\ntype AmountToPayWithOverage = {\n amountToPay: number;\n overage: number;\n};\n\ntype Summary = {\n companyTax: AmountToPayWithOverage\n socialContribution: AmountToPayWithOverage;\n yearlyContribution: AmountToPayWithOverage;\n total: AmountToPayWithOverage\n amountToPay: number;\n overage: number;\n imputedOverage: number;\n contribution: number;\n limitDate: string;\n amountToInpute: number;\n overageRefundAsked: number;\n};\n\ntype Summary_2023 = Summary & { temporaryContribution: number; };\n\ntype Payment = {\n date: number;\n phone: number;\n isTransfer: boolean;\n isCheck: boolean;\n isElectronicPayment: boolean;\n contribution: number;\n limitDate: number;\n amountToInpute: number;\n};\n\ntype Administration = {\n amount: number;\n date: string;\n operationNumber: number;\n receptionDate: string;\n};\n\nexport class Cerfa2572_2022 {\n siren: string;\n exercice: Exercice;\n society: Society;\n tax: Tax;\n debts: Debts;\n socialContribution: SocialContribution;\n yearlyContribution: YearlyContribution;\n summary: Summary;\n payment: Payment;\n administration?: Administration;\n termination: Termination;\n}\n\nexport class Cerfa2572_2023 {\n siren: string;\n exercice: Exercice;\n society: Society;\n tax: Tax_2023;\n debts: Debts_2023;\n socialContribution: SocialContribution;\n yearlyContribution: YearlyContribution;\n summary: Summary_2023;\n payment: Payment;\n administration?: Administration;\n termination: Termination;\n temporaryContribution: {\n solidarityRange: number;\n solidarityAmount: number;\n };\n}\n\nexport type Prepare2572Params = { \n idSociety: number;\n idExercice: number;\n idRegistration: number;\n};\n\nexport class ParamsGenerate2572 {}"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
2
|
-
import { Cerfa3519_2017, FieldForGeneration, PayloadCerfa3519_2017, QuestionWording } from '../../..';
|
|
2
|
+
import { Cerfa2031, Cerfa2033, Cerfa2035, Cerfa2065, Cerfa2571_2023, Cerfa2572_2022, Cerfa3519_2017, FieldForGeneration, PayloadCerfa3519_2017, QuestionWording } from '../../..';
|
|
3
3
|
import { Question } from '../../../Enum/BalanceSheetQuestion';
|
|
4
4
|
import { TerminationType } from '../../../Enum/AnswerTypeValue';
|
|
5
5
|
import { Cerfa3310_2023 } from './3310';
|
|
@@ -98,4 +98,26 @@ export type AsponeFormField = {
|
|
|
98
98
|
name: string;
|
|
99
99
|
fields: FieldForGeneration[];
|
|
100
100
|
};
|
|
101
|
+
export interface ReadFormGeneration {
|
|
102
|
+
file: {
|
|
103
|
+
name: string;
|
|
104
|
+
idFile: number;
|
|
105
|
+
size: number;
|
|
106
|
+
token: string;
|
|
107
|
+
id?: number;
|
|
108
|
+
Location: string;
|
|
109
|
+
ETag: string;
|
|
110
|
+
Bucket: string;
|
|
111
|
+
Key?: string;
|
|
112
|
+
mimeType?: string;
|
|
113
|
+
};
|
|
114
|
+
payload: {
|
|
115
|
+
cerfa2572?: Cerfa2572_2022 | Cerfa3310_2023;
|
|
116
|
+
cerfa2571?: Cerfa2571_2023;
|
|
117
|
+
cerfa2031?: Cerfa2031;
|
|
118
|
+
cerfa2033?: Cerfa2033;
|
|
119
|
+
cerfa2065?: Cerfa2065;
|
|
120
|
+
cerfa2035?: Cerfa2035;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
101
123
|
//# sourceMappingURL=ReadCerfa.d.ts.map
|
|
@@ -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AAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,OAAO,EAAE;QACP,SAAS,CAAC,EAAE,cAAc,GAAG,cAAc,CAAC;QAC5C,SAAS,CAAC,EAAE,cAAc,CAAC;QAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,SAAS,CAAC,EAAE,SAAS,CAAC;KACvB,CAAA;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AAyBA,MAAM,OAAO,cAAc;IAAG,GAAG,CAAS;IAAC,KAAK,CAAmC;CAAE","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n Cerfa2031,\n Cerfa2033,\n Cerfa2035,\n Cerfa2065,\n Cerfa2571_2023,\n Cerfa2572_2022,\n Cerfa3519_2017,\n FieldForGeneration, PayloadCerfa3519_2017, 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 { key: string; value: string | number | boolean | null; }\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';\n annex?: AnnexVatDocument;\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\n | keyof typeof Question]: any\n};\n\nexport type Termination = {\n type: TerminationType,\n date: string | null\n};\n\nexport type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[], index?: number }>;\nexport type AsponeFormField = { name: string; fields: FieldForGeneration[] };\n\nexport interface ReadFormGeneration {\n file: {\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 payload: { \n cerfa2572?: Cerfa2572_2022 | Cerfa3310_2023;\n cerfa2571?: Cerfa2571_2023;\n cerfa2031?: Cerfa2031;\n cerfa2033?: Cerfa2033;\n cerfa2065?: Cerfa2065;\n cerfa2035?: Cerfa2035;\n }\n}"]}
|
|
@@ -8,6 +8,8 @@ export interface IChecklist {
|
|
|
8
8
|
id?: number;
|
|
9
9
|
idUserFront: number | null;
|
|
10
10
|
revisionDate?: Date | null;
|
|
11
|
+
idUserWhoValidate: number | null;
|
|
12
|
+
validateDate?: Date | null;
|
|
11
13
|
isConfirmed: boolean;
|
|
12
14
|
date: Date | null;
|
|
13
15
|
type: ChecklistTypeEnum;
|
|
@@ -24,5 +26,6 @@ export interface IChecklist {
|
|
|
24
26
|
exercice?: IExercice;
|
|
25
27
|
checklistHasOneCustomerVat?: ICustomerVat;
|
|
26
28
|
mailRelation?: IMailRelation[];
|
|
29
|
+
userWhoValidate: IUser;
|
|
27
30
|
}
|
|
28
31
|
//# sourceMappingURL=IChecklist.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IChecklist.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IChecklist.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,MAAM,WAAW,UAAU;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,WAAW,E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AiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,uBAAuB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7C,yBAAyB,CAAC,EAAE,KAAK,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,0BAA0B,CAAC,EAAE,YAAY,CAAC;IAC1C,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;IAC/B,eAAe,EAAE,KAAK,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IChecklist.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IChecklist.ts"],"names":[],"mappings":"","sourcesContent":["import { IChecklistDetail } from './IChecklistDetail';\nimport { IUser } from './IUser';\nimport { IExercice } from './IExercice';\nimport { ICustomerVat } from './ICustomerVat';\nimport { ChecklistCallState, ChecklistTypeEnum } from '../../Enum/ChecklistType';\nimport { IMailRelation } from '../..';\n\n// checklist\nexport interface IChecklist {\n id?: number;\n idUserFront: number | null;\n revisionDate?: Date | null;\n isConfirmed: boolean;\n date: Date | null;\n type: ChecklistTypeEnum;\n callState?: ChecklistCallState;\n startDate?: Date | null;\n endDate?: Date | null;\n notifyFront?: boolean;\n idExercice: number | null;\n idCustomerVat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n checklistHasSomeDetails?: IChecklistDetail[];\n checklistHasOneSupervisor?: IUser;\n exercice?: IExercice;\n checklistHasOneCustomerVat?: ICustomerVat;\n mailRelation?: IMailRelation[];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IChecklist.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IChecklist.ts"],"names":[],"mappings":"","sourcesContent":["import { IChecklistDetail } from './IChecklistDetail';\nimport { IUser } from './IUser';\nimport { IExercice } from './IExercice';\nimport { ICustomerVat } from './ICustomerVat';\nimport { ChecklistCallState, ChecklistTypeEnum } from '../../Enum/ChecklistType';\nimport { IMailRelation } from '../..';\n\n// checklist\nexport interface IChecklist {\n id?: number;\n idUserFront: number | null;\n revisionDate?: Date | null;\n idUserWhoValidate: number | null;\n validateDate?: Date | null;\n isConfirmed: boolean;\n date: Date | null;\n type: ChecklistTypeEnum;\n callState?: ChecklistCallState;\n startDate?: Date | null;\n endDate?: Date | null;\n notifyFront?: boolean;\n idExercice: number | null;\n idCustomerVat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n checklistHasSomeDetails?: IChecklistDetail[];\n checklistHasOneSupervisor?: IUser;\n exercice?: IExercice;\n checklistHasOneCustomerVat?: ICustomerVat;\n mailRelation?: IMailRelation[];\n userWhoValidate: IUser;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.384",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -27,7 +27,7 @@ export class BankAccount extends Resource {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
createBalance(payload: IBalanceBankAccount): Promise<IBalanceBankAccount> {
|
|
30
|
-
return this.axios.$post('bank-accounts/
|
|
30
|
+
return this.axios.$post('bank-accounts/balances', payload);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
merge(idSociety: number, idBankAccountDest: number, payload: UpdateBankAccountMerge): Promise<true> {
|
package/ts/api/resources.ts
CHANGED
|
@@ -18,7 +18,6 @@ import { FecFile } from './resources/FecFile';
|
|
|
18
18
|
import { IncomeStatement } from './resources/IncomeStatement';
|
|
19
19
|
import { BalanceSheet } from './resources/BalanceSheet';
|
|
20
20
|
import { BalanceSheetModule } from './resources/BalanceSheetModule';
|
|
21
|
-
import { Cerfa } from './resources/Cerfa';
|
|
22
21
|
import { Subscription } from './resources/Subscription';
|
|
23
22
|
import { Authenticate } from './resources/Authenticate';
|
|
24
23
|
import { Search } from './resources/Search';
|
|
@@ -189,7 +188,6 @@ export const resources = {
|
|
|
189
188
|
internalInvoicing: InternalInvoicing,
|
|
190
189
|
balanceSheet: BalanceSheet,
|
|
191
190
|
balanceSheetModule: BalanceSheetModule,
|
|
192
|
-
cerfa: Cerfa,
|
|
193
191
|
authenticate: Authenticate,
|
|
194
192
|
search: Search,
|
|
195
193
|
subscription: Subscription,
|
package/ts/types/Enum/Aspone.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { AsponeMotorType } from './Aspone';
|
|
2
|
+
|
|
1
3
|
export enum FuelType {
|
|
2
4
|
DIESEL = 1,
|
|
3
5
|
GASOLINE = 2,
|
|
@@ -35,25 +37,26 @@ export enum FuelType {
|
|
|
35
37
|
MONOFUEL_GPL_ELECTRIC_NOT_REFILLABLE = 34,
|
|
36
38
|
}
|
|
37
39
|
|
|
38
|
-
|
|
40
|
+
|
|
41
|
+
export type FuelTypeList = { text: string, value: FuelType, motor?: AsponeMotorType }[];
|
|
39
42
|
|
|
40
43
|
export const fuelTypeList: FuelTypeList = [
|
|
41
|
-
{ text: 'Gazole - GO', value: FuelType.DIESEL },
|
|
42
|
-
{ text: 'Essence - ES', value: FuelType.GASOLINE },
|
|
43
|
-
{ text: 'Electrique - EL', value: FuelType.ELECTRIC },
|
|
44
|
+
{ text: 'Gazole - GO', value: FuelType.DIESEL, motor: AsponeMotorType.THERMIQUE },
|
|
45
|
+
{ text: 'Essence - ES', value: FuelType.GASOLINE, motor: AsponeMotorType.THERMIQUE },
|
|
46
|
+
{ text: 'Electrique - EL', value: FuelType.ELECTRIC, motor: AsponeMotorType.ELECTRIQUE },
|
|
44
47
|
{ text: 'Air comprimé - AC', value: FuelType.PRESSURIED_AIR },
|
|
45
|
-
{ text: 'Bicarburation essence-GPL - EG', value: FuelType.BI_FUEL_GASOLINE_GPL },
|
|
46
|
-
{ text: 'Bicarburation essence-gaz naturel - EN', value: FuelType.BI_FUEL_GASOLINE_NATURAL_GAS },
|
|
48
|
+
{ text: 'Bicarburation essence-GPL - EG', value: FuelType.BI_FUEL_GASOLINE_GPL, motor: AsponeMotorType.HYBRIDE },
|
|
49
|
+
{ text: 'Bicarburation essence-gaz naturel - EN', value: FuelType.BI_FUEL_GASOLINE_NATURAL_GAS, motor: AsponeMotorType.HYBRIDE },
|
|
47
50
|
{ text: 'Essence électricité (hybride rechargeable) - EE', value: FuelType.ELECTRIC_GASOLINE_REFILLABLE },
|
|
48
|
-
{ text: 'Ethanol - ET', value: FuelType.ETHANOL },
|
|
51
|
+
{ text: 'Ethanol - ET', value: FuelType.ETHANOL, motor: AsponeMotorType.THERMIQUE },
|
|
49
52
|
{ text: 'Essence-électricité (hybride non rechargeable) - EH', value: FuelType.ELECTRIC_GASOLINE_NOT_REFILLABLE },
|
|
50
|
-
{ text: 'Bicarburation essence-gaz naturel et électricité (hybride rechargeable) - EM', value: FuelType.BI_FUEL_GASOLINE_NATURAL_GAS_ELECTRC_REFILLABLE },
|
|
51
|
-
{ text: 'Bicarburation essence-gaz naturel et électricité (hybride non rechargeable) - EP', value: FuelType.BI_FUEL_GASOLINE_NATURAL_GAS_ELECTRC_NOT_REFILLABLE },
|
|
52
|
-
{ text: 'Bicarburation essence-GPL et électricité (hybride rechargeable) - ER', value: FuelType.BI_FUEL_GASOLINE_GPL_ELECTRC_REFILLABLE },
|
|
53
|
-
{ text: 'Bicarburation essence-GPL et électricité (hybride non rechargeable) - EQ', value: FuelType.BI_FUEL_GASOLINE_GPL_ELECTRC_NOT_REFILLABLE },
|
|
54
|
-
{ text: 'Superéthanol - FE', value: FuelType.SUPER_ETHANOL },
|
|
55
|
-
{ text: 'Bicarburation superéthanol-GPL - FG', value: FuelType.BI_FUEL_SUPER_ETHANOL_GPL },
|
|
56
|
-
{ text: 'Bicarburation superéthanol-gaz naturel - FN', value: FuelType.BI_FUEL_SUPER_ETHANOL_NATURAL_GAS },
|
|
53
|
+
{ text: 'Bicarburation essence-gaz naturel et électricité (hybride rechargeable) - EM', value: FuelType.BI_FUEL_GASOLINE_NATURAL_GAS_ELECTRC_REFILLABLE, motor: AsponeMotorType.HYBRIDE },
|
|
54
|
+
{ text: 'Bicarburation essence-gaz naturel et électricité (hybride non rechargeable) - EP', value: FuelType.BI_FUEL_GASOLINE_NATURAL_GAS_ELECTRC_NOT_REFILLABLE, motor: AsponeMotorType.HYBRIDE },
|
|
55
|
+
{ text: 'Bicarburation essence-GPL et électricité (hybride rechargeable) - ER', value: FuelType.BI_FUEL_GASOLINE_GPL_ELECTRC_REFILLABLE, motor: AsponeMotorType.HYBRIDE },
|
|
56
|
+
{ text: 'Bicarburation essence-GPL et électricité (hybride non rechargeable) - EQ', value: FuelType.BI_FUEL_GASOLINE_GPL_ELECTRC_NOT_REFILLABLE, motor: AsponeMotorType.HYBRIDE },
|
|
57
|
+
{ text: 'Superéthanol - FE', value: FuelType.SUPER_ETHANOL, motor: AsponeMotorType.THERMIQUE },
|
|
58
|
+
{ text: 'Bicarburation superéthanol-GPL - FG', value: FuelType.BI_FUEL_SUPER_ETHANOL_GPL, motor: AsponeMotorType.HYBRIDE },
|
|
59
|
+
{ text: 'Bicarburation superéthanol-gaz naturel - FN', value: FuelType.BI_FUEL_SUPER_ETHANOL_NATURAL_GAS, motor: AsponeMotorType.HYBRIDE },
|
|
57
60
|
{ text: 'Superéthanol-électricité (hybride rechargeable) - FL', value: FuelType.SUPER_ETHANOL_ELETRIC_REFILLABLE },
|
|
58
61
|
{ text: 'Gazogène - GA', value: FuelType.GAZIFIER },
|
|
59
62
|
{ text: 'Gazole-électricité (hybride rechargeable) - GL', value: FuelType.DIESEL_ELECTRIC_REFILLABLE },
|
|
@@ -69,7 +72,7 @@ export const fuelTypeList: FuelTypeList = [
|
|
|
69
72
|
{ text: 'Hydrogène - H2', value: FuelType.HYDROGEN },
|
|
70
73
|
{ text: 'Gaz naturel-électricité (hybride rechargeable) - NE', value: FuelType.NATURAL_GAS_ELECTRIC_REFILLABLE },
|
|
71
74
|
{ text: 'Gaz naturel-électricité (hybride non rechargeable) - NH', value: FuelType.NATURAL_GAS_ELECTRIC_NOT_REFILLABLE },
|
|
72
|
-
{ text: 'Pétrole lampant - PL', value: FuelType.KEROSENE },
|
|
75
|
+
{ text: 'Pétrole lampant - PL', value: FuelType.KEROSENE, motor: AsponeMotorType.THERMIQUE },
|
|
73
76
|
{ text: 'Monocarburation GPL-électricité (hybride rechargeable) - PE', value: FuelType.MONOFUEL_GPL_ELECTRIC_REFILLABLE },
|
|
74
77
|
{ text: 'Monocarburation GPL-électricité (hybride non rechargeable) - PH', value: FuelType.MONOFUEL_GPL_ELECTRIC_NOT_REFILLABLE },
|
|
75
78
|
];
|
|
@@ -59,7 +59,7 @@ export class Redactor {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
type Tag = 'ContactDesignation' | 'AdresseDivisionTerritoriale' | 'AdresseCodeDivisionTerritoriale' | 'Email' | 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'TexteLibre3' | 'TexteLibre4' | 'TexteLibre5' | 'DesignationSuite3' | 'AdresseNumero' | 'Iban' | 'Bic' | 'TitulaireDesignation' | 'TitulaireDesignationSuite';
|
|
62
|
-
type Tags = Array<{ description
|
|
62
|
+
type Tags = Array<{ description?: string; tag: Tag; value: any }>;
|
|
63
63
|
|
|
64
64
|
export interface FieldForGeneration {
|
|
65
65
|
tag?: Tag;
|
|
@@ -75,6 +75,7 @@ export interface PayloadForRegistration {
|
|
|
75
75
|
isTest: boolean;
|
|
76
76
|
redactor: Redactor;
|
|
77
77
|
indebted: any;
|
|
78
|
+
millesime: number;
|
|
78
79
|
forms: AsponeFormFields;
|
|
79
80
|
xml?: string
|
|
80
81
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiProperty, EcfDetails } from '../../../..';
|
|
1
|
+
import { ApiProperty, Cerfa2033, EcfDetails } from '../../../..';
|
|
2
2
|
import {
|
|
3
3
|
CerfaAddress, Accountant, ViewerDetails, CouncilDetails, Termination,
|
|
4
4
|
} from './ReadCerfa';
|
|
@@ -182,3 +182,5 @@ export interface Cerfa2031 {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
+
|
|
186
|
+
export type Prepare2031Params = { idSociety: number, idExercice: number, values: { cerfa2031: Cerfa2031; cerfa2033: Cerfa2033 } };
|
|
@@ -29,6 +29,8 @@ export interface Cerfa2035Society {
|
|
|
29
29
|
city: string;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
export type Prepare2035Params = { idSociety: number, idExercice: number, values: Cerfa2035 & Cerfa2035WithSuites };
|
|
33
|
+
|
|
32
34
|
export interface Cerfa2035ProfessionalRecipes {
|
|
33
35
|
collected: number;
|
|
34
36
|
toDeduce: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiPropertyOptional } from '../../../..';
|
|
1
|
+
import { ApiPropertyOptional, Cerfa2033 } from '../../../..';
|
|
2
2
|
import {
|
|
3
3
|
CerfaAddress, ViewerDetails, Accountant, CouncilDetails, EcfDetails, Termination,
|
|
4
4
|
} from './ReadCerfa';
|
|
@@ -144,4 +144,6 @@ export interface Cerfa2065 {
|
|
|
144
144
|
remaining: LessValuesByRate;
|
|
145
145
|
}
|
|
146
146
|
donation: { amount: number; number: number; }
|
|
147
|
-
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export type PrepareCerfa2065 = { idExercice: number; idSociety: number; values: { cerfa2065: Cerfa2065; cerfa2033: Cerfa2033 } };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CerfaType } from '../../../Enum/CerfaType';
|
|
2
1
|
import { CerfaAddress } from './ReadCerfa';
|
|
3
2
|
|
|
4
3
|
type Exercice = {
|
|
@@ -92,6 +91,5 @@ export class Cerfa2571_2023 {
|
|
|
92
91
|
export type Prepare2571Params = {
|
|
93
92
|
idSociety: number;
|
|
94
93
|
idExercice: number;
|
|
95
|
-
|
|
96
|
-
idCerfaType: CerfaType.CERFA_2571_2023_A | CerfaType.CERFA_2571_2023_B | CerfaType.CERFA_2571_2023_C | CerfaType.CERFA_2571_2023_D
|
|
94
|
+
idRegistration: number;
|
|
97
95
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CerfaType } from '../../../Enum/CerfaType';
|
|
2
1
|
import { Termination, CerfaAddress } from './ReadCerfa';
|
|
3
2
|
|
|
4
3
|
type BaseAndAmount = {
|
|
@@ -235,6 +234,10 @@ export class Cerfa2572_2023 {
|
|
|
235
234
|
};
|
|
236
235
|
}
|
|
237
236
|
|
|
238
|
-
export type Prepare2572Params = {
|
|
237
|
+
export type Prepare2572Params = {
|
|
238
|
+
idSociety: number;
|
|
239
|
+
idExercice: number;
|
|
240
|
+
idRegistration: number;
|
|
241
|
+
};
|
|
239
242
|
|
|
240
243
|
export class ParamsGenerate2572 {}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
2
2
|
import {
|
|
3
|
+
Cerfa2031,
|
|
4
|
+
Cerfa2033,
|
|
5
|
+
Cerfa2035,
|
|
6
|
+
Cerfa2065,
|
|
7
|
+
Cerfa2571_2023,
|
|
8
|
+
Cerfa2572_2022,
|
|
3
9
|
Cerfa3519_2017,
|
|
4
10
|
FieldForGeneration, PayloadCerfa3519_2017, QuestionWording,
|
|
5
11
|
} from '../../..';
|
|
@@ -100,4 +106,27 @@ export type Termination = {
|
|
|
100
106
|
};
|
|
101
107
|
|
|
102
108
|
export type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[], index?: number }>;
|
|
103
|
-
export type AsponeFormField = { name: string; fields: FieldForGeneration[] };
|
|
109
|
+
export type AsponeFormField = { name: string; fields: FieldForGeneration[] };
|
|
110
|
+
|
|
111
|
+
export interface ReadFormGeneration {
|
|
112
|
+
file: {
|
|
113
|
+
name: string,
|
|
114
|
+
idFile: number,
|
|
115
|
+
size: number,
|
|
116
|
+
token: string,
|
|
117
|
+
id?: number,
|
|
118
|
+
Location: string,
|
|
119
|
+
ETag: string,
|
|
120
|
+
Bucket: string,
|
|
121
|
+
Key?: string
|
|
122
|
+
mimeType?: string,
|
|
123
|
+
};
|
|
124
|
+
payload: {
|
|
125
|
+
cerfa2572?: Cerfa2572_2022 | Cerfa3310_2023;
|
|
126
|
+
cerfa2571?: Cerfa2571_2023;
|
|
127
|
+
cerfa2031?: Cerfa2031;
|
|
128
|
+
cerfa2033?: Cerfa2033;
|
|
129
|
+
cerfa2065?: Cerfa2065;
|
|
130
|
+
cerfa2035?: Cerfa2035;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -10,6 +10,8 @@ export interface IChecklist {
|
|
|
10
10
|
id?: number;
|
|
11
11
|
idUserFront: number | null;
|
|
12
12
|
revisionDate?: Date | null;
|
|
13
|
+
idUserWhoValidate: number | null;
|
|
14
|
+
validateDate?: Date | null;
|
|
13
15
|
isConfirmed: boolean;
|
|
14
16
|
date: Date | null;
|
|
15
17
|
type: ChecklistTypeEnum;
|
|
@@ -28,4 +30,5 @@ export interface IChecklist {
|
|
|
28
30
|
exercice?: IExercice;
|
|
29
31
|
checklistHasOneCustomerVat?: ICustomerVat;
|
|
30
32
|
mailRelation?: IMailRelation[];
|
|
33
|
+
userWhoValidate: IUser;
|
|
31
34
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { Resource } from '../Resource';
|
|
3
|
-
import { ParamsGenerate2035FullDocument, ParamsGenerate2033, ParamsGenerate2065, ReadCerfaToComplete } from '../..';
|
|
4
|
-
import { TaxSystem, FiscalRegime, ProfitsType } from '../../types';
|
|
5
|
-
export declare class Cerfa extends Resource {
|
|
6
|
-
get2035Pdf(params: {
|
|
7
|
-
idExercice: number;
|
|
8
|
-
data: ParamsGenerate2035FullDocument;
|
|
9
|
-
}): Promise<Buffer>;
|
|
10
|
-
get2033Pdf(params: {
|
|
11
|
-
idExercice: number;
|
|
12
|
-
data: ParamsGenerate2033;
|
|
13
|
-
}): Promise<Buffer>;
|
|
14
|
-
get2065Pdf(params: {
|
|
15
|
-
idExercice: number;
|
|
16
|
-
data: ParamsGenerate2065;
|
|
17
|
-
}): Promise<Buffer>;
|
|
18
|
-
getCerfaToComplete(payload: {
|
|
19
|
-
idLegalForm: number;
|
|
20
|
-
idTaxSystem: TaxSystem;
|
|
21
|
-
idFiscalRegime: FiscalRegime;
|
|
22
|
-
profitsType: ProfitsType;
|
|
23
|
-
}): ReadCerfaToComplete;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=Cerfa.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cerfa.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Cerfa.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,8BAA8B,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAC5F,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEnE,qBAAa,KAAM,SAAQ,QAAQ;IACjC,UAAU,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,8BAA8B,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IAQjG,UAAU,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,kBAAkB,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IAQrF,UAAU,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,kBAAkB,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IAQrF,kBAAkB,CAAC,OAAO,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,SAAS,CAAC;QAAC,cAAc,EAAE,YAAY,CAAC;QAAC,WAAW,EAAE,WAAW,CAAA;KAAE,GAAG,mBAAmB;CAM1J"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Cerfa = void 0;
|
|
4
|
-
const Resource_1 = require("../Resource");
|
|
5
|
-
const cerfa_1 = require("../../utils/cerfa");
|
|
6
|
-
class Cerfa extends Resource_1.Resource {
|
|
7
|
-
get2035Pdf(params) {
|
|
8
|
-
return this.axios.$post(`/exercice/${params.idExercice}/cerfa/2035`, params.data, {
|
|
9
|
-
responseType: 'arraybuffer',
|
|
10
|
-
headers: {
|
|
11
|
-
Accept: 'application/pdf',
|
|
12
|
-
},
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
get2033Pdf(params) {
|
|
16
|
-
return this.axios.$post(`/exercice/${params.idExercice}/cerfa/2033`, params.data, {
|
|
17
|
-
responseType: 'arraybuffer',
|
|
18
|
-
headers: {
|
|
19
|
-
Accept: 'application/pdf',
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
get2065Pdf(params) {
|
|
24
|
-
return this.axios.$post(`/exercice/${params.idExercice}/cerfa/2065`, params.data, {
|
|
25
|
-
responseType: 'arraybuffer',
|
|
26
|
-
headers: {
|
|
27
|
-
Accept: 'application/pdf',
|
|
28
|
-
},
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
getCerfaToComplete(payload) {
|
|
32
|
-
const { idLegalForm, idTaxSystem, idFiscalRegime, profitsType, } = payload;
|
|
33
|
-
return (0, cerfa_1.retrieveCerfaFromSocietyInformations)(idLegalForm, idTaxSystem, idFiscalRegime, profitsType);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.Cerfa = Cerfa;
|
|
37
|
-
//# sourceMappingURL=Cerfa.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cerfa.js","sourceRoot":"","sources":["../../../../ts/api/resources/Cerfa.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAIvC,6CAAyE;AAGzE,MAAa,KAAM,SAAQ,mBAAQ;IACjC,UAAU,CAAC,MAAoE;QAC7E,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,MAAM,CAAC,UAAU,aAAa,EAAE,MAAM,CAAC,IAAI,EAAE;YAChF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IACD,UAAU,CAAC,MAAwD;QACjE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,MAAM,CAAC,UAAU,aAAa,EAAE,MAAM,CAAC,IAAI,EAAE;YAChF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IACD,UAAU,CAAC,MAAwD;QACjE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,MAAM,CAAC,UAAU,aAAa,EAAE,MAAM,CAAC,IAAI,EAAE;YAChF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IACD,kBAAkB,CAAC,OAAgH;QACjI,MAAM,EACJ,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,GACtD,GAAG,OAAO,CAAC;QACZ,OAAO,IAAA,4CAAoC,EAAC,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,CAAC,CAAC;IACrG,CAAC;CACF;AA/BD,sBA+BC","sourcesContent":["import { Resource } from '../Resource';\nimport {\n ParamsGenerate2035FullDocument, ParamsGenerate2033, ParamsGenerate2065, ReadCerfaToComplete,\n} from '../..';\nimport { retrieveCerfaFromSocietyInformations } from '../../utils/cerfa';\nimport { TaxSystem, FiscalRegime, ProfitsType } from '../../types';\n\nexport class Cerfa extends Resource {\n get2035Pdf(params: { idExercice: number, data: ParamsGenerate2035FullDocument }): Promise<Buffer> {\n return this.axios.$post(`/exercice/${params.idExercice}/cerfa/2035`, params.data, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n get2033Pdf(params: { idExercice: number, data: ParamsGenerate2033 }): Promise<Buffer> {\n return this.axios.$post(`/exercice/${params.idExercice}/cerfa/2033`, params.data, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n get2065Pdf(params: { idExercice: number, data: ParamsGenerate2065 }): Promise<Buffer> {\n return this.axios.$post(`/exercice/${params.idExercice}/cerfa/2065`, params.data, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n getCerfaToComplete(payload: { idLegalForm: number; idTaxSystem: TaxSystem, idFiscalRegime: FiscalRegime; profitsType: ProfitsType }): ReadCerfaToComplete {\n const {\n idLegalForm, idTaxSystem, idFiscalRegime, profitsType,\n } = payload;\n return retrieveCerfaFromSocietyInformations(idLegalForm, idTaxSystem, idFiscalRegime, profitsType);\n }\n}\n"]}
|