@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.
Files changed (84) hide show
  1. package/es/api/resources/Account.d.ts +2 -2
  2. package/es/api/resources/Account.d.ts.map +1 -1
  3. package/es/api/resources/Account.js.map +1 -1
  4. package/es/api/resources/Alert.d.ts +7 -0
  5. package/es/api/resources/Alert.d.ts.map +1 -0
  6. package/es/api/resources/Alert.js +23 -0
  7. package/es/api/resources/Alert.js.map +1 -0
  8. package/es/api/resources/Transaction.d.ts +2 -1
  9. package/es/api/resources/Transaction.d.ts.map +1 -1
  10. package/es/api/resources/Transaction.js +3 -0
  11. package/es/api/resources/Transaction.js.map +1 -1
  12. package/es/api/resources.d.ts +2 -0
  13. package/es/api/resources.d.ts.map +1 -1
  14. package/es/api/resources.js +2 -0
  15. package/es/api/resources.js.map +1 -1
  16. package/es/types/Enum/Prestation.d.ts +1 -0
  17. package/es/types/Enum/Prestation.d.ts.map +1 -1
  18. package/es/types/Enum/Prestation.js +1 -0
  19. package/es/types/Enum/Prestation.js.map +1 -1
  20. package/es/types/Enum/TaskResponseType.js +1 -1
  21. package/es/types/Enum/TaskResponseType.js.map +1 -1
  22. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +1 -0
  23. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
  24. package/es/types/Interface/api/3cx/Query3cxSearch.js +6 -0
  25. package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  26. package/es/types/Interface/api/account/QueryAccounts.d.ts +1 -0
  27. package/es/types/Interface/api/account/QueryAccounts.d.ts.map +1 -1
  28. package/es/types/Interface/api/account/QueryAccounts.js +4 -0
  29. package/es/types/Interface/api/account/QueryAccounts.js.map +1 -1
  30. package/es/types/Interface/api/alert/CreateAlert.d.ts +13 -0
  31. package/es/types/Interface/api/alert/CreateAlert.d.ts.map +1 -0
  32. package/es/types/Interface/api/alert/CreateAlert.js +85 -0
  33. package/es/types/Interface/api/alert/CreateAlert.js.map +1 -0
  34. package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts +2 -1
  35. package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts.map +1 -1
  36. package/es/types/Interface/api/bankAccount/DeleteTransaction.js +9 -4
  37. package/es/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
  38. package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.d.ts +5 -0
  39. package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.d.ts.map +1 -0
  40. package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js +2 -0
  41. package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js.map +1 -0
  42. package/es/types/Interface/models/IAccount.d.ts +1 -1
  43. package/es/types/Interface/models/IAccount.js.map +1 -1
  44. package/es/types/index.d.ts +2 -0
  45. package/es/types/index.d.ts.map +1 -1
  46. package/es/types/index.js +2 -0
  47. package/es/types/index.js.map +1 -1
  48. package/js/api/resources/Account.js.map +1 -1
  49. package/js/api/resources/Alert.js +58 -0
  50. package/js/api/resources/Alert.js.map +1 -0
  51. package/js/api/resources/Transaction.js +4 -0
  52. package/js/api/resources/Transaction.js.map +1 -1
  53. package/js/api/resources.js +4 -1
  54. package/js/api/resources.js.map +1 -1
  55. package/js/types/Enum/Prestation.js +1 -0
  56. package/js/types/Enum/Prestation.js.map +1 -1
  57. package/js/types/Enum/TaskResponseType.js +1 -1
  58. package/js/types/Enum/TaskResponseType.js.map +1 -1
  59. package/js/types/Interface/api/3cx/Query3cxSearch.js +2 -0
  60. package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  61. package/js/types/Interface/api/account/QueryAccounts.js +2 -0
  62. package/js/types/Interface/api/account/QueryAccounts.js.map +1 -1
  63. package/js/types/Interface/api/alert/CreateAlert.js +49 -0
  64. package/js/types/Interface/api/alert/CreateAlert.js.map +1 -0
  65. package/js/types/Interface/api/bankAccount/DeleteTransaction.js +8 -2
  66. package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
  67. package/js/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js +6 -0
  68. package/js/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js.map +1 -0
  69. package/js/types/index.js +24 -0
  70. package/js/types/index.js.map +1 -1
  71. package/package.json +1 -1
  72. package/ts/api/resources/Account.ts +2 -2
  73. package/ts/api/resources/Alert.ts +12 -0
  74. package/ts/api/resources/Transaction.ts +5 -1
  75. package/ts/api/resources.ts +2 -0
  76. package/ts/types/Enum/Prestation.ts +1 -0
  77. package/ts/types/Enum/TaskResponseType.ts +1 -1
  78. package/ts/types/Interface/api/3cx/Query3cxSearch.ts +5 -0
  79. package/ts/types/Interface/api/account/QueryAccounts.ts +3 -0
  80. package/ts/types/Interface/api/alert/CreateAlert.ts +65 -0
  81. package/ts/types/Interface/api/bankAccount/DeleteTransaction.ts +8 -3
  82. package/ts/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.ts +4 -0
  83. package/ts/types/Interface/models/IAccount.ts +1 -1
  84. 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 {
@@ -0,0 +1,4 @@
1
+ export type ReadPartnerTransactionType = {
2
+ id: number;
3
+ name: string;
4
+ };
@@ -45,7 +45,7 @@ export interface IAccount {
45
45
 
46
46
  // Associations
47
47
  nature?: INature;
48
- AccountType?: IAccountType;
48
+ accountType?: IAccountType;
49
49
  tva?: IVat;
50
50
  registerCategorie?: IRegisterCategory;
51
51
  sector?: ISector;
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';