@silexpert/core 1.1.305 → 1.1.307
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/Closing.d.ts +2 -1
- package/dist/cjs/api/resources/Closing.d.ts.map +1 -1
- package/dist/cjs/api/resources/Closing.js +3 -0
- package/dist/cjs/api/resources/Closing.js.map +1 -1
- package/dist/cjs/api/resources/Commercial.d.ts +4 -1
- package/dist/cjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/cjs/api/resources/Commercial.js +3 -0
- package/dist/cjs/api/resources/Commercial.js.map +1 -1
- package/dist/cjs/api/resources/Exercice.d.ts +2 -2
- package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/cjs/api/resources/Exercice.js +2 -2
- package/dist/cjs/api/resources/Exercice.js.map +1 -1
- package/dist/cjs/api/resources/IntermediateManagementRebate.d.ts.map +1 -1
- package/dist/cjs/api/resources/IntermediateManagementRebate.js +6 -1
- package/dist/cjs/api/resources/IntermediateManagementRebate.js.map +1 -1
- package/dist/cjs/api/resources/Payment.d.ts +2 -1
- package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Payment.js +3 -0
- package/dist/cjs/api/resources/Payment.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts +22 -0
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.js +27 -1
- package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridLegalstart.d.ts +8 -0
- package/dist/cjs/types/Enum/PriceGridLegalstart.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridLegalstart.js +8 -0
- package/dist/cjs/types/Enum/PriceGridLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridPourcentage.d.ts +10 -0
- package/dist/cjs/types/Enum/PriceGridPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridPourcentage.js +84 -0
- package/dist/cjs/types/Enum/PriceGridPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/StatisticType.d.ts +2 -1
- package/dist/cjs/types/Enum/StatisticType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatisticType.js +1 -0
- package/dist/cjs/types/Enum/StatisticType.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.d.ts +4 -0
- package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.js +23 -0
- package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.js.map +1 -0
- package/dist/cjs/types/Interface/api/commercial/QueryGetStatsHistory.d.ts +7 -0
- package/dist/cjs/types/Interface/api/commercial/QueryGetStatsHistory.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/commercial/QueryGetStatsHistory.js +42 -0
- package/dist/cjs/types/Interface/api/commercial/QueryGetStatsHistory.js.map +1 -0
- package/dist/cjs/types/Interface/api/exercice/QueryExercice.d.ts +3 -0
- package/dist/cjs/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/exercice/QueryExercice.js +11 -1
- package/dist/cjs/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/dist/cjs/types/Interface/api/exercice/UpdateExercice.d.ts +1 -0
- package/dist/cjs/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/exercice/UpdateExercice.js +7 -0
- package/dist/cjs/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +4 -0
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/payment/Params.js +24 -0
- package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -0
- package/dist/cjs/types/Interface/api/payment/Util.d.ts +27 -0
- package/dist/cjs/types/Interface/api/payment/Util.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/payment/Util.js +3 -0
- package/dist/cjs/types/Interface/api/payment/Util.js.map +1 -0
- package/dist/cjs/types/Interface/api/society/QueryPaginatedSociety.d.ts +1 -0
- package/dist/cjs/types/Interface/api/society/QueryPaginatedSociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/QueryPaginatedSociety.js +8 -0
- package/dist/cjs/types/Interface/api/society/QueryPaginatedSociety.js.map +1 -1
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.d.ts +1 -1
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.js +5 -5
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/ParamsGetAllUserWithRoles.js +1 -1
- package/dist/cjs/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -1
- package/dist/cjs/types/Interface/models/IExercicePrestation.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IExercicePrestation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IExercicePrestation.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts +2 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/cjs/types/index.d.ts +4 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +4 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/payment.d.ts +15 -2
- package/dist/cjs/utils/payment.d.ts.map +1 -1
- package/dist/cjs/utils/payment.js +180 -2
- package/dist/cjs/utils/payment.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts +60 -0
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +4 -3
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/cjs/utils/tests/payment.spec.d.ts +2 -0
- package/dist/cjs/utils/tests/payment.spec.d.ts.map +1 -0
- package/dist/cjs/utils/tests/payment.spec.js +494 -0
- package/dist/cjs/utils/tests/payment.spec.js.map +1 -0
- package/dist/cjs/utils/vat/utils.d.ts +2 -0
- package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/cjs/utils/vat/utils.js +19 -1
- package/dist/cjs/utils/vat/utils.js.map +1 -1
- package/dist/mjs/api/resources/Closing.d.ts +2 -1
- package/dist/mjs/api/resources/Closing.d.ts.map +1 -1
- package/dist/mjs/api/resources/Closing.js +3 -0
- package/dist/mjs/api/resources/Closing.js.map +1 -1
- package/dist/mjs/api/resources/Commercial.d.ts +4 -1
- package/dist/mjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/mjs/api/resources/Commercial.js +7 -0
- package/dist/mjs/api/resources/Commercial.js.map +1 -1
- package/dist/mjs/api/resources/Exercice.d.ts +2 -2
- package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/mjs/api/resources/Exercice.js +2 -2
- package/dist/mjs/api/resources/Exercice.js.map +1 -1
- package/dist/mjs/api/resources/IntermediateManagementRebate.d.ts.map +1 -1
- package/dist/mjs/api/resources/IntermediateManagementRebate.js +6 -1
- package/dist/mjs/api/resources/IntermediateManagementRebate.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +2 -1
- package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Payment.js +3 -0
- package/dist/mjs/api/resources/Payment.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts +22 -0
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.js +27 -1
- package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridLegalstart.d.ts +8 -0
- package/dist/mjs/types/Enum/PriceGridLegalstart.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridLegalstart.js +8 -0
- package/dist/mjs/types/Enum/PriceGridLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridPourcentage.d.ts +10 -0
- package/dist/mjs/types/Enum/PriceGridPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridPourcentage.js +84 -0
- package/dist/mjs/types/Enum/PriceGridPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/StatisticType.d.ts +2 -1
- package/dist/mjs/types/Enum/StatisticType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatisticType.js +1 -0
- package/dist/mjs/types/Enum/StatisticType.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.d.ts +4 -0
- package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.js +20 -0
- package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.js.map +1 -0
- package/dist/mjs/types/Interface/api/commercial/QueryGetStatsHistory.d.ts +7 -0
- package/dist/mjs/types/Interface/api/commercial/QueryGetStatsHistory.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/commercial/QueryGetStatsHistory.js +42 -0
- package/dist/mjs/types/Interface/api/commercial/QueryGetStatsHistory.js.map +1 -0
- package/dist/mjs/types/Interface/api/exercice/QueryExercice.d.ts +3 -0
- package/dist/mjs/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/exercice/QueryExercice.js +10 -0
- package/dist/mjs/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/dist/mjs/types/Interface/api/exercice/UpdateExercice.d.ts +1 -0
- package/dist/mjs/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/exercice/UpdateExercice.js +8 -0
- package/dist/mjs/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +4 -0
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/payment/Params.js +21 -0
- package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -0
- package/dist/mjs/types/Interface/api/payment/Util.d.ts +27 -0
- package/dist/mjs/types/Interface/api/payment/Util.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/payment/Util.js +2 -0
- package/dist/mjs/types/Interface/api/payment/Util.js.map +1 -0
- package/dist/mjs/types/Interface/api/society/QueryPaginatedSociety.d.ts +1 -0
- package/dist/mjs/types/Interface/api/society/QueryPaginatedSociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/QueryPaginatedSociety.js +8 -0
- package/dist/mjs/types/Interface/api/society/QueryPaginatedSociety.js.map +1 -1
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.d.ts +1 -1
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.js +3 -3
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/ParamsGetAllUserWithRoles.js +1 -1
- package/dist/mjs/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -1
- package/dist/mjs/types/Interface/models/IExercicePrestation.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IExercicePrestation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IExercicePrestation.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts +2 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/mjs/types/index.d.ts +4 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +4 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/payment.d.ts +15 -2
- package/dist/mjs/utils/payment.d.ts.map +1 -1
- package/dist/mjs/utils/payment.js +178 -1
- package/dist/mjs/utils/payment.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts +60 -0
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +1 -1
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/dist/mjs/utils/tests/payment.spec.d.ts +2 -0
- package/dist/mjs/utils/tests/payment.spec.d.ts.map +1 -0
- package/dist/mjs/utils/tests/payment.spec.js +485 -0
- package/dist/mjs/utils/tests/payment.spec.js.map +1 -0
- package/dist/mjs/utils/vat/utils.d.ts +2 -0
- package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/mjs/utils/vat/utils.js +14 -0
- package/dist/mjs/utils/vat/utils.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Closing.ts +6 -1
- package/ts/api/resources/Commercial.ts +8 -0
- package/ts/api/resources/Exercice.ts +3 -3
- package/ts/api/resources/IntermediateManagementRebate.ts +6 -1
- package/ts/api/resources/Payment.ts +5 -1
- package/ts/types/Enum/PriceGridClementine.ts +27 -1
- package/ts/types/Enum/PriceGridLegalstart.ts +8 -0
- package/ts/types/Enum/PriceGridPourcentage.ts +84 -0
- package/ts/types/Enum/StatisticType.ts +1 -0
- package/ts/types/Interface/api/authentification/ConnectFromSSO.ts +8 -0
- package/ts/types/Interface/api/commercial/QueryGetStatsHistory.ts +26 -0
- package/ts/types/Interface/api/exercice/QueryExercice.ts +8 -0
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +6 -0
- package/ts/types/Interface/api/payment/Params.ts +9 -0
- package/ts/types/Interface/api/payment/Util.ts +28 -0
- package/ts/types/Interface/api/society/QueryPaginatedSociety.ts +6 -0
- package/ts/types/Interface/api/statistic/QueryInternal.ts +1 -1
- package/ts/types/Interface/api/user/ParamsGetAllUserWithRoles.ts +1 -1
- package/ts/types/Interface/models/IExercicePrestation.ts +1 -0
- package/ts/types/Interface/models/ISociety.ts +2 -0
- package/ts/types/index.ts +4 -0
- package/ts/utils/payment.ts +200 -2
- package/ts/utils/prestation.ts +3 -1
- package/ts/utils/tests/payment.spec.ts +502 -0
- package/ts/utils/vat/utils.ts +16 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../ts/utils/vat/utils.ts"],"names":[],"mappings":";;;AAAA,mCAA4D;AAE5D,8CAA2C;AAE3C,SAAgB,wBAAwB,CAAC,iBAAqC,EAAE,cAAwB,EAAE,SAAS,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK;IACpI,MAAM,qBAAqB,GAAG,IAAA,eAAO,EAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;IAC/D,MAAM,MAAM,GAAG,IAAA,cAAM,EAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,eAAe,EAAE,EAAE;QAC1E,IAAI,MAAM,GAAG,GAAG,CAAC;QACjB,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;YAC7B,IAAI,eAAe,CAAC,OAAO,IAAI,eAAe,CAAC,OAAO,CAAC,MAAM,IAAI,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;gBAC7H,MAAM,IAAI,eAAe,CAAC,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC;gBACzD,OAAO,IAAI,CAAC;aACb;YACD,OAAO,KAAK,CAAC;QACf,CAAC,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;IAClB,OAAO,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AAC3C,CAAC;AAdD,4DAcC;AAED,SAAgB,mBAAmB,CAAC,KAAa;IAC/C,OAAO,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAC/B,CAAC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IAAI;IACrE,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QACtC,IAAI,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC,CAAC,iCAAiC;QAC9F,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,oBAAoB;QACvE,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,oBAAoB;QACvE,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,8BAA8B;QACpF,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,oBAAoB;QACzE,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,oBAAoB;QACvE,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,mCAAmC;QACvF,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,iCAAiC;QACrF,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACrD,IAAI,MAAM;YAAE,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;QAC7D,OAAO,cAAc,CAAC;KACvB;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAfD,wCAeC","sourcesContent":["import { round as _round, uniqBy as _uniqBy } from 'lodash';\nimport { IAccountingEntry } from '../../types/Interface/models/IAccountingEntry';\nimport { Vat } from '../../types/Enum/Vat';\n\nexport function getAmountByAccountNumber(accountingEntries: IAccountingEntry[], accountsNumber: string[], precision = 0, isAbs = false): number {\n const accountingEntriesUniq = _uniqBy(accountingEntries, 'id');\n const result = _round(accountingEntriesUniq.reduce((acc, accountingEntry) => {\n let accTmp = acc;\n accountsNumber.some((number) => {\n if (accountingEntry.account && accountingEntry.account.number && accountingEntry.account.number.toString().startsWith(number)) {\n accTmp += accountingEntry.debit - accountingEntry.credit;\n return true;\n }\n return false;\n });\n return accTmp;\n }, 0), precision);\n return isAbs ? Math.abs(result) : result;\n}\n\nexport function setZeroIfIsNegative(value: number): number {\n return value < 0 ? 0 : value;\n}\n\nexport function getTaxAmountByAccountNumber(accountingEntries: IAccountingEntry[], accountsNumber: string[], precision = 0, logging = false): number {\n const accountingEntriesUniq = _uniqBy(accountingEntries, 'id');\n return _round(accountingEntriesUniq.reduce((acc, accountingEntry) => {\n let accTmp = acc;\n accountsNumber.some((number) => {\n if (accountingEntry.account && accountingEntry.account.number && accountingEntry.account.number.toString().startsWith(number)) {\n\n // eslint-disable-next-line no-console\n if (logging) console.log('\\'\\'');\n // eslint-disable-next-line no-console\n if (logging) console.log(accountingEntry);\n\n accTmp += ((accountingEntry.debit - accountingEntry.credit) * (((Object.values(Vat).find((v) => v.id === accountingEntry.idVat)?.value ?? 0) / 100)));\n return true;\n }\n return false;\n });\n return accTmp;\n }, precision));\n}\n\nexport function textFormatting(value: any, length: number | null = null): string | null {\n if (value && typeof value === 'string') {\n let formattedValue = value.replace(/[\\u2018\\u2019]/g, '\\''); // Suppression des \"Curly Quotes\"\n formattedValue = formattedValue.replace(/&/g, ''); // Suppression des &\n formattedValue = formattedValue.replace(/!/g, ''); // Suppression des !\n formattedValue = formattedValue.replace(/[\\t]/g, ''); // Suppression des tabulations\n formattedValue = formattedValue.replace(/`/g, '\\''); // Suppression des `\n formattedValue = formattedValue.replace(/\"/g, ''); // Suppression des \"\n formattedValue = formattedValue.replace(/^ */, ''); // Suppression des espaces de début\n formattedValue = formattedValue.replace(/ *$/, ''); // Suppression des espaces de fin\n formattedValue = formattedValue.replace(/€/g, 'EUR');\n if (length) formattedValue = formattedValue.slice(0, length);\n return formattedValue;\n }\n return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AO,CAAC,GAAG,GAAG,CAAC,CAAC;IAE5D,IAAI,CAAC,SAAS;QAAE,OAAO,gBAAgB,CAAC;IACxC,OAAO,MAAA,IAAI,CAAC,KAAK,CAAC,gBAAgB,GAAG,GAAG,CAAC,GAAG,GAAG,mCAAI,CAAC,CAAC;AACvD,CAAC;AAND,wDAMC;AAED,SAAgB,sBAAsB,CAAC,SAAiB,EAAE,KAAa,EAAE,SAAS,GAAG,IAAI;;IACvF,MAAM,OAAO,GAAG,MAAA,MAAA,MAAM,CAAC,MAAM,CAAC,SAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK,CAAC,0CAAE,KAAK,mCAAI,EAAE,CAAC;IAC1E,MAAM,gBAAgB,GAAG,SAAS,GAAG,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,GAAG,CAAC,CAAC;IAE7D,IAAI,CAAC,SAAS;QAAE,OAAO,gBAAgB,CAAC;IACxC,OAAO,MAAA,IAAI,CAAC,KAAK,CAAC,gBAAgB,GAAG,GAAG,CAAC,GAAG,GAAG,mCAAI,CAAC,CAAC;AACvD,CAAC;AAND,wDAMC","sourcesContent":["import { round as _round, uniqBy as _uniqBy } from 'lodash';\nimport { IAccountingEntry } from '../../types/Interface/models/IAccountingEntry';\nimport { Vat } from '../../types/Enum/Vat';\n\nexport function getAmountByAccountNumber(accountingEntries: IAccountingEntry[], accountsNumber: string[], precision = 0, isAbs = false): number {\n const accountingEntriesUniq = _uniqBy(accountingEntries, 'id');\n const result = _round(accountingEntriesUniq.reduce((acc, accountingEntry) => {\n let accTmp = acc;\n accountsNumber.some((number) => {\n if (accountingEntry.account && accountingEntry.account.number && accountingEntry.account.number.toString().startsWith(number)) {\n accTmp += accountingEntry.debit - accountingEntry.credit;\n return true;\n }\n return false;\n });\n return accTmp;\n }, 0), precision);\n return isAbs ? Math.abs(result) : result;\n}\n\nexport function setZeroIfIsNegative(value: number): number {\n return value < 0 ? 0 : value;\n}\n\nexport function getTaxAmountByAccountNumber(accountingEntries: IAccountingEntry[], accountsNumber: string[], precision = 0, logging = false): number {\n const accountingEntriesUniq = _uniqBy(accountingEntries, 'id');\n return _round(accountingEntriesUniq.reduce((acc, accountingEntry) => {\n let accTmp = acc;\n accountsNumber.some((number) => {\n if (accountingEntry.account && accountingEntry.account.number && accountingEntry.account.number.toString().startsWith(number)) {\n\n // eslint-disable-next-line no-console\n if (logging) console.log('\\'\\'');\n // eslint-disable-next-line no-console\n if (logging) console.log(accountingEntry);\n\n accTmp += ((accountingEntry.debit - accountingEntry.credit) * (((Object.values(Vat).find((v) => v.id === accountingEntry.idVat)?.value ?? 0) / 100)));\n return true;\n }\n return false;\n });\n return accTmp;\n }, precision));\n}\n\nexport function textFormatting(value: any, length: number | null = null): string | null {\n if (value && typeof value === 'string') {\n let formattedValue = value.replace(/[\\u2018\\u2019]/g, '\\''); // Suppression des \"Curly Quotes\"\n formattedValue = formattedValue.replace(/&/g, ''); // Suppression des &\n formattedValue = formattedValue.replace(/!/g, ''); // Suppression des !\n formattedValue = formattedValue.replace(/[\\t]/g, ''); // Suppression des tabulations\n formattedValue = formattedValue.replace(/`/g, '\\''); // Suppression des `\n formattedValue = formattedValue.replace(/\"/g, ''); // Suppression des \"\n formattedValue = formattedValue.replace(/^ */, ''); // Suppression des espaces de début\n formattedValue = formattedValue.replace(/ *$/, ''); // Suppression des espaces de fin\n formattedValue = formattedValue.replace(/€/g, 'EUR');\n if (length) formattedValue = formattedValue.slice(0, length);\n return formattedValue;\n }\n return null;\n}\n\nexport function getTaxesIncludedAmount(amountHt: number, idVat: number, isRounded = true) {\n const vatRate = Object.values(Vat).find(v => v.id === idVat)?.value ?? 20;\n const amountNotRounded = amountHt * ((100 + vatRate) / 100);\n \n if (!isRounded) return amountNotRounded;\n return Math.round(amountNotRounded * 100) / 100 ?? 0;\n}\n\nexport function getTaxesExcludedAmount(amountTtc: number, idVat: number, isRounded = true) {\n const vatRate = Object.values(Vat).find(v => v.id === idVat)?.value ?? 20;\n const amountNotRounded = amountTtc / ((100 + vatRate) / 100);\n \n if (!isRounded) return amountNotRounded;\n return Math.round(amountNotRounded * 100) / 100 ?? 0;\n}"]}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ProcessedClosing } from '../../types';
|
|
1
|
+
import { IExercice, ProcessedClosing } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
export declare class Closing extends Resource {
|
|
4
4
|
process(idExercice: number): Promise<ProcessedClosing>;
|
|
5
|
+
unprocess(idExercice: number): Promise<IExercice>;
|
|
5
6
|
getDeadline(idExercice: number): Promise<string>;
|
|
6
7
|
}
|
|
7
8
|
//# sourceMappingURL=Closing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Closing.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Closing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Closing.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Closing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAItD,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC;IAIjD,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAGjD"}
|
|
@@ -3,6 +3,9 @@ export class Closing extends Resource {
|
|
|
3
3
|
process(idExercice) {
|
|
4
4
|
return this.axios.$post(`/balance-sheets/exercices/${idExercice}/closings`);
|
|
5
5
|
}
|
|
6
|
+
unprocess(idExercice) {
|
|
7
|
+
return this.axios.$post(`/balance-sheets/exercices/${idExercice}/open`);
|
|
8
|
+
}
|
|
6
9
|
getDeadline(idExercice) {
|
|
7
10
|
return this.axios.$post(`/balance-sheets/exercices/${idExercice}/deadline`);
|
|
8
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Closing.js","sourceRoot":"","sources":["../../../../ts/api/resources/Closing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,OAAO,CAAC,UAAkB;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,UAAU,WAAW,CAAC,CAAC;IAC9E,CAAC;
|
|
1
|
+
{"version":3,"file":"Closing.js","sourceRoot":"","sources":["../../../../ts/api/resources/Closing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,OAAO,CAAC,UAAkB;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,UAAU,WAAW,CAAC,CAAC;IAC9E,CAAC;IAED,SAAS,CAAC,UAAkB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,UAAU,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED,WAAW,CAAC,UAAkB;QAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,UAAU,WAAW,CAAC,CAAC;IAC9E,CAAC;CACF","sourcesContent":["import { IExercice, ProcessedClosing } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Closing extends Resource {\n process(idExercice: number): Promise<ProcessedClosing> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/closings`);\n }\n\n unprocess(idExercice: number): Promise<IExercice> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/open`);\n }\n\n getDeadline(idExercice: number): Promise<string> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/deadline`);\n }\n}"]}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { CancelToken } from 'axios';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
|
-
import { QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams, QueryGetStats, QueryFetchDialogDatasInfosOk, QueryFetchDialogDatasDocsOk, ReadInvalidFieldState, GedFileType, QueryPaginatedNewProspect } from '../../types';
|
|
3
|
+
import { QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams, QueryGetStats, QueryFetchDialogDatasInfosOk, QueryFetchDialogDatasDocsOk, ReadInvalidFieldState, GedFileType, QueryPaginatedNewProspect, QueryGetStatsHistory } from '../../types';
|
|
4
4
|
import { Society } from './Society';
|
|
5
5
|
export declare class Commercial extends Resource {
|
|
6
6
|
getStatsCa(params: QueryPaginatedSocietyWithStatsCa, cancelToken?: CancelToken, signal?: AbortSignal): Promise<BasePaginate<SocietyWithStatsCaParams>>;
|
|
7
7
|
getStats(params: QueryGetStats, cancelToken?: CancelToken, signal?: AbortSignal): Promise<{
|
|
8
8
|
[key: string]: number;
|
|
9
9
|
}>;
|
|
10
|
+
getStatsHistory(params: QueryGetStatsHistory, cancelToken?: CancelToken, signal?: AbortSignal): Promise<{
|
|
11
|
+
[key: string]: number;
|
|
12
|
+
}>;
|
|
10
13
|
fetchDialogDatasInfosOk(params: QueryFetchDialogDatasInfosOk, cancelToken?: CancelToken, signal?: AbortSignal): Promise<Society>;
|
|
11
14
|
fetchDialogDatasDocsOk(params: QueryFetchDialogDatasDocsOk, cancelToken?: CancelToken, signal?: AbortSignal): Promise<Society>;
|
|
12
15
|
movePrestationsToNextMonth(idUser: number): Promise<number[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Commercial.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Commercial.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4BAA4B,EAAE,WAAW,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IAOhI,sBAAsB,CAAC,MAAM,EAAE,2BAA2B,EAAE,WAAW,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IAO9H,0BAA0B,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAG7D,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;QAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC;QAAC,YAAY,EAAE,WAAW,EAAE,CAAA;KAAE,CAAC,CAAC;IAG/J,uBAAuB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;CAK3F"}
|
|
@@ -14,6 +14,13 @@ export class Commercial extends Resource {
|
|
|
14
14
|
params,
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
+
getStatsHistory(params, cancelToken, signal) {
|
|
18
|
+
return this.axios.$get('/commercial/stats-history', {
|
|
19
|
+
...(cancelToken ? { cancelToken } : {}),
|
|
20
|
+
...(signal ? { signal } : {}),
|
|
21
|
+
params,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
17
24
|
fetchDialogDatasInfosOk(params, cancelToken, signal) {
|
|
18
25
|
return this.axios.$get('/commercial/datas-infos-ok', {
|
|
19
26
|
...(cancelToken ? { cancelToken } : {}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Commercial.js","sourceRoot":"","sources":["../../../../ts/api/resources/Commercial.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Commercial.js","sourceRoot":"","sources":["../../../../ts/api/resources/Commercial.ts"],"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GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACvC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7B,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,sBAAsB,CAAC,MAAmC,EAAE,WAAyB,EAAE,MAAoB;QACzG,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,EAAE;YAClD,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACvC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7B,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,0BAA0B,CAAC,MAAc;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4CAA4C,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACnF,CAAC;IACD,mBAAmB,CAAC,SAAiB,EAAE,oBAA8B;QACnE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,SAAS,sBAAsB,EAAE,EAAE,MAAM,EAAE,EAAE,oBAAoB,EAAE,EAAE,CAAC,CAAC;IAC/G,CAAC;IACD,uBAAuB,CAAC,MAAiC;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oCAAoC,EAAE;YAC3D,MAAM;SACP,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams, QueryGetStats, QueryFetchDialogDatasInfosOk, QueryFetchDialogDatasDocsOk, ReadInvalidFieldState, GedFileType, QueryPaginatedNewProspect,\n QueryGetStatsHistory,\n} from '../../types';\nimport { Society } from './Society';\n\nexport class Commercial extends Resource {\n getStatsCa(params: QueryPaginatedSocietyWithStatsCa, cancelToken?: CancelToken, signal?: AbortSignal): Promise<BasePaginate<SocietyWithStatsCaParams>> {\n return this.axios.$get('/commercial/paginated-stats-ca', { \n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n getStats(params: QueryGetStats, cancelToken?: CancelToken, signal?: AbortSignal): Promise<{ [key: string]: number }> {\n return this.axios.$get('/commercial/stats', { \n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n getStatsHistory(params: QueryGetStatsHistory, cancelToken?: CancelToken, signal?: AbortSignal): Promise<{ [key: string]: number }> {\n return this.axios.$get('/commercial/stats-history', { \n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n fetchDialogDatasInfosOk(params: QueryFetchDialogDatasInfosOk, cancelToken?: CancelToken, signal?: AbortSignal): Promise<Society> {\n return this.axios.$get('/commercial/datas-infos-ok', { \n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n fetchDialogDatasDocsOk(params: QueryFetchDialogDatasDocsOk, cancelToken?: CancelToken, signal?: AbortSignal): Promise<Society> {\n return this.axios.$get('/commercial/datas-docs-ok', { \n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n movePrestationsToNextMonth(idUser: number): Promise<number[]> {\n return this.axios.$put('/commercial/move-prestations-to-next-month', { idUser });\n }\n checkDocsAndInfosOk(idSociety: number, listIdPrestationList: number[]): Promise<Promise<{ missingDocs: ReadInvalidFieldState[], missingInfos: GedFileType[] }>> {\n return this.axios.$get(`/commercial/${idSociety}/checkDocsAndInfosOk`, { params: { listIdPrestationList } });\n }\n getPaginatedNewProspect(params: QueryPaginatedNewProspect): Promise<BasePaginate<Society>> {\n return this.axios.$get('/commercial/paginated-new-prospect', {\n params,\n });\n }\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CreateExercice, IAdjustment, IBalanceSheet, IExercice, UpdateExercice, UpdateOrCreateAdjustment, CreateProjectExercice } from '../../types';
|
|
1
|
+
import { CreateExercice, IAdjustment, IBalanceSheet, IExercice, UpdateExercice, UpdateOrCreateAdjustment, CreateProjectExercice, QuerySocietyExercice } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
export declare class Exercice extends Resource {
|
|
4
4
|
create(params: CreateExercice): Promise<IExercice>;
|
|
5
|
-
getAllBySocietyId(id: number): Promise<IExercice[]>;
|
|
5
|
+
getAllBySocietyId(id: number, params: QuerySocietyExercice): Promise<IExercice[]>;
|
|
6
6
|
update(id: number, params: UpdateExercice): Promise<IExercice>;
|
|
7
7
|
getAllBalanceSheets(id: number): Promise<IBalanceSheet[]>;
|
|
8
8
|
updateOrCreateAdjustment(idExercice: number, params: UpdateOrCreateAdjustment): Promise<IAdjustment>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exercice.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Exercice.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,wBAAwB,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"Exercice.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Exercice.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,oBAAoB,EAC7I,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,QAAS,SAAQ,QAAQ;IACpC,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAIlD,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAIjF,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAI9D,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAIzD,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,WAAW,CAAC;IAIpG,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAIrD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIpC,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,CAAC;CAGxG"}
|
|
@@ -3,8 +3,8 @@ export class Exercice extends Resource {
|
|
|
3
3
|
create(params) {
|
|
4
4
|
return this.axios.$post('/exercices', params);
|
|
5
5
|
}
|
|
6
|
-
getAllBySocietyId(id) {
|
|
7
|
-
return this.axios.$get(`/societies/${id}/exercices
|
|
6
|
+
getAllBySocietyId(id, params) {
|
|
7
|
+
return this.axios.$get(`/societies/${id}/exercices`, { params });
|
|
8
8
|
}
|
|
9
9
|
update(id, params) {
|
|
10
10
|
return this.axios.$put(`/exercices/${id}`, params);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exercice.js","sourceRoot":"","sources":["../../../../ts/api/resources/Exercice.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,QAAS,SAAQ,QAAQ;IACpC,MAAM,CAAC,MAAsB;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,MAAM,CAAC,C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cAAc,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IACrF,CAAC;CACF","sourcesContent":["import {\n CreateExercice, IAdjustment, IBalanceSheet, IExercice, UpdateExercice, UpdateOrCreateAdjustment, CreateProjectExercice, QuerySocietyExercice,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Exercice extends Resource {\n create(params: CreateExercice): Promise<IExercice> {\n return this.axios.$post('/exercices', params);\n }\n\n getAllBySocietyId(id: number, params: QuerySocietyExercice): Promise<IExercice[]> {\n return this.axios.$get(`/societies/${id}/exercices`, { params });\n }\n\n update(id: number, params: UpdateExercice): Promise<IExercice> {\n return this.axios.$put(`/exercices/${id}`, params);\n }\n\n getAllBalanceSheets(id: number): Promise<IBalanceSheet[]> {\n return this.axios.$get(`/exercices/${id}/balance-sheets`);\n }\n\n updateOrCreateAdjustment(idExercice: number, params: UpdateOrCreateAdjustment): Promise<IAdjustment> {\n return this.axios.$post(`/exercices/${idExercice}/adjustments`, params);\n }\n\n getAllAdjustments(id: number): Promise<IAdjustment[]> {\n return this.axios.$get(`/exercices/${id}/adjustments`);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/exercices/${id}`);\n }\n\n sendBalanceSheetProject(idSociety: number, id: number, params: CreateProjectExercice): Promise<boolean> {\n return this.axios.$post(`/societies/${idSociety}/exercices/${id}/project`, params);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntermediateManagementRebate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/IntermediateManagementRebate.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAClH,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,4BAA6B,SAAQ,QAAQ;IAExD,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,kCAAkC,CAAC;IAIpE,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,gCAAgC,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAI/F,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"IntermediateManagementRebate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/IntermediateManagementRebate.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAClH,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,4BAA6B,SAAQ,QAAQ;IAExD,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,kCAAkC,CAAC;IAIpE,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,gCAAgC,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAI/F,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAS7C"}
|
|
@@ -7,7 +7,12 @@ export class IntermediateManagementRebate extends Resource {
|
|
|
7
7
|
return this.axios.$get(`/exercices/${idExercice}/intermediate-management-rebates/${type}`);
|
|
8
8
|
}
|
|
9
9
|
getFile(idExercice) {
|
|
10
|
-
return this.axios.$get(`/exercices/${idExercice}/intermediate-management-rebates/file
|
|
10
|
+
return this.axios.$get(`/exercices/${idExercice}/intermediate-management-rebates/file`, {
|
|
11
|
+
responseType: 'arraybuffer',
|
|
12
|
+
headers: {
|
|
13
|
+
Accept: 'application/pdf',
|
|
14
|
+
},
|
|
15
|
+
});
|
|
11
16
|
}
|
|
12
17
|
}
|
|
13
18
|
//# sourceMappingURL=IntermediateManagementRebate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntermediateManagementRebate.js","sourceRoot":"","sources":["../../../../ts/api/resources/IntermediateManagementRebate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,4BAA6B,SAAQ,QAAQ;IAExD,GAAG,CAAC,UAAkB;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,kCAAkC,CAAC,CAAC;IACrF,CAAC;IAED,SAAS,CAAC,UAAkB,EAAE,IAAsC;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,oCAAoC,IAAI,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED,OAAO,CAAC,UAAkB;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,uCAAuC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"IntermediateManagementRebate.js","sourceRoot":"","sources":["../../../../ts/api/resources/IntermediateManagementRebate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,4BAA6B,SAAQ,QAAQ;IAExD,GAAG,CAAC,UAAkB;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,kCAAkC,CAAC,CAAC;IACrF,CAAC;IAED,SAAS,CAAC,UAAkB,EAAE,IAAsC;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,oCAAoC,IAAI,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED,OAAO,CAAC,UAAkB;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,uCAAuC,EAAE;YACtF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CAEF","sourcesContent":["import { IMRTypeFilled, IntermediateManagementRebateType, ReadFormattedIMRFilledWithExercice } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class IntermediateManagementRebate extends Resource {\n \n get(idExercice: number): Promise<ReadFormattedIMRFilledWithExercice> {\n return this.axios.$get(`/exercices/${idExercice}/intermediate-management-rebates`);\n }\n\n getByType(idExercice: number, type: IntermediateManagementRebateType): Promise<IMRTypeFilled[]> {\n return this.axios.$get(`/exercices/${idExercice}/intermediate-management-rebates/${type}`);\n }\n\n getFile(idExercice: number): Promise<Buffer> {\n return this.axios.$get(`/exercices/${idExercice}/intermediate-management-rebates/file`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n}"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { CreateNotifyCustomer, IPayment, QueryMonthlyPayment, QueryPayment, QueryPaymentCsv, QuerySocietyUnpaid, ReadPaid, ReadStatPrestation, ReadStatsSocietyUnpaid } from '../../types';
|
|
2
|
+
import { CreateNotifyCustomer, CreatePaymentsAutoBilling, IPayment, QueryMonthlyPayment, QueryPayment, QueryPaymentCsv, QuerySocietyUnpaid, ReadPaid, ReadStatPrestation, ReadStatsSocietyUnpaid } from '../../types';
|
|
3
3
|
export declare class Payment extends Resource {
|
|
4
4
|
getMonthlyCsv(query: QueryMonthlyPayment): Promise<void>;
|
|
5
5
|
getInternalPaymentCsv(query: QueryPaymentCsv): Promise<void>;
|
|
@@ -14,5 +14,6 @@ export declare class Payment extends Resource {
|
|
|
14
14
|
assetPaymentStats: ReadStatPrestation;
|
|
15
15
|
}>;
|
|
16
16
|
getStatsSocietyUnpaid(payload: QuerySocietyUnpaid): Promise<ReadStatsSocietyUnpaid[]>;
|
|
17
|
+
generateForAutoBilling(payload: CreatePaymentsAutoBilling): Promise<ReadStatsSocietyUnpaid[]>;
|
|
17
18
|
}
|
|
18
19
|
//# sourceMappingURL=Payment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payment.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Payment.ts"],"names":[],"mappings":"AAAA,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ACL,CAAC;IAED,wBAAwB,CAAC,OAAqB;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE;YACpD,MAAM,EAAE,OAAO;SAChB,CAAC,CAAC;IACL,CAAC;IAED,qBAAqB,CAAC,OAA2B;QAC/C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE;YACjD,MAAM,EAAE,OAAO;SAChB,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateNotifyCustomer, IPayment, QueryMonthlyPayment, QueryPayment, QueryPaymentCsv, QuerySocietyUnpaid, ReadPaid, ReadStatPrestation, ReadStatsSocietyUnpaid } from '../../types';\n\nexport class Payment extends Resource {\n getMonthlyCsv(query: QueryMonthlyPayment): Promise<void> {\n return this.axios.$get('payment/monthlyCsv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getInternalPaymentCsv(query: QueryPaymentCsv): Promise<void> {\n return this.axios.$get('payment/internal-payment/csv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n notifyCustomers(payload: CreateNotifyCustomer): Promise<void> {\n return this.axios.$post('payment/notify-customers', payload);\n }\n\n notifyCustomersInvoice(payload: CreateNotifyCustomer): Promise<void> {\n return this.axios.$post('payment/notify-customers-invoice', payload);\n }\n\n getPaid(payload: QueryPayment): Promise<ReadPaid> {\n return this.axios.$get('payment/paid', {\n params: payload,\n });\n }\n\n getUnpaid(payload: QueryPayment): Promise<IPayment & { unpaid: number }[]> {\n return this.axios.$get('payment/unpaid', {\n params: payload,\n });\n }\n\n getStatsPaidByPrestation(payload: QueryPayment): Promise<{ invoicePaymentStats: ReadStatPrestation, assetPaymentStats: ReadStatPrestation }> {\n return this.axios.$get('payment/paid-by-prestations', {\n params: payload,\n });\n }\n\n getStatsSocietyUnpaid(payload: QuerySocietyUnpaid): Promise<ReadStatsSocietyUnpaid[]> {\n return this.axios.$get('payment/societies-unpaid', {\n params: payload,\n });\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../ts/api/resources/Payment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,aAAa,CAAC,KAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,qBAAqB,CAAC,KAAsB;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACrD,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,eAAe,CAAC,OAA6B;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,sBAAsB,CAAC,OAA6B;QAClD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kCAAkC,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED,OAAO,CAAC,OAAqB;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE;YACrC,MAAM,EAAE,OAAO;SAChB,CAAC,CAAC;IACL,CAAC;IAED,SAAS,CAAC,OAAqB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,MAAM,EAAE,OAAO;SAChB,CAAC,CAAC;IACL,CAAC;IAED,wBAAwB,CAAC,OAAqB;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE;YACpD,MAAM,EAAE,OAAO;SAChB,CAAC,CAAC;IACL,CAAC;IAED,qBAAqB,CAAC,OAA2B;QAC/C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE;YACjD,MAAM,EAAE,OAAO;SAChB,CAAC,CAAC;IACL,CAAC;IAED,sBAAsB,CAAC,OAAkC;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateNotifyCustomer, CreatePaymentsAutoBilling, IPayment, QueryMonthlyPayment, QueryPayment, QueryPaymentCsv, QuerySocietyUnpaid, ReadPaid, ReadStatPrestation, ReadStatsSocietyUnpaid } from '../../types';\n\nexport class Payment extends Resource {\n getMonthlyCsv(query: QueryMonthlyPayment): Promise<void> {\n return this.axios.$get('payment/monthlyCsv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getInternalPaymentCsv(query: QueryPaymentCsv): Promise<void> {\n return this.axios.$get('payment/internal-payment/csv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n notifyCustomers(payload: CreateNotifyCustomer): Promise<void> {\n return this.axios.$post('payment/notify-customers', payload);\n }\n\n notifyCustomersInvoice(payload: CreateNotifyCustomer): Promise<void> {\n return this.axios.$post('payment/notify-customers-invoice', payload);\n }\n\n getPaid(payload: QueryPayment): Promise<ReadPaid> {\n return this.axios.$get('payment/paid', {\n params: payload,\n });\n }\n\n getUnpaid(payload: QueryPayment): Promise<IPayment & { unpaid: number }[]> {\n return this.axios.$get('payment/unpaid', {\n params: payload,\n });\n }\n\n getStatsPaidByPrestation(payload: QueryPayment): Promise<{ invoicePaymentStats: ReadStatPrestation, assetPaymentStats: ReadStatPrestation }> {\n return this.axios.$get('payment/paid-by-prestations', {\n params: payload,\n });\n }\n\n getStatsSocietyUnpaid(payload: QuerySocietyUnpaid): Promise<ReadStatsSocietyUnpaid[]> {\n return this.axios.$get('payment/societies-unpaid', {\n params: payload,\n });\n }\n\n generateForAutoBilling(payload: CreatePaymentsAutoBilling): Promise<ReadStatsSocietyUnpaid[]> {\n return this.axios.$post('payment/auto-billing', payload);\n }\n}"]}
|
|
@@ -7,6 +7,8 @@ export declare const PriceGridClementine: ({
|
|
|
7
7
|
idTypeBrand: number;
|
|
8
8
|
price: ({
|
|
9
9
|
idPrestationList: PrestationType[];
|
|
10
|
+
applicationCost: number;
|
|
11
|
+
priceWithTaxesIncluded: boolean;
|
|
10
12
|
monthlyNbr: {
|
|
11
13
|
minimum: number;
|
|
12
14
|
maximum: number;
|
|
@@ -30,6 +32,8 @@ export declare const PriceGridClementine: ({
|
|
|
30
32
|
exerciceNbr?: undefined;
|
|
31
33
|
} | {
|
|
32
34
|
idPrestationList: PrestationType[];
|
|
35
|
+
applicationCost: number;
|
|
36
|
+
priceWithTaxesIncluded: boolean;
|
|
33
37
|
monthlyNbr: {
|
|
34
38
|
minimum: number;
|
|
35
39
|
maximum: number;
|
|
@@ -56,6 +60,8 @@ export declare const PriceGridClementine: ({
|
|
|
56
60
|
exerciceNbr?: undefined;
|
|
57
61
|
} | {
|
|
58
62
|
idPrestationList: PrestationType[];
|
|
63
|
+
applicationCost: number;
|
|
64
|
+
priceWithTaxesIncluded: boolean;
|
|
59
65
|
turnoverCreatedYear: {
|
|
60
66
|
turnoverValue: number;
|
|
61
67
|
price: number;
|
|
@@ -74,6 +80,8 @@ export declare const PriceGridClementine: ({
|
|
|
74
80
|
exerciceNbr?: undefined;
|
|
75
81
|
} | {
|
|
76
82
|
idPrestationList: PrestationType[];
|
|
83
|
+
applicationCost: number;
|
|
84
|
+
priceWithTaxesIncluded: boolean;
|
|
77
85
|
partner: {
|
|
78
86
|
amountMinimum: number;
|
|
79
87
|
amountMaximum: number;
|
|
@@ -90,6 +98,8 @@ export declare const PriceGridClementine: ({
|
|
|
90
98
|
exerciceNbr?: undefined;
|
|
91
99
|
} | {
|
|
92
100
|
idPrestationList: PrestationType[];
|
|
101
|
+
applicationCost: number;
|
|
102
|
+
priceWithTaxesIncluded: boolean;
|
|
93
103
|
employee: {
|
|
94
104
|
amountMinimum: number;
|
|
95
105
|
amountMaximum: number;
|
|
@@ -106,6 +116,8 @@ export declare const PriceGridClementine: ({
|
|
|
106
116
|
exerciceNbr?: undefined;
|
|
107
117
|
} | {
|
|
108
118
|
idPrestationList: PrestationType[];
|
|
119
|
+
applicationCost: number;
|
|
120
|
+
priceWithTaxesIncluded: boolean;
|
|
109
121
|
exerciceNbr: {
|
|
110
122
|
minimum: number;
|
|
111
123
|
maximum: number;
|
|
@@ -125,6 +137,8 @@ export declare const PriceGridClementine: ({
|
|
|
125
137
|
idTypeBrand: number;
|
|
126
138
|
price: ({
|
|
127
139
|
idPrestationList: PrestationType[];
|
|
140
|
+
priceWithTaxesIncluded: boolean;
|
|
141
|
+
applicationCost: number;
|
|
128
142
|
turnoverMonthly: {
|
|
129
143
|
turnoverValue: number;
|
|
130
144
|
price: number;
|
|
@@ -144,6 +158,8 @@ export declare const PriceGridClementine: ({
|
|
|
144
158
|
exerciceNbr?: undefined;
|
|
145
159
|
} | {
|
|
146
160
|
idPrestationList: PrestationType[];
|
|
161
|
+
priceWithTaxesIncluded: boolean;
|
|
162
|
+
applicationCost: number;
|
|
147
163
|
properties: {
|
|
148
164
|
amount: number;
|
|
149
165
|
price: number;
|
|
@@ -157,6 +173,8 @@ export declare const PriceGridClementine: ({
|
|
|
157
173
|
exerciceNbr?: undefined;
|
|
158
174
|
} | {
|
|
159
175
|
idPrestationList: PrestationType[];
|
|
176
|
+
applicationCost: number;
|
|
177
|
+
priceWithTaxesIncluded: boolean;
|
|
160
178
|
turnoverCreatedYear: {
|
|
161
179
|
turnoverValue: number;
|
|
162
180
|
price: number;
|
|
@@ -173,6 +191,8 @@ export declare const PriceGridClementine: ({
|
|
|
173
191
|
exerciceNbr?: undefined;
|
|
174
192
|
} | {
|
|
175
193
|
idPrestationList: PrestationType[];
|
|
194
|
+
applicationCost: number;
|
|
195
|
+
priceWithTaxesIncluded: boolean;
|
|
176
196
|
employeeByLegalForm: {
|
|
177
197
|
idLegalForm: LegalFormTypeEnum;
|
|
178
198
|
price: number;
|
|
@@ -186,6 +206,8 @@ export declare const PriceGridClementine: ({
|
|
|
186
206
|
exerciceNbr?: undefined;
|
|
187
207
|
} | {
|
|
188
208
|
idPrestationList: PrestationType[];
|
|
209
|
+
applicationCost: number;
|
|
210
|
+
priceWithTaxesIncluded: boolean;
|
|
189
211
|
exerciceNbr: {
|
|
190
212
|
minimum: number;
|
|
191
213
|
maximum: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceGridClementine.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PriceGridClementine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"PriceGridClementine.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PriceGridClementine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2kB/B,CAAC"}
|
|
@@ -11,6 +11,8 @@ export const PriceGridClementine = [
|
|
|
11
11
|
{
|
|
12
12
|
/* Compta Pro */
|
|
13
13
|
idPrestationList: [PrestationType.COMPTA_PRO, PrestationType.COMPTA_PRO_EXPRESS],
|
|
14
|
+
applicationCost: 14.9,
|
|
15
|
+
priceWithTaxesIncluded: false,
|
|
14
16
|
monthlyNbr: [
|
|
15
17
|
{
|
|
16
18
|
minimum: 0,
|
|
@@ -79,6 +81,8 @@ export const PriceGridClementine = [
|
|
|
79
81
|
{
|
|
80
82
|
/* Compta Entreprise */
|
|
81
83
|
idPrestationList: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS],
|
|
84
|
+
applicationCost: 14.9,
|
|
85
|
+
priceWithTaxesIncluded: false,
|
|
82
86
|
monthlyNbr: [
|
|
83
87
|
{
|
|
84
88
|
minimum: 0,
|
|
@@ -151,6 +155,8 @@ export const PriceGridClementine = [
|
|
|
151
155
|
{
|
|
152
156
|
/* Compta SCI */
|
|
153
157
|
idPrestationList: [PrestationType.COMPTA_SCI, PrestationType.COMPTA_SCI_EXPRESS],
|
|
158
|
+
applicationCost: 9.9,
|
|
159
|
+
priceWithTaxesIncluded: false,
|
|
154
160
|
monthlyNbr: [
|
|
155
161
|
{
|
|
156
162
|
minimum: 0,
|
|
@@ -233,6 +239,8 @@ export const PriceGridClementine = [
|
|
|
233
239
|
{
|
|
234
240
|
/* Prévisionnel */
|
|
235
241
|
idPrestationList: [PrestationType.BILAN_PREVISIONNEL],
|
|
242
|
+
applicationCost: 14.9,
|
|
243
|
+
priceWithTaxesIncluded: false,
|
|
236
244
|
turnoverCreatedYear: [
|
|
237
245
|
{
|
|
238
246
|
turnoverValue: 75000,
|
|
@@ -281,6 +289,8 @@ export const PriceGridClementine = [
|
|
|
281
289
|
{
|
|
282
290
|
/* Gestion Juridique */
|
|
283
291
|
idPrestationList: [PrestationType.GESTION_JURIDIQUE],
|
|
292
|
+
applicationCost: 14.9,
|
|
293
|
+
priceWithTaxesIncluded: false,
|
|
284
294
|
partner: [
|
|
285
295
|
{
|
|
286
296
|
amountMinimum: 1,
|
|
@@ -302,6 +312,8 @@ export const PriceGridClementine = [
|
|
|
302
312
|
{
|
|
303
313
|
/* Social */
|
|
304
314
|
idPrestationList: [PrestationType.SOCIAL],
|
|
315
|
+
applicationCost: 14.9,
|
|
316
|
+
priceWithTaxesIncluded: false,
|
|
305
317
|
employee: [
|
|
306
318
|
{
|
|
307
319
|
amountMinimum: 1,
|
|
@@ -333,6 +345,8 @@ export const PriceGridClementine = [
|
|
|
333
345
|
{
|
|
334
346
|
/* Assurance Control Fiscal */
|
|
335
347
|
idPrestationList: [PrestationType.ASSURANCE_CONTROLE_FISCAL],
|
|
348
|
+
applicationCost: 14.9,
|
|
349
|
+
priceWithTaxesIncluded: false,
|
|
336
350
|
exerciceNbr: [
|
|
337
351
|
{
|
|
338
352
|
minimum: 1,
|
|
@@ -370,6 +384,8 @@ export const PriceGridClementine = [
|
|
|
370
384
|
{
|
|
371
385
|
// Compta Micro
|
|
372
386
|
idPrestationList: [PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_MICRO_KLEMS_EXPRESS],
|
|
387
|
+
priceWithTaxesIncluded: true,
|
|
388
|
+
applicationCost: 0,
|
|
373
389
|
turnoverMonthly: [
|
|
374
390
|
{
|
|
375
391
|
turnoverValue: 50000,
|
|
@@ -412,6 +428,8 @@ export const PriceGridClementine = [
|
|
|
412
428
|
{
|
|
413
429
|
// Compta EI
|
|
414
430
|
idPrestationList: [PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_EI_KLEMS_EXPRESS],
|
|
431
|
+
priceWithTaxesIncluded: true,
|
|
432
|
+
applicationCost: 0,
|
|
415
433
|
turnoverMonthly: [
|
|
416
434
|
{
|
|
417
435
|
turnoverValue: 50000,
|
|
@@ -460,8 +478,10 @@ export const PriceGridClementine = [
|
|
|
460
478
|
],
|
|
461
479
|
},
|
|
462
480
|
{
|
|
463
|
-
/* Compta SCI */
|
|
481
|
+
/* Compta SCI Clems */
|
|
464
482
|
idPrestationList: [PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS_EXPRESS],
|
|
483
|
+
priceWithTaxesIncluded: true,
|
|
484
|
+
applicationCost: 0,
|
|
465
485
|
properties: [
|
|
466
486
|
{
|
|
467
487
|
amount: 1,
|
|
@@ -492,6 +512,8 @@ export const PriceGridClementine = [
|
|
|
492
512
|
{
|
|
493
513
|
/* Prévisionnel */
|
|
494
514
|
idPrestationList: [PrestationType.BILAN_PREVISIONNEL],
|
|
515
|
+
applicationCost: 14.9,
|
|
516
|
+
priceWithTaxesIncluded: false,
|
|
495
517
|
turnoverCreatedYear: [
|
|
496
518
|
{
|
|
497
519
|
turnoverValue: 75000,
|
|
@@ -540,6 +562,8 @@ export const PriceGridClementine = [
|
|
|
540
562
|
{
|
|
541
563
|
/* Social */
|
|
542
564
|
idPrestationList: [PrestationType.SOCIAL],
|
|
565
|
+
applicationCost: 14.9,
|
|
566
|
+
priceWithTaxesIncluded: false,
|
|
543
567
|
employeeByLegalForm: [
|
|
544
568
|
{
|
|
545
569
|
idLegalForm: LegalFormTypeEnum.EI,
|
|
@@ -554,6 +578,8 @@ export const PriceGridClementine = [
|
|
|
554
578
|
{
|
|
555
579
|
/* Assurance Control Fiscal */
|
|
556
580
|
idPrestationList: [PrestationType.ASSURANCE_CONTROLE_FISCAL],
|
|
581
|
+
applicationCost: 14.9,
|
|
582
|
+
priceWithTaxesIncluded: false,
|
|
557
583
|
exerciceNbr: [
|
|
558
584
|
{
|
|
559
585
|
minimum: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceGridClementine.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PriceGridClementine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC;QACE,gBAAgB;QAChB,WAAW,EAAE,CAAC;QACd,KAAK,EAAE;YACL;gBACE,gBAAgB;gBAChB,gBAAgB,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,kBAAkB,CAAC;gBAChF,UAAU,EAAE;oBACV;wBACE,OAAO,EAAE,CAAC;wBACV,OAAO,EAAE,CAAC;wBACV,KAAK,EAAE,CAAC;wBACR,WAAW,EAAE,CAAC,WAAW,CAAC,QAAQ,EAAE,WAAW,CAAC,WAAW,CAAC;qBAC7D;oBACD;wBACE,OAAO,EAAE,CAAC;wBACV,OAAO,EAAE,CAAC;wBACV,KAAK,EAAE,CAAC;wBACR,WAAW,EAAE,CAAC,WAAW,CAAC,QAAQ,EAAE,WAAW,CAAC,WAAW,CAAC;qBAC7D;oBACD;wBACE,OAAO,EAAE,EAAE;wBACX,OAAO,EAAE,EAAE;wBACX,KAAK,EAAE,EAAE;wBACT,WAAW,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC;qBACpC;iBACF;gBACD,eAAe,EAAE;oBACf;wBACE,aAAa,EAAE,KAAK;wBACpB,KAAK,EAAE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AAmB,EAAE;oBACnB;wBACE,WAAW,EAAE,iBAAiB,CAAC,EAAE;wBACjC,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,WAAW,EAAE,iBAAiB,CAAC,iBAAiB;wBAChD,KAAK,EAAE,EAAE;qBACV;iBACF;aACF;YACD;gBACE,8BAA8B;gBAC9B,gBAAgB,EAAE,CAAC,cAAc,CAAC,yBAAyB,CAAC;gBAC5D,WAAW,EAAE;oBACX;wBACE,OAAO,EAAE,CAAC;wBACV,OAAO,EAAE,IAAI;wBACb,KAAK,EAAE,GAAG;qBACX;iBACF;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["import { VatRegime } from './VatRegime';\nimport { ClosingType } from './ClosingType';\nimport { PrestationType } from './PrestationType';\nimport { TaxSystem } from './TaxSystem';\nimport { LegalFormTypeEnum } from './LegalForm';\n\nexport const PriceGridClementine = [\n {\n /* Clementine */\n idTypeBrand: 1,\n price: [\n {\n /* Compta Pro */\n idPrestationList: [PrestationType.COMPTA_PRO, PrestationType.COMPTA_PRO_EXPRESS],\n monthlyNbr: [\n {\n minimum: 0,\n maximum: 4,\n value: 6,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 5,\n maximum: 9,\n value: 9,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 12,\n maximum: 16,\n value: 16,\n closingType: [ClosingType.OUTDATED],\n },\n ],\n turnoverMonthly: [\n {\n turnoverValue: 10000,\n price: 59,\n },\n {\n turnoverValue: 50000,\n price: 79,\n },\n {\n turnoverValue: 100000,\n price: 99,\n },\n {\n turnoverValue: 150000,\n price: 109,\n },\n {\n turnoverValue: 200000,\n price: 129,\n },\n {\n turnoverValue: 250000,\n price: 149,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n },\n {\n /* Compta Entreprise */\n idPrestationList: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS],\n monthlyNbr: [\n {\n minimum: 0,\n maximum: 4,\n value: 6,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 5,\n maximum: 9,\n value: 9,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 12,\n maximum: 16,\n value: 16,\n closingType: [ClosingType.OUTDATED],\n },\n ],\n turnoverMonthly: [\n {\n turnoverValue: 50000,\n price: 99,\n },\n {\n turnoverValue: 150000,\n price: 129,\n },\n {\n turnoverValue: 250000,\n price: 169,\n },\n {\n turnoverValue: 350000,\n price: 209,\n },\n {\n turnoverValue: 500000,\n price: 239,\n },\n {\n turnoverValue: 700000,\n price: 279,\n },\n {\n turnoverValue: 900000,\n price: 329,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n },\n {\n /* Compta SCI */\n idPrestationList: [PrestationType.COMPTA_SCI, PrestationType.COMPTA_SCI_EXPRESS],\n monthlyNbr: [\n {\n minimum: 0,\n maximum: 4,\n value: 6,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 5,\n maximum: 9,\n value: 9,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 12,\n maximum: 16,\n value: 16,\n closingType: [ClosingType.OUTDATED],\n },\n ],\n properties: [\n {\n amount: 1,\n price: 39,\n },\n {\n amount: 2,\n price: 49,\n },\n {\n amount: 3,\n price: 59,\n },\n {\n amount: 4,\n price: 69,\n },\n {\n amount: 5,\n price: 79,\n },\n {\n amount: 6,\n price: 89,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n taxSystem: [\n {\n id: TaxSystem.IR,\n price: 0,\n },\n {\n id: TaxSystem.IS,\n price: 15,\n },\n {\n id: TaxSystem.NA,\n price: 0,\n },\n ],\n },\n {\n /* Prévisionnel */\n idPrestationList: [PrestationType.BILAN_PREVISIONNEL],\n turnoverCreatedYear: [\n {\n turnoverValue: 75000,\n price: 199,\n },\n {\n turnoverValue: 150000,\n price: 299,\n },\n {\n turnoverValue: 400000,\n price: 399,\n },\n {\n turnoverValue: 750000,\n price: 579,\n },\n {\n turnoverValue: 1000000,\n price: 889,\n },\n ],\n turnoverPastYear: [\n {\n turnoverValue: 75000,\n price: 299,\n },\n {\n turnoverValue: 150000,\n price: 399,\n },\n {\n turnoverValue: 400000,\n price: 499,\n },\n {\n turnoverValue: 750000,\n price: 679,\n },\n {\n turnoverValue: 1000000,\n price: 989,\n },\n ],\n },\n {\n /* Gestion Juridique */\n idPrestationList: [PrestationType.GESTION_JURIDIQUE],\n partner: [\n {\n amountMinimum: 1,\n amountMaximum: 1,\n price: 249,\n },\n {\n amountMinimum: 2,\n amountMaximum: 4,\n price: 299,\n },\n {\n amountMinimum: 5,\n amountMaximum: 1000000,\n price: 399,\n },\n ],\n },\n {\n /* Social */\n idPrestationList: [PrestationType.SOCIAL],\n employee: [\n {\n amountMinimum: 1,\n amountMaximum: 1,\n price: 33,\n },\n {\n amountMinimum: 2,\n amountMaximum: 5,\n price: 30,\n },\n {\n amountMinimum: 6,\n amountMaximum: 20,\n price: 28,\n },\n {\n amountMinimum: 21,\n amountMaximum: 50,\n price: 27,\n },\n {\n amountMinimum: 50,\n amountMaximum: 1000000,\n price: 25,\n },\n ],\n },\n {\n /* Assurance Control Fiscal */\n idPrestationList: [PrestationType.ASSURANCE_CONTROLE_FISCAL],\n exerciceNbr: [\n {\n minimum: 1,\n maximum: 2,\n price: 149,\n },\n {\n minimum: 3,\n maximum: 1000,\n price: 299,\n },\n ],\n },\n ],\n },\n {\n /* Leglastart */\n idTypeBrand: 2,\n price: [],\n },\n {\n /* Statuts Express */\n idTypeBrand: 4,\n price: [],\n },\n {\n /* Kandbaz */\n idTypeBrand: 5,\n price: [],\n },\n {\n /* Klems */\n idTypeBrand: 6,\n price: [\n {\n // Compta Micro\n idPrestationList: [PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_MICRO_KLEMS_EXPRESS],\n turnoverMonthly: [\n {\n turnoverValue: 50000,\n price: 39,\n },\n {\n turnoverValue: 1000000000000,\n price: 59,\n },\n ],\n turnoverYearly: [\n {\n turnoverValue: 50000,\n price: 390,\n },\n {\n turnoverValue: 1000000000000,\n price: 590,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 24,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 24,\n },\n {\n type: VatRegime.MONTHLY,\n price: 24,\n },\n ],\n },\n {\n // Compta EI\n idPrestationList: [PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_EI_KLEMS_EXPRESS],\n turnoverMonthly: [\n {\n turnoverValue: 50000,\n price: 49,\n },\n {\n turnoverValue: 150000,\n price: 69,\n },\n {\n turnoverValue: 250000,\n price: 89,\n },\n ],\n turnoverYearly: [\n {\n turnoverValue: 50000,\n price: 490,\n },\n {\n turnoverValue: 150000,\n price: 690,\n },\n {\n turnoverValue: 250000,\n price: 890,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n },\n {\n /* Compta SCI */\n idPrestationList: [PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS_EXPRESS],\n properties: [\n {\n amount: 1,\n price: 49,\n },\n {\n amount: 2,\n price: 59,\n },\n {\n amount: 3,\n price: 69,\n },\n {\n amount: 4,\n price: 79,\n },\n {\n amount: 5,\n price: 89,\n },\n {\n amount: 6,\n price: 99,\n },\n ],\n },\n {\n /* Prévisionnel */\n idPrestationList: [PrestationType.BILAN_PREVISIONNEL],\n turnoverCreatedYear: [\n {\n turnoverValue: 75000,\n price: 199,\n },\n {\n turnoverValue: 150000,\n price: 299,\n },\n {\n turnoverValue: 400000,\n price: 399,\n },\n {\n turnoverValue: 750000,\n price: 579,\n },\n {\n turnoverValue: 1000000,\n price: 889,\n },\n ],\n turnoverPastYear: [\n {\n turnoverValue: 75000,\n price: 299,\n },\n {\n turnoverValue: 150000,\n price: 399,\n },\n {\n turnoverValue: 400000,\n price: 499,\n },\n {\n turnoverValue: 750000,\n price: 679,\n },\n {\n turnoverValue: 1000000,\n price: 989,\n },\n ],\n },\n {\n /* Social */\n idPrestationList: [PrestationType.SOCIAL],\n employeeByLegalForm: [\n {\n idLegalForm: LegalFormTypeEnum.EI,\n price: 33,\n },\n {\n idLegalForm: LegalFormTypeEnum.AUTO_ENTREPRENEUR,\n price: 36,\n },\n ],\n },\n {\n /* Assurance Control Fiscal */\n idPrestationList: [PrestationType.ASSURANCE_CONTROLE_FISCAL],\n exerciceNbr: [\n {\n minimum: 1,\n maximum: 1000,\n price: 199,\n },\n ],\n },\n ],\n },\n];"]}
|
|
1
|
+
{"version":3,"file":"PriceGridClementine.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PriceGridClementine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC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rB,KAAK,EAAE,GAAG;qBACX;oBACD;wBACE,aAAa,EAAE,MAAM;wBACrB,KAAK,EAAE,GAAG;qBACX;oBACD;wBACE,aAAa,EAAE,MAAM;wBACrB,KAAK,EAAE,GAAG;qBACX;oBACD;wBACE,aAAa,EAAE,OAAO;wBACtB,KAAK,EAAE,GAAG;qBACX;iBACF;aACF;YACD;gBACE,YAAY;gBACZ,gBAAgB,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC;gBACzC,eAAe,EAAE,IAAI;gBACrB,sBAAsB,EAAE,KAAK;gBAC7B,mBAAmB,EAAE;oBACnB;wBACE,WAAW,EAAE,iBAAiB,CAAC,EAAE;wBACjC,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,WAAW,EAAE,iBAAiB,CAAC,iBAAiB;wBAChD,KAAK,EAAE,EAAE;qBACV;iBACF;aACF;YACD;gBACE,8BAA8B;gBAC9B,gBAAgB,EAAE,CAAC,cAAc,CAAC,yBAAyB,CAAC;gBAC5D,eAAe,EAAE,IAAI;gBACrB,sBAAsB,EAAE,KAAK;gBAC7B,WAAW,EAAE;oBACX;wBACE,OAAO,EAAE,CAAC;wBACV,OAAO,EAAE,IAAI;wBACb,KAAK,EAAE,GAAG;qBACX;iBACF;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["import { VatRegime } from './VatRegime';\nimport { ClosingType } from './ClosingType';\nimport { PrestationType } from './PrestationType';\nimport { TaxSystem } from './TaxSystem';\nimport { LegalFormTypeEnum } from './LegalForm';\n\nexport const PriceGridClementine = [\n {\n /* Clementine */\n idTypeBrand: 1,\n price: [\n {\n /* Compta Pro */\n idPrestationList: [PrestationType.COMPTA_PRO, PrestationType.COMPTA_PRO_EXPRESS],\n applicationCost: 14.9,\n priceWithTaxesIncluded: false,\n monthlyNbr: [\n {\n minimum: 0,\n maximum: 4,\n value: 6,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 5,\n maximum: 9,\n value: 9,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 12,\n maximum: 16,\n value: 16,\n closingType: [ClosingType.OUTDATED],\n },\n ],\n turnoverMonthly: [\n {\n turnoverValue: 10000,\n price: 59,\n },\n {\n turnoverValue: 50000,\n price: 79,\n },\n {\n turnoverValue: 100000,\n price: 99,\n },\n {\n turnoverValue: 150000,\n price: 109,\n },\n {\n turnoverValue: 200000,\n price: 129,\n },\n {\n turnoverValue: 250000,\n price: 149,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n },\n {\n /* Compta Entreprise */\n idPrestationList: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS],\n applicationCost: 14.9,\n priceWithTaxesIncluded: false,\n monthlyNbr: [\n {\n minimum: 0,\n maximum: 4,\n value: 6,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 5,\n maximum: 9,\n value: 9,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 12,\n maximum: 16,\n value: 16,\n closingType: [ClosingType.OUTDATED],\n },\n ],\n turnoverMonthly: [\n {\n turnoverValue: 50000,\n price: 99,\n },\n {\n turnoverValue: 150000,\n price: 129,\n },\n {\n turnoverValue: 250000,\n price: 169,\n },\n {\n turnoverValue: 350000,\n price: 209,\n },\n {\n turnoverValue: 500000,\n price: 239,\n },\n {\n turnoverValue: 700000,\n price: 279,\n },\n {\n turnoverValue: 900000,\n price: 329,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n },\n {\n /* Compta SCI */\n idPrestationList: [PrestationType.COMPTA_SCI, PrestationType.COMPTA_SCI_EXPRESS],\n applicationCost: 9.9,\n priceWithTaxesIncluded: false,\n monthlyNbr: [\n {\n minimum: 0,\n maximum: 4,\n value: 6,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 5,\n maximum: 9,\n value: 9,\n closingType: [ClosingType.OUTDATED, ClosingType.IN_PROGRESS],\n },\n {\n minimum: 12,\n maximum: 16,\n value: 16,\n closingType: [ClosingType.OUTDATED],\n },\n ],\n properties: [\n {\n amount: 1,\n price: 39,\n },\n {\n amount: 2,\n price: 49,\n },\n {\n amount: 3,\n price: 59,\n },\n {\n amount: 4,\n price: 69,\n },\n {\n amount: 5,\n price: 79,\n },\n {\n amount: 6,\n price: 89,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n taxSystem: [\n {\n id: TaxSystem.IR,\n price: 0,\n },\n {\n id: TaxSystem.IS,\n price: 15,\n },\n {\n id: TaxSystem.NA,\n price: 0,\n },\n ],\n },\n {\n /* Prévisionnel */\n idPrestationList: [PrestationType.BILAN_PREVISIONNEL],\n applicationCost: 14.9,\n priceWithTaxesIncluded: false,\n turnoverCreatedYear: [\n {\n turnoverValue: 75000,\n price: 199,\n },\n {\n turnoverValue: 150000,\n price: 299,\n },\n {\n turnoverValue: 400000,\n price: 399,\n },\n {\n turnoverValue: 750000,\n price: 579,\n },\n {\n turnoverValue: 1000000,\n price: 889,\n },\n ],\n turnoverPastYear: [\n {\n turnoverValue: 75000,\n price: 299,\n },\n {\n turnoverValue: 150000,\n price: 399,\n },\n {\n turnoverValue: 400000,\n price: 499,\n },\n {\n turnoverValue: 750000,\n price: 679,\n },\n {\n turnoverValue: 1000000,\n price: 989,\n },\n ],\n },\n {\n /* Gestion Juridique */\n idPrestationList: [PrestationType.GESTION_JURIDIQUE],\n applicationCost: 14.9,\n priceWithTaxesIncluded: false,\n partner: [\n {\n amountMinimum: 1,\n amountMaximum: 1,\n price: 249,\n },\n {\n amountMinimum: 2,\n amountMaximum: 4,\n price: 299,\n },\n {\n amountMinimum: 5,\n amountMaximum: 1000000,\n price: 399,\n },\n ],\n },\n {\n /* Social */\n idPrestationList: [PrestationType.SOCIAL],\n applicationCost: 14.9,\n priceWithTaxesIncluded: false,\n employee: [\n {\n amountMinimum: 1,\n amountMaximum: 1,\n price: 33,\n },\n {\n amountMinimum: 2,\n amountMaximum: 5,\n price: 30,\n },\n {\n amountMinimum: 6,\n amountMaximum: 20,\n price: 28,\n },\n {\n amountMinimum: 21,\n amountMaximum: 50,\n price: 27,\n },\n {\n amountMinimum: 50,\n amountMaximum: 1000000,\n price: 25,\n },\n ],\n },\n {\n /* Assurance Control Fiscal */\n idPrestationList: [PrestationType.ASSURANCE_CONTROLE_FISCAL],\n applicationCost: 14.9,\n priceWithTaxesIncluded: false,\n exerciceNbr: [\n {\n minimum: 1,\n maximum: 2,\n price: 149,\n },\n {\n minimum: 3,\n maximum: 1000,\n price: 299,\n },\n ],\n },\n ],\n },\n {\n /* Leglastart */\n idTypeBrand: 2,\n price: [],\n },\n {\n /* Statuts Express */\n idTypeBrand: 4,\n price: [],\n },\n {\n /* Kandbaz */\n idTypeBrand: 5,\n price: [],\n },\n {\n /* Klems */\n idTypeBrand: 6,\n price: [\n {\n // Compta Micro\n idPrestationList: [PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_MICRO_KLEMS_EXPRESS],\n priceWithTaxesIncluded: true,\n applicationCost: 0,\n turnoverMonthly: [\n {\n turnoverValue: 50000,\n price: 39,\n },\n {\n turnoverValue: 1000000000000,\n price: 59,\n },\n ],\n turnoverYearly: [\n {\n turnoverValue: 50000,\n price: 390,\n },\n {\n turnoverValue: 1000000000000,\n price: 590,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 24,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 24,\n },\n {\n type: VatRegime.MONTHLY,\n price: 24,\n },\n ],\n },\n {\n // Compta EI\n idPrestationList: [PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_EI_KLEMS_EXPRESS],\n priceWithTaxesIncluded: true,\n applicationCost: 0,\n turnoverMonthly: [\n {\n turnoverValue: 50000,\n price: 49,\n },\n {\n turnoverValue: 150000,\n price: 69,\n },\n {\n turnoverValue: 250000,\n price: 89,\n },\n ],\n turnoverYearly: [\n {\n turnoverValue: 50000,\n price: 490,\n },\n {\n turnoverValue: 150000,\n price: 690,\n },\n {\n turnoverValue: 250000,\n price: 890,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n },\n {\n /* Compta SCI Clems */\n idPrestationList: [PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS_EXPRESS],\n priceWithTaxesIncluded: true,\n applicationCost: 0,\n properties: [\n {\n amount: 1,\n price: 49,\n },\n {\n amount: 2,\n price: 59,\n },\n {\n amount: 3,\n price: 69,\n },\n {\n amount: 4,\n price: 79,\n },\n {\n amount: 5,\n price: 89,\n },\n {\n amount: 6,\n price: 99,\n },\n ],\n },\n {\n /* Prévisionnel */\n idPrestationList: [PrestationType.BILAN_PREVISIONNEL],\n applicationCost: 14.9,\n priceWithTaxesIncluded: false,\n turnoverCreatedYear: [\n {\n turnoverValue: 75000,\n price: 199,\n },\n {\n turnoverValue: 150000,\n price: 299,\n },\n {\n turnoverValue: 400000,\n price: 399,\n },\n {\n turnoverValue: 750000,\n price: 579,\n },\n {\n turnoverValue: 1000000,\n price: 889,\n },\n ],\n turnoverPastYear: [\n {\n turnoverValue: 75000,\n price: 299,\n },\n {\n turnoverValue: 150000,\n price: 399,\n },\n {\n turnoverValue: 400000,\n price: 499,\n },\n {\n turnoverValue: 750000,\n price: 679,\n },\n {\n turnoverValue: 1000000,\n price: 989,\n },\n ],\n },\n {\n /* Social */\n idPrestationList: [PrestationType.SOCIAL],\n applicationCost: 14.9,\n priceWithTaxesIncluded: false,\n employeeByLegalForm: [\n {\n idLegalForm: LegalFormTypeEnum.EI,\n price: 33,\n },\n {\n idLegalForm: LegalFormTypeEnum.AUTO_ENTREPRENEUR,\n price: 36,\n },\n ],\n },\n {\n /* Assurance Control Fiscal */\n idPrestationList: [PrestationType.ASSURANCE_CONTROLE_FISCAL],\n applicationCost: 14.9,\n priceWithTaxesIncluded: false,\n exerciceNbr: [\n {\n minimum: 1,\n maximum: 1000,\n price: 199,\n },\n ],\n },\n ],\n },\n];"]}
|