@silexpert/core 1.3.30-0 → 1.3.30-2
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/prestation.d.ts +3 -1
- package/dist/cjs/api/resources/prestation.d.ts.map +1 -1
- package/dist/cjs/api/resources/prestation.js.map +1 -1
- package/dist/cjs/api/resources/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/Feature.d.ts +38 -0
- package/dist/cjs/types/Enum/Feature.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Feature.js +61 -0
- package/dist/cjs/types/Enum/Feature.js.map +1 -0
- 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/StatusRating.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatusRating.js +1 -0
- package/dist/cjs/types/Enum/StatusRating.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/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/mobile/UpdateMobile.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.js +33 -0
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.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 +8 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +27 -1
- 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 +9 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +1 -0
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +3 -2
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.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/IMobile.d.ts +5 -0
- package/dist/cjs/types/Interface/models/IMobile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IMobile.js.map +1 -1
- package/dist/cjs/types/Interface/models/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 +3 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -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/body.js +1 -1
- package/dist/cjs/utils/commercialManagement/templates/body.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/prestation.d.ts +3 -1
- package/dist/mjs/api/resources/prestation.d.ts.map +1 -1
- package/dist/mjs/api/resources/prestation.js.map +1 -1
- package/dist/mjs/api/resources/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/Feature.d.ts +38 -0
- package/dist/mjs/types/Enum/Feature.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Feature.js +58 -0
- package/dist/mjs/types/Enum/Feature.js.map +1 -0
- 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/StatusRating.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatusRating.js +1 -0
- package/dist/mjs/types/Enum/StatusRating.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/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/mobile/UpdateMobile.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.js +38 -0
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.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 +8 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +29 -1
- 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 +8 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +1 -0
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js +1 -0
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +4 -3
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.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/IMobile.d.ts +5 -0
- package/dist/mjs/types/Interface/models/IMobile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IMobile.js.map +1 -1
- package/dist/mjs/types/Interface/models/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 +3 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -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/body.js +1 -1
- package/dist/mjs/utils/commercialManagement/templates/body.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/prestation.ts +1 -1
- package/ts/api/resources/statistic/Legal.ts +16 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/Feature.ts +62 -0
- package/ts/types/Enum/StatisticType.ts +1 -0
- package/ts/types/Enum/StatusRating.ts +1 -0
- 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/commercialManagement/Create.ts +8 -2
- package/ts/types/Interface/api/mobile/UpdateMobile.ts +28 -0
- 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 +21 -1
- package/ts/types/Interface/api/stripe/QueryStripe.ts +5 -0
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +1 -0
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +2 -2
- package/ts/types/Interface/models/IAIConversation.ts +13 -0
- package/ts/types/Interface/models/IAIQuestion.ts +5 -5
- package/ts/types/Interface/models/IMobile.ts +5 -0
- package/ts/types/Interface/models/IPrestationComplementary.ts +2 -0
- package/ts/types/Interface/models/ISociety.ts +2 -0
- package/ts/types/index.ts +3 -0
- package/ts/utils/commercialManagement/document.ts +3 -2
- package/ts/utils/commercialManagement/templates/body.ts +1 -1
- package/ts/utils/commercialManagement/templates/common.ts +1 -1
|
@@ -9,5 +9,6 @@ exports.StatusRating = [
|
|
|
9
9
|
{ value: 4, text: 'Non concerné', color: 'skyblue' },
|
|
10
10
|
{ value: 5, text: 'Résolu', color: 'green' },
|
|
11
11
|
{ value: 6, text: 'En cours', color: 'orange' },
|
|
12
|
+
{ value: 7, text: 'Sans solution', color: 'red' },
|
|
12
13
|
];
|
|
13
14
|
//# sourceMappingURL=StatusRating.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusRating.js","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusRating.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;IACzB,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,OAAO,EAAE;IAClD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,EAAE;IACnD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;IACtD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,SAAS,EAAE;IACpD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;IAC5C,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"StatusRating.js","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusRating.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;IACzB,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,OAAO,EAAE;IAClD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,EAAE;IACnD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;IACtD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,SAAS,EAAE;IACpD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;IAC5C,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE;IAC/C,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE;CAClD,CAAC","sourcesContent":["export const StatusRating = [\n { value: 0, text: 'Non' },\n { value: 1, text: 'Avis modifié', color: 'green' },\n { value: 2, text: 'Avis supprimé', color: 'green' },\n { value: 3, text: 'Refus de supprimer', color: 'red' },\n { value: 4, text: 'Non concerné', color: 'skyblue' },\n { value: 5, text: 'Résolu', color: 'green' },\n { value: 6, text: 'En cours', color: 'orange' },\n { value: 7, text: 'Sans solution', color: 'red' },\n];\n"]}
|
|
@@ -18,7 +18,7 @@ export declare class CreateAccountingFileFromFile {
|
|
|
18
18
|
export declare class QueryPaginatedAccountingFile {
|
|
19
19
|
page: number;
|
|
20
20
|
limit: number;
|
|
21
|
-
|
|
21
|
+
idAccountingFileType?: number[];
|
|
22
22
|
idFile?: number;
|
|
23
23
|
search?: string;
|
|
24
24
|
descending?: boolean;
|
|
@@ -90,7 +90,7 @@ __decorate([
|
|
|
90
90
|
__decorate([
|
|
91
91
|
(0, utils_1.ApiPropertyOptional)(),
|
|
92
92
|
__metadata("design:type", Array)
|
|
93
|
-
], QueryPaginatedAccountingFile.prototype, "
|
|
93
|
+
], QueryPaginatedAccountingFile.prototype, "idAccountingFileType", void 0);
|
|
94
94
|
__decorate([
|
|
95
95
|
(0, utils_1.ApiPropertyOptional)(),
|
|
96
96
|
(0, class_validator_1.IsInt)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryAccountingFiles.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,sFAA2E;AAC3E,qDAAuF;AAEvF,MAAa,oBAAoB;CA2BhC;AA3BD,oDA2BC;AAzBC;IADC,IAAA,mBAAW,GAAE;;8DACW;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,6BAAS,GAAE;;mDACG;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,6BAAS,GAAE;;wDACQ;AAIpB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,6BAAS,GAAE;;uDACO;AAGnB;IADC,IAAA,mBAAW,GAAE;;mDACA;AAGd;IADC,IAAA,2BAAmB,GAAE;;0DACA;AAMtB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACc;AAG7B,MAAa,sBAAuB,SAAQ,oBAAoB;CAM/D;AAND,wDAMC;AAJC;IADC,IAAA,mBAAW,GAAE;;yDACI;AAGlB;IADC,IAAA,2BAAmB,GAAE;;uEACW;AAGnC,MAAa,4BAA4B;CAQxC;AARD,oEAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0EACqB;AAI7B;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kEACa;AAG5B,MAAa,4BAA4B;CAqCxC;AArCD,oEAqCC;AAlCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACK;AAIb;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;2DACM;AAGd;IADC,IAAA,2BAAmB,GAAE;;0EACU;AAKhC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;4DACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACG;AAMhB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;+DACM;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;6DACI","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsBoolean, IsDateString, IsInt, IsOptional, IsString } from 'class-validator';\n\nexport class QueryAccountingFiles {\n @ApiProperty()\n idAccountingType: number;\n\n @ApiProperty()\n @ToBoolean()\n split: boolean;\n\n @ApiProperty()\n @ToBoolean()\n isPayPerso: boolean;\n\n @ApiProperty()\n @ToBoolean()\n bypassOcr: boolean;\n\n @ApiProperty()\n files: File[];\n\n @ApiPropertyOptional()\n emissionDate?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withSocketReturn?: boolean;\n}\n\nexport class QueryAccountingFilesV2 extends QueryAccountingFiles {\n @ApiProperty()\n idSociety: number;\n\n @ApiPropertyOptional()\n idAccountingTransaction?: number;\n}\n\nexport class CreateAccountingFileFromFile {\n @ApiProperty()\n @IsInt()\n idAccountingFileType: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n emissionDate: Date | null;\n}\n\nexport class QueryPaginatedAccountingFile {\n @ApiProperty()\n @IsInt()\n page: number;\n\n @ApiProperty()\n @IsInt()\n limit: number;\n\n @ApiPropertyOptional()\n
|
|
1
|
+
{"version":3,"file":"queryAccountingFiles.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,sFAA2E;AAC3E,qDAAuF;AAEvF,MAAa,oBAAoB;CA2BhC;AA3BD,oDA2BC;AAzBC;IADC,IAAA,mBAAW,GAAE;;8DACW;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,6BAAS,GAAE;;mDACG;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,6BAAS,GAAE;;wDACQ;AAIpB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,6BAAS,GAAE;;uDACO;AAGnB;IADC,IAAA,mBAAW,GAAE;;mDACA;AAGd;IADC,IAAA,2BAAmB,GAAE;;0DACA;AAMtB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACc;AAG7B,MAAa,sBAAuB,SAAQ,oBAAoB;CAM/D;AAND,wDAMC;AAJC;IADC,IAAA,mBAAW,GAAE;;yDACI;AAGlB;IADC,IAAA,2BAAmB,GAAE;;uEACW;AAGnC,MAAa,4BAA4B;CAQxC;AARD,oEAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0EACqB;AAI7B;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kEACa;AAG5B,MAAa,4BAA4B;CAqCxC;AArCD,oEAqCC;AAlCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACK;AAIb;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;2DACM;AAGd;IADC,IAAA,2BAAmB,GAAE;;0EACU;AAKhC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;4DACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACG;AAMhB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;+DACM;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;6DACI","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsBoolean, IsDateString, IsInt, IsOptional, IsString } from 'class-validator';\n\nexport class QueryAccountingFiles {\n @ApiProperty()\n idAccountingType: number;\n\n @ApiProperty()\n @ToBoolean()\n split: boolean;\n\n @ApiProperty()\n @ToBoolean()\n isPayPerso: boolean;\n\n @ApiProperty()\n @ToBoolean()\n bypassOcr: boolean;\n\n @ApiProperty()\n files: File[];\n\n @ApiPropertyOptional()\n emissionDate?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withSocketReturn?: boolean;\n}\n\nexport class QueryAccountingFilesV2 extends QueryAccountingFiles {\n @ApiProperty()\n idSociety: number;\n\n @ApiPropertyOptional()\n idAccountingTransaction?: number;\n}\n\nexport class CreateAccountingFileFromFile {\n @ApiProperty()\n @IsInt()\n idAccountingFileType: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n emissionDate: Date | null;\n}\n\nexport class QueryPaginatedAccountingFile {\n @ApiProperty()\n @IsInt()\n page: number;\n\n @ApiProperty()\n @IsInt()\n limit: number;\n\n @ApiPropertyOptional()\n idAccountingFileType?: number[];\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idFile?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate?: string;\n}\n"]}
|
|
@@ -31,7 +31,7 @@ __decorate([
|
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, utils_1.ApiPropertyOptional)(),
|
|
33
33
|
__metadata("design:type", Array)
|
|
34
|
-
], QueryTransaction.prototype, "
|
|
34
|
+
], QueryTransaction.prototype, "idAccountingFileType", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
(0, utils_1.ApiPropertyOptional)(),
|
|
37
37
|
__metadata("design:type", Array)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTransaction.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,+FAA4F;AAE5F,qDAAkE;AAElE,MAAa,gBAAgB;CAqD5B;AArDD,4CAqDC;AAjDC;IADC,IAAA,mBAAW,GAAE;;8CACD;AAGb;IADC,IAAA,mBAAW,GAAE;;+CACA;AAGd;IADC,IAAA,mBAAW,GAAE;;6DACgB;AAG9B;IADC,IAAA,2BAAmB,GAAE;;8DACU;AAGhC;IADC,IAAA,2BAAmB,GAAE;;uDACG;AAGzB;IADC,IAAA,2BAAmB,GAAE;;uDACC;AAGvB;IADC,IAAA,2BAAmB,GAAE;;gDACN;AAGhB;IADC,IAAA,2BAAmB,GAAE;;iDACL;AAGjB;IADC,IAAA,2BAAmB,GAAE;;gDACN;AAGhB;IADC,IAAA,2BAAmB,GAAE;;oDACD;AAGrB;IADC,IAAA,2BAAmB,GAAE;;oDACD;AAGrB;IADC,IAAA,2BAAmB,GAAE;;mDACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;iDACL;AAGjB;IADC,IAAA,2BAAmB,GAAE;;4DACO;AAG7B;IADC,IAAA,2BAAmB,GAAE;;0DACK;AAG3B;IADC,IAAA,2BAAmB,GAAE;;oDACD;AAGrB;IADC,IAAA,2BAAmB,GAAE;;mDACF;AAGtB,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAVC;IADC,IAAA,2BAAmB,GAAE;;8DACwB;AAG9C;IADC,IAAA,2BAAmB,GAAE;;0DACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;oEACoB;AAG1C;IADC,IAAA,2BAAmB,GAAE;;uDACN;AAGlB,MAAa,wBAAwB;CAepC;AAfD,4DAeC;AAXC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;2DACK;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;2DACK;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;yDACG","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation';\nimport { AccountingJournal } from '../../../Enum/AccountingJournal';\nimport { IsDateString, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryTransaction {\n id: number;\n\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiProperty()\n idAccountingJournal: number[];\n\n @ApiPropertyOptional()\n
|
|
1
|
+
{"version":3,"file":"QueryTransaction.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":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AAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;yDACG","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation';\nimport { AccountingJournal } from '../../../Enum/AccountingJournal';\nimport { IsDateString, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryTransaction {\n id: number;\n\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiProperty()\n idAccountingJournal: number[];\n\n @ApiPropertyOptional()\n idAccountingFileType?: number[];\n\n @ApiPropertyOptional()\n idBankAccount?: number[];\n\n @ApiPropertyOptional()\n idAccountType?: number;\n\n @ApiPropertyOptional()\n idFile?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n toAnnotate?: boolean;\n\n @ApiPropertyOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n withMissingReceipt?: boolean;\n\n @ApiPropertyOptional()\n invoiceRequested?: boolean;\n\n @ApiPropertyOptional()\n onlyCredit?: boolean;\n\n @ApiPropertyOptional()\n onlyDebit?: boolean;\n}\n\nexport class QueryGetAllTransactions {\n @ApiPropertyOptional()\n typeOperation?: TypeCustomerProviderOperation;\n\n @ApiPropertyOptional()\n dateValue?: string;\n\n @ApiPropertyOptional()\n idAccountingJournal?: AccountingJournal[];\n\n @ApiPropertyOptional()\n idFile?: number;\n}\n\nexport class QueryAutomaticAnnotation {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate: string;\n}\n"]}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
export declare class AskHistoryCollaborator {
|
|
2
|
+
role: 'assistant' | 'user';
|
|
3
|
+
content: string;
|
|
4
|
+
}
|
|
1
5
|
export declare class AskQuestionCollaborator {
|
|
2
6
|
question: string;
|
|
7
|
+
history?: AskHistoryCollaborator[];
|
|
8
|
+
idConversation?: number;
|
|
3
9
|
}
|
|
4
10
|
//# sourceMappingURL=AskQuestionCollaborator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AskQuestionCollaborator.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/ai/AskQuestionCollaborator.ts"],"names":[],"mappings":"AAGA,qBAAa,uBAAuB;IAIlC,QAAQ,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"AskQuestionCollaborator.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/ai/AskQuestionCollaborator.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAIjC,IAAI,EAAE,WAAW,GAAG,MAAM,CAAC;IAK3B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAIlC,QAAQ,EAAE,MAAM,CAAC;IAMjB,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAKnC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -9,9 +9,24 @@ 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.AskQuestionCollaborator = void 0;
|
|
12
|
+
exports.AskQuestionCollaborator = exports.AskHistoryCollaborator = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
|
+
class AskHistoryCollaborator {
|
|
16
|
+
}
|
|
17
|
+
exports.AskHistoryCollaborator = AskHistoryCollaborator;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, utils_1.ApiProperty)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsIn)(['assistant', 'user']),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], AskHistoryCollaborator.prototype, "role", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, utils_1.ApiProperty)(),
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], AskHistoryCollaborator.prototype, "content", void 0);
|
|
15
30
|
class AskQuestionCollaborator {
|
|
16
31
|
}
|
|
17
32
|
exports.AskQuestionCollaborator = AskQuestionCollaborator;
|
|
@@ -21,4 +36,17 @@ __decorate([
|
|
|
21
36
|
(0, class_validator_1.IsNotEmpty)(),
|
|
22
37
|
__metadata("design:type", String)
|
|
23
38
|
], AskQuestionCollaborator.prototype, "question", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsArray)(),
|
|
43
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
44
|
+
__metadata("design:type", Array)
|
|
45
|
+
], AskQuestionCollaborator.prototype, "history", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_validator_1.IsInt)(),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], AskQuestionCollaborator.prototype, "idConversation", void 0);
|
|
24
52
|
//# sourceMappingURL=AskQuestionCollaborator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AskQuestionCollaborator.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/ai/AskQuestionCollaborator.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AskQuestionCollaborator.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/ai/AskQuestionCollaborator.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyG;AACzG,6CAAqE;AAErE,MAAa,sBAAsB;CAUlC;AAVD,wDAUC;AANC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;;oDACD;AAK3B;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACG;AAGlB,MAAa,uBAAuB;CAgBnC;AAhBD,0DAgBC;AAZC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACI;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACI;AAKnC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+DACgB","sourcesContent":["import { IsArray, IsIn, IsInt, IsNotEmpty, IsOptional, IsString, ValidateNested } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class AskHistoryCollaborator {\n @ApiProperty()\n @IsString()\n @IsIn(['assistant', 'user'])\n role: 'assistant' | 'user';\n\n @ApiProperty()\n @IsString()\n @IsNotEmpty()\n content: string;\n}\n\nexport class AskQuestionCollaborator {\n @ApiProperty()\n @IsString()\n @IsNotEmpty()\n question: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n history?: AskHistoryCollaborator[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idConversation?: number;\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;CAAE,CAAC;AAE3E,qBAAa,uBAAuB;IAOlC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,OAAO,CAAC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AAC;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;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IA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ACV,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,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEAC0B;AAKrC;IAHC,IAAA,2BAAmB,GAAE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Enum,\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"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateMobile.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UpdateMobile.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAI3B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAK7B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -10,12 +10,45 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateMobileForm = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
13
14
|
const utils_1 = require("../../../../utils");
|
|
14
15
|
class UpdateMobileForm {
|
|
15
16
|
}
|
|
16
17
|
exports.UpdateMobileForm = UpdateMobileForm;
|
|
17
18
|
__decorate([
|
|
18
19
|
(0, utils_1.ApiPropertyOptional)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
22
|
__metadata("design:type", String)
|
|
20
23
|
], UpdateMobileForm.prototype, "token", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], UpdateMobileForm.prototype, "appVersion", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UpdateMobileForm.prototype, "appBuildNumber", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], UpdateMobileForm.prototype, "deviceBrand", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], UpdateMobileForm.prototype, "deviceSystemVersion", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], UpdateMobileForm.prototype, "deviceId", void 0);
|
|
21
54
|
//# sourceMappingURL=UpdateMobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateMobile.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAwD;AAExD,MAAa,gBAAgB;
|
|
1
|
+
{"version":3,"file":"UpdateMobile.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,6CAAwD;AAExD,MAAa,gBAAgB;CA8B5B;AA9BD,4CA8BC;AA1BC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACO;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACW;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACgB;AAK7B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACK","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateMobileForm {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n token?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n appVersion?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n appBuildNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n deviceBrand?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n deviceSystemVersion?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n deviceId?: 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"]}
|