@silexpert/core 1.1.7 → 1.1.8
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/Notification.d.ts +3 -0
- package/es/api/resources/Notification.d.ts.map +1 -1
- package/es/api/resources/Notification.js +7 -1
- package/es/api/resources/Notification.js.map +1 -1
- package/es/api/resources/Team.d.ts +30 -0
- package/es/api/resources/Team.d.ts.map +1 -0
- package/es/api/resources/Team.js +37 -0
- package/es/api/resources/Team.js.map +1 -0
- package/es/api/resources/Vat.js +1 -1
- package/es/api/resources/Vat.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/BrandClementine.d.ts +0 -126
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +0 -109
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +0 -83
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +0 -77
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +436 -1
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/CommercialImportHeader.d.ts.map +1 -1
- package/es/types/Enum/CommercialImportHeader.js +23 -16
- package/es/types/Enum/CommercialImportHeader.js.map +1 -1
- package/es/types/Enum/EntityType.d.ts +18 -0
- package/es/types/Enum/EntityType.d.ts.map +1 -0
- package/es/types/Enum/EntityType.js +66 -0
- package/es/types/Enum/EntityType.js.map +1 -0
- package/es/types/Enum/NotificationType.d.ts +15 -2
- package/es/types/Enum/NotificationType.d.ts.map +1 -1
- package/es/types/Enum/NotificationType.js +41 -5
- package/es/types/Enum/NotificationType.js.map +1 -1
- package/es/types/Enum/Phone.js +1 -1
- package/es/types/Enum/Phone.js.map +1 -1
- package/es/types/Enum/ReasonTerminationType.d.ts +23 -0
- package/es/types/Enum/ReasonTerminationType.d.ts.map +1 -0
- package/es/types/Enum/ReasonTerminationType.js +86 -0
- package/es/types/Enum/ReasonTerminationType.js.map +1 -0
- package/es/types/Enum/RegistrationSource.d.ts +1 -0
- package/es/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/es/types/Enum/RegistrationSource.js +1 -0
- package/es/types/Enum/RegistrationSource.js.map +1 -1
- package/es/types/Enum/RemoteType.d.ts +10 -0
- package/es/types/Enum/RemoteType.d.ts.map +1 -0
- package/es/types/Enum/RemoteType.js +21 -0
- package/es/types/Enum/RemoteType.js.map +1 -0
- package/es/types/Enum/TaxSystem.d.ts +2 -0
- package/es/types/Enum/TaxSystem.d.ts.map +1 -1
- package/es/types/Enum/TaxSystem.js +14 -0
- package/es/types/Enum/TaxSystem.js.map +1 -1
- package/es/types/Enum/TimeRecorderLocation.d.ts +0 -4
- package/es/types/Enum/TimeRecorderLocation.d.ts.map +1 -1
- package/es/types/Enum/TimeRecorderLocation.js +0 -3
- package/es/types/Enum/TimeRecorderLocation.js.map +1 -1
- package/es/types/Interface/api/appNotification/Update.d.ts +5 -0
- package/es/types/Interface/api/appNotification/Update.d.ts.map +1 -0
- package/es/types/Interface/api/appNotification/Update.js +25 -0
- package/es/types/Interface/api/appNotification/Update.js.map +1 -0
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/es/types/Interface/api/commercialImport/Query.d.ts +1 -1
- package/es/types/Interface/api/commercialImport/Query.d.ts.map +1 -1
- package/es/types/Interface/api/commercialImport/Query.js.map +1 -1
- package/es/types/Interface/api/commercialImport/Read.d.ts +2 -1
- package/es/types/Interface/api/commercialImport/Read.d.ts.map +1 -1
- package/es/types/Interface/api/commercialImport/Read.js.map +1 -1
- package/es/types/Interface/api/companeo/CompaneoReturn.d.ts +21 -3
- package/es/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -1
- package/es/types/Interface/api/companeo/CompaneoReturn.js.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts +1 -0
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.js +7 -0
- package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/es/types/Interface/api/notification/CreateNotification.d.ts +2 -2
- package/es/types/Interface/api/notification/CreateNotification.d.ts.map +1 -1
- package/es/types/Interface/api/notification/CreateNotification.js +2 -2
- package/es/types/Interface/api/notification/CreateNotification.js.map +1 -1
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts +2 -2
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts.map +1 -1
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js +2 -2
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts +2 -2
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts.map +1 -1
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +2 -2
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +1 -0
- package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/UpdateRegistration.d.ts +1 -1
- package/es/types/Interface/api/registration/UpdateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/UpdateRegistration.js +1 -1
- package/es/types/Interface/api/registration/UpdateRegistration.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +1 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +6 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +2 -0
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/es/types/Interface/api/team/QueryCreate.d.ts +5 -0
- package/es/types/Interface/api/team/QueryCreate.d.ts.map +1 -0
- package/es/types/Interface/api/{companeo/Query.js → team/QueryCreate.js} +9 -10
- package/es/types/Interface/api/team/QueryCreate.js.map +1 -0
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts +5 -0
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts.map +1 -0
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.js +28 -0
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.js.map +1 -0
- package/es/types/Interface/api/team/QueryUpdate.d.ts +7 -0
- package/es/types/Interface/api/team/QueryUpdate.d.ts.map +1 -0
- package/es/types/Interface/api/team/QueryUpdate.js +38 -0
- package/es/types/Interface/api/team/QueryUpdate.js.map +1 -0
- package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts +1 -1
- package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts.map +1 -1
- package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +7 -0
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +23 -3
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/es/types/Interface/models/IAppNotification.d.ts +20 -0
- package/es/types/Interface/models/IAppNotification.d.ts.map +1 -0
- package/es/types/Interface/models/IAppNotification.js +2 -0
- package/es/types/Interface/models/IAppNotification.js.map +1 -0
- package/es/types/Interface/models/IBalanceSheet.d.ts +2 -0
- package/es/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/es/types/Interface/models/IMobileNotificationLog.d.ts +2 -2
- package/es/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
- package/es/types/Interface/models/IMobileNotificationLog.js.map +1 -1
- package/es/types/Interface/models/IMobileNotificationSetting.d.ts +2 -2
- package/es/types/Interface/models/IMobileNotificationSetting.d.ts.map +1 -1
- package/es/types/Interface/models/IMobileNotificationSetting.js.map +1 -1
- package/es/types/Interface/models/IRegistration.d.ts +2 -2
- package/es/types/Interface/models/IRegistration.d.ts.map +1 -1
- package/es/types/Interface/models/IRegistration.js.map +1 -1
- package/es/types/Interface/models/IUser.d.ts +4 -0
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/Interface/models/IWorkingSchedule.d.ts +2 -0
- package/es/types/Interface/models/IWorkingSchedule.d.ts.map +1 -1
- package/es/types/Interface/models/IWorkingSchedule.js.map +1 -1
- package/es/types/index.d.ts +8 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +8 -1
- package/es/types/index.js.map +1 -1
- package/es/utils/vat/registration.js +1 -1
- package/es/utils/vat/registration.js.map +1 -1
- package/js/api/resources/Notification.js +7 -1
- package/js/api/resources/Notification.js.map +1 -1
- package/js/api/resources/Team.js +46 -0
- package/js/api/resources/Team.js.map +1 -0
- package/js/api/resources/Vat.js +1 -1
- package/js/api/resources/Vat.js.map +1 -1
- package/js/api/resources.js +3 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +0 -107
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +0 -76
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +431 -1
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/CommercialImportHeader.js +23 -16
- package/js/types/Enum/CommercialImportHeader.js.map +1 -1
- package/js/types/Enum/EntityType.js +64 -0
- package/js/types/Enum/EntityType.js.map +1 -0
- package/js/types/Enum/NotificationType.js +41 -5
- package/js/types/Enum/NotificationType.js.map +1 -1
- package/js/types/Enum/Phone.js +1 -1
- package/js/types/Enum/Phone.js.map +1 -1
- package/js/types/Enum/ReasonTerminationType.js +74 -0
- package/js/types/Enum/ReasonTerminationType.js.map +1 -0
- package/js/types/Enum/RegistrationSource.js +1 -0
- package/js/types/Enum/RegistrationSource.js.map +1 -1
- package/js/types/Enum/RemoteType.js +22 -0
- package/js/types/Enum/RemoteType.js.map +1 -0
- package/js/types/Enum/TaxSystem.js +10 -0
- package/js/types/Enum/TaxSystem.js.map +1 -1
- package/js/types/Enum/TimeRecorderLocation.js +0 -4
- package/js/types/Enum/TimeRecorderLocation.js.map +1 -1
- package/js/types/Interface/api/appNotification/Update.js +24 -0
- package/js/types/Interface/api/appNotification/Update.js.map +1 -0
- package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/js/types/Interface/api/commercialImport/Query.js.map +1 -1
- package/js/types/Interface/api/commercialImport/Read.js.map +1 -1
- package/js/types/Interface/api/companeo/CompaneoReturn.js.map +1 -1
- package/js/types/Interface/api/exercice/UpdateExercice.js +1 -0
- package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/js/types/Interface/api/notification/CreateNotification.js +1 -1
- package/js/types/Interface/api/notification/CreateNotification.js.map +1 -1
- package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js +1 -1
- package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
- package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +1 -1
- package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
- package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/UpdateRegistration.js +1 -1
- package/js/types/Interface/api/registration/UpdateRegistration.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +3 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/{companeo/Query.js → team/QueryCreate.js} +6 -6
- package/js/types/Interface/api/team/QueryCreate.js.map +1 -0
- package/js/types/Interface/api/team/QueryGetAllWithIncludes.js +24 -0
- package/js/types/Interface/api/team/QueryGetAllWithIncludes.js.map +1 -0
- package/js/types/Interface/api/team/QueryUpdate.js +25 -0
- package/js/types/Interface/api/team/QueryUpdate.js.map +1 -0
- package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +9 -2
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/js/types/Interface/models/IAppNotification.js +6 -0
- package/js/types/Interface/models/IAppNotification.js.map +1 -0
- package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/js/types/Interface/models/IMobileNotificationLog.js.map +1 -1
- package/js/types/Interface/models/IMobileNotificationSetting.js.map +1 -1
- package/js/types/Interface/models/IRegistration.js.map +1 -1
- package/js/types/Interface/models/IUser.js.map +1 -1
- package/js/types/Interface/models/IWorkingSchedule.js.map +1 -1
- package/js/types/index.js +106 -36
- package/js/types/index.js.map +1 -1
- package/js/utils/vat/registration.js +1 -1
- package/js/utils/vat/registration.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Notification.ts +10 -1
- package/ts/api/resources/Team.ts +43 -0
- package/ts/api/resources/Vat.ts +1 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BrandClementine.ts +0 -109
- package/ts/types/Enum/BrandComptalib.ts +0 -77
- package/ts/types/Enum/BrandPourcentage.ts +436 -1
- package/ts/types/Enum/CommercialImportHeader.ts +23 -16
- package/ts/types/Enum/EntityType.ts +65 -0
- package/ts/types/Enum/NotificationType.ts +49 -2
- package/ts/types/Enum/Phone.ts +1 -1
- package/ts/types/Enum/ReasonTerminationType.ts +85 -0
- package/ts/types/Enum/RegistrationSource.ts +1 -0
- package/ts/types/Enum/RemoteType.ts +20 -0
- package/ts/types/Enum/TaxSystem.ts +18 -1
- package/ts/types/Enum/TimeRecorderLocation.ts +0 -4
- package/ts/types/Interface/api/appNotification/Update.ts +13 -0
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
- package/ts/types/Interface/api/commercialImport/Query.ts +2 -1
- package/ts/types/Interface/api/commercialImport/Read.ts +2 -1
- package/ts/types/Interface/api/companeo/CompaneoReturn.ts +23 -3
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +6 -0
- package/ts/types/Interface/api/notification/CreateNotification.ts +3 -3
- package/ts/types/Interface/api/notificationSetting/CreateNotificationSetting.ts +3 -3
- package/ts/types/Interface/api/notificationSetting/UpdateNotificationSetting.ts +3 -3
- package/ts/types/Interface/api/registration/ReadRegistration.ts +1 -0
- package/ts/types/Interface/api/registration/UpdateRegistration.ts +1 -1
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +5 -0
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +2 -0
- package/ts/types/Interface/api/team/QueryCreate.ts +13 -0
- package/ts/types/Interface/api/team/QueryGetAllWithIncludes.ts +16 -0
- package/ts/types/Interface/api/team/QueryUpdate.ts +26 -0
- package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +2 -2
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +19 -2
- package/ts/types/Interface/models/IAppNotification.ts +22 -0
- package/ts/types/Interface/models/IBalanceSheet.ts +2 -0
- package/ts/types/Interface/models/IMobileNotificationLog.ts +2 -2
- package/ts/types/Interface/models/IMobileNotificationSetting.ts +2 -2
- package/ts/types/Interface/models/IRegistration.ts +2 -2
- package/ts/types/Interface/models/IUser.ts +4 -0
- package/ts/types/Interface/models/IWorkingSchedule.ts +2 -0
- package/ts/types/index.ts +9 -2
- package/ts/utils/vat/registration.ts +1 -1
- package/es/types/Interface/api/companeo/Query.d.ts +0 -5
- package/es/types/Interface/api/companeo/Query.d.ts.map +0 -1
- package/es/types/Interface/api/companeo/Query.js.map +0 -1
- package/js/types/Interface/api/companeo/Query.js.map +0 -1
- package/ts/types/Interface/api/companeo/Query.ts +0 -14
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export enum ReasonTerminationType {
|
|
2
|
+
LIQUIDATION = 1,
|
|
3
|
+
PRICE = 2,
|
|
4
|
+
CHANGE_EC_ONLINE = 3,
|
|
5
|
+
CHANGE_EC_CLASSIC = 4,
|
|
6
|
+
RETIREMENT = 5,
|
|
7
|
+
SELL = 6,
|
|
8
|
+
CONFLICT = 7,
|
|
9
|
+
UNPAYED = 8,
|
|
10
|
+
SOFTWARE = 9,
|
|
11
|
+
RESIGNATION_FROM_THE_MISSION = 10,
|
|
12
|
+
MAIL_LRAR = 11,
|
|
13
|
+
NON_COMPLIANT = 12,
|
|
14
|
+
NO_RESPONSE = 13,
|
|
15
|
+
DISCONTINUED = 14,
|
|
16
|
+
UPDATE = 15,
|
|
17
|
+
ACTIVITY_CESSATION = 16,
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const ReasonTerminationTypeDetail = [
|
|
21
|
+
{
|
|
22
|
+
id: ReasonTerminationType.LIQUIDATION,
|
|
23
|
+
label: 'Liquidation',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: ReasonTerminationType.PRICE,
|
|
27
|
+
label: 'Prix',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
id: ReasonTerminationType.CHANGE_EC_ONLINE,
|
|
31
|
+
label: 'Changement EC en ligne',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: ReasonTerminationType.CHANGE_EC_CLASSIC,
|
|
35
|
+
label: 'Changement EC classique',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: ReasonTerminationType.RETIREMENT,
|
|
39
|
+
label: 'Retraite',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: ReasonTerminationType.SELL,
|
|
43
|
+
label: 'Vente',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: ReasonTerminationType.CONFLICT,
|
|
47
|
+
label: 'Conflit',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: ReasonTerminationType.UNPAYED,
|
|
51
|
+
label: 'Impayé',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: ReasonTerminationType.SOFTWARE,
|
|
55
|
+
label: 'Logiciel',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: ReasonTerminationType.RESIGNATION_FROM_THE_MISSION,
|
|
59
|
+
label: 'Démission de la mission',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: ReasonTerminationType.MAIL_LRAR,
|
|
63
|
+
label: 'Mail/LRAR',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: ReasonTerminationType.NON_COMPLIANT,
|
|
67
|
+
label: 'Non conforme',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: ReasonTerminationType.NO_RESPONSE,
|
|
71
|
+
label: 'Pas de réponse au premier entretien',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: ReasonTerminationType.DISCONTINUED,
|
|
75
|
+
label: 'Abandon de constitution',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
id: ReasonTerminationType.UPDATE,
|
|
79
|
+
label: 'Mise à jour du clémentinier',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: ReasonTerminationType.ACTIVITY_CESSATION,
|
|
83
|
+
label: 'Cessation d\'activité',
|
|
84
|
+
},
|
|
85
|
+
];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export enum RemoteType {
|
|
2
|
+
PRESENTIAL = 0,
|
|
3
|
+
REMOTE = 1,
|
|
4
|
+
SCHOOL = 2,
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const RemoteTypeDetail: Array<{ id: RemoteType, label: string }> = [
|
|
8
|
+
{
|
|
9
|
+
id: RemoteType.PRESENTIAL,
|
|
10
|
+
label: 'Présentiel',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
id: RemoteType.REMOTE,
|
|
14
|
+
label: 'Télétravail',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: RemoteType.SCHOOL,
|
|
18
|
+
label: 'Ecole',
|
|
19
|
+
},
|
|
20
|
+
];
|
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
import { List } from '../Interface/enum/Util';
|
|
2
|
+
|
|
1
3
|
export enum TaxSystem {
|
|
2
4
|
IS = 1,
|
|
3
5
|
IR = 2,
|
|
4
6
|
NA = 3,
|
|
5
|
-
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const TaxSystemList: List = [
|
|
10
|
+
{
|
|
11
|
+
id: TaxSystem.IS,
|
|
12
|
+
label: 'IS',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
id: TaxSystem.IR,
|
|
16
|
+
label: 'IR',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: TaxSystem.NA,
|
|
20
|
+
label: 'N/A',
|
|
21
|
+
},
|
|
22
|
+
];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IsBoolean } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
|
|
5
|
+
export class UpdateAppNotificationStatus {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
idNotifications?: number[] | null;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsBoolean()
|
|
11
|
+
@ToBoolean()
|
|
12
|
+
markAsRead: boolean;
|
|
13
|
+
}
|
|
@@ -21,7 +21,8 @@ export interface ImportRow {
|
|
|
21
21
|
|
|
22
22
|
export interface ImportRawRow {
|
|
23
23
|
taxIncludedAmount: number;
|
|
24
|
-
|
|
24
|
+
taxExcludedAmount_0: number;
|
|
25
|
+
amountVat_0: number;
|
|
25
26
|
taxExcludedAmount_20: number;
|
|
26
27
|
amountVat_20: number;
|
|
27
28
|
taxExcludedAmount_10: number;
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
export interface CompaneoQuestionType {
|
|
2
|
+
$: {
|
|
3
|
+
question_id: number
|
|
4
|
+
},
|
|
5
|
+
value: string,
|
|
6
|
+
reponse: {
|
|
7
|
+
_?: string,
|
|
8
|
+
$: {
|
|
9
|
+
answer_id: number,
|
|
10
|
+
},
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface CompaneoBasicData {
|
|
15
|
+
_?: string,
|
|
16
|
+
$?: {
|
|
17
|
+
code: string,
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
1
21
|
export interface CompaneoReturn {
|
|
2
22
|
id: number,
|
|
3
23
|
lead_id: number,
|
|
@@ -7,9 +27,9 @@ export interface CompaneoReturn {
|
|
|
7
27
|
civilite: string,
|
|
8
28
|
nom: string,
|
|
9
29
|
prenom: string,
|
|
10
|
-
activite:
|
|
11
|
-
poste:
|
|
12
|
-
fonction:
|
|
30
|
+
activite: CompaneoBasicData,
|
|
31
|
+
poste: CompaneoBasicData,
|
|
32
|
+
fonction: CompaneoBasicData,
|
|
13
33
|
code_postal: string,
|
|
14
34
|
ville: string,
|
|
15
35
|
adresse: string,
|
|
@@ -63,6 +63,12 @@ export class UpdateExercice {
|
|
|
63
63
|
@IsOptional()
|
|
64
64
|
annualFolderEdition?: boolean;
|
|
65
65
|
|
|
66
|
+
@ApiPropertyOptional()
|
|
67
|
+
@IsBoolean()
|
|
68
|
+
@ToBoolean()
|
|
69
|
+
@IsOptional()
|
|
70
|
+
processClossingExercice?: boolean;
|
|
71
|
+
|
|
66
72
|
@ApiPropertyOptional()
|
|
67
73
|
@IsNumber()
|
|
68
74
|
@IsOptional()
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { IsEnum, IsInt } from 'class-validator';
|
|
2
2
|
import { ApiProperty } from '../../../../utils';
|
|
3
|
-
import {
|
|
3
|
+
import { NotificationTypeEnum } from '../../../Enum/NotificationType';
|
|
4
4
|
|
|
5
5
|
export class CreateNotification {
|
|
6
6
|
@ApiProperty()
|
|
7
7
|
@IsInt()
|
|
8
|
-
@IsEnum(
|
|
9
|
-
notificationType:
|
|
8
|
+
@IsEnum(NotificationTypeEnum)
|
|
9
|
+
notificationType: NotificationTypeEnum;
|
|
10
10
|
|
|
11
11
|
@ApiProperty()
|
|
12
12
|
token: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { IsBoolean, IsEnum, IsInt } from 'class-validator';
|
|
2
2
|
import { ApiProperty } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
-
import {
|
|
4
|
+
import { NotificationTypeEnum } from '../../../Enum/NotificationType';
|
|
5
5
|
|
|
6
6
|
export class CreateNotificationSetting {
|
|
7
7
|
@ApiProperty()
|
|
8
8
|
@IsInt()
|
|
9
|
-
@IsEnum(
|
|
10
|
-
notificationType:
|
|
9
|
+
@IsEnum(NotificationTypeEnum)
|
|
10
|
+
notificationType: NotificationTypeEnum;
|
|
11
11
|
|
|
12
12
|
@ApiProperty()
|
|
13
13
|
@IsBoolean()
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { IsBoolean, IsEnum, IsInt } from 'class-validator';
|
|
2
2
|
import { ApiProperty } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
-
import {
|
|
4
|
+
import { NotificationTypeEnum } from '../../../Enum/NotificationType';
|
|
5
5
|
|
|
6
6
|
export class UpdateNotificationSetting {
|
|
7
7
|
@ApiProperty()
|
|
8
8
|
@IsInt()
|
|
9
|
-
@IsEnum(
|
|
10
|
-
notificationType:
|
|
9
|
+
@IsEnum(NotificationTypeEnum)
|
|
10
|
+
notificationType: NotificationTypeEnum;
|
|
11
11
|
|
|
12
12
|
@ApiProperty()
|
|
13
13
|
@IsBoolean()
|
|
@@ -69,6 +69,11 @@ export class QueryTaxDeadline {
|
|
|
69
69
|
each: true,
|
|
70
70
|
})
|
|
71
71
|
idLegalForm?: string | string[];
|
|
72
|
+
|
|
73
|
+
@ApiPropertyOptional({ description: 'Exercice cloturé ou non' })
|
|
74
|
+
@IsOptional()
|
|
75
|
+
@IsBoolean()
|
|
76
|
+
isClosed?: boolean;
|
|
72
77
|
}
|
|
73
78
|
|
|
74
79
|
export class QueryTaxDeadlineStatistics {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QueryCreateTeam {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsString()
|
|
7
|
+
name: string;
|
|
8
|
+
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsNumber()
|
|
12
|
+
nbTotalActive?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IsOptional, IsString, IsBoolean } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
|
|
5
|
+
export class QueryGetAllTeamsWithIncludes {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
@IsString()
|
|
9
|
+
search?: string;
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
@IsBoolean()
|
|
14
|
+
@ToBoolean()
|
|
15
|
+
displayConnections?: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsArray, IsNumber, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
|
|
6
|
+
export class QueryUpdateTeam {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsOptional()
|
|
9
|
+
@IsString()
|
|
10
|
+
name?: string;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsNumber()
|
|
15
|
+
nbTotalActive?: number;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsArray()
|
|
20
|
+
usersToAdd?: number[];
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsArray()
|
|
25
|
+
usersToDelete?: number[];
|
|
26
|
+
}
|
|
@@ -17,11 +17,11 @@ export interface ReadPaginatedDelays {
|
|
|
17
17
|
idUser: number;
|
|
18
18
|
firstname: string;
|
|
19
19
|
lastname: string;
|
|
20
|
-
days: DelaysByDay
|
|
20
|
+
days: DelaysByDay;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export type ReadPlaceToWork = Array< {
|
|
24
|
-
location:
|
|
24
|
+
location: number;
|
|
25
25
|
id: number;
|
|
26
26
|
value: number;
|
|
27
27
|
}>;
|
|
@@ -1,13 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
IsDateString, IsEnum, IsString,
|
|
2
|
+
IsDate, IsDateString, IsEnum, IsNumber, IsOptional, IsString,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
5
|
-
import { ApiProperty } from '../../../../utils/decorators';
|
|
5
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
|
|
6
6
|
|
|
7
7
|
export class QueryPreviousVatDeclaration {
|
|
8
8
|
@ApiProperty()
|
|
9
9
|
@IsDateString()
|
|
10
10
|
fromDate: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export class QueryVatMigrationEntry {
|
|
14
|
+
@ApiProperty()
|
|
15
|
+
@IsString()
|
|
16
|
+
token: string;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsNumber()
|
|
20
|
+
id: number;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export class QueryVatDeclaration {
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
@IsDate()
|
|
26
|
+
@IsOptional()
|
|
27
|
+
declarationDate?: Date;
|
|
11
28
|
|
|
12
29
|
@ApiProperty()
|
|
13
30
|
@IsEnum(CerfaType)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NotificationTypeEnum } from '../../Enum/NotificationType';
|
|
2
|
+
import { ISociety } from './ISociety';
|
|
3
|
+
import { IUser } from './IUser';
|
|
4
|
+
|
|
5
|
+
export interface IAppNotification {
|
|
6
|
+
id: number;
|
|
7
|
+
title: string;
|
|
8
|
+
message: string;
|
|
9
|
+
link?: string;
|
|
10
|
+
documentId?: number;
|
|
11
|
+
read: boolean;
|
|
12
|
+
idNotificationtype: NotificationTypeEnum;
|
|
13
|
+
idSociety: number;
|
|
14
|
+
idUser: number;
|
|
15
|
+
idBankAccount?: number;
|
|
16
|
+
createdAt?: Date | null;
|
|
17
|
+
updatedAt?: Date | null;
|
|
18
|
+
|
|
19
|
+
// associations
|
|
20
|
+
society: ISociety;
|
|
21
|
+
user: IUser;
|
|
22
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NotificationTypeEnum } from '../../Enum/NotificationType';
|
|
2
2
|
|
|
3
3
|
export interface IMobileNotificationLog {
|
|
4
4
|
id: number;
|
|
5
|
-
idType:
|
|
5
|
+
idType: NotificationTypeEnum;
|
|
6
6
|
lastSent: Date | null;
|
|
7
7
|
nextSend: Date | null;
|
|
8
8
|
success: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NotificationTypeEnum } from '../../Enum/NotificationType';
|
|
2
2
|
|
|
3
3
|
export interface IMobileNotificationSetting {
|
|
4
4
|
id: number;
|
|
5
|
-
idType:
|
|
5
|
+
idType: NotificationTypeEnum;
|
|
6
6
|
active: boolean;
|
|
7
7
|
idUser: number;
|
|
8
8
|
createdAt?: Date | null;
|
|
@@ -4,6 +4,7 @@ import { IFile } from './IFile';
|
|
|
4
4
|
import { ICustomerIsRegime } from './ICustomerIsRegime';
|
|
5
5
|
import { IUser } from './IUser';
|
|
6
6
|
import { IAccountingTransaction } from './IAccountingTransaction';
|
|
7
|
+
import { IRegistrationCertificate } from './IRegistrationCertificate';
|
|
7
8
|
|
|
8
9
|
export interface IRegistration {
|
|
9
10
|
id?: number;
|
|
@@ -18,7 +19,6 @@ export interface IRegistration {
|
|
|
18
19
|
idDeposit: string | null;
|
|
19
20
|
idExercice: number;
|
|
20
21
|
idFile?: number | null;
|
|
21
|
-
idCertificateFile?: number | null;
|
|
22
22
|
idCustomerIsRegime?: number | null;
|
|
23
23
|
idCustomerVat?: number | null;
|
|
24
24
|
idUser?: number | null;
|
|
@@ -34,5 +34,5 @@ export interface IRegistration {
|
|
|
34
34
|
user?: IUser | null;
|
|
35
35
|
society?: ISociety;
|
|
36
36
|
file?: IFile;
|
|
37
|
-
|
|
37
|
+
certificates?: IRegistrationCertificate[];
|
|
38
38
|
}
|
|
@@ -15,6 +15,8 @@ import { ITeam } from './ITeam';
|
|
|
15
15
|
import { IUserTest } from './IUserTest';
|
|
16
16
|
import { IMobile } from './IMobile';
|
|
17
17
|
import { IRoleUser } from './IRoleUser';
|
|
18
|
+
import { ITimeRecorder } from './ITimeRecorder';
|
|
19
|
+
import { EntityType } from '../../Enum/EntityType';
|
|
18
20
|
|
|
19
21
|
type isAny<T> = T | any;
|
|
20
22
|
|
|
@@ -55,6 +57,7 @@ export interface IUser {
|
|
|
55
57
|
stateProspect?: boolean | null;
|
|
56
58
|
birthdate?: Date | null;
|
|
57
59
|
arrivalDate?: Date | null;
|
|
60
|
+
entity?: EntityType | null;
|
|
58
61
|
validityDateOfResidencePermit?: Date | null;
|
|
59
62
|
isNewProspect?: boolean;
|
|
60
63
|
hasAccountNumberDisplay?: boolean;
|
|
@@ -104,4 +107,5 @@ export interface IUser {
|
|
|
104
107
|
teams?: ITeam[];
|
|
105
108
|
usersTest?: IUserTest;
|
|
106
109
|
mobile?: IMobile;
|
|
110
|
+
timeRecorders?: ITimeRecorder[];
|
|
107
111
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IUser } from './IUser';
|
|
2
2
|
import { IEmployee } from './IEmployee';
|
|
3
|
+
import { RemoteType } from '../../Enum/RemoteType';
|
|
3
4
|
|
|
4
5
|
// workingSchedule
|
|
5
6
|
export interface IWorkingSchedule {
|
|
@@ -11,6 +12,7 @@ export interface IWorkingSchedule {
|
|
|
11
12
|
idDay: number;
|
|
12
13
|
idEmployee?: number | null;
|
|
13
14
|
idUser?: number | null;
|
|
15
|
+
isRemote?: RemoteType | null;
|
|
14
16
|
createdAt?: Date | null;
|
|
15
17
|
updatedAt?: Date | null;
|
|
16
18
|
|
package/ts/types/index.ts
CHANGED
|
@@ -323,6 +323,7 @@ export * from './Interface/models/IRegistration';
|
|
|
323
323
|
export * from './Interface/models/IVatRegimeHistory';
|
|
324
324
|
export * from './Interface/models/ICustomerAcceptance';
|
|
325
325
|
export * from './Interface/models/IUnpaidCallHistory';
|
|
326
|
+
export * from './Interface/models/IAppNotification';
|
|
326
327
|
|
|
327
328
|
// Schemas
|
|
328
329
|
export * from './Interface/schemas/IRegistrationDetail';
|
|
@@ -485,6 +486,9 @@ export * from './Enum/AdminAcceptance';
|
|
|
485
486
|
export * from './Enum/PrestationListType';
|
|
486
487
|
export * from './Enum/UnpaidCallHistoryType';
|
|
487
488
|
export * from './Enum/CommercialImportHeader';
|
|
489
|
+
export * from './Enum/ReasonTerminationType';
|
|
490
|
+
export * from './Enum/RemoteType';
|
|
491
|
+
export * from './Enum/EntityType';
|
|
488
492
|
|
|
489
493
|
// Interfaces API
|
|
490
494
|
export * from './Interface/api/adjustment/Query';
|
|
@@ -664,8 +668,10 @@ export * from './Interface/api/vatRegimeHistory/QueryVatRegimeHistory';
|
|
|
664
668
|
export * from './Interface/api/textMessage/Create';
|
|
665
669
|
export * from './Interface/api/textMessage/Update';
|
|
666
670
|
export * from './Interface/api/textMessage/Query';
|
|
667
|
-
export * from './Interface/api/companeo/Query';
|
|
668
671
|
export * from './Interface/api/companeo/CompaneoReturn';
|
|
672
|
+
export * from './Interface/api/team/QueryCreate';
|
|
673
|
+
export * from './Interface/api/team/QueryGetAllWithIncludes';
|
|
674
|
+
export * from './Interface/api/team/QueryUpdate';
|
|
669
675
|
|
|
670
676
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
671
677
|
export * from './Interface/api/survey/ReadSurvey';
|
|
@@ -929,4 +935,5 @@ export * from './Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony';
|
|
|
929
935
|
export * from './Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony';
|
|
930
936
|
export * from './Interface/api/affectedPatrimony/ReadAffectedPatrimony';
|
|
931
937
|
export * from './Interface/api/notificationSetting/CreateNotificationSetting';
|
|
932
|
-
export * from './Interface/api/notificationSetting/UpdateNotificationSetting';
|
|
938
|
+
export * from './Interface/api/notificationSetting/UpdateNotificationSetting';
|
|
939
|
+
export * from './Interface/api/appNotification/Update';
|
|
@@ -70,7 +70,7 @@ export function getTicks(registration: ReadRegistration): ReadRegistrationTick[]
|
|
|
70
70
|
})),
|
|
71
71
|
];
|
|
72
72
|
|
|
73
|
-
for (let index = declaration.states.length; index <
|
|
73
|
+
for (let index = declaration.states.length; index < 3; index += 1) {
|
|
74
74
|
response.push({ ...waitingState, title: null });
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/companeo/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAa;IAIxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/companeo/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,aAAa;CAUzB;AATC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACO;AAElB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK","sourcesContent":["import { IsString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCompaneo {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fromDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n toDate?: string;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","names":["_classValidator","require","_utils","QueryCompaneo","exports","__decorate","ApiPropertyOptional","IsOptional","IsString"],"sources":["../../../../../ts/types/Interface/api/companeo/Query.ts"],"sourcesContent":["import { IsString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCompaneo {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fromDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n toDate?: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAUzBC,OAAA,CAVYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,gFACO;AAElBH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,8EACK"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IsString, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
|
|
4
|
-
export class QueryCompaneo {
|
|
5
|
-
@ApiPropertyOptional()
|
|
6
|
-
@IsOptional()
|
|
7
|
-
@IsString()
|
|
8
|
-
fromDate?: string;
|
|
9
|
-
|
|
10
|
-
@ApiPropertyOptional()
|
|
11
|
-
@IsOptional()
|
|
12
|
-
@IsString()
|
|
13
|
-
toDate?: string;
|
|
14
|
-
}
|