@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.
- package/dist/cjs/api/resources/Payment.d.ts +10 -1
- package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Payment.js +20 -0
- package/dist/cjs/api/resources/Payment.js.map +1 -1
- package/dist/cjs/api/resources/Regulation.d.ts +7 -0
- package/dist/cjs/api/resources/Regulation.d.ts.map +1 -0
- package/dist/cjs/api/resources/Regulation.js +13 -0
- package/dist/cjs/api/resources/Regulation.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/BalanceSheet.js +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/TaskResponseType.js +11 -0
- package/dist/cjs/types/Enum/TaskResponseType.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Query.d.ts +8 -0
- package/dist/cjs/types/Interface/api/payment/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/payment/Query.js +39 -0
- package/dist/cjs/types/Interface/api/payment/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts +27 -0
- package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
- package/dist/cjs/types/Interface/api/regulation/Query.d.ts +8 -0
- package/dist/cjs/types/Interface/api/regulation/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/regulation/Query.js +50 -0
- package/dist/cjs/types/Interface/api/regulation/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/regulation/Read.d.ts +7 -0
- package/dist/cjs/types/Interface/api/regulation/Read.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/regulation/Read.js +3 -0
- package/dist/cjs/types/Interface/api/regulation/Read.js.map +1 -0
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js +2 -2
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +10 -1
- package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Payment.js +20 -0
- package/dist/mjs/api/resources/Payment.js.map +1 -1
- package/dist/mjs/api/resources/Regulation.d.ts +7 -0
- package/dist/mjs/api/resources/Regulation.d.ts.map +1 -0
- package/dist/mjs/api/resources/Regulation.js +9 -0
- package/dist/mjs/api/resources/Regulation.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/BalanceSheet.js +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/TaskResponseType.js +11 -0
- package/dist/mjs/types/Enum/TaskResponseType.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Query.d.ts +8 -0
- package/dist/mjs/types/Interface/api/payment/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/payment/Query.js +37 -0
- package/dist/mjs/types/Interface/api/payment/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts +27 -0
- package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
- package/dist/mjs/types/Interface/api/regulation/Query.d.ts +8 -0
- package/dist/mjs/types/Interface/api/regulation/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/regulation/Query.js +51 -0
- package/dist/mjs/types/Interface/api/regulation/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/regulation/Read.d.ts +7 -0
- package/dist/mjs/types/Interface/api/regulation/Read.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/regulation/Read.js +2 -0
- package/dist/mjs/types/Interface/api/regulation/Read.js.map +1 -0
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js +3 -3
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js.map +1 -1
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Payment.ts +25 -1
- package/ts/api/resources/Regulation.ts +11 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/TaskResponseType.ts +11 -0
- package/ts/types/Interface/api/payment/Query.ts +21 -0
- package/ts/types/Interface/api/payment/ReadPayment.ts +31 -0
- package/ts/types/Interface/api/regulation/Query.ts +31 -0
- package/ts/types/Interface/api/regulation/Read.ts +7 -0
- package/ts/types/Interface/api/terminationList/QueryPaginateTerminationList.ts +3 -3
- 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
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean,
|
|
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
|
-
@
|
|
27
|
+
@IsDate()
|
|
28
28
|
@IsOptional()
|
|
29
29
|
beginDate?: Date;
|
|
30
30
|
|
|
31
31
|
@ApiPropertyOptional()
|
|
32
|
-
@
|
|
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
|