@silexpert/core 1.1.113 → 1.1.115
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/Authenticate.d.ts +1 -1
- package/es/api/resources/Checklist.d.ts +3 -3
- package/es/api/resources/Checklist.d.ts.map +1 -1
- package/es/api/resources/Checklist.js +4 -4
- package/es/api/resources/Checklist.js.map +1 -1
- package/es/api/resources/Commercial.d.ts +4 -4
- package/es/api/resources/Commercial.d.ts.map +1 -1
- package/es/api/resources/Commercial.js +8 -8
- package/es/api/resources/Commercial.js.map +1 -1
- package/es/api/resources/CommercialDocument.d.ts +1 -1
- package/es/api/resources/CommercialDocument.d.ts.map +1 -1
- package/es/api/resources/CommercialDocument.js +2 -2
- package/es/api/resources/CommercialDocument.js.map +1 -1
- package/es/api/resources/Employee.d.ts +1 -1
- package/es/api/resources/Employee.d.ts.map +1 -1
- package/es/api/resources/Employee.js +2 -2
- package/es/api/resources/Employee.js.map +1 -1
- package/es/api/resources/Facturation.d.ts +2 -2
- package/es/api/resources/Facturation.d.ts.map +1 -1
- package/es/api/resources/Facturation.js +4 -4
- package/es/api/resources/Facturation.js.map +1 -1
- package/es/api/resources/Fusion.d.ts +1 -1
- package/es/api/resources/Invoice.d.ts +2 -2
- package/es/api/resources/Invoice.d.ts.map +1 -1
- package/es/api/resources/Invoice.js +4 -4
- package/es/api/resources/Invoice.js.map +1 -1
- package/es/api/resources/Mail.d.ts +16 -16
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +32 -32
- package/es/api/resources/Mail.js.map +1 -1
- package/es/api/resources/PartneredAccountant.d.ts +3 -3
- package/es/api/resources/PartneredAccountant.d.ts.map +1 -1
- package/es/api/resources/PartneredAccountant.js +6 -6
- package/es/api/resources/PartneredAccountant.js.map +1 -1
- package/es/api/resources/PaymentExpectationCustomer.d.ts +1 -1
- package/es/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
- package/es/api/resources/PaymentExpectationCustomer.js +2 -2
- package/es/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/es/api/resources/Product.d.ts +1 -1
- package/es/api/resources/Product.d.ts.map +1 -1
- package/es/api/resources/Product.js +2 -2
- package/es/api/resources/Product.js.map +1 -1
- package/es/api/resources/Regulate.d.ts +1 -1
- package/es/api/resources/Regulate.d.ts.map +1 -1
- package/es/api/resources/Regulate.js +2 -2
- package/es/api/resources/Regulate.js.map +1 -1
- package/es/api/resources/Report.d.ts +3 -3
- package/es/api/resources/Report.d.ts.map +1 -1
- package/es/api/resources/Report.js +6 -6
- package/es/api/resources/Report.js.map +1 -1
- package/es/api/resources/Revision.d.ts +1 -1
- package/es/api/resources/Revision.d.ts.map +1 -1
- package/es/api/resources/Revision.js +2 -2
- package/es/api/resources/Revision.js.map +1 -1
- package/es/api/resources/SalesContract.d.ts +13 -0
- package/es/api/resources/SalesContract.d.ts.map +1 -0
- package/es/api/resources/SalesContract.js +45 -0
- package/es/api/resources/SalesContract.js.map +1 -0
- package/es/api/resources/SheetMonthSchedule.d.ts +1 -1
- package/es/api/resources/SheetMonthSchedule.d.ts.map +1 -1
- package/es/api/resources/SheetMonthSchedule.js +2 -2
- package/es/api/resources/SheetMonthSchedule.js.map +1 -1
- package/es/api/resources/Society.d.ts +2 -2
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +2 -2
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources/TaxDeadline.d.ts +3 -3
- package/es/api/resources/TaxDeadline.d.ts.map +1 -1
- package/es/api/resources/TaxDeadline.js +6 -6
- package/es/api/resources/TaxDeadline.js.map +1 -1
- package/es/api/resources/TextMessage.d.ts +3 -3
- package/es/api/resources/TextMessage.d.ts.map +1 -1
- package/es/api/resources/TextMessage.js +6 -6
- package/es/api/resources/TextMessage.js.map +1 -1
- package/es/api/resources/ThirdParty.d.ts +1 -1
- package/es/api/resources/ThirdParty.d.ts.map +1 -1
- package/es/api/resources/ThirdParty.js +2 -2
- package/es/api/resources/ThirdParty.js.map +1 -1
- package/es/api/resources/User.d.ts +1 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources/Wallet.d.ts +2 -2
- package/es/api/resources/Wallet.d.ts.map +1 -1
- package/es/api/resources/Wallet.js +4 -4
- package/es/api/resources/Wallet.js.map +1 -1
- package/es/api/resources/prestation.d.ts +2 -2
- package/es/api/resources/prestation.d.ts.map +1 -1
- package/es/api/resources/prestation.js +4 -4
- package/es/api/resources/prestation.js.map +1 -1
- package/es/api/resources/statistic/CustomerSuccess.d.ts +1 -1
- package/es/api/resources/statistic/CustomerSuccess.d.ts.map +1 -1
- package/es/api/resources/statistic/CustomerSuccess.js +2 -2
- package/es/api/resources/statistic/CustomerSuccess.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +109 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +361 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.d.ts +27 -0
- package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +173 -0
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/CustomerSignature.d.ts +39 -0
- package/es/types/Enum/CustomerSignature.d.ts.map +1 -0
- package/es/types/Enum/CustomerSignature.js +41 -0
- package/es/types/Enum/CustomerSignature.js.map +1 -0
- package/es/types/Enum/JobTitle.js +5 -5
- package/es/types/Enum/JobTitle.js.map +1 -1
- package/es/types/Enum/Notification.d.ts +47 -1
- package/es/types/Enum/Notification.d.ts.map +1 -1
- package/es/types/Enum/Notification.js +273 -1
- package/es/types/Enum/Notification.js.map +1 -1
- package/es/types/Enum/PrestationType.d.ts +1 -0
- package/es/types/Enum/PrestationType.d.ts.map +1 -1
- package/es/types/Enum/PrestationType.js +20 -5
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Enum/SalesContractConfig.d.ts +29 -0
- package/es/types/Enum/SalesContractConfig.d.ts.map +1 -0
- package/es/types/Enum/SalesContractConfig.js +2 -0
- package/es/types/Enum/SalesContractConfig.js.map +1 -0
- package/es/types/Enum/SendMethod.d.ts +5 -0
- package/es/types/Enum/SendMethod.d.ts.map +1 -0
- package/es/types/Enum/SendMethod.js +6 -0
- package/es/types/Enum/SendMethod.js.map +1 -0
- package/es/types/Interface/api/salesContract/GenerateSalesContractParams.d.ts +4 -0
- package/es/types/Interface/api/salesContract/GenerateSalesContractParams.d.ts.map +1 -0
- package/es/types/Interface/api/salesContract/GenerateSalesContractParams.js +19 -0
- package/es/types/Interface/api/salesContract/GenerateSalesContractParams.js.map +1 -0
- package/es/types/Interface/api/salesContract/SendSalesContractParams.d.ts +8 -0
- package/es/types/Interface/api/salesContract/SendSalesContractParams.d.ts.map +1 -0
- package/es/types/Interface/api/salesContract/SendSalesContractParams.js +38 -0
- package/es/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +1 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +6 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/es/types/index.d.ts +4 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +4 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/index.d.ts +2 -0
- package/es/utils/index.d.ts.map +1 -1
- package/es/utils/index.js +2 -0
- package/es/utils/index.js.map +1 -1
- package/es/utils/isHtml.d.ts +7 -0
- package/es/utils/isHtml.d.ts.map +1 -0
- package/es/utils/isHtml.js +10 -0
- package/es/utils/isHtml.js.map +1 -0
- package/es/utils/isUrl.d.ts +7 -0
- package/es/utils/isUrl.d.ts.map +1 -0
- package/es/utils/isUrl.js +16 -0
- package/es/utils/isUrl.js.map +1 -0
- package/js/api/resources/Checklist.js +8 -4
- package/js/api/resources/Checklist.js.map +1 -1
- package/js/api/resources/Commercial.js +16 -8
- package/js/api/resources/Commercial.js.map +1 -1
- package/js/api/resources/CommercialDocument.js +4 -2
- package/js/api/resources/CommercialDocument.js.map +1 -1
- package/js/api/resources/Employee.js +4 -2
- package/js/api/resources/Employee.js.map +1 -1
- package/js/api/resources/Facturation.js +8 -4
- package/js/api/resources/Facturation.js.map +1 -1
- package/js/api/resources/Invoice.js +8 -4
- package/js/api/resources/Invoice.js.map +1 -1
- package/js/api/resources/Mail.js +64 -32
- package/js/api/resources/Mail.js.map +1 -1
- package/js/api/resources/PartneredAccountant.js +13 -7
- package/js/api/resources/PartneredAccountant.js.map +1 -1
- package/js/api/resources/PaymentExpectationCustomer.js +4 -2
- package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/js/api/resources/Product.js +4 -2
- package/js/api/resources/Product.js.map +1 -1
- package/js/api/resources/Regulate.js +4 -2
- package/js/api/resources/Regulate.js.map +1 -1
- package/js/api/resources/Report.js +12 -6
- package/js/api/resources/Report.js.map +1 -1
- package/js/api/resources/Revision.js +4 -2
- package/js/api/resources/Revision.js.map +1 -1
- package/js/api/resources/SalesContract.js +70 -0
- package/js/api/resources/SalesContract.js.map +1 -0
- package/js/api/resources/SheetMonthSchedule.js +4 -2
- package/js/api/resources/SheetMonthSchedule.js.map +1 -1
- package/js/api/resources/Society.js +4 -2
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources/TaxDeadline.js +12 -6
- package/js/api/resources/TaxDeadline.js.map +1 -1
- package/js/api/resources/TextMessage.js +12 -6
- package/js/api/resources/TextMessage.js.map +1 -1
- package/js/api/resources/ThirdParty.js +4 -2
- package/js/api/resources/ThirdParty.js.map +1 -1
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources/Wallet.js +8 -4
- package/js/api/resources/Wallet.js.map +1 -1
- package/js/api/resources/prestation.js +8 -4
- package/js/api/resources/prestation.js.map +1 -1
- package/js/api/resources/statistic/CustomerSuccess.js +4 -2
- package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
- package/js/api/resources.js +2 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +328 -3
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +158 -1
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/CustomerSignature.js +46 -0
- package/js/types/Enum/CustomerSignature.js.map +1 -0
- package/js/types/Enum/JobTitle.js +7 -5
- package/js/types/Enum/JobTitle.js.map +1 -1
- package/js/types/Enum/Notification.js +273 -1
- package/js/types/Enum/Notification.js.map +1 -1
- package/js/types/Enum/PrestationType.js +7 -5
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Enum/SalesContractConfig.js +6 -0
- package/js/types/Enum/SalesContractConfig.js.map +1 -0
- package/js/types/Enum/SendMethod.js +11 -0
- package/js/types/Enum/SendMethod.js.map +1 -0
- package/js/types/Interface/api/salesContract/GenerateSalesContractParams.js +22 -0
- package/js/types/Interface/api/salesContract/GenerateSalesContractParams.js.map +1 -0
- package/js/types/Interface/api/salesContract/SendSalesContractParams.js +26 -0
- package/js/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +3 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/index.js +40 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/index.js +20 -0
- package/js/utils/index.js.map +1 -1
- package/js/utils/isHtml.js +16 -0
- package/js/utils/isHtml.js.map +1 -0
- package/js/utils/isUrl.js +21 -0
- package/js/utils/isUrl.js.map +1 -0
- package/package.json +2 -2
- package/ts/api/resources/Checklist.ts +4 -2
- package/ts/api/resources/Commercial.ts +24 -8
- package/ts/api/resources/CommercialDocument.ts +2 -0
- package/ts/api/resources/Employee.ts +2 -0
- package/ts/api/resources/Facturation.ts +12 -4
- package/ts/api/resources/Invoice.ts +4 -2
- package/ts/api/resources/Mail.ts +32 -16
- package/ts/api/resources/PartneredAccountant.ts +9 -4
- package/ts/api/resources/PaymentExpectationCustomer.ts +2 -0
- package/ts/api/resources/Product.ts +2 -0
- package/ts/api/resources/Regulate.ts +6 -2
- package/ts/api/resources/Report.ts +6 -6
- package/ts/api/resources/Revision.ts +6 -2
- package/ts/api/resources/SalesContract.ts +54 -0
- package/ts/api/resources/SheetMonthSchedule.ts +2 -0
- package/ts/api/resources/Society.ts +3 -2
- package/ts/api/resources/TaxDeadline.ts +6 -3
- package/ts/api/resources/TextMessage.ts +18 -6
- package/ts/api/resources/ThirdParty.ts +2 -0
- package/ts/api/resources/User.ts +1 -1
- package/ts/api/resources/Wallet.ts +4 -2
- package/ts/api/resources/prestation.ts +4 -3
- package/ts/api/resources/statistic/CustomerSuccess.ts +6 -2
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BrandClementine.ts +362 -0
- package/ts/types/Enum/BrandPourcentage.ts +174 -0
- package/ts/types/Enum/CustomerSignature.ts +40 -0
- package/ts/types/Enum/JobTitle.ts +5 -5
- package/ts/types/Enum/Notification.ts +286 -2
- package/ts/types/Enum/PrestationType.ts +21 -5
- package/ts/types/Enum/SalesContractConfig.ts +37 -0
- package/ts/types/Enum/SendMethod.ts +4 -0
- package/ts/types/Interface/api/salesContract/GenerateSalesContractParams.ts +8 -0
- package/ts/types/Interface/api/salesContract/SendSalesContractParams.ts +23 -0
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +6 -0
- package/ts/types/index.ts +4 -0
- package/ts/utils/index.ts +3 -1
- package/ts/utils/isHtml.ts +9 -0
- package/ts/utils/isUrl.ts +14 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { PrestationType, allPrestationsWithBrochure, PrestationDetail } from './PrestationType';
|
|
2
|
+
|
|
1
3
|
export const BrandPourcentage = [
|
|
2
4
|
{
|
|
3
5
|
idTypeBrand: 1,
|
|
@@ -112,6 +114,178 @@ export const BrandPourcentage = [
|
|
|
112
114
|
name: 'Nice',
|
|
113
115
|
},
|
|
114
116
|
},
|
|
117
|
+
salesContractConfig: [
|
|
118
|
+
// pour les pages statiques
|
|
119
|
+
{
|
|
120
|
+
label: 'Page d\'introduction',
|
|
121
|
+
name: 'page_intro',
|
|
122
|
+
needBgImage: true,
|
|
123
|
+
versionable: false,
|
|
124
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
label: 'Page chiffres',
|
|
128
|
+
name: 'page_numbers',
|
|
129
|
+
needBgImage: true,
|
|
130
|
+
versionable: false,
|
|
131
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
label: 'Page simplifié',
|
|
135
|
+
name: 'page_simplified',
|
|
136
|
+
needBgImage: true,
|
|
137
|
+
versionable: false,
|
|
138
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
label: 'Détail de la lettre de mission',
|
|
142
|
+
name: 'page_detail_ldm',
|
|
143
|
+
needBgImage: false,
|
|
144
|
+
versionable: false,
|
|
145
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations non express
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
label: 'Détail de la lettre de mission (express)',
|
|
149
|
+
name: 'page_detail_ldm_back',
|
|
150
|
+
needBgImage: false,
|
|
151
|
+
versionable: false,
|
|
152
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations express
|
|
153
|
+
},
|
|
154
|
+
// pour les pages dynamiques
|
|
155
|
+
{
|
|
156
|
+
label: 'Compta Pro',
|
|
157
|
+
name: 'bloc_compta_pro',
|
|
158
|
+
needBgImage: false,
|
|
159
|
+
versionable: true,
|
|
160
|
+
idPrestationType: [PrestationType.COMPTA_PRO, PrestationType.COMPTA_PRO_EXPRESS],
|
|
161
|
+
keyName: 'isWithApplicationFees',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
label: 'Compta Entreprise',
|
|
165
|
+
name: 'bloc_compta_entreprise',
|
|
166
|
+
needBgImage: false,
|
|
167
|
+
versionable: true,
|
|
168
|
+
keyName: 'isWithApplicationFees',
|
|
169
|
+
idPrestationType: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS, PrestationType.COMPTA_STARTER_ENTREPRISE],
|
|
170
|
+
condition: (turnover: number): boolean => turnover < 900000,
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
label: 'Compta Entreprise sur mesure',
|
|
174
|
+
name: 'bloc_compta_entreprise_sm',
|
|
175
|
+
needBgImage: false,
|
|
176
|
+
versionable: true,
|
|
177
|
+
keyName: 'isWithApplicationFees',
|
|
178
|
+
idPrestationType: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS, PrestationType.COMPTA_STARTER_ENTREPRISE],
|
|
179
|
+
condition: (turnover: number): boolean => turnover >= 900000,
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
label: 'Compta Micro',
|
|
183
|
+
name: 'bloc_compta_micro',
|
|
184
|
+
needBgImage: false,
|
|
185
|
+
versionable: true,
|
|
186
|
+
idPrestationType: [PrestationType.COMPTA_MICRO, PrestationType.COMPTA_MICRO_EXPRESS],
|
|
187
|
+
keyName: 'isWithApplicationFees',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
label: 'Compta SCI',
|
|
191
|
+
name: 'bloc_compta_sci',
|
|
192
|
+
needBgImage: false,
|
|
193
|
+
versionable: true,
|
|
194
|
+
idPrestationType: [PrestationType.COMPTA_SCI, PrestationType.COMPTA_SCI_EXPRESS],
|
|
195
|
+
keyName: 'isWithApplicationFees',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
label: 'Forfait social',
|
|
199
|
+
name: 'bloc_social',
|
|
200
|
+
needBgImage: false,
|
|
201
|
+
versionable: true,
|
|
202
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
203
|
+
keyName: 'idPrestationSocial',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
label: 'Forfait création société',
|
|
207
|
+
name: 'bloc_creation',
|
|
208
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.COMPTA_MICRO_EXPRESS && p !== PrestationType.COMPTA_MICRO),
|
|
209
|
+
needBgImage: false,
|
|
210
|
+
versionable: true,
|
|
211
|
+
keyName: 'idPrestationCreation',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
label: 'Forfait création société (Création d\'entreprise gratuite)',
|
|
215
|
+
name: 'bloc_creation_free',
|
|
216
|
+
idPrestationType: [PrestationType.COMPTA_MICRO, PrestationType.COMPTA_MICRO_EXPRESS],
|
|
217
|
+
needBgImage: false,
|
|
218
|
+
versionable: true,
|
|
219
|
+
keyName: 'idPrestationCreation',
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
label: 'Forfait approbation des comptes annuels',
|
|
223
|
+
name: 'bloc_annual_accounts',
|
|
224
|
+
needBgImage: false,
|
|
225
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
226
|
+
versionable: true,
|
|
227
|
+
keyName: 'idPrestationJuridique',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
label: 'Prise en charge de votre déclaration d\'impôts sur le revenu 249€ HT/an',
|
|
231
|
+
name: 'bloc_tax_return',
|
|
232
|
+
needBgImage: false,
|
|
233
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
234
|
+
versionable: true,
|
|
235
|
+
keyName: 'idPrestationSocial',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
label: 'Accompagnement contrôle fiscal à 149€ HT/ exercice',
|
|
239
|
+
name: 'bloc_tax_audit',
|
|
240
|
+
needBgImage: false,
|
|
241
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
242
|
+
versionable: true,
|
|
243
|
+
keyName: 'idPrestationSocial',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
label: 'Bilan Prévisionnel',
|
|
247
|
+
name: 'bloc_bilan_previsionnel',
|
|
248
|
+
needBgImage: false,
|
|
249
|
+
idPrestationType: [PrestationType.CREATION_SOCIETE, PrestationType.BILAN_PREVISIONNEL],
|
|
250
|
+
versionable: true,
|
|
251
|
+
keyName: 'prestationOptions',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
label: 'Signature',
|
|
255
|
+
name: 'bloc_sign',
|
|
256
|
+
needBgImage: false,
|
|
257
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
258
|
+
versionable: false,
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
label: 'Conditions Générals de Vente (CGV) 1/2',
|
|
262
|
+
name: 'bloc_cgv_first',
|
|
263
|
+
needBgImage: false,
|
|
264
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
265
|
+
versionable: false,
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
label: 'Conditions Générals de Vente (CGV) 2/2',
|
|
269
|
+
name: 'bloc_cgv_second',
|
|
270
|
+
needBgImage: false,
|
|
271
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
272
|
+
versionable: false,
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
label: 'Mandat de prélèvement SEPA',
|
|
276
|
+
name: 'bloc_sepa',
|
|
277
|
+
needBgImage: false,
|
|
278
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
279
|
+
versionable: false,
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
label: 'Pièces à nous envoyer',
|
|
283
|
+
name: 'bloc_send_files',
|
|
284
|
+
needBgImage: false,
|
|
285
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
286
|
+
versionable: false,
|
|
287
|
+
},
|
|
288
|
+
],
|
|
115
289
|
},
|
|
116
290
|
{
|
|
117
291
|
idTypeBrand: 2,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export enum SendMethod {
|
|
2
|
+
SMS = 1,
|
|
3
|
+
EMAIL = 2,
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export enum SignatureStatus {
|
|
7
|
+
SIGNED_PENDING = 1,
|
|
8
|
+
SIGNED_COMPLETE = 2,
|
|
9
|
+
CHARGE_SUCCEEDED = 3,
|
|
10
|
+
CHARGE_REFUNDED = 4,
|
|
11
|
+
APPLICATION_FEE_REFUNDED = 5,
|
|
12
|
+
APPLICATION_FEE_CREATED = 6,
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const SignatureStatusDetail = {
|
|
16
|
+
SIGNED_PENDING: {
|
|
17
|
+
id: SignatureStatus.SIGNED_PENDING,
|
|
18
|
+
name: 'signed_pending',
|
|
19
|
+
},
|
|
20
|
+
SIGNED_COMPLETE: {
|
|
21
|
+
id: SignatureStatus.SIGNED_COMPLETE,
|
|
22
|
+
name: 'signed_complete',
|
|
23
|
+
},
|
|
24
|
+
CHARGE_SUCCEEDED: {
|
|
25
|
+
id: SignatureStatus.CHARGE_SUCCEEDED,
|
|
26
|
+
name: 'charge.succeeded',
|
|
27
|
+
},
|
|
28
|
+
CHARGE_REFUNDED: {
|
|
29
|
+
id: SignatureStatus.CHARGE_REFUNDED,
|
|
30
|
+
name: 'charge.refunded',
|
|
31
|
+
},
|
|
32
|
+
APPLICATION_FEE_REFUNDED: {
|
|
33
|
+
id: SignatureStatus.APPLICATION_FEE_REFUNDED,
|
|
34
|
+
name: 'application_fee.refunded',
|
|
35
|
+
},
|
|
36
|
+
APPLICATION_FEE_CREATED: {
|
|
37
|
+
id: SignatureStatus.APPLICATION_FEE_CREATED,
|
|
38
|
+
name: 'application_fee.created',
|
|
39
|
+
},
|
|
40
|
+
};
|
|
@@ -28,11 +28,11 @@ export enum JobTitle {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export const JobTitleList: Array<{ id: JobTitle; menText: string, womenText: string }> = [
|
|
31
|
-
{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
},
|
|
31
|
+
// {
|
|
32
|
+
// id: JobTitle.ACCOUNTING_ASSISTANT,
|
|
33
|
+
// menText: 'Assistant comptable',
|
|
34
|
+
// womenText: 'Assistante comptable',
|
|
35
|
+
// },
|
|
36
36
|
{
|
|
37
37
|
id: JobTitle.BILLING_ASSISTANT,
|
|
38
38
|
menText: 'Assistant facturation',
|
|
@@ -1,9 +1,293 @@
|
|
|
1
1
|
export enum NotificationCode {
|
|
2
|
+
STRIPE_SOURCE_EXPIRED = 1,
|
|
3
|
+
SUPERVISION_OK = 2,
|
|
4
|
+
PRESTATION_COMPL_CREATED = 3,
|
|
5
|
+
NEW_CONSTITUTION = 4,
|
|
6
|
+
GESTION_JURIDIQUE = 5,
|
|
7
|
+
NEW_APPROVAL = 6,
|
|
8
|
+
ATTRI_ACCOUNTANT = 7,
|
|
9
|
+
NEW_TASK = 8,
|
|
2
10
|
UNPAID_OR_WAITING_END = 9,
|
|
11
|
+
CHANGE_SUPERVISION = 10,
|
|
12
|
+
SIGNATURE_WEBHOOK = 11,
|
|
13
|
+
ONBOARDING = 12,
|
|
14
|
+
ARCHIVE = 13,
|
|
15
|
+
PROSPECT = 14,
|
|
16
|
+
ATTESTATIONS = 15,
|
|
17
|
+
LABKEEPINGREADY = 16,
|
|
18
|
+
ASKABSENCE = 17,
|
|
19
|
+
CHANGELOGS = 18,
|
|
20
|
+
CONTROL = 19,
|
|
21
|
+
CHANGE_VAT = 20,
|
|
22
|
+
CHANGE_BALANCESHEET = 21,
|
|
23
|
+
NEW_CLIENT_SOCIAL = 22,
|
|
24
|
+
NEW_CLIENT_OTHER_JURIDICAL = 23,
|
|
25
|
+
NEW_DOCUMENT_TO_SIGN = 24,
|
|
26
|
+
NEW_DOCUMENT_WAITING = 25,
|
|
27
|
+
NEW_MAIL_RECEIVING = 26,
|
|
28
|
+
NEW_RDV_CLIENT = 28,
|
|
29
|
+
NEW_COMMENT_FORMALISM = 29,
|
|
30
|
+
NEW_TICKET_SUPPORT = 30,
|
|
31
|
+
CONFORMITY = 31,
|
|
32
|
+
LETTER = 32,
|
|
3
33
|
ASK_TO_CHANGE_COMPTA_TYPE = 33,
|
|
4
|
-
|
|
34
|
+
PAYMENT = 34,
|
|
35
|
+
CA = 35,
|
|
36
|
+
NEW_TASK_SCHEDULE = 36,
|
|
37
|
+
USERS_NOT_CONNECTED = 37,
|
|
38
|
+
ACCEPTANCE = 38,
|
|
39
|
+
CONSTITUTION_ABANDONED = 39,
|
|
40
|
+
INTERNAL_CONTROL = 40,
|
|
5
41
|
}
|
|
6
42
|
|
|
7
43
|
export enum TypeNotificationType {
|
|
8
44
|
ACTION = 1,
|
|
9
|
-
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type NotificationCodeTypeType = {
|
|
48
|
+
id: number;
|
|
49
|
+
name: string;
|
|
50
|
+
slug: string;
|
|
51
|
+
icon: string | null;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export type NotificationCodeType = {
|
|
55
|
+
[key: string]: NotificationCodeTypeType
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const NotificationCodeDetail: NotificationCodeType = {
|
|
59
|
+
STRIPE_SOURCE_EXPIRED: {
|
|
60
|
+
id: NotificationCode.STRIPE_SOURCE_EXPIRED,
|
|
61
|
+
name: 'Occurs whenever a card or source will expire at the end of the month on Stripe',
|
|
62
|
+
slug: 'stripe_source_expired',
|
|
63
|
+
icon: 'folder',
|
|
64
|
+
},
|
|
65
|
+
SUPERVISION_OK: {
|
|
66
|
+
id: NotificationCode.SUPERVISION_OK,
|
|
67
|
+
name: 'Supervision OK',
|
|
68
|
+
slug: 'supervision-ok',
|
|
69
|
+
icon: 'adjust',
|
|
70
|
+
},
|
|
71
|
+
PRESTATION_COMPL_CREATED: {
|
|
72
|
+
id: NotificationCode.PRESTATION_COMPL_CREATED,
|
|
73
|
+
name: 'Prestation complémentaire créée',
|
|
74
|
+
slug: 'prestation-compl-created',
|
|
75
|
+
icon: 'shopping_cart',
|
|
76
|
+
},
|
|
77
|
+
NEW_CONSTITUTION: {
|
|
78
|
+
id: NotificationCode.NEW_CONSTITUTION,
|
|
79
|
+
name: 'Nouvelle constitution',
|
|
80
|
+
slug: 'new-constitution',
|
|
81
|
+
icon: 'gavel',
|
|
82
|
+
},
|
|
83
|
+
GESTION_JURIDIQUE: {
|
|
84
|
+
id: NotificationCode.GESTION_JURIDIQUE,
|
|
85
|
+
name: 'souscrit au forfait Gestion juridique',
|
|
86
|
+
slug: 'gestion-juridique',
|
|
87
|
+
icon: 'gavel',
|
|
88
|
+
},
|
|
89
|
+
NEW_APPROVAL: {
|
|
90
|
+
id: NotificationCode.NEW_APPROVAL,
|
|
91
|
+
name: 'Nouvelle approbation',
|
|
92
|
+
slug: 'new-approval',
|
|
93
|
+
icon: 'gavel',
|
|
94
|
+
},
|
|
95
|
+
ATTRI_ACCOUNTANT: {
|
|
96
|
+
id: NotificationCode.ATTRI_ACCOUNTANT,
|
|
97
|
+
name: 'Attribution du dossier comptable',
|
|
98
|
+
slug: 'attri-accountant',
|
|
99
|
+
icon: 'check_box',
|
|
100
|
+
},
|
|
101
|
+
NEW_TASK: {
|
|
102
|
+
id: NotificationCode.NEW_TASK,
|
|
103
|
+
name: 'Nouvelle Tâche',
|
|
104
|
+
slug: 'new-task',
|
|
105
|
+
icon: 'folder',
|
|
106
|
+
},
|
|
107
|
+
UNPAID_OR_WAITING_END: {
|
|
108
|
+
id: NotificationCode.UNPAID_OR_WAITING_END,
|
|
109
|
+
name: 'impayé/résilié',
|
|
110
|
+
slug: 'unpaid-resi',
|
|
111
|
+
icon: 'credit_card',
|
|
112
|
+
},
|
|
113
|
+
CHANGE_SUPERVISION: {
|
|
114
|
+
id: NotificationCode.CHANGE_SUPERVISION,
|
|
115
|
+
name: 'Changement de statut de supervision',
|
|
116
|
+
slug: 'change-supervision',
|
|
117
|
+
icon: 'adjust',
|
|
118
|
+
},
|
|
119
|
+
SIGNATURE_WEBHOOK: {
|
|
120
|
+
id: NotificationCode.SIGNATURE_WEBHOOK,
|
|
121
|
+
name: 'Signature plaquette',
|
|
122
|
+
slug: 'signature-webhook',
|
|
123
|
+
icon: 'shopping_cart',
|
|
124
|
+
},
|
|
125
|
+
ONBOARDING: {
|
|
126
|
+
id: NotificationCode.ONBOARDING,
|
|
127
|
+
name: 'Go to onboarding',
|
|
128
|
+
slug: 'onboarding',
|
|
129
|
+
icon: 'airplanemode_active',
|
|
130
|
+
},
|
|
131
|
+
ARCHIVE: {
|
|
132
|
+
id: NotificationCode.ARCHIVE,
|
|
133
|
+
name: 'Go to archive',
|
|
134
|
+
slug: 'archive',
|
|
135
|
+
icon: 'list',
|
|
136
|
+
},
|
|
137
|
+
PROSPECT: {
|
|
138
|
+
id: NotificationCode.PROSPECT,
|
|
139
|
+
name: 'New Prospect',
|
|
140
|
+
slug: 'prospect',
|
|
141
|
+
icon: 'shopping_cart',
|
|
142
|
+
},
|
|
143
|
+
ATTESTATIONS: {
|
|
144
|
+
id: NotificationCode.ATTESTATIONS,
|
|
145
|
+
name: 'Attestations',
|
|
146
|
+
slug: 'attestations',
|
|
147
|
+
icon: 'gavel',
|
|
148
|
+
},
|
|
149
|
+
LABKEEPINGREADY: {
|
|
150
|
+
id: NotificationCode.LABKEEPINGREADY,
|
|
151
|
+
name: 'LAB - maintien de mission préparé',
|
|
152
|
+
slug: 'labKeepingReady',
|
|
153
|
+
icon: 'extension',
|
|
154
|
+
},
|
|
155
|
+
ASKABSENCE: {
|
|
156
|
+
id: NotificationCode.ASKABSENCE,
|
|
157
|
+
name: 'Demande de changement heure ou congé',
|
|
158
|
+
slug: 'askAbsence',
|
|
159
|
+
icon: 'update',
|
|
160
|
+
},
|
|
161
|
+
CHANGELOGS: {
|
|
162
|
+
id: NotificationCode.CHANGELOGS,
|
|
163
|
+
name: 'Nouveautés',
|
|
164
|
+
slug: 'changeLogs',
|
|
165
|
+
icon: 'redeem',
|
|
166
|
+
},
|
|
167
|
+
CONTROL: {
|
|
168
|
+
id: NotificationCode.CONTROL,
|
|
169
|
+
name: 'Contrôle',
|
|
170
|
+
slug: 'control',
|
|
171
|
+
icon: 'airplanemode_active',
|
|
172
|
+
},
|
|
173
|
+
CHANGE_VAT: {
|
|
174
|
+
id: NotificationCode.CHANGE_VAT,
|
|
175
|
+
name: 'Changement de statut de TVA',
|
|
176
|
+
slug: 'change-vat',
|
|
177
|
+
icon: 'check_box',
|
|
178
|
+
},
|
|
179
|
+
CHANGE_BALANCESHEET: {
|
|
180
|
+
id: NotificationCode.CHANGE_BALANCESHEET,
|
|
181
|
+
name: 'Changement de statut de bilan',
|
|
182
|
+
slug: 'change-balancesheet',
|
|
183
|
+
icon: null,
|
|
184
|
+
},
|
|
185
|
+
NEW_CLIENT_SOCIAL: {
|
|
186
|
+
id: NotificationCode.NEW_CLIENT_SOCIAL,
|
|
187
|
+
name: 'Nouveau client social',
|
|
188
|
+
slug: 'new-client-social',
|
|
189
|
+
icon: 'accessibility_new',
|
|
190
|
+
},
|
|
191
|
+
NEW_CLIENT_OTHER_JURIDICAL: {
|
|
192
|
+
id: NotificationCode.NEW_CLIENT_OTHER_JURIDICAL,
|
|
193
|
+
name: 'Nouveau client autre mission juridique',
|
|
194
|
+
slug: 'new-client-other-juridical',
|
|
195
|
+
icon: 'accessibility_new',
|
|
196
|
+
},
|
|
197
|
+
NEW_DOCUMENT_TO_SIGN: {
|
|
198
|
+
id: NotificationCode.NEW_DOCUMENT_TO_SIGN,
|
|
199
|
+
name: 'Nouveau document à signer',
|
|
200
|
+
slug: 'new-document-to-sign',
|
|
201
|
+
icon: 'description',
|
|
202
|
+
},
|
|
203
|
+
NEW_DOCUMENT_WAITING: {
|
|
204
|
+
id: NotificationCode.NEW_DOCUMENT_WAITING,
|
|
205
|
+
name: 'Document(s) en attente',
|
|
206
|
+
slug: 'new-document-waiting',
|
|
207
|
+
icon: 'hourglass_top',
|
|
208
|
+
},
|
|
209
|
+
NEW_MAIL_RECEIVING: {
|
|
210
|
+
id: NotificationCode.NEW_MAIL_RECEIVING,
|
|
211
|
+
name: 'Email reçu',
|
|
212
|
+
slug: 'new-mail-receiving',
|
|
213
|
+
icon: 'email',
|
|
214
|
+
},
|
|
215
|
+
NEW_RDV_CLIENT: {
|
|
216
|
+
id: NotificationCode.NEW_RDV_CLIENT,
|
|
217
|
+
name: 'Nouveau rdv client',
|
|
218
|
+
slug: 'new-rdv-client',
|
|
219
|
+
icon: 'accessibility_new',
|
|
220
|
+
},
|
|
221
|
+
NEW_COMMENT_FORMALISM: {
|
|
222
|
+
id: NotificationCode.NEW_COMMENT_FORMALISM,
|
|
223
|
+
name: 'Nouveau commentaire formalisme',
|
|
224
|
+
slug: 'new-comment-formalism',
|
|
225
|
+
icon: 'description',
|
|
226
|
+
},
|
|
227
|
+
NEW_TICKET_SUPPORT: {
|
|
228
|
+
id: NotificationCode.NEW_TICKET_SUPPORT,
|
|
229
|
+
name: 'Nouveau ticket support',
|
|
230
|
+
slug: 'new-ticket-support',
|
|
231
|
+
icon: 'fire_extinguisher',
|
|
232
|
+
},
|
|
233
|
+
CONFORMITY: {
|
|
234
|
+
id: NotificationCode.CONFORMITY,
|
|
235
|
+
name: 'Conformité',
|
|
236
|
+
slug: 'conformity',
|
|
237
|
+
icon: 'folder',
|
|
238
|
+
},
|
|
239
|
+
LETTER: {
|
|
240
|
+
id: NotificationCode.LETTER,
|
|
241
|
+
name: 'Courrier',
|
|
242
|
+
slug: 'letter',
|
|
243
|
+
icon: 'folder',
|
|
244
|
+
},
|
|
245
|
+
ASK_TO_CHANGE_COMPTA_TYPE: {
|
|
246
|
+
id: NotificationCode.ASK_TO_CHANGE_COMPTA_TYPE,
|
|
247
|
+
name: 'Demande - changement type comptabilité',
|
|
248
|
+
slug: 'ask-to-change-compta-type',
|
|
249
|
+
icon: 'description',
|
|
250
|
+
},
|
|
251
|
+
PAYMENT: {
|
|
252
|
+
id: NotificationCode.PAYMENT,
|
|
253
|
+
name: 'Payment',
|
|
254
|
+
slug: 'payment',
|
|
255
|
+
icon: 'paid',
|
|
256
|
+
},
|
|
257
|
+
CA: {
|
|
258
|
+
id: NotificationCode.CA,
|
|
259
|
+
name: 'CA',
|
|
260
|
+
slug: 'ca',
|
|
261
|
+
icon: 'paid',
|
|
262
|
+
},
|
|
263
|
+
NEW_TASK_SCHEDULE: {
|
|
264
|
+
id: NotificationCode.NEW_TASK_SCHEDULE,
|
|
265
|
+
name: 'Tâche programmée',
|
|
266
|
+
slug: 'new-task-schedule',
|
|
267
|
+
icon: 'folder',
|
|
268
|
+
},
|
|
269
|
+
USERS_NOT_CONNECTED: {
|
|
270
|
+
id: NotificationCode.USERS_NOT_CONNECTED,
|
|
271
|
+
name: 'Utilisateurs non connectés',
|
|
272
|
+
slug: 'users-not-connected',
|
|
273
|
+
icon: 'person_off',
|
|
274
|
+
},
|
|
275
|
+
ACCEPTANCE: {
|
|
276
|
+
id: NotificationCode.ACCEPTANCE,
|
|
277
|
+
name: 'Acceptation',
|
|
278
|
+
slug: 'acceptance',
|
|
279
|
+
icon: 'check_box',
|
|
280
|
+
},
|
|
281
|
+
CONSTITUTION_ABANDONED: {
|
|
282
|
+
id: NotificationCode.CONSTITUTION_ABANDONED,
|
|
283
|
+
name: 'Constitution abandonnée',
|
|
284
|
+
slug: 'constitution-abandoned',
|
|
285
|
+
icon: 'gavel',
|
|
286
|
+
},
|
|
287
|
+
INTERNAL_CONTROL: {
|
|
288
|
+
id: NotificationCode.INTERNAL_CONTROL,
|
|
289
|
+
name: 'Contrôle Interne',
|
|
290
|
+
slug: 'internal-control',
|
|
291
|
+
icon: 'supervisor_account',
|
|
292
|
+
},
|
|
293
|
+
};
|
|
@@ -172,6 +172,22 @@ export enum PrestationType {
|
|
|
172
172
|
STATUTS_OPTION_AE = 215,
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
// Liste des prestations avec une lettre de mission à signer
|
|
176
|
+
export const allPrestationsWithBrochure = [
|
|
177
|
+
PrestationType.GESTION_JURIDIQUE, PrestationType.COMPTA_ASSISTANCE,
|
|
178
|
+
PrestationType.EXPERTISE_COMPTABLE, PrestationType.EXPERTISE_COMPTABLE_PLUS,
|
|
179
|
+
PrestationType.COMPTA_PRO, PrestationType.COMPTA_PRO_EXPRESS,
|
|
180
|
+
PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS,
|
|
181
|
+
PrestationType.COMPTA_MICRO, PrestationType.COMPTA_MICRO_EXPRESS,
|
|
182
|
+
PrestationType.COMPTA_SCI, PrestationType.COMPTA_SCI_EXPRESS,
|
|
183
|
+
PrestationType.COMPTA_PRO_COMPTASTART, PrestationType.COMPTA_PRO_COMPTASTART_EXPRESS,
|
|
184
|
+
PrestationType.COMPTA_POURCENTAGE, PrestationType.COMPTA_POURCENTAGE_PREMIUM,
|
|
185
|
+
PrestationType.COMPTA_POURCENTAGE_EXPRESS, PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS,
|
|
186
|
+
PrestationType.CREATION_SOCIETE, PrestationType.BILAN_PREVISIONNEL,
|
|
187
|
+
PrestationType.SOCIAL, PrestationType.EXCEPTIONNEL,
|
|
188
|
+
PrestationType.DECLARATION_IR,
|
|
189
|
+
];
|
|
190
|
+
|
|
175
191
|
export interface PrestationDetailEnum {
|
|
176
192
|
[key: string]: IPrestationList
|
|
177
193
|
}
|
|
@@ -2687,7 +2703,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2687
2703
|
isBack: false,
|
|
2688
2704
|
price: null,
|
|
2689
2705
|
isCatalog: false,
|
|
2690
|
-
hidden:
|
|
2706
|
+
hidden: true,
|
|
2691
2707
|
isComplementary: false,
|
|
2692
2708
|
signaturePosition: '400,54,569,90',
|
|
2693
2709
|
signaturePage: 7,
|
|
@@ -2704,7 +2720,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2704
2720
|
isBack: false,
|
|
2705
2721
|
price: null,
|
|
2706
2722
|
isCatalog: false,
|
|
2707
|
-
hidden:
|
|
2723
|
+
hidden: true,
|
|
2708
2724
|
isComplementary: false,
|
|
2709
2725
|
signaturePosition: '400,54,569,90',
|
|
2710
2726
|
signaturePage: 7,
|
|
@@ -2806,7 +2822,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2806
2822
|
isBack: false,
|
|
2807
2823
|
price: null,
|
|
2808
2824
|
isCatalog: false,
|
|
2809
|
-
hidden:
|
|
2825
|
+
hidden: true,
|
|
2810
2826
|
isComplementary: false,
|
|
2811
2827
|
signaturePosition: '400,54,569,90',
|
|
2812
2828
|
signaturePage: 7,
|
|
@@ -2823,7 +2839,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2823
2839
|
isBack: false,
|
|
2824
2840
|
price: null,
|
|
2825
2841
|
isCatalog: false,
|
|
2826
|
-
hidden:
|
|
2842
|
+
hidden: true,
|
|
2827
2843
|
isComplementary: false,
|
|
2828
2844
|
signaturePosition: '400,54,569,90',
|
|
2829
2845
|
signaturePage: 7,
|
|
@@ -2840,7 +2856,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2840
2856
|
isBack: false,
|
|
2841
2857
|
price: null,
|
|
2842
2858
|
isCatalog: false,
|
|
2843
|
-
hidden:
|
|
2859
|
+
hidden: true,
|
|
2844
2860
|
isComplementary: false,
|
|
2845
2861
|
signaturePosition: '400,54,569,90',
|
|
2846
2862
|
signaturePage: 7,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PrestationType } from './PrestationType';
|
|
2
|
+
|
|
3
|
+
// Config in the Brand enum
|
|
4
|
+
export type SalesContractConfigType = {
|
|
5
|
+
label: string,
|
|
6
|
+
name: string,
|
|
7
|
+
urlBgImage?: string,
|
|
8
|
+
needBgImage?: boolean,
|
|
9
|
+
idPrestationType: PrestationType[],
|
|
10
|
+
versionable?: boolean,
|
|
11
|
+
keyName?: string
|
|
12
|
+
condition: (...args: (string | number)[]) => boolean
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
// Content of a config in the s3 file
|
|
16
|
+
export type SalesContractContent = {
|
|
17
|
+
name: string;
|
|
18
|
+
content: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
// Config send from the front
|
|
22
|
+
export type SalesContractConfig = {
|
|
23
|
+
name: string;
|
|
24
|
+
content: string;
|
|
25
|
+
css?: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// List of version for a config
|
|
29
|
+
export type SalesContractConfigVersion = {
|
|
30
|
+
versionId: string;
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type ParamsPreviewContract = {
|
|
35
|
+
idPrestationList: number;
|
|
36
|
+
versionId?: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IsInt, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
|
|
3
|
+
|
|
4
|
+
export class SendSalesContractParams {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsInt()
|
|
7
|
+
idPrestation: number;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsInt()
|
|
11
|
+
price: number;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsString()
|
|
15
|
+
startText: string;
|
|
16
|
+
|
|
17
|
+
@ApiProperty()
|
|
18
|
+
@IsString()
|
|
19
|
+
endText: string;
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
files?: File[];
|
|
23
|
+
}
|
|
@@ -74,6 +74,12 @@ export class QueryTaxDeadline {
|
|
|
74
74
|
@IsOptional()
|
|
75
75
|
@IsBoolean()
|
|
76
76
|
isClosed?: boolean;
|
|
77
|
+
|
|
78
|
+
@ApiPropertyOptional({ description: 'Récupérer uniquement les exercices back ou uniquement les non back' })
|
|
79
|
+
@IsOptional()
|
|
80
|
+
@IsBoolean()
|
|
81
|
+
isBack?: boolean;
|
|
82
|
+
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
export class QueryTaxDeadlineStatistics {
|