@silexpert/core 1.1.281 → 1.1.282

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 (88) hide show
  1. package/dist/cjs/api/resources/Payment.d.ts +10 -1
  2. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Payment.js +20 -0
  4. package/dist/cjs/api/resources/Payment.js.map +1 -1
  5. package/dist/cjs/api/resources/Regulation.d.ts +7 -0
  6. package/dist/cjs/api/resources/Regulation.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/Regulation.js +13 -0
  8. package/dist/cjs/api/resources/Regulation.js.map +1 -0
  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/BalanceSheet.js +1 -1
  14. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  15. package/dist/cjs/types/Enum/TaskResponseType.d.ts.map +1 -1
  16. package/dist/cjs/types/Enum/TaskResponseType.js +11 -0
  17. package/dist/cjs/types/Enum/TaskResponseType.js.map +1 -1
  18. package/dist/cjs/types/Interface/api/payment/Query.d.ts +8 -0
  19. package/dist/cjs/types/Interface/api/payment/Query.d.ts.map +1 -0
  20. package/dist/cjs/types/Interface/api/payment/Query.js +39 -0
  21. package/dist/cjs/types/Interface/api/payment/Query.js.map +1 -0
  22. package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts +27 -0
  23. package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
  24. package/dist/cjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
  25. package/dist/cjs/types/Interface/api/regulation/Query.d.ts +8 -0
  26. package/dist/cjs/types/Interface/api/regulation/Query.d.ts.map +1 -0
  27. package/dist/cjs/types/Interface/api/regulation/Query.js +50 -0
  28. package/dist/cjs/types/Interface/api/regulation/Query.js.map +1 -0
  29. package/dist/cjs/types/Interface/api/regulation/Read.d.ts +7 -0
  30. package/dist/cjs/types/Interface/api/regulation/Read.d.ts.map +1 -0
  31. package/dist/cjs/types/Interface/api/regulation/Read.js +3 -0
  32. package/dist/cjs/types/Interface/api/regulation/Read.js.map +1 -0
  33. package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js +2 -2
  34. package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js.map +1 -1
  35. package/dist/cjs/types/index.d.ts +2 -0
  36. package/dist/cjs/types/index.d.ts.map +1 -1
  37. package/dist/cjs/types/index.js +2 -0
  38. package/dist/cjs/types/index.js.map +1 -1
  39. package/dist/mjs/api/resources/Payment.d.ts +10 -1
  40. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  41. package/dist/mjs/api/resources/Payment.js +20 -0
  42. package/dist/mjs/api/resources/Payment.js.map +1 -1
  43. package/dist/mjs/api/resources/Regulation.d.ts +7 -0
  44. package/dist/mjs/api/resources/Regulation.d.ts.map +1 -0
  45. package/dist/mjs/api/resources/Regulation.js +9 -0
  46. package/dist/mjs/api/resources/Regulation.js.map +1 -0
  47. package/dist/mjs/api/resources.d.ts +2 -0
  48. package/dist/mjs/api/resources.d.ts.map +1 -1
  49. package/dist/mjs/api/resources.js +2 -0
  50. package/dist/mjs/api/resources.js.map +1 -1
  51. package/dist/mjs/types/Enum/BalanceSheet.js +1 -1
  52. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  53. package/dist/mjs/types/Enum/TaskResponseType.d.ts.map +1 -1
  54. package/dist/mjs/types/Enum/TaskResponseType.js +11 -0
  55. package/dist/mjs/types/Enum/TaskResponseType.js.map +1 -1
  56. package/dist/mjs/types/Interface/api/payment/Query.d.ts +8 -0
  57. package/dist/mjs/types/Interface/api/payment/Query.d.ts.map +1 -0
  58. package/dist/mjs/types/Interface/api/payment/Query.js +37 -0
  59. package/dist/mjs/types/Interface/api/payment/Query.js.map +1 -0
  60. package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts +27 -0
  61. package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
  62. package/dist/mjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
  63. package/dist/mjs/types/Interface/api/regulation/Query.d.ts +8 -0
  64. package/dist/mjs/types/Interface/api/regulation/Query.d.ts.map +1 -0
  65. package/dist/mjs/types/Interface/api/regulation/Query.js +51 -0
  66. package/dist/mjs/types/Interface/api/regulation/Query.js.map +1 -0
  67. package/dist/mjs/types/Interface/api/regulation/Read.d.ts +7 -0
  68. package/dist/mjs/types/Interface/api/regulation/Read.d.ts.map +1 -0
  69. package/dist/mjs/types/Interface/api/regulation/Read.js +2 -0
  70. package/dist/mjs/types/Interface/api/regulation/Read.js.map +1 -0
  71. package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js +3 -3
  72. package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js.map +1 -1
  73. package/dist/mjs/types/index.d.ts +2 -0
  74. package/dist/mjs/types/index.d.ts.map +1 -1
  75. package/dist/mjs/types/index.js +2 -0
  76. package/dist/mjs/types/index.js.map +1 -1
  77. package/package.json +1 -1
  78. package/ts/api/resources/Payment.ts +25 -1
  79. package/ts/api/resources/Regulation.ts +11 -0
  80. package/ts/api/resources.ts +2 -0
  81. package/ts/types/Enum/BalanceSheet.ts +1 -1
  82. package/ts/types/Enum/TaskResponseType.ts +11 -0
  83. package/ts/types/Interface/api/payment/Query.ts +21 -0
  84. package/ts/types/Interface/api/payment/ReadPayment.ts +31 -0
  85. package/ts/types/Interface/api/regulation/Query.ts +31 -0
  86. package/ts/types/Interface/api/regulation/Read.ts +7 -0
  87. package/ts/types/Interface/api/terminationList/QueryPaginateTerminationList.ts +3 -3
  88. package/ts/types/index.ts +2 -0
