@silexpert/core 0.4.225 → 0.4.227
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/api/resources/Account.d.ts +2 -2
- package/es/api/resources/Account.d.ts.map +1 -1
- package/es/api/resources/Account.js.map +1 -1
- package/es/api/resources/Alert.d.ts +7 -0
- package/es/api/resources/Alert.d.ts.map +1 -0
- package/es/api/resources/Alert.js +23 -0
- package/es/api/resources/Alert.js.map +1 -0
- package/es/api/resources/Transaction.d.ts +2 -1
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +3 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/Prestation.d.ts +1 -0
- package/es/types/Enum/Prestation.d.ts.map +1 -1
- package/es/types/Enum/Prestation.js +1 -0
- package/es/types/Enum/Prestation.js.map +1 -1
- package/es/types/Enum/TaskResponseType.js +1 -1
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +1 -0
- package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
- package/es/types/Interface/api/3cx/Query3cxSearch.js +6 -0
- package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
- package/es/types/Interface/api/account/QueryAccounts.d.ts +1 -0
- package/es/types/Interface/api/account/QueryAccounts.d.ts.map +1 -1
- package/es/types/Interface/api/account/QueryAccounts.js +4 -0
- package/es/types/Interface/api/account/QueryAccounts.js.map +1 -1
- package/es/types/Interface/api/alert/CreateAlert.d.ts +13 -0
- package/es/types/Interface/api/alert/CreateAlert.d.ts.map +1 -0
- package/es/types/Interface/api/alert/CreateAlert.js +85 -0
- package/es/types/Interface/api/alert/CreateAlert.js.map +1 -0
- package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts +2 -1
- package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/bankAccount/DeleteTransaction.js +9 -4
- package/es/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
- package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.d.ts +5 -0
- package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.d.ts.map +1 -0
- package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js +2 -0
- package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js.map +1 -0
- package/es/types/Interface/models/IAccount.d.ts +1 -1
- package/es/types/Interface/models/IAccount.js.map +1 -1
- package/es/types/index.d.ts +2 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +2 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Account.js.map +1 -1
- package/js/api/resources/Alert.js +58 -0
- package/js/api/resources/Alert.js.map +1 -0
- package/js/api/resources/Transaction.js +4 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Prestation.js +1 -0
- package/js/types/Enum/Prestation.js.map +1 -1
- package/js/types/Enum/TaskResponseType.js +1 -1
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Interface/api/3cx/Query3cxSearch.js +2 -0
- package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
- package/js/types/Interface/api/account/QueryAccounts.js +2 -0
- package/js/types/Interface/api/account/QueryAccounts.js.map +1 -1
- package/js/types/Interface/api/alert/CreateAlert.js +49 -0
- package/js/types/Interface/api/alert/CreateAlert.js.map +1 -0
- package/js/types/Interface/api/bankAccount/DeleteTransaction.js +8 -2
- package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
- package/js/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js +6 -0
- package/js/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js.map +1 -0
- package/js/types/index.js +24 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Account.ts +2 -2
- package/ts/api/resources/Alert.ts +12 -0
- package/ts/api/resources/Transaction.ts +5 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Prestation.ts +1 -0
- package/ts/types/Enum/TaskResponseType.ts +1 -1
- package/ts/types/Interface/api/3cx/Query3cxSearch.ts +5 -0
- package/ts/types/Interface/api/account/QueryAccounts.ts +3 -0
- package/ts/types/Interface/api/alert/CreateAlert.ts +65 -0
- package/ts/types/Interface/api/bankAccount/DeleteTransaction.ts +8 -3
- package/ts/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.ts +4 -0
- package/ts/types/Interface/models/IAccount.ts +1 -1
- package/ts/types/index.ts +2 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { IsEnum, IsOptional, IsPositive } from 'class-validator';
|
|
1
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { PartnerTransactionType } from '../../../Enum/PartnerTransactionType';
|
|
2
4
|
|
|
3
5
|
export class DeleteTransactions {
|
|
4
6
|
@ApiProperty()
|
|
@@ -10,9 +12,6 @@ export class DeleteTransactions {
|
|
|
10
12
|
@ApiPropertyOptional()
|
|
11
13
|
isExported?: boolean;
|
|
12
14
|
|
|
13
|
-
@ApiPropertyOptional()
|
|
14
|
-
isFromCsv?: boolean;
|
|
15
|
-
|
|
16
15
|
@ApiPropertyOptional()
|
|
17
16
|
startDate?: string;
|
|
18
17
|
|
|
@@ -21,6 +20,12 @@ export class DeleteTransactions {
|
|
|
21
20
|
|
|
22
21
|
@ApiPropertyOptional({ description: 'Deleting the bank account. Warning ! this delete also the transactions of the specified bank account' })
|
|
23
22
|
deleteBankAccount?: boolean;
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
@IsEnum(PartnerTransactionType)
|
|
26
|
+
@IsPositive({ each: true })
|
|
27
|
+
@IsOptional()
|
|
28
|
+
partnerTransactionTypes?: PartnerTransactionType[];
|
|
24
29
|
}
|
|
25
30
|
|
|
26
31
|
export class DeleteSocietyTransactions {
|
package/ts/types/index.ts
CHANGED
|
@@ -422,6 +422,7 @@ export * from './Enum/SocietyTypeEvent';
|
|
|
422
422
|
export * from './Enum/Call';
|
|
423
423
|
|
|
424
424
|
// Interfaces API
|
|
425
|
+
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
425
426
|
export * from './Interface/api/jeDeclare/ReadJeDeclare';
|
|
426
427
|
export * from './Interface/api/aspone/ReadInterchange';
|
|
427
428
|
export * from './Interface/api/aspone/Util';
|
|
@@ -731,6 +732,7 @@ export * from './Interface/api/3cx/Read3cxSearch';
|
|
|
731
732
|
export * from './Interface/api/3cx/Create3cxLog';
|
|
732
733
|
export * from './Interface/api/amount/FormattedAmount';
|
|
733
734
|
export * from './Interface/api/customerActivity/CreateCustomerActivityReport';
|
|
735
|
+
export * from './Interface/api/alert/CreateAlert';
|
|
734
736
|
|
|
735
737
|
// Enums types
|
|
736
738
|
export * from './Interface/enum/Util';
|