@silexpert/core 1.2.64 → 1.2.66
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/Commercial.d.ts +2 -1
- package/dist/cjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/cjs/api/resources/Commercial.js +3 -0
- package/dist/cjs/api/resources/Commercial.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/Query.d.ts +5 -0
- package/dist/cjs/types/Interface/api/commercial/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/commercial/Query.js +30 -0
- package/dist/cjs/types/Interface/api/commercial/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +7 -2
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js +20 -10
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/jeDeclare/Util.d.ts +2 -0
- package/dist/cjs/types/Interface/api/jeDeclare/Util.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/jeDeclare/Util.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +1 -0
- package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.js +9 -0
- package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +1 -0
- package/dist/cjs/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/ParamsGetAllCollaborators.js +6 -0
- package/dist/cjs/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts +4 -0
- package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Commercial.d.ts +2 -1
- package/dist/mjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/mjs/api/resources/Commercial.js +6 -0
- package/dist/mjs/api/resources/Commercial.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/Query.d.ts +5 -0
- package/dist/mjs/types/Interface/api/commercial/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/commercial/Query.js +28 -0
- package/dist/mjs/types/Interface/api/commercial/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +7 -2
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +22 -10
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/jeDeclare/Util.d.ts +2 -0
- package/dist/mjs/types/Interface/api/jeDeclare/Util.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/jeDeclare/Util.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +1 -0
- package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReports.js +10 -0
- package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +1 -0
- package/dist/mjs/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/ParamsGetAllCollaborators.js +7 -0
- package/dist/mjs/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts +4 -0
- package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Commercial.ts +7 -0
- package/ts/types/Interface/api/commercial/Query.ts +14 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +20 -10
- package/ts/types/Interface/api/jeDeclare/Util.ts +2 -0
- package/ts/types/Interface/api/report/QueryReports.ts +8 -0
- package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +5 -0
- package/ts/types/Interface/models/ISocietyGescom.ts +4 -0
- package/ts/types/index.ts +1 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IsDate, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QueryGetLeadByUser {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
@IsOptional()
|
|
7
|
+
@IsDate()
|
|
8
|
+
startDate?: Date;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsOptional()
|
|
12
|
+
@IsDate()
|
|
13
|
+
endDate?: Date;
|
|
14
|
+
}
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
IsString,
|
|
13
13
|
Min,
|
|
14
14
|
} from 'class-validator';
|
|
15
|
-
import { IFile, ReadProductEditing } from '../../..';
|
|
15
|
+
import { BorderLineType, IFile, ReadProductEditing } from '../../..';
|
|
16
16
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
17
17
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
18
18
|
import {
|
|
@@ -270,7 +270,7 @@ export class CreateCommercialSetting {
|
|
|
270
270
|
|
|
271
271
|
@ApiPropertyOptional()
|
|
272
272
|
@IsOptional()
|
|
273
|
-
@
|
|
273
|
+
@IsEnum(BorderLineType)
|
|
274
274
|
lineSeparationType?: string;
|
|
275
275
|
|
|
276
276
|
@ApiPropertyOptional()
|
|
@@ -285,7 +285,7 @@ export class CreateCommercialSetting {
|
|
|
285
285
|
|
|
286
286
|
@ApiPropertyOptional()
|
|
287
287
|
@IsOptional()
|
|
288
|
-
@
|
|
288
|
+
@IsEnum(BorderLineType)
|
|
289
289
|
columnSeparationType?: string;
|
|
290
290
|
|
|
291
291
|
@ApiPropertyOptional()
|
|
@@ -300,7 +300,7 @@ export class CreateCommercialSetting {
|
|
|
300
300
|
|
|
301
301
|
@ApiPropertyOptional()
|
|
302
302
|
@IsOptional()
|
|
303
|
-
@
|
|
303
|
+
@IsEnum(BorderLineType)
|
|
304
304
|
externalBorderType?: string;
|
|
305
305
|
|
|
306
306
|
@ApiPropertyOptional()
|
|
@@ -308,6 +308,11 @@ export class CreateCommercialSetting {
|
|
|
308
308
|
@IsString()
|
|
309
309
|
externalBorderColor?: string;
|
|
310
310
|
|
|
311
|
+
@ApiPropertyOptional()
|
|
312
|
+
@IsOptional()
|
|
313
|
+
@IsNumber()
|
|
314
|
+
reminderCustomizedDayDiff?: number | null;
|
|
315
|
+
|
|
311
316
|
@ApiPropertyOptional()
|
|
312
317
|
@IsOptional()
|
|
313
318
|
@IsInt()
|
|
@@ -323,6 +328,11 @@ export class CreateCommercialSetting {
|
|
|
323
328
|
@IsInt()
|
|
324
329
|
idGeneralConditionOfSale?: number | null;
|
|
325
330
|
|
|
331
|
+
@ApiPropertyOptional()
|
|
332
|
+
@IsOptional()
|
|
333
|
+
@IsInt()
|
|
334
|
+
idReminderSaleEmail?: number | null;
|
|
335
|
+
|
|
326
336
|
@ApiPropertyOptional()
|
|
327
337
|
@IsOptional()
|
|
328
338
|
@IsString()
|
|
@@ -525,7 +535,7 @@ export class CreateInvoiceDocument extends CommercialDocumentInputs {
|
|
|
525
535
|
assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes
|
|
526
536
|
advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes
|
|
527
537
|
language?: InvoiceLanguage;
|
|
528
|
-
reminder?:
|
|
538
|
+
reminder?: CreateReminderForTemplate | null;
|
|
529
539
|
recurrence?: CreateRecurrence | null;
|
|
530
540
|
}
|
|
531
541
|
|
|
@@ -579,17 +589,17 @@ export class CreateReminder {
|
|
|
579
589
|
@IsOptional()
|
|
580
590
|
customizedDate?: Date;
|
|
581
591
|
|
|
582
|
-
@ApiPropertyOptional()
|
|
583
|
-
@IsNumber()
|
|
584
|
-
@IsOptional()
|
|
585
|
-
customizedDayDiff?: number;
|
|
586
|
-
|
|
587
592
|
@ApiPropertyOptional()
|
|
588
593
|
@IsArray()
|
|
589
594
|
@IsInt({ each: true })
|
|
590
595
|
idFiles?: number[];
|
|
591
596
|
}
|
|
592
597
|
|
|
598
|
+
export class CreateReminderForTemplate extends CreateReminder {
|
|
599
|
+
idSaleEmail?: number | null;
|
|
600
|
+
customizedDayDiff?: number | null;
|
|
601
|
+
}
|
|
602
|
+
|
|
593
603
|
export class CreateRecurrence {
|
|
594
604
|
@ApiProperty()
|
|
595
605
|
@IsEnum(RecurrenceType)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { IsBoolean, IsOptional } from 'class-validator';
|
|
1
2
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
2
4
|
|
|
3
5
|
export class QueryReports {
|
|
4
6
|
@ApiPropertyOptional()
|
|
@@ -27,4 +29,10 @@ export class QueryReports {
|
|
|
27
29
|
|
|
28
30
|
@ApiPropertyOptional()
|
|
29
31
|
idUser?: number | number[];
|
|
32
|
+
|
|
33
|
+
@ApiPropertyOptional()
|
|
34
|
+
@IsOptional()
|
|
35
|
+
@IsBoolean()
|
|
36
|
+
@ToBoolean()
|
|
37
|
+
onlyClient?: boolean;
|
|
30
38
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountingCategoryId, FontIds, LogoAlignment } from '../../Enum/CommercialManagement';
|
|
2
2
|
import { IFile } from './IFile';
|
|
3
|
+
import { ISaleEmail } from './ISaleEmail';
|
|
3
4
|
|
|
4
5
|
// societyGescom
|
|
5
6
|
export interface ISocietyGescom {
|
|
@@ -62,11 +63,14 @@ export interface ISocietyGescom {
|
|
|
62
63
|
externalBorderThickness?: number | null;
|
|
63
64
|
externalBorderType?: string | null;
|
|
64
65
|
externalBorderColor?: string | null;
|
|
66
|
+
reminderCustomizedDayDiff?: number | null;
|
|
65
67
|
idRibFile?: number | null;
|
|
66
68
|
idSignatureFile?: number | null;
|
|
67
69
|
idGeneralConditionOfSale?: number | null;
|
|
70
|
+
idReminderSaleEmail?: number | null;
|
|
68
71
|
ribFile?: IFile;
|
|
69
72
|
signatureFile?: IFile;
|
|
73
|
+
defaultReminderSaleEmail?: ISaleEmail;
|
|
70
74
|
createdAt?: Date | null;
|
|
71
75
|
updatedAt?: Date | null;
|
|
72
76
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -663,6 +663,7 @@ export * from './Interface/api/facturation/CreateRebilling';
|
|
|
663
663
|
export * from './Interface/api/facturation/GoToFacturation';
|
|
664
664
|
export * from './Interface/api/facturation/ReadRecommanded';
|
|
665
665
|
export * from './Interface/api/OnBoarding';
|
|
666
|
+
export * from './Interface/api/commercial/Query';
|
|
666
667
|
export * from './Interface/api/commercial/QueryGetStats';
|
|
667
668
|
export * from './Interface/api/commercial/QueryGetStatsHistory';
|
|
668
669
|
export * from './Interface/api/commercial/RequiredDocsTypeParams';
|