@silexpert/core 0.4.118 → 0.4.121
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/es/api/resources/AccountingIncome.d.ts +6 -0
- package/es/api/resources/AccountingIncome.d.ts.map +1 -0
- package/es/api/resources/AccountingIncome.js +7 -0
- package/es/api/resources/AccountingIncome.js.map +1 -0
- package/es/api/resources/BankStatement.d.ts +7 -0
- package/es/api/resources/BankStatement.d.ts.map +1 -0
- package/es/api/resources/BankStatement.js +15 -0
- package/es/api/resources/BankStatement.js.map +1 -0
- package/es/api/resources/Cerfa.d.ts +2 -2
- package/es/api/resources/Cerfa.d.ts.map +1 -1
- package/es/api/resources/Cerfa.js.map +1 -1
- package/es/api/resources/Tax.d.ts +3 -1
- package/es/api/resources/Tax.d.ts.map +1 -1
- package/es/api/resources/Tax.js +6 -0
- package/es/api/resources/Tax.js.map +1 -1
- package/es/api/resources.d.ts +4 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +4 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/Account.d.ts +4 -0
- package/es/types/Enum/Account.d.ts.map +1 -1
- package/es/types/Enum/Account.js +4 -0
- package/es/types/Enum/Account.js.map +1 -1
- package/es/types/Enum/AnswerTypeValue.d.ts +15 -1
- package/es/types/Enum/AnswerTypeValue.d.ts.map +1 -1
- package/es/types/Enum/AnswerTypeValue.js +17 -2
- package/es/types/Enum/AnswerTypeValue.js.map +1 -1
- package/es/types/Enum/Aspone.d.ts +42 -0
- package/es/types/Enum/Aspone.d.ts.map +1 -0
- package/es/types/Enum/Aspone.js +48 -0
- package/es/types/Enum/Aspone.js.map +1 -0
- package/es/types/Enum/BalanceSheetQuestion.d.ts +42 -6
- package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.js +42 -5
- package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/es/types/Enum/BalanceSheetQuestionWording.d.ts +221 -0
- package/es/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -0
- package/es/types/Enum/BalanceSheetQuestionWording.js +224 -0
- package/es/types/Enum/BalanceSheetQuestionWording.js.map +1 -0
- package/es/types/Enum/BrandClementine.d.ts +5 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +5 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +2 -0
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +2 -0
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.d.ts +1 -0
- package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +1 -0
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +2 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +2 -1
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/GlobalRegime.d.ts.map +1 -1
- package/es/types/Enum/GlobalRegime.js +66 -14
- package/es/types/Enum/GlobalRegime.js.map +1 -1
- package/es/types/Enum/LegalInformation.d.ts +9 -0
- package/es/types/Enum/LegalInformation.d.ts.map +1 -0
- package/es/types/Enum/LegalInformation.js +10 -0
- package/es/types/Enum/LegalInformation.js.map +1 -0
- package/es/types/Enum/{MealExpenseTresholds.d.ts → MealExpenseThresholds.d.ts} +1 -1
- package/es/types/Enum/MealExpenseThresholds.d.ts.map +1 -0
- package/es/types/Enum/{MealExpenseTresholds.js → MealExpenseThresholds.js} +1 -1
- package/es/types/Enum/MealExpenseThresholds.js.map +1 -0
- package/es/types/Enum/Prestation.d.ts +7 -1
- package/es/types/Enum/Prestation.d.ts.map +1 -1
- package/es/types/Enum/Prestation.js +6 -0
- package/es/types/Enum/Prestation.js.map +1 -1
- package/es/types/Enum/Util.d.ts +4 -0
- package/es/types/Enum/Util.d.ts.map +1 -1
- package/es/types/Enum/Util.js +5 -0
- package/es/types/Enum/Util.js.map +1 -1
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts +4 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts.map +1 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.js +2 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -0
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts +76 -0
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -0
- package/es/types/Interface/api/aspone/ReadInterchange.js +9 -0
- package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -0
- package/es/types/Interface/api/aspone/Util.d.ts +109 -0
- package/es/types/Interface/api/aspone/Util.d.ts.map +1 -0
- package/es/types/Interface/api/aspone/Util.js +17 -0
- package/es/types/Interface/api/aspone/Util.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +5 -3
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +27 -4
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +5 -2
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +29 -2
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/bankStatement/QueryBankStatement.d.ts +6 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.js +25 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.d.ts +9 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.d.ts.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.js +27 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.d.ts +6 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.d.ts.map +1 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.js +3 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.js.map +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +379 -88
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.js +24 -327
- package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/es/types/Interface/api/cerfa/ReadCerfa.d.ts +4 -0
- package/es/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/es/types/Interface/api/ocr/OcrTransactions.d.ts +12 -0
- package/es/types/Interface/api/ocr/OcrTransactions.d.ts.map +1 -0
- package/es/types/Interface/api/ocr/OcrTransactions.js +33 -0
- package/es/types/Interface/api/ocr/OcrTransactions.js.map +1 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.d.ts +7 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.d.ts.map +1 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.js +2 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.js.map +1 -0
- package/es/types/Interface/api/registration/CreateRegistration.d.ts +13 -2
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.js +20 -4
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/DeclareRegistration.d.ts +4 -0
- package/es/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -0
- package/es/types/Interface/api/registration/DeclareRegistration.js +22 -0
- package/es/types/Interface/api/registration/DeclareRegistration.js.map +1 -0
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +18 -1
- package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/es/types/Interface/api/tax/ReadCompanyTax.d.ts +11 -0
- package/es/types/Interface/api/tax/ReadCompanyTax.d.ts.map +1 -0
- package/es/types/Interface/api/tax/ReadCompanyTax.js +2 -0
- package/es/types/Interface/api/tax/ReadCompanyTax.js.map +1 -0
- package/es/types/Interface/api/tax/ReadTax.d.ts +6 -1
- package/es/types/Interface/api/tax/ReadTax.d.ts.map +1 -1
- package/es/types/Interface/api/tax/ReadTax.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +2 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +8 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +1 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +1 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.d.ts +7 -4
- 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/IBalanceSheetQuestion.d.ts +1 -0
- package/es/types/Interface/models/IBalanceSheetQuestion.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetQuestion.js.map +1 -1
- package/es/types/Interface/models/ICountry.d.ts +1 -0
- package/es/types/Interface/models/ICountry.d.ts.map +1 -1
- package/es/types/Interface/models/ICountry.js.map +1 -1
- package/es/types/Interface/models/ISocietySocial.d.ts +2 -2
- package/es/types/Interface/models/ISocietySocial.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietySocial.js.map +1 -1
- package/es/types/index.d.ts +17 -4
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +17 -4
- package/es/types/index.js.map +1 -1
- package/js/api/resources/AccountingIncome.js +18 -0
- package/js/api/resources/AccountingIncome.js.map +1 -0
- package/js/api/resources/BankStatement.js +30 -0
- package/js/api/resources/BankStatement.js.map +1 -0
- package/js/api/resources/Cerfa.js.map +1 -1
- package/js/api/resources/Tax.js +8 -0
- package/js/api/resources/Tax.js.map +1 -1
- package/js/api/resources.js +7 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Account.js +4 -0
- package/js/types/Enum/Account.js.map +1 -1
- package/js/types/Enum/AnswerTypeValue.js +21 -2
- package/js/types/Enum/AnswerTypeValue.js.map +1 -1
- package/js/types/Enum/Aspone.js +64 -0
- package/js/types/Enum/Aspone.js.map +1 -0
- package/js/types/Enum/BalanceSheetQuestion.js +47 -5
- package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestionWording.js +238 -0
- package/js/types/Enum/BalanceSheetQuestionWording.js.map +1 -0
- package/js/types/Enum/BrandClementine.js +7 -2
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +2 -0
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +1 -0
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/Ged.js +4 -3
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/GlobalRegime.js +68 -21
- package/js/types/Enum/GlobalRegime.js.map +1 -1
- package/js/types/Enum/LegalInformation.js +16 -0
- package/js/types/Enum/LegalInformation.js.map +1 -0
- package/js/types/Enum/{MealExpenseTresholds.js → MealExpenseThresholds.js} +1 -1
- package/js/types/Enum/MealExpenseThresholds.js.map +1 -0
- package/js/types/Enum/Prestation.js +6 -0
- package/js/types/Enum/Prestation.js.map +1 -1
- package/js/types/Enum/Util.js +7 -0
- package/js/types/Enum/Util.js.map +1 -1
- package/js/types/Interface/api/accountingIncome/ReadAccountingIncome.js +6 -0
- package/js/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -0
- package/js/types/Interface/api/aspone/ReadInterchange.js +22 -0
- package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -0
- package/js/types/Interface/api/aspone/Util.js +38 -0
- package/js/types/Interface/api/aspone/Util.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +7 -3
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +8 -2
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/bankStatement/QueryBankStatement.js +31 -0
- package/js/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -0
- package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js +33 -0
- package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -0
- package/js/types/Interface/api/bankStatement/ReadBankStatement.js +10 -0
- package/js/types/Interface/api/bankStatement/ReadBankStatement.js.map +1 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js +24 -174
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/js/types/Interface/api/ocr/OcrTransactions.js +37 -0
- package/js/types/Interface/api/ocr/OcrTransactions.js.map +1 -0
- package/js/types/Interface/api/ocr/OcrTypeTransactions.js +6 -0
- package/js/types/Interface/api/ocr/OcrTypeTransactions.js.map +1 -0
- package/js/types/Interface/api/registration/CreateRegistration.js +11 -3
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/DeclareRegistration.js +31 -0
- package/js/types/Interface/api/registration/DeclareRegistration.js.map +1 -0
- package/js/types/Interface/{models/IPrestationSocial.js → api/tax/ReadCompanyTax.js} +1 -1
- package/js/types/Interface/{models/IPrestationSocial.js.map → api/tax/ReadCompanyTax.js.map} +1 -1
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +6 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +2 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +183 -27
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingIncome.ts +8 -0
- package/ts/api/resources/BankStatement.ts +20 -0
- package/ts/api/resources/Cerfa.ts +2 -2
- package/ts/api/resources/Tax.ts +9 -1
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/Account.ts +4 -0
- package/ts/types/Enum/AnswerTypeValue.ts +16 -0
- package/ts/types/Enum/Aspone.ts +46 -0
- package/ts/types/Enum/BalanceSheetQuestion.ts +48 -5
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +283 -0
- package/ts/types/Enum/BrandClementine.ts +5 -0
- package/ts/types/Enum/BrandComptalib.ts +2 -0
- package/ts/types/Enum/BrandLegalstart.ts +1 -0
- package/ts/types/Enum/Ged.ts +2 -1
- package/ts/types/Enum/GlobalRegime.ts +67 -21
- package/ts/types/Enum/LegalInformation.ts +8 -0
- package/ts/types/Enum/Prestation.ts +6 -0
- package/ts/types/Enum/Util.ts +4 -0
- package/ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts +3 -0
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +75 -0
- package/ts/types/Interface/api/aspone/Util.ts +108 -0
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +24 -3
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +26 -2
- package/ts/types/Interface/api/bankStatement/QueryBankStatement.ts +15 -0
- package/ts/types/Interface/api/bankStatement/QueryTransactionBankStatement.ts +15 -0
- package/ts/types/Interface/api/bankStatement/ReadBankStatement.ts +6 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +533 -178
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +4 -0
- package/ts/types/Interface/api/ocr/OcrTransactions.ts +24 -0
- package/ts/types/Interface/api/ocr/OcrTypeTransactions.ts +6 -0
- package/ts/types/Interface/api/registration/CreateRegistration.ts +28 -4
- package/ts/types/Interface/api/registration/DeclareRegistration.ts +11 -0
- package/ts/types/Interface/api/registration/ReadRegistration.ts +19 -1
- package/ts/types/Interface/api/tax/ReadCompanyTax.ts +12 -0
- package/ts/types/Interface/api/tax/ReadTax.ts +6 -1
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +7 -1
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/IBalanceSheetModule.ts +7 -4
- package/ts/types/Interface/models/IBalanceSheetQuestion.ts +1 -0
- package/ts/types/Interface/models/ICountry.ts +1 -0
- package/ts/types/Interface/models/ISocietySocial.ts +2 -2
- package/ts/types/index.ts +18 -4
- package/es/types/Enum/MealExpenseTresholds.d.ts.map +0 -1
- package/es/types/Enum/MealExpenseTresholds.js.map +0 -1
- package/es/types/Interface/models/IPrestationSocial.d.ts +0 -7
- package/es/types/Interface/models/IPrestationSocial.d.ts.map +0 -1
- package/es/types/Interface/models/IPrestationSocial.js +0 -2
- package/es/types/Interface/models/IPrestationSocial.js.map +0 -1
- package/js/types/Enum/MealExpenseTresholds.js.map +0 -1
- package/ts/types/Interface/models/IPrestationSocial.ts +0 -7
- /package/ts/types/Enum/{MealExpenseTresholds.ts → MealExpenseThresholds.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OcrTransactions.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/ocr/OcrTransactions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,qBAAa,eAAe;IAE1B,cAAc,EAAE;QACd,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,CAAA;KACrB,CAAC;IAGF,YAAY,EAAE,qBAAqB,EAAE,CAAC;IAGtC,aAAa,EAAE,MAAM,CAAC;IAKtB,KAAK,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsBoolean } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
|
+
export class OcrTransactions {
|
|
14
|
+
}
|
|
15
|
+
__decorate([
|
|
16
|
+
ApiProperty(),
|
|
17
|
+
__metadata("design:type", Object)
|
|
18
|
+
], OcrTransactions.prototype, "accountingFile", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
ApiProperty(),
|
|
21
|
+
__metadata("design:type", Array)
|
|
22
|
+
], OcrTransactions.prototype, "transactions", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], OcrTransactions.prototype, "idBankAccount", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
ToBoolean(),
|
|
29
|
+
IsBoolean(),
|
|
30
|
+
ApiProperty(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], OcrTransactions.prototype, "isPdf", void 0);
|
|
33
|
+
//# sourceMappingURL=OcrTransactions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OcrTransactions.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/ocr/OcrTransactions.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAG3E,MAAM,OAAO,eAAe;CAiB3B;AAfC;IADC,WAAW,EAAE;;uDAIZ;AAGF;IADC,WAAW,EAAE;;qDACwB;AAGtC;IADC,mBAAmB,EAAE;;sDACA;AAKtB;IAHC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,WAAW,EAAE;;8CACC","sourcesContent":["import { IsBoolean } from 'class-validator';\nimport { IFile } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { OcrTransactionDetails } from './OcrTypeTransactions';\n\nexport class OcrTransactions {\n @ApiProperty()\n accountingFile: {\n id: number\n file: Partial<IFile>\n };\n\n @ApiProperty()\n transactions: OcrTransactionDetails[];\n\n @ApiPropertyOptional()\n idBankAccount: number;\n\n @ToBoolean()\n @IsBoolean()\n @ApiProperty()\n isPdf: boolean;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OcrTypeTransactions.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/ocr/OcrTypeTransactions.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB,GAAG;IAClC,SAAS,EAAE,IAAI,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OcrTypeTransactions.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/ocr/OcrTypeTransactions.ts"],"names":[],"mappings":"","sourcesContent":["export type OcrTransactionDetails = {\n dateValue: Date,\n label: string | null,\n debit: number,\n credit: number,\n};"]}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
import { ParamsGenerate2035 } from '../cerfa/CreateCerfa';
|
|
1
|
+
import { ParamsGenerate2035, ParamsGenerate2035WithSuites, ParamsGenerate2033, ParamsGenerate2065, ParamsGenerate2031, ParamsGenerate2050 } from '../cerfa/CreateCerfa';
|
|
2
2
|
export declare class CreateRegistration {
|
|
3
|
-
payload:
|
|
3
|
+
payload: {
|
|
4
|
+
cerfa2035?: ParamsGenerate2035;
|
|
5
|
+
cerfa2035WithSuites?: ParamsGenerate2035WithSuites;
|
|
6
|
+
cerfa2033?: ParamsGenerate2033;
|
|
7
|
+
cerfa2065?: ParamsGenerate2065;
|
|
8
|
+
cerfa2031?: ParamsGenerate2031;
|
|
9
|
+
cerfa2050?: ParamsGenerate2050;
|
|
10
|
+
};
|
|
4
11
|
idCerfaType: number;
|
|
12
|
+
isTest?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare class CreateRegistrationSynchronization {
|
|
15
|
+
forceTestMode?: boolean;
|
|
5
16
|
}
|
|
6
17
|
//# sourceMappingURL=CreateRegistration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateRegistration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateRegistration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EACjI,MAAM,sBAAsB,CAAC;AAG9B,qBAAa,kBAAkB;IAE7B,OAAO,EAAE;QACP,SAAS,CAAC,EAAE,kBAAkB,CAAA;QAC9B,mBAAmB,CAAC,EAAE,4BAA4B,CAAA;QAClD,SAAS,CAAC,EAAE,kBAAkB,CAAC;QAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAC;QAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAC;QAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAC;KAChC,CAAC;IAIF,WAAW,EAAE,MAAM,CAAC;IAMpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBAAa,iCAAiC;IAK5C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -7,19 +7,35 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsEnum } from 'class-validator';
|
|
11
|
-
import { ApiProperty } from '../../../../utils';
|
|
10
|
+
import { IsEnum, IsOptional, IsBoolean } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
13
|
-
import {
|
|
13
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
14
14
|
export class CreateRegistration {
|
|
15
15
|
}
|
|
16
16
|
__decorate([
|
|
17
17
|
ApiProperty(),
|
|
18
|
-
__metadata("design:type",
|
|
18
|
+
__metadata("design:type", Object)
|
|
19
19
|
], CreateRegistration.prototype, "payload", void 0);
|
|
20
20
|
__decorate([
|
|
21
21
|
ApiProperty(),
|
|
22
22
|
IsEnum(CerfaType),
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], CreateRegistration.prototype, "idCerfaType", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiPropertyOptional(),
|
|
27
|
+
IsBoolean(),
|
|
28
|
+
ToBoolean(),
|
|
29
|
+
IsOptional(),
|
|
30
|
+
__metadata("design:type", Boolean)
|
|
31
|
+
], CreateRegistration.prototype, "isTest", void 0);
|
|
32
|
+
export class CreateRegistrationSynchronization {
|
|
33
|
+
}
|
|
34
|
+
__decorate([
|
|
35
|
+
ApiPropertyOptional(),
|
|
36
|
+
IsOptional(),
|
|
37
|
+
IsBoolean(),
|
|
38
|
+
ToBoolean(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], CreateRegistrationSynchronization.prototype, "forceTestMode", void 0);
|
|
25
41
|
//# sourceMappingURL=CreateRegistration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateRegistration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateRegistration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIpD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,kBAAkB;CAoB9B;AAlBC;IADC,WAAW,EAAE;;mDAQZ;AAIF;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,SAAS,CAAC;;uDACE;AAMpB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kDACI;AAGnB,MAAM,OAAO,iCAAiC;CAM7C;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wEACY","sourcesContent":["import { IsEnum, IsOptional, IsBoolean } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport {\n ParamsGenerate2035, ParamsGenerate2035WithSuites, ParamsGenerate2033, ParamsGenerate2065, ParamsGenerate2031, ParamsGenerate2050,\n} from '../cerfa/CreateCerfa';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateRegistration {\n @ApiProperty()\n payload: {\n cerfa2035?: ParamsGenerate2035\n cerfa2035WithSuites?: ParamsGenerate2035WithSuites\n cerfa2033?: ParamsGenerate2033;\n cerfa2065?: ParamsGenerate2065;\n cerfa2031?: ParamsGenerate2031;\n cerfa2050?: ParamsGenerate2050;\n };\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n}\n\nexport class CreateRegistrationSynchronization {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n forceTestMode?: boolean;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeclareRegistration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":"AAIA,qBAAa,mBAAmB;IAK9B,UAAU,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsOptional, IsBoolean } from 'class-validator';
|
|
11
|
+
import { ApiPropertyOptional } from '../../../../utils/decorators';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
|
+
export class DeclareRegistration {
|
|
14
|
+
}
|
|
15
|
+
__decorate([
|
|
16
|
+
ApiPropertyOptional(),
|
|
17
|
+
IsOptional(),
|
|
18
|
+
IsBoolean(),
|
|
19
|
+
ToBoolean(),
|
|
20
|
+
__metadata("design:type", Boolean)
|
|
21
|
+
], DeclareRegistration.prototype, "isTestMode", void 0);
|
|
22
|
+
//# sourceMappingURL=DeclareRegistration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeclareRegistration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,mBAAmB;CAM/B;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACQ","sourcesContent":["import { IsOptional, IsBoolean } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class DeclareRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode: boolean;\n}"]}
|
|
@@ -1,3 +1,20 @@
|
|
|
1
1
|
import { IRegistration } from '../../models/IRegistration';
|
|
2
|
-
|
|
2
|
+
import { ReadInterchange } from '../aspone/ReadInterchange';
|
|
3
|
+
interface RegistrationWithPayloadObject extends Omit<IRegistration, 'payload'> {
|
|
4
|
+
payload: Record<string, unknown>;
|
|
5
|
+
}
|
|
6
|
+
interface RegistrationWithPayloadAndResponseObject extends Omit<RegistrationWithPayloadObject, 'response'> {
|
|
7
|
+
response: ReadInterchange | Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
export declare type ReadRegistration = RegistrationWithPayloadAndResponseObject;
|
|
10
|
+
export interface ReadSynchronization {
|
|
11
|
+
id: number;
|
|
12
|
+
hasError: boolean;
|
|
13
|
+
hasDepositError: boolean;
|
|
14
|
+
isProcessFinished: boolean;
|
|
15
|
+
hasPaymentError: boolean;
|
|
16
|
+
isTimeOut: boolean;
|
|
17
|
+
hasFailed: boolean;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
3
20
|
//# sourceMappingURL=ReadRegistration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadRegistration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"ReadRegistration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,UAAU,6BAA8B,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC;IAC5E,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AACD,UAAU,wCAAyC,SAAQ,IAAI,CAAC,6BAA6B,EAAE,UAAU,CAAC;IACxG,QAAQ,EAAE,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrD;AAED,oBAAY,gBAAgB,GAAG,wCAAwC,CAAC;AAExE,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadRegistration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"","sourcesContent":["import { IRegistration } from '../../models/IRegistration';\n\nexport type ReadRegistration =
|
|
1
|
+
{"version":3,"file":"ReadRegistration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"","sourcesContent":["import { IRegistration } from '../../models/IRegistration';\nimport { ReadInterchange } from '../aspone/ReadInterchange';\n\ninterface RegistrationWithPayloadObject extends Omit<IRegistration, 'payload'> {\n payload: Record<string, unknown>;\n}\ninterface RegistrationWithPayloadAndResponseObject extends Omit<RegistrationWithPayloadObject, 'response'> {\n response: ReadInterchange | Record<string, unknown>;\n}\n\nexport type ReadRegistration = RegistrationWithPayloadAndResponseObject;\n\nexport interface ReadSynchronization {\n id: number;\n hasError: boolean;\n hasDepositError: boolean;\n isProcessFinished: boolean;\n hasPaymentError: boolean;\n isTimeOut: boolean;\n hasFailed: boolean;\n}"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IAccountingTransaction } from '../../models/IAccountingTransaction';
|
|
2
|
+
export interface ReadCompanyTax extends CompanyTax {
|
|
3
|
+
transaction?: IAccountingTransaction;
|
|
4
|
+
}
|
|
5
|
+
export interface CompanyTax {
|
|
6
|
+
reducedRateTax: number;
|
|
7
|
+
normalRateTax: number;
|
|
8
|
+
taxTotal: number;
|
|
9
|
+
taxableIncome: number;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ReadCompanyTax.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadCompanyTax.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/tax/ReadCompanyTax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,MAAM,WAAW,cAAe,SAAQ,UAAU;IAChD,WAAW,CAAC,EAAE,sBAAsB,CAAC;CACtC;AAED,MAAM,WAAW,UAAU;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadCompanyTax.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/tax/ReadCompanyTax.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingTransaction } from '../../models/IAccountingTransaction';\n\nexport interface ReadCompanyTax extends CompanyTax {\n transaction?: IAccountingTransaction;\n}\n\nexport interface CompanyTax {\n reducedRateTax: number;\n normalRateTax: number;\n taxTotal: number;\n taxableIncome: number;\n}"]}
|
|
@@ -6,8 +6,13 @@ export interface ReadAmountBase {
|
|
|
6
6
|
interface Tax extends TaxDate {
|
|
7
7
|
tax: ICustomerIsRegime | null;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export declare type ReadTax = ReadTaxAndData & {
|
|
10
10
|
amountBase: ReadAmountBase | null;
|
|
11
|
+
};
|
|
12
|
+
export declare type TaxAndDataWithExercise = {
|
|
13
|
+
idExercice: number;
|
|
14
|
+
} & ReadTaxAndData;
|
|
15
|
+
export interface ReadTaxAndData {
|
|
11
16
|
taxes: Tax[];
|
|
12
17
|
others: ICustomerIsRegime[];
|
|
13
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadTax.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/tax/ReadTax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,UAAU,GAAI,SAAQ,OAAO;IAC3B,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAC/B;AAED,
|
|
1
|
+
{"version":3,"file":"ReadTax.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/tax/ReadTax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,UAAU,GAAI,SAAQ,OAAO;IAC3B,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAC/B;AAED,oBAAY,OAAO,GAAG,cAAc,GAAG;IACrC,UAAU,EAAE,cAAc,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAAC;AAE7E,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,MAAM,EAAE,iBAAiB,EAAE,CAAA;CAC5B;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadTax.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/tax/ReadTax.ts"],"names":[],"mappings":"","sourcesContent":["import { ICustomerIsRegime } from '../../models/ICustomerIsRegime';\n\nexport interface ReadAmountBase {\n amount: number;\n isFirstExercice: boolean;\n}\n\ninterface Tax extends TaxDate {\n tax: ICustomerIsRegime | null;\n}\n\nexport
|
|
1
|
+
{"version":3,"file":"ReadTax.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/tax/ReadTax.ts"],"names":[],"mappings":"","sourcesContent":["import { ICustomerIsRegime } from '../../models/ICustomerIsRegime';\n\nexport interface ReadAmountBase {\n amount: number;\n isFirstExercice: boolean;\n}\n\ninterface Tax extends TaxDate {\n tax: ICustomerIsRegime | null;\n}\n\nexport type ReadTax = ReadTaxAndData & {\n amountBase: ReadAmountBase | null;\n};\n\nexport type TaxAndDataWithExercise = { idExercice: number } & ReadTaxAndData;\n\nexport interface ReadTaxAndData {\n taxes: Tax[],\n others: ICustomerIsRegime[]\n}\n\nexport interface TaxDate {\n date: string;\n required: boolean;\n isBalance: boolean;\n}"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VatRegime } from '../../..';
|
|
1
|
+
import { VatRegime, ToDoOrDone } from '../../..';
|
|
2
2
|
import { ComptaType } from '../../../Enum/ComptaType';
|
|
3
3
|
import { TaxSystem } from '../../../Enum/TaxSystem';
|
|
4
4
|
import { BalanceSheetState } from '../../../Enum/BalanceSheet';
|
|
@@ -16,6 +16,7 @@ export declare class QueryTaxDeadline {
|
|
|
16
16
|
additionalMonths?: number;
|
|
17
17
|
minimalEndDate?: string;
|
|
18
18
|
maximalEndDate?: string;
|
|
19
|
+
idTaxStatus?: ToDoOrDone;
|
|
19
20
|
}
|
|
20
21
|
export declare class QueryTaxDeadlineStatistics {
|
|
21
22
|
idUser: number | number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTaxDeadline.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryTaxDeadline.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,qBAAa,gBAAgB;IAE3B,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAG1B,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAGtC,YAAY,CAAC,EAAE,UAAU,GAAG,UAAU,EAAE,CAAC;IAGzC,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAGtC,mBAAmB,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,EAAE,CAAC;IAG9D,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAGhC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAGzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,WAAW,CAAC,EAAE,UAAU,CAAC;CAC1B;AAED,qBAAa,0BAA0B;IAErC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAG1B,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAGtC,YAAY,CAAC,EAAE,UAAU,GAAG,UAAU,EAAE,CAAC;IAGzC,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAGtC,mBAAmB,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,EAAE,CAAC;IAG9D,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAGzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -7,8 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
+
import { IsOptional, IsEnum } from 'class-validator';
|
|
10
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
-
import { VatRegime } from '../../..';
|
|
12
|
+
import { VatRegime, ToDoOrDone } from '../../..';
|
|
12
13
|
import { ComptaType } from '../../../Enum/ComptaType';
|
|
13
14
|
import { TaxSystem } from '../../../Enum/TaxSystem';
|
|
14
15
|
import { BalanceSheetState } from '../../../Enum/BalanceSheet';
|
|
@@ -66,6 +67,12 @@ __decorate([
|
|
|
66
67
|
ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' }),
|
|
67
68
|
__metadata("design:type", String)
|
|
68
69
|
], QueryTaxDeadline.prototype, "maximalEndDate", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
ApiPropertyOptional({ description: 'Statuts de l\'IS/IR' }),
|
|
72
|
+
IsOptional(),
|
|
73
|
+
IsEnum(ToDoOrDone),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], QueryTaxDeadline.prototype, "idTaxStatus", void 0);
|
|
69
76
|
export class QueryTaxDeadlineStatistics {
|
|
70
77
|
}
|
|
71
78
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTaxDeadline.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryTaxDeadline.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,MAAM,OAAO,gBAAgB;CA4C5B;AA1CC;IADC,WAAW,CAAC,EAAE,WAAW,EAAE,8BAA8B,EAAE,CAAC;;gDACnC;AAG1B;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,0CAA0C,EAAE,CAAC;;yD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B,CAAC,EAAE,WAAW,EAAE,0CAA0C,EAAE,CAAC;;mEACxD;AAGzB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;+DACjC;AAGtC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;gEACtC;AAGzC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;+DACrC;AAGtC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;;uEACjB;AAG9D;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;;+DAClD;AAGrB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;;wDAC9C;AAGzB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,iCAAiC,EAAE,CAAC;;0DACxD;AAGhB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,8FAA8F,EAAE,CAAC;;oEAC3G","sourcesContent":["import { IsOptional, IsEnum } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { VatRegime, ToDoOrDone } from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}"]}
|
|
@@ -14,6 +14,7 @@ export declare enum Code {
|
|
|
14
14
|
constraintKeyError = "resource_fk_error",
|
|
15
15
|
serviceUnavailable = "service_unavailable",
|
|
16
16
|
notImplemented = "not_implemented",
|
|
17
|
+
unknown = "unknown",
|
|
17
18
|
failedCheckBalance = "failed_check_balance",
|
|
18
19
|
vatIntracomCanOnlyBeSetForDebit = "vat_intracom_can_only_be_set_for_debit",
|
|
19
20
|
vatMargeCanOnlyBeSetForCredit = "vat_marge_can_only_be_set_for_credit",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/B,eAAe,8BAA8B;IAC7C,eAAe,8BAA8B;IAC7C,UAAU,iBAAiB;IAC3B,mBAAmB,0BAA0B;IAC7C,kBAAkB,sBAAsB;IACxC,kBAAkB,wBAAwB;IAC1C,cAAc,oBAAoB;
|
|
1
|
+
{"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cA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mC,wCAAwC;CAC5E;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -17,6 +17,7 @@ export var Code;
|
|
|
17
17
|
Code["constraintKeyError"] = "resource_fk_error";
|
|
18
18
|
Code["serviceUnavailable"] = "service_unavailable";
|
|
19
19
|
Code["notImplemented"] = "not_implemented";
|
|
20
|
+
Code["unknown"] = "unknown";
|
|
20
21
|
// Annotation Error
|
|
21
22
|
Code["failedCheckBalance"] = "failed_check_balance";
|
|
22
23
|
Code["vatIntracomCanOnlyBeSetForDebit"] = "vat_intracom_can_only_be_set_for_debit";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IA0IX;AA1ID,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IACxC,kDAA0C,CAAA;IAC1C,0CAAkC,CAAA;IAElC,mBAAmB;IACnB,mDAA2C,CAAA;IAC3C,kFAA0E,CAAA;IAC1E,8EAAsE,CAAA;IACtE,wIAAgI,CAAA;IAChI,iDAAyC,CAAA;IACzC,wFAAgF,CAAA;IAChF,iFAAyE,CAAA;IACzE,kFAA0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AAyC,CAAA;IAEzC,gBAAgB;IAChB,8DAAsD,CAAA;IAEtD,UAAU;IACV,kFAA0E,CAAA;IAC1E,wDAAgD,CAAA;IAEhD,gBAAgB;IAChB,2DAAmD,CAAA;IACnD,iDAAyC,CAAA;IACzC,sEAA8D,CAAA;IAC9D,2CAAmC,CAAA;IACnC,uDAA+C,CAAA;IAC/C,uCAA+B,CAAA;IAC/B,+EAAuE,CAAA;IACvE,8DAAsD,CAAA;IACtD,2DAAmD,CAAA;IACnD,gDAAwC,CAAA;IAExC,QAAQ;IACR,+CAAuC,CAAA;IACvC,mCAA2B,CAAA;IAE3B,cAAc;IACd,6EAAqE,CAAA;IACrE,qFAA6E,CAAA;IAC7E,oEAA4D,CAAA;IAC5D,oEAA4D,CAAA;IAC5D,6CAAqC,CAAA;IAErC,2CAAmC,CAAA;IAEnC,YAAY;IACZ,2CAAmC,CAAA;IAEnC,eAAe;IACf,2EAAmE,CAAA;IACnE,yDAAiD,CAAA;IACjD,4DAAoD,CAAA;IACpD,6DAAqD,CAAA;IACrD,sDAA8C,CAAA;IAC9C,iDAAyC,CAAA;IAEzC,WAAW;IACX,+DAAuD,CAAA;IAEvD,0BAA0B;IAC1B,qDAA6C,CAAA;IAC7C,mFAA2E,CAAA;AAC7E,CAAC,EA1IW,IAAI,KAAJ,IAAI,QA0If","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 // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CA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AAC7E,CAAC,EA3IW,IAAI,KAAJ,IAAI,QA2If","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 unknown = 'unknown',\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 // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export interface IBalanceSheetModule {
|
|
2
2
|
id?: number;
|
|
3
|
-
inventory: boolean;
|
|
4
|
-
loanToDeclare: boolean;
|
|
5
|
-
provisionToDeclare: boolean;
|
|
6
|
-
|
|
3
|
+
inventory: boolean | null;
|
|
4
|
+
loanToDeclare: boolean | null;
|
|
5
|
+
provisionToDeclare: boolean | null;
|
|
6
|
+
recoveryImmobilization?: boolean | null;
|
|
7
|
+
incomeAllocation?: boolean | null;
|
|
8
|
+
salariesFile?: boolean | null;
|
|
7
9
|
hasCustomerInvoiceToEstablish?: boolean | null;
|
|
8
10
|
hasCustomerAssetToEstablish?: boolean | null;
|
|
9
11
|
hasCustomerPrepaidIncome?: boolean | null;
|
|
@@ -14,6 +16,7 @@ export interface IBalanceSheetModule {
|
|
|
14
16
|
hasLaundryFees?: boolean | null;
|
|
15
17
|
hasMealExpenses?: boolean | null;
|
|
16
18
|
hasCheckedVAT?: boolean | null;
|
|
19
|
+
hasCheckedCompanyTax?: boolean | null;
|
|
17
20
|
idSociety: number;
|
|
18
21
|
idExercice: number;
|
|
19
22
|
createdAt?: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBalanceSheetModule.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"IBalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBalanceSheetModule.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,kBAAkB,EAAE,OAAO,GAAG,IAAI,CAAC;IAEnC,sBAAsB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACxC,gBAAgB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,6BAA6B,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/C,2BAA2B,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7C,wBAAwB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1C,0BAA0B,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5C,0BAA0B,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5C,6BAA6B,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/C,uBAAuB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACzC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/B,oBAAoB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBalanceSheetModule.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBalanceSheetModule.ts"],"names":[],"mappings":"","sourcesContent":["// balanceSheetModule\nexport interface IBalanceSheetModule {\n id?: number;\n inventory: boolean;\n loanToDeclare: boolean;\n provisionToDeclare: boolean;\n // deadlinerecoveryImmobilization: boolean;\n salariesFile
|
|
1
|
+
{"version":3,"file":"IBalanceSheetModule.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBalanceSheetModule.ts"],"names":[],"mappings":"","sourcesContent":["// balanceSheetModule\nexport interface IBalanceSheetModule {\n id?: number;\n inventory: boolean | null;\n loanToDeclare: boolean | null;\n provisionToDeclare: boolean | null;\n // deadlinerecoveryImmobilization: boolean;\n recoveryImmobilization?: boolean | null;\n incomeAllocation?: boolean | null;\n salariesFile?: boolean | null;\n hasCustomerInvoiceToEstablish?: boolean | null;\n hasCustomerAssetToEstablish?: boolean | null;\n hasCustomerPrepaidIncome?: boolean | null;\n hasProviderPrepaidReceived?: boolean | null;\n hasProviderAssetToReceived?: boolean | null;\n hasProviderInvoiceNotReceived?: boolean | null;\n hasManualEntryToDeclare?: boolean | null;\n hasLaundryFees?: boolean | null;\n hasMealExpenses?: boolean | null;\n hasCheckedVAT?: boolean | null;\n hasCheckedCompanyTax?: boolean | null;\n idSociety: number;\n idExercice: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBalanceSheetQuestion.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBalanceSheetQuestion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,UAAU,CAAC,EAAE,WAAW,CAAC;CAC1B"}
|
|
1
|
+
{"version":3,"file":"IBalanceSheetQuestion.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBalanceSheetQuestion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,UAAU,CAAC,EAAE,WAAW,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBalanceSheetQuestion.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBalanceSheetQuestion.ts"],"names":[],"mappings":"","sourcesContent":["import { IAnswerType } from './IAnswerType';\n\nexport interface IBalanceSheetQuestion {\n id: number;\n name: string;\n theme: string;\n idAnswerType: number;\n\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n answerType?: IAnswerType;\n}"]}
|
|
1
|
+
{"version":3,"file":"IBalanceSheetQuestion.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBalanceSheetQuestion.ts"],"names":[],"mappings":"","sourcesContent":["import { IAnswerType } from './IAnswerType';\n\nexport interface IBalanceSheetQuestion {\n id: number;\n name: string;\n theme: string;\n category: string | null;\n idAnswerType: number;\n\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n answerType?: IAnswerType;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICountry.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ICountry.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"ICountry.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ICountry.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICountry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ICountry.ts"],"names":[],"mappings":"","sourcesContent":["// country\nexport interface ICountry {\n id?: number;\n name: string;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ICountry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ICountry.ts"],"names":[],"mappings":"","sourcesContent":["// country\nexport interface ICountry {\n id?: number;\n name: string;\n ISO3166: string | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IPrestationList } from './IPrestationList';
|
|
2
2
|
import { ISociety } from './ISociety';
|
|
3
3
|
export interface ISocietySocial {
|
|
4
4
|
id?: number;
|
|
@@ -11,7 +11,7 @@ export interface ISocietySocial {
|
|
|
11
11
|
idPrestationSocial: number;
|
|
12
12
|
createdAt?: Date | null;
|
|
13
13
|
updatedAt?: Date | null;
|
|
14
|
-
|
|
14
|
+
prestationList: IPrestationList;
|
|
15
15
|
society: ISociety;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=ISocietySocial.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietySocial.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ISocietySocial.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,cAAc,EAAE,eAAe,CAAC;IAChC,OAAO,EAAE,QAAQ,CAAC;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietySocial.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"","sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"ISocietySocial.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"","sourcesContent":["import { IPrestationList } from './IPrestationList';\nimport { ISociety } from './ISociety';\n\n// societySocial\nexport interface ISocietySocial {\n id?: number;\n quantity: number;\n amount: number | null;\n dueDate: Date | null;\n navetteOk: Date | null;\n done: boolean;\n idSociety: number;\n idPrestationSocial: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n prestationList: IPrestationList;\n society: ISociety;\n}\n"]}
|