@silexpert/core 1.1.124 → 1.1.127
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.
- package/es/api/resources/Revision.d.ts +2 -1
- package/es/api/resources/Revision.d.ts.map +1 -1
- package/es/api/resources/Revision.js +3 -0
- package/es/api/resources/Revision.js.map +1 -1
- package/es/api/resources/Society.d.ts +2 -1
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +3 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/types/Enum/BrandClementine.js +5 -5
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +6 -6
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/StatutsSection.js +1 -1
- package/es/types/Enum/StatutsSection.js.map +1 -1
- package/es/types/Interface/api/revision/Query.d.ts +69 -0
- package/es/types/Interface/api/revision/Query.d.ts.map +1 -0
- package/es/types/Interface/api/revision/Query.js +336 -0
- package/es/types/Interface/api/revision/Query.js.map +1 -0
- package/es/types/Interface/api/revision/Read.d.ts +121 -0
- package/es/types/Interface/api/revision/Read.d.ts.map +1 -0
- package/es/types/Interface/api/revision/Read.js +2 -0
- package/es/types/Interface/api/revision/Read.js.map +1 -0
- package/es/types/Interface/api/revision/Revision.d.ts +2 -0
- package/es/types/Interface/api/revision/Revision.d.ts.map +1 -1
- package/es/types/Interface/api/revision/Revision.js.map +1 -1
- package/es/types/Interface/api/society/QueryArchived.d.ts +8 -0
- package/es/types/Interface/api/society/QueryArchived.d.ts.map +1 -0
- package/es/types/Interface/api/{revision/QueryRevisionMergeIntoAccount.js → society/QueryArchived.js} +25 -22
- package/es/types/Interface/api/society/QueryArchived.js.map +1 -0
- package/es/types/Interface/models/IAccountDetail.d.ts +3 -0
- package/es/types/Interface/models/IAccountDetail.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountDetail.js.map +1 -1
- package/es/types/index.d.ts +3 -10
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +3 -10
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Revision.js +3 -0
- package/js/api/resources/Revision.js.map +1 -1
- package/js/api/resources/Society.js +5 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +5 -5
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +6 -6
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/StatutsSection.js +1 -1
- package/js/types/Enum/StatutsSection.js.map +1 -1
- package/js/types/Interface/api/revision/Query.js +131 -0
- package/js/types/Interface/api/revision/Query.js.map +1 -0
- package/js/types/Interface/api/revision/{ReadRevision.js → Read.js} +1 -1
- package/js/types/Interface/api/revision/Read.js.map +1 -0
- package/js/types/Interface/api/revision/Revision.js.map +1 -1
- package/js/types/Interface/api/society/QueryArchived.js +30 -0
- package/js/types/Interface/api/society/QueryArchived.js.map +1 -0
- package/js/types/Interface/models/IAccountDetail.js.map +1 -1
- package/js/types/index.js +85 -155
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Revision.ts +5 -0
- package/ts/api/resources/Society.ts +5 -0
- package/ts/types/Enum/BrandClementine.ts +5 -5
- package/ts/types/Enum/BrandPourcentage.ts +6 -6
- package/ts/types/Enum/StatutsSection.ts +1 -1
- package/ts/types/Interface/api/revision/Query.ts +279 -0
- package/ts/types/Interface/api/revision/Read.ts +123 -0
- package/ts/types/Interface/api/revision/Revision.ts +2 -0
- package/ts/types/Interface/api/society/QueryArchived.ts +29 -0
- package/ts/types/Interface/models/IAccountDetail.ts +3 -0
- package/ts/types/index.ts +3 -10
- package/es/types/Interface/api/revision/QueryRevision.d.ts +0 -10
- package/es/types/Interface/api/revision/QueryRevision.d.ts.map +0 -1
- package/es/types/Interface/api/revision/QueryRevision.js +0 -58
- package/es/types/Interface/api/revision/QueryRevision.js.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts +0 -12
- package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.js +0 -58
- package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts +0 -7
- package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionApprobation.js +0 -34
- package/es/types/Interface/api/revision/QueryRevisionApprobation.js.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.d.ts +0 -8
- package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.d.ts.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts +0 -10
- package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionPaginate.js +0 -58
- package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +0 -21
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +0 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js +0 -126
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +0 -1
- package/es/types/Interface/api/revision/ReadRevision.d.ts +0 -15
- package/es/types/Interface/api/revision/ReadRevision.d.ts.map +0 -1
- package/es/types/Interface/api/revision/ReadRevision.js +0 -2
- package/es/types/Interface/api/revision/ReadRevision.js.map +0 -1
- package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts +0 -42
- package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts.map +0 -1
- package/es/types/Interface/api/revision/ReadRevisionAccount.js +0 -2
- package/es/types/Interface/api/revision/ReadRevisionAccount.js.map +0 -1
- package/es/types/Interface/api/revision/ReadRevisionMergeIntoAccount.d.ts +0 -4
- package/es/types/Interface/api/revision/ReadRevisionMergeIntoAccount.d.ts.map +0 -1
- package/es/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js +0 -2
- package/es/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js.map +0 -1
- package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.d.ts +0 -60
- package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.d.ts.map +0 -1
- package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.js +0 -2
- package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.js.map +0 -1
- package/js/types/Interface/api/revision/QueryRevision.js +0 -39
- package/js/types/Interface/api/revision/QueryRevision.js.map +0 -1
- package/js/types/Interface/api/revision/QueryRevisionAccount.js +0 -39
- package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +0 -1
- package/js/types/Interface/api/revision/QueryRevisionApprobation.js +0 -25
- package/js/types/Interface/api/revision/QueryRevisionApprobation.js.map +0 -1
- package/js/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js +0 -26
- package/js/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +0 -1
- package/js/types/Interface/api/revision/QueryRevisionPaginate.js +0 -39
- package/js/types/Interface/api/revision/QueryRevisionPaginate.js.map +0 -1
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js +0 -53
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +0 -1
- package/js/types/Interface/api/revision/ReadRevision.js.map +0 -1
- package/js/types/Interface/api/revision/ReadRevisionAccount.js +0 -6
- package/js/types/Interface/api/revision/ReadRevisionAccount.js.map +0 -1
- package/js/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js +0 -6
- package/js/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js.map +0 -1
- package/js/types/Interface/api/revision/ReadRevisionTransactionDetail.js +0 -6
- package/js/types/Interface/api/revision/ReadRevisionTransactionDetail.js.map +0 -1
- package/ts/types/Interface/api/revision/QueryRevision.ts +0 -40
- package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +0 -43
- package/ts/types/Interface/api/revision/QueryRevisionApprobation.ts +0 -22
- package/ts/types/Interface/api/revision/QueryRevisionMergeIntoAccount.ts +0 -28
- package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +0 -40
- package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +0 -101
- package/ts/types/Interface/api/revision/ReadRevision.ts +0 -15
- package/ts/types/Interface/api/revision/ReadRevisionAccount.ts +0 -42
- package/ts/types/Interface/api/revision/ReadRevisionMergeIntoAccount.ts +0 -3
- package/ts/types/Interface/api/revision/ReadRevisionTransactionDetail.ts +0 -59
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, IsArray, } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
|
+
export class QueryRevision {
|
|
14
|
+
constructor() {
|
|
15
|
+
// Interface paginate
|
|
16
|
+
this.limit = 25;
|
|
17
|
+
this.page = 1;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
ApiProperty(),
|
|
22
|
+
IsDate(),
|
|
23
|
+
__metadata("design:type", Date)
|
|
24
|
+
], QueryRevision.prototype, "startDate", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiProperty(),
|
|
27
|
+
IsDate(),
|
|
28
|
+
__metadata("design:type", Date)
|
|
29
|
+
], QueryRevision.prototype, "endDate", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
ApiProperty(),
|
|
32
|
+
IsInt(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], QueryRevision.prototype, "idSociety", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
ApiPropertyOptional(),
|
|
37
|
+
IsString(),
|
|
38
|
+
IsOptional(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], QueryRevision.prototype, "orderBy", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiPropertyOptional(),
|
|
43
|
+
IsBoolean(),
|
|
44
|
+
ToBoolean(),
|
|
45
|
+
IsOptional(),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], QueryRevision.prototype, "descending", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
ApiProperty({ default: 25 }),
|
|
50
|
+
IsNumber(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], QueryRevision.prototype, "limit", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
ApiProperty({ default: 1 }),
|
|
55
|
+
IsNumber(),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], QueryRevision.prototype, "page", void 0);
|
|
58
|
+
export class QueryRevisionAccount {
|
|
59
|
+
}
|
|
60
|
+
__decorate([
|
|
61
|
+
ApiProperty({ default: 1 }),
|
|
62
|
+
IsNumber(),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], QueryRevisionAccount.prototype, "page", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
ApiProperty(),
|
|
67
|
+
IsDate(),
|
|
68
|
+
__metadata("design:type", Date)
|
|
69
|
+
], QueryRevisionAccount.prototype, "startDate", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
ApiProperty(),
|
|
72
|
+
IsDate(),
|
|
73
|
+
__metadata("design:type", Date)
|
|
74
|
+
], QueryRevisionAccount.prototype, "endDate", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
ApiPropertyOptional({ default: 25 }),
|
|
77
|
+
IsNumber(),
|
|
78
|
+
__metadata("design:type", Number)
|
|
79
|
+
], QueryRevisionAccount.prototype, "limit", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
ApiPropertyOptional({ default: 'date' }),
|
|
82
|
+
IsString(),
|
|
83
|
+
IsOptional(),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], QueryRevisionAccount.prototype, "orderBy", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
ApiPropertyOptional({ default: true }),
|
|
88
|
+
IsBoolean(),
|
|
89
|
+
ToBoolean(),
|
|
90
|
+
IsOptional(),
|
|
91
|
+
__metadata("design:type", Boolean)
|
|
92
|
+
], QueryRevisionAccount.prototype, "descending", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
ApiPropertyOptional(),
|
|
95
|
+
__metadata("design:type", Boolean)
|
|
96
|
+
], QueryRevisionAccount.prototype, "isRevised", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
ApiProperty(),
|
|
99
|
+
IsInt(),
|
|
100
|
+
__metadata("design:type", Number)
|
|
101
|
+
], QueryRevisionAccount.prototype, "idSociety", void 0);
|
|
102
|
+
export class QueryRevisionApprobation {
|
|
103
|
+
}
|
|
104
|
+
__decorate([
|
|
105
|
+
ApiProperty(),
|
|
106
|
+
IsDate(),
|
|
107
|
+
__metadata("design:type", Date)
|
|
108
|
+
], QueryRevisionApprobation.prototype, "startDate", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
ApiProperty(),
|
|
111
|
+
IsDate(),
|
|
112
|
+
__metadata("design:type", Date)
|
|
113
|
+
], QueryRevisionApprobation.prototype, "endDate", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
ApiProperty(),
|
|
116
|
+
IsNumber(),
|
|
117
|
+
__metadata("design:type", Number)
|
|
118
|
+
], QueryRevisionApprobation.prototype, "idSociety", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
ApiProperty(),
|
|
121
|
+
IsBoolean(),
|
|
122
|
+
ToBoolean(),
|
|
123
|
+
__metadata("design:type", Boolean)
|
|
124
|
+
], QueryRevisionApprobation.prototype, "approvedBySupervisor", void 0);
|
|
125
|
+
export class QueryRevisionAccountComment {
|
|
126
|
+
}
|
|
127
|
+
__decorate([
|
|
128
|
+
ApiProperty(),
|
|
129
|
+
IsDate(),
|
|
130
|
+
__metadata("design:type", Date)
|
|
131
|
+
], QueryRevisionAccountComment.prototype, "startDate", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
ApiProperty(),
|
|
134
|
+
IsDate(),
|
|
135
|
+
__metadata("design:type", Date)
|
|
136
|
+
], QueryRevisionAccountComment.prototype, "endDate", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
ApiProperty(),
|
|
139
|
+
IsNumber(),
|
|
140
|
+
__metadata("design:type", Number)
|
|
141
|
+
], QueryRevisionAccountComment.prototype, "idSociety", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
ApiPropertyOptional(),
|
|
144
|
+
IsString(),
|
|
145
|
+
IsOptional(),
|
|
146
|
+
__metadata("design:type", Object)
|
|
147
|
+
], QueryRevisionAccountComment.prototype, "comment", void 0);
|
|
148
|
+
export class QueryRevisionMergeIntoAccount {
|
|
149
|
+
}
|
|
150
|
+
__decorate([
|
|
151
|
+
ApiProperty(),
|
|
152
|
+
IsDate(),
|
|
153
|
+
__metadata("design:type", Date)
|
|
154
|
+
], QueryRevisionMergeIntoAccount.prototype, "startDate", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
ApiProperty(),
|
|
157
|
+
IsDate(),
|
|
158
|
+
__metadata("design:type", Date)
|
|
159
|
+
], QueryRevisionMergeIntoAccount.prototype, "endDate", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
ApiProperty(),
|
|
162
|
+
IsNumber(),
|
|
163
|
+
__metadata("design:type", Number)
|
|
164
|
+
], QueryRevisionMergeIntoAccount.prototype, "idSociety", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
ApiPropertyOptional(),
|
|
167
|
+
IsArray(),
|
|
168
|
+
IsOptional(),
|
|
169
|
+
IsInt({ each: true }),
|
|
170
|
+
__metadata("design:type", Array)
|
|
171
|
+
], QueryRevisionMergeIntoAccount.prototype, "idAccounts", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
ApiPropertyOptional(),
|
|
174
|
+
IsArray(),
|
|
175
|
+
IsOptional(),
|
|
176
|
+
IsInt({ each: true }),
|
|
177
|
+
__metadata("design:type", Array)
|
|
178
|
+
], QueryRevisionMergeIntoAccount.prototype, "idAccountingEntries", void 0);
|
|
179
|
+
export class QueryRevisionPaginate {
|
|
180
|
+
constructor() {
|
|
181
|
+
// Interface paginate
|
|
182
|
+
this.limit = 25;
|
|
183
|
+
this.page = 1;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
__decorate([
|
|
187
|
+
ApiProperty(),
|
|
188
|
+
IsDate(),
|
|
189
|
+
__metadata("design:type", Date)
|
|
190
|
+
], QueryRevisionPaginate.prototype, "startDate", void 0);
|
|
191
|
+
__decorate([
|
|
192
|
+
ApiProperty(),
|
|
193
|
+
IsDate(),
|
|
194
|
+
__metadata("design:type", Date)
|
|
195
|
+
], QueryRevisionPaginate.prototype, "endDate", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
ApiProperty(),
|
|
198
|
+
IsInt(),
|
|
199
|
+
__metadata("design:type", Number)
|
|
200
|
+
], QueryRevisionPaginate.prototype, "idSociety", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
ApiPropertyOptional(),
|
|
203
|
+
IsString(),
|
|
204
|
+
IsOptional(),
|
|
205
|
+
__metadata("design:type", String)
|
|
206
|
+
], QueryRevisionPaginate.prototype, "orderBy", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
ApiPropertyOptional(),
|
|
209
|
+
IsBoolean(),
|
|
210
|
+
ToBoolean(),
|
|
211
|
+
IsOptional(),
|
|
212
|
+
__metadata("design:type", Boolean)
|
|
213
|
+
], QueryRevisionPaginate.prototype, "descending", void 0);
|
|
214
|
+
__decorate([
|
|
215
|
+
ApiProperty({ default: 25 }),
|
|
216
|
+
IsNumber(),
|
|
217
|
+
__metadata("design:type", Number)
|
|
218
|
+
], QueryRevisionPaginate.prototype, "limit", void 0);
|
|
219
|
+
__decorate([
|
|
220
|
+
ApiProperty({ default: 1 }),
|
|
221
|
+
IsNumber(),
|
|
222
|
+
__metadata("design:type", Number)
|
|
223
|
+
], QueryRevisionPaginate.prototype, "page", void 0);
|
|
224
|
+
export class QueryRevisionSearchEntries {
|
|
225
|
+
constructor() {
|
|
226
|
+
// Interface paginate
|
|
227
|
+
this.limit = 25;
|
|
228
|
+
this.page = 1;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
__decorate([
|
|
232
|
+
ApiProperty(),
|
|
233
|
+
IsNumber(),
|
|
234
|
+
__metadata("design:type", Number)
|
|
235
|
+
], QueryRevisionSearchEntries.prototype, "idSociety", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
ApiProperty(),
|
|
238
|
+
IsDate(),
|
|
239
|
+
__metadata("design:type", Date)
|
|
240
|
+
], QueryRevisionSearchEntries.prototype, "startDate", void 0);
|
|
241
|
+
__decorate([
|
|
242
|
+
ApiProperty(),
|
|
243
|
+
IsDate(),
|
|
244
|
+
__metadata("design:type", Date)
|
|
245
|
+
], QueryRevisionSearchEntries.prototype, "endDate", void 0);
|
|
246
|
+
__decorate([
|
|
247
|
+
ApiPropertyOptional(),
|
|
248
|
+
IsNumber(),
|
|
249
|
+
IsOptional(),
|
|
250
|
+
__metadata("design:type", Number)
|
|
251
|
+
], QueryRevisionSearchEntries.prototype, "idThirdParty", void 0);
|
|
252
|
+
__decorate([
|
|
253
|
+
ApiPropertyOptional(),
|
|
254
|
+
IsNumber(),
|
|
255
|
+
IsOptional(),
|
|
256
|
+
__metadata("design:type", Number)
|
|
257
|
+
], QueryRevisionSearchEntries.prototype, "amount", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
ApiPropertyOptional(),
|
|
260
|
+
IsNumber(),
|
|
261
|
+
IsOptional(),
|
|
262
|
+
__metadata("design:type", Number)
|
|
263
|
+
], QueryRevisionSearchEntries.prototype, "difference", void 0);
|
|
264
|
+
__decorate([
|
|
265
|
+
ApiPropertyOptional(),
|
|
266
|
+
IsString(),
|
|
267
|
+
IsOptional(),
|
|
268
|
+
__metadata("design:type", String)
|
|
269
|
+
], QueryRevisionSearchEntries.prototype, "designation", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
ApiPropertyOptional(),
|
|
272
|
+
IsString(),
|
|
273
|
+
IsOptional(),
|
|
274
|
+
__metadata("design:type", String)
|
|
275
|
+
], QueryRevisionSearchEntries.prototype, "startAccountNumber", void 0);
|
|
276
|
+
__decorate([
|
|
277
|
+
ApiPropertyOptional(),
|
|
278
|
+
IsString(),
|
|
279
|
+
IsOptional(),
|
|
280
|
+
__metadata("design:type", String)
|
|
281
|
+
], QueryRevisionSearchEntries.prototype, "endAccountNumber", void 0);
|
|
282
|
+
__decorate([
|
|
283
|
+
ApiPropertyOptional(),
|
|
284
|
+
IsNumber(),
|
|
285
|
+
IsOptional(),
|
|
286
|
+
__metadata("design:type", Number)
|
|
287
|
+
], QueryRevisionSearchEntries.prototype, "minimumAmount", void 0);
|
|
288
|
+
__decorate([
|
|
289
|
+
ApiPropertyOptional(),
|
|
290
|
+
IsNumber(),
|
|
291
|
+
IsOptional(),
|
|
292
|
+
__metadata("design:type", Number)
|
|
293
|
+
], QueryRevisionSearchEntries.prototype, "maximumAmount", void 0);
|
|
294
|
+
__decorate([
|
|
295
|
+
ApiPropertyOptional(),
|
|
296
|
+
IsArray(),
|
|
297
|
+
IsOptional(),
|
|
298
|
+
__metadata("design:type", Array)
|
|
299
|
+
], QueryRevisionSearchEntries.prototype, "idsAccountingJournal", void 0);
|
|
300
|
+
__decorate([
|
|
301
|
+
ApiPropertyOptional(),
|
|
302
|
+
IsNumber(),
|
|
303
|
+
IsOptional(),
|
|
304
|
+
__metadata("design:type", Number)
|
|
305
|
+
], QueryRevisionSearchEntries.prototype, "type", void 0);
|
|
306
|
+
__decorate([
|
|
307
|
+
ApiPropertyOptional(),
|
|
308
|
+
IsBoolean(),
|
|
309
|
+
ToBoolean(),
|
|
310
|
+
IsOptional(),
|
|
311
|
+
__metadata("design:type", Boolean)
|
|
312
|
+
], QueryRevisionSearchEntries.prototype, "isRevised", void 0);
|
|
313
|
+
__decorate([
|
|
314
|
+
ApiPropertyOptional({ default: 'date' }),
|
|
315
|
+
IsString(),
|
|
316
|
+
IsOptional(),
|
|
317
|
+
__metadata("design:type", String)
|
|
318
|
+
], QueryRevisionSearchEntries.prototype, "orderBy", void 0);
|
|
319
|
+
__decorate([
|
|
320
|
+
ApiPropertyOptional(),
|
|
321
|
+
IsBoolean(),
|
|
322
|
+
ToBoolean(),
|
|
323
|
+
IsOptional(),
|
|
324
|
+
__metadata("design:type", Boolean)
|
|
325
|
+
], QueryRevisionSearchEntries.prototype, "descending", void 0);
|
|
326
|
+
__decorate([
|
|
327
|
+
ApiProperty({ default: 25 }),
|
|
328
|
+
IsNumber(),
|
|
329
|
+
__metadata("design:type", Number)
|
|
330
|
+
], QueryRevisionSearchEntries.prototype, "limit", void 0);
|
|
331
|
+
__decorate([
|
|
332
|
+
ApiProperty({ default: 1 }),
|
|
333
|
+
IsNumber(),
|
|
334
|
+
__metadata("design:type", Number)
|
|
335
|
+
], QueryRevisionSearchEntries.prototype, "page", void 0);
|
|
336
|
+
//# sourceMappingURL=Query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EACN,KAAK,EACL,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,OAAO,GACR,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAiB,MAAM,aAAa,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,aAAa;IAA1B;QAwBE,qBAAqB;QAGnB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACtB,CAAC;CAAA;AA/BC;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACI,IAAI;gDAAC;AAElB;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;8CAAC;AAEhB;IAAC,WAAW,EAAE;IACb,KAAK,EAAE;;gDACY;AAEpB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACmC;AAEhD;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;iDACU;AAGvB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;4CACW;AAEtB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;2CACS;AAGtB,MAAM,OAAO,oBAAoB;CAkChC;AAjCC;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;kDACI;AAEf;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACI,IAAI;uDAAC;AAElB;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;qDAAC;AAEhB;IAAC,mBAAmB,CAAC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,EAAE;IACV,UAAU,EAAE;;0DACK;AAElB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8DACS;AAEtB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACU;AAEvB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACiB;AAE9B;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oEACe;AAG5B;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACY;AAEzB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACY;AAEzB;IAAC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;8BACY,KAAK;wEAAS;AAEvC;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACG;AAEhB;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6DACS;AAEtB;IAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACxC,QAAQ,EAAE;IACV,UAAU,EAAE;;2DAQF;AAEX;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;8DACU;AAGvB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;yDACW;AAEtB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;wDACS","sourcesContent":["import {\n IsBoolean,\n IsDate,\n IsInt,\n IsNumber,\n IsOptional,\n IsString,\n IsArray,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional, QueryPaginate } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevision {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n orderBy?: 'designation' | 'amount' | 'number';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}\n\nexport class QueryRevisionAccount implements QueryPaginate {\n @ApiProperty({ default: 1 })\n @IsNumber()\n page: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional({ default: 25 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional({ default: 'date' })\n @IsString()\n @IsOptional()\n orderBy?: 'date' | 'designation' | 'idAccount' | 'debit' | 'credit';\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n isRevised?: boolean;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n}\n\nexport class QueryRevisionApprobation {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n approvedBySupervisor: boolean;\n}\n\nexport class QueryRevisionAccountComment {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment: string | null;\n}\n\nexport class QueryRevisionMergeIntoAccount {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n @IsInt({ each:true })\n idAccounts?: Array<number>;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n @IsInt({ each:true })\n idAccountingEntries?: Array<number>;\n}\n\nexport class QueryRevisionPaginate {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n orderBy?: 'designation' | 'amount' | 'number';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}\n\nexport class QueryRevisionSearchEntries {\n // Mandatory\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n // Optional\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n difference?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n designation?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n startAccountNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n endAccountNumber?: string;\n\n // advanced search\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n minimumAmount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n maximumAmount?: number;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idsAccountingJournal?: Array<number>;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isRevised?: boolean;\n\n @ApiPropertyOptional({ default: 'date' })\n @IsString()\n @IsOptional()\n orderBy?:\n | 'date'\n | 'accountNumber'\n | 'amount'\n | 'designation'\n | 'vatRate'\n | 'debit'\n | 'credit';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}\n"]}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { IAccountDetail, IAccountingFile, IAccountingJournal, ILettering, IUser } from '../../..';
|
|
2
|
+
import { IFile } from '../../..';
|
|
3
|
+
import { ThirdParty } from '../../../../api/resources/ThirdParty';
|
|
4
|
+
export interface ReadRevision {
|
|
5
|
+
balance: number;
|
|
6
|
+
balanceDebit: number;
|
|
7
|
+
balanceCredit: number;
|
|
8
|
+
account: {
|
|
9
|
+
id: number;
|
|
10
|
+
name: string | null;
|
|
11
|
+
number: number | null;
|
|
12
|
+
accountDetails: Array<IAccountDetail>;
|
|
13
|
+
};
|
|
14
|
+
unlocked: number | null;
|
|
15
|
+
locked: number | null;
|
|
16
|
+
previousBalance: number;
|
|
17
|
+
nextBalance: number;
|
|
18
|
+
}
|
|
19
|
+
export interface ReadRevisionAccount {
|
|
20
|
+
id: number;
|
|
21
|
+
master: boolean;
|
|
22
|
+
dateValue: Date;
|
|
23
|
+
designation: string | null;
|
|
24
|
+
comment: string | null;
|
|
25
|
+
debit: number;
|
|
26
|
+
credit: number;
|
|
27
|
+
isPerso: boolean;
|
|
28
|
+
autoAnnotate: boolean;
|
|
29
|
+
idInherit: number | null;
|
|
30
|
+
idAccount: number;
|
|
31
|
+
idThirdParty: number;
|
|
32
|
+
idAccountingTransaction: number;
|
|
33
|
+
idVat: number | null;
|
|
34
|
+
idImmobilization: number | null;
|
|
35
|
+
idLettering?: number | null;
|
|
36
|
+
lettering?: ILettering;
|
|
37
|
+
createdAt: Date;
|
|
38
|
+
updatedAt: Date;
|
|
39
|
+
accountingTransaction: {
|
|
40
|
+
id: number;
|
|
41
|
+
idBankAccount: number;
|
|
42
|
+
dateLocked: Date | null;
|
|
43
|
+
dateVerified: Date | null;
|
|
44
|
+
idUser: number | null;
|
|
45
|
+
exported: Date | null;
|
|
46
|
+
idAccountingJournal: number;
|
|
47
|
+
accountingFiles: Array<IAccountingFile>;
|
|
48
|
+
accountingJournal: IAccountingJournal;
|
|
49
|
+
user: IUser;
|
|
50
|
+
};
|
|
51
|
+
accountDetails: IAccountDetail[];
|
|
52
|
+
thirdParty: {
|
|
53
|
+
id: number;
|
|
54
|
+
fullname: string;
|
|
55
|
+
} | null;
|
|
56
|
+
calculatedVat?: number[];
|
|
57
|
+
balance: number | null;
|
|
58
|
+
balanceCredit: number | null;
|
|
59
|
+
balanceDebit: number | null;
|
|
60
|
+
}
|
|
61
|
+
export interface ReadRevisionMergeIntoAccount {
|
|
62
|
+
updated: number;
|
|
63
|
+
}
|
|
64
|
+
export interface ReadRevisionTransactionDetail {
|
|
65
|
+
id: number;
|
|
66
|
+
invoiceNumber: string | null;
|
|
67
|
+
label: string | null;
|
|
68
|
+
reference: string | null;
|
|
69
|
+
dateValue: Date;
|
|
70
|
+
dateLocked: Date | null;
|
|
71
|
+
dateVerified: Date | null;
|
|
72
|
+
originalValue: number | null;
|
|
73
|
+
idUser: number | null;
|
|
74
|
+
isBlocked: boolean;
|
|
75
|
+
isMerged: boolean;
|
|
76
|
+
isAsset: boolean;
|
|
77
|
+
exported: Date | null;
|
|
78
|
+
kilometers: number | null;
|
|
79
|
+
internComment: string | null;
|
|
80
|
+
invoiceRequested: boolean;
|
|
81
|
+
idBankAccount: number | null;
|
|
82
|
+
idSociety: number;
|
|
83
|
+
idCurrency?: number | null;
|
|
84
|
+
idSocietyVehicle: number | null;
|
|
85
|
+
idSocietyPartner: number | null;
|
|
86
|
+
idRule: number | null;
|
|
87
|
+
idAccountingJournal: number;
|
|
88
|
+
idEstimateInvoice: number | null;
|
|
89
|
+
idEAF: number | null;
|
|
90
|
+
file: IFile[] | null;
|
|
91
|
+
accountingEntries: RevisionAccountingEntries[];
|
|
92
|
+
user?: {
|
|
93
|
+
firstname: string;
|
|
94
|
+
lastname: string;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
export interface RevisionAccountingEntries {
|
|
98
|
+
id: number;
|
|
99
|
+
master: boolean;
|
|
100
|
+
dateValue: Date;
|
|
101
|
+
designation: string;
|
|
102
|
+
comment: string | null;
|
|
103
|
+
debit: number;
|
|
104
|
+
credit: number;
|
|
105
|
+
isPerso: boolean;
|
|
106
|
+
idInherit: number | null;
|
|
107
|
+
idAccount: number | null;
|
|
108
|
+
idThirdParty: number | null;
|
|
109
|
+
idVat: number | null;
|
|
110
|
+
idImmobilization?: number | null;
|
|
111
|
+
account: RevisionAccount;
|
|
112
|
+
thirdParty?: ThirdParty;
|
|
113
|
+
}
|
|
114
|
+
export interface RevisionAccount {
|
|
115
|
+
id: number;
|
|
116
|
+
number: number;
|
|
117
|
+
name: string;
|
|
118
|
+
idParentAccount: number | null;
|
|
119
|
+
idVat: number | null;
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=Read.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/Read.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,eAAe,EAAE,kBAAkB,EAAE,UAAU,EAAE,KAAK,EACvD,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAElE,MAAM,WAAW,YAAY;IAC3B,OAAO,EA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EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/Read.ts"],"names":[],"mappings":"","sourcesContent":["import {\n IAccountDetail,\n IAccountingFile, IAccountingJournal, ILettering, IUser,\n} from '../../..';\nimport { IFile } from '../../..';\nimport { ThirdParty } from '../../../../api/resources/ThirdParty';\n\nexport interface ReadRevision {\n balance: number;\n balanceDebit: number;\n balanceCredit: number;\n account: {\n id: number,\n name: string | null,\n number: number | null,\n accountDetails: Array<IAccountDetail>\n },\n unlocked: number | null;\n locked: number | null;\n previousBalance: number;\n nextBalance: number;\n}\n\nexport interface ReadRevisionAccount {\n id: number;\n master: boolean;\n dateValue: Date;\n designation: string | null;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n autoAnnotate: boolean;\n idInherit: number | null;\n idAccount: number;\n idThirdParty: number;\n idAccountingTransaction: number;\n idVat: number | null;\n idImmobilization: number | null;\n idLettering?: number | null;\n lettering?: ILettering;\n createdAt: Date;\n updatedAt: Date;\n accountingTransaction: {\n id: number;\n idBankAccount: number,\n dateLocked: Date | null;\n dateVerified: Date | null;\n idUser: number | null;\n exported: Date | null;\n idAccountingJournal: number;\n accountingFiles: Array<IAccountingFile>;\n accountingJournal: IAccountingJournal;\n user: IUser;\n },\n accountDetails: IAccountDetail[],\n thirdParty: { id: number, fullname: string } | null,\n calculatedVat?: number[];\n balance: number | null;\n balanceCredit: number | null;\n balanceDebit: number | null;\n}\n\nexport interface ReadRevisionMergeIntoAccount {\n updated: number;\n}\n\nexport interface ReadRevisionTransactionDetail {\n id: number;\n invoiceNumber: string | null;\n label: string | null;\n reference: string | null;\n dateValue: Date;\n dateLocked: Date | null;\n dateVerified: Date | null;\n originalValue: number | null;\n idUser: number | null;\n isBlocked: boolean;\n isMerged: boolean;\n isAsset: boolean;\n exported: Date | null;\n kilometers: number | null;\n internComment: string | null;\n invoiceRequested: boolean;\n idBankAccount: number | null;\n idSociety: number;\n idCurrency?: number | null;\n idSocietyVehicle: number | null;\n idSocietyPartner: number | null;\n idRule: number | null;\n idAccountingJournal: number;\n idEstimateInvoice: number | null;\n idEAF: number | null;\n file: IFile[] | null;\n accountingEntries: RevisionAccountingEntries[];\n user?: { firstname: string; lastname: string; };\n}\n\nexport interface RevisionAccountingEntries {\n id: number;\n master: boolean;\n dateValue: Date;\n designation: string;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idVat: number | null;\n idImmobilization?: number | null;\n account: RevisionAccount;\n thirdParty?: ThirdParty;\n}\n\nexport interface RevisionAccount {\n id: number;\n number: number;\n name: string;\n idParentAccount: number | null;\n idVat: number | null;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Revision.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/Revision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,WAAW,QAAS,SAAQ,gBAAgB;IAChD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Revision.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/Revision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,WAAW,QAAS,SAAQ,gBAAgB;IAChD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Revision.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/Revision.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingEntry } from '../../models/IAccountingEntry';\n\nexport interface Revision extends IAccountingEntry {\n balance?: number | null;\n}"]}
|
|
1
|
+
{"version":3,"file":"Revision.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/Revision.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingEntry } from '../../models/IAccountingEntry';\n\nexport interface Revision extends IAccountingEntry {\n balance?: number | null;\n balanceCredit?: number | null;\n balanceDebit?: number | null;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryArchived.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/QueryArchived.ts"],"names":[],"mappings":"AAGA,qBAAa,oBAAoB;IAI7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -7,35 +7,38 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
export class
|
|
10
|
+
import { IsNumber, IsOptional, IsString } from 'class-validator';
|
|
11
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
export class QueryArchivedSociety {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
ApiProperty(),
|
|
21
|
-
IsDate(),
|
|
22
|
-
__metadata("design:type", Date)
|
|
23
|
-
], QueryRevisionMergeIntoAccount.prototype, "endDate", void 0);
|
|
15
|
+
ApiPropertyOptional(),
|
|
16
|
+
IsOptional(),
|
|
17
|
+
IsString(),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], QueryArchivedSociety.prototype, "search", void 0);
|
|
24
20
|
__decorate([
|
|
25
|
-
|
|
21
|
+
ApiPropertyOptional(),
|
|
22
|
+
IsOptional(),
|
|
26
23
|
IsNumber(),
|
|
27
24
|
__metadata("design:type", Number)
|
|
28
|
-
],
|
|
25
|
+
], QueryArchivedSociety.prototype, "idCommercial", void 0);
|
|
29
26
|
__decorate([
|
|
30
27
|
ApiPropertyOptional(),
|
|
31
|
-
IsArray(),
|
|
32
28
|
IsOptional(),
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
IsNumber(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], QueryArchivedSociety.prototype, "idArchiver", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
ApiPropertyOptional({ default: 25 }),
|
|
34
|
+
IsOptional(),
|
|
35
|
+
IsNumber(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], QueryArchivedSociety.prototype, "limit", void 0);
|
|
35
38
|
__decorate([
|
|
36
|
-
ApiPropertyOptional(),
|
|
37
|
-
IsArray(),
|
|
39
|
+
ApiPropertyOptional({ default: 1 }),
|
|
38
40
|
IsOptional(),
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
IsNumber(),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], QueryArchivedSociety.prototype, "page", void 0);
|
|
44
|
+
//# sourceMappingURL=QueryArchived.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryArchived.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/QueryArchived.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,oBAAoB;CAyBhC;AAxBC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACO;AAElB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;0DACa;AAExB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;wDACW;AAEtB;IAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACM;AAEjB;IAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACnC,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACK","sourcesContent":["import { IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryArchivedSociety {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idCommercial?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idArchiver?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n \n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n}"]}
|
|
@@ -4,9 +4,12 @@ import { IUser } from './IUser';
|
|
|
4
4
|
export interface IAccountDetail {
|
|
5
5
|
id?: number;
|
|
6
6
|
comment?: string | null;
|
|
7
|
+
dateComment: Date | null;
|
|
7
8
|
isPending: boolean;
|
|
8
9
|
checkByIdAccountant: number | null;
|
|
10
|
+
dateCheckAccountant: Date | null;
|
|
9
11
|
checkByIdSupervisor: number | null;
|
|
12
|
+
dateCheckSupervisor: Date | null;
|
|
10
13
|
idAccount: number;
|
|
11
14
|
idExercice?: number;
|
|
12
15
|
idSociety: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountDetail.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,yBAAyB,CAAC,EAAE,KAAK,CAAC;IAClC,yBAAyB,CAAC,EAAE,KAAK,CAAC;CACnC"}
|
|
1
|
+
{"version":3,"file":"IAccountDetail.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,mBAAmB,EAAE,IAAI,GAAG,IAAI,CAAC;IACjC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,mBAAmB,EAAE,IAAI,GAAG,IAAI,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,yBAAyB,CAAC,EAAE,KAAK,CAAC;IAClC,yBAAyB,CAAC,EAAE,KAAK,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountDetail.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountDetail.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IAccount } from './IAccount';\nimport { IUser } from './IUser';\n\n// accountDetail\nexport interface IAccountDetail {\n id?: number;\n comment?: string | null;\n isPending: boolean;\n checkByIdAccountant: number | null;\n checkByIdSupervisor: number | null;\n idAccount: number;\n idExercice?: number;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n account?: IAccount;\n accountDetailByAccountant?: IUser;\n accountDetailBySupervisor?: IUser;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IAccountDetail.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountDetail.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IAccount } from './IAccount';\nimport { IUser } from './IUser';\n\n// accountDetail\nexport interface IAccountDetail {\n id?: number;\n comment?: string | null;\n dateComment: Date | null;\n isPending: boolean;\n checkByIdAccountant: number | null;\n dateCheckAccountant: Date | null;\n checkByIdSupervisor: number | null;\n dateCheckSupervisor: Date | null;\n idAccount: number;\n idExercice?: number;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n account?: IAccount;\n accountDetailByAccountant?: IUser;\n accountDetailBySupervisor?: IUser;\n}\n"]}
|
package/es/types/index.d.ts
CHANGED
|
@@ -619,18 +619,10 @@ export * from './Interface/api/bankStatement/QueryTransactionBankStatement';
|
|
|
619
619
|
export * from './Interface/api/ocr/OcrTypeTransactions';
|
|
620
620
|
export * from './Interface/api/bankStatement/ReadBankStatement';
|
|
621
621
|
export * from './Interface/api/tax/ReadCompanyTax';
|
|
622
|
-
export * from './Interface/api/revision/
|
|
623
|
-
export * from './Interface/api/revision/
|
|
624
|
-
export * from './Interface/api/revision/QueryRevisionPaginate';
|
|
625
|
-
export * from './Interface/api/revision/ReadRevision';
|
|
622
|
+
export * from './Interface/api/revision/Query';
|
|
623
|
+
export * from './Interface/api/revision/Read';
|
|
626
624
|
export * from './Interface/api/revision/RevisionObject';
|
|
627
625
|
export * from './Interface/api/revision/Revision';
|
|
628
|
-
export * from './Interface/api/revision/QueryRevisionAccount';
|
|
629
|
-
export * from './Interface/api/revision/ReadRevisionAccount';
|
|
630
|
-
export * from './Interface/api/revision/ReadRevisionTransactionDetail';
|
|
631
|
-
export * from './Interface/api/revision/QueryRevisionMergeIntoAccount';
|
|
632
|
-
export * from './Interface/api/revision/ReadRevisionMergeIntoAccount';
|
|
633
|
-
export * from './Interface/api/revision/QueryRevisionSearchEntries';
|
|
634
626
|
export * from './Interface/api/vatDeclaration/QueryVatDeclaration';
|
|
635
627
|
export * from './Interface/api/vatDeclaration/ReadVatVariousOperations';
|
|
636
628
|
export * from './Interface/api/vatDeclaration/ResultFormatToEntries';
|
|
@@ -944,6 +936,7 @@ export * from './Interface/api/businessSector/Delete';
|
|
|
944
936
|
export * from './Interface/api/accountsSectors/Query';
|
|
945
937
|
export * from './Interface/api/visualizedInformation/Query';
|
|
946
938
|
export * from './Interface/api/visualizedInformation/Update';
|
|
939
|
+
export * from './Interface/api/society/QueryArchived';
|
|
947
940
|
export * from './Interface/enum/Util';
|
|
948
941
|
export * from './Interface/enum/Date';
|
|
949
942
|
export * from '../utils/cerfa';
|