@silexpert/core 1.2.52 → 1.2.54

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 (133) hide show
  1. package/dist/cjs/api/resources/3cx.d.ts +2 -2
  2. package/dist/cjs/api/resources/3cx.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/3cx.js.map +1 -1
  4. package/dist/cjs/api/resources/BalanceSheet.d.ts +3 -0
  5. package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
  6. package/dist/cjs/api/resources/BalanceSheet.js +10 -0
  7. package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
  8. package/dist/cjs/api/resources/KilometricAllowance.d.ts +5 -1
  9. package/dist/cjs/api/resources/KilometricAllowance.d.ts.map +1 -1
  10. package/dist/cjs/api/resources/KilometricAllowance.js +9 -1
  11. package/dist/cjs/api/resources/KilometricAllowance.js.map +1 -1
  12. package/dist/cjs/api/resources/{ToDoExpress.d.ts → ToDoBalanceSheet.d.ts} +8 -8
  13. package/dist/cjs/api/resources/ToDoBalanceSheet.d.ts.map +1 -0
  14. package/dist/cjs/api/resources/{ToDoExpress.js → ToDoBalanceSheet.js} +10 -10
  15. package/dist/cjs/api/resources/ToDoBalanceSheet.js.map +1 -0
  16. package/dist/cjs/api/resources.d.ts +2 -2
  17. package/dist/cjs/api/resources.d.ts.map +1 -1
  18. package/dist/cjs/api/resources.js +2 -2
  19. package/dist/cjs/api/resources.js.map +1 -1
  20. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +1 -0
  21. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -1
  22. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js +6 -0
  23. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -1
  24. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.d.ts +16 -2
  25. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.d.ts.map +1 -1
  26. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.js +0 -7
  27. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -0
  29. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  30. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +10 -1
  31. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  32. package/dist/cjs/types/Interface/api/brevo/Read.d.ts +3 -0
  33. package/dist/cjs/types/Interface/api/brevo/Read.d.ts.map +1 -1
  34. package/dist/cjs/types/Interface/api/brevo/Read.js.map +1 -1
  35. package/dist/cjs/types/Interface/api/cashAndExpense/Query.d.ts +3 -0
  36. package/dist/cjs/types/Interface/api/cashAndExpense/Query.d.ts.map +1 -1
  37. package/dist/cjs/types/Interface/api/cashAndExpense/Query.js +10 -1
  38. package/dist/cjs/types/Interface/api/cashAndExpense/Query.js.map +1 -1
  39. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
  40. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  41. package/dist/cjs/types/Interface/api/commercialManagement/Create.js +5 -0
  42. package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  43. package/dist/cjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.d.ts +7 -0
  44. package/dist/cjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.js.map +1 -1
  46. package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts +0 -1
  47. package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts.map +1 -1
  48. package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js +0 -5
  49. package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js.map +1 -1
  50. package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts +0 -1
  51. package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts.map +1 -1
  52. package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.js.map +1 -1
  53. package/dist/cjs/types/Interface/api/toDoExpress/Query.d.ts +13 -2
  54. package/dist/cjs/types/Interface/api/toDoExpress/Query.d.ts.map +1 -1
  55. package/dist/cjs/types/Interface/api/toDoExpress/Query.js +92 -34
  56. package/dist/cjs/types/Interface/api/toDoExpress/Query.js.map +1 -1
  57. package/dist/mjs/api/resources/3cx.d.ts +2 -2
  58. package/dist/mjs/api/resources/3cx.d.ts.map +1 -1
  59. package/dist/mjs/api/resources/3cx.js.map +1 -1
  60. package/dist/mjs/api/resources/BalanceSheet.d.ts +3 -0
  61. package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
  62. package/dist/mjs/api/resources/BalanceSheet.js +10 -0
  63. package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
  64. package/dist/mjs/api/resources/KilometricAllowance.d.ts +5 -1
  65. package/dist/mjs/api/resources/KilometricAllowance.d.ts.map +1 -1
  66. package/dist/mjs/api/resources/KilometricAllowance.js +12 -0
  67. package/dist/mjs/api/resources/KilometricAllowance.js.map +1 -1
  68. package/dist/mjs/api/resources/{ToDoExpress.d.ts → ToDoBalanceSheet.d.ts} +8 -8
  69. package/dist/mjs/api/resources/ToDoBalanceSheet.d.ts.map +1 -0
  70. package/dist/mjs/api/resources/{ToDoExpress.js → ToDoBalanceSheet.js} +8 -8
  71. package/dist/mjs/api/resources/ToDoBalanceSheet.js.map +1 -0
  72. package/dist/mjs/api/resources.d.ts +2 -2
  73. package/dist/mjs/api/resources.d.ts.map +1 -1
  74. package/dist/mjs/api/resources.js +2 -2
  75. package/dist/mjs/api/resources.js.map +1 -1
  76. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +1 -0
  77. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -1
  78. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js +7 -0
  79. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -1
  80. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.d.ts +16 -2
  81. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.d.ts.map +1 -1
  82. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.js +1 -13
  83. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.js.map +1 -1
  84. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -0
  85. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  86. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +9 -0
  87. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  88. package/dist/mjs/types/Interface/api/brevo/Read.d.ts +3 -0
  89. package/dist/mjs/types/Interface/api/brevo/Read.d.ts.map +1 -1
  90. package/dist/mjs/types/Interface/api/brevo/Read.js.map +1 -1
  91. package/dist/mjs/types/Interface/api/cashAndExpense/Query.d.ts +3 -0
  92. package/dist/mjs/types/Interface/api/cashAndExpense/Query.d.ts.map +1 -1
  93. package/dist/mjs/types/Interface/api/cashAndExpense/Query.js +10 -1
  94. package/dist/mjs/types/Interface/api/cashAndExpense/Query.js.map +1 -1
  95. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
  96. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  97. package/dist/mjs/types/Interface/api/commercialManagement/Create.js +6 -0
  98. package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  99. package/dist/mjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.d.ts +7 -0
  100. package/dist/mjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.d.ts.map +1 -1
  101. package/dist/mjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.js.map +1 -1
  102. package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts +0 -1
  103. package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts.map +1 -1
  104. package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js +0 -6
  105. package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js.map +1 -1
  106. package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts +0 -1
  107. package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts.map +1 -1
  108. package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.js.map +1 -1
  109. package/dist/mjs/types/Interface/api/toDoExpress/Query.d.ts +13 -2
  110. package/dist/mjs/types/Interface/api/toDoExpress/Query.d.ts.map +1 -1
  111. package/dist/mjs/types/Interface/api/toDoExpress/Query.js +98 -32
  112. package/dist/mjs/types/Interface/api/toDoExpress/Query.js.map +1 -1
  113. package/package.json +1 -1
  114. package/ts/api/resources/3cx.ts +2 -2
  115. package/ts/api/resources/BalanceSheet.ts +11 -0
  116. package/ts/api/resources/KilometricAllowance.ts +17 -0
  117. package/ts/api/resources/ToDoBalanceSheet.ts +62 -0
  118. package/ts/api/resources.ts +2 -2
  119. package/ts/types/Interface/api/3cx/Query3cxMeeting.ts +5 -0
  120. package/ts/types/Interface/api/3cx/Read3cxMeeting.ts +18 -2
  121. package/ts/types/Interface/api/brevo/BrevoElement.ts +7 -0
  122. package/ts/types/Interface/api/brevo/Read.ts +4 -0
  123. package/ts/types/Interface/api/cashAndExpense/Query.ts +8 -1
  124. package/ts/types/Interface/api/commercialManagement/Create.ts +4 -0
  125. package/ts/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.ts +8 -0
  126. package/ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts +0 -4
  127. package/ts/types/Interface/api/previsionalForm/PrevisionalFormPayload.ts +9 -10
  128. package/ts/types/Interface/api/toDoExpress/Query.ts +51 -3
  129. package/dist/cjs/api/resources/ToDoExpress.d.ts.map +0 -1
  130. package/dist/cjs/api/resources/ToDoExpress.js.map +0 -1
  131. package/dist/mjs/api/resources/ToDoExpress.d.ts.map +0 -1
  132. package/dist/mjs/api/resources/ToDoExpress.js.map +0 -1
  133. package/ts/api/resources/ToDoExpress.ts +0 -43
