@silexpert/core 0.4.165 → 0.4.168

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 (80) hide show
  1. package/es/api/resources/BankAccount.d.ts +3 -1
  2. package/es/api/resources/BankAccount.d.ts.map +1 -1
  3. package/es/api/resources/BankAccount.js +6 -0
  4. package/es/api/resources/BankAccount.js.map +1 -1
  5. package/es/api/resources/Log.js +1 -1
  6. package/es/api/resources/Log.js.map +1 -1
  7. package/es/api/resources/Transaction.d.ts +2 -0
  8. package/es/api/resources/Transaction.d.ts.map +1 -1
  9. package/es/api/resources/Transaction.js.map +1 -1
  10. package/es/types/Enum/BrandComptalib.js +4 -4
  11. package/es/types/Enum/BrandComptalib.js.map +1 -1
  12. package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts +7 -0
  13. package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts.map +1 -1
  14. package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.js +30 -1
  15. package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -1
  16. package/es/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +2 -0
  17. package/es/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
  18. package/es/types/Interface/api/accountingTransaction/QueryTransaction.js +8 -0
  19. package/es/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
  20. package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.d.ts +1 -0
  21. package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.d.ts.map +1 -1
  22. package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js +7 -1
  23. package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js.map +1 -1
  24. package/es/types/Interface/api/bankAccount/ReadExpiredBankAccount.d.ts +5 -0
  25. package/es/types/Interface/api/bankAccount/ReadExpiredBankAccount.d.ts.map +1 -0
  26. package/es/types/Interface/api/bankAccount/ReadExpiredBankAccount.js +2 -0
  27. package/es/types/Interface/api/bankAccount/ReadExpiredBankAccount.js.map +1 -0
  28. package/es/types/Interface/api/partner/GetPartners.d.ts.map +1 -1
  29. package/es/types/Interface/api/partner/GetPartners.js +5 -0
  30. package/es/types/Interface/api/partner/GetPartners.js.map +1 -1
  31. package/es/types/Interface/api/provision/CreateProvisionForm.d.ts +1 -0
  32. package/es/types/Interface/api/provision/CreateProvisionForm.d.ts.map +1 -1
  33. package/es/types/Interface/api/provision/CreateProvisionForm.js +6 -0
  34. package/es/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
  35. package/es/types/Interface/api/user/CreateCoworker.js +1 -1
  36. package/es/types/Interface/api/user/CreateCoworker.js.map +1 -1
  37. package/es/types/Interface/models/IBankAccount.d.ts +2 -0
  38. package/es/types/Interface/models/IBankAccount.d.ts.map +1 -1
  39. package/es/types/Interface/models/IBankAccount.js.map +1 -1
  40. package/es/types/index.d.ts +1 -0
  41. package/es/types/index.d.ts.map +1 -1
  42. package/es/types/index.js +1 -0
  43. package/es/types/index.js.map +1 -1
  44. package/js/api/resources/BankAccount.js +8 -0
  45. package/js/api/resources/BankAccount.js.map +1 -1
  46. package/js/api/resources/Log.js +2 -1
  47. package/js/api/resources/Log.js.map +1 -1
  48. package/js/api/resources/Transaction.js.map +1 -1
  49. package/js/types/Enum/BrandComptalib.js +4 -4
  50. package/js/types/Enum/BrandComptalib.js.map +1 -1
  51. package/js/types/Interface/api/accountingTransaction/QueryBankAccountSum.js +14 -0
  52. package/js/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -1
  53. package/js/types/Interface/api/accountingTransaction/QueryTransaction.js +4 -0
  54. package/js/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
  55. package/js/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js +4 -0
  56. package/js/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js.map +1 -1
  57. package/js/types/Interface/api/bankAccount/ReadExpiredBankAccount.js +6 -0
  58. package/js/types/Interface/api/bankAccount/ReadExpiredBankAccount.js.map +1 -0
  59. package/js/types/Interface/api/partner/GetPartners.js +5 -1
  60. package/js/types/Interface/api/partner/GetPartners.js.map +1 -1
  61. package/js/types/Interface/api/provision/CreateProvisionForm.js +2 -0
  62. package/js/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
  63. package/js/types/Interface/api/user/CreateCoworker.js +1 -1
  64. package/js/types/Interface/api/user/CreateCoworker.js.map +1 -1
  65. package/js/types/index.js +12 -0
  66. package/js/types/index.js.map +1 -1
  67. package/package.json +1 -1
  68. package/ts/api/resources/BankAccount.ts +9 -1
  69. package/ts/api/resources/Log.ts +1 -1
  70. package/ts/api/resources/Transaction.ts +3 -1
  71. package/ts/types/Enum/BrandComptalib.ts +4 -4
  72. package/ts/types/Interface/api/accountingTransaction/QueryBankAccountSum.ts +23 -1
  73. package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +6 -0
  74. package/ts/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.ts +6 -1
  75. package/ts/types/Interface/api/bankAccount/ReadExpiredBankAccount.ts +5 -0
  76. package/ts/types/Interface/api/partner/GetPartners.ts +5 -0
  77. package/ts/types/Interface/api/provision/CreateProvisionForm.ts +5 -0
  78. package/ts/types/Interface/api/user/CreateCoworker.ts +1 -1
  79. package/ts/types/Interface/models/IBankAccount.ts +2 -0
  80. package/ts/types/index.ts +1 -0
@@ -1,6 +1,11 @@
1
+ import { IsBoolean, IsOptional } from 'class-validator';
1
2
  import { ApiPropertyOptional } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
2
4
 
3
5
  export class GetPartners {
4
6
  @ApiPropertyOptional()
7
+ @IsBoolean()
8
+ @ToBoolean()
9
+ @IsOptional()
5
10
  includeDeletedPartner?: boolean;
6
11
  }
@@ -20,6 +20,11 @@ export class CreateProvisionForm {
20
20
  @IsString()
21
21
  type: keyof typeof ProvisionType;
22
22
 
23
+ @ApiPropertyOptional()
24
+ @IsOptional()
25
+ @IsNumber()
26
+ IdExercice: number;
27
+
23
28
  @ApiPropertyOptional()
24
29
  @IsOptional()
25
30
  @IsNumber()
@@ -31,7 +31,7 @@ export class CreateCoworker {
31
31
 
32
32
  @ApiProperty()
33
33
  @IsDefined()
34
- @IsPhoneNumber()
34
+ @IsPhoneNumber('FR')
35
35
  phone: string;
36
36
 
37
37
  @ApiPropertyOptional()
@@ -20,6 +20,8 @@ export interface IBankAccount {
20
20
  pcgExtension: number | null;
21
21
  lastUpdate?: Date | null;
22
22
  lastTryImport?: Date | null;
23
+ notSynchroModaleLastDisplayDate?: Date | null;
24
+ firstSynchroModaleDisplay?: boolean | null;
23
25
  disabledAt?: Date | null;
24
26
  inProgressImport: Date | null;
25
27
  amountStart: number | null;
package/ts/types/index.ts CHANGED
@@ -653,6 +653,7 @@ export * from './Interface/api/thirdParty/UpdateThirdPartyForm';
653
653
  export * from './Interface/api/thirdParty/QueryThirdParty';
654
654
  export * from './Interface/api/balanceSheetModule/PrepareModulesAndCompletions';
655
655
  export * from './Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions';
656
+ export * from './Interface/api/bankAccount/ReadExpiredBankAccount';
656
657
 
657
658
  // Enums types
658
659
  export * from './Interface/enum/Util';