@silexpert/core 1.3.29 → 1.3.30-1
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/AnalyticsUtm.d.ts +10 -0
- package/dist/cjs/api/resources/AnalyticsUtm.d.ts.map +1 -0
- package/dist/cjs/api/resources/AnalyticsUtm.js +16 -0
- package/dist/cjs/api/resources/AnalyticsUtm.js.map +1 -0
- package/dist/cjs/api/resources/PaymentExpectation.d.ts +16 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.js +20 -0
- package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +25 -4
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +34 -8
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/api/resources/statistic/Legal.d.ts +11 -0
- package/dist/cjs/api/resources/statistic/Legal.d.ts.map +1 -0
- package/dist/cjs/api/resources/statistic/Legal.js +16 -0
- package/dist/cjs/api/resources/statistic/Legal.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +4 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +4 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +16 -0
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/StatisticType.d.ts +2 -1
- package/dist/cjs/types/Enum/StatisticType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatisticType.js +1 -0
- package/dist/cjs/types/Enum/StatisticType.js.map +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts +6 -0
- package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.js +29 -1
- package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +6 -2
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js +5 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -13
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +3 -0
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.d.ts +3 -0
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.js +10 -1
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/dist/cjs/types/Interface/api/statistic/QueryLegal.d.ts +6 -0
- package/dist/cjs/types/Interface/api/statistic/QueryLegal.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/statistic/QueryLegal.js +33 -0
- package/dist/cjs/types/Interface/api/statistic/QueryLegal.js.map +1 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +12 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +36 -3
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +3 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +11 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateCoworker.js +11 -7
- package/dist/cjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.js +1 -0
- package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAIConversation.d.ts +11 -0
- package/dist/cjs/types/Interface/models/IAIConversation.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IAIConversation.js +3 -0
- package/dist/cjs/types/Interface/models/IAIConversation.js.map +1 -0
- 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/IPrestationComplementary.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IPrestationComplementary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPrestationComplementary.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts +2 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/document.d.ts.map +1 -1
- package/dist/cjs/utils/commercialManagement/document.js +19 -18
- package/dist/cjs/utils/commercialManagement/document.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/templates/common.js +1 -1
- package/dist/cjs/utils/commercialManagement/templates/common.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/AnalyticsUtm.d.ts +10 -0
- package/dist/mjs/api/resources/AnalyticsUtm.d.ts.map +1 -0
- package/dist/mjs/api/resources/AnalyticsUtm.js +12 -0
- package/dist/mjs/api/resources/AnalyticsUtm.js.map +1 -0
- package/dist/mjs/api/resources/PaymentExpectation.d.ts +16 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.js +20 -0
- package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +25 -4
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +34 -8
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/api/resources/statistic/Legal.d.ts +11 -0
- package/dist/mjs/api/resources/statistic/Legal.d.ts.map +1 -0
- package/dist/mjs/api/resources/statistic/Legal.js +15 -0
- package/dist/mjs/api/resources/statistic/Legal.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +4 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +4 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +16 -0
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/StatisticType.d.ts +2 -1
- package/dist/mjs/types/Enum/StatisticType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatisticType.js +1 -0
- package/dist/mjs/types/Enum/StatisticType.js.map +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +2 -2
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js +2 -2
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts +6 -0
- package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.js +33 -2
- package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +6 -2
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +9 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -13
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +4 -1
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.d.ts +3 -0
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.js +9 -0
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/dist/mjs/types/Interface/api/statistic/QueryLegal.d.ts +6 -0
- package/dist/mjs/types/Interface/api/statistic/QueryLegal.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/statistic/QueryLegal.js +32 -0
- package/dist/mjs/types/Interface/api/statistic/QueryLegal.js.map +1 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +12 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +38 -3
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +3 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +11 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateCoworker.js +11 -7
- package/dist/mjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.js +1 -0
- package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAIConversation.d.ts +11 -0
- package/dist/mjs/types/Interface/models/IAIConversation.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IAIConversation.js +2 -0
- package/dist/mjs/types/Interface/models/IAIConversation.js.map +1 -0
- 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/IPrestationComplementary.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IPrestationComplementary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPrestationComplementary.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts +2 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/document.d.ts.map +1 -1
- package/dist/mjs/utils/commercialManagement/document.js +3 -2
- package/dist/mjs/utils/commercialManagement/document.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/templates/common.js +1 -1
- package/dist/mjs/utils/commercialManagement/templates/common.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Ai.ts +3 -3
- package/ts/api/resources/AnalyticsUtm.ts +12 -0
- package/ts/api/resources/PaymentExpectation.ts +27 -0
- package/ts/api/resources/Subscription.ts +41 -11
- package/ts/api/resources/statistic/Legal.ts +16 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/BrandClementine.ts +16 -0
- package/ts/types/Enum/StatisticType.ts +1 -0
- package/ts/types/Enum/TimeSlot.ts +1 -1
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +1 -1
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +1 -1
- package/ts/types/Interface/api/ai/AskQuestionCollaborator.ts +25 -2
- package/ts/types/Interface/api/cerfa/2031.ts +1 -0
- package/ts/types/Interface/api/cerfa/2035.ts +6 -1
- package/ts/types/Interface/api/cerfa/2065.ts +1 -0
- package/ts/types/Interface/api/cerfa/2069RCI.ts +1 -0
- package/ts/types/Interface/api/cerfa/2571.ts +1 -0
- package/ts/types/Interface/api/cerfa/2572.ts +1 -0
- package/ts/types/Interface/api/cerfa/2573.ts +1 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +8 -2
- package/ts/types/Interface/api/config/ConfigType.ts +0 -16
- package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +4 -1
- package/ts/types/Interface/api/statistic/QueryInternal.ts +7 -0
- package/ts/types/Interface/api/statistic/QueryLegal.ts +16 -0
- package/ts/types/Interface/api/stripe/Create.ts +29 -4
- package/ts/types/Interface/api/stripe/QueryStripe.ts +8 -1
- package/ts/types/Interface/api/user/CreateCoworker.ts +11 -7
- package/ts/types/Interface/api/user/Query.ts +7 -6
- package/ts/types/Interface/models/IAIConversation.ts +13 -0
- package/ts/types/Interface/models/IAIQuestion.ts +5 -5
- package/ts/types/Interface/models/IPrestationComplementary.ts +2 -0
- package/ts/types/Interface/models/ISociety.ts +2 -0
- package/ts/types/index.ts +2 -0
- package/ts/utils/commercialManagement/document.ts +3 -2
- package/ts/utils/commercialManagement/templates/common.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2573.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeCOL_2024, AsponeCRB_2024, AsponeENT_2024 } from '../../../Enum/Aspone';\nimport { CerfaAddress } from './ReadCerfa';\n\ntype Cession = {\n amount: number;\n cessionDate: Date;\n closingDate: Date;\n siren: string;\n};\n\nexport type CompanyTaxRefund = {\n amount: number;\n impute: {\n amount: number | null;\n date: Date | null;\n tax: string | null;\n };\n nature: string | null;\n procedure: {\n date: string;\n nature: string;\n } | null;\n reason: string | null;\n year: number | null;\n interest: number | null;\n};\n\ntype Repayment = {\n amount: number;\n closingDate: Date;\n interests: number;\n nature: string;\n transferDate: string;\n};\n\ntype Transfert = {\n amount: number;\n closingDate: string;\n date: Date;\n nature: string;\n siren: string;\n};\n\nexport type Cerfa2573_2024 = {\n cessions: Cession[];\n declaration: {\n recipient: {\n address: CerfaAddress;\n name: string;\n operator: null | {\n address: CerfaAddress;\n };\n };\n siren: string;\n };\n headOfGroupSiren: string | null;\n absorbentCompanySiren: string | null;\n hasTaxIntegrationRegime: boolean;\n refunds: CompanyTaxRefund[];\n repayments: Repayment[];\n transferts: Transfert[];\n};\n\nexport type Prepare2573Params = {\n idSociety: number;\n idExercice: number;\n values: Cerfa2573_2024;\n};\n\nexport type Cerfa2573_Refund_Input = {\n nature: AsponeCRB_2024;\n year: number | null;\n amount: number | null;\n reason: AsponeENT_2024 | null;\n procedure: {\n date: Date | null;\n nature: null;\n };\n};\n\nexport type ReadCerfa2573Inputs = {\n refunds: Cerfa2573_Refund_Input[];\n selectValues: {\n natures: Array<{ id: AsponeCRB_2024; value: string }>;\n procedureNatures: Array<{ id: AsponeCOL_2024; value: string }>;\n reasons: Array<{ id: AsponeENT_2024; value: string }>;\n };\n};\n"]}
|
|
1
|
+
{"version":3,"file":"2573.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeCOL_2024, AsponeCRB_2024, AsponeENT_2024 } from '../../../Enum/Aspone';\nimport { CerfaAddress } from './ReadCerfa';\n\ntype Cession = {\n amount: number;\n cessionDate: Date;\n closingDate: Date;\n siren: string;\n};\n\nexport type CompanyTaxRefund = {\n amount: number;\n impute: {\n amount: number | null;\n date: Date | null;\n tax: string | null;\n };\n nature: string | null;\n procedure: {\n date: string;\n nature: string;\n } | null;\n reason: string | null;\n year: number | null;\n interest: number | null;\n};\n\ntype Repayment = {\n amount: number;\n closingDate: Date;\n interests: number;\n nature: string;\n transferDate: string;\n};\n\ntype Transfert = {\n amount: number;\n closingDate: string;\n date: Date;\n nature: string;\n siren: string;\n};\n\nexport type Cerfa2573_2024 = {\n cessions: Cession[];\n declaration: {\n recipient: {\n address: CerfaAddress;\n name: string;\n operator: null | {\n address: CerfaAddress;\n };\n };\n siren: string;\n };\n headOfGroupSiren: string | null;\n absorbentCompanySiren: string | null;\n hasTaxIntegrationRegime: boolean;\n refunds: CompanyTaxRefund[];\n repayments: Repayment[];\n transferts: Transfert[];\n};\n\nexport type Prepare2573Params = {\n idSociety: number;\n idExercice: number;\n idUser: number;\n values: Cerfa2573_2024;\n};\n\nexport type Cerfa2573_Refund_Input = {\n nature: AsponeCRB_2024;\n year: number | null;\n amount: number | null;\n reason: AsponeENT_2024 | null;\n procedure: {\n date: Date | null;\n nature: null;\n };\n};\n\nexport type ReadCerfa2573Inputs = {\n refunds: Cerfa2573_Refund_Input[];\n selectValues: {\n natures: Array<{ id: AsponeCRB_2024; value: string }>;\n procedureNatures: Array<{ id: AsponeCOL_2024; value: string }>;\n reasons: Array<{ id: AsponeENT_2024; value: string }>;\n };\n};\n"]}
|
|
@@ -64,7 +64,7 @@ export declare class CreateCommercialSetting {
|
|
|
64
64
|
idSignatureFile?: number | null;
|
|
65
65
|
idGeneralConditionOfSale?: number | null;
|
|
66
66
|
idReminder?: number | null;
|
|
67
|
-
logoUrl?: string;
|
|
67
|
+
logoUrl?: string | null;
|
|
68
68
|
paymentType?: string;
|
|
69
69
|
bonPour?: boolean;
|
|
70
70
|
}
|
|
@@ -101,7 +101,11 @@ export declare class CommercialDocumentInputs {
|
|
|
101
101
|
comment: string | null;
|
|
102
102
|
penalties: string | null;
|
|
103
103
|
generalDiscount2: number | null;
|
|
104
|
-
|
|
104
|
+
recoveryCost: string | null;
|
|
105
|
+
/**
|
|
106
|
+
* @deprecated use recoveryCost instead (exists just for old mobile version)
|
|
107
|
+
*/
|
|
108
|
+
compensation?: string | null;
|
|
105
109
|
vatMention: string | null;
|
|
106
110
|
disableVat: boolean;
|
|
107
111
|
title: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":"AAcA,OAAO,EAAkB,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGrE,OAAO,EACL,oBAAoB,EAEpB,OAAO,EACP,eAAe,EACf,aAAa,EACd,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAA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,CAAC;IAMjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,0BAA0B;IAGrC,QAAQ,EAAE,eAAe,CAAC;IAI1B,IAAI,EAAE,MAAM,CAAC;IAIb,QAAQ,EAAE,qBAAqB,GAAG,qBAAqB,CAAC;IAIxD,qBAAqB,EAAE,mBAAmB,CAAC;IAK3C,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,0BAA0B;IAIrC,QAAQ,CAAC,EAAE,eAAe,CAAC;IAK3B,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,CAAC,EAAE,qBAAqB,GAAG,qBAAqB,CAAC;IAKzD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAM/B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,cAAc;IAKzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAKrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAMvB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAMvB,WAAW,EAAE,MAAM,EAAE,CAAC;IAKtB,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAKjC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,qBAAa,wBAAwB;IAGnC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,sBAAsB;IAGjC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -377,7 +377,7 @@ __decorate([
|
|
|
377
377
|
(0, utils_1.ApiPropertyOptional)(),
|
|
378
378
|
(0, class_validator_1.IsOptional)(),
|
|
379
379
|
(0, class_validator_1.IsString)(),
|
|
380
|
-
__metadata("design:type",
|
|
380
|
+
__metadata("design:type", Object)
|
|
381
381
|
], CreateCommercialSetting.prototype, "logoUrl", void 0);
|
|
382
382
|
__decorate([
|
|
383
383
|
(0, utils_1.ApiPropertyOptional)(),
|
|
@@ -535,6 +535,10 @@ __decorate([
|
|
|
535
535
|
__decorate([
|
|
536
536
|
(0, utils_1.ApiProperty)({ description: 'Indemnité forfaitaire' }),
|
|
537
537
|
__metadata("design:type", Object)
|
|
538
|
+
], CommercialDocumentInputs.prototype, "recoveryCost", void 0);
|
|
539
|
+
__decorate([
|
|
540
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'Indemnité forfaitaire ' }),
|
|
541
|
+
__metadata("design:type", Object)
|
|
538
542
|
], CommercialDocumentInputs.prototype, "compensation", void 0);
|
|
539
543
|
__decorate([
|
|
540
544
|
(0, utils_1.ApiProperty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,gCAAqE;AACrE,6CAAqE;AACrE,sFAA2E;AAC3E,6EAM4C;AAC5C,mEAAoE;AACpE,iEAA8D;AAO9D,MAAa,uBAAuB;CAyTnC;AAzTD,0DAyTC;AAlTC;IANC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,EAAE;QACN,OAAO,EAAE,4BAA4B;KACtC,CAAC;;wDACsB;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACa;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEAC0B;AAKrC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IAC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AAC;IACd,IAAA,4BAAU,GAAE;;6CACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACU;AAMvB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,4BAAU,GAAE;;+CACU;AAMvB;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACzD,IAAA,yBAAO,GAAE;IACT,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,4BAAU,GAAE;;mDACS;AAKtB;IAHC,IAAA,mBAAW,EAAC,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC;IAC5D,IAAA,yBAAO,GAAE;IACT,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACF;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;yDACoB;AAKjC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;mDACc;AAG7B,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACO;AAGjB,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;mDACI","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDateString,\n IsEnum,\n IsIn,\n IsInt,\n IsNumber,\n IsObject,\n IsOptional,\n IsString,\n Length,\n Min,\n} from 'class-validator';\nimport { BorderLineType, IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport {\n AccountingCategoryId,\n EmailType,\n FontIds,\n InvoiceLanguage,\n LogoAlignment,\n} from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areExternalBordersHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSignatureFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idGeneralConditionOfSale?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReminder?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoUrl?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n paymentType?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n bonPour?: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsString()\n recaptcha: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n addSignatureToMail?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldSaveToCustomTemplate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTest?: boolean;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: \"Date d'expiration pour la facture d'acompte\" })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiPropertyOptional({ description: 'Remise globale' })\n generalDiscount2: number | null;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n idSaleDocumentTemplate?: number;\n\n @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage;\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage;\n reminder?: CreateReminder | null;\n recurrence?: CreateRecurrence | null;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n\n @ApiPropertyOptional()\n @ToBoolean()\n @IsBoolean()\n @IsOptional()\n shouldSendEmailOnCreation?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSaleEmail?: number;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string;\n dueDate: Date | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n file?: IFile;\n language: InvoiceLanguage;\n };\n logoUrl: string | null;\n companyName: string;\n fileUrl: string | null;\n hostS3: string;\n hasVat: boolean;\n};\n\nexport class CreateSaleEmail {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsEnum(EmailType)\n type: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class UpdateSaleEmail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateGeneralConditionOfSale {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateGeneralConditionOfSale {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateSaleDocumentTemplate {\n @ApiProperty()\n @IsIn(Object.values(InvoiceLanguage))\n language: InvoiceLanguage;\n\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsObject()\n template: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiProperty()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateSaleDocumentTemplate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(Object.values(InvoiceLanguage))\n language?: InvoiceLanguage;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n template?: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateReminder {\n @ApiPropertyOptional()\n @IsString()\n @Length(0, 255)\n @IsOptional()\n email: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n content: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @Length(0, 255)\n @IsOptional()\n subject: string | null;\n\n @ApiPropertyOptional({ comment: 'ids of file to attach' })\n @IsArray()\n @IsInt({ each: true })\n @IsOptional()\n attachments: number[];\n\n @ApiProperty({ comment: 'days between due date and remind' })\n @IsArray()\n @IsInt({ each: true })\n schedules: number[];\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idEstimateInvoice: number | null;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSaleEmail: number | null;\n}\n\nexport class CreateReminderAttachment {\n @ApiProperty()\n @IsInt()\n idFile: number;\n}\n\nexport class CreateScheduleReminder {\n @ApiProperty()\n @IsInt()\n day: number;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,gCAAqE;AACrE,6CAAqE;AACrE,sFAA2E;AAC3E,6EAM4C;AAC5C,mEAAoE;AACpE,iEAA8D;AAO9D,MAAa,uBAAuB;CAyTnC;AAzTD,0DAyTC;AAlTC;IANC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,EAAE;QACN,OAAO,EAAE,4BAA4B;KACtC,CAAC;;wDACsB;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACa;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS;AAKpB;IAHC,IAAA,2BAAmB,G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C,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;mDACI","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDateString,\n IsEnum,\n IsIn,\n IsInt,\n IsNumber,\n IsObject,\n IsOptional,\n IsString,\n Length,\n Min,\n} from 'class-validator';\nimport { BorderLineType, IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport {\n AccountingCategoryId,\n EmailType,\n FontIds,\n InvoiceLanguage,\n LogoAlignment,\n} from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areExternalBordersHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSignatureFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idGeneralConditionOfSale?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReminder?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoUrl?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n paymentType?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n bonPour?: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsString()\n recaptcha: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n addSignatureToMail?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldSaveToCustomTemplate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTest?: boolean;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: \"Date d'expiration pour la facture d'acompte\" })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiPropertyOptional({ description: 'Remise globale' })\n generalDiscount2: number | null;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n recoveryCost: string | null;\n\n /**\n * @deprecated use recoveryCost instead (exists just for old mobile version)\n */\n @ApiPropertyOptional({ description: 'Indemnité forfaitaire ' })\n compensation?: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n idSaleDocumentTemplate?: number;\n\n @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage;\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage;\n reminder?: CreateReminder | null;\n recurrence?: CreateRecurrence | null;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n\n @ApiPropertyOptional()\n @ToBoolean()\n @IsBoolean()\n @IsOptional()\n shouldSendEmailOnCreation?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSaleEmail?: number;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string;\n dueDate: Date | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n file?: IFile;\n language: InvoiceLanguage;\n };\n logoUrl: string | null;\n companyName: string;\n fileUrl: string | null;\n hostS3: string;\n hasVat: boolean;\n};\n\nexport class CreateSaleEmail {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsEnum(EmailType)\n type: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class UpdateSaleEmail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateGeneralConditionOfSale {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateGeneralConditionOfSale {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateSaleDocumentTemplate {\n @ApiProperty()\n @IsIn(Object.values(InvoiceLanguage))\n language: InvoiceLanguage;\n\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsObject()\n template: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiProperty()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateSaleDocumentTemplate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(Object.values(InvoiceLanguage))\n language?: InvoiceLanguage;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n template?: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateReminder {\n @ApiPropertyOptional()\n @IsString()\n @Length(0, 255)\n @IsOptional()\n email: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n content: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @Length(0, 255)\n @IsOptional()\n subject: string | null;\n\n @ApiPropertyOptional({ comment: 'ids of file to attach' })\n @IsArray()\n @IsInt({ each: true })\n @IsOptional()\n attachments: number[];\n\n @ApiProperty({ comment: 'days between due date and remind' })\n @IsArray()\n @IsInt({ each: true })\n schedules: number[];\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idEstimateInvoice: number | null;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSaleEmail: number | null;\n}\n\nexport class CreateReminderAttachment {\n @ApiProperty()\n @IsInt()\n idFile: number;\n}\n\nexport class CreateScheduleReminder {\n @ApiProperty()\n @IsInt()\n day: number;\n}\n"]}
|
|
@@ -13,9 +13,6 @@ export interface ConfigType {
|
|
|
13
13
|
comptaclementineTest: ComptaclementineTest;
|
|
14
14
|
bred: Bred;
|
|
15
15
|
awsClementine: AwsClementine;
|
|
16
|
-
stripe: Stripe;
|
|
17
|
-
stripeECB: StripeEcb;
|
|
18
|
-
stripeStatuts: StripeStatuts;
|
|
19
16
|
mail: Mail;
|
|
20
17
|
client: Client;
|
|
21
18
|
twilio: Twilio;
|
|
@@ -127,16 +124,6 @@ export interface AwsClementine {
|
|
|
127
124
|
clementineBucketName: BucketName;
|
|
128
125
|
apiVersion: string;
|
|
129
126
|
}
|
|
130
|
-
export interface Stripe {
|
|
131
|
-
secretKey: string;
|
|
132
|
-
secretKeyTestToDelete: string;
|
|
133
|
-
}
|
|
134
|
-
export interface StripeEcb {
|
|
135
|
-
secretKey: string;
|
|
136
|
-
}
|
|
137
|
-
export interface StripeStatuts {
|
|
138
|
-
secretKey: string;
|
|
139
|
-
}
|
|
140
127
|
export interface Mail {
|
|
141
128
|
user: string;
|
|
142
129
|
password: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,EAAE,aAAa,CAAC;IAC7B,
|
|
1
|
+
{"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE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C;IAC7B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,IAAI;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,KAAK;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n hostApplication: string;\n hostSiteInternet: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n budgetInsight: BudgetInsight;\n caarl: Caarl;\n yousign: Yousign;\n secretToken: string;\n comptaclementineTest: ComptaclementineTest;\n bred: Bred;\n awsClementine: AwsClementine;\n
|
|
1
|
+
{"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n hostApplication: string;\n hostSiteInternet: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n budgetInsight: BudgetInsight;\n caarl: Caarl;\n yousign: Yousign;\n secretToken: string;\n comptaclementineTest: ComptaclementineTest;\n bred: Bred;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n aspone: Aspone;\n societyTestId: number;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n adminStatic: AdminStatic;\n ocr: Ocr;\n jeDeclare: JeDeclare;\n firebase: Firebase;\n notification: Notification;\n pdfizer: Pdfizer;\n iDocus: IDocus;\n imageMagick: LambdaInfos;\n companeo: Companeo;\n inpi: Inpi;\n notion: Notion;\n brevo: Brevo;\n tinyurl: LambdaInfos;\n machineLearning: MachineLearning;\n echo: Echo;\n compressPdf: LambdaInfos;\n mongodb: Mongodb;\n pdftkizer: LambdaInfos;\n sharper: LambdaInfos;\n chartizer: LambdaInfos;\n authentication: Authentication;\n recaptcha: Recaptcha;\n}\n\nexport interface Authentication {\n token: string;\n}\n\nexport interface LambdaInfos {\n url: string;\n key: string;\n}\n\nexport interface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\nexport interface MachineLearning {\n transactionAnnotation: string;\n}\n\nexport interface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\nexport interface Redis {\n host: string;\n port: number;\n}\n\nexport interface RedisPrimary {\n replicationGroupId: string;\n}\n\nexport interface BudgetInsight {\n apiLinkBudget: string;\n clientId: string;\n clientSecret: string;\n hookToken: string;\n}\n\nexport interface Caarl {\n api: string;\n token: string;\n bundle: string;\n}\n\nexport interface Yousign {\n apiYousign: string;\n appYousign: string;\n token: Token;\n workspaceId: string;\n}\n\nexport interface Token {\n clementine: string;\n pourcentage: string;\n}\n\nexport interface ComptaclementineTest {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\nexport interface Bred {\n authorizeHost: string;\n authorizePath: string;\n urlPostCodeRequest: string;\n urlGetToken: string;\n apiUrl: string;\n clientId: string;\n clientSecret: string;\n scope: string;\n redirectUri: string;\n subscriptionKey: string;\n}\n\nexport type BucketName =\n | 'resources-local-dev'\n | 'resources-anytime'\n | 'resources-comptalib'\n | 'resources-eunomia'\n | 'resources-legalstart'\n | 'resources-pourcentage'\n | 'resources-statuts-express'\n | 'resources-clementine'\n | 'resources-comptalib-staging'\n | 'clementine-website'\n | 'resources-internal'\n | 'sales-contract';\n\nexport interface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\nexport interface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\nexport interface Client {\n host: string;\n hostFull: string;\n}\n\nexport interface Twilio {\n accountSID: string;\n authToken: string;\n number: string;\n}\n\nexport interface Aspone {\n siret: string;\n api: string;\n access: Access;\n serviceVersion: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\nexport interface Pappers {\n token: string;\n url: string;\n}\n\nexport interface Shine {\n host: string;\n hostV3: string;\n publicHost: string;\n clientId: string;\n clientSecret: string;\n redirect_uris: string[];\n status: string;\n scope: string;\n}\n\nexport interface DefaultPermissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n}\n\nexport interface Crisp {\n identifier: string;\n key: string;\n}\n\nexport interface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface AdminStatic {\n login: string;\n password: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\nexport interface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\nexport interface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\nexport interface Test {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\nexport interface Wsdl {\n url: string;\n}\n\nexport interface Production {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\nexport interface Wsdl2 {\n url: string;\n}\n\nexport interface Firebase {\n type: string;\n project_id: string;\n private_key_id: string;\n private_key: string;\n client_email: string;\n client_id: string;\n auth_uri: string;\n token_uri: string;\n auth_provider_x509_cert_url: string;\n client_x509_cert_url: string;\n universe_domain: string;\n}\n\nexport interface Notification {\n hookToken: string;\n}\n\nexport interface Pdfizer {\n url: string;\n key: string;\n}\n\nexport interface IDocus {\n baseUrl: string;\n callbackurl: string;\n authorizationKey: string;\n}\n\nexport interface Companeo {\n username: string;\n pass: string;\n}\n\nexport interface Inpi {\n username: string;\n password: string;\n}\n\nexport interface Notion {\n key: string;\n}\n\nexport interface Brevo {\n apiKeyProd: string;\n}\n\nexport interface Echo {\n url: string;\n accountid: string;\n apikey: string;\n}\n\nexport interface Recaptcha {\n secret: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDefaultPromoCode.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts"],"names":[],"mappings":"AAIA,qBAAa,sBAAsB;IAGjC,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateDefaultPromoCode.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts"],"names":[],"mappings":"AAIA,qBAAa,sBAAsB;IAGjC,KAAK,EAAE,MAAM,CAAC;IAKd,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKxB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKtB,QAAQ,EAAE,OAAO,CAAC;IAKlB,SAAS,EAAE,OAAO,CAAC;IAKnB,WAAW,EAAE,OAAO,CAAC;IAKrB,uBAAuB,EAAE,OAAO,CAAC;IAKjC,qBAAqB,EAAE,OAAO,CAAC;IAK/B,MAAM,EAAE,OAAO,CAAC;IAMhB,QAAQ,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IAItB,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -23,11 +23,13 @@ __decorate([
|
|
|
23
23
|
], CreateDefaultPromoCode.prototype, "label", void 0);
|
|
24
24
|
__decorate([
|
|
25
25
|
(0, utils_1.ApiPropertyOptional)(),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
27
|
(0, class_validator_1.IsDate)(),
|
|
27
28
|
__metadata("design:type", Object)
|
|
28
29
|
], CreateDefaultPromoCode.prototype, "startDate", void 0);
|
|
29
30
|
__decorate([
|
|
30
31
|
(0, utils_1.ApiPropertyOptional)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
33
|
(0, class_validator_1.IsDate)(),
|
|
32
34
|
__metadata("design:type", Object)
|
|
33
35
|
], CreateDefaultPromoCode.prototype, "endDate", void 0);
|
|
@@ -69,6 +71,7 @@ __decorate([
|
|
|
69
71
|
], CreateDefaultPromoCode.prototype, "isTest", void 0);
|
|
70
72
|
__decorate([
|
|
71
73
|
(0, utils_1.ApiPropertyOptional)(),
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
72
75
|
(0, class_validator_1.IsJSON)()
|
|
73
76
|
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
74
77
|
,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDefaultPromoCode.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"CreateDefaultPromoCode.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkF;AAClF,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,sBAAsB;CAsDlC;AAtDD,wDAsDC;AAnDC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACG;AAKd;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;yDACe;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;uDACa;AAKtB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;wDACM;AAKlB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;yDACO;AAKnB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;2DACS;AAKrB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;uEACqB;AAKjC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;qEACmB;AAK/B;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;sDACI;AAMhB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACT,6EAA6E;;;wDACvD;AAItB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;8DACY","sourcesContent":["import { IsBoolean, IsDate, IsJSON, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateDefaultPromoCode {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isYearly: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isMonthly: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isMicroPlan: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isCashBasedBusinessPlan: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isAccrualBusinessPlan: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isTest: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsJSON()\n // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents\n metadata?: any | null;\n\n @ApiProperty()\n @IsString()\n idStripeCoupon: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryInternal.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"names":[],"mappings":"AAGA,qBAAa,uBAAuB;IAIlC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,wBAAwB;IAInC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,sBAAsB;IAIjC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
|
1
|
+
{"version":3,"file":"QueryInternal.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"names":[],"mappings":"AAGA,qBAAa,uBAAuB;IAIlC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,wBAAwB;IAInC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,sBAAsB;IAIjC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,kBAAkB;IAI7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.QueryInternalMarketing = exports.QueryInternalDataOfficer = exports.QueryInternalCustomerSuccess = exports.QueryInternalAccountant = void 0;
|
|
12
|
+
exports.QueryInternalLegal = exports.QueryInternalMarketing = exports.QueryInternalDataOfficer = exports.QueryInternalCustomerSuccess = exports.QueryInternalAccountant = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
class QueryInternalAccountant {
|
|
@@ -54,4 +54,13 @@ __decorate([
|
|
|
54
54
|
(0, class_validator_1.IsArray)(),
|
|
55
55
|
__metadata("design:type", Array)
|
|
56
56
|
], QueryInternalMarketing.prototype, "idUsers", void 0);
|
|
57
|
+
class QueryInternalLegal {
|
|
58
|
+
}
|
|
59
|
+
exports.QueryInternalLegal = QueryInternalLegal;
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
(0, class_validator_1.IsArray)(),
|
|
64
|
+
__metadata("design:type", Array)
|
|
65
|
+
], QueryInternalLegal.prototype, "idUsers", void 0);
|
|
57
66
|
//# sourceMappingURL=QueryInternal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryInternal.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,6CAAwD;AAExD,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;iEACe;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACK;AAGlB,MAAa,4BAA4B;CAKxC;AALD,oEAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;6DACS;AAGrB,MAAa,wBAAwB;CAKpC;AALD,4DAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;yDACS;AAGrB,MAAa,sBAAsB;CAKlC;AALD,wDAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;uDACS","sourcesContent":["import { IsNumber, IsOptional, IsBoolean, IsArray } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryInternalAccountant {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n expertProduction?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n}\n\nexport class QueryInternalCustomerSuccess {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}\n\nexport class QueryInternalDataOfficer {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}\n\nexport class QueryInternalMarketing {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"QueryInternal.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,6CAAwD;AAExD,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;iEACe;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACK;AAGlB,MAAa,4BAA4B;CAKxC;AALD,oEAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;6DACS;AAGrB,MAAa,wBAAwB;CAKpC;AALD,4DAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;yDACS;AAGrB,MAAa,sBAAsB;CAKlC;AALD,wDAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;uDACS;AAGrB,MAAa,kBAAkB;CAK9B;AALD,gDAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;mDACS","sourcesContent":["import { IsNumber, IsOptional, IsBoolean, IsArray } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryInternalAccountant {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n expertProduction?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n}\n\nexport class QueryInternalCustomerSuccess {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}\n\nexport class QueryInternalDataOfficer {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}\n\nexport class QueryInternalMarketing {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}\n\nexport class QueryInternalLegal {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryLegal.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/statistic/QueryLegal.ts"],"names":[],"mappings":"AAGA,qBAAa,UAAU;IAGrB,MAAM,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACf"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.QueryLegal = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const utils_1 = require("../../../../utils");
|
|
15
|
+
class QueryLegal {
|
|
16
|
+
}
|
|
17
|
+
exports.QueryLegal = QueryLegal;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, utils_1.ApiProperty)(),
|
|
20
|
+
(0, class_validator_1.IsNumber)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], QueryLegal.prototype, "idUser", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, utils_1.ApiProperty)(),
|
|
25
|
+
(0, class_validator_1.IsDate)(),
|
|
26
|
+
__metadata("design:type", Date)
|
|
27
|
+
], QueryLegal.prototype, "startDate", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, utils_1.ApiProperty)(),
|
|
30
|
+
(0, class_validator_1.IsDate)(),
|
|
31
|
+
__metadata("design:type", Date)
|
|
32
|
+
], QueryLegal.prototype, "endDate", void 0);
|
|
33
|
+
//# sourceMappingURL=QueryLegal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryLegal.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/statistic/QueryLegal.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AACnD,6CAAgD;AAEhD,MAAa,UAAU;CAYtB;AAZD,gCAYC;AATC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0CACI;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACE,IAAI;6CAAC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACA,IAAI;2CAAC","sourcesContent":["import { IsNumber, IsDate } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryLegal {\n @ApiProperty()\n @IsNumber()\n idUser: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n}\n"]}
|
|
@@ -2,10 +2,21 @@ export declare class CreateStripeConnection {
|
|
|
2
2
|
code: string;
|
|
3
3
|
}
|
|
4
4
|
export declare class CreateStripePortals {
|
|
5
|
-
stripeCustomerId
|
|
5
|
+
stripeCustomerId: string;
|
|
6
6
|
}
|
|
7
7
|
export declare class CreateImportTransactionForSociety {
|
|
8
8
|
startDate?: Date;
|
|
9
9
|
endDate?: Date;
|
|
10
10
|
}
|
|
11
|
+
export declare class CreateSubscriptionSession {
|
|
12
|
+
priceId: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class CreateSubscriptionSessionOff {
|
|
15
|
+
stripeCustomerId: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class CreatePaymentIntent {
|
|
18
|
+
stripeCustomerId: string;
|
|
19
|
+
paymentMethodId: string;
|
|
20
|
+
amountInCents: number;
|
|
21
|
+
}
|
|
11
22
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAGvC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;IAIzB,eAAe,EAAE,MAAM,CAAC;IAIxB,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CreateImportTransactionForSociety = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
|
|
12
|
+
exports.CreatePaymentIntent = exports.CreateSubscriptionSessionOff = exports.CreateSubscriptionSession = exports.CreateImportTransactionForSociety = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
class CreateStripeConnection {
|
|
@@ -24,9 +24,8 @@ class CreateStripePortals {
|
|
|
24
24
|
}
|
|
25
25
|
exports.CreateStripePortals = CreateStripePortals;
|
|
26
26
|
__decorate([
|
|
27
|
-
(0, utils_1.
|
|
27
|
+
(0, utils_1.ApiProperty)(),
|
|
28
28
|
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
29
|
__metadata("design:type", String)
|
|
31
30
|
], CreateStripePortals.prototype, "stripeCustomerId", void 0);
|
|
32
31
|
class CreateImportTransactionForSociety {
|
|
@@ -44,4 +43,38 @@ __decorate([
|
|
|
44
43
|
(0, class_validator_1.IsOptional)(),
|
|
45
44
|
__metadata("design:type", Date)
|
|
46
45
|
], CreateImportTransactionForSociety.prototype, "endDate", void 0);
|
|
46
|
+
class CreateSubscriptionSession {
|
|
47
|
+
}
|
|
48
|
+
exports.CreateSubscriptionSession = CreateSubscriptionSession;
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, utils_1.ApiProperty)(),
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], CreateSubscriptionSession.prototype, "priceId", void 0);
|
|
54
|
+
class CreateSubscriptionSessionOff {
|
|
55
|
+
}
|
|
56
|
+
exports.CreateSubscriptionSessionOff = CreateSubscriptionSessionOff;
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, utils_1.ApiProperty)(),
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], CreateSubscriptionSessionOff.prototype, "stripeCustomerId", void 0);
|
|
62
|
+
class CreatePaymentIntent {
|
|
63
|
+
}
|
|
64
|
+
exports.CreatePaymentIntent = CreatePaymentIntent;
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.ApiProperty)(),
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], CreatePaymentIntent.prototype, "stripeCustomerId", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, utils_1.ApiProperty)(),
|
|
72
|
+
(0, class_validator_1.IsString)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], CreatePaymentIntent.prototype, "paymentMethodId", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, utils_1.ApiProperty)(),
|
|
77
|
+
(0, class_validator_1.IsInt)(),
|
|
78
|
+
__metadata("design:type", Number)
|
|
79
|
+
], CreatePaymentIntent.prototype, "amountInCents", void 0);
|
|
47
80
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAqE;AAErE,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACD,IAAI;oEAAC;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACH,IAAI;kEAAC;AAGjB,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0DACK;AAGlB,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;sEACc;AAG3B,MAAa,mBAAmB;CAY/B;AAZD,kDAYC;AATC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;4DACa;AAIxB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACc","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n \n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,6BAA6B;
|
|
1
|
+
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,6BAA6B;IAGxC,UAAU,EAAE,MAAM,CAAC;IAInB,cAAc,EAAE,MAAM,CAAC;CACxB;AACD,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|