@silexpert/core 1.3.192 → 1.3.193-2
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/Checklist.d.ts +0 -6
- package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/cjs/api/resources/Checklist.js +0 -6
- package/dist/cjs/api/resources/Checklist.js.map +1 -1
- package/dist/cjs/api/resources/DocumentRequest.d.ts +1 -3
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/cjs/api/resources/DocumentRequest.js +0 -6
- package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/cjs/api/resources/InternalInvoicing.d.ts.map +1 -1
- package/dist/cjs/api/resources/InternalInvoicing.js +8 -0
- package/dist/cjs/api/resources/InternalInvoicing.js.map +1 -1
- package/dist/cjs/api/resources/Mfa.d.ts +0 -1
- package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/cjs/api/resources/Mfa.js +0 -4
- package/dist/cjs/api/resources/Mfa.js.map +1 -1
- package/dist/cjs/api/resources/Shine.d.ts +1 -2
- package/dist/cjs/api/resources/Shine.d.ts.map +1 -1
- package/dist/cjs/api/resources/Shine.js +0 -3
- package/dist/cjs/api/resources/Shine.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +1 -2
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +0 -3
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/User.d.ts +6 -1
- package/dist/cjs/api/resources/User.d.ts.map +1 -1
- package/dist/cjs/api/resources/User.js +15 -0
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -4
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -4
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/AdjustmentType.js +4 -4
- package/dist/cjs/types/Enum/AdjustmentType.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +8 -8
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +1 -7
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +1 -9
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/Consistency.d.ts +1 -1
- package/dist/cjs/types/Enum/Consistency.js +7 -7
- package/dist/cjs/types/Enum/Consistency.js.map +1 -1
- package/dist/cjs/types/Enum/DashboardBlock.d.ts +1 -2
- package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -1
- package/dist/cjs/types/Enum/DashboardBlock.js +0 -1
- package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -1
- package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
- package/dist/cjs/types/Enum/EntityType.js +2 -2
- package/dist/cjs/types/Enum/EntityType.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +3 -9
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +56 -163
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts +1 -2
- package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.js +0 -1
- package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestType.js +6 -12
- package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -1
- package/dist/cjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
- package/dist/cjs/types/Enum/KilometricAllowanceScale.js +0 -119
- package/dist/cjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts +1 -5
- package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.js +0 -4
- package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.js +478 -482
- package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/cjs/types/Enum/Proceding.d.ts +0 -4
- package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Proceding.js +0 -4
- package/dist/cjs/types/Enum/Proceding.js.map +1 -1
- package/dist/cjs/types/Enum/StatutsSection.d.ts +1 -7
- package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatutsSection.js +7 -15
- package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/cjs/types/Enum/Unit.d.ts +1 -2
- package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Unit.js +0 -11
- package/dist/cjs/types/Enum/Unit.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +1 -4
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +0 -10
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +1 -43
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +9 -10
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +15 -16
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +3 -0
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +14 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
- package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts +4 -0
- package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/shine/{Query.js → GetConnect.js} +2 -9
- package/dist/cjs/types/Interface/api/shine/GetConnect.js.map +1 -0
- package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
- package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +0 -2
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -9
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -9
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/checkup.d.ts +368 -12
- package/dist/cjs/utils/checkup.d.ts.map +1 -1
- package/dist/cjs/utils/checkup.js +565 -342
- package/dist/cjs/utils/checkup.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js +19 -21
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/cjs/utils/index.d.ts +0 -1
- package/dist/cjs/utils/index.d.ts.map +1 -1
- package/dist/cjs/utils/index.js +0 -1
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/vat/centuries.js +2 -2
- package/dist/cjs/utils/vat/centuries.js.map +1 -1
- package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/cjs/utils/vat/utils.js +2 -5
- package/dist/cjs/utils/vat/utils.js.map +1 -1
- package/dist/mjs/api/resources/Checklist.d.ts +0 -6
- package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/mjs/api/resources/Checklist.js +0 -6
- package/dist/mjs/api/resources/Checklist.js.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts +1 -3
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.js +0 -6
- package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/mjs/api/resources/InternalInvoicing.d.ts.map +1 -1
- package/dist/mjs/api/resources/InternalInvoicing.js +8 -0
- package/dist/mjs/api/resources/InternalInvoicing.js.map +1 -1
- package/dist/mjs/api/resources/Mfa.d.ts +0 -1
- package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/mjs/api/resources/Mfa.js +0 -4
- package/dist/mjs/api/resources/Mfa.js.map +1 -1
- package/dist/mjs/api/resources/Shine.d.ts +1 -2
- package/dist/mjs/api/resources/Shine.d.ts.map +1 -1
- package/dist/mjs/api/resources/Shine.js +0 -3
- package/dist/mjs/api/resources/Shine.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +1 -2
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +0 -3
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/User.d.ts +6 -1
- package/dist/mjs/api/resources/User.d.ts.map +1 -1
- package/dist/mjs/api/resources/User.js +15 -0
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -4
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -4
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/AdjustmentType.js +4 -4
- package/dist/mjs/types/Enum/AdjustmentType.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +8 -8
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +1 -7
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +1 -9
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/Consistency.d.ts +1 -1
- package/dist/mjs/types/Enum/Consistency.js +7 -7
- package/dist/mjs/types/Enum/Consistency.js.map +1 -1
- package/dist/mjs/types/Enum/DashboardBlock.d.ts +1 -2
- package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -1
- package/dist/mjs/types/Enum/DashboardBlock.js +0 -1
- package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -1
- package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
- package/dist/mjs/types/Enum/EntityType.js +2 -2
- package/dist/mjs/types/Enum/EntityType.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +3 -9
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +56 -163
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts +1 -2
- package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.js +0 -1
- package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestType.js +6 -12
- package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -1
- package/dist/mjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
- package/dist/mjs/types/Enum/KilometricAllowanceScale.js +0 -119
- package/dist/mjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts +1 -5
- package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.js +0 -4
- package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.js +474 -486
- package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/mjs/types/Enum/Proceding.d.ts +0 -4
- package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Proceding.js +0 -4
- package/dist/mjs/types/Enum/Proceding.js.map +1 -1
- package/dist/mjs/types/Enum/StatutsSection.d.ts +1 -7
- package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatutsSection.js +7 -15
- package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/mjs/types/Enum/Unit.d.ts +1 -2
- package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Unit.js +0 -11
- package/dist/mjs/types/Enum/Unit.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +0 -7
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +0 -10
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +2 -48
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +9 -10
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +12 -13
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +3 -0
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +22 -2
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
- package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts +4 -0
- package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/shine/{Query.js → GetConnect.js} +1 -8
- package/dist/mjs/types/Interface/api/shine/GetConnect.js.map +1 -0
- package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
- package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +0 -2
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -9
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -9
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/checkup.d.ts +368 -12
- package/dist/mjs/utils/checkup.d.ts.map +1 -1
- package/dist/mjs/utils/checkup.js +566 -343
- package/dist/mjs/utils/checkup.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js +19 -21
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/mjs/utils/index.d.ts +0 -1
- package/dist/mjs/utils/index.d.ts.map +1 -1
- package/dist/mjs/utils/index.js +0 -1
- package/dist/mjs/utils/index.js.map +1 -1
- package/dist/mjs/utils/vat/centuries.js +2 -2
- package/dist/mjs/utils/vat/centuries.js.map +1 -1
- package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/mjs/utils/vat/utils.js +2 -5
- package/dist/mjs/utils/vat/utils.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Checklist.ts +0 -6
- package/ts/api/resources/DocumentRequest.ts +1 -9
- package/ts/api/resources/InternalInvoicing.ts +8 -0
- package/ts/api/resources/Mfa.ts +0 -6
- package/ts/api/resources/Shine.ts +1 -11
- package/ts/api/resources/Society.ts +0 -5
- package/ts/api/resources/User.ts +23 -0
- package/ts/api/resources.ts +0 -4
- package/ts/types/Enum/AdjustmentType.ts +4 -4
- package/ts/types/Enum/BalanceSheet.ts +17 -17
- package/ts/types/Enum/BrandPourcentage.ts +8 -8
- package/ts/types/Enum/Card.ts +1 -9
- package/ts/types/Enum/Consistency.ts +7 -7
- package/ts/types/Enum/DashboardBlock.ts +0 -1
- package/ts/types/Enum/EntityType.ts +2 -2
- package/ts/types/Enum/Ged.ts +268 -386
- package/ts/types/Enum/InformationRequestState.ts +0 -1
- package/ts/types/Enum/InformationRequestType.ts +6 -12
- package/ts/types/Enum/KilometricAllowanceScale.ts +0 -119
- package/ts/types/Enum/MailAuto.ts +0 -4
- package/ts/types/Enum/PriceGridClementine.ts +474 -487
- package/ts/types/Enum/Proceding.ts +0 -4
- package/ts/types/Enum/StatutsSection.ts +7 -15
- package/ts/types/Enum/Unit.ts +0 -11
- package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
- package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +0 -18
- package/ts/types/Interface/api/documentRequest/Query.ts +2 -40
- package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +0 -2
- package/ts/types/Interface/api/revenue/revenueMovement.ts +9 -11
- package/ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts +21 -2
- package/ts/types/Interface/api/shine/{Query.ts → GetConnect.ts} +0 -5
- package/ts/types/Interface/models/ISocietyApproval.ts +0 -2
- package/ts/types/Interface/models/IUser.ts +0 -2
- package/ts/types/index.ts +1 -9
- package/ts/utils/checkup.ts +566 -347
- package/ts/utils/commercialManagement/internationalization/choices.ts +19 -21
- package/ts/utils/index.ts +0 -1
- package/ts/utils/vat/centuries.ts +2 -2
- package/ts/utils/vat/utils.ts +2 -7
- package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
- package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
- package/dist/cjs/api/resources/LoginApproval.js +0 -20
- package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
- package/dist/cjs/api/resources/SocietyApproval.d.ts +0 -47
- package/dist/cjs/api/resources/SocietyApproval.d.ts.map +0 -1
- package/dist/cjs/api/resources/SocietyApproval.js +0 -62
- package/dist/cjs/api/resources/SocietyApproval.js.map +0 -1
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
- package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
- package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
- package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
- package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
- package/dist/cjs/types/Enum/MfaMode.js +0 -16
- package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
- package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -27
- package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +0 -1
- package/dist/cjs/types/Enum/SocietyApproval.js +0 -205
- package/dist/cjs/types/Enum/SocietyApproval.js.map +0 -1
- package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +0 -36
- package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/SocietyApproval.js +0 -153
- package/dist/cjs/types/Interface/api/SocietyApproval.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -21
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -27
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -26
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
- package/dist/cjs/types/Interface/api/shine/Query.d.ts +0 -7
- package/dist/cjs/types/Interface/api/shine/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/shine/Query.js.map +0 -1
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
- package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
- package/dist/cjs/utils/societyApproval.d.ts +0 -38
- package/dist/cjs/utils/societyApproval.d.ts.map +0 -1
- package/dist/cjs/utils/societyApproval.js +0 -101
- package/dist/cjs/utils/societyApproval.js.map +0 -1
- package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
- package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
- package/dist/mjs/api/resources/LoginApproval.js +0 -16
- package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
- package/dist/mjs/api/resources/SocietyApproval.d.ts +0 -47
- package/dist/mjs/api/resources/SocietyApproval.d.ts.map +0 -1
- package/dist/mjs/api/resources/SocietyApproval.js +0 -58
- package/dist/mjs/api/resources/SocietyApproval.js.map +0 -1
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
- package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
- package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
- package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
- package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
- package/dist/mjs/types/Enum/MfaMode.js +0 -13
- package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
- package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -27
- package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +0 -1
- package/dist/mjs/types/Enum/SocietyApproval.js +0 -202
- package/dist/mjs/types/Enum/SocietyApproval.js.map +0 -1
- package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +0 -36
- package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/SocietyApproval.js +0 -167
- package/dist/mjs/types/Interface/api/SocietyApproval.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -18
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -25
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -23
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
- package/dist/mjs/types/Interface/api/shine/Query.d.ts +0 -7
- package/dist/mjs/types/Interface/api/shine/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/shine/Query.js.map +0 -1
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
- package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
- package/dist/mjs/utils/societyApproval.d.ts +0 -38
- package/dist/mjs/utils/societyApproval.d.ts.map +0 -1
- package/dist/mjs/utils/societyApproval.js +0 -109
- package/dist/mjs/utils/societyApproval.js.map +0 -1
- package/ts/api/resources/LoginApproval.ts +0 -20
- package/ts/api/resources/SocietyApproval.ts +0 -75
- package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
- package/ts/types/Enum/MfaMode.ts +0 -11
- package/ts/types/Enum/SocietyApproval.ts +0 -218
- package/ts/types/Interface/api/SocietyApproval.ts +0 -121
- package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +0 -6
- package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +0 -11
- package/ts/types/Interface/api/authentification/loginApproval.ts +0 -75
- package/ts/types/Interface/models/ILoginApproval.ts +0 -31
- package/ts/utils/societyApproval.ts +0 -129
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shine/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,UAAU;IAErB,IAAI,CAAS;CACd;AADC;IADC,WAAW,EAAE;;wCACD;AAGf,MAAM,OAAO,iBAAiB;IAE5B,gBAAgB,CAAS;CAC1B;AADC;IADC,WAAW,EAAE;;2DACW","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class GetConnect {\n @ApiProperty()\n code: string;\n}\n\nexport class GetRefreshConnect {\n @ApiProperty()\n idBankConnection: number;\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { LoginApprovalStatus } from '../../Enum/LoginApprovalStatus';
|
|
2
|
-
/**
|
|
3
|
-
* Interface représentant une demande d'approbation de connexion mobile
|
|
4
|
-
*/
|
|
5
|
-
export interface ILoginApproval {
|
|
6
|
-
/** Identifiant unique (UUID) */
|
|
7
|
-
id: string;
|
|
8
|
-
/** ID de l'utilisateur demandant la connexion */
|
|
9
|
-
idUser: number;
|
|
10
|
-
/** Statut actuel de la demande */
|
|
11
|
-
status: LoginApprovalStatus;
|
|
12
|
-
/** Date d'expiration de la demande (généralement 2-3 min après création) */
|
|
13
|
-
expiresAt: Date;
|
|
14
|
-
/** Date d'approbation (si status = approved) */
|
|
15
|
-
approvedAt?: Date;
|
|
16
|
-
/** Date de refus (si status = denied) */
|
|
17
|
-
deniedAt?: Date;
|
|
18
|
-
/** Device ID du mobile ayant approuvé/refusé */
|
|
19
|
-
deviceIdUsed?: string;
|
|
20
|
-
/** IP de la connexion Web à l'origine de la demande */
|
|
21
|
-
ip?: string;
|
|
22
|
-
/** User-Agent du navigateur Web */
|
|
23
|
-
userAgent?: string;
|
|
24
|
-
/** Métadonnées additionnelles (géoloc, risk score, etc.) */
|
|
25
|
-
metadata?: Record<string, any>;
|
|
26
|
-
/** Date de création */
|
|
27
|
-
createdAt: Date;
|
|
28
|
-
/** Date de mise à jour */
|
|
29
|
-
updatedAt: Date;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=ILoginApproval.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ILoginApproval.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,4EAA4E;IAC5E,SAAS,EAAE,IAAI,CAAC;IAChB,gDAAgD;IAChD,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uDAAuD;IACvD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,uBAAuB;IACvB,SAAS,EAAE,IAAI,CAAC;IAChB,0BAA0B;IAC1B,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ILoginApproval.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoginApproval.ts"],"names":[],"mappings":"","sourcesContent":["import { LoginApprovalStatus } from '../../Enum/LoginApprovalStatus';\n\n/**\n * Interface représentant une demande d'approbation de connexion mobile\n */\nexport interface ILoginApproval {\n /** Identifiant unique (UUID) */\n id: string;\n /** ID de l'utilisateur demandant la connexion */\n idUser: number;\n /** Statut actuel de la demande */\n status: LoginApprovalStatus;\n /** Date d'expiration de la demande (généralement 2-3 min après création) */\n expiresAt: Date;\n /** Date d'approbation (si status = approved) */\n approvedAt?: Date;\n /** Date de refus (si status = denied) */\n deniedAt?: Date;\n /** Device ID du mobile ayant approuvé/refusé */\n deviceIdUsed?: string;\n /** IP de la connexion Web à l'origine de la demande */\n ip?: string;\n /** User-Agent du navigateur Web */\n userAgent?: string;\n /** Métadonnées additionnelles (géoloc, risk score, etc.) */\n metadata?: Record<string, any>;\n /** Date de création */\n createdAt: Date;\n /** Date de mise à jour */\n updatedAt: Date;\n}\n"]}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { LegalFormTypeEnum } from '../types/Enum/LegalForm';
|
|
2
|
-
import { SocietyApprovalDocumentType, SocietyApprovalDocumentConfig, SocietyApprovalDocumentTemplate } from '../types/Enum/SocietyApproval';
|
|
3
|
-
import { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';
|
|
4
|
-
/**
|
|
5
|
-
* Récupère le nom de la forme juridique
|
|
6
|
-
* @param idLegalForm - L'identifiant de la forme juridique
|
|
7
|
-
* @param fallback - Valeur par défaut si non trouvée
|
|
8
|
-
* @returns Le nom de la forme juridique
|
|
9
|
-
*/
|
|
10
|
-
export declare function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback?: string): string;
|
|
11
|
-
/**
|
|
12
|
-
* Récupère la configuration des documents d'approbation pour une forme juridique donnée
|
|
13
|
-
* @param idLegalForm - L'identifiant de la forme juridique
|
|
14
|
-
* @returns La configuration des documents ou undefined si non trouvée
|
|
15
|
-
*/
|
|
16
|
-
export declare function getApprovalDocumentsByLegalForm(idLegalForm: LegalFormTypeEnum): SocietyApprovalDocumentConfig | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Récupère le nom du template pour un document spécifique et une forme juridique
|
|
19
|
-
* @param idLegalForm - L'identifiant de la forme juridique
|
|
20
|
-
* @param idDocumentType - Le type de document d'approbation
|
|
21
|
-
* @returns Le nom du template ou undefined si non trouvé
|
|
22
|
-
*/
|
|
23
|
-
export declare function getApprovalDocumentTemplateName(idLegalForm: LegalFormTypeEnum, idDocumentType: SocietyApprovalDocumentType): string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Récupère le nom du template pour un document spécifique et une forme juridique
|
|
26
|
-
* @param idLegalForm - L'identifiant de la forme juridique
|
|
27
|
-
* @param idDocumentType - Le type de document d'approbation
|
|
28
|
-
* @returns Le nom du template ou undefined si non trouvé
|
|
29
|
-
*/
|
|
30
|
-
export declare function getApprovalDocumentInfos(idLegalForm: LegalFormTypeEnum, idDocumentType: SocietyApprovalDocumentType): SocietyApprovalDocumentTemplate | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* Construit les données formatées pour le template d'approbation
|
|
33
|
-
* @param existingApproval - Les données d'approbation de la société
|
|
34
|
-
* @param style - Le style HTML pour le document
|
|
35
|
-
* @returns L'objet de données formaté pour le template
|
|
36
|
-
*/
|
|
37
|
-
export declare function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any>;
|
|
38
|
-
//# sourceMappingURL=societyApproval.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"societyApproval.d.ts","sourceRoot":"","sources":["../../../ts/utils/societyApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAE7B,+BAA+B,EAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAO9E;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,iBAAiB,EAAE,QAAQ,GAAE,MAAW,GAAG,MAAM,CAE9F;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,iBAAiB,GAC7B,6BAA6B,GAAG,SAAS,CAE3C;AAED;;;;;GAKG;AAEH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,iBAAiB,EAC9B,cAAc,EAAE,2BAA2B,GAC1C,MAAM,GAAG,SAAS,CAIpB;AAYD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,iBAAiB,EAC9B,cAAc,EAAE,2BAA2B,GAC1C,+BAA+B,GAAG,SAAS,CAG7C;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA+ChH"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { LegalForm } from '../types/Enum/LegalForm';
|
|
2
|
-
import { SocietyApprovalDocumentsByLegalForm, } from '../types/Enum/SocietyApproval';
|
|
3
|
-
import { QualityList } from '../types/Enum/Quality';
|
|
4
|
-
import { getBrand } from './brands';
|
|
5
|
-
import { convertNumberToLetter } from './amount';
|
|
6
|
-
import * as dayjs from 'dayjs';
|
|
7
|
-
import { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';
|
|
8
|
-
/**
|
|
9
|
-
* Récupère le nom de la forme juridique
|
|
10
|
-
* @param idLegalForm - L'identifiant de la forme juridique
|
|
11
|
-
* @param fallback - Valeur par défaut si non trouvée
|
|
12
|
-
* @returns Le nom de la forme juridique
|
|
13
|
-
*/
|
|
14
|
-
export function getLegalFormName(idLegalForm, fallback = '') {
|
|
15
|
-
return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Récupère la configuration des documents d'approbation pour une forme juridique donnée
|
|
19
|
-
* @param idLegalForm - L'identifiant de la forme juridique
|
|
20
|
-
* @returns La configuration des documents ou undefined si non trouvée
|
|
21
|
-
*/
|
|
22
|
-
export function getApprovalDocumentsByLegalForm(idLegalForm) {
|
|
23
|
-
return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Récupère le nom du template pour un document spécifique et une forme juridique
|
|
27
|
-
* @param idLegalForm - L'identifiant de la forme juridique
|
|
28
|
-
* @param idDocumentType - Le type de document d'approbation
|
|
29
|
-
* @returns Le nom du template ou undefined si non trouvé
|
|
30
|
-
*/
|
|
31
|
-
//@deprecated use getApprovalDocumentInfos instead
|
|
32
|
-
export function getApprovalDocumentTemplateName(idLegalForm, idDocumentType) {
|
|
33
|
-
const config = getApprovalDocumentsByLegalForm(idLegalForm);
|
|
34
|
-
const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
|
|
35
|
-
return document?.templateName;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Récupère le texte de la ville du greffe
|
|
39
|
-
* @param idCityOfGreffe - L'identifiant de la ville du greffe
|
|
40
|
-
* @returns Le texte de la ville ou une chaîne vide
|
|
41
|
-
*/
|
|
42
|
-
function getCityOfGreffeName(idCityOfGreffe) {
|
|
43
|
-
if (!idCityOfGreffe)
|
|
44
|
-
return '';
|
|
45
|
-
return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Récupère le nom du template pour un document spécifique et une forme juridique
|
|
49
|
-
* @param idLegalForm - L'identifiant de la forme juridique
|
|
50
|
-
* @param idDocumentType - Le type de document d'approbation
|
|
51
|
-
* @returns Le nom du template ou undefined si non trouvé
|
|
52
|
-
*/
|
|
53
|
-
export function getApprovalDocumentInfos(idLegalForm, idDocumentType) {
|
|
54
|
-
const config = getApprovalDocumentsByLegalForm(idLegalForm);
|
|
55
|
-
return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Construit les données formatées pour le template d'approbation
|
|
59
|
-
* @param existingApproval - Les données d'approbation de la société
|
|
60
|
-
* @param style - Le style HTML pour le document
|
|
61
|
-
* @returns L'objet de données formaté pour le template
|
|
62
|
-
*/
|
|
63
|
-
export function buildApprovalTemplateData(existingApproval, style) {
|
|
64
|
-
const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();
|
|
65
|
-
const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;
|
|
66
|
-
const brand = getBrand();
|
|
67
|
-
return {
|
|
68
|
-
// Variables globales
|
|
69
|
-
style,
|
|
70
|
-
yearInText,
|
|
71
|
-
dayAndMonthInText,
|
|
72
|
-
date: dayjs().locale('fr').format('DD MMMM YYYY'),
|
|
73
|
-
companyInformation: {
|
|
74
|
-
rcs: brand?.companyInformation?.rcs,
|
|
75
|
-
nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,
|
|
76
|
-
city: brand?.companyInformation?.city,
|
|
77
|
-
postalAddress: brand?.companyInformation?.postalAddress,
|
|
78
|
-
montantCapital: brand?.companyInformation?.montantCapital,
|
|
79
|
-
statut: brand?.companyInformation?.statut,
|
|
80
|
-
ECOrderCity: brand?.companyInformation?.ECOrderCity,
|
|
81
|
-
},
|
|
82
|
-
owner: {
|
|
83
|
-
identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,
|
|
84
|
-
quality: QualityList.find((ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality)?.label,
|
|
85
|
-
},
|
|
86
|
-
// Variables stockées en base
|
|
87
|
-
...existingApproval,
|
|
88
|
-
generatingDatas: {
|
|
89
|
-
...existingApproval?.generatingDatas,
|
|
90
|
-
...(existingApproval?.generatingDatas?.approvalDate
|
|
91
|
-
? {
|
|
92
|
-
approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)
|
|
93
|
-
.locale('fr')
|
|
94
|
-
.format('DD MMMM YYYY')
|
|
95
|
-
.toUpperCase(),
|
|
96
|
-
}
|
|
97
|
-
: {}),
|
|
98
|
-
},
|
|
99
|
-
exercice: {
|
|
100
|
-
...existingApproval?.exercice,
|
|
101
|
-
society: {
|
|
102
|
-
...existingApproval?.exercice?.society,
|
|
103
|
-
cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),
|
|
104
|
-
},
|
|
105
|
-
endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),
|
|
106
|
-
},
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
//# sourceMappingURL=societyApproval.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"societyApproval.js","sourceRoot":"","sources":["../../../ts/utils/societyApproval.ts"],"names":[],"mappings":"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","sourcesContent":["import { LegalForm, LegalFormTypeEnum } from '../types/Enum/LegalForm';\nimport {\n SocietyApprovalDocumentType,\n SocietyApprovalDocumentConfig,\n SocietyApprovalDocumentsByLegalForm,\n SocietyApprovalDocumentTemplate,\n} from '../types/Enum/SocietyApproval';\nimport { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';\nimport { QualityList } from '../types/Enum/Quality';\nimport { getBrand } from './brands';\nimport { convertNumberToLetter } from './amount';\nimport * as dayjs from 'dayjs';\nimport { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';\n\n/**\n * Récupère le nom de la forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param fallback - Valeur par défaut si non trouvée\n * @returns Le nom de la forme juridique\n */\nexport function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback: string = ''): string {\n return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;\n}\n\n/**\n * Récupère la configuration des documents d'approbation pour une forme juridique donnée\n * @param idLegalForm - L'identifiant de la forme juridique\n * @returns La configuration des documents ou undefined si non trouvée\n */\nexport function getApprovalDocumentsByLegalForm(\n idLegalForm: LegalFormTypeEnum,\n): SocietyApprovalDocumentConfig | undefined {\n return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\n//@deprecated use getApprovalDocumentInfos instead\nexport function getApprovalDocumentTemplateName(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): string | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n return document?.templateName;\n}\n\n/**\n * Récupère le texte de la ville du greffe\n * @param idCityOfGreffe - L'identifiant de la ville du greffe\n * @returns Le texte de la ville ou une chaîne vide\n */\nfunction getCityOfGreffeName(idCityOfGreffe: number | null | undefined): string {\n if (!idCityOfGreffe) return '';\n return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\nexport function getApprovalDocumentInfos(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): SocietyApprovalDocumentTemplate | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n}\n\n/**\n * Construit les données formatées pour le template d'approbation\n * @param existingApproval - Les données d'approbation de la société\n * @param style - Le style HTML pour le document\n * @returns L'objet de données formaté pour le template\n */\nexport function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any> {\n const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();\n const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;\n const brand = getBrand();\n return {\n // Variables globales\n style,\n yearInText,\n dayAndMonthInText,\n date: dayjs().locale('fr').format('DD MMMM YYYY'),\n companyInformation: {\n rcs: brand?.companyInformation?.rcs,\n nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,\n city: brand?.companyInformation?.city,\n postalAddress: brand?.companyInformation?.postalAddress,\n montantCapital: brand?.companyInformation?.montantCapital,\n statut: brand?.companyInformation?.statut,\n ECOrderCity: brand?.companyInformation?.ECOrderCity,\n },\n owner: {\n identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,\n quality: QualityList.find(\n (ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality,\n )?.label,\n },\n // Variables stockées en base\n ...existingApproval,\n generatingDatas: {\n ...existingApproval?.generatingDatas,\n ...(existingApproval?.generatingDatas?.approvalDate\n ? {\n approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)\n .locale('fr')\n .format('DD MMMM YYYY')\n .toUpperCase(),\n }\n : {}),\n },\n exercice: {\n ...existingApproval?.exercice,\n society: {\n ...existingApproval?.exercice?.society,\n cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),\n },\n endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),\n },\n };\n}\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
import { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';
|
|
3
|
-
|
|
4
|
-
export class LoginApproval extends Resource {
|
|
5
|
-
approve(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
|
|
6
|
-
return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
deny(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
|
|
10
|
-
return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
getStatus(requestId: string): Promise<ILoginApprovalStatusResponse> {
|
|
14
|
-
return this.axios.$get(`/auth/approvals/${requestId}/status`);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
cleanup(): Promise<{ deleted: number; message: string }> {
|
|
18
|
-
return this.axios.$post('/auth/approvals/cleanup');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
import {
|
|
3
|
-
ISocietyApproval,
|
|
4
|
-
CreateDocument,
|
|
5
|
-
ReadLibraryFile,
|
|
6
|
-
ResetDocument,
|
|
7
|
-
IDocumentSection,
|
|
8
|
-
IApprovalGeneratingData,
|
|
9
|
-
} from '../../types';
|
|
10
|
-
|
|
11
|
-
export class SocietyApproval extends Resource {
|
|
12
|
-
/**
|
|
13
|
-
* Get society approval data for a given exercice
|
|
14
|
-
* @param idExercice - The exercice ID
|
|
15
|
-
* @returns Society approval with all needed data
|
|
16
|
-
*/
|
|
17
|
-
get(idExercice: number): Promise<ISocietyApproval> {
|
|
18
|
-
return this.axios.$get(`/exercices/${idExercice}/approvals`);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Get approval data needed for PDF generation
|
|
23
|
-
* Retrieves all necessary information before generating a PDF document
|
|
24
|
-
* @param idExercice - The exercice ID
|
|
25
|
-
* @returns Approval data with template data for PDF generation
|
|
26
|
-
*/
|
|
27
|
-
getGeneratingData(idExercice: number): Promise<IApprovalGeneratingData> {
|
|
28
|
-
return this.axios.$get(`/exercices/${idExercice}/approvals/generating-data`);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Create or update society approval
|
|
33
|
-
* @param idExercice - The exercice ID
|
|
34
|
-
* @param payload - The approval data
|
|
35
|
-
* @returns Updated or created society approval
|
|
36
|
-
*/
|
|
37
|
-
updateOrCreate(idExercice: number, payload: ISocietyApproval): Promise<ISocietyApproval> {
|
|
38
|
-
return this.axios.$post(`/exercices/${idExercice}/approvals`, payload);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Generate approval PDF document
|
|
43
|
-
* @param idExercice - The exercice ID
|
|
44
|
-
* @param payload - The document type(s) to generate
|
|
45
|
-
* @returns PDF file as blob
|
|
46
|
-
*/
|
|
47
|
-
generatePdf(idExercice: number, payload: CreateDocument): Promise<ReadLibraryFile> {
|
|
48
|
-
return this.axios.$post(`/exercices/${idExercice}/approvals/pdf`, payload);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Reset document section by regenerating from original template
|
|
53
|
-
* @param idExercice - The exercice ID
|
|
54
|
-
* @param idDocumentSection - The documentSection ID to reset
|
|
55
|
-
* @param payload - The document type for template selection
|
|
56
|
-
* @returns Updated documentSection with new content from template
|
|
57
|
-
*/
|
|
58
|
-
resetDocument(idExercice: number, idDocumentSection: number, payload: ResetDocument): Promise<IDocumentSection> {
|
|
59
|
-
return this.axios.$put(`/exercices/${idExercice}/document-sections/${idDocumentSection}/reset`, payload);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Regenerate PDF document from existing documentSection HTML content
|
|
64
|
-
* @param idExercice - The exercice ID
|
|
65
|
-
* @param idDocumentSection - The documentSection ID containing HTML content
|
|
66
|
-
* @returns PDF file as buffer for download
|
|
67
|
-
*/
|
|
68
|
-
regeneratePdf(idExercice: number, idDocumentSection: number): Promise<Buffer> {
|
|
69
|
-
return this.axios.$post(
|
|
70
|
-
`/exercices/${idExercice}/approvals/pdf/regenerate`,
|
|
71
|
-
{ idDocumentSection },
|
|
72
|
-
{ responseType: 'arraybuffer' },
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Statuts possibles d'une demande d'approbation de connexion mobile
|
|
3
|
-
*/
|
|
4
|
-
export enum LoginApprovalStatus {
|
|
5
|
-
/** En attente de validation par le mobile */
|
|
6
|
-
PENDING = 'pending',
|
|
7
|
-
/** Approuvée par l'utilisateur sur son mobile */
|
|
8
|
-
APPROVED = 'approved',
|
|
9
|
-
/** Refusée par l'utilisateur sur son mobile */
|
|
10
|
-
DENIED = 'denied',
|
|
11
|
-
/** Expirée (timeout dépassé sans action) */
|
|
12
|
-
EXPIRED = 'expired',
|
|
13
|
-
}
|
package/ts/types/Enum/MfaMode.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Modes de double authentification disponibles
|
|
3
|
-
*/
|
|
4
|
-
export enum MfaMode {
|
|
5
|
-
/** Pas de MFA activée */
|
|
6
|
-
NONE = 'none',
|
|
7
|
-
/** Authentification via code TOTP (Google Authenticator, etc.) */
|
|
8
|
-
TOTP = 'totp',
|
|
9
|
-
/** Validation via notification sur l'application mobile */
|
|
10
|
-
MOBILE_APPROVAL = 'mobile_approval',
|
|
11
|
-
}
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import { getLegalFormName } from '../../utils/societyApproval';
|
|
2
|
-
import { LegalFormTypeEnum } from './LegalForm';
|
|
3
|
-
import { DocumentSectionType } from './StatutsSection';
|
|
4
|
-
|
|
5
|
-
export enum SocietyApprovalDocumentType {
|
|
6
|
-
PV_AG = 1,
|
|
7
|
-
POWER_MANDATE = 2,
|
|
8
|
-
DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO = 3,
|
|
9
|
-
DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME = 4,
|
|
10
|
-
INCOME_APPROPRIATION = 5,
|
|
11
|
-
LIST_OF_CONVENTIONS = 6,
|
|
12
|
-
LIST_OF_DIVIDENDS = 7,
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export type SocietyApprovalDocumentTemplate = {
|
|
16
|
-
idDocumentType: SocietyApprovalDocumentType;
|
|
17
|
-
docName: string;
|
|
18
|
-
templateName: string;
|
|
19
|
-
documentSectionType: DocumentSectionType;
|
|
20
|
-
token?: string;
|
|
21
|
-
htmlContent?: string;
|
|
22
|
-
idDocumentSection?: number;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export type SocietyApprovalDocumentConfig = {
|
|
26
|
-
idLegalForm: LegalFormTypeEnum;
|
|
27
|
-
legalFormName: string;
|
|
28
|
-
documents: SocietyApprovalDocumentTemplate[];
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[] = [
|
|
32
|
-
{
|
|
33
|
-
idLegalForm: LegalFormTypeEnum.EURL,
|
|
34
|
-
legalFormName: getLegalFormName(LegalFormTypeEnum.EURL),
|
|
35
|
-
documents: [
|
|
36
|
-
{
|
|
37
|
-
idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
38
|
-
docName: "Procès-verbal d'approbation des comptes",
|
|
39
|
-
templateName: 'APPROVAL_EURL',
|
|
40
|
-
documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
44
|
-
docName: 'Mandat de pouvoir',
|
|
45
|
-
templateName: 'POWER_MANDATE_EURL',
|
|
46
|
-
documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
50
|
-
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
51
|
-
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_EURL',
|
|
52
|
-
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
56
|
-
docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
|
|
57
|
-
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_EURL',
|
|
58
|
-
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
62
|
-
docName: 'Affectation du résultat',
|
|
63
|
-
templateName: 'INCOME_APPROPRIATION_EURL',
|
|
64
|
-
documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
idDocumentType: SocietyApprovalDocumentType.LIST_OF_CONVENTIONS,
|
|
68
|
-
docName: 'Liste de conventions',
|
|
69
|
-
templateName: 'LIST_OF_CONVENTIONS_EURL',
|
|
70
|
-
documentSectionType: DocumentSectionType.LIST_OF_CONVENTIONS,
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
},
|
|
74
|
-
// {
|
|
75
|
-
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
76
|
-
// legalFormName: getLegalFormName(LegalFormTypeEnum.SARL),
|
|
77
|
-
// documents: [
|
|
78
|
-
// {
|
|
79
|
-
// idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
80
|
-
// docName: "Procès-verbal d'approbation des comptes",
|
|
81
|
-
// templateName: 'APPROVAL_SARL',
|
|
82
|
-
// documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
83
|
-
// },
|
|
84
|
-
// {
|
|
85
|
-
// idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
86
|
-
// docName: 'Mandat de pouvoir',
|
|
87
|
-
// templateName: 'POWER_MANDATE_SARL',
|
|
88
|
-
// documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
89
|
-
// },
|
|
90
|
-
// {
|
|
91
|
-
// idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
92
|
-
// docName: 'Déclaration de confidentialité pour les comptes annuels',
|
|
93
|
-
// templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_SARL',
|
|
94
|
-
// documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
95
|
-
// },
|
|
96
|
-
// {
|
|
97
|
-
// idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
98
|
-
// docName: 'Affectation du résultat',
|
|
99
|
-
// templateName: 'INCOME_APPROPRIATION_SARL',
|
|
100
|
-
// documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
101
|
-
// },
|
|
102
|
-
// ],
|
|
103
|
-
// },
|
|
104
|
-
{
|
|
105
|
-
idLegalForm: LegalFormTypeEnum.SASU,
|
|
106
|
-
legalFormName: getLegalFormName(LegalFormTypeEnum.SASU),
|
|
107
|
-
documents: [
|
|
108
|
-
{
|
|
109
|
-
idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
110
|
-
docName: "Procès-verbal d'approbation des comptes",
|
|
111
|
-
templateName: 'APPROVAL_SASU',
|
|
112
|
-
documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
116
|
-
docName: 'Mandat de pouvoir',
|
|
117
|
-
templateName: 'POWER_MANDATE_SASU',
|
|
118
|
-
documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
122
|
-
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
123
|
-
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SASU',
|
|
124
|
-
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
128
|
-
docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
|
|
129
|
-
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SASU',
|
|
130
|
-
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
134
|
-
docName: 'Affectation du résultat',
|
|
135
|
-
templateName: 'INCOME_APPROPRIATION_SASU',
|
|
136
|
-
documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
idDocumentType: SocietyApprovalDocumentType.LIST_OF_DIVIDENDS,
|
|
140
|
-
docName: 'Liste de dividendes',
|
|
141
|
-
templateName: 'LIST_OF_DIVIDENDS_SASU',
|
|
142
|
-
documentSectionType: DocumentSectionType.LIST_OF_DIVIDENDS,
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
idLegalForm: LegalFormTypeEnum.SAS,
|
|
148
|
-
legalFormName: getLegalFormName(LegalFormTypeEnum.SAS),
|
|
149
|
-
documents: [
|
|
150
|
-
{
|
|
151
|
-
idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
152
|
-
docName: "Procès-verbal d'approbation des comptes",
|
|
153
|
-
templateName: 'APPROVAL_SAS',
|
|
154
|
-
documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
158
|
-
docName: 'Mandat de pouvoir',
|
|
159
|
-
templateName: 'POWER_MANDATE_SAS',
|
|
160
|
-
documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
164
|
-
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
165
|
-
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SAS',
|
|
166
|
-
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
170
|
-
docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
|
|
171
|
-
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SAS',
|
|
172
|
-
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
176
|
-
docName: 'Affectation du résultat',
|
|
177
|
-
templateName: 'INCOME_APPROPRIATION_SAS',
|
|
178
|
-
documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
idLegalForm: LegalFormTypeEnum.SCI,
|
|
184
|
-
legalFormName: getLegalFormName(LegalFormTypeEnum.SCI),
|
|
185
|
-
documents: [
|
|
186
|
-
{
|
|
187
|
-
idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
188
|
-
docName: "Procès-verbal d'approbation des comptes",
|
|
189
|
-
templateName: 'APPROVAL_SCI',
|
|
190
|
-
documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
194
|
-
docName: 'Mandat de pouvoir',
|
|
195
|
-
templateName: 'POWER_MANDATE_SCI',
|
|
196
|
-
documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
200
|
-
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
201
|
-
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SCI',
|
|
202
|
-
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
206
|
-
docName: 'Déclaration de confidentialité pour les comptes annuels',
|
|
207
|
-
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SCI',
|
|
208
|
-
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
212
|
-
docName: 'Affectation du résultat',
|
|
213
|
-
templateName: 'INCOME_APPROPRIATION_SCI',
|
|
214
|
-
documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
215
|
-
},
|
|
216
|
-
],
|
|
217
|
-
},
|
|
218
|
-
];
|