@silexpert/core 0.4.52 → 0.4.53

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 (102) hide show
  1. package/es/api/resources/CustomerProviderOperation.js +1 -1
  2. package/es/api/resources/CustomerProviderOperation.js.map +1 -1
  3. package/es/api/resources/Dashboard.d.ts +1 -1
  4. package/es/api/resources/Dashboard.js +1 -1
  5. package/es/api/resources/Dashboard.js.map +1 -1
  6. package/es/api/resources/IncomeAllocation.d.ts +11 -0
  7. package/es/api/resources/IncomeAllocation.d.ts.map +1 -0
  8. package/es/api/resources/IncomeAllocation.js +22 -0
  9. package/es/api/resources/IncomeAllocation.js.map +1 -0
  10. package/es/api/resources/Transaction.d.ts +2 -2
  11. package/es/api/resources/Transaction.d.ts.map +1 -1
  12. package/es/api/resources/Transaction.js.map +1 -1
  13. package/es/api/resources.d.ts +2 -0
  14. package/es/api/resources.d.ts.map +1 -1
  15. package/es/api/resources.js +2 -0
  16. package/es/api/resources.js.map +1 -1
  17. package/es/types/Enum/Account.d.ts +40 -0
  18. package/es/types/Enum/Account.d.ts.map +1 -1
  19. package/es/types/Enum/Account.js +40 -0
  20. package/es/types/Enum/Account.js.map +1 -1
  21. package/es/types/Enum/Ged.d.ts +3 -1
  22. package/es/types/Enum/Ged.d.ts.map +1 -1
  23. package/es/types/Enum/Ged.js +2 -2
  24. package/es/types/Enum/Ged.js.map +1 -1
  25. package/es/types/Enum/TypeIncomeAllocation.d.ts +6 -0
  26. package/es/types/Enum/TypeIncomeAllocation.d.ts.map +1 -0
  27. package/es/types/Enum/TypeIncomeAllocation.js +7 -0
  28. package/es/types/Enum/TypeIncomeAllocation.js.map +1 -0
  29. package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts +3 -0
  30. package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts.map +1 -1
  31. package/es/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -1
  32. package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts +4 -1
  33. package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts.map +1 -1
  34. package/es/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -1
  35. package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts +16 -0
  36. package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts.map +1 -0
  37. package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js +65 -0
  38. package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -0
  39. package/es/types/Interface/api/incomeAllocation/ReadIncomeAllocation.d.ts +19 -0
  40. package/es/types/Interface/api/incomeAllocation/ReadIncomeAllocation.d.ts.map +1 -0
  41. package/es/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js +2 -0
  42. package/es/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js.map +1 -0
  43. package/es/types/Interface/api/incomeAllocation/TypeAndAmount.d.ts +6 -0
  44. package/es/types/Interface/api/incomeAllocation/TypeAndAmount.d.ts.map +1 -0
  45. package/es/types/Interface/api/incomeAllocation/TypeAndAmount.js +2 -0
  46. package/es/types/Interface/api/incomeAllocation/TypeAndAmount.js.map +1 -0
  47. package/es/types/Interface/api/loan/CreateLoan.js +2 -2
  48. package/es/types/Interface/api/loan/CreateLoan.js.map +1 -1
  49. package/es/types/index.d.ts +4 -1
  50. package/es/types/index.d.ts.map +1 -1
  51. package/es/types/index.js +4 -1
  52. package/es/types/index.js.map +1 -1
  53. package/js/api/resources/CustomerProviderOperation.js +1 -1
  54. package/js/api/resources/CustomerProviderOperation.js.map +1 -1
  55. package/js/api/resources/Dashboard.js +1 -1
  56. package/js/api/resources/Dashboard.js.map +1 -1
  57. package/js/api/resources/IncomeAllocation.js +38 -0
  58. package/js/api/resources/IncomeAllocation.js.map +1 -0
  59. package/js/api/resources/Transaction.js.map +1 -1
  60. package/js/api/resources.js +3 -0
  61. package/js/api/resources.js.map +1 -1
  62. package/js/types/Enum/Account.js +40 -0
  63. package/js/types/Enum/Account.js.map +1 -1
  64. package/js/types/Enum/Ged.js +4 -4
  65. package/js/types/Enum/Ged.js.map +1 -1
  66. package/js/types/Enum/TypeIncomeAllocation.js +13 -0
  67. package/js/types/Enum/TypeIncomeAllocation.js.map +1 -0
  68. package/js/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -1
  69. package/js/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -1
  70. package/js/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js +51 -0
  71. package/js/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -0
  72. package/js/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js +6 -0
  73. package/js/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js.map +1 -0
  74. package/js/types/Interface/api/incomeAllocation/TypeAndAmount.js +6 -0
  75. package/js/types/Interface/api/incomeAllocation/TypeAndAmount.js.map +1 -0
  76. package/js/types/Interface/api/loan/CreateLoan.js +6 -2
  77. package/js/types/Interface/api/loan/CreateLoan.js.map +1 -1
  78. package/js/types/index.js +39 -3
  79. package/js/types/index.js.map +1 -1
  80. package/package.json +1 -1
  81. package/ts/api/resources/CustomerProviderOperation.ts +1 -1
  82. package/ts/api/resources/Dashboard.ts +1 -1
  83. package/ts/api/resources/IncomeAllocation.ts +30 -0
  84. package/ts/api/resources/Transaction.ts +2 -2
  85. package/ts/api/resources.ts +2 -0
  86. package/ts/types/Enum/Account.ts +40 -0
  87. package/ts/types/Enum/Ged.ts +8 -8
  88. package/ts/types/Enum/TypeIncomeAllocation.ts +5 -0
  89. package/ts/types/Interface/api/dashboard/ReadTopBuys.ts +3 -0
  90. package/ts/types/Interface/api/dashboard/ReadTopProviders.ts +5 -2
  91. package/ts/types/Interface/api/incomeAllocation/CreateIncomeAllocation.ts +42 -0
  92. package/ts/types/Interface/api/incomeAllocation/ReadIncomeAllocation.ts +19 -0
  93. package/ts/types/Interface/api/incomeAllocation/TypeAndAmount.ts +6 -0
  94. package/ts/types/Interface/api/loan/CreateLoan.ts +2 -2
  95. package/ts/types/index.ts +4 -1
  96. package/es/types/Enum/Society.d.ts +0 -9
  97. package/es/types/Enum/Society.d.ts.map +0 -1
  98. package/es/types/Enum/Society.js +0 -10
  99. package/es/types/Enum/Society.js.map +0 -1
  100. package/js/types/Enum/Society.js +0 -16
  101. package/js/types/Enum/Society.js.map +0 -1
  102. package/ts/types/Enum/Society.ts +0 -8