@@ -9,194 +9,252 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryToDoExpressStats = exports.QueryToDoExpressPaginated = void 0;
12
+ exports.QueryToDoBalanceSheetGetExercicesSociety = exports.QueryToDoBalanceSheetStats = exports.QueryToDoBalanceSheetPaginated = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const BasePaginate_1 = require("../BasePaginate");
16
16
  const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
17
- class QueryToDoExpressPaginated extends BasePaginate_1.RequiredQueryPaginate {
17
+ class QueryToDoBalanceSheetPaginated extends BasePaginate_1.RequiredQueryPaginate {
18
18
  }
19
- exports.QueryToDoExpressPaginated = QueryToDoExpressPaginated;
19
+ exports.QueryToDoBalanceSheetPaginated = QueryToDoBalanceSheetPaginated;
20
+ __decorate([
21
+ (0, utils_1.ApiProperty)(),
22
+ (0, class_validator_1.IsBoolean)(),
23
+ (0, boolean_transform_1.ToBoolean)(),
24
+ __metadata("design:type", Boolean)
25
+ ], QueryToDoBalanceSheetPaginated.prototype, "isExpress", void 0);
20
26
  __decorate([
21
27
  (0, utils_1.ApiPropertyOptional)(),
22
28
  (0, class_validator_1.IsOptional)(),
23
29
  (0, class_validator_1.IsString)(),
24
30
  __metadata("design:type", String)
25
- ], QueryToDoExpressPaginated.prototype, "search", void 0);
31
+ ], QueryToDoBalanceSheetPaginated.prototype, "search", void 0);
26
32
  __decorate([
27
33
  (0, utils_1.ApiPropertyOptional)(),
28
34
  (0, class_validator_1.IsOptional)(),
29
35
  __metadata("design:type", Object)
30
- ], QueryToDoExpressPaginated.prototype, "accountant", void 0);
36
+ ], QueryToDoBalanceSheetPaginated.prototype, "accountant", void 0);
31
37
  __decorate([
32
38
  (0, utils_1.ApiPropertyOptional)(),
33
39
  (0, class_validator_1.IsOptional)(),
34
40
  (0, class_validator_1.IsInt)(),
35
41
  __metadata("design:type", Number)
36
- ], QueryToDoExpressPaginated.prototype, "legalForm", void 0);
42
+ ], QueryToDoBalanceSheetPaginated.prototype, "legalForm", void 0);
37
43
  __decorate([
38
44
  (0, utils_1.ApiPropertyOptional)(),
39
45
  (0, class_validator_1.IsOptional)(),
40
46
  (0, class_validator_1.IsDate)(),
41
47
  __metadata("design:type", Date)
42
- ], QueryToDoExpressPaginated.prototype, "arrivalDate", void 0);
48
+ ], QueryToDoBalanceSheetPaginated.prototype, "arrivalDate", void 0);
43
49
  __decorate([
44
50
  (0, utils_1.ApiPropertyOptional)(),
45
51
  (0, class_validator_1.IsOptional)(),
46
52
  (0, class_validator_1.IsArray)(),
47
53
  __metadata("design:type", Array)
48
- ], QueryToDoExpressPaginated.prototype, "turnoverMax", void 0);
54
+ ], QueryToDoBalanceSheetPaginated.prototype, "turnoverMax", void 0);
49
55
  __decorate([
50
56
  (0, utils_1.ApiPropertyOptional)(),
51
57
  (0, class_validator_1.IsOptional)(),
52
58
  (0, class_validator_1.IsBoolean)(),
53
59
  (0, boolean_transform_1.ToBoolean)(),
54
60
  __metadata("design:type", Boolean)
55
- ], QueryToDoExpressPaginated.prototype, "facturationState", void 0);
61
+ ], QueryToDoBalanceSheetPaginated.prototype, "facturationState", void 0);
56
62
  __decorate([
57
63
  (0, utils_1.ApiPropertyOptional)(),
58
64
  (0, class_validator_1.IsOptional)(),
59
65
  (0, class_validator_1.IsInt)(),
60
66
  __metadata("design:type", Number)
61
- ], QueryToDoExpressPaginated.prototype, "missionAcceptationState", void 0);
67
+ ], QueryToDoBalanceSheetPaginated.prototype, "missionAcceptationState", void 0);
62
68
  __decorate([
63
69
  (0, utils_1.ApiPropertyOptional)(),
64
70
  (0, class_validator_1.IsOptional)(),
65
71
  (0, class_validator_1.IsInt)(),
66
72
  __metadata("design:type", Number)
67
- ], QueryToDoExpressPaginated.prototype, "onboardingState", void 0);
73
+ ], QueryToDoBalanceSheetPaginated.prototype, "onboardingState", void 0);
68
74
  __decorate([
69
75
  (0, utils_1.ApiPropertyOptional)(),
70
76
  (0, class_validator_1.IsOptional)(),
71
77
  (0, class_validator_1.IsInt)(),
72
78
  __metadata("design:type", Number)
73
- ], QueryToDoExpressPaginated.prototype, "dateEnd", void 0);
79
+ ], QueryToDoBalanceSheetPaginated.prototype, "dateEnd", void 0);
74
80
  __decorate([
75
81
  (0, utils_1.ApiPropertyOptional)(),
76
82
  (0, class_validator_1.IsOptional)(),
77
83
  (0, class_validator_1.IsInt)(),
78
84
  __metadata("design:type", Number)
79
- ], QueryToDoExpressPaginated.prototype, "year", void 0);
85
+ ], QueryToDoBalanceSheetPaginated.prototype, "year", void 0);
80
86
  __decorate([
81
87
  (0, utils_1.ApiPropertyOptional)(),
82
88
  (0, class_validator_1.IsOptional)(),
83
89
  (0, class_validator_1.IsBoolean)(),
84
90
  (0, boolean_transform_1.ToBoolean)(),
85
91
  __metadata("design:type", Boolean)
86
- ], QueryToDoExpressPaginated.prototype, "collectionState", void 0);
92
+ ], QueryToDoBalanceSheetPaginated.prototype, "collectionState", void 0);
87
93
  __decorate([
88
94
  (0, utils_1.ApiPropertyOptional)(),
89
95
  (0, class_validator_1.IsOptional)(),
90
96
  (0, class_validator_1.IsArray)(),
91
97
  __metadata("design:type", Array)
92
- ], QueryToDoExpressPaginated.prototype, "notation", void 0);
98
+ ], QueryToDoBalanceSheetPaginated.prototype, "notation", void 0);
93
99
  __decorate([
94
100
  (0, utils_1.ApiPropertyOptional)(),
95
101
  (0, class_validator_1.IsOptional)(),
96
102
  (0, class_validator_1.IsArray)(),
97
103
  __metadata("design:type", Array)
98
- ], QueryToDoExpressPaginated.prototype, "review", void 0);
104
+ ], QueryToDoBalanceSheetPaginated.prototype, "review", void 0);
99
105
  __decorate([
100
106
  (0, utils_1.ApiPropertyOptional)(),
101
107
  (0, class_validator_1.IsOptional)(),
102
108
  (0, class_validator_1.IsInt)(),
103
109
  __metadata("design:type", Number)
104
- ], QueryToDoExpressPaginated.prototype, "balanceSheetState", void 0);
110
+ ], QueryToDoBalanceSheetPaginated.prototype, "balanceSheetState", void 0);
105
111
  __decorate([
106
112
  (0, utils_1.ApiPropertyOptional)(),
107
113
  (0, class_validator_1.IsOptional)(),
108
114
  (0, class_validator_1.IsInt)(),
109
115
  __metadata("design:type", Number)
110
- ], QueryToDoExpressPaginated.prototype, "supervisionState", void 0);
116
+ ], QueryToDoBalanceSheetPaginated.prototype, "supervisionState", void 0);
111
117
  __decorate([
112
118
  (0, utils_1.ApiPropertyOptional)(),
113
119
  (0, class_validator_1.IsOptional)(),
114
120
  (0, class_validator_1.IsBoolean)(),
115
121
  (0, boolean_transform_1.ToBoolean)(),
116
122
  __metadata("design:type", Boolean)
117
- ], QueryToDoExpressPaginated.prototype, "planedState", void 0);
118
- class QueryToDoExpressStats {
123
+ ], QueryToDoBalanceSheetPaginated.prototype, "planedState", void 0);
124
+ class QueryToDoBalanceSheetStats {
119
125
  }
