@silexpert/core 2.0.81 → 2.0.82
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/dist/api/resources/Dashboard.d.ts +2 -1
- package/dist/api/resources/Dashboard.d.ts.map +1 -1
- package/dist/api/resources/Dashboard.js +3 -0
- package/dist/api/resources/Dashboard.js.map +1 -1
- package/dist/types/Enum/ConnectorTracking.d.ts +1 -0
- package/dist/types/Enum/ConnectorTracking.d.ts.map +1 -1
- package/dist/types/Enum/ConnectorTracking.js +1 -0
- package/dist/types/Enum/ConnectorTracking.js.map +1 -1
- package/dist/types/Enum/DashboardBlock.d.ts +2 -1
- package/dist/types/Enum/DashboardBlock.d.ts.map +1 -1
- package/dist/types/Enum/DashboardBlock.js +1 -0
- package/dist/types/Enum/DashboardBlock.js.map +1 -1
- package/dist/types/Enum/Log.d.ts +12 -1
- package/dist/types/Enum/Log.d.ts.map +1 -1
- package/dist/types/Enum/Log.js +11 -0
- package/dist/types/Enum/Log.js.map +1 -1
- package/dist/types/Interface/api/dashboard/QueryTopProducts.d.ts +5 -0
- package/dist/types/Interface/api/dashboard/QueryTopProducts.d.ts.map +1 -0
- package/dist/types/Interface/api/dashboard/QueryTopProducts.js +26 -0
- package/dist/types/Interface/api/dashboard/QueryTopProducts.js.map +1 -0
- package/dist/types/Interface/api/dashboard/ReadTopProducts.d.ts +9 -0
- package/dist/types/Interface/api/dashboard/ReadTopProducts.d.ts.map +1 -0
- package/dist/types/Interface/api/dashboard/ReadTopProducts.js +9 -0
- package/dist/types/Interface/api/dashboard/ReadTopProducts.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Dashboard.ts +6 -0
- package/ts/types/Enum/ConnectorTracking.ts +1 -0
- package/ts/types/Enum/DashboardBlock.ts +1 -0
- package/ts/types/Enum/Log.ts +11 -0
- package/ts/types/Interface/api/dashboard/QueryTopProducts.ts +12 -0
- package/ts/types/Interface/api/dashboard/ReadTopProducts.ts +8 -0
- package/ts/types/index.ts +2 -0
package/package.json
CHANGED
|
@@ -16,6 +16,8 @@ import {
|
|
|
16
16
|
ReadTopThirdParty,
|
|
17
17
|
ReadTopProviders,
|
|
18
18
|
QueryTopProviders,
|
|
19
|
+
QueryTopProducts,
|
|
20
|
+
ReadTopProducts,
|
|
19
21
|
} from '../../types/index.js';
|
|
20
22
|
|
|
21
23
|
const ROUTE = 'dashboard';
|
|
@@ -32,6 +34,10 @@ export class Dashboard extends Resource {
|
|
|
32
34
|
return this.axios.$get(`${ROUTE}/topBuys`, { params: dates });
|
|
33
35
|
}
|
|
34
36
|
|
|
37
|
+
getTopProducts(params: QueryTopProducts): Promise<ReadTopProducts[]> {
|
|
38
|
+
return this.axios.$get(`${ROUTE}/top-products`, { params });
|
|
39
|
+
}
|
|
40
|
+
|
|
35
41
|
/** @deprecated use getTopThirdParties */
|
|
36
42
|
getTopProviders(params: QueryTopProviders): Promise<ReadTopProviders[]> {
|
|
37
43
|
return this.axios.$get(`${ROUTE}/topProviders`, { params });
|
package/ts/types/Enum/Log.ts
CHANGED
|
@@ -58,6 +58,7 @@ export enum LogType {
|
|
|
58
58
|
TIME_SLOTS = 46,
|
|
59
59
|
MANUAL_BALANCE = 47,
|
|
60
60
|
MANUAL_PREVIOUS_BALANCE = 48,
|
|
61
|
+
INVOICE_TRANSACTION_DELETE = 49,
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
export const LogTypeDetail = {
|
|
@@ -595,4 +596,14 @@ export const LogTypeDetail = {
|
|
|
595
596
|
},
|
|
596
597
|
message: 'un créneaux horaire à %users%',
|
|
597
598
|
},
|
|
599
|
+
INVOICE_TRANSACTION_DELETE: {
|
|
600
|
+
id: LogType.INVOICE_TRANSACTION_DELETE,
|
|
601
|
+
label: 'Suppression facture',
|
|
602
|
+
color: 'blue-grey lighten-3',
|
|
603
|
+
icon: null,
|
|
604
|
+
actions: {
|
|
605
|
+
delete: 'a supprimé',
|
|
606
|
+
},
|
|
607
|
+
message: '%societyName% (Période: %startDate% - %endDate%)',
|
|
608
|
+
},
|
|
598
609
|
};
|
package/ts/types/index.ts
CHANGED
|
@@ -669,12 +669,14 @@ export * from './Interface/api/dashboard/QueryTurnoverProfitAndLoss.js';
|
|
|
669
669
|
export * from './Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats.js';
|
|
670
670
|
export * from './Interface/api/dashboard/QueryBalanceBankAccount.js';
|
|
671
671
|
export * from './Interface/api/dashboard/QueryTopBuys.js';
|
|
672
|
+
export * from './Interface/api/dashboard/QueryTopProducts.js';
|
|
672
673
|
export * from './Interface/api/dashboard/QueryTopProviders.js';
|
|
673
674
|
export * from './Interface/api/dashboard/QueryVatDisbursed.js';
|
|
674
675
|
export * from './Interface/api/dashboard/ReadVatDisbursed.js';
|
|
675
676
|
export * from './Interface/api/dashboard/ReadBalanceBankAccount.js';
|
|
676
677
|
export * from './Interface/api/dashboard/QueryDeadline.js';
|
|
677
678
|
export * from './Interface/api/dashboard/ReadTopBuys.js';
|
|
679
|
+
export * from './Interface/api/dashboard/ReadTopProducts.js';
|
|
678
680
|
export * from './Interface/api/dashboard/ReadTopProviders.js';
|
|
679
681
|
export * from './Interface/api/dashboard/ReadDeadline.js';
|
|
680
682
|
export * from './Interface/api/accountant/ReadAccountantBalance.js';
|