@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,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
exports.getCheckupDetailForm = exports.setRangeItems = void 0;
|
|
5
4
|
const Constants_1 = require("../types/Enum/Constants");
|
|
6
5
|
const Quality_1 = require("../types/Enum/Quality");
|
|
6
|
+
const Vat_1 = require("../types/Enum/Vat");
|
|
7
7
|
const dayjs = require("dayjs");
|
|
8
8
|
const setRangeItems = (maxRange) => {
|
|
9
9
|
const res = [];
|
|
10
10
|
for (let i = 0; i < maxRange; i += 1) {
|
|
11
11
|
res.push({ text: i, value: i });
|
|
12
12
|
}
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
13
14
|
return res;
|
|
14
15
|
};
|
|
15
16
|
exports.setRangeItems = setRangeItems;
|
|
@@ -23,241 +24,6 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
23
24
|
dayjs(dateOfRegistration).isBetween(dayjs(recoveryDate).subtract(1, 'month'), dayjs(recoveryDate).add(1, 'month')))
|
|
24
25
|
? true
|
|
25
26
|
: false;
|
|
26
|
-
if (!isSocietyCreationCompute) {
|
|
27
|
-
return [
|
|
28
|
-
{
|
|
29
|
-
name: "Découverte de l'entreprise (1/2)",
|
|
30
|
-
questions: [
|
|
31
|
-
{
|
|
32
|
-
value: 'detailActivity',
|
|
33
|
-
component: 'FormInputTextArea',
|
|
34
|
-
text: 'Expliquez-nous votre activité',
|
|
35
|
-
required: true,
|
|
36
|
-
meta: {
|
|
37
|
-
placeholder: 'Ex : Je suis freelance et propose du conseil en marketing',
|
|
38
|
-
hideDetails: true,
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
component: 'FormInputSelect',
|
|
43
|
-
text: "Votre structure a-t-elle des participations dans d'autres sociétés ?",
|
|
44
|
-
value: 'interestOtherCompanies',
|
|
45
|
-
required: true,
|
|
46
|
-
meta: {
|
|
47
|
-
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
48
|
-
hideDetails: true,
|
|
49
|
-
},
|
|
50
|
-
lg: 12,
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
component: 'FormInputSelect',
|
|
54
|
-
text: 'Avez-vous un logiciel de facturation ?',
|
|
55
|
-
value: 'hasBillingSoftware',
|
|
56
|
-
required: true,
|
|
57
|
-
meta: {
|
|
58
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
59
|
-
hideDetails: true,
|
|
60
|
-
},
|
|
61
|
-
lg: 12,
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
component: 'FormInputSelect',
|
|
65
|
-
text: 'Quels sont les modes de réglements dont vous disposez ?',
|
|
66
|
-
value: 'collectionSystem',
|
|
67
|
-
required: true,
|
|
68
|
-
meta: {
|
|
69
|
-
multiple: true,
|
|
70
|
-
items: [
|
|
71
|
-
{ text: 'Carte bancaire', value: 'carte bancaire' },
|
|
72
|
-
{ text: 'Virement bancaire', value: 'virement' },
|
|
73
|
-
{ text: 'Chèque', value: 'cheque' },
|
|
74
|
-
{ text: 'Espèces', value: 'espece' },
|
|
75
|
-
{ text: 'Prélèvement automatique', value: 'prelevement' },
|
|
76
|
-
],
|
|
77
|
-
hideDetails: true,
|
|
78
|
-
},
|
|
79
|
-
lg: 12,
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: "Découverte de l'entreprise (2/2)",
|
|
85
|
-
questions: [
|
|
86
|
-
{
|
|
87
|
-
component: 'FormInputSelect',
|
|
88
|
-
text: 'Avez-vous fait des investissements dans le cadre de la création de votre entreprise ?',
|
|
89
|
-
value: 'investissement',
|
|
90
|
-
required: true,
|
|
91
|
-
meta: {
|
|
92
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
93
|
-
hideDetails: true,
|
|
94
|
-
},
|
|
95
|
-
lg: 12,
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
component: 'FormInputSelect',
|
|
99
|
-
text: 'Avez-vous déjà eu des contrôles fiscaux ?',
|
|
100
|
-
value: 'fiscalControl',
|
|
101
|
-
required: true,
|
|
102
|
-
meta: {
|
|
103
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
104
|
-
hideDetails: true,
|
|
105
|
-
},
|
|
106
|
-
lg: 12,
|
|
107
|
-
},
|
|
108
|
-
// {
|
|
109
|
-
// component: 'FormInputSelect',
|
|
110
|
-
// text: 'Avez-vous des emprunts?',
|
|
111
|
-
// value: 'hasBorrowing',
|
|
112
|
-
// required: true,
|
|
113
|
-
// meta: {
|
|
114
|
-
// items: SelectYesNoStatementBool.map((i) => ({ ...i, value: i.value.toString() })),
|
|
115
|
-
// hideDetails: true,
|
|
116
|
-
// },
|
|
117
|
-
// lg: 12,
|
|
118
|
-
// },
|
|
119
|
-
{
|
|
120
|
-
component: 'FormInputSelect',
|
|
121
|
-
text: 'Si oui, combien?',
|
|
122
|
-
value: 'borrowingInProgress',
|
|
123
|
-
required: true,
|
|
124
|
-
meta: {
|
|
125
|
-
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
126
|
-
hideDetails: true,
|
|
127
|
-
},
|
|
128
|
-
condition: societyDetail.hasBorrowing === '1',
|
|
129
|
-
lg: 12,
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
component: 'FormInputSelect',
|
|
133
|
-
text: "Quels est/sont les motifs de votre changement d'expert comptable ?",
|
|
134
|
-
value: 'listReasonsWhyChangingEC',
|
|
135
|
-
required: true,
|
|
136
|
-
meta: {
|
|
137
|
-
multiple: true,
|
|
138
|
-
items: [
|
|
139
|
-
{ text: 'Litige', value: 'litige' },
|
|
140
|
-
{ text: 'Prix', value: 'prix' },
|
|
141
|
-
{ text: 'Manque de réactivité', value: 'pas réactif' },
|
|
142
|
-
{ text: 'Manque de conseil', value: 'manque de conseil' },
|
|
143
|
-
],
|
|
144
|
-
hideDetails: true,
|
|
145
|
-
},
|
|
146
|
-
lg: 12,
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
name: "Découverte du chef d'entreprise (1/2)",
|
|
152
|
-
questions: [
|
|
153
|
-
{
|
|
154
|
-
component: 'FormInputSelect',
|
|
155
|
-
text: 'Avez-vous suivi une formation particulière en lien avec votre activité ?',
|
|
156
|
-
value: 'descriptionFormation',
|
|
157
|
-
required: true,
|
|
158
|
-
meta: {
|
|
159
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
160
|
-
hideDetails: true,
|
|
161
|
-
},
|
|
162
|
-
lg: 12,
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
component: 'FormInputSelect',
|
|
166
|
-
text: 'Avez-vous des responsabilités politiques ?',
|
|
167
|
-
value: 'politicalResponsability',
|
|
168
|
-
required: true,
|
|
169
|
-
meta: {
|
|
170
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
171
|
-
hideDetails: true,
|
|
172
|
-
},
|
|
173
|
-
lg: 12,
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
component: 'FormInputSelect',
|
|
177
|
-
text: 'Êtes-vous résident fiscal français ?',
|
|
178
|
-
value: 'frenchTaxResident',
|
|
179
|
-
required: true,
|
|
180
|
-
meta: {
|
|
181
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
182
|
-
hideDetails: true,
|
|
183
|
-
},
|
|
184
|
-
lg: 12,
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
component: 'FormInputSelect',
|
|
188
|
-
text: 'Êtes-vous en redressement judiciaire ?',
|
|
189
|
-
value: 'judiciaryRecovery',
|
|
190
|
-
required: true,
|
|
191
|
-
meta: {
|
|
192
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
193
|
-
hideDetails: true,
|
|
194
|
-
},
|
|
195
|
-
lg: 12,
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
name: "Découverte du chef d'entreprise (2/2)",
|
|
201
|
-
questions: [
|
|
202
|
-
{
|
|
203
|
-
component: 'FormInputSelect',
|
|
204
|
-
text: "Quelle est votre fonction dans l'entreprise ?",
|
|
205
|
-
value: 'listQualities',
|
|
206
|
-
required: true,
|
|
207
|
-
meta: {
|
|
208
|
-
items: Quality_1.QualityList.map((quality) => ({ text: quality.label, value: quality.id })),
|
|
209
|
-
hideDetails: true,
|
|
210
|
-
},
|
|
211
|
-
lg: 12,
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
component: 'FormInputSelect',
|
|
215
|
-
text: "Avez vous des connaissances en gestion d'entreprise ?",
|
|
216
|
-
value: 'managementKnowledge',
|
|
217
|
-
required: true,
|
|
218
|
-
meta: {
|
|
219
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
220
|
-
hideDetails: true,
|
|
221
|
-
},
|
|
222
|
-
lg: 12,
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
component: 'FormInputSelect',
|
|
226
|
-
text: "Avez-vous des participations dans d'autres sociétés ?",
|
|
227
|
-
value: 'participationsInOtherSociety',
|
|
228
|
-
required: true,
|
|
229
|
-
meta: {
|
|
230
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
231
|
-
hideDetails: true,
|
|
232
|
-
},
|
|
233
|
-
lg: 12,
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
component: 'FormInputSelect',
|
|
237
|
-
text: 'Êtes-vous interdit bancaire ?',
|
|
238
|
-
value: 'prohibitedBanking',
|
|
239
|
-
required: true,
|
|
240
|
-
meta: {
|
|
241
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
242
|
-
hideDetails: true,
|
|
243
|
-
},
|
|
244
|
-
lg: 12,
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
component: 'FormInputSelect',
|
|
248
|
-
text: "Êtes-vous imposable au titre de l'année 2023/2024 ?",
|
|
249
|
-
value: 'isIrTaxable',
|
|
250
|
-
required: true,
|
|
251
|
-
meta: {
|
|
252
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
253
|
-
hideDetails: true,
|
|
254
|
-
},
|
|
255
|
-
lg: 12,
|
|
256
|
-
},
|
|
257
|
-
],
|
|
258
|
-
},
|
|
259
|
-
];
|
|
260
|
-
}
|
|
261
27
|
return [
|
|
262
28
|
{
|
|
263
29
|
name: "Découverte de l'entreprise",
|
|
@@ -265,287 +31,744 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
265
31
|
{
|
|
266
32
|
value: 'detailActivity',
|
|
267
33
|
component: 'FormInputTextArea',
|
|
268
|
-
text: '
|
|
269
|
-
|
|
34
|
+
text: 'Pouvez vous m’expliquer le fonctionnement de votre activité ?',
|
|
35
|
+
//TODO: conseil à afficher
|
|
36
|
+
meta: {
|
|
37
|
+
placeholder: 'E-commerce, ventes de produits finis, artisanat...',
|
|
38
|
+
hideDetails: true,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
value: 'nbBankaccounts',
|
|
43
|
+
component: 'FormInputSelect',
|
|
44
|
+
text: 'Combien de comptes bancaires avez-vous ?',
|
|
45
|
+
meta: {
|
|
46
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
47
|
+
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
48
|
+
hideDetails: true,
|
|
49
|
+
},
|
|
50
|
+
lg: societyDetail.nbBankaccounts > 0 ? 8 : 12,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
//TODO: champ à créer
|
|
54
|
+
component: 'FormInputSelect',
|
|
55
|
+
text: 'Lesquelles ?',
|
|
56
|
+
value: 'listBanks',
|
|
57
|
+
meta: {
|
|
58
|
+
multiple: true,
|
|
59
|
+
items: [...bankList, { id: 'hors-ue', name: 'Hors UE' }],
|
|
60
|
+
itemText: 'name',
|
|
61
|
+
itemValue: 'id',
|
|
62
|
+
hideDetails: true,
|
|
63
|
+
},
|
|
64
|
+
lg: societyDetail.nbBankaccounts > 0 ? 4 : 12,
|
|
65
|
+
condition: societyDetail.nbBankaccounts > 0,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
component: 'FormInputSelect',
|
|
69
|
+
text: "Combien d'associés êtes-vous ?",
|
|
70
|
+
// lg: 4,
|
|
71
|
+
value: 'nbAssociates',
|
|
72
|
+
meta: {
|
|
73
|
+
items: (0, exports.setRangeItems)(20),
|
|
74
|
+
hideDetails: true,
|
|
75
|
+
},
|
|
76
|
+
lg: 4,
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
component: 'FormInputSelect',
|
|
80
|
+
text: "Combien d'associés travaillent dans la société ?",
|
|
81
|
+
// lg: 4,
|
|
82
|
+
value: 'nbAssociatesInCompany',
|
|
83
|
+
meta: {
|
|
84
|
+
items: (0, exports.setRangeItems)(20),
|
|
85
|
+
hideDetails: true,
|
|
86
|
+
},
|
|
87
|
+
lg: 4,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
component: 'FormInputSelect',
|
|
91
|
+
text: 'Combien de salariés êtes-vous ?',
|
|
92
|
+
value: 'nbEmployees',
|
|
93
|
+
meta: {
|
|
94
|
+
items: (0, exports.setRangeItems)(20),
|
|
95
|
+
hideDetails: true,
|
|
96
|
+
},
|
|
97
|
+
lg: 4,
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
101
|
+
text: 'Avez-vous des prévisions d’embauches ?',
|
|
102
|
+
value: 'hiringPromess',
|
|
103
|
+
meta: {
|
|
104
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
105
|
+
hideDetails: true,
|
|
106
|
+
},
|
|
107
|
+
lg: 4,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
component: 'FormInputSelect',
|
|
111
|
+
text: 'Le siège social est-il au domicile ?',
|
|
112
|
+
// lg: 4,
|
|
113
|
+
value: 'isPersoAdress',
|
|
270
114
|
meta: {
|
|
271
|
-
|
|
115
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
116
|
+
hideDetails: true,
|
|
117
|
+
},
|
|
118
|
+
lg: societyDetail.isPersoAdress === '1' ? 4 : 8,
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
122
|
+
text: 'Êtes-vous propriétaire ?',
|
|
123
|
+
value: 'professionnalRent',
|
|
124
|
+
meta: {
|
|
125
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
272
126
|
hideDetails: true,
|
|
273
127
|
},
|
|
128
|
+
condition: societyDetail.isPersoAdress === '1',
|
|
129
|
+
lg: 4,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
133
|
+
text: 'Avez-vous un bail commercial ?',
|
|
134
|
+
value: 'hasCommercialLease',
|
|
135
|
+
meta: {
|
|
136
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
137
|
+
hideDetails: true,
|
|
138
|
+
},
|
|
139
|
+
//TODO: conseil à afficher
|
|
140
|
+
condition: societyDetail.isPersoAdress !== '1',
|
|
141
|
+
lg: societyDetail.hasCommercialLease === '1' ? 4 : 12,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
component: 'FormInputText',
|
|
145
|
+
text: 'Quelle est la surface approximative du local ?',
|
|
146
|
+
value: 'commercialArea',
|
|
147
|
+
type: 'number',
|
|
148
|
+
meta: {
|
|
149
|
+
suffix: 'm²',
|
|
150
|
+
hideDetails: true,
|
|
151
|
+
},
|
|
152
|
+
condition: societyDetail.isPersoAdress !== '1' && societyDetail.hasCommercialLease === '1',
|
|
153
|
+
lg: 4,
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
component: 'FormInputText',
|
|
157
|
+
text: 'Quel est le montant du loyer mensuel',
|
|
158
|
+
value: 'commercialRentAmount',
|
|
159
|
+
type: 'number',
|
|
160
|
+
meta: {
|
|
161
|
+
suffix: '€',
|
|
162
|
+
hideDetails: true,
|
|
163
|
+
},
|
|
164
|
+
condition: societyDetail.isPersoAdress !== '1' && societyDetail.hasCommercialLease === '1',
|
|
165
|
+
lg: 4,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
component: 'FormInputSelect',
|
|
169
|
+
text: 'Utilisez-vous votre véhicule personnel dans le cadre de votre activité ?',
|
|
170
|
+
value: 'vehicle',
|
|
171
|
+
required: false,
|
|
172
|
+
meta: {
|
|
173
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
174
|
+
hideDetails: true,
|
|
175
|
+
},
|
|
176
|
+
lg: 4,
|
|
177
|
+
//TODO: conseil à afficher
|
|
274
178
|
},
|
|
275
179
|
{
|
|
276
180
|
component: 'FormInputSelect',
|
|
277
|
-
text: "Votre structure a-t-elle des participations dans d'autres sociétés
|
|
181
|
+
text: "Votre structure a-t-elle des participations dans d'autres sociétés ?",
|
|
278
182
|
value: 'interestOtherCompanies',
|
|
279
|
-
required: true,
|
|
280
183
|
meta: {
|
|
184
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
281
185
|
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
282
186
|
hideDetails: true,
|
|
283
187
|
},
|
|
284
|
-
lg: 12,
|
|
188
|
+
lg: parseInt(societyDetail.interestOtherCompanies, 10) > 0 ? 4 : 12,
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
component: 'FormInputText',
|
|
192
|
+
text: 'Si oui, quels sont les noms des sociétés ?',
|
|
193
|
+
value: 'listCompaniesInterestedIn',
|
|
194
|
+
condition: parseInt(societyDetail.interestOtherCompanies, 10) > 0,
|
|
195
|
+
lg: parseInt(societyDetail.interestOtherCompanies, 10) > 0 ? 4 : 12,
|
|
285
196
|
},
|
|
286
197
|
{
|
|
198
|
+
//TODO: champ à créer
|
|
199
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
200
|
+
text: `Sont-elles clientes chez ${brandName}`,
|
|
201
|
+
value: 'areOtherCompaniesOnOurBrand',
|
|
202
|
+
meta: {
|
|
203
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
204
|
+
hideDetails: true,
|
|
205
|
+
},
|
|
206
|
+
condition: parseInt(societyDetail.interestOtherCompanies, 10) > 0,
|
|
207
|
+
lg: parseInt(societyDetail.interestOtherCompanies, 10) > 0 ? 4 : 12,
|
|
208
|
+
//TODO: si non, conseil à afficher
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
//TODO: champ à créer
|
|
287
212
|
component: 'FormInputSelect',
|
|
213
|
+
text: 'Quels sont vos taux de TVA ?',
|
|
214
|
+
value: 'listTva',
|
|
215
|
+
meta: {
|
|
216
|
+
multiple: true,
|
|
217
|
+
items: Object.values(Vat_1.Vat)
|
|
218
|
+
.filter((v) => !v.isVatIntracom && !v.isVatImportation && v.immobilization)
|
|
219
|
+
.sort((a, b) => b.displayOrder - a.displayOrder),
|
|
220
|
+
itemText: 'name',
|
|
221
|
+
itemValue: 'id',
|
|
222
|
+
hideDetails: true,
|
|
223
|
+
},
|
|
224
|
+
lg: 4,
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
//TODO: champ à créer
|
|
228
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
229
|
+
text: 'Votre compte impôts.gouv.fr a t-il été paramétré avec le RIB transmis au service facturation ?',
|
|
230
|
+
value: 'ribSentToTaxDepartment',
|
|
231
|
+
meta: {
|
|
232
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
233
|
+
hideDetails: true,
|
|
234
|
+
},
|
|
235
|
+
lg: 8,
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
//TRICK: insertion du bloc de DropBox de RIB
|
|
239
|
+
value: 'rib',
|
|
240
|
+
condition: societyDetail.ribSentToTaxDepartment === '0',
|
|
241
|
+
//TODO: conseil à afficher
|
|
242
|
+
lg: 4,
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
component: 'FormInputTextArea',
|
|
246
|
+
text: 'Remarques',
|
|
247
|
+
value: 'historyComments',
|
|
248
|
+
required: false,
|
|
249
|
+
meta: {
|
|
250
|
+
hideDetails: true,
|
|
251
|
+
},
|
|
252
|
+
lg: 12,
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
//TODO: champ à créer
|
|
256
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
288
257
|
text: 'Avez-vous un logiciel de facturation ?',
|
|
289
258
|
value: 'hasBillingSoftware',
|
|
290
|
-
required: true,
|
|
291
259
|
meta: {
|
|
292
260
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
293
261
|
hideDetails: true,
|
|
294
262
|
},
|
|
295
|
-
lg:
|
|
263
|
+
lg: 4,
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
component: 'FormInputText',
|
|
267
|
+
text: 'Lequel ?',
|
|
268
|
+
value: 'billingSoftware',
|
|
269
|
+
//TODO: si non, conseil à afficher
|
|
270
|
+
lg: 4,
|
|
271
|
+
meta: {
|
|
272
|
+
hideDetails: true,
|
|
273
|
+
},
|
|
274
|
+
condition: societyDetail.hasBillingSoftware === '1',
|
|
296
275
|
},
|
|
297
276
|
{
|
|
298
277
|
component: 'FormInputSelect',
|
|
299
278
|
text: 'Quels sont les modes de réglements dont vous disposez ?',
|
|
300
279
|
value: 'collectionSystem',
|
|
301
|
-
required: true,
|
|
302
280
|
meta: {
|
|
303
|
-
multiple: true,
|
|
304
281
|
items: [
|
|
305
|
-
|
|
306
|
-
{ text: 'Virement bancaire', value: 'virement' },
|
|
282
|
+
//TODO: ajouter PayPal et Stripe ?
|
|
307
283
|
{ text: 'Chèque', value: 'cheque' },
|
|
308
|
-
{ text: '
|
|
284
|
+
{ text: 'Espèce', value: 'espece' },
|
|
285
|
+
{ text: 'Intermédiaire', value: 'intermediaire' },
|
|
286
|
+
{ text: 'Virement', value: 'virement' },
|
|
309
287
|
{ text: 'Prélèvement automatique', value: 'prelevement' },
|
|
288
|
+
{ text: 'Carte bancaire', value: 'carte bancaire' },
|
|
310
289
|
],
|
|
311
290
|
hideDetails: true,
|
|
312
291
|
},
|
|
313
|
-
lg:
|
|
292
|
+
lg: 4,
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
//TODO: champ à créer
|
|
296
|
+
component: 'FormInputSelect',
|
|
297
|
+
text: 'Où est situé le siège de l’entreprise ?',
|
|
298
|
+
value: 'officeType',
|
|
299
|
+
meta: {
|
|
300
|
+
items: [
|
|
301
|
+
{ text: 'Domicile', value: 'Domicile' },
|
|
302
|
+
{ text: 'Boîte de Domiciliation', value: 'Boîte de Domiciliation' },
|
|
303
|
+
{ text: 'Local ou Bureau', value: 'Local/Bureau' },
|
|
304
|
+
],
|
|
305
|
+
hideDetails: true,
|
|
306
|
+
},
|
|
307
|
+
//TODO: 3 conseils à afficher
|
|
308
|
+
lg: 4,
|
|
314
309
|
},
|
|
315
310
|
],
|
|
316
311
|
},
|
|
317
312
|
{
|
|
318
|
-
name: "Création d'entreprise
|
|
313
|
+
name: "Création d'entreprise",
|
|
314
|
+
display: isSocietyCreationCompute === true,
|
|
319
315
|
questions: [
|
|
320
316
|
{
|
|
321
|
-
component: 'FormInputSelect',
|
|
322
|
-
text: 'Avez-vous utilisé des apports personnels en capital lors de la création
|
|
317
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
318
|
+
text: 'Avez-vous utilisé des apports personnels en capital lors de la création ?',
|
|
323
319
|
value: 'personnalContributionCapital',
|
|
324
|
-
required: true,
|
|
325
320
|
meta: {
|
|
326
321
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
327
322
|
hideDetails: true,
|
|
328
323
|
},
|
|
329
|
-
lg:
|
|
324
|
+
lg: 4,
|
|
330
325
|
},
|
|
331
326
|
{
|
|
332
|
-
component: 'FormInputSelect',
|
|
333
|
-
text: 'Avez-vous utilisé des apports personnels en compte courant lors de la création
|
|
327
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
328
|
+
text: 'Avez-vous utilisé des apports personnels en compte courant lors de la création ?',
|
|
334
329
|
value: 'personnalContributionCurrentBankAccount',
|
|
335
|
-
required: true,
|
|
336
330
|
meta: {
|
|
337
331
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
338
332
|
hideDetails: true,
|
|
339
333
|
},
|
|
340
|
-
lg:
|
|
334
|
+
lg: 4,
|
|
341
335
|
},
|
|
342
336
|
{
|
|
343
|
-
component: 'FormInputSelect',
|
|
344
|
-
text:
|
|
337
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
338
|
+
text: 'Avez-vous utilisé des apports personnels en nature lors de la création ?',
|
|
339
|
+
value: 'personnalContributionInKind',
|
|
340
|
+
meta: {
|
|
341
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
342
|
+
hideDetails: true,
|
|
343
|
+
},
|
|
344
|
+
lg: 4,
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
component: 'FormInputText',
|
|
348
|
+
text: 'Quelle activité exerciez-vous auparavant ?',
|
|
349
|
+
value: 'oldActivite',
|
|
350
|
+
meta: {
|
|
351
|
+
hideDetails: true,
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
356
|
+
text: "Avez-vous bénéficié d'une rupture conventionnelle ou du versement d'une indemnité de licenciement dans le cadre de votre installation ?",
|
|
345
357
|
value: 'indemnite',
|
|
346
|
-
required:
|
|
358
|
+
required: false,
|
|
347
359
|
meta: {
|
|
348
360
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
349
361
|
hideDetails: true,
|
|
350
362
|
},
|
|
351
|
-
lg: 12,
|
|
352
363
|
},
|
|
353
364
|
{
|
|
354
|
-
component: 'FormInputSelect',
|
|
365
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
366
|
+
text: "Bénéficiez vous de l'aide de Pôle Emploi ?",
|
|
367
|
+
value: 'poleEmploiAid',
|
|
368
|
+
required: false,
|
|
369
|
+
meta: {
|
|
370
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
371
|
+
hideDetails: true,
|
|
372
|
+
},
|
|
373
|
+
lg: societyDetail.poleEmploiAid === '1' ? 6 : 12,
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
component: 'FormInputText',
|
|
377
|
+
text: 'Si oui, option retenue ?',
|
|
378
|
+
value: 'poleEmploiAidType',
|
|
379
|
+
required: false,
|
|
380
|
+
meta: {
|
|
381
|
+
hideDetails: true,
|
|
382
|
+
},
|
|
383
|
+
condition: societyDetail.poleEmploiAid === '1',
|
|
384
|
+
lg: societyDetail.poleEmploiAid === '1' ? 6 : 12,
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
355
388
|
text: "Avez-vous bénéficié d'un prêt d'honneur ?",
|
|
356
389
|
value: 'honorLoan',
|
|
357
|
-
required:
|
|
390
|
+
required: false,
|
|
358
391
|
meta: {
|
|
359
392
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
360
393
|
hideDetails: true,
|
|
361
394
|
},
|
|
362
|
-
lg: 12,
|
|
395
|
+
lg: societyDetail.honorLoan === '1' ? 6 : 12,
|
|
363
396
|
},
|
|
364
|
-
],
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
name: "Création d'entreprise (2/2)",
|
|
368
|
-
questions: [
|
|
369
397
|
{
|
|
370
|
-
component: '
|
|
371
|
-
text: "
|
|
398
|
+
component: 'FormInputText',
|
|
399
|
+
text: "Si oui, quel est le montant du prêt d'honneur ?",
|
|
400
|
+
value: 'honorLoanAmount',
|
|
401
|
+
type: 'number',
|
|
402
|
+
required: false,
|
|
403
|
+
meta: {
|
|
404
|
+
suffix: '€',
|
|
405
|
+
hideDetails: true,
|
|
406
|
+
},
|
|
407
|
+
condition: societyDetail.honorLoan === '1',
|
|
408
|
+
lg: societyDetail.honorLoan === '1' ? 6 : 12,
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
412
|
+
text: "Allez-vous travailler à l'international ? (import ou export)",
|
|
372
413
|
value: 'workInternationnal',
|
|
373
|
-
required:
|
|
414
|
+
required: false,
|
|
374
415
|
meta: {
|
|
375
416
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
376
417
|
hideDetails: true,
|
|
377
418
|
},
|
|
378
|
-
lg:
|
|
419
|
+
lg: 4,
|
|
379
420
|
},
|
|
380
421
|
{
|
|
381
|
-
component: 'FormInputSelect',
|
|
382
|
-
text: 'Avez-vous
|
|
422
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
423
|
+
text: 'Avez-vous dû financer un stock de départ ?',
|
|
383
424
|
value: 'financingStartingStock',
|
|
384
|
-
required:
|
|
425
|
+
required: false,
|
|
385
426
|
meta: {
|
|
386
427
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
387
428
|
hideDetails: true,
|
|
388
429
|
},
|
|
389
|
-
lg:
|
|
430
|
+
lg: societyDetail.financingStartingStock === '1' ? 4 : 8,
|
|
390
431
|
},
|
|
391
432
|
{
|
|
433
|
+
component: 'FormInputText',
|
|
434
|
+
text: 'Si oui, montant approximatif',
|
|
435
|
+
value: 'financingStartingStockAmount',
|
|
436
|
+
type: 'number',
|
|
437
|
+
required: false,
|
|
438
|
+
meta: {
|
|
439
|
+
suffix: '€',
|
|
440
|
+
hideDetails: true,
|
|
441
|
+
},
|
|
442
|
+
condition: societyDetail.financingStartingStock === '1',
|
|
443
|
+
lg: societyDetail.financingStartingStock === '1' ? 4 : 8,
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
//TODO: champ à créer
|
|
392
447
|
component: 'FormInputSelect',
|
|
393
448
|
text: "Quels sont vos types d'apport ?",
|
|
394
449
|
value: 'contributionTypes',
|
|
395
|
-
required: true,
|
|
396
450
|
meta: {
|
|
397
451
|
multiple: true,
|
|
398
452
|
items: [
|
|
399
|
-
{ text: 'Nature', value: 'nature' },
|
|
453
|
+
{ text: 'Nature', value: 'nature' }, //TODO: créer un ENUM
|
|
400
454
|
{ text: 'Numéraire', value: 'numeraire' },
|
|
401
455
|
{ text: 'Industriel', value: 'industriel' },
|
|
402
456
|
],
|
|
403
457
|
hideDetails: true,
|
|
404
458
|
},
|
|
405
|
-
lg:
|
|
459
|
+
lg: 4,
|
|
406
460
|
},
|
|
407
461
|
{
|
|
408
462
|
component: 'FormInputText',
|
|
409
|
-
text: "Chiffre d'affaires
|
|
463
|
+
text: "Chiffre d'affaires Prévisionnel ?",
|
|
410
464
|
value: 'previsionCa',
|
|
411
|
-
required: true,
|
|
412
465
|
meta: {
|
|
413
466
|
suffix: '€',
|
|
414
467
|
hideDetails: true,
|
|
415
468
|
},
|
|
416
|
-
lg:
|
|
469
|
+
lg: 4,
|
|
417
470
|
},
|
|
418
|
-
// {
|
|
419
|
-
// component: 'FormInputSelect',
|
|
420
|
-
// text: 'Avez-vous des emprunts en cours ?',
|
|
421
|
-
// value: 'isLoans',
|
|
422
|
-
// required: true,
|
|
423
|
-
// meta: {
|
|
424
|
-
// items: SelectYesNoStatementBool.map((i) => ({ ...i, value: i.value.toString() })),
|
|
425
|
-
// hideDetails: true,
|
|
426
|
-
// },
|
|
427
|
-
// lg: 12,
|
|
428
|
-
// },
|
|
429
471
|
{
|
|
430
472
|
component: 'FormInputSelect',
|
|
431
|
-
text: '
|
|
473
|
+
text: 'Existe-t-il des emprunts en cours ?',
|
|
432
474
|
value: 'isLoans',
|
|
433
|
-
required: true,
|
|
434
475
|
meta: {
|
|
476
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
435
477
|
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
436
478
|
hideDetails: true,
|
|
437
479
|
},
|
|
438
|
-
|
|
439
|
-
lg: 12,
|
|
480
|
+
lg: 4,
|
|
440
481
|
},
|
|
441
482
|
],
|
|
442
483
|
},
|
|
443
484
|
{
|
|
444
|
-
name:
|
|
485
|
+
name: 'Entreprise existante',
|
|
486
|
+
display: isSocietyCreationCompute === false,
|
|
445
487
|
questions: [
|
|
446
488
|
{
|
|
447
|
-
component: 'FormInputSelect',
|
|
448
|
-
text: '
|
|
449
|
-
value: '
|
|
450
|
-
required: true,
|
|
489
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
490
|
+
text: 'Aviez-vous fait des investissements dans le cadre de la création de votre entreprise ?',
|
|
491
|
+
value: 'investissement',
|
|
451
492
|
meta: {
|
|
452
493
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
453
494
|
hideDetails: true,
|
|
454
495
|
},
|
|
455
|
-
lg:
|
|
496
|
+
lg: societyDetail.investissement === '1' ? 4 : 8,
|
|
456
497
|
},
|
|
457
498
|
{
|
|
499
|
+
//TODO: champ à créer
|
|
458
500
|
component: 'FormInputSelect',
|
|
459
|
-
text: '
|
|
460
|
-
value: '
|
|
461
|
-
|
|
501
|
+
text: 'De quelles natures ?',
|
|
502
|
+
value: 'investissementTypes',
|
|
503
|
+
meta: {
|
|
504
|
+
multiple: true,
|
|
505
|
+
items: [
|
|
506
|
+
{ text: 'Nature', value: 'nature' }, //TODO: créer un ENUM
|
|
507
|
+
{ text: 'Numéraire', value: 'numeraire' },
|
|
508
|
+
{ text: 'Industriel', value: 'industriel' },
|
|
509
|
+
],
|
|
510
|
+
hideDetails: true,
|
|
511
|
+
},
|
|
512
|
+
condition: societyDetail.investissement === '1',
|
|
513
|
+
lg: societyDetail.investissement === '1' ? 4 : 8,
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
517
|
+
text: "Avez-vous des projets d'investissement à court ou moyen terme ?",
|
|
518
|
+
value: 'investissementCTMT',
|
|
462
519
|
meta: {
|
|
463
520
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
464
521
|
hideDetails: true,
|
|
465
522
|
},
|
|
466
|
-
lg:
|
|
523
|
+
lg: 4,
|
|
467
524
|
},
|
|
468
525
|
{
|
|
469
|
-
component: 'FormInputSelect',
|
|
470
|
-
text: '
|
|
471
|
-
value: '
|
|
472
|
-
required: true,
|
|
526
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
527
|
+
text: 'Avez-vous déjà eu des contrôles fiscaux ?',
|
|
528
|
+
value: 'fiscalControl',
|
|
473
529
|
meta: {
|
|
474
530
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
475
531
|
hideDetails: true,
|
|
476
532
|
},
|
|
477
|
-
lg:
|
|
533
|
+
lg: 4,
|
|
478
534
|
},
|
|
479
535
|
{
|
|
480
536
|
component: 'FormInputSelect',
|
|
481
|
-
text: '
|
|
482
|
-
value: '
|
|
483
|
-
required: true,
|
|
537
|
+
text: 'Existe-t-il des emprunts en cours ?',
|
|
538
|
+
value: 'borrowingInProgress',
|
|
484
539
|
meta: {
|
|
485
|
-
|
|
540
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
541
|
+
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
486
542
|
hideDetails: true,
|
|
487
543
|
},
|
|
488
|
-
lg:
|
|
544
|
+
lg: 4,
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
//TODO: champ à créer
|
|
548
|
+
component: 'FormInputSelect',
|
|
549
|
+
text: "Quel(s) est/sont le(s) motif(s) de votre changement d'Expert-Comptable ?",
|
|
550
|
+
value: 'listReasonsWhyChangingEC',
|
|
551
|
+
meta: {
|
|
552
|
+
multiple: true,
|
|
553
|
+
items: [
|
|
554
|
+
{ text: 'Litige', value: 'litige' },
|
|
555
|
+
{ text: 'Impayé', value: 'impayé' },
|
|
556
|
+
{ text: 'Pas réactif', value: 'pas réactif' },
|
|
557
|
+
{ text: 'Manque de conseil', value: 'manque de conseil' },
|
|
558
|
+
{ text: 'Proximité', value: 'proximité' },
|
|
559
|
+
{ text: 'Prix', value: 'prix' },
|
|
560
|
+
{ text: 'Non Concerné', value: 'nc' },
|
|
561
|
+
],
|
|
562
|
+
hideDetails: true,
|
|
563
|
+
},
|
|
564
|
+
lg: 4,
|
|
489
565
|
},
|
|
490
566
|
],
|
|
491
567
|
},
|
|
492
568
|
{
|
|
493
|
-
name: "Découverte
|
|
569
|
+
name: "Découverte chef d'entreprise",
|
|
494
570
|
questions: [
|
|
495
571
|
{
|
|
496
|
-
component: 'FormInputSelect',
|
|
497
|
-
text:
|
|
498
|
-
value: '
|
|
499
|
-
required: true,
|
|
572
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
573
|
+
text: 'Avez-vous suivi une formation particulière en lien avec votre activité ?',
|
|
574
|
+
value: 'descriptionFormation',
|
|
500
575
|
meta: {
|
|
501
|
-
items:
|
|
576
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
502
577
|
hideDetails: true,
|
|
503
578
|
},
|
|
504
|
-
lg:
|
|
579
|
+
lg: 6,
|
|
580
|
+
//TODO: si non, conseil à afficher
|
|
505
581
|
},
|
|
506
582
|
{
|
|
507
|
-
component: 'FormInputSelect',
|
|
508
|
-
text:
|
|
583
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
584
|
+
text: 'Avez-vous des connaissances de gestion ?',
|
|
509
585
|
value: 'managementKnowledge',
|
|
510
|
-
required: true,
|
|
511
586
|
meta: {
|
|
512
587
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
513
588
|
hideDetails: true,
|
|
514
589
|
},
|
|
515
|
-
lg:
|
|
590
|
+
lg: 6,
|
|
516
591
|
},
|
|
517
592
|
{
|
|
518
|
-
component: 'FormInputSelect',
|
|
593
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
594
|
+
text: 'Avez-vous des responsabilités politiques ?',
|
|
595
|
+
value: 'politicalResponsability',
|
|
596
|
+
meta: {
|
|
597
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
598
|
+
hideDetails: true,
|
|
599
|
+
},
|
|
600
|
+
lg: 6,
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
519
604
|
text: "Avez-vous des participations dans d'autres sociétés ?",
|
|
520
605
|
value: 'participationsInOtherSociety',
|
|
521
|
-
required: true,
|
|
522
606
|
meta: {
|
|
523
607
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
524
608
|
hideDetails: true,
|
|
525
609
|
},
|
|
526
|
-
lg:
|
|
610
|
+
lg: 6,
|
|
527
611
|
},
|
|
528
612
|
{
|
|
529
|
-
component: 'FormInputSelect',
|
|
530
|
-
text: 'Êtes-vous
|
|
613
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
614
|
+
text: 'Êtes-vous résident fiscal français ?',
|
|
615
|
+
value: 'frenchTaxResident',
|
|
616
|
+
meta: {
|
|
617
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
618
|
+
hideDetails: true,
|
|
619
|
+
},
|
|
620
|
+
lg: 6,
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
624
|
+
text: 'Êtes-vous interdit bancaire ?',
|
|
531
625
|
value: 'prohibitedBanking',
|
|
532
|
-
required: true,
|
|
533
626
|
meta: {
|
|
534
627
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
535
628
|
hideDetails: true,
|
|
536
629
|
},
|
|
537
|
-
lg:
|
|
630
|
+
lg: 6,
|
|
538
631
|
},
|
|
539
632
|
{
|
|
540
|
-
component: 'FormInputSelect',
|
|
541
|
-
text:
|
|
633
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
634
|
+
text: 'Êtes-vous en redressement judiciaire ?',
|
|
635
|
+
value: 'judiciaryRecovery',
|
|
636
|
+
meta: {
|
|
637
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
638
|
+
hideDetails: true,
|
|
639
|
+
},
|
|
640
|
+
lg: 6,
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
644
|
+
text: `Êtes-vous imposable au titre de l'IR ${dayjs().subtract(2, 'year').format('YYYY')}/${dayjs()
|
|
645
|
+
.subtract(1, 'year')
|
|
646
|
+
.format('YYYY')} ?`,
|
|
542
647
|
value: 'isIrTaxable',
|
|
543
|
-
required: true,
|
|
544
648
|
meta: {
|
|
545
649
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
546
650
|
hideDetails: true,
|
|
547
651
|
},
|
|
548
|
-
lg:
|
|
652
|
+
lg: 6,
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
//TODO: champ à créer
|
|
656
|
+
component: 'FormInputSelect',
|
|
657
|
+
text: "Quelle est votre fonction dans l'entreprise ?",
|
|
658
|
+
value: 'listQualities',
|
|
659
|
+
meta: {
|
|
660
|
+
multiple: true,
|
|
661
|
+
items: Object.values(Quality_1.QualityList).sort((a, b) => (a.label > b.label ? 1 : -1)),
|
|
662
|
+
itemText: 'label',
|
|
663
|
+
itemValue: 'id',
|
|
664
|
+
hideDetails: true,
|
|
665
|
+
},
|
|
666
|
+
lg: 6,
|
|
667
|
+
},
|
|
668
|
+
],
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
name: 'Organisation',
|
|
672
|
+
questions: [
|
|
673
|
+
{
|
|
674
|
+
//TODO: champ à créer
|
|
675
|
+
component: 'FormInputSelect',
|
|
676
|
+
text: 'En combien de temps vos clients vous règlent-ils ?',
|
|
677
|
+
value: 'averageCustomerRegulationTime',
|
|
678
|
+
meta: {
|
|
679
|
+
items: Constants_1.AverageTimeItems,
|
|
680
|
+
hideDetails: true,
|
|
681
|
+
},
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
//TODO: champ à créer
|
|
685
|
+
component: 'FormInputSelect',
|
|
686
|
+
text: 'En combien de temps réglez-vous vos fournisseurs ?',
|
|
687
|
+
value: 'averageSupplierRegulationTime',
|
|
688
|
+
meta: {
|
|
689
|
+
items: Constants_1.AverageTimeItems,
|
|
690
|
+
hideDetails: true,
|
|
691
|
+
},
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
695
|
+
text: 'Classez-vous vos pièces comptables (factures d’achats par mois, etc ...) ?',
|
|
696
|
+
value: 'rankFiles',
|
|
697
|
+
meta: {
|
|
698
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
699
|
+
hideDetails: true,
|
|
700
|
+
},
|
|
701
|
+
},
|
|
702
|
+
],
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
name: 'Assurance',
|
|
706
|
+
questions: [
|
|
707
|
+
{
|
|
708
|
+
component: 'FormInputSwitch', //'FormInputRadio',
|
|
709
|
+
text: 'Êtes-vous indemnisé par l’assurance chômage ?',
|
|
710
|
+
value: 'unemploymentInsurance',
|
|
711
|
+
meta: {
|
|
712
|
+
hideDetails: true,
|
|
713
|
+
},
|
|
714
|
+
lg: 6,
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
component: 'FormInputSwitch', //'FormInputRadio',
|
|
718
|
+
text: 'Avez-vous une couverture mutuelle ?',
|
|
719
|
+
value: 'hasMutualInsurance',
|
|
720
|
+
meta: {
|
|
721
|
+
hideDetails: true,
|
|
722
|
+
},
|
|
723
|
+
lg: 6,
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
component: 'FormInputSwitch', //'FormInputRadio',
|
|
727
|
+
text: 'Avez-vous une responsabilité civile professionnelle (RC Pro) ?',
|
|
728
|
+
value: 'hasProfessionalLiabilityInsurance',
|
|
729
|
+
meta: {
|
|
730
|
+
hideDetails: true,
|
|
731
|
+
},
|
|
732
|
+
lg: 6,
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
component: 'FormInputSwitch', //'FormInputRadio',
|
|
736
|
+
text: 'Souhaitez-vous faire un audit de vos contracts d’assurances ?',
|
|
737
|
+
value: 'insuranceContractAudit',
|
|
738
|
+
meta: {
|
|
739
|
+
hideDetails: true,
|
|
740
|
+
},
|
|
741
|
+
lg: 6,
|
|
742
|
+
},
|
|
743
|
+
],
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
name: 'Conclusion',
|
|
747
|
+
questions: [
|
|
748
|
+
{
|
|
749
|
+
component: 'FormInputText',
|
|
750
|
+
text: 'Avez-vous des besoins spécifiques ?',
|
|
751
|
+
value: 'specificNeeds',
|
|
752
|
+
meta: {
|
|
753
|
+
hideDetails: true,
|
|
754
|
+
},
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
component: 'FormInputTextArea',
|
|
758
|
+
text: 'Commentaires généraux',
|
|
759
|
+
value: 'remarqueComment',
|
|
760
|
+
meta: {
|
|
761
|
+
hideDetails: true,
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
component: 'FormInputSelect',
|
|
766
|
+
text: 'Comment nous avez-vous connu ?',
|
|
767
|
+
meta: {
|
|
768
|
+
items: Constants_1.ClementineSources,
|
|
769
|
+
hideDetails: true,
|
|
770
|
+
},
|
|
771
|
+
value: 'idFindClementine',
|
|
549
772
|
},
|
|
550
773
|
],
|
|
551
774
|
},
|