120
- exports.QueryToDoExpressStats = QueryToDoExpressStats;
126
+ exports.QueryToDoBalanceSheetStats = QueryToDoBalanceSheetStats;
127
+ __decorate([
128
+ (0, utils_1.ApiProperty)(),
129
+ (0, class_validator_1.IsBoolean)(),
130
+ (0, boolean_transform_1.ToBoolean)(),
131
+ __metadata("design:type", Boolean)
132
+ ], QueryToDoBalanceSheetStats.prototype, "isExpress", void 0);
121
133
  __decorate([
122
134
  (0, utils_1.ApiPropertyOptional)(),
123
135
  (0, class_validator_1.IsOptional)(),
124
136
  (0, class_validator_1.IsString)(),
125
137
  __metadata("design:type", String)
126
- ], QueryToDoExpressStats.prototype, "search", void 0);
138
+ ], QueryToDoBalanceSheetStats.prototype, "search", void 0);
127
139
  __decorate([
128
140
  (0, utils_1.ApiPropertyOptional)(),
129
141
  (0, class_validator_1.IsOptional)(),
130
142
  (0, class_validator_1.IsInt)(),
131
143
  __metadata("design:type", Number)
132
- ], QueryToDoExpressStats.prototype, "accountant", void 0);
144
+ ], QueryToDoBalanceSheetStats.prototype, "accountant", void 0);
133
145
  __decorate([
134
146
  (0, utils_1.ApiPropertyOptional)(),
135
147
  (0, class_validator_1.IsOptional)(),
136
148
  (0, class_validator_1.IsInt)(),
137
149
  __metadata("design:type", Number)
138
- ], QueryToDoExpressStats.prototype, "legalForm", void 0);
150
+ ], QueryToDoBalanceSheetStats.prototype, "legalForm", void 0);
139
151
  __decorate([
140
152
  (0, utils_1.ApiPropertyOptional)(),
141
153
  (0, class_validator_1.IsOptional)(),
142
154
  (0, class_validator_1.IsDate)(),
143
155
  __metadata("design:type", Date)
144
- ], QueryToDoExpressStats.prototype, "arrivalDate", void 0);
156
+ ], QueryToDoBalanceSheetStats.prototype, "arrivalDate", void 0);
145
157
  __decorate([
146
158
  (0, utils_1.ApiPropertyOptional)(),
147
159
  (0, class_validator_1.IsOptional)(),
148
160
  (0, class_validator_1.IsArray)(),
149
161
  __metadata("design:type", Array)
150
- ], QueryToDoExpressStats.prototype, "turnoverMax", void 0);
162
+ ], QueryToDoBalanceSheetStats.prototype, "turnoverMax", void 0);
151
163
  __decorate([
152
164
  (0, utils_1.ApiPropertyOptional)(),
153
165
  (0, class_validator_1.IsOptional)(),
154
166
  (0, class_validator_1.IsBoolean)(),
155
167
  (0, boolean_transform_1.ToBoolean)(),
156
168
  __metadata("design:type", Boolean)
157
- ], QueryToDoExpressStats.prototype, "facturationState", void 0);
169
+ ], QueryToDoBalanceSheetStats.prototype, "facturationState", void 0);
158
170
  __decorate([
159
171
  (0, utils_1.ApiPropertyOptional)(),
160
172
  (0, class_validator_1.IsOptional)(),
161
173
  (0, class_validator_1.IsInt)(),
162
174
  __metadata("design:type", Number)
163
- ], QueryToDoExpressStats.prototype, "onboardingState", void 0);
175
+ ], QueryToDoBalanceSheetStats.prototype, "onboardingState", void 0);
164
176
  __decorate([
165
177
  (0, utils_1.ApiPropertyOptional)(),
166
178
  (0, class_validator_1.IsOptional)(),
167
179
  (0, class_validator_1.IsBoolean)(),
168
180
  (0, boolean_transform_1.ToBoolean)(),
169
181
  __metadata("design:type", Boolean)
170
- ], QueryToDoExpressStats.prototype, "collectionState", void 0);
182
+ ], QueryToDoBalanceSheetStats.prototype, "collectionState", void 0);
183
+ __decorate([
184
+ (0, utils_1.ApiPropertyOptional)(),
185
+ (0, class_validator_1.IsOptional)(),
186
+ (0, class_validator_1.IsArray)(),
187
+ __metadata("design:type", Array)
188
+ ], QueryToDoBalanceSheetStats.prototype, "notation", void 0);
171
189
  __decorate([
172
190
  (0, utils_1.ApiPropertyOptional)(),
173
191
  (0, class_validator_1.IsOptional)(),
174
192
  (0, class_validator_1.IsArray)(),
175
193
  __metadata("design:type", Array)
176
- ], QueryToDoExpressStats.prototype, "notation", void 0);
194
+ ], QueryToDoBalanceSheetStats.prototype, "review", void 0);
195
+ __decorate([
196
+ (0, utils_1.ApiPropertyOptional)(),
197
+ (0, class_validator_1.IsOptional)(),
198
+ (0, class_validator_1.IsInt)(),
199
+ __metadata("design:type", Number)
200
+ ], QueryToDoBalanceSheetStats.prototype, "balanceSheetState", void 0);
201
+ __decorate([
202
+ (0, utils_1.ApiPropertyOptional)(),
203
+ (0, class_validator_1.IsOptional)(),
204
+ (0, class_validator_1.IsInt)(),
205
+ __metadata("design:type", Number)
206
+ ], QueryToDoBalanceSheetStats.prototype, "supervisionState", void 0);
207
+ __decorate([
208
+ (0, utils_1.ApiPropertyOptional)(),
209
+ (0, class_validator_1.IsOptional)(),
210
+ (0, class_validator_1.IsBoolean)(),
211
+ (0, boolean_transform_1.ToBoolean)(),
212
+ __metadata("design:type", Boolean)
213
+ ], QueryToDoBalanceSheetStats.prototype, "planedState", void 0);
214
+ class QueryToDoBalanceSheetGetExercicesSociety {
215
+ }
216
+ exports.QueryToDoBalanceSheetGetExercicesSociety = QueryToDoBalanceSheetGetExercicesSociety;
217
+ __decorate([
218
+ (0, utils_1.ApiProperty)(),
219
+ (0, class_validator_1.IsBoolean)(),
220
+ (0, boolean_transform_1.ToBoolean)(),
221
+ __metadata("design:type", Boolean)
222
+ ], QueryToDoBalanceSheetGetExercicesSociety.prototype, "isExpress", void 0);
177
223
  __decorate([
178
224
  (0, utils_1.ApiPropertyOptional)(),
179
225
  (0, class_validator_1.IsOptional)(),
180
226
  (0, class_validator_1.IsArray)(),
181
227
  __metadata("design:type", Array)
182
- ], QueryToDoExpressStats.prototype, "review", void 0);
228
+ ], QueryToDoBalanceSheetGetExercicesSociety.prototype, "turnoverMax", void 0);
229
+ __decorate([
230
+ (0, utils_1.ApiPropertyOptional)(),
231
+ (0, class_validator_1.IsOptional)(),
232
+ (0, class_validator_1.IsInt)(),
233
+ __metadata("design:type", Number)
234
+ ], QueryToDoBalanceSheetGetExercicesSociety.prototype, "dateEnd", void 0);
235
+ __decorate([
236
+ (0, utils_1.ApiPropertyOptional)(),
237
+ (0, class_validator_1.IsOptional)(),
238
+ (0, class_validator_1.IsInt)(),
239
+ __metadata("design:type", Number)
240
+ ], QueryToDoBalanceSheetGetExercicesSociety.prototype, "year", void 0);
183
241
  __decorate([
184
242
  (0, utils_1.ApiPropertyOptional)(),
185
243
  (0, class_validator_1.IsOptional)(),
186
244
  (0, class_validator_1.IsInt)(),
187
245
  __metadata("design:type", Number)
188
- ], QueryToDoExpressStats.prototype, "balanceSheetState", void 0);
246
+ ], QueryToDoBalanceSheetGetExercicesSociety.prototype, "balanceSheetState", void 0);
189
247
  __decorate([
190
248
  (0, utils_1.ApiPropertyOptional)(),
191
249
  (0, class_validator_1.IsOptional)(),
192
250
  (0, class_validator_1.IsInt)(),
193
251
  __metadata("design:type", Number)
194
- ], QueryToDoExpressStats.prototype, "supervisionState", void 0);
252
+ ], QueryToDoBalanceSheetGetExercicesSociety.prototype, "supervisionState", void 0);
195
253
  __decorate([
196
254
  (0, utils_1.ApiPropertyOptional)(),
197
255
  (0, class_validator_1.IsOptional)(),
198
256
  (0, class_validator_1.IsBoolean)(),
199
257
  (0, boolean_transform_1.ToBoolean)(),
200
258
  __metadata("design:type", Boolean)
201
- ], QueryToDoExpressStats.prototype, "planedState", void 0);
259
+ ], QueryToDoBalanceSheetGetExercicesSociety.prototype, "planedState", void 0);
202
260
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/toDoExpress/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0F;AAC1F,6CAAwD;AACxD,kDAAwD;AACxD,sFAA2E;AAE3E,MAAa,yBAA0B,SAAQ,oCAAqB;CAkFnE;AAlFD,8DAkFC;AA9EC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;6DACiB;AAK9B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACK,IAAI;8DAAC;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;8DACa;AAMvB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;mEACe;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK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AmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACK,IAAI;0DAAC;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;0DACa;AAMvB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;+DACe;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8DACiB;AAMzB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8DACc;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;uDACU;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;qDACQ;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACmB;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+DACkB;AAM1B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACU","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryToDoExpressPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountant: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n legalForm?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n arrivalDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n turnoverMax?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n facturationState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n missionAcceptationState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n onboardingState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n dateEnd?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n collectionState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n notation?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n review?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n balanceSheetState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n supervisionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n planedState?: boolean;\n}\n\nexport class QueryToDoExpressStats {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n accountant?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n legalForm?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n arrivalDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n turnoverMax?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n facturationState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n onboardingState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n collectionState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n notation?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n review?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n balanceSheetState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n supervisionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n planedState?: boolean;\n}\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/toDoExpress/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0F;AAC1F,6CAAqE;AACrE,kDAAwD;AACxD,sFAA2E;AAE3E,MAAa,8BAA+B,SAAQ,oCAAqB;CAuFxE;AAvFD,wEAuFC;AAnFC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;iEACO;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8DACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kEACiB;AAK9B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iEACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACK,IAAI;mEAAC;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;mEACa;AAMvB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;wEACe;AAK3B;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,GAAE;IACX,IAAA,6BAAS,GAAE;;2EACO;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;6EACa;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yEACS;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sEACM;AAKd;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;mFACmB;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;kFACkB;AAM1B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6EACU","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryToDoBalanceSheetPaginated extends RequiredQueryPaginate {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isExpress: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountant: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n legalForm?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n arrivalDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n turnoverMax?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n facturationState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n missionAcceptationState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n onboardingState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n dateEnd?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n collectionState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n notation?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n review?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n balanceSheetState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n supervisionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n planedState?: boolean;\n}\n\nexport class QueryToDoBalanceSheetStats {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isExpress: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n accountant?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n legalForm?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n arrivalDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n turnoverMax?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n facturationState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n onboardingState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n collectionState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n notation?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n review?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n balanceSheetState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n supervisionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n planedState?: boolean;\n}\n\nexport class QueryToDoBalanceSheetGetExercicesSociety {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isExpress: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n turnoverMax?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n dateEnd?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n balanceSheetState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n supervisionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n planedState?: boolean;\n}\n"]}
@@ -1,10 +1,10 @@
1
- import { BasePaginate, OptionalQueryPaginate, Query3cxLog, Read3cxAgent, Read3cxMeeting } from '../../types';
1
+ import { BasePaginate, OptionalQueryPaginate, Query3cxLog, Read3cxAgent, Read3cxMeetings } from '../../types';
2
2
  import { ICallHistory } from '../../types/Interface/models/ICallHistory';
