@silexpert/core 0.4.108 → 0.4.110
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/CHANGELOG.md +68 -0
- package/es/api/resources/AccountingFiles.d.ts +6 -0
- package/es/api/resources/AccountingFiles.d.ts.map +1 -0
- package/es/api/resources/AccountingFiles.js +14 -0
- package/es/api/resources/AccountingFiles.js.map +1 -0
- package/es/api/resources/InternalInvoicing.d.ts +6 -0
- package/es/api/resources/InternalInvoicing.d.ts.map +1 -0
- package/es/api/resources/InternalInvoicing.js +7 -0
- package/es/api/resources/InternalInvoicing.js.map +1 -0
- package/es/api/resources/Journal.d.ts +7 -0
- package/es/api/resources/Journal.d.ts.map +1 -0
- package/es/api/resources/Journal.js +10 -0
- package/es/api/resources/Journal.js.map +1 -0
- package/es/api/resources/MealExpense.d.ts +33 -0
- package/es/api/resources/MealExpense.d.ts.map +1 -0
- package/es/api/resources/MealExpense.js +37 -0
- package/es/api/resources/MealExpense.js.map +1 -0
- package/es/api/resources/Product.d.ts +3 -0
- package/es/api/resources/Product.d.ts.map +1 -1
- package/es/api/resources/Product.js +10 -0
- package/es/api/resources/Product.js.map +1 -1
- package/es/api/resources/Registration.d.ts +6 -0
- package/es/api/resources/Registration.d.ts.map +1 -0
- package/es/api/resources/Registration.js +7 -0
- package/es/api/resources/Registration.js.map +1 -0
- package/es/api/resources.d.ts +8 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +8 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AccountingFileType.d.ts +2 -1
- package/es/types/Enum/AccountingFileType.d.ts.map +1 -1
- package/es/types/Enum/AccountingFileType.js +1 -0
- package/es/types/Enum/AccountingFileType.js.map +1 -1
- package/es/types/Enum/CerfaType.d.ts +14 -14
- package/es/types/Enum/CerfaType.d.ts.map +1 -1
- package/es/types/Enum/CerfaType.js +15 -14
- package/es/types/Enum/CerfaType.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +1 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +1 -1
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/GlobalRegime.js +61 -61
- package/es/types/Enum/GlobalRegime.js.map +1 -1
- package/es/types/Enum/MealExpenseTresholds.d.ts +8 -0
- package/es/types/Enum/MealExpenseTresholds.d.ts.map +1 -0
- package/es/types/Enum/MealExpenseTresholds.js +11 -0
- package/es/types/Enum/MealExpenseTresholds.js.map +1 -0
- package/es/types/Enum/MimeType.d.ts +24 -0
- package/es/types/Enum/MimeType.d.ts.map +1 -0
- package/es/types/Enum/MimeType.js +24 -0
- package/es/types/Enum/MimeType.js.map +1 -0
- package/es/types/Enum/PaymentMethod.d.ts +63 -0
- package/es/types/Enum/PaymentMethod.d.ts.map +1 -0
- package/es/types/Enum/PaymentMethod.js +63 -0
- package/es/types/Enum/PaymentMethod.js.map +1 -0
- package/es/types/Enum/ProductType.d.ts +6 -4
- package/es/types/Enum/ProductType.d.ts.map +1 -1
- package/es/types/Enum/ProductType.js +14 -6
- package/es/types/Enum/ProductType.js.map +1 -1
- package/es/types/Enum/Vat.d.ts +9 -0
- package/es/types/Enum/Vat.d.ts.map +1 -1
- package/es/types/Enum/Vat.js +9 -0
- package/es/types/Enum/Vat.js.map +1 -1
- package/es/types/Interface/api/accountingFiles/Ocr.d.ts +14 -0
- package/es/types/Interface/api/accountingFiles/Ocr.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/Ocr.js +2 -0
- package/es/types/Interface/api/accountingFiles/Ocr.js.map +1 -0
- package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts +15 -0
- package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/OcrPayload.js +2 -0
- package/es/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -0
- package/es/types/Interface/api/accountingFiles/OcrValue.d.ts +14 -0
- package/es/types/Interface/api/accountingFiles/OcrValue.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/OcrValue.js +2 -0
- package/es/types/Interface/api/accountingFiles/OcrValue.js.map +1 -0
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +7 -0
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js +32 -0
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.d.ts +7 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js +3 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +7 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +1 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +7 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.d.ts +16 -0
- package/es/types/Interface/api/exercice/CreateExercice.d.ts.map +1 -0
- package/es/types/Interface/api/exercice/CreateExercice.js +101 -0
- package/es/types/Interface/api/exercice/CreateExercice.js.map +1 -0
- package/es/types/Interface/api/exercice/QueryExercice.d.ts +7 -0
- package/es/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -0
- package/es/types/Interface/api/exercice/QueryExercice.js +39 -0
- package/es/types/Interface/api/exercice/QueryExercice.js.map +1 -0
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts +5 -0
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts.map +1 -0
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +21 -0
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -0
- package/es/types/Interface/api/journal/Journals.d.ts +44 -0
- package/es/types/Interface/api/journal/Journals.d.ts.map +1 -0
- package/es/types/Interface/api/journal/Journals.js +13 -0
- package/es/types/Interface/api/journal/Journals.js.map +1 -0
- package/es/types/Interface/api/journal/QueryJournal.d.ts +6 -0
- package/es/types/Interface/api/journal/QueryJournal.d.ts.map +1 -0
- package/es/types/Interface/api/journal/QueryJournal.js +28 -0
- package/es/types/Interface/api/journal/QueryJournal.js.map +1 -0
- package/es/types/Interface/api/mealExpense/CreateMealExpense.d.ts +4 -0
- package/es/types/Interface/api/mealExpense/CreateMealExpense.d.ts.map +1 -0
- package/es/types/Interface/api/mealExpense/CreateMealExpense.js +25 -0
- package/es/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -0
- package/es/types/Interface/api/mealExpense/ReadMealExpense.d.ts +8 -0
- package/es/types/Interface/api/mealExpense/ReadMealExpense.d.ts.map +1 -0
- package/es/types/Interface/api/mealExpense/ReadMealExpense.js +3 -0
- package/es/types/Interface/api/mealExpense/ReadMealExpense.js.map +1 -0
- package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.js +3 -2
- package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.js +4 -2
- package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.d.ts +6 -0
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -0
- package/es/types/Interface/api/registration/CreateRegistration.js +25 -0
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -0
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +3 -0
- package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -0
- package/es/types/Interface/api/registration/ReadRegistration.js +2 -0
- package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +2 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +2 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.d.ts +1 -0
- package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/models/IExercice.d.ts +8 -8
- package/es/types/Interface/models/IExercice.d.ts.map +1 -1
- package/es/types/Interface/models/IExercice.js.map +1 -1
- package/es/types/Interface/models/IGedFile.d.ts +10 -10
- package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/es/types/Interface/models/IGedFile.js.map +1 -1
- package/es/types/Interface/models/IPayment.d.ts +19 -15
- package/es/types/Interface/models/IPayment.d.ts.map +1 -1
- package/es/types/Interface/models/IPayment.js.map +1 -1
- package/es/types/Interface/models/IRegistration.d.ts +21 -0
- package/es/types/Interface/models/IRegistration.d.ts.map +1 -0
- package/es/types/Interface/models/IRegistration.js +2 -0
- package/es/types/Interface/models/IRegistration.js.map +1 -0
- package/es/types/Interface/models/ISociety.d.ts +1 -0
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/index.d.ts +17 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +17 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/validators/formattedDateString.validator.d.ts +3 -0
- package/es/utils/validators/formattedDateString.validator.d.ts.map +1 -0
- package/es/utils/validators/formattedDateString.validator.js +19 -0
- package/es/utils/validators/formattedDateString.validator.js.map +1 -0
- package/js/api/resources/AccountingFiles.js +29 -0
- package/js/api/resources/AccountingFiles.js.map +1 -0
- package/js/api/resources/InternalInvoicing.js +18 -0
- package/js/api/resources/InternalInvoicing.js.map +1 -0
- package/js/api/resources/Journal.js +21 -0
- package/js/api/resources/Journal.js.map +1 -0
- package/js/api/resources/MealExpense.js +52 -0
- package/js/api/resources/MealExpense.js.map +1 -0
- package/js/api/resources/Product.js +12 -0
- package/js/api/resources/Product.js.map +1 -1
- package/js/api/resources/Registration.js +18 -0
- package/js/api/resources/Registration.js.map +1 -0
- package/js/api/resources.js +13 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AccountingFileType.js +1 -0
- package/js/types/Enum/AccountingFileType.js.map +1 -1
- package/js/types/Enum/CerfaType.js +16 -14
- package/js/types/Enum/CerfaType.js.map +1 -1
- package/js/types/Enum/Ged.js +2 -2
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/GlobalRegime.js +61 -61
- package/js/types/Enum/GlobalRegime.js.map +1 -1
- package/js/types/Enum/MealExpenseTresholds.js +16 -0
- package/js/types/Enum/MealExpenseTresholds.js.map +1 -0
- package/js/types/Enum/MimeType.js +29 -0
- package/js/types/Enum/MimeType.js.map +1 -0
- package/js/types/Enum/PaymentMethod.js +68 -0
- package/js/types/Enum/PaymentMethod.js.map +1 -0
- package/js/types/Enum/ProductType.js +14 -7
- package/js/types/Enum/ProductType.js.map +1 -1
- package/js/types/Enum/Vat.js +18 -9
- package/js/types/Enum/Vat.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/Ocr.js +6 -0
- package/js/types/Interface/api/accountingFiles/Ocr.js.map +1 -0
- package/js/types/Interface/api/accountingFiles/OcrPayload.js +6 -0
- package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -0
- package/js/types/Interface/api/accountingFiles/OcrValue.js +6 -0
- package/js/types/Interface/api/accountingFiles/OcrValue.js.map +1 -0
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js +35 -0
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -0
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js +10 -0
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +2 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +2 -0
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/exercice/CreateExercice.js +55 -0
- package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -0
- package/js/types/Interface/api/exercice/QueryExercice.js +37 -0
- package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -0
- package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +29 -0
- package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -0
- package/js/types/Interface/api/journal/Journals.js +30 -0
- package/js/types/Interface/api/journal/Journals.js.map +1 -0
- package/js/types/Interface/api/journal/QueryJournal.js +33 -0
- package/js/types/Interface/api/journal/QueryJournal.js.map +1 -0
- package/js/types/Interface/api/mealExpense/CreateMealExpense.js +33 -0
- package/js/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -0
- package/js/types/Interface/api/mealExpense/ReadMealExpense.js +10 -0
- package/js/types/Interface/api/mealExpense/ReadMealExpense.js.map +1 -0
- package/js/types/Interface/api/product/CreateProduct.js +1 -1
- package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/js/types/Interface/api/product/QueryProduct.js +3 -1
- package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/js/types/Interface/api/registration/CreateRegistration.js +35 -0
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -0
- package/js/types/Interface/api/registration/ReadRegistration.js +6 -0
- package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +3 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IRegistration.js +6 -0
- package/js/types/Interface/models/IRegistration.js.map +1 -0
- package/js/types/index.js +204 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/validators/formattedDateString.validator.js +29 -0
- package/js/utils/validators/formattedDateString.validator.js.map +1 -0
- package/package.json +1 -1
- package/ts/api/resources/AccountingFiles.ts +18 -0
- package/ts/api/resources/InternalInvoicing.ts +10 -0
- package/ts/api/resources/Journal.ts +11 -0
- package/ts/api/resources/MealExpense.ts +41 -0
- package/ts/api/resources/Product.ts +12 -0
- package/ts/api/resources/Registration.ts +8 -0
- package/ts/api/resources.ts +8 -0
- package/ts/types/Enum/AccountingFileType.ts +1 -0
- package/ts/types/Enum/CerfaType.ts +14 -14
- package/ts/types/Enum/Ged.ts +1 -1
- package/ts/types/Enum/GlobalRegime.ts +61 -61
- package/ts/types/Enum/MealExpenseTresholds.ts +17 -0
- package/ts/types/Enum/MimeType.ts +23 -0
- package/ts/types/Enum/PaymentMethod.ts +62 -0
- package/ts/types/Enum/ProductType.ts +21 -5
- package/ts/types/Enum/Vat.ts +9 -0
- package/ts/types/Interface/api/accountingFiles/Ocr.ts +13 -0
- package/ts/types/Interface/api/accountingFiles/OcrPayload.ts +15 -0
- package/ts/types/Interface/api/accountingFiles/OcrValue.ts +13 -0
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +18 -0
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.ts +6 -0
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/exercice/CreateExercice.ts +80 -0
- package/ts/types/Interface/api/exercice/QueryExercice.ts +25 -0
- package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts +9 -0
- package/ts/types/Interface/api/journal/Journals.ts +48 -0
- package/ts/types/Interface/api/journal/QueryJournal.ts +15 -0
- package/ts/types/Interface/api/mealExpense/CreateMealExpense.ts +16 -0
- package/ts/types/Interface/api/mealExpense/ReadMealExpense.ts +8 -0
- package/ts/types/Interface/api/product/CreateProduct.ts +2 -2
- package/ts/types/Interface/api/product/QueryProduct.ts +6 -2
- package/ts/types/Interface/api/registration/CreateRegistration.ts +13 -0
- package/ts/types/Interface/api/registration/ReadRegistration.ts +3 -0
- package/ts/types/Interface/models/IApiError.ts +2 -0
- package/ts/types/Interface/models/IBalanceSheetModule.ts +1 -0
- package/ts/types/Interface/models/IExercice.ts +8 -8
- package/ts/types/Interface/models/IGedFile.ts +10 -10
- package/ts/types/Interface/models/IPayment.ts +19 -15
- package/ts/types/Interface/models/IRegistration.ts +23 -0
- package/ts/types/Interface/models/ISociety.ts +1 -0
- package/ts/types/index.ts +18 -1
- package/ts/utils/validators/formattedDateString.validator.ts +24 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
const PaymentMethod = exports.PaymentMethod = {
|
|
7
|
+
DIRECT_DEBIT: {
|
|
8
|
+
id: 1,
|
|
9
|
+
name: 'Prélèvement',
|
|
10
|
+
isSpecial: 0,
|
|
11
|
+
isOverdue: 0
|
|
12
|
+
},
|
|
13
|
+
BANK_TRANSFER: {
|
|
14
|
+
id: 2,
|
|
15
|
+
name: 'Virement',
|
|
16
|
+
isSpecial: 0,
|
|
17
|
+
isOverdue: 0
|
|
18
|
+
},
|
|
19
|
+
BANK_CARD: {
|
|
20
|
+
id: 3,
|
|
21
|
+
name: 'CB',
|
|
22
|
+
isSpecial: 0,
|
|
23
|
+
isOverdue: 0
|
|
24
|
+
},
|
|
25
|
+
BANK_CHECK: {
|
|
26
|
+
id: 4,
|
|
27
|
+
name: 'Chèque',
|
|
28
|
+
isSpecial: 0,
|
|
29
|
+
isOverdue: 0
|
|
30
|
+
},
|
|
31
|
+
DIRECT_DEBIT_REJECTION_1: {
|
|
32
|
+
id: 5,
|
|
33
|
+
name: 'Rejet de prélèvement 1',
|
|
34
|
+
isSpecial: 1,
|
|
35
|
+
isOverdue: 1
|
|
36
|
+
},
|
|
37
|
+
DIRECT_DEBIT_REJECTION_2: {
|
|
38
|
+
id: 6,
|
|
39
|
+
name: 'Rejet de prélèvement 2',
|
|
40
|
+
isSpecial: 1,
|
|
41
|
+
isOverdue: 1
|
|
42
|
+
},
|
|
43
|
+
VARIOUS_UNPAID: {
|
|
44
|
+
id: 7,
|
|
45
|
+
name: 'Impayés divers',
|
|
46
|
+
isSpecial: 1,
|
|
47
|
+
isOverdue: 1
|
|
48
|
+
},
|
|
49
|
+
STRIPE_ECB: {
|
|
50
|
+
id: 8,
|
|
51
|
+
name: 'Stripe (ECB)',
|
|
52
|
+
isSpecial: 0,
|
|
53
|
+
isOverdue: 0
|
|
54
|
+
},
|
|
55
|
+
STRIPE_WI: {
|
|
56
|
+
id: 9,
|
|
57
|
+
name: 'Stripe (WI)',
|
|
58
|
+
isSpecial: 0,
|
|
59
|
+
isOverdue: 0
|
|
60
|
+
},
|
|
61
|
+
CASH: {
|
|
62
|
+
id: 10,
|
|
63
|
+
name: 'Espèces',
|
|
64
|
+
isSpecial: 0,
|
|
65
|
+
isOverdue: 0
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=PaymentMethod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/PaymentMethod.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,aAAa,WAAb,aAAa,GAAG;AAC3B,EAAA,YAAY,EAAE;AACZ,IAAA,EAAE,EAAE,CADQ;AAEZ,IAAA,IAAI,EAAE,aAFM;AAGZ,IAAA,SAAS,EAAE,CAHC;AAIZ,IAAA,SAAS,EAAE;AAJC,GADa;AAO3B,E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A,IAAI,EAAE;AACJ,IAAA,EAAE,EAAE,EADA;AAEJ,IAAA,IAAI,EAAE,SAFF;AAGJ,IAAA,SAAS,EAAE,CAHP;AAIJ,IAAA,SAAS,EAAE;AAJP;AAvDqB,CAAtB","sourcesContent":["export const PaymentMethod = {\n DIRECT_DEBIT: {\n id: 1,\n name: 'Prélèvement',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_TRANSFER: {\n id: 2,\n name: 'Virement',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_CARD: {\n id: 3,\n name: 'CB',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_CHECK: {\n id: 4,\n name: 'Chèque',\n isSpecial: 0,\n isOverdue: 0,\n },\n DIRECT_DEBIT_REJECTION_1: {\n id: 5,\n name: 'Rejet de prélèvement 1',\n isSpecial: 1,\n isOverdue: 1,\n },\n DIRECT_DEBIT_REJECTION_2: {\n id: 6,\n name: 'Rejet de prélèvement 2',\n isSpecial: 1,\n isOverdue: 1,\n },\n VARIOUS_UNPAID: {\n id: 7,\n name: 'Impayés divers',\n isSpecial: 1,\n isOverdue: 1,\n },\n STRIPE_ECB: {\n id: 8,\n name: 'Stripe (ECB)',\n isSpecial: 0,\n isOverdue: 0,\n },\n STRIPE_WI: {\n id: 9,\n name: 'Stripe (WI)',\n isSpecial: 0,\n isOverdue: 0,\n },\n CASH: {\n id: 10,\n name: 'Espèces',\n isSpecial: 0,\n isOverdue: 0,\n },\n};"],"sourceRoot":"","file":"PaymentMethod.js"}
|
|
@@ -3,11 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
const ProductType = exports.ProductType = {
|
|
7
|
+
PRODUCT: {
|
|
8
|
+
id: 1,
|
|
9
|
+
name: 'Produit'
|
|
10
|
+
},
|
|
11
|
+
SERVICE: {
|
|
12
|
+
id: 2,
|
|
13
|
+
name: 'Service'
|
|
14
|
+
},
|
|
15
|
+
GOODS: {
|
|
16
|
+
id: 3,
|
|
17
|
+
name: 'Marchandise'
|
|
18
|
+
}
|
|
19
|
+
};
|
|
13
20
|
//# sourceMappingURL=ProductType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/types/Enum/ProductType.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/ProductType.ts"],"names":[],"mappings":";;;;;AAOO,MAAM,WAAW,WAAX,WAAW,GAAiB;AACvC,EAAA,OAAO,EAAE;AACP,IAAA,EAAE,EAAE,CADG;AAEP,IAAA,IAAI,EAAE;AAFC,GAD8B;AAKvC,EAAA,OAAO,EAAE;AACP,IAAA,EAAE,EAAE,CADG;AAEP,IAAA,IAAI,EAAE;AAFC,GAL8B;AASvC,EAAA,KAAK,EAAE;AACL,IAAA,EAAE,EAAE,CADC;AAEL,IAAA,IAAI,EAAE;AAFD;AATgC,CAAlC","sourcesContent":["export interface IProductType {\n [key: string]: {\n id: number,\n name: string,\n }\n}\n\nexport const ProductType: IProductType = {\n PRODUCT: {\n id: 1,\n name: 'Produit',\n },\n SERVICE: {\n id: 2,\n name: 'Service',\n },\n GOODS: {\n id: 3,\n name: 'Marchandise',\n },\n};\n"],"sourceRoot":"","file":"ProductType.js"}
|
package/js/types/Enum/Vat.js
CHANGED
|
@@ -13,7 +13,8 @@ const Vat = exports.Vat = {
|
|
|
13
13
|
name: 'Hors-Taxe',
|
|
14
14
|
collected: 212,
|
|
15
15
|
deductible: 221,
|
|
16
|
-
immobilization: 19
|
|
16
|
+
immobilization: 19,
|
|
17
|
+
roundPercentage: [0]
|
|
17
18
|
},
|
|
18
19
|
TX_5_5: {
|
|
19
20
|
id: 2,
|
|
@@ -24,7 +25,8 @@ const Vat = exports.Vat = {
|
|
|
24
25
|
name: 'TVA 5.5%',
|
|
25
26
|
collected: 209,
|
|
26
27
|
deductible: 4,
|
|
27
|
-
immobilization: 10
|
|
28
|
+
immobilization: 10,
|
|
29
|
+
roundPercentage: [5, 6]
|
|
28
30
|
},
|
|
29
31
|
TX_10: {
|
|
30
32
|
id: 3,
|
|
@@ -35,7 +37,8 @@ const Vat = exports.Vat = {
|
|
|
35
37
|
name: 'TVA 10%',
|
|
36
38
|
collected: 210,
|
|
37
39
|
deductible: 5,
|
|
38
|
-
immobilization: 11
|
|
40
|
+
immobilization: 11,
|
|
41
|
+
roundPercentage: [10, 11]
|
|
39
42
|
},
|
|
40
43
|
TX_20: {
|
|
41
44
|
id: 4,
|
|
@@ -46,7 +49,8 @@ const Vat = exports.Vat = {
|
|
|
46
49
|
name: 'TVA 20%',
|
|
47
50
|
collected: 211,
|
|
48
51
|
deductible: 6,
|
|
49
|
-
immobilization: 12
|
|
52
|
+
immobilization: 12,
|
|
53
|
+
roundPercentage: [19, 20, 21]
|
|
50
54
|
},
|
|
51
55
|
TX_2_1: {
|
|
52
56
|
id: 6,
|
|
@@ -57,7 +61,8 @@ const Vat = exports.Vat = {
|
|
|
57
61
|
name: 'TVA 2.1%',
|
|
58
62
|
collected: 222,
|
|
59
63
|
deductible: 7,
|
|
60
|
-
immobilization: 13
|
|
64
|
+
immobilization: 13,
|
|
65
|
+
roundPercentage: [2, 3]
|
|
61
66
|
},
|
|
62
67
|
TX_8_5: {
|
|
63
68
|
id: 7,
|
|
@@ -68,7 +73,8 @@ const Vat = exports.Vat = {
|
|
|
68
73
|
name: 'TVA 8.5%',
|
|
69
74
|
collected: 345,
|
|
70
75
|
deductible: 8,
|
|
71
|
-
immobilization: 15
|
|
76
|
+
immobilization: 15,
|
|
77
|
+
roundPercentage: [8, 9]
|
|
72
78
|
},
|
|
73
79
|
MARGE: {
|
|
74
80
|
id: 8,
|
|
@@ -79,7 +85,8 @@ const Vat = exports.Vat = {
|
|
|
79
85
|
name: 'Sur Marge',
|
|
80
86
|
collected: 211,
|
|
81
87
|
deductible: 9,
|
|
82
|
-
immobilization: null
|
|
88
|
+
immobilization: null,
|
|
89
|
+
roundPercentage: []
|
|
83
90
|
},
|
|
84
91
|
INTRACOM: {
|
|
85
92
|
id: 9,
|
|
@@ -90,7 +97,8 @@ const Vat = exports.Vat = {
|
|
|
90
97
|
name: 'TVA intracom',
|
|
91
98
|
collected: 207,
|
|
92
99
|
deductible: 208,
|
|
93
|
-
immobilization: 208
|
|
100
|
+
immobilization: 208,
|
|
101
|
+
roundPercentage: []
|
|
94
102
|
},
|
|
95
103
|
MANUAL: {
|
|
96
104
|
id: 11,
|
|
@@ -101,7 +109,8 @@ const Vat = exports.Vat = {
|
|
|
101
109
|
name: 'TVA manuelle',
|
|
102
110
|
collected: 0,
|
|
103
111
|
deductible: 0,
|
|
104
|
-
immobilization: null
|
|
112
|
+
immobilization: null,
|
|
113
|
+
roundPercentage: []
|
|
105
114
|
}
|
|
106
115
|
};
|
|
107
116
|
//# sourceMappingURL=Vat.js.map
|
package/js/types/Enum/Vat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/types/Enum/Vat.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,GAAG,WAAH,GAAG,GAAG;AACjB,EAAA,YAAY,EAAE;AACZ,IAAA,EAAE,EAAE,CADQ;AAEZ;AACA,IAAA,KAAK,EAAE,CAHK;AAIZ,IAAA,KAAK,EAAE,CAJK;AAKZ,IAAA,YAAY,EAAE,CALF;AAMZ,IAAA,IAAI,EAAE,WANM;AAOZ,IAAA,SAAS,EAAE,GAPC;AAQZ,IAAA,UAAU,EAAE,GARA;AASZ,IAAA,cAAc,EAAE;
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/Vat.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,GAAG,WAAH,GAAG,GAAG;AACjB,EAAA,YAAY,EAAE;AACZ,IAAA,EAAE,EAAE,CADQ;AAEZ;AACA,IAAA,KAAK,EAAE,CAHK;AAIZ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jB,EAAA,MAAM,EAAE;AACN,IAAA,EAAE,EAAE,EADE;AAEN;AACA,IAAA,KAAK,EAAE,EAHD;AAIN,IAAA,KAAK,EAAE,CAJD;AAKN,IAAA,YAAY,EAAE,CALR;AAMN,IAAA,IAAI,EAAE,cANA;AAON,IAAA,SAAS,EAAE,CAPL;AAQN,IAAA,UAAU,EAAE,CARN;AASN,IAAA,cAAc,EAAE,IATV;AAUN,IAAA,eAAe,EAAE;AAVX;AAjGS,CAAZ","sourcesContent":["export const Vat = {\n WITHOUT_TAXE: {\n id: 1,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 1,\n value: 0,\n displayOrder: 6,\n name: 'Hors-Taxe',\n collected: 212,\n deductible: 221,\n immobilization: 19,\n roundPercentage: [0],\n },\n TX_5_5: {\n id: 2,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 2,\n value: 5.5,\n displayOrder: 4,\n name: 'TVA 5.5%',\n collected: 209,\n deductible: 4,\n immobilization: 10,\n roundPercentage: [5, 6],\n },\n TX_10: {\n id: 3,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 3,\n value: 10,\n displayOrder: 2,\n name: 'TVA 10%',\n collected: 210,\n deductible: 5,\n immobilization: 11,\n roundPercentage: [10, 11],\n },\n TX_20: {\n id: 4,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 4,\n value: 20,\n displayOrder: 1,\n name: 'TVA 20%',\n collected: 211,\n deductible: 6,\n immobilization: 12,\n roundPercentage: [19, 20, 21],\n },\n TX_2_1: {\n id: 6,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 6,\n value: 2.1,\n displayOrder: 5,\n name: 'TVA 2.1%',\n collected: 222,\n deductible: 7,\n immobilization: 13,\n roundPercentage: [2, 3],\n },\n TX_8_5: {\n id: 7,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 7,\n value: 8.5,\n displayOrder: 3,\n name: 'TVA 8.5%',\n collected: 345,\n deductible: 8,\n immobilization: 15,\n roundPercentage: [8, 9],\n },\n MARGE: {\n id: 8,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 8,\n value: 0,\n displayOrder: 9,\n name: 'Sur Marge',\n collected: 211,\n deductible: 9,\n immobilization: null,\n roundPercentage: [],\n },\n INTRACOM: {\n id: 9,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 9,\n value: 20,\n displayOrder: 7,\n name: 'TVA intracom',\n collected: 207,\n deductible: 208,\n immobilization: 208,\n roundPercentage: [],\n },\n MANUAL: {\n id: 11,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 11,\n value: 0,\n displayOrder: 8,\n name: 'TVA manuelle',\n collected: 0,\n deductible: 0,\n immobilization: null,\n roundPercentage: [],\n },\n};"],"sourceRoot":"","file":"Vat.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"Ocr.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"OcrPayload.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"OcrValue.js"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryAccountingFiles = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class QueryAccountingFiles {}
|
|
25
|
+
|
|
26
|
+
exports.QueryAccountingFiles = QueryAccountingFiles;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], QueryAccountingFiles.prototype, "idAccountingType", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryAccountingFiles.prototype, "split", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryAccountingFiles.prototype, "isPayPerso", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Array)], QueryAccountingFiles.prototype, "files", void 0);
|
|
35
|
+
//# sourceMappingURL=queryAccountingFiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,oBAAP,CAA2B;;QAApB,oB,GAAA,oB;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,8BAAA,E,kBAAA,E,KAAyB,CAAzB,CAAA;;AAIA,UAAA,CAAA,CAFC,yBAED,EADC,yBACD,E,kCAAA,CAAA,E,8BAAA,E,OAAA,E,KAAe,CAAf,CAAA;;AAIA,UAAA,CAAA,CAFC,yBAED,EADC,yBACD,E,kCAAA,CAAA,E,8BAAA,E,YAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,gCAAA,CAAA,E,8BAAA,E,OAAA,E,KAAc,CAAd,CAAA","sourcesContent":["import { ApiProperty } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\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 files: File[];\n}"],"sourceRoot":"","file":"queryAccountingFiles.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.ts"],"names":[],"mappings":";;;;;;AAAM,MAAO,2BAAP,CAAkC;;QAA3B,2B,GAAA,2B","sourcesContent":["export class ReadBalanceSheetTransaction {\n idAccountingTransaction: number;\n label: string;\n date: Date;\n totalPriceTaxIncluded: number;\n}"],"sourceRoot":"","file":"ReadBalanceSheetTransaction.js"}
|
|
@@ -49,5 +49,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(),
|
|
|
49
49
|
|
|
50
50
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateBalanceSheetModuleForm.prototype, "hasLaundryFees", void 0);
|
|
51
51
|
|
|
52
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateBalanceSheetModuleForm.prototype, "hasMealExpenses", void 0);
|
|
53
|
+
|
|
52
54
|
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateBalanceSheetModuleForm.prototype, "idExercice", void 0);
|
|
53
55
|
//# sourceMappingURL=CreateBalanceSheetModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,4BAAP,CAAmC;;QAA5B,4B,GAAA,4B;;AAEX,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,WAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,eAAA,E,KAAwB,CAAxB,CAAA;;AAMA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,cAAA,E,KAAuB,CAAvB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,+BAAA,E,KAA+C,CAA/C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,6BAAA,E,KAA6C,CAA7C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,0BAAA,E,KAA0C,CAA1C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,4BAAA,E,KAA4C,CAA5C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,4BAAA,E,KAA4C,CAA5C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,+BAAA,E,KAA+C,CAA/C,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,yBAAA,E,KAAyC,CAAzC,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,gBAAA,E,KAAgC,CAAhC,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sCAAA,E,YAAA,E,KAAmB,CAAnB,CAAA","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory?: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare?: boolean;\n\n // @ApiPropertyOptional()\n // deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n salariesFile?: boolean;\n\n @ApiPropertyOptional()\n hasCustomerInvoiceToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerAssetToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerPrepaidIncome?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderPrepaidReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderAssetToReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderInvoiceNotReceived?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasManualEntryToDeclare?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasLaundryFees?: boolean | null;\n\n @ApiProperty()\n idExercice: number;\n}"],"sourceRoot":"","file":"CreateBalanceSheetModule.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,4BAAP,CAAmC;;QAA5B,4B,GAAA,4B;;AAEX,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,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-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory?: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare?: boolean;\n\n // @ApiPropertyOptional()\n // deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n salariesFile?: boolean;\n\n @ApiPropertyOptional()\n hasCustomerInvoiceToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerAssetToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerPrepaidIncome?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderPrepaidReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderAssetToReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderInvoiceNotReceived?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasManualEntryToDeclare?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasLaundryFees?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasMealExpenses?: boolean | null;\n\n @ApiProperty()\n idExercice: number;\n}"],"sourceRoot":"","file":"CreateBalanceSheetModule.js"}
|
|
@@ -49,5 +49,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(),
|
|
|
49
49
|
|
|
50
50
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateBalanceSheetModuleForm.prototype, "hasLaundryFees", void 0);
|
|
51
51
|
|
|
52
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateBalanceSheetModuleForm.prototype, "hasMealExpenses", void 0);
|
|
53
|
+
|
|
52
54
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], UpdateBalanceSheetModuleForm.prototype, "idExercice", void 0);
|
|
53
55
|
//# sourceMappingURL=UpdateBalanceSheetModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,4BAAP,CAAmC;;QAA5B,4B,GAAA,4B;;AAEX,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,WAAA,E,KAAmB,CAAnB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,eAAA,E,KAAwB,CAAxB,CAAA;;AAMA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,+BAAA,E,KAA+C,CAA/C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,6BAAA,E,KAA6C,CAA7C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,0BAAA,E,KAA0C,CAA1C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,4BAAA,E,KAA4C,CAA5C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,4BAAA,E,KAA4C,CAA5C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,+BAAA,E,KAA+C,CAA/C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,cAAA,E,KAAuB,CAAvB,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,yBAAA,E,KAAyC,CAAzC,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,gBAAA,E,KAAgC,CAAhC,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,YAAA,E,KAAoB,CAApB,CAAA","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare?: boolean;\n\n // @ApiPropertyOptional()\n // deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n hasCustomerInvoiceToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerAssetToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerPrepaidIncome?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderPrepaidReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderAssetToReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderInvoiceNotReceived?: boolean | null;\n\n @ApiPropertyOptional()\n salariesFile?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasManualEntryToDeclare?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasLaundryFees?: boolean | null;\n\n @ApiPropertyOptional()\n idExercice?: number;\n}"],"sourceRoot":"","file":"UpdateBalanceSheetModule.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,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D,E,iCAAA,CAAA,E,sCAAA,E,YAAA,E,KAAoB,CAApB,CAAA","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare?: boolean;\n\n // @ApiPropertyOptional()\n // deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n hasCustomerInvoiceToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerAssetToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerPrepaidIncome?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderPrepaidReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderAssetToReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderInvoiceNotReceived?: boolean | null;\n\n @ApiPropertyOptional()\n salariesFile?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasManualEntryToDeclare?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasLaundryFees?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasMealExpenses?: boolean | null;\n\n @ApiPropertyOptional()\n idExercice?: number;\n}"],"sourceRoot":"","file":"UpdateBalanceSheetModule.js"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateExercice = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _decorators = require("../../../../utils/decorators");
|
|
11
|
+
|
|
12
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
13
|
+
|
|
14
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length,
|
|
16
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
17
|
+
d;
|
|
18
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
|
|
19
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
23
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
class CreateExercice {}
|
|
27
|
+
|
|
28
|
+
exports.CreateExercice = CreateExercice;
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], CreateExercice.prototype, "startDate", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], CreateExercice.prototype, "endDate", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "isBack", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "close", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "allAnnote", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "current", void 0);
|
|
41
|
+
|
|
42
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "withApproval", void 0);
|
|
43
|
+
|
|
44
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "reviewGuide", void 0);
|
|
45
|
+
|
|
46
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "summaryNote", void 0);
|
|
47
|
+
|
|
48
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "receiptJeDeclare", void 0);
|
|
49
|
+
|
|
50
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "annualFolderEdition", void 0);
|
|
51
|
+
|
|
52
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "processClossingExercice", void 0);
|
|
53
|
+
|
|
54
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateExercice.prototype, "idSociety", void 0);
|
|
55
|
+
//# sourceMappingURL=CreateExercice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/exercice/CreateExercice.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,cAAP,CAAqB;;QAAd,c,GAAA,c;;AAGX,UAAA,CAAA,CAFC,8BAED,EADC,6BACD,E,0BAAW,I,CAAX,CAAA,E,wBAAA,E,WAAA,E,KAAgB,CAAhB,CAAA;;AAIA,UAAA,CAAA,CAFC,8BAED,EADC,6BACD,E,0BAAS,I,CAAT,CAAA,E,wBAAA,E,SAAA,E,KAAc,CAAd,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,QAAA,E,KAAiB,CAAjB,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,OAAA,E,KAAgB,CAAhB,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,WAAA,E,KAAoB,CAApB,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,SAAA,E,KAAkB,CAAlB,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,cAAA,E,KAAuB,CAAvB,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,aAAA,E,KAAsB,CAAtB,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,aAAA,E,KAAsB,CAAtB,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,kBAAA,E,KAA2B,CAA3B,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,qBAAA,E,KAA8B,CAA9B,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,wBAAA,E,yBAAA,E,KAAkC,CAAlC,CAAA;;AAKA,UAAA,CAAA,CAHC,sCAGD,EAFC,+BAED,EADC,iCACD,E,iCAAA,CAAA,E,wBAAA,E,WAAA,E,KAAkB,CAAlB,CAAA","sourcesContent":["import {\n IsBoolean, IsDate, IsNumber, IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateExercice {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isBack?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n close?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n allAnnote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n current?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withApproval?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n reviewGuide?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n summaryNote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n receiptJeDeclare?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n annualFolderEdition?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n processClossingExercice?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}"],"sourceRoot":"","file":"CreateExercice.js"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryExercice = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _decorators = require("../../../../utils/decorators");
|
|
11
|
+
|
|
12
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
13
|
+
|
|
14
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length,
|
|
16
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
17
|
+
d;
|
|
18
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
|
|
19
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
23
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
class QueryExercice {}
|
|
27
|
+
|
|
28
|
+
exports.QueryExercice = QueryExercice;
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], QueryExercice.prototype, "id", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsDate)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Date)], QueryExercice.prototype, "startDate", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsDate)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Date)], QueryExercice.prototype, "endDate", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryExercice.prototype, "isBack", void 0);
|
|
37
|
+
//# sourceMappingURL=QueryExercice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/exercice/QueryExercice.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,aAAP,CAAoB;;QAAb,a,GAAA,a;;AAGX,UAAA,CAAA,CAFC,sCAED,EADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,IAAA,E,KAAuB,CAAvB,CAAA;;AAKA,UAAA,CAAA,CAHC,sCAGD,EAFC,6BAED,EADC,iCACD,E,0BAAY,I,CAAZ,CAAA,E,uBAAA,E,WAAA,E,KAAiB,CAAjB,CAAA;;AAKA,UAAA,CAAA,CAHC,sCAGD,EAFC,6BAED,EADC,iCACD,E,0BAAU,I,CAAV,CAAA,E,uBAAA,E,SAAA,E,KAAe,CAAf,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,uBAAA,E,QAAA,E,KAAiB,CAAjB,CAAA","sourcesContent":["import { IsBoolean, IsDate, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryExercice {\n @ApiPropertyOptional()\n @IsOptional()\n id?: number | number[];\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isBack?: boolean;\n}"],"sourceRoot":"","file":"QueryExercice.js"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateInternalInvoicing = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length,
|
|
12
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
13
|
+
d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
|
|
15
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
class CreateInternalInvoicing {}
|
|
23
|
+
|
|
24
|
+
exports.CreateInternalInvoicing = CreateInternalInvoicing;
|
|
25
|
+
|
|
26
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateInternalInvoicing.prototype, "month", void 0);
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateInternalInvoicing.prototype, "year", void 0);
|
|
29
|
+
//# sourceMappingURL=CreateInternalInvoicing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,uBAAP,CAA8B;;QAAvB,uB,GAAA,uB;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,iCAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,iCAAA,E,MAAA,E,KAAa,CAAb,CAAA","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class CreateInternalInvoicing {\n @ApiProperty()\n month: number;\n\n @ApiProperty()\n year: number;\n}\n"],"sourceRoot":"","file":"CreateInternalInvoicing.js"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
class JournalDebitCredit {}
|
|
8
|
+
|
|
9
|
+
exports.JournalDebitCredit = JournalDebitCredit;
|
|
10
|
+
|
|
11
|
+
class PeriodDatum extends JournalDebitCredit {}
|
|
12
|
+
|
|
13
|
+
exports.PeriodDatum = PeriodDatum;
|
|
14
|
+
|
|
15
|
+
class IPeriodsCentralisation {}
|
|
16
|
+
|
|
17
|
+
exports.IPeriodsCentralisation = IPeriodsCentralisation;
|
|
18
|
+
|
|
19
|
+
class IPeriods {}
|
|
20
|
+
|
|
21
|
+
exports.IPeriods = IPeriods;
|
|
22
|
+
|
|
23
|
+
class Journals {}
|
|
24
|
+
|
|
25
|
+
exports.Journals = Journals;
|
|
26
|
+
|
|
27
|
+
class JsonExportJournal {}
|
|
28
|
+
|
|
29
|
+
exports.JsonExportJournal = JsonExportJournal;
|
|
30
|
+
//# sourceMappingURL=Journals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/journal/Journals.ts"],"names":[],"mappings":";;;;;;AAAM,MAAO,kBAAP,CAAyB;;QAAlB,kB,GAAA,kB;;AAKP,MAAO,WAAP,SAA2B,kBAA3B,CAA6C;;QAAtC,W,GAAA,W;;AASP,MAAO,sBAAP,CAA6B;;QAAtB,sB,GAAA,sB;;AAOP,MAAO,QAAP,CAAe;;QAAR,Q,GAAA,Q;;AAWP,MAAO,QAAP,CAAe;;QAAR,Q,GAAA,Q;;AAUP,MAAO,iBAAP,CAAwB;;QAAjB,iB,GAAA,iB","sourcesContent":["export class JournalDebitCredit {\n debit?: number;\n credit?: number;\n}\n\nexport class PeriodDatum extends JournalDebitCredit {\n dateValue: string | Date;\n invoiceNumber: string;\n designation: string;\n account: number;\n accountName: string;\n master: boolean;\n}\n\nexport class IPeriodsCentralisation {\n [index: string]: {\n account: number;\n accountName: string;\n } & JournalDebitCredit;\n}\n\nexport class IPeriods {\n [index: string]: {\n monthYearPeriods: string;\n data?: PeriodDatum[];\n dataCentralisation?: IPeriodsCentralisation;\n total: {\n accumulated: JournalDebitCredit;\n month: JournalDebitCredit;\n };\n };\n}\nexport class Journals {\n [index: string]: {\n idJournal: number;\n // eslint-disable-next-line no-restricted-globals\n name: string;\n fullName: string;\n periods?: IPeriods;\n };\n}\n\nexport class JsonExportJournal {\n idSociety: number;\n startDate: string;\n endDate: string;\n data: Journals;\n}\n"],"sourceRoot":"","file":"Journals.js"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryJournal = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var _formattedDateString = require("../../../../utils/validators/formattedDateString.validator");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class QueryJournal {}
|
|
25
|
+
|
|
26
|
+
exports.QueryJournal = QueryJournal;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _formattedDateString.IsFormattedDateString)(), __metadata("design:type", String)], QueryJournal.prototype, "startDate", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _formattedDateString.IsFormattedDateString)(), __metadata("design:type", String)], QueryJournal.prototype, "endDate", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Array)], QueryJournal.prototype, "accountingJournalIds", void 0);
|
|
33
|
+
//# sourceMappingURL=QueryJournal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/journal/QueryJournal.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAGX,UAAA,CAAA,CAFC,yBAED,EADC,iDACD,E,iCAAA,CAAA,E,sBAAA,E,WAAA,E,KAAkB,CAAlB,CAAA;;AAIA,UAAA,CAAA,CAFC,yBAED,EADC,iDACD,E,iCAAA,CAAA,E,sBAAA,E,SAAA,E,KAAgB,CAAhB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,gCAAA,CAAA,E,sBAAA,E,sBAAA,E,KAAgC,CAAhC,CAAA","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\n\nexport class QueryJournal {\n @ApiProperty()\n @IsFormattedDateString()\n startDate: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n accountingJournalIds?: number[];\n}\n"],"sourceRoot":"","file":"QueryJournal.js"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateMealExpense = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _ = require("../../../..");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class CreateMealExpense {}
|
|
25
|
+
|
|
26
|
+
exports.CreateMealExpense = CreateMealExpense;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _.ApiProperty)(), (0, _classValidator.ArrayUnique)(), (0, _classValidator.IsInt)({
|
|
29
|
+
each: true
|
|
30
|
+
}), (0, _classValidator.IsPositive)({
|
|
31
|
+
each: true
|
|
32
|
+
}), __metadata("design:type", Array)], CreateMealExpense.prototype, "transactionIds", void 0);
|
|
33
|
+
//# sourceMappingURL=CreateMealExpense.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/mealExpense/CreateMealExpense.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAO,iBAAP,CAAwB;;QAAjB,iB,GAAA,iB;;AASX,UAAA,CAAA,CARC,oBAQD,EAPC,kCAOD,EANC,2BAAM;AACL,EAAA,IAAI,EAAE;AADD,CAAN,CAMD,EAHC,gCAAW;AACV,EAAA,IAAI,EAAE;AADI,CAAX,CAGD,E,0BAAgB,K,CAAhB,CAAA,E,2BAAA,E,gBAAA,E,KAA8B,CAA9B,CAAA","sourcesContent":["import {\n ArrayUnique, IsInt, IsPositive,\n} from 'class-validator';\nimport { ApiProperty } from '../../../..';\n\nexport class CreateMealExpense {\n @ApiProperty()\n @ArrayUnique()\n @IsInt({\n each: true,\n })\n @IsPositive({\n each: true,\n })\n transactionIds: Array<number>;\n}"],"sourceRoot":"","file":"CreateMealExpense.js"}
|