@silexpert/core 1.3.95-6 → 1.3.96-0
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/BalanceSheetReport.d.ts +10 -0
- package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
- package/dist/cjs/api/resources/BalanceSheetReport.js +23 -0
- package/dist/cjs/api/resources/BalanceSheetReport.js.map +1 -0
- package/dist/cjs/api/resources/Exercice.d.ts +1 -1
- package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/cjs/api/resources/Exercice.js.map +1 -1
- package/dist/cjs/api/resources/Inpi.d.ts +3 -3
- package/dist/cjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/cjs/api/resources/Inpi.js +1 -1
- package/dist/cjs/api/resources/Inpi.js.map +1 -1
- package/dist/cjs/api/resources/Qonto.d.ts +11 -1
- package/dist/cjs/api/resources/Qonto.d.ts.map +1 -1
- package/dist/cjs/api/resources/Qonto.js +29 -0
- package/dist/cjs/api/resources/Qonto.js.map +1 -1
- package/dist/cjs/api/resources/User.js +1 -1
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +2 -4
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -4
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +5 -5
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/BrandComptalib.js +1 -1
- package/dist/cjs/types/Enum/BrandComptalib.js.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.js +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +4 -4
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +12 -20
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +10 -29
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/InpiType.d.ts +2 -10
- package/dist/cjs/types/Enum/InpiType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/InpiType.js +4 -12
- package/dist/cjs/types/Enum/InpiType.js.map +1 -1
- package/dist/cjs/types/Enum/Phone.d.ts +0 -206
- package/dist/cjs/types/Enum/Phone.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Phone.js +2 -208
- package/dist/cjs/types/Enum/Phone.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +1 -2
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +16 -29
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js +22 -7
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/cjs/types/Form/FormConnector.d.ts +0 -1
- package/dist/cjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/cjs/types/Form/FormConnector.js +0 -83
- package/dist/cjs/types/Form/FormConnector.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +207 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.d.ts +46 -0
- package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{connector/OAuthTokenRequest.js → companeo/CompaneoReturn.js} +1 -1
- package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +17 -4
- 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/exercice/Create.d.ts +0 -1
- package/dist/cjs/types/Interface/api/exercice/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/exercice/Create.js +0 -7
- package/dist/cjs/types/Interface/api/exercice/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +0 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js +0 -6
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Create.d.ts +34 -0
- package/dist/cjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Create.js +155 -1
- package/dist/cjs/types/Interface/api/qonto/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Query.d.ts +44 -0
- package/dist/cjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Query.js +4 -1
- package/dist/cjs/types/Interface/api/qonto/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +0 -10
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +1 -30
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -6
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +1 -19
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAttestation.d.ts +20 -18
- package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
- package/dist/cjs/types/Interface/models/IConnector.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IConnector.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IConnector.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -4
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -4
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/vat/3517/century23.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3517/century23.js +55 -55
- package/dist/cjs/utils/vat/3517/century23.js.map +1 -1
- package/dist/mjs/api/resources/BalanceSheetReport.d.ts +10 -0
- package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
- package/dist/mjs/api/resources/BalanceSheetReport.js +22 -0
- package/dist/mjs/api/resources/BalanceSheetReport.js.map +1 -0
- package/dist/mjs/api/resources/Exercice.d.ts +1 -1
- package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/mjs/api/resources/Exercice.js.map +1 -1
- package/dist/mjs/api/resources/Inpi.d.ts +3 -3
- package/dist/mjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/mjs/api/resources/Inpi.js +1 -1
- package/dist/mjs/api/resources/Inpi.js.map +1 -1
- package/dist/mjs/api/resources/Qonto.d.ts +11 -1
- package/dist/mjs/api/resources/Qonto.d.ts.map +1 -1
- package/dist/mjs/api/resources/Qonto.js +29 -0
- package/dist/mjs/api/resources/Qonto.js.map +1 -1
- package/dist/mjs/api/resources/User.js +1 -1
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +2 -4
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -4
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +5 -5
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/BrandComptalib.js +1 -1
- package/dist/mjs/types/Enum/BrandComptalib.js.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.js +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +4 -4
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +12 -20
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +10 -29
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/InpiType.d.ts +2 -10
- package/dist/mjs/types/Enum/InpiType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/InpiType.js +4 -12
- package/dist/mjs/types/Enum/InpiType.js.map +1 -1
- package/dist/mjs/types/Enum/Phone.d.ts +0 -206
- package/dist/mjs/types/Enum/Phone.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Phone.js +2 -208
- package/dist/mjs/types/Enum/Phone.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +1 -2
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +16 -29
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js +22 -7
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/mjs/types/Form/FormConnector.d.ts +0 -1
- package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/mjs/types/Form/FormConnector.js +11 -84
- package/dist/mjs/types/Form/FormConnector.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +200 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.d.ts +46 -0
- package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.js +2 -0
- package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +17 -4
- 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/exercice/Create.d.ts +0 -1
- package/dist/mjs/types/Interface/api/exercice/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/exercice/Create.js +0 -8
- package/dist/mjs/types/Interface/api/exercice/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +0 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js +1 -8
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Create.d.ts +34 -0
- package/dist/mjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Create.js +178 -1
- package/dist/mjs/types/Interface/api/qonto/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Query.d.ts +44 -0
- package/dist/mjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Query.js +9 -0
- package/dist/mjs/types/Interface/api/qonto/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +0 -10
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +1 -34
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -6
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +0 -18
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAttestation.d.ts +20 -18
- package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
- package/dist/mjs/types/Interface/models/IConnector.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IConnector.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IConnector.js.map +1 -1
- package/dist/mjs/types/index.d.ts +2 -4
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -4
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/vat/3517/century23.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3517/century23.js +54 -54
- package/dist/mjs/utils/vat/3517/century23.js.map +1 -1
- package/package.json +14 -14
- package/ts/api/resources/BalanceSheetReport.ts +36 -0
- package/ts/api/resources/Exercice.ts +1 -1
- package/ts/api/resources/Inpi.ts +2 -3
- package/ts/api/resources/Qonto.ts +43 -0
- package/ts/api/resources/User.ts +1 -1
- package/ts/api/resources.ts +2 -4
- package/ts/types/Enum/BrandClementine.ts +5 -5
- package/ts/types/Enum/BrandComptalib.ts +1 -1
- package/ts/types/Enum/BrandLegalstart.ts +1 -1
- package/ts/types/Enum/BrandPourcentage.ts +4 -4
- package/ts/types/Enum/Card.ts +11 -30
- package/ts/types/Enum/InpiType.ts +4 -13
- package/ts/types/Enum/Phone.ts +2 -208
- package/ts/types/Enum/PrestationType.ts +16 -29
- package/ts/types/Enum/SalesContractBrandClementine.ts +22 -7
- package/ts/types/Form/FormConnector.ts +11 -39
- package/ts/types/Interface/api/balanceSheetReport/Query.ts +160 -0
- package/ts/types/Interface/api/companeo/CompaneoReturn.ts +47 -0
- package/ts/types/Interface/api/config/ConfigType.ts +19 -2
- package/ts/types/Interface/api/exercice/Create.ts +0 -6
- package/ts/types/Interface/api/library/QueryLibrary.ts +1 -6
- package/ts/types/Interface/api/qonto/Create.ts +128 -1
- package/ts/types/Interface/api/qonto/Query.ts +64 -0
- package/ts/types/Interface/api/stripe/Create.ts +1 -24
- package/ts/types/Interface/api/stripe/QueryStripe.ts +0 -14
- package/ts/types/Interface/models/IAttestation.ts +20 -18
- package/ts/types/Interface/models/IConnector.ts +0 -1
- package/ts/types/index.ts +2 -4
- package/ts/utils/vat/3517/century23.ts +54 -55
- package/dist/cjs/api/resources/Sellsy.d.ts +0 -19
- package/dist/cjs/api/resources/Sellsy.d.ts.map +0 -1
- package/dist/cjs/api/resources/Sellsy.js +0 -20
- package/dist/cjs/api/resources/Sellsy.js.map +0 -1
- package/dist/cjs/api/resources/StripePurchase.d.ts +0 -13
- package/dist/cjs/api/resources/StripePurchase.d.ts.map +0 -1
- package/dist/cjs/api/resources/StripePurchase.js +0 -17
- package/dist/cjs/api/resources/StripePurchase.js.map +0 -1
- package/dist/cjs/types/Enum/Stripe.d.ts +0 -4
- package/dist/cjs/types/Enum/Stripe.d.ts.map +0 -1
- package/dist/cjs/types/Enum/Stripe.js +0 -8
- package/dist/cjs/types/Enum/Stripe.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/Cron.d.ts +0 -8
- package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/Cron.js +0 -39
- package/dist/cjs/types/Interface/api/card/Cron.js.map +0 -1
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
- package/dist/cjs/types/Interface/api/inpiPayment/Query.d.ts +0 -14
- package/dist/cjs/types/Interface/api/inpiPayment/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/inpiPayment/Query.js +0 -128
- package/dist/cjs/types/Interface/api/inpiPayment/Query.js.map +0 -1
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -3
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
- package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
- package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.js +0 -36
- package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
- package/dist/mjs/api/resources/Sellsy.d.ts +0 -19
- package/dist/mjs/api/resources/Sellsy.d.ts.map +0 -1
- package/dist/mjs/api/resources/Sellsy.js +0 -16
- package/dist/mjs/api/resources/Sellsy.js.map +0 -1
- package/dist/mjs/api/resources/StripePurchase.d.ts +0 -13
- package/dist/mjs/api/resources/StripePurchase.d.ts.map +0 -1
- package/dist/mjs/api/resources/StripePurchase.js +0 -16
- package/dist/mjs/api/resources/StripePurchase.js.map +0 -1
- package/dist/mjs/types/Enum/Stripe.d.ts +0 -4
- package/dist/mjs/types/Enum/Stripe.d.ts.map +0 -1
- package/dist/mjs/types/Enum/Stripe.js +0 -5
- package/dist/mjs/types/Enum/Stripe.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/Cron.d.ts +0 -8
- package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/Cron.js +0 -37
- package/dist/mjs/types/Interface/api/card/Cron.js.map +0 -1
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js +0 -2
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
- package/dist/mjs/types/Interface/api/inpiPayment/Query.d.ts +0 -14
- package/dist/mjs/types/Interface/api/inpiPayment/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/inpiPayment/Query.js +0 -135
- package/dist/mjs/types/Interface/api/inpiPayment/Query.js.map +0 -1
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -2
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
- package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
- package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.js +0 -35
- package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
- package/ts/api/resources/Sellsy.ts +0 -24
- package/ts/api/resources/StripePurchase.ts +0 -22
- package/ts/types/Enum/Stripe.ts +0 -3
- package/ts/types/Interface/api/card/Cron.ts +0 -21
- package/ts/types/Interface/api/connector/OAuthTokenRequest.ts +0 -12
- package/ts/types/Interface/api/inpiPayment/Query.ts +0 -103
- package/ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts +0 -10
- package/ts/types/Interface/api/sellsy/SellsyOauthCallback.ts +0 -24
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { IsDateString, IsOptional, IsString, IsArray } from 'class-validator';
|
|
1
|
+
import { IsDateString, IsOptional, IsString, IsArray, IsBoolean, IsNumber } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
3
|
+
import { RegistrationFileType, ReadStakeHolders } from './Query';
|
|
4
|
+
import { TFile } from '../file/TFile';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
3
6
|
|
|
4
7
|
export class CreateImportation {
|
|
5
8
|
@ApiPropertyOptional()
|
|
@@ -32,3 +35,127 @@ export class ProcessBankAccount {
|
|
|
32
35
|
@IsArray()
|
|
33
36
|
idsSlugToRemove: Array<string>;
|
|
34
37
|
}
|
|
38
|
+
|
|
39
|
+
export class CreateQontoRegistration {
|
|
40
|
+
@ApiProperty()
|
|
41
|
+
@IsString()
|
|
42
|
+
legalFlow: 'company_creation' | 'existing_company';
|
|
43
|
+
|
|
44
|
+
@ApiProperty()
|
|
45
|
+
@IsString()
|
|
46
|
+
locale: 'en' | 'fr' | 'it' | 'es' | 'de';
|
|
47
|
+
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
@IsString()
|
|
50
|
+
@IsOptional()
|
|
51
|
+
firstName?: string | null;
|
|
52
|
+
|
|
53
|
+
@ApiPropertyOptional()
|
|
54
|
+
@IsString()
|
|
55
|
+
@IsOptional()
|
|
56
|
+
lastName?: string | null;
|
|
57
|
+
|
|
58
|
+
@ApiPropertyOptional()
|
|
59
|
+
@IsString()
|
|
60
|
+
@IsOptional()
|
|
61
|
+
email?: string | null;
|
|
62
|
+
|
|
63
|
+
@ApiProperty()
|
|
64
|
+
@IsString()
|
|
65
|
+
entityType: 'freelancer' | 'company';
|
|
66
|
+
|
|
67
|
+
@ApiPropertyOptional()
|
|
68
|
+
@IsString()
|
|
69
|
+
@IsOptional()
|
|
70
|
+
legalName?: string | null;
|
|
71
|
+
|
|
72
|
+
@ApiPropertyOptional()
|
|
73
|
+
@IsString()
|
|
74
|
+
@IsOptional()
|
|
75
|
+
legalForm?: string | null;
|
|
76
|
+
|
|
77
|
+
@ApiPropertyOptional()
|
|
78
|
+
@IsString()
|
|
79
|
+
@IsOptional()
|
|
80
|
+
number?: string | null;
|
|
81
|
+
|
|
82
|
+
@ApiPropertyOptional()
|
|
83
|
+
@IsString()
|
|
84
|
+
@IsOptional()
|
|
85
|
+
sector?: string | null;
|
|
86
|
+
|
|
87
|
+
@ApiPropertyOptional()
|
|
88
|
+
@IsString()
|
|
89
|
+
@IsOptional()
|
|
90
|
+
registrationDate?: string | null;
|
|
91
|
+
|
|
92
|
+
@ApiPropertyOptional()
|
|
93
|
+
@IsString()
|
|
94
|
+
@IsOptional()
|
|
95
|
+
vatNumber?: string | null;
|
|
96
|
+
|
|
97
|
+
@ApiPropertyOptional()
|
|
98
|
+
@IsString()
|
|
99
|
+
@IsOptional()
|
|
100
|
+
addressStreet?: string | null;
|
|
101
|
+
|
|
102
|
+
@ApiPropertyOptional()
|
|
103
|
+
@IsString()
|
|
104
|
+
@IsOptional()
|
|
105
|
+
addressStreet2?: string | null;
|
|
106
|
+
|
|
107
|
+
@ApiPropertyOptional()
|
|
108
|
+
@IsString()
|
|
109
|
+
@IsOptional()
|
|
110
|
+
postalCode?: string | null;
|
|
111
|
+
|
|
112
|
+
@ApiPropertyOptional()
|
|
113
|
+
@IsString()
|
|
114
|
+
@IsOptional()
|
|
115
|
+
city?: string | null;
|
|
116
|
+
|
|
117
|
+
@ApiPropertyOptional()
|
|
118
|
+
@IsString()
|
|
119
|
+
@IsOptional()
|
|
120
|
+
country?: string | null;
|
|
121
|
+
|
|
122
|
+
@ApiProperty()
|
|
123
|
+
@IsString()
|
|
124
|
+
totalCapitalAmount: string;
|
|
125
|
+
|
|
126
|
+
@ApiProperty()
|
|
127
|
+
stakeHolders: ReadStakeHolders;
|
|
128
|
+
|
|
129
|
+
@ApiProperty()
|
|
130
|
+
@IsNumber()
|
|
131
|
+
idSociety: number;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export class CreateRegistrationFile {
|
|
135
|
+
@ApiProperty()
|
|
136
|
+
file: TFile;
|
|
137
|
+
|
|
138
|
+
@ApiProperty()
|
|
139
|
+
fileType: RegistrationFileType;
|
|
140
|
+
|
|
141
|
+
@ApiPropertyOptional()
|
|
142
|
+
@IsString()
|
|
143
|
+
@IsOptional()
|
|
144
|
+
stakeholderId?: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export class CreateWebhookConfig {
|
|
148
|
+
@ApiProperty()
|
|
149
|
+
@IsString()
|
|
150
|
+
callbackUrl: string;
|
|
151
|
+
|
|
152
|
+
@ApiProperty()
|
|
153
|
+
@IsString()
|
|
154
|
+
secret: string;
|
|
155
|
+
|
|
156
|
+
@ApiPropertyOptional()
|
|
157
|
+
@IsBoolean()
|
|
158
|
+
@ToBoolean()
|
|
159
|
+
@IsOptional()
|
|
160
|
+
enabled: boolean;
|
|
161
|
+
}
|
|
@@ -79,6 +79,43 @@ export type GetQontoAttachment = {
|
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
+
export type ReadQontoRegistration = {
|
|
83
|
+
id: string;
|
|
84
|
+
legal_flow: string; // Registration type => company_creation (Company in creation), existing_company (Company already exists)
|
|
85
|
+
flow: {
|
|
86
|
+
type: 'manual' | 'seamless'; // which type of flow the user will be redirected
|
|
87
|
+
breakdown: {
|
|
88
|
+
code: string;
|
|
89
|
+
detail: string;
|
|
90
|
+
source: {
|
|
91
|
+
pointer: string;
|
|
92
|
+
};
|
|
93
|
+
} | null;
|
|
94
|
+
};
|
|
95
|
+
status:
|
|
96
|
+
| 'created'
|
|
97
|
+
| 'pending'
|
|
98
|
+
| 'user_started'
|
|
99
|
+
| 'price_plan_selected'
|
|
100
|
+
| 'contract_signed'
|
|
101
|
+
| 'submitted'
|
|
102
|
+
| 'capital_deposit_activated'
|
|
103
|
+
| 'capital_deposit_request_signed'
|
|
104
|
+
| 'capital_deposit_certificate_signed'
|
|
105
|
+
| 'completed';
|
|
106
|
+
redirection_link: string; // link where the user is redirected
|
|
107
|
+
created_at: string;
|
|
108
|
+
updated_at: string;
|
|
109
|
+
locale: string;
|
|
110
|
+
partner_user: {
|
|
111
|
+
first_name: string | null;
|
|
112
|
+
last_name: string | null;
|
|
113
|
+
email: string | null;
|
|
114
|
+
};
|
|
115
|
+
organization: ReadOrganization;
|
|
116
|
+
stakeholders: ReadStakeHolder[];
|
|
117
|
+
};
|
|
118
|
+
|
|
82
119
|
export type ReadOrganization = {
|
|
83
120
|
id?: string;
|
|
84
121
|
entity_type: 'freelancer' | 'company';
|
|
@@ -130,3 +167,30 @@ export class ReadStakeHolder {
|
|
|
130
167
|
}
|
|
131
168
|
|
|
132
169
|
export type ReadStakeHolders = ReadStakeHolder[];
|
|
170
|
+
|
|
171
|
+
export class ReadQontoRegistrationFile {
|
|
172
|
+
id: string;
|
|
173
|
+
filename: string;
|
|
174
|
+
filesize_bytes: number;
|
|
175
|
+
url: string; // TTL of 2 hours
|
|
176
|
+
created_at: string;
|
|
177
|
+
file_type: string;
|
|
178
|
+
stakeholder_id: string | null;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export type ReadQontoWebhookConfig = {
|
|
182
|
+
id: string;
|
|
183
|
+
created_at: string;
|
|
184
|
+
updated_at: string;
|
|
185
|
+
callback_url: string;
|
|
186
|
+
enabled: boolean;
|
|
187
|
+
secret: string;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
export type RegistrationFileType =
|
|
191
|
+
| 'organization-deposit-certificate'
|
|
192
|
+
| 'organization-proof-of-address'
|
|
193
|
+
| 'organization-by-laws'
|
|
194
|
+
| 'organization-kbis'
|
|
195
|
+
| 'stakeholder-proof-of-identity'
|
|
196
|
+
| 'stakeholder-residence-permit';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import type Stripe from 'stripe';
|
|
4
|
-
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
4
|
export class CreateStripeConnection {
|
|
6
5
|
@ApiProperty()
|
|
7
6
|
@IsString()
|
|
@@ -124,25 +123,3 @@ export class CreateTapToPayConnectionToken {
|
|
|
124
123
|
@IsOptional()
|
|
125
124
|
locationId?: string;
|
|
126
125
|
}
|
|
127
|
-
|
|
128
|
-
export class CreatePurchaseSession {
|
|
129
|
-
@ApiProperty({ description: 'Is software or accountancy product' })
|
|
130
|
-
@IsBoolean()
|
|
131
|
-
@ToBoolean()
|
|
132
|
-
isSoftware: boolean;
|
|
133
|
-
|
|
134
|
-
@ApiProperty({ description: 'Redirection link on success' })
|
|
135
|
-
@IsString()
|
|
136
|
-
successRedirection: string;
|
|
137
|
-
|
|
138
|
-
@ApiProperty({ description: 'Redirection link on cancel / error' })
|
|
139
|
-
@IsString()
|
|
140
|
-
cancelRedirection: string;
|
|
141
|
-
|
|
142
|
-
@ApiPropertyOptional()
|
|
143
|
-
metadata?: Record<string, string | number>;
|
|
144
|
-
|
|
145
|
-
@ApiProperty()
|
|
146
|
-
@IsArray()
|
|
147
|
-
items: Array<{ priceId: string; quantity: number }>;
|
|
148
|
-
}
|
|
@@ -21,17 +21,3 @@ export class QueryStripeSubscriptionId {
|
|
|
21
21
|
@IsString()
|
|
22
22
|
customerId: string;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
export class QueryStripePrice {
|
|
26
|
-
@ApiProperty()
|
|
27
|
-
@IsBoolean()
|
|
28
|
-
@ToBoolean()
|
|
29
|
-
isSoftware: boolean;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export class QueryStripePurchaseHook {
|
|
33
|
-
@ApiProperty()
|
|
34
|
-
@IsBoolean()
|
|
35
|
-
@ToBoolean()
|
|
36
|
-
isSoftware: boolean;
|
|
37
|
-
}
|
|
@@ -14,27 +14,29 @@ export interface IAttestation {
|
|
|
14
14
|
idExercice: number | null;
|
|
15
15
|
idSociety: number | null;
|
|
16
16
|
idSupervisor: number | null;
|
|
17
|
-
idUserDemand
|
|
18
|
-
idPaymentExpectation
|
|
19
|
-
idFile
|
|
17
|
+
idUserDemand?: number | null;
|
|
18
|
+
idPaymentExpectation?: number | null;
|
|
19
|
+
idFile?: number | null;
|
|
20
20
|
annoted: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
factured: number;
|
|
22
|
+
sendDate?: Date | null;
|
|
23
|
+
textPdf?: string | null;
|
|
24
|
+
isSign?: boolean | null;
|
|
25
|
+
done?: boolean | null;
|
|
26
|
+
idMailPayment?: number | null;
|
|
27
|
+
idMailValidation?: number | null;
|
|
28
|
+
fileLink?: string;
|
|
27
29
|
createdAt?: Date | null;
|
|
28
30
|
updatedAt?: Date | null;
|
|
29
31
|
|
|
30
32
|
// Associations
|
|
31
|
-
attestationSupervisor
|
|
32
|
-
attestationUserDemand
|
|
33
|
-
prestationsList
|
|
34
|
-
attestationPaymentExpectation
|
|
35
|
-
attestationFiles
|
|
36
|
-
society
|
|
37
|
-
exercices
|
|
38
|
-
paymentMail
|
|
39
|
-
validationMail
|
|
33
|
+
attestationSupervisor?: IUser | null;
|
|
34
|
+
attestationUserDemand?: IUser | null;
|
|
35
|
+
prestationsList?: IPrestationList;
|
|
36
|
+
attestationPaymentExpectation?: IPaymentExpectation | null;
|
|
37
|
+
attestationFiles?: IFile | null;
|
|
38
|
+
society?: ISociety | null;
|
|
39
|
+
exercices?: IExercice | null;
|
|
40
|
+
paymentMail?: IMail | null;
|
|
41
|
+
validationMail?: IMail | null;
|
|
40
42
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -760,12 +760,12 @@ export * from './Interface/api/ratingHistory/CreateRatingHistory';
|
|
|
760
760
|
export * from './Interface/api/inpiBalance/inpiBalanceStatistic';
|
|
761
761
|
export * from './Interface/api/inpiPayment/QueryInpiPaymentStatistic';
|
|
762
762
|
export * from './Interface/api/inpiPayment/QueryInpiPaymentPaginated';
|
|
763
|
-
export * from './Interface/api/inpiPayment/Query';
|
|
764
763
|
export * from './Interface/api/vatRegimeHistory/QueryVatRegimeHistory';
|
|
765
764
|
export * from './Interface/api/textMessage/Create';
|
|
766
765
|
export * from './Interface/api/textMessage/Update';
|
|
767
766
|
export * from './Interface/api/textMessage/Query';
|
|
768
767
|
export * from './Interface/api/textMessage/Read';
|
|
768
|
+
export * from './Interface/api/companeo/CompaneoReturn';
|
|
769
769
|
export * from './Interface/api/inpi/inpi';
|
|
770
770
|
export * from './Interface/api/team/QueryCreate';
|
|
771
771
|
export * from './Interface/api/team/QueryGetAllWithIncludes';
|
|
@@ -826,6 +826,7 @@ export * from './Interface/api/pappers/CreatePappers';
|
|
|
826
826
|
export * from './Interface/api/bankAccount/Query';
|
|
827
827
|
export * from './Interface/api/bankAccount/Update';
|
|
828
828
|
export * from './Interface/api/stripe/QueryStripe';
|
|
829
|
+
export * from './Interface/api/balanceSheetReport/Query';
|
|
829
830
|
export * from './Interface/api/supervision/Query';
|
|
830
831
|
export * from './Interface/api/supervision/Read';
|
|
831
832
|
export * from './Interface/api/salariesFile/ReadSalariesFile';
|
|
@@ -992,7 +993,6 @@ export * from './Interface/api/commercialOffer/Query';
|
|
|
992
993
|
export * from './Interface/api/documentSection/Update';
|
|
993
994
|
export * from './Interface/api/connector/CreateConnector';
|
|
994
995
|
export * from './Interface/api/connector/QueryConnector';
|
|
995
|
-
export * from './Interface/api/connector/OAuthTokenRequest';
|
|
996
996
|
export * from './Interface/api/connection/Query';
|
|
997
997
|
export * from './Interface/api/connection/QueryConnectionState';
|
|
998
998
|
export * from './Interface/api/connection/ReadConnectionState';
|
|
@@ -1109,7 +1109,6 @@ export * from './Interface/api/companyMarketingInformation/CompanyMarketingInfor
|
|
|
1109
1109
|
export * from './Interface/api/companyMarketingInformation/CreateCompanyMarketingInformation';
|
|
1110
1110
|
export * from './Interface/api/companyMarketingInformation/UpdateCompanyMarketingInformation';
|
|
1111
1111
|
export * from './Interface/api/sellsy/CreateInvoicesSellsy';
|
|
1112
|
-
export * from './Interface/api/sellsy/SellsyConnectionStatus';
|
|
1113
1112
|
export * from './Interface/api/PaymentRecovery/Create';
|
|
1114
1113
|
export * from './Interface/api/yousign/index';
|
|
1115
1114
|
export * from './Interface/api/aspone/AsponeApi';
|
|
@@ -1124,7 +1123,6 @@ export * from './Interface/api/config/ConfigType';
|
|
|
1124
1123
|
export * from './Interface/api/card/ModifyBalanceSheet';
|
|
1125
1124
|
export * from './Interface/api/card/ModifyAcceptation';
|
|
1126
1125
|
export * from './Interface/api/card/ModifyCustomerVat';
|
|
1127
|
-
export * from './Interface/api/card/Cron';
|
|
1128
1126
|
export * from './Interface/api/user/RegisterProspect';
|
|
1129
1127
|
export * from './Interface/api/stateBankAccount/Query';
|
|
1130
1128
|
export * from './Interface/api/absenceRequest/QueryAbsenceRequest';
|