3
3
  import { Resource } from '../Resource';
4
4
  export declare class Cx extends Resource {
5
5
  getPaginate(params: Query3cxLog & OptionalQueryPaginate): Promise<BasePaginate<ICallHistory>>;
6
6
  getAllAgents(): Promise<Read3cxAgent[]>;
7
- getAllMeetings(): Promise<Read3cxMeeting[]>;
7
+ getAllMeetings(): Promise<Read3cxMeetings>;
8
8
  addContactInMeeting(): Promise<boolean>;
9
9
  }
10
10
  //# sourceMappingURL=3cx.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"3cx.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/3cx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7G,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,EAAG,SAAQ,QAAQ;IAC9B,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,qBAAqB,GAAG,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;IAI7F,YAAY,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;IAIvC,cAAc,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;IAI3C,mBAAmB,IAAI,OAAO,CAAC,OAAO,CAAC;CAGxC"}
1
+ {"version":3,"file":"3cx.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/3cx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9G,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,EAAG,SAAQ,QAAQ;IAC9B,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,qBAAqB,GAAG,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;IAI7F,YAAY,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;IAIvC,cAAc,IAAI,OAAO,CAAC,eAAe,CAAC;IAI1C,mBAAmB,IAAI,OAAO,CAAC,OAAO,CAAC;CAGxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"3cx.js","sourceRoot":"","sources":["../../../../ts/api/resources/3cx.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,EAAG,SAAQ,QAAQ;IAC9B,WAAW,CAAC,MAA2C;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED,YAAY;QACV,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;IACnD,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;IACrD,CAAC;IAED,mBAAmB;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAC;IAC/D,CAAC;CACF","sourcesContent":["import { BasePaginate, OptionalQueryPaginate, Query3cxLog, Read3cxAgent, Read3cxMeeting } from '../../types';\nimport { ICallHistory } from '../../types/Interface/models/ICallHistory';\nimport { Resource } from '../Resource';\n\nexport class Cx extends Resource {\n getPaginate(params: Query3cxLog & OptionalQueryPaginate): Promise<BasePaginate<ICallHistory>> {\n return this.axios.$get('/connectors/3cx/logs', { params });\n }\n\n getAllAgents(): Promise<Read3cxAgent[]> {\n return this.axios.$get('/connectors/3cx/agents');\n }\n\n getAllMeetings(): Promise<Read3cxMeeting[]> {\n return this.axios.$get('/connectors/3cx/meetings');\n }\n\n addContactInMeeting(): Promise<boolean> {\n return this.axios.$post('/connectors/3cx/meetings/contacts');\n }\n}\n"]}
1
+ {"version":3,"file":"3cx.js","sourceRoot":"","sources":["../../../../ts/api/resources/3cx.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,EAAG,SAAQ,QAAQ;IAC9B,WAAW,CAAC,MAA2C;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED,YAAY;QACV,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;IACnD,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;IACrD,CAAC;IAED,mBAAmB;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAC;IAC/D,CAAC;CACF","sourcesContent":["import { BasePaginate, OptionalQueryPaginate, Query3cxLog, Read3cxAgent, Read3cxMeetings } from '../../types';\nimport { ICallHistory } from '../../types/Interface/models/ICallHistory';\nimport { Resource } from '../Resource';\n\nexport class Cx extends Resource {\n getPaginate(params: Query3cxLog & OptionalQueryPaginate): Promise<BasePaginate<ICallHistory>> {\n return this.axios.$get('/connectors/3cx/logs', { params });\n }\n\n getAllAgents(): Promise<Read3cxAgent[]> {\n return this.axios.$get('/connectors/3cx/agents');\n }\n\n getAllMeetings(): Promise<Read3cxMeetings> {\n return this.axios.$get('/connectors/3cx/meetings');\n }\n\n addContactInMeeting(): Promise<boolean> {\n return this.axios.$post('/connectors/3cx/meetings/contacts');\n }\n}\n"]}
@@ -12,6 +12,9 @@ export declare class BalanceSheet extends Resource {
12
12
  getPdf(params: {
13
13
  idExercice: number;
14
14
  }): Promise<Buffer>;
15
+ getIntermediateManagementRebatePdf(params: {
16
+ idExercice: number;
17
+ }): Promise<Buffer>;
15
18
  getFreelanceTurnover(params: {
16
19
  idExercice: number;
17
20
  }): Promise<ReadFreelanceTurnover>;
@@ -1 +1 @@
1
- {"version":3,"file":"BalanceSheet.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iCAAiC,EACjC,0BAA0B,EAC1B,4BAA4B,EAC5B,gCAAgC,EAChC,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,EAClB,6BAA6B,EAC7B,+BAA+B,EAC/B,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,qBAAa,YAAa,SAAQ,QAAQ;IACxC,aAAa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AAC;IAIhE,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,EAAE,CAAC;CAG3E"}
@@ -37,6 +37,16 @@ export class BalanceSheet extends Resource {
37
37
  },
38
38
  });
39
39
  }
