@silexpert/core 1.3.30-7 → 1.3.30
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/Ai.d.ts +2 -2
- package/dist/cjs/api/resources/Ai.d.ts.map +1 -1
- package/dist/cjs/api/resources/Ai.js +2 -2
- package/dist/cjs/api/resources/Ai.js.map +1 -1
- package/dist/cjs/api/resources/Authenticate.d.ts +0 -6
- package/dist/cjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/cjs/api/resources/Authenticate.js +0 -8
- package/dist/cjs/api/resources/Authenticate.js.map +1 -1
- package/dist/cjs/api/resources/FIle.d.ts +0 -1
- package/dist/cjs/api/resources/FIle.d.ts.map +1 -1
- package/dist/cjs/api/resources/FIle.js +0 -3
- package/dist/cjs/api/resources/FIle.js.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts +1 -16
- package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.js +0 -20
- package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +1 -2
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +0 -3
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +6 -23
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +8 -28
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/api/resources/prestation.d.ts +1 -3
- package/dist/cjs/api/resources/prestation.d.ts.map +1 -1
- package/dist/cjs/api/resources/prestation.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -2
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/Account.d.ts +0 -8
- package/dist/cjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Account.js +0 -8
- package/dist/cjs/types/Enum/Account.js.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.d.ts +1 -3
- package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.js +0 -12
- package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +1 -13
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +1 -183
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/StatusRating.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatusRating.js +0 -1
- package/dist/cjs/types/Enum/StatusRating.js.map +1 -1
- package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts +0 -6
- package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.js +1 -29
- package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +0 -3
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -3
- 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 +0 -1
- 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 -4
- 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/cerfa/ReadCerfa.d.ts +2 -2
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +13 -0
- 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/mobile/UpdateMobile.d.ts +0 -5
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.js +0 -33
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +0 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +3 -9
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +1 -3
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -15
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -3
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/State.d.ts +0 -7
- 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 +1 -22
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +3 -74
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +2 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +8 -5
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts +5 -0
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts.map +1 -0
- package/dist/cjs/types/Interface/{models/IAIConversation.js → api/stripe/ReadStripe.js} +1 -1
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.js.map +1 -0
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +0 -1
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +2 -3
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAIQuestion.d.ts +5 -5
- package/dist/cjs/types/Interface/models/IAIQuestion.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAIQuestion.js.map +1 -1
- package/dist/cjs/types/Interface/models/IMobile.d.ts +0 -5
- package/dist/cjs/types/Interface/models/IMobile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IMobile.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.d.ts +0 -2
- 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 +0 -1
- 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/IUser.d.ts +0 -2
- 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 -2
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -2
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/templates/body.js +1 -1
- package/dist/cjs/utils/commercialManagement/templates/body.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts +1 -2
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +1 -9
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/mjs/api/resources/Ai.d.ts +2 -2
- package/dist/mjs/api/resources/Ai.d.ts.map +1 -1
- package/dist/mjs/api/resources/Ai.js +2 -2
- package/dist/mjs/api/resources/Ai.js.map +1 -1
- package/dist/mjs/api/resources/Authenticate.d.ts +0 -6
- package/dist/mjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/mjs/api/resources/Authenticate.js +0 -6
- package/dist/mjs/api/resources/Authenticate.js.map +1 -1
- package/dist/mjs/api/resources/FIle.d.ts +0 -1
- package/dist/mjs/api/resources/FIle.d.ts.map +1 -1
- package/dist/mjs/api/resources/FIle.js +0 -3
- package/dist/mjs/api/resources/FIle.js.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts +1 -16
- package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.js +0 -20
- package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +1 -2
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +0 -3
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +6 -23
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +8 -28
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/api/resources/prestation.d.ts +1 -3
- package/dist/mjs/api/resources/prestation.d.ts.map +1 -1
- package/dist/mjs/api/resources/prestation.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -2
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/Account.d.ts +0 -8
- package/dist/mjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Account.js +0 -8
- package/dist/mjs/types/Enum/Account.js.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.d.ts +1 -3
- package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.js +0 -12
- package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +1 -13
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +0 -182
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/StatusRating.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatusRating.js +0 -1
- package/dist/mjs/types/Enum/StatusRating.js.map +1 -1
- package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts +0 -6
- package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.js +2 -33
- package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +0 -3
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -3
- 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 +0 -1
- 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 -4
- 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/cerfa/ReadCerfa.d.ts +2 -2
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +13 -0
- 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/mobile/UpdateMobile.d.ts +0 -5
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.js +0 -38
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +0 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +4 -11
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +1 -3
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +2 -18
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +1 -4
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/State.d.ts +0 -7
- 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 +1 -22
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +3 -82
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +2 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +8 -4
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts +5 -0
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.js +2 -0
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.js.map +1 -0
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +0 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js +0 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +3 -4
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAIQuestion.d.ts +5 -5
- package/dist/mjs/types/Interface/models/IAIQuestion.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAIQuestion.js.map +1 -1
- package/dist/mjs/types/Interface/models/IMobile.d.ts +0 -5
- package/dist/mjs/types/Interface/models/IMobile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IMobile.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.d.ts +0 -2
- 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 +0 -1
- 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/IUser.d.ts +0 -2
- 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 -2
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -2
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/templates/body.js +1 -1
- package/dist/mjs/utils/commercialManagement/templates/body.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts +1 -2
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +2 -9
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/package.json +2 -2
- package/ts/api/resources/Ai.ts +3 -3
- package/ts/api/resources/Authenticate.ts +0 -7
- package/ts/api/resources/FIle.ts +0 -4
- package/ts/api/resources/PaymentExpectation.ts +0 -27
- package/ts/api/resources/Society.ts +0 -5
- package/ts/api/resources/Subscription.ts +18 -35
- package/ts/api/resources/prestation.ts +1 -1
- package/ts/api/resources.ts +0 -2
- package/ts/types/Enum/Account.ts +0 -8
- package/ts/types/Enum/JobTitle.ts +0 -12
- package/ts/types/Enum/PrestationType.ts +0 -186
- package/ts/types/Enum/StatusRating.ts +0 -1
- package/ts/types/Interface/api/ai/AskQuestionCollaborator.ts +2 -25
- package/ts/types/Interface/api/cerfa/2031.ts +0 -3
- package/ts/types/Interface/api/cerfa/2035.ts +1 -6
- package/ts/types/Interface/api/cerfa/2065.ts +0 -1
- package/ts/types/Interface/api/cerfa/2069RCI.ts +0 -1
- package/ts/types/Interface/api/cerfa/2571.ts +0 -5
- package/ts/types/Interface/api/cerfa/2572.ts +0 -1
- package/ts/types/Interface/api/cerfa/2573.ts +1 -5
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +3 -2
- package/ts/types/Interface/api/commercialManagement/Create.ts +2 -2
- package/ts/types/Interface/api/config/ConfigType.ts +16 -0
- package/ts/types/Interface/api/mobile/UpdateMobile.ts +0 -28
- package/ts/types/Interface/api/paymentExpectation/CreatePaymentExpecation.ts +4 -9
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +3 -15
- package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +1 -4
- package/ts/types/Interface/api/society/State.ts +0 -8
- package/ts/types/Interface/api/stripe/Create.ts +4 -59
- package/ts/types/Interface/api/stripe/QueryStripe.ts +5 -3
- package/ts/types/Interface/api/stripe/ReadStripe.ts +4 -0
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +0 -1
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +2 -2
- package/ts/types/Interface/models/IAIQuestion.ts +5 -5
- package/ts/types/Interface/models/IMobile.ts +0 -5
- package/ts/types/Interface/models/IPayment.ts +0 -2
- package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
- package/ts/types/Interface/models/IUser.ts +0 -2
- package/ts/types/index.ts +1 -2
- package/ts/utils/commercialManagement/templates/body.ts +1 -1
- package/ts/utils/prestation.ts +1 -13
- package/dist/cjs/api/resources/AnalyticsUtm.d.ts +0 -10
- package/dist/cjs/api/resources/AnalyticsUtm.d.ts.map +0 -1
- package/dist/cjs/api/resources/AnalyticsUtm.js +0 -16
- package/dist/cjs/api/resources/AnalyticsUtm.js.map +0 -1
- package/dist/cjs/types/Enum/Feature.d.ts +0 -39
- package/dist/cjs/types/Enum/Feature.d.ts.map +0 -1
- package/dist/cjs/types/Enum/Feature.js +0 -63
- package/dist/cjs/types/Enum/Feature.js.map +0 -1
- package/dist/cjs/types/Interface/models/IAIConversation.d.ts +0 -11
- package/dist/cjs/types/Interface/models/IAIConversation.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IAIConversation.js.map +0 -1
- package/dist/mjs/api/resources/AnalyticsUtm.d.ts +0 -10
- package/dist/mjs/api/resources/AnalyticsUtm.d.ts.map +0 -1
- package/dist/mjs/api/resources/AnalyticsUtm.js +0 -12
- package/dist/mjs/api/resources/AnalyticsUtm.js.map +0 -1
- package/dist/mjs/types/Enum/Feature.d.ts +0 -39
- package/dist/mjs/types/Enum/Feature.d.ts.map +0 -1
- package/dist/mjs/types/Enum/Feature.js +0 -60
- package/dist/mjs/types/Enum/Feature.js.map +0 -1
- package/dist/mjs/types/Interface/models/IAIConversation.d.ts +0 -11
- package/dist/mjs/types/Interface/models/IAIConversation.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IAIConversation.js +0 -2
- package/dist/mjs/types/Interface/models/IAIConversation.js.map +0 -1
- package/ts/api/resources/AnalyticsUtm.ts +0 -12
- package/ts/types/Enum/Feature.ts +0 -65
- package/ts/types/Interface/models/IAIConversation.ts +0 -13
|
@@ -179,14 +179,6 @@ 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,
|
|
190
182
|
}
|
|
191
183
|
|
|
192
184
|
// Liste des prestations avec une lettre de mission à signer
|
|
@@ -216,32 +208,6 @@ export const allPrestationsWithBrochure = [
|
|
|
216
208
|
PrestationType.DECLARATION_IR,
|
|
217
209
|
];
|
|
218
210
|
|
|
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
|
-
|
|
245
211
|
export interface PrestationDetailEnum {
|
|
246
212
|
[key: string]: IPrestationList;
|
|
247
213
|
}
|
|
@@ -3633,156 +3599,4 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3633
3599
|
signaturePage: null,
|
|
3634
3600
|
point: 0,
|
|
3635
3601
|
},
|
|
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: null,
|
|
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: null,
|
|
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: null,
|
|
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
|
-
},
|
|
3788
3602
|
};
|
|
@@ -1,32 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ApiProperty
|
|
3
|
-
|
|
4
|
-
export class AskHistoryCollaborator {
|
|
5
|
-
@ApiProperty()
|
|
6
|
-
@IsString()
|
|
7
|
-
@IsIn(['assistant', 'user'])
|
|
8
|
-
role: 'assistant' | 'user';
|
|
9
|
-
|
|
10
|
-
@ApiProperty()
|
|
11
|
-
@IsString()
|
|
12
|
-
@IsNotEmpty()
|
|
13
|
-
content: string;
|
|
14
|
-
}
|
|
1
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
15
3
|
|
|
16
4
|
export class AskQuestionCollaborator {
|
|
17
5
|
@ApiProperty()
|
|
18
6
|
@IsString()
|
|
19
7
|
@IsNotEmpty()
|
|
20
8
|
question: string;
|
|
21
|
-
|
|
22
|
-
@ApiPropertyOptional()
|
|
23
|
-
@IsOptional()
|
|
24
|
-
@IsArray()
|
|
25
|
-
@ValidateNested({ each: true })
|
|
26
|
-
history?: AskHistoryCollaborator[];
|
|
27
|
-
|
|
28
|
-
@ApiPropertyOptional()
|
|
29
|
-
@IsOptional()
|
|
30
|
-
@IsInt()
|
|
31
|
-
idConversation?: number;
|
|
32
9
|
}
|
|
@@ -203,7 +203,6 @@ export interface Cerfa2031_2024 {
|
|
|
203
203
|
siren: string;
|
|
204
204
|
declarantEmail: string;
|
|
205
205
|
declarantAddress: string;
|
|
206
|
-
declarantAddressObject: CerfaAddress;
|
|
207
206
|
declarantZipCode: string;
|
|
208
207
|
declarantCity: string;
|
|
209
208
|
declarantCountryCode: string;
|
|
@@ -381,7 +380,6 @@ export interface Cerfa2031_2025 {
|
|
|
381
380
|
siren: string;
|
|
382
381
|
declarantEmail: string;
|
|
383
382
|
declarantAddress: string;
|
|
384
|
-
declarantAddressObject: CerfaAddress;
|
|
385
383
|
declarantZipCode: string;
|
|
386
384
|
declarantCity: string;
|
|
387
385
|
declarantCountryCode: string;
|
|
@@ -540,7 +538,6 @@ export interface Cerfa2031_2025 {
|
|
|
540
538
|
export type Prepare2031Params = {
|
|
541
539
|
idSociety: number;
|
|
542
540
|
idExercice: number;
|
|
543
|
-
idUser: number;
|
|
544
541
|
values: {
|
|
545
542
|
cerfa2031: Cerfa2031 | Cerfa2031_2024;
|
|
546
543
|
cerfa2033: AnyCerfa2033Century;
|
|
@@ -52,12 +52,7 @@ 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 = {
|
|
56
|
-
idSociety: number;
|
|
57
|
-
idUser: number;
|
|
58
|
-
idExercice: number;
|
|
59
|
-
values: FullCerfa2035 | FullCerfa2035_2024;
|
|
60
|
-
};
|
|
55
|
+
export type Prepare2035Params = { idSociety: number; idExercice: number; values: FullCerfa2035 | FullCerfa2035_2024 };
|
|
61
56
|
|
|
62
57
|
export interface Cerfa2035ProfessionalRecipes {
|
|
63
58
|
collected: number;
|
|
@@ -145,13 +145,8 @@ export class Cerfa2571_2024 {
|
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
export type Cerfa2571_2025 = Cerfa2571_2024;
|
|
149
|
-
|
|
150
148
|
export type Prepare2571Params = {
|
|
151
149
|
idSociety: number;
|
|
152
|
-
idUser: number;
|
|
153
150
|
idExercice: number;
|
|
154
151
|
idRegistration: number;
|
|
155
152
|
};
|
|
156
|
-
|
|
157
|
-
export type AnyCerfa2571Century = Cerfa2571_2025 | Cerfa2571_2023;
|
|
@@ -61,14 +61,10 @@ export type Cerfa2573_2024 = {
|
|
|
61
61
|
transferts: Transfert[];
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
export type Cerfa2573_2025 = Cerfa2573_2024;
|
|
65
|
-
export type AnyCerfa2573Century = Cerfa2573_2024;
|
|
66
|
-
|
|
67
64
|
export type Prepare2573Params = {
|
|
68
65
|
idSociety: number;
|
|
69
66
|
idExercice: number;
|
|
70
|
-
|
|
71
|
-
values: AnyCerfa2573Century;
|
|
67
|
+
values: Cerfa2573_2024;
|
|
72
68
|
};
|
|
73
69
|
|
|
74
70
|
export type Cerfa2573_Refund_Input = {
|
|
@@ -4,9 +4,10 @@ import {
|
|
|
4
4
|
AnyCerfa2033Century,
|
|
5
5
|
AnyCerfa2035Century,
|
|
6
6
|
AnyCerfa2065Century,
|
|
7
|
-
AnyCerfa2571Century,
|
|
8
7
|
AnyCerfa2572Century,
|
|
9
8
|
Cerfa2069RCI_2024,
|
|
9
|
+
Cerfa2571_2023,
|
|
10
|
+
Cerfa2571_2024,
|
|
10
11
|
Cerfa2573_2024,
|
|
11
12
|
Cerfa3519_2017,
|
|
12
13
|
FieldForGeneration,
|
|
@@ -118,7 +119,7 @@ export type AsponeFormField = { name: string; fields: FieldForGeneration[] };
|
|
|
118
119
|
export interface RegistrationPayload {
|
|
119
120
|
cerfa2573?: Cerfa2573_2024;
|
|
120
121
|
cerfa2572?: AnyCerfa2572Century;
|
|
121
|
-
cerfa2571?:
|
|
122
|
+
cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;
|
|
122
123
|
cerfa2031?: AnyCerfa2031Century;
|
|
123
124
|
cerfa2033?: AnyCerfa2033Century;
|
|
124
125
|
cerfa2065?: AnyCerfa2065Century;
|
|
@@ -462,8 +462,8 @@ export class CommercialDocumentInputs {
|
|
|
462
462
|
/**
|
|
463
463
|
* @deprecated use recoveryCost instead (exists just for old mobile version)
|
|
464
464
|
*/
|
|
465
|
-
@
|
|
466
|
-
compensation
|
|
465
|
+
@ApiProperty({ description: 'Indemnité forfaitaire ' })
|
|
466
|
+
compensation: string | null;
|
|
467
467
|
|
|
468
468
|
@ApiProperty()
|
|
469
469
|
vatMention: string | null;
|
|
@@ -13,6 +13,9 @@ export interface ConfigType {
|
|
|
13
13
|
comptaclementineTest: ComptaclementineTest;
|
|
14
14
|
bred: Bred;
|
|
15
15
|
awsClementine: AwsClementine;
|
|
16
|
+
stripe: Stripe;
|
|
17
|
+
stripeECB: StripeEcb;
|
|
18
|
+
stripeStatuts: StripeStatuts;
|
|
16
19
|
mail: Mail;
|
|
17
20
|
client: Client;
|
|
18
21
|
twilio: Twilio;
|
|
@@ -152,6 +155,19 @@ export interface AwsClementine {
|
|
|
152
155
|
apiVersion: string;
|
|
153
156
|
}
|
|
154
157
|
|
|
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
|
+
|
|
155
171
|
export interface Mail {
|
|
156
172
|
user: string;
|
|
157
173
|
password: string;
|
|
@@ -1,34 +1,6 @@
|
|
|
1
|
-
import { IsOptional, IsString } from 'class-validator';
|
|
2
1
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
2
|
|
|
4
3
|
export class UpdateMobileForm {
|
|
5
4
|
@ApiPropertyOptional()
|
|
6
|
-
@IsString()
|
|
7
|
-
@IsOptional()
|
|
8
5
|
token?: string;
|
|
9
|
-
|
|
10
|
-
@ApiPropertyOptional()
|
|
11
|
-
@IsString()
|
|
12
|
-
@IsOptional()
|
|
13
|
-
appVersion?: string;
|
|
14
|
-
|
|
15
|
-
@ApiPropertyOptional()
|
|
16
|
-
@IsString()
|
|
17
|
-
@IsOptional()
|
|
18
|
-
appBuildNumber?: string;
|
|
19
|
-
|
|
20
|
-
@ApiPropertyOptional()
|
|
21
|
-
@IsString()
|
|
22
|
-
@IsOptional()
|
|
23
|
-
deviceBrand?: string;
|
|
24
|
-
|
|
25
|
-
@ApiPropertyOptional()
|
|
26
|
-
@IsString()
|
|
27
|
-
@IsOptional()
|
|
28
|
-
deviceSystemVersion?: string;
|
|
29
|
-
|
|
30
|
-
@ApiPropertyOptional()
|
|
31
|
-
@IsString()
|
|
32
|
-
@IsOptional()
|
|
33
|
-
deviceId?: string;
|
|
34
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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
|
+
@IsNumber()
|
|
21
21
|
idReason: PaymentReason;
|
|
22
22
|
|
|
23
23
|
@ApiPropertyOptional()
|
|
24
|
-
@
|
|
24
|
+
@IsNumber()
|
|
25
25
|
@IsOptional()
|
|
26
26
|
idPrestation?: number | null;
|
|
27
27
|
|
|
28
28
|
@ApiPropertyOptional()
|
|
29
|
-
@
|
|
29
|
+
@IsNumber()
|
|
30
30
|
@IsOptional()
|
|
31
31
|
idRegulation?: number | null;
|
|
32
32
|
|
|
@@ -34,9 +34,4 @@ 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;
|
|
42
37
|
}
|
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import { IsDate,
|
|
1
|
+
import { IsDate, 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
|
-
@
|
|
7
|
-
@IsOptional()
|
|
6
|
+
@ApiProperty()
|
|
8
7
|
@IsInt()
|
|
9
|
-
idPrestation
|
|
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[];
|
|
8
|
+
idPrestation: number;
|
|
21
9
|
}
|
|
22
10
|
|
|
23
11
|
export class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsDate, IsJSON,
|
|
1
|
+
import { IsBoolean, IsDate, IsJSON, IsString } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
|
|
@@ -8,12 +8,10 @@ export class CreateDefaultPromoCode {
|
|
|
8
8
|
label: string;
|
|
9
9
|
|
|
10
10
|
@ApiPropertyOptional()
|
|
11
|
-
@IsOptional()
|
|
12
11
|
@IsDate()
|
|
13
12
|
startDate?: Date | null;
|
|
14
13
|
|
|
15
14
|
@ApiPropertyOptional()
|
|
16
|
-
@IsOptional()
|
|
17
15
|
@IsDate()
|
|
18
16
|
endDate?: Date | null;
|
|
19
17
|
|
|
@@ -48,7 +46,6 @@ export class CreateDefaultPromoCode {
|
|
|
48
46
|
isTest: boolean;
|
|
49
47
|
|
|
50
48
|
@ApiPropertyOptional()
|
|
51
|
-
@IsOptional()
|
|
52
49
|
@IsJSON()
|
|
53
50
|
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
54
51
|
metadata?: any | null;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TerminationListState, TerminationListType } from '../../../Enum/TerminationList';
|
|
2
|
-
import { IPrestation } from '../../models/IPrestation';
|
|
3
2
|
import { ITerminationList } from '../../models/ITerminationList';
|
|
4
3
|
|
|
5
4
|
interface SocietyStateTerminationInfo {
|
|
@@ -14,10 +13,3 @@ export interface GetSocietyState {
|
|
|
14
13
|
terminations: ITerminationList[];
|
|
15
14
|
isCorporatePartner: number;
|
|
16
15
|
}
|
|
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,
|
|
1
|
+
import { IsDate, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
export class CreateStripeConnection {
|
|
5
5
|
@ApiProperty()
|
|
6
6
|
@IsString()
|
|
@@ -8,27 +8,10 @@ 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
|
-
|
|
25
11
|
@ApiPropertyOptional()
|
|
26
12
|
@IsString()
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
@ApiPropertyOptional()
|
|
30
|
-
@IsString()
|
|
31
|
-
firstname?: string;
|
|
13
|
+
@IsOptional()
|
|
14
|
+
stripeCustomerId?: string;
|
|
32
15
|
}
|
|
33
16
|
|
|
34
17
|
export class CreateImportTransactionForSociety {
|
|
@@ -42,41 +25,3 @@ export class CreateImportTransactionForSociety {
|
|
|
42
25
|
@IsOptional()
|
|
43
26
|
endDate?: Date;
|
|
44
27
|
}
|
|
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,11 +1,13 @@
|
|
|
1
|
-
import { IsBoolean, IsOptional
|
|
1
|
+
import { IsBoolean, IsOptional } 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 RetrieveUpcomingInvoiceParams {
|
|
6
6
|
@ApiProperty()
|
|
7
|
-
@IsString()
|
|
8
7
|
customerId: string;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
subscriptionId: string;
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
export class QueryStripeSession {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsDate, IsDateString, IsEnum, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsDate, IsDateString, IsEnum, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
3
3
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
|
|
4
4
|
|
|
@@ -55,7 +55,7 @@ export class QueryVatEntry {
|
|
|
55
55
|
|
|
56
56
|
// TODO: Passer le paramètre en requis une fois le front mis à jour
|
|
57
57
|
@ApiPropertyOptional()
|
|
58
|
-
|
|
58
|
+
@IsIn(Object.values(CerfaType))
|
|
59
59
|
@IsOptional()
|
|
60
60
|
idCerfaType?: CerfaType;
|
|
61
61
|
}
|