@silexpert/core 1.1.302 → 1.1.304

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 (110) hide show
  1. package/dist/cjs/api/resources/BalanceSheetSupervision.d.ts +8 -0
  2. package/dist/cjs/api/resources/BalanceSheetSupervision.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/BalanceSheetSupervision.js +17 -0
  4. package/dist/cjs/api/resources/BalanceSheetSupervision.js.map +1 -0
  5. package/dist/cjs/api/resources/SocietyConfig.d.ts +1 -0
  6. package/dist/cjs/api/resources/SocietyConfig.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/SocietyConfig.js +3 -0
  8. package/dist/cjs/api/resources/SocietyConfig.js.map +1 -1
  9. package/dist/cjs/api/resources.d.ts +2 -0
  10. package/dist/cjs/api/resources.d.ts.map +1 -1
  11. package/dist/cjs/api/resources.js +2 -0
  12. package/dist/cjs/api/resources.js.map +1 -1
  13. package/dist/cjs/types/Enum/LetterType.d.ts +4 -0
  14. package/dist/cjs/types/Enum/LetterType.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/LetterType.js +4 -0
  16. package/dist/cjs/types/Enum/LetterType.js.map +1 -1
  17. package/dist/cjs/types/Enum/Role.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/Role.js +1 -0
  19. package/dist/cjs/types/Enum/Role.js.map +1 -1
  20. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  21. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  22. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
  23. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  24. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts +4 -0
  25. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts.map +1 -1
  26. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js +18 -1
  27. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/societyConfig/update.d.ts +1 -0
  29. package/dist/cjs/types/Interface/api/societyConfig/update.d.ts.map +1 -1
  30. package/dist/cjs/types/Interface/api/societyConfig/update.js +6 -0
  31. package/dist/cjs/types/Interface/api/societyConfig/update.js.map +1 -1
  32. package/dist/cjs/types/Interface/api/supervision/Query.d.ts +17 -0
  33. package/dist/cjs/types/Interface/api/supervision/Query.d.ts.map +1 -0
  34. package/dist/cjs/types/Interface/api/supervision/Query.js +100 -0
  35. package/dist/cjs/types/Interface/api/supervision/Query.js.map +1 -0
  36. package/dist/cjs/types/Interface/models/IPayment.d.ts +1 -0
  37. package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
  38. package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
  39. package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts +1 -0
  40. package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
  41. package/dist/cjs/types/Interface/models/ISocietyConfig.js.map +1 -1
  42. package/dist/cjs/types/Interface/models/ISupervision.d.ts +3 -0
  43. package/dist/cjs/types/Interface/models/ISupervision.d.ts.map +1 -1
  44. package/dist/cjs/types/Interface/models/ISupervision.js.map +1 -1
  45. package/dist/cjs/types/index.d.ts +1 -0
  46. package/dist/cjs/types/index.d.ts.map +1 -1
  47. package/dist/cjs/types/index.js +1 -0
  48. package/dist/cjs/types/index.js.map +1 -1
  49. package/dist/mjs/api/resources/BalanceSheetSupervision.d.ts +8 -0
  50. package/dist/mjs/api/resources/BalanceSheetSupervision.d.ts.map +1 -0
  51. package/dist/mjs/api/resources/BalanceSheetSupervision.js +18 -0
  52. package/dist/mjs/api/resources/BalanceSheetSupervision.js.map +1 -0
  53. package/dist/mjs/api/resources/SocietyConfig.d.ts +1 -0
  54. package/dist/mjs/api/resources/SocietyConfig.d.ts.map +1 -1
  55. package/dist/mjs/api/resources/SocietyConfig.js +3 -0
  56. package/dist/mjs/api/resources/SocietyConfig.js.map +1 -1
  57. package/dist/mjs/api/resources.d.ts +2 -0
  58. package/dist/mjs/api/resources.d.ts.map +1 -1
  59. package/dist/mjs/api/resources.js +2 -0
  60. package/dist/mjs/api/resources.js.map +1 -1
  61. package/dist/mjs/types/Enum/LetterType.d.ts +4 -0
  62. package/dist/mjs/types/Enum/LetterType.d.ts.map +1 -1
  63. package/dist/mjs/types/Enum/LetterType.js +4 -0
  64. package/dist/mjs/types/Enum/LetterType.js.map +1 -1
  65. package/dist/mjs/types/Enum/Role.d.ts.map +1 -1
  66. package/dist/mjs/types/Enum/Role.js +1 -0
  67. package/dist/mjs/types/Enum/Role.js.map +1 -1
  68. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  69. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  70. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +7 -0
  71. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  72. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts +4 -0
  73. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts.map +1 -1
  74. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js +19 -1
  75. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js.map +1 -1
  76. package/dist/mjs/types/Interface/api/societyConfig/update.d.ts +1 -0
  77. package/dist/mjs/types/Interface/api/societyConfig/update.d.ts.map +1 -1
  78. package/dist/mjs/types/Interface/api/societyConfig/update.js +8 -1
  79. package/dist/mjs/types/Interface/api/societyConfig/update.js.map +1 -1
  80. package/dist/mjs/types/Interface/api/supervision/Query.d.ts +17 -0
  81. package/dist/mjs/types/Interface/api/supervision/Query.d.ts.map +1 -0
  82. package/dist/mjs/types/Interface/api/supervision/Query.js +109 -0
  83. package/dist/mjs/types/Interface/api/supervision/Query.js.map +1 -0
  84. package/dist/mjs/types/Interface/models/IPayment.d.ts +1 -0
  85. package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
  86. package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
  87. package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts +1 -0
  88. package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
  89. package/dist/mjs/types/Interface/models/ISocietyConfig.js.map +1 -1
  90. package/dist/mjs/types/Interface/models/ISupervision.d.ts +3 -0
  91. package/dist/mjs/types/Interface/models/ISupervision.d.ts.map +1 -1
  92. package/dist/mjs/types/Interface/models/ISupervision.js.map +1 -1
  93. package/dist/mjs/types/index.d.ts +1 -0
  94. package/dist/mjs/types/index.d.ts.map +1 -1
  95. package/dist/mjs/types/index.js +1 -0
  96. package/dist/mjs/types/index.js.map +1 -1
  97. package/package.json +1 -1
  98. package/ts/api/resources/BalanceSheetSupervision.ts +22 -0
  99. package/ts/api/resources/SocietyConfig.ts +4 -0
  100. package/ts/api/resources.ts +2 -0
  101. package/ts/types/Enum/LetterType.ts +4 -0
  102. package/ts/types/Enum/Role.ts +1 -0
  103. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
  104. package/ts/types/Interface/api/payment/CreateNotifyCustomerInvoice.ts +15 -1
  105. package/ts/types/Interface/api/societyConfig/update.ts +7 -1
  106. package/ts/types/Interface/api/supervision/Query.ts +75 -0
  107. package/ts/types/Interface/models/IPayment.ts +1 -0
  108. package/ts/types/Interface/models/ISocietyConfig.ts +1 -0
  109. package/ts/types/Interface/models/ISupervision.ts +3 -0
  110. package/ts/types/index.ts +1 -0