40
+ // cette route a été créée pour des tests sur l'envoi de project client (juste pour vérifier le retour du SIG)
41
+ // ce sera supprimé par la suite.
42
+ getIntermediateManagementRebatePdf(params) {
43
+ return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/intermediate-management-rebate/pdf`, {
44
+ responseType: 'arraybuffer',
45
+ headers: {
46
+ Accept: 'application/pdf',
47
+ },
48
+ });
49
+ }
40
50
  getFreelanceTurnover(params) {
41
51
  return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/freelanceTurnover`);
42
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BalanceSheet.js","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheet.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,aAAa,CAAC,MAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,cAAc,CAAC,MAAuC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wCAAwC,EAAE,MAAM,CAAC,CAAC;IAC5E,CAAC;IAED,oBAAoB,CAAC,MAAyC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2CAA2C,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,uBAAuB,CAAC,MAAyC;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+CAA+C,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtF,CAAC;IAED,uBAAuB,CACrB,MAA4C,EAC5C,MAAoB;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CAAC,cAAc,UAAU,cAAc,CAAC,CAAC;IACjE,CAAC;CACF","sourcesContent":["import {\n IBalanceSheet,\n QueryBalanceSheetMonthlyStatistic,\n QueryBalanceSheetStatistic,\n QueryBalanceSheetAttestation,\n ReadBalanceSheetMonthlyStatistic,\n ReadBalanceSheetStatistic,\n ReadFreelanceTurnover,\n UpdateBalanceSheet,\n CreateBalanceSheetAttestation,\n QueryBalanceSheetGenerateUnpaid,\n ReadBalanceSheetConsistency,\n QueryBalanceSheetSupervisedStatistic,\n} from '../..';\nimport { Resource } from '../Resource';\nimport { AxiosResponse } from 'axios';\n\nexport class BalanceSheet extends Resource {\n getStatistics(params: QueryBalanceSheetStatistic): Promise<ReadBalanceSheetStatistic> {\n return this.axios.$get('/exercice/balanceSheet/statistics', { params });\n }\n\n generateUnpaid(params: QueryBalanceSheetGenerateUnpaid): Promise<void> {\n return this.axios.$post('/exercice/balanceSheet/generate-unpaid', params);\n }\n\n getMonthlyStatistics(params: QueryBalanceSheetMonthlyStatistic): Promise<ReadBalanceSheetMonthlyStatistic> {\n return this.axios.$get('/exercice/balanceSheet/monthly-statistics', { params });\n }\n\n getMonthlyStatisticsCsv(params: QueryBalanceSheetMonthlyStatistic): Promise<AxiosResponse> {\n return this.axios.$get('/exercice/balanceSheet/monthly-statistics-csv', { params });\n }\n\n getSupervisedStatistics(\n params: QueryBalanceSheetSupervisedStatistic,\n signal?: AbortSignal,\n ): Promise<IBalanceSheet[]> {\n return this.axios.$get('/exercice/balanceSheet/supervised-statistics', {\n ...(signal ? { signal } : {}),\n params,\n });\n }\n\n createAttestation(idBalanceSheet: number, params: CreateBalanceSheetAttestation): Promise<Buffer> {\n return this.axios.$post(`/exercice/balanceSheet/${idBalanceSheet}/attestations`, params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAttestation(params: QueryBalanceSheetAttestation): Promise<string> {\n return this.axios.$get('/exercice/balanceSheet/attestations', { params });\n }\n\n getPdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getFreelanceTurnover(params: { idExercice: number }): Promise<ReadFreelanceTurnover> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/freelanceTurnover`);\n }\n\n update(id: number, params: UpdateBalanceSheet): Promise<IBalanceSheet> {\n return this.axios.$put(`/exercice/balanceSheet/${id}`, params);\n }\n\n getByExercice(idExercice: number): Promise<IBalanceSheet | null> {\n return this.axios.$get(`/exercice/${idExercice}/balance-sheets`);\n }\n\n getConsistency(idExercice: number): Promise<ReadBalanceSheetConsistency[]> {\n return this.axios.$get(`/exercices/${idExercice}/consistency`);\n }\n}\n"]}
1
+ {"version":3,"file":"BalanceSheet.js","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheet.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,aAAa,CAAC,MAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,cAAc,CAAC,MAAuC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wCAAwC,EAAE,MAAM,CAAC,CAAC;IAC5E,CAAC;IAED,oBAAoB,CAAC,MAAyC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2CAA2C,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,uBAAuB,CAAC,MAAyC;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+CAA+C,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtF,CAAC;IAED,uBAAuB,CACrB,MAA4C,EAC5C,MAAoB;QAEpB,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0BAA0B,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IACjE,CAAC;IAED,aAAa,CAAC,UAAkB;QAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,UAAU,iBAAiB,CAAC,CAAC;IACnE,CAAC;IAED,cAAc,CAAC,UAAkB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,cAAc,CAAC,CAAC;IACjE,CAAC;CACF","sourcesContent":["import {\n IBalanceSheet,\n QueryBalanceSheetMonthlyStatistic,\n QueryBalanceSheetStatistic,\n QueryBalanceSheetAttestation,\n ReadBalanceSheetMonthlyStatistic,\n ReadBalanceSheetStatistic,\n ReadFreelanceTurnover,\n UpdateBalanceSheet,\n CreateBalanceSheetAttestation,\n QueryBalanceSheetGenerateUnpaid,\n ReadBalanceSheetConsistency,\n QueryBalanceSheetSupervisedStatistic,\n} from '../..';\nimport { Resource } from '../Resource';\nimport { AxiosResponse } from 'axios';\n\nexport class BalanceSheet extends Resource {\n getStatistics(params: QueryBalanceSheetStatistic): Promise<ReadBalanceSheetStatistic> {\n return this.axios.$get('/exercice/balanceSheet/statistics', { params });\n }\n\n generateUnpaid(params: QueryBalanceSheetGenerateUnpaid): Promise<void> {\n return this.axios.$post('/exercice/balanceSheet/generate-unpaid', params);\n }\n\n getMonthlyStatistics(params: QueryBalanceSheetMonthlyStatistic): Promise<ReadBalanceSheetMonthlyStatistic> {\n return this.axios.$get('/exercice/balanceSheet/monthly-statistics', { params });\n }\n\n getMonthlyStatisticsCsv(params: QueryBalanceSheetMonthlyStatistic): Promise<AxiosResponse> {\n return this.axios.$get('/exercice/balanceSheet/monthly-statistics-csv', { params });\n }\n\n getSupervisedStatistics(\n params: QueryBalanceSheetSupervisedStatistic,\n signal?: AbortSignal,\n ): Promise<IBalanceSheet[]> {\n return this.axios.$get('/exercice/balanceSheet/supervised-statistics', {\n ...(signal ? { signal } : {}),\n params,\n });\n }\n\n createAttestation(idBalanceSheet: number, params: CreateBalanceSheetAttestation): Promise<Buffer> {\n return this.axios.$post(`/exercice/balanceSheet/${idBalanceSheet}/attestations`, params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAttestation(params: QueryBalanceSheetAttestation): Promise<string> {\n return this.axios.$get('/exercice/balanceSheet/attestations', { params });\n }\n\n getPdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n // cette route a été créée pour des tests sur l'envoi de project client (juste pour vérifier le retour du SIG)\n // ce sera supprimé par la suite.\n getIntermediateManagementRebatePdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/intermediate-management-rebate/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getFreelanceTurnover(params: { idExercice: number }): Promise<ReadFreelanceTurnover> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/freelanceTurnover`);\n }\n\n update(id: number, params: UpdateBalanceSheet): Promise<IBalanceSheet> {\n return this.axios.$put(`/exercice/balanceSheet/${id}`, params);\n }\n\n getByExercice(idExercice: number): Promise<IBalanceSheet | null> {\n return this.axios.$get(`/exercice/${idExercice}/balance-sheets`);\n }\n\n getConsistency(idExercice: number): Promise<ReadBalanceSheetConsistency[]> {\n return this.axios.$get(`/exercices/${idExercice}/consistency`);\n }\n}\n"]}
@@ -1,9 +1,13 @@
1
1
  import { Resource } from '../Resource';
