@silexpert/core 0.4.13 → 0.4.14
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/BalanceSheet.d.ts +8 -0
- package/es/api/resources/BalanceSheet.d.ts.map +1 -0
- package/es/api/resources/BalanceSheet.js +12 -0
- package/es/api/resources/BalanceSheet.js.map +1 -0
- package/es/api/resources/Letter.d.ts +6 -0
- package/es/api/resources/Letter.d.ts.map +1 -0
- package/es/api/resources/Letter.js +7 -0
- package/es/api/resources/Letter.js.map +1 -0
- package/es/api/resources/Report.d.ts +14 -0
- package/es/api/resources/Report.d.ts.map +1 -0
- package/es/api/resources/Report.js +13 -0
- package/es/api/resources/Report.js.map +1 -0
- package/es/api/resources/User.d.ts +4 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +9 -0
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources.d.ts +8 -2
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +8 -2
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AccountingJournal.d.ts +2 -1
- package/es/types/Enum/AccountingJournal.d.ts.map +1 -1
- package/es/types/Enum/AccountingJournal.js +1 -0
- package/es/types/Enum/AccountingJournal.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts +21 -0
- package/es/types/Enum/BalanceSheet.d.ts.map +1 -0
- package/es/types/Enum/BalanceSheet.js +529 -0
- package/es/types/Enum/BalanceSheet.js.map +1 -0
- package/es/types/Enum/IncomeStatement.d.ts +1 -0
- package/es/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/es/types/Enum/IncomeStatement.js +5 -2
- package/es/types/Enum/IncomeStatement.js.map +1 -1
- package/es/types/Enum/LetterType.d.ts +47 -0
- package/es/types/Enum/LetterType.d.ts.map +1 -0
- package/es/types/Enum/LetterType.js +47 -0
- package/es/types/Enum/LetterType.js.map +1 -0
- package/es/types/Enum/ReportState.d.ts +31 -0
- package/es/types/Enum/ReportState.d.ts.map +1 -0
- package/es/types/Enum/ReportState.js +31 -0
- package/es/types/Enum/ReportState.js.map +1 -0
- package/es/types/Enum/ReportType.d.ts +27 -0
- package/es/types/Enum/ReportType.d.ts.map +1 -0
- package/es/types/Enum/ReportType.js +27 -0
- package/es/types/Enum/ReportType.js.map +1 -0
- package/es/types/Enum/Role.d.ts +7 -2
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js +6 -1
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +11 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js +2 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
- package/es/types/Interface/api/letter/CreateLetter.d.ts +15 -0
- package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -0
- package/es/types/Interface/api/letter/CreateLetter.js +57 -0
- package/es/types/Interface/api/letter/CreateLetter.js.map +1 -0
- package/es/types/Interface/api/report/CreateReport.d.ts +13 -0
- package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -0
- package/es/types/Interface/api/report/CreateReport.js +45 -0
- package/es/types/Interface/api/report/CreateReport.js.map +1 -0
- package/es/types/Interface/api/report/QueryReports.d.ts +9 -0
- package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -0
- package/es/types/Interface/api/report/QueryReports.js +37 -0
- package/es/types/Interface/api/report/QueryReports.js.map +1 -0
- package/es/types/Interface/api/report/ReadReport.d.ts +8 -0
- package/es/types/Interface/api/report/ReadReport.d.ts.map +1 -0
- package/es/types/Interface/api/report/ReadReport.js +2 -0
- package/es/types/Interface/api/report/ReadReport.js.map +1 -0
- package/es/types/Interface/api/user/CreateUser.d.ts +10 -0
- package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -0
- package/es/types/Interface/api/user/CreateUser.js +41 -0
- package/es/types/Interface/api/user/CreateUser.js.map +1 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts +4 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts.map +1 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.js +17 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
- package/es/types/Interface/models/IAccountingJournal.d.ts +2 -0
- package/es/types/Interface/models/IAccountingJournal.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingJournal.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +7 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +8 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/ILetter.d.ts +18 -14
- package/es/types/Interface/models/ILetter.d.ts.map +1 -1
- package/es/types/Interface/models/ILetter.js.map +1 -1
- package/es/types/Interface/models/IReport.d.ts +12 -11
- package/es/types/Interface/models/IReport.d.ts.map +1 -1
- package/es/types/Interface/models/IReport.js.map +1 -1
- package/es/types/Interface/models/IReportMessage.d.ts +1 -1
- package/es/types/Interface/models/IReportMessage.d.ts.map +1 -1
- package/es/types/Interface/models/IReportMessage.js.map +1 -1
- package/es/types/Interface/models/IReportType.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +0 -1
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/index.d.ts +15 -4
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +15 -4
- package/es/types/index.js.map +1 -1
- package/js/api/resources/BalanceSheet.js +23 -0
- package/js/api/resources/BalanceSheet.js.map +1 -0
- package/js/api/resources/Letter.js +18 -0
- package/js/api/resources/Letter.js.map +1 -0
- package/js/api/resources/Report.js +28 -0
- package/js/api/resources/Report.js.map +1 -0
- package/js/api/resources/User.js +14 -0
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources.js +12 -3
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AccountingJournal.js +1 -0
- package/js/types/Enum/AccountingJournal.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +438 -0
- package/js/types/Enum/BalanceSheet.js.map +1 -0
- package/js/types/Enum/IncomeStatement.js +5 -2
- package/js/types/Enum/IncomeStatement.js.map +1 -1
- package/js/types/Enum/LetterType.js +52 -0
- package/js/types/Enum/LetterType.js.map +1 -0
- package/js/types/Enum/ReportState.js +36 -0
- package/js/types/Enum/ReportState.js.map +1 -0
- package/js/types/Enum/ReportType.js +32 -0
- package/js/types/Enum/ReportType.js.map +1 -0
- package/js/types/Enum/Role.js +6 -1
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js +6 -0
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
- package/js/types/Interface/api/letter/CreateLetter.js +47 -0
- package/js/types/Interface/api/letter/CreateLetter.js.map +1 -0
- package/js/types/Interface/api/report/CreateReport.js +41 -0
- package/js/types/Interface/api/report/CreateReport.js.map +1 -0
- package/js/types/Interface/api/report/QueryReports.js +37 -0
- package/js/types/Interface/api/report/QueryReports.js.map +1 -0
- package/js/types/Interface/api/report/ReadReport.js +6 -0
- package/js/types/Interface/api/report/ReadReport.js.map +1 -0
- package/js/types/Interface/api/user/CreateUser.js +39 -0
- package/js/types/Interface/api/user/CreateUser.js.map +1 -0
- package/js/types/Interface/api/user/QueryUserSmsConfirmation.js +27 -0
- package/js/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +10 -2
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +156 -24
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheet.ts +12 -0
- package/ts/api/resources/Letter.ts +10 -0
- package/ts/api/resources/Report.ts +22 -0
- package/ts/api/resources/User.ts +12 -1
- package/ts/api/resources.ts +8 -2
- package/ts/types/Enum/AccountingJournal.ts +1 -0
- package/ts/types/Enum/BalanceSheet.ts +555 -0
- package/ts/types/Enum/IncomeStatement.ts +6 -2
- package/ts/types/Enum/LetterType.ts +46 -0
- package/ts/types/Enum/ReportState.ts +30 -0
- package/ts/types/Enum/ReportType.ts +26 -0
- package/ts/types/Enum/Role.ts +6 -1
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +10 -0
- package/ts/types/Interface/api/letter/CreateLetter.ts +37 -0
- package/ts/types/Interface/api/report/CreateReport.ts +29 -0
- package/ts/types/Interface/api/report/QueryReports.ts +21 -0
- package/ts/types/Interface/api/report/ReadReport.ts +9 -0
- package/ts/types/Interface/api/user/CreateUser.ts +18 -0
- package/ts/types/Interface/api/user/QueryUserSmsConfirmation.ts +6 -0
- package/ts/types/Interface/models/IAccountingJournal.ts +2 -0
- package/ts/types/Interface/models/IApiError.ts +11 -0
- package/ts/types/Interface/models/ILetter.ts +18 -14
- package/ts/types/Interface/models/IReport.ts +12 -11
- package/ts/types/Interface/models/IReportMessage.ts +1 -1
- package/ts/types/Interface/models/IReportType.ts +1 -1
- package/ts/types/Interface/models/ISociety.ts +0 -1
- package/ts/types/index.ts +15 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/LetterType.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,UAAU,WAAV,UAAU,GAAG;AACxB,EAAA,WAAW,EAAE;AACX,IAAA,EAAE,EAAE,CADO;AAEX,IAAA,IAAI,EAAE;AAFK,GADW;AAKxB,EAAA,qBAAqB,EAAE;AACrB,IAAA,EAAE,EAAE,CADiB;AAErB,IAAA,IAAI,EAAE;AAFe,GALC;AASxB,EAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE,CADI;AAER,IAAA,IAAI,EAAE;AAFE,GATc;AAaxB,EAAA,MAAM,EAAE;AACN,IAAA,EAAE,EAAE,CADE;AAEN,IAAA,IAAI,EAAE;AAFA,GAbgB;AAiBxB,EAAA,YAAY,EAAE;AACZ,IAAA,EAAE,EAAE,CADQ;AAEZ,IAAA,IAAI,EAAE;AAFM,GAjBU;AAqBxB,EAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE,CADI;AAER,IAAA,IAAI,EAAE;AAFE,GArBc;AAyBxB,EAAA,YAAY,EAAE;AACZ,IAAA,EAAE,EAAE,CADQ;AAEZ,IAAA,IAAI,EAAE;AAFM,GAzBU;AA6BxB,EAAA,KAAK,EAAE;AACL,IAAA,EAAE,EAAE,CADC;AAEL,IAAA,IAAI,EAAE;AAFD,GA7BiB;AAiCxB,EAAA,KAAK,EAAE;AACL,IAAA,EAAE,EAAE,CADC;AAEL,IAAA,IAAI,EAAE;AAFD,GAjCiB;AAqCxB,EAAA,iBAAiB,EAAE;AACjB,IAAA,EAAE,EAAE,EADa;AAEjB,IAAA,IAAI,EAAE;AAFW,GArCK;AAyCxB,EAAA,WAAW,EAAE;AACX,IAAA,EAAE,EAAE,EADO;AAEX,IAAA,IAAI,EAAE;AAFK;AAzCW,CAAnB","sourcesContent":["export const LetterType = {\n TERMINATION: {\n id: 1,\n name: 'Résiliation',\n },\n SATISFIED_OR_REFUNDED: {\n id: 2,\n name: 'Satisfait ou remboursé',\n },\n DOCUMENT: {\n id: 3,\n name: 'Documents',\n },\n CHEQUE: {\n id: 4,\n name: 'Chèque',\n },\n CANCELLATION: {\n id: 5,\n name: 'Radiation',\n },\n RECOVERY: {\n id: 6,\n name: 'Demande de reprise',\n },\n ORDER_LETTER: {\n id: 7,\n name: 'Lettre à l\\'Ordre',\n },\n CLAIM: {\n id: 8,\n name: 'Réclamation',\n },\n OTHER: {\n id: 9,\n name: 'Autre',\n },\n RECOVERY_RESPONSE: {\n id: 10,\n name: 'Rép. lettre de reprise',\n },\n NO_RESPONSE: {\n id: 11,\n name: 'Pas de réponse',\n },\n};"],"sourceRoot":"","file":"LetterType.js"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
const ReportState = exports.ReportState = {
|
|
7
|
+
TODO: {
|
|
8
|
+
id: 0,
|
|
9
|
+
name: 'Non traité'
|
|
10
|
+
},
|
|
11
|
+
SOLVED: {
|
|
12
|
+
id: 1,
|
|
13
|
+
name: 'Résolu'
|
|
14
|
+
},
|
|
15
|
+
ACCOUNTANT_WAITING: {
|
|
16
|
+
id: 2,
|
|
17
|
+
name: 'En attente du comptable'
|
|
18
|
+
},
|
|
19
|
+
CUSTOMER_WAITING: {
|
|
20
|
+
id: 3,
|
|
21
|
+
name: 'En attente du client'
|
|
22
|
+
},
|
|
23
|
+
REPLIED: {
|
|
24
|
+
id: 4,
|
|
25
|
+
name: 'Répondu'
|
|
26
|
+
},
|
|
27
|
+
SENT_LETTER: {
|
|
28
|
+
id: 5,
|
|
29
|
+
name: 'Courrier envoyé'
|
|
30
|
+
},
|
|
31
|
+
TO_BE_TERMINATED: {
|
|
32
|
+
id: 6,
|
|
33
|
+
name: 'À résilier'
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=ReportState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/ReportState.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,WAAW,WAAX,WAAW,GAAG;AACzB,EAAA,IAAI,EAAE;AACJ,IAAA,EAAE,EAAE,CADA;AAEJ,IAAA,IAAI,EAAE;AAFF,GADmB;AAKzB,EAAA,MAAM,EAAE;AACN,IAAA,EAAE,EAAE,CADE;AAEN,IAAA,IAAI,EAAE;AAFA,GALiB;AASzB,EAAA,kBAAkB,EAAE;AAClB,IAAA,EAAE,EAAE,CADc;AAElB,IAAA,IAAI,EAAE;AAFY,GATK;AAazB,EAAA,gBAAgB,EAAE;AAChB,IAAA,EAAE,EAAE,CADY;AAEhB,IAAA,IAAI,EAAE;AAFU,GAbO;AAiBzB,EAAA,OAAO,EAAE;AACP,IAAA,EAAE,EAAE,CADG;AAEP,IAAA,IAAI,EAAE;AAFC,GAjBgB;AAqBzB,EAAA,WAAW,EAAE;AACX,IAAA,EAAE,EAAE,CADO;AAEX,IAAA,IAAI,EAAE;AAFK,GArBY;AAyBzB,EAAA,gBAAgB,EAAE;AAChB,IAAA,EAAE,EAAE,CADY;AAEhB,IAAA,IAAI,EAAE;AAFU;AAzBO,CAApB","sourcesContent":["export const ReportState = {\n TODO: {\n id: 0,\n name: 'Non traité',\n },\n SOLVED: {\n id: 1,\n name: 'Résolu',\n },\n ACCOUNTANT_WAITING: {\n id: 2,\n name: 'En attente du comptable',\n },\n CUSTOMER_WAITING: {\n id: 3,\n name: 'En attente du client',\n },\n REPLIED: {\n id: 4,\n name: 'Répondu',\n },\n SENT_LETTER: {\n id: 5,\n name: 'Courrier envoyé',\n },\n TO_BE_TERMINATED: {\n id: 6,\n name: 'À résilier',\n },\n};"],"sourceRoot":"","file":"ReportState.js"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
const ReportType = exports.ReportType = {
|
|
7
|
+
LETTER: {
|
|
8
|
+
id: 1,
|
|
9
|
+
name: 'Lettre à l\'ordre'
|
|
10
|
+
},
|
|
11
|
+
FRAUD: {
|
|
12
|
+
id: 2,
|
|
13
|
+
name: 'Suspicion de fraude'
|
|
14
|
+
},
|
|
15
|
+
ATTITUDE: {
|
|
16
|
+
id: 3,
|
|
17
|
+
name: 'Attitude déplacée'
|
|
18
|
+
},
|
|
19
|
+
BLOCKED: {
|
|
20
|
+
id: 4,
|
|
21
|
+
name: 'Dossier bloqué'
|
|
22
|
+
},
|
|
23
|
+
NO_RESPONSE: {
|
|
24
|
+
id: 5,
|
|
25
|
+
name: 'Pas de réponse'
|
|
26
|
+
},
|
|
27
|
+
NEGATIVE_OPINION: {
|
|
28
|
+
id: 6,
|
|
29
|
+
name: 'Avis négatif'
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=ReportType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/ReportType.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,UAAU,WAAV,UAAU,GAAG;AACxB,EAAA,MAAM,EAAE;AACN,IAAA,EAAE,EAAE,CADE;AAEN,IAAA,IAAI,EAAE;AAFA,GADgB;AAKxB,EAAA,KAAK,EAAE;AACL,IAAA,EAAE,EAAE,CADC;AAEL,IAAA,IAAI,EAAE;AAFD,GALiB;AASxB,EAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE,CADI;AAER,IAAA,IAAI,EAAE;AAFE,GATc;AAaxB,EAAA,OAAO,EAAE;AACP,IAAA,EAAE,EAAE,CADG;AAEP,IAAA,IAAI,EAAE;AAFC,GAbe;AAiBxB,EAAA,WAAW,EAAE;AACX,IAAA,EAAE,EAAE,CADO;AAEX,IAAA,IAAI,EAAE;AAFK,GAjBW;AAqBxB,EAAA,gBAAgB,EAAE;AAChB,IAAA,EAAE,EAAE,CADY;AAEhB,IAAA,IAAI,EAAE;AAFU;AArBM,CAAnB","sourcesContent":["export const ReportType = {\n LETTER: {\n id: 1,\n name: 'Lettre à l\\'ordre',\n },\n FRAUD: {\n id: 2,\n name: 'Suspicion de fraude',\n },\n ATTITUDE: {\n id: 3,\n name: 'Attitude déplacée',\n },\n BLOCKED: {\n id: 4,\n name: 'Dossier bloqué',\n },\n NO_RESPONSE: {\n id: 5,\n name: 'Pas de réponse',\n },\n NEGATIVE_OPINION: {\n id: 6,\n name: 'Avis négatif',\n },\n};"],"sourceRoot":"","file":"ReportType.js"}
|
package/js/types/Enum/Role.js
CHANGED
|
@@ -10,7 +10,7 @@ var Role = exports.Role = undefined;
|
|
|
10
10
|
Role[Role["ADMIN"] = 2] = "ADMIN";
|
|
11
11
|
Role[Role["FRONT_OFFICE"] = 3] = "FRONT_OFFICE";
|
|
12
12
|
Role[Role["COMMERCIAL"] = 9] = "COMMERCIAL";
|
|
13
|
-
Role[Role["
|
|
13
|
+
Role[Role["CUSTOMER_SUCCESS"] = 10] = "CUSTOMER_SUCCESS";
|
|
14
14
|
Role[Role["SOCIAL"] = 11] = "SOCIAL";
|
|
15
15
|
Role[Role["JURIDIC"] = 12] = "JURIDIC";
|
|
16
16
|
Role[Role["CHIEF_ACCOUNTANT"] = 13] = "CHIEF_ACCOUNTANT";
|
|
@@ -28,5 +28,10 @@ var Role = exports.Role = undefined;
|
|
|
28
28
|
Role[Role["API"] = 26] = "API";
|
|
29
29
|
Role[Role["BACK_OFFICE"] = 27] = "BACK_OFFICE";
|
|
30
30
|
Role[Role["BACK_OFFICE_EXPRESS"] = 28] = "BACK_OFFICE_EXPRESS";
|
|
31
|
+
Role[Role["BACK_MANAGER"] = 30] = "BACK_MANAGER";
|
|
32
|
+
Role[Role["FRONT_MANAGER"] = 31] = "FRONT_MANAGER";
|
|
33
|
+
Role[Role["CUSTOMER_SUCCESS_MANAGER"] = 32] = "CUSTOMER_SUCCESS_MANAGER";
|
|
34
|
+
Role[Role["COMMERCIAL_MANAGER"] = 33] = "COMMERCIAL_MANAGER";
|
|
35
|
+
Role[Role["FACTURATION"] = 34] = "FACTURATION";
|
|
31
36
|
})(Role || (exports.Role = Role = {}));
|
|
32
37
|
//# sourceMappingURL=Role.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/types/Enum/Role.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/Role.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,IA4BX,WA5BW,IA4BX,YA5BD;;AAAA,CAAA,UAAY,IAAZ,EAAgB;AACd,EAAA,IAAA,CAAA,IAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,cAAA,CAAA,GAAA,CAAA,CAAA,GAAA,cAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,kBAAA,CAAA,GAAA,EAAA,CAAA,GAAA,kBAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,QAAA,CAAA,GAAA,EAAA,CAAA,GAAA,QAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,SAAA,CAAA,GAAA,EAAA,CAAA,GAAA,SAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,kBAAA,CAAA,GAAA,EAAA,CAAA,GAAA,kBAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,YAAA,CAAA,GAAA,EAAA,CAAA,GAAA,YAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,sBAAA,CAAA,GAAA,EAAA,CAAA,GAAA,sBAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,aAAA,CAAA,GAAA,EAAA,CAAA,GAAA,aAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,uBAAA,CAAA,GAAA,EAAA,CAAA,GAAA,uBAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,YAAA,CAAA,GAAA,EAAA,CAAA,GAAA,YAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,SAAA,CAAA,GAAA,EAAA,CAAA,GAAA,SAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,EAAA,CAAA,GAAA,mBAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,aAAA,CAAA,GAAA,EAAA,CAAA,GAAA,aAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,KAAA,CAAA,GAAA,EAAA,CAAA,GAAA,KAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,UAAA,CAAA,GAAA,EAAA,CAAA,GAAA,UAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,WAAA,CAAA,GAAA,EAAA,CAAA,GAAA,WAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,KAAA,CAAA,GAAA,EAAA,CAAA,GAAA,KAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,aAAA,CAAA,GAAA,EAAA,CAAA,GAAA,aAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,EAAA,CAAA,GAAA,qBAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,cAAA,CAAA,GAAA,EAAA,CAAA,GAAA,cAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,eAAA,CAAA,GAAA,EAAA,CAAA,GAAA,eAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,0BAAA,CAAA,GAAA,EAAA,CAAA,GAAA,0BAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,GAAA,EAAA,CAAA,GAAA,oBAAA;AACA,EAAA,IAAA,CAAA,IAAA,CAAA,aAAA,CAAA,GAAA,EAAA,CAAA,GAAA,aAAA;AACD,CA5BD,EAAY,IAAI,aAAJ,IAAI,GAAJ,IAAI,GAAA,EAAA,CAAhB","sourcesContent":["export enum Role {\n CLIENT = 1,\n ADMIN = 2,\n FRONT_OFFICE = 3,\n COMMERCIAL = 9,\n CUSTOMER_SUCCESS = 10,\n SOCIAL = 11,\n JURIDIC = 12,\n CHIEF_ACCOUNTANT = 13,\n SUPERVISOR = 14,\n FRONT_OFFICE_EXPRESS = 15,\n SUPER_ADMIN = 16,\n EXPERT_SUB_CONTRACTOR = 17,\n MAINTAINER = 18,\n MANAGER = 19,\n EXPERT_ACCOUNTANT = 20,\n MFA_PENDING = 21,\n VAT = 22,\n CANDIDAT = 24,\n DEVELOPER = 25,\n API = 26,\n BACK_OFFICE = 27,\n BACK_OFFICE_EXPRESS = 28,\n BACK_MANAGER = 30,\n FRONT_MANAGER = 31,\n CUSTOMER_SUCCESS_MANAGER = 32,\n COMMERCIAL_MANAGER = 33,\n FACTURATION = 34,\n}"],"sourceRoot":"","file":"Role.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"ReadBalanceSheet.js"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateLetter = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length,
|
|
12
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
13
|
+
d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
class CreateLetter {}
|
|
23
|
+
|
|
24
|
+
exports.CreateLetter = CreateLetter;
|
|
25
|
+
|
|
26
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateLetter.prototype, "idLetterType", void 0);
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateLetter.prototype, "idReport", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateLetter.prototype, "idSociety", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Date)], CreateLetter.prototype, "letterDate", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreateLetter.prototype, "complement", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateLetter.prototype, "fileType", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], CreateLetter.prototype, "isLRAR", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], CreateLetter.prototype, "isDone", void 0);
|
|
41
|
+
|
|
42
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], CreateLetter.prototype, "needResponse", void 0);
|
|
43
|
+
|
|
44
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreateLetter.prototype, "ARNumber", void 0);
|
|
45
|
+
|
|
46
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateLetter.prototype, "idAccountant", void 0);
|
|
47
|
+
//# sourceMappingURL=CreateLetter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/letter/CreateLetter.ts"],"names":[],"mappings":";;;;;;;AACA;;;;;;;;;;;;;;AAEM,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,UAAA,E,KAAkB,CAAlB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sBAAA,E,WAAA,E,KAAkB,CAAlB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,0BAAY,I,CAAZ,CAAA,E,sBAAA,E,YAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,YAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,UAAA,E,KAA8D,CAA9D,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAuB,CAAvB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,UAAA,E,KAAkB,CAAlB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAsB,CAAtB,CAAA","sourcesContent":["import { ILetter } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateLetter implements ILetter {\n @ApiProperty()\n idLetterType: number;\n\n @ApiPropertyOptional()\n idReport?: number;\n\n @ApiProperty()\n idSociety: number;\n\n @ApiProperty()\n letterDate: Date;\n\n @ApiPropertyOptional()\n complement?: string;\n\n @ApiPropertyOptional()\n fileType?: 'receivedFileObject' | 'responseFileObject' | null;\n\n @ApiPropertyOptional()\n isLRAR?: boolean;\n\n @ApiPropertyOptional()\n isDone?: boolean;\n\n @ApiPropertyOptional()\n needResponse?: boolean;\n\n @ApiPropertyOptional()\n ARNumber?: string;\n\n @ApiPropertyOptional()\n idAccountant?: number;\n}\n"],"sourceRoot":"","file":"CreateLetter.js"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateReport = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length,
|
|
12
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
13
|
+
d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
class CreateReport {}
|
|
23
|
+
|
|
24
|
+
exports.CreateReport = CreateReport;
|
|
25
|
+
|
|
26
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateReport.prototype, "idReportType", void 0);
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateReport.prototype, "idSociety", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateReport.prototype, "idUser", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateReport.prototype, "message", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreateReport.prototype, "search", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Date)], CreateReport.prototype, "letterDate", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateReport.prototype, "receivedFile", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateReport.prototype, "responseFile", void 0);
|
|
41
|
+
//# sourceMappingURL=CreateReport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;AACA;;;;;;;;;;;;;;AAGM,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAEX,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAsB,CAAtB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,WAAA,E,KAAmB,CAAnB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAe,CAAf,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sBAAA,E,SAAA,E,KAAgB,CAAhB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAgB,CAAhB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,0BAAY,I,CAAZ,CAAA,E,sBAAA,E,YAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAqB,CAArB,CAAA","sourcesContent":["import { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n message: string;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n letterDate: Date;\n\n @ApiPropertyOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n responseFile?: TFile;\n}\n"],"sourceRoot":"","file":"CreateReport.js"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryReports = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length,
|
|
12
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
13
|
+
d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
class QueryReports {}
|
|
23
|
+
|
|
24
|
+
exports.QueryReports = QueryReports;
|
|
25
|
+
|
|
26
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryReports.prototype, "idReportType", void 0);
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryReports.prototype, "idSociety", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QueryReports.prototype, "search", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryReports.prototype, "year", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryReports.prototype, "state", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryReports.prototype, "idUser", void 0);
|
|
37
|
+
//# sourceMappingURL=QueryReports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAEX,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAsB,CAAtB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,WAAA,E,KAAmB,CAAnB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAgB,CAAhB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,MAAA,E,KAAc,CAAd,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,OAAA,E,KAAe,CAAf,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAgB,CAAhB,CAAA","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number;\n}\n"],"sourceRoot":"","file":"QueryReports.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"ReadReport.js"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateUser = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length,
|
|
12
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
13
|
+
d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
class CreateUser {}
|
|
23
|
+
|
|
24
|
+
exports.CreateUser = CreateUser;
|
|
25
|
+
|
|
26
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "email", void 0);
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "phone", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "password", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "firstname", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "lastname", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Boolean)], CreateUser.prototype, "acceptCgv", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], CreateUser.prototype, "acceptNewsletter", void 0);
|
|
39
|
+
//# sourceMappingURL=CreateUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/user/CreateUser.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,UAAP,CAAiB;;QAAV,U,GAAA,U;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,UAAA,E,KAAiB,CAAjB,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,WAAA,E,KAAkB,CAAlB,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,UAAA,E,KAAiB,CAAjB,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,kCAAA,CAAA,E,oBAAA,E,WAAA,E,KAAoB,CAApB,CAAA;;AAEA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,oBAAA,E,kBAAA,E,KAA2B,CAA3B,CAAA","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateUser {\n @ApiProperty()\n email: string;\n @ApiProperty()\n phone: string;\n @ApiProperty()\n password: string;\n @ApiProperty()\n firstname: string;\n @ApiProperty()\n lastname: string;\n @ApiProperty()\n acceptCgv?: boolean; // not sure if needed (maybe more a front notion)\n @ApiPropertyOptional()\n acceptNewsletter?: boolean;\n}"],"sourceRoot":"","file":"CreateUser.js"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryUserSmsConfirmation = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length,
|
|
12
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
13
|
+
d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
class QueryUserSmsConfirmation {}
|
|
23
|
+
|
|
24
|
+
exports.QueryUserSmsConfirmation = QueryUserSmsConfirmation;
|
|
25
|
+
|
|
26
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], QueryUserSmsConfirmation.prototype, "code", void 0);
|
|
27
|
+
//# sourceMappingURL=QueryUserSmsConfirmation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/user/QueryUserSmsConfirmation.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,wBAAP,CAA+B;;QAAxB,wB,GAAA,wB;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,kCAAA,E,MAAA,E,KAAa,CAAb,CAAA","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryUserSmsConfirmation {\n @ApiProperty()\n code: string;\n}"],"sourceRoot":"","file":"QueryUserSmsConfirmation.js"}
|
|
@@ -55,8 +55,16 @@ var Code = exports.Code = undefined;
|
|
|
55
55
|
Code["missingParamAccountNumber"] = "missing_param_account_number";
|
|
56
56
|
Code["accountNumberParamNotFound"] = "account_number_param_not_found"; // Income statement
|
|
57
57
|
|
|
58
|
-
Code["invalidIncomeStatementList"] = "invalid_income_statement_list"; //
|
|
58
|
+
Code["invalidIncomeStatementList"] = "invalid_income_statement_list"; // Balance Sheet
|
|
59
59
|
|
|
60
|
-
Code["
|
|
60
|
+
Code["invalidBalanceSheetList"] = "invalid_balance_sheet_list"; // FecFile
|
|
61
|
+
|
|
62
|
+
Code["insertAccountingTransactionFailed"] = "insert_accounting_transaction_failed"; // User creation
|
|
63
|
+
|
|
64
|
+
Code["userAlreadyExistWithSociety"] = "user-already-exists";
|
|
65
|
+
Code["userDoesNotExists"] = "user-does-not-exist";
|
|
66
|
+
Code["expiredSmsCode"] = "expired-sms-code";
|
|
67
|
+
Code["userNotInFmaProcess"] = "user-not-in-maf-process";
|
|
68
|
+
Code["wrongSmsCode"] = "wrong-sms-code";
|
|
61
69
|
})(Code || (exports.Code = Code = {}));
|
|
62
70
|
//# sourceMappingURL=IApiError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,SAIX,WAJW,SAIX,YAJD;;AAAA,CAAA,UAAY,SAAZ,EAAqB;AACnB,EAAA,SAAA,CAAA,UAAA,CAAA,GAAA,WAAA;AACA,EAAA,SAAA,CAAA,WAAA,CAAA,GAAA,sBAAA;AACA,EAAA,SAAA,CAAA,eAAA,CAAA,GAAA,WAAA;AACD,CAJD,EAAY,SAAS,aAAT,SAAS,GAAT,SAAS,GAAA,EAAA,CAArB;;AAMA,IAAY,
|
|
1
|
+
{"version":3,"sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,SAIX,WAJW,SAIX,YAJD;;AAAA,CAAA,UAAY,SAAZ,EAAqB;AACnB,EAAA,SAAA,CAAA,UAAA,CAAA,GAAA,WAAA;AACA,EAAA,SAAA,CAAA,WAAA,CAAA,GAAA,sBAAA;AACA,EAAA,SAAA,CAAA,eAAA,CAAA,GAAA,WAAA;AACD,CAJD,EAAY,SAAS,aAAT,SAAS,GAAT,SAAS,GAAA,EAAA,CAArB;;AAMA,IAAY,IA8DX,WA9DW,IA8DX,YA9DD;;AAAA,CAAA,UAAY,IAAZ,EAAgB;AACd;AACA,EAAA,IAAA,CAAA,cAAA,CAAA,GAAA,8BAAA;AACA,EAAA,IAAA,CAAA,uBAAA,CAAA,GAAA,oCAAA;AACA,EAAA,IAAA,CAAA,UAAA,CAAA,GAAA,oBAAA;AACA,EAAA,IAAA,CAAA,iBAAA,CAAA,GAAA,2BAAA;AACA,EAAA,IAAA,CAAA,iBAAA,CAAA,GAAA,2BAAA;AACA,EAAA,IAAA,CAAA,YAAA,CAAA,GAAA,cAAA;AACA,EAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,uBAAA;AACA,EAAA,IAAA,CAAA,oBAAA,CAAA,GAAA,mBAAA,CATc,CAWd;;AACA,EAAA,IAAA,CAAA,oBAAA,CAAA,GAAA,sBAAA;AACA,EAAA,IAAA,CAAA,iCAAA,CAAA,GAAA,wCAAA;AACA,EAAA,IAAA,CAAA,+BAAA,CAAA,GAAA,sCAAA;AACA,EAAA,IAAA,CAAA,yDAAA,CAAA,GAAA,sEAAA;AACA,EAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,qBAAA;AACA,EAAA,IAAA,CAAA,qCAAA,CAAA,GAAA,0CAAA;AACA,EAAA,IAAA,CAAA,iCAAA,CAAA,GAAA,uCAAA;AACA,EAAA,IAAA,CAAA,iCAAA,CAAA,GAAA,wCAAA;AACA,EAAA,IAAA,CAAA,+BAAA,CAAA,GAAA,qCAAA;AACA,EAAA,IAAA,CAAA,gCAAA,CAAA,GAAA,qCAAA;AACA,EAAA,IAAA,CAAA,8BAAA,CAAA,GAAA,iCAAA;AACA,EAAA,IAAA,CAAA,sBAAA,CAAA,GAAA,0BAAA;AACA,EAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,sBAAA;AACA,EAAA,IAAA,CAAA,yCAAA,CAAA,GAAA,+CAAA;AACA,EAAA,IAAA,CAAA,oCAAA,CAAA,GAAA,0CAAA;AACA,EAAA,IAAA,CAAA,yCAAA,CAAA,GAAA,+CAAA;AACA,EAAA,IAAA,CAAA,kCAAA,CAAA,GAAA,sCAAA;AACA,EAAA,IAAA,CAAA,+CAAA,CAAA,GAAA,oDAAA;AACA,EAAA,IAAA,CAAA,kDAAA,CAAA,GAAA,yDAAA;AACA,EAAA,IAAA,CAAA,0DAAA,CAAA,GAAA,iEAAA,CA/Bc,CAiCd;;AACA,EAAA,IAAA,CAAA,aAAA,CAAA,GAAA,cAAA,CAlCc,CAoCd;;AACA,EAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,qBAAA;AACA,EAAA,IAAA,CAAA,gCAAA,CAAA,GAAA,oCAAA;AACA,EAAA,IAAA,CAAA,4BAAA,CAAA,GAAA,gCAAA;AACA,EAAA,IAAA,CAAA,eAAA,CAAA,GAAA,iBAAA,CAxCc,CA0Cd;;AACA,EAAA,IAAA,CAAA,2BAAA,CAAA,GAAA,8BAAA;AACA,EAAA,IAAA,CAAA,4BAAA,CAAA,GAAA,gCAAA,CA5Cc,CA8Cd;;AACA,EAAA,IAAA,CAAA,4BAAA,CAAA,GAAA,+BAAA,CA/Cc,CAiDd;;AACA,EAAA,IAAA,CAAA,yBAAA,CAAA,GAAA,4BAAA,CAlDc,CAoDd;;AACA,EAAA,IAAA,CAAA,mCAAA,CAAA,GAAA,sCAAA,CArDc,CAuDd;;AACA,EAAA,IAAA,CAAA,6BAAA,CAAA,GAAA,qBAAA;AACA,EAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,qBAAA;AACA,EAAA,IAAA,CAAA,gBAAA,CAAA,GAAA,kBAAA;AACA,EAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,yBAAA;AACA,EAAA,IAAA,CAAA,cAAA,CAAA,GAAA,gBAAA;AAED,CA9DD,EAAY,IAAI,aAAJ,IAAI,GAAJ,IAAI,GAAA,EAAA,CAAhB","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n\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 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\n // PDF error\n mergeFailed = 'merge_failed',\n\n // Email error\n emailAlreadyExist = 'email_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 // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"],"sourceRoot":"","file":"IApiError.js"}
|