@silexpert/core 1.0.202 → 1.0.204
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/es/api/resources/Rule.d.ts +1 -0
- package/es/api/resources/Rule.d.ts.map +1 -1
- package/es/api/resources/Rule.js +3 -0
- package/es/api/resources/Rule.js.map +1 -1
- package/es/types/Enum/Activity.d.ts +50 -0
- package/es/types/Enum/Activity.d.ts.map +1 -1
- package/es/types/Enum/Activity.js +50 -0
- package/es/types/Enum/Activity.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +3 -3
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/ConnectorType.d.ts +0 -1
- package/es/types/Enum/ConnectorType.d.ts.map +1 -1
- package/es/types/Enum/ConnectorType.js +1 -1
- package/es/types/Enum/ConnectorType.js.map +1 -1
- package/es/types/Enum/PrestationType.d.ts +4 -1
- package/es/types/Enum/PrestationType.d.ts.map +1 -1
- package/es/types/Enum/PrestationType.js +54 -0
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Interface/api/exercice/QueryExercice.d.ts +1 -0
- package/es/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/QueryExercice.js +7 -0
- package/es/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/es/types/Interface/api/society/CreateSocietyDetail.d.ts +6 -0
- package/es/types/Interface/api/society/CreateSocietyDetail.d.ts.map +1 -0
- package/es/types/Interface/api/society/CreateSocietyDetail.js +32 -0
- package/es/types/Interface/api/society/CreateSocietyDetail.js.map +1 -0
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +15 -0
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -0
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +71 -0
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -0
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.d.ts +4 -0
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.d.ts.map +1 -0
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.js +19 -0
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +1 -0
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.d.ts +5 -0
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.d.ts.map +1 -0
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.js +26 -0
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.js.map +1 -0
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.d.ts +5 -0
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.d.ts.map +1 -0
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.js +26 -0
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +1 -0
- package/es/types/Interface/models/IAccountingEntry.d.ts +0 -2
- package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +0 -2
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/ISocietyDetail.d.ts +97 -97
- package/es/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyDetail.js.map +1 -1
- package/es/types/Interface/models/ISupervision.d.ts +0 -4
- package/es/types/Interface/models/ISupervision.d.ts.map +1 -1
- package/es/types/Interface/models/ISupervision.js.map +1 -1
- package/es/types/index.d.ts +4 -20
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +4 -20
- package/es/types/index.js.map +1 -1
- package/es/utils/amount.d.ts +1 -0
- package/es/utils/amount.d.ts.map +1 -1
- package/es/utils/amount.js +300 -0
- package/es/utils/amount.js.map +1 -1
- package/js/api/resources/Rule.js +3 -0
- package/js/api/resources/Rule.js.map +1 -1
- package/js/types/Enum/Activity.js +50 -0
- package/js/types/Enum/Activity.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +3 -3
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/ConnectorType.js +1 -1
- package/js/types/Enum/ConnectorType.js.map +1 -1
- package/js/types/Enum/PrestationType.js +54 -0
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Interface/api/exercice/QueryExercice.js +1 -0
- package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/js/types/Interface/api/society/CreateSocietyDetail.js +24 -0
- package/js/types/Interface/api/society/CreateSocietyDetail.js.map +1 -0
- package/js/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +34 -0
- package/js/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -0
- package/js/types/Interface/api/statutsGeneration/SendInviteMailParams.js +22 -0
- package/js/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +1 -0
- package/js/types/Interface/api/statutsGeneration/UpdateExercice.js +23 -0
- package/js/types/Interface/api/statutsGeneration/UpdateExercice.js.map +1 -0
- package/js/types/Interface/api/statutsGeneration/UpdateExerciceParams.js +23 -0
- package/js/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +1 -0
- package/js/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/js/types/Interface/models/ISociety.js.map +1 -1
- package/js/types/Interface/models/ISocietyDetail.js.map +1 -1
- package/js/types/Interface/models/ISupervision.js.map +1 -1
- package/js/types/index.js +40 -200
- package/js/types/index.js.map +1 -1
- package/js/utils/amount.js +238 -0
- package/js/utils/amount.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Rule.ts +4 -0
- package/ts/types/Enum/Activity.ts +52 -1
- package/ts/types/Enum/BrandLegalstart.ts +3 -3
- package/ts/types/Enum/ConnectorType.ts +1 -1
- package/ts/types/Enum/PrestationType.ts +54 -0
- package/ts/types/Interface/api/exercice/QueryExercice.ts +6 -0
- package/ts/types/Interface/api/society/CreateSocietyDetail.ts +19 -0
- package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +54 -0
- package/ts/types/Interface/api/statutsGeneration/SendInviteMailParams.ts +10 -0
- package/ts/types/Interface/api/statutsGeneration/UpdateExercice.ts +16 -0
- package/ts/types/Interface/api/statutsGeneration/UpdateExerciceParams.ts +16 -0
- package/ts/types/Interface/models/IAccountingEntry.ts +0 -2
- package/ts/types/Interface/models/ISociety.ts +0 -2
- package/ts/types/Interface/models/ISocietyDetail.ts +97 -97
- package/ts/types/Interface/models/ISupervision.ts +0 -4
- package/ts/types/index.ts +4 -20
- package/ts/utils/amount.ts +171 -0
- package/es/types/Interface/models/IAccountingTransaction_new.d.ts +0 -18
- package/es/types/Interface/models/IAccountingTransaction_new.d.ts.map +0 -1
- package/es/types/Interface/models/IAccountingTransaction_new.js +0 -2
- package/es/types/Interface/models/IAccountingTransaction_new.js.map +0 -1
- package/es/types/Interface/models/IAutoLoginToken.d.ts +0 -10
- package/es/types/Interface/models/IAutoLoginToken.d.ts.map +0 -1
- package/es/types/Interface/models/IAutoLoginToken.js +0 -2
- package/es/types/Interface/models/IAutoLoginToken.js.map +0 -1
- package/es/types/Interface/models/IBankTransaction.d.ts +0 -34
- package/es/types/Interface/models/IBankTransaction.d.ts.map +0 -1
- package/es/types/Interface/models/IBankTransaction.js +0 -2
- package/es/types/Interface/models/IBankTransaction.js.map +0 -1
- package/es/types/Interface/models/ICallDirectly.d.ts +0 -26
- package/es/types/Interface/models/ICallDirectly.d.ts.map +0 -1
- package/es/types/Interface/models/ICallDirectly.js +0 -2
- package/es/types/Interface/models/ICallDirectly.js.map +0 -1
- package/es/types/Interface/models/IFaq.d.ts +0 -15
- package/es/types/Interface/models/IFaq.d.ts.map +0 -1
- package/es/types/Interface/models/IFaq.js +0 -2
- package/es/types/Interface/models/IFaq.js.map +0 -1
- package/es/types/Interface/models/IFaqCategory.d.ts +0 -5
- package/es/types/Interface/models/IFaqCategory.d.ts.map +0 -1
- package/es/types/Interface/models/IFaqCategory.js +0 -2
- package/es/types/Interface/models/IFaqCategory.js.map +0 -1
- package/es/types/Interface/models/IFollowedQualityMail.d.ts +0 -13
- package/es/types/Interface/models/IFollowedQualityMail.d.ts.map +0 -1
- package/es/types/Interface/models/IFollowedQualityMail.js +0 -2
- package/es/types/Interface/models/IFollowedQualityMail.js.map +0 -1
- package/es/types/Interface/models/IFollowedQualityMailType.d.ts +0 -7
- package/es/types/Interface/models/IFollowedQualityMailType.d.ts.map +0 -1
- package/es/types/Interface/models/IFollowedQualityMailType.js +0 -2
- package/es/types/Interface/models/IFollowedQualityMailType.js.map +0 -1
- package/es/types/Interface/models/IIdentification.d.ts +0 -18
- package/es/types/Interface/models/IIdentification.d.ts.map +0 -1
- package/es/types/Interface/models/IIdentification.js +0 -2
- package/es/types/Interface/models/IIdentification.js.map +0 -1
- package/es/types/Interface/models/IJob.d.ts +0 -12
- package/es/types/Interface/models/IJob.d.ts.map +0 -1
- package/es/types/Interface/models/IJob.js +0 -2
- package/es/types/Interface/models/IJob.js.map +0 -1
- package/es/types/Interface/models/IJobCategory.d.ts +0 -9
- package/es/types/Interface/models/IJobCategory.d.ts.map +0 -1
- package/es/types/Interface/models/IJobCategory.js +0 -2
- package/es/types/Interface/models/IJobCategory.js.map +0 -1
- package/es/types/Interface/models/IPenalty.d.ts +0 -27
- package/es/types/Interface/models/IPenalty.d.ts.map +0 -1
- package/es/types/Interface/models/IPenalty.js +0 -2
- package/es/types/Interface/models/IPenalty.js.map +0 -1
- package/es/types/Interface/models/IPenaltyType.d.ts +0 -7
- package/es/types/Interface/models/IPenaltyType.d.ts.map +0 -1
- package/es/types/Interface/models/IPenaltyType.js +0 -2
- package/es/types/Interface/models/IPenaltyType.js.map +0 -1
- package/es/types/Interface/models/ISuggestion.d.ts +0 -14
- package/es/types/Interface/models/ISuggestion.d.ts.map +0 -1
- package/es/types/Interface/models/ISuggestion.js +0 -2
- package/es/types/Interface/models/ISuggestion.js.map +0 -1
- package/es/types/Interface/models/ISupervisionJob.d.ts +0 -8
- package/es/types/Interface/models/ISupervisionJob.d.ts.map +0 -1
- package/es/types/Interface/models/ISupervisionJob.js +0 -2
- package/es/types/Interface/models/ISupervisionJob.js.map +0 -1
- package/es/types/Interface/models/ITmpValidationToken.d.ts +0 -11
- package/es/types/Interface/models/ITmpValidationToken.d.ts.map +0 -1
- package/es/types/Interface/models/ITmpValidationToken.js +0 -2
- package/es/types/Interface/models/ITmpValidationToken.js.map +0 -1
- package/es/types/Interface/models/IUserSocietyTicketSupport.d.ts +0 -9
- package/es/types/Interface/models/IUserSocietyTicketSupport.d.ts.map +0 -1
- package/es/types/Interface/models/IUserSocietyTicketSupport.js +0 -2
- package/es/types/Interface/models/IUserSocietyTicketSupport.js.map +0 -1
- package/es/types/Interface/models/IVatMargin.d.ts +0 -7
- package/es/types/Interface/models/IVatMargin.d.ts.map +0 -1
- package/es/types/Interface/models/IVatMargin.js +0 -2
- package/es/types/Interface/models/IVatMargin.js.map +0 -1
- package/es/types/Interface/models/IWebMailSpam.d.ts +0 -8
- package/es/types/Interface/models/IWebMailSpam.d.ts.map +0 -1
- package/es/types/Interface/models/IWebMailSpam.js +0 -2
- package/es/types/Interface/models/IWebMailSpam.js.map +0 -1
- package/es/types/Interface/models/IWebMailSpamType.d.ts +0 -7
- package/es/types/Interface/models/IWebMailSpamType.d.ts.map +0 -1
- package/es/types/Interface/models/IWebMailSpamType.js +0 -2
- package/es/types/Interface/models/IWebMailSpamType.js.map +0 -1
- package/js/types/Interface/models/IAccountingTransaction_new.js +0 -6
- package/js/types/Interface/models/IAccountingTransaction_new.js.map +0 -1
- package/js/types/Interface/models/IAutoLoginToken.js +0 -6
- package/js/types/Interface/models/IAutoLoginToken.js.map +0 -1
- package/js/types/Interface/models/IBankTransaction.js +0 -6
- package/js/types/Interface/models/IBankTransaction.js.map +0 -1
- package/js/types/Interface/models/ICallDirectly.js +0 -6
- package/js/types/Interface/models/ICallDirectly.js.map +0 -1
- package/js/types/Interface/models/IFaq.js +0 -6
- package/js/types/Interface/models/IFaq.js.map +0 -1
- package/js/types/Interface/models/IFaqCategory.js +0 -6
- package/js/types/Interface/models/IFaqCategory.js.map +0 -1
- package/js/types/Interface/models/IFollowedQualityMail.js +0 -6
- package/js/types/Interface/models/IFollowedQualityMail.js.map +0 -1
- package/js/types/Interface/models/IFollowedQualityMailType.js +0 -6
- package/js/types/Interface/models/IFollowedQualityMailType.js.map +0 -1
- package/js/types/Interface/models/IIdentification.js +0 -6
- package/js/types/Interface/models/IIdentification.js.map +0 -1
- package/js/types/Interface/models/IJob.js +0 -6
- package/js/types/Interface/models/IJob.js.map +0 -1
- package/js/types/Interface/models/IJobCategory.js +0 -6
- package/js/types/Interface/models/IJobCategory.js.map +0 -1
- package/js/types/Interface/models/IPenalty.js +0 -6
- package/js/types/Interface/models/IPenalty.js.map +0 -1
- package/js/types/Interface/models/IPenaltyType.js +0 -6
- package/js/types/Interface/models/IPenaltyType.js.map +0 -1
- package/js/types/Interface/models/ISuggestion.js +0 -6
- package/js/types/Interface/models/ISuggestion.js.map +0 -1
- package/js/types/Interface/models/ISupervisionJob.js +0 -6
- package/js/types/Interface/models/ISupervisionJob.js.map +0 -1
- package/js/types/Interface/models/ITmpValidationToken.js +0 -6
- package/js/types/Interface/models/ITmpValidationToken.js.map +0 -1
- package/js/types/Interface/models/IUserSocietyTicketSupport.js +0 -6
- package/js/types/Interface/models/IUserSocietyTicketSupport.js.map +0 -1
- package/js/types/Interface/models/IVatMargin.js +0 -6
- package/js/types/Interface/models/IVatMargin.js.map +0 -1
- package/js/types/Interface/models/IWebMailSpam.js +0 -6
- package/js/types/Interface/models/IWebMailSpam.js.map +0 -1
- package/js/types/Interface/models/IWebMailSpamType.js +0 -6
- package/js/types/Interface/models/IWebMailSpamType.js.map +0 -1
- package/ts/types/Interface/models/IAccountingTransaction_new.ts +0 -20
- package/ts/types/Interface/models/IAutoLoginToken.ts +0 -10
- package/ts/types/Interface/models/IBankTransaction.ts +0 -37
- package/ts/types/Interface/models/ICallDirectly.ts +0 -29
- package/ts/types/Interface/models/IFaq.ts +0 -18
- package/ts/types/Interface/models/IFaqCategory.ts +0 -5
- package/ts/types/Interface/models/IFollowedQualityMail.ts +0 -16
- package/ts/types/Interface/models/IFollowedQualityMailType.ts +0 -7
- package/ts/types/Interface/models/IIdentification.ts +0 -21
- package/ts/types/Interface/models/IJob.ts +0 -15
- package/ts/types/Interface/models/IJobCategory.ts +0 -12
- package/ts/types/Interface/models/IPenalty.ts +0 -30
- package/ts/types/Interface/models/IPenaltyType.ts +0 -7
- package/ts/types/Interface/models/ISuggestion.ts +0 -17
- package/ts/types/Interface/models/ISupervisionJob.ts +0 -8
- package/ts/types/Interface/models/ITmpValidationToken.ts +0 -14
- package/ts/types/Interface/models/IUserSocietyTicketSupport.ts +0 -9
- package/ts/types/Interface/models/IVatMargin.ts +0 -7
- package/ts/types/Interface/models/IWebMailSpam.ts +0 -8
- package/ts/types/Interface/models/IWebMailSpamType.ts +0 -7
|
@@ -5,105 +5,105 @@ import { ISociety } from './ISociety';
|
|
|
5
5
|
// societyDetails
|
|
6
6
|
export interface ISocietyDetail {
|
|
7
7
|
id?: number;
|
|
8
|
-
detailActivity
|
|
9
|
-
historyComments
|
|
10
|
-
isLoans
|
|
11
|
-
loans
|
|
12
|
-
personnalContribution
|
|
13
|
-
nbBanks
|
|
14
|
-
nbBankaccounts
|
|
15
|
-
isCashdesk
|
|
16
|
-
nbTva
|
|
17
|
-
professionnalRent
|
|
18
|
-
isPersoAdress
|
|
19
|
-
vehicle
|
|
20
|
-
interestOtherCompanies
|
|
21
|
-
nbAssociates
|
|
22
|
-
nbEmployees
|
|
23
|
-
hiringPromess
|
|
24
|
-
aNouveaux
|
|
25
|
-
bilanN1
|
|
26
|
-
revisionDate
|
|
27
|
-
dateFirstContact
|
|
28
|
-
userIdFirstContact
|
|
29
|
-
tauxTvaComment
|
|
30
|
-
remarqueComment
|
|
31
|
-
remarqueCommentCab
|
|
32
|
-
acceptation
|
|
33
|
-
userIdAcceptation
|
|
34
|
-
lab
|
|
35
|
-
userIdLab
|
|
36
|
-
previsionCa
|
|
37
|
-
externalMeans
|
|
38
|
-
needTreasury
|
|
39
|
-
judiciaryRecovery
|
|
40
|
-
fiscalControl
|
|
41
|
-
descriptionFormation
|
|
42
|
-
fonctionAndInterlocutors
|
|
43
|
-
managementKnowledge
|
|
44
|
-
otherIncome
|
|
45
|
-
politicalResponsability
|
|
46
|
-
prohibitedBanking
|
|
47
|
-
accreARCEOrARE
|
|
48
|
-
frenchTaxResident
|
|
49
|
-
isIrTaxable
|
|
50
|
-
billingSoftware
|
|
51
|
-
collectionSystem
|
|
52
|
-
flowSheet
|
|
53
|
-
rankFiles
|
|
54
|
-
specificNeeds
|
|
55
|
-
configAccount
|
|
56
|
-
investissement
|
|
57
|
-
workInternationnal
|
|
58
|
-
creationEntreprise
|
|
59
|
-
oldActivite
|
|
60
|
-
indemnite
|
|
61
|
-
findClementine
|
|
62
|
-
validationDate
|
|
63
|
-
idSociety
|
|
64
|
-
idUser
|
|
65
|
-
idFile
|
|
66
|
-
idFileToClient
|
|
67
|
-
idFindClementine
|
|
68
|
-
nbAssociatesInCompany
|
|
69
|
-
hasCommercialLease
|
|
70
|
-
amountBaseBefore
|
|
71
|
-
trainingIsDone
|
|
72
|
-
commercialArea
|
|
73
|
-
commercialRentAmount
|
|
74
|
-
hasTravellingExpenses
|
|
75
|
-
personnalContributionCapital
|
|
76
|
-
personnalContributionCurrentBankAccount
|
|
77
|
-
personnalContributionInKind
|
|
78
|
-
poleEmploiAid
|
|
79
|
-
poleEmploiAidType
|
|
80
|
-
honorLoan
|
|
81
|
-
honorLoanAmount
|
|
82
|
-
financingStartingStock
|
|
83
|
-
financingStartingStockAmount
|
|
84
|
-
yearSocietyCreation
|
|
85
|
-
lastExerciceCA
|
|
86
|
-
borrowingInProgress
|
|
87
|
-
borrowingInProgressAmount
|
|
88
|
-
investissementCTMT
|
|
89
|
-
changeECReason
|
|
90
|
-
isSocietyCreation
|
|
91
|
-
participationsInOtherSociety
|
|
92
|
-
entrepriseProject
|
|
93
|
-
contractorProfil
|
|
94
|
-
notificationForConstitution
|
|
95
|
-
notificationForOtherMissions
|
|
96
|
-
takeKnowledge
|
|
97
|
-
bankSynchronisationState
|
|
98
|
-
platformExplanation
|
|
99
|
-
mobileAppInstallationProposal
|
|
100
|
-
verifiedDocuments
|
|
8
|
+
detailActivity?: string | null;
|
|
9
|
+
historyComments?: string | null;
|
|
10
|
+
isLoans?: string | null;
|
|
11
|
+
loans?: string | null;
|
|
12
|
+
personnalContribution?: string | null;
|
|
13
|
+
nbBanks?: string | null;
|
|
14
|
+
nbBankaccounts?: number | null;
|
|
15
|
+
isCashdesk?: boolean | null;
|
|
16
|
+
nbTva?: number | null;
|
|
17
|
+
professionnalRent?: string | null;
|
|
18
|
+
isPersoAdress?: string | null;
|
|
19
|
+
vehicle?: string | null;
|
|
20
|
+
interestOtherCompanies?: string | null;
|
|
21
|
+
nbAssociates?: number | null;
|
|
22
|
+
nbEmployees?: number | null;
|
|
23
|
+
hiringPromess?: string | null;
|
|
24
|
+
aNouveaux?: boolean | null;
|
|
25
|
+
bilanN1?: boolean | null;
|
|
26
|
+
revisionDate?: Date | null;
|
|
27
|
+
dateFirstContact?: Date | null;
|
|
28
|
+
userIdFirstContact?: number | null;
|
|
29
|
+
tauxTvaComment?: string | null;
|
|
30
|
+
remarqueComment?: string | null;
|
|
31
|
+
remarqueCommentCab?: string | null;
|
|
32
|
+
acceptation?: number | null;
|
|
33
|
+
userIdAcceptation?: number | null;
|
|
34
|
+
lab?: boolean | null;
|
|
35
|
+
userIdLab?: number | null;
|
|
36
|
+
previsionCa?: string | null;
|
|
37
|
+
externalMeans?: string | null;
|
|
38
|
+
needTreasury?: string | null;
|
|
39
|
+
judiciaryRecovery?: string | null;
|
|
40
|
+
fiscalControl?: string | null;
|
|
41
|
+
descriptionFormation?: string | null;
|
|
42
|
+
fonctionAndInterlocutors?: string | null;
|
|
43
|
+
managementKnowledge?: string | null;
|
|
44
|
+
otherIncome?: string | null;
|
|
45
|
+
politicalResponsability?: string | null;
|
|
46
|
+
prohibitedBanking?: string | null;
|
|
47
|
+
accreARCEOrARE?: string | null;
|
|
48
|
+
frenchTaxResident?: string | null;
|
|
49
|
+
isIrTaxable?: string | null;
|
|
50
|
+
billingSoftware?: string | null;
|
|
51
|
+
collectionSystem?: string | null;
|
|
52
|
+
flowSheet?: string | null;
|
|
53
|
+
rankFiles?: string | null;
|
|
54
|
+
specificNeeds?: string | null;
|
|
55
|
+
configAccount?: boolean | null;
|
|
56
|
+
investissement?: string | null;
|
|
57
|
+
workInternationnal?: string | null;
|
|
58
|
+
creationEntreprise?: string | null;
|
|
59
|
+
oldActivite?: string | null;
|
|
60
|
+
indemnite?: string | null;
|
|
61
|
+
findClementine?: string | null;
|
|
62
|
+
validationDate?: Date | null;
|
|
63
|
+
idSociety?: number | null;
|
|
64
|
+
idUser?: number | null;
|
|
65
|
+
idFile?: number | null;
|
|
66
|
+
idFileToClient?: number | null;
|
|
67
|
+
idFindClementine?: number | null;
|
|
68
|
+
nbAssociatesInCompany?: number | null;
|
|
69
|
+
hasCommercialLease?: string | null;
|
|
70
|
+
amountBaseBefore?: number | null;
|
|
71
|
+
trainingIsDone?: boolean;
|
|
72
|
+
commercialArea?: string | null;
|
|
73
|
+
commercialRentAmount?: string | null;
|
|
74
|
+
hasTravellingExpenses?: string | null;
|
|
75
|
+
personnalContributionCapital?: string | null;
|
|
76
|
+
personnalContributionCurrentBankAccount?: string | null;
|
|
77
|
+
personnalContributionInKind?: string | null;
|
|
78
|
+
poleEmploiAid?: string | null;
|
|
79
|
+
poleEmploiAidType?: number | null;
|
|
80
|
+
honorLoan?: string | null;
|
|
81
|
+
honorLoanAmount?: string | null;
|
|
82
|
+
financingStartingStock?: string | null;
|
|
83
|
+
financingStartingStockAmount?: string | null;
|
|
84
|
+
yearSocietyCreation?: string | null;
|
|
85
|
+
lastExerciceCA?: string | null;
|
|
86
|
+
borrowingInProgress?: string | null;
|
|
87
|
+
borrowingInProgressAmount?: string | null;
|
|
88
|
+
investissementCTMT?: string | null;
|
|
89
|
+
changeECReason?: string | null;
|
|
90
|
+
isSocietyCreation?: boolean | null;
|
|
91
|
+
participationsInOtherSociety?: string | null;
|
|
92
|
+
entrepriseProject?: boolean;
|
|
93
|
+
contractorProfil?: boolean;
|
|
94
|
+
notificationForConstitution?: boolean;
|
|
95
|
+
notificationForOtherMissions?: boolean | null;
|
|
96
|
+
takeKnowledge?: boolean;
|
|
97
|
+
bankSynchronisationState?: number | null;
|
|
98
|
+
platformExplanation?:number | null;
|
|
99
|
+
mobileAppInstallationProposal?:number | null;
|
|
100
|
+
verifiedDocuments?: boolean | null;
|
|
101
101
|
createdAt?: Date | null;
|
|
102
102
|
updatedAt?: Date | null;
|
|
103
103
|
|
|
104
104
|
// Associations
|
|
105
|
-
user
|
|
106
|
-
file
|
|
107
|
-
fileToClient
|
|
108
|
-
society
|
|
105
|
+
user?: IUser;
|
|
106
|
+
file?: IFile;
|
|
107
|
+
fileToClient?: IFile;
|
|
108
|
+
society?: ISociety;
|
|
109
109
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { IExercice } from './IExercice';
|
|
2
|
-
import { ISupervisionJob } from './ISupervisionJob';
|
|
3
2
|
import { IUser } from './IUser';
|
|
4
3
|
import { IBalanceSheet } from './IBalanceSheet';
|
|
5
4
|
import { IFile } from './IFile';
|
|
6
5
|
import { IPendingPoint } from './IPendingPoint';
|
|
7
|
-
import { IJob } from './IJob';
|
|
8
6
|
import { ILetter } from './ILetter';
|
|
9
7
|
|
|
10
8
|
// supervisions
|
|
@@ -28,7 +26,6 @@ export interface ISupervision {
|
|
|
28
26
|
|
|
29
27
|
// Associations
|
|
30
28
|
exercice: IExercice;
|
|
31
|
-
supervisionsToJobs: ISupervisionJob[];
|
|
32
29
|
supervisionUsers: IUser;
|
|
33
30
|
supervisionExpertUsers: IUser;
|
|
34
31
|
supervisionAccountant: IUser;
|
|
@@ -36,5 +33,4 @@ export interface ISupervision {
|
|
|
36
33
|
file: IFile;
|
|
37
34
|
letter: ILetter;
|
|
38
35
|
pendingPoints: IPendingPoint[];
|
|
39
|
-
jobs: IJob[];
|
|
40
36
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -25,7 +25,6 @@ export * from './Interface/models/IAbsenceRequestTime';
|
|
|
25
25
|
export * from './Interface/models/IAttachmentFile';
|
|
26
26
|
export * from './Interface/models/IAttestation';
|
|
27
27
|
export * from './Interface/models/IAttributionHistory';
|
|
28
|
-
export * from './Interface/models/IAutoLoginToken';
|
|
29
28
|
export * from './Interface/models/IBalanceBankAccount';
|
|
30
29
|
export * from './Interface/models/IBalanceSheet';
|
|
31
30
|
export * from './Interface/models/IAccountingStatementHistory';
|
|
@@ -33,12 +32,10 @@ export * from './Interface/models/IBankAccountSynchroHistory';
|
|
|
33
32
|
export * from './Interface/models/IBankAccount';
|
|
34
33
|
export * from './Interface/models/IBankConnection';
|
|
35
34
|
export * from './Interface/models/IBankList';
|
|
36
|
-
export * from './Interface/models/IBankTransaction';
|
|
37
35
|
export * from './Interface/models/IBusinessLine';
|
|
38
36
|
export * from './Interface/models/IBusinessPartner';
|
|
39
37
|
export * from './Interface/models/ICalendarEvent';
|
|
40
38
|
export * from './Interface/models/ICalendarEventUser';
|
|
41
|
-
export * from './Interface/models/ICallDirectly';
|
|
42
39
|
export * from './Interface/models/ICategory';
|
|
43
40
|
export * from './Interface/models/ICerfaType';
|
|
44
41
|
export * from './Interface/models/ICerfaValue';
|
|
@@ -71,14 +68,11 @@ export * from './Interface/models/IExerciceComment';
|
|
|
71
68
|
export * from './Interface/models/IExercice';
|
|
72
69
|
export * from './Interface/models/IExercicePrestation';
|
|
73
70
|
export * from './Interface/models/IFailedLoginAttempt';
|
|
74
|
-
export * from './Interface/models/IFaqCategory';
|
|
75
|
-
export * from './Interface/models/IFaq';
|
|
76
71
|
export * from './Interface/models/IFileType';
|
|
77
72
|
export * from './Interface/models/IFile';
|
|
78
73
|
export * from './Interface/models/IFileMissing';
|
|
79
74
|
export * from './Interface/models/IFiscalRegime';
|
|
80
75
|
export * from './Interface/models/IFolderFile';
|
|
81
|
-
export * from './Interface/models/IFollowedQualityMail';
|
|
82
76
|
export * from './Interface/models/IFollow';
|
|
83
77
|
export * from './Interface/models/IFollowList';
|
|
84
78
|
export * from './Interface/models/IFormalismValue';
|
|
@@ -88,14 +82,11 @@ export * from './Interface/models/IFuel';
|
|
|
88
82
|
export * from './Interface/models/IGedCategory';
|
|
89
83
|
export * from './Interface/models/IGedFile';
|
|
90
84
|
export * from './Interface/models/IGedFolder';
|
|
91
|
-
export * from './Interface/models/IIdentification';
|
|
92
85
|
export * from './Interface/models/IIndependentReview';
|
|
93
86
|
export * from './Interface/models/IInternalEstimate';
|
|
94
87
|
export * from './Interface/models/IIpTmpBlocked';
|
|
95
88
|
export * from './Interface/models/IProductInvoice';
|
|
96
|
-
export * from './Interface/models/IJobCategory';
|
|
97
89
|
export * from './Interface/models/IImmobilization';
|
|
98
|
-
export * from './Interface/models/IJob';
|
|
99
90
|
export * from './Interface/models/IKilometricAllowanceScale';
|
|
100
91
|
export * from './Interface/models/ILabelPaymentWaiting';
|
|
101
92
|
export * from './Interface/models/ILegalForm';
|
|
@@ -132,7 +123,6 @@ export * from './Interface/models/IPaymentExpectation';
|
|
|
132
123
|
export * from './Interface/models/IPaymentExpectationCustomer';
|
|
133
124
|
export * from './Interface/models/IPaymentMethod';
|
|
134
125
|
export * from './Interface/models/IPaymentWaiting';
|
|
135
|
-
export * from './Interface/models/IPenalty';
|
|
136
126
|
export * from './Interface/models/IPendingPoint';
|
|
137
127
|
export * from './Interface/models/IPermission';
|
|
138
128
|
export * from './Interface/models/IPhoneNumber';
|
|
@@ -207,7 +197,6 @@ export * from './Interface/models/ISponsorshipCheck';
|
|
|
207
197
|
export * from './Interface/models/IStatusSignature';
|
|
208
198
|
export * from './Interface/models/IStripeEvent';
|
|
209
199
|
export * from './Interface/models/ISupervision';
|
|
210
|
-
export * from './Interface/models/ISupervisionJob';
|
|
211
200
|
export * from './Interface/models/ISupervisionPendingPoint';
|
|
212
201
|
export * from './Interface/models/ISurvey';
|
|
213
202
|
export * from './Interface/models/ITag';
|
|
@@ -221,9 +210,7 @@ export * from './Interface/models/IThirdParty';
|
|
|
221
210
|
export * from './Interface/models/IThirdPartySociety';
|
|
222
211
|
export * from './Interface/models/ITimeTracking';
|
|
223
212
|
export * from './Interface/models/ITimeTrackingSource';
|
|
224
|
-
export * from './Interface/models/ITmpValidationToken';
|
|
225
213
|
export * from './Interface/models/IAccountantTracker';
|
|
226
|
-
export * from './Interface/models/IVatMargin';
|
|
227
214
|
export * from './Interface/models/IVatRegime';
|
|
228
215
|
export * from './Interface/models/IVat';
|
|
229
216
|
export * from './Interface/models/IAbsenceType';
|
|
@@ -242,7 +229,6 @@ export * from './Interface/models/IContractType';
|
|
|
242
229
|
export * from './Interface/models/ICustomizationType';
|
|
243
230
|
export * from './Interface/models/IDocumentWaitingType';
|
|
244
231
|
export * from './Interface/models/IEstimateInvoiceType';
|
|
245
|
-
export * from './Interface/models/IFollowedQualityMailType';
|
|
246
232
|
export * from './Interface/models/IFirstStep';
|
|
247
233
|
export * from './Interface/models/IGedFileType';
|
|
248
234
|
export * from './Interface/models/ILetterType';
|
|
@@ -250,7 +236,6 @@ export * from './Interface/models/ILogType';
|
|
|
250
236
|
export * from './Interface/models/INotificationCodeType';
|
|
251
237
|
export * from './Interface/models/INotificationType';
|
|
252
238
|
export * from './Interface/models/IPartnerTransactionType';
|
|
253
|
-
export * from './Interface/models/IPenaltyType';
|
|
254
239
|
export * from './Interface/models/IRepeatType';
|
|
255
240
|
export * from './Interface/models/IReportType';
|
|
256
241
|
export * from './Interface/models/ISmsType';
|
|
@@ -261,7 +246,6 @@ export * from './Interface/models/IVehicleType';
|
|
|
261
246
|
export * from './Interface/models/IUser';
|
|
262
247
|
export * from './Interface/models/IUserNotification';
|
|
263
248
|
export * from './Interface/models/IUserSocietyPermission';
|
|
264
|
-
export * from './Interface/models/IUserSocietyTicketSupport';
|
|
265
249
|
export * from './Interface/models/IUserTeam';
|
|
266
250
|
export * from './Interface/models/IUserFile';
|
|
267
251
|
export * from './Interface/models/IUserTest';
|
|
@@ -276,14 +260,11 @@ export * from './Interface/models/ITaskAttachment';
|
|
|
276
260
|
export * from './Interface/models/IMailContent';
|
|
277
261
|
export * from './Interface/models/IWebMail';
|
|
278
262
|
export * from './Interface/models/IWebMailAttachment';
|
|
279
|
-
export * from './Interface/models/IWebMailSpam';
|
|
280
263
|
export * from './Interface/models/IWebMailStat';
|
|
281
264
|
export * from './Interface/models/IWebMailType';
|
|
282
|
-
export * from './Interface/models/IWebMailSpamType';
|
|
283
265
|
export * from './Interface/models/IWorkingSchedule';
|
|
284
266
|
export * from './Interface/models/IField';
|
|
285
267
|
export * from './Interface/models/IFecFile';
|
|
286
|
-
export * from './Interface/models/ISuggestion';
|
|
287
268
|
export * from './Interface/models/ISalariesFile';
|
|
288
269
|
export * from './Interface/models/IPromoCode';
|
|
289
270
|
export * from './Interface/models/ILoan';
|
|
@@ -291,7 +272,6 @@ export * from './Interface/models/IBalanceSheetModule';
|
|
|
291
272
|
export * from './Interface/models/IStock';
|
|
292
273
|
export * from './Interface/models/ISocietyPromoCode';
|
|
293
274
|
export * from './Interface/models/IZTicket';
|
|
294
|
-
export * from './Interface/models/IAccountingTransaction_new';
|
|
295
275
|
export * from './Interface/models/IExerciceNote';
|
|
296
276
|
export * from './Interface/models/IRevisionGuide';
|
|
297
277
|
export * from './Interface/models/ISponsorshipWithSponsorInfo';
|
|
@@ -558,6 +538,7 @@ export * from './Interface/api/commercial/QueryFetchDialogDatasInfosOk';
|
|
|
558
538
|
export * from './Interface/api/commercial/QueryMovePrestationsToNextMonth';
|
|
559
539
|
export * from './Interface/api/society/GetDataSociety';
|
|
560
540
|
export * from './Interface/api/society/CreateSociety';
|
|
541
|
+
export * from './Interface/api/society/CreateSocietyDetail';
|
|
561
542
|
export * from './Interface/api/society/UpdateSociety';
|
|
562
543
|
export * from './Interface/api/society/ListUserSociety';
|
|
563
544
|
export * from './Interface/api/society/CreateUserToSocietyWithPermission';
|
|
@@ -596,6 +577,9 @@ export * from './Interface/api/internalInvoicing/GetLastRef';
|
|
|
596
577
|
export * from './Interface/api/exercice/QueryExercice';
|
|
597
578
|
export * from './Interface/api/exercice/CreateExercice';
|
|
598
579
|
export * from './Interface/api/exercice/UpdateExercice';
|
|
580
|
+
export * from './Interface/api/statutsGeneration/UpdateExerciceParams';
|
|
581
|
+
export * from './Interface/api/statutsGeneration/SendInviteMailParams';
|
|
582
|
+
export * from './Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams';
|
|
599
583
|
export * from './Interface/api/accountingIncome/ReadAccountingIncome';
|
|
600
584
|
export * from './Interface/api/ocr/OcrTransactions';
|
|
601
585
|
export * from './Interface/api/bankStatement/QueryBankStatement';
|
package/ts/utils/amount.ts
CHANGED
|
@@ -47,4 +47,175 @@ export function integerToFormattedAmountObject(
|
|
|
47
47
|
...result,
|
|
48
48
|
formattedValue: `${result.sign !== MathematicalSign.EQUAL ? `${result.sign} ` : ''}${result.integerValue},${result.centValue}`,
|
|
49
49
|
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Convertit jusqu'à 999 999 999 999 999 (billion) *
|
|
54
|
+
* @param nombre
|
|
55
|
+
* @returns {string}
|
|
56
|
+
*/
|
|
57
|
+
function getUnite(nombre: number):string {
|
|
58
|
+
let unite;
|
|
59
|
+
switch (nombre) {
|
|
60
|
+
// case 0: unite = 'zéro'; break;
|
|
61
|
+
case 1: unite = 'un'; break;
|
|
62
|
+
case 2: unite = 'deux'; break;
|
|
63
|
+
case 3: unite = 'trois'; break;
|
|
64
|
+
case 4: unite = 'quatre'; break;
|
|
65
|
+
case 5: unite = 'cinq'; break;
|
|
66
|
+
case 6: unite = 'six'; break;
|
|
67
|
+
case 7: unite = 'sept'; break;
|
|
68
|
+
case 8: unite = 'huit'; break;
|
|
69
|
+
case 9: unite = 'neuf'; break;
|
|
70
|
+
default: unite = 'zéro'; break;
|
|
71
|
+
}// fin switch
|
|
72
|
+
return unite;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function getDizaine(nombre: number):string {
|
|
76
|
+
let dizaine;
|
|
77
|
+
switch (nombre) {
|
|
78
|
+
// case 10: dizaine = 'dix'; break;
|
|
79
|
+
case 11: dizaine = 'onze'; break;
|
|
80
|
+
case 12: dizaine = 'douze'; break;
|
|
81
|
+
case 13: dizaine = 'treize'; break;
|
|
82
|
+
case 14: dizaine = 'quatorze'; break;
|
|
83
|
+
case 15: dizaine = 'quinze'; break;
|
|
84
|
+
case 16: dizaine = 'seize'; break;
|
|
85
|
+
case 17: dizaine = 'dix-sept'; break;
|
|
86
|
+
case 18: dizaine = 'dix-huit'; break;
|
|
87
|
+
case 19: dizaine = 'dix-neuf'; break;
|
|
88
|
+
case 20: dizaine = 'vingt'; break;
|
|
89
|
+
case 30: dizaine = 'trente'; break;
|
|
90
|
+
case 40: dizaine = 'quarante'; break;
|
|
91
|
+
case 50: dizaine = 'cinquante'; break;
|
|
92
|
+
case 60: dizaine = 'soixante'; break;
|
|
93
|
+
case 70: dizaine = 'soixante-dix'; break;
|
|
94
|
+
case 80: dizaine = 'quatre-vingt'; break;
|
|
95
|
+
case 90: dizaine = 'quatre-vingt-dix'; break;
|
|
96
|
+
default: dizaine = 'dix'; break;
|
|
97
|
+
}// fin switch
|
|
98
|
+
return dizaine;
|
|
99
|
+
}//-----------------------------------------------------------------------
|
|
100
|
+
|
|
101
|
+
export function convertNumberToLetter(nombre: number): string {
|
|
102
|
+
let quotient: number; let reste: number;
|
|
103
|
+
let numberToLetter = '';
|
|
104
|
+
|
|
105
|
+
if (nombre.toString().replace(/ /gi, '').length > 15) return 'dépassement de capacité';
|
|
106
|
+
if (Number.isNaN(nombre.toString().replace(/ /gi, ''))) return 'Nombre non valide';
|
|
107
|
+
|
|
108
|
+
const nb = parseFloat(nombre.toString().replace(/ /gi, ''));
|
|
109
|
+
if (Math.ceil(nb) !== nb) return 'Nombre avec virgule non géré.';
|
|
110
|
+
|
|
111
|
+
const n = nb.toString().length;
|
|
112
|
+
switch (n) {
|
|
113
|
+
// case 1: numberToLetter = getUnite(nb); break;
|
|
114
|
+
case 2: if (nb > 19) {
|
|
115
|
+
quotient = Math.floor(nb / 10);
|
|
116
|
+
reste = nb % 10;
|
|
117
|
+
if (nb < 71 || (nb > 79 && nb < 91)) {
|
|
118
|
+
if (reste === 0) numberToLetter = getDizaine(quotient * 10);
|
|
119
|
+
if (reste === 1) numberToLetter = `${getDizaine(quotient * 10)}-et-${getUnite(reste)}`;
|
|
120
|
+
if (reste > 1) numberToLetter = `${getDizaine(quotient * 10)}-${getUnite(reste)}`;
|
|
121
|
+
} else numberToLetter = `${getDizaine((quotient - 1) * 10)}-${getDizaine(10 + reste)}`;
|
|
122
|
+
} else numberToLetter = getDizaine(nb);
|
|
123
|
+
break;
|
|
124
|
+
case 3: quotient = Math.floor(nb / 100);
|
|
125
|
+
reste = nb % 100;
|
|
126
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'cent';
|
|
127
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'cent '}${convertNumberToLetter(reste)}`;
|
|
128
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${getUnite(quotient)} cents`;
|
|
129
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${getUnite(quotient)} cent ${convertNumberToLetter(reste)}`;
|
|
130
|
+
break;
|
|
131
|
+
case 4: quotient = Math.floor(nb / 1000);
|
|
132
|
+
reste = nb - quotient * 1000;
|
|
133
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'mille';
|
|
134
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'mille '}${convertNumberToLetter(reste)}`;
|
|
135
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} mille`;
|
|
136
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} mille ${convertNumberToLetter(reste)}`;
|
|
137
|
+
break;
|
|
138
|
+
case 5: quotient = Math.floor(nb / 1000);
|
|
139
|
+
reste = nb - quotient * 1000;
|
|
140
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'mille';
|
|
141
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'mille '}${convertNumberToLetter(reste)}`;
|
|
142
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} mille`;
|
|
143
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} mille ${convertNumberToLetter(reste)}`;
|
|
144
|
+
break;
|
|
145
|
+
case 6: quotient = Math.floor(nb / 1000);
|
|
146
|
+
reste = nb - quotient * 1000;
|
|
147
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'mille';
|
|
148
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'mille '}${convertNumberToLetter(reste)}`;
|
|
149
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} mille`;
|
|
150
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} mille ${convertNumberToLetter(reste)}`;
|
|
151
|
+
break;
|
|
152
|
+
case 7: quotient = Math.floor(nb / 1000000);
|
|
153
|
+
reste = nb % 1000000;
|
|
154
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'un million';
|
|
155
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'un million '}${convertNumberToLetter(reste)}`;
|
|
156
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} millions`;
|
|
157
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} millions ${convertNumberToLetter(reste)}`;
|
|
158
|
+
break;
|
|
159
|
+
case 8: quotient = Math.floor(nb / 1000000);
|
|
160
|
+
reste = nb % 1000000;
|
|
161
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'un million';
|
|
162
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'un million '}${convertNumberToLetter(reste)}`;
|
|
163
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} millions`;
|
|
164
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} millions ${convertNumberToLetter(reste)}`;
|
|
165
|
+
break;
|
|
166
|
+
case 9: quotient = Math.floor(nb / 1000000);
|
|
167
|
+
reste = nb % 1000000;
|
|
168
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'un million';
|
|
169
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'un million '}${convertNumberToLetter(reste)}`;
|
|
170
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} millions`;
|
|
171
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} millions ${convertNumberToLetter(reste)}`;
|
|
172
|
+
break;
|
|
173
|
+
case 10: quotient = Math.floor(nb / 1000000000);
|
|
174
|
+
reste = nb - quotient * 1000000000;
|
|
175
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'un milliard';
|
|
176
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'un milliard '}${convertNumberToLetter(reste)}`;
|
|
177
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} milliards`;
|
|
178
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} milliards ${convertNumberToLetter(reste)}`;
|
|
179
|
+
break;
|
|
180
|
+
case 11: quotient = Math.floor(nb / 1000000000);
|
|
181
|
+
reste = nb - quotient * 1000000000;
|
|
182
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'un milliard';
|
|
183
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'un milliard '}${convertNumberToLetter(reste)}`;
|
|
184
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} milliards`;
|
|
185
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} milliards ${convertNumberToLetter(reste)}`;
|
|
186
|
+
break;
|
|
187
|
+
case 12: quotient = Math.floor(nb / 1000000000);
|
|
188
|
+
reste = nb - quotient * 1000000000;
|
|
189
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'un milliard';
|
|
190
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'un milliard '}${convertNumberToLetter(reste)}`;
|
|
191
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} milliards`;
|
|
192
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} milliards ${convertNumberToLetter(reste)}`;
|
|
193
|
+
break;
|
|
194
|
+
case 13: quotient = Math.floor(nb / 1000000000000);
|
|
195
|
+
reste = nb - quotient * 1000000000000;
|
|
196
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'un billion';
|
|
197
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'un billion '}${convertNumberToLetter(reste)}`;
|
|
198
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} billions`;
|
|
199
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} billions ${convertNumberToLetter(reste)}`;
|
|
200
|
+
break;
|
|
201
|
+
case 14: quotient = Math.floor(nb / 1000000000000);
|
|
202
|
+
reste = nb - quotient * 1000000000000;
|
|
203
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'un billion';
|
|
204
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'un billion '}${convertNumberToLetter(reste)}`;
|
|
205
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} billions`;
|
|
206
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} billions ${convertNumberToLetter(reste)}`;
|
|
207
|
+
break;
|
|
208
|
+
case 15: quotient = Math.floor(nb / 1000000000000);
|
|
209
|
+
reste = nb - quotient * 1000000000000;
|
|
210
|
+
if (quotient === 1 && reste === 0) numberToLetter = 'un billion';
|
|
211
|
+
if (quotient === 1 && reste !== 0) numberToLetter = `${'un billion '}${convertNumberToLetter(reste)}`;
|
|
212
|
+
if (quotient > 1 && reste === 0) numberToLetter = `${convertNumberToLetter(quotient)} billions`;
|
|
213
|
+
if (quotient > 1 && reste !== 0) numberToLetter = `${convertNumberToLetter(quotient)} billions ${convertNumberToLetter(reste)}`;
|
|
214
|
+
break;
|
|
215
|
+
default: numberToLetter = getUnite(nb); break;
|
|
216
|
+
} // fin switch
|
|
217
|
+
/* respect de l'accord de quatre-vingt */
|
|
218
|
+
if (numberToLetter.substr(numberToLetter.length - 'quatre-vingt'.length, 'quatre-vingt'.length) === 'quatre-vingt') numberToLetter += 's';
|
|
219
|
+
|
|
220
|
+
return numberToLetter;
|
|
50
221
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IBankAccount } from './IBankAccount';
|
|
2
|
-
import { IRule } from './IRule';
|
|
3
|
-
import { ISociety } from './ISociety';
|
|
4
|
-
export interface IAccountingTransaction_new {
|
|
5
|
-
idAccountingTransaction?: number;
|
|
6
|
-
budgeaTransactionId: number;
|
|
7
|
-
idBankAccount: number;
|
|
8
|
-
idSociety: number;
|
|
9
|
-
idRule: number;
|
|
10
|
-
dateValue: Date;
|
|
11
|
-
dateLocked: Date | null;
|
|
12
|
-
createdAt?: Date | null;
|
|
13
|
-
updatedAt?: Date | null;
|
|
14
|
-
bankAccount: IBankAccount;
|
|
15
|
-
society: ISociety;
|
|
16
|
-
rule: IRule;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=IAccountingTransaction_new.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingTransaction_new.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingTransaction_new.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,0BAA0B;IACzC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAE;IACvB,SAAS,EAAC,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,WAAW,EAAE,YAAY,CAAC;IAC1B,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingTransaction_new.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingTransaction_new.ts"],"names":[],"mappings":"","sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IRule } from './IRule';\nimport { ISociety } from './ISociety';\n\nexport interface IAccountingTransaction_new {\n idAccountingTransaction?: number;\n budgeaTransactionId: number;\n idBankAccount: number ;\n idSociety:number;\n idRule: number;\n dateValue: Date;\n dateLocked: Date | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n bankAccount: IBankAccount;\n society: ISociety;\n rule: IRule;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAutoLoginToken.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAutoLoginToken.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAutoLoginToken.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAutoLoginToken.ts"],"names":[],"mappings":"","sourcesContent":["// autologinToken\nexport interface IAutoLoginToken {\n id?: number;\n staffid?: number;\n securityToken: string;\n used: boolean;\n idUser: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { IBankAccount } from './IBankAccount';
|
|
2
|
-
import { IAccountingJournal } from './IAccountingJournal';
|
|
3
|
-
import { ISociety } from './ISociety';
|
|
4
|
-
import { IUser } from './IUser';
|
|
5
|
-
export interface IBankTransaction {
|
|
6
|
-
id?: number;
|
|
7
|
-
reference: string | null;
|
|
8
|
-
dateValue: Date;
|
|
9
|
-
dateLocked: Date | null;
|
|
10
|
-
checkDateLocked: boolean | null;
|
|
11
|
-
dateVerified: Date | null;
|
|
12
|
-
idUser: number | null;
|
|
13
|
-
isBlocked: boolean;
|
|
14
|
-
exported: Date | null;
|
|
15
|
-
kilometers: number | null;
|
|
16
|
-
purchaseTtc: number | null;
|
|
17
|
-
isReadMobile: boolean;
|
|
18
|
-
invoiceRequested: boolean;
|
|
19
|
-
isLockedMobile: boolean;
|
|
20
|
-
idBankAccount: number | null;
|
|
21
|
-
idSociety: number;
|
|
22
|
-
idPaymentMethod: number | null;
|
|
23
|
-
idSocietyVehicle: number | null;
|
|
24
|
-
idSocietyPartner: number | null;
|
|
25
|
-
idRule: number | null;
|
|
26
|
-
idAccountingJournal: number;
|
|
27
|
-
createdAt?: Date | null;
|
|
28
|
-
updatedAt?: Date | null;
|
|
29
|
-
bankAccount: IBankAccount;
|
|
30
|
-
accountingJournal: IAccountingJournal;
|
|
31
|
-
society: ISociety;
|
|
32
|
-
user: IUser;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=IBankTransaction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IBankTransaction.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBankTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,IAAI,CAAC;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,WAAW,EAAE,YAAY,CAAC;IAC1B,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;CACb"}
|