@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 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/mealExpense/ReadMealExpense.ts"],"names":[],"mappings":";;;;;;AAEM,MAAO,eAAP,CAAsB;;QAAf,e,GAAA,e","sourcesContent":["import { IAccountingTransaction } from '../../..';\n\nexport class ReadMealExpense {\n transactionNumber: number;\n totalPrice: number;\n deductiblePrice: number;\n transactions: Array<IAccountingTransaction>;\n}"],"sourceRoot":"","file":"ReadMealExpense.js"}
|
|
@@ -43,7 +43,7 @@ __decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsNumber)(), (0, _objectI
|
|
|
43
43
|
|
|
44
44
|
__decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsNumber)(), (0, _objectId.IsObjectId)(_.Unit), __metadata("design:type", Number)], CreateProduct.prototype, "unit", void 0);
|
|
45
45
|
|
|
46
|
-
__decorate([(0, _2.ApiProperty)(), (0, _classValidator.
|
|
46
|
+
__decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsNumber)(), (0, _objectId.IsObjectId)(_.ProductType), __metadata("design:type", Number)], CreateProduct.prototype, "type", void 0);
|
|
47
47
|
|
|
48
48
|
__decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateProduct.prototype, "comment", void 0);
|
|
49
49
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,aAAP,CAAoB;;QAAb,a,GAAA,a;;AAGX,UAAA,CAAA,CAFC,qBAED,EADC,+BACD,E,iCAAA,CAAA,E,uBAAA,E,MAAA,E,KAAa,CAAb,CAAA;;AAWA,UAAA,CAAA,CATC,qBASD,EARC,8BAAS;AACR,EAAA,gBAAgB,EAAE;AADV,CAAT,EAEE;AACD,EAAA,OAAO,EAAE;AADR,CAFF,CAQD,EAHC,yBAAI,CAAJ,EAAO;AACN,EAAA,OAAO,EAAE;AADH,CAAP,CAGD,E,iCAAA,CAAA,E,uBAAA,E,kBAAA,E,KAAyB,CAAzB,CAAA;;AAKA,UAAA,CAAA,CAHC,qBAGD,EAFC,+BAED,EADC,0BAAW,KAAX,CACD,E,iCAAA,CAAA,E,uBAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAKA,UAAA,CAAA,CAHC,qBAGD,EAFC,+BAED,EADC,0BAAW,MAAX,CACD,E,iCAAA,CAAA,E,uBAAA,E,MAAA,E,KAAa,CAAb,CAAA;;AAKA,UAAA,CAAA,CAHC,qBAGD,EAFC,+BAED,EADC,0BAAW,aAAX,CACD,E,iCAAA,CAAA,E,uBAAA,E,MAAA,E,KAAa,CAAb,CAAA;;AAKA,UAAA,CAAA,CAHC,6BAGD,EAFC,+BAED,EADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,SAAA,E,KAAiB,CAAjB,CAAA;;AAKA,UAAA,CAAA,CAHC,6BAGD,EAFC,+BAED,EADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,aAAA,E,KAAqB,CAArB,CAAA","sourcesContent":["import {\n IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ProductType, Unit, Vat } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { IsObjectId } from '../../../../utils/validators/objectId.validator';\n\nexport class CreateProduct {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsNumber({\n maxDecimalPlaces: 6,\n }, {\n message: 'Price should be a number with maximum 6 decimal',\n })\n @Min(0, {\n message: 'Price should be positive',\n })\n priceTaxExcluded: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(Vat)\n idVAT: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(Unit)\n unit: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(ProductType)\n type: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n codeProduct?: string;\n}\n"],"sourceRoot":"","file":"CreateProduct.js"}
|
|
@@ -11,6 +11,8 @@ var _ = require("../../..");
|
|
|
11
11
|
|
|
12
12
|
var _2 = require("../../../..");
|
|
13
13
|
|
|
14
|
+
var _objectId = require("../../../../utils/validators/objectId.validator");
|
|
15
|
+
|
|
14
16
|
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15
17
|
var c = arguments.length,
|
|
16
18
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -29,5 +31,5 @@ exports.QueryProduct = QueryProduct;
|
|
|
29
31
|
|
|
30
32
|
__decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryProduct.prototype, "search", void 0);
|
|
31
33
|
|
|
32
|
-
__decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.
|
|
34
|
+
__decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), (0, _objectId.IsObjectId)(_.ProductType), __metadata("design:type", Number)], QueryProduct.prototype, "type", void 0);
|
|
33
35
|
//# sourceMappingURL=QueryProduct.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAIX,UAAA,CAAA,CAHC,6BAGD,EAFC,iCAED,EADC,+BACD,E,iCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAgB,CAAhB,CAAA;;
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAIX,UAAA,CAAA,CAHC,6BAGD,EAFC,iCAED,EADC,+BACD,E,iCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAgB,CAAhB,CAAA;;AAMA,UAAA,CAAA,CAJC,6BAID,EAHC,iCAGD,EAFC,+BAED,EADC,0BAAW,aAAX,CACD,E,iCAAA,CAAA,E,sBAAA,E,MAAA,E,KAAc,CAAd,CAAA","sourcesContent":["import {\n IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ProductType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\nimport { IsObjectId } from '../../../../utils/validators/objectId.validator';\n\nexport class QueryProduct {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @IsObjectId(ProductType)\n type?: number;\n}"],"sourceRoot":"","file":"QueryProduct.js"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateRegistration = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var _CerfaType = require("../../../Enum/CerfaType");
|
|
13
|
+
|
|
14
|
+
var _CreateCerfa = require("../cerfa/CreateCerfa");
|
|
15
|
+
|
|
16
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17
|
+
var c = arguments.length,
|
|
18
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
19
|
+
d;
|
|
20
|
+
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;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
25
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
class CreateRegistration {}
|
|
29
|
+
|
|
30
|
+
exports.CreateRegistration = CreateRegistration;
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", _CreateCerfa.ParamsGenerate2035)], CreateRegistration.prototype, "payload", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsEnum)(_CerfaType.CerfaType), __metadata("design:type", Number)], CreateRegistration.prototype, "idCerfaType", void 0);
|
|
35
|
+
//# sourceMappingURL=CreateRegistration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,kBAAP,CAAyB;;QAAlB,kB,GAAA,kB;;AAEX,UAAA,CAAA,CADC,yBACD,E,0BAAS,+B,CAAT,CAAA,E,4BAAA,E,SAAA,E,KAA4B,CAA5B,CAAA;;AAIA,UAAA,CAAA,CAFC,yBAED,EADC,4BAAO,oBAAP,CACD,E,iCAAA,CAAA,E,4BAAA,E,aAAA,E,KAAoB,CAApB,CAAA","sourcesContent":["import { IsEnum } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ParamsGenerate2035 } from '../cerfa/CreateCerfa';\n\nexport class CreateRegistration {\n @ApiProperty()\n payload: ParamsGenerate2035;\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n}"],"sourceRoot":"","file":"CreateRegistration.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"ReadRegistration.js"}
|
|
@@ -129,6 +129,8 @@ var Code = exports.Code = undefined;
|
|
|
129
129
|
Code["fetchBankAccountFailed"] = "fetch_bank_account_failed";
|
|
130
130
|
Code["fetchTransactionsFailed"] = "fetch_transactions_failed";
|
|
131
131
|
Code["fetchNewTokenFailed"] = "fetch_new_token_failed";
|
|
132
|
-
Code["udpateTokenFailed"] = "update_token_failed";
|
|
132
|
+
Code["udpateTokenFailed"] = "update_token_failed"; // Accounts
|
|
133
|
+
|
|
134
|
+
Code["GENERIC_ACCOUNT_NOT_FOUND"] = "GENERIC_ACCOUNT_NOT_FOUND";
|
|
133
135
|
})(Code || (exports.Code = Code = {}));
|
|
134
136
|
//# sourceMappingURL=IApiError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,SAIX,WAJW,SAIX,YAJD;;AAAA,CAAA,UAAY,SAAZ,EAAqB;AACnB,EAAA,SAAA,CAAA,UAAA,CAAA,GAAA,WAAA;AACA,EAAA,SAAA,CAAA,WAAA,CAAA,GAAA,sBAAA;AACA,EAAA,SAAA,CAAA,eAAA,CAAA,GAAA,WAAA;AACD,CAJD,EAAY,SAAS,aAAT,SAAS,GAAT,SAAS,GAAA,EAAA,CAArB;;AAMA,IAAY,IAoIX,WApIW,IAoIX,YApID;;AAAA,CAAA,UAAY,IAAZ,EAAgB;AACd;AACA,EAAA,IAAA,CAAA,cAAA,CAAA,GAAA,8BAAA;AACA,EAAA,IAAA,CAAA,uBAAA,CAAA,GAAA,oCAAA;AACA,EAAA,IAAA,CAAA,UAAA,CAAA,GAAA,oBAAA;AACA,EAAA,IAAA,CAAA,iBAAA,CAAA,GAAA,2BAAA;AACA,EAAA,IAAA,CAAA,iBAAA,CAAA,GAAA,2BAAA;AACA,EAAA,IAAA,CAAA,YAAA,CAAA,GAAA,cAAA;AACA,EAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,uBAAA;AACA,EAAA,IAAA,CAAA,oBAAA,CAAA,GAAA,mBAAA;AACA,EAAA,IAAA,CAAA,oBAAA,CAAA,GAAA,qBAAA;AACA,EAAA,IAAA,CAAA,gBAAA,CAAA,GAAA,iBAAA,CAXc,CAad;;AACA,EAAA,IAAA,CAAA,oBAAA,CAAA,GAAA,sBAAA;AACA,EAAA,IAAA,CAAA,iCAAA,CAAA,GAAA,wCAAA;AACA,EAAA,IAAA,CAAA,+BAAA,CAAA,GAAA,sCAAA;AACA,EAAA,IAAA,CAAA,yDAAA,CAAA,GAAA,sEAAA;AACA,EAAA,IAAA,CAAA,mBAAA,CAA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c,CA4Gd;;AACA,EAAA,IAAA,CAAA,kBAAA,CAAA,GAAA,oBAAA;AACA,EAAA,IAAA,CAAA,aAAA,CAAA,GAAA,aAAA,CA9Gc,CAgHd;;AACA,EAAA,IAAA,CAAA,gCAAA,CAAA,GAAA,oCAAA;AACA,EAAA,IAAA,CAAA,oCAAA,CAAA,GAAA,wCAAA;AACA,EAAA,IAAA,CAAA,4BAAA,CAAA,GAAA,+BAAA;AACA,EAAA,IAAA,CAAA,4BAAA,CAAA,GAAA,+BAAA;AACA,EAAA,IAAA,CAAA,iBAAA,CAAA,GAAA,mBAAA;AAEA,EAAA,IAAA,CAAA,gBAAA,CAAA,GAAA,kBAAA,CAvHc,CAyHd;;AACA,EAAA,IAAA,CAAA,gBAAA,CAAA,GAAA,kBAAA,CA1Hc,CA4Hd;;AACA,EAAA,IAAA,CAAA,8BAAA,CAAA,GAAA,oCAAA;AACA,EAAA,IAAA,CAAA,uBAAA,CAAA,GAAA,yBAAA;AACA,EAAA,IAAA,CAAA,wBAAA,CAAA,GAAA,2BAAA;AACA,EAAA,IAAA,CAAA,yBAAA,CAAA,GAAA,2BAAA;AACA,EAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,wBAAA;AACA,EAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,qBAAA;AAED,CApID,EAAY,IAAI,aAAJ,IAAI,GAAJ,IAAI,GAAA,EAAA,CAAhB","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n udpateTokenFailed = 'update_token_failed',\n\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"],"sourceRoot":"","file":"IApiError.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,SAIX,WAJW,SAIX,YAJD;;AAAA,CAAA,UAAY,SAAZ,EAAqB;AACnB,EAAA,SAAA,CAAA,UAAA,CAAA,GAAA,WAAA;AACA,EAAA,SAAA,CAAA,WAAA,CAAA,GAAA,sBAAA;AACA,EAAA,SAAA,CAAA,eAAA,CAAA,GAAA,WAAA;AACD,CAJD,EAAY,SAAS,aAAT,SAAS,GAAT,SAAS,GAAA,EAAA,CAArB;;AAMA,IAAY,IAsIX,WAtIW,IAsIX,YAtID;;AAAA,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AAA,GAAA,kBAAA,CA1Hc,CA4Hd;;AACA,EAAA,IAAA,CAAA,8BAAA,CAAA,GAAA,oCAAA;AACA,EAAA,IAAA,CAAA,uBAAA,CAAA,GAAA,yBAAA;AACA,EAAA,IAAA,CAAA,wBAAA,CAAA,GAAA,2BAAA;AACA,EAAA,IAAA,CAAA,yBAAA,CAAA,GAAA,2BAAA;AACA,EAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,wBAAA;AACA,EAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,qBAAA,CAlIc,CAoId;;AACA,EAAA,IAAA,CAAA,2BAAA,CAAA,GAAA,2BAAA;AACD,CAtID,EAAY,IAAI,aAAJ,IAAI,GAAJ,IAAI,GAAA,EAAA,CAAhB","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n udpateTokenFailed = 'update_token_failed',\n\n // Accounts\n GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"],"sourceRoot":"","file":"IApiError.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"IRegistration.js"}
|
package/js/types/index.js
CHANGED
|
@@ -3784,6 +3784,18 @@ Object.keys(_SurveyTypeDatas).forEach(function (key) {
|
|
|
3784
3784
|
});
|
|
3785
3785
|
});
|
|
3786
3786
|
|
|
3787
|
+
var _PaymentMethod = require("./Enum/PaymentMethod");
|
|
3788
|
+
|
|
3789
|
+
Object.keys(_PaymentMethod).forEach(function (key) {
|
|
3790
|
+
if (key === "default" || key === "__esModule") return;
|
|
3791
|
+
Object.defineProperty(exports, key, {
|
|
3792
|
+
enumerable: true,
|
|
3793
|
+
get: function () {
|
|
3794
|
+
return _PaymentMethod[key];
|
|
3795
|
+
}
|
|
3796
|
+
});
|
|
3797
|
+
});
|
|
3798
|
+
|
|
3787
3799
|
var _ReportType = require("./Enum/ReportType");
|
|
3788
3800
|
|
|
3789
3801
|
Object.keys(_ReportType).forEach(function (key) {
|
|
@@ -4372,6 +4384,30 @@ Object.keys(_Unit).forEach(function (key) {
|
|
|
4372
4384
|
});
|
|
4373
4385
|
});
|
|
4374
4386
|
|
|
4387
|
+
var _MealExpenseTresholds = require("./Enum/MealExpenseTresholds");
|
|
4388
|
+
|
|
4389
|
+
Object.keys(_MealExpenseTresholds).forEach(function (key) {
|
|
4390
|
+
if (key === "default" || key === "__esModule") return;
|
|
4391
|
+
Object.defineProperty(exports, key, {
|
|
4392
|
+
enumerable: true,
|
|
4393
|
+
get: function () {
|
|
4394
|
+
return _MealExpenseTresholds[key];
|
|
4395
|
+
}
|
|
4396
|
+
});
|
|
4397
|
+
});
|
|
4398
|
+
|
|
4399
|
+
var _MimeType = require("./Enum/MimeType");
|
|
4400
|
+
|
|
4401
|
+
Object.keys(_MimeType).forEach(function (key) {
|
|
4402
|
+
if (key === "default" || key === "__esModule") return;
|
|
4403
|
+
Object.defineProperty(exports, key, {
|
|
4404
|
+
enumerable: true,
|
|
4405
|
+
get: function () {
|
|
4406
|
+
return _MimeType[key];
|
|
4407
|
+
}
|
|
4408
|
+
});
|
|
4409
|
+
});
|
|
4410
|
+
|
|
4375
4411
|
var _ReadBusinessPartner = require("./Interface/api/businessPartner/ReadBusinessPartner");
|
|
4376
4412
|
|
|
4377
4413
|
Object.keys(_ReadBusinessPartner).forEach(function (key) {
|
|
@@ -4888,6 +4924,54 @@ Object.keys(_IGeneralLedgerAccountingEntry).forEach(function (key) {
|
|
|
4888
4924
|
});
|
|
4889
4925
|
});
|
|
4890
4926
|
|
|
4927
|
+
var _queryAccountingFiles = require("./Interface/api/accountingFiles/queryAccountingFiles");
|
|
4928
|
+
|
|
4929
|
+
Object.keys(_queryAccountingFiles).forEach(function (key) {
|
|
4930
|
+
if (key === "default" || key === "__esModule") return;
|
|
4931
|
+
Object.defineProperty(exports, key, {
|
|
4932
|
+
enumerable: true,
|
|
4933
|
+
get: function () {
|
|
4934
|
+
return _queryAccountingFiles[key];
|
|
4935
|
+
}
|
|
4936
|
+
});
|
|
4937
|
+
});
|
|
4938
|
+
|
|
4939
|
+
var _Ocr = require("./Interface/api/accountingFiles/Ocr");
|
|
4940
|
+
|
|
4941
|
+
Object.keys(_Ocr).forEach(function (key) {
|
|
4942
|
+
if (key === "default" || key === "__esModule") return;
|
|
4943
|
+
Object.defineProperty(exports, key, {
|
|
4944
|
+
enumerable: true,
|
|
4945
|
+
get: function () {
|
|
4946
|
+
return _Ocr[key];
|
|
4947
|
+
}
|
|
4948
|
+
});
|
|
4949
|
+
});
|
|
4950
|
+
|
|
4951
|
+
var _OcrPayload = require("./Interface/api/accountingFiles/OcrPayload");
|
|
4952
|
+
|
|
4953
|
+
Object.keys(_OcrPayload).forEach(function (key) {
|
|
4954
|
+
if (key === "default" || key === "__esModule") return;
|
|
4955
|
+
Object.defineProperty(exports, key, {
|
|
4956
|
+
enumerable: true,
|
|
4957
|
+
get: function () {
|
|
4958
|
+
return _OcrPayload[key];
|
|
4959
|
+
}
|
|
4960
|
+
});
|
|
4961
|
+
});
|
|
4962
|
+
|
|
4963
|
+
var _OcrValue = require("./Interface/api/accountingFiles/OcrValue");
|
|
4964
|
+
|
|
4965
|
+
Object.keys(_OcrValue).forEach(function (key) {
|
|
4966
|
+
if (key === "default" || key === "__esModule") return;
|
|
4967
|
+
Object.defineProperty(exports, key, {
|
|
4968
|
+
enumerable: true,
|
|
4969
|
+
get: function () {
|
|
4970
|
+
return _OcrValue[key];
|
|
4971
|
+
}
|
|
4972
|
+
});
|
|
4973
|
+
});
|
|
4974
|
+
|
|
4891
4975
|
var _StockEntries = require("./Interface/api/stock/StockEntries");
|
|
4892
4976
|
|
|
4893
4977
|
Object.keys(_StockEntries).forEach(function (key) {
|
|
@@ -5128,6 +5212,42 @@ Object.keys(_ReadQuoteAccount).forEach(function (key) {
|
|
|
5128
5212
|
});
|
|
5129
5213
|
});
|
|
5130
5214
|
|
|
5215
|
+
var _CreateInternalInvoicing = require("./Interface/api/internalInvoicing/CreateInternalInvoicing");
|
|
5216
|
+
|
|
5217
|
+
Object.keys(_CreateInternalInvoicing).forEach(function (key) {
|
|
5218
|
+
if (key === "default" || key === "__esModule") return;
|
|
5219
|
+
Object.defineProperty(exports, key, {
|
|
5220
|
+
enumerable: true,
|
|
5221
|
+
get: function () {
|
|
5222
|
+
return _CreateInternalInvoicing[key];
|
|
5223
|
+
}
|
|
5224
|
+
});
|
|
5225
|
+
});
|
|
5226
|
+
|
|
5227
|
+
var _QueryExercice = require("./Interface/api/exercice/QueryExercice");
|
|
5228
|
+
|
|
5229
|
+
Object.keys(_QueryExercice).forEach(function (key) {
|
|
5230
|
+
if (key === "default" || key === "__esModule") return;
|
|
5231
|
+
Object.defineProperty(exports, key, {
|
|
5232
|
+
enumerable: true,
|
|
5233
|
+
get: function () {
|
|
5234
|
+
return _QueryExercice[key];
|
|
5235
|
+
}
|
|
5236
|
+
});
|
|
5237
|
+
});
|
|
5238
|
+
|
|
5239
|
+
var _CreateExercice = require("./Interface/api/exercice/CreateExercice");
|
|
5240
|
+
|
|
5241
|
+
Object.keys(_CreateExercice).forEach(function (key) {
|
|
5242
|
+
if (key === "default" || key === "__esModule") return;
|
|
5243
|
+
Object.defineProperty(exports, key, {
|
|
5244
|
+
enumerable: true,
|
|
5245
|
+
get: function () {
|
|
5246
|
+
return _CreateExercice[key];
|
|
5247
|
+
}
|
|
5248
|
+
});
|
|
5249
|
+
});
|
|
5250
|
+
|
|
5131
5251
|
var _ReadSurvey = require("./Interface/api/survey/ReadSurvey");
|
|
5132
5252
|
|
|
5133
5253
|
Object.keys(_ReadSurvey).forEach(function (key) {
|
|
@@ -6339,4 +6459,88 @@ Object.keys(_QueryProduct).forEach(function (key) {
|
|
|
6339
6459
|
}
|
|
6340
6460
|
});
|
|
6341
6461
|
});
|
|
6462
|
+
|
|
6463
|
+
var _ReadRegistration = require("./Interface/api/registration/ReadRegistration");
|
|
6464
|
+
|
|
6465
|
+
Object.keys(_ReadRegistration).forEach(function (key) {
|
|
6466
|
+
if (key === "default" || key === "__esModule") return;
|
|
6467
|
+
Object.defineProperty(exports, key, {
|
|
6468
|
+
enumerable: true,
|
|
6469
|
+
get: function () {
|
|
6470
|
+
return _ReadRegistration[key];
|
|
6471
|
+
}
|
|
6472
|
+
});
|
|
6473
|
+
});
|
|
6474
|
+
|
|
6475
|
+
var _CreateRegistration = require("./Interface/api/registration/CreateRegistration");
|
|
6476
|
+
|
|
6477
|
+
Object.keys(_CreateRegistration).forEach(function (key) {
|
|
6478
|
+
if (key === "default" || key === "__esModule") return;
|
|
6479
|
+
Object.defineProperty(exports, key, {
|
|
6480
|
+
enumerable: true,
|
|
6481
|
+
get: function () {
|
|
6482
|
+
return _CreateRegistration[key];
|
|
6483
|
+
}
|
|
6484
|
+
});
|
|
6485
|
+
});
|
|
6486
|
+
|
|
6487
|
+
var _Journals = require("./Interface/api/journal/Journals");
|
|
6488
|
+
|
|
6489
|
+
Object.keys(_Journals).forEach(function (key) {
|
|
6490
|
+
if (key === "default" || key === "__esModule") return;
|
|
6491
|
+
Object.defineProperty(exports, key, {
|
|
6492
|
+
enumerable: true,
|
|
6493
|
+
get: function () {
|
|
6494
|
+
return _Journals[key];
|
|
6495
|
+
}
|
|
6496
|
+
});
|
|
6497
|
+
});
|
|
6498
|
+
|
|
6499
|
+
var _QueryJournal = require("./Interface/api/journal/QueryJournal");
|
|
6500
|
+
|
|
6501
|
+
Object.keys(_QueryJournal).forEach(function (key) {
|
|
6502
|
+
if (key === "default" || key === "__esModule") return;
|
|
6503
|
+
Object.defineProperty(exports, key, {
|
|
6504
|
+
enumerable: true,
|
|
6505
|
+
get: function () {
|
|
6506
|
+
return _QueryJournal[key];
|
|
6507
|
+
}
|
|
6508
|
+
});
|
|
6509
|
+
});
|
|
6510
|
+
|
|
6511
|
+
var _ReadBalanceSheetTransaction = require("./Interface/api/balanceSheet/ReadBalanceSheetTransaction");
|
|
6512
|
+
|
|
6513
|
+
Object.keys(_ReadBalanceSheetTransaction).forEach(function (key) {
|
|
6514
|
+
if (key === "default" || key === "__esModule") return;
|
|
6515
|
+
Object.defineProperty(exports, key, {
|
|
6516
|
+
enumerable: true,
|
|
6517
|
+
get: function () {
|
|
6518
|
+
return _ReadBalanceSheetTransaction[key];
|
|
6519
|
+
}
|
|
6520
|
+
});
|
|
6521
|
+
});
|
|
6522
|
+
|
|
6523
|
+
var _CreateMealExpense = require("./Interface/api/mealExpense/CreateMealExpense");
|
|
6524
|
+
|
|
6525
|
+
Object.keys(_CreateMealExpense).forEach(function (key) {
|
|
6526
|
+
if (key === "default" || key === "__esModule") return;
|
|
6527
|
+
Object.defineProperty(exports, key, {
|
|
6528
|
+
enumerable: true,
|
|
6529
|
+
get: function () {
|
|
6530
|
+
return _CreateMealExpense[key];
|
|
6531
|
+
}
|
|
6532
|
+
});
|
|
6533
|
+
});
|
|
6534
|
+
|
|
6535
|
+
var _ReadMealExpense = require("./Interface/api/mealExpense/ReadMealExpense");
|
|
6536
|
+
|
|
6537
|
+
Object.keys(_ReadMealExpense).forEach(function (key) {
|
|
6538
|
+
if (key === "default" || key === "__esModule") return;
|
|
6539
|
+
Object.defineProperty(exports, key, {
|
|
6540
|
+
enumerable: true,
|
|
6541
|
+
get: function () {
|
|
6542
|
+
return _ReadMealExpense[key];
|
|
6543
|
+
}
|
|
6544
|
+
});
|
|
6545
|
+
});
|
|
6342
6546
|
//# sourceMappingURL=index.js.map
|