@silexpert/core 1.3.30-6 → 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/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/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/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/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/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/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/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/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/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/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/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/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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,cAAc,GAAG,IAAI,4BAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,mBAAmB,CAAC,GAAG;;gDAEhB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;gDAE3B,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;;;;mDAKxB,mBAAmB,CAAC,OAAO;;oBAE1D,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;2DAOd,mBAAmB,CAAC,OAAO;;;;kDAIpC,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEV,MAAM,CAAC,MAAM,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,GAAG;;;;;;;;;;;QAWjJ,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %><%=languageTemplate.template.common.headers.title %> : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention
|
|
1
|
+
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,cAAc,GAAG,IAAI,4BAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,mBAAmB,CAAC,GAAG;;gDAEhB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;gDAE3B,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;;;;mDAKxB,mBAAmB,CAAC,OAAO;;oBAE1D,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;2DAOd,mBAAmB,CAAC,OAAO;;;;kDAIpC,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEV,MAAM,CAAC,MAAM,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,GAAG;;;;;;;;;;;QAWjJ,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %><%=languageTemplate.template.common.headers.title %> : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention) { %><div class=\"vat-mention <%= disableVat !== true ? 'mt-20' : ''%>\"><%= vatMention %></div><% } %>\n <% if (comment) { %>\n <p class=\"mt-20\"><%= languageTemplate.template.common.options.comment %> :<br/>\n <%- comment %>\n <% } %>\n </div>\n\n <div>\n ${commonTemplate.amountRecapitulation}\n\n <% if (isStripeAllowed && ![${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) { %>\n <div style=\"text-align: right; margin-top: 30px;\">${commonTemplate.paymentButton}</div>\n <% } %>\n </div>\n \n </div>\n\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <div class=\"row mt-30 space-between\" style=\"page-break-inside: avoid !important;\">\n <div>\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <% if(paymentType) { %><%= languageTemplate.template.common.options.paymentType %> : <%= paymentType %><br/><% } %>\n <% if(settings.bank) { %><%= languageTemplate.template.common.options.bank %> : <%= settings.bank %><br/><% } %>\n <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>\n <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>\n <% } %>\n </div>\n </div>\n <% } %>\n <% if (settings && settings.bonPour && (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS} || idEstimateInvoiceType === ${EstimateInvoiceType.BON})) { %>\n <br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>\n <% } %>\n\n <% if (cgv && (settings && settings.invoiceCgv)) { %>\n <br><div style=\"page-break-after:always;\"></div>\n <div id=\"WYSIWYG\"><%- cgv %></div>\n <% } %>\n </body>\n\n <style>\n ${commonTemplate.style}\n </style>\n <style>\n ${commonTemplate.styleWYSIWYG}\n </style>\n</html>`;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.30
|
|
3
|
+
"version": "1.3.30",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"mailparser": "^3.4.0",
|
|
76
76
|
"rxjs": "^7.0.1",
|
|
77
77
|
"sms-segments-calculator": "^1.2.0",
|
|
78
|
-
"stripe": "^
|
|
78
|
+
"stripe": "^14.13.0",
|
|
79
79
|
"ts-enum-util": "^4.0.2"
|
|
80
80
|
}
|
|
81
81
|
}
|
package/ts/api/resources/Ai.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAIQuestion } from '../..';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
|
|
4
4
|
export class Ai extends Resource {
|
|
5
|
-
askCollaborator(
|
|
6
|
-
return this.axios.$post('/ai/ask/collaborator',
|
|
5
|
+
askCollaborator(question: string, signal?: AbortSignal): Promise<IAIQuestion> {
|
|
6
|
+
return this.axios.$post('/ai/ask/collaborator', { question }, { signal });
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -18,13 +18,6 @@ export class Authenticate extends Resource {
|
|
|
18
18
|
return this.axios.$post('/authenticate', payload);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
/**
|
|
22
|
-
* Rafraichi le token, il est nécessaire d'être connecté et d'avoir un "current society"
|
|
23
|
-
*/
|
|
24
|
-
async refresh(): Promise<{ token: string }> {
|
|
25
|
-
return this.axios.$post('/authenticate/refresh');
|
|
26
|
-
}
|
|
27
|
-
|
|
28
21
|
async connectAsCollaborater(idCollaborater: number): Promise<{ token: string }> {
|
|
29
22
|
return this.axios.$post(`/authenticate/collaborater/${idCollaborater}`);
|
|
30
23
|
}
|
package/ts/api/resources/FIle.ts
CHANGED
|
@@ -46,10 +46,6 @@ export class File extends Resource {
|
|
|
46
46
|
return this.axios.$patch(`files/${id}`, payload);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
updateName(id: number, name: string): Promise<IFile> {
|
|
50
|
-
return this.axios.$patch(`files/${id}/name`, { name });
|
|
51
|
-
}
|
|
52
|
-
|
|
53
49
|
delete(id: number): Promise<true> {
|
|
54
50
|
return this.axios.$delete(`files/${id}`);
|
|
55
51
|
}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BasePaginate,
|
|
3
3
|
CreatePaymentExpecation,
|
|
4
|
-
CreatePaymentIntent,
|
|
5
|
-
CreateSubscriptionSessionOff,
|
|
6
4
|
IPaymentExpectation,
|
|
7
5
|
QueryGetPaymentExpectation,
|
|
8
6
|
QueryGetPaymentExpectationPaginated,
|
|
9
|
-
RetrievePaymentMethodsParams,
|
|
10
7
|
} from '../../types';
|
|
11
8
|
import { Resource } from '../Resource';
|
|
12
|
-
import type Stripe from 'stripe';
|
|
13
9
|
|
|
14
10
|
export class PaymentExpectation extends Resource {
|
|
15
11
|
get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation> {
|
|
@@ -44,27 +40,4 @@ export class PaymentExpectation extends Resource {
|
|
|
44
40
|
updateByPrestation(idPrestation: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {
|
|
45
41
|
return this.axios.$patch(`/prestations/${idPrestation}/payment-expectations`, payload);
|
|
46
42
|
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Retourne les type de paiements Stripe
|
|
50
|
-
*/
|
|
51
|
-
getAllPaymentMethods(params: RetrievePaymentMethodsParams): Promise<Stripe.PaymentMethod[]> {
|
|
52
|
-
return this.axios.$get('/stripe/payments/methods', { params });
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Créé une session Stripe avec les informations client
|
|
57
|
-
* Attention : les montants sont retournés x100
|
|
58
|
-
*/
|
|
59
|
-
createSessionOff(payload: CreateSubscriptionSessionOff): Promise<Stripe.Response<Stripe.Checkout.Session>> {
|
|
60
|
-
return this.axios.$post('/stripe/payments/sessions-off', payload);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Crée une intention de paiement Stripe avec les informations de notre client
|
|
65
|
-
* Attention : les montants sont retournés x100
|
|
66
|
-
*/
|
|
67
|
-
createStripePaymentIntent(body: CreatePaymentIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {
|
|
68
|
-
return this.axios.$post('/stripe/payments/intents', body);
|
|
69
|
-
}
|
|
70
43
|
}
|
|
@@ -1,46 +1,29 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
RetrieveUpcomingInvoiceParams,
|
|
4
|
+
ReadUpcomingInvoice,
|
|
5
|
+
QueryStripeSession,
|
|
6
|
+
CreateStripePortals,
|
|
7
|
+
} from '../../types';
|
|
8
|
+
import Stripe from 'stripe';
|
|
4
9
|
|
|
5
10
|
export class Subscription extends Resource {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* Attention : les montants sont retournés x100
|
|
9
|
-
*/
|
|
10
|
-
getAllOffers(): Promise<Stripe.Price[]> {
|
|
11
|
-
return this.axios.$get('/stripe/subscriptions/offers');
|
|
11
|
+
retrieveUpcomingInvoice(params: RetrieveUpcomingInvoiceParams): Promise<ReadUpcomingInvoice> {
|
|
12
|
+
return this.axios.$get('/subscription/next-invoice', { params });
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* Attention : les montants sont retournés x100
|
|
17
|
-
*/
|
|
18
|
-
createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {
|
|
19
|
-
return this.axios.$post('/stripe/subscriptions/sessions', payload);
|
|
15
|
+
getBySociety(idSociety: number): Promise<Stripe.Response<Stripe.Subscription> | null> {
|
|
16
|
+
return this.axios.$get(`/societies/${idSociety}/subscriptions`);
|
|
20
17
|
}
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* Attention : les montants sont retournés x100
|
|
25
|
-
*/
|
|
26
|
-
createPortal(payload: CreateStripePortals): Promise<string> {
|
|
27
|
-
return this.axios.$post('/stripe/subscriptions/portals', payload);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Retourne l'abonnement Stripe de la société courante
|
|
32
|
-
* Attention : les montants sont retournés x100
|
|
33
|
-
*/
|
|
34
|
-
get(): Promise<Stripe.Response<Stripe.Subscription> | null> {
|
|
35
|
-
return this.axios.$get('/stripe/subscriptions');
|
|
19
|
+
createSession(idSociety: number, body: QueryStripeSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {
|
|
20
|
+
return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);
|
|
36
21
|
}
|
|
37
22
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
body
|
|
43
|
-
): Promise<Stripe.Response<Stripe.Checkout.Session>> {
|
|
44
|
-
return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);
|
|
23
|
+
createPortalSession(
|
|
24
|
+
idUser: number,
|
|
25
|
+
body: CreateStripePortals,
|
|
26
|
+
): Promise<Stripe.Response<Stripe.BillingPortal.Session>> {
|
|
27
|
+
return this.axios.$post(`/subscriptions/users/${idUser}/portals`, body);
|
|
45
28
|
}
|
|
46
29
|
}
|
|
@@ -52,7 +52,7 @@ export class Prestation extends Resource {
|
|
|
52
52
|
params?: QueryPrestation,
|
|
53
53
|
cancelToken?: CancelToken,
|
|
54
54
|
signal?: AbortSignal,
|
|
55
|
-
): Promise<
|
|
55
|
+
): Promise<IPrestation[]> {
|
|
56
56
|
return this.axios.$get(`/societies/${id}/prestations`, {
|
|
57
57
|
...(cancelToken ? { cancelToken } : {}),
|
|
58
58
|
...(signal ? { signal } : {}),
|
package/ts/api/resources.ts
CHANGED
|
@@ -178,7 +178,6 @@ import { AbsenceRequest } from './resources/AbsenceRequest';
|
|
|
178
178
|
import { CompanyMarketingInformation } from './resources/CompanyMarketingInformation';
|
|
179
179
|
import { Ai } from './resources/Ai';
|
|
180
180
|
import { StatisticLegal } from './resources/statistic/Legal';
|
|
181
|
-
import { AnalyticsUtm } from './resources/AnalyticsUtm';
|
|
182
181
|
|
|
183
182
|
export const resources = {
|
|
184
183
|
budgetInsight: BudgetInsight,
|
|
@@ -361,5 +360,4 @@ export const resources = {
|
|
|
361
360
|
companyMarketingInformation: CompanyMarketingInformation,
|
|
362
361
|
ai: Ai,
|
|
363
362
|
statisticLegal: StatisticLegal,
|
|
364
|
-
analyticsUtm: AnalyticsUtm,
|
|
365
363
|
};
|
package/ts/types/Enum/Account.ts
CHANGED
|
@@ -11,10 +11,6 @@ export const Account = {
|
|
|
11
11
|
id: 27,
|
|
12
12
|
number: 607000,
|
|
13
13
|
},
|
|
14
|
-
MERCHANDISE_CREDIT: {
|
|
15
|
-
id: 227,
|
|
16
|
-
number: 607190,
|
|
17
|
-
},
|
|
18
14
|
RESULT_BENEFIT: {
|
|
19
15
|
id: 91,
|
|
20
16
|
number: 120000,
|
|
@@ -91,10 +87,6 @@ export const Account = {
|
|
|
91
87
|
id: 117,
|
|
92
88
|
number: 625100,
|
|
93
89
|
},
|
|
94
|
-
TRAVELING_EXPENSES: {
|
|
95
|
-
id: 118,
|
|
96
|
-
number: 625110,
|
|
97
|
-
},
|
|
98
90
|
DEDUCTIBLE_VAT: {
|
|
99
91
|
id: 221,
|
|
100
92
|
number: 445660,
|
|
@@ -39,8 +39,6 @@ export enum JobTitle {
|
|
|
39
39
|
RECRUITMENT_OFFICER = 38,
|
|
40
40
|
HUMAN_RESOURCES_ASSISTANT = 39,
|
|
41
41
|
HUMAN_RESOURCES = 40,
|
|
42
|
-
DEVELOPER = 41,
|
|
43
|
-
CAMERA_EDITOR = 42,
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
export const JobTitleList: Array<{ id: JobTitle; menText: string; womenText: string }> = [
|
|
@@ -244,14 +242,4 @@ export const JobTitleList: Array<{ id: JobTitle; menText: string; womenText: str
|
|
|
244
242
|
menText: 'Responsable Ressources Humaines',
|
|
245
243
|
womenText: 'Responsable Ressources Humaines',
|
|
246
244
|
},
|
|
247
|
-
{
|
|
248
|
-
id: JobTitle.DEVELOPER,
|
|
249
|
-
menText: 'Développeur web',
|
|
250
|
-
womenText: 'Développeur web',
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
id: JobTitle.CAMERA_EDITOR,
|
|
254
|
-
menText: 'Monteur / Cadreur',
|
|
255
|
-
womenText: 'Monteur / Cadreur',
|
|
256
|
-
},
|
|
257
245
|
];
|
|
@@ -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;
|