@silexpert/core 0.4.217 → 0.4.220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/api/resources/GeneralLedger.d.ts +2 -2
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/NotificationSetting.d.ts +8 -0
- package/es/api/resources/NotificationSetting.d.ts.map +1 -0
- package/es/api/resources/NotificationSetting.js +13 -0
- package/es/api/resources/NotificationSetting.js.map +1 -0
- package/es/api/resources/Partner.d.ts +2 -1
- package/es/api/resources/Partner.d.ts.map +1 -1
- package/es/api/resources/Partner.js +4 -1
- package/es/api/resources/Partner.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/TaskResponseType.js +3 -3
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +2 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +2 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +1 -2
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -0
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts +6 -0
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts.map +1 -0
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js +28 -0
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -0
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts +6 -0
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts.map +1 -0
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +28 -0
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -0
- package/es/types/Interface/api/partner/UpdatePartner.d.ts +11 -0
- package/es/types/Interface/api/partner/UpdatePartner.d.ts.map +1 -0
- package/es/types/Interface/api/partner/UpdatePartner.js +41 -0
- package/es/types/Interface/api/partner/UpdatePartner.js.map +1 -0
- package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts +2 -1
- package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts.map +1 -1
- package/es/types/Interface/api/revision/ReadRevisionAccount.js.map +1 -1
- package/es/types/Interface/models/IMobileNotificationSetting.d.ts +10 -0
- package/es/types/Interface/models/IMobileNotificationSetting.d.ts.map +1 -0
- package/es/types/Interface/models/IMobileNotificationSetting.js +2 -0
- package/es/types/Interface/models/IMobileNotificationSetting.js.map +1 -0
- package/es/types/index.d.ts +4 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +4 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/NotificationSetting.js +26 -0
- package/js/api/resources/NotificationSetting.js.map +1 -0
- package/js/api/resources/Partner.js +5 -1
- package/js/api/resources/Partner.js.map +1 -1
- package/js/api/resources.js +3 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/TaskResponseType.js +3 -3
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js +35 -0
- package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -0
- package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +35 -0
- package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -0
- package/js/types/Interface/api/partner/UpdatePartner.js +42 -0
- package/js/types/Interface/api/partner/UpdatePartner.js.map +1 -0
- package/js/types/Interface/models/IMobileNotificationSetting.js +6 -0
- package/js/types/Interface/models/IMobileNotificationSetting.js.map +1 -0
- package/js/types/index.js +48 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/GeneralLedger.ts +4 -2
- package/ts/api/resources/NotificationSetting.ts +15 -0
- package/ts/api/resources/Partner.ts +5 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/TaskResponseType.ts +3 -3
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +3 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +8 -6
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +2 -1
- package/ts/types/Interface/api/notificationSetting/CreateNotificationSetting.ts +15 -0
- package/ts/types/Interface/api/notificationSetting/UpdateNotificationSetting.ts +16 -0
- package/ts/types/Interface/api/partner/UpdatePartner.ts +20 -0
- package/ts/types/Interface/api/revision/ReadRevisionAccount.ts +2 -0
- package/ts/types/Interface/models/IMobileNotificationSetting.ts +10 -0
- package/ts/types/index.ts +4 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IsBoolean, IsEnum, IsInt } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
import { NotificationType } from '../../../Enum/NotificationType';
|
|
5
|
+
|
|
6
|
+
export class UpdateNotificationSetting {
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
@IsInt()
|
|
9
|
+
@IsEnum(NotificationType)
|
|
10
|
+
notificationType: NotificationType;
|
|
11
|
+
|
|
12
|
+
@ApiProperty()
|
|
13
|
+
@IsBoolean()
|
|
14
|
+
@ToBoolean()
|
|
15
|
+
active: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional, BaseEntity } from '../../../../utils';
|
|
2
|
+
import { ISocietyPartner, PartnerType } from '../../..';
|
|
3
|
+
|
|
4
|
+
export class UpdatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
firstname?: string;
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
lastname?: string;
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
company?: string;
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
siret?: string;
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
fonction: string;
|
|
15
|
+
@ApiProperty({
|
|
16
|
+
default: PartnerType.PHYSICAL_PARTNER,
|
|
17
|
+
description: 'You can retrieve the enum Partner Type in @core',
|
|
18
|
+
})
|
|
19
|
+
idPartnerType: PartnerType;
|
|
20
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
IAccountDetail,
|
|
2
3
|
IAccountingFile, IAccountingJournal, ILettering, IUser,
|
|
3
4
|
} from '../../..';
|
|
4
5
|
|
|
@@ -34,6 +35,7 @@ export interface ReadRevisionAccount {
|
|
|
34
35
|
accountingJournal: IAccountingJournal;
|
|
35
36
|
user: IUser;
|
|
36
37
|
},
|
|
38
|
+
accountDetails: IAccountDetail[],
|
|
37
39
|
thirdParty: { id: number, fullname: string } | null,
|
|
38
40
|
calculatedVat?: number;
|
|
39
41
|
balance: number | null;
|
package/ts/types/index.ts
CHANGED
|
@@ -306,6 +306,7 @@ export * from './Interface/models/IMobile';
|
|
|
306
306
|
export * from './Interface/models/ISocietyEvent';
|
|
307
307
|
export * from './Interface/models/ITask';
|
|
308
308
|
export * from './Interface/models/IMobileNotificationLog';
|
|
309
|
+
export * from './Interface/models/IMobileNotificationSetting';
|
|
309
310
|
|
|
310
311
|
// Forms
|
|
311
312
|
export * from './Form/FormAuthenticate';
|
|
@@ -572,6 +573,7 @@ export * from './Interface/api/mailInvoice/CreateInvoiceMail';
|
|
|
572
573
|
export * from './Interface/api/mailInvoice/UpdateInvoiceMail';
|
|
573
574
|
export * from './Interface/api/partner/CreatePartner';
|
|
574
575
|
export * from './Interface/api/partner/GetPartners';
|
|
576
|
+
export * from './Interface/api/partner/UpdatePartner';
|
|
575
577
|
// export * from './Interface/api/generalLedger/GeneralLedgerQuery';
|
|
576
578
|
export * from './Interface/api/fecFile/CreateFecFile';
|
|
577
579
|
export * from './Interface/api/fecFile/DeleteFecFile';
|
|
@@ -736,3 +738,5 @@ export * from './Interface/api/affectedPatrimony/CreateAffectedPatrimony';
|
|
|
736
738
|
export * from './Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony';
|
|
737
739
|
export * from './Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony';
|
|
738
740
|
export * from './Interface/api/affectedPatrimony/ReadAffectedPatrimony';
|
|
741
|
+
export * from './Interface/api/notificationSetting/CreateNotificationSetting';
|
|
742
|
+
export * from './Interface/api/notificationSetting/UpdateNotificationSetting';
|