@silexpert/core 2.0.126-beta.0 → 2.0.127-beta.0
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/client/index.mjs +196 -0
- package/dist/client/index.mjs.map +1 -0
- package/dist/client/product-BjsJSO1B.mjs +2 -0
- package/dist/client/product-BjsJSO1B.mjs.map +1 -0
- package/{ts/utils/commercialManagement/templates/common.ts → dist/client/server/index.mjs} +408 -59
- package/dist/client/server/index.mjs.map +1 -0
- package/dist/{index-CvxgpFhm.d.mts → index-C3FN6Nx9.d.mts} +99 -8
- package/dist/index-C3FN6Nx9.d.mts.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/product-D3ue7JQB.mjs +2 -0
- package/dist/product-D3ue7JQB.mjs.map +1 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/index.mjs.map +1 -1
- package/package.json +29 -9
- package/dist/index-CvxgpFhm.d.mts.map +0 -1
- package/dist/product-BzXeycUV.mjs +0 -2
- package/dist/product-BzXeycUV.mjs.map +0 -1
- package/ts/api/Resource.ts +0 -16
- package/ts/api/index.ts +0 -78
- package/ts/api/resources/3cx.ts +0 -21
- package/ts/api/resources/AbsenceRequest.ts +0 -33
- package/ts/api/resources/Acceptance.ts +0 -12
- package/ts/api/resources/Account.ts +0 -75
- package/ts/api/resources/AccountType.ts +0 -8
- package/ts/api/resources/AccountingFiles.ts +0 -100
- package/ts/api/resources/AccountingIncome.ts +0 -8
- package/ts/api/resources/AccountsSectors.ts +0 -29
- package/ts/api/resources/Acd.ts +0 -12
- package/ts/api/resources/AffectedPatrimony.ts +0 -26
- package/ts/api/resources/Ai.ts +0 -8
- package/ts/api/resources/AnalyticsUtm.ts +0 -12
- package/ts/api/resources/Appointment.ts +0 -52
- package/ts/api/resources/Archive.ts +0 -11
- package/ts/api/resources/Authenticate.ts +0 -70
- package/ts/api/resources/AutomaticRegistration.ts +0 -8
- package/ts/api/resources/BalanceSheet.ts +0 -100
- package/ts/api/resources/BalanceSheetCompletion.ts +0 -24
- package/ts/api/resources/BalanceSheetModule.ts +0 -21
- package/ts/api/resources/BalanceSheetQuestion.ts +0 -8
- package/ts/api/resources/BalanceSheetReport.ts +0 -36
- package/ts/api/resources/BalanceSheetSupervision.ts +0 -36
- package/ts/api/resources/BankAccount.ts +0 -69
- package/ts/api/resources/BankConnection.ts +0 -12
- package/ts/api/resources/BankDedup.ts +0 -24
- package/ts/api/resources/BankList.ts +0 -8
- package/ts/api/resources/BankStatement.ts +0 -51
- package/ts/api/resources/Brevo.ts +0 -16
- package/ts/api/resources/BudgetInsight.ts +0 -40
- package/ts/api/resources/BusinessPartner.ts +0 -31
- package/ts/api/resources/BusinessSector.ts +0 -20
- package/ts/api/resources/Caarl.ts +0 -7
- package/ts/api/resources/Cache.ts +0 -7
- package/ts/api/resources/CalendarEvent.ts +0 -82
- package/ts/api/resources/Card.ts +0 -43
- package/ts/api/resources/CashAndExpense.ts +0 -40
- package/ts/api/resources/ChangeLog.ts +0 -12
- package/ts/api/resources/Checklist.ts +0 -188
- package/ts/api/resources/Closing.ts +0 -20
- package/ts/api/resources/CollaboraterDetail.ts +0 -29
- package/ts/api/resources/Comment.ts +0 -16
- package/ts/api/resources/Commercial.ts +0 -119
- package/ts/api/resources/CommercialConditionOfSale.ts +0 -24
- package/ts/api/resources/CommercialDocument.ts +0 -137
- package/ts/api/resources/CommercialDocumentTemplate.ts +0 -20
- package/ts/api/resources/CommercialEmail.ts +0 -20
- package/ts/api/resources/CommercialImport.ts +0 -36
- package/ts/api/resources/CommercialOffer.ts +0 -72
- package/ts/api/resources/CommercialSetting.ts +0 -16
- package/ts/api/resources/CompanyCreationForm.ts +0 -28
- package/ts/api/resources/CompanyMarketingInformation.ts +0 -40
- package/ts/api/resources/Connection.ts +0 -8
- package/ts/api/resources/Connector.ts +0 -39
- package/ts/api/resources/ConstitutionHistory.ts +0 -14
- package/ts/api/resources/CustomerActivity.ts +0 -32
- package/ts/api/resources/CustomerProviderOperation.ts +0 -8
- package/ts/api/resources/CustomerSignature.ts +0 -8
- package/ts/api/resources/Das.ts +0 -27
- package/ts/api/resources/Dashboard.ts +0 -61
- package/ts/api/resources/DashboardLayout.ts +0 -24
- package/ts/api/resources/Docoon.ts +0 -40
- package/ts/api/resources/DocumentRequest.ts +0 -55
- package/ts/api/resources/DocumentSection.ts +0 -52
- package/ts/api/resources/DubiousCustomer.ts +0 -20
- package/ts/api/resources/Echo.ts +0 -16
- package/ts/api/resources/Employee.ts +0 -87
- package/ts/api/resources/Equipment.ts +0 -75
- package/ts/api/resources/Exercice.ts +0 -102
- package/ts/api/resources/ExercicePrestation.ts +0 -41
- package/ts/api/resources/ExerciceQuestion.ts +0 -12
- package/ts/api/resources/ExpertAnnuary.ts +0 -16
- package/ts/api/resources/FIle.ts +0 -56
- package/ts/api/resources/Facturation.ts +0 -60
- package/ts/api/resources/FecFile.ts +0 -60
- package/ts/api/resources/FinancialCharge.ts +0 -48
- package/ts/api/resources/FinancialProjection.ts +0 -18
- package/ts/api/resources/FirstStep.ts +0 -12
- package/ts/api/resources/Follow.ts +0 -22
- package/ts/api/resources/Formalism.ts +0 -17
- package/ts/api/resources/Fusion.ts +0 -7
- package/ts/api/resources/Gdpr.ts +0 -9
- package/ts/api/resources/GeneralLedger.ts +0 -90
- package/ts/api/resources/HumanResourceLibrary.ts +0 -63
- package/ts/api/resources/Immobilization.ts +0 -56
- package/ts/api/resources/IncomeAllocation.ts +0 -35
- package/ts/api/resources/IncomeStatement.ts +0 -14
- package/ts/api/resources/InformationRequest.ts +0 -49
- package/ts/api/resources/Inpi.ts +0 -156
- package/ts/api/resources/IntermediateManagementRebate.ts +0 -25
- package/ts/api/resources/InternalInvoicing.ts +0 -48
- package/ts/api/resources/Invoice.ts +0 -81
- package/ts/api/resources/Journal.ts +0 -10
- package/ts/api/resources/JuridicalMission.ts +0 -11
- package/ts/api/resources/KilometricAllowance.ts +0 -62
- package/ts/api/resources/KycMandate.ts +0 -31
- package/ts/api/resources/LeadsToPartners.ts +0 -24
- package/ts/api/resources/LegalNotice.ts +0 -40
- package/ts/api/resources/Letter.ts +0 -37
- package/ts/api/resources/Lettering.ts +0 -19
- package/ts/api/resources/Library.ts +0 -99
- package/ts/api/resources/Loan.ts +0 -66
- package/ts/api/resources/Log.ts +0 -30
- package/ts/api/resources/MachineLearning.ts +0 -17
- package/ts/api/resources/Mail.ts +0 -313
- package/ts/api/resources/Mandat.ts +0 -12
- package/ts/api/resources/MealExpense.ts +0 -41
- package/ts/api/resources/Mfa.ts +0 -39
- package/ts/api/resources/Mobile.ts +0 -12
- package/ts/api/resources/NafCode.ts +0 -11
- package/ts/api/resources/Notification.ts +0 -20
- package/ts/api/resources/NotificationSetting.ts +0 -15
- package/ts/api/resources/Notion.ts +0 -20
- package/ts/api/resources/OldExpertInfos.ts +0 -24
- package/ts/api/resources/OnBoarding.ts +0 -23
- package/ts/api/resources/Partner.ts +0 -47
- package/ts/api/resources/PartneredAccountant.ts +0 -8
- package/ts/api/resources/Payment.ts +0 -188
- package/ts/api/resources/PaymentExpectation.ts +0 -75
- package/ts/api/resources/PaymentExpectationCustomer.ts +0 -82
- package/ts/api/resources/PrestationComplementary.ts +0 -12
- package/ts/api/resources/Prestations.ts +0 -46
- package/ts/api/resources/PrevisionalForm.ts +0 -28
- package/ts/api/resources/Product.ts +0 -60
- package/ts/api/resources/Project.ts +0 -13
- package/ts/api/resources/Provision.ts +0 -24
- package/ts/api/resources/Qonto.ts +0 -33
- package/ts/api/resources/Quotation.ts +0 -31
- package/ts/api/resources/QuotesAccount.ts +0 -17
- package/ts/api/resources/Rating.ts +0 -49
- package/ts/api/resources/Recurrence.ts +0 -37
- package/ts/api/resources/Refund.ts +0 -27
- package/ts/api/resources/Registration.ts +0 -118
- package/ts/api/resources/RegistrationForm.ts +0 -12
- package/ts/api/resources/Regulate.ts +0 -24
- package/ts/api/resources/Regulation.ts +0 -45
- package/ts/api/resources/Reminder.ts +0 -44
- package/ts/api/resources/Report.ts +0 -71
- package/ts/api/resources/ReportMessage.ts +0 -84
- package/ts/api/resources/Revenue.ts +0 -101
- package/ts/api/resources/Revision.ts +0 -251
- package/ts/api/resources/RevisionGuide.ts +0 -16
- package/ts/api/resources/Rule.ts +0 -30
- package/ts/api/resources/SalariesFile.ts +0 -37
- package/ts/api/resources/SalesContract.ts +0 -76
- package/ts/api/resources/Search.ts +0 -19
- package/ts/api/resources/Sellsy.ts +0 -17
- package/ts/api/resources/SheetMonthSchedule.ts +0 -59
- package/ts/api/resources/Shine.ts +0 -24
- package/ts/api/resources/SignFile.ts +0 -8
- package/ts/api/resources/SlowDetection.ts +0 -13
- package/ts/api/resources/Society.ts +0 -219
- package/ts/api/resources/SocietyApproval.ts +0 -75
- package/ts/api/resources/SocietyConfig.ts +0 -16
- package/ts/api/resources/SocietyConfigBalanceSheet.ts +0 -36
- package/ts/api/resources/SocietyCreationCheckout.ts +0 -16
- package/ts/api/resources/SocietyDetail.ts +0 -12
- package/ts/api/resources/Source.ts +0 -8
- package/ts/api/resources/Sources.ts +0 -8
- package/ts/api/resources/StatutsGeneration.ts +0 -21
- package/ts/api/resources/Stocks.ts +0 -34
- package/ts/api/resources/Stripe.ts +0 -16
- package/ts/api/resources/StripeCustomer.ts +0 -8
- package/ts/api/resources/StripePurchase.ts +0 -23
- package/ts/api/resources/Subscription.ts +0 -54
- package/ts/api/resources/Survey.ts +0 -21
- package/ts/api/resources/Synchronisation.ts +0 -24
- package/ts/api/resources/Task.ts +0 -92
- package/ts/api/resources/Tax.ts +0 -31
- package/ts/api/resources/TaxDeadline.ts +0 -48
- package/ts/api/resources/Team.ts +0 -75
- package/ts/api/resources/TeamSystemSignature.ts +0 -16
- package/ts/api/resources/TerminationList.ts +0 -42
- package/ts/api/resources/TextMessage.ts +0 -66
- package/ts/api/resources/ThirdParty.ts +0 -62
- package/ts/api/resources/TimeRecorder.ts +0 -53
- package/ts/api/resources/TimeTracking.ts +0 -11
- package/ts/api/resources/ToDoBalanceSheet.ts +0 -49
- package/ts/api/resources/Transaction.ts +0 -160
- package/ts/api/resources/UpToDate.ts +0 -8
- package/ts/api/resources/User.ts +0 -253
- package/ts/api/resources/UserSocietyPermission.ts +0 -38
- package/ts/api/resources/UserTimeSlot.ts +0 -22
- package/ts/api/resources/UsersHistory.ts +0 -34
- package/ts/api/resources/Vat.ts +0 -110
- package/ts/api/resources/VatControl.ts +0 -34
- package/ts/api/resources/VatRegimeHistory.ts +0 -22
- package/ts/api/resources/Vehicle.ts +0 -40
- package/ts/api/resources/Vialink.ts +0 -12
- package/ts/api/resources/VisualizedInformation.ts +0 -20
- package/ts/api/resources/Wallet.ts +0 -45
- package/ts/api/resources/Webex.ts +0 -16
- package/ts/api/resources/WorkingSchedule.ts +0 -59
- package/ts/api/resources/YouSign.ts +0 -8
- package/ts/api/resources/ZTicket.ts +0 -18
- package/ts/api/resources/prestation.ts +0 -92
- package/ts/api/resources/shareCapital.ts +0 -41
- package/ts/api/resources/statistic/Accountant.ts +0 -121
- package/ts/api/resources/statistic/CustomerSuccess.ts +0 -13
- package/ts/api/resources/statistic/DataOfficer.ts +0 -13
- package/ts/api/resources/statistic/Direction.ts +0 -17
- package/ts/api/resources/statistic/ExpertAccountant.ts +0 -69
- package/ts/api/resources/statistic/Legal.ts +0 -16
- package/ts/api/resources/statistic/Marketing.ts +0 -16
- package/ts/api/resources/zendesk/Ticket.ts +0 -67
- package/ts/api/resources/zendesk/Zendesk.ts +0 -7
- package/ts/api/resources.ts +0 -419
- package/ts/index.ts +0 -7
- package/ts/server/index.ts +0 -2
- package/ts/types/Enum/AIPrompt.ts +0 -240
- package/ts/types/Enum/AbsenceType.ts +0 -71
- package/ts/types/Enum/Acceptance.ts +0 -4
- package/ts/types/Enum/Account.ts +0 -143
- package/ts/types/Enum/AccountType.ts +0 -170
- package/ts/types/Enum/AccountingFileType.ts +0 -8
- package/ts/types/Enum/AccountingJournal.ts +0 -38
- package/ts/types/Enum/AccountsSectors.ts +0 -254
- package/ts/types/Enum/ActionCategoryForNotation.ts +0 -11
- package/ts/types/Enum/Activity.ts +0 -85
- package/ts/types/Enum/AdditionnalSells.ts +0 -6
- package/ts/types/Enum/AdjustmentType.ts +0 -48
- package/ts/types/Enum/AdminAcceptance.ts +0 -25
- package/ts/types/Enum/AnalyticsUtm.ts +0 -61
- package/ts/types/Enum/Annotation.ts +0 -63
- package/ts/types/Enum/AnswerTypeValue.ts +0 -63
- package/ts/types/Enum/AppointmentState.ts +0 -35
- package/ts/types/Enum/Aspone.ts +0 -214
- package/ts/types/Enum/AutomaticRegistration.ts +0 -53
- package/ts/types/Enum/BalanceSheet.ts +0 -1147
- package/ts/types/Enum/BalanceSheetModule.ts +0 -88
- package/ts/types/Enum/BalanceSheetQuestion.ts +0 -552
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +0 -650
- package/ts/types/Enum/BalanceSheetStatus.ts +0 -5
- package/ts/types/Enum/Bank.ts +0 -5
- package/ts/types/Enum/BankAccountType.ts +0 -34
- package/ts/types/Enum/BankCollectingState.ts +0 -47
- package/ts/types/Enum/BrandAnytime.ts +0 -120
- package/ts/types/Enum/BrandClementine.ts +0 -507
- package/ts/types/Enum/BrandComptalib.ts +0 -240
- package/ts/types/Enum/BrandLegalstart.ts +0 -120
- package/ts/types/Enum/BrandPourcentage.ts +0 -439
- package/ts/types/Enum/BrandStatutsExpress.ts +0 -104
- package/ts/types/Enum/BrandTeamsytemFacture.ts +0 -91
- package/ts/types/Enum/Brevo.ts +0 -23
- package/ts/types/Enum/BudgetInsight.ts +0 -29
- package/ts/types/Enum/Call.ts +0 -12
- package/ts/types/Enum/Card.ts +0 -331
- package/ts/types/Enum/CashDeskTransactionType.ts +0 -6
- package/ts/types/Enum/CerfaType.ts +0 -23
- package/ts/types/Enum/ChangeLog.ts +0 -36
- package/ts/types/Enum/Channel.ts +0 -6
- package/ts/types/Enum/ChecklistType.ts +0 -80
- package/ts/types/Enum/CityOfGreffe.ts +0 -645
- package/ts/types/Enum/Civility.ts +0 -4
- package/ts/types/Enum/ClientOrProspect.ts +0 -15
- package/ts/types/Enum/ClosingType.ts +0 -17
- package/ts/types/Enum/Comment.ts +0 -27
- package/ts/types/Enum/CommercialGrade.ts +0 -20
- package/ts/types/Enum/CommercialImportHeader.ts +0 -119
- package/ts/types/Enum/CommercialManagement.ts +0 -302
- package/ts/types/Enum/CommercialOfferType.ts +0 -124
- package/ts/types/Enum/Compensation.ts +0 -14
- package/ts/types/Enum/ComptaType.ts +0 -35
- package/ts/types/Enum/ConnectionError.ts +0 -74
- package/ts/types/Enum/ConnectorTracking.ts +0 -10
- package/ts/types/Enum/ConnectorType.ts +0 -19
- package/ts/types/Enum/Consistency.ts +0 -293
- package/ts/types/Enum/Constants.ts +0 -40
- package/ts/types/Enum/ConstitutionState.ts +0 -91
- package/ts/types/Enum/Contract.ts +0 -23
- package/ts/types/Enum/Contribution.ts +0 -12
- package/ts/types/Enum/Country.ts +0 -7690
- package/ts/types/Enum/Currency.ts +0 -13
- package/ts/types/Enum/CustomerSignature.ts +0 -52
- package/ts/types/Enum/CustomerVat.ts +0 -24
- package/ts/types/Enum/Cycle.ts +0 -18
- package/ts/types/Enum/Das.ts +0 -21
- package/ts/types/Enum/DashboardBlock.ts +0 -15
- package/ts/types/Enum/Degree.ts +0 -30
- package/ts/types/Enum/DepositDocumentType.ts +0 -268
- package/ts/types/Enum/DocumentForHumanResourceType.ts +0 -23
- package/ts/types/Enum/EInvoicingDirection.ts +0 -4
- package/ts/types/Enum/EInvoicingReasonType.ts +0 -826
- package/ts/types/Enum/EInvoicingStatusCode.ts +0 -191
- package/ts/types/Enum/EbookIntention.ts +0 -22
- package/ts/types/Enum/EnglishLevel.ts +0 -17
- package/ts/types/Enum/EntityType.ts +0 -104
- package/ts/types/Enum/EquipmentAvailability.ts +0 -20
- package/ts/types/Enum/EquipmentState.ts +0 -23
- package/ts/types/Enum/EquipmentType.ts +0 -95
- package/ts/types/Enum/EstimateInvoice.ts +0 -64
- package/ts/types/Enum/Exercice.ts +0 -15
- package/ts/types/Enum/ExternalAuthenticationLinkPurpose.ts +0 -11
- package/ts/types/Enum/Feature.ts +0 -90
- package/ts/types/Enum/FecFileDelimiter.ts +0 -5
- package/ts/types/Enum/FieldSocietyStat.ts +0 -8
- package/ts/types/Enum/FileType.ts +0 -107
- package/ts/types/Enum/FiscalRegime.ts +0 -65
- package/ts/types/Enum/FolderFile.ts +0 -73
- package/ts/types/Enum/FollowList.ts +0 -150
- package/ts/types/Enum/Formalism.ts +0 -365
- package/ts/types/Enum/FuelType.ts +0 -112
- package/ts/types/Enum/Ged.ts +0 -1021
- package/ts/types/Enum/GeneralThirdParty.ts +0 -4820
- package/ts/types/Enum/Gescom.ts +0 -5
- package/ts/types/Enum/GlobalRegime.ts +0 -618
- package/ts/types/Enum/Holidays.ts +0 -65
- package/ts/types/Enum/ImmobilizationType.ts +0 -521
- package/ts/types/Enum/IncomeStatement.ts +0 -415
- package/ts/types/Enum/InformationRequestState.ts +0 -7
- package/ts/types/Enum/InformationRequestType.ts +0 -59
- package/ts/types/Enum/InpiType.ts +0 -340
- package/ts/types/Enum/IntermediateManagementRebate.ts +0 -172
- package/ts/types/Enum/InternalService.ts +0 -56
- package/ts/types/Enum/IssueType.ts +0 -107
- package/ts/types/Enum/JeDeclare.ts +0 -26
- package/ts/types/Enum/JobTitle.ts +0 -269
- package/ts/types/Enum/JuridicalSocietyEnum.ts +0 -5
- package/ts/types/Enum/KilometricAllowanceScale.ts +0 -861
- package/ts/types/Enum/Kyc.ts +0 -10
- package/ts/types/Enum/Lab.ts +0 -44
- package/ts/types/Enum/LegalForm.ts +0 -362
- package/ts/types/Enum/LegalInformation.ts +0 -8
- package/ts/types/Enum/LetterRecoveryState.ts +0 -22
- package/ts/types/Enum/LetterResponseType.ts +0 -13
- package/ts/types/Enum/LetterState.ts +0 -26
- package/ts/types/Enum/LetterType.ts +0 -58
- package/ts/types/Enum/Log.ts +0 -635
- package/ts/types/Enum/MachineLearning.ts +0 -2
- package/ts/types/Enum/MailAddressType.ts +0 -22
- package/ts/types/Enum/MailAuto.ts +0 -322
- package/ts/types/Enum/MailDomainType.ts +0 -3769
- package/ts/types/Enum/MailFlag.ts +0 -26
- package/ts/types/Enum/MaritalStatus.ts +0 -45
- package/ts/types/Enum/Marketing.ts +0 -5
- package/ts/types/Enum/MealExpenseThresholds.ts +0 -37
- package/ts/types/Enum/MimeType.ts +0 -28
- package/ts/types/Enum/MissionAcceptation.ts +0 -14
- package/ts/types/Enum/NafCode.ts +0 -21
- package/ts/types/Enum/Nature.ts +0 -22
- package/ts/types/Enum/Notification.ts +0 -307
- package/ts/types/Enum/NotificationType.ts +0 -63
- package/ts/types/Enum/Ocr.ts +0 -4
- package/ts/types/Enum/OperationLegalNotice.ts +0 -3
- package/ts/types/Enum/OrderStatus.ts +0 -5
- package/ts/types/Enum/PartnerTransactionType.ts +0 -35
- package/ts/types/Enum/PartnerType.ts +0 -11
- package/ts/types/Enum/PartneredAccountantServiceType.ts +0 -55
- package/ts/types/Enum/PartneredAccountantServiceTypeId.ts +0 -8
- package/ts/types/Enum/Partners.ts +0 -97
- package/ts/types/Enum/PaymentAttempt.ts +0 -5
- package/ts/types/Enum/PaymentExpectation.ts +0 -82
- package/ts/types/Enum/PaymentMethod.ts +0 -95
- package/ts/types/Enum/PaymentReason.ts +0 -60
- package/ts/types/Enum/PaymentRecovery.ts +0 -195
- package/ts/types/Enum/Pdf2PicLocalType.ts +0 -16
- package/ts/types/Enum/Phone.ts +0 -1442
- package/ts/types/Enum/PrestationListType.ts +0 -25
- package/ts/types/Enum/PrestationOption.ts +0 -77
- package/ts/types/Enum/PrestationState.ts +0 -82
- package/ts/types/Enum/PrestationType.ts +0 -4208
- package/ts/types/Enum/PrevisionalForm.ts +0 -11
- package/ts/types/Enum/PriceGridClementine.ts +0 -730
- package/ts/types/Enum/PriceGridLegalstart.ts +0 -176
- package/ts/types/Enum/PriceGridPourcentage.ts +0 -2376
- package/ts/types/Enum/PriceGridStatutsExpress.ts +0 -33
- package/ts/types/Enum/Proceding.ts +0 -58
- package/ts/types/Enum/ProcessingState.ts +0 -8
- package/ts/types/Enum/ProductType.ts +0 -44
- package/ts/types/Enum/ProfitsType.ts +0 -17
- package/ts/types/Enum/ProvisionType.ts +0 -126
- package/ts/types/Enum/QualificationLead.ts +0 -35
- package/ts/types/Enum/Quality.ts +0 -89
- package/ts/types/Enum/ReasonCancelSignatureRequest.ts +0 -5
- package/ts/types/Enum/ReasonNotSubscribed.ts +0 -236
- package/ts/types/Enum/ReasonTerminationType.ts +0 -179
- package/ts/types/Enum/RecurrenceType.ts +0 -25
- package/ts/types/Enum/RefundReason.ts +0 -65
- package/ts/types/Enum/RegisterCategory.ts +0 -4
- package/ts/types/Enum/Registration.ts +0 -12
- package/ts/types/Enum/RegistrationSource.ts +0 -323
- package/ts/types/Enum/RegulateType.ts +0 -9
- package/ts/types/Enum/RemoteType.ts +0 -20
- package/ts/types/Enum/ReportService.ts +0 -44
- package/ts/types/Enum/ReportState.ts +0 -30
- package/ts/types/Enum/ReportType.ts +0 -149
- package/ts/types/Enum/Revenue.ts +0 -54
- package/ts/types/Enum/RevisionGuide.ts +0 -371
- package/ts/types/Enum/Role.ts +0 -76
- package/ts/types/Enum/RoleDetail.ts +0 -542
- package/ts/types/Enum/Room.ts +0 -57
- package/ts/types/Enum/Rules.ts +0 -18
- package/ts/types/Enum/SalariesType.ts +0 -56
- package/ts/types/Enum/SaleType.ts +0 -5
- package/ts/types/Enum/SalesContractBrandClementine.ts +0 -765
- package/ts/types/Enum/SalesContractBrandLegalstart.ts +0 -177
- package/ts/types/Enum/SalesContractBrandPourcentage.ts +0 -566
- package/ts/types/Enum/SalesContractConfig.ts +0 -72
- package/ts/types/Enum/Sector.ts +0 -310
- package/ts/types/Enum/SendMethod.ts +0 -4
- package/ts/types/Enum/Sepa.ts +0 -114
- package/ts/types/Enum/SheetMonthScheduleDetailType.ts +0 -20
- package/ts/types/Enum/SocietyApproval.ts +0 -374
- package/ts/types/Enum/SocietyCreationCheckoutStatus.ts +0 -8
- package/ts/types/Enum/SocietyTypeEvent.ts +0 -4
- package/ts/types/Enum/SocietyTypeExportCsv.ts +0 -4
- package/ts/types/Enum/SpecialDayType.ts +0 -3
- package/ts/types/Enum/StateSynchro.ts +0 -4
- package/ts/types/Enum/StatisticType.ts +0 -20
- package/ts/types/Enum/StatsCaStateDetail.ts +0 -56
- package/ts/types/Enum/StatusRating.ts +0 -10
- package/ts/types/Enum/StatusSignature.ts +0 -10
- package/ts/types/Enum/StatutsSection.ts +0 -570
- package/ts/types/Enum/StockType.ts +0 -92
- package/ts/types/Enum/Stripe.ts +0 -3
- package/ts/types/Enum/SubscriptionType.ts +0 -20
- package/ts/types/Enum/Supervision.ts +0 -89
- package/ts/types/Enum/SurveyType.ts +0 -4
- package/ts/types/Enum/SurveyTypeDatas.ts +0 -43
- package/ts/types/Enum/TaskResponseType.ts +0 -618
- package/ts/types/Enum/Tax.ts +0 -39
- package/ts/types/Enum/TaxSystem.ts +0 -23
- package/ts/types/Enum/TeamType.ts +0 -53
- package/ts/types/Enum/Template.ts +0 -12
- package/ts/types/Enum/TerminationList.ts +0 -77
- package/ts/types/Enum/TextMessageType.ts +0 -35
- package/ts/types/Enum/ThirdParty.ts +0 -6
- package/ts/types/Enum/ThirdPartyType.ts +0 -8
- package/ts/types/Enum/TimeCounterType.ts +0 -402
- package/ts/types/Enum/TimeSlot.ts +0 -363
- package/ts/types/Enum/TimeTrackingSource.ts +0 -4
- package/ts/types/Enum/ToRecallRating.ts +0 -6
- package/ts/types/Enum/TransactionKind.ts +0 -2
- package/ts/types/Enum/TransactionRangeFilter.ts +0 -6
- package/ts/types/Enum/TransactionStatus.ts +0 -2
- package/ts/types/Enum/TypeBankConnection.ts +0 -7
- package/ts/types/Enum/TypeCustomerProviderOperation.ts +0 -10
- package/ts/types/Enum/TypeIncomeAllocation.ts +0 -5
- package/ts/types/Enum/TypePayment.ts +0 -21
- package/ts/types/Enum/TypeSupportForNotation.ts +0 -18
- package/ts/types/Enum/Unit.ts +0 -290
- package/ts/types/Enum/UnpaidReason.ts +0 -30
- package/ts/types/Enum/UrgencyLevel.ts +0 -5
- package/ts/types/Enum/UsersHistory.ts +0 -42
- package/ts/types/Enum/Util.ts +0 -14
- package/ts/types/Enum/Vat.ts +0 -403
- package/ts/types/Enum/VatControl.ts +0 -197
- package/ts/types/Enum/VatDeclarationType.ts +0 -310
- package/ts/types/Enum/VatRegime.ts +0 -27
- package/ts/types/Enum/Vehicle.ts +0 -233
- package/ts/types/Enum/VehicleType.ts +0 -29
- package/ts/types/Enum/VisualizedInformation.ts +0 -5
- package/ts/types/Enum/WebmailFlag.ts +0 -8
- package/ts/types/Enum/WebmailType.ts +0 -10
- package/ts/types/Enum/Zendesk.ts +0 -155
- package/ts/types/Enum/ZoneCode.ts +0 -771
- package/ts/types/Form/FormAuthenticate.ts +0 -49
- package/ts/types/Form/FormConnector.ts +0 -66
- package/ts/types/Interface/api/3cx/Create3cxLog.ts +0 -57
- package/ts/types/Interface/api/3cx/Query3cxMeeting.ts +0 -19
- package/ts/types/Interface/api/3cx/Query3cxSearch.ts +0 -49
- package/ts/types/Interface/api/3cx/Read3cxMeeting.ts +0 -30
- package/ts/types/Interface/api/3cx/Read3cxSearch.ts +0 -17
- package/ts/types/Interface/api/3cx/Update3cxMeeting.ts +0 -26
- package/ts/types/Interface/api/BasePaginate.ts +0 -47
- package/ts/types/Interface/api/BaseRequest.ts +0 -4
- package/ts/types/Interface/api/DashboardLayout.ts +0 -21
- package/ts/types/Interface/api/IntermediateManagementRebate.ts +0 -60
- package/ts/types/Interface/api/OnBoarding.ts +0 -89
- package/ts/types/Interface/api/PaymentRecovery/Caarl.ts +0 -156
- package/ts/types/Interface/api/PaymentRecovery/Create.ts +0 -148
- package/ts/types/Interface/api/PaymentRecovery/Query.ts +0 -49
- package/ts/types/Interface/api/PaymentRecovery/Read.ts +0 -53
- package/ts/types/Interface/api/SocietyApproval.ts +0 -168
- package/ts/types/Interface/api/SocietyTransaction/Query.ts +0 -8
- package/ts/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.ts +0 -16
- package/ts/types/Interface/api/SocietyTransaction/Read.ts +0 -4
- package/ts/types/Interface/api/SocietyTransaction/ReadSocietyTransactionCount.ts +0 -12
- package/ts/types/Interface/api/absenceRequest/CreateAbsenceRequest.ts +0 -57
- package/ts/types/Interface/api/absenceRequest/QueryAbsenceRequest.ts +0 -80
- package/ts/types/Interface/api/absenceRequest/QueryCalendarAbsenceRequest.ts +0 -17
- package/ts/types/Interface/api/absenceRequest/ReadAbsenceRequest.ts +0 -6
- package/ts/types/Interface/api/absenceRequest/UpdateAbsenceRequest.ts +0 -11
- package/ts/types/Interface/api/acceptance/CreateAcceptance.ts +0 -18
- package/ts/types/Interface/api/account/Create.ts +0 -78
- package/ts/types/Interface/api/account/Delete.ts +0 -16
- package/ts/types/Interface/api/account/Query.ts +0 -70
- package/ts/types/Interface/api/account/Read.ts +0 -13
- package/ts/types/Interface/api/account/Update.ts +0 -73
- package/ts/types/Interface/api/accountType/ReadAccountType.ts +0 -8
- package/ts/types/Interface/api/accountant/ReadAccountantBalance.ts +0 -5
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +0 -99
- package/ts/types/Interface/api/accountingEntry/Create.ts +0 -101
- package/ts/types/Interface/api/accountingFiles/Ocr.ts +0 -15
- package/ts/types/Interface/api/accountingFiles/OcrPayload.ts +0 -15
- package/ts/types/Interface/api/accountingFiles/OcrValue.ts +0 -13
- package/ts/types/Interface/api/accountingFiles/Read.ts +0 -6
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +0 -101
- package/ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts +0 -6
- package/ts/types/Interface/api/accountingTransaction/Create.ts +0 -9
- package/ts/types/Interface/api/accountingTransaction/DeleteInvoices.ts +0 -35
- package/ts/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.ts +0 -9
- package/ts/types/Interface/api/accountingTransaction/QueryBankAccountSum.ts +0 -45
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +0 -99
- package/ts/types/Interface/api/accountsSectors/Create.ts +0 -18
- package/ts/types/Interface/api/accountsSectors/Query.ts +0 -8
- package/ts/types/Interface/api/acd/Create.ts +0 -24
- package/ts/types/Interface/api/acd/DeduplicateAccounts.ts +0 -29
- package/ts/types/Interface/api/acd/ExportRefreshFailures.ts +0 -15
- package/ts/types/Interface/api/acd/Status.ts +0 -4
- package/ts/types/Interface/api/acd/Vat.ts +0 -61
- package/ts/types/Interface/api/adjustment/Create.ts +0 -21
- package/ts/types/Interface/api/adjustment/Query.ts +0 -8
- package/ts/types/Interface/api/adjustment/Read.ts +0 -10
- package/ts/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.ts +0 -20
- package/ts/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.ts +0 -19
- package/ts/types/Interface/api/affectedPatrimony/ReadAffectedPatrimony.ts +0 -5
- package/ts/types/Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony.ts +0 -5
- package/ts/types/Interface/api/ai/AskQuestionCollaborator.ts +0 -32
- package/ts/types/Interface/api/amount/FormattedAmount.ts +0 -9
- package/ts/types/Interface/api/appNotification/Update.ts +0 -13
- package/ts/types/Interface/api/appointment/Appointment.ts +0 -65
- package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +0 -12
- package/ts/types/Interface/api/aspone/AsponeApi.ts +0 -145
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +0 -108
- package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -18
- package/ts/types/Interface/api/authentification/ConnectFromSSO.ts +0 -15
- package/ts/types/Interface/api/authentification/ExchangeExternalAuthenticationLink.ts +0 -23
- package/ts/types/Interface/api/authentification/ForgotPassword.ts +0 -8
- package/ts/types/Interface/api/authentification/ProviderAuthDto.ts +0 -24
- package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +0 -43
- package/ts/types/Interface/api/authentification/ResetPassword.ts +0 -12
- package/ts/types/Interface/api/automaticRegistration/Query.ts +0 -19
- package/ts/types/Interface/api/automaticRegistration/Read.ts +0 -8
- package/ts/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.ts +0 -10
- package/ts/types/Interface/api/balanceSheet/Query.ts +0 -132
- package/ts/types/Interface/api/balanceSheet/Read.ts +0 -31
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +0 -16
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.ts +0 -6
- package/ts/types/Interface/api/balanceSheet/ReadFreelanceTurnover.ts +0 -6
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +0 -62
- package/ts/types/Interface/api/balanceSheet/VatControl.ts +0 -10
- package/ts/types/Interface/api/balanceSheet/consistency/Read.ts +0 -3
- package/ts/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.ts +0 -9
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +0 -137
- package/ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts +0 -6
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +0 -131
- package/ts/types/Interface/api/balanceSheetReport/Query.ts +0 -160
- package/ts/types/Interface/api/bankAccount/Benchmark.ts +0 -7
- package/ts/types/Interface/api/bankAccount/Create.ts +0 -27
- package/ts/types/Interface/api/bankAccount/Delete.ts +0 -49
- package/ts/types/Interface/api/bankAccount/Query.ts +0 -120
- package/ts/types/Interface/api/bankAccount/Read.ts +0 -22
- package/ts/types/Interface/api/bankAccount/Update.ts +0 -26
- package/ts/types/Interface/api/bankDedup/BankDedup.ts +0 -256
- package/ts/types/Interface/api/bankStatement/QueryBankStatement.ts +0 -45
- package/ts/types/Interface/api/bankStatement/QueryTransactionBankStatement.ts +0 -16
- package/ts/types/Interface/api/bankStatement/ReadBankStatement.ts +0 -15
- package/ts/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.ts +0 -14
- package/ts/types/Interface/api/brevo/BrevoElement.ts +0 -122
- package/ts/types/Interface/api/brevo/EmailSendOptions.dto.ts +0 -61
- package/ts/types/Interface/api/brevo/Read.ts +0 -26
- package/ts/types/Interface/api/brevo/sendBrevoEmail +0 -0
- package/ts/types/Interface/api/budgetInsight/Create.ts +0 -22
- package/ts/types/Interface/api/budgetInsight/Delete.ts +0 -19
- package/ts/types/Interface/api/budgetInsight/Query.ts +0 -217
- package/ts/types/Interface/api/budgetInsight/Read.ts +0 -80
- package/ts/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.ts +0 -9
- package/ts/types/Interface/api/businessPartner/CreateBusinessPartnerParams.ts +0 -132
- package/ts/types/Interface/api/businessPartner/QueryBusinessPartnerAll.ts +0 -19
- package/ts/types/Interface/api/businessPartner/ReadBusinessPartner.ts +0 -10
- package/ts/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.ts +0 -137
- package/ts/types/Interface/api/businessSector/Create.ts +0 -6
- package/ts/types/Interface/api/businessSector/Delete.ts +0 -6
- package/ts/types/Interface/api/businessSector/Query.ts +0 -6
- package/ts/types/Interface/api/calendarEvent/calendarEvent.ts +0 -11
- package/ts/types/Interface/api/calendarEvent/calendarEventIcs.ts +0 -12
- package/ts/types/Interface/api/calendarEvent/countCalendarEvent.ts +0 -20
- package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +0 -57
- package/ts/types/Interface/api/calendarEvent/createCalendarEventForUsers.ts +0 -80
- package/ts/types/Interface/api/calendarEvent/interval.ts +0 -26
- package/ts/types/Interface/api/calendarEvent/query.ts +0 -77
- package/ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts +0 -14
- package/ts/types/Interface/api/calendarEvent/readCalendarEventCall.ts +0 -8
- package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +0 -57
- package/ts/types/Interface/api/calendarEvent/verifyCalendarEvent.ts +0 -6
- package/ts/types/Interface/api/card/Cron.ts +0 -33
- package/ts/types/Interface/api/card/QueryUserCards.ts +0 -64
- package/ts/types/Interface/api/card/QueryUserCardsStats.ts +0 -22
- package/ts/types/Interface/api/card/UpdateCard.ts +0 -40
- package/ts/types/Interface/api/cashAndExpense/Create.ts +0 -70
- package/ts/types/Interface/api/cashAndExpense/Query.ts +0 -31
- package/ts/types/Interface/api/cerfa/2031.ts +0 -390
- package/ts/types/Interface/api/cerfa/2033.ts +0 -681
- package/ts/types/Interface/api/cerfa/2035.ts +0 -724
- package/ts/types/Interface/api/cerfa/2050.ts +0 -2078
- package/ts/types/Interface/api/cerfa/2065.ts +0 -266
- package/ts/types/Interface/api/cerfa/2069RCI.ts +0 -194
- package/ts/types/Interface/api/cerfa/2571.ts +0 -106
- package/ts/types/Interface/api/cerfa/2572.ts +0 -267
- package/ts/types/Interface/api/cerfa/2573.ts +0 -94
- package/ts/types/Interface/api/cerfa/3310.ts +0 -315
- package/ts/types/Interface/api/cerfa/3514.ts +0 -66
- package/ts/types/Interface/api/cerfa/3517.ts +0 -663
- package/ts/types/Interface/api/cerfa/3519.ts +0 -53
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +0 -97
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +0 -163
- package/ts/types/Interface/api/cerfa/Utils.ts +0 -95
- package/ts/types/Interface/api/cerfa/das2.ts +0 -136
- package/ts/types/Interface/api/changelog/Create.ts +0 -9
- package/ts/types/Interface/api/checklist/Query.ts +0 -210
- package/ts/types/Interface/api/checklist/Read.ts +0 -40
- package/ts/types/Interface/api/checklist/Update.ts +0 -57
- package/ts/types/Interface/api/closing/ProcessedClosing.ts +0 -6
- package/ts/types/Interface/api/collaboraterDetail/CreateCollaboraterDetail.ts +0 -113
- package/ts/types/Interface/api/commercial/Query.ts +0 -91
- package/ts/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.ts +0 -20
- package/ts/types/Interface/api/commercial/QueryGetStats.ts +0 -73
- package/ts/types/Interface/api/commercial/QueryGetStatsHistory.ts +0 -24
- package/ts/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.ts +0 -8
- package/ts/types/Interface/api/commercial/QueryPaginatedFollowProspect.ts +0 -90
- package/ts/types/Interface/api/commercial/QueryPaginatedNewProspect.ts +0 -32
- package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +0 -84
- package/ts/types/Interface/api/commercial/ReadStatsProspect.ts +0 -21
- package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +0 -17
- package/ts/types/Interface/api/commercialImport/Create.ts +0 -22
- package/ts/types/Interface/api/commercialImport/Query.ts +0 -35
- package/ts/types/Interface/api/commercialImport/Read.ts +0 -41
- package/ts/types/Interface/api/commercialManagement/Create.ts +0 -835
- package/ts/types/Interface/api/commercialManagement/CreateProductInvoice.ts +0 -60
- package/ts/types/Interface/api/commercialManagement/Query.ts +0 -221
- package/ts/types/Interface/api/commercialManagement/Read.ts +0 -259
- package/ts/types/Interface/api/commercialManagement/Update.ts +0 -122
- package/ts/types/Interface/api/commercialOffer/Query.ts +0 -46
- package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +0 -113
- package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +0 -687
- package/ts/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.ts +0 -10
- package/ts/types/Interface/api/companyMarketingInformation/CompanyMarketingInformationPayload.ts +0 -32
- package/ts/types/Interface/api/companyMarketingInformation/CreateCompanyMarketingInformation.ts +0 -121
- package/ts/types/Interface/api/companyMarketingInformation/UpdateCompanyMarketingInformation.ts +0 -10
- package/ts/types/Interface/api/config/ConfigType.ts +0 -260
- package/ts/types/Interface/api/connection/Query.ts +0 -12
- package/ts/types/Interface/api/connection/QueryConnectionState.ts +0 -6
- package/ts/types/Interface/api/connection/ReadConnectionState.ts +0 -23
- package/ts/types/Interface/api/connector/CreateConnector.ts +0 -51
- package/ts/types/Interface/api/connector/OAuthTokenRequest.ts +0 -12
- package/ts/types/Interface/api/connector/QueryConnector.ts +0 -25
- package/ts/types/Interface/api/connector/Sirene.ts +0 -117
- package/ts/types/Interface/api/constitutionHistory/QueryPaginatedConstitutionHistory.ts +0 -19
- package/ts/types/Interface/api/crisp/GetCrisp.ts +0 -109
- package/ts/types/Interface/api/customerActivity/Create.ts +0 -8
- package/ts/types/Interface/api/customerActivity/CreateCustomerActivityReport.ts +0 -23
- package/ts/types/Interface/api/customerActivity/Query.ts +0 -9
- package/ts/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.ts +0 -28
- package/ts/types/Interface/api/customerSignature/Query.ts +0 -94
- package/ts/types/Interface/api/dashboard/QueryBalanceBankAccount.ts +0 -12
- package/ts/types/Interface/api/dashboard/QueryDeadline.ts +0 -12
- package/ts/types/Interface/api/dashboard/QueryTopBuys.ts +0 -9
- package/ts/types/Interface/api/dashboard/QueryTopProducts.ts +0 -12
- package/ts/types/Interface/api/dashboard/QueryTopProviders.ts +0 -27
- package/ts/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.ts +0 -9
- package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +0 -12
- package/ts/types/Interface/api/dashboard/ReadBalanceBankAccount.ts +0 -20
- package/ts/types/Interface/api/dashboard/ReadDeadline.ts +0 -17
- package/ts/types/Interface/api/dashboard/ReadTopBuys.ts +0 -17
- package/ts/types/Interface/api/dashboard/ReadTopProducts.ts +0 -8
- package/ts/types/Interface/api/dashboard/ReadTopProviders.ts +0 -28
- package/ts/types/Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats.ts +0 -35
- package/ts/types/Interface/api/dashboard/ReadVatDisbursed.ts +0 -14
- package/ts/types/Interface/api/docoon/Create.ts +0 -169
- package/ts/types/Interface/api/docoon/DocoonInvoice.ts +0 -214
- package/ts/types/Interface/api/docoon/DocoonLegalEntity.ts +0 -79
- package/ts/types/Interface/api/docoon/Query.ts +0 -19
- package/ts/types/Interface/api/docoon/Read.ts +0 -375
- package/ts/types/Interface/api/documentRequest/Create.ts +0 -47
- package/ts/types/Interface/api/documentRequest/Query.ts +0 -79
- package/ts/types/Interface/api/documentRequest/Update.ts +0 -52
- package/ts/types/Interface/api/documentSection/Update.ts +0 -29
- package/ts/types/Interface/api/dubiousCustomer/Create.ts +0 -43
- package/ts/types/Interface/api/dubiousCustomer/Update.ts +0 -40
- package/ts/types/Interface/api/echo/CreateOrder.ts +0 -12
- package/ts/types/Interface/api/echo/Estimate.ts +0 -33
- package/ts/types/Interface/api/echo/EstimatePayload.ts +0 -5
- package/ts/types/Interface/api/echo/Mission.ts +0 -8
- package/ts/types/Interface/api/echo/NewsPaper.ts +0 -18
- package/ts/types/Interface/api/echo/Order.ts +0 -29
- package/ts/types/Interface/api/einvoicing/SyncFlowStatusResult.ts +0 -8
- package/ts/types/Interface/api/employee/QueryCreateEmployee.ts +0 -7
- package/ts/types/Interface/api/employee/QueryEmployeeSearch.ts +0 -23
- package/ts/types/Interface/api/employee/QueryUpdateEmployee.ts +0 -7
- package/ts/types/Interface/api/equipment/Query.ts +0 -85
- package/ts/types/Interface/api/equipment/StockAmount.ts +0 -9
- package/ts/types/Interface/api/exercice/Create.ts +0 -154
- package/ts/types/Interface/api/exercice/QueryExercice.ts +0 -52
- package/ts/types/Interface/api/exercice/ReadExercice.ts +0 -14
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +0 -104
- package/ts/types/Interface/api/exercicePrestation/Query.ts +0 -36
- package/ts/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.ts +0 -30
- package/ts/types/Interface/api/exerciceQuestion/QueryQuestion.ts +0 -12
- package/ts/types/Interface/api/expertAnnuary/Query.ts +0 -9
- package/ts/types/Interface/api/facturation/CreateRebilling.ts +0 -40
- package/ts/types/Interface/api/facturation/GoToFacturation.ts +0 -8
- package/ts/types/Interface/api/facturation/Query.ts +0 -31
- package/ts/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.ts +0 -20
- package/ts/types/Interface/api/facturation/ReadRecommanded.ts +0 -5
- package/ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts +0 -5
- package/ts/types/Interface/api/fecFile/CreateFecFile.ts +0 -29
- package/ts/types/Interface/api/fecFile/DeleteFecFile.ts +0 -5
- package/ts/types/Interface/api/fecFile/QueryFecFile.ts +0 -6
- package/ts/types/Interface/api/fecFile/ReadFecFile.ts +0 -25
- package/ts/types/Interface/api/file/Create.ts +0 -38
- package/ts/types/Interface/api/file/Query.ts +0 -42
- package/ts/types/Interface/api/file/Read.ts +0 -6
- package/ts/types/Interface/api/file/TFile.ts +0 -17
- package/ts/types/Interface/api/financialCharge/CreateNonDeductibleInterests.ts +0 -14
- package/ts/types/Interface/api/financialCharge/CreatedNonDeductibleInterests.ts +0 -7
- package/ts/types/Interface/api/financialCharge/ReadFinancialChargesBalance.ts +0 -3
- package/ts/types/Interface/api/firstStep/Create.ts +0 -44
- package/ts/types/Interface/api/formalism/Create.ts +0 -30
- package/ts/types/Interface/api/fusion/FusionSocieties.ts +0 -12
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +0 -93
- package/ts/types/Interface/api/gedFile/updateGedFile.ts +0 -59
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccount.ts +0 -12
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +0 -18
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +0 -70
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +0 -40
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +0 -78
- package/ts/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.ts +0 -60
- package/ts/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.ts +0 -12
- package/ts/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.ts +0 -14
- package/ts/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.ts +0 -51
- package/ts/types/Interface/api/iDocus/CreateExport.ts +0 -10
- package/ts/types/Interface/api/iDocus/iDocus.ts +0 -45
- package/ts/types/Interface/api/immobilization/CreateImmobilization.ts +0 -61
- package/ts/types/Interface/api/immobilization/ReadFormattedImmobilization.ts +0 -46
- package/ts/types/Interface/api/incomeAllocation/CreateIncomeAllocation.ts +0 -49
- package/ts/types/Interface/api/incomeAllocation/ReadIncomeAllocation.ts +0 -19
- package/ts/types/Interface/api/incomeAllocation/TypeAndAmount.ts +0 -6
- package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +0 -25
- package/ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts +0 -8
- package/ts/types/Interface/api/informationRequest/Create.ts +0 -33
- package/ts/types/Interface/api/informationRequest/Query.ts +0 -36
- package/ts/types/Interface/api/informationRequest/Update.ts +0 -49
- package/ts/types/Interface/api/inpi/inpi.ts +0 -697
- package/ts/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.ts +0 -28
- package/ts/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.ts +0 -10
- package/ts/types/Interface/api/inpiBalance/inpiBalanceStatistic.ts +0 -5
- package/ts/types/Interface/api/inpiPayment/Query.ts +0 -103
- package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.ts +0 -58
- package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.ts +0 -10
- package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts +0 -21
- package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.ts +0 -16
- package/ts/types/Interface/api/internalInvoicing/GenerateCutOff.ts +0 -20
- package/ts/types/Interface/api/internalInvoicing/GetLastRef.ts +0 -6
- package/ts/types/Interface/api/internalInvoicing/Read.ts +0 -9
- package/ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts +0 -22
- package/ts/types/Interface/api/jeDeclare/CreateDocumentsParams.ts +0 -16
- package/ts/types/Interface/api/jeDeclare/ReadJeDeclare.ts +0 -8
- package/ts/types/Interface/api/jeDeclare/Util.ts +0 -72
- package/ts/types/Interface/api/jeDeclare/UtilCFONB.ts +0 -379
- package/ts/types/Interface/api/journal/Journals.ts +0 -47
- package/ts/types/Interface/api/journal/QueryJournal.ts +0 -15
- package/ts/types/Interface/api/juridicalMission/Query.ts +0 -50
- package/ts/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.ts +0 -23
- package/ts/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.ts +0 -23
- package/ts/types/Interface/api/kyc/Create.ts +0 -161
- package/ts/types/Interface/api/kyc/Query.ts +0 -82
- package/ts/types/Interface/api/kyc/Read.ts +0 -858
- package/ts/types/Interface/api/kyc/kyc.ts +0 -190
- package/ts/types/Interface/api/legalNotice/QueryLegalNotice.ts +0 -38
- package/ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts +0 -13
- package/ts/types/Interface/api/letter/CreateLetter.ts +0 -86
- package/ts/types/Interface/api/letter/Query.ts +0 -82
- package/ts/types/Interface/api/letter/Read.ts +0 -12
- package/ts/types/Interface/api/lettering/QueryRegroupLettering.ts +0 -8
- package/ts/types/Interface/api/library/MergeContentPayload.ts +0 -55
- package/ts/types/Interface/api/library/QueryLibrary.ts +0 -231
- package/ts/types/Interface/api/library/ReadLibraryFile.ts +0 -12
- package/ts/types/Interface/api/loan/CreateLoan.ts +0 -83
- package/ts/types/Interface/api/loan/ReadLoan.ts +0 -9
- package/ts/types/Interface/api/loan/UpdateLoan.ts +0 -19
- package/ts/types/Interface/api/log/CreateLog.ts +0 -16
- package/ts/types/Interface/api/log/QueryLogPagination.ts +0 -63
- package/ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts +0 -55
- package/ts/types/Interface/api/machineLearning/ResultCreateMachineLearningAnnotation.ts +0 -9
- package/ts/types/Interface/api/mail/CreateMailParams.ts +0 -28
- package/ts/types/Interface/api/mail/EmailStatus.ts +0 -16
- package/ts/types/Interface/api/mail/GetMailPromise.ts +0 -5
- package/ts/types/Interface/api/mail/QueryAllMail.ts +0 -11
- package/ts/types/Interface/api/mail/QueryCountMail.ts +0 -49
- package/ts/types/Interface/api/mail/QueryCountProcessedByUser.ts +0 -13
- package/ts/types/Interface/api/mail/QueryGetAnsweringTimeByUser.ts +0 -13
- package/ts/types/Interface/api/mail/QueryGetSignature.ts +0 -24
- package/ts/types/Interface/api/mail/QueryMail.ts +0 -56
- package/ts/types/Interface/api/mail/QueryMailBySociety.ts +0 -15
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +0 -121
- package/ts/types/Interface/api/mail/ReadMailBySociety.ts +0 -8
- package/ts/types/Interface/api/mail/UpdateMail.ts +0 -173
- package/ts/types/Interface/api/mail/UpdateMailParams.ts +0 -8
- package/ts/types/Interface/api/mailInvoice/CreateInvoiceMail.ts +0 -6
- package/ts/types/Interface/api/mailInvoice/UpdateInvoiceMail.ts +0 -6
- package/ts/types/Interface/api/mailSociety/QueryMailSociety.ts +0 -14
- package/ts/types/Interface/api/marketing/NewLeadSheet.ts +0 -10
- package/ts/types/Interface/api/mealExpense/CreateMealExpense.ts +0 -14
- package/ts/types/Interface/api/mealExpense/ReadMealExpense.ts +0 -8
- package/ts/types/Interface/api/mfa/DisableMfa.ts +0 -7
- package/ts/types/Interface/api/mfa/SetupInit.ts +0 -11
- package/ts/types/Interface/api/mfa/SetupVerify.ts +0 -11
- package/ts/types/Interface/api/mfa/VerifyCode.ts +0 -16
- package/ts/types/Interface/api/mfa/VerifyRecoveryCode.ts +0 -16
- package/ts/types/Interface/api/mfa/mfa.ts +0 -21
- package/ts/types/Interface/api/mobile/QueryMobileMigration.ts +0 -14
- package/ts/types/Interface/api/mobile/UpdateMobile.ts +0 -34
- package/ts/types/Interface/api/notification/CreateInternalNotification.ts +0 -64
- package/ts/types/Interface/api/notification/CreateNotification.ts +0 -15
- package/ts/types/Interface/api/notification/Delete.ts +0 -6
- package/ts/types/Interface/api/notification/Update.ts +0 -19
- package/ts/types/Interface/api/notificationSetting/CreateNotificationSetting.ts +0 -18
- package/ts/types/Interface/api/notificationSetting/UpdateNotificationSetting.ts +0 -18
- package/ts/types/Interface/api/notion/NotionResponse.ts +0 -1295
- package/ts/types/Interface/api/notion/Read.ts +0 -7
- package/ts/types/Interface/api/ocr/CreateOcr.ts +0 -33
- package/ts/types/Interface/api/ocr/OcrTransactions.ts +0 -32
- package/ts/types/Interface/api/ocr/OcrTypeTransactions.ts +0 -37
- package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +0 -74
- package/ts/types/Interface/api/pappers/QueryPappers.ts +0 -339
- package/ts/types/Interface/api/pappers/ReadPappers.ts +0 -67
- package/ts/types/Interface/api/partner/CreatePartner.ts +0 -30
- package/ts/types/Interface/api/partner/Query.ts +0 -63
- package/ts/types/Interface/api/partner/Read.ts +0 -31
- package/ts/types/Interface/api/partner/UpdatePartner.ts +0 -31
- package/ts/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.ts +0 -4
- package/ts/types/Interface/api/partners/CreatePartner.ts +0 -16
- package/ts/types/Interface/api/partners/PartnerStatisticType.ts +0 -19
- package/ts/types/Interface/api/partners/QueryPartnerAll.ts +0 -24
- package/ts/types/Interface/api/partners/QueryPartnerCsv.ts +0 -24
- package/ts/types/Interface/api/partners/QueryPartnerStatistic.ts +0 -24
- package/ts/types/Interface/api/payment/CreateNotifyCustomer.ts +0 -14
- package/ts/types/Interface/api/payment/CreateNotifyCustomerInvoice.ts +0 -35
- package/ts/types/Interface/api/payment/Params.ts +0 -175
- package/ts/types/Interface/api/payment/Query.ts +0 -72
- package/ts/types/Interface/api/payment/QueryMonthlyPayment.ts +0 -13
- package/ts/types/Interface/api/payment/QueryPayment.ts +0 -31
- package/ts/types/Interface/api/payment/ReadPayment.ts +0 -47
- package/ts/types/Interface/api/payment/Util.ts +0 -30
- package/ts/types/Interface/api/paymentExpectation/CreatePaymentExpecation.ts +0 -44
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +0 -41
- package/ts/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.ts +0 -45
- package/ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts +0 -73
- package/ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts +0 -22
- package/ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts +0 -34
- package/ts/types/Interface/api/pdf/ReadPdfizer.ts +0 -21
- package/ts/types/Interface/api/pdf/ReadPdftkizer.ts +0 -1
- package/ts/types/Interface/api/prestashop/GetPrestashopDataFromJSONOutputParams.ts +0 -9
- package/ts/types/Interface/api/prestashop/InvoicesPrestashop.ts +0 -12
- package/ts/types/Interface/api/prestashop/PSAddress.ts +0 -26
- package/ts/types/Interface/api/prestashop/PSCountry.ts +0 -15
- package/ts/types/Interface/api/prestashop/PSObject.ts +0 -3
- package/ts/types/Interface/api/prestashop/PSOrder.ts +0 -54
- package/ts/types/Interface/api/prestashop/PSOrderRow.ts +0 -16
- package/ts/types/Interface/api/prestation/BodyCreatePrestationSocieties.ts +0 -25
- package/ts/types/Interface/api/prestation/CreatePrestation.ts +0 -29
- package/ts/types/Interface/api/prestation/Query.ts +0 -118
- package/ts/types/Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation.ts +0 -44
- package/ts/types/Interface/api/prestation/QueryPrestation.ts +0 -9
- package/ts/types/Interface/api/prestations/QueryCreate.ts +0 -89
- package/ts/types/Interface/api/prestations/QueryGetAllPrestations.ts +0 -40
- package/ts/types/Interface/api/prestations/QueryUpdate.ts +0 -109
- package/ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts +0 -289
- package/ts/types/Interface/api/previsionalForm/PrevisionalFormPayload.ts +0 -108
- package/ts/types/Interface/api/product/CreateProduct.ts +0 -31
- package/ts/types/Interface/api/product/ProductLineInputs.ts +0 -37
- package/ts/types/Interface/api/product/QueryProduct.ts +0 -29
- package/ts/types/Interface/api/product/UpdateProduct.ts +0 -3
- package/ts/types/Interface/api/provision/CreateProvisionForm.ts +0 -30
- package/ts/types/Interface/api/provision/QueryGetProvisions.ts +0 -15
- package/ts/types/Interface/api/provision/QueryProvisions.ts +0 -32
- package/ts/types/Interface/api/provision/ReadProvision.ts +0 -11
- package/ts/types/Interface/api/provision/UpdateProvisionForm.ts +0 -23
- package/ts/types/Interface/api/qonto/Create.ts +0 -34
- package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +0 -8
- package/ts/types/Interface/api/qonto/Query.ts +0 -132
- package/ts/types/Interface/api/qonto/Read.ts +0 -11
- package/ts/types/Interface/api/qonto/UpdateConnection.ts +0 -8
- package/ts/types/Interface/api/quotation/ReadClientQuotation.ts +0 -19
- package/ts/types/Interface/api/quotes/CreateQuoteAccount.ts +0 -12
- package/ts/types/Interface/api/quotes/QueryQuotesAccount.ts +0 -15
- package/ts/types/Interface/api/rating/CreateRating.ts +0 -48
- package/ts/types/Interface/api/rating/QueryRatingPaginated.ts +0 -75
- package/ts/types/Interface/api/rating/UpdateRating.ts +0 -22
- package/ts/types/Interface/api/ratingHistory/CreateRatingHistory.ts +0 -25
- package/ts/types/Interface/api/recurrence/Query.ts +0 -12
- package/ts/types/Interface/api/recurrence/Read.ts +0 -7
- package/ts/types/Interface/api/refund/QueryRefundPaginated.ts +0 -37
- package/ts/types/Interface/api/registration/CreateRegistration.ts +0 -246
- package/ts/types/Interface/api/registration/DeclareRegistration.ts +0 -88
- package/ts/types/Interface/api/registration/QueryRegistration.ts +0 -58
- package/ts/types/Interface/api/registration/ReadRegistration.ts +0 -68
- package/ts/types/Interface/api/registration/UpdateRegistration.ts +0 -40
- package/ts/types/Interface/api/regulate/DestroyRegulate.ts +0 -13
- package/ts/types/Interface/api/regulate/QueryGetAll.ts +0 -19
- package/ts/types/Interface/api/regulate/RegulateWithStats.ts +0 -12
- package/ts/types/Interface/api/regulation/Create.ts +0 -51
- package/ts/types/Interface/api/regulation/Query.ts +0 -141
- package/ts/types/Interface/api/regulation/Read.ts +0 -16
- package/ts/types/Interface/api/report/CreateReport.ts +0 -83
- package/ts/types/Interface/api/report/DeleteReport.ts +0 -7
- package/ts/types/Interface/api/report/ExternalReport.ts +0 -38
- package/ts/types/Interface/api/report/QueryReports.ts +0 -38
- package/ts/types/Interface/api/report/QueryReportsForLetter.ts +0 -12
- package/ts/types/Interface/api/report/QueryReportsStats.ts +0 -9
- package/ts/types/Interface/api/report/ReadReport.ts +0 -19
- package/ts/types/Interface/api/report/ReadReportStats.ts +0 -7
- package/ts/types/Interface/api/report/UpdateReport.ts +0 -14
- package/ts/types/Interface/api/reportMessage/Query.ts +0 -8
- package/ts/types/Interface/api/revenue/revenueMovement.ts +0 -408
- package/ts/types/Interface/api/revenue/revenueSnapshot.ts +0 -61
- package/ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts +0 -42
- package/ts/types/Interface/api/revision/Create.ts +0 -210
- package/ts/types/Interface/api/revision/Query.ts +0 -563
- package/ts/types/Interface/api/revision/Read.ts +0 -145
- package/ts/types/Interface/api/revision/Revision.ts +0 -7
- package/ts/types/Interface/api/revision/RevisionObject.ts +0 -10
- package/ts/types/Interface/api/revisionGuide/CreateRevisionGuide.ts +0 -20
- package/ts/types/Interface/api/revive/PostRevive.ts +0 -6
- package/ts/types/Interface/api/rule/Create.ts +0 -35
- package/ts/types/Interface/api/rule/Query.ts +0 -17
- package/ts/types/Interface/api/rule/Read.ts +0 -5
- package/ts/types/Interface/api/rule/Update.ts +0 -10
- package/ts/types/Interface/api/salariesFile/CreateSalariesFile.ts +0 -7
- package/ts/types/Interface/api/salariesFile/ReadSalariesFile.ts +0 -14
- package/ts/types/Interface/api/salesContract/GenerateSalesContractParams.ts +0 -8
- package/ts/types/Interface/api/salesContract/Read.ts +0 -11
- package/ts/types/Interface/api/salesContract/SendSalesContractParams.ts +0 -36
- package/ts/types/Interface/api/sellsy/CreateInvoicesSellsy.ts +0 -14
- package/ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts +0 -10
- package/ts/types/Interface/api/sellsy/SellsyOauthCallback.ts +0 -24
- package/ts/types/Interface/api/shareCapital/CreateInKindContribution.ts +0 -19
- package/ts/types/Interface/api/shareCapital/CreateShareCapital.ts +0 -16
- package/ts/types/Interface/api/shareCapital/ReadShareCapital.ts +0 -6
- package/ts/types/Interface/api/shareCapital/ReadShareCapitalProvided.ts +0 -3
- package/ts/types/Interface/api/shareCapital/ResultCreateShareCapital.ts +0 -6
- package/ts/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.ts +0 -39
- package/ts/types/Interface/api/shine/ConnectResponse.ts +0 -7
- package/ts/types/Interface/api/shine/CreateShine.ts +0 -130
- package/ts/types/Interface/api/shine/CreateShineAccount.ts +0 -11
- package/ts/types/Interface/api/shine/CreateShineTransactions.ts +0 -17
- package/ts/types/Interface/api/shine/Query.ts +0 -11
- package/ts/types/Interface/api/shopify/InvoicesShopify.ts +0 -27
- package/ts/types/Interface/api/shopify/ShopifyFinancialStatus.ts +0 -12
- package/ts/types/Interface/api/shopify/ShopifyOrder.ts +0 -436
- package/ts/types/Interface/api/shopify/address.ts +0 -88
- package/ts/types/Interface/api/shopify/base.ts +0 -10
- package/ts/types/Interface/api/shopify/client_details.ts +0 -33
- package/ts/types/Interface/api/shopify/customer.ts +0 -124
- package/ts/types/Interface/api/shopify/discount_allocation.ts +0 -19
- package/ts/types/Interface/api/shopify/discount_application.ts +0 -81
- package/ts/types/Interface/api/shopify/discount_code.ts +0 -19
- package/ts/types/Interface/api/shopify/fulfillment.ts +0 -110
- package/ts/types/Interface/api/shopify/line_item.ts +0 -153
- package/ts/types/Interface/api/shopify/line_item_property.ts +0 -13
- package/ts/types/Interface/api/shopify/location.ts +0 -69
- package/ts/types/Interface/api/shopify/note_attribute.ts +0 -11
- package/ts/types/Interface/api/shopify/payment_details.ts +0 -13
- package/ts/types/Interface/api/shopify/price_set.ts +0 -10
- package/ts/types/Interface/api/shopify/refund.ts +0 -142
- package/ts/types/Interface/api/shopify/shipping_line.ts +0 -72
- package/ts/types/Interface/api/shopify/tax_line.ts +0 -25
- package/ts/types/Interface/api/shopify/transaction.ts +0 -122
- package/ts/types/Interface/api/signFile/CreateFileToSign.ts +0 -46
- package/ts/types/Interface/api/society/CleanupResult.ts +0 -4
- package/ts/types/Interface/api/society/CreateTestSociety.ts +0 -109
- package/ts/types/Interface/api/society/CreateUserToSocietyWithPermission.ts +0 -44
- package/ts/types/Interface/api/society/DataCustomersCsv.ts +0 -15
- package/ts/types/Interface/api/society/Export.ts +0 -119
- package/ts/types/Interface/api/society/GetDataSociety.ts +0 -4
- package/ts/types/Interface/api/society/GetSocietyDetail.ts +0 -9
- package/ts/types/Interface/api/society/ImportInvoice.ts +0 -14
- package/ts/types/Interface/api/society/LegalFormSiren.ts +0 -15
- package/ts/types/Interface/api/society/ListUserSociety.ts +0 -21
- package/ts/types/Interface/api/society/QueryAdvancedSearchSociety.ts +0 -40
- package/ts/types/Interface/api/society/QueryArchived.ts +0 -29
- package/ts/types/Interface/api/society/QueryPaginatedSociety.ts +0 -42
- package/ts/types/Interface/api/society/QuerySociety.ts +0 -65
- package/ts/types/Interface/api/society/QueryToArchived.ts +0 -10
- package/ts/types/Interface/api/society/QueryUnpaid.ts +0 -78
- package/ts/types/Interface/api/society/ReadSociety.ts +0 -28
- package/ts/types/Interface/api/society/ReadSocietyUnpaidStats.ts +0 -8
- package/ts/types/Interface/api/society/ReadSocietyUsers.ts +0 -12
- package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +0 -15
- package/ts/types/Interface/api/society/State.ts +0 -23
- package/ts/types/Interface/api/society/UpdateSociety.ts +0 -91
- package/ts/types/Interface/api/society/UpdateUserToSocietyWithPermission.ts +0 -59
- package/ts/types/Interface/api/societyConfig/update.ts +0 -35
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.ts +0 -32
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.ts +0 -40
- package/ts/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.ts +0 -91
- package/ts/types/Interface/api/societyFollow/Query.ts +0 -39
- package/ts/types/Interface/api/stateBankAccount/Query.ts +0 -9
- package/ts/types/Interface/api/statistic/ExitRequest.ts +0 -124
- package/ts/types/Interface/api/statistic/QueryAccountant.ts +0 -18
- package/ts/types/Interface/api/statistic/QueryCustomerSuccess.ts +0 -14
- package/ts/types/Interface/api/statistic/QueryDataOfficer.ts +0 -14
- package/ts/types/Interface/api/statistic/QueryDirection.ts +0 -18
- package/ts/types/Interface/api/statistic/QueryExpertAccountant.ts +0 -18
- package/ts/types/Interface/api/statistic/QueryGetAccountant.ts +0 -12
- package/ts/types/Interface/api/statistic/QueryGetDirection.ts +0 -12
- package/ts/types/Interface/api/statistic/QueryGetExpertAccountant.ts +0 -12
- package/ts/types/Interface/api/statistic/QueryInternal.ts +0 -42
- package/ts/types/Interface/api/statistic/QueryLegal.ts +0 -16
- package/ts/types/Interface/api/statistic/QueryMarketing.ts +0 -16
- package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +0 -115
- package/ts/types/Interface/api/statutsGeneration/CreatePrestationPayload.ts +0 -6
- package/ts/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.ts +0 -21
- package/ts/types/Interface/api/statutsGeneration/QueryGetUser.ts +0 -15
- package/ts/types/Interface/api/statutsGeneration/SendInviteMailParams.ts +0 -8
- package/ts/types/Interface/api/statutsGeneration/TemplateParams.ts +0 -35
- package/ts/types/Interface/api/statutsGeneration/UpdateExercice.ts +0 -14
- package/ts/types/Interface/api/statutsGeneration/UpdateExerciceParams.ts +0 -14
- package/ts/types/Interface/api/statutsGeneration/UpsertBusinessPartnerResult.ts +0 -7
- package/ts/types/Interface/api/stock/StockEntries.ts +0 -89
- package/ts/types/Interface/api/stock/Stocks.ts +0 -15
- package/ts/types/Interface/api/stock/StocksDepreciationInterface.ts +0 -8
- package/ts/types/Interface/api/stock/StocksType.ts +0 -6
- package/ts/types/Interface/api/stripe/Create.ts +0 -259
- package/ts/types/Interface/api/stripe/QueryStripe.ts +0 -69
- package/ts/types/Interface/api/stripe/Update.ts +0 -11
- package/ts/types/Interface/api/supervision/Query.ts +0 -131
- package/ts/types/Interface/api/supervision/Read.ts +0 -12
- package/ts/types/Interface/api/survey/CreateSurvey.ts +0 -8
- package/ts/types/Interface/api/survey/QuerySurvey.ts +0 -10
- package/ts/types/Interface/api/survey/QuerySurveys.ts +0 -12
- package/ts/types/Interface/api/survey/ReadSurvey.ts +0 -3
- package/ts/types/Interface/api/survey/UpdateSurvey.ts +0 -15
- package/ts/types/Interface/api/synchronisation/Query.ts +0 -66
- package/ts/types/Interface/api/synchronisation/Read.ts +0 -8
- package/ts/types/Interface/api/task/QueryCountTask.ts +0 -19
- package/ts/types/Interface/api/task/QueryCreateTask.ts +0 -26
- package/ts/types/Interface/api/task/QueryGetAllTask.ts +0 -40
- package/ts/types/Interface/api/task/QueryGetTask.ts +0 -22
- package/ts/types/Interface/api/task/QueryPaginatedTask.ts +0 -127
- package/ts/types/Interface/api/task/QueryStatsByManager.ts +0 -5
- package/ts/types/Interface/api/task/QueryStatsByRolesInCsv.ts +0 -38
- package/ts/types/Interface/api/task/QueryStatsByServiceInCsv.ts +0 -14
- package/ts/types/Interface/api/task/QueryStatsByTaskTypeInCsv.ts +0 -14
- package/ts/types/Interface/api/tax/CreateTax.ts +0 -43
- package/ts/types/Interface/api/tax/QueryTax.ts +0 -16
- package/ts/types/Interface/api/tax/ReadCompanyTax.ts +0 -14
- package/ts/types/Interface/api/tax/ReadTax.ts +0 -68
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +0 -205
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +0 -106
- package/ts/types/Interface/api/team/QueryCreate.ts +0 -18
- package/ts/types/Interface/api/team/QueryGetAllWithIncludes.ts +0 -16
- package/ts/types/Interface/api/team/QueryUpdate.ts +0 -30
- package/ts/types/Interface/api/team/UpdateTeamsForUser.ts +0 -22
- package/ts/types/Interface/api/teamSystemSignature/ReadTeamSystemSignature.ts +0 -18
- package/ts/types/Interface/api/teamSystemSignature/SendTeamSystemSignature.ts +0 -23
- package/ts/types/Interface/api/teamSystemSignature/index.ts +0 -2
- package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +0 -203
- package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +0 -68
- package/ts/types/Interface/api/terminationList/QueryPaginateTerminationList.ts +0 -98
- package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +0 -71
- package/ts/types/Interface/api/terminationList/Read.ts +0 -5
- package/ts/types/Interface/api/terminationList/TerminationList.ts +0 -24
- package/ts/types/Interface/api/textMessage/Create.ts +0 -41
- package/ts/types/Interface/api/textMessage/Query.ts +0 -48
- package/ts/types/Interface/api/textMessage/Read.ts +0 -5
- package/ts/types/Interface/api/textMessage/Update.ts +0 -46
- package/ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts +0 -113
- package/ts/types/Interface/api/thirdParty/QueryThirdParty.ts +0 -27
- package/ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts +0 -123
- package/ts/types/Interface/api/timeRecorder/CreateRecorder.ts +0 -75
- package/ts/types/Interface/api/timeRecorder/Query.ts +0 -32
- package/ts/types/Interface/api/timeRecorder/QueryAttendance.ts +0 -21
- package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +0 -52
- package/ts/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.ts +0 -13
- package/ts/types/Interface/api/timeRecorder/ReadAttendanceHours.ts +0 -6
- package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +0 -28
- package/ts/types/Interface/api/timeRecorder/ReadUsersAbsent.ts +0 -7
- package/ts/types/Interface/api/timeRecorder/ReadUsersNotConnected.ts +0 -6
- package/ts/types/Interface/api/timeRecorder/UpdateRecorder.ts +0 -67
- package/ts/types/Interface/api/timeTracking/Create.ts +0 -25
- package/ts/types/Interface/api/timeTracking/Query.ts +0 -12
- package/ts/types/Interface/api/toDoExpress/Query.ts +0 -255
- package/ts/types/Interface/api/toDoExpress/Read.ts +0 -11
- package/ts/types/Interface/api/transactions/Query.ts +0 -50
- package/ts/types/Interface/api/user/CollaboratorsByRoles.ts +0 -6
- package/ts/types/Interface/api/user/CreateCoworker.ts +0 -150
- package/ts/types/Interface/api/user/CreateUser.ts +0 -45
- package/ts/types/Interface/api/user/ParamsGetAll.ts +0 -28
- package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +0 -39
- package/ts/types/Interface/api/user/ParamsGetAllUserWithRoles.ts +0 -47
- package/ts/types/Interface/api/user/Query.ts +0 -231
- package/ts/types/Interface/api/user/RegisterProspect.ts +0 -298
- package/ts/types/Interface/api/user/RegisterWebhook.ts +0 -87
- package/ts/types/Interface/api/user/UpdateCoworker.ts +0 -125
- package/ts/types/Interface/api/userRoomEquipment/BulkUpdate.ts +0 -9
- package/ts/types/Interface/api/userRoomEquipment/CreateSignature.ts +0 -24
- package/ts/types/Interface/api/userRoomEquipment/Query.ts +0 -48
- package/ts/types/Interface/api/userSocietyPermission/CreateSocietyPermission.ts +0 -23
- package/ts/types/Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser.ts +0 -24
- package/ts/types/Interface/api/userSocietyPermission/GetAllSocietyPermission.ts +0 -13
- package/ts/types/Interface/api/userSocietyPermission/GetPaginatedUserSocietyPermission.ts +0 -15
- package/ts/types/Interface/api/userSocietyPermission/QueryDeleteSocietyPermission.ts +0 -12
- package/ts/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.ts +0 -45
- package/ts/types/Interface/api/userTimeSlot/QueryUserTimeSlot.ts +0 -14
- package/ts/types/Interface/api/usersHistory/Create.ts +0 -25
- package/ts/types/Interface/api/usersHistory/Update.ts +0 -22
- package/ts/types/Interface/api/vatControl/CreateVatControl.ts +0 -14
- package/ts/types/Interface/api/vatControl/QueryVatControl.ts +0 -10
- package/ts/types/Interface/api/vatDeclaration/CreateVatDeclaration.ts +0 -13
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +0 -64
- package/ts/types/Interface/api/vatDeclaration/ReadVatDeclaration.ts +0 -32
- package/ts/types/Interface/api/vatDeclaration/ReadVatVariousOperations.ts +0 -11
- package/ts/types/Interface/api/vatDeclaration/ResultDataNote.ts +0 -11
- package/ts/types/Interface/api/vatDeclaration/ResultFormatToEntries.ts +0 -7
- package/ts/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.ts +0 -19
- package/ts/types/Interface/api/vehicle/CreateSocietyVehicle.ts +0 -53
- package/ts/types/Interface/api/vehicle/UpdateSocietyVehicle.ts +0 -53
- package/ts/types/Interface/api/visualizedInformation/Query.ts +0 -16
- package/ts/types/Interface/api/visualizedInformation/Update.ts +0 -15
- package/ts/types/Interface/api/wallet/QueryWallet.ts +0 -21
- package/ts/types/Interface/api/wallet/UpdateAttribution.ts +0 -28
- package/ts/types/Interface/api/webex/GetWebinarsParams.ts +0 -29
- package/ts/types/Interface/api/webex/PaginatedWebinars.ts +0 -7
- package/ts/types/Interface/api/webex/WebexMeeting.ts +0 -21
- package/ts/types/Interface/api/webex/WebexRegistrant.ts +0 -34
- package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +0 -82
- package/ts/types/Interface/api/webmail/ExportEmails.ts +0 -39
- package/ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts +0 -91
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +0 -49
- package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +0 -26
- package/ts/types/Interface/api/woocommerce/WCBilling.ts +0 -13
- package/ts/types/Interface/api/woocommerce/WCLineItem.ts +0 -18
- package/ts/types/Interface/api/woocommerce/WCLinks.ts +0 -7
- package/ts/types/Interface/api/woocommerce/WCMetaData.ts +0 -5
- package/ts/types/Interface/api/woocommerce/WCOrder.ts +0 -50
- package/ts/types/Interface/api/woocommerce/WCSelf.ts +0 -3
- package/ts/types/Interface/api/woocommerce/WCShiping.ts +0 -12
- package/ts/types/Interface/api/woocommerce/WCShippingLine.ts +0 -12
- package/ts/types/Interface/api/woocommerce/WCTaxes.ts +0 -9
- package/ts/types/Interface/api/workingSchedule/Query.ts +0 -12
- package/ts/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.ts +0 -46
- package/ts/types/Interface/api/workingSchedule/QueryDailyHour.ts +0 -67
- package/ts/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.ts +0 -13
- package/ts/types/Interface/api/yousign/index.ts +0 -230
- package/ts/types/Interface/api/zendesk/QueryTicket.ts +0 -233
- package/ts/types/Interface/api/zendesk/ReadTicket.ts +0 -125
- package/ts/types/Interface/api/zticket/CreateZTicket.ts +0 -45
- package/ts/types/Interface/api/zticket/QueryZTicket.ts +0 -21
- package/ts/types/Interface/enum/Date.ts +0 -12
- package/ts/types/Interface/enum/Util.ts +0 -1
- package/ts/types/Interface/models/IAIConversation.ts +0 -13
- package/ts/types/Interface/models/IAIQuestion.ts +0 -17
- package/ts/types/Interface/models/IAbsenceRequest.ts +0 -34
- package/ts/types/Interface/models/IAbsenceRequestTime.ts +0 -15
- package/ts/types/Interface/models/IAbsenceType.ts +0 -7
- package/ts/types/Interface/models/IAccessToken.ts +0 -9
- package/ts/types/Interface/models/IAccount.ts +0 -62
- package/ts/types/Interface/models/IAccountCentury.ts +0 -13
- package/ts/types/Interface/models/IAccountDetail.ts +0 -33
- package/ts/types/Interface/models/IAccountHelp.ts +0 -8
- package/ts/types/Interface/models/IAccountType.ts +0 -10
- package/ts/types/Interface/models/IAccountingEntry.ts +0 -38
- package/ts/types/Interface/models/IAccountingFile.ts +0 -46
- package/ts/types/Interface/models/IAccountingFileType.ts +0 -7
- package/ts/types/Interface/models/IAccountingJournal.ts +0 -11
- package/ts/types/Interface/models/IAccountingStatementHistory.ts +0 -20
- package/ts/types/Interface/models/IAccountingTransaction.ts +0 -82
- package/ts/types/Interface/models/IAccountsSectors.ts +0 -6
- package/ts/types/Interface/models/IAccountsSocieties.ts +0 -13
- package/ts/types/Interface/models/IActivity.ts +0 -7
- package/ts/types/Interface/models/IAdditionalBalance.ts +0 -23
- package/ts/types/Interface/models/IAdjustment.ts +0 -14
- package/ts/types/Interface/models/IAllowedIp.ts +0 -10
- package/ts/types/Interface/models/IAnalyticsUtm.ts +0 -19
- package/ts/types/Interface/models/IAnnotation.ts +0 -15
- package/ts/types/Interface/models/IAnswerType.ts +0 -12
- package/ts/types/Interface/models/IAnswerTypeValue.ts +0 -13
- package/ts/types/Interface/models/IApiError.ts +0 -203
- package/ts/types/Interface/models/IAppNotification.ts +0 -22
- package/ts/types/Interface/models/IAttestation.ts +0 -42
- package/ts/types/Interface/models/IAttributionHistory.ts +0 -20
- package/ts/types/Interface/models/IAutomaticRegistration.ts +0 -15
- package/ts/types/Interface/models/IBalanceBankAccount.ts +0 -9
- package/ts/types/Interface/models/IBalanceSheet.ts +0 -39
- package/ts/types/Interface/models/IBalanceSheetCompletion.ts +0 -13
- package/ts/types/Interface/models/IBalanceSheetHistory.ts +0 -19
- package/ts/types/Interface/models/IBalanceSheetModule.ts +0 -41
- package/ts/types/Interface/models/IBalanceSheetModule2.ts +0 -7
- package/ts/types/Interface/models/IBalanceSheetQuestion.ts +0 -17
- package/ts/types/Interface/models/IBankAccount.ts +0 -53
- package/ts/types/Interface/models/IBankAccountSynchroHistory.ts +0 -15
- package/ts/types/Interface/models/IBankConnection.ts +0 -23
- package/ts/types/Interface/models/IBankList.ts +0 -10
- package/ts/types/Interface/models/IBillingHistory.ts +0 -21
- package/ts/types/Interface/models/IBrandType.ts +0 -8
- package/ts/types/Interface/models/IBusinessLine.ts +0 -7
- package/ts/types/Interface/models/IBusinessLineUser.ts +0 -8
- package/ts/types/Interface/models/IBusinessPartner.ts +0 -30
- package/ts/types/Interface/models/IBusinessSector.ts +0 -12
- package/ts/types/Interface/models/ICalendarEvent.ts +0 -37
- package/ts/types/Interface/models/ICalendarEventUser.ts +0 -13
- package/ts/types/Interface/models/ICallHistory.ts +0 -20
- package/ts/types/Interface/models/ICard.ts +0 -40
- package/ts/types/Interface/models/ICardHistory.ts +0 -18
- package/ts/types/Interface/models/ICashDeskTransactionType.ts +0 -7
- package/ts/types/Interface/models/ICerfaType.ts +0 -5
- package/ts/types/Interface/models/IChangeLog.ts +0 -13
- package/ts/types/Interface/models/IChannelType.ts +0 -5
- package/ts/types/Interface/models/IChecklist.ts +0 -33
- package/ts/types/Interface/models/IChecklistCategoryType.ts +0 -13
- package/ts/types/Interface/models/IChecklistDetail.ts +0 -18
- package/ts/types/Interface/models/IChecklistType.ts +0 -26
- package/ts/types/Interface/models/ICivility.ts +0 -7
- package/ts/types/Interface/models/ICollaboraterDetail.ts +0 -32
- package/ts/types/Interface/models/IComment.ts +0 -34
- package/ts/types/Interface/models/ICommentType.ts +0 -5
- package/ts/types/Interface/models/ICommercialMail.ts +0 -11
- package/ts/types/Interface/models/ICommercialOffer.ts +0 -22
- package/ts/types/Interface/models/ICompanyCreationForm.ts +0 -13
- package/ts/types/Interface/models/ICompanyMarketingInformation.ts +0 -13
- package/ts/types/Interface/models/IComptaHistoryType.ts +0 -10
- package/ts/types/Interface/models/IComptaType.ts +0 -8
- package/ts/types/Interface/models/IConnector.ts +0 -24
- package/ts/types/Interface/models/IConnectorTracking.ts +0 -20
- package/ts/types/Interface/models/IConnectorType.ts +0 -7
- package/ts/types/Interface/models/IConstitutionHistory.ts +0 -8
- package/ts/types/Interface/models/IContractType.ts +0 -7
- package/ts/types/Interface/models/ICotation.ts +0 -9
- package/ts/types/Interface/models/ICountry.ts +0 -8
- package/ts/types/Interface/models/ICurrency.ts +0 -9
- package/ts/types/Interface/models/ICustomerAcceptance.ts +0 -15
- package/ts/types/Interface/models/ICustomerIsRegime.ts +0 -27
- package/ts/types/Interface/models/ICustomerSignature.ts +0 -40
- package/ts/types/Interface/models/ICustomerVat.ts +0 -30
- package/ts/types/Interface/models/ICycle.ts +0 -13
- package/ts/types/Interface/models/IDashboardLayout.ts +0 -10
- package/ts/types/Interface/models/IDirectDebitHistory.ts +0 -12
- package/ts/types/Interface/models/IDocumentRequest.ts +0 -35
- package/ts/types/Interface/models/IDocumentSection.ts +0 -15
- package/ts/types/Interface/models/IDocumentWaitingType.ts +0 -9
- package/ts/types/Interface/models/IDubiousCustomer.ts +0 -28
- package/ts/types/Interface/models/IEInvoicing.ts +0 -21
- package/ts/types/Interface/models/IEInvoicingEligibilityRequest.ts +0 -12
- package/ts/types/Interface/models/IEInvoicingKycAndMandate.ts +0 -36
- package/ts/types/Interface/models/IEInvoicingStatus.ts +0 -18
- package/ts/types/Interface/models/IEmployee.ts +0 -64
- package/ts/types/Interface/models/IEngagementOcrExtraction.ts +0 -30
- package/ts/types/Interface/models/IEquipment.ts +0 -22
- package/ts/types/Interface/models/IEstimateInvoice.ts +0 -77
- package/ts/types/Interface/models/IEstimateInvoiceType.ts +0 -7
- package/ts/types/Interface/models/IExercice.ts +0 -73
- package/ts/types/Interface/models/IExerciceComment.ts +0 -16
- package/ts/types/Interface/models/IExerciceDetail.ts +0 -18
- package/ts/types/Interface/models/IExercicePrestation.ts +0 -29
- package/ts/types/Interface/models/IExercicePrestationOffer.ts +0 -13
- package/ts/types/Interface/models/IExerciceQuestion.ts +0 -19
- package/ts/types/Interface/models/IExpertAnnuary.ts +0 -17
- package/ts/types/Interface/models/IExternalAuthenticationLink.ts +0 -18
- package/ts/types/Interface/models/IFecFile.ts +0 -21
- package/ts/types/Interface/models/IField.ts +0 -7
- package/ts/types/Interface/models/IFile.ts +0 -27
- package/ts/types/Interface/models/IFileType.ts +0 -8
- package/ts/types/Interface/models/IFirstStep.ts +0 -19
- package/ts/types/Interface/models/IFiscalRegime.ts +0 -7
- package/ts/types/Interface/models/IFolderFile.ts +0 -7
- package/ts/types/Interface/models/IFollow.ts +0 -16
- package/ts/types/Interface/models/IFollowList.ts +0 -6
- package/ts/types/Interface/models/IFormalism.ts +0 -26
- package/ts/types/Interface/models/IFormalismValue.ts +0 -16
- package/ts/types/Interface/models/IFuel.ts +0 -7
- package/ts/types/Interface/models/IGedCategory.ts +0 -13
- package/ts/types/Interface/models/IGedFile.ts +0 -50
- package/ts/types/Interface/models/IGedFileType.ts +0 -8
- package/ts/types/Interface/models/IGedFolder.ts +0 -14
- package/ts/types/Interface/models/IGeneralConditionOfSale.ts +0 -15
- package/ts/types/Interface/models/IHumanResourceLibrary.ts +0 -25
- package/ts/types/Interface/models/IImmobilization.ts +0 -31
- package/ts/types/Interface/models/IIndependentReview.ts +0 -15
- package/ts/types/Interface/models/IInformationRequest.ts +0 -27
- package/ts/types/Interface/models/IInpiBalance.ts +0 -12
- package/ts/types/Interface/models/IInpiPayment.ts +0 -31
- package/ts/types/Interface/models/IInvoiceRecurrence.ts +0 -18
- package/ts/types/Interface/models/IInvoiceReminderAttachment.ts +0 -14
- package/ts/types/Interface/models/IIpTmpBlocked.ts +0 -7
- package/ts/types/Interface/models/ILeadsToPartners.ts +0 -15
- package/ts/types/Interface/models/ILegalForm.ts +0 -9
- package/ts/types/Interface/models/ILegalNotice.ts +0 -32
- package/ts/types/Interface/models/ILetter.ts +0 -48
- package/ts/types/Interface/models/ILetterType.ts +0 -7
- package/ts/types/Interface/models/ILettering.ts +0 -9
- package/ts/types/Interface/models/ILoan.ts +0 -43
- package/ts/types/Interface/models/ILoanEarlyRepayment.ts +0 -13
- package/ts/types/Interface/models/ILoanFile.ts +0 -14
- package/ts/types/Interface/models/ILog.ts +0 -25
- package/ts/types/Interface/models/ILogType.ts +0 -9
- package/ts/types/Interface/models/IMachineLearningResult.ts +0 -14
- package/ts/types/Interface/models/IMail.ts +0 -59
- package/ts/types/Interface/models/IMailAddress.ts +0 -14
- package/ts/types/Interface/models/IMailAddressMail.ts +0 -13
- package/ts/types/Interface/models/IMailAttachment.ts +0 -15
- package/ts/types/Interface/models/IMailAuto.ts +0 -22
- package/ts/types/Interface/models/IMailAutoType.ts +0 -5
- package/ts/types/Interface/models/IMailContent.ts +0 -12
- package/ts/types/Interface/models/IMailSociety.ts +0 -8
- package/ts/types/Interface/models/IMobile.ts +0 -19
- package/ts/types/Interface/models/IMobileNotificationLog.ts +0 -14
- package/ts/types/Interface/models/IMobileNotificationSetting.ts +0 -10
- package/ts/types/Interface/models/INafCode.ts +0 -15
- package/ts/types/Interface/models/INationality.ts +0 -7
- package/ts/types/Interface/models/INature.ts +0 -7
- package/ts/types/Interface/models/INotification.ts +0 -23
- package/ts/types/Interface/models/INotificationCodeType.ts +0 -9
- package/ts/types/Interface/models/INotificationType.ts +0 -8
- package/ts/types/Interface/models/IOldExpertInfo.ts +0 -30
- package/ts/types/Interface/models/IOperationLegalNotice.ts +0 -7
- package/ts/types/Interface/models/IPartnerTransaction.ts +0 -16
- package/ts/types/Interface/models/IPartnerTransactionType.ts +0 -7
- package/ts/types/Interface/models/IPartneredAccountant.ts +0 -31
- package/ts/types/Interface/models/IPartneredAccountantCredential.ts +0 -12
- package/ts/types/Interface/models/IPartneredAccountantToSociety.ts +0 -16
- package/ts/types/Interface/models/IPayment.ts +0 -55
- package/ts/types/Interface/models/IPaymentAttempt.ts +0 -16
- package/ts/types/Interface/models/IPaymentDirectDebitHistory.ts +0 -12
- package/ts/types/Interface/models/IPaymentExpectation.ts +0 -29
- package/ts/types/Interface/models/IPaymentExpectationCustomer.ts +0 -28
- package/ts/types/Interface/models/IPaymentMethod.ts +0 -9
- package/ts/types/Interface/models/IPaymentRecovery.ts +0 -15
- package/ts/types/Interface/models/IPaymentSchedule.ts +0 -16
- package/ts/types/Interface/models/IPendingPoint.ts +0 -20
- package/ts/types/Interface/models/IPermission.ts +0 -21
- package/ts/types/Interface/models/IPrestation.ts +0 -71
- package/ts/types/Interface/models/IPrestationComplementary.ts +0 -38
- package/ts/types/Interface/models/IPrestationComplementaryHistory.ts +0 -16
- package/ts/types/Interface/models/IPrestationHistory.ts +0 -16
- package/ts/types/Interface/models/IPrestationList.ts +0 -30
- package/ts/types/Interface/models/IPrestationOption.ts +0 -13
- package/ts/types/Interface/models/IPrevisionalForm.ts +0 -15
- package/ts/types/Interface/models/IProcedure.ts +0 -7
- package/ts/types/Interface/models/IProduct.ts +0 -28
- package/ts/types/Interface/models/IProductInvoice.ts +0 -32
- package/ts/types/Interface/models/IQuality.ts +0 -7
- package/ts/types/Interface/models/IRating.ts +0 -30
- package/ts/types/Interface/models/IRatingHistory.ts +0 -18
- package/ts/types/Interface/models/IReason.ts +0 -7
- package/ts/types/Interface/models/IRecontactHistory.ts +0 -8
- package/ts/types/Interface/models/IRefund.ts +0 -34
- package/ts/types/Interface/models/IRegisterCategory.ts +0 -7
- package/ts/types/Interface/models/IRegistration.ts +0 -43
- package/ts/types/Interface/models/IRegistrationCertificate.ts +0 -15
- package/ts/types/Interface/models/IRegulate.ts +0 -20
- package/ts/types/Interface/models/IRegulation.ts +0 -25
- package/ts/types/Interface/models/IRelatedAccountingTransaction.ts +0 -15
- package/ts/types/Interface/models/IReminder.ts +0 -20
- package/ts/types/Interface/models/IReminderAttachment.ts +0 -14
- package/ts/types/Interface/models/IReport.ts +0 -41
- package/ts/types/Interface/models/IReportMessage.ts +0 -16
- package/ts/types/Interface/models/IReportType.ts +0 -8
- package/ts/types/Interface/models/IRevenueMovement.ts +0 -54
- package/ts/types/Interface/models/IRevenueSnapshot.ts +0 -55
- package/ts/types/Interface/models/IRevisionGuide.ts +0 -15
- package/ts/types/Interface/models/IRole.ts +0 -14
- package/ts/types/Interface/models/IRoleUser.ts +0 -8
- package/ts/types/Interface/models/IRule.ts +0 -33
- package/ts/types/Interface/models/ISalariesFile.ts +0 -18
- package/ts/types/Interface/models/ISaleDocumentTemplate.ts +0 -18
- package/ts/types/Interface/models/ISaleEmail.ts +0 -18
- package/ts/types/Interface/models/IScheduledReminder.ts +0 -7
- package/ts/types/Interface/models/ISector.ts +0 -7
- package/ts/types/Interface/models/ISendMethod.ts +0 -7
- package/ts/types/Interface/models/ISheetMonthSchedule.ts +0 -44
- package/ts/types/Interface/models/ISheetMonthScheduleDetails.ts +0 -11
- package/ts/types/Interface/models/ISlowDetection.ts +0 -11
- package/ts/types/Interface/models/ISms.ts +0 -26
- package/ts/types/Interface/models/ISmsType.ts +0 -7
- package/ts/types/Interface/models/ISocialDetail.ts +0 -12
- package/ts/types/Interface/models/ISociety.ts +0 -218
- package/ts/types/Interface/models/ISocietyApproval.ts +0 -32
- package/ts/types/Interface/models/ISocietyBank.ts +0 -12
- package/ts/types/Interface/models/ISocietyConfig.ts +0 -17
- package/ts/types/Interface/models/ISocietyConfigBalanceSheet.ts +0 -35
- package/ts/types/Interface/models/ISocietyCreationCheckout.ts +0 -23
- package/ts/types/Interface/models/ISocietyDetail.ts +0 -85
- package/ts/types/Interface/models/ISocietyFinancialProjection.ts +0 -12
- package/ts/types/Interface/models/ISocietyGescom.ts +0 -73
- package/ts/types/Interface/models/ISocietyJuridical.ts +0 -14
- package/ts/types/Interface/models/ISocietyPartner.ts +0 -24
- package/ts/types/Interface/models/ISocietyProceding.ts +0 -20
- package/ts/types/Interface/models/ISocietySocial.ts +0 -23
- package/ts/types/Interface/models/ISocietySoftware.ts +0 -15
- package/ts/types/Interface/models/ISocietyStat.ts +0 -11
- package/ts/types/Interface/models/ISocietyVehicle.ts +0 -33
- package/ts/types/Interface/models/ISoftwareCompta.ts +0 -5
- package/ts/types/Interface/models/ISource.ts +0 -10
- package/ts/types/Interface/models/ISpecialOperation.ts +0 -23
- package/ts/types/Interface/models/IStateBankAccount.ts +0 -19
- package/ts/types/Interface/models/IStatistic.ts +0 -13
- package/ts/types/Interface/models/IStatusSignature.ts +0 -7
- package/ts/types/Interface/models/IStock.ts +0 -10
- package/ts/types/Interface/models/ISubscriptionType.ts +0 -8
- package/ts/types/Interface/models/ISupervision.ts +0 -45
- package/ts/types/Interface/models/ISupervisionPendingPoint.ts +0 -31
- package/ts/types/Interface/models/ISupervisionPendingPointReply.ts +0 -16
- package/ts/types/Interface/models/ISupervisionPersonalAccountantNote.ts +0 -16
- package/ts/types/Interface/models/ISurvey.ts +0 -27
- package/ts/types/Interface/models/ITag.ts +0 -8
- package/ts/types/Interface/models/ITask.ts +0 -40
- package/ts/types/Interface/models/ITaskAttachment.ts +0 -15
- package/ts/types/Interface/models/ITaxSystem.ts +0 -7
- package/ts/types/Interface/models/ITeam.ts +0 -17
- package/ts/types/Interface/models/ITerminationList.ts +0 -34
- package/ts/types/Interface/models/IThirdParty.ts +0 -50
- package/ts/types/Interface/models/IThirdPartySociety.ts +0 -14
- package/ts/types/Interface/models/IThirdPartyType.ts +0 -7
- package/ts/types/Interface/models/ITicketSupport.ts +0 -39
- package/ts/types/Interface/models/ITicketSupportFollow.ts +0 -10
- package/ts/types/Interface/models/ITimeRecorder.ts +0 -16
- package/ts/types/Interface/models/ITimeTracking.ts +0 -24
- package/ts/types/Interface/models/ITimeTrackingSource.ts +0 -7
- package/ts/types/Interface/models/IUpToDateBankAccount.ts +0 -28
- package/ts/types/Interface/models/IUser.ts +0 -125
- package/ts/types/Interface/models/IUserBrand.ts +0 -8
- package/ts/types/Interface/models/IUserChangeLog.ts +0 -7
- package/ts/types/Interface/models/IUserFile.ts +0 -14
- package/ts/types/Interface/models/IUserHumanResourceLibrary.ts +0 -16
- package/ts/types/Interface/models/IUserMfa.ts +0 -11
- package/ts/types/Interface/models/IUserMfaRecoveryCode.ts +0 -8
- package/ts/types/Interface/models/IUserNotification.ts +0 -9
- package/ts/types/Interface/models/IUserRoomEquipment.ts +0 -22
- package/ts/types/Interface/models/IUserSocietyPermission.ts +0 -19
- package/ts/types/Interface/models/IUserTeam.ts +0 -15
- package/ts/types/Interface/models/IUserTimeSlot.ts +0 -14
- package/ts/types/Interface/models/IUsersHistory.ts +0 -23
- package/ts/types/Interface/models/IVat.ts +0 -10
- package/ts/types/Interface/models/IVatDeclarationSocietyDetail.ts +0 -26
- package/ts/types/Interface/models/IVatRegime.ts +0 -8
- package/ts/types/Interface/models/IVatRegimeHistory.ts +0 -20
- package/ts/types/Interface/models/IVehicleType.ts +0 -7
- package/ts/types/Interface/models/IVisualizedInformation.ts +0 -14
- package/ts/types/Interface/models/IWorkingSchedule.ts +0 -22
- package/ts/types/Interface/models/IZTicket.ts +0 -20
- package/ts/types/Interface/models/IZendeskTicketRead.ts +0 -15
- package/ts/types/Interface/schemas/IRegistrationDetail.ts +0 -11
- package/ts/types/Interface/schemas/ITransactionHistory.ts +0 -11
- package/ts/types/index.ts +0 -1218
- package/ts/utils/acdVat.ts +0 -140
- package/ts/utils/amount.ts +0 -212
- package/ts/utils/balanceSheetModule.ts +0 -13
- package/ts/utils/bankAccount.ts +0 -52
- package/ts/utils/brands.ts +0 -365
- package/ts/utils/cerfa.ts +0 -76
- package/ts/utils/checklist.ts +0 -82
- package/ts/utils/checkup.ts +0 -567
- package/ts/utils/commercialManagement/document.ts +0 -435
- package/ts/utils/commercialManagement/internationalization/choices.ts +0 -542
- package/ts/utils/commercialManagement/internationalization/type.ts +0 -155
- package/ts/utils/commercialManagement/product.ts +0 -54
- package/ts/utils/commercialManagement/recovery.ts +0 -47
- package/ts/utils/commercialManagement/recurrence.ts +0 -36
- package/ts/utils/commercialManagement/saleEmail.ts +0 -54
- package/ts/utils/commercialManagement/templates/body.ts +0 -135
- package/ts/utils/commercialManagement/thirdParty.ts +0 -15
- package/ts/utils/commercialManagement/vat.ts +0 -31
- package/ts/utils/commercialOffer.ts +0 -63
- package/ts/utils/date.ts +0 -107
- package/ts/utils/decorators/isE164PhoneNumber.decorator.ts +0 -14
- package/ts/utils/documents.ts +0 -94
- package/ts/utils/email/templates/signature.ts +0 -257
- package/ts/utils/email.ts +0 -395
- package/ts/utils/exercice.ts +0 -48
- package/ts/utils/geolocation.ts +0 -23
- package/ts/utils/index.ts +0 -26
- package/ts/utils/isHtml.ts +0 -23
- package/ts/utils/isUrl.ts +0 -13
- package/ts/utils/logger.ts +0 -0
- package/ts/utils/noLodash.ts +0 -102
- package/ts/utils/objectUtils/BaseEntity.ts +0 -1
- package/ts/utils/objectUtils/flattenObject.ts +0 -24
- package/ts/utils/objectUtils/fullFlattenObject.ts +0 -18
- package/ts/utils/objectUtils/index.ts +0 -6
- package/ts/utils/objectUtils/isValidObject.ts +0 -13
- package/ts/utils/objectUtils/overwrite.ts +0 -6
- package/ts/utils/objectUtils/unflattenObject.ts +0 -19
- package/ts/utils/payment.ts +0 -400
- package/ts/utils/phone.ts +0 -112
- package/ts/utils/prestation.ts +0 -686
- package/ts/utils/quotation.ts +0 -328
- package/ts/utils/siretValidation.ts +0 -67
- package/ts/utils/social.ts +0 -22
- package/ts/utils/societyApproval.ts +0 -364
- package/ts/utils/statutsGeneration.ts +0 -126
- package/ts/utils/stringUtils/clean.ts +0 -23
- package/ts/utils/stringUtils/index.ts +0 -1
- package/ts/utils/task.ts +0 -77
- package/ts/utils/tests/acdVat.spec.ts +0 -67
- package/ts/utils/tests/brands.spec.ts +0 -66
- package/ts/utils/tests/document.spec.ts +0 -251
- package/ts/utils/tests/payment.spec.ts +0 -482
- package/ts/utils/tests/societyApproval.spec.ts +0 -237
- package/ts/utils/transforms/array.transform.ts +0 -35
- package/ts/utils/transforms/boolean.transform.ts +0 -37
- package/ts/utils/transforms/number.transform.ts +0 -38
- package/ts/utils/transforms/numericEnum.transform.ts +0 -9
- package/ts/utils/validators/formattedDateString.validator.ts +0 -22
- package/ts/utils/validators/nestedArray.validator.ts +0 -42
- package/ts/utils/validators/objectId.validator.ts +0 -35
- package/ts/utils/vat/3310/century24.ts +0 -1998
- package/ts/utils/vat/3310/century25.ts +0 -2043
- package/ts/utils/vat/3310/century26.ts +0 -2043
- package/ts/utils/vat/3514/century22.ts +0 -121
- package/ts/utils/vat/3514/century23.ts +0 -118
- package/ts/utils/vat/3517/century25.ts +0 -2251
- package/ts/utils/vat/3517/century26.ts +0 -2294
- package/ts/utils/vat/3519/century17.ts +0 -94
- package/ts/utils/vat/3519/century23.ts +0 -154
- package/ts/utils/vat/centuries.ts +0 -187
- package/ts/utils/vat/index.ts +0 -3
- package/ts/utils/vat/registration.ts +0 -264
- package/ts/utils/vat/utils.ts +0 -118
- package/ts/utils/webmail.ts +0 -66
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
const newIban = `<% if (commercialName === 'Clementine' && isFacturation) { %>
|
|
2
|
-
<p style="font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;">
|
|
3
|
-
<span style="color: #A0A0A0">Nos coordonnées bancaires </span>IBAN : <%= iban %> - BIC : <%= bic %>
|
|
4
|
-
</p>
|
|
5
|
-
<% }else if (commercialName === 'Pourcentage' && [5, 7].includes(idTypeBrand)) { %>
|
|
6
|
-
<p style="font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;">
|
|
7
|
-
<span style="color: #A0A0A0">Attention changement de RIB </span>IBAN : <%= iban %> - BIC : <%= bic %>
|
|
8
|
-
</p>
|
|
9
|
-
<% } %>
|
|
10
|
-
`;
|
|
11
|
-
|
|
12
|
-
const avatar = `<% if (!forceRole && user?.avatar?.token) { %>
|
|
13
|
-
<td
|
|
14
|
-
class="avatar"
|
|
15
|
-
style="text-align:center; padding: 20px 0 20px 20px; position: relative;"
|
|
16
|
-
width="100">
|
|
17
|
-
<% if(commercialName === 'Clementine') { %>
|
|
18
|
-
<p style="padding: 20px;background-image: url('https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_quotes.png');background-size: 26%;background-position: 81% -3%;background-repeat: no-repeat;">
|
|
19
|
-
<img
|
|
20
|
-
style="max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px"
|
|
21
|
-
alt="Avatar"
|
|
22
|
-
src="<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>"
|
|
23
|
-
/>
|
|
24
|
-
</p>
|
|
25
|
-
<% } else { %>
|
|
26
|
-
<p style="padding: 20px;">
|
|
27
|
-
<img
|
|
28
|
-
style="max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px"
|
|
29
|
-
alt="Avatar"
|
|
30
|
-
src="<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>"
|
|
31
|
-
/>
|
|
32
|
-
</p>
|
|
33
|
-
<% } %>
|
|
34
|
-
</td>
|
|
35
|
-
<% } %>`;
|
|
36
|
-
|
|
37
|
-
const footer = `<% if(commercialName === 'Clementine') { %>
|
|
38
|
-
<tr>
|
|
39
|
-
<td
|
|
40
|
-
style="clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;"
|
|
41
|
-
colspan="4">
|
|
42
|
-
<table style="width: 100%" width="100%">
|
|
43
|
-
<tr>
|
|
44
|
-
<td colspan="7" style="padding-bottom: 12px">
|
|
45
|
-
<span style="text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;">
|
|
46
|
-
Une question ? Découvrez votre <a href="https://www.clementine.fr/aide/" style="color: #FF7E3C">centre d'aide</a>
|
|
47
|
-
</span>
|
|
48
|
-
<span style="text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;">
|
|
49
|
-
Jusqu’à 500€ avec notre <a href="https://www.clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta" style="color: #FF7E3C">programme de parrainage</a>
|
|
50
|
-
</span>
|
|
51
|
-
</td>
|
|
52
|
-
</tr>
|
|
53
|
-
<tr>
|
|
54
|
-
<td style="padding:0 10px 0 0" width="120">
|
|
55
|
-
<a href="https://app.clementine.fr/" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
|
|
56
|
-
<img
|
|
57
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png"
|
|
58
|
-
style="vertical-align: text-top;"
|
|
59
|
-
width="20"
|
|
60
|
-
alt="Connexion"> Connexion
|
|
61
|
-
</a>
|
|
62
|
-
</td>
|
|
63
|
-
<td style="padding:0 10px 0 0" width="170">
|
|
64
|
-
<!-- <a href="mailto:<%= supportMail %>" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
|
|
65
|
-
<img
|
|
66
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_support2.png"
|
|
67
|
-
style="vertical-align: text-top;"
|
|
68
|
-
width="17"
|
|
69
|
-
alt="Support technique"> Support technique
|
|
70
|
-
</a>-->
|
|
71
|
-
</td>
|
|
72
|
-
<td style="text-align: right; vertical-align: middle; color: #6E6E71" width="430">
|
|
73
|
-
<!--<span>Télécharger l'app</span>
|
|
74
|
-
<a href="https://apps.apple.com/fr/app/clementine/id1119493780" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
|
|
75
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png"
|
|
76
|
-
alt="App Store"
|
|
77
|
-
style="width: 20px"></a>
|
|
78
|
-
<a href="https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
|
|
79
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png"
|
|
80
|
-
alt="Play Store"
|
|
81
|
-
style="width: 20px"></a>-->
|
|
82
|
-
</td>
|
|
83
|
-
<td style="padding:0 5px 0 0" width="24">
|
|
84
|
-
<a href="https://www.youtube.com/channel/UCVnCpcLdRwuYBLvAphHsvig/" target="_blank" style="vertical-align: middle;"><img
|
|
85
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_youtube.png"
|
|
86
|
-
alt="YouTube"
|
|
87
|
-
style="width: 20px"></a>
|
|
88
|
-
</td>
|
|
89
|
-
<td style="padding:0 5px 0 0" width="24">
|
|
90
|
-
<a href="https://www.linkedin.com/company/compta-cl%C3%A9mentine/" target="_blank" style="vertical-align: middle;"><img
|
|
91
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_linkedin.png"
|
|
92
|
-
alt="LinkedIn"
|
|
93
|
-
style="width: 20px"></a>
|
|
94
|
-
</td>
|
|
95
|
-
<td style="padding:0 5px 0 0" width="24">
|
|
96
|
-
<a href="https://www.instagram.com/comptaclementine/" target="_blank" style="vertical-align: middle;"><img
|
|
97
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_instagram.png"
|
|
98
|
-
alt="Instagram"
|
|
99
|
-
style="width: 20px"></a>
|
|
100
|
-
</td>
|
|
101
|
-
</tr>
|
|
102
|
-
</table>
|
|
103
|
-
</td>
|
|
104
|
-
</tr>
|
|
105
|
-
<% } else if(commercialName === 'Pourcentage') { %>
|
|
106
|
-
<tr>
|
|
107
|
-
<td
|
|
108
|
-
style="clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;"
|
|
109
|
-
colspan="4">
|
|
110
|
-
<table style="width: 100%" width="100%">
|
|
111
|
-
<tr>
|
|
112
|
-
<td style="padding:0 10px 0 0" width="120">
|
|
113
|
-
<a href="https://app.pourcentage.fr/" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
|
|
114
|
-
<img
|
|
115
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png"
|
|
116
|
-
style="vertical-align: text-top;"
|
|
117
|
-
width="20"
|
|
118
|
-
alt="Connexion"> Connexion
|
|
119
|
-
</a>
|
|
120
|
-
</td>
|
|
121
|
-
<td style="text-align: right; vertical-align: middle; color: #6E6E71" width="430">
|
|
122
|
-
<!-- <span>Télécharger l'app</span>
|
|
123
|
-
<a href="https://apps.apple.com/fr/app/pourcentage-fr/id1631156043" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
|
|
124
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png"
|
|
125
|
-
alt="App Store"
|
|
126
|
-
style="width: 20px"></a>
|
|
127
|
-
<a href="https://play.google.com/store/apps/details?id=com.clementine.pourcentage" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
|
|
128
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png"
|
|
129
|
-
alt="Play Store"
|
|
130
|
-
style="width: 20px"></a> -->
|
|
131
|
-
</td>
|
|
132
|
-
</tr>
|
|
133
|
-
</table>
|
|
134
|
-
</td>
|
|
135
|
-
</tr>
|
|
136
|
-
<% } %>
|
|
137
|
-
`;
|
|
138
|
-
|
|
139
|
-
export const signatureTemplate = `${newIban}<table
|
|
140
|
-
border="0"
|
|
141
|
-
cellpadding="0"
|
|
142
|
-
cellspacing="0"
|
|
143
|
-
width="950"
|
|
144
|
-
class="signatureClementine">
|
|
145
|
-
|
|
146
|
-
<tr style="background: #F4F8FB">
|
|
147
|
-
${avatar}
|
|
148
|
-
<td
|
|
149
|
-
class="infos"
|
|
150
|
-
style=" padding: 20px 0 20px 30px;font-size: 17px; font-family: Arial; color:#000"
|
|
151
|
-
width="390"
|
|
152
|
-
colspan="2">
|
|
153
|
-
<table
|
|
154
|
-
border="0"
|
|
155
|
-
cellpadding="0"
|
|
156
|
-
cellspacing="0"
|
|
157
|
-
width="390">
|
|
158
|
-
<tr>
|
|
159
|
-
<td width="390">
|
|
160
|
-
<p style="font-size: 17px; margin:0px 0; padding:0">
|
|
161
|
-
<strong><span style="color:<%= primaryColor %>; font-weight: bold;"><%= user?.firstname ?? '' %> <%= user?.lastname ?? '' %></span></strong>
|
|
162
|
-
</p>
|
|
163
|
-
|
|
164
|
-
<% if(roleSignature) { %>
|
|
165
|
-
<p style="font-size: 17px; margin:0px 0; padding:0">
|
|
166
|
-
<span style="color: #6E6E71; font-weight: bold;"><%= roleSignature %></span>
|
|
167
|
-
</p>
|
|
168
|
-
<% } %>
|
|
169
|
-
</td>
|
|
170
|
-
</tr>
|
|
171
|
-
</table>
|
|
172
|
-
<p style="margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2"><!-- --></p>
|
|
173
|
-
<p style="margin:0px 0; padding:0 0 4px; color:#6E6E71;">
|
|
174
|
-
<% if (standardPhoneSignature) { %>
|
|
175
|
-
Standard : <%- standardPhoneSignature %><br/>
|
|
176
|
-
<% } %>
|
|
177
|
-
<% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>
|
|
178
|
-
Ligne directe : <%- phoneSignature %><br/>
|
|
179
|
-
<% } %>
|
|
180
|
-
<% if (brandName !== 'Teamsystem Facture') { %>
|
|
181
|
-
Nos horaires : <%- horaires %>
|
|
182
|
-
|
|
183
|
-
<% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>
|
|
184
|
-
<br/>Adresse : 35, avenue Jean Médecin - 06000 NICE
|
|
185
|
-
<% } %>
|
|
186
|
-
<% } %>
|
|
187
|
-
</p>
|
|
188
|
-
|
|
189
|
-
</td>
|
|
190
|
-
|
|
191
|
-
<td class="infos" style="padding: 20px 20px 20px 0px; font-size: 17px; font-family: Arial; color:#000; <%= !user.calendlyUrl ? 'vertical-align: top;' : '' %>"
|
|
192
|
-
width="370">
|
|
193
|
-
<% if(['Clementine', 'Pourcentage', 'Comptalib'].includes(commercialName)) { %>
|
|
194
|
-
<table
|
|
195
|
-
border="0"
|
|
196
|
-
cellpadding="0"
|
|
197
|
-
cellspacing="0"
|
|
198
|
-
width="350">
|
|
199
|
-
<tr>
|
|
200
|
-
<td width="230">
|
|
201
|
-
<!-- image Télécharger l'app mobile -->
|
|
202
|
-
<img
|
|
203
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_download_app<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png"
|
|
204
|
-
alt="Télécharger l'application mobile"
|
|
205
|
-
style="width: 152px; float:right">
|
|
206
|
-
|
|
207
|
-
<p style="float:right; margin-right: 45px">
|
|
208
|
-
<span style="margin:0; padding:0 0 4px; color:#6E6E71;">Disponible sur<br/></span>
|
|
209
|
-
<a href="https://apps.apple.com/fr/app/clementine/id1119493780" target="_blank" style="vertical-align: middle;"><img
|
|
210
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png"
|
|
211
|
-
alt="App Store"
|
|
212
|
-
style="width: 20px"></a>
|
|
213
|
-
<a href="https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
|
|
214
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png"
|
|
215
|
-
alt="Play Store"
|
|
216
|
-
style="width: 20px"></a>
|
|
217
|
-
</p>
|
|
218
|
-
</td>
|
|
219
|
-
<td width="120">
|
|
220
|
-
<!-- QR Code -->
|
|
221
|
-
<img
|
|
222
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_qrcode<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png"
|
|
223
|
-
style="width:128px"
|
|
224
|
-
alt="Prenez rendez-vous ici !">
|
|
225
|
-
</td>
|
|
226
|
-
</tr>
|
|
227
|
-
<tr>
|
|
228
|
-
<td colspan="2">
|
|
229
|
-
<p style="margin:0; padding:0px 0 4px; color:#6E6E71; text-align: right">
|
|
230
|
-
<a href="https://www.smileyourpla.net/" style="display: inline-block; color:#6E6E71;" target="_blank"><img
|
|
231
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_smileYourPlanet.png"
|
|
232
|
-
alt="Initiative Smile your planet" height="36"></a>
|
|
233
|
-
<% if(user.calendlyUrl && !isDataOfficer) { %>
|
|
234
|
-
<a href="<%= user.calendlyUrl %>" style="display: inline-block; color:#6E6E71;" target="_blank">
|
|
235
|
-
<img
|
|
236
|
-
src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rdv_tel<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %>.png"
|
|
237
|
-
alt="Demande de rdv téléphonique">
|
|
238
|
-
</a>
|
|
239
|
-
<% } %>
|
|
240
|
-
</p>
|
|
241
|
-
</td>
|
|
242
|
-
</tr>
|
|
243
|
-
</table>
|
|
244
|
-
<% } %>
|
|
245
|
-
</td>
|
|
246
|
-
</tr>
|
|
247
|
-
|
|
248
|
-
${footer}
|
|
249
|
-
|
|
250
|
-
<tr>
|
|
251
|
-
<td
|
|
252
|
-
style="clear:both; padding-top: 20px; font-size:14px; line-height:18px; color:#ADADAD; text-align: justify; font-family: Arial;"
|
|
253
|
-
colspan="4">
|
|
254
|
-
Les informations contenues dans ce courrier électronique et ses pièces jointes sont confidentielles et couvertes par le secret professionnel. Si vous n'êtes pas le(s) destinataire(s) ou avez reçu ce courrier électronique par erreur, merci de bien vouloir supprimer l'email et d'en informer l'expéditeur dès que possible. Ce courrier électronique ne peut pas être divulgué, utilisé ou copié par quelqu'un d'autre que le(s) destinataire(s).
|
|
255
|
-
</td>
|
|
256
|
-
</tr>
|
|
257
|
-
</table>`;
|
package/ts/utils/email.ts
DELETED
|
@@ -1,395 +0,0 @@
|
|
|
1
|
-
import ejs from 'ejs';
|
|
2
|
-
import { Role } from '../types/Enum/Role.js';
|
|
3
|
-
import { IRole } from '../types/Interface/models/IRole.js';
|
|
4
|
-
import { IUser } from '../types/Interface/models/IUser.js';
|
|
5
|
-
import { getBrand, getBrandConfig } from './brands.js';
|
|
6
|
-
import { signatureTemplate } from './email/templates/signature.js';
|
|
7
|
-
import { intersection } from './noLodash.js';
|
|
8
|
-
|
|
9
|
-
function getRoleSignature(user: any) {
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
11
|
-
if (user.positionLabel) return user.positionLabel;
|
|
12
|
-
|
|
13
|
-
const isStagiaireOrAlternant =
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
15
|
-
user.roles.map((r: any) => r.id).includes(Role.INTERN) || user.roles.map((r: any) => r.id).includes(Role.ALTERNATE);
|
|
16
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
17
|
-
const isManager = user.roles.map((r: any) => r.id).includes(Role.MANAGER);
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
19
|
-
const isSocial = user.roles.map((r: any) => r.id).includes(Role.SOCIAL);
|
|
20
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
21
|
-
const isJuridic = user.roles.map((r: any) => r.id).includes(Role.JURIDIC);
|
|
22
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
23
|
-
const isFacturation = user.roles.map((r: any) => r.id).includes(Role.FACTURATION);
|
|
24
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
25
|
-
const isExpert = user.roles.map((r: any) => r.id).includes(Role.EXPERT_ACCOUNTANT);
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
27
|
-
const isCS = user.roles.map((r: any) => r.id).includes(Role.CUSTOMER_SUCCESS);
|
|
28
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
29
|
-
const isOnBoarder = user.roles.map((r: any) => r.id).includes(Role.ON_BOARDER);
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
31
|
-
const isSatisfaction = user.roles.map((r: any) => r.id).includes(Role.SATISFACTION);
|
|
32
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
33
|
-
const isDataOfficer = user.roles.map((r: any) => r.id).includes(Role.DATA_OFFICER);
|
|
34
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
35
|
-
const isSales = user.roles.map((r: any) => r.id).includes(Role.COMMERCIAL);
|
|
36
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
37
|
-
const isAdmin = user.roles.map((r: any) => r.id).includes(Role.ADMIN);
|
|
38
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
39
|
-
const isTechnicalAdvisor = user.roles.map((r: any) => r.id).includes(Role.TECHNICAL_ADVISOR);
|
|
40
|
-
|
|
41
|
-
const isFront = !!intersection(
|
|
42
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
43
|
-
user.roles.map((r: any) => r.id),
|
|
44
|
-
[Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS],
|
|
45
|
-
).length;
|
|
46
|
-
|
|
47
|
-
if (isSales && isManager) {
|
|
48
|
-
return 'Responsable commercial';
|
|
49
|
-
}
|
|
50
|
-
if (isSales) {
|
|
51
|
-
return `Chargé${user.idCivility === 2 ? 'e' : ''} de clientèle`;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
if (isCS && isManager) {
|
|
55
|
-
return 'Responsable relations clients';
|
|
56
|
-
}
|
|
57
|
-
if (isCS) {
|
|
58
|
-
return `Conseill${user.idCivility === 2 ? 'ère' : 'er'} comptable`;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
if (isTechnicalAdvisor) {
|
|
62
|
-
return `Référent${user.idCivility === 2 ? 'e' : ''} technique`;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
if (isOnBoarder && isManager) {
|
|
66
|
-
return `Responsable chargé${user.idCivility === 2 ? 'e' : ''} accueil clients`;
|
|
67
|
-
}
|
|
68
|
-
if (isOnBoarder) {
|
|
69
|
-
return `Chargé${user.idCivility === 2 ? 'e' : ''} accueil clients`;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
if (isSatisfaction && isManager) {
|
|
73
|
-
return `Responsable chargé${user.idCivility === 2 ? 'e' : ''} de la satisfaction clients`;
|
|
74
|
-
}
|
|
75
|
-
if (isSatisfaction) {
|
|
76
|
-
return `Chargé${user.idCivility === 2 ? 'e' : ''} de la satisfaction clients`;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
if (isDataOfficer && isManager) {
|
|
80
|
-
return 'Responsable aide comptable';
|
|
81
|
-
}
|
|
82
|
-
if (isDataOfficer) {
|
|
83
|
-
return 'Aide comptable';
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
if (isFacturation && isStagiaireOrAlternant) {
|
|
87
|
-
return 'Assistant facturation';
|
|
88
|
-
}
|
|
89
|
-
if (isFacturation && isManager) {
|
|
90
|
-
return 'Responsable facturation';
|
|
91
|
-
}
|
|
92
|
-
if (isFacturation) {
|
|
93
|
-
return `Chargé${user.idCivility === 2 ? 'e' : ''} de facturation`;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
if (isJuridic && isStagiaireOrAlternant) {
|
|
97
|
-
return 'Assistant juridique';
|
|
98
|
-
}
|
|
99
|
-
if (isJuridic && isManager) {
|
|
100
|
-
return 'Responsable juridique';
|
|
101
|
-
}
|
|
102
|
-
if (isJuridic) {
|
|
103
|
-
return 'Juriste';
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
if (isSocial && isStagiaireOrAlternant) {
|
|
107
|
-
return 'Assistant paie';
|
|
108
|
-
}
|
|
109
|
-
if (isSocial && isManager) {
|
|
110
|
-
return 'Responsable paie';
|
|
111
|
-
}
|
|
112
|
-
if (isSocial) {
|
|
113
|
-
return 'Gestionnaire de paie';
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
if (isExpert) {
|
|
117
|
-
return `Expert${user.idCivility === 2 ? 'e' : ''}-comptable`;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
if (isAdmin) {
|
|
121
|
-
return 'Développeur web';
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
if (isFront && isManager) return 'Responsable comptable';
|
|
125
|
-
if (isFront && isStagiaireOrAlternant) return 'Assistant comptable';
|
|
126
|
-
// if (isFront) return `Comptable dédié${user.idCivility === 2 ? 'e' : ''}`;
|
|
127
|
-
// return `Comptable dédié${user.idCivility === 2 ? 'e' : ''}`;
|
|
128
|
-
// if (isFront) return `Comptable`;
|
|
129
|
-
return 'Comptable';
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export function getHoraires(user: IUser) {
|
|
133
|
-
// On affiche les horaires uniquement pour les front, et pas pour les TVA
|
|
134
|
-
|
|
135
|
-
// if (
|
|
136
|
-
// isItThisEnv('Pourcentage') &&
|
|
137
|
-
// user?.entity &&
|
|
138
|
-
// [EntityType.COMPTALIB, EntityType.AMEX, EntityType.CABINET_RONCHIERI_LANDRA].includes(user.entity)
|
|
139
|
-
// ) {
|
|
140
|
-
// return 'Du lundi au vendredi de 9h à 18h';
|
|
141
|
-
// }
|
|
142
|
-
|
|
143
|
-
if (user?.roles?.map((r: IRole) => r.id).includes(Role.COMMERCIAL)) {
|
|
144
|
-
return 'Du lundi au vendredi de 9h à 18h';
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
return 'Du lundi au jeudi de 9h à 17h<br/>Le vendredi de 9h à 12h';
|
|
148
|
-
|
|
149
|
-
// if (!intersection([user.roles.map((r: any) => r.id), [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.COMMERCIAL]]).length) return 'Du lundi au vendredi de 9h à 18h';
|
|
150
|
-
|
|
151
|
-
// if (!user.workingSchedules.length) return 'Du lundi au vendredi de 9h à 18h';
|
|
152
|
-
|
|
153
|
-
// let reducedSchedules = user.workingSchedules.reduce((acc: any, e:any, index: number) => {
|
|
154
|
-
// const name = `${dayjs(e.morningStart, 'HH:mm:ss').format('HH:mm')}-${dayjs(e.afternoonEnd || e.morningEnd, 'HH:mm:ss').format('HH:mm')}`;
|
|
155
|
-
// if (!acc[name]) acc[name] = [index];
|
|
156
|
-
// else acc[name].push(index);
|
|
157
|
-
// return acc;
|
|
158
|
-
// }, {});
|
|
159
|
-
|
|
160
|
-
// reducedSchedules = orderByLodash(reducedSchedules, (elem) => elem.length, ['desc']);
|
|
161
|
-
|
|
162
|
-
// let resultHoraire = '';
|
|
163
|
-
// let startH;
|
|
164
|
-
// let startM;
|
|
165
|
-
// let endH;
|
|
166
|
-
// let endM;
|
|
167
|
-
// let firstDayOfWeek;
|
|
168
|
-
// let lastDayOfWeek;
|
|
169
|
-
|
|
170
|
-
// reducedSchedules.forEach((schedule: any, index: number) => {
|
|
171
|
-
// startH = dayjs(user.workingSchedules[schedule[0]].morningStart ? user.workingSchedules[schedule[0]].morningStart : user.workingSchedules[schedule[0]].afternoonStart, 'HH:mm:ss').get('hour');
|
|
172
|
-
// startM = dayjs(user.workingSchedules[schedule[0]].morningStart ? user.workingSchedules[schedule[0]].morningStart : user.workingSchedules[schedule[0]].afternoonStart, 'HH:mm:ss').get('minute');
|
|
173
|
-
// endH = dayjs(user.workingSchedules[schedule[0]].afternoonEnd || user.workingSchedules[schedule[0]].morningEnd, 'HH:mm:ss').get('hour');
|
|
174
|
-
// endM = dayjs(user.workingSchedules[schedule[0]].afternoonEnd || user.workingSchedules[schedule[0]].morningEnd, 'HH:mm:ss').get('minute');
|
|
175
|
-
// firstDayOfWeek = dayjs().locale('fr').day(user.workingSchedules[schedule[0]].idDay).format('dddd');
|
|
176
|
-
// if (!index) {
|
|
177
|
-
// // pour le premier index, on affiche l'amplitude horaire la plus commune, du XX au XX de Xh à Xh
|
|
178
|
-
// lastDayOfWeek = dayjs().locale('fr').day(user.workingSchedules[user.workingSchedules.length - 1].idDay).format('dddd');
|
|
179
|
-
// resultHoraire += `Du ${firstDayOfWeek} au ${lastDayOfWeek} de ${startH}h${startM > 0 ? startM : ''} à ${endH}h${endM > 0 ? endM : ''}`;
|
|
180
|
-
// } else { // Fonctionnel si uniquement un jour par semaine avec des horaires différents
|
|
181
|
-
// resultHoraire += `<br/>Le ${firstDayOfWeek} de ${startH}h${startM > 0 ? startM : ''} à ${endH}h${endM > 0 ? endM : ''}`;
|
|
182
|
-
// }
|
|
183
|
-
// });
|
|
184
|
-
// return resultHoraire;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
function getMailSignature(user: any, idTypeBrand: number) {
|
|
188
|
-
const informatiqueMail = getBrandConfig({
|
|
189
|
-
...(idTypeBrand ? { idTypeBrand } : {}),
|
|
190
|
-
objectWaited: 'listMails.informatique',
|
|
191
|
-
}) as unknown as string;
|
|
192
|
-
const bonjourMail = getBrandConfig({
|
|
193
|
-
...(idTypeBrand ? { idTypeBrand } : {}),
|
|
194
|
-
objectWaited: 'listMails.bonjour',
|
|
195
|
-
}) as unknown as string;
|
|
196
|
-
|
|
197
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
198
|
-
if (user.roles.map((r: any) => r.id).includes(Role.ADMIN)) {
|
|
199
|
-
return informatiqueMail;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
if (
|
|
203
|
-
user &&
|
|
204
|
-
!!intersection(
|
|
205
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
206
|
-
user.roles.map((r: any) => r.id),
|
|
207
|
-
[Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.DATA_OFFICER, Role.COMMERCIAL, Role.TECHNICAL_ADVISOR],
|
|
208
|
-
).length
|
|
209
|
-
)
|
|
210
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
211
|
-
return user.email;
|
|
212
|
-
return bonjourMail;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
function getPhoneSignature(user: any) {
|
|
216
|
-
if (user.phone && user.phone !== '0383931414') {
|
|
217
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
218
|
-
return user.phone.replace(/\B(?=(\d{2})+(?!\d))/g, ' ');
|
|
219
|
-
}
|
|
220
|
-
return null;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
export function generateSignature(params: any): string {
|
|
224
|
-
const { fromAddress = null, idTypeBrand = 1, calendlyUrl = null, ...otherParams } = params;
|
|
225
|
-
let { user, forceRole = null } = otherParams;
|
|
226
|
-
|
|
227
|
-
const brand = getBrand({ idTypeBrand });
|
|
228
|
-
|
|
229
|
-
const hostS3 = brand.urlS3;
|
|
230
|
-
|
|
231
|
-
const brandName = brand.name;
|
|
232
|
-
const brandCity = brand.companyInformation?.city;
|
|
233
|
-
const brandPostalAddress = brand.companyInformation?.postalAddress || '';
|
|
234
|
-
const commercialName = brand.commercialName;
|
|
235
|
-
const iban = brand.bank?.IBAN;
|
|
236
|
-
const bic = brand.bank?.BIC;
|
|
237
|
-
const bonjourMail = brand.listMails?.bonjour || '';
|
|
238
|
-
const socialMail = brand.listMails?.social || '';
|
|
239
|
-
const dataOfficerMail = brand.listMails?.gestion || '';
|
|
240
|
-
const satisfactionMail = brand.listMails?.satisfaction || '';
|
|
241
|
-
const resiliationMail = brand.listMails?.resiliation || '';
|
|
242
|
-
const supportMail = brand.listMails?.support || '';
|
|
243
|
-
const juridiqueMail = brand.listMails?.juridique || '';
|
|
244
|
-
const facturationMail = brand.listMails?.facturation || '';
|
|
245
|
-
const primaryColor = brand.colors?.primary || '';
|
|
246
|
-
const standardPhoneSignature = brand.listPhones?.contact || '';
|
|
247
|
-
const juridiquePhoneSignature = brand.listPhones?.juridique || '';
|
|
248
|
-
const socialPhoneSignature = brand.listPhones?.social || '';
|
|
249
|
-
|
|
250
|
-
// Pour les cas hybrides des personnes ayant plusieurs rôles
|
|
251
|
-
// Comme Morgane (Facturation + Satisfaction) et qui peut choisir plusieurs emails d'expédition
|
|
252
|
-
// Il faut que la signature corresponde à l'adresse d'expédition
|
|
253
|
-
// donc actuellement, on ne gère que satisfaction/resiliation/facturation
|
|
254
|
-
const listGenericEmails: { email: string; forceRole: string }[] = [
|
|
255
|
-
{ email: satisfactionMail, forceRole: 'satisfaction' },
|
|
256
|
-
{ email: resiliationMail, forceRole: 'resiliation' },
|
|
257
|
-
{ email: facturationMail, forceRole: 'facturation' },
|
|
258
|
-
];
|
|
259
|
-
const genericEmailUsed = listGenericEmails.find((e) => e.email === fromAddress);
|
|
260
|
-
if (genericEmailUsed) {
|
|
261
|
-
forceRole = genericEmailUsed.forceRole;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
let roleSignature: string | null;
|
|
265
|
-
let mailSignature: string | null;
|
|
266
|
-
let phoneSignature: string | null;
|
|
267
|
-
let horaires: string | null;
|
|
268
|
-
[roleSignature, mailSignature, phoneSignature, horaires] = [
|
|
269
|
-
'Expert-Comptable',
|
|
270
|
-
bonjourMail,
|
|
271
|
-
null,
|
|
272
|
-
'Du lundi au vendredi de 9h à 18h',
|
|
273
|
-
];
|
|
274
|
-
|
|
275
|
-
if (user?.roles && user.roles.some((r: any) => r.id === Role.DATA_OFFICER)) {
|
|
276
|
-
// Signature data_officer
|
|
277
|
-
user = {
|
|
278
|
-
firstname: `L'équipe ${commercialName}`,
|
|
279
|
-
isAll: true,
|
|
280
|
-
};
|
|
281
|
-
mailSignature = dataOfficerMail;
|
|
282
|
-
roleSignature = '';
|
|
283
|
-
} else if (
|
|
284
|
-
intersection(
|
|
285
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
286
|
-
(user?.roles ?? []).map((r: any) => r.id),
|
|
287
|
-
[Role.FRONT_OFFICE, Role.SENIOR],
|
|
288
|
-
).length === 2
|
|
289
|
-
) {
|
|
290
|
-
// Signature front senior
|
|
291
|
-
user = {
|
|
292
|
-
firstname: `L'équipe ${commercialName}`,
|
|
293
|
-
isAll: true,
|
|
294
|
-
};
|
|
295
|
-
mailSignature = bonjourMail;
|
|
296
|
-
roleSignature = '';
|
|
297
|
-
} else if (forceRole === 'satisfaction') {
|
|
298
|
-
// Signature satisfaction
|
|
299
|
-
user = {
|
|
300
|
-
firstname: 'Service satisfaction clients',
|
|
301
|
-
isAll: true,
|
|
302
|
-
};
|
|
303
|
-
mailSignature = satisfactionMail;
|
|
304
|
-
roleSignature = '';
|
|
305
|
-
phoneSignature = standardPhoneSignature;
|
|
306
|
-
} else if (forceRole === 'resiliation') {
|
|
307
|
-
// Signature resiliation
|
|
308
|
-
user = {
|
|
309
|
-
firstname: 'Service satisfaction clients',
|
|
310
|
-
isAll: true,
|
|
311
|
-
};
|
|
312
|
-
mailSignature = resiliationMail;
|
|
313
|
-
roleSignature = '';
|
|
314
|
-
phoneSignature = standardPhoneSignature;
|
|
315
|
-
} else if (forceRole === 'social') {
|
|
316
|
-
// Signature social
|
|
317
|
-
user = {
|
|
318
|
-
firstname: 'Service social',
|
|
319
|
-
isAll: true,
|
|
320
|
-
};
|
|
321
|
-
mailSignature = socialMail;
|
|
322
|
-
roleSignature = '';
|
|
323
|
-
phoneSignature = socialPhoneSignature;
|
|
324
|
-
} else if (forceRole === 'support') {
|
|
325
|
-
// Signature support
|
|
326
|
-
user = {
|
|
327
|
-
firstname: 'Service Support',
|
|
328
|
-
isAll: true,
|
|
329
|
-
};
|
|
330
|
-
mailSignature = supportMail;
|
|
331
|
-
roleSignature = null;
|
|
332
|
-
} else if (forceRole === 'juridique') {
|
|
333
|
-
// Signature juridique
|
|
334
|
-
user = {
|
|
335
|
-
firstname: 'Service juridique',
|
|
336
|
-
isAll: true,
|
|
337
|
-
};
|
|
338
|
-
mailSignature = juridiqueMail;
|
|
339
|
-
roleSignature = null;
|
|
340
|
-
phoneSignature = juridiquePhoneSignature;
|
|
341
|
-
} else if (forceRole === 'facturation') {
|
|
342
|
-
// Signature facturation
|
|
343
|
-
user = {
|
|
344
|
-
firstname: 'Service facturation',
|
|
345
|
-
isAll: true,
|
|
346
|
-
};
|
|
347
|
-
mailSignature = facturationMail;
|
|
348
|
-
roleSignature = null;
|
|
349
|
-
phoneSignature = standardPhoneSignature;
|
|
350
|
-
} else if (!user || forceRole === 'generique') {
|
|
351
|
-
// Signature Clementine
|
|
352
|
-
user = {
|
|
353
|
-
firstname: `L'équipe ${commercialName}`,
|
|
354
|
-
isAll: true,
|
|
355
|
-
};
|
|
356
|
-
roleSignature = '';
|
|
357
|
-
} else if (user !== 0) {
|
|
358
|
-
// Signature par défaut
|
|
359
|
-
roleSignature = getRoleSignature(user);
|
|
360
|
-
mailSignature = getMailSignature(user, idTypeBrand);
|
|
361
|
-
horaires = getHoraires(user);
|
|
362
|
-
phoneSignature = getPhoneSignature(user);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
if (calendlyUrl) {
|
|
366
|
-
user.calendlyUrl = calendlyUrl;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
return ejs.render(
|
|
370
|
-
signatureTemplate,
|
|
371
|
-
{
|
|
372
|
-
forceRole,
|
|
373
|
-
isFacturation: user.roles ? user.roles.some((r: any) => r.id === Role.FACTURATION) : false,
|
|
374
|
-
isDataOfficer: user.roles ? user.roles.some((r: any) => r.id === Role.DATA_OFFICER) : true,
|
|
375
|
-
brandName,
|
|
376
|
-
brandPostalAddress,
|
|
377
|
-
brandCity,
|
|
378
|
-
idTypeBrand,
|
|
379
|
-
commercialName,
|
|
380
|
-
iban,
|
|
381
|
-
bic,
|
|
382
|
-
hostS3,
|
|
383
|
-
user,
|
|
384
|
-
roleSignature,
|
|
385
|
-
mailSignature,
|
|
386
|
-
phoneSignature:
|
|
387
|
-
commercialName !== 'Comptalib' && phoneSignature ? phoneSignature.replace(/\s+/gm, ' ') : null,
|
|
388
|
-
standardPhoneSignature: commercialName !== 'Comptalib' ? standardPhoneSignature.replace(/\s+/gm, ' ') : null,
|
|
389
|
-
horaires,
|
|
390
|
-
primaryColor,
|
|
391
|
-
supportMail,
|
|
392
|
-
},
|
|
393
|
-
{},
|
|
394
|
-
);
|
|
395
|
-
}
|