@silexpert/core 1.1.227 → 1.1.230
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/BankAccount.d.ts +2 -1
- package/dist/cjs/api/resources/BankAccount.d.ts.map +1 -1
- package/dist/cjs/api/resources/BankAccount.js +3 -0
- package/dist/cjs/api/resources/BankAccount.js.map +1 -1
- package/dist/cjs/api/resources/BankStatement.d.ts +1 -1
- package/dist/cjs/api/resources/BankStatement.d.ts.map +1 -1
- package/dist/cjs/api/resources/BankStatement.js +3 -3
- package/dist/cjs/api/resources/BankStatement.js.map +1 -1
- package/dist/cjs/api/resources/Brevo.d.ts +8 -0
- package/dist/cjs/api/resources/Brevo.d.ts.map +1 -0
- package/dist/cjs/api/resources/Brevo.js +17 -0
- package/dist/cjs/api/resources/Brevo.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/Brevo.d.ts +9 -0
- package/dist/cjs/types/Enum/Brevo.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Brevo.js +13 -0
- package/dist/cjs/types/Enum/Brevo.js.map +1 -0
- package/dist/cjs/types/Interface/api/bankAccount/Create.d.ts +6 -0
- package/dist/cjs/types/Interface/api/bankAccount/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/bankAccount/Create.js +29 -0
- package/dist/cjs/types/Interface/api/bankAccount/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +20 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +86 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -0
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +1 -0
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +6 -0
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/BankAccount.d.ts +2 -1
- package/dist/mjs/api/resources/BankAccount.d.ts.map +1 -1
- package/dist/mjs/api/resources/BankAccount.js +3 -0
- package/dist/mjs/api/resources/BankAccount.js.map +1 -1
- package/dist/mjs/api/resources/BankStatement.d.ts +1 -1
- package/dist/mjs/api/resources/BankStatement.d.ts.map +1 -1
- package/dist/mjs/api/resources/BankStatement.js +3 -3
- package/dist/mjs/api/resources/BankStatement.js.map +1 -1
- package/dist/mjs/api/resources/Brevo.d.ts +8 -0
- package/dist/mjs/api/resources/Brevo.d.ts.map +1 -0
- package/dist/mjs/api/resources/Brevo.js +13 -0
- package/dist/mjs/api/resources/Brevo.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/Brevo.d.ts +9 -0
- package/dist/mjs/types/Enum/Brevo.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Brevo.js +10 -0
- package/dist/mjs/types/Enum/Brevo.js.map +1 -0
- package/dist/mjs/types/Interface/api/bankAccount/Create.d.ts +6 -0
- package/dist/mjs/types/Interface/api/bankAccount/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/bankAccount/Create.js +27 -0
- package/dist/mjs/types/Interface/api/bankAccount/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +20 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +90 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -0
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +1 -0
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +7 -0
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
- package/dist/mjs/types/index.d.ts +3 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BankAccount.ts +5 -1
- package/ts/api/resources/BankStatement.ts +3 -3
- package/ts/api/resources/Brevo.ts +17 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Brevo.ts +8 -0
- package/ts/types/Interface/api/bankAccount/Create.ts +13 -0
- package/ts/types/Interface/api/brevo/BrevoElement.ts +63 -0
- package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +5 -0
- package/ts/types/index.ts +3 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IsInt, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
import { BankAccountType } from '../../../Enum/BankAccountType';
|
|
4
|
+
|
|
5
|
+
export class CreateBankAccount {
|
|
6
|
+
@ApiProperty()
|
|
7
|
+
@IsInt()
|
|
8
|
+
idBankAccountType: BankAccountType;
|
|
9
|
+
|
|
10
|
+
@ApiProperty()
|
|
11
|
+
@IsString()
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsInt, IsNotEmpty, IsNumber, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class CreateContact {
|
|
8
|
+
@ApiProperty()
|
|
9
|
+
@IsString()
|
|
10
|
+
email: string;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsString()
|
|
15
|
+
firstName?: string;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsString()
|
|
20
|
+
lastname?: string;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsString()
|
|
25
|
+
activity?: string;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
@IsString()
|
|
30
|
+
nameSociety?: string;
|
|
31
|
+
|
|
32
|
+
@ApiProperty()
|
|
33
|
+
@IsInt({ each: true })
|
|
34
|
+
listIds: number[];
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class ReadContact {
|
|
39
|
+
@ApiProperty()
|
|
40
|
+
@IsNumber()
|
|
41
|
+
id: number;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export class ChangeContact {
|
|
45
|
+
@ApiProperty()
|
|
46
|
+
@IsString({ each: true })
|
|
47
|
+
email: string[];
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@ApiProperty()
|
|
51
|
+
@IsNumber()
|
|
52
|
+
listId: number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class UpdateContact {
|
|
56
|
+
@ApiProperty()
|
|
57
|
+
@IsString()
|
|
58
|
+
@IsNotEmpty()
|
|
59
|
+
email: string;
|
|
60
|
+
|
|
61
|
+
@ApiProperty()
|
|
62
|
+
attributes: Partial<CreateContact>;
|
|
63
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -526,6 +526,7 @@ export * from './Enum/EquipmentState';
|
|
|
526
526
|
export * from './Enum/EquipmentAvailability';
|
|
527
527
|
export * from './Enum/SpecialDayType';
|
|
528
528
|
export * from './Enum/Degree';
|
|
529
|
+
export * from './Enum/Brevo';
|
|
529
530
|
|
|
530
531
|
// Interfaces API
|
|
531
532
|
export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
|
|
@@ -1032,6 +1033,8 @@ export * from './Interface/api/customerSignature/Query';
|
|
|
1032
1033
|
export * from './Interface/api/userRoomEquipment/CreateSignature';
|
|
1033
1034
|
export * from './Interface/api/paymentExpectation/CreatePaymentExpecation';
|
|
1034
1035
|
export * from './Interface/api/expertAnnuary/Query';
|
|
1036
|
+
export * from './Interface/api/brevo/BrevoElement';
|
|
1037
|
+
export * from './Interface/api/bankAccount/Create';
|
|
1035
1038
|
|
|
1036
1039
|
// Enums types
|
|
1037
1040
|
export * from './Interface/enum/Util';
|