@silexpert/core 0.4.127 → 0.4.129
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/GeneralLedger.js +2 -2
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/Revision.d.ts +6 -0
- package/es/api/resources/Revision.d.ts.map +1 -0
- package/es/api/resources/Revision.js +7 -0
- package/es/api/resources/Revision.js.map +1 -0
- package/es/api/resources/Transaction.d.ts +2 -1
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +3 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/api/resources/WorkingSchedule.d.ts +6 -0
- package/es/api/resources/WorkingSchedule.d.ts.map +1 -0
- package/es/api/resources/WorkingSchedule.js +12 -0
- package/es/api/resources/WorkingSchedule.js.map +1 -0
- 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/Aspone.d.ts +2 -1
- package/es/types/Enum/Aspone.d.ts.map +1 -1
- package/es/types/Enum/Aspone.js +1 -0
- package/es/types/Enum/Aspone.js.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.d.ts +7 -1
- package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.js +6 -0
- package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/es/types/Enum/CerfaType.d.ts +2 -1
- package/es/types/Enum/CerfaType.d.ts.map +1 -1
- package/es/types/Enum/CerfaType.js +1 -0
- package/es/types/Enum/CerfaType.js.map +1 -1
- package/es/types/Enum/Currency.d.ts +4 -0
- package/es/types/Enum/Currency.d.ts.map +1 -0
- package/es/types/Enum/Currency.js +5 -0
- package/es/types/Enum/Currency.js.map +1 -0
- package/es/types/Enum/JeDeclare.d.ts +24 -0
- package/es/types/Enum/JeDeclare.d.ts.map +1 -0
- package/es/types/Enum/JeDeclare.js +28 -0
- package/es/types/Enum/JeDeclare.js.map +1 -0
- package/es/types/Enum/PartnerTransactionType.d.ts +3 -1
- package/es/types/Enum/PartnerTransactionType.d.ts.map +1 -1
- package/es/types/Enum/PartnerTransactionType.js +2 -0
- package/es/types/Enum/PartnerTransactionType.js.map +1 -1
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts +11 -0
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts.map +1 -0
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js +46 -0
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -0
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/es/types/Interface/api/aspone/Util.d.ts +2 -0
- package/es/types/Interface/api/aspone/Util.d.ts.map +1 -1
- package/es/types/Interface/api/aspone/Util.js.map +1 -1
- package/es/types/Interface/api/cerfa/2572.d.ts +149 -0
- package/es/types/Interface/api/cerfa/2572.d.ts.map +1 -0
- package/es/types/Interface/api/cerfa/2572.js +5 -0
- package/es/types/Interface/api/cerfa/2572.js.map +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.js +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts +7 -0
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts.map +1 -0
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js +37 -0
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -0
- package/es/types/Interface/api/jeDeclare/Util.d.ts +68 -0
- package/es/types/Interface/api/jeDeclare/Util.d.ts.map +1 -0
- package/es/types/Interface/api/jeDeclare/Util.js +2 -0
- package/es/types/Interface/api/jeDeclare/Util.js.map +1 -0
- package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts +23 -0
- package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts.map +1 -0
- package/es/types/Interface/api/jeDeclare/UtilCFONB.js +378 -0
- package/es/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -0
- package/es/types/Interface/api/log/CreateLog.d.ts +1 -0
- package/es/types/Interface/api/log/CreateLog.d.ts.map +1 -1
- package/es/types/Interface/api/log/CreateLog.js.map +1 -1
- package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.d.ts.map +1 -1
- package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js +0 -6
- package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.d.ts +2 -1
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevision.d.ts +6 -0
- package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -0
- package/es/types/Interface/api/revision/QueryRevision.js +29 -0
- package/es/types/Interface/api/revision/QueryRevision.js.map +1 -0
- package/es/types/Interface/api/revision/ReadRevision.d.ts +14 -0
- package/es/types/Interface/api/revision/ReadRevision.d.ts.map +1 -0
- package/es/types/Interface/api/revision/ReadRevision.js +2 -0
- package/es/types/Interface/api/revision/ReadRevision.js.map +1 -0
- package/es/types/Interface/api/revision/Revision.d.ts +5 -0
- package/es/types/Interface/api/revision/Revision.d.ts.map +1 -0
- package/es/types/Interface/api/revision/Revision.js +2 -0
- package/es/types/Interface/api/revision/Revision.js.map +1 -0
- package/es/types/Interface/api/revision/RevisionObject.d.ts +10 -0
- package/es/types/Interface/api/revision/RevisionObject.d.ts.map +1 -0
- package/es/types/Interface/api/revision/RevisionObject.js +2 -0
- package/es/types/Interface/api/revision/RevisionObject.js.map +1 -0
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +1 -0
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js +4 -0
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- 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/IUser.d.ts +1 -0
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/Interface/models/IWorkingSchedule.d.ts +3 -1
- package/es/types/Interface/models/IWorkingSchedule.d.ts.map +1 -1
- package/es/types/Interface/models/IWorkingSchedule.js.map +1 -1
- package/es/types/index.d.ts +10 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +10 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +2 -2
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/Revision.js +20 -0
- package/js/api/resources/Revision.js.map +1 -0
- package/js/api/resources/Transaction.js +6 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources/WorkingSchedule.js +23 -0
- package/js/api/resources/WorkingSchedule.js.map +1 -0
- package/js/api/resources.js +7 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Aspone.js +1 -0
- package/js/types/Enum/Aspone.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestion.js +7 -0
- package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/js/types/Enum/CerfaType.js +1 -0
- package/js/types/Enum/CerfaType.js.map +1 -1
- package/js/types/Enum/Currency.js +11 -0
- package/js/types/Enum/Currency.js.map +1 -0
- package/js/types/Enum/JeDeclare.js +40 -0
- package/js/types/Enum/JeDeclare.js.map +1 -0
- package/js/types/Enum/PartnerTransactionType.js +2 -0
- package/js/types/Enum/PartnerTransactionType.js.map +1 -1
- package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js +41 -0
- package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -0
- package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/js/types/Interface/api/aspone/Util.js.map +1 -1
- package/js/types/Interface/api/cerfa/2572.js +14 -0
- package/js/types/Interface/api/cerfa/2572.js.map +1 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js +12 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js +37 -0
- package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -0
- package/js/types/Interface/api/jeDeclare/Util.js +6 -0
- package/js/types/Interface/api/jeDeclare/Util.js.map +1 -0
- package/js/types/Interface/api/jeDeclare/UtilCFONB.js +394 -0
- package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -0
- package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js +2 -6
- package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevision.js +33 -0
- package/js/types/Interface/api/revision/QueryRevision.js.map +1 -0
- package/js/types/Interface/api/revision/ReadRevision.js +6 -0
- package/js/types/Interface/api/revision/ReadRevision.js.map +1 -0
- package/js/types/Interface/api/revision/Revision.js +6 -0
- package/js/types/Interface/api/revision/Revision.js.map +1 -0
- package/js/types/Interface/api/revision/RevisionObject.js +6 -0
- package/js/types/Interface/api/revision/RevisionObject.js.map +1 -0
- package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js +2 -0
- package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +3 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +120 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/GeneralLedger.ts +2 -2
- package/ts/api/resources/Revision.ts +8 -0
- package/ts/api/resources/Transaction.ts +5 -1
- package/ts/api/resources/WorkingSchedule.ts +12 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/Aspone.ts +1 -0
- package/ts/types/Enum/BalanceSheetQuestion.ts +7 -0
- package/ts/types/Enum/CerfaType.ts +1 -0
- package/ts/types/Enum/Currency.ts +3 -0
- package/ts/types/Enum/JeDeclare.ts +26 -0
- package/ts/types/Enum/PartnerTransactionType.ts +2 -0
- package/ts/types/Interface/api/accountingTransaction/DeleteInvoices.ts +37 -0
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
- package/ts/types/Interface/api/aspone/Util.ts +3 -0
- package/ts/types/Interface/api/cerfa/2572.ts +150 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +1 -0
- package/ts/types/Interface/api/jeDeclare/CreateDocumentsParams.ts +23 -0
- package/ts/types/Interface/api/jeDeclare/Util.ts +69 -0
- package/ts/types/Interface/api/jeDeclare/UtilCFONB.ts +387 -0
- package/ts/types/Interface/api/log/CreateLog.ts +1 -0
- package/ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts +0 -6
- package/ts/types/Interface/api/registration/CreateRegistration.ts +2 -1
- package/ts/types/Interface/api/revision/QueryRevision.ts +16 -0
- package/ts/types/Interface/api/revision/ReadRevision.ts +14 -0
- package/ts/types/Interface/api/revision/Revision.ts +5 -0
- package/ts/types/Interface/api/revision/RevisionObject.ts +10 -0
- package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +2 -0
- package/ts/types/Interface/models/IApiError.ts +2 -0
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/Interface/models/IWorkingSchedule.ts +3 -1
- package/ts/types/index.ts +10 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var JeDeclareTypeError = exports.JeDeclareTypeError = undefined;
|
|
7
|
+
|
|
8
|
+
(function (JeDeclareTypeError) {
|
|
9
|
+
JeDeclareTypeError["SUCCESS"] = "00";
|
|
10
|
+
JeDeclareTypeError["ERROR_AUTHENTIFICATION"] = "06";
|
|
11
|
+
JeDeclareTypeError["BAD_REQUEST"] = "05";
|
|
12
|
+
JeDeclareTypeError["INCORRECT_E_PROCESS"] = "11";
|
|
13
|
+
JeDeclareTypeError["TECHNICAL_ERROR"] = "99";
|
|
14
|
+
})(JeDeclareTypeError || (exports.JeDeclareTypeError = JeDeclareTypeError = {}));
|
|
15
|
+
|
|
16
|
+
var ListType = exports.ListType = undefined;
|
|
17
|
+
|
|
18
|
+
(function (ListType) {
|
|
19
|
+
ListType["ADS"] = "00";
|
|
20
|
+
ListType["ACS"] = "01";
|
|
21
|
+
ListType["ARS"] = "02";
|
|
22
|
+
ListType["RCP_RECEPTION"] = "03";
|
|
23
|
+
ListType["ACS_ARS_RCP_RECEPTION"] = "97";
|
|
24
|
+
ListType["ACS_ARS"] = "98";
|
|
25
|
+
ListType["ADS_ACS_ARS_RCP_RECEPTION"] = "99";
|
|
26
|
+
})(ListType || (exports.ListType = ListType = {}));
|
|
27
|
+
|
|
28
|
+
var ItemStatus = exports.ItemStatus = undefined;
|
|
29
|
+
|
|
30
|
+
(function (ItemStatus) {
|
|
31
|
+
ItemStatus["ALL_PIECES"] = "00";
|
|
32
|
+
ItemStatus["ALREADY_FETCHED_PIECES"] = "01";
|
|
33
|
+
})(ItemStatus || (exports.ItemStatus = ItemStatus = {}));
|
|
34
|
+
|
|
35
|
+
var ProcedureType = exports.ProcedureType = undefined;
|
|
36
|
+
|
|
37
|
+
(function (ProcedureType) {
|
|
38
|
+
ProcedureType["RELEVE"] = "RELEVE";
|
|
39
|
+
})(ProcedureType || (exports.ProcedureType = ProcedureType = {}));
|
|
40
|
+
//# sourceMappingURL=JeDeclare.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/JeDeclare.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,kBAMX,WANW,kBAMX,YAND;;AAAA,CAAA,UAAY,kBAAZ,EAA8B;AAC5B,EAAA,kBAAA,CAAA,SAAA,CAAA,GAAA,IAAA;AACA,EAAA,kBAAA,CAAA,wBAAA,CAAA,GAAA,IAAA;AACA,EAAA,kBAAA,CAAA,aAAA,CAAA,GAAA,IAAA;AACA,EAAA,kBAAA,CAAA,qBAAA,CAAA,GAAA,IAAA;AACA,EAAA,kBAAA,CAAA,iBAAA,CAAA,GAAA,IAAA;AACD,CAND,EAAY,kBAAkB,aAAlB,kBAAkB,GAAlB,kBAAkB,GAAA,EAAA,CAA9B;;AAQA,IAAY,QAQX,WARW,QAQX,YARD;;AAAA,CAAA,UAAY,QAAZ,EAAoB;AAClB,EAAA,QAAA,CAAA,KAAA,CAAA,GAAA,IAAA;AACA,EAAA,QAAA,CAAA,KAAA,CAAA,GAAA,IAAA;AACA,EAAA,QAAA,CAAA,KAAA,CAAA,GAAA,IAAA;AACA,EAAA,QAAA,CAAA,eAAA,CAAA,GAAA,IAAA;AACA,EAAA,QAAA,CAAA,uBAAA,CAAA,GAAA,IAAA;AACA,EAAA,QAAA,CAAA,SAAA,CAAA,GAAA,IAAA;AACA,EAAA,QAAA,CAAA,2BAAA,CAAA,GAAA,IAAA;AACD,CARD,EAAY,QAAQ,aAAR,QAAQ,GAAR,QAAQ,GAAA,EAAA,CAApB;;AAUA,IAAY,UAGX,WAHW,UAGX,YAHD;;AAAA,CAAA,UAAY,UAAZ,EAAsB;AACpB,EAAA,UAAA,CAAA,YAAA,CAAA,GAAA,IAAA;AACA,EAAA,UAAA,CAAA,wBAAA,CAAA,GAAA,IAAA;AACD,CAHD,EAAY,UAAU,aAAV,UAAU,GAAV,UAAU,GAAA,EAAA,CAAtB;;AAKA,IAAY,aAEX,WAFW,aAEX,YAFD;;AAAA,CAAA,UAAY,aAAZ,EAAyB;AACvB,EAAA,aAAA,CAAA,QAAA,CAAA,GAAA,QAAA;AACD,CAFD,EAAY,aAAa,aAAb,aAAa,GAAb,aAAa,GAAA,EAAA,CAAzB","sourcesContent":["export enum JeDeclareTypeError {\n SUCCESS = '00',\n ERROR_AUTHENTIFICATION = '06',\n BAD_REQUEST = '05',\n INCORRECT_E_PROCESS = '11',\n TECHNICAL_ERROR = '99',\n}\n\nexport enum ListType {\n ADS = '00',\n ACS = '01',\n ARS = '02',\n RCP_RECEPTION = '03',\n ACS_ARS_RCP_RECEPTION = '97',\n ACS_ARS = '98',\n ADS_ACS_ARS_RCP_RECEPTION = '99',\n}\n\nexport enum ItemStatus {\n ALL_PIECES = '00',\n ALREADY_FETCHED_PIECES = '01',\n}\n\nexport enum ProcedureType {\n RELEVE = 'RELEVE',\n}"],"sourceRoot":"","file":"JeDeclare.js"}
|
|
@@ -10,5 +10,7 @@ var PartnerTransactionType = exports.PartnerTransactionType = undefined;
|
|
|
10
10
|
PartnerTransactionType[PartnerTransactionType["BUDGET_INSIGHT"] = 2] = "BUDGET_INSIGHT";
|
|
11
11
|
PartnerTransactionType[PartnerTransactionType["QONTO"] = 3] = "QONTO";
|
|
12
12
|
PartnerTransactionType[PartnerTransactionType["SHINE"] = 4] = "SHINE";
|
|
13
|
+
PartnerTransactionType[PartnerTransactionType["STRIPE"] = 5] = "STRIPE";
|
|
14
|
+
PartnerTransactionType[PartnerTransactionType["JE_DECLARE"] = 6] = "JE_DECLARE";
|
|
13
15
|
})(PartnerTransactionType || (exports.PartnerTransactionType = PartnerTransactionType = {}));
|
|
14
16
|
//# sourceMappingURL=PartnerTransactionType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/types/Enum/PartnerTransactionType.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/PartnerTransactionType.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,sBAOX,WAPW,sBAOX,YAPD;;AAAA,CAAA,UAAY,sBAAZ,EAAkC;AAChC,EAAA,sBAAA,CAAA,sBAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;AACA,EAAA,sBAAA,CAAA,sBAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,gBAAA;AACA,EAAA,sBAAA,CAAA,sBAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;AACA,EAAA,sBAAA,CAAA,sBAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;AACA,EAAA,sBAAA,CAAA,sBAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA;AACA,EAAA,sBAAA,CAAA,sBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAA;AACD,CAPD,EAAY,sBAAsB,aAAtB,sBAAsB,GAAtB,sBAAsB,GAAA,EAAA,CAAlC","sourcesContent":["export enum PartnerTransactionType {\n OTHER = 1,\n BUDGET_INSIGHT = 2,\n QONTO = 3,\n SHINE = 4,\n STRIPE = 5,\n JE_DECLARE = 6,\n}"],"sourceRoot":"","file":"PartnerTransactionType.js"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryDeleteInvoices = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _ = require("../../..");
|
|
11
|
+
|
|
12
|
+
var _2 = require("../../../..");
|
|
13
|
+
|
|
14
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
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 QueryDeleteInvoices {}
|
|
29
|
+
|
|
30
|
+
exports.QueryDeleteInvoices = QueryDeleteInvoices;
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryDeleteInvoices.prototype, "startDate", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryDeleteInvoices.prototype, "endDate", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsIn)([_.AccountingJournal.AC, _.AccountingJournal.VE]), __metadata("design:type", Number)], QueryDeleteInvoices.prototype, "idAccountingJournal", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _classValidator.IsOptional)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryDeleteInvoices.prototype, "isLocked", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _classValidator.IsOptional)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryDeleteInvoices.prototype, "isExported", void 0);
|
|
41
|
+
//# sourceMappingURL=DeleteInvoices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/accountingTransaction/DeleteInvoices.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,mBAAP,CAA0B;;QAAnB,mB,GAAA,mB;;AAGX,UAAA,CAAA,CAFC,qBAED,EADC,6BACD,E,0BAAW,I,CAAX,CAAA,E,6BAAA,E,WAAA,E,KAAgB,CAAhB,CAAA;;AAIA,UAAA,CAAA,CAFC,qBAED,EADC,6BACD,E,0BAAS,I,CAAT,CAAA,E,6BAAA,E,SAAA,E,KAAc,CAAd,CAAA;;AAKA,UAAA,CAAA,CAHC,qBAGD,EAFC,+BAED,EADC,0BAAK,CAAC,oBAAkB,EAAnB,EAAuB,oBAAkB,EAAzC,CAAL,CACD,E,iCAAA,CAAA,E,6BAAA,E,qBAAA,E,KAA4B,CAA5B,CAAA;;AAMA,UAAA,CAAA,CAJC,6BAID,EAHC,gCAGD,EAFC,iCAED,EADC,yBACD,E,kCAAA,CAAA,E,6BAAA,E,UAAA,E,KAAmB,CAAnB,CAAA;;AAMA,UAAA,CAAA,CAJC,6BAID,EAHC,gCAGD,EAFC,iCAED,EADC,yBACD,E,kCAAA,CAAA,E,6BAAA,E,YAAA,E,KAAqB,CAArB,CAAA","sourcesContent":["import {\n IsBoolean, IsDate, IsIn, IsNumber, IsOptional,\n} from 'class-validator';\nimport { AccountingJournal } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryDeleteInvoices {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsNumber()\n @IsIn([AccountingJournal.AC, AccountingJournal.VE])\n idAccountingJournal: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n @ToBoolean()\n isLocked?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n @ToBoolean()\n isExported?: boolean;\n}\n\nexport interface ReadDeletedInvoices {\n deletedTransactions: number;\n}\n"],"sourceRoot":"","file":"DeleteInvoices.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/aspone/ReadInterchange.ts"],"names":[],"mappings":";;;;;;AAkBM,MAAO,eAAP,CAAsB;;QAAf,e,GAAA,e;;AAYP,MAAO,eAAP,CAAsB;;QAAf,e,GAAA,e;;AAQP,MAAO,eAAP,CAAsB;;QAAf,e,GAAA,e;;AAUP,MAAO,QAAP,CAAe;;QAAR,Q,GAAA,Q","sourcesContent":["export type PaymentState = {\n isError: boolean;\n details: string[];\n};\n\ntype Interchange = {\n name: string |null;\n label: string|null;\n isError: boolean;\n isFinal: boolean;\n date: string|null;\n detailledLabel?: string|null\n};\n\nexport type InterchangeState = Array<Interchange>;\n\nexport type InterchangeHistory = Interchange & { stateDetailsHistory: InterchangeState };\n\nexport class ReadDeclaration {\n idDeclaration: string;\n type: string;\n declarationType: {\n code: string| null;\n label: string | null\n };\n payment: PaymentState;\n dld: any;\n states: InterchangeHistory[];\n}\n\nexport class ReadInterchange {\n idDeposit: string;\n date: string;\n idInterchange: string;\n history: InterchangeHistory[];\n declarations: ReadDeclaration[];\n}\n\nexport class RedactorAddress {\n adresseNumero: string;\n adresseType: string | null;\n adresseVoie: string;\n adresseComplement: string;\n adresseCodePostal: string;\n adresseVille: string;\n adresseCodePays: string;\n}\n\nexport class Redactor {\n siret: string;\n designation: string;\n designationSuite1: string;\n adresse: RedactorAddress;\n referenceDossier: string;\n}\n\ntype Tag = 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'DesignationSuite3';\ntype Tags = Array<{ description: string; tag: Tag; value: any }>;\n\ninterface FieldForGeneration {\n tag?: Tag;\n tags?: Tags,\n description?: string;\n key: string;\n value?: any;\n isMultiple: boolean;\n}\n\nexport interface PayloadForRegistration {\n isTest: boolean;\n redactor: Redactor;\n indebted: any;\n forms: Array<{ name: string; fields: FieldForGeneration[] }>;\n xml
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/aspone/ReadInterchange.ts"],"names":[],"mappings":";;;;;;AAkBM,MAAO,eAAP,CAAsB;;QAAf,e,GAAA,e;;AAYP,MAAO,eAAP,CAAsB;;QAAf,e,GAAA,e;;AAQP,MAAO,eAAP,CAAsB;;QAAf,e,GAAA,e;;AAUP,MAAO,QAAP,CAAe;;QAAR,Q,GAAA,Q","sourcesContent":["export type PaymentState = {\n isError: boolean;\n details: string[];\n};\n\ntype Interchange = {\n name: string |null;\n label: string|null;\n isError: boolean;\n isFinal: boolean;\n date: string|null;\n detailledLabel?: string|null\n};\n\nexport type InterchangeState = Array<Interchange>;\n\nexport type InterchangeHistory = Interchange & { stateDetailsHistory: InterchangeState };\n\nexport class ReadDeclaration {\n idDeclaration: string;\n type: string;\n declarationType: {\n code: string| null;\n label: string | null\n };\n payment: PaymentState;\n dld: any;\n states: InterchangeHistory[];\n}\n\nexport class ReadInterchange {\n idDeposit: string;\n date: string;\n idInterchange: string;\n history: InterchangeHistory[];\n declarations: ReadDeclaration[];\n}\n\nexport class RedactorAddress {\n adresseNumero: string;\n adresseType: string | null;\n adresseVoie: string;\n adresseComplement: string;\n adresseCodePostal: string;\n adresseVille: string;\n adresseCodePays: string;\n}\n\nexport class Redactor {\n siret: string;\n designation: string;\n designationSuite1: string;\n adresse: RedactorAddress;\n referenceDossier: string;\n}\n\ntype Tag = 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'DesignationSuite3';\ntype Tags = Array<{ description: string; tag: Tag; value: any }>;\n\ninterface FieldForGeneration {\n tag?: Tag;\n tags?: Tags,\n description?: string;\n key: string;\n value?: any;\n isMultiple: boolean;\n}\n\nexport interface PayloadForRegistration {\n isTest: boolean;\n redactor: Redactor;\n indebted: any;\n forms: Array<{ name: string; fields: FieldForGeneration[] }>;\n xml?: string\n}"],"sourceRoot":"","file":"ReadInterchange.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/aspone/Util.ts"],"names":[],"mappings":";;;;;;AAEM,MAAO,cAAP,CAAqB;;QAAd,c,GAAA,c;;
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/aspone/Util.ts"],"names":[],"mappings":";;;;;;AAEM,MAAO,cAAP,CAAqB;;QAAd,c,GAAA,c;;AAQP,MAAO,IAAP,CAAW;;QAAJ,I,GAAA,I;;AAKP,MAAO,UAAP,CAAiB;;QAAV,U,GAAA,U;;AASP,MAAO,kBAAP,CAAyB;;QAAlB,kB,GAAA,kB;;AAWP,MAAO,oBAAP,CAA2B;;QAApB,oB,GAAA,oB;;AAMP,MAAO,sBAAP,CAA6B;;QAAtB,sB,GAAA,sB;;AAUP,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAYP,MAAO,sBAAP,CAA6B;;QAAtB,sB,GAAA,sB","sourcesContent":["import { InterchangeHistory, PaymentState, Rof } from '../../..';\n\nexport class PasswordDigest {\n nonce: string;\n created: string;\n passwordDigest: string;\n}\n\nexport type ProcessType = 'DADS-U' | 'TDFC' | 'TVA' | 'DUCS' | 'DUE' | 'PAIEMENT' | 'AED' | 'DSI' | 'DSN' | 'REQUETE' | 'IR' | 'DRP' | 'DPAE' | 'OGA' | 'PART' | 'WEB_TDFC' | 'WEB_TVA' | 'WEB_PAIEMENT' | 'WEB_REQUETE' | 'WEB_PART';\n\nexport class WSDL {\n deposit: string;\n monitoring: string;\n}\n\nexport class AccessKeys {\n login: string;\n password: string;\n loginMB: string;\n passwordMB: string;\n apiKey: string;\n wsdl: WSDL;\n}\n\nexport class RegistrationParams {\n subject: string;\n idSociety: number;\n file: {\n buffer: Buffer,\n token: string\n };\n forceTestMode: boolean;\n processType: ProcessType;\n}\n\nexport class RegistrationResponse {\n status: number;\n response: string;\n depositId: string | null;\n}\n\nexport class IndebtedIdentification {\n identifiant: string;\n designation: string;\n adresseVoie: string;\n adresseCodePostal: string;\n adresseVille: string;\n adresseCodePays: string;\n rof: Rof;\n}\n\nexport class StateHistory {\n name: string[];\n label: string[];\n isError: string[];\n isFinal: string[];\n date: string[];\n}\n\nexport type DeclarationStateHistory = StateHistory & { stateDetailsHistory: Array<{ stateDetail: InterchangeHistory[] }> };\n\nexport type DeclarationType = { code: string[]; libelle: string[] };\n\nexport class InterchangeDeclaration {\n interchange: [];\n numInterchangeDestinataire:string[];\n recipient: {\n name: string[];\n type: string[]\n };\n periodStart: string[];\n periodEnd: string[];\n nameDosier: string[];\n numDossier: string[];\n declarationId: string[];\n declarantSiret: string[];\n declarationType: DeclarationType[];\n statesHistory: Array<{ stateHistory: DeclarationStateHistory[] }>;\n dld: any[];\n}\n\nexport type DeclarationStates = {\n status: number;\n declarationType: {\n code: string| null;\n label: string | null\n }; type: string;\n payment: PaymentState;\n states: InterchangeHistory[],\n dld: any;\n idDeclaration: string|null\n};\nexport type InterchangeParsed = Array<{\n interchange: Array<{\n depositId: string[];\n depositDate: string[];\n depositSubject: string[];\n interchangeId: string[];\n numADS: string[];\n adsDate: string[];\n alias: string[];\n version: string[];\n isTest: string[];\n deposantAccount: string[];\n teleProdecure: string[];\n statesHistory: Array<{\n stateHistory: DeclarationStateHistory[]\n }>;\n declarationIds: string[];\n }>\n}>;"],"sourceRoot":"","file":"Util.js"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
class Cerfa2572 {}
|
|
8
|
+
|
|
9
|
+
exports.Cerfa2572 = Cerfa2572;
|
|
10
|
+
|
|
11
|
+
class ParamsGenerate2572 {}
|
|
12
|
+
|
|
13
|
+
exports.ParamsGenerate2572 = ParamsGenerate2572;
|
|
14
|
+
//# sourceMappingURL=2572.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/cerfa/2572.ts"],"names":[],"mappings":";;;;;;AAsIM,MAAO,SAAP,CAAgB;;QAAT,S,GAAA,S;;AAeP,MAAO,kBAAP,CAAyB;;QAAlB,kB,GAAA,kB","sourcesContent":["type BaseAndAmount = {\n base: number;\n amount: number;\n};\n\ntype Tax = {\n normalRate: BaseAndAmount;\n normalRate2: BaseAndAmount;\n reduceRate: BaseAndAmount;\n addedValue: { amount: number; }\n other: { amount: number; }\n total: number;\n};\n\ntype Exercice = {\n startDate: string;\n endDate: string;\n};\n\ntype Society = {\n name: string;\n address: string;\n};\n\ntype PreFinancingWithAmount = {\n preFinancing: number;\n amount: number;\n};\n\ntype Debts = {\n onCompanyTax: number;\n notOnCompanyTax: number;\n VEL: number;\n PRE: number;\n new: number;\n companyTaxAfterImputation: number;\n reducedTax: {\n inEurope: number;\n amount: number;\n }\n balanceInPreviousExercises: number;\n jobCredit: PreFinancingWithAmount;\n jobCreditForLongExercises: PreFinancingWithAmount;\n jobCreditForPreviousExercises: number;\n corse: number;\n CORInPreviousExercise: number;\n deficit: number;\n RADInPreviousExercise: number;\n CIRcredit: number;\n CIRsolde: number;\n reportedInLine2B11: number;\n subTotal: number;\n inDepositLimit: number;\n balanceDebtInPreviousExercises: number;\n FOR: number;\n RAC: number;\n FAM: number;\n CIN: number;\n BIO: number;\n PHO: number;\n AUD: number;\n ART: number;\n CJV: number;\n CPE: number;\n CCI: number;\n PTR: number;\n CIO: PreFinancingWithAmount;\n COL: PreFinancingWithAmount;\n CSV: number;\n CAC: number;\n REB: number;\n BLC: number;\n RTD: number;\n CPG: number;\n HVE: number;\n newUnlistedReceivables: number;\n inLine2C22: number;\n subTotal2: number;\n afterImputation: number;\n payment: number;\n taxAmount: number;\n CSB: { base: number };\n};\n\ntype SocialContribution = {\n CSB: BaseAndAmount;\n strangers: number;\n onCompanyTax: number;\n payment: number;\n};\n\ntype YearlyContribution = {\n onRent: number;\n amount: number;\n payment: number;\n};\n\ntype AmountToPayWithOverage = {\n amountToPay: number;\n overage: number;\n};\n\ntype Summary = {\n companyTax: AmountToPayWithOverage\n socialContribution: AmountToPayWithOverage;\n yearlyContribution: AmountToPayWithOverage;\n total: AmountToPayWithOverage\n amountToPay: number;\n overage: number;\n imputedOverage: number;\n contribution: number;\n limitDate: string;\n amountToInpute: number;\n overageRefundAsked: number;\n};\n\ntype Payment = {\n date: number;\n phone: number;\n isTransfer: number;\n isCheck: number;\n isElectronicPayment: number;\n contribution: number;\n limitDate: number;\n amountToInpute: number;\n};\n\ntype Administration = {\n amount: number;\n date: string;\n operationNumber: number;\n receptionDate: string;\n};\n\nexport class Cerfa2572 {\n siren: string;\n exercice: Exercice;\n society: Society;\n tax: Tax;\n debts: Debts;\n socialContribution: SocialContribution;\n yearlyContribution: YearlyContribution;\n summary: Summary;\n payment: Payment;\n administration?: Administration;\n}\n\nexport type Prepare2572Params = { idSociety: number; idExercice: number; values: Cerfa2572 };\n\nexport class ParamsGenerate2572 {}"],"sourceRoot":"","file":"2572.js"}
|
|
@@ -63,4 +63,16 @@ Object.keys(_5).forEach(function (key) {
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
});
|
|
66
|
+
|
|
67
|
+
var _6 = require("./2572");
|
|
68
|
+
|
|
69
|
+
Object.keys(_6).forEach(function (key) {
|
|
70
|
+
if (key === "default" || key === "__esModule") return;
|
|
71
|
+
Object.defineProperty(exports, key, {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () {
|
|
74
|
+
return _6[key];
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
});
|
|
66
78
|
//# sourceMappingURL=CreateCerfa.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/cerfa/CreateCerfa.ts"],"names":[],"mappings":";;;;;;;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["import { VehicleCerfaFuel } from '../../../Enum/Vehicle';\n\nexport * from './2031';\nexport * from './2033';\nexport * from './2035';\nexport * from './2050';\nexport * from './2065';\n\nexport interface DeterminedResult {\n incomeExpenditure: boolean; // d'après les règles « recettes-dépenses »\n debts: boolean; // d'après les règles « créances-dettes »\n}\n\nexport type AccountingKept = 'dutyFree' | 'taxIncluded' | 'notSubjectToVat';\nexport type CerfaCivility = 'M' | 'Mme' | 'Mlle';\n\nexport interface AccreditedOrganization {\n isMember: boolean;\n memberSince: Date;\n numberOfEmployees: string;\n netWagesReceived: number; // Salaires nets perçus\n}\n\nexport interface Vehicle {\n name: string;\n type: string;\n fiscalPower: number;\n isBNCScale: boolean;\n isBICScale: boolean;\n fuel: VehicleCerfaFuel;\n professionalKilometers: number;\n deductible: number;\n depreciationPracticedAtReintegrate: number;\n}\n\nexport interface MoralShareholder {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n shares: number;\n address: {\n number: number | undefined;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n };\n}\n\nexport interface PhysicShareholder {\n civility: CerfaCivility;\n firstname: string;\n lastname: string;\n percentShares: number;\n marriedName: string | null | undefined;\n shares: number | null;\n birth: {\n date: string;\n department: string | undefined;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n },\n address: {\n street: string | undefined;\n zipCode: string | undefined;\n city: string | undefined;\n country: string | undefined;\n countryCode: string | null | undefined;\n number: string | undefined;\n }\n}\n\nexport interface Subsidiarie {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n address: {\n number: number;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n };\n}"],"sourceRoot":"","file":"CreateCerfa.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/cerfa/CreateCerfa.ts"],"names":[],"mappings":";;;;;;;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["import { VehicleCerfaFuel } from '../../../Enum/Vehicle';\n\nexport * from './2031';\nexport * from './2033';\nexport * from './2035';\nexport * from './2050';\nexport * from './2065';\nexport * from './2572';\n\nexport interface DeterminedResult {\n incomeExpenditure: boolean; // d'après les règles « recettes-dépenses »\n debts: boolean; // d'après les règles « créances-dettes »\n}\n\nexport type AccountingKept = 'dutyFree' | 'taxIncluded' | 'notSubjectToVat';\nexport type CerfaCivility = 'M' | 'Mme' | 'Mlle';\n\nexport interface AccreditedOrganization {\n isMember: boolean;\n memberSince: Date;\n numberOfEmployees: string;\n netWagesReceived: number; // Salaires nets perçus\n}\n\nexport interface Vehicle {\n name: string;\n type: string;\n fiscalPower: number;\n isBNCScale: boolean;\n isBICScale: boolean;\n fuel: VehicleCerfaFuel;\n professionalKilometers: number;\n deductible: number;\n depreciationPracticedAtReintegrate: number;\n}\n\nexport interface MoralShareholder {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n shares: number;\n address: {\n number: number | undefined;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n };\n}\n\nexport interface PhysicShareholder {\n civility: CerfaCivility;\n firstname: string;\n lastname: string;\n percentShares: number;\n marriedName: string | null | undefined;\n shares: number | null;\n birth: {\n date: string;\n department: string | undefined;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n },\n address: {\n street: string | undefined;\n zipCode: string | undefined;\n city: string | undefined;\n country: string | undefined;\n countryCode: string | null | undefined;\n number: string | undefined;\n }\n}\n\nexport interface Subsidiarie {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n address: {\n number: number;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n };\n}"],"sourceRoot":"","file":"CreateCerfa.js"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateDocumentsParams = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _ = require("../../../..");
|
|
11
|
+
|
|
12
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
13
|
+
|
|
14
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length,
|
|
16
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
17
|
+
d;
|
|
18
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
23
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
class CreateDocumentsParams {}
|
|
27
|
+
|
|
28
|
+
exports.CreateDocumentsParams = CreateDocumentsParams;
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateDocumentsParams.prototype, "itemStatus", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateDocumentsParams.prototype, "procedureType", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateDocumentsParams.prototype, "listType", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateDocumentsParams.prototype, "forceTestMode", void 0);
|
|
37
|
+
//# sourceMappingURL=CreateDocumentsParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/jeDeclare/CreateDocumentsParams.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,qBAAP,CAA4B;;QAArB,qB,GAAA,qB;;AAGX,UAAA,CAAA,CAFC,oBAED,EADC,+BACD,E,iCAAA,CAAA,E,+BAAA,E,YAAA,E,KAAmB,CAAnB,CAAA;;AAIA,UAAA,CAAA,CAFC,oBAED,EADC,+BACD,E,iCAAA,CAAA,E,+BAAA,E,eAAA,E,KAAsB,CAAtB,CAAA;;AAIA,UAAA,CAAA,CAFC,oBAED,EADC,+BACD,E,iCAAA,CAAA,E,+BAAA,E,UAAA,E,KAAiB,CAAjB,CAAA;;AAMA,UAAA,CAAA,CAJC,4BAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,+BAAA,E,eAAA,E,KAAwB,CAAxB,CAAA","sourcesContent":["import { IsBoolean, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateDocumentsParams {\n @ApiProperty()\n @IsString()\n itemStatus: string;\n\n @ApiProperty()\n @IsString()\n procedureType: string;\n\n @ApiProperty()\n @IsString()\n listType: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n forceTestMode?: boolean;\n}"],"sourceRoot":"","file":"CreateDocumentsParams.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"Util.js"}
|
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.initializeCFONBStructreObject = initializeCFONBStructreObject;
|
|
7
|
+
exports.codeInterbankToTypeAmount = codeInterbankToTypeAmount;
|
|
8
|
+
const CFONB_START_LINE = exports.CFONB_START_LINE = 0;
|
|
9
|
+
const CFONB_START_LINE_LENGTH = exports.CFONB_START_LINE_LENGTH = 2;
|
|
10
|
+
const CFFONB_LINE_LENGHT = exports.CFFONB_LINE_LENGHT = 120;
|
|
11
|
+
const CFONB_PREVIOUS_BALANCE_CODE = exports.CFONB_PREVIOUS_BALANCE_CODE = '01';
|
|
12
|
+
const CFONB_DETAIL_ENTRY_CODE = exports.CFONB_DETAIL_ENTRY_CODE = '04';
|
|
13
|
+
const CFONB_COMPLEMENTARY_LABEL_CODE = exports.CFONB_COMPLEMENTARY_LABEL_CODE = '05';
|
|
14
|
+
const CFONB_NEW_BALANCE_CODE = exports.CFONB_NEW_BALANCE_CODE = '07';
|
|
15
|
+
const CFONB_PREVIOUS_BALANCE = exports.CFONB_PREVIOUS_BALANCE = {
|
|
16
|
+
recordCode: [{
|
|
17
|
+
start: 1,
|
|
18
|
+
length: 2
|
|
19
|
+
}],
|
|
20
|
+
bankCode: [{
|
|
21
|
+
start: 3,
|
|
22
|
+
length: 5
|
|
23
|
+
}],
|
|
24
|
+
designatedArea1: [{
|
|
25
|
+
start: 8,
|
|
26
|
+
length: 4
|
|
27
|
+
}],
|
|
28
|
+
counterCode: [{
|
|
29
|
+
start: 12,
|
|
30
|
+
length: 5
|
|
31
|
+
}],
|
|
32
|
+
currencyCode: [{
|
|
33
|
+
start: 17,
|
|
34
|
+
length: 3
|
|
35
|
+
}],
|
|
36
|
+
decimalNumber: [{
|
|
37
|
+
start: 20,
|
|
38
|
+
length: 1
|
|
39
|
+
}],
|
|
40
|
+
designatedArea2: [{
|
|
41
|
+
start: 21,
|
|
42
|
+
length: 1
|
|
43
|
+
}],
|
|
44
|
+
accountNumber: [{
|
|
45
|
+
start: 22,
|
|
46
|
+
length: 11
|
|
47
|
+
}],
|
|
48
|
+
designatedArea3: [{
|
|
49
|
+
start: 33,
|
|
50
|
+
length: 2
|
|
51
|
+
}],
|
|
52
|
+
previousSoldeDate: [{
|
|
53
|
+
start: 35,
|
|
54
|
+
length: 6
|
|
55
|
+
}],
|
|
56
|
+
designatedArea4: [{
|
|
57
|
+
start: 41,
|
|
58
|
+
length: 50
|
|
59
|
+
}],
|
|
60
|
+
amount: [{
|
|
61
|
+
start: 91,
|
|
62
|
+
length: 14
|
|
63
|
+
}],
|
|
64
|
+
designatedArea5: [{
|
|
65
|
+
start: 105,
|
|
66
|
+
length: 16
|
|
67
|
+
}]
|
|
68
|
+
};
|
|
69
|
+
const CFONB_ENTRY_DETAIL = exports.CFONB_ENTRY_DETAIL = {
|
|
70
|
+
recordCode: [{
|
|
71
|
+
start: 1,
|
|
72
|
+
length: 2
|
|
73
|
+
}],
|
|
74
|
+
bankCode: [{
|
|
75
|
+
start: 3,
|
|
76
|
+
length: 5
|
|
77
|
+
}],
|
|
78
|
+
operationSGCode: [{
|
|
79
|
+
start: 8,
|
|
80
|
+
length: 4
|
|
81
|
+
}],
|
|
82
|
+
counterCode: [{
|
|
83
|
+
start: 12,
|
|
84
|
+
length: 5
|
|
85
|
+
}],
|
|
86
|
+
currencyCode: [{
|
|
87
|
+
start: 17,
|
|
88
|
+
length: 3
|
|
89
|
+
}],
|
|
90
|
+
decimalNumber: [{
|
|
91
|
+
start: 20,
|
|
92
|
+
length: 1
|
|
93
|
+
}],
|
|
94
|
+
SITIndex: [{
|
|
95
|
+
start: 21,
|
|
96
|
+
length: 1
|
|
97
|
+
}],
|
|
98
|
+
accountNumber: [{
|
|
99
|
+
start: 22,
|
|
100
|
+
length: 11
|
|
101
|
+
}],
|
|
102
|
+
operationInterbank_code: [{
|
|
103
|
+
start: 33,
|
|
104
|
+
length: 2
|
|
105
|
+
}],
|
|
106
|
+
entryDate: [{
|
|
107
|
+
start: 35,
|
|
108
|
+
length: 6
|
|
109
|
+
}],
|
|
110
|
+
rejectMotifCode: [{
|
|
111
|
+
start: 41,
|
|
112
|
+
length: 2
|
|
113
|
+
}],
|
|
114
|
+
valueDate: [{
|
|
115
|
+
start: 43,
|
|
116
|
+
length: 6
|
|
117
|
+
}],
|
|
118
|
+
operationLabel: [{
|
|
119
|
+
start: 49,
|
|
120
|
+
length: 31
|
|
121
|
+
}],
|
|
122
|
+
designatedArea1: [{
|
|
123
|
+
start: 80,
|
|
124
|
+
length: 2
|
|
125
|
+
}],
|
|
126
|
+
entryNumber: [{
|
|
127
|
+
start: 82,
|
|
128
|
+
length: 7
|
|
129
|
+
}],
|
|
130
|
+
exonerationCode: [{
|
|
131
|
+
start: 89,
|
|
132
|
+
length: 1
|
|
133
|
+
}],
|
|
134
|
+
designatedArea2: [{
|
|
135
|
+
start: 90,
|
|
136
|
+
length: 1
|
|
137
|
+
}],
|
|
138
|
+
amount: [{
|
|
139
|
+
start: 91,
|
|
140
|
+
length: 14
|
|
141
|
+
}],
|
|
142
|
+
operationRef: [{
|
|
143
|
+
start: 105,
|
|
144
|
+
length: 16
|
|
145
|
+
}]
|
|
146
|
+
};
|
|
147
|
+
const CFONB_COMPLEMENTARY_LABEL = exports.CFONB_COMPLEMENTARY_LABEL = {
|
|
148
|
+
recordCode: [{
|
|
149
|
+
start: 1,
|
|
150
|
+
length: 2
|
|
151
|
+
}],
|
|
152
|
+
bankCode: [{
|
|
153
|
+
start: 3,
|
|
154
|
+
length: 5
|
|
155
|
+
}],
|
|
156
|
+
operationSGCode: [{
|
|
157
|
+
start: 8,
|
|
158
|
+
length: 4
|
|
159
|
+
}],
|
|
160
|
+
counterCode: [{
|
|
161
|
+
start: 12,
|
|
162
|
+
length: 5
|
|
163
|
+
}],
|
|
164
|
+
designatedArea1: [{
|
|
165
|
+
start: 17,
|
|
166
|
+
length: 5
|
|
167
|
+
}],
|
|
168
|
+
account_Number: [{
|
|
169
|
+
start: 22,
|
|
170
|
+
length: 11
|
|
171
|
+
}],
|
|
172
|
+
operationInterbankCode: [{
|
|
173
|
+
start: 33,
|
|
174
|
+
length: 2
|
|
175
|
+
}],
|
|
176
|
+
entryDate: [{
|
|
177
|
+
start: 35,
|
|
178
|
+
length: 6
|
|
179
|
+
}],
|
|
180
|
+
complementaryLabel: [{
|
|
181
|
+
start: 41,
|
|
182
|
+
length: 41
|
|
183
|
+
}],
|
|
184
|
+
entryNumber: [{
|
|
185
|
+
start: 82,
|
|
186
|
+
length: 8
|
|
187
|
+
}],
|
|
188
|
+
designatedArea2: [{
|
|
189
|
+
start: 89,
|
|
190
|
+
length: 2
|
|
191
|
+
}],
|
|
192
|
+
'04Ammount': [{
|
|
193
|
+
start: 91,
|
|
194
|
+
length: 14
|
|
195
|
+
}],
|
|
196
|
+
designatedArea3: [{
|
|
197
|
+
start: 105,
|
|
198
|
+
length: 16
|
|
199
|
+
}]
|
|
200
|
+
};
|
|
201
|
+
const CFONB_NEW_BALANCE = exports.CFONB_NEW_BALANCE = {
|
|
202
|
+
recordCode: [{
|
|
203
|
+
start: 1,
|
|
204
|
+
length: 2
|
|
205
|
+
}],
|
|
206
|
+
bankCode: [{
|
|
207
|
+
start: 3,
|
|
208
|
+
length: 5
|
|
209
|
+
}],
|
|
210
|
+
designatedArea1: [{
|
|
211
|
+
start: 8,
|
|
212
|
+
length: 4
|
|
213
|
+
}],
|
|
214
|
+
counterCode: [{
|
|
215
|
+
start: 12,
|
|
216
|
+
length: 5
|
|
217
|
+
}],
|
|
218
|
+
currencyCode: [{
|
|
219
|
+
start: 17,
|
|
220
|
+
length: 3
|
|
221
|
+
}],
|
|
222
|
+
decimalNumber: [{
|
|
223
|
+
start: 20,
|
|
224
|
+
length: 1
|
|
225
|
+
}],
|
|
226
|
+
designatedArea2: [{
|
|
227
|
+
start: 21,
|
|
228
|
+
length: 1
|
|
229
|
+
}],
|
|
230
|
+
accountNumber: [{
|
|
231
|
+
start: 22,
|
|
232
|
+
length: 11
|
|
233
|
+
}],
|
|
234
|
+
designatedArea3: [{
|
|
235
|
+
start: 33,
|
|
236
|
+
length: 2
|
|
237
|
+
}],
|
|
238
|
+
dataNewBalance: [{
|
|
239
|
+
start: 35,
|
|
240
|
+
length: 6
|
|
241
|
+
}],
|
|
242
|
+
designatedArea4: [{
|
|
243
|
+
start: 41,
|
|
244
|
+
length: 50
|
|
245
|
+
}],
|
|
246
|
+
amount: [{
|
|
247
|
+
start: 91,
|
|
248
|
+
length: 14
|
|
249
|
+
}],
|
|
250
|
+
designatedArea5: [{
|
|
251
|
+
start: 105,
|
|
252
|
+
length: 16
|
|
253
|
+
}]
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
function initializeCFONBStructreObject(structure) {
|
|
257
|
+
let object = null;
|
|
258
|
+
Object.keys(structure).forEach(key => {
|
|
259
|
+
object = Object.assign({}, object ? Object.assign(Object.assign({}, object), {
|
|
260
|
+
[key]: null
|
|
261
|
+
}) : {
|
|
262
|
+
[key]: null
|
|
263
|
+
});
|
|
264
|
+
});
|
|
265
|
+
return object;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
function codeInterbankToTypeAmount(code) {
|
|
269
|
+
switch (code) {
|
|
270
|
+
case '02':
|
|
271
|
+
case '04':
|
|
272
|
+
case '05':
|
|
273
|
+
case '12':
|
|
274
|
+
case '13':
|
|
275
|
+
case '15':
|
|
276
|
+
case '16':
|
|
277
|
+
case '17':
|
|
278
|
+
case '18':
|
|
279
|
+
case '24':
|
|
280
|
+
case '25':
|
|
281
|
+
case '30':
|
|
282
|
+
case '31':
|
|
283
|
+
case '32':
|
|
284
|
+
case '35':
|
|
285
|
+
case '37':
|
|
286
|
+
case '39':
|
|
287
|
+
case '40':
|
|
288
|
+
case '45':
|
|
289
|
+
case '47':
|
|
290
|
+
case '49':
|
|
291
|
+
case '54':
|
|
292
|
+
case '57':
|
|
293
|
+
case '59':
|
|
294
|
+
case '63':
|
|
295
|
+
case '69':
|
|
296
|
+
case '71':
|
|
297
|
+
case '73':
|
|
298
|
+
case '74':
|
|
299
|
+
case '77':
|
|
300
|
+
case '78':
|
|
301
|
+
case '81':
|
|
302
|
+
case '85':
|
|
303
|
+
case '87':
|
|
304
|
+
case '89':
|
|
305
|
+
case '94':
|
|
306
|
+
case '97':
|
|
307
|
+
case 'A1':
|
|
308
|
+
case 'A2':
|
|
309
|
+
case 'A3':
|
|
310
|
+
case 'A4':
|
|
311
|
+
case 'B5':
|
|
312
|
+
case 'B6':
|
|
313
|
+
case 'C2':
|
|
314
|
+
case 'C3':
|
|
315
|
+
case 'C5':
|
|
316
|
+
return 'credit';
|
|
317
|
+
|
|
318
|
+
case '01':
|
|
319
|
+
case '03':
|
|
320
|
+
case '06':
|
|
321
|
+
case '07':
|
|
322
|
+
case '08':
|
|
323
|
+
case '10':
|
|
324
|
+
case '14':
|
|
325
|
+
case '19':
|
|
326
|
+
case '20':
|
|
327
|
+
case '21':
|
|
328
|
+
case '22':
|
|
329
|
+
case '23':
|
|
330
|
+
case '26':
|
|
331
|
+
case '27':
|
|
332
|
+
case '28':
|
|
333
|
+
case '29':
|
|
334
|
+
case '33':
|
|
335
|
+
case '36':
|
|
336
|
+
case '38':
|
|
337
|
+
case '44':
|
|
338
|
+
case '46':
|
|
339
|
+
case '48':
|
|
340
|
+
case '50':
|
|
341
|
+
case '53':
|
|
342
|
+
case '56':
|
|
343
|
+
case '58':
|
|
344
|
+
case '62':
|
|
345
|
+
case '64':
|
|
346
|
+
case '65':
|
|
347
|
+
case '66':
|
|
348
|
+
case '67':
|
|
349
|
+
case '68':
|
|
350
|
+
case '70':
|
|
351
|
+
case '72':
|
|
352
|
+
case '75':
|
|
353
|
+
case '76':
|
|
354
|
+
case '79':
|
|
355
|
+
case '80':
|
|
356
|
+
case '84':
|
|
357
|
+
case '88':
|
|
358
|
+
case '90':
|
|
359
|
+
case '95':
|
|
360
|
+
case '96':
|
|
361
|
+
case '98':
|
|
362
|
+
case 'A5':
|
|
363
|
+
case 'A6':
|
|
364
|
+
case 'B1':
|
|
365
|
+
case 'B2':
|
|
366
|
+
case 'B3':
|
|
367
|
+
case 'B4':
|
|
368
|
+
case 'C1':
|
|
369
|
+
case 'C4':
|
|
370
|
+
return 'debit';
|
|
371
|
+
// here we have a problème to infer the symbol for amount, because all this code have credit and debit. for now it will match credit when infering the amount in
|
|
372
|
+
// transformData function
|
|
373
|
+
|
|
374
|
+
case '11':
|
|
375
|
+
case '34':
|
|
376
|
+
case '41':
|
|
377
|
+
case '42':
|
|
378
|
+
case '43':
|
|
379
|
+
case '52':
|
|
380
|
+
case '55':
|
|
381
|
+
case '61':
|
|
382
|
+
case '82':
|
|
383
|
+
case '83':
|
|
384
|
+
case '91':
|
|
385
|
+
case '92':
|
|
386
|
+
case '93':
|
|
387
|
+
case '99':
|
|
388
|
+
return 'neutral';
|
|
389
|
+
|
|
390
|
+
default:
|
|
391
|
+
return 'unknown';
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
//# sourceMappingURL=UtilCFONB.js.map
|