@silexpert/core 1.3.58 → 1.3.60
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/InternalInvoicing.d.ts +1 -2
- package/dist/cjs/api/resources/InternalInvoicing.d.ts.map +1 -1
- package/dist/cjs/api/resources/InternalInvoicing.js +0 -3
- package/dist/cjs/api/resources/InternalInvoicing.js.map +1 -1
- package/dist/cjs/api/resources/Payment.d.ts +2 -1
- package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Payment.js +3 -0
- package/dist/cjs/api/resources/Payment.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +2 -2
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +3 -4
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/api/resources/User.d.ts +2 -1
- package/dist/cjs/api/resources/User.d.ts.map +1 -1
- package/dist/cjs/api/resources/User.js +3 -0
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -4
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -4
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +12 -12
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/Brevo.d.ts +2 -1
- package/dist/cjs/types/Enum/Brevo.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Brevo.js +1 -0
- package/dist/cjs/types/Enum/Brevo.js.map +1 -1
- package/dist/cjs/types/Enum/EntityType.d.ts +11 -1
- package/dist/cjs/types/Enum/EntityType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/EntityType.js +11 -0
- package/dist/cjs/types/Enum/EntityType.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +1 -0
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +22 -10
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +2 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.js +8 -2
- package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/cjs/types/Enum/TeamType.js +1 -1
- package/dist/cjs/types/Enum/TeamType.js.map +1 -1
- package/dist/cjs/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js +1 -1
- package/dist/cjs/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +43 -0
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
- package/dist/{mjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts → cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts} +5 -1
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/{OrganizeBalanceSheets.js → ModifyBalanceSheet.js} +16 -2
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{promoCode/ReadDefaultPaginationPromoCode.js → card/ModifyCustomerVat.js} +7 -12
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.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 +40 -71
- 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/dubiousCustomer/Create.js +4 -4
- package/dist/cjs/types/Interface/api/dubiousCustomer/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts +0 -6
- package/dist/cjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +1 -25
- package/dist/cjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts +0 -2
- package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -12
- package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
- package/dist/cjs/types/Interface/api/notification/Update.d.ts +6 -0
- package/dist/cjs/types/Interface/api/notification/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{societyPromoCode/CreateSocietyPromoCode.js → notification/Update.js} +20 -9
- package/dist/cjs/types/Interface/api/notification/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +3 -0
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.js +10 -1
- package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Query.d.ts +2 -0
- package/dist/cjs/types/Interface/api/payment/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Query.js +13 -0
- package/dist/cjs/types/Interface/api/payment/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/product/CreateProduct.js +1 -1
- package/dist/cjs/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/dist/cjs/types/Interface/api/provision/CreateProvisionForm.js +1 -1
- package/dist/cjs/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/provision/QueryProvisions.js +2 -2
- package/dist/cjs/types/Interface/api/provision/QueryProvisions.js.map +1 -1
- package/dist/cjs/types/Interface/api/provision/UpdateProvisionForm.js +1 -1
- package/dist/cjs/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/shareCapital/CreateInKindContribution.js +1 -1
- package/dist/cjs/types/Interface/api/shareCapital/CreateInKindContribution.js.map +1 -1
- package/dist/cjs/types/Interface/api/shareCapital/CreateShareCapital.js +1 -1
- package/dist/cjs/types/Interface/api/shareCapital/CreateShareCapital.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.d.ts +9 -0
- package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.js +30 -1
- package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.js +0 -2
- package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
- package/dist/cjs/types/index.d.ts +4 -11
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +4 -12
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/cerfa.js +1 -1
- package/dist/cjs/utils/cerfa.js.map +1 -1
- package/dist/cjs/utils/index.d.ts +0 -1
- package/dist/cjs/utils/index.d.ts.map +1 -1
- package/dist/cjs/utils/index.js +0 -1
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/payment.d.ts +1 -0
- package/dist/cjs/utils/payment.d.ts.map +1 -1
- package/dist/cjs/utils/payment.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts +2 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +19 -4
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/cjs/utils/vat/utils.d.ts +2 -0
- package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/cjs/utils/vat/utils.js +10 -0
- package/dist/cjs/utils/vat/utils.js.map +1 -1
- package/dist/mjs/api/resources/InternalInvoicing.d.ts +1 -2
- package/dist/mjs/api/resources/InternalInvoicing.d.ts.map +1 -1
- package/dist/mjs/api/resources/InternalInvoicing.js +0 -3
- package/dist/mjs/api/resources/InternalInvoicing.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +2 -1
- package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Payment.js +3 -0
- package/dist/mjs/api/resources/Payment.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +2 -2
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +3 -4
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/api/resources/User.d.ts +2 -1
- package/dist/mjs/api/resources/User.d.ts.map +1 -1
- package/dist/mjs/api/resources/User.js +6 -0
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -4
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -4
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +12 -12
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/Brevo.d.ts +2 -1
- package/dist/mjs/types/Enum/Brevo.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Brevo.js +1 -0
- package/dist/mjs/types/Enum/Brevo.js.map +1 -1
- package/dist/mjs/types/Enum/EntityType.d.ts +11 -1
- package/dist/mjs/types/Enum/EntityType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/EntityType.js +11 -0
- package/dist/mjs/types/Enum/EntityType.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +1 -0
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +21 -9
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.js +8 -2
- package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/mjs/types/Enum/TeamType.js +1 -1
- package/dist/mjs/types/Enum/TeamType.js.map +1 -1
- package/dist/mjs/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js +1 -1
- package/dist/mjs/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +42 -0
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
- package/dist/{cjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts → mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts} +5 -1
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/{OrganizeBalanceSheets.js → ModifyBalanceSheet.js} +16 -1
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{promoCode/ReadDefaultPaginationPromoCode.js → card/ModifyCustomerVat.js} +8 -9
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.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 +40 -71
- 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/dubiousCustomer/Create.js +4 -4
- package/dist/mjs/types/Interface/api/dubiousCustomer/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts +0 -6
- package/dist/mjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +0 -27
- package/dist/mjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts +0 -2
- package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -14
- package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
- package/dist/mjs/types/Interface/api/notification/Update.d.ts +6 -0
- package/dist/mjs/types/Interface/api/notification/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{societyPromoCode/CreateSocietyPromoCode.js → notification/Update.js} +22 -10
- package/dist/mjs/types/Interface/api/notification/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +3 -0
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.js +10 -1
- package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Query.d.ts +2 -0
- package/dist/mjs/types/Interface/api/payment/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Query.js +16 -1
- package/dist/mjs/types/Interface/api/payment/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/product/CreateProduct.js +1 -1
- package/dist/mjs/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/dist/mjs/types/Interface/api/provision/CreateProvisionForm.js +1 -1
- package/dist/mjs/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/provision/QueryProvisions.js +2 -2
- package/dist/mjs/types/Interface/api/provision/QueryProvisions.js.map +1 -1
- package/dist/mjs/types/Interface/api/provision/UpdateProvisionForm.js +1 -1
- package/dist/mjs/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/shareCapital/CreateInKindContribution.js +1 -1
- package/dist/mjs/types/Interface/api/shareCapital/CreateInKindContribution.js.map +1 -1
- package/dist/mjs/types/Interface/api/shareCapital/CreateShareCapital.js +1 -1
- package/dist/mjs/types/Interface/api/shareCapital/CreateShareCapital.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.d.ts +9 -0
- package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.js +28 -0
- package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.js +0 -2
- package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
- package/dist/mjs/types/index.d.ts +4 -11
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +4 -12
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/cerfa.js +1 -1
- package/dist/mjs/utils/cerfa.js.map +1 -1
- package/dist/mjs/utils/index.d.ts +0 -1
- package/dist/mjs/utils/index.d.ts.map +1 -1
- package/dist/mjs/utils/index.js +0 -1
- package/dist/mjs/utils/index.js.map +1 -1
- package/dist/mjs/utils/payment.d.ts +1 -0
- package/dist/mjs/utils/payment.d.ts.map +1 -1
- package/dist/mjs/utils/payment.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts +2 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +17 -4
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/dist/mjs/utils/vat/utils.d.ts +2 -0
- package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/mjs/utils/vat/utils.js +9 -0
- package/dist/mjs/utils/vat/utils.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/InternalInvoicing.ts +0 -4
- package/ts/api/resources/Payment.ts +7 -2
- package/ts/api/resources/Subscription.ts +5 -15
- package/ts/api/resources/User.ts +8 -0
- package/ts/api/resources.ts +0 -4
- package/ts/types/Enum/BalanceSheet.ts +12 -12
- package/ts/types/Enum/Brevo.ts +1 -0
- package/ts/types/Enum/EntityType.ts +11 -0
- package/ts/types/Enum/PrestationType.ts +22 -9
- package/ts/types/Enum/ReasonTerminationType.ts +8 -2
- package/ts/types/Enum/TeamType.ts +1 -1
- package/ts/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.ts +1 -1
- package/ts/types/Interface/api/card/ModifyAcceptation.ts +24 -0
- package/ts/types/Interface/api/card/{OrganizeBalanceSheets.ts → ModifyBalanceSheet.ts} +11 -0
- package/ts/types/Interface/api/card/ModifyCustomerVat.ts +13 -0
- package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +1 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +1 -1
- package/ts/types/Interface/api/config/ConfigType.ts +39 -75
- package/ts/types/Interface/api/dubiousCustomer/Create.ts +4 -4
- package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts +0 -18
- package/ts/types/Interface/api/internalInvoicing/GetLastRef.ts +0 -10
- package/ts/types/Interface/api/notification/Update.ts +19 -0
- package/ts/types/Interface/api/payment/Params.ts +10 -3
- package/ts/types/Interface/api/payment/Query.ts +12 -1
- package/ts/types/Interface/api/product/CreateProduct.ts +1 -1
- package/ts/types/Interface/api/provision/CreateProvisionForm.ts +1 -1
- package/ts/types/Interface/api/provision/QueryProvisions.ts +2 -2
- package/ts/types/Interface/api/provision/UpdateProvisionForm.ts +1 -1
- package/ts/types/Interface/api/shareCapital/CreateInKindContribution.ts +1 -1
- package/ts/types/Interface/api/shareCapital/CreateShareCapital.ts +1 -1
- package/ts/types/Interface/api/user/Query.ts +26 -0
- package/ts/types/Interface/models/IApiError.ts +0 -3
- package/ts/types/index.ts +4 -12
- package/ts/utils/cerfa.ts +1 -1
- package/ts/utils/index.ts +0 -1
- package/ts/utils/payment.ts +1 -0
- package/ts/utils/prestation.ts +30 -5
- package/ts/utils/vat/utils.ts +10 -1
- package/dist/cjs/api/resources/PromoCode.d.ts +0 -14
- package/dist/cjs/api/resources/PromoCode.d.ts.map +0 -1
- package/dist/cjs/api/resources/PromoCode.js +0 -35
- package/dist/cjs/api/resources/PromoCode.js.map +0 -1
- package/dist/cjs/api/resources/SocietyPromoCode.d.ts +0 -8
- package/dist/cjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
- package/dist/cjs/api/resources/SocietyPromoCode.js +0 -17
- package/dist/cjs/api/resources/SocietyPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -85
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
- package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -53
- package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
- package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -49
- package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -3
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
- package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -53
- package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
- package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
- package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IDefaultPromotion.js +0 -3
- package/dist/cjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
- package/dist/cjs/types/Interface/models/IPromoCode.d.ts +0 -15
- package/dist/cjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IPromoCode.js +0 -3
- package/dist/cjs/types/Interface/models/IPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
- package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISocietyPromoCode.js +0 -3
- package/dist/cjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
- package/dist/cjs/utils/subscription.d.ts +0 -21
- package/dist/cjs/utils/subscription.d.ts.map +0 -1
- package/dist/cjs/utils/subscription.js +0 -97
- package/dist/cjs/utils/subscription.js.map +0 -1
- package/dist/mjs/api/resources/PromoCode.d.ts +0 -14
- package/dist/mjs/api/resources/PromoCode.d.ts.map +0 -1
- package/dist/mjs/api/resources/PromoCode.js +0 -31
- package/dist/mjs/api/resources/PromoCode.js.map +0 -1
- package/dist/mjs/api/resources/SocietyPromoCode.d.ts +0 -8
- package/dist/mjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
- package/dist/mjs/api/resources/SocietyPromoCode.js +0 -13
- package/dist/mjs/api/resources/SocietyPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -93
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
- package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -58
- package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
- package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -50
- package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -2
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
- package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -58
- package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
- package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
- package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IDefaultPromotion.js +0 -2
- package/dist/mjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
- package/dist/mjs/types/Interface/models/IPromoCode.d.ts +0 -15
- package/dist/mjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IPromoCode.js +0 -2
- package/dist/mjs/types/Interface/models/IPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
- package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISocietyPromoCode.js +0 -2
- package/dist/mjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
- package/dist/mjs/utils/subscription.d.ts +0 -21
- package/dist/mjs/utils/subscription.d.ts.map +0 -1
- package/dist/mjs/utils/subscription.js +0 -92
- package/dist/mjs/utils/subscription.js.map +0 -1
- package/ts/api/resources/PromoCode.ts +0 -50
- package/ts/api/resources/SocietyPromoCode.ts +0 -16
- package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +0 -59
- package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +0 -30
- package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +0 -30
- package/ts/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.ts +0 -14
- package/ts/types/Interface/api/promoCode/ReadDefaultPromotion.ts +0 -7
- package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +0 -30
- package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +0 -9
- package/ts/types/Interface/models/IDefaultPromotion.ts +0 -16
- package/ts/types/Interface/models/IPromoCode.ts +0 -14
- package/ts/types/Interface/models/ISocietyPromoCode.ts +0 -7
- package/ts/utils/subscription.ts +0 -124
|
@@ -2,30 +2,24 @@ export interface ConfigType {
|
|
|
2
2
|
port: number;
|
|
3
3
|
db: Db;
|
|
4
4
|
hostS3: string;
|
|
5
|
-
hostApplication: string;
|
|
6
|
-
hostSiteInternet: string;
|
|
7
5
|
redis: Redis;
|
|
8
6
|
redisPrimary: RedisPrimary;
|
|
9
7
|
caarl: Caarl;
|
|
10
8
|
yousign: Yousign;
|
|
11
9
|
secretToken: string;
|
|
12
|
-
comptaclementineTest: ComptaclementineTest;
|
|
13
10
|
bred: Bred;
|
|
14
11
|
awsClementine: AwsClementine;
|
|
15
12
|
mail: Mail;
|
|
16
13
|
client: Client;
|
|
17
14
|
twilio: Twilio;
|
|
18
|
-
aspone: Aspone;
|
|
19
15
|
societyTestId: number;
|
|
20
16
|
pappers: Pappers;
|
|
21
17
|
shine: Shine;
|
|
22
18
|
defaultPermissions: DefaultPermissions;
|
|
23
19
|
crisp: Crisp;
|
|
24
20
|
brand: ConfigBrand;
|
|
25
|
-
adminStatic: AdminStatic;
|
|
26
21
|
ocr: Ocr;
|
|
27
22
|
jeDeclare: JeDeclare;
|
|
28
|
-
firebase: Firebase;
|
|
29
23
|
notification: Notification;
|
|
30
24
|
pdfizer: Pdfizer;
|
|
31
25
|
iDocus: IDocus;
|
|
@@ -46,26 +40,26 @@ export interface ConfigType {
|
|
|
46
40
|
recaptcha: Recaptcha;
|
|
47
41
|
}
|
|
48
42
|
|
|
49
|
-
|
|
43
|
+
interface Authentication {
|
|
50
44
|
token: string;
|
|
51
45
|
}
|
|
52
46
|
|
|
53
|
-
|
|
47
|
+
interface LambdaInfos {
|
|
54
48
|
url: string;
|
|
55
49
|
key: string;
|
|
56
50
|
}
|
|
57
51
|
|
|
58
|
-
|
|
52
|
+
interface Mongodb {
|
|
59
53
|
username: string;
|
|
60
54
|
password: string;
|
|
61
55
|
host: string;
|
|
62
56
|
}
|
|
63
57
|
|
|
64
|
-
|
|
58
|
+
interface MachineLearning {
|
|
65
59
|
transactionAnnotation: string;
|
|
66
60
|
}
|
|
67
61
|
|
|
68
|
-
|
|
62
|
+
interface Db {
|
|
69
63
|
username: string;
|
|
70
64
|
password: string;
|
|
71
65
|
database: string;
|
|
@@ -74,42 +68,33 @@ export interface Db {
|
|
|
74
68
|
dialect: string;
|
|
75
69
|
}
|
|
76
70
|
|
|
77
|
-
|
|
71
|
+
interface Redis {
|
|
78
72
|
host: string;
|
|
79
73
|
port: number;
|
|
80
74
|
}
|
|
81
75
|
|
|
82
|
-
|
|
76
|
+
interface RedisPrimary {
|
|
83
77
|
replicationGroupId: string;
|
|
84
78
|
}
|
|
85
79
|
|
|
86
|
-
|
|
80
|
+
interface Caarl {
|
|
87
81
|
api: string;
|
|
88
82
|
token: string;
|
|
89
83
|
bundle: string;
|
|
90
84
|
}
|
|
91
85
|
|
|
92
|
-
|
|
86
|
+
interface Yousign {
|
|
93
87
|
apiYousign: string;
|
|
94
88
|
appYousign: string;
|
|
95
89
|
token: Token;
|
|
96
90
|
workspaceId: string;
|
|
97
91
|
}
|
|
98
92
|
|
|
99
|
-
|
|
93
|
+
interface Token {
|
|
100
94
|
clementine: string;
|
|
101
95
|
pourcentage: string;
|
|
102
96
|
}
|
|
103
97
|
|
|
104
|
-
export interface ComptaclementineTest {
|
|
105
|
-
username: string;
|
|
106
|
-
password: string;
|
|
107
|
-
database: string;
|
|
108
|
-
port: string;
|
|
109
|
-
host: string;
|
|
110
|
-
dialect: string;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
98
|
export interface Bred {
|
|
114
99
|
authorizeHost: string;
|
|
115
100
|
authorizePath: string;
|
|
@@ -137,14 +122,14 @@ export type BucketName =
|
|
|
137
122
|
| 'resources-internal'
|
|
138
123
|
| 'sales-contract';
|
|
139
124
|
|
|
140
|
-
|
|
125
|
+
interface AwsClementine {
|
|
141
126
|
accessKeyId: string;
|
|
142
127
|
secretAccessKey: string;
|
|
143
128
|
clementineBucketName: BucketName;
|
|
144
129
|
apiVersion: string;
|
|
145
130
|
}
|
|
146
131
|
|
|
147
|
-
|
|
132
|
+
interface Mail {
|
|
148
133
|
user: string;
|
|
149
134
|
password: string;
|
|
150
135
|
host: string;
|
|
@@ -152,35 +137,28 @@ export interface Mail {
|
|
|
152
137
|
tls: boolean;
|
|
153
138
|
}
|
|
154
139
|
|
|
155
|
-
|
|
140
|
+
interface Client {
|
|
156
141
|
host: string;
|
|
157
142
|
hostFull: string;
|
|
158
143
|
}
|
|
159
144
|
|
|
160
|
-
|
|
145
|
+
interface Twilio {
|
|
161
146
|
accountSID: string;
|
|
162
147
|
authToken: string;
|
|
163
148
|
number: string;
|
|
164
149
|
}
|
|
165
150
|
|
|
166
|
-
export interface Aspone {
|
|
167
|
-
siret: string;
|
|
168
|
-
api: string;
|
|
169
|
-
access: Access;
|
|
170
|
-
serviceVersion: string;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
151
|
export interface Access {
|
|
174
152
|
login: string;
|
|
175
153
|
password: string;
|
|
176
154
|
}
|
|
177
155
|
|
|
178
|
-
|
|
156
|
+
interface Pappers {
|
|
179
157
|
token: string;
|
|
180
158
|
url: string;
|
|
181
159
|
}
|
|
182
160
|
|
|
183
|
-
|
|
161
|
+
interface Shine {
|
|
184
162
|
host: string;
|
|
185
163
|
hostV3: string;
|
|
186
164
|
publicHost: string;
|
|
@@ -191,7 +169,7 @@ export interface Shine {
|
|
|
191
169
|
scope: string;
|
|
192
170
|
}
|
|
193
171
|
|
|
194
|
-
|
|
172
|
+
interface DefaultPermissions {
|
|
195
173
|
gescom: boolean;
|
|
196
174
|
compta: boolean;
|
|
197
175
|
stats: boolean;
|
|
@@ -206,12 +184,12 @@ export interface DefaultPermissions {
|
|
|
206
184
|
purchase: boolean;
|
|
207
185
|
}
|
|
208
186
|
|
|
209
|
-
|
|
187
|
+
interface Crisp {
|
|
210
188
|
identifier: string;
|
|
211
189
|
key: string;
|
|
212
190
|
}
|
|
213
191
|
|
|
214
|
-
|
|
192
|
+
interface ConfigBrand {
|
|
215
193
|
name: string;
|
|
216
194
|
api: string;
|
|
217
195
|
api2: string;
|
|
@@ -219,27 +197,22 @@ export interface ConfigBrand {
|
|
|
219
197
|
api2Legalstart: string;
|
|
220
198
|
}
|
|
221
199
|
|
|
222
|
-
export interface AdminStatic {
|
|
223
|
-
login: string;
|
|
224
|
-
password: string;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
200
|
export interface Ocr {
|
|
228
201
|
URL: string;
|
|
229
202
|
}
|
|
230
203
|
|
|
231
|
-
|
|
204
|
+
interface JeDeclare {
|
|
232
205
|
access: Access2[];
|
|
233
206
|
serviceVersion: string;
|
|
234
207
|
}
|
|
235
208
|
|
|
236
|
-
|
|
209
|
+
interface Access2 {
|
|
237
210
|
name: string;
|
|
238
211
|
test: Test;
|
|
239
212
|
production: Production;
|
|
240
213
|
}
|
|
241
214
|
|
|
242
|
-
|
|
215
|
+
interface Test {
|
|
243
216
|
login: string;
|
|
244
217
|
password: string;
|
|
245
218
|
editor: string;
|
|
@@ -247,11 +220,11 @@ export interface Test {
|
|
|
247
220
|
wsdl: Wsdl;
|
|
248
221
|
}
|
|
249
222
|
|
|
250
|
-
|
|
223
|
+
interface Wsdl {
|
|
251
224
|
url: string;
|
|
252
225
|
}
|
|
253
226
|
|
|
254
|
-
|
|
227
|
+
interface Production {
|
|
255
228
|
login: string;
|
|
256
229
|
password: string;
|
|
257
230
|
editor: string;
|
|
@@ -259,63 +232,54 @@ export interface Production {
|
|
|
259
232
|
wsdl: Wsdl2;
|
|
260
233
|
}
|
|
261
234
|
|
|
262
|
-
|
|
235
|
+
interface Wsdl2 {
|
|
263
236
|
url: string;
|
|
264
237
|
}
|
|
265
238
|
|
|
266
|
-
export interface Firebase {
|
|
267
|
-
type: string;
|
|
268
|
-
project_id: string;
|
|
269
|
-
private_key_id: string;
|
|
270
|
-
private_key: string;
|
|
271
|
-
client_email: string;
|
|
272
|
-
client_id: string;
|
|
273
|
-
auth_uri: string;
|
|
274
|
-
token_uri: string;
|
|
275
|
-
auth_provider_x509_cert_url: string;
|
|
276
|
-
client_x509_cert_url: string;
|
|
277
|
-
universe_domain: string;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
239
|
export interface Notification {
|
|
281
240
|
hookToken: string;
|
|
282
241
|
}
|
|
283
242
|
|
|
284
|
-
|
|
243
|
+
interface Pdfizer {
|
|
285
244
|
url: string;
|
|
286
245
|
key: string;
|
|
287
246
|
}
|
|
288
247
|
|
|
289
|
-
|
|
248
|
+
interface IDocus {
|
|
290
249
|
baseUrl: string;
|
|
291
250
|
callbackurl: string;
|
|
292
251
|
authorizationKey: string;
|
|
293
252
|
}
|
|
294
253
|
|
|
295
|
-
|
|
254
|
+
interface Companeo {
|
|
296
255
|
username: string;
|
|
297
256
|
pass: string;
|
|
298
257
|
}
|
|
299
258
|
|
|
300
|
-
|
|
259
|
+
interface Inpi {
|
|
301
260
|
username: string;
|
|
302
261
|
password: string;
|
|
303
262
|
}
|
|
304
263
|
|
|
305
|
-
|
|
264
|
+
interface Notion {
|
|
306
265
|
key: string;
|
|
307
266
|
}
|
|
308
267
|
|
|
309
|
-
|
|
310
|
-
|
|
268
|
+
interface Brevo {
|
|
269
|
+
lists: {
|
|
270
|
+
hot: number;
|
|
271
|
+
paying: number;
|
|
272
|
+
cold: number;
|
|
273
|
+
churned: number;
|
|
274
|
+
};
|
|
311
275
|
}
|
|
312
276
|
|
|
313
|
-
|
|
277
|
+
interface Echo {
|
|
314
278
|
url: string;
|
|
315
279
|
accountid: string;
|
|
316
280
|
apikey: string;
|
|
317
281
|
}
|
|
318
282
|
|
|
319
|
-
|
|
283
|
+
interface Recaptcha {
|
|
320
284
|
secret: string;
|
|
321
285
|
}
|
|
@@ -6,10 +6,10 @@ export class CreateDubiousCustomer {
|
|
|
6
6
|
@ApiProperty()
|
|
7
7
|
@IsNumber()
|
|
8
8
|
@Max(100, {
|
|
9
|
-
message: '
|
|
9
|
+
message: 'Le pourcentage ne doit pas dépasser 100',
|
|
10
10
|
})
|
|
11
11
|
@Min(0, {
|
|
12
|
-
message: '
|
|
12
|
+
message: 'Le pourcentage ne doit pas être négatif',
|
|
13
13
|
})
|
|
14
14
|
nonRecoveryPercentage: number;
|
|
15
15
|
|
|
@@ -17,10 +17,10 @@ export class CreateDubiousCustomer {
|
|
|
17
17
|
@IsNumber()
|
|
18
18
|
@IsOptional()
|
|
19
19
|
@Max(100, {
|
|
20
|
-
message: '
|
|
20
|
+
message: 'Le pourcentage ne doit pas dépasser 100',
|
|
21
21
|
})
|
|
22
22
|
@Min(0, {
|
|
23
|
-
message: '
|
|
23
|
+
message: 'Le pourcentage ne doit pas être négatif',
|
|
24
24
|
})
|
|
25
25
|
nonRecoveryPercentagePrevious?: number;
|
|
26
26
|
|
|
@@ -19,21 +19,3 @@ export class CreateInternalInvoicing {
|
|
|
19
19
|
@IsNumber()
|
|
20
20
|
year: number;
|
|
21
21
|
}
|
|
22
|
-
export class CreateInternalInvoicingYearly {
|
|
23
|
-
@ApiPropertyOptional()
|
|
24
|
-
@IsOptional()
|
|
25
|
-
@IsArray()
|
|
26
|
-
idSociety: Array<number>;
|
|
27
|
-
|
|
28
|
-
@ApiProperty()
|
|
29
|
-
@IsArray()
|
|
30
|
-
idTypeBrand: Array<number>;
|
|
31
|
-
|
|
32
|
-
@ApiProperty()
|
|
33
|
-
@IsNumber()
|
|
34
|
-
month: number;
|
|
35
|
-
|
|
36
|
-
@ApiProperty()
|
|
37
|
-
@IsNumber()
|
|
38
|
-
year: number;
|
|
39
|
-
}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import { IsArray, IsString } from 'class-validator';
|
|
2
1
|
import { ApiProperty } from '../../../../utils';
|
|
3
2
|
|
|
4
3
|
export class GetLastRef {
|
|
5
4
|
@ApiProperty()
|
|
6
|
-
@IsString()
|
|
7
|
-
login: string;
|
|
8
|
-
|
|
9
|
-
@ApiProperty()
|
|
10
|
-
@IsString()
|
|
11
|
-
password: string;
|
|
12
|
-
|
|
13
|
-
@ApiProperty()
|
|
14
|
-
@IsArray()
|
|
15
5
|
idTypeBrand: Array<number>;
|
|
16
6
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IsNumber, IsString, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class UpdateNewSalesUrl {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
@IsString()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
dateStart?: string;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsString()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
dateEnd?: string;
|
|
14
|
+
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsNumber()
|
|
17
|
+
@IsOptional()
|
|
18
|
+
limit?: number;
|
|
19
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsInt, IsOptional } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsInt, IsNumber, IsOptional } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
|
|
@@ -12,11 +12,18 @@ export class CreatePaymentsAutoBilling {
|
|
|
12
12
|
export class UpdateCollectable {
|
|
13
13
|
@ApiProperty()
|
|
14
14
|
@IsInt({ each: true })
|
|
15
|
-
|
|
15
|
+
listIdPayment: number[];
|
|
16
16
|
|
|
17
17
|
@ApiPropertyOptional()
|
|
18
18
|
@IsOptional()
|
|
19
19
|
@IsBoolean()
|
|
20
20
|
@ToBoolean()
|
|
21
|
-
|
|
21
|
+
isCollectable: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export class UpdatePayment {
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
@IsOptional()
|
|
27
|
+
@IsNumber()
|
|
28
|
+
amountPayed: number;
|
|
22
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsDate, IsIn, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
|
|
@@ -25,6 +25,17 @@ export class QueryPayments {
|
|
|
25
25
|
@IsOptional()
|
|
26
26
|
@IsString()
|
|
27
27
|
internComment?: string;
|
|
28
|
+
|
|
29
|
+
@ApiPropertyOptional()
|
|
30
|
+
@IsOptional()
|
|
31
|
+
@IsInt()
|
|
32
|
+
idFile?: number;
|
|
33
|
+
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
@IsOptional()
|
|
36
|
+
@IsBoolean()
|
|
37
|
+
@ToBoolean()
|
|
38
|
+
isAsset?: boolean;
|
|
28
39
|
|
|
29
40
|
@ApiPropertyOptional()
|
|
30
41
|
@IsOptional()
|
|
@@ -5,14 +5,14 @@ export class QueryGetProvisions {
|
|
|
5
5
|
@ApiProperty()
|
|
6
6
|
@IsNumber()
|
|
7
7
|
@Min(0, {
|
|
8
|
-
message: 'page
|
|
8
|
+
message: 'La page doit être positive',
|
|
9
9
|
})
|
|
10
10
|
page: number;
|
|
11
11
|
|
|
12
12
|
@ApiProperty()
|
|
13
13
|
@IsNumber()
|
|
14
14
|
@Min(0, {
|
|
15
|
-
message: '
|
|
15
|
+
message: 'La limite doit être positive',
|
|
16
16
|
})
|
|
17
17
|
limit: number;
|
|
18
18
|
|
|
@@ -4,6 +4,9 @@ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
|
4
4
|
import { SubscriptionType } from '../../../Enum/SubscriptionType';
|
|
5
5
|
import { WhereOptions } from 'sequelize';
|
|
6
6
|
import { ISociety } from '../../models/ISociety';
|
|
7
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
8
|
+
import { Role } from '../../../Enum/Role';
|
|
9
|
+
import { EntityType } from '../../../Enum/EntityType';
|
|
7
10
|
|
|
8
11
|
export class QueryConfirm {
|
|
9
12
|
@ApiProperty()
|
|
@@ -13,6 +16,29 @@ export class QueryConfirm {
|
|
|
13
16
|
email: string;
|
|
14
17
|
}
|
|
15
18
|
|
|
19
|
+
export class QueryGetAllUsersPaginated extends RequiredQueryPaginate {
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
@IsString()
|
|
23
|
+
declare search?: string;
|
|
24
|
+
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
@IsOptional()
|
|
27
|
+
@IsArray()
|
|
28
|
+
declare roles?: Role[];
|
|
29
|
+
|
|
30
|
+
@ApiPropertyOptional()
|
|
31
|
+
@IsOptional()
|
|
32
|
+
@IsArray()
|
|
33
|
+
declare entities?: EntityType[];
|
|
34
|
+
|
|
35
|
+
@ApiPropertyOptional()
|
|
36
|
+
@IsOptional()
|
|
37
|
+
@IsBoolean()
|
|
38
|
+
@ToBoolean()
|
|
39
|
+
declare active?: boolean;
|
|
40
|
+
}
|
|
41
|
+
|
|
16
42
|
export class QueryGetAllCollaborators {
|
|
17
43
|
@ApiProperty({
|
|
18
44
|
description: 'filtering users id',
|
|
@@ -136,9 +136,6 @@ export enum Code {
|
|
|
136
136
|
|
|
137
137
|
payloadIsEmpty = 'payload_is_empty',
|
|
138
138
|
|
|
139
|
-
// PromoCode
|
|
140
|
-
wrongPromoCode = 'wrong_promo_code',
|
|
141
|
-
|
|
142
139
|
// Budget Fetch
|
|
143
140
|
fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',
|
|
144
141
|
fetchConnectionFailed = 'fetch_connection_failed',
|
package/ts/types/index.ts
CHANGED
|
@@ -258,11 +258,9 @@ export * from './Interface/models/IWorkingSchedule';
|
|
|
258
258
|
export * from './Interface/models/IField';
|
|
259
259
|
export * from './Interface/models/IFecFile';
|
|
260
260
|
export * from './Interface/models/ISalariesFile';
|
|
261
|
-
export * from './Interface/models/IPromoCode';
|
|
262
261
|
export * from './Interface/models/ILoan';
|
|
263
262
|
export * from './Interface/models/IBalanceSheetModule';
|
|
264
263
|
export * from './Interface/models/IStock';
|
|
265
|
-
export * from './Interface/models/ISocietyPromoCode';
|
|
266
264
|
export * from './Interface/models/IZTicket';
|
|
267
265
|
export * from './Interface/models/IExerciceNote';
|
|
268
266
|
export * from './Interface/models/IRevisionGuide';
|
|
@@ -278,7 +276,6 @@ export * from './Interface/models/IMachineLearningResult';
|
|
|
278
276
|
export * from './Interface/models/IBalanceSheetModule2';
|
|
279
277
|
export * from './Interface/models/IBalanceSheetStatus';
|
|
280
278
|
export * from './Interface/models/IBalanceSheetCompletion';
|
|
281
|
-
export * from './Interface/models/IDefaultPromotion';
|
|
282
279
|
export * from './Interface/models/INafCode';
|
|
283
280
|
export * from './Interface/models/IMobile';
|
|
284
281
|
export * from './Interface/models/ISocietyEvent';
|
|
@@ -721,8 +718,6 @@ export * from './Interface/api/revision/Create';
|
|
|
721
718
|
export * from './Interface/api/vatDeclaration/QueryVatDeclaration';
|
|
722
719
|
export * from './Interface/api/vatDeclaration/ReadVatVariousOperations';
|
|
723
720
|
export * from './Interface/api/vatDeclaration/ResultFormatToEntries';
|
|
724
|
-
export * from './Interface/api/promoCode/QueryDefaultPromotion';
|
|
725
|
-
export * from './Interface/api/promoCode/ReadDefaultPromotion';
|
|
726
721
|
export * from './Interface/api/SocietyTransaction/Query';
|
|
727
722
|
export * from './Interface/api/SocietyTransaction/QuerySocietyTransactionCount';
|
|
728
723
|
export * from './Interface/api/SocietyTransaction/Read';
|
|
@@ -735,8 +730,6 @@ export * from './Interface/api/webmail/MigrateMailAddresses';
|
|
|
735
730
|
export * from './Interface/api/webmail/ExportEmails';
|
|
736
731
|
export * from './Interface/api/webmail/PostAttachmentEmailFromLambdaParams';
|
|
737
732
|
export * from './Interface/api/webmail/GetPaginatedWhereObjectParams';
|
|
738
|
-
export * from './Interface/api/promoCode/CreateDefaultPromoCode';
|
|
739
|
-
export * from './Interface/api/promoCode/ReadDefaultPaginationPromoCode';
|
|
740
733
|
export * from './Interface/api/bankAccount/Delete';
|
|
741
734
|
export * from './Interface/api/log/QueryLogPagination';
|
|
742
735
|
export * from './Interface/api/employee/QueryEmployeeSearch';
|
|
@@ -838,15 +831,11 @@ export * from './Interface/api/shine/GetConnect';
|
|
|
838
831
|
export * from './Interface/api/shine/CreateShineAccount';
|
|
839
832
|
export * from './Interface/api/shine/CreateShineTransactions';
|
|
840
833
|
export * from './Interface/api/shine/ConnectResponse';
|
|
841
|
-
export * from './Interface/api/promoCode/UpdatePromoCode';
|
|
842
|
-
export * from './Interface/api/promoCode/CreatePromoCode';
|
|
843
834
|
export * from './Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount';
|
|
844
835
|
export * from './Interface/api/loan/CreateLoan';
|
|
845
836
|
export * from './Interface/api/loan/ReadLoan';
|
|
846
837
|
export * from './Interface/api/stock/StocksType';
|
|
847
838
|
export * from './Interface/api/lettering/QueryRegroupLettering';
|
|
848
|
-
// export * from './Interface/api/stock/StockEntries';
|
|
849
|
-
export * from './Interface/api/societyPromoCode/CreateSocietyPromoCode';
|
|
850
839
|
export * from './Interface/api/loan/UpdateLoan';
|
|
851
840
|
export * from './Interface/api/zticket/CreateZTicket';
|
|
852
841
|
export * from './Interface/api/zticket/QueryZTicket';
|
|
@@ -957,6 +946,7 @@ export * from './Interface/api/checklist/Query';
|
|
|
957
946
|
export * from './Interface/api/checklist/Update';
|
|
958
947
|
export * from './Interface/api/notification/CreateNotification';
|
|
959
948
|
export * from './Interface/api/notification/Delete';
|
|
949
|
+
export * from './Interface/api/notification/Update';
|
|
960
950
|
export * from './Interface/api/mobile/UpdateMobile';
|
|
961
951
|
export * from './Interface/api/mobile/QueryMobileMigration';
|
|
962
952
|
export * from './Interface/api/societyEvent/QuerySocietyEvent';
|
|
@@ -1122,7 +1112,9 @@ export * from './Interface/api/previsionalForm/CreatePrevisionalForm';
|
|
|
1122
1112
|
export * from './Interface/api/toDoExpress/Query';
|
|
1123
1113
|
export * from './Interface/api/toDoExpress/Read';
|
|
1124
1114
|
export * from './Interface/api/config/ConfigType';
|
|
1125
|
-
export * from './Interface/api/card/
|
|
1115
|
+
export * from './Interface/api/card/ModifyBalanceSheet';
|
|
1116
|
+
export * from './Interface/api/card/ModifyAcceptation';
|
|
1117
|
+
export * from './Interface/api/card/ModifyCustomerVat';
|
|
1126
1118
|
export * from './Interface/api/user/RegisterProspect';
|
|
1127
1119
|
export * from './Interface/api/stateBankAccount/Query';
|
|
1128
1120
|
export * from './Interface/api/absenceRequest/QueryAbsenceRequest';
|
package/ts/utils/cerfa.ts
CHANGED
|
@@ -70,7 +70,7 @@ export function retreiveChoicesDependingLegalForm(idLegalForm: number): GlobalRe
|
|
|
70
70
|
throw new ServiceException({
|
|
71
71
|
code: Code.validationError,
|
|
72
72
|
type: ErrorType.resourceError,
|
|
73
|
-
message: `
|
|
73
|
+
message: `La forme juridique #${idLegalForm} n'est pas supportée`,
|
|
74
74
|
});
|
|
75
75
|
return selectedGlobalRegime;
|
|
76
76
|
}
|
package/ts/utils/index.ts
CHANGED
package/ts/utils/payment.ts
CHANGED