2
- import { BasePaginate, CreateKilometricAllowanceValidation, IAccountingTransaction, QueryKilometricAllowance, ReadKilometricAllowanceByVehicle } from '../../types';
2
+ import { BasePaginate, CreateKilometricAllowanceValidation, IAccountingTransaction, QueryKilometricAllowance, ReadKilometricAllowanceByPartner, ReadKilometricAllowanceByVehicle } from '../../types';
3
3
  export declare class KilometricAllowance extends Resource {
4
4
  validate(idExercice: number, payload: CreateKilometricAllowanceValidation): Promise<boolean>;
5
5
  getPaginated(idSociety: number, params: QueryKilometricAllowance, signal?: AbortSignal): Promise<BasePaginate<IAccountingTransaction>>;
6
+ /**
7
+ * Resume by vehicle
8
+ */
6
9
  getResume(idExercice: number, signal?: AbortSignal): Promise<ReadKilometricAllowanceByVehicle[]>;
10
+ getResumeByPartner(idExercice: number, signal?: AbortSignal): Promise<ReadKilometricAllowanceByPartner[]>;
7
11
  exportIntoCSV(idSociety: number, query: QueryKilometricAllowance): Promise<Buffer>;
8
12
  }
9
13
  //# sourceMappingURL=KilometricAllowance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KilometricAllowance.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/KilometricAllowance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,YAAY,EACZ,mCAAmC,EACnC,sBAAsB,EACtB,wBAAwB,EACxB,gCAAgC,EACjC,MAAM,aAAa,CAAC;AAErB,qBAAa,mBAAoB,SAAQ,QAAQ;IAC/C,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,mCAAmC,GAAG,OAAO,CAAC,OAAO,CAAC;IAI5F,YAAY,CACV,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,wBAAwB,EAChC,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAC;IAOhD,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gCAAgC,EAAE,CAAC;IAMhG,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC;CASnF"}
