pos-reports 0.1.0
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/README.md +40 -0
- package/dist/index.cjs +2620 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1665 -0
- package/dist/index.d.ts +1665 -0
- package/dist/index.js +2565 -0
- package/dist/index.js.map +1 -0
- package/package.json +29 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,1665 @@
|
|
|
1
|
+
declare const REPORTS_ENTITY_QUERY: {
|
|
2
|
+
readonly CUSTOMER: "CUSTOMER";
|
|
3
|
+
readonly USER: "USER";
|
|
4
|
+
readonly CATEGORIES: "CATEGORIES";
|
|
5
|
+
readonly MONETARY_ACCOUNT: "MONETARY_ACCOUNT";
|
|
6
|
+
readonly ITEM: "ITEM";
|
|
7
|
+
readonly MONETARY_ACCOUNTS: "MONETARY_ACCOUNTS";
|
|
8
|
+
readonly USERS: "USERS";
|
|
9
|
+
readonly CUSTOMERS: "CUSTOMERS";
|
|
10
|
+
readonly ITEMS: "ITEMS";
|
|
11
|
+
readonly SPECIFICATIONS: "SPECIFICATIONS";
|
|
12
|
+
readonly BUSINESS_UNITS: "BUSINESS_UNITS";
|
|
13
|
+
readonly TCR_CODES: "TCR_CODES";
|
|
14
|
+
readonly EXT_BUSINESS_UNITS: "EXT_BUSINESS_UNITS";
|
|
15
|
+
readonly EXPENSE_ACCOUNTS: "EXPENSE_ACCOUNTS";
|
|
16
|
+
readonly PAYMENT_METHODS: "PAYMENT_METHODS";
|
|
17
|
+
};
|
|
18
|
+
declare const PAYMENT_METHODS: {
|
|
19
|
+
readonly CASH: "CASH";
|
|
20
|
+
readonly CARD: "CARD";
|
|
21
|
+
readonly BANK: "BANK";
|
|
22
|
+
readonly OTHER: "OTHER";
|
|
23
|
+
readonly COMBINED: "COMBINED";
|
|
24
|
+
readonly KIND: "KIND";
|
|
25
|
+
readonly IUTE: "IUTE";
|
|
26
|
+
readonly UPAY: "UPAY";
|
|
27
|
+
};
|
|
28
|
+
declare const EXPENSES_TYPES: {
|
|
29
|
+
readonly EXPENSE: "EXPENSE";
|
|
30
|
+
readonly PURCHASE: "PURCHASE";
|
|
31
|
+
};
|
|
32
|
+
type ReportEntityQuery = (typeof REPORTS_ENTITY_QUERY)[keyof typeof REPORTS_ENTITY_QUERY];
|
|
33
|
+
type PaymentMethod = (typeof PAYMENT_METHODS)[keyof typeof PAYMENT_METHODS];
|
|
34
|
+
type ExpensesType = (typeof EXPENSES_TYPES)[keyof typeof EXPENSES_TYPES];
|
|
35
|
+
|
|
36
|
+
type ReportEntityOption = {
|
|
37
|
+
label: string;
|
|
38
|
+
value: string;
|
|
39
|
+
};
|
|
40
|
+
type ReportEntityOptionMapper = {
|
|
41
|
+
dataPath?: readonly string[];
|
|
42
|
+
labelKeys: readonly string[];
|
|
43
|
+
valueKeys: readonly string[];
|
|
44
|
+
};
|
|
45
|
+
declare const REPORT_ENTITY_OPTION_MAPPERS: {
|
|
46
|
+
readonly CUSTOMER: {
|
|
47
|
+
readonly labelKeys: readonly ["name"];
|
|
48
|
+
readonly valueKeys: readonly ["id"];
|
|
49
|
+
};
|
|
50
|
+
readonly CUSTOMERS: {
|
|
51
|
+
readonly labelKeys: readonly ["name"];
|
|
52
|
+
readonly valueKeys: readonly ["id"];
|
|
53
|
+
};
|
|
54
|
+
readonly ITEM: {
|
|
55
|
+
readonly labelKeys: readonly ["name"];
|
|
56
|
+
readonly valueKeys: readonly ["id"];
|
|
57
|
+
};
|
|
58
|
+
readonly ITEMS: {
|
|
59
|
+
readonly labelKeys: readonly ["name"];
|
|
60
|
+
readonly valueKeys: readonly ["id"];
|
|
61
|
+
};
|
|
62
|
+
readonly CATEGORIES: {
|
|
63
|
+
readonly labelKeys: readonly ["name"];
|
|
64
|
+
readonly valueKeys: readonly ["id"];
|
|
65
|
+
};
|
|
66
|
+
readonly BUSINESS_UNITS: {
|
|
67
|
+
readonly labelKeys: readonly ["name"];
|
|
68
|
+
readonly valueKeys: readonly ["id"];
|
|
69
|
+
};
|
|
70
|
+
readonly SPECIFICATIONS: {
|
|
71
|
+
readonly labelKeys: readonly ["name"];
|
|
72
|
+
readonly valueKeys: readonly ["id"];
|
|
73
|
+
};
|
|
74
|
+
readonly EXPENSE_ACCOUNTS: {
|
|
75
|
+
readonly labelKeys: readonly ["name"];
|
|
76
|
+
readonly valueKeys: readonly ["id"];
|
|
77
|
+
};
|
|
78
|
+
readonly USER: {
|
|
79
|
+
readonly labelKeys: readonly ["email"];
|
|
80
|
+
readonly valueKeys: readonly ["id"];
|
|
81
|
+
};
|
|
82
|
+
readonly USERS: {
|
|
83
|
+
readonly labelKeys: readonly ["email"];
|
|
84
|
+
readonly valueKeys: readonly ["id"];
|
|
85
|
+
};
|
|
86
|
+
readonly MONETARY_ACCOUNT: {
|
|
87
|
+
readonly dataPath: readonly ["data", "accounts"];
|
|
88
|
+
readonly labelKeys: readonly ["description"];
|
|
89
|
+
readonly valueKeys: readonly ["id"];
|
|
90
|
+
};
|
|
91
|
+
readonly MONETARY_ACCOUNTS: {
|
|
92
|
+
readonly dataPath: readonly ["data", "accounts"];
|
|
93
|
+
readonly labelKeys: readonly ["description"];
|
|
94
|
+
readonly valueKeys: readonly ["id"];
|
|
95
|
+
};
|
|
96
|
+
readonly EXT_BUSINESS_UNITS: {
|
|
97
|
+
readonly dataPath: readonly ["data", "businessUnits"];
|
|
98
|
+
readonly labelKeys: readonly ["name"];
|
|
99
|
+
readonly valueKeys: readonly ["businessUnitCode"];
|
|
100
|
+
};
|
|
101
|
+
readonly TCR_CODES: {
|
|
102
|
+
readonly dataPath: readonly ["data", "tcr"];
|
|
103
|
+
readonly labelKeys: readonly ["tcrCode"];
|
|
104
|
+
readonly valueKeys: readonly ["tcrCode"];
|
|
105
|
+
};
|
|
106
|
+
readonly PAYMENT_METHODS: {
|
|
107
|
+
readonly labelKeys: readonly [];
|
|
108
|
+
readonly valueKeys: readonly [];
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
declare const extractReportEntityData: (queryFilter: ReportEntityQuery | undefined, response: unknown) => unknown[];
|
|
112
|
+
declare const toReportEntityOptions: (queryFilter: ReportEntityQuery | undefined, data?: unknown[]) => ReportEntityOption[];
|
|
113
|
+
|
|
114
|
+
declare const REPORT_GROUPS: {
|
|
115
|
+
readonly bankGroup: {
|
|
116
|
+
readonly label: "bankGroup";
|
|
117
|
+
};
|
|
118
|
+
readonly cashGroup: {
|
|
119
|
+
readonly label: "cashGroup";
|
|
120
|
+
};
|
|
121
|
+
readonly customersGroup: {
|
|
122
|
+
readonly label: "customersGroup";
|
|
123
|
+
};
|
|
124
|
+
readonly expensesGroup: {
|
|
125
|
+
readonly label: "expensesGroup";
|
|
126
|
+
};
|
|
127
|
+
readonly inventoryGroup: {
|
|
128
|
+
readonly label: "inventoryGroup";
|
|
129
|
+
};
|
|
130
|
+
readonly invoicesGroup: {
|
|
131
|
+
readonly label: "invoicesGroup";
|
|
132
|
+
};
|
|
133
|
+
readonly itemsGroup: {
|
|
134
|
+
readonly label: "itemsGroup";
|
|
135
|
+
};
|
|
136
|
+
readonly salesGroup: {
|
|
137
|
+
readonly label: "salesGroup";
|
|
138
|
+
};
|
|
139
|
+
readonly usersGroup: {
|
|
140
|
+
readonly label: "usersGroup";
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
type ReportGroup = keyof typeof REPORT_GROUPS;
|
|
144
|
+
|
|
145
|
+
declare const REPORT_LIST: Readonly<{
|
|
146
|
+
dailySales: {
|
|
147
|
+
name: string;
|
|
148
|
+
group: string;
|
|
149
|
+
requiredRights: string[];
|
|
150
|
+
filters: ({
|
|
151
|
+
component: "multiple-types-input";
|
|
152
|
+
name: string;
|
|
153
|
+
props: {
|
|
154
|
+
label: string;
|
|
155
|
+
type: "date";
|
|
156
|
+
loader?: undefined;
|
|
157
|
+
limit?: undefined;
|
|
158
|
+
queryFilter?: undefined;
|
|
159
|
+
};
|
|
160
|
+
} | {
|
|
161
|
+
component: "entity-loader";
|
|
162
|
+
name: string;
|
|
163
|
+
props: {
|
|
164
|
+
label: string;
|
|
165
|
+
loader: string;
|
|
166
|
+
limit: number;
|
|
167
|
+
queryFilter: "USER";
|
|
168
|
+
type?: undefined;
|
|
169
|
+
};
|
|
170
|
+
})[];
|
|
171
|
+
};
|
|
172
|
+
detailedDailySales: {
|
|
173
|
+
name: string;
|
|
174
|
+
group: string;
|
|
175
|
+
requiredRights: string[];
|
|
176
|
+
filters: ({
|
|
177
|
+
component: "multiple-types-input";
|
|
178
|
+
name: string;
|
|
179
|
+
props: {
|
|
180
|
+
label: string;
|
|
181
|
+
type: "date";
|
|
182
|
+
loader?: undefined;
|
|
183
|
+
limit?: undefined;
|
|
184
|
+
queryFilter?: undefined;
|
|
185
|
+
};
|
|
186
|
+
} | {
|
|
187
|
+
component: "entity-loader";
|
|
188
|
+
name: string;
|
|
189
|
+
props: {
|
|
190
|
+
label: string;
|
|
191
|
+
loader: string;
|
|
192
|
+
limit: number;
|
|
193
|
+
queryFilter: "USER";
|
|
194
|
+
type?: undefined;
|
|
195
|
+
};
|
|
196
|
+
})[];
|
|
197
|
+
};
|
|
198
|
+
dailyShopsSales: {
|
|
199
|
+
name: string;
|
|
200
|
+
group: string;
|
|
201
|
+
requiredRights: string[];
|
|
202
|
+
filters: {
|
|
203
|
+
component: "multiple-types-input";
|
|
204
|
+
name: string;
|
|
205
|
+
props: {
|
|
206
|
+
label: string;
|
|
207
|
+
type: "date";
|
|
208
|
+
};
|
|
209
|
+
}[];
|
|
210
|
+
};
|
|
211
|
+
salesByCategories: {
|
|
212
|
+
name: string;
|
|
213
|
+
group: string;
|
|
214
|
+
requiredRights: string[];
|
|
215
|
+
filters: ({
|
|
216
|
+
component: "multiple-types-input";
|
|
217
|
+
name: string;
|
|
218
|
+
props: {
|
|
219
|
+
label: string;
|
|
220
|
+
type: "date";
|
|
221
|
+
queryFilter?: undefined;
|
|
222
|
+
values?: undefined;
|
|
223
|
+
loader?: undefined;
|
|
224
|
+
limit?: undefined;
|
|
225
|
+
};
|
|
226
|
+
} | {
|
|
227
|
+
component: "multiple-entity-loader";
|
|
228
|
+
name: string;
|
|
229
|
+
props: {
|
|
230
|
+
label: string;
|
|
231
|
+
queryFilter: "CATEGORIES";
|
|
232
|
+
type?: undefined;
|
|
233
|
+
values?: undefined;
|
|
234
|
+
loader?: undefined;
|
|
235
|
+
limit?: undefined;
|
|
236
|
+
};
|
|
237
|
+
} | {
|
|
238
|
+
component: "multiple-entity-loader";
|
|
239
|
+
name: string;
|
|
240
|
+
props: {
|
|
241
|
+
label: string;
|
|
242
|
+
queryFilter: "BUSINESS_UNITS";
|
|
243
|
+
type?: undefined;
|
|
244
|
+
values?: undefined;
|
|
245
|
+
loader?: undefined;
|
|
246
|
+
limit?: undefined;
|
|
247
|
+
};
|
|
248
|
+
} | {
|
|
249
|
+
component: "options-input";
|
|
250
|
+
name: string;
|
|
251
|
+
props: {
|
|
252
|
+
label: string;
|
|
253
|
+
values: ({
|
|
254
|
+
id: string;
|
|
255
|
+
value: undefined;
|
|
256
|
+
} | {
|
|
257
|
+
id: string;
|
|
258
|
+
value: string;
|
|
259
|
+
})[];
|
|
260
|
+
type?: undefined;
|
|
261
|
+
queryFilter?: undefined;
|
|
262
|
+
loader?: undefined;
|
|
263
|
+
limit?: undefined;
|
|
264
|
+
};
|
|
265
|
+
} | {
|
|
266
|
+
component: "entity-loader";
|
|
267
|
+
name: string;
|
|
268
|
+
props: {
|
|
269
|
+
label: string;
|
|
270
|
+
loader: string;
|
|
271
|
+
limit: number;
|
|
272
|
+
queryFilter: "USER";
|
|
273
|
+
type?: undefined;
|
|
274
|
+
values?: undefined;
|
|
275
|
+
};
|
|
276
|
+
})[];
|
|
277
|
+
};
|
|
278
|
+
fiscalInvoices: {
|
|
279
|
+
name: string;
|
|
280
|
+
group: string;
|
|
281
|
+
requiredRights: string[];
|
|
282
|
+
filters: ({
|
|
283
|
+
component: "multiple-types-input";
|
|
284
|
+
name: string;
|
|
285
|
+
props: {
|
|
286
|
+
label: string;
|
|
287
|
+
type: "date";
|
|
288
|
+
values?: undefined;
|
|
289
|
+
queryFilter?: undefined;
|
|
290
|
+
};
|
|
291
|
+
} | {
|
|
292
|
+
component: "options-input";
|
|
293
|
+
name: string;
|
|
294
|
+
props: {
|
|
295
|
+
label: string;
|
|
296
|
+
values: ({
|
|
297
|
+
id: string;
|
|
298
|
+
value: undefined;
|
|
299
|
+
} | {
|
|
300
|
+
id: string;
|
|
301
|
+
value: string;
|
|
302
|
+
})[];
|
|
303
|
+
type?: undefined;
|
|
304
|
+
queryFilter?: undefined;
|
|
305
|
+
};
|
|
306
|
+
} | {
|
|
307
|
+
component: "multiple-entity-loader";
|
|
308
|
+
name: string;
|
|
309
|
+
props: {
|
|
310
|
+
label: string;
|
|
311
|
+
queryFilter: "CUSTOMERS";
|
|
312
|
+
type?: undefined;
|
|
313
|
+
values?: undefined;
|
|
314
|
+
};
|
|
315
|
+
} | {
|
|
316
|
+
component: "multiple-entity-loader";
|
|
317
|
+
name: string;
|
|
318
|
+
props: {
|
|
319
|
+
label: string;
|
|
320
|
+
queryFilter: "EXT_BUSINESS_UNITS";
|
|
321
|
+
type?: undefined;
|
|
322
|
+
values?: undefined;
|
|
323
|
+
};
|
|
324
|
+
} | {
|
|
325
|
+
component: "multiple-entity-loader";
|
|
326
|
+
name: string;
|
|
327
|
+
props: {
|
|
328
|
+
label: string;
|
|
329
|
+
queryFilter: "TCR_CODES";
|
|
330
|
+
type?: undefined;
|
|
331
|
+
values?: undefined;
|
|
332
|
+
};
|
|
333
|
+
})[];
|
|
334
|
+
};
|
|
335
|
+
detailedFiscalInvoices: {
|
|
336
|
+
name: string;
|
|
337
|
+
group: string;
|
|
338
|
+
requiredRights: string[];
|
|
339
|
+
filters: ({
|
|
340
|
+
component: "multiple-types-input";
|
|
341
|
+
name: string;
|
|
342
|
+
props: {
|
|
343
|
+
label: string;
|
|
344
|
+
type: "date";
|
|
345
|
+
values?: undefined;
|
|
346
|
+
queryFilter?: undefined;
|
|
347
|
+
};
|
|
348
|
+
} | {
|
|
349
|
+
component: "options-input";
|
|
350
|
+
name: string;
|
|
351
|
+
props: {
|
|
352
|
+
label: string;
|
|
353
|
+
values: ({
|
|
354
|
+
id: string;
|
|
355
|
+
value: undefined;
|
|
356
|
+
} | {
|
|
357
|
+
id: string;
|
|
358
|
+
value: string;
|
|
359
|
+
})[];
|
|
360
|
+
type?: undefined;
|
|
361
|
+
queryFilter?: undefined;
|
|
362
|
+
};
|
|
363
|
+
} | {
|
|
364
|
+
component: "multiple-entity-loader";
|
|
365
|
+
name: string;
|
|
366
|
+
props: {
|
|
367
|
+
label: string;
|
|
368
|
+
queryFilter: "CUSTOMERS";
|
|
369
|
+
type?: undefined;
|
|
370
|
+
values?: undefined;
|
|
371
|
+
};
|
|
372
|
+
} | {
|
|
373
|
+
component: "multiple-entity-loader";
|
|
374
|
+
name: string;
|
|
375
|
+
props: {
|
|
376
|
+
label: string;
|
|
377
|
+
queryFilter: "EXT_BUSINESS_UNITS";
|
|
378
|
+
type?: undefined;
|
|
379
|
+
values?: undefined;
|
|
380
|
+
};
|
|
381
|
+
} | {
|
|
382
|
+
component: "multiple-entity-loader";
|
|
383
|
+
name: string;
|
|
384
|
+
props: {
|
|
385
|
+
label: string;
|
|
386
|
+
queryFilter: "TCR_CODES";
|
|
387
|
+
type?: undefined;
|
|
388
|
+
values?: undefined;
|
|
389
|
+
};
|
|
390
|
+
})[];
|
|
391
|
+
};
|
|
392
|
+
dailySalesGrouped: {
|
|
393
|
+
name: string;
|
|
394
|
+
group: string;
|
|
395
|
+
requiredRights: string[];
|
|
396
|
+
filters: ({
|
|
397
|
+
component: "multiple-types-input";
|
|
398
|
+
name: string;
|
|
399
|
+
props: {
|
|
400
|
+
label: string;
|
|
401
|
+
type: "date";
|
|
402
|
+
values?: undefined;
|
|
403
|
+
};
|
|
404
|
+
} | {
|
|
405
|
+
component: "options-input";
|
|
406
|
+
name: string;
|
|
407
|
+
props: {
|
|
408
|
+
label: string;
|
|
409
|
+
values: ({
|
|
410
|
+
id: string;
|
|
411
|
+
value: undefined;
|
|
412
|
+
} | {
|
|
413
|
+
id: string;
|
|
414
|
+
value: string;
|
|
415
|
+
})[];
|
|
416
|
+
type?: undefined;
|
|
417
|
+
};
|
|
418
|
+
})[];
|
|
419
|
+
};
|
|
420
|
+
weeklySales: {
|
|
421
|
+
name: string;
|
|
422
|
+
group: string;
|
|
423
|
+
requiredRights: string[];
|
|
424
|
+
filters: ({
|
|
425
|
+
component: "multiple-types-input";
|
|
426
|
+
name: string;
|
|
427
|
+
props: {
|
|
428
|
+
label: string;
|
|
429
|
+
type: "date";
|
|
430
|
+
values?: undefined;
|
|
431
|
+
};
|
|
432
|
+
} | {
|
|
433
|
+
component: "options-input";
|
|
434
|
+
name: string;
|
|
435
|
+
props: {
|
|
436
|
+
label: string;
|
|
437
|
+
values: ({
|
|
438
|
+
id: string;
|
|
439
|
+
value: undefined;
|
|
440
|
+
} | {
|
|
441
|
+
id: string;
|
|
442
|
+
value: string;
|
|
443
|
+
})[];
|
|
444
|
+
type?: undefined;
|
|
445
|
+
};
|
|
446
|
+
})[];
|
|
447
|
+
};
|
|
448
|
+
monthlySales: {
|
|
449
|
+
name: string;
|
|
450
|
+
group: string;
|
|
451
|
+
requiredRights: string[];
|
|
452
|
+
filters: ({
|
|
453
|
+
component: "multiple-types-input";
|
|
454
|
+
name: string;
|
|
455
|
+
props: {
|
|
456
|
+
label: string;
|
|
457
|
+
type: "date";
|
|
458
|
+
values?: undefined;
|
|
459
|
+
};
|
|
460
|
+
} | {
|
|
461
|
+
component: "options-input";
|
|
462
|
+
name: string;
|
|
463
|
+
props: {
|
|
464
|
+
label: string;
|
|
465
|
+
values: ({
|
|
466
|
+
id: string;
|
|
467
|
+
value: undefined;
|
|
468
|
+
} | {
|
|
469
|
+
id: string;
|
|
470
|
+
value: string;
|
|
471
|
+
})[];
|
|
472
|
+
type?: undefined;
|
|
473
|
+
};
|
|
474
|
+
})[];
|
|
475
|
+
};
|
|
476
|
+
itemSalesRecap: {
|
|
477
|
+
name: string;
|
|
478
|
+
group: string;
|
|
479
|
+
requiredRights: string[];
|
|
480
|
+
filters: ({
|
|
481
|
+
component: "multiple-types-input";
|
|
482
|
+
name: string;
|
|
483
|
+
props: {
|
|
484
|
+
label: string;
|
|
485
|
+
type: "date";
|
|
486
|
+
limit?: undefined;
|
|
487
|
+
queryFilter?: undefined;
|
|
488
|
+
};
|
|
489
|
+
} | {
|
|
490
|
+
component: "multiple-entity-loader";
|
|
491
|
+
name: string;
|
|
492
|
+
props: {
|
|
493
|
+
label: string;
|
|
494
|
+
limit: number;
|
|
495
|
+
queryFilter: "ITEMS";
|
|
496
|
+
type?: undefined;
|
|
497
|
+
};
|
|
498
|
+
})[];
|
|
499
|
+
};
|
|
500
|
+
itemSalesDetailed: {
|
|
501
|
+
name: string;
|
|
502
|
+
group: string;
|
|
503
|
+
requiredRights: string[];
|
|
504
|
+
filters: ({
|
|
505
|
+
component: "multiple-types-input";
|
|
506
|
+
name: string;
|
|
507
|
+
props: {
|
|
508
|
+
label: string;
|
|
509
|
+
type: "date";
|
|
510
|
+
values?: undefined;
|
|
511
|
+
limit?: undefined;
|
|
512
|
+
queryFilter?: undefined;
|
|
513
|
+
};
|
|
514
|
+
} | {
|
|
515
|
+
component: "options-input";
|
|
516
|
+
name: string;
|
|
517
|
+
props: {
|
|
518
|
+
label: string;
|
|
519
|
+
values: ({
|
|
520
|
+
id: string;
|
|
521
|
+
value: undefined;
|
|
522
|
+
} | {
|
|
523
|
+
id: string;
|
|
524
|
+
value: string;
|
|
525
|
+
})[];
|
|
526
|
+
type?: undefined;
|
|
527
|
+
limit?: undefined;
|
|
528
|
+
queryFilter?: undefined;
|
|
529
|
+
};
|
|
530
|
+
} | {
|
|
531
|
+
component: "multiple-entity-loader";
|
|
532
|
+
name: string;
|
|
533
|
+
props: {
|
|
534
|
+
label: string;
|
|
535
|
+
limit: number;
|
|
536
|
+
queryFilter: "ITEMS";
|
|
537
|
+
type?: undefined;
|
|
538
|
+
values?: undefined;
|
|
539
|
+
};
|
|
540
|
+
} | {
|
|
541
|
+
component: "multiple-entity-loader";
|
|
542
|
+
name: string;
|
|
543
|
+
props: {
|
|
544
|
+
label: string;
|
|
545
|
+
queryFilter: "CUSTOMERS";
|
|
546
|
+
type?: undefined;
|
|
547
|
+
values?: undefined;
|
|
548
|
+
limit?: undefined;
|
|
549
|
+
};
|
|
550
|
+
} | {
|
|
551
|
+
component: "multiple-entity-loader";
|
|
552
|
+
name: string;
|
|
553
|
+
props: {
|
|
554
|
+
label: string;
|
|
555
|
+
queryFilter: "BUSINESS_UNITS";
|
|
556
|
+
type?: undefined;
|
|
557
|
+
values?: undefined;
|
|
558
|
+
limit?: undefined;
|
|
559
|
+
};
|
|
560
|
+
})[];
|
|
561
|
+
};
|
|
562
|
+
salesByCustomers: {
|
|
563
|
+
name: string;
|
|
564
|
+
group: string;
|
|
565
|
+
requiredRights: string[];
|
|
566
|
+
filters: ({
|
|
567
|
+
component: "multiple-types-input";
|
|
568
|
+
name: string;
|
|
569
|
+
props: {
|
|
570
|
+
label: string;
|
|
571
|
+
type: "date";
|
|
572
|
+
values?: undefined;
|
|
573
|
+
queryFilter?: undefined;
|
|
574
|
+
};
|
|
575
|
+
} | {
|
|
576
|
+
component: "options-input";
|
|
577
|
+
name: string;
|
|
578
|
+
props: {
|
|
579
|
+
label: string;
|
|
580
|
+
values: ({
|
|
581
|
+
id: string;
|
|
582
|
+
value: undefined;
|
|
583
|
+
} | {
|
|
584
|
+
id: string;
|
|
585
|
+
value: string;
|
|
586
|
+
})[];
|
|
587
|
+
type?: undefined;
|
|
588
|
+
queryFilter?: undefined;
|
|
589
|
+
};
|
|
590
|
+
} | {
|
|
591
|
+
component: "multiple-entity-loader";
|
|
592
|
+
name: string;
|
|
593
|
+
props: {
|
|
594
|
+
label: string;
|
|
595
|
+
queryFilter: "CUSTOMERS";
|
|
596
|
+
type?: undefined;
|
|
597
|
+
values?: undefined;
|
|
598
|
+
};
|
|
599
|
+
} | {
|
|
600
|
+
component: "multiple-entity-loader";
|
|
601
|
+
name: string;
|
|
602
|
+
props: {
|
|
603
|
+
label: string;
|
|
604
|
+
queryFilter: "BUSINESS_UNITS";
|
|
605
|
+
type?: undefined;
|
|
606
|
+
values?: undefined;
|
|
607
|
+
};
|
|
608
|
+
})[];
|
|
609
|
+
};
|
|
610
|
+
salesByCustomersDetailed: {
|
|
611
|
+
name: string;
|
|
612
|
+
group: string;
|
|
613
|
+
requiredRights: string[];
|
|
614
|
+
filters: ({
|
|
615
|
+
component: "multiple-types-input";
|
|
616
|
+
name: string;
|
|
617
|
+
props: {
|
|
618
|
+
label: string;
|
|
619
|
+
type: "date";
|
|
620
|
+
values?: undefined;
|
|
621
|
+
queryFilter?: undefined;
|
|
622
|
+
};
|
|
623
|
+
} | {
|
|
624
|
+
component: "options-input";
|
|
625
|
+
name: string;
|
|
626
|
+
props: {
|
|
627
|
+
label: string;
|
|
628
|
+
values: ({
|
|
629
|
+
id: string;
|
|
630
|
+
value: undefined;
|
|
631
|
+
} | {
|
|
632
|
+
id: string;
|
|
633
|
+
value: string;
|
|
634
|
+
})[];
|
|
635
|
+
type?: undefined;
|
|
636
|
+
queryFilter?: undefined;
|
|
637
|
+
};
|
|
638
|
+
} | {
|
|
639
|
+
component: "multiple-entity-loader";
|
|
640
|
+
name: string;
|
|
641
|
+
props: {
|
|
642
|
+
label: string;
|
|
643
|
+
queryFilter: "CUSTOMERS";
|
|
644
|
+
type?: undefined;
|
|
645
|
+
values?: undefined;
|
|
646
|
+
};
|
|
647
|
+
} | {
|
|
648
|
+
component: "multiple-entity-loader";
|
|
649
|
+
name: string;
|
|
650
|
+
props: {
|
|
651
|
+
label: string;
|
|
652
|
+
queryFilter: "BUSINESS_UNITS";
|
|
653
|
+
type?: undefined;
|
|
654
|
+
values?: undefined;
|
|
655
|
+
};
|
|
656
|
+
})[];
|
|
657
|
+
};
|
|
658
|
+
itemsWithSpecifications: {
|
|
659
|
+
name: string;
|
|
660
|
+
group: string;
|
|
661
|
+
requiredRights: string[];
|
|
662
|
+
filters: ({
|
|
663
|
+
component: "multiple-types-input";
|
|
664
|
+
name: string;
|
|
665
|
+
props: {
|
|
666
|
+
label: string;
|
|
667
|
+
type: "date";
|
|
668
|
+
loader?: undefined;
|
|
669
|
+
limit?: undefined;
|
|
670
|
+
queryFilter?: undefined;
|
|
671
|
+
};
|
|
672
|
+
} | {
|
|
673
|
+
component: "entity-loader";
|
|
674
|
+
name: string;
|
|
675
|
+
props: {
|
|
676
|
+
label: string;
|
|
677
|
+
loader: string;
|
|
678
|
+
limit: number;
|
|
679
|
+
queryFilter: "USER";
|
|
680
|
+
type?: undefined;
|
|
681
|
+
};
|
|
682
|
+
} | {
|
|
683
|
+
component: "entity-loader";
|
|
684
|
+
name: string;
|
|
685
|
+
props: {
|
|
686
|
+
label: string;
|
|
687
|
+
loader: string;
|
|
688
|
+
limit: number;
|
|
689
|
+
queryFilter: "ITEM";
|
|
690
|
+
type?: undefined;
|
|
691
|
+
};
|
|
692
|
+
} | {
|
|
693
|
+
component: "entity-loader";
|
|
694
|
+
name: string;
|
|
695
|
+
props: {
|
|
696
|
+
label: string;
|
|
697
|
+
loader: string;
|
|
698
|
+
limit: number;
|
|
699
|
+
queryFilter: "SPECIFICATIONS";
|
|
700
|
+
type?: undefined;
|
|
701
|
+
};
|
|
702
|
+
})[];
|
|
703
|
+
};
|
|
704
|
+
detailedSales: {
|
|
705
|
+
name: string;
|
|
706
|
+
group: string;
|
|
707
|
+
requiredRights: string[];
|
|
708
|
+
filters: ({
|
|
709
|
+
component: "multiple-types-input";
|
|
710
|
+
name: string;
|
|
711
|
+
props: {
|
|
712
|
+
label: string;
|
|
713
|
+
type: "date";
|
|
714
|
+
values?: undefined;
|
|
715
|
+
queryFilter?: undefined;
|
|
716
|
+
};
|
|
717
|
+
} | {
|
|
718
|
+
component: "options-input";
|
|
719
|
+
name: string;
|
|
720
|
+
props: {
|
|
721
|
+
label: string;
|
|
722
|
+
values: ({
|
|
723
|
+
id: string;
|
|
724
|
+
value: undefined;
|
|
725
|
+
} | {
|
|
726
|
+
id: string;
|
|
727
|
+
value: string;
|
|
728
|
+
})[];
|
|
729
|
+
type?: undefined;
|
|
730
|
+
queryFilter?: undefined;
|
|
731
|
+
};
|
|
732
|
+
} | {
|
|
733
|
+
component: "multiple-entity-loader";
|
|
734
|
+
name: string;
|
|
735
|
+
props: {
|
|
736
|
+
label: string;
|
|
737
|
+
queryFilter: "CUSTOMERS";
|
|
738
|
+
type?: undefined;
|
|
739
|
+
values?: undefined;
|
|
740
|
+
};
|
|
741
|
+
} | {
|
|
742
|
+
component: "multiple-entity-loader";
|
|
743
|
+
name: string;
|
|
744
|
+
props: {
|
|
745
|
+
label: string;
|
|
746
|
+
queryFilter: "BUSINESS_UNITS";
|
|
747
|
+
type?: undefined;
|
|
748
|
+
values?: undefined;
|
|
749
|
+
};
|
|
750
|
+
})[];
|
|
751
|
+
};
|
|
752
|
+
itemStockMovementSummary: {
|
|
753
|
+
name: string;
|
|
754
|
+
group: string;
|
|
755
|
+
requiredRights: string[];
|
|
756
|
+
filters: ({
|
|
757
|
+
component: "multiple-types-input";
|
|
758
|
+
name: string;
|
|
759
|
+
props: {
|
|
760
|
+
label: string;
|
|
761
|
+
type: "date";
|
|
762
|
+
limit?: undefined;
|
|
763
|
+
queryFilter?: undefined;
|
|
764
|
+
};
|
|
765
|
+
} | {
|
|
766
|
+
component: "multiple-entity-loader";
|
|
767
|
+
name: string;
|
|
768
|
+
props: {
|
|
769
|
+
label: string;
|
|
770
|
+
limit: number;
|
|
771
|
+
queryFilter: "ITEMS";
|
|
772
|
+
type?: undefined;
|
|
773
|
+
};
|
|
774
|
+
} | {
|
|
775
|
+
component: "multiple-entity-loader";
|
|
776
|
+
name: string;
|
|
777
|
+
props: {
|
|
778
|
+
label: string;
|
|
779
|
+
queryFilter: "BUSINESS_UNITS";
|
|
780
|
+
type?: undefined;
|
|
781
|
+
limit?: undefined;
|
|
782
|
+
};
|
|
783
|
+
} | {
|
|
784
|
+
component: "multiple-entity-loader";
|
|
785
|
+
name: string;
|
|
786
|
+
props: {
|
|
787
|
+
label: string;
|
|
788
|
+
queryFilter: "CATEGORIES";
|
|
789
|
+
type?: undefined;
|
|
790
|
+
limit?: undefined;
|
|
791
|
+
};
|
|
792
|
+
})[];
|
|
793
|
+
};
|
|
794
|
+
itemStockMovement: {
|
|
795
|
+
name: string;
|
|
796
|
+
group: string;
|
|
797
|
+
requiredRights: string[];
|
|
798
|
+
filters: ({
|
|
799
|
+
component: "multiple-types-input";
|
|
800
|
+
name: string;
|
|
801
|
+
props: {
|
|
802
|
+
label: string;
|
|
803
|
+
type: "date";
|
|
804
|
+
loader?: undefined;
|
|
805
|
+
limit?: undefined;
|
|
806
|
+
queryFilter?: undefined;
|
|
807
|
+
};
|
|
808
|
+
} | {
|
|
809
|
+
component: "entity-loader";
|
|
810
|
+
name: string;
|
|
811
|
+
props: {
|
|
812
|
+
label: string;
|
|
813
|
+
loader: string;
|
|
814
|
+
limit: number;
|
|
815
|
+
queryFilter: "ITEM";
|
|
816
|
+
type?: undefined;
|
|
817
|
+
};
|
|
818
|
+
})[];
|
|
819
|
+
};
|
|
820
|
+
detailedInventory: {
|
|
821
|
+
name: string;
|
|
822
|
+
group: string;
|
|
823
|
+
requiredRights: string[];
|
|
824
|
+
filters: ({
|
|
825
|
+
component: "multiple-types-input";
|
|
826
|
+
name: string;
|
|
827
|
+
props: {
|
|
828
|
+
label: string;
|
|
829
|
+
type: "date";
|
|
830
|
+
queryFilter?: undefined;
|
|
831
|
+
values?: undefined;
|
|
832
|
+
};
|
|
833
|
+
} | {
|
|
834
|
+
component: "multiple-entity-loader";
|
|
835
|
+
name: string;
|
|
836
|
+
props: {
|
|
837
|
+
label: string;
|
|
838
|
+
queryFilter: "BUSINESS_UNITS";
|
|
839
|
+
type?: undefined;
|
|
840
|
+
values?: undefined;
|
|
841
|
+
};
|
|
842
|
+
} | {
|
|
843
|
+
component: "options-input";
|
|
844
|
+
name: string;
|
|
845
|
+
props: {
|
|
846
|
+
label: string;
|
|
847
|
+
values: ({
|
|
848
|
+
id: string;
|
|
849
|
+
value: undefined;
|
|
850
|
+
} | {
|
|
851
|
+
id: string;
|
|
852
|
+
value: string;
|
|
853
|
+
})[];
|
|
854
|
+
type?: undefined;
|
|
855
|
+
queryFilter?: undefined;
|
|
856
|
+
};
|
|
857
|
+
})[];
|
|
858
|
+
};
|
|
859
|
+
stockReportForExport: {
|
|
860
|
+
name: string;
|
|
861
|
+
group: string;
|
|
862
|
+
requiredRights: string[];
|
|
863
|
+
filters: ({
|
|
864
|
+
component: "multiple-types-input";
|
|
865
|
+
name: string;
|
|
866
|
+
props: {
|
|
867
|
+
label: string;
|
|
868
|
+
type: "date";
|
|
869
|
+
queryFilter?: undefined;
|
|
870
|
+
};
|
|
871
|
+
} | {
|
|
872
|
+
component: "multiple-entity-loader";
|
|
873
|
+
name: string;
|
|
874
|
+
props: {
|
|
875
|
+
label: string;
|
|
876
|
+
queryFilter: "BUSINESS_UNITS";
|
|
877
|
+
type?: undefined;
|
|
878
|
+
};
|
|
879
|
+
})[];
|
|
880
|
+
};
|
|
881
|
+
expensesRecords: {
|
|
882
|
+
name: string;
|
|
883
|
+
group: string;
|
|
884
|
+
requiredRights: string[];
|
|
885
|
+
filters: ({
|
|
886
|
+
component: "multiple-types-input";
|
|
887
|
+
name: string;
|
|
888
|
+
props: {
|
|
889
|
+
label: string;
|
|
890
|
+
type: "date";
|
|
891
|
+
queryFilter?: undefined;
|
|
892
|
+
values?: undefined;
|
|
893
|
+
};
|
|
894
|
+
} | {
|
|
895
|
+
component: "multiple-entity-loader";
|
|
896
|
+
name: string;
|
|
897
|
+
props: {
|
|
898
|
+
label: string;
|
|
899
|
+
queryFilter: "BUSINESS_UNITS";
|
|
900
|
+
type?: undefined;
|
|
901
|
+
values?: undefined;
|
|
902
|
+
};
|
|
903
|
+
} | {
|
|
904
|
+
component: "options-input";
|
|
905
|
+
name: string;
|
|
906
|
+
props: {
|
|
907
|
+
label: string;
|
|
908
|
+
values: ({
|
|
909
|
+
id: string;
|
|
910
|
+
value: undefined;
|
|
911
|
+
} | {
|
|
912
|
+
id: string;
|
|
913
|
+
value: string;
|
|
914
|
+
})[];
|
|
915
|
+
type?: undefined;
|
|
916
|
+
queryFilter?: undefined;
|
|
917
|
+
};
|
|
918
|
+
})[];
|
|
919
|
+
};
|
|
920
|
+
detailedExpenses: {
|
|
921
|
+
name: string;
|
|
922
|
+
group: string;
|
|
923
|
+
requiredRights: string[];
|
|
924
|
+
filters: ({
|
|
925
|
+
component: "multiple-types-input";
|
|
926
|
+
name: string;
|
|
927
|
+
props: {
|
|
928
|
+
label: string;
|
|
929
|
+
type: "date";
|
|
930
|
+
queryFilter?: undefined;
|
|
931
|
+
values?: undefined;
|
|
932
|
+
};
|
|
933
|
+
} | {
|
|
934
|
+
component: "multiple-entity-loader";
|
|
935
|
+
name: string;
|
|
936
|
+
props: {
|
|
937
|
+
label: string;
|
|
938
|
+
queryFilter: "BUSINESS_UNITS";
|
|
939
|
+
type?: undefined;
|
|
940
|
+
values?: undefined;
|
|
941
|
+
};
|
|
942
|
+
} | {
|
|
943
|
+
component: "options-input";
|
|
944
|
+
name: string;
|
|
945
|
+
props: {
|
|
946
|
+
label: string;
|
|
947
|
+
values: ({
|
|
948
|
+
id: string;
|
|
949
|
+
value: undefined;
|
|
950
|
+
} | {
|
|
951
|
+
id: string;
|
|
952
|
+
value: string;
|
|
953
|
+
})[];
|
|
954
|
+
type?: undefined;
|
|
955
|
+
queryFilter?: undefined;
|
|
956
|
+
};
|
|
957
|
+
} | {
|
|
958
|
+
component: "multiple-entity-loader";
|
|
959
|
+
name: string;
|
|
960
|
+
props: {
|
|
961
|
+
label: string;
|
|
962
|
+
queryFilter: "ITEMS";
|
|
963
|
+
type?: undefined;
|
|
964
|
+
values?: undefined;
|
|
965
|
+
};
|
|
966
|
+
} | {
|
|
967
|
+
component: "multiple-entity-loader";
|
|
968
|
+
name: string;
|
|
969
|
+
props: {
|
|
970
|
+
label: string;
|
|
971
|
+
queryFilter: "EXPENSE_ACCOUNTS";
|
|
972
|
+
type?: undefined;
|
|
973
|
+
values?: undefined;
|
|
974
|
+
};
|
|
975
|
+
})[];
|
|
976
|
+
};
|
|
977
|
+
paymentRecords: {
|
|
978
|
+
name: string;
|
|
979
|
+
group: string;
|
|
980
|
+
requiredRights: string[];
|
|
981
|
+
filters: ({
|
|
982
|
+
component: "multiple-types-input";
|
|
983
|
+
name: string;
|
|
984
|
+
props: {
|
|
985
|
+
label: string;
|
|
986
|
+
type: "date";
|
|
987
|
+
values?: undefined;
|
|
988
|
+
queryFilter?: undefined;
|
|
989
|
+
};
|
|
990
|
+
} | {
|
|
991
|
+
component: "options-input";
|
|
992
|
+
name: string;
|
|
993
|
+
props: {
|
|
994
|
+
label: string;
|
|
995
|
+
values: ({
|
|
996
|
+
id: string;
|
|
997
|
+
value: undefined;
|
|
998
|
+
} | {
|
|
999
|
+
id: string;
|
|
1000
|
+
value: string;
|
|
1001
|
+
})[];
|
|
1002
|
+
type?: undefined;
|
|
1003
|
+
queryFilter?: undefined;
|
|
1004
|
+
};
|
|
1005
|
+
} | {
|
|
1006
|
+
component: "multiple-entity-loader";
|
|
1007
|
+
name: string;
|
|
1008
|
+
props: {
|
|
1009
|
+
label: string;
|
|
1010
|
+
queryFilter: "CUSTOMERS";
|
|
1011
|
+
type?: undefined;
|
|
1012
|
+
values?: undefined;
|
|
1013
|
+
};
|
|
1014
|
+
} | {
|
|
1015
|
+
component: "multiple-entity-loader";
|
|
1016
|
+
name: string;
|
|
1017
|
+
props: {
|
|
1018
|
+
label: string;
|
|
1019
|
+
queryFilter: "BUSINESS_UNITS";
|
|
1020
|
+
type?: undefined;
|
|
1021
|
+
values?: undefined;
|
|
1022
|
+
};
|
|
1023
|
+
})[];
|
|
1024
|
+
};
|
|
1025
|
+
paymentRecordsDetailed: {
|
|
1026
|
+
name: string;
|
|
1027
|
+
group: string;
|
|
1028
|
+
requiredRights: string[];
|
|
1029
|
+
filters: ({
|
|
1030
|
+
component: "multiple-types-input";
|
|
1031
|
+
name: string;
|
|
1032
|
+
props: {
|
|
1033
|
+
label: string;
|
|
1034
|
+
type: "date";
|
|
1035
|
+
queryFilter?: undefined;
|
|
1036
|
+
};
|
|
1037
|
+
} | {
|
|
1038
|
+
component: "multiple-types-input";
|
|
1039
|
+
name: string;
|
|
1040
|
+
props: {
|
|
1041
|
+
label: string;
|
|
1042
|
+
type: "text";
|
|
1043
|
+
queryFilter?: undefined;
|
|
1044
|
+
};
|
|
1045
|
+
} | {
|
|
1046
|
+
component: "multiple-entity-loader";
|
|
1047
|
+
name: string;
|
|
1048
|
+
props: {
|
|
1049
|
+
label: string;
|
|
1050
|
+
queryFilter: "CUSTOMERS";
|
|
1051
|
+
type?: undefined;
|
|
1052
|
+
};
|
|
1053
|
+
} | {
|
|
1054
|
+
component: "multiple-entity-loader";
|
|
1055
|
+
name: string;
|
|
1056
|
+
props: {
|
|
1057
|
+
label: string;
|
|
1058
|
+
queryFilter: "BUSINESS_UNITS";
|
|
1059
|
+
type?: undefined;
|
|
1060
|
+
};
|
|
1061
|
+
})[];
|
|
1062
|
+
};
|
|
1063
|
+
cashRecords: {
|
|
1064
|
+
name: string;
|
|
1065
|
+
group: string;
|
|
1066
|
+
requiredRights: string[];
|
|
1067
|
+
filters: ({
|
|
1068
|
+
component: "multiple-types-input";
|
|
1069
|
+
name: string;
|
|
1070
|
+
props: {
|
|
1071
|
+
label: string;
|
|
1072
|
+
type: "date";
|
|
1073
|
+
values?: undefined;
|
|
1074
|
+
queryFilter?: undefined;
|
|
1075
|
+
};
|
|
1076
|
+
} | {
|
|
1077
|
+
component: "options-input";
|
|
1078
|
+
name: string;
|
|
1079
|
+
props: {
|
|
1080
|
+
label: string;
|
|
1081
|
+
values: ({
|
|
1082
|
+
id: string;
|
|
1083
|
+
value: undefined;
|
|
1084
|
+
} | {
|
|
1085
|
+
id: string;
|
|
1086
|
+
value: string;
|
|
1087
|
+
})[];
|
|
1088
|
+
type?: undefined;
|
|
1089
|
+
queryFilter?: undefined;
|
|
1090
|
+
};
|
|
1091
|
+
} | {
|
|
1092
|
+
component: "multiple-entity-loader";
|
|
1093
|
+
name: string;
|
|
1094
|
+
props: {
|
|
1095
|
+
label: string;
|
|
1096
|
+
queryFilter: "BUSINESS_UNITS";
|
|
1097
|
+
type?: undefined;
|
|
1098
|
+
values?: undefined;
|
|
1099
|
+
};
|
|
1100
|
+
})[];
|
|
1101
|
+
};
|
|
1102
|
+
bankRecords: {
|
|
1103
|
+
name: string;
|
|
1104
|
+
group: string;
|
|
1105
|
+
requiredRights: string[];
|
|
1106
|
+
filters: ({
|
|
1107
|
+
component: "multiple-types-input";
|
|
1108
|
+
name: string;
|
|
1109
|
+
props: {
|
|
1110
|
+
label: string;
|
|
1111
|
+
type: "date";
|
|
1112
|
+
limit?: undefined;
|
|
1113
|
+
queryFilter?: undefined;
|
|
1114
|
+
values?: undefined;
|
|
1115
|
+
};
|
|
1116
|
+
} | {
|
|
1117
|
+
component: "entity-loader";
|
|
1118
|
+
name: string;
|
|
1119
|
+
props: {
|
|
1120
|
+
label: string;
|
|
1121
|
+
limit: number;
|
|
1122
|
+
queryFilter: "MONETARY_ACCOUNTS";
|
|
1123
|
+
type?: undefined;
|
|
1124
|
+
values?: undefined;
|
|
1125
|
+
};
|
|
1126
|
+
} | {
|
|
1127
|
+
component: "options-input";
|
|
1128
|
+
name: string;
|
|
1129
|
+
props: {
|
|
1130
|
+
label: string;
|
|
1131
|
+
values: ({
|
|
1132
|
+
id: string;
|
|
1133
|
+
value: undefined;
|
|
1134
|
+
} | {
|
|
1135
|
+
id: string;
|
|
1136
|
+
value: string;
|
|
1137
|
+
})[];
|
|
1138
|
+
type?: undefined;
|
|
1139
|
+
limit?: undefined;
|
|
1140
|
+
queryFilter?: undefined;
|
|
1141
|
+
};
|
|
1142
|
+
})[];
|
|
1143
|
+
};
|
|
1144
|
+
detailedSalesByUser: {
|
|
1145
|
+
name: string;
|
|
1146
|
+
group: string;
|
|
1147
|
+
requiredRights: string[];
|
|
1148
|
+
filters: ({
|
|
1149
|
+
component: "multiple-types-input";
|
|
1150
|
+
name: string;
|
|
1151
|
+
props: {
|
|
1152
|
+
label: string;
|
|
1153
|
+
type: "date";
|
|
1154
|
+
values?: undefined;
|
|
1155
|
+
limit?: undefined;
|
|
1156
|
+
queryFilter?: undefined;
|
|
1157
|
+
};
|
|
1158
|
+
} | {
|
|
1159
|
+
component: "options-input";
|
|
1160
|
+
name: string;
|
|
1161
|
+
props: {
|
|
1162
|
+
label: string;
|
|
1163
|
+
values: ({
|
|
1164
|
+
id: string;
|
|
1165
|
+
value: undefined;
|
|
1166
|
+
} | {
|
|
1167
|
+
id: string;
|
|
1168
|
+
value: string;
|
|
1169
|
+
})[];
|
|
1170
|
+
type?: undefined;
|
|
1171
|
+
limit?: undefined;
|
|
1172
|
+
queryFilter?: undefined;
|
|
1173
|
+
};
|
|
1174
|
+
} | {
|
|
1175
|
+
component: "entity-loader";
|
|
1176
|
+
name: string;
|
|
1177
|
+
props: {
|
|
1178
|
+
label: string;
|
|
1179
|
+
limit: number;
|
|
1180
|
+
queryFilter: "USER";
|
|
1181
|
+
type?: undefined;
|
|
1182
|
+
values?: undefined;
|
|
1183
|
+
};
|
|
1184
|
+
})[];
|
|
1185
|
+
};
|
|
1186
|
+
currentUserDailySales: {
|
|
1187
|
+
name: string;
|
|
1188
|
+
group: string;
|
|
1189
|
+
requiredRights: string[];
|
|
1190
|
+
filters: {
|
|
1191
|
+
component: "multiple-types-input";
|
|
1192
|
+
name: string;
|
|
1193
|
+
props: {
|
|
1194
|
+
label: string;
|
|
1195
|
+
type: "date";
|
|
1196
|
+
};
|
|
1197
|
+
}[];
|
|
1198
|
+
};
|
|
1199
|
+
clientDebt: {
|
|
1200
|
+
name: string;
|
|
1201
|
+
group: string;
|
|
1202
|
+
requiredRights: string[];
|
|
1203
|
+
filters: ({
|
|
1204
|
+
component: "multiple-types-input";
|
|
1205
|
+
name: string;
|
|
1206
|
+
props: {
|
|
1207
|
+
label: string;
|
|
1208
|
+
type: "date";
|
|
1209
|
+
loader?: undefined;
|
|
1210
|
+
limit?: undefined;
|
|
1211
|
+
queryFilter?: undefined;
|
|
1212
|
+
};
|
|
1213
|
+
} | {
|
|
1214
|
+
component: "entity-loader";
|
|
1215
|
+
name: string;
|
|
1216
|
+
props: {
|
|
1217
|
+
label: string;
|
|
1218
|
+
loader: string;
|
|
1219
|
+
limit: number;
|
|
1220
|
+
queryFilter: "CUSTOMER";
|
|
1221
|
+
type?: undefined;
|
|
1222
|
+
};
|
|
1223
|
+
})[];
|
|
1224
|
+
};
|
|
1225
|
+
salesByPaymentMethod: {
|
|
1226
|
+
name: string;
|
|
1227
|
+
group: string;
|
|
1228
|
+
requiredRights: string[];
|
|
1229
|
+
filters: ({
|
|
1230
|
+
component: "multiple-types-input";
|
|
1231
|
+
name: string;
|
|
1232
|
+
props: {
|
|
1233
|
+
label: string;
|
|
1234
|
+
type: "date";
|
|
1235
|
+
values?: undefined;
|
|
1236
|
+
};
|
|
1237
|
+
} | {
|
|
1238
|
+
component: "options-input";
|
|
1239
|
+
name: string;
|
|
1240
|
+
props: {
|
|
1241
|
+
label: string;
|
|
1242
|
+
values: ({
|
|
1243
|
+
id: string;
|
|
1244
|
+
value: undefined;
|
|
1245
|
+
} | {
|
|
1246
|
+
id: string;
|
|
1247
|
+
value: string;
|
|
1248
|
+
})[];
|
|
1249
|
+
type?: undefined;
|
|
1250
|
+
};
|
|
1251
|
+
})[];
|
|
1252
|
+
};
|
|
1253
|
+
}>;
|
|
1254
|
+
|
|
1255
|
+
type ReportFilterComponent = "multiple-types-input" | "entity-loader" | "multiple-entity-loader" | "options-input";
|
|
1256
|
+
type ReportOption = {
|
|
1257
|
+
id: string;
|
|
1258
|
+
value?: string;
|
|
1259
|
+
};
|
|
1260
|
+
type ReportFilter = {
|
|
1261
|
+
component: ReportFilterComponent;
|
|
1262
|
+
name: string;
|
|
1263
|
+
props?: {
|
|
1264
|
+
label?: string;
|
|
1265
|
+
loader?: string;
|
|
1266
|
+
limit?: number;
|
|
1267
|
+
queryFilter?: ReportEntityQuery;
|
|
1268
|
+
type?: "text" | "number" | "date";
|
|
1269
|
+
values?: ReportOption[];
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
type ReportConfig = {
|
|
1273
|
+
filters?: ReportFilter[];
|
|
1274
|
+
group: string;
|
|
1275
|
+
name: string;
|
|
1276
|
+
requiredRights: string[];
|
|
1277
|
+
};
|
|
1278
|
+
type ReportFilters = Record<string, string | number | undefined>;
|
|
1279
|
+
type ReportFilterInputValues = Record<string, string | number | string[] | null | undefined>;
|
|
1280
|
+
type ReportEntry<TReportId extends string = string> = {
|
|
1281
|
+
config: ReportConfig;
|
|
1282
|
+
id: TReportId;
|
|
1283
|
+
};
|
|
1284
|
+
type ReportMessageInput<TReportId extends string = string> = {
|
|
1285
|
+
authToken: string;
|
|
1286
|
+
filters?: ReportFilters;
|
|
1287
|
+
isAdmin?: boolean;
|
|
1288
|
+
language: string;
|
|
1289
|
+
reportId: TReportId;
|
|
1290
|
+
shopId: string;
|
|
1291
|
+
userId?: string;
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
type ReportId = keyof typeof REPORT_LIST;
|
|
1295
|
+
declare const reportEntries: ReportEntry<ReportId>[];
|
|
1296
|
+
declare const REPORT_RIGHTS: string[];
|
|
1297
|
+
declare const REPORTS_GROUPED_RIGHTS: Readonly<Record<"dailySales" | "detailedDailySales" | "dailyShopsSales" | "salesByCategories" | "fiscalInvoices" | "detailedFiscalInvoices" | "dailySalesGrouped" | "weeklySales" | "monthlySales" | "itemSalesRecap" | "itemSalesDetailed" | "salesByCustomers" | "salesByCustomersDetailed" | "itemsWithSpecifications" | "detailedSales" | "itemStockMovementSummary" | "itemStockMovement" | "detailedInventory" | "stockReportForExport" | "expensesRecords" | "detailedExpenses" | "paymentRecords" | "paymentRecordsDetailed" | "cashRecords" | "bankRecords" | "detailedSalesByUser" | "currentUserDailySales" | "clientDebt" | "salesByPaymentMethod", string[]>>;
|
|
1298
|
+
declare const groupedReportEntries: Record<string, ReportEntry<"dailySales" | "detailedDailySales" | "dailyShopsSales" | "salesByCategories" | "fiscalInvoices" | "detailedFiscalInvoices" | "dailySalesGrouped" | "weeklySales" | "monthlySales" | "itemSalesRecap" | "itemSalesDetailed" | "salesByCustomers" | "salesByCustomersDetailed" | "itemsWithSpecifications" | "detailedSales" | "itemStockMovementSummary" | "itemStockMovement" | "detailedInventory" | "stockReportForExport" | "expensesRecords" | "detailedExpenses" | "paymentRecords" | "paymentRecordsDetailed" | "cashRecords" | "bankRecords" | "detailedSalesByUser" | "currentUserDailySales" | "clientDebt" | "salesByPaymentMethod">[]>;
|
|
1299
|
+
declare const reportRequiresCurrentUser: (reportId: string) => boolean;
|
|
1300
|
+
declare const compactReportFilters: (filters?: ReportFilters) => ReportFilters;
|
|
1301
|
+
declare const reportFiltersToInputValues: (report: ReportConfig | undefined, filters?: ReportFilters) => ReportFilterInputValues;
|
|
1302
|
+
declare const inputValuesToReportFilters: (report: ReportConfig | undefined, values?: ReportFilterInputValues) => ReportFilters;
|
|
1303
|
+
declare const scopeReportFiltersForUser: (filters: ReportFilters | undefined, { isAdmin, userId, }: {
|
|
1304
|
+
isAdmin?: boolean;
|
|
1305
|
+
userId?: string;
|
|
1306
|
+
}) => ReportFilters;
|
|
1307
|
+
declare const buildReportMessage: <TReportId extends string>({ authToken, filters, language, reportId, shopId, userId, }: ReportMessageInput<TReportId>) => {
|
|
1308
|
+
readonly type: "FILTER";
|
|
1309
|
+
readonly message: ReportFilters & {
|
|
1310
|
+
authToken: string;
|
|
1311
|
+
language: string;
|
|
1312
|
+
reportId: TReportId;
|
|
1313
|
+
shopId: string;
|
|
1314
|
+
userId?: string;
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
declare const getReportConfig: (reportId: string) => ReportConfig | undefined;
|
|
1318
|
+
|
|
1319
|
+
type StimulsoftExportData = string | number[] | Record<string, number> | Uint8Array;
|
|
1320
|
+
type StimulsoftExportFormatName = "Pdf" | "Excel2007" | "Word2007" | "Html" | "Html5" | "Document" | "Text" | "Csv" | "ImageSvg" | "Ppt2007" | "Odt" | "Ods" | string;
|
|
1321
|
+
type StimulsoftExportInput = {
|
|
1322
|
+
action?: unknown;
|
|
1323
|
+
async?: boolean;
|
|
1324
|
+
data: StimulsoftExportData;
|
|
1325
|
+
event?: string;
|
|
1326
|
+
fileName?: string;
|
|
1327
|
+
format?: unknown;
|
|
1328
|
+
formatName?: StimulsoftExportFormatName;
|
|
1329
|
+
mimeType?: string;
|
|
1330
|
+
openAfterExport?: boolean;
|
|
1331
|
+
};
|
|
1332
|
+
declare const STIMULSOFT_EXPORT_MIME_BY_EXTENSION: {
|
|
1333
|
+
readonly csv: "text/csv";
|
|
1334
|
+
readonly doc: "application/msword";
|
|
1335
|
+
readonly docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
1336
|
+
readonly html: "text/html";
|
|
1337
|
+
readonly htm: "text/html";
|
|
1338
|
+
readonly jpg: "image/jpeg";
|
|
1339
|
+
readonly jpeg: "image/jpeg";
|
|
1340
|
+
readonly mdc: "application/octet-stream";
|
|
1341
|
+
readonly ods: "application/vnd.oasis.opendocument.spreadsheet";
|
|
1342
|
+
readonly odt: "application/vnd.oasis.opendocument.text";
|
|
1343
|
+
readonly pdf: "application/pdf";
|
|
1344
|
+
readonly png: "image/png";
|
|
1345
|
+
readonly ppt: "application/vnd.ms-powerpoint";
|
|
1346
|
+
readonly pptx: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
1347
|
+
readonly rtf: "application/rtf";
|
|
1348
|
+
readonly svg: "image/svg+xml";
|
|
1349
|
+
readonly txt: "text/plain";
|
|
1350
|
+
readonly xls: "application/vnd.ms-excel";
|
|
1351
|
+
readonly xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
1352
|
+
readonly xml: "application/xml";
|
|
1353
|
+
};
|
|
1354
|
+
declare const STIMULSOFT_EXPORT_MIME_BY_FORMAT: {
|
|
1355
|
+
readonly csv: "text/csv";
|
|
1356
|
+
readonly document: "application/octet-stream";
|
|
1357
|
+
readonly excel2007: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
1358
|
+
readonly html: "text/html";
|
|
1359
|
+
readonly html5: "text/html";
|
|
1360
|
+
readonly imagesvg: "image/svg+xml";
|
|
1361
|
+
readonly ods: "application/vnd.oasis.opendocument.spreadsheet";
|
|
1362
|
+
readonly odt: "application/vnd.oasis.opendocument.text";
|
|
1363
|
+
readonly pdf: "application/pdf";
|
|
1364
|
+
readonly ppt2007: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
1365
|
+
readonly text: "text/plain";
|
|
1366
|
+
readonly word2007: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
1367
|
+
};
|
|
1368
|
+
declare const sanitizeStimulsoftExportFileName: (fileName?: string) => string;
|
|
1369
|
+
declare const stimulsoftExportDataToBytes: (data: StimulsoftExportData) => Uint8Array<ArrayBufferLike>;
|
|
1370
|
+
declare const inferStimulsoftExportMimeType: ({ fileName, formatName, mimeType, }: Pick<StimulsoftExportInput, "fileName" | "formatName" | "mimeType">) => string;
|
|
1371
|
+
|
|
1372
|
+
declare const REPORT_LOCALES: readonly ["al", "en", "it"];
|
|
1373
|
+
type ReportLocale = (typeof REPORT_LOCALES)[number];
|
|
1374
|
+
declare const REPORT_TRANSLATIONS: {
|
|
1375
|
+
readonly al: {
|
|
1376
|
+
readonly allCurrency: "ALL";
|
|
1377
|
+
readonly bank: "Bankë";
|
|
1378
|
+
readonly bankDeposit: "Derdhje";
|
|
1379
|
+
readonly bankGroup: "Banka";
|
|
1380
|
+
readonly businessUnitCodes: "Njesite e biznesit";
|
|
1381
|
+
readonly cad: "CAD";
|
|
1382
|
+
readonly card: "Kartë";
|
|
1383
|
+
readonly cash: "Arkë";
|
|
1384
|
+
readonly cashGroup: "Arka";
|
|
1385
|
+
readonly categories: "Kategoritë";
|
|
1386
|
+
readonly clear: "Pastro";
|
|
1387
|
+
readonly clearFilters: "Pastro filtrat";
|
|
1388
|
+
readonly combined: "E kombinuar";
|
|
1389
|
+
readonly currency: "Monedha";
|
|
1390
|
+
readonly customerName: "Emri i klientit";
|
|
1391
|
+
readonly customers: "Subjekte";
|
|
1392
|
+
readonly customersGroup: "Subjektet";
|
|
1393
|
+
readonly day: "Data";
|
|
1394
|
+
readonly deposit: "Arkëtim";
|
|
1395
|
+
readonly docNo: "Nr i Dokumentit";
|
|
1396
|
+
readonly eur: "EUR";
|
|
1397
|
+
readonly expense: "Shpenzime";
|
|
1398
|
+
readonly expenseAccounts: "Llogari shpenzimesh";
|
|
1399
|
+
readonly expensesGroup: "Blerjet & shpenzimet";
|
|
1400
|
+
readonly filter: "Filtro";
|
|
1401
|
+
readonly filters: "Filtrat";
|
|
1402
|
+
readonly from: "Nga";
|
|
1403
|
+
readonly gbp: "GBP";
|
|
1404
|
+
readonly inStock: "Hyrje";
|
|
1405
|
+
readonly inventoryGroup: "Magazina";
|
|
1406
|
+
readonly invoicesGroup: "Faturat";
|
|
1407
|
+
readonly itemName: "Emri i artikullit";
|
|
1408
|
+
readonly items: "Artikujt";
|
|
1409
|
+
readonly itemsGroup: "Artikujt";
|
|
1410
|
+
readonly iute: "Iute";
|
|
1411
|
+
readonly kind: "Klering";
|
|
1412
|
+
readonly mkd: "MKD";
|
|
1413
|
+
readonly monetaryAccounts: "Llogaritë monetare";
|
|
1414
|
+
readonly open: "Hap";
|
|
1415
|
+
readonly other: "TJERA";
|
|
1416
|
+
readonly outStock: "Dalje";
|
|
1417
|
+
readonly overdue: "Mbi paguar";
|
|
1418
|
+
readonly paid: "Paguar";
|
|
1419
|
+
readonly payment: "Pagesa";
|
|
1420
|
+
readonly paymentMethods: "Metoda e pagesës";
|
|
1421
|
+
readonly purchase: "Blerje";
|
|
1422
|
+
readonly reportBankRecords: "Dokumentet e bankës";
|
|
1423
|
+
readonly reportCashRecords: "Dokumentet e arkës";
|
|
1424
|
+
readonly reportClientDebt: "Detyrimi i klientit";
|
|
1425
|
+
readonly reportCurrentUserDailySales: "Shitjet ditore të përdoruesit";
|
|
1426
|
+
readonly reportDailySales: "Shitje ditore";
|
|
1427
|
+
readonly reportDailySalesGrouped: "Xhiro ditore";
|
|
1428
|
+
readonly reportDailyShopsSales: "Shitjet ditore për dyqanet";
|
|
1429
|
+
readonly reportDetailedDailySales: "Shitjet ditore të detajuara";
|
|
1430
|
+
readonly reportDetailedExpenses: "Detaje blerjesh & shpenzimesh";
|
|
1431
|
+
readonly reportDetailedFiscalInvoices: "Detaje të faturave të fiskalizuara";
|
|
1432
|
+
readonly reportDetailedInventory: "Detaje inventari";
|
|
1433
|
+
readonly reportExpensesRecords: "Permbledhje e blerjeve & shpenzimeve";
|
|
1434
|
+
readonly reportFiscalInvoices: "Faturat e fiskalizuara";
|
|
1435
|
+
readonly reportItemSalesRecap: "Permbledhje e artikujve te shitur";
|
|
1436
|
+
readonly reportItemStock: "Gjendja e artikujve";
|
|
1437
|
+
readonly reportItemStockExcel: "Inventar (excel)";
|
|
1438
|
+
readonly reportItemStockMovement: "Lëvizjet e artikujve";
|
|
1439
|
+
readonly reportItemsWithSpecifications: "Shitje artikujsh me specifikime";
|
|
1440
|
+
readonly reportMonthlySales: "Xhiro mujore";
|
|
1441
|
+
readonly reportPaymentRecords: "Statusi i pagesës së faturave";
|
|
1442
|
+
readonly reportPaymentRecordsDetailed: "Detaje pagesash për faturat";
|
|
1443
|
+
readonly reports: "Raportet";
|
|
1444
|
+
readonly reportSalesByCategories: "Shitje sipas kategorive";
|
|
1445
|
+
readonly reportSalesByCustomer: "Shitjet sipas klientit";
|
|
1446
|
+
readonly reportSalesByCustomerDetailed: "Shitjet detajuar sipas klientit";
|
|
1447
|
+
readonly reportSalesByItemsDetailed: "Shitjet detajuar sipas artikullit";
|
|
1448
|
+
readonly reportSalesByPaymentMethods: "Shitjet sipas metodave të pagesës";
|
|
1449
|
+
readonly reportSalesDetailed: "Detaje shitjesh";
|
|
1450
|
+
readonly reportSalesDetailedByUser: "Detaje shitjesh per perdorues";
|
|
1451
|
+
readonly reportWeeklySales: "Xhiro javore";
|
|
1452
|
+
readonly salesGroup: "Shitjet";
|
|
1453
|
+
readonly search: "Kërko";
|
|
1454
|
+
readonly select: "Zgjidh";
|
|
1455
|
+
readonly selectAReportFromTheList: "Zgjidhni një raport nga lista";
|
|
1456
|
+
readonly specName: "Emri i specifikës";
|
|
1457
|
+
readonly status: "Statusi";
|
|
1458
|
+
readonly tcrCodes: "Tcr";
|
|
1459
|
+
readonly to: "Deri";
|
|
1460
|
+
readonly type: "Lloji";
|
|
1461
|
+
readonly underdue: "Paguar pjesërisht";
|
|
1462
|
+
readonly unpaid: "E papaguar";
|
|
1463
|
+
readonly upay: "UPay";
|
|
1464
|
+
readonly usd: "USD";
|
|
1465
|
+
readonly user: "Përdoruesi";
|
|
1466
|
+
readonly usersGroup: "Përdoruesit";
|
|
1467
|
+
readonly warehouses: "Magazinat";
|
|
1468
|
+
readonly withdrawal: "Terheqje";
|
|
1469
|
+
};
|
|
1470
|
+
readonly en: {
|
|
1471
|
+
readonly allCurrency: "ALL";
|
|
1472
|
+
readonly bank: "Bank";
|
|
1473
|
+
readonly bankDeposit: "Bank deposit";
|
|
1474
|
+
readonly bankGroup: "Bank";
|
|
1475
|
+
readonly businessUnitCodes: "Business Units";
|
|
1476
|
+
readonly cad: "CAD";
|
|
1477
|
+
readonly card: "Card";
|
|
1478
|
+
readonly cash: "Cash";
|
|
1479
|
+
readonly cashGroup: "Cash";
|
|
1480
|
+
readonly categories: "Categories";
|
|
1481
|
+
readonly clear: "Clear";
|
|
1482
|
+
readonly clearFilters: "Clear Filters";
|
|
1483
|
+
readonly combined: "Combined";
|
|
1484
|
+
readonly currency: "Currency";
|
|
1485
|
+
readonly customerName: "Customer name";
|
|
1486
|
+
readonly customers: "Subjects";
|
|
1487
|
+
readonly customersGroup: "Subjects";
|
|
1488
|
+
readonly day: "Date";
|
|
1489
|
+
readonly deposit: "Deposit";
|
|
1490
|
+
readonly docNo: "Document number";
|
|
1491
|
+
readonly eur: "EUR";
|
|
1492
|
+
readonly expense: "Expenses";
|
|
1493
|
+
readonly expenseAccounts: "Expense accounts";
|
|
1494
|
+
readonly expensesGroup: "Expenses & purchases";
|
|
1495
|
+
readonly filter: "Filter";
|
|
1496
|
+
readonly filters: "Filters";
|
|
1497
|
+
readonly from: "From";
|
|
1498
|
+
readonly gbp: "GBP";
|
|
1499
|
+
readonly inStock: "Add";
|
|
1500
|
+
readonly inventoryGroup: "Warehouse";
|
|
1501
|
+
readonly invoicesGroup: "Invoices";
|
|
1502
|
+
readonly itemName: "Item name";
|
|
1503
|
+
readonly items: "Items";
|
|
1504
|
+
readonly itemsGroup: "Items";
|
|
1505
|
+
readonly iute: "Iute";
|
|
1506
|
+
readonly kind: "Clearing";
|
|
1507
|
+
readonly mkd: "MKD";
|
|
1508
|
+
readonly monetaryAccounts: "Monetary Accounts";
|
|
1509
|
+
readonly open: "Open";
|
|
1510
|
+
readonly other: "OTHER";
|
|
1511
|
+
readonly outStock: "Remove";
|
|
1512
|
+
readonly overdue: "Overdue";
|
|
1513
|
+
readonly paid: "Paid";
|
|
1514
|
+
readonly payment: "Payment";
|
|
1515
|
+
readonly paymentMethods: "Payment methods";
|
|
1516
|
+
readonly purchase: "Purchase";
|
|
1517
|
+
readonly reportBankRecords: "Bank Records";
|
|
1518
|
+
readonly reportCashRecords: "Cash Records";
|
|
1519
|
+
readonly reportClientDebt: "Client debt";
|
|
1520
|
+
readonly reportCurrentUserDailySales: "User daily sales";
|
|
1521
|
+
readonly reportDailySales: "Daily Sales";
|
|
1522
|
+
readonly reportDailySalesGrouped: "Daily Sales Turnover";
|
|
1523
|
+
readonly reportDailyShopsSales: "Daily sales of shops";
|
|
1524
|
+
readonly reportDetailedDailySales: "Detailed daily sales";
|
|
1525
|
+
readonly reportDetailedExpenses: "Detailed expenses & purchases";
|
|
1526
|
+
readonly reportDetailedFiscalInvoices: "Detailed fiscal invoices";
|
|
1527
|
+
readonly reportDetailedInventory: "Detailed inventory";
|
|
1528
|
+
readonly reportExpensesRecords: "Expenses & purchases summary";
|
|
1529
|
+
readonly reportFiscalInvoices: "Fiscal Invoices";
|
|
1530
|
+
readonly reportItemSalesRecap: "Item Sales Recap";
|
|
1531
|
+
readonly reportItemStock: "Item Stock";
|
|
1532
|
+
readonly reportItemStockExcel: "Inventory (excel)";
|
|
1533
|
+
readonly reportItemStockMovement: "Item Stock Movement";
|
|
1534
|
+
readonly reportItemsWithSpecifications: "Items sales with specifications";
|
|
1535
|
+
readonly reportMonthlySales: "Monthly Sales";
|
|
1536
|
+
readonly reportPaymentRecords: "Payment status of orders";
|
|
1537
|
+
readonly reportPaymentRecordsDetailed: "Detailed payments of orders";
|
|
1538
|
+
readonly reports: "Reports";
|
|
1539
|
+
readonly reportSalesByCategories: "Sales by categories";
|
|
1540
|
+
readonly reportSalesByCustomer: "Sales by Customer";
|
|
1541
|
+
readonly reportSalesByCustomerDetailed: "Detailed Sales by Customer";
|
|
1542
|
+
readonly reportSalesByItemsDetailed: "Detailed Sales by Item";
|
|
1543
|
+
readonly reportSalesByPaymentMethods: "Sales by payment methods";
|
|
1544
|
+
readonly reportSalesDetailed: "Detailed Sales";
|
|
1545
|
+
readonly reportSalesDetailedByUser: "Detailed Sales by User";
|
|
1546
|
+
readonly reportWeeklySales: "Weekly Sales";
|
|
1547
|
+
readonly salesGroup: "Sales";
|
|
1548
|
+
readonly search: "Search";
|
|
1549
|
+
readonly select: "Select";
|
|
1550
|
+
readonly selectAReportFromTheList: "Select a report from the list";
|
|
1551
|
+
readonly specName: "Specification name";
|
|
1552
|
+
readonly status: "Status";
|
|
1553
|
+
readonly tcrCodes: "Tcr Codes";
|
|
1554
|
+
readonly to: "To";
|
|
1555
|
+
readonly type: "Type";
|
|
1556
|
+
readonly underdue: "Underdue";
|
|
1557
|
+
readonly unpaid: "Unpaid";
|
|
1558
|
+
readonly upay: "Upay";
|
|
1559
|
+
readonly usd: "USD";
|
|
1560
|
+
readonly user: "User";
|
|
1561
|
+
readonly usersGroup: "Users";
|
|
1562
|
+
readonly warehouses: "Warehouses";
|
|
1563
|
+
readonly withdrawal: "Withdrawal";
|
|
1564
|
+
};
|
|
1565
|
+
readonly it: {
|
|
1566
|
+
readonly allCurrency: "TUTTO";
|
|
1567
|
+
readonly bank: "Banca";
|
|
1568
|
+
readonly bankDeposit: "Deposito bancario";
|
|
1569
|
+
readonly bankGroup: "Banca";
|
|
1570
|
+
readonly businessUnitCodes: "Unità aziendali";
|
|
1571
|
+
readonly cad: "CAD";
|
|
1572
|
+
readonly card: "Carta";
|
|
1573
|
+
readonly cash: "Contante";
|
|
1574
|
+
readonly cashGroup: "Contanti";
|
|
1575
|
+
readonly categories: "Categorie";
|
|
1576
|
+
readonly clear: "Cancella";
|
|
1577
|
+
readonly clearFilters: "Cancella filtri";
|
|
1578
|
+
readonly combined: "Combinato";
|
|
1579
|
+
readonly currency: "Valuta";
|
|
1580
|
+
readonly customerName: "Nome cliente";
|
|
1581
|
+
readonly customers: "Clienti";
|
|
1582
|
+
readonly customersGroup: "Soggetti";
|
|
1583
|
+
readonly day: "Data";
|
|
1584
|
+
readonly deposit: "Depositare";
|
|
1585
|
+
readonly docNo: "Numero del documento";
|
|
1586
|
+
readonly eur: "EUR";
|
|
1587
|
+
readonly expense: "Spese";
|
|
1588
|
+
readonly expenseAccounts: "Conti spese";
|
|
1589
|
+
readonly expensesGroup: "Spese e acquisti";
|
|
1590
|
+
readonly filter: "Filtra";
|
|
1591
|
+
readonly filters: "Filtri";
|
|
1592
|
+
readonly from: "Da";
|
|
1593
|
+
readonly gbp: "GBP";
|
|
1594
|
+
readonly inStock: "Aggiungi";
|
|
1595
|
+
readonly inventoryGroup: "Magazzino";
|
|
1596
|
+
readonly invoicesGroup: "Fatture";
|
|
1597
|
+
readonly itemName: "Nome articolo";
|
|
1598
|
+
readonly items: "Articoli";
|
|
1599
|
+
readonly itemsGroup: "Articoli";
|
|
1600
|
+
readonly iute: "Iute";
|
|
1601
|
+
readonly kind: "Cancellazione";
|
|
1602
|
+
readonly mkd: "MKD";
|
|
1603
|
+
readonly monetaryAccounts: "Conti monetari";
|
|
1604
|
+
readonly open: "Apri";
|
|
1605
|
+
readonly other: "ALTRO";
|
|
1606
|
+
readonly outStock: "Rimuovi";
|
|
1607
|
+
readonly overdue: "Scaduto";
|
|
1608
|
+
readonly paid: "Pagato";
|
|
1609
|
+
readonly payment: "Pagamento";
|
|
1610
|
+
readonly paymentMethods: "Metodi di pagamento";
|
|
1611
|
+
readonly purchase: "Acquisto";
|
|
1612
|
+
readonly reportBankRecords: "Registrazioni bancarie";
|
|
1613
|
+
readonly reportCashRecords: "Registrazioni contanti";
|
|
1614
|
+
readonly reportClientDebt: "Debito del cliente";
|
|
1615
|
+
readonly reportCurrentUserDailySales: "Vendite giornaliere utente";
|
|
1616
|
+
readonly reportDailySales: "Vendite giornaliere";
|
|
1617
|
+
readonly reportDailySalesGrouped: "Fatturato giornaliero";
|
|
1618
|
+
readonly reportDailyShopsSales: "Vendite giornaliere dei negozi";
|
|
1619
|
+
readonly reportDetailedDailySales: "Vendite giornaliere dettagliate";
|
|
1620
|
+
readonly reportDetailedExpenses: "Spese e acquisti dettagliati";
|
|
1621
|
+
readonly reportDetailedFiscalInvoices: "Fatture fiscali dettagliate";
|
|
1622
|
+
readonly reportDetailedInventory: "Rapporto dettagliato inventario";
|
|
1623
|
+
readonly reportExpensesRecords: "Riepilogo spese e acquisti";
|
|
1624
|
+
readonly reportFiscalInvoices: "Fatture fiscali";
|
|
1625
|
+
readonly reportItemSalesRecap: "Riepilogo vendite articoli";
|
|
1626
|
+
readonly reportItemStock: "Stock di articoli";
|
|
1627
|
+
readonly reportItemStockExcel: "Inventario (excel)";
|
|
1628
|
+
readonly reportItemStockMovement: "Movimento stock articoli";
|
|
1629
|
+
readonly reportItemsWithSpecifications: "Vendite articoli con specifiche";
|
|
1630
|
+
readonly reportMonthlySales: "Vendite mensili";
|
|
1631
|
+
readonly reportPaymentRecords: "Stato dei pagamenti degli ordini";
|
|
1632
|
+
readonly reportPaymentRecordsDetailed: "Pagamenti dettagliati degli ordini";
|
|
1633
|
+
readonly reports: "Rapporti";
|
|
1634
|
+
readonly reportSalesByCategories: "Vendite per categorie";
|
|
1635
|
+
readonly reportSalesByCustomer: "Vendite per cliente";
|
|
1636
|
+
readonly reportSalesByCustomerDetailed: "Vendite dettagliate per cliente";
|
|
1637
|
+
readonly reportSalesByItemsDetailed: "Vendite dettagliate per articolo";
|
|
1638
|
+
readonly reportSalesByPaymentMethods: "Vendite per metodi di pagamento";
|
|
1639
|
+
readonly reportSalesDetailed: "Vendite dettagliate";
|
|
1640
|
+
readonly reportSalesDetailedByUser: "Vendite dettagliate per utente";
|
|
1641
|
+
readonly reportWeeklySales: "Vendite settimanali";
|
|
1642
|
+
readonly salesGroup: "Vendite";
|
|
1643
|
+
readonly search: "Cerca";
|
|
1644
|
+
readonly select: "Seleziona";
|
|
1645
|
+
readonly selectAReportFromTheList: "Seleziona un report dall'elenco";
|
|
1646
|
+
readonly specName: "Nome specifica";
|
|
1647
|
+
readonly status: "Stato";
|
|
1648
|
+
readonly tcrCodes: "Codici TCR";
|
|
1649
|
+
readonly to: "A";
|
|
1650
|
+
readonly type: "Tipo";
|
|
1651
|
+
readonly underdue: "Non ancora dovuto";
|
|
1652
|
+
readonly unpaid: "Non pagato";
|
|
1653
|
+
readonly upay: "UPay";
|
|
1654
|
+
readonly usd: "USD";
|
|
1655
|
+
readonly user: "Utente";
|
|
1656
|
+
readonly usersGroup: "Utenti";
|
|
1657
|
+
readonly warehouses: "Magazzini";
|
|
1658
|
+
readonly withdrawal: "Prelievo";
|
|
1659
|
+
};
|
|
1660
|
+
};
|
|
1661
|
+
type ReportTranslationKey = keyof (typeof REPORT_TRANSLATIONS)["en"];
|
|
1662
|
+
declare const normalizeReportLocale: (locale?: string | null) => ReportLocale;
|
|
1663
|
+
declare const translateReportKey: (locale: string | null | undefined, key: string | null | undefined, fallback?: string) => string;
|
|
1664
|
+
|
|
1665
|
+
export { EXPENSES_TYPES, type ExpensesType, PAYMENT_METHODS, type PaymentMethod, REPORTS_ENTITY_QUERY, REPORTS_GROUPED_RIGHTS, REPORT_ENTITY_OPTION_MAPPERS, REPORT_GROUPS, REPORT_LIST, REPORT_LOCALES, REPORT_RIGHTS, REPORT_TRANSLATIONS, type ReportConfig, type ReportEntityOption, type ReportEntityOptionMapper, type ReportEntityQuery, type ReportEntry, type ReportFilter, type ReportFilterComponent, type ReportFilterInputValues, type ReportFilters, type ReportGroup, type ReportId, type ReportLocale, type ReportMessageInput, type ReportOption, type ReportTranslationKey, STIMULSOFT_EXPORT_MIME_BY_EXTENSION, STIMULSOFT_EXPORT_MIME_BY_FORMAT, type StimulsoftExportData, type StimulsoftExportFormatName, type StimulsoftExportInput, buildReportMessage, compactReportFilters, extractReportEntityData, getReportConfig, groupedReportEntries, inferStimulsoftExportMimeType, inputValuesToReportFilters, normalizeReportLocale, reportEntries, reportFiltersToInputValues, REPORT_LIST as reportList, reportRequiresCurrentUser, sanitizeStimulsoftExportFileName, scopeReportFiltersForUser, stimulsoftExportDataToBytes, toReportEntityOptions, translateReportKey };
|