@silexpert/core 0.4.273 → 0.4.276

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 (55) hide show
  1. package/es/api/resources/Dashboard.d.ts +2 -1
  2. package/es/api/resources/Dashboard.d.ts.map +1 -1
  3. package/es/api/resources/Dashboard.js +3 -0
  4. package/es/api/resources/Dashboard.js.map +1 -1
  5. package/es/api/resources/Qonto.js +1 -1
  6. package/es/api/resources/Qonto.js.map +1 -1
  7. package/es/types/Enum/CustomerVat.d.ts +24 -0
  8. package/es/types/Enum/CustomerVat.d.ts.map +1 -0
  9. package/es/types/Enum/CustomerVat.js +26 -0
  10. package/es/types/Enum/CustomerVat.js.map +1 -0
  11. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +1 -0
  12. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
  13. package/es/types/Interface/api/3cx/Query3cxSearch.js +6 -0
  14. package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  15. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts +5 -0
  16. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts.map +1 -0
  17. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js +24 -0
  18. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js.map +1 -0
  19. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts +13 -0
  20. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts.map +1 -0
  21. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js +2 -0
  22. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js.map +1 -0
  23. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -0
  24. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
  25. package/es/types/Interface/api/mail/QueryPaginatedMail.js +6 -0
  26. package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  27. package/es/types/index.d.ts +3 -0
  28. package/es/types/index.d.ts.map +1 -1
  29. package/es/types/index.js +3 -0
  30. package/es/types/index.js.map +1 -1
  31. package/js/api/resources/Dashboard.js +6 -0
  32. package/js/api/resources/Dashboard.js.map +1 -1
  33. package/js/api/resources/Qonto.js +1 -1
  34. package/js/api/resources/Qonto.js.map +1 -1
  35. package/js/types/Enum/CustomerVat.js +34 -0
  36. package/js/types/Enum/CustomerVat.js.map +1 -0
  37. package/js/types/Interface/api/3cx/Query3cxSearch.js +2 -0
  38. package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  39. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js +31 -0
  40. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js.map +1 -0
  41. package/js/types/Interface/api/dashboard/ReadVatDisbursed.js +6 -0
  42. package/js/types/Interface/api/dashboard/ReadVatDisbursed.js.map +1 -0
  43. package/js/types/Interface/api/mail/QueryPaginatedMail.js +2 -0
  44. package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  45. package/js/types/index.js +36 -0
  46. package/js/types/index.js.map +1 -1
  47. package/package.json +1 -1
  48. package/ts/api/resources/Dashboard.ts +6 -0
  49. package/ts/api/resources/Qonto.ts +1 -1
  50. package/ts/types/Enum/CustomerVat.ts +24 -0
  51. package/ts/types/Interface/api/3cx/Query3cxSearch.ts +5 -0
  52. package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +12 -0
  53. package/ts/types/Interface/api/dashboard/ReadVatDisbursed.ts +14 -0
  54. package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +5 -0
  55. package/ts/types/index.ts +3 -0
@@ -0,0 +1,14 @@
1
+ import { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';
2
+
3
+ export type VatDisbursedWithFutureDate = {
4
+ todo: boolean;
5
+ amount: number;
6
+ state: CustomerVatState;
7
+ type: CustomerVatType;
8
+ date: string
9
+ };
10
+
11
+ export type ReadVatDisbursed = {
12
+ data: VatDisbursedWithFutureDate[];
13
+ total: number;
14
+ };
@@ -105,6 +105,11 @@ export class QueryPaginatedMail {
105
105
  @IsInt()
106
106
  idUserWhoAnswered?: number;
107
107
 
108
+ @ApiPropertyOptional()
109
+ @IsOptional()
110
+ @IsInt()
111
+ idRole?: number;
112
+
108
113
  @ApiPropertyOptional({ default: 25 })
109
114
  @IsOptional()
110
115
  @IsNumber()
package/ts/types/index.ts CHANGED
@@ -434,6 +434,7 @@ export * from './Enum/Call';
434
434
  export * from './Enum/ConnectionError';
435
435
  export * from './Enum/FolderFile';
436
436
  export * from './Enum/Rules';
437
+ export * from './Enum/CustomerVat';
437
438
 
438
439
  // Interfaces API
439
440
  export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
@@ -519,6 +520,8 @@ export * from './Interface/api/pdf/BillingDocumentData';
519
520
  export * from './Interface/api/dashboard/QueryBalanceBankAccount';
520
521
  export * from './Interface/api/dashboard/QueryTopBuys';
521
522
  export * from './Interface/api/dashboard/QueryTopProviders';
523
+ export * from './Interface/api/dashboard/QueryVatDisbursed';
524
+ export * from './Interface/api/dashboard/ReadVatDisbursed';
522
525
  export * from './Interface/api/dashboard/ReadBalanceBankAccount';
523
526
  export * from './Interface/api/dashboard/QueryGescom';
524
527
  export * from './Interface/api/dashboard/QueryDeadline';