1
+ {"version":3,"file":"KilometricAllowance.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/KilometricAllowance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,YAAY,EACZ,mCAAmC,EACnC,sBAAsB,EACtB,wBAAwB,EAExB,gCAAgC,EAChC,gCAAgC,EACjC,MAAM,aAAa,CAAC;AAErB,qBAAa,mBAAoB,SAAQ,QAAQ;IAC/C,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,mCAAmC,GAAG,OAAO,CAAC,OAAO,CAAC;IAI5F,YAAY,CACV,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,wBAAwB,EAChC,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAC;IAOhD;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gCAAgC,EAAE,CAAC;IAShG,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gCAAgC,EAAE,CAAC;IASzG,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC;CASnF"}
@@ -9,8 +9,20 @@ export class KilometricAllowance extends Resource {
9
9
  ...(signal ? { signal } : {}),
10
10
  });
11
11
  }
12
+ /**
13
+ * Resume by vehicle
14
+ */
12
15
  getResume(idExercice, signal) {
16
+ const query = { groupedBy: 'vehicle' };
13
17
  return this.axios.$get(`/exercices/${idExercice}/kilometric-allowances`, {
18
+ params: query,
19
+ ...(signal ? { signal } : {}),
20
+ });
21
+ }
22
+ getResumeByPartner(idExercice, signal) {
23
+ const query = { groupedBy: 'partner' };
24
+ return this.axios.$get(`/exercices/${idExercice}/kilometric-allowances`, {
25
+ params: query,
14
26
  ...(signal ? { signal } : {}),
15
27
  });
16
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"KilometricAllowance.js","sourceRoot":"","sources":["../../../../ts/api/resources/KilometricAllowance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AASvC,MAAM,OAAO,mBAAoB,SAAQ,QAAQ;IAC/C,QAAQ,CAAC,UAAkB,EAAE,OAA4C;QACvE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,UAAU,gCAAgC,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED,YAAY,CACV,SAAiB,EACjB,MAAgC,EAChC,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,wBAAwB,EAAE;YACtE,MAAM;YACN,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,SAAS,CAAC,UAAkB,EAAE,MAAoB;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,wBAAwB,EAAE;YACvE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,SAAiB,EAAE,KAA+B;QAC9D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,oCAAoC,EAAE;YAClF,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateKilometricAllowanceValidation,\n IAccountingTransaction,\n QueryKilometricAllowance,\n ReadKilometricAllowanceByVehicle,\n} from '../../types';\n\nexport class KilometricAllowance extends Resource {\n validate(idExercice: number, payload: CreateKilometricAllowanceValidation): Promise<boolean> {\n return this.axios.$post(`/exercices/${idExercice}/kilometric-allowance/validate`, payload);\n }\n\n getPaginated(\n idSociety: number,\n params: QueryKilometricAllowance,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IAccountingTransaction>> {\n return this.axios.$get(`/societies/${idSociety}/kilometric-allowances`, {\n params,\n ...(signal ? { signal } : {}),\n });\n }\n\n getResume(idExercice: number, signal?: AbortSignal): Promise<ReadKilometricAllowanceByVehicle[]> {\n return this.axios.$get(`/exercices/${idExercice}/kilometric-allowances`, {\n ...(signal ? { signal } : {}),\n });\n }\n\n exportIntoCSV(idSociety: number, query: QueryKilometricAllowance): Promise<Buffer> {\n return this.axios.$get(`/societies/${idSociety}/kilometric-allowances/exports/csv`, {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n}\n"]}
1
+ {"version":3,"file":"KilometricAllowance.js","sourceRoot":"","sources":["../../../../ts/api/resources/KilometricAllowance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAWvC,MAAM,OAAO,mBAAoB,SAAQ,QAAQ;IAC/C,QAAQ,CAAC,UAAkB,EAAE,OAA4C;QACvE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,UAAU,gCAAgC,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED,YAAY,CACV,SAAiB,EACjB,MAAgC,EAChC,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,wBAAwB,EAAE;YACtE,MAAM;YACN,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,UAAkB,EAAE,MAAoB;QAChD,MAAM,KAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAA4C,CAAC;QAEjF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,wBAAwB,EAAE;YACvE,MAAM,EAAE,KAAK;YACb,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,kBAAkB,CAAC,UAAkB,EAAE,MAAoB;QACzD,MAAM,KAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAA4C,CAAC;QAEjF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,wBAAwB,EAAE;YACvE,MAAM,EAAE,KAAK;YACb,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,SAAiB,EAAE,KAA+B;QAC9D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,oCAAoC,EAAE;YAClF,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateKilometricAllowanceValidation,\n IAccountingTransaction,\n QueryKilometricAllowance,\n QueryKilometricAllowanceGrouped,\n ReadKilometricAllowanceByPartner,\n ReadKilometricAllowanceByVehicle,\n} from '../../types';\n\nexport class KilometricAllowance extends Resource {\n validate(idExercice: number, payload: CreateKilometricAllowanceValidation): Promise<boolean> {\n return this.axios.$post(`/exercices/${idExercice}/kilometric-allowance/validate`, payload);\n }\n\n getPaginated(\n idSociety: number,\n params: QueryKilometricAllowance,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IAccountingTransaction>> {\n return this.axios.$get(`/societies/${idSociety}/kilometric-allowances`, {\n params,\n ...(signal ? { signal } : {}),\n });\n }\n\n /**\n * Resume by vehicle\n */\n getResume(idExercice: number, signal?: AbortSignal): Promise<ReadKilometricAllowanceByVehicle[]> {\n const query = { groupedBy: 'vehicle' } satisfies QueryKilometricAllowanceGrouped;\n\n return this.axios.$get(`/exercices/${idExercice}/kilometric-allowances`, {\n params: query,\n ...(signal ? { signal } : {}),\n });\n }\n\n getResumeByPartner(idExercice: number, signal?: AbortSignal): Promise<ReadKilometricAllowanceByPartner[]> {\n const query = { groupedBy: 'partner' } satisfies QueryKilometricAllowanceGrouped;\n\n return this.axios.$get(`/exercices/${idExercice}/kilometric-allowances`, {\n params: query,\n ...(signal ? { signal } : {}),\n });\n }\n\n exportIntoCSV(idSociety: number, query: QueryKilometricAllowance): Promise<Buffer> {\n return this.axios.$get(`/societies/${idSociety}/kilometric-allowances/exports/csv`, {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n}\n"]}
@@ -1,20 +1,20 @@
1
1
  import { Resource } from '../Resource';
