@silexpert/core 1.2.72 → 1.2.74
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/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.js +2 -0
- package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +2 -0
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +2 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js +13 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Update.d.ts +2 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Update.js +13 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Update.js.map +1 -1
- package/dist/cjs/types/Interface/api/file/Create.d.ts +1 -0
- package/dist/cjs/types/Interface/api/file/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/file/Create.js +8 -0
- package/dist/cjs/types/Interface/api/file/Create.js.map +1 -1
- package/dist/cjs/types/Interface/models/IInvoiceRecurrence.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IInvoiceRecurrence.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IInvoiceRecurrence.js.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.js +2 -0
- package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +2 -0
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +2 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +15 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Update.d.ts +2 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Update.js +15 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Update.js.map +1 -1
- package/dist/mjs/types/Interface/api/file/Create.d.ts +1 -0
- package/dist/mjs/types/Interface/api/file/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/file/Create.js +11 -2
- package/dist/mjs/types/Interface/api/file/Create.js.map +1 -1
- package/dist/mjs/types/Interface/models/IInvoiceRecurrence.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IInvoiceRecurrence.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IInvoiceRecurrence.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/BrandLegalstart.ts +2 -0
- package/ts/types/Enum/BrandPourcentage.ts +2 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +11 -0
- package/ts/types/Interface/api/commercialManagement/Update.ts +11 -0
- package/ts/types/Interface/api/file/Create.ts +9 -2
- package/ts/types/Interface/models/IInvoiceRecurrence.ts +2 -0
|
@@ -590,6 +590,7 @@ export class CreateReminder {
|
|
|
590
590
|
customizedDate?: Date;
|
|
591
591
|
|
|
592
592
|
@ApiPropertyOptional()
|
|
593
|
+
@IsOptional()
|
|
593
594
|
@IsArray()
|
|
594
595
|
@IsInt({ each: true })
|
|
595
596
|
idFiles?: number[];
|
|
@@ -617,6 +618,16 @@ export class CreateRecurrence {
|
|
|
617
618
|
@ToBoolean()
|
|
618
619
|
@IsBoolean()
|
|
619
620
|
isActive: boolean;
|
|
621
|
+
|
|
622
|
+
@ApiProperty()
|
|
623
|
+
@ToBoolean()
|
|
624
|
+
@IsBoolean()
|
|
625
|
+
shouldSendEmailOnCreation: boolean;
|
|
626
|
+
|
|
627
|
+
@ApiPropertyOptional()
|
|
628
|
+
@IsNumber()
|
|
629
|
+
@IsOptional()
|
|
630
|
+
idSaleEmail?: number;
|
|
620
631
|
}
|
|
621
632
|
|
|
622
633
|
export class CreateRegenerateDocument {
|
|
@@ -106,6 +106,7 @@ export class UpdateReminder {
|
|
|
106
106
|
customizedDayDiff?: number;
|
|
107
107
|
|
|
108
108
|
@ApiPropertyOptional()
|
|
109
|
+
@IsOptional()
|
|
109
110
|
@IsArray()
|
|
110
111
|
@IsInt({ each: true })
|
|
111
112
|
idFiles?: number[];
|
|
@@ -132,4 +133,14 @@ export class UpdateRecurrence {
|
|
|
132
133
|
@IsBoolean()
|
|
133
134
|
@IsOptional()
|
|
134
135
|
isActive?: boolean;
|
|
136
|
+
|
|
137
|
+
@ApiPropertyOptional()
|
|
138
|
+
@ToBoolean()
|
|
139
|
+
@IsOptional()
|
|
140
|
+
shouldSendEmailOnCreation?: boolean;
|
|
141
|
+
|
|
142
|
+
@ApiPropertyOptional()
|
|
143
|
+
@IsNumber()
|
|
144
|
+
@IsOptional()
|
|
145
|
+
idSaleEmail?: number;
|
|
135
146
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { IsString } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
1
|
+
import { IsBoolean, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { TFile } from './TFile';
|
|
4
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
5
|
|
|
5
6
|
export class CreateFile {
|
|
6
7
|
@ApiProperty()
|
|
@@ -13,6 +14,12 @@ export class CreateFile {
|
|
|
13
14
|
@ApiProperty()
|
|
14
15
|
@IsString()
|
|
15
16
|
name: string;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsBoolean()
|
|
20
|
+
@ToBoolean()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
convertImage?: boolean;
|
|
16
23
|
}
|
|
17
24
|
|
|
18
25
|
export type ResizeIfTooLargePayload = {
|