@@ -1,5 +1,8 @@
1
1
  export class ReadTopProviders {
2
2
  company: string;
3
- idAccount: number;
3
+ idThirdParty: number;
4
4
  amount: number;
5
- }
5
+ color: string;
6
+ icon: string;
7
+ iconPNG: string;
8
+ }
@@ -0,0 +1,42 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class CreateIncomeAllocation {
4
+ @ApiProperty()
5
+ amount: number;
6
+
7
+ @ApiProperty()
8
+ idExercice: number;
9
+
10
+ @ApiPropertyOptional()
11
+ idFile?: number;
12
+
13
+ @ApiProperty()
14
+ dateValue: string;
15
+
16
+ @ApiProperty()
17
+ debitReport: number;
18
+
19
+ @ApiProperty()
20
+ creditReport: number;
21
+
22
+ @ApiProperty()
23
+ statutoryReserve: number;
24
+
25
+ @ApiProperty()
26
+ legalReserve: number;
27
+
28
+ @ApiProperty()
29
+ regulatedReserve: number;
30
+
31
+ @ApiProperty()
32
+ unavailableReserve: number;
33
+
34
+ @ApiProperty()
35
+ optionalReserve: number;
36
+
37
+ @ApiProperty()
38
+ levyOnReserve: number;
39
+
40
+ @ApiProperty()
41
+ dividend: number;
42
+ }
@@ -0,0 +1,19 @@
1
+ import { TypeIncomeAllocation } from '../../../Enum/TypeIncomeAllocation';
2
+
3
+ export type ReadIncomeAllocation = {
4
+ idAccountingTransaction?: number,
5
+ type: TypeIncomeAllocation,
6
+ amount?: number,
7
+ idExercice: number,
8
+ dateValue?: string,
9
+ debitReport?: number,
10
+ creditReport?: number,
11
+ statutoryReserve?: number,
12
+ legalReserve?: number,
13
+ regulatedReserve?: number,
14
+ unavailableReserve?: number,
15
+ optionalReserve?: number,
16
+ levyOnReserve?: number,
17
+ dividend?: number,
18
+ idFile?: number
19
+ };
@@ -0,0 +1,6 @@
1
+ import { TypeIncomeAllocation } from '../../../Enum/TypeIncomeAllocation';
2
+
3
+ export type TypeAndAmount = {
4
+ type: TypeIncomeAllocation,
5
+ amount: number,
6
+ };
@@ -1,10 +1,10 @@
1
1
  import { ApiProperty } from '../../../../utils';
