@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.
Files changed (82) hide show
  1. package/dist/cjs/api/resources/BankAccount.d.ts +2 -1
  2. package/dist/cjs/api/resources/BankAccount.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/BankAccount.js +3 -0
  4. package/dist/cjs/api/resources/BankAccount.js.map +1 -1
  5. package/dist/cjs/api/resources/BankStatement.d.ts +1 -1
  6. package/dist/cjs/api/resources/BankStatement.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/BankStatement.js +3 -3
  8. package/dist/cjs/api/resources/BankStatement.js.map +1 -1
  9. package/dist/cjs/api/resources/Brevo.d.ts +8 -0
  10. package/dist/cjs/api/resources/Brevo.d.ts.map +1 -0
  11. package/dist/cjs/api/resources/Brevo.js +17 -0
  12. package/dist/cjs/api/resources/Brevo.js.map +1 -0
  13. package/dist/cjs/api/resources.d.ts +2 -0
  14. package/dist/cjs/api/resources.d.ts.map +1 -1
  15. package/dist/cjs/api/resources.js +2 -0
  16. package/dist/cjs/api/resources.js.map +1 -1
  17. package/dist/cjs/types/Enum/Brevo.d.ts +9 -0
  18. package/dist/cjs/types/Enum/Brevo.d.ts.map +1 -0
  19. package/dist/cjs/types/Enum/Brevo.js +13 -0
  20. package/dist/cjs/types/Enum/Brevo.js.map +1 -0
  21. package/dist/cjs/types/Interface/api/bankAccount/Create.d.ts +6 -0
  22. package/dist/cjs/types/Interface/api/bankAccount/Create.d.ts.map +1 -0
  23. package/dist/cjs/types/Interface/api/bankAccount/Create.js +29 -0
  24. package/dist/cjs/types/Interface/api/bankAccount/Create.js.map +1 -0
  25. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +20 -0
  26. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -0
  27. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +86 -0
  28. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -0
  29. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +1 -0
  30. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
  31. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +6 -0
  32. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
  33. package/dist/cjs/types/index.d.ts +3 -0
  34. package/dist/cjs/types/index.d.ts.map +1 -1
  35. package/dist/cjs/types/index.js +3 -0
  36. package/dist/cjs/types/index.js.map +1 -1
  37. package/dist/mjs/api/resources/BankAccount.d.ts +2 -1
  38. package/dist/mjs/api/resources/BankAccount.d.ts.map +1 -1
  39. package/dist/mjs/api/resources/BankAccount.js +3 -0
  40. package/dist/mjs/api/resources/BankAccount.js.map +1 -1
  41. package/dist/mjs/api/resources/BankStatement.d.ts +1 -1
  42. package/dist/mjs/api/resources/BankStatement.d.ts.map +1 -1
  43. package/dist/mjs/api/resources/BankStatement.js +3 -3
  44. package/dist/mjs/api/resources/BankStatement.js.map +1 -1
  45. package/dist/mjs/api/resources/Brevo.d.ts +8 -0
  46. package/dist/mjs/api/resources/Brevo.d.ts.map +1 -0
  47. package/dist/mjs/api/resources/Brevo.js +13 -0
  48. package/dist/mjs/api/resources/Brevo.js.map +1 -0
  49. package/dist/mjs/api/resources.d.ts +2 -0
  50. package/dist/mjs/api/resources.d.ts.map +1 -1
  51. package/dist/mjs/api/resources.js +2 -0
  52. package/dist/mjs/api/resources.js.map +1 -1
  53. package/dist/mjs/types/Enum/Brevo.d.ts +9 -0
  54. package/dist/mjs/types/Enum/Brevo.d.ts.map +1 -0
  55. package/dist/mjs/types/Enum/Brevo.js +10 -0
  56. package/dist/mjs/types/Enum/Brevo.js.map +1 -0
  57. package/dist/mjs/types/Interface/api/bankAccount/Create.d.ts +6 -0
  58. package/dist/mjs/types/Interface/api/bankAccount/Create.d.ts.map +1 -0
  59. package/dist/mjs/types/Interface/api/bankAccount/Create.js +27 -0
  60. package/dist/mjs/types/Interface/api/bankAccount/Create.js.map +1 -0
  61. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +20 -0
  62. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -0
  63. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +90 -0
  64. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -0
  65. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +1 -0
  66. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
  67. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +7 -0
  68. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
  69. package/dist/mjs/types/index.d.ts +3 -0
  70. package/dist/mjs/types/index.d.ts.map +1 -1
  71. package/dist/mjs/types/index.js +3 -0
  72. package/dist/mjs/types/index.js.map +1 -1
  73. package/package.json +1 -1
  74. package/ts/api/resources/BankAccount.ts +5 -1
  75. package/ts/api/resources/BankStatement.ts +3 -3
  76. package/ts/api/resources/Brevo.ts +17 -0
  77. package/ts/api/resources.ts +2 -0
  78. package/ts/types/Enum/Brevo.ts +8 -0
  79. package/ts/types/Interface/api/bankAccount/Create.ts +13 -0
  80. package/ts/types/Interface/api/brevo/BrevoElement.ts +63 -0
  81. package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +5 -0
  82. 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
+ }
@@ -82,6 +82,11 @@ export class CreateBusinessPartnersAndUsersParams {
82
82
  @ToBoolean()
83
83
  isPhysical?: boolean;
84
84
 
85
+ @ApiPropertyOptional()
86
+ @IsOptional()
87
+ @IsString()
88
+ director?: string;
89
+
85
90
  @ApiPropertyOptional()
86
91
  @IsOptional()
87
92
  @IsInt()
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';