@silexpert/core 1.3.204-update-3 → 1.3.205-1
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/dist/cjs/api/resources/Transaction.d.ts +0 -1
- package/dist/cjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/cjs/api/resources/Transaction.js +0 -3
- package/dist/cjs/api/resources/Transaction.js.map +1 -1
- package/dist/cjs/api/resources/User.d.ts +1 -8
- package/dist/cjs/api/resources/User.d.ts.map +1 -1
- package/dist/cjs/api/resources/User.js +0 -58
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/api/resources/UsersHistory.d.ts +11 -0
- package/dist/cjs/api/resources/UsersHistory.d.ts.map +1 -0
- package/dist/cjs/api/resources/UsersHistory.js +26 -0
- package/dist/cjs/api/resources/UsersHistory.js.map +1 -0
- package/dist/cjs/api/resources/WorkingSchedule.d.ts +1 -2
- package/dist/cjs/api/resources/WorkingSchedule.d.ts.map +1 -1
- package/dist/cjs/api/resources/WorkingSchedule.js +0 -3
- package/dist/cjs/api/resources/WorkingSchedule.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/EquipmentType.d.ts +0 -15
- package/dist/cjs/types/Enum/EquipmentType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/EquipmentType.js +0 -15
- package/dist/cjs/types/Enum/EquipmentType.js.map +1 -1
- package/dist/cjs/types/Enum/SocietyApproval.js +6 -6
- package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -1
- package/dist/cjs/types/Enum/UsersHistory.d.ts +16 -0
- package/dist/cjs/types/Enum/UsersHistory.d.ts.map +1 -0
- package/dist/cjs/types/Enum/UsersHistory.js +38 -0
- package/dist/cjs/types/Enum/UsersHistory.js.map +1 -0
- package/dist/cjs/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +0 -13
- package/dist/cjs/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +1 -14
- package/dist/cjs/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateCoworker.js +0 -11
- package/dist/cjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/dist/cjs/types/Interface/api/usersHistory/Create.d.ts +8 -0
- package/dist/cjs/types/Interface/api/usersHistory/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/usersHistory/Create.js +35 -0
- package/dist/cjs/types/Interface/api/usersHistory/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/usersHistory/Update.d.ts +7 -0
- package/dist/cjs/types/Interface/api/usersHistory/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/usersHistory/Update.js +31 -0
- package/dist/cjs/types/Interface/api/usersHistory/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts +7 -6
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.js +1 -2
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUsersHistory.d.ts +14 -0
- package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IUsersHistory.js +3 -0
- package/dist/cjs/types/Interface/models/IUsersHistory.js.map +1 -0
- package/dist/cjs/types/index.d.ts +4 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +4 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/societyApproval.d.ts.map +1 -1
- package/dist/cjs/utils/societyApproval.js +19 -22
- package/dist/cjs/utils/societyApproval.js.map +1 -1
- package/dist/mjs/api/resources/Transaction.d.ts +0 -1
- package/dist/mjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/mjs/api/resources/Transaction.js +0 -3
- package/dist/mjs/api/resources/Transaction.js.map +1 -1
- package/dist/mjs/api/resources/User.d.ts +1 -8
- package/dist/mjs/api/resources/User.d.ts.map +1 -1
- package/dist/mjs/api/resources/User.js +0 -58
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/api/resources/UsersHistory.d.ts +11 -0
- package/dist/mjs/api/resources/UsersHistory.d.ts.map +1 -0
- package/dist/mjs/api/resources/UsersHistory.js +28 -0
- package/dist/mjs/api/resources/UsersHistory.js.map +1 -0
- package/dist/mjs/api/resources/WorkingSchedule.d.ts +1 -2
- package/dist/mjs/api/resources/WorkingSchedule.d.ts.map +1 -1
- package/dist/mjs/api/resources/WorkingSchedule.js +0 -3
- package/dist/mjs/api/resources/WorkingSchedule.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/EquipmentType.d.ts +0 -15
- package/dist/mjs/types/Enum/EquipmentType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/EquipmentType.js +0 -15
- package/dist/mjs/types/Enum/EquipmentType.js.map +1 -1
- package/dist/mjs/types/Enum/SocietyApproval.js +6 -6
- package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -1
- package/dist/mjs/types/Enum/UsersHistory.d.ts +16 -0
- package/dist/mjs/types/Enum/UsersHistory.d.ts.map +1 -0
- package/dist/mjs/types/Enum/UsersHistory.js +35 -0
- package/dist/mjs/types/Enum/UsersHistory.js.map +1 -0
- package/dist/mjs/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +0 -13
- package/dist/mjs/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +2 -16
- package/dist/mjs/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateCoworker.js +0 -11
- package/dist/mjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/dist/mjs/types/Interface/api/usersHistory/Create.d.ts +8 -0
- package/dist/mjs/types/Interface/api/usersHistory/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/usersHistory/Create.js +34 -0
- package/dist/mjs/types/Interface/api/usersHistory/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/usersHistory/Update.d.ts +7 -0
- package/dist/mjs/types/Interface/api/usersHistory/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/usersHistory/Update.js +29 -0
- package/dist/mjs/types/Interface/api/usersHistory/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts +7 -6
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.js +7 -8
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUsersHistory.d.ts +14 -0
- package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IUsersHistory.js +2 -0
- package/dist/mjs/types/Interface/models/IUsersHistory.js.map +1 -0
- package/dist/mjs/types/index.d.ts +4 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +4 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/societyApproval.d.ts.map +1 -1
- package/dist/mjs/utils/societyApproval.js +3 -6
- package/dist/mjs/utils/societyApproval.js.map +1 -1
- package/package.json +12 -10
- package/ts/api/resources/Transaction.ts +0 -3
- package/ts/api/resources/User.ts +0 -65
- package/ts/api/resources/UsersHistory.ts +35 -0
- package/ts/api/resources/WorkingSchedule.ts +0 -5
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BalanceSheet.ts +2 -2
- package/ts/types/Enum/EquipmentType.ts +0 -15
- package/ts/types/Enum/SocietyApproval.ts +6 -6
- package/ts/types/Enum/UsersHistory.ts +38 -0
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -18
- package/ts/types/Interface/api/user/CreateCoworker.ts +0 -11
- package/ts/types/Interface/api/usersHistory/Create.ts +21 -0
- package/ts/types/Interface/api/usersHistory/Update.ts +17 -0
- package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +8 -7
- package/ts/types/Interface/models/IUser.ts +0 -1
- package/ts/types/Interface/models/IUsersHistory.ts +17 -0
- package/ts/types/index.ts +5 -0
- package/ts/utils/societyApproval.ts +3 -10
- package/dist/cjs/utils/transforms/number.transform.d.ts +0 -3
- package/dist/cjs/utils/transforms/number.transform.d.ts.map +0 -1
- package/dist/cjs/utils/transforms/number.transform.js +0 -36
- package/dist/cjs/utils/transforms/number.transform.js.map +0 -1
- package/dist/mjs/utils/transforms/number.transform.d.ts +0 -3
- package/dist/mjs/utils/transforms/number.transform.d.ts.map +0 -1
- package/dist/mjs/utils/transforms/number.transform.js +0 -33
- package/dist/mjs/utils/transforms/number.transform.js.map +0 -1
- package/ts/utils/transforms/number.transform.ts +0 -38
|
@@ -20,77 +20,62 @@ export const EquipmentTypeDetail = [
|
|
|
20
20
|
{
|
|
21
21
|
id: EquipmentType.LAPTOP,
|
|
22
22
|
label: 'Ordinateur portable',
|
|
23
|
-
icon: 'i-lucide-laptop'
|
|
24
23
|
},
|
|
25
24
|
{
|
|
26
25
|
id: EquipmentType.PRINTER,
|
|
27
26
|
label: 'Imprimante',
|
|
28
|
-
icon: 'i-lucide-printer'
|
|
29
27
|
},
|
|
30
28
|
{
|
|
31
29
|
id: EquipmentType.PHONE,
|
|
32
30
|
label: 'Téléphone',
|
|
33
|
-
icon: 'i-lucide-smartphone'
|
|
34
31
|
},
|
|
35
32
|
{
|
|
36
33
|
id: EquipmentType.KEYBOARD,
|
|
37
34
|
label: 'Clavier',
|
|
38
|
-
icon: 'i-lucide-keyboard'
|
|
39
35
|
},
|
|
40
36
|
{
|
|
41
37
|
id: EquipmentType.MOUSE,
|
|
42
38
|
label: 'Souris',
|
|
43
|
-
icon: 'i-lucide-mouse'
|
|
44
39
|
},
|
|
45
40
|
{
|
|
46
41
|
id: EquipmentType.SCREEN,
|
|
47
42
|
label: 'Écran',
|
|
48
|
-
icon: 'i-lucide-monitor'
|
|
49
43
|
},
|
|
50
44
|
{
|
|
51
45
|
id: EquipmentType.HEADPHONE,
|
|
52
46
|
label: 'Casque',
|
|
53
|
-
icon: 'i-lucide-headphones'
|
|
54
47
|
},
|
|
55
48
|
{
|
|
56
49
|
id: EquipmentType.ADAPTER,
|
|
57
50
|
label: 'Adaptateur',
|
|
58
|
-
icon: 'i-lucide-box'
|
|
59
51
|
},
|
|
60
52
|
{
|
|
61
53
|
id: EquipmentType.WIRELESS_HEADPHONE,
|
|
62
54
|
label: 'Casque sans fil',
|
|
63
|
-
icon: 'i-lucide-headphones'
|
|
64
55
|
},
|
|
65
56
|
{
|
|
66
57
|
id: EquipmentType.POCKET,
|
|
67
58
|
label: 'Pochette',
|
|
68
|
-
icon: 'i-lucide-box'
|
|
69
59
|
},
|
|
70
60
|
{
|
|
71
61
|
id: EquipmentType.BADGE,
|
|
72
62
|
label: 'Badge',
|
|
73
|
-
icon: 'i-lucide-badge'
|
|
74
63
|
},
|
|
75
64
|
{
|
|
76
65
|
id: EquipmentType.CALCULATOR,
|
|
77
66
|
label: 'Calculatrice',
|
|
78
|
-
icon: 'i-lucide-calculator'
|
|
79
67
|
},
|
|
80
68
|
{
|
|
81
69
|
id: EquipmentType.USB_HUB,
|
|
82
70
|
label: 'Hub USB',
|
|
83
|
-
icon: 'i-lucide-box'
|
|
84
71
|
},
|
|
85
72
|
{
|
|
86
73
|
id: EquipmentType.NUMPAD,
|
|
87
74
|
label: 'Pavé numérique',
|
|
88
|
-
icon: 'i-lucide-box'
|
|
89
75
|
},
|
|
90
76
|
{
|
|
91
77
|
id: EquipmentType.EXTERN_SUPPORT,
|
|
92
78
|
label: 'Support externe',
|
|
93
|
-
icon: 'i-lucide-box'
|
|
94
79
|
},
|
|
95
80
|
];
|
|
96
81
|
//# sourceMappingURL=EquipmentType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EquipmentType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/EquipmentType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,aAgBX;AAhBD,WAAY,aAAa;IACvB,qDAAU,CAAA;IACV,uDAAW,CAAA;IACX,mDAAS,CAAA;IACT,yDAAY,CAAA;IACZ,mDAAS,CAAA;IACT,qDAAU,CAAA;IACV,2DAAa,CAAA;IACb,uDAAW,CAAA;IACX,6EAAsB,CAAA;IACtB,sDAAW,CAAA;IACX,oDAAU,CAAA;IACV,8DAAe,CAAA;IACf,wDAAY,CAAA;IACZ,sDAAW,CAAA;IACX,sEAAmB,CAAA;AACrB,CAAC,EAhBW,aAAa,KAAb,aAAa,QAgBxB;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,qBAAqB;
|
|
1
|
+
{"version":3,"file":"EquipmentType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/EquipmentType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,aAgBX;AAhBD,WAAY,aAAa;IACvB,qDAAU,CAAA;IACV,uDAAW,CAAA;IACX,mDAAS,CAAA;IACT,yDAAY,CAAA;IACZ,mDAAS,CAAA;IACT,qDAAU,CAAA;IACV,2DAAa,CAAA;IACb,uDAAW,CAAA;IACX,6EAAsB,CAAA;IACtB,sDAAW,CAAA;IACX,oDAAU,CAAA;IACV,8DAAe,CAAA;IACf,wDAAY,CAAA;IACZ,sDAAW,CAAA;IACX,sEAAmB,CAAA;AACrB,CAAC,EAhBW,aAAa,KAAb,aAAa,QAgBxB;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,qBAAqB;KAC7B;IACD;QACE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,YAAY;KACpB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,KAAK;QACvB,KAAK,EAAE,WAAW;KACnB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,QAAQ;QAC1B,KAAK,EAAE,SAAS;KACjB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,KAAK;QACvB,KAAK,EAAE,QAAQ;KAChB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,OAAO;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,SAAS;QAC3B,KAAK,EAAE,QAAQ;KAChB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,YAAY;KACpB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,kBAAkB;QACpC,KAAK,EAAE,iBAAiB;KACzB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,UAAU;KAClB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,KAAK;QACvB,KAAK,EAAE,OAAO;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,UAAU;QAC5B,KAAK,EAAE,cAAc;KACtB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,SAAS;KACjB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,gBAAgB;KACxB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,cAAc;QAChC,KAAK,EAAE,iBAAiB;KACzB;CACO,CAAC","sourcesContent":["export enum EquipmentType {\n LAPTOP = 1,\n PRINTER = 2,\n PHONE = 3,\n KEYBOARD = 4,\n MOUSE = 5,\n SCREEN = 6,\n HEADPHONE = 7,\n ADAPTER = 8,\n WIRELESS_HEADPHONE = 9,\n POCKET = 10,\n BADGE = 11,\n CALCULATOR = 12,\n USB_HUB = 13,\n NUMPAD = 14,\n EXTERN_SUPPORT = 15,\n}\n\nexport const EquipmentTypeDetail = [\n {\n id: EquipmentType.LAPTOP,\n label: 'Ordinateur portable',\n },\n {\n id: EquipmentType.PRINTER,\n label: 'Imprimante',\n },\n {\n id: EquipmentType.PHONE,\n label: 'Téléphone',\n },\n {\n id: EquipmentType.KEYBOARD,\n label: 'Clavier',\n },\n {\n id: EquipmentType.MOUSE,\n label: 'Souris',\n },\n {\n id: EquipmentType.SCREEN,\n label: 'Écran',\n },\n {\n id: EquipmentType.HEADPHONE,\n label: 'Casque',\n },\n {\n id: EquipmentType.ADAPTER,\n label: 'Adaptateur',\n },\n {\n id: EquipmentType.WIRELESS_HEADPHONE,\n label: 'Casque sans fil',\n },\n {\n id: EquipmentType.POCKET,\n label: 'Pochette',\n },\n {\n id: EquipmentType.BADGE,\n label: 'Badge',\n },\n {\n id: EquipmentType.CALCULATOR,\n label: 'Calculatrice',\n },\n {\n id: EquipmentType.USB_HUB,\n label: 'Hub USB',\n },\n {\n id: EquipmentType.NUMPAD,\n label: 'Pavé numérique',\n },\n {\n id: EquipmentType.EXTERN_SUPPORT,\n label: 'Support externe',\n },\n] as const;\n"]}
|
|
@@ -33,25 +33,25 @@ export const RegulatedConventions = [
|
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
id: RegulatedConventionType.CURRENT_ACCOUNT_CREDITOR,
|
|
36
|
-
label:
|
|
36
|
+
label: 'Existence d\'un compte courant créditeur',
|
|
37
37
|
templateName: 'CONVENTION_CURRENT_ACCOUNT_CREDITOR',
|
|
38
38
|
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
id: RegulatedConventionType.CURRENT_ACCOUNT_DEBTOR,
|
|
42
|
-
label:
|
|
42
|
+
label: 'Existence d\'un compte courant débiteur',
|
|
43
43
|
templateName: 'CONVENTION_CURRENT_ACCOUNT_DEBTOR',
|
|
44
44
|
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
id: RegulatedConventionType.CURRENT_ACCOUNT_WAIVER,
|
|
48
|
-
label:
|
|
48
|
+
label: 'Convention d\'abandon de compte courant sous réserve de retour à meilleure fortune',
|
|
49
49
|
templateName: 'CONVENTION_CURRENT_ACCOUNT_WAIVER',
|
|
50
50
|
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
id: RegulatedConventionType.EMPLOYMENT_CONTRACT,
|
|
54
|
-
label:
|
|
54
|
+
label: 'Existence d\'un contrat de travail',
|
|
55
55
|
templateName: 'CONVENTION_EMPLOYMENT_CONTRACT',
|
|
56
56
|
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
57
57
|
},
|
|
@@ -63,13 +63,13 @@ export const RegulatedConventions = [
|
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
id: RegulatedConventionType.COMMERCIAL_LEASE,
|
|
66
|
-
label:
|
|
66
|
+
label: 'Existence d\'un bail commercial',
|
|
67
67
|
templateName: 'CONVENTION_COMMERCIAL_LEASE',
|
|
68
68
|
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
id: RegulatedConventionType.RENT_SHARING,
|
|
72
|
-
label:
|
|
72
|
+
label: 'Prise en charge d\'une quote part du loyer',
|
|
73
73
|
templateName: 'CONVENTION_RENT_SHARING',
|
|
74
74
|
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
75
75
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocietyApproval.js","sourceRoot":"","sources":["../../../../ts/types/Enum/SocietyApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,CAAN,IAAY,2BAQX;AARD,WAAY,2BAA2B;IACrC,+EAAS,CAAA;IACT,+FAAiB,CAAA;IACjB,qLAA4D,CAAA;IAC5D,iLAA0D,CAAA;IAC1D,6GAAwB,CAAA;IACxB,2GAAuB,CAAA;IACvB,uGAAqB,CAAA;AACvB,CAAC,EARW,2BAA2B,KAA3B,2BAA2B,QAQtC;AAED,MAAM,CAAN,IAAY,uBAWX;AAXD,WAAY,uBAAuB;IACjC,uHAAiC,CAAA;IACjC,6GAA4B,CAAA;IAC5B,yGAA0B,CAAA;IAC1B,yGAA0B,CAAA;IAC1B,mGAAuB,CAAA;IACvB,+FAAqB,CAAA;IACrB,6FAAoB,CAAA;IACpB,qFAAgB,CAAA;IAChB,uGAAyB,CA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AAmB,CAAC,oBAAoB;aAC9D;SACF;KACF;CACF,CAAC","sourcesContent":["import { getLegalFormName } from '../../utils/societyApproval';\nimport { LegalFormTypeEnum } from './LegalForm';\nimport { DocumentSectionType } from './StatutsSection';\n\nexport enum SocietyApprovalDocumentType {\n PV_AG = 1,\n POWER_MANDATE = 2,\n DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO = 3,\n DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME = 4,\n INCOME_APPROPRIATION = 5,\n LIST_OF_CONVENTIONS = 6,\n LIST_OF_DIVIDENDS = 7,\n}\n\nexport enum RegulatedConventionType {\n SOCIAL_CONTRIBUTIONS_COVERAGE = 1,\n CURRENT_ACCOUNT_CREDITOR = 2,\n CURRENT_ACCOUNT_DEBTOR = 3,\n CURRENT_ACCOUNT_WAIVER = 4,\n EMPLOYMENT_CONTRACT = 5,\n SERVICE_PROVISION = 6,\n COMMERCIAL_LEASE = 7,\n RENT_SHARING = 8,\n MILEAGE_REIMBURSEMENT = 9,\n PRESIDENT_REMUNERATION = 10,\n}\n\nexport type RegulatedConvention = {\n id: RegulatedConventionType;\n label: string;\n templateName: string;\n applicableTo: LegalFormTypeEnum[];\n};\n\nexport const RegulatedConventions: RegulatedConvention[] = [\n {\n id: RegulatedConventionType.SOCIAL_CONTRIBUTIONS_COVERAGE,\n label: 'Prise en charge des cotisations sociales',\n templateName: 'CONVENTION_SOCIAL_CONTRIBUTIONS_COVERAGE',\n applicableTo: [LegalFormTypeEnum.EURL],\n },\n {\n id: RegulatedConventionType.CURRENT_ACCOUNT_CREDITOR,\n label: \"Existence d'un compte courant créditeur\",\n templateName: 'CONVENTION_CURRENT_ACCOUNT_CREDITOR',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.CURRENT_ACCOUNT_DEBTOR,\n label: \"Existence d'un compte courant débiteur\",\n templateName: 'CONVENTION_CURRENT_ACCOUNT_DEBTOR',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.CURRENT_ACCOUNT_WAIVER,\n label: \"Convention d'abandon de compte courant sous réserve de retour à meilleure fortune\",\n templateName: 'CONVENTION_CURRENT_ACCOUNT_WAIVER',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.EMPLOYMENT_CONTRACT,\n label: \"Existence d'un contrat de travail\",\n templateName: 'CONVENTION_EMPLOYMENT_CONTRACT',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.SERVICE_PROVISION,\n label: 'Existence et facturation de prestations de services',\n templateName: 'CONVENTION_SERVICE_PROVISION',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.COMMERCIAL_LEASE,\n label: \"Existence d'un bail commercial\",\n templateName: 'CONVENTION_COMMERCIAL_LEASE',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.RENT_SHARING,\n label: \"Prise en charge d'une quote part du loyer\",\n templateName: 'CONVENTION_RENT_SHARING',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.MILEAGE_REIMBURSEMENT,\n label: 'Remboursement des indemnités kilométriques',\n templateName: 'CONVENTION_MILEAGE_REIMBURSEMENT',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.PRESIDENT_REMUNERATION,\n label: 'Rémunération du/de la Président(e)',\n templateName: 'CONVENTION_PRESIDENT_REMUNERATION',\n applicableTo: [LegalFormTypeEnum.SASU],\n },\n];\n\nexport type SocietyApprovalDocumentTemplate = {\n idDocumentType: SocietyApprovalDocumentType;\n docName: string;\n templateName: string;\n documentSectionType: DocumentSectionType;\n token?: string;\n htmlContent?: string;\n idDocumentSection?: number;\n};\n\nexport type SocietyApprovalDocumentConfig = {\n idLegalForm: LegalFormTypeEnum;\n legalFormName: string;\n documents: SocietyApprovalDocumentTemplate[];\n};\n\nexport const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[] = [\n {\n idLegalForm: LegalFormTypeEnum.EURL,\n legalFormName: getLegalFormName(LegalFormTypeEnum.EURL),\n documents: [\n {\n idDocumentType: SocietyApprovalDocumentType.PV_AG,\n docName: \"Procès-verbal d'approbation des comptes\",\n templateName: 'APPROVAL_EURL',\n documentSectionType: DocumentSectionType.APPROVAL_PV,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n docName: 'Mandat de pouvoir',\n templateName: 'POWER_MANDATE_EURL',\n documentSectionType: DocumentSectionType.POWER_MANDATE,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,\n docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_EURL',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_EURL',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n docName: 'Affectation du résultat',\n templateName: 'INCOME_APPROPRIATION_EURL',\n documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.LIST_OF_CONVENTIONS,\n docName: 'Liste de conventions',\n templateName: 'LIST_OF_CONVENTIONS_EURL',\n documentSectionType: DocumentSectionType.LIST_OF_CONVENTIONS,\n },\n ],\n },\n // {\n // idLegalForm: LegalFormTypeEnum.SARL,\n // legalFormName: getLegalFormName(LegalFormTypeEnum.SARL),\n // documents: [\n // {\n // idDocumentType: SocietyApprovalDocumentType.PV_AG,\n // docName: \"Procès-verbal d'approbation des comptes\",\n // templateName: 'APPROVAL_SARL',\n // documentSectionType: DocumentSectionType.APPROVAL_PV,\n // },\n // {\n // idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n // docName: 'Mandat de pouvoir',\n // templateName: 'POWER_MANDATE_SARL',\n // documentSectionType: DocumentSectionType.POWER_MANDATE,\n // },\n // {\n // idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n // docName: 'Déclaration de confidentialité pour les comptes annuels',\n // templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_SARL',\n // documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n // },\n // {\n // idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n // docName: 'Affectation du résultat',\n // templateName: 'INCOME_APPROPRIATION_SARL',\n // documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n // },\n // ],\n // },\n {\n idLegalForm: LegalFormTypeEnum.SASU,\n legalFormName: getLegalFormName(LegalFormTypeEnum.SASU),\n documents: [\n {\n idDocumentType: SocietyApprovalDocumentType.PV_AG,\n docName: \"Procès-verbal d'approbation des comptes\",\n templateName: 'APPROVAL_SASU',\n documentSectionType: DocumentSectionType.APPROVAL_PV,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n docName: 'Mandat de pouvoir',\n templateName: 'POWER_MANDATE_SASU',\n documentSectionType: DocumentSectionType.POWER_MANDATE,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,\n docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SASU',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SASU',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n docName: 'Affectation du résultat',\n templateName: 'INCOME_APPROPRIATION_SASU',\n documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.LIST_OF_DIVIDENDS,\n docName: 'Liste de dividendes',\n templateName: 'LIST_OF_DIVIDENDS_SASU',\n documentSectionType: DocumentSectionType.LIST_OF_DIVIDENDS,\n },\n ],\n },\n {\n idLegalForm: LegalFormTypeEnum.SAS,\n legalFormName: getLegalFormName(LegalFormTypeEnum.SAS),\n documents: [\n {\n idDocumentType: SocietyApprovalDocumentType.PV_AG,\n docName: \"Procès-verbal d'approbation des comptes\",\n templateName: 'APPROVAL_SAS',\n documentSectionType: DocumentSectionType.APPROVAL_PV,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n docName: 'Mandat de pouvoir',\n templateName: 'POWER_MANDATE_SAS',\n documentSectionType: DocumentSectionType.POWER_MANDATE,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,\n docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SAS',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SAS',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n docName: 'Affectation du résultat',\n templateName: 'INCOME_APPROPRIATION_SAS',\n documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n },\n ],\n },\n {\n idLegalForm: LegalFormTypeEnum.SCI,\n legalFormName: getLegalFormName(LegalFormTypeEnum.SCI),\n documents: [\n {\n idDocumentType: SocietyApprovalDocumentType.PV_AG,\n docName: \"Procès-verbal d'approbation des comptes\",\n templateName: 'APPROVAL_SCI',\n documentSectionType: DocumentSectionType.APPROVAL_PV,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n docName: 'Mandat de pouvoir',\n templateName: 'POWER_MANDATE_SCI',\n documentSectionType: DocumentSectionType.POWER_MANDATE,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,\n docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SCI',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n docName: 'Déclaration de confidentialité pour les comptes annuels',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SCI',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n docName: 'Affectation du résultat',\n templateName: 'INCOME_APPROPRIATION_SCI',\n documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n },\n ],\n },\n];\n"]}
|
|
1
|
+
{"version":3,"file":"SocietyApproval.js","sourceRoot":"","sources":["../../../../ts/types/Enum/SocietyApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,CAAN,IAAY,2BAQX;AARD,WAAY,2BAA2B;IACrC,+EAAS,CAAA;IACT,+FAAiB,CAAA;IACjB,qLAA4D,CAAA;IAC5D,iLAA0D,CAAA;IAC1D,6GAAwB,CAAA;IACxB,2GAAuB,CAAA;IACvB,uGAAqB,CAAA;AACvB,CAAC,EARW,2BAA2B,KAA3B,2BAA2B,QAQtC;AAED,MAAM,CAAN,IAAY,uBAWX;AAXD,WAAY,uBAAuB;IACjC,uHAAiC,CAAA;IACjC,6GAA4B,CAAA;IAC5B,yGAA0B,CAAA;IAC1B,yGAA0B,CAAA;IAC1B,mGAAuB,CAAA;IACvB,+FAAqB,CAAA;IACrB,6FAAoB,CAAA;IACpB,qFAAgB,CAAA;IAChB,uGAAyB,CAAA;IACzB,0GAA2B,CA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AC9D;SACF;KACF;CACF,CAAC","sourcesContent":["import { getLegalFormName } from '../../utils/societyApproval';\nimport { LegalFormTypeEnum } from './LegalForm';\nimport { DocumentSectionType } from './StatutsSection';\n\nexport enum SocietyApprovalDocumentType {\n PV_AG = 1,\n POWER_MANDATE = 2,\n DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO = 3,\n DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME = 4,\n INCOME_APPROPRIATION = 5,\n LIST_OF_CONVENTIONS = 6,\n LIST_OF_DIVIDENDS = 7,\n}\n\nexport enum RegulatedConventionType {\n SOCIAL_CONTRIBUTIONS_COVERAGE = 1,\n CURRENT_ACCOUNT_CREDITOR = 2,\n CURRENT_ACCOUNT_DEBTOR = 3,\n CURRENT_ACCOUNT_WAIVER = 4,\n EMPLOYMENT_CONTRACT = 5,\n SERVICE_PROVISION = 6,\n COMMERCIAL_LEASE = 7,\n RENT_SHARING = 8,\n MILEAGE_REIMBURSEMENT = 9,\n PRESIDENT_REMUNERATION = 10,\n}\n\nexport type RegulatedConvention = {\n id: RegulatedConventionType;\n label: string;\n templateName: string;\n applicableTo: LegalFormTypeEnum[];\n};\n\nexport const RegulatedConventions: RegulatedConvention[] = [\n {\n id: RegulatedConventionType.SOCIAL_CONTRIBUTIONS_COVERAGE,\n label: 'Prise en charge des cotisations sociales',\n templateName: 'CONVENTION_SOCIAL_CONTRIBUTIONS_COVERAGE',\n applicableTo: [LegalFormTypeEnum.EURL],\n },\n {\n id: RegulatedConventionType.CURRENT_ACCOUNT_CREDITOR,\n label: 'Existence d\\'un compte courant créditeur',\n templateName: 'CONVENTION_CURRENT_ACCOUNT_CREDITOR',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.CURRENT_ACCOUNT_DEBTOR,\n label: 'Existence d\\'un compte courant débiteur',\n templateName: 'CONVENTION_CURRENT_ACCOUNT_DEBTOR',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.CURRENT_ACCOUNT_WAIVER,\n label: 'Convention d\\'abandon de compte courant sous réserve de retour à meilleure fortune',\n templateName: 'CONVENTION_CURRENT_ACCOUNT_WAIVER',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.EMPLOYMENT_CONTRACT,\n label: 'Existence d\\'un contrat de travail',\n templateName: 'CONVENTION_EMPLOYMENT_CONTRACT',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.SERVICE_PROVISION,\n label: 'Existence et facturation de prestations de services',\n templateName: 'CONVENTION_SERVICE_PROVISION',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.COMMERCIAL_LEASE,\n label: 'Existence d\\'un bail commercial',\n templateName: 'CONVENTION_COMMERCIAL_LEASE',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.RENT_SHARING,\n label: 'Prise en charge d\\'une quote part du loyer',\n templateName: 'CONVENTION_RENT_SHARING',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.MILEAGE_REIMBURSEMENT,\n label: 'Remboursement des indemnités kilométriques',\n templateName: 'CONVENTION_MILEAGE_REIMBURSEMENT',\n applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],\n },\n {\n id: RegulatedConventionType.PRESIDENT_REMUNERATION,\n label: 'Rémunération du/de la Président(e)',\n templateName: 'CONVENTION_PRESIDENT_REMUNERATION',\n applicableTo: [LegalFormTypeEnum.SASU],\n },\n];\n\nexport type SocietyApprovalDocumentTemplate = {\n idDocumentType: SocietyApprovalDocumentType;\n docName: string;\n templateName: string;\n documentSectionType: DocumentSectionType;\n token?: string;\n htmlContent?: string;\n idDocumentSection?: number;\n};\n\nexport type SocietyApprovalDocumentConfig = {\n idLegalForm: LegalFormTypeEnum;\n legalFormName: string;\n documents: SocietyApprovalDocumentTemplate[];\n};\n\nexport const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[] = [\n {\n idLegalForm: LegalFormTypeEnum.EURL,\n legalFormName: getLegalFormName(LegalFormTypeEnum.EURL),\n documents: [\n {\n idDocumentType: SocietyApprovalDocumentType.PV_AG,\n docName: \"Procès-verbal d'approbation des comptes\",\n templateName: 'APPROVAL_EURL',\n documentSectionType: DocumentSectionType.APPROVAL_PV,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n docName: 'Mandat de pouvoir',\n templateName: 'POWER_MANDATE_EURL',\n documentSectionType: DocumentSectionType.POWER_MANDATE,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,\n docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_EURL',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_EURL',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n docName: 'Affectation du résultat',\n templateName: 'INCOME_APPROPRIATION_EURL',\n documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.LIST_OF_CONVENTIONS,\n docName: 'Liste de conventions',\n templateName: 'LIST_OF_CONVENTIONS_EURL',\n documentSectionType: DocumentSectionType.LIST_OF_CONVENTIONS,\n },\n ],\n },\n // {\n // idLegalForm: LegalFormTypeEnum.SARL,\n // legalFormName: getLegalFormName(LegalFormTypeEnum.SARL),\n // documents: [\n // {\n // idDocumentType: SocietyApprovalDocumentType.PV_AG,\n // docName: \"Procès-verbal d'approbation des comptes\",\n // templateName: 'APPROVAL_SARL',\n // documentSectionType: DocumentSectionType.APPROVAL_PV,\n // },\n // {\n // idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n // docName: 'Mandat de pouvoir',\n // templateName: 'POWER_MANDATE_SARL',\n // documentSectionType: DocumentSectionType.POWER_MANDATE,\n // },\n // {\n // idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n // docName: 'Déclaration de confidentialité pour les comptes annuels',\n // templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_SARL',\n // documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n // },\n // {\n // idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n // docName: 'Affectation du résultat',\n // templateName: 'INCOME_APPROPRIATION_SARL',\n // documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n // },\n // ],\n // },\n {\n idLegalForm: LegalFormTypeEnum.SASU,\n legalFormName: getLegalFormName(LegalFormTypeEnum.SASU),\n documents: [\n {\n idDocumentType: SocietyApprovalDocumentType.PV_AG,\n docName: \"Procès-verbal d'approbation des comptes\",\n templateName: 'APPROVAL_SASU',\n documentSectionType: DocumentSectionType.APPROVAL_PV,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n docName: 'Mandat de pouvoir',\n templateName: 'POWER_MANDATE_SASU',\n documentSectionType: DocumentSectionType.POWER_MANDATE,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,\n docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SASU',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SASU',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n docName: 'Affectation du résultat',\n templateName: 'INCOME_APPROPRIATION_SASU',\n documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.LIST_OF_DIVIDENDS,\n docName: 'Liste de dividendes',\n templateName: 'LIST_OF_DIVIDENDS_SASU',\n documentSectionType: DocumentSectionType.LIST_OF_DIVIDENDS,\n },\n ],\n },\n {\n idLegalForm: LegalFormTypeEnum.SAS,\n legalFormName: getLegalFormName(LegalFormTypeEnum.SAS),\n documents: [\n {\n idDocumentType: SocietyApprovalDocumentType.PV_AG,\n docName: \"Procès-verbal d'approbation des comptes\",\n templateName: 'APPROVAL_SAS',\n documentSectionType: DocumentSectionType.APPROVAL_PV,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n docName: 'Mandat de pouvoir',\n templateName: 'POWER_MANDATE_SAS',\n documentSectionType: DocumentSectionType.POWER_MANDATE,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,\n docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SAS',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SAS',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n docName: 'Affectation du résultat',\n templateName: 'INCOME_APPROPRIATION_SAS',\n documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n },\n ],\n },\n {\n idLegalForm: LegalFormTypeEnum.SCI,\n legalFormName: getLegalFormName(LegalFormTypeEnum.SCI),\n documents: [\n {\n idDocumentType: SocietyApprovalDocumentType.PV_AG,\n docName: \"Procès-verbal d'approbation des comptes\",\n templateName: 'APPROVAL_SCI',\n documentSectionType: DocumentSectionType.APPROVAL_PV,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,\n docName: 'Mandat de pouvoir',\n templateName: 'POWER_MANDATE_SCI',\n documentSectionType: DocumentSectionType.POWER_MANDATE,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,\n docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SCI',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,\n docName: 'Déclaration de confidentialité pour les comptes annuels',\n templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SCI',\n documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,\n },\n {\n idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,\n docName: 'Affectation du résultat',\n templateName: 'INCOME_APPROPRIATION_SCI',\n documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,\n },\n ],\n },\n];\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum TypeUserHistory {
|
|
2
|
+
CREATE = 1,
|
|
3
|
+
UPDATE = 2,
|
|
4
|
+
DELETE = 3,
|
|
5
|
+
RESTORE = 4,
|
|
6
|
+
INFO_UPDATE = 5,// Info ok
|
|
7
|
+
ROLE_UPDATE = 6,// Role ok
|
|
8
|
+
PASSWORD_UPDATE = 7,
|
|
9
|
+
EQUIPMENT_ASSIGN = 8,
|
|
10
|
+
EQUIPMENT_BROKEN = 9,
|
|
11
|
+
EQUIPMENT_RETURN = 10,
|
|
12
|
+
EQUIPMENT_LOST = 11,
|
|
13
|
+
MAIL_SENT_TO_TS = 12
|
|
14
|
+
}
|
|
15
|
+
export declare const TypeUserHistoryLabels: Record<TypeUserHistory, string>;
|
|
16
|
+
//# sourceMappingURL=UsersHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsersHistory.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/UsersHistory.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IAEzB,MAAM,IAAI;IACV,MAAM,IAAI;IACV,MAAM,IAAI;IACV,OAAO,IAAI;IAGX,WAAW,IAAI,CAAE,UAAU;IAC3B,WAAW,IAAI,CAAE,UAAU;IAG3B,eAAe,IAAI;IAGnB,gBAAgB,IAAI;IACpB,gBAAgB,IAAI;IACpB,gBAAgB,KAAK;IACrB,cAAc,KAAK;IAGnB,eAAe,KAAK;CACrB;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAajE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export var TypeUserHistory;
|
|
2
|
+
(function (TypeUserHistory) {
|
|
3
|
+
// Cycle de vie Compte
|
|
4
|
+
TypeUserHistory[TypeUserHistory["CREATE"] = 1] = "CREATE";
|
|
5
|
+
TypeUserHistory[TypeUserHistory["UPDATE"] = 2] = "UPDATE";
|
|
6
|
+
TypeUserHistory[TypeUserHistory["DELETE"] = 3] = "DELETE";
|
|
7
|
+
TypeUserHistory[TypeUserHistory["RESTORE"] = 4] = "RESTORE";
|
|
8
|
+
// Validation & Modifications Spécifiques
|
|
9
|
+
TypeUserHistory[TypeUserHistory["INFO_UPDATE"] = 5] = "INFO_UPDATE";
|
|
10
|
+
TypeUserHistory[TypeUserHistory["ROLE_UPDATE"] = 6] = "ROLE_UPDATE";
|
|
11
|
+
// Sécurité
|
|
12
|
+
TypeUserHistory[TypeUserHistory["PASSWORD_UPDATE"] = 7] = "PASSWORD_UPDATE";
|
|
13
|
+
// Gestion Matériel
|
|
14
|
+
TypeUserHistory[TypeUserHistory["EQUIPMENT_ASSIGN"] = 8] = "EQUIPMENT_ASSIGN";
|
|
15
|
+
TypeUserHistory[TypeUserHistory["EQUIPMENT_BROKEN"] = 9] = "EQUIPMENT_BROKEN";
|
|
16
|
+
TypeUserHistory[TypeUserHistory["EQUIPMENT_RETURN"] = 10] = "EQUIPMENT_RETURN";
|
|
17
|
+
TypeUserHistory[TypeUserHistory["EQUIPMENT_LOST"] = 11] = "EQUIPMENT_LOST";
|
|
18
|
+
// Communication
|
|
19
|
+
TypeUserHistory[TypeUserHistory["MAIL_SENT_TO_TS"] = 12] = "MAIL_SENT_TO_TS";
|
|
20
|
+
})(TypeUserHistory || (TypeUserHistory = {}));
|
|
21
|
+
export const TypeUserHistoryLabels = {
|
|
22
|
+
[TypeUserHistory.CREATE]: 'Création',
|
|
23
|
+
[TypeUserHistory.UPDATE]: 'Mise à jour',
|
|
24
|
+
[TypeUserHistory.DELETE]: 'Suppression',
|
|
25
|
+
[TypeUserHistory.RESTORE]: 'Restauration',
|
|
26
|
+
[TypeUserHistory.INFO_UPDATE]: 'Mise à jour Info',
|
|
27
|
+
[TypeUserHistory.ROLE_UPDATE]: 'Mise à jour Rôle',
|
|
28
|
+
[TypeUserHistory.PASSWORD_UPDATE]: 'Changement Mot de passe',
|
|
29
|
+
[TypeUserHistory.EQUIPMENT_ASSIGN]: 'Assignation Matériel',
|
|
30
|
+
[TypeUserHistory.EQUIPMENT_BROKEN]: 'Matériel Cassé',
|
|
31
|
+
[TypeUserHistory.EQUIPMENT_RETURN]: 'Retour Matériel',
|
|
32
|
+
[TypeUserHistory.EQUIPMENT_LOST]: 'Matériel Perdu',
|
|
33
|
+
[TypeUserHistory.MAIL_SENT_TO_TS]: 'Mail envoyé à TS',
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=UsersHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsersHistory.js","sourceRoot":"","sources":["../../../../ts/types/Enum/UsersHistory.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,eAsBX;AAtBD,WAAY,eAAe;IACzB,sBAAsB;IACtB,yDAAU,CAAA;IACV,yDAAU,CAAA;IACV,yDAAU,CAAA;IACV,2DAAW,CAAA;IAEX,yCAAyC;IACzC,mEAAe,CAAA;IACf,mEAAe,CAAA;IAEf,WAAW;IACX,2EAAmB,CAAA;IAEnB,mBAAmB;IACnB,6EAAoB,CAAA;IACpB,6EAAoB,CAAA;IACpB,8EAAqB,CAAA;IACrB,0EAAmB,CAAA;IAEnB,gBAAgB;IAChB,4EAAoB,CAAA;AACtB,CAAC,EAtBW,eAAe,KAAf,eAAe,QAsB1B;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAoC;IACpE,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,UAAU;IACpC,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,aAAa;IACvC,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,aAAa;IACvC,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc;IACzC,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,kBAAkB;IACjD,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,kBAAkB;IACjD,CAAC,eAAe,CAAC,eAAe,CAAC,EAAE,yBAAyB;IAC5D,CAAC,eAAe,CAAC,gBAAgB,CAAC,EAAE,sBAAsB;IAC1D,CAAC,eAAe,CAAC,gBAAgB,CAAC,EAAE,gBAAgB;IACpD,CAAC,eAAe,CAAC,gBAAgB,CAAC,EAAE,iBAAiB;IACrD,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE,gBAAgB;IAClD,CAAC,eAAe,CAAC,eAAe,CAAC,EAAE,kBAAkB;CACtD,CAAC","sourcesContent":["export enum TypeUserHistory {\n // Cycle de vie Compte\n CREATE = 1,\n UPDATE = 2,\n DELETE = 3,\n RESTORE = 4,\n\n // Validation & Modifications Spécifiques\n INFO_UPDATE = 5, // Info ok\n ROLE_UPDATE = 6, // Role ok\n\n // Sécurité\n PASSWORD_UPDATE = 7,\n\n // Gestion Matériel\n EQUIPMENT_ASSIGN = 8,\n EQUIPMENT_BROKEN = 9,\n EQUIPMENT_RETURN = 10,\n EQUIPMENT_LOST = 11,\n\n // Communication\n MAIL_SENT_TO_TS = 12, // Mail envoyé à TS\n}\n\nexport const TypeUserHistoryLabels: Record<TypeUserHistory, string> = {\n [TypeUserHistory.CREATE]: 'Création',\n [TypeUserHistory.UPDATE]: 'Mise à jour',\n [TypeUserHistory.DELETE]: 'Suppression',\n [TypeUserHistory.RESTORE]: 'Restauration',\n [TypeUserHistory.INFO_UPDATE]: 'Mise à jour Info',\n [TypeUserHistory.ROLE_UPDATE]: 'Mise à jour Rôle',\n [TypeUserHistory.PASSWORD_UPDATE]: 'Changement Mot de passe',\n [TypeUserHistory.EQUIPMENT_ASSIGN]: 'Assignation Matériel',\n [TypeUserHistory.EQUIPMENT_BROKEN]: 'Matériel Cassé',\n [TypeUserHistory.EQUIPMENT_RETURN]: 'Retour Matériel',\n [TypeUserHistory.EQUIPMENT_LOST]: 'Matériel Perdu',\n [TypeUserHistory.MAIL_SENT_TO_TS]: 'Mail envoyé à TS',\n};\n"]}
|
|
@@ -29,19 +29,6 @@ export declare class UpdateAccountingTransaction {
|
|
|
29
29
|
amountAllTaxIncluded?: number;
|
|
30
30
|
idAccountant?: number;
|
|
31
31
|
}
|
|
32
|
-
export declare class UpdateAllAccountingTransaction {
|
|
33
|
-
ids: number[];
|
|
34
|
-
data: UpdateAccountingTransaction;
|
|
35
|
-
}
|
|
36
|
-
export interface UpdatedAccountingTransactions {
|
|
37
|
-
processed: number;
|
|
38
|
-
errors: Array<{
|
|
39
|
-
id: number;
|
|
40
|
-
message: string;
|
|
41
|
-
code: string;
|
|
42
|
-
}>;
|
|
43
|
-
updatedTransactions: ReadFormattedAccountingTransaction[];
|
|
44
|
-
}
|
|
45
32
|
export interface UploadedAccountingFileInfos {
|
|
46
33
|
location: string;
|
|
47
34
|
idFile: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,qBAAa,SAAS;IACpB,GAAG,CAAC,EACA,MAAM,GACN,IAAI,GACJ;QACE,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACR,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,MAAM,MAAM,6BAA6B,GAAG,SAAS,EAAE,CAAC;AAExD,qBAAa,2BAA2B;IAGtC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,SAAS,CAAC,EAAE,IAAI,CAAC;IAEjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAK9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,
|
|
1
|
+
{"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,qBAAa,SAAS;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IAChF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC,qBAAqB,CAAC,EAAE,WAAW,EAAE,CAAC;CACvC"}
|
|
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { IsBoolean, IsNumber, IsOptional } from 'class-validator';
|
|
11
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
13
|
export class FormEntry {
|
|
14
14
|
vat;
|
|
@@ -82,18 +82,4 @@ __decorate([
|
|
|
82
82
|
IsNumber(),
|
|
83
83
|
__metadata("design:type", Number)
|
|
84
84
|
], UpdateAccountingTransaction.prototype, "idAccountant", void 0);
|
|
85
|
-
export class UpdateAllAccountingTransaction {
|
|
86
|
-
ids;
|
|
87
|
-
data;
|
|
88
|
-
}
|
|
89
|
-
__decorate([
|
|
90
|
-
ApiProperty(),
|
|
91
|
-
IsArray(),
|
|
92
|
-
IsInt({ each: true }),
|
|
93
|
-
__metadata("design:type", Array)
|
|
94
|
-
], UpdateAllAccountingTransaction.prototype, "ids", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
ApiProperty(),
|
|
97
|
-
__metadata("design:type", UpdateAccountingTransaction)
|
|
98
|
-
], UpdateAllAccountingTransaction.prototype, "data", void 0);
|
|
99
85
|
//# sourceMappingURL=AnnotateAccountingTransaction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAI3E,MAAM,OAAO,SAAS;IACpB,GAAG,CAMK;IACR,aAAa,CAAW;IACxB,gBAAgB,CAAW;IAC3B,SAAS,CAAU;IACnB,YAAY,CAAU;IACtB,4BAA4B,CAAU;IACtC,WAAW,CAAU;IACrB,oBAAoB,CAAU;IAC9B,cAAc,CAAsB,CAAC,8BAA8B;IACnE,gBAAgB,CAAU,CAAC,EAAE;CAC9B;AAKD,MAAM,OAAO,2BAA2B;IAGtC,AADA,yBAAyB;IACzB,OAAO,CAAe;IAEtB,OAAO,CAAU;IAEjB,gBAAgB,CAAU;IAE1B,QAAQ,CAAe;IAKvB,OAAO,CAAW;IAElB,SAAS,CAAQ;IAEjB,aAAa,CAAU;IAEvB,IAAI,CAAU;IAEd,oBAAoB,CAAU;IAK9B,YAAY,CAAU;CACvB;AAzBC;IAFC,mBAAmB,EAAE;IACtB,yBAAyB;;;4DACH;AAEtB;IADC,mBAAmB,EAAE;;4DACL;AAEjB;IADC,mBAAmB,EAAE;;qEACI;AAE1B;IADC,mBAAmB,EAAE;;6DACC;AAKvB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;4DACK;AAElB;IADC,mBAAmB,EAAE;8BACV,IAAI;8DAAC;AAEjB;IADC,mBAAmB,EAAE;;kEACC;AAEvB;IADC,mBAAmB,EAAE;;yDACR;AAEd;IADC,mBAAmB,EAAE;;yEACQ;AAK9B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;iEACW","sourcesContent":["import { IsBoolean, IsNumber, IsOptional } from 'class-validator';\nimport { IAccountingTransaction, IImmobilization } from '../../..';\nimport { IThirdParty } from '../../models/IThirdParty';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport type FormImmobilization = IImmobilization;\n\nexport class FormEntry {\n vat?:\n | number\n | null\n | {\n idVat: number;\n amount: number;\n }[];\n isVatIntracom?: boolean;\n isVatImportation?: boolean;\n idAccount?: number;\n idThirdParty?: number;\n amountAllTaxIncludedPurchase?: number;\n designation?: string;\n amountAllTaxIncluded?: number;\n immobilization?: FormImmobilization; // pour la création d'une immo\n idImmobilization?: number; //\n}\n\n// Permet d'annoté une transaction bancaire Split, Marge, Intracom, Immo etc...\nexport type AnnotateAccountingTransaction = FormEntry[];\n\nexport class UpdateAccountingTransaction {\n @ApiPropertyOptional()\n // @Type(() => FormEntry)\n entries?: FormEntry[];\n @ApiPropertyOptional()\n comment?: string;\n @ApiPropertyOptional()\n idSocietyPartner?: number;\n @ApiPropertyOptional()\n exported?: Date | null;\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isAsset?: boolean;\n @ApiPropertyOptional()\n dateValue?: Date;\n @ApiPropertyOptional()\n invoiceNumber?: string;\n @ApiPropertyOptional()\n name?: string;\n @ApiPropertyOptional()\n amountAllTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idAccountant?: number;\n}\n\nexport interface UploadedAccountingFileInfos {\n location: string;\n idFile: number;\n token: string;\n filename: string;\n needCompression: boolean;\n mimeType: string;\n bankFileId?: string;\n}\n\n// Permet d'afficher une transaction bancaire avec les informations de base ainsi que les informations d'annotations\nexport interface ReadFormattedAccountingTransaction extends IAccountingTransaction {\n amount: number;\n comment: string | null;\n designation: string | null;\n debit: number;\n credit: number;\n autoAnnotateWithML: boolean;\n entries?: AnnotateAccountingTransaction;\n thirdPartySuggestions?: IThirdParty[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCoworker.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CreateCoworker.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,qBAAa,cAAc;IAIzB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,MAAM,CAAC;IAKjB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAC;IAKhB,SAAS,EAAE,OAAO,CAAC;IAMnB,YAAY,CAAC,EAAE,OAAO,CAAC;IAKvB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,QAAQ,EAAE,MAAM,CAAC;IAKjB,MAAM,EAAE,UAAU,CAAC;IAMnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAMnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAMnB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAMzB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -8,10 +8,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { IsArray, IsBoolean, IsDate, IsDefined, IsEmail, IsEnum, IsInt, IsNumber, IsOptional, IsPhoneNumber, IsString, } from 'class-validator';
|
|
11
|
-
import { Transform } from 'class-transformer';
|
|
12
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
|
|
13
12
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
14
|
-
import { ToNumber } from '../../../../utils/transforms/number.transform';
|
|
15
13
|
import { EntityType } from '../../../Enum/EntityType';
|
|
16
14
|
export class CreateCoworker {
|
|
17
15
|
firstname;
|
|
@@ -77,7 +75,6 @@ __decorate([
|
|
|
77
75
|
ApiPropertyOptional(),
|
|
78
76
|
IsOptional(),
|
|
79
77
|
IsNumber(),
|
|
80
|
-
ToNumber(),
|
|
81
78
|
__metadata("design:type", Number)
|
|
82
79
|
], CreateCoworker.prototype, "idCivility", void 0);
|
|
83
80
|
__decorate([
|
|
@@ -140,14 +137,12 @@ __decorate([
|
|
|
140
137
|
ApiProperty(),
|
|
141
138
|
IsDefined(),
|
|
142
139
|
IsInt(),
|
|
143
|
-
ToNumber(),
|
|
144
140
|
__metadata("design:type", Number)
|
|
145
141
|
], CreateCoworker.prototype, "idOffice", void 0);
|
|
146
142
|
__decorate([
|
|
147
143
|
ApiProperty(),
|
|
148
144
|
IsDefined(),
|
|
149
145
|
IsEnum(EntityType),
|
|
150
|
-
ToNumber(),
|
|
151
146
|
__metadata("design:type", Number)
|
|
152
147
|
], CreateCoworker.prototype, "entity", void 0);
|
|
153
148
|
__decorate([
|
|
@@ -155,12 +150,6 @@ __decorate([
|
|
|
155
150
|
IsOptional(),
|
|
156
151
|
IsArray(),
|
|
157
152
|
IsInt({ each: true }),
|
|
158
|
-
Transform(({ value }) => {
|
|
159
|
-
if (Array.isArray(value)) {
|
|
160
|
-
return value.map((v) => Number(v));
|
|
161
|
-
}
|
|
162
|
-
return value;
|
|
163
|
-
}),
|
|
164
153
|
__metadata("design:type", Array)
|
|
165
154
|
], CreateCoworker.prototype, "idRoles", void 0);
|
|
166
155
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCoworker.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,QAAQ,EACR,UAAU,EACV,aAAa,EACb,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CreateCoworker.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,QAAQ,EACR,UAAU,EACV,aAAa,EACb,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,OAAO,cAAc;IAIzB,SAAS,CAAS;IAKlB,QAAQ,CAAS;IAKjB,KAAK,CAAS;IAKd,QAAQ,CAAS;IAKjB,QAAQ,CAAS;IAKjB,KAAK,CAAS;IAKd,UAAU,CAAU;IAKpB,MAAM,CAAU;IAKhB,SAAS,CAAU;IAMnB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AAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;kDACS;AAKrB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACG,IAAI;iDAAC;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACK,IAAI;mDAAC;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACK,IAAI;mDAAC;AAKnB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,KAAK,EAAE;;gDACS;AAKjB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,MAAM,CAAC,UAAU,CAAC;;8CACA;AAMnB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+CACH;AAMnB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,OAAO,EAAE;;+CACS;AAMnB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACG;AAMzB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;6CACI","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDefined,\n IsEmail,\n IsEnum,\n IsInt,\n IsNumber,\n IsOptional,\n IsPhoneNumber,\n IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { EntityType } from '../../../Enum/EntityType';\n\nexport class CreateCoworker {\n @ApiProperty()\n @IsDefined()\n @IsString()\n firstname: string;\n\n @ApiProperty()\n @IsDefined()\n @IsString()\n lastname: string;\n\n @ApiProperty()\n @IsDefined()\n @IsEmail()\n email: string;\n\n @ApiProperty()\n @IsDefined()\n @IsString()\n username: string;\n\n @ApiProperty()\n @IsDefined()\n @IsString()\n password: string;\n\n @ApiProperty()\n @IsDefined()\n @IsPhoneNumber('FR')\n phone: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idCivility?: number;\n\n @ApiProperty({ default: true })\n @IsBoolean()\n @ToBoolean()\n active: boolean;\n\n @ApiProperty({ default: false })\n @IsBoolean()\n @ToBoolean()\n flexitime: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isThemeLight?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n calendlyUrl?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n positionLabel?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n apprentice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n birthdate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n arrivalDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n confirmedAt?: Date;\n\n @ApiProperty()\n @IsDefined()\n @IsInt()\n idOffice: number;\n\n @ApiProperty()\n @IsDefined()\n @IsEnum(EntityType)\n entity: EntityType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idRoles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDefined()\n @IsArray()\n idTeams?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idUsersBrands?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isVpn?: boolean;\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TypeUserHistory } from '../../../Enum/UsersHistory';
|
|
2
|
+
import { IUsersHistory } from '../../models/IUsersHistory';
|
|
3
|
+
export declare class CreateUsersHistory implements Omit<IUsersHistory, 'id' | 'createdAt' | 'updatedAt' | 'idAuthor'> {
|
|
4
|
+
idUser: number;
|
|
5
|
+
comment?: string;
|
|
6
|
+
actionType: TypeUserHistory;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/usersHistory/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,qBAAa,kBAAmB,YAAW,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC;IAG3G,MAAM,EAAE,MAAM,CAAC;IAOf,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,UAAU,EAAE,eAAe,CAAC;CAC7B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
|
|
12
|
+
import { TypeUserHistory } from '../../../Enum/UsersHistory';
|
|
13
|
+
export class CreateUsersHistory {
|
|
14
|
+
idUser;
|
|
15
|
+
comment;
|
|
16
|
+
actionType;
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
ApiProperty(),
|
|
20
|
+
IsInt(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], CreateUsersHistory.prototype, "idUser", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
IsOptional(),
|
|
26
|
+
IsString(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateUsersHistory.prototype, "comment", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiProperty(),
|
|
31
|
+
IsEnum(TypeUserHistory),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], CreateUsersHistory.prototype, "actionType", void 0);
|
|
34
|
+
//# sourceMappingURL=Create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/usersHistory/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAG7D,MAAM,OAAO,kBAAkB;IAG7B,MAAM,CAAS;IAOf,OAAO,CAAU;IAIjB,UAAU,CAAkB;CAC7B;AAZC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;kDACO;AAOf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACM;AAIjB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,eAAe,CAAC;;sDACI","sourcesContent":["import { IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { TypeUserHistory } from '../../../Enum/UsersHistory';\nimport { IUsersHistory } from '../../models/IUsersHistory';\n\nexport class CreateUsersHistory implements Omit<IUsersHistory, 'id' | 'createdAt' | 'updatedAt' | 'idAuthor'> {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiProperty()\n @IsEnum(TypeUserHistory)\n actionType: TypeUserHistory;\n}"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TypeUserHistory } from '../../../Enum/UsersHistory';
|
|
2
|
+
import { IUsersHistory } from '../../models/IUsersHistory';
|
|
3
|
+
export declare class UpdateUsersHistory implements Partial<Omit<IUsersHistory, 'id' | 'idUser' | 'idAuthor'>> {
|
|
4
|
+
comment?: string;
|
|
5
|
+
actionType?: TypeUserHistory;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/usersHistory/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,qBAAa,kBAAmB,YAAW,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC;IAInG,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsEnum, IsOptional, IsString } from 'class-validator';
|
|
11
|
+
import { ApiPropertyOptional } from '../../../../utils/decorators';
|
|
12
|
+
import { TypeUserHistory } from '../../../Enum/UsersHistory';
|
|
13
|
+
export class UpdateUsersHistory {
|
|
14
|
+
comment;
|
|
15
|
+
actionType;
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
IsOptional(),
|
|
20
|
+
IsString(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], UpdateUsersHistory.prototype, "comment", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
IsOptional(),
|
|
26
|
+
IsEnum(TypeUserHistory),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], UpdateUsersHistory.prototype, "actionType", void 0);
|
|
29
|
+
//# sourceMappingURL=Update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/usersHistory/Update.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAI7D,MAAM,OAAO,kBAAkB;IAI7B,OAAO,CAAU;IAKjB,UAAU,CAAmB;CAC9B;AANC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACM;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,eAAe,CAAC;;sDACK","sourcesContent":["import { IsEnum, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\nimport { TypeUserHistory } from '../../../Enum/UsersHistory';\nimport { IUsersHistory } from '../../models/IUsersHistory';\n\n\nexport class UpdateUsersHistory implements Partial<Omit<IUsersHistory, 'id' | 'idUser' | 'idAuthor'>> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(TypeUserHistory)\n actionType?: TypeUserHistory;\n}"]}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
import { AddressObject, HeaderLines } from 'mailparser';
|
|
1
2
|
export declare class CreateMailFromLambda {
|
|
2
3
|
headers: {
|
|
3
4
|
[key: string]: any;
|
|
4
5
|
};
|
|
5
|
-
headerLines:
|
|
6
|
+
headerLines: HeaderLines;
|
|
6
7
|
html: string | false;
|
|
7
8
|
text?: string;
|
|
8
9
|
textAsHtml?: string;
|
|
9
10
|
subject?: string;
|
|
10
11
|
references?: string[] | string;
|
|
11
12
|
date?: Date;
|
|
12
|
-
to?:
|
|
13
|
-
from?:
|
|
14
|
-
cc?:
|
|
15
|
-
bcc?:
|
|
16
|
-
replyTo?:
|
|
13
|
+
to?: AddressObject | AddressObject[];
|
|
14
|
+
from?: AddressObject;
|
|
15
|
+
cc?: AddressObject | AddressObject[];
|
|
16
|
+
bcc?: AddressObject | AddressObject[];
|
|
17
|
+
replyTo?: AddressObject;
|
|
17
18
|
messageId?: string;
|
|
18
19
|
inReplyTo?: string;
|
|
19
20
|
priority?: 'normal' | 'low' | 'high';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateMailFromLambda.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CreateMailFromLambda.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAGxD,qBAAa,oBAAoB;IAQ/B,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAKhC,WAAW,EAAE,WAAW,CAAC;IAGzB,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;IAKrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAK/B,IAAI,CAAC,EAAE,IAAI,CAAC;IAIZ,EAAE,CAAC,EAAE,aAAa,GAAG,aAAa,EAAE,CAAC;IAKrC,IAAI,CAAC,EAAE,aAAa,CAAC;IAIrB,EAAE,CAAC,EAAE,aAAa,GAAG,aAAa,EAAE,CAAC;IAIrC,GAAG,CAAC,EAAE,aAAa,GAAG,aAAa,EAAE,CAAC;IAKtC,OAAO,CAAC,EAAE,aAAa,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;CACtC"}
|