@@ -44,6 +44,11 @@ export class UpdateBalanceSheet {
44
44
  @IsOptional()
45
45
  state?: number;
46
46
 
47
+ @ApiPropertyOptional()
48
+ @IsNumber()
49
+ @IsOptional()
50
+ bankCollectingState?: number;
51
+
47
52
  @ApiPropertyOptional()
48
53
  @IsNumber()
49
54
  @IsOptional()
@@ -1,4 +1,4 @@
1
- import { IsArray, IsDefined, IsInt } from 'class-validator';
1
+ import { IsArray, IsDefined, IsInt, IsOptional } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
 
4
4
  export class CreateNotifyCustomerInvoice {
@@ -18,4 +18,18 @@ export class CreateNotifyCustomerInvoice {
18
18
 
19
19
  @ApiPropertyOptional()
20
20
  idSociety?: number;
21
+ }
22
+
23
+ export class CreateFixBillingCompanyName {
24
+ @IsDefined()
25
+ @ApiPropertyOptional()
26
+ @IsOptional()
27
+ @IsInt()
28
+ idSociety?: number;
29
+
30
+ @IsDefined()
31
+ @ApiProperty({ default: 50 })
32
+ @IsOptional()
33
+ @IsInt()
34
+ limit: number;
21
35
  }
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsOptional } from 'class-validator';
1
+ import { IsBoolean, IsNumber, IsOptional } from 'class-validator';
2
2
  import { ApiPropertyOptional } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
 
@@ -15,6 +15,12 @@ export class UpdateSocietyConfig {
15
15
  @IsOptional()
16
16
  noVat?: boolean;
17
17
 
18
+
19
+ @ApiPropertyOptional()
20
+ @IsNumber()
21
+ @IsOptional()
22
+ maximalAmountForExpense?: number;
23
+
18
24
  @ApiPropertyOptional()
19
25
  @IsOptional()
20
26
  dateActiveVat?: Date | null;
@@ -0,0 +1,75 @@
1
+ import { IsArray, IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
+ import { RequiredQueryPaginate } from '../BasePaginate';
5
+
6
+ export class QueryPaginatedBalanceSheetSupervision extends RequiredQueryPaginate {
7
+
8
+ @ApiPropertyOptional()
9
+ @IsOptional()
10
+ @IsInt()
11
+ idSupervision?: number | null;
12
+
13
+ @ApiPropertyOptional()
14
+ @IsOptional()
15
+ @IsString()
16
+ search?: string | null;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsOptional()
20
+ @IsInt()
21
+ state?: number | null;
22
+
23
+ @ApiPropertyOptional()
24
+ @IsOptional()
25
+ @IsArray()
26
+ balanceSheetState?: number[];
27
+
28
+ @ApiPropertyOptional()
29
+ @IsOptional()
30
+ @IsArray()
31
+ bankCollectingState?: number[];
32
+
33
+ @ApiPropertyOptional()
34
+ @IsOptional()
35
+ @IsInt()
36
+ closingTime?: number | null;
37
+
38
+ @ApiPropertyOptional()
39
+ @IsOptional()
40
+ @IsInt()
41
+ month?: number | null;
42
+
43
+ @ApiPropertyOptional()
44
+ @IsOptional()
45
+ @IsInt()
46
+ endDate?: number | null;
47
+
48
+ @ApiPropertyOptional()
49
+ @IsOptional()
50
+ @IsInt()
51
+ year?: number | null;
52
+
53
+ @ApiPropertyOptional()
54
+ @IsOptional()
55
+ @IsBoolean()
56
+ @ToBoolean()
57
+ isBack?: boolean | null;
58
+
59
+ @ApiPropertyOptional()
60
+ @IsOptional()
61
+ @IsBoolean()
62
+ @ToBoolean()
63
+ displayArchive?: boolean | null;
64
+
65
+ @ApiPropertyOptional()
66
+ @IsOptional()
67
+ @IsArray()
68
+ userSelected?: number[];
69
+
70
+ @ApiPropertyOptional()
71
+ @IsOptional()
72
+ @IsInt()
73
+ expertSelected?: number | null;
74
+
75
+ }
@@ -23,6 +23,7 @@ export interface IPayment {
23
23
  done?: boolean | null;
24
24
  refInternalInvoicing?: number;
25
25
  noInternalInvoice?: boolean;
26
+ traite?: boolean | null; //TODO: à supprimer une fois que le fix de factures du 31/05/24 est corrigé
26
27
  idPrestation: number;
27
28
  idExercice?: number | null;
28
29
  idUser?: number | null;
@@ -6,6 +6,7 @@ export interface ISocietyConfig {
6
6
  disableExport: boolean;
7
7
  noVat: boolean;
8
8
  dateActiveVat?: Date | null;
9
+ maximalAmountForExpense?: number | null;
9
10
  logo?: string | null;
10
11
  adjournment: boolean;
11
12
  acceptCgv: boolean;
@@ -24,6 +24,8 @@ export interface ISupervision {
24
24
  freeTextDate: Date | null;
25
25
  freeTextUserId: number | null;
26
26
  idBalanceSheet: number | null;
27
+ idUserWhoValidate: number | null;
28
+ validateDate?: Date | null;
27
29
  createdAt?: Date | null;
28
30
  updatedAt?: Date | null;
29
31
 
@@ -37,4 +39,5 @@ export interface ISupervision {
37
39
  file: IFile;
38
40
  letter: ILetter;
39
41
  pendingPoints: IPendingPoint[];
42
+ userWhoValidate: IUser;
40
43
  }
package/ts/types/index.ts CHANGED
@@ -794,6 +794,7 @@ export * from './Interface/api/bankAccount/Query';
794
794
  export * from './Interface/api/bankAccount/Update';
795
795
  export * from './Interface/api/stripe/QueryStripe';
796
796
  export * from './Interface/api/stripe/ReadStripe';
797
+ export * from './Interface/api/supervision/Query';
797
798
  export * from './Interface/api/salariesFile/ReadSalariesFile';
798
799
  export * from './Interface/api/salariesFile/CreateSalariesFile';
799
800
  export * from './Interface/api/shine/CreateShine';