@silexpert/core 1.3.37 → 1.3.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/Authenticate.d.ts +6 -0
- package/dist/cjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/cjs/api/resources/Authenticate.js +8 -0
- package/dist/cjs/api/resources/Authenticate.js.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts +16 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.js +20 -0
- package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/cjs/api/resources/Rating.d.ts +2 -2
- package/dist/cjs/api/resources/Rating.d.ts.map +1 -1
- package/dist/cjs/api/resources/Rating.js.map +1 -1
- package/dist/cjs/api/resources/Revision.d.ts +3 -1
- package/dist/cjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/cjs/api/resources/Revision.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +2 -1
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +3 -0
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +23 -6
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +28 -8
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/api/resources/prestation.d.ts +3 -1
- package/dist/cjs/api/resources/prestation.d.ts.map +1 -1
- package/dist/cjs/api/resources/prestation.js.map +1 -1
- package/dist/cjs/types/Enum/Feature.d.ts +41 -0
- package/dist/cjs/types/Enum/Feature.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Feature.js +65 -0
- package/dist/cjs/types/Enum/Feature.js.map +1 -0
- package/dist/cjs/types/Enum/PrestationType.d.ts +13 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +183 -1
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts +27 -0
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.js +88 -28
- package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridLegalstart.d.ts +4 -4
- package/dist/cjs/types/Enum/PriceGridLegalstart.js +1 -1
- package/dist/cjs/types/Enum/PriceGridLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js +118 -0
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -13
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +1 -0
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +9 -3
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +15 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/State.d.ts +7 -0
- package/dist/cjs/types/Interface/api/society/State.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/State.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +22 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +74 -3
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -2
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +5 -8
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/models/IRegistration.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/brands.js +1 -1
- package/dist/cjs/utils/brands.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts +2 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +11 -1
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/mjs/api/resources/Authenticate.d.ts +6 -0
- package/dist/mjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/mjs/api/resources/Authenticate.js +6 -0
- package/dist/mjs/api/resources/Authenticate.js.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts +16 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.js +20 -0
- package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/mjs/api/resources/Rating.d.ts +2 -2
- package/dist/mjs/api/resources/Rating.d.ts.map +1 -1
- package/dist/mjs/api/resources/Rating.js.map +1 -1
- package/dist/mjs/api/resources/Revision.d.ts +3 -1
- package/dist/mjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/mjs/api/resources/Revision.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +2 -1
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +3 -0
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +23 -6
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +28 -8
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/api/resources/prestation.d.ts +3 -1
- package/dist/mjs/api/resources/prestation.d.ts.map +1 -1
- package/dist/mjs/api/resources/prestation.js.map +1 -1
- package/dist/mjs/types/Enum/Feature.d.ts +41 -0
- package/dist/mjs/types/Enum/Feature.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Feature.js +62 -0
- package/dist/mjs/types/Enum/Feature.js.map +1 -0
- package/dist/mjs/types/Enum/PrestationType.d.ts +13 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +182 -0
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts +27 -0
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.js +88 -28
- package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridLegalstart.d.ts +4 -4
- package/dist/mjs/types/Enum/PriceGridLegalstart.js +1 -1
- package/dist/mjs/types/Enum/PriceGridLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js +119 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -13
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +1 -0
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +11 -4
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +18 -2
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/State.d.ts +7 -0
- package/dist/mjs/types/Interface/api/society/State.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/State.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +22 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +82 -3
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -2
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +4 -8
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/models/IRegistration.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -1
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -1
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/brands.js +1 -1
- package/dist/mjs/utils/brands.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts +2 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +11 -2
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/package.json +2 -2
- package/ts/api/resources/Authenticate.ts +7 -0
- package/ts/api/resources/PaymentExpectation.ts +27 -0
- package/ts/api/resources/Rating.ts +1 -2
- package/ts/api/resources/Revision.ts +1 -1
- package/ts/api/resources/Society.ts +5 -0
- package/ts/api/resources/Subscription.ts +35 -18
- package/ts/api/resources/prestation.ts +1 -1
- package/ts/types/Enum/Feature.ts +68 -0
- package/ts/types/Enum/PrestationType.ts +186 -0
- package/ts/types/Enum/PriceGridClementine.ts +88 -28
- package/ts/types/Enum/PriceGridLegalstart.ts +1 -1
- package/ts/types/Enum/SalesContractBrandClementine.ts +119 -1
- package/ts/types/Interface/api/cerfa/2031.ts +1 -0
- package/ts/types/Interface/api/cerfa/2035.ts +6 -1
- package/ts/types/Interface/api/cerfa/2065.ts +1 -0
- package/ts/types/Interface/api/cerfa/2069RCI.ts +1 -0
- package/ts/types/Interface/api/cerfa/2571.ts +1 -0
- package/ts/types/Interface/api/cerfa/2572.ts +1 -0
- package/ts/types/Interface/api/cerfa/2573.ts +1 -0
- package/ts/types/Interface/api/config/ConfigType.ts +0 -16
- package/ts/types/Interface/api/paymentExpectation/CreatePaymentExpecation.ts +9 -4
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +15 -3
- package/ts/types/Interface/api/society/State.ts +8 -0
- package/ts/types/Interface/api/stripe/Create.ts +59 -4
- package/ts/types/Interface/api/stripe/QueryStripe.ts +3 -5
- package/ts/types/Interface/models/IPayment.ts +2 -0
- package/ts/types/Interface/models/IPaymentExpectation.ts +1 -0
- package/ts/types/Interface/models/IRegistration.ts +2 -0
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +1 -1
- package/ts/utils/brands.ts +1 -1
- package/ts/utils/prestation.ts +15 -1
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts +0 -5
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.js +0 -3
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.js.map +0 -1
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts +0 -5
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.js +0 -2
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.js.map +0 -1
- package/ts/types/Interface/api/stripe/ReadStripe.ts +0 -4
|
@@ -179,6 +179,14 @@ export enum PrestationType {
|
|
|
179
179
|
ENVOIE_LRAR = 222,
|
|
180
180
|
FORECAST_BALANCE_SHEET_AT_0 = 226,
|
|
181
181
|
CONSULTING_HOUR = 227,
|
|
182
|
+
BILLING = 228,
|
|
183
|
+
STEERING = 229,
|
|
184
|
+
VAT = 230,
|
|
185
|
+
BALANCESHEET = 231,
|
|
186
|
+
EXPERTISE = 232,
|
|
187
|
+
SUPPORT = 233,
|
|
188
|
+
PREMIUM = 234,
|
|
189
|
+
CUSTOM_MADE = 235,
|
|
182
190
|
}
|
|
183
191
|
|
|
184
192
|
// Liste des prestations avec une lettre de mission à signer
|
|
@@ -208,6 +216,32 @@ export const allPrestationsWithBrochure = [
|
|
|
208
216
|
PrestationType.DECLARATION_IR,
|
|
209
217
|
];
|
|
210
218
|
|
|
219
|
+
export const allPrestations2025WithBrochure = [
|
|
220
|
+
PrestationType.EXPERTISE,
|
|
221
|
+
PrestationType.SUPPORT,
|
|
222
|
+
PrestationType.PREMIUM,
|
|
223
|
+
PrestationType.CUSTOM_MADE,
|
|
224
|
+
];
|
|
225
|
+
|
|
226
|
+
export const ClementineSubscriptionAccountancyExpertPrestations: PrestationType[] = [
|
|
227
|
+
PrestationType.EXPERTISE,
|
|
228
|
+
PrestationType.SUPPORT,
|
|
229
|
+
PrestationType.PREMIUM,
|
|
230
|
+
PrestationType.CUSTOM_MADE,
|
|
231
|
+
];
|
|
232
|
+
|
|
233
|
+
export const ClementineSubscriptionAccountancySoftwarePrestations: PrestationType[] = [
|
|
234
|
+
PrestationType.BILLING,
|
|
235
|
+
PrestationType.STEERING,
|
|
236
|
+
PrestationType.VAT,
|
|
237
|
+
PrestationType.BALANCESHEET,
|
|
238
|
+
];
|
|
239
|
+
|
|
240
|
+
export const ClementineSubscriptionAccountancyPrestations: PrestationType[] = [
|
|
241
|
+
...ClementineSubscriptionAccountancyExpertPrestations,
|
|
242
|
+
...ClementineSubscriptionAccountancySoftwarePrestations,
|
|
243
|
+
];
|
|
244
|
+
|
|
211
245
|
export interface PrestationDetailEnum {
|
|
212
246
|
[key: string]: IPrestationList;
|
|
213
247
|
}
|
|
@@ -3599,4 +3633,156 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3599
3633
|
signaturePage: null,
|
|
3600
3634
|
point: 0,
|
|
3601
3635
|
},
|
|
3636
|
+
BILLING: {
|
|
3637
|
+
id: PrestationType.BILLING,
|
|
3638
|
+
name: 'Facturation',
|
|
3639
|
+
isComptable: true,
|
|
3640
|
+
isJuridique: false,
|
|
3641
|
+
isSocial: false,
|
|
3642
|
+
isAttestation: false,
|
|
3643
|
+
inAverageCart: true,
|
|
3644
|
+
isBack: false,
|
|
3645
|
+
minimumPrice: null,
|
|
3646
|
+
price: null,
|
|
3647
|
+
isCatalog: false,
|
|
3648
|
+
isPlannable: false,
|
|
3649
|
+
hidden: false,
|
|
3650
|
+
isComplementary: false,
|
|
3651
|
+
signaturePosition: '400,54,569,90',
|
|
3652
|
+
signaturePage: 7, //???
|
|
3653
|
+
point: 200, //???
|
|
3654
|
+
},
|
|
3655
|
+
STEERING: {
|
|
3656
|
+
id: PrestationType.STEERING,
|
|
3657
|
+
name: 'Pilotage',
|
|
3658
|
+
isComptable: true,
|
|
3659
|
+
isJuridique: false,
|
|
3660
|
+
isSocial: false,
|
|
3661
|
+
isAttestation: false,
|
|
3662
|
+
inAverageCart: true,
|
|
3663
|
+
isBack: false,
|
|
3664
|
+
minimumPrice: null,
|
|
3665
|
+
price: null,
|
|
3666
|
+
isCatalog: false,
|
|
3667
|
+
isPlannable: false,
|
|
3668
|
+
hidden: false,
|
|
3669
|
+
isComplementary: false,
|
|
3670
|
+
signaturePosition: '400,54,569,90',
|
|
3671
|
+
signaturePage: 7, //???
|
|
3672
|
+
point: 200, //???
|
|
3673
|
+
},
|
|
3674
|
+
VAT: {
|
|
3675
|
+
id: PrestationType.VAT,
|
|
3676
|
+
name: 'TVA',
|
|
3677
|
+
isComptable: true,
|
|
3678
|
+
isJuridique: false,
|
|
3679
|
+
isSocial: false,
|
|
3680
|
+
isAttestation: false,
|
|
3681
|
+
inAverageCart: true,
|
|
3682
|
+
isBack: false,
|
|
3683
|
+
minimumPrice: null,
|
|
3684
|
+
price: null,
|
|
3685
|
+
isCatalog: false,
|
|
3686
|
+
isPlannable: false,
|
|
3687
|
+
hidden: false,
|
|
3688
|
+
isComplementary: false,
|
|
3689
|
+
signaturePosition: '400,54,569,90',
|
|
3690
|
+
signaturePage: 7, //???
|
|
3691
|
+
point: 200, //???
|
|
3692
|
+
},
|
|
3693
|
+
BALANCESHEET: {
|
|
3694
|
+
id: PrestationType.BALANCESHEET,
|
|
3695
|
+
name: 'Bilan',
|
|
3696
|
+
isComptable: true,
|
|
3697
|
+
isJuridique: false,
|
|
3698
|
+
isSocial: false,
|
|
3699
|
+
isAttestation: false,
|
|
3700
|
+
inAverageCart: true,
|
|
3701
|
+
isBack: false,
|
|
3702
|
+
minimumPrice: null,
|
|
3703
|
+
price: null,
|
|
3704
|
+
isCatalog: false,
|
|
3705
|
+
isPlannable: false,
|
|
3706
|
+
hidden: false,
|
|
3707
|
+
isComplementary: false,
|
|
3708
|
+
signaturePosition: '400,54,569,90',
|
|
3709
|
+
signaturePage: 7, //???
|
|
3710
|
+
point: 200, //???
|
|
3711
|
+
},
|
|
3712
|
+
EXPERTISE: {
|
|
3713
|
+
id: PrestationType.EXPERTISE,
|
|
3714
|
+
name: 'Expertise',
|
|
3715
|
+
isComptable: true,
|
|
3716
|
+
isJuridique: false,
|
|
3717
|
+
isSocial: false,
|
|
3718
|
+
isAttestation: false,
|
|
3719
|
+
inAverageCart: true,
|
|
3720
|
+
isBack: false,
|
|
3721
|
+
minimumPrice: null,
|
|
3722
|
+
price: 89,
|
|
3723
|
+
isCatalog: false,
|
|
3724
|
+
isPlannable: false,
|
|
3725
|
+
hidden: false,
|
|
3726
|
+
isComplementary: false,
|
|
3727
|
+
signaturePosition: '400,54,569,90',
|
|
3728
|
+
signaturePage: 7, //???
|
|
3729
|
+
point: 200, //???
|
|
3730
|
+
},
|
|
3731
|
+
SUPPORT: {
|
|
3732
|
+
id: PrestationType.SUPPORT,
|
|
3733
|
+
name: 'Accompagnement',
|
|
3734
|
+
isComptable: true,
|
|
3735
|
+
isJuridique: false,
|
|
3736
|
+
isSocial: false,
|
|
3737
|
+
isAttestation: false,
|
|
3738
|
+
inAverageCart: true,
|
|
3739
|
+
isBack: false,
|
|
3740
|
+
minimumPrice: null,
|
|
3741
|
+
price: 139,
|
|
3742
|
+
isCatalog: false,
|
|
3743
|
+
isPlannable: false,
|
|
3744
|
+
hidden: false,
|
|
3745
|
+
isComplementary: false,
|
|
3746
|
+
signaturePosition: '400,54,569,90',
|
|
3747
|
+
signaturePage: 7, //???
|
|
3748
|
+
point: 200, //???
|
|
3749
|
+
},
|
|
3750
|
+
PREMIUM: {
|
|
3751
|
+
id: PrestationType.PREMIUM,
|
|
3752
|
+
name: 'Premium',
|
|
3753
|
+
isComptable: true,
|
|
3754
|
+
isJuridique: false,
|
|
3755
|
+
isSocial: false,
|
|
3756
|
+
isAttestation: false,
|
|
3757
|
+
inAverageCart: true,
|
|
3758
|
+
isBack: false,
|
|
3759
|
+
minimumPrice: null,
|
|
3760
|
+
price: 199,
|
|
3761
|
+
isCatalog: false,
|
|
3762
|
+
isPlannable: false,
|
|
3763
|
+
hidden: false,
|
|
3764
|
+
isComplementary: false,
|
|
3765
|
+
signaturePosition: '400,54,569,90',
|
|
3766
|
+
signaturePage: 7, //???
|
|
3767
|
+
point: 200, //???
|
|
3768
|
+
},
|
|
3769
|
+
CUSTOM_MADE: {
|
|
3770
|
+
id: PrestationType.CUSTOM_MADE,
|
|
3771
|
+
name: 'Sur-mesure',
|
|
3772
|
+
isComptable: true,
|
|
3773
|
+
isJuridique: false,
|
|
3774
|
+
isSocial: false,
|
|
3775
|
+
isAttestation: false,
|
|
3776
|
+
inAverageCart: true,
|
|
3777
|
+
isBack: false,
|
|
3778
|
+
minimumPrice: null,
|
|
3779
|
+
price: null,
|
|
3780
|
+
isCatalog: false,
|
|
3781
|
+
isPlannable: false,
|
|
3782
|
+
hidden: false,
|
|
3783
|
+
isComplementary: false,
|
|
3784
|
+
signaturePosition: '400,54,569,90',
|
|
3785
|
+
signaturePage: 7, //???
|
|
3786
|
+
point: 200, //???
|
|
3787
|
+
},
|
|
3602
3788
|
};
|
|
@@ -293,20 +293,25 @@ export const PriceGridClementine = [
|
|
|
293
293
|
applicationCost: 14.9,
|
|
294
294
|
priceWithTaxesIncluded: false,
|
|
295
295
|
partner: [
|
|
296
|
+
// {
|
|
297
|
+
// amountMinimum: 1,
|
|
298
|
+
// amountMaximum: 1,
|
|
299
|
+
// price: 249,
|
|
300
|
+
// },
|
|
301
|
+
// {
|
|
302
|
+
// amountMinimum: 2,
|
|
303
|
+
// amountMaximum: 4,
|
|
304
|
+
// price: 299,
|
|
305
|
+
// },
|
|
306
|
+
// {
|
|
307
|
+
// amountMinimum: 5,
|
|
308
|
+
// amountMaximum: 1000000,
|
|
309
|
+
// price: 399,
|
|
310
|
+
// },
|
|
296
311
|
{
|
|
297
312
|
amountMinimum: 1,
|
|
298
|
-
amountMaximum: 1,
|
|
299
|
-
price: 249,
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
amountMinimum: 2,
|
|
303
|
-
amountMaximum: 4,
|
|
304
|
-
price: 299,
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
amountMinimum: 5,
|
|
308
313
|
amountMaximum: 1000000,
|
|
309
|
-
price:
|
|
314
|
+
price: 249,
|
|
310
315
|
},
|
|
311
316
|
],
|
|
312
317
|
},
|
|
@@ -323,21 +328,11 @@ export const PriceGridClementine = [
|
|
|
323
328
|
},
|
|
324
329
|
{
|
|
325
330
|
amountMinimum: 2,
|
|
326
|
-
amountMaximum:
|
|
331
|
+
amountMaximum: 10,
|
|
327
332
|
price: 30,
|
|
328
333
|
},
|
|
329
334
|
{
|
|
330
|
-
amountMinimum:
|
|
331
|
-
amountMaximum: 20,
|
|
332
|
-
price: 28,
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
amountMinimum: 21,
|
|
336
|
-
amountMaximum: 50,
|
|
337
|
-
price: 27,
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
amountMinimum: 50,
|
|
335
|
+
amountMinimum: 11,
|
|
341
336
|
amountMaximum: 1000000,
|
|
342
337
|
price: 25,
|
|
343
338
|
},
|
|
@@ -349,18 +344,83 @@ export const PriceGridClementine = [
|
|
|
349
344
|
applicationCost: 14.9,
|
|
350
345
|
priceWithTaxesIncluded: false,
|
|
351
346
|
exerciceNbr: [
|
|
347
|
+
// {
|
|
348
|
+
// minimum: 1,
|
|
349
|
+
// maximum: 2,
|
|
350
|
+
// price: 149,
|
|
351
|
+
// },
|
|
352
|
+
// {
|
|
353
|
+
// minimum: 3,
|
|
354
|
+
// maximum: 1000,
|
|
355
|
+
// price: 299,
|
|
356
|
+
// },
|
|
352
357
|
{
|
|
353
358
|
minimum: 1,
|
|
354
|
-
maximum: 2,
|
|
355
|
-
price: 149,
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
minimum: 3,
|
|
359
359
|
maximum: 1000,
|
|
360
360
|
price: 299,
|
|
361
361
|
},
|
|
362
362
|
],
|
|
363
363
|
},
|
|
364
|
+
{
|
|
365
|
+
/* Compta Expertise */
|
|
366
|
+
idPrestationList: [PrestationType.EXPERTISE],
|
|
367
|
+
applicationCost: 0,
|
|
368
|
+
priceWithTaxesIncluded: false,
|
|
369
|
+
monthlyNbr: [],
|
|
370
|
+
turnoverMonthly: [
|
|
371
|
+
{
|
|
372
|
+
turnoverValue: 1000000000000,
|
|
373
|
+
price: 89,
|
|
374
|
+
},
|
|
375
|
+
],
|
|
376
|
+
turnoverYearly: [
|
|
377
|
+
{
|
|
378
|
+
turnoverValue: 1000000000000,
|
|
379
|
+
price: 890,
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
vatRegimeMonthly: [],
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
/* Compta Accompagnement */
|
|
386
|
+
idPrestationList: [PrestationType.SUPPORT],
|
|
387
|
+
applicationCost: 0,
|
|
388
|
+
priceWithTaxesIncluded: false,
|
|
389
|
+
monthlyNbr: [],
|
|
390
|
+
turnoverMonthly: [
|
|
391
|
+
{
|
|
392
|
+
turnoverValue: 1000000000000,
|
|
393
|
+
price: 139,
|
|
394
|
+
},
|
|
395
|
+
],
|
|
396
|
+
turnoverYearly: [
|
|
397
|
+
{
|
|
398
|
+
turnoverValue: 1000000000000,
|
|
399
|
+
price: 1390,
|
|
400
|
+
},
|
|
401
|
+
],
|
|
402
|
+
vatRegimeMonthly: [],
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
/* Compta Premium */
|
|
406
|
+
idPrestationList: [PrestationType.PREMIUM],
|
|
407
|
+
applicationCost: 0,
|
|
408
|
+
priceWithTaxesIncluded: false,
|
|
409
|
+
monthlyNbr: [],
|
|
410
|
+
turnoverMonthly: [
|
|
411
|
+
{
|
|
412
|
+
turnoverValue: 1000000000000,
|
|
413
|
+
price: 199,
|
|
414
|
+
},
|
|
415
|
+
],
|
|
416
|
+
turnoverYearly: [
|
|
417
|
+
{
|
|
418
|
+
turnoverValue: 1000000000000,
|
|
419
|
+
price: 1990,
|
|
420
|
+
},
|
|
421
|
+
],
|
|
422
|
+
vatRegimeMonthly: [],
|
|
423
|
+
},
|
|
364
424
|
],
|
|
365
425
|
},
|
|
366
426
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SaleContract } from '..';
|
|
2
|
-
import { PrestationType, allPrestationsWithBrochure, PrestationDetail } from './PrestationType';
|
|
2
|
+
import { PrestationType, allPrestationsWithBrochure, PrestationDetail, allPrestations2025WithBrochure } from './PrestationType';
|
|
3
3
|
|
|
4
4
|
export const SalesContractClementine: SaleContract[] = [
|
|
5
5
|
{
|
|
@@ -9,6 +9,13 @@ export const SalesContractClementine: SaleContract[] = [
|
|
|
9
9
|
versionable: false,
|
|
10
10
|
idPrestationType: allPrestationsWithBrochure,
|
|
11
11
|
},
|
|
12
|
+
{
|
|
13
|
+
label: "Page d'introduction 2025",
|
|
14
|
+
name: 'page_intro_2025',
|
|
15
|
+
needBgImage: true,
|
|
16
|
+
versionable: false,
|
|
17
|
+
idPrestationType: allPrestations2025WithBrochure,
|
|
18
|
+
},
|
|
12
19
|
{
|
|
13
20
|
label: 'Page chiffres',
|
|
14
21
|
name: 'page_numbers',
|
|
@@ -16,6 +23,82 @@ export const SalesContractClementine: SaleContract[] = [
|
|
|
16
23
|
versionable: false,
|
|
17
24
|
idPrestationType: allPrestationsWithBrochure,
|
|
18
25
|
},
|
|
26
|
+
{
|
|
27
|
+
label: "Page chiffres 2025",
|
|
28
|
+
name: 'page_numbers_2025',
|
|
29
|
+
needBgImage: true,
|
|
30
|
+
versionable: false,
|
|
31
|
+
idPrestationType: allPrestations2025WithBrochure,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: "Page expertise 2025",
|
|
35
|
+
name: 'page_expertise_2025',
|
|
36
|
+
needBgImage: false,
|
|
37
|
+
versionable: false,
|
|
38
|
+
idPrestationType: [
|
|
39
|
+
PrestationType.EXPERTISE,
|
|
40
|
+
],
|
|
41
|
+
condition: (turnover: number): boolean => turnover < 250000,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
label: "Page accompagnement 2025",
|
|
45
|
+
name: 'page_support_2025',
|
|
46
|
+
needBgImage: false,
|
|
47
|
+
versionable: false,
|
|
48
|
+
idPrestationType: [
|
|
49
|
+
PrestationType.SUPPORT,
|
|
50
|
+
],
|
|
51
|
+
condition: (turnover: number): boolean => turnover < 750000,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
label: "Page premium 2025",
|
|
55
|
+
name: 'page_premium_2025',
|
|
56
|
+
needBgImage: false,
|
|
57
|
+
versionable: false,
|
|
58
|
+
idPrestationType: [
|
|
59
|
+
PrestationType.PREMIUM,
|
|
60
|
+
],
|
|
61
|
+
condition: (turnover: number): boolean => turnover < 1200000,
|
|
62
|
+
},
|
|
63
|
+
// {
|
|
64
|
+
// label: 'Forfait social 2025',
|
|
65
|
+
// name: 'bloc_social_2025',
|
|
66
|
+
// needBgImage: false,
|
|
67
|
+
// versionable: true,
|
|
68
|
+
// idPrestationType: allPrestations2025WithBrochure,
|
|
69
|
+
// keyName: 'idPrestationSocial',
|
|
70
|
+
// },
|
|
71
|
+
// {
|
|
72
|
+
// label: 'Forfait approbation des comptes annuels 2025',
|
|
73
|
+
// name: 'bloc_annual_accounts_2025',
|
|
74
|
+
// needBgImage: false,
|
|
75
|
+
// idPrestationType: allPrestations2025WithBrochure,
|
|
76
|
+
// versionable: true,
|
|
77
|
+
// keyName: 'idPrestationJuridique',
|
|
78
|
+
// },
|
|
79
|
+
// {
|
|
80
|
+
// label: 'Accompagnement contrôle fiscal 2025',
|
|
81
|
+
// name: 'bloc_tax_audit_2025',
|
|
82
|
+
// needBgImage: false,
|
|
83
|
+
// idPrestationType: allPrestations2025WithBrochure,
|
|
84
|
+
// versionable: true,
|
|
85
|
+
// keyName: 'idPrestationControleFiscal',
|
|
86
|
+
// },
|
|
87
|
+
// {
|
|
88
|
+
// label: 'Heure de Conseil 2025',
|
|
89
|
+
// name: 'bloc_heure_de_conseil_2025',
|
|
90
|
+
// needBgImage: false,
|
|
91
|
+
// idPrestationType: allPrestations2025WithBrochure,
|
|
92
|
+
// versionable: false,
|
|
93
|
+
// keyName: 'prestationOptions',
|
|
94
|
+
// },
|
|
95
|
+
{
|
|
96
|
+
label: 'Prestations complémentaires 2025',
|
|
97
|
+
name: 'page_presta_complem_2025',
|
|
98
|
+
needBgImage: false,
|
|
99
|
+
idPrestationType: allPrestations2025WithBrochure,
|
|
100
|
+
versionable: false,
|
|
101
|
+
},
|
|
19
102
|
{
|
|
20
103
|
label: 'Page simplifié',
|
|
21
104
|
name: 'page_simplified',
|
|
@@ -195,6 +278,41 @@ export const SalesContractClementine: SaleContract[] = [
|
|
|
195
278
|
idPrestationType: allPrestationsWithBrochure,
|
|
196
279
|
versionable: false,
|
|
197
280
|
},
|
|
281
|
+
{
|
|
282
|
+
label: 'Conditions Générales de Vente 2025 (CGV) 1/3',
|
|
283
|
+
name: 'bloc_cgv_first_2025',
|
|
284
|
+
needBgImage: false,
|
|
285
|
+
idPrestationType: allPrestations2025WithBrochure,
|
|
286
|
+
versionable: false,
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
label: 'Conditions Générales de Vente 2025 (CGV) 2/3',
|
|
290
|
+
name: 'bloc_cgv_second_2025',
|
|
291
|
+
needBgImage: false,
|
|
292
|
+
idPrestationType: allPrestations2025WithBrochure,
|
|
293
|
+
versionable: false,
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
label: 'Conditions Générales de Vente 2025 (CGV) 3/3',
|
|
297
|
+
name: 'bloc_cgv_third_2025',
|
|
298
|
+
needBgImage: false,
|
|
299
|
+
idPrestationType: allPrestations2025WithBrochure,
|
|
300
|
+
versionable: false,
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
label: 'Détail de la lettre de mission 2025',
|
|
304
|
+
name: 'page_detail_ldm_2025',
|
|
305
|
+
needBgImage: false,
|
|
306
|
+
versionable: false,
|
|
307
|
+
idPrestationType: allPrestations2025WithBrochure
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
label: 'Devis 2025',
|
|
311
|
+
name: 'page_quotation_2025',
|
|
312
|
+
needBgImage: false,
|
|
313
|
+
idPrestationType: allPrestations2025WithBrochure,
|
|
314
|
+
versionable: false,
|
|
315
|
+
},
|
|
198
316
|
{
|
|
199
317
|
label: 'Mandat de prélèvement SEPA',
|
|
200
318
|
name: 'bloc_sepa',
|
|
@@ -52,7 +52,12 @@ export type FullCerfa2035_2025 = Cerfa2035_2025 & Cerfa2035WithSuites_2025;
|
|
|
52
52
|
|
|
53
53
|
export type AnyCerfa2035Century = FullCerfa2035 | FullCerfa2035_2024 | FullCerfa2035_2025;
|
|
54
54
|
|
|
55
|
-
export type Prepare2035Params = {
|
|
55
|
+
export type Prepare2035Params = {
|
|
56
|
+
idSociety: number;
|
|
57
|
+
idUser: number;
|
|
58
|
+
idExercice: number;
|
|
59
|
+
values: FullCerfa2035 | FullCerfa2035_2024;
|
|
60
|
+
};
|
|
56
61
|
|
|
57
62
|
export interface Cerfa2035ProfessionalRecipes {
|
|
58
63
|
collected: number;
|
|
@@ -13,9 +13,6 @@ export interface ConfigType {
|
|
|
13
13
|
comptaclementineTest: ComptaclementineTest;
|
|
14
14
|
bred: Bred;
|
|
15
15
|
awsClementine: AwsClementine;
|
|
16
|
-
stripe: Stripe;
|
|
17
|
-
stripeECB: StripeEcb;
|
|
18
|
-
stripeStatuts: StripeStatuts;
|
|
19
16
|
mail: Mail;
|
|
20
17
|
client: Client;
|
|
21
18
|
twilio: Twilio;
|
|
@@ -155,19 +152,6 @@ export interface AwsClementine {
|
|
|
155
152
|
apiVersion: string;
|
|
156
153
|
}
|
|
157
154
|
|
|
158
|
-
export interface Stripe {
|
|
159
|
-
secretKey: string;
|
|
160
|
-
secretKeyTestToDelete: string;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export interface StripeEcb {
|
|
164
|
-
secretKey: string;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export interface StripeStatuts {
|
|
168
|
-
secretKey: string;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
155
|
export interface Mail {
|
|
172
156
|
user: string;
|
|
173
157
|
password: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsNumber, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { PaymentReason } from '../../../Enum/PaymentReason';
|
|
4
4
|
|
|
@@ -17,16 +17,16 @@ export class CreatePaymentExpecation {
|
|
|
17
17
|
payload?: string | null;
|
|
18
18
|
|
|
19
19
|
@ApiProperty()
|
|
20
|
-
@
|
|
20
|
+
@IsInt()
|
|
21
21
|
idReason: PaymentReason;
|
|
22
22
|
|
|
23
23
|
@ApiPropertyOptional()
|
|
24
|
-
@
|
|
24
|
+
@IsInt()
|
|
25
25
|
@IsOptional()
|
|
26
26
|
idPrestation?: number | null;
|
|
27
27
|
|
|
28
28
|
@ApiPropertyOptional()
|
|
29
|
-
@
|
|
29
|
+
@IsInt()
|
|
30
30
|
@IsOptional()
|
|
31
31
|
idRegulation?: number | null;
|
|
32
32
|
|
|
@@ -34,4 +34,9 @@ export class CreatePaymentExpecation {
|
|
|
34
34
|
@IsString()
|
|
35
35
|
@IsOptional()
|
|
36
36
|
ref?: string | null;
|
|
37
|
+
|
|
38
|
+
@ApiPropertyOptional()
|
|
39
|
+
@IsInt()
|
|
40
|
+
@IsOptional()
|
|
41
|
+
idUserNotifyPaiementProceed?: number | null;
|
|
37
42
|
}
|
|
@@ -1,11 +1,23 @@
|
|
|
1
|
-
import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
4
4
|
|
|
5
5
|
export class QueryGetPaymentExpectation {
|
|
6
|
-
@
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
7
8
|
@IsInt()
|
|
8
|
-
idPrestation
|
|
9
|
+
idPrestation?: number;
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
@IsString()
|
|
14
|
+
ref?: string;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
@IsOptional()
|
|
18
|
+
@IsString({each: true})
|
|
19
|
+
@IsIn(['society', 'owner'], { each: true })
|
|
20
|
+
includes?: string[];
|
|
9
21
|
}
|
|
10
22
|
|
|
11
23
|
export class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TerminationListState, TerminationListType } from '../../../Enum/TerminationList';
|
|
2
|
+
import { IPrestation } from '../../models/IPrestation';
|
|
2
3
|
import { ITerminationList } from '../../models/ITerminationList';
|
|
3
4
|
|
|
4
5
|
interface SocietyStateTerminationInfo {
|
|
@@ -13,3 +14,10 @@ export interface GetSocietyState {
|
|
|
13
14
|
terminations: ITerminationList[];
|
|
14
15
|
isCorporatePartner: number;
|
|
15
16
|
}
|
|
17
|
+
|
|
18
|
+
export type ReadCurrentPrestations = {
|
|
19
|
+
/** Accountancy subscription prestation (does not contains balancesheets prestations...) */
|
|
20
|
+
accountancySubscription: Partial<IPrestation> | null;
|
|
21
|
+
social: Partial<IPrestation>[];
|
|
22
|
+
juridical: Partial<IPrestation>[];
|
|
23
|
+
};
|