@silexpert/core 0.4.213 → 0.4.215
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/es/types/Enum/Call.d.ts +12 -0
- package/es/types/Enum/Call.d.ts.map +1 -0
- package/es/types/Enum/Call.js +14 -0
- package/es/types/Enum/Call.js.map +1 -0
- package/es/types/Enum/TaskResponseType.js +1 -1
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Interface/api/3cx/Create3cxLog.d.ts +17 -0
- package/es/types/Interface/api/3cx/Create3cxLog.d.ts.map +1 -0
- package/es/types/Interface/api/3cx/Create3cxLog.js +80 -0
- package/es/types/Interface/api/3cx/Create3cxLog.js.map +1 -0
- package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +5 -0
- package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -0
- package/es/types/Interface/api/3cx/Query3cxSearch.js +26 -0
- package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -0
- package/es/types/Interface/api/3cx/Read3cxSearch.d.ts +11 -0
- package/es/types/Interface/api/3cx/Read3cxSearch.d.ts.map +1 -0
- package/es/types/Interface/api/3cx/Read3cxSearch.js +3 -0
- package/es/types/Interface/api/3cx/Read3cxSearch.js.map +1 -0
- package/es/types/Interface/api/budgetInsight/Query.d.ts +16 -0
- package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
- package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.d.ts +4 -0
- package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.d.ts.map +1 -1
- package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.js.map +1 -1
- package/es/types/Interface/models/ICallHistory.d.ts +20 -0
- package/es/types/Interface/models/ICallHistory.d.ts.map +1 -0
- package/es/types/Interface/models/ICallHistory.js +2 -0
- package/es/types/Interface/models/ICallHistory.js.map +1 -0
- package/es/types/index.d.ts +4 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +4 -0
- package/es/types/index.js.map +1 -1
- package/js/types/Enum/Call.js +22 -0
- package/js/types/Enum/Call.js.map +1 -0
- package/js/types/Enum/TaskResponseType.js +1 -1
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Interface/api/3cx/Create3cxLog.js +55 -0
- package/js/types/Interface/api/3cx/Create3cxLog.js.map +1 -0
- package/js/types/Interface/api/3cx/Query3cxSearch.js +31 -0
- package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -0
- package/js/types/Interface/api/3cx/Read3cxSearch.js +10 -0
- package/js/types/Interface/api/3cx/Read3cxSearch.js.map +1 -0
- package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/js/types/Interface/models/ICallHistory.js +6 -0
- package/js/types/Interface/models/ICallHistory.js.map +1 -0
- package/js/types/index.js +48 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/Call.ts +12 -0
- package/ts/types/Enum/TaskResponseType.ts +1 -1
- package/ts/types/Interface/api/3cx/Create3cxLog.ts +57 -0
- package/ts/types/Interface/api/3cx/Query3cxSearch.ts +14 -0
- package/ts/types/Interface/api/3cx/Read3cxSearch.ts +10 -0
- package/ts/types/Interface/api/budgetInsight/Query.ts +17 -0
- package/ts/types/Interface/api/revision/ReadRevisionTransactionDetail.ts +1 -0
- package/ts/types/Interface/models/ICallHistory.ts +20 -0
- package/ts/types/index.ts +4 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { IsEnum, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { CallDirection, CallType } from '../../../Enum/Call';
|
|
4
|
+
|
|
5
|
+
export class Create3cxLog {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
number?: string | null;
|
|
9
|
+
|
|
10
|
+
@ApiProperty()
|
|
11
|
+
@IsEnum(CallType)
|
|
12
|
+
callType: CallType;
|
|
13
|
+
|
|
14
|
+
@ApiProperty()
|
|
15
|
+
@IsEnum(CallDirection)
|
|
16
|
+
callDirection: CallDirection;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
name?: string | null;
|
|
21
|
+
|
|
22
|
+
@ApiProperty()
|
|
23
|
+
@IsString()
|
|
24
|
+
entityType: string;
|
|
25
|
+
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
entityId?: string | null;
|
|
29
|
+
|
|
30
|
+
@ApiPropertyOptional()
|
|
31
|
+
@IsOptional()
|
|
32
|
+
agent?: string;
|
|
33
|
+
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
@IsOptional()
|
|
36
|
+
agentFirstname?: string;
|
|
37
|
+
|
|
38
|
+
@ApiPropertyOptional()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
agentLastname?: string;
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
agentEmail?: string;
|
|
45
|
+
|
|
46
|
+
@ApiPropertyOptional()
|
|
47
|
+
@IsOptional()
|
|
48
|
+
duration?: string;
|
|
49
|
+
|
|
50
|
+
@ApiProperty()
|
|
51
|
+
@IsString()
|
|
52
|
+
startDate: string;
|
|
53
|
+
|
|
54
|
+
@ApiProperty()
|
|
55
|
+
@IsString()
|
|
56
|
+
endDate: string;
|
|
57
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class Query3cxSearch {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
@IsString()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
number?: string;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsString()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
email?: string;
|
|
14
|
+
}
|
|
@@ -151,6 +151,23 @@ export type BudgetInsightAccountSyncedQuery = {
|
|
|
151
151
|
transactions: BudgetInsightTransaction[];
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
+
export type BudgetInsightBankAccount = {
|
|
155
|
+
id: number; // ID of the bank account.
|
|
156
|
+
id_connection: number | null;// ID of the related connection.
|
|
157
|
+
id_user: number | null;// ID of the related user.
|
|
158
|
+
id_source: number | null;// ID of the related connection source.
|
|
159
|
+
id_parent: number | null;// ID of the parent account.
|
|
160
|
+
number: string | null;// String Account number.
|
|
161
|
+
original_name: string;// String Original name of the account, as seen on the bank.
|
|
162
|
+
balance: number | null;// Decimal Balance of the account.
|
|
163
|
+
coming: number | null;// Decimal Amount of coming operations not yet debited.
|
|
164
|
+
display: boolean | null;// Boolean Whether the bank account should be presented.
|
|
165
|
+
last_update: Date | null;// DateTime Last successful update of the account.
|
|
166
|
+
deleted: Date | null;// DateTime If set, this account is not found on the website anymore.
|
|
167
|
+
disabled: Date | null;// DateTime If set, this account has been disabled by user and will not be synchronized anymore.
|
|
168
|
+
iban: string | null;// String Account IBAN.
|
|
169
|
+
};
|
|
170
|
+
|
|
154
171
|
type BudgetInsightUser = {
|
|
155
172
|
id: number;
|
|
156
173
|
signin: Date;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CallDirection, CallType } from '../../Enum/Call';
|
|
2
|
+
|
|
3
|
+
export interface ICallHistory {
|
|
4
|
+
id?: number;
|
|
5
|
+
callType: CallType;
|
|
6
|
+
callDirection: CallDirection;
|
|
7
|
+
duration?: string | null;
|
|
8
|
+
startDate: Date;
|
|
9
|
+
endDate: Date;
|
|
10
|
+
phoneNumber?: string | null;
|
|
11
|
+
name?: string | null;
|
|
12
|
+
idEntity?: string | null;
|
|
13
|
+
entityType?: string | null;
|
|
14
|
+
agentNumber?: string | null;
|
|
15
|
+
agentFirstname?: string | null;
|
|
16
|
+
agentLastname?: string | null;
|
|
17
|
+
agentEmail?: string | null;
|
|
18
|
+
createdAt?: Date;
|
|
19
|
+
updatedAt?: Date;
|
|
20
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -417,6 +417,7 @@ export * from './Enum/NotificationType';
|
|
|
417
417
|
export * from './Enum/TaskResponseType';
|
|
418
418
|
export * from './Enum/InternalService';
|
|
419
419
|
export * from './Enum/SocietyTypeEvent';
|
|
420
|
+
export * from './Enum/Call';
|
|
420
421
|
|
|
421
422
|
// Interfaces API
|
|
422
423
|
export * from './Interface/api/jeDeclare/ReadJeDeclare';
|
|
@@ -722,6 +723,9 @@ export * from './Interface/api/task/QueryCountTask';
|
|
|
722
723
|
export * from './Interface/api/task/QueryStatsByRolesInCsv';
|
|
723
724
|
export * from './Interface/api/task/QueryStatsByServiceInCsv';
|
|
724
725
|
export * from './Interface/api/task/QueryStatsByTaskTypeInCsv';
|
|
726
|
+
export * from './Interface/api/3cx/Query3cxSearch';
|
|
727
|
+
export * from './Interface/api/3cx/Read3cxSearch';
|
|
728
|
+
export * from './Interface/api/3cx/Create3cxLog';
|
|
725
729
|
|
|
726
730
|
// Enums types
|
|
727
731
|
export * from './Interface/enum/Util';
|