@@ -307,6 +307,17 @@ export const TaskResponseType = {
307
307
  responseType: null,
308
308
  description: 'Mise à jour annotation',
309
309
  },
310
+ {
311
+ id: 25,
312
+ label: 'Appel téléphonique non honoré',
313
+ role: Role.CUSTOMER_SUCCESS,
314
+ deadline: Deadline,
315
+ isForWholeRole: false,
316
+ backToClient: false,
317
+ goToCalendar: false,
318
+ responseType: null,
319
+ description: 'Appel téléphonique non honoré, pensez à reprendre RDV',
320
+ },
310
321
  ],
311
322
  },
312
323
  EXTERN: {
@@ -0,0 +1,21 @@
1
+ import { IsBoolean, IsDate, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
+
5
+ export class QueryPayment {
6
+ @ApiProperty()
7
+ @IsDate()
8
+ startDate: Date;
9
+
10
+ @ApiProperty()
11
+ @IsDate()
12
+ endDate: Date;
13
+ }
14
+
15
+ export class QuerySocietyUnpaid {
16
+ @ApiPropertyOptional()
17
+ @IsOptional()
18
+ @IsBoolean()
19
+ @ToBoolean()
20
+ withStats: boolean;
21
+ }
@@ -7,4 +7,35 @@ export interface ReadNotifyCustomer {
7
7
  export interface ReadNotifyCustomerInvoice {
8
8
  mailSentForSocieties: number,
9
9
  errorForSocieties: number[]
10
+ }
11
+
12
+ export interface ReadBrandPayments {
13
+ idTypeBrand: number,
14
+ name: string,
15
+ amountTTC: number,
16
+ amountHT: number,
17
+ }
18
+
19
+ export interface ReadPaid {
20
+ total: number,
21
+ paid: number,
22
+ assetPayment: ReadBrandPayments[],
23
+ invoicePayment: ReadBrandPayments[],
24
+ }
25
+
26
+ export interface ReadStatPrestation {
27
+ juridicAmountTTC: number,
28
+ juridicAmountHT: number,
29
+ socialAmountTTC: number,
30
+ socialAmountHT: number,
31
+ accountantAmountTTC: number,
32
+ accountantAmountHT: number,
33
+ }
34
+
35
+ export interface ReadStatsSocietyUnpaid {
36
+ dateStart: string,
37
+ dateEnd: string,
38
+ title: string,
39
+ nbOfSociety: number,
40
+ amount: number,
10
41
  }
@@ -0,0 +1,31 @@
1
+ import { IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
+
5
+ export class QueryRegulation {
6
+ @ApiPropertyOptional()
7
+ @IsOptional()
8
+ @IsString()
9
+ orderBy?: string | null;
10
+
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsBoolean()
14
+ @ToBoolean()
15
+ descending?: boolean | null;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsInt()
20
+ year?: number | null;
21
+
22
+ @ApiPropertyOptional()
23
+ @IsOptional()
24
+ @IsInt()
25
+ month?: number | null;
26
+
27
+ @ApiPropertyOptional()
28
+ @IsOptional()
29
+ @IsInt()
30
+ idPaymentMethod?: number | null;
31
+ }
@@ -0,0 +1,7 @@
1
+ import { IRegulation } from '../../..';
2
+
3
+ export interface ReadRejectedRegulation {
4
+ regulations: IRegulation[];
5
+ nbOfReject: number;
6
+ totalAmount: number;
7
+ }
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsDateString, IsInt, IsOptional, IsString } from 'class-validator';
1
+ import { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiPropertyOptional } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
 
@@ -24,12 +24,12 @@ export class QueryPaginateTerminationList {
24
24
  year?: number;
25
25
 
26
26
  @ApiPropertyOptional()
27
- @IsDateString()
27
+ @IsDate()
28
28
  @IsOptional()
29
29
  beginDate?: Date;
30
30
 
31
31
  @ApiPropertyOptional()
32
- @IsDateString()
32
+ @IsDate()
33
33
  @IsOptional()
34
34
  endDate?: Date;
35
35
 
package/ts/types/index.ts CHANGED
@@ -1055,6 +1055,8 @@ export * from './Interface/api/echo/NewsPaper';
1055
1055
  export * from './Interface/api/echo/Order';
1056
1056
  export * from './Interface/api/userTimeSlot/QueryUserTimeSlot';
1057
1057
  export * from './Interface/api/workingSchedule/QueryAvailableTimeSlot';
1058
+ export * from './Interface/api/payment/Query';
1059
+ export * from './Interface/api/regulation/Query';
1058
1060
  export * from './Interface/api/terminationList/Read';
1059
1061
 
1060
1062
  // Enums types