@silexpert/core 1.3.37-5 → 1.3.38
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/Card.d.ts +2 -18
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +0 -19
- package/dist/cjs/api/resources/Card.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/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/SocietyDetail.js +1 -1
- package/dist/cjs/api/resources/SocietyDetail.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/Card.d.ts +22 -110
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +26 -162
- package/dist/cjs/types/Enum/Card.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/PartneredAccountantServiceType.d.ts +11 -0
- package/dist/cjs/types/Enum/PartneredAccountantServiceType.d.ts.map +1 -0
- package/dist/cjs/types/Enum/PartneredAccountantServiceType.js +43 -0
- package/dist/cjs/types/Enum/PartneredAccountantServiceType.js.map +1 -0
- package/dist/cjs/types/Enum/PartneredAccountantServiceTypeId.d.ts +9 -0
- package/dist/cjs/types/Enum/PartneredAccountantServiceTypeId.d.ts.map +1 -0
- package/dist/cjs/types/Enum/PartneredAccountantServiceTypeId.js +13 -0
- package/dist/cjs/types/Enum/PartneredAccountantServiceTypeId.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/Enum/TimeCounterType.d.ts +362 -9
- package/dist/cjs/types/Enum/TimeCounterType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/TimeCounterType.js +0 -8
- package/dist/cjs/types/Enum/TimeCounterType.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +1 -11
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.js +2 -38
- package/dist/cjs/types/Interface/api/card/UpdateCard.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/api/team/QueryUpdate.d.ts +0 -2
- package/dist/cjs/types/Interface/api/team/QueryUpdate.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/team/QueryUpdate.js +0 -7
- package/dist/cjs/types/Interface/api/team/QueryUpdate.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICard.d.ts +0 -20
- package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICard.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/ITeam.d.ts +0 -2
- package/dist/cjs/types/Interface/models/ITeam.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ITeam.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 +3 -2
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -2
- 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/cjs/utils/subscription.js +1 -1
- package/dist/cjs/utils/subscription.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/Card.d.ts +2 -18
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +0 -19
- package/dist/mjs/api/resources/Card.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/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/SocietyDetail.js +1 -1
- package/dist/mjs/api/resources/SocietyDetail.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/Card.d.ts +22 -110
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +26 -162
- package/dist/mjs/types/Enum/Card.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/PartneredAccountantServiceType.d.ts +11 -0
- package/dist/mjs/types/Enum/PartneredAccountantServiceType.d.ts.map +1 -0
- package/dist/mjs/types/Enum/PartneredAccountantServiceType.js +40 -0
- package/dist/mjs/types/Enum/PartneredAccountantServiceType.js.map +1 -0
- package/dist/mjs/types/Enum/PartneredAccountantServiceTypeId.d.ts +9 -0
- package/dist/mjs/types/Enum/PartneredAccountantServiceTypeId.d.ts.map +1 -0
- package/dist/mjs/types/Enum/PartneredAccountantServiceTypeId.js +10 -0
- package/dist/mjs/types/Enum/PartneredAccountantServiceTypeId.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/Enum/TimeCounterType.d.ts +362 -9
- package/dist/mjs/types/Enum/TimeCounterType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/TimeCounterType.js +0 -8
- package/dist/mjs/types/Enum/TimeCounterType.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +1 -11
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js +2 -42
- package/dist/mjs/types/Interface/api/card/UpdateCard.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/api/team/QueryUpdate.d.ts +0 -2
- package/dist/mjs/types/Interface/api/team/QueryUpdate.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/team/QueryUpdate.js +1 -9
- package/dist/mjs/types/Interface/api/team/QueryUpdate.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICard.d.ts +0 -20
- package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICard.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/ITeam.d.ts +0 -2
- package/dist/mjs/types/Interface/models/ITeam.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ITeam.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 +3 -2
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -2
- 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/dist/mjs/utils/subscription.js +1 -1
- package/dist/mjs/utils/subscription.js.map +1 -1
- package/package.json +2 -2
- package/ts/api/resources/Authenticate.ts +7 -0
- package/ts/api/resources/Card.ts +1 -25
- package/ts/api/resources/PaymentExpectation.ts +27 -0
- package/ts/api/resources/Society.ts +5 -0
- package/ts/api/resources/SocietyDetail.ts +1 -1
- package/ts/api/resources/Subscription.ts +35 -18
- package/ts/api/resources/prestation.ts +1 -1
- package/ts/types/Enum/Card.ts +29 -174
- package/ts/types/Enum/Feature.ts +68 -0
- package/ts/types/Enum/PartneredAccountantServiceType.ts +51 -0
- package/ts/types/Enum/PartneredAccountantServiceTypeId.ts +8 -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/Enum/TimeCounterType.ts +1 -18
- package/ts/types/Interface/api/card/UpdateCard.ts +2 -32
- 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/api/team/QueryUpdate.ts +1 -7
- package/ts/types/Interface/models/ICard.ts +0 -20
- package/ts/types/Interface/models/IPayment.ts +2 -0
- package/ts/types/Interface/models/IPaymentExpectation.ts +1 -0
- package/ts/types/Interface/models/ITeam.ts +0 -2
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +3 -2
- package/ts/utils/brands.ts +1 -1
- package/ts/utils/prestation.ts +15 -1
- package/ts/utils/subscription.ts +1 -1
- package/dist/cjs/types/Enum/TeamType.d.ts +0 -16
- package/dist/cjs/types/Enum/TeamType.d.ts.map +0 -1
- package/dist/cjs/types/Enum/TeamType.js +0 -57
- package/dist/cjs/types/Enum/TeamType.js.map +0 -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/Enum/TeamType.d.ts +0 -16
- package/dist/mjs/types/Enum/TeamType.d.ts.map +0 -1
- package/dist/mjs/types/Enum/TeamType.js +0 -54
- package/dist/mjs/types/Enum/TeamType.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/Enum/TeamType.ts +0 -53
- package/ts/types/Interface/api/stripe/ReadStripe.ts +0 -4
|
@@ -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',
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import { Role } from './Role';
|
|
2
2
|
|
|
3
|
-
export interface TimeCounterTypeInterface {
|
|
4
|
-
id: number;
|
|
5
|
-
label: string;
|
|
6
|
-
aberrantTime: number;
|
|
7
|
-
limitedRoles: Role[] | null;
|
|
8
|
-
color: string;
|
|
9
|
-
isOverlappable: boolean;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
3
|
/**
|
|
13
4
|
* Pour les calendarEvent, utilisé comme type principal
|
|
14
5
|
*/
|
|
15
|
-
export const TimeCounterType
|
|
6
|
+
export const TimeCounterType = {
|
|
16
7
|
ONBOARDING: {
|
|
17
8
|
id: 1,
|
|
18
9
|
label: 'OnBoarding',
|
|
@@ -391,12 +382,4 @@ export const TimeCounterType: Record<string, TimeCounterTypeInterface> = {
|
|
|
391
382
|
color: 'fern-dark',
|
|
392
383
|
isOverlappable: false,
|
|
393
384
|
},
|
|
394
|
-
CARD: {
|
|
395
|
-
id: 46,
|
|
396
|
-
label: 'Comptallo',
|
|
397
|
-
aberrantTime: 15,
|
|
398
|
-
limitedRoles: null,
|
|
399
|
-
color: 'fire',
|
|
400
|
-
isOverlappable: true,
|
|
401
|
-
}
|
|
402
385
|
};
|
|
@@ -1,37 +1,8 @@
|
|
|
1
|
-
import { IsBoolean,
|
|
1
|
+
import { IsBoolean, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { CardState, CardType } from '../../../Enum/Card';
|
|
4
4
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
5
|
|
|
6
|
-
export class UpdateCardV2 {
|
|
7
|
-
@ApiPropertyOptional()
|
|
8
|
-
@IsOptional()
|
|
9
|
-
@IsEnum(CardState)
|
|
10
|
-
state?: CardState;
|
|
11
|
-
|
|
12
|
-
@ApiPropertyOptional()
|
|
13
|
-
@IsOptional()
|
|
14
|
-
plannedAt?: Date | null;
|
|
15
|
-
|
|
16
|
-
@ApiPropertyOptional()
|
|
17
|
-
@IsOptional()
|
|
18
|
-
@IsInt()
|
|
19
|
-
idUser?: number;
|
|
20
|
-
|
|
21
|
-
@ApiPropertyOptional()
|
|
22
|
-
@IsOptional()
|
|
23
|
-
@IsString()
|
|
24
|
-
comment?: string;
|
|
25
|
-
|
|
26
|
-
@ApiPropertyOptional()
|
|
27
|
-
@IsOptional()
|
|
28
|
-
@IsInt()
|
|
29
|
-
priority?: number;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Use UpdateCardV2 instead
|
|
34
|
-
*/
|
|
35
6
|
export class UpdateCard {
|
|
36
7
|
@ApiPropertyOptional()
|
|
37
8
|
@IsOptional()
|
|
@@ -48,7 +19,7 @@ export class UpdateCard {
|
|
|
48
19
|
@IsOptional()
|
|
49
20
|
@IsBoolean()
|
|
50
21
|
@ToBoolean()
|
|
51
|
-
isBlocked?:
|
|
22
|
+
isBlocked?: string;
|
|
52
23
|
|
|
53
24
|
@ApiPropertyOptional()
|
|
54
25
|
@IsOptional()
|
|
@@ -58,7 +29,6 @@ export class UpdateCard {
|
|
|
58
29
|
|
|
59
30
|
@ApiPropertyOptional()
|
|
60
31
|
@IsOptional()
|
|
61
|
-
@IsDate()
|
|
62
32
|
plannedAt?: Date | null;
|
|
63
33
|
|
|
64
34
|
@ApiPropertyOptional()
|
|
@@ -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
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IsDate, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
|
|
3
|
+
import type Stripe from 'stripe';
|
|
4
4
|
export class CreateStripeConnection {
|
|
5
5
|
@ApiProperty()
|
|
6
6
|
@IsString()
|
|
@@ -8,10 +8,27 @@ export class CreateStripeConnection {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export class CreateStripePortals {
|
|
11
|
+
@ApiProperty()
|
|
12
|
+
@IsString()
|
|
13
|
+
stripeCustomerId: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export class CreateCustomer {
|
|
17
|
+
@ApiProperty()
|
|
18
|
+
@IsInt()
|
|
19
|
+
id: number;
|
|
20
|
+
|
|
21
|
+
@ApiProperty()
|
|
22
|
+
@IsString()
|
|
23
|
+
email: string;
|
|
24
|
+
|
|
11
25
|
@ApiPropertyOptional()
|
|
12
26
|
@IsString()
|
|
13
|
-
|
|
14
|
-
|
|
27
|
+
lastname?: string;
|
|
28
|
+
|
|
29
|
+
@ApiPropertyOptional()
|
|
30
|
+
@IsString()
|
|
31
|
+
firstname?: string;
|
|
15
32
|
}
|
|
16
33
|
|
|
17
34
|
export class CreateImportTransactionForSociety {
|
|
@@ -25,3 +42,41 @@ export class CreateImportTransactionForSociety {
|
|
|
25
42
|
@IsOptional()
|
|
26
43
|
endDate?: Date;
|
|
27
44
|
}
|
|
45
|
+
|
|
46
|
+
export class CreateSubscriptionSession {
|
|
47
|
+
@ApiProperty()
|
|
48
|
+
@IsString()
|
|
49
|
+
priceId: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export class CreateSubscriptionSessionOff {
|
|
53
|
+
@ApiProperty()
|
|
54
|
+
@IsString()
|
|
55
|
+
stripeCustomerId: string;
|
|
56
|
+
|
|
57
|
+
@ApiProperty()
|
|
58
|
+
@IsString()
|
|
59
|
+
ref: string;
|
|
60
|
+
|
|
61
|
+
@ApiPropertyOptional()
|
|
62
|
+
@IsOptional()
|
|
63
|
+
@IsString()
|
|
64
|
+
returnUrl?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class CreatePaymentIntent {
|
|
68
|
+
@ApiProperty()
|
|
69
|
+
@IsString()
|
|
70
|
+
stripeCustomerId: string;
|
|
71
|
+
|
|
72
|
+
@ApiProperty()
|
|
73
|
+
@IsString()
|
|
74
|
+
paymentMethodId: string;
|
|
75
|
+
|
|
76
|
+
@ApiProperty()
|
|
77
|
+
@IsInt()
|
|
78
|
+
amountInCents: number;
|
|
79
|
+
|
|
80
|
+
@ApiPropertyOptional()
|
|
81
|
+
metadata?: Stripe.MetadataParam;
|
|
82
|
+
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { IsBoolean, IsOptional } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
|
|
5
|
-
export class
|
|
5
|
+
export class RetrievePaymentMethodsParams {
|
|
6
6
|
@ApiProperty()
|
|
7
|
+
@IsString()
|
|
7
8
|
customerId: string;
|
|
8
|
-
|
|
9
|
-
@ApiProperty()
|
|
10
|
-
subscriptionId: string;
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
export class QueryStripeSession {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { IsArray,
|
|
1
|
+
import { IsArray, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { TeamType } from '../../../Enum/TeamType';
|
|
4
3
|
|
|
5
4
|
export class QueryUpdateTeam {
|
|
6
5
|
@ApiPropertyOptional()
|
|
@@ -22,9 +21,4 @@ export class QueryUpdateTeam {
|
|
|
22
21
|
@IsOptional()
|
|
23
22
|
@IsArray()
|
|
24
23
|
usersToDelete?: number[];
|
|
25
|
-
|
|
26
|
-
@ApiPropertyOptional()
|
|
27
|
-
@IsOptional()
|
|
28
|
-
@IsEnum(TeamType)
|
|
29
|
-
idType?: TeamType | null;
|
|
30
24
|
}
|