2
2
 
3
3
  export class CreateLoanForm {
4
- @ApiProperty()
4
+ @ApiProperty({ description: 'Désignation' })
5
5
  name: string;
6
6
 
7
- @ApiProperty()
7
+ @ApiProperty({ description: 'Désignation de l\'organisme' })
8
8
  lenderDesignation: string;
9
9
 
10
10
  @ApiProperty()
package/ts/types/index.ts CHANGED
@@ -334,7 +334,7 @@ export * from './Enum/Account';
334
334
  export * from './Enum/TypeCustomerProviderOperation';
335
335
  export * from './Enum/EstimateInvoice';
336
336
  export * from './Enum/Gescom';
337
- export * from './Enum/Society';
337
+ export * from './Enum/TypeIncomeAllocation';
338
338
 
339
339
  // Interfaces API
340
340
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
@@ -447,3 +447,6 @@ export * from './Interface/api/shopify/address';
447
447
  export * from './Interface/api/shopify/ImportInvoicesShopify';
448
448
  export * from './Interface/api/transactions/QueryUnexport';
449
449
  export * from './Interface/api/crisp/GetCrisp';
450
+ export * from './Interface/api/incomeAllocation/CreateIncomeAllocation';
451
+ export * from './Interface/api/incomeAllocation/ReadIncomeAllocation';
452
+ export * from './Interface/api/incomeAllocation/TypeAndAmount';
@@ -1,9 +0,0 @@
1
- export declare enum SocietyComptaType {
2
- TRESO = 1,
3
- ENGA = 2,
4
- SAISIE_TRESO = 3,
5
- SAISIE_ENGA = 4,
6
- ASSIST_TRESO = 5,
7
- ASSIST_ENGA = 6
8
- }
9
- //# sourceMappingURL=Society.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Society.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Society.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,KAAK,IAAI;IACT,IAAI,IAAI;IACR,YAAY,IAAI;IAChB,WAAW,IAAI;IACf,YAAY,IAAI;IAChB,WAAW,IAAI;CAChB"}
@@ -1,10 +0,0 @@
1
- export var SocietyComptaType;
2
- (function (SocietyComptaType) {
3
- SocietyComptaType[SocietyComptaType["TRESO"] = 1] = "TRESO";
4
- SocietyComptaType[SocietyComptaType["ENGA"] = 2] = "ENGA";
5
- SocietyComptaType[SocietyComptaType["SAISIE_TRESO"] = 3] = "SAISIE_TRESO";
6
- SocietyComptaType[SocietyComptaType["SAISIE_ENGA"] = 4] = "SAISIE_ENGA";
7
- SocietyComptaType[SocietyComptaType["ASSIST_TRESO"] = 5] = "ASSIST_TRESO";
8
- SocietyComptaType[SocietyComptaType["ASSIST_ENGA"] = 6] = "ASSIST_ENGA";
9
- })(SocietyComptaType || (SocietyComptaType = {}));
10
- //# sourceMappingURL=Society.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../ts/types/Enum/Society.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,2DAAS,CAAA;IACT,yDAAQ,CAAA;IACR,yEAAgB,CAAA;IAChB,uEAAe,CAAA;IACf,yEAAgB,CAAA;IAChB,uEAAe,CAAA;AACjB,CAAC,EAPW,iBAAiB,KAAjB,iBAAiB,QAO5B","sourcesContent":["export enum SocietyComptaType {\n TRESO = 1,\n ENGA = 2,\n SAISIE_TRESO = 3,\n SAISIE_ENGA = 4,\n ASSIST_TRESO = 5,\n ASSIST_ENGA = 6,\n}"]}
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var SocietyComptaType = exports.SocietyComptaType = undefined;
7
-
8
- (function (SocietyComptaType) {
9
- SocietyComptaType[SocietyComptaType["TRESO"] = 1] = "TRESO";
10
- SocietyComptaType[SocietyComptaType["ENGA"] = 2] = "ENGA";
11
- SocietyComptaType[SocietyComptaType["SAISIE_TRESO"] = 3] = "SAISIE_TRESO";
12
- SocietyComptaType[SocietyComptaType["SAISIE_ENGA"] = 4] = "SAISIE_ENGA";
13
- SocietyComptaType[SocietyComptaType["ASSIST_TRESO"] = 5] = "ASSIST_TRESO";
14
- SocietyComptaType[SocietyComptaType["ASSIST_ENGA"] = 6] = "ASSIST_ENGA";
15
- })(SocietyComptaType || (exports.SocietyComptaType = SocietyComptaType = {}));
16
- //# sourceMappingURL=Society.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../ts/types/Enum/Society.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,iBAOX,WAPW,iBAOX,YAPD;;AAAA,CAAA,UAAY,iBAAZ,EAA6B;AAC3B,EAAA,iBAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;AACA,EAAA,iBAAA,CAAA,iBAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAA;AACA,EAAA,iBAAA,CAAA,iBAAA,CAAA,cAAA,CAAA,GAAA,CAAA,CAAA,GAAA,cAAA;AACA,EAAA,iBAAA,CAAA,iBAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,GAAA,aAAA;AACA,EAAA,iBAAA,CAAA,iBAAA,CAAA,cAAA,CAAA,GAAA,CAAA,CAAA,GAAA,cAAA;AACA,EAAA,iBAAA,CAAA,iBAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,GAAA,aAAA;AACD,CAPD,EAAY,iBAAiB,aAAjB,iBAAiB,GAAjB,iBAAiB,GAAA,EAAA,CAA7B","sourcesContent":["export enum SocietyComptaType {\n TRESO = 1,\n ENGA = 2,\n SAISIE_TRESO = 3,\n SAISIE_ENGA = 4,\n ASSIST_TRESO = 5,\n ASSIST_ENGA = 6,\n}"],"sourceRoot":"","file":"Society.js"}
@@ -1,8 +0,0 @@
1
- export enum SocietyComptaType {
2
- TRESO = 1,
3
- ENGA = 2,
4
- SAISIE_TRESO = 3,
5
- SAISIE_ENGA = 4,
6
- ASSIST_TRESO = 5,
7
- ASSIST_ENGA = 6,
8
- }