@silexpert/core 0.4.188 → 0.4.193
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/Employee.d.ts +3 -3
- package/es/api/resources/Employee.d.ts.map +1 -1
- package/es/api/resources/Employee.js +13 -2
- package/es/api/resources/Employee.js.map +1 -1
- package/es/api/resources/Mail.d.ts +1 -0
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +3 -0
- package/es/api/resources/Mail.js.map +1 -1
- package/es/api/resources/NafCode.d.ts +6 -0
- package/es/api/resources/NafCode.d.ts.map +1 -0
- package/es/api/resources/NafCode.js +10 -0
- package/es/api/resources/NafCode.js.map +1 -0
- package/es/api/resources/SheetMonthSchedule.d.ts +1 -2
- package/es/api/resources/SheetMonthSchedule.d.ts.map +1 -1
- package/es/api/resources/SheetMonthSchedule.js +1 -4
- package/es/api/resources/SheetMonthSchedule.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/MailAuto.d.ts +112 -0
- package/es/types/Enum/MailAuto.d.ts.map +1 -0
- package/es/types/Enum/MailAuto.js +113 -0
- package/es/types/Enum/MailAuto.js.map +1 -0
- package/es/types/Enum/SalariesType.d.ts.map +1 -1
- package/es/types/Enum/SalariesType.js +8 -2
- package/es/types/Enum/SalariesType.js.map +1 -1
- package/es/types/Enum/SheetMonthScheduleDetailType.d.ts +4 -1
- package/es/types/Enum/SheetMonthScheduleDetailType.d.ts.map +1 -1
- package/es/types/Enum/SheetMonthScheduleDetailType.js +6 -0
- package/es/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
- package/es/types/Enum/TypeBankConnection.d.ts +2 -1
- package/es/types/Enum/TypeBankConnection.d.ts.map +1 -1
- package/es/types/Enum/TypeBankConnection.js +1 -0
- package/es/types/Enum/TypeBankConnection.js.map +1 -1
- package/es/types/Interface/api/budgetInsight/Query.d.ts +7 -0
- package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
- package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +18 -0
- package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -0
- package/es/types/Interface/api/calendarEvent/createCalendarEvent.js +73 -0
- package/es/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -0
- package/es/types/Interface/api/employee/QueryUpdateEmployee.d.ts +7 -0
- package/es/types/Interface/api/employee/QueryUpdateEmployee.d.ts.map +1 -0
- package/es/types/Interface/api/employee/QueryUpdateEmployee.js +2 -0
- package/es/types/Interface/api/employee/QueryUpdateEmployee.js.map +1 -0
- package/es/types/Interface/api/mail/CreateMailParams.d.ts +7 -0
- package/es/types/Interface/api/mail/CreateMailParams.d.ts.map +1 -1
- package/es/types/Interface/api/mail/CreateMailParams.js.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -0
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js +8 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.d.ts +10 -0
- package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.d.ts.map +1 -0
- package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js +2 -0
- package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js.map +1 -0
- package/es/types/Interface/models/IAttestation.d.ts +3 -3
- package/es/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/es/types/Interface/models/IAttestation.js.map +1 -1
- package/es/types/Interface/models/IBusinessLineUser.d.ts +8 -0
- package/es/types/Interface/models/IBusinessLineUser.d.ts.map +1 -0
- package/es/types/Interface/models/IBusinessLineUser.js +2 -0
- package/es/types/Interface/models/IBusinessLineUser.js.map +1 -0
- package/es/types/Interface/models/ICustomerTva.d.ts +2 -2
- package/es/types/Interface/models/ICustomerTva.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomerTva.js.map +1 -1
- package/es/types/Interface/models/ILetter.d.ts +3 -0
- 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/INafCode.d.ts +11 -0
- package/es/types/Interface/models/INafCode.d.ts.map +1 -0
- package/es/types/Interface/models/INafCode.js +2 -0
- package/es/types/Interface/models/INafCode.js.map +1 -0
- package/es/types/Interface/models/IReport.d.ts +1 -0
- 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/ISheetMonthScheduleDetails.d.ts +2 -0
- package/es/types/Interface/models/ISheetMonthScheduleDetails.d.ts.map +1 -1
- package/es/types/Interface/models/ISheetMonthScheduleDetails.js.map +1 -1
- package/es/types/index.d.ts +5 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +5 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Employee.js +16 -2
- package/js/api/resources/Employee.js.map +1 -1
- package/js/api/resources/Mail.js +6 -0
- package/js/api/resources/Mail.js.map +1 -1
- package/js/api/resources/NafCode.js +22 -0
- package/js/api/resources/NafCode.js.map +1 -0
- package/js/api/resources/SheetMonthSchedule.js +1 -5
- package/js/api/resources/SheetMonthSchedule.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/MailAuto.js +119 -0
- package/js/types/Enum/MailAuto.js.map +1 -0
- package/js/types/Enum/SalariesType.js +3 -2
- package/js/types/Enum/SalariesType.js.map +1 -1
- package/js/types/Enum/SheetMonthScheduleDetailType.js +12 -0
- package/js/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
- package/js/types/Enum/TypeBankConnection.js +1 -0
- package/js/types/Enum/TypeBankConnection.js.map +1 -1
- package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/createCalendarEvent.js +55 -0
- package/js/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -0
- package/js/types/Interface/api/employee/QueryUpdateEmployee.js +6 -0
- package/js/types/Interface/api/employee/QueryUpdateEmployee.js.map +1 -0
- package/js/types/Interface/api/mail/QueryPaginatedMail.js +2 -0
- package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/js/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js +6 -0
- package/js/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js.map +1 -0
- package/js/types/Interface/models/IBusinessLineUser.js +6 -0
- package/js/types/Interface/models/IBusinessLineUser.js.map +1 -0
- package/js/types/Interface/models/INafCode.js +6 -0
- package/js/types/Interface/models/INafCode.js.map +1 -0
- package/js/types/index.js +60 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Employee.ts +14 -4
- package/ts/api/resources/Mail.ts +4 -0
- package/ts/api/resources/NafCode.ts +10 -0
- package/ts/api/resources/SheetMonthSchedule.ts +1 -5
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/MailAuto.ts +111 -0
- package/ts/types/Enum/SalariesType.ts +10 -2
- package/ts/types/Enum/SheetMonthScheduleDetailType.ts +6 -1
- package/ts/types/Enum/TypeBankConnection.ts +1 -0
- package/ts/types/Interface/api/budgetInsight/Query.ts +8 -0
- package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +48 -0
- package/ts/types/Interface/api/employee/QueryUpdateEmployee.ts +7 -0
- package/ts/types/Interface/api/mail/CreateMailParams.ts +7 -0
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +7 -1
- package/ts/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.ts +10 -0
- package/ts/types/Interface/models/IAttestation.ts +3 -3
- package/ts/types/Interface/models/IBusinessLineUser.ts +8 -0
- package/ts/types/Interface/models/ICustomerTva.ts +2 -2
- package/ts/types/Interface/models/ILetter.ts +3 -0
- package/ts/types/Interface/models/INafCode.ts +12 -0
- package/ts/types/Interface/models/IReport.ts +1 -0
- package/ts/types/Interface/models/ISheetMonthScheduleDetails.ts +2 -1
- package/ts/types/index.ts +5 -0
package/ts/api/resources/Mail.ts
CHANGED
|
@@ -17,6 +17,10 @@ export class Mail extends Resource {
|
|
|
17
17
|
return this.axios.$get(`/mails/${id}`, { params });
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
public getAll(params: Partial<IMail>): Promise<Mail> {
|
|
21
|
+
return this.axios.$get('/mails/all', { params });
|
|
22
|
+
}
|
|
23
|
+
|
|
20
24
|
public getPaginatedInboxForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {
|
|
21
25
|
return this.axios.$get('/mails/paginated', {
|
|
22
26
|
...(cancelToken ? { cancelToken } : {}),
|
|
@@ -28,14 +28,10 @@ export class SheetMonthSchedule extends Resource {
|
|
|
28
28
|
return this.axios.$get('/sheet-month-schedules', { params });
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
public
|
|
31
|
+
public updateOrCreateSheetMonthScheduleDetail(idSheetMonthSchedule: number, payload: Partial<Omit<ISheetMonthScheduleDetail, 'idSheetMonthSchedule'>>): Promise<ISheetMonthScheduleDetail> {
|
|
32
32
|
return this.axios.$post(`/sheet-month-schedules/${idSheetMonthSchedule}/details`, payload);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
public updateSheetMonthScheduleDetail(idSheetMonthSchedule: number, idSheetMonthScheduleDetails: number, payload: Partial<ISheetMonthScheduleDetail>): Promise<ISheetMonthScheduleDetail> {
|
|
36
|
-
return this.axios.$put(`/sheet-month-schedules/${idSheetMonthSchedule}/details/${idSheetMonthScheduleDetails}`, payload);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
35
|
public deleteSheetMonthScheduleDetail(idSheetMonthSchedule: number, idSheetMonthScheduleDetails: number): Promise<true> {
|
|
40
36
|
return this.axios.$delete(`/sheet-month-schedules/${idSheetMonthSchedule}/details/${idSheetMonthScheduleDetails}`);
|
|
41
37
|
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -71,6 +71,7 @@ import { Exercice } from './resources/Exercice';
|
|
|
71
71
|
import { Mail } from './resources/Mail';
|
|
72
72
|
import { Employee } from './resources/Employee';
|
|
73
73
|
import { SheetMonthSchedule } from './resources/SheetMonthSchedule';
|
|
74
|
+
import { NafCode } from './resources/NafCode';
|
|
74
75
|
|
|
75
76
|
export const resources = {
|
|
76
77
|
simulation: Simulation,
|
|
@@ -146,4 +147,5 @@ export const resources = {
|
|
|
146
147
|
mail: Mail,
|
|
147
148
|
employee: Employee,
|
|
148
149
|
sheetMonthSchedule: SheetMonthSchedule,
|
|
150
|
+
nafCode: NafCode,
|
|
149
151
|
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
export enum MailAuto {
|
|
2
|
+
MEMENTO = 1,
|
|
3
|
+
ANNOTATIONS = 2,
|
|
4
|
+
BILAN = 3,
|
|
5
|
+
MISSING_DOCS = 4,
|
|
6
|
+
SYNC_BANK = 5,
|
|
7
|
+
A_NOUVEAUX = 6,
|
|
8
|
+
MISSING_INVOICES = 7,
|
|
9
|
+
PHONE_RDV = 8,
|
|
10
|
+
GRACEFUL_DELIVERY = 9,
|
|
11
|
+
ON_BOARDING = 10,
|
|
12
|
+
UNPAID = 11,
|
|
13
|
+
MYCLE_ACCESS = 12,
|
|
14
|
+
FIRST_TALK = 13,
|
|
15
|
+
ATTRIBUTION = 14,
|
|
16
|
+
NEW_ATTRIBUTION = 15,
|
|
17
|
+
PAYMENT_REJECTED = 16,
|
|
18
|
+
ATTESTATION_SIGNED = 17,
|
|
19
|
+
ATTESTATION_PAYMENT_LINK = 18,
|
|
20
|
+
PHONE_RDV_MISSED = 19,
|
|
21
|
+
PHONE_SYNTHESIS = 20,
|
|
22
|
+
LEGAL_FOLDER_CREATION = 21,
|
|
23
|
+
JURIDICAL_PAYMENT = 22,
|
|
24
|
+
RELANCE_ANNOTATION = 23,
|
|
25
|
+
SUPERVISION = 24,
|
|
26
|
+
PAYMENT_LATE_FOR_ACTION = 25,
|
|
27
|
+
SYNCHRONIZE_FOR_ACTION = 26,
|
|
28
|
+
DOCUMENTS_FOR_ACTION = 27,
|
|
29
|
+
PAYMENTS_LATE_AND_NOT_SYNC_FOR_ACTION = 28,
|
|
30
|
+
ANNOTATION_FOR_ACTION = 29,
|
|
31
|
+
PAYMENT_LATE_AND_NOT_ANNOTED_FOR_ACTION = 30,
|
|
32
|
+
MAJ_FOR_ACTION = 31,
|
|
33
|
+
CONSTITUTION_EI = 32,
|
|
34
|
+
CONSTITUTION_SOCIETIES = 33,
|
|
35
|
+
CONSTITUTION_KBIS = 34,
|
|
36
|
+
RELANCE_GRACEFUL_DELIVERY = 35,
|
|
37
|
+
REPLY_GRACEFUL_DELIVERY = 36,
|
|
38
|
+
ACCOUNTING_IMPLEMENTATION = 37,
|
|
39
|
+
INFORM_CUSTOMER_DRG_DONE = 38,
|
|
40
|
+
ASK_CERTIFICATE_NON_REMUNERATION = 39,
|
|
41
|
+
UNSYNC = 40,
|
|
42
|
+
NEW_CUSTOMER_SOCIAL = 41,
|
|
43
|
+
JURIDICAL_KBIS = 42,
|
|
44
|
+
HOME = 43,
|
|
45
|
+
HOME_SYNTHESIS = 44,
|
|
46
|
+
DOCUMENTS_WAITING = 45,
|
|
47
|
+
DOCUMENTS_TO_SIGN = 46,
|
|
48
|
+
OPINION_RECEIVED = 47,
|
|
49
|
+
RESPONSE_RECAP = 48,
|
|
50
|
+
RESPONSE_CALL_DIRECTLY_NOTATION_ECHEC = 49,
|
|
51
|
+
RESPONSE_CALL_DIRECTLY_ECHEC = 50,
|
|
52
|
+
AVIS_3_WEEKS = 51,
|
|
53
|
+
SATISFACTION = 52,
|
|
54
|
+
UPDATE_YOUR_ACCOUNTING = 53,
|
|
55
|
+
RELANCE_CHECKUP = 54,
|
|
56
|
+
RESPONDER = 55,
|
|
57
|
+
NO_RESPONSE = 56,
|
|
58
|
+
MEMO_RELANCE_ANNOTATION = 57,
|
|
59
|
+
APPROBATION_DIVIDEND = 58,
|
|
60
|
+
APPROBATION_JURIDICAL_DOCUMENTS = 59,
|
|
61
|
+
APPROBATION_ACCOUNTS_DEPOSIT = 60,
|
|
62
|
+
APPROBATION_ACCOUNTS_DEPOSIT_BACK = 61,
|
|
63
|
+
VAT_DECLARATION = 62,
|
|
64
|
+
TAKE_BACK_LETTER = 63,
|
|
65
|
+
ASK_RIB = 67,
|
|
66
|
+
DOCS_RECAP_CA = 68,
|
|
67
|
+
THANKS_FOR_ESTIMATE = 69,
|
|
68
|
+
REMIND_ESTIMATE = 70,
|
|
69
|
+
LAST_REMIND_ESTIMATE = 71,
|
|
70
|
+
EXPIRED_ESTIMATE = 72,
|
|
71
|
+
DOCS_FOR_EXPRESS = 73,
|
|
72
|
+
DOCS_FOR_EXPRESS_RELANCE = 74,
|
|
73
|
+
TICKET_SUPPORT_CONSTATATION = 76,
|
|
74
|
+
TICKET_SUPPORT_RESOLUTION = 77,
|
|
75
|
+
SCHEDULE = 78,
|
|
76
|
+
STOP_WORKING_ACCOUNTANT = 79,
|
|
77
|
+
TERMINATION_FOR_MISSING_DOCUMENTS = 80,
|
|
78
|
+
TERMINATION = 81,
|
|
79
|
+
LAST_RELANCE_CHECK_UP = 82,
|
|
80
|
+
TERMINATION_FOR_NO_CHECK_UP = 83,
|
|
81
|
+
TERMINATION_FOR_LAB_REJECTION = 84,
|
|
82
|
+
TERMINATION_FOR_SATISFIED_OR_REFUNDED = 85,
|
|
83
|
+
DRAWDOWN_ERROR = 86,
|
|
84
|
+
RECOVERY_REFUSED_BY_OLD_EXPERT = 87,
|
|
85
|
+
DRAWDOWN_ERROR_AFTER_TERMINATION = 88,
|
|
86
|
+
REFUND_PRESTA = 89,
|
|
87
|
+
REFUND_AMOUNT = 90,
|
|
88
|
+
PDF_CSV_BA = 91,
|
|
89
|
+
REVIVE_ELEMENTS_FOR_CONSTITUTION = 92,
|
|
90
|
+
REVIVE_TICKET = 93,
|
|
91
|
+
RESOLVE_WAITING_TICKET = 94,
|
|
92
|
+
RELANCE_UNPAIDS = 95,
|
|
93
|
+
LAST_RELANCE_UNPAIDS = 96,
|
|
94
|
+
FIRST_PREVI = 100,
|
|
95
|
+
FIRST_RAPPEL_PREVI = 101,
|
|
96
|
+
SECOND_RAPPEL_PREVI = 102,
|
|
97
|
+
LAST_RAPPEL_PREVI = 103,
|
|
98
|
+
BILAN_PREVI_FOR_CLIENT = 117,
|
|
99
|
+
REPORTING_FIRST_PHONE_RDV = 105,
|
|
100
|
+
REPORTING_EDITING_FIRST_PHONE_RDV = 106,
|
|
101
|
+
REPORTING_PHONE_RDV_SUMMARY_J0 = 107,
|
|
102
|
+
REPORTING_PHONE_RDV_BUG_FIXED_J3 = 108,
|
|
103
|
+
REPORTING_PHONE_RDV_SATISFACTION_J15 = 109,
|
|
104
|
+
REPORTING_PHONE_RDV_SATISFACTION_J30 = 110,
|
|
105
|
+
REPORTING_PHONE_RDV_UNAVAILABLE_1_TIME = 111,
|
|
106
|
+
REPORTING_PHONE_RDV_UNAVAILABLE_2_TIMES = 112,
|
|
107
|
+
REPORTING_PHONE_RDV_UNAVAILABLE_3_TIMES = 113,
|
|
108
|
+
REPORTING_PHONE_RDV_UNAVAILABLE_4_TIMES = 114,
|
|
109
|
+
REPORTING_PHONE_RDV_UNAVAILABLE_5_TIMES = 115,
|
|
110
|
+
REPORTING_PHONE_RDV_UNAVAILABLE_6_TIMES = 116,
|
|
111
|
+
}
|
|
@@ -34,5 +34,13 @@ export const contractTypeList: ContractTypeList = [
|
|
|
34
34
|
{ label: 'Stage', value: ContractTypeEnum.INTERNSHIP },
|
|
35
35
|
];
|
|
36
36
|
|
|
37
|
-
export const hiringReasonList: HiringReasonList =
|
|
38
|
-
|
|
37
|
+
export const hiringReasonList: HiringReasonList = [HiringReasonEnum.INCREASE, HiringReasonEnum.REPLACEMENT, HiringReasonEnum.SEASONAL];
|
|
38
|
+
|
|
39
|
+
export const studyLevelList: StudyLevelList = [
|
|
40
|
+
StudyLevelEnum.BELOW_BAC, StudyLevelEnum.BAC, StudyLevelEnum.BAC_PLUS_ONE,
|
|
41
|
+
StudyLevelEnum.BAC_PLUS_TWO, StudyLevelEnum.BAC_PLUS_THREE, StudyLevelEnum.BAC_PLUS_FOUR,
|
|
42
|
+
StudyLevelEnum.BAC_PLUS_FIVE, StudyLevelEnum.BAC_PLUS_SIX, StudyLevelEnum.BAC_PLUS_SEVEN,
|
|
43
|
+
StudyLevelEnum.ABOVE_BAC_PLUS_SEVEN,
|
|
44
|
+
];
|
|
45
|
+
|
|
46
|
+
Object.keys(StudyLevelEnum).map((value) => value as StudyLevelEnum);
|
|
@@ -3,6 +3,9 @@ export enum SheetMonthScheduleDetailEnum {
|
|
|
3
3
|
RTT = 2,
|
|
4
4
|
SICK_LEAVE = 3,
|
|
5
5
|
OTHER_ABSENCES_WITHOUT_PAY = 4,
|
|
6
|
+
GROSS_PREMIUM = 5,
|
|
7
|
+
DEPOSIT = 6,
|
|
8
|
+
PRO_FEES = 7,
|
|
6
9
|
}
|
|
7
10
|
|
|
8
11
|
export type MonthScheduleDetailList = { label: string, value: SheetMonthScheduleDetailEnum }[];
|
|
@@ -11,5 +14,7 @@ export const monthScheduleDetailList: MonthScheduleDetailList = [
|
|
|
11
14
|
{ label: 'RTT', value: SheetMonthScheduleDetailEnum.RTT },
|
|
12
15
|
{ label: 'Arrêt maladie', value: SheetMonthScheduleDetailEnum.SICK_LEAVE },
|
|
13
16
|
{ label: 'Autres absences sans solde', value: SheetMonthScheduleDetailEnum.OTHER_ABSENCES_WITHOUT_PAY },
|
|
14
|
-
|
|
17
|
+
{ label: 'Prime brute', value: SheetMonthScheduleDetailEnum.GROSS_PREMIUM },
|
|
18
|
+
{ label: 'Accompte', value: SheetMonthScheduleDetailEnum.DEPOSIT },
|
|
19
|
+
{ label: 'Frais professionnel', value: SheetMonthScheduleDetailEnum.PRO_FEES },
|
|
15
20
|
];
|
|
@@ -177,4 +177,12 @@ type BudgetInsightConnection = {
|
|
|
177
177
|
export type BudgetInsightConnectionSyncedQuery = {
|
|
178
178
|
user: BudgetInsightUser;
|
|
179
179
|
connection: BudgetInsightConnection & { connector: any; sources: any; accounts: any; };
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export type BudgetEditBankAccount = {
|
|
183
|
+
display?: boolean;// Whether the bank account should be deisplayed and included in aggregated metrics.
|
|
184
|
+
name?: string; // Display name of the account.
|
|
185
|
+
disabled?: boolean; // Whether the bank account should be synchronized.
|
|
186
|
+
bookmarked?: boolean; // Whether the bank account is bookmarked.
|
|
187
|
+
usage?:BudgetInsightBankAccountUsage // Account usage.
|
|
180
188
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class createCalendarEvent {
|
|
4
|
+
@ApiProperty()
|
|
5
|
+
title: string;
|
|
6
|
+
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
dateStart: Date;
|
|
9
|
+
|
|
10
|
+
@ApiProperty()
|
|
11
|
+
dateEnd: Date;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
comment: string;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
idRoom?: number;
|
|
18
|
+
|
|
19
|
+
@ApiProperty()
|
|
20
|
+
createdBy: number;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
idColor?: number;
|
|
24
|
+
|
|
25
|
+
@ApiProperty()
|
|
26
|
+
idSociety: number;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
idExercice?: number;
|
|
30
|
+
|
|
31
|
+
@ApiPropertyOptional()
|
|
32
|
+
idType?: number;
|
|
33
|
+
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
typeComptable?: number;
|
|
36
|
+
|
|
37
|
+
@ApiProperty()
|
|
38
|
+
isDone: boolean;
|
|
39
|
+
|
|
40
|
+
@ApiPropertyOptional()
|
|
41
|
+
callState?: number;
|
|
42
|
+
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
idRecurrence?: number;
|
|
45
|
+
|
|
46
|
+
@ApiPropertyOptional()
|
|
47
|
+
idPlace?: number;
|
|
48
|
+
}
|
|
@@ -7,4 +7,11 @@ export interface CreateMailParams extends IMail{
|
|
|
7
7
|
textHtml?: string;
|
|
8
8
|
isAnswerProcessed?: boolean;
|
|
9
9
|
idMailParent?: number;
|
|
10
|
+
dateEvent?: Date;
|
|
11
|
+
dateEventEnd?: Date;
|
|
12
|
+
dayEvent?: string;
|
|
13
|
+
hourEvent?: string;
|
|
14
|
+
idAccountantEvent?: number;
|
|
15
|
+
idReport?: number;
|
|
16
|
+
idLetter?: number;
|
|
10
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt,
|
|
2
|
+
IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt, IsEmail,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
5
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
@@ -38,6 +38,12 @@ export class QueryPaginatedMail {
|
|
|
38
38
|
@IsString()
|
|
39
39
|
orderBy?: string = 'date';
|
|
40
40
|
|
|
41
|
+
@ApiPropertyOptional()
|
|
42
|
+
@IsOptional()
|
|
43
|
+
@IsString()
|
|
44
|
+
@IsEmail()
|
|
45
|
+
to?: string;
|
|
46
|
+
|
|
41
47
|
@ApiPropertyOptional()
|
|
42
48
|
@IsOptional()
|
|
43
49
|
@IsBoolean()
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IWorkingSchedule } from '../../models/IWorkingSchedule';
|
|
2
|
+
|
|
3
|
+
type wotkingScheduleModified = Omit<IWorkingSchedule, 'idEmployee' | 'morningStart' | 'morningEnd' | 'afternoonStart' | 'afternoonEnd' >;
|
|
4
|
+
|
|
5
|
+
export interface UpdateOrCreateWorkingSchedule extends wotkingScheduleModified {
|
|
6
|
+
morningStart: string | null;
|
|
7
|
+
morningEnd: string | null;
|
|
8
|
+
afternoonStart: string | null;
|
|
9
|
+
afternoonEnd: string | null;
|
|
10
|
+
}
|
|
@@ -4,7 +4,7 @@ import { IPaymentExpectation } from './IPaymentExpectation';
|
|
|
4
4
|
import { IFile } from './IFile';
|
|
5
5
|
import { ISociety } from './ISociety';
|
|
6
6
|
import { IExercice } from './IExercice';
|
|
7
|
-
import {
|
|
7
|
+
import { IMail } from './IMail';
|
|
8
8
|
|
|
9
9
|
// attestations
|
|
10
10
|
export interface IAttestation {
|
|
@@ -35,6 +35,6 @@ export interface IAttestation {
|
|
|
35
35
|
attestationFiles: IFile;
|
|
36
36
|
society: ISociety;
|
|
37
37
|
exercices: IExercice;
|
|
38
|
-
paymentMail:
|
|
39
|
-
validationMail:
|
|
38
|
+
paymentMail: IMail;
|
|
39
|
+
validationMail: IMail;
|
|
40
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IExercice } from './IExercice';
|
|
2
|
-
import {
|
|
2
|
+
import { IMail } from './IMail';
|
|
3
3
|
import { IChecklist } from './IChecklist';
|
|
4
4
|
import { IVatDeclaration } from './IVatDeclaration';
|
|
5
5
|
|
|
@@ -26,7 +26,7 @@ export interface ICustomerTva {
|
|
|
26
26
|
|
|
27
27
|
// Associations
|
|
28
28
|
exercice: IExercice;
|
|
29
|
-
|
|
29
|
+
mail: IMail;
|
|
30
30
|
checklist: IChecklist;
|
|
31
31
|
vatDeclaration: IVatDeclaration;
|
|
32
32
|
}
|
|
@@ -3,6 +3,7 @@ import { ISociety } from './ISociety';
|
|
|
3
3
|
import { ILetterType } from './ILetterType';
|
|
4
4
|
import { IFile } from './IFile';
|
|
5
5
|
import { IReport } from './IReport';
|
|
6
|
+
import { IMail } from './IMail';
|
|
6
7
|
|
|
7
8
|
// letters
|
|
8
9
|
export interface ILetter {
|
|
@@ -19,6 +20,7 @@ export interface ILetter {
|
|
|
19
20
|
idResponseFile?: number | null;
|
|
20
21
|
idSociety: number;
|
|
21
22
|
idReport?: number;
|
|
23
|
+
idMail?: number;
|
|
22
24
|
idAccountant?: number;
|
|
23
25
|
createdAt?: Date | null;
|
|
24
26
|
updatedAt?: Date | null;
|
|
@@ -27,6 +29,7 @@ export interface ILetter {
|
|
|
27
29
|
user?: IUser;
|
|
28
30
|
society?: ISociety;
|
|
29
31
|
report?: IReport;
|
|
32
|
+
mail?: IMail;
|
|
30
33
|
typeLetter?: ILetterType;
|
|
31
34
|
receivedFile?: IFile;
|
|
32
35
|
responseFile?: IFile;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
// sheetMonthScheduleDetails
|
|
2
1
|
export interface ISheetMonthScheduleDetail {
|
|
3
2
|
id?: number;
|
|
4
3
|
idDetailType: number;
|
|
5
4
|
startDate: Date;
|
|
6
5
|
endDate: Date;
|
|
7
6
|
idSheetMonthSchedule: number;
|
|
7
|
+
name?: string | null;
|
|
8
|
+
amount?: string | null;
|
|
8
9
|
createdAt?: Date | null;
|
|
9
10
|
updatedAt?: Date | null;
|
|
10
11
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -302,6 +302,7 @@ export * from './Interface/models/IBalanceSheetModule2';
|
|
|
302
302
|
export * from './Interface/models/IBalanceSheetStatus';
|
|
303
303
|
export * from './Interface/models/IBalanceSheetCompletion';
|
|
304
304
|
export * from './Interface/models/IDefaultPromotion';
|
|
305
|
+
export * from './Interface/models/INafCode';
|
|
305
306
|
|
|
306
307
|
// Forms
|
|
307
308
|
export * from './Form/FormAuthenticate';
|
|
@@ -317,6 +318,7 @@ export * from './Enum/Log';
|
|
|
317
318
|
export * from './Enum/Quality';
|
|
318
319
|
export * from './Enum/Role';
|
|
319
320
|
export * from './Enum/RoleDetail';
|
|
321
|
+
export * from './Enum/MailAuto';
|
|
320
322
|
export * from './Enum/Simulation';
|
|
321
323
|
export * from './Enum/Country';
|
|
322
324
|
export * from './Enum/ComptaType';
|
|
@@ -535,6 +537,8 @@ export * from './Interface/api/bankAccount/QueryBankAccount';
|
|
|
535
537
|
export * from './Interface/api/log/QueryLogPagination';
|
|
536
538
|
export * from './Interface/api/employee/QueryEmployeeSearch';
|
|
537
539
|
export * from './Interface/api/employee/QueryCreateEmployee';
|
|
540
|
+
export * from './Interface/api/employee/QueryUpdateEmployee';
|
|
541
|
+
export * from './Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule';
|
|
538
542
|
|
|
539
543
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
540
544
|
export * from './Interface/api/survey/ReadSurvey';
|
|
@@ -682,6 +686,7 @@ export * from './Interface/api/balanceSheetModule/PrepareModulesAndCompletions';
|
|
|
682
686
|
export * from './Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions';
|
|
683
687
|
export * from './Interface/api/bankAccount/ReadExpiredBankAccount';
|
|
684
688
|
export * from './Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule';
|
|
689
|
+
export * from './Interface/api/calendarEvent/createCalendarEvent';
|
|
685
690
|
|
|
686
691
|
// Enums types
|
|
687
692
|
export * from './Interface/enum/Util';
|