2
- import { BasePaginate, IExercice, ISociety, QueryToDoExpressPaginated, QueryToDoExpressStats } from '../../types';
3
- export declare class ToDoExpress extends Resource {
2
+ import { BasePaginate, IExercice, ISociety, QueryToDoBalanceSheetPaginated, QueryToDoBalanceSheetStats } from '../../types';
3
+ export declare class ToDoBalanceSheet extends Resource {
4
4
  /**
5
- * Retourne les société express sour format paginé
6
- * @param { QueryToDoExpressPaginated } params
5
+ * Retourne les société sous format paginé
6
+ * @param { QueryToDoBalanceSheetPaginated } params
7
7
  * @param { AbortSignal } signal
8
8
  * @returns { Promise<BasePaginate<ISociety>> }
9
9
  */
10
- getPaginated(params: QueryToDoExpressPaginated, signal?: AbortSignal): Promise<BasePaginate<ISociety>>;
10
+ getPaginated(params: QueryToDoBalanceSheetPaginated, signal?: AbortSignal): Promise<BasePaginate<ISociety>>;
11
11
  /**
12
12
  * Retourne les statistiques
13
- * @param { QueryToDoExpressStats } params
13
+ * @param { QueryToDoBalanceSheetStats } params
14
14
  * @param { AbortSignal } signal
15
15
  * @returns { Promise<{ [key: string]: number }> }
16
16
  */
17
- getStats(params: QueryToDoExpressStats, signal?: AbortSignal): Promise<{
17
+ getStats(params: QueryToDoBalanceSheetStats, signal?: AbortSignal): Promise<{
18
18
  [key: string]: number;
19
19
  }>;
20
20
  /**
@@ -26,4 +26,4 @@ export declare class ToDoExpress extends Resource {
26
26
  */
27
27
  getExercice(idSociety: number, idExercice: number, signal?: AbortSignal): Promise<IExercice>;
28
28
  }
29
- //# sourceMappingURL=ToDoExpress.d.ts.map
29
+ //# sourceMappingURL=ToDoBalanceSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToDoBalanceSheet.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ToDoBalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,8BAA8B,EAC9B,0BAA0B,EAC3B,MAAM,aAAa,CAAC;AAErB,qBAAa,gBAAiB,SAAQ,QAAQ;IAC5C;;;;;OAKG;IACH,YAAY,CACV,MAAM,EAAE,8BAA8B,EACtC,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAOlC;;;;;OAKG;IACH,QAAQ,CACN,MAAM,EAAE,0BAA0B,EAClC,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAOrC;;;;;;OAMG;IACH,WAAW,CACT,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,SAAS,CAAC;CAQtB"}
@@ -1,25 +1,25 @@
1
1
  import { Resource } from '../Resource';
2
- export class ToDoExpress extends Resource {
2
+ export class ToDoBalanceSheet extends Resource {
3
3
  /**
4
- * Retourne les société express sour format paginé
5
- * @param { QueryToDoExpressPaginated } params
4
+ * Retourne les société sous format paginé
5
+ * @param { QueryToDoBalanceSheetPaginated } params
6
6
  * @param { AbortSignal } signal
7
7
  * @returns { Promise<BasePaginate<ISociety>> }
8
8
  */
9
9
  getPaginated(params, signal) {
10
- return this.axios.$get('/express/todo', {
10
+ return this.axios.$get('/balance-sheet/todo', {
11
11
  ...(signal ? { signal } : {}),
12
12
  params,
13
13
  });
14
14
  }
15
15
  /**
16
16
  * Retourne les statistiques
17
- * @param { QueryToDoExpressStats } params
17
+ * @param { QueryToDoBalanceSheetStats } params
18
18
  * @param { AbortSignal } signal
19
19
  * @returns { Promise<{ [key: string]: number }> }
20
20
  */
21
21
  getStats(params, signal) {
22
- return this.axios.$get('/express/todo/stats', {
22
+ return this.axios.$get('/balance-sheet/todo/stats', {
23
23
  ...(signal ? { signal } : {}),
24
24
  params,
25
25
  });
@@ -32,9 +32,9 @@ export class ToDoExpress extends Resource {
32
32
  * @returns { Promise<IExercice> }
33
33
  */
34
34
  getExercice(idSociety, idExercice, signal) {
35
- return this.axios.$get(`/express/todo/${idSociety}/exercice/${idExercice}`, {
35
+ return this.axios.$get(`/balance-sheet/todo/${idSociety}/exercice/${idExercice}`, {
36
36
  ...(signal ? { signal } : {}),
37
37
  });
38
38
  }
39
39
  }
40
- //# sourceMappingURL=ToDoExpress.js.map
40
+ //# sourceMappingURL=ToDoBalanceSheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToDoBalanceSheet.js","sourceRoot":"","sources":["../../../../ts/api/resources/ToDoBalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AASvC,MAAM,OAAO,gBAAiB,SAAQ,QAAQ;IAC5C;;;;;OAKG;IACH,YAAY,CACV,MAAsC,EACtC,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC5C,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7B,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CACN,MAAkC,EAClC,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,EAAE;YAClD,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7B,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,WAAW,CACT,SAAiB,EACjB,UAAkB,EAClB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CACpB,uBAAuB,SAAS,aAAa,UAAU,EAAE,EACzD;YACE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC9B,CACF,CAAC;IACJ,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate,\n IExercice,\n ISociety,\n QueryToDoBalanceSheetPaginated,\n QueryToDoBalanceSheetStats,\n} from '../../types';\n\nexport class ToDoBalanceSheet extends Resource {\n /**\n * Retourne les société sous format paginé\n * @param { QueryToDoBalanceSheetPaginated } params\n * @param { AbortSignal } signal\n * @returns { Promise<BasePaginate<ISociety>> }\n */\n getPaginated(\n params: QueryToDoBalanceSheetPaginated,\n signal?: AbortSignal,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/balance-sheet/todo', {\n ...(signal ? { signal } : {}),\n params,\n });\n }\n\n /**\n * Retourne les statistiques\n * @param { QueryToDoBalanceSheetStats } params\n * @param { AbortSignal } signal\n * @returns { Promise<{ [key: string]: number }> }\n */\n getStats(\n params: QueryToDoBalanceSheetStats,\n signal?: AbortSignal,\n ): Promise<{ [key: string]: number }> {\n return this.axios.$get('/balance-sheet/todo/stats', {\n ...(signal ? { signal } : {}),\n params,\n });\n }\n\n /**\n * Retourne le détail pour un exercice donné\n * @param { number } idSociety\n * @param { number } idExercice\n * @param { AbortSignal } signal\n * @returns { Promise<IExercice> }\n */\n getExercice(\n idSociety: number,\n idExercice: number,\n signal?: AbortSignal,\n ): Promise<IExercice> {\n return this.axios.$get(\n `/balance-sheet/todo/${idSociety}/exercice/${idExercice}`,\n {\n ...(signal ? { signal } : {}),\n },\n );\n }\n}\n"]}
@@ -164,7 +164,7 @@ import { UserSocietyPermission } from './resources/UserSocietyPermission';
164
164
  import { BalanceSheetSupervision } from './resources/BalanceSheetSupervision';
165
165
  import { CompanyCreationForm } from './resources/CompanyCreationForm';
166
166
  import { BankConnection } from './resources/BankConnection';
167
- import { ToDoExpress } from './resources/ToDoExpress';
167
+ import { ToDoBalanceSheet } from './resources/ToDoBalanceSheet';
168
168
  import { JuridicalMission } from './resources/JuridicalMission';
169
169
  import { PrestationComplementary } from './resources/PrestationComplementary';
170
170
  import { PrevisionalForm } from './resources/PrevisionalForm';
@@ -342,7 +342,7 @@ export declare const resources: {
342
342
  companyCreationForm: typeof CompanyCreationForm;
343
343
  project: typeof Project;
344
344
  bankConnection: typeof BankConnection;
345
- toDoExpress: typeof ToDoExpress;
345
+ toDoBalanceSheet: typeof ToDoBalanceSheet;
346
346
  juridicalMission: typeof JuridicalMission;
347
347
  prestationComplementary: typeof PrestationComplementary;
348
348
  previsionalForm: typeof PrevisionalForm;