@erp-galoper/types 1.0.2078 → 1.0.2080
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/openapi.ts +114 -15
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -21453,6 +21453,26 @@ export interface paths {
|
|
|
21453
21453
|
patch?: never;
|
|
21454
21454
|
trace?: never;
|
|
21455
21455
|
};
|
|
21456
|
+
"/api/v1/reports/sales-dashboard/alerts/": {
|
|
21457
|
+
parameters: {
|
|
21458
|
+
query?: never;
|
|
21459
|
+
header?: never;
|
|
21460
|
+
path?: never;
|
|
21461
|
+
cookie?: never;
|
|
21462
|
+
};
|
|
21463
|
+
/**
|
|
21464
|
+
* Get Sales Dashboard Alerts
|
|
21465
|
+
* @description Operational alerts for quotations, refunds, and stuck sales orders.
|
|
21466
|
+
*/
|
|
21467
|
+
get: operations["reports_salesdashboard_views_get_sales_dashboard_alerts"];
|
|
21468
|
+
put?: never;
|
|
21469
|
+
post?: never;
|
|
21470
|
+
delete?: never;
|
|
21471
|
+
options?: never;
|
|
21472
|
+
head?: never;
|
|
21473
|
+
patch?: never;
|
|
21474
|
+
trace?: never;
|
|
21475
|
+
};
|
|
21456
21476
|
"/api/v1/reports/receivables-by-customer-region/": {
|
|
21457
21477
|
parameters: {
|
|
21458
21478
|
query?: never;
|
|
@@ -65704,6 +65724,29 @@ export interface components {
|
|
|
65704
65724
|
/** Name */
|
|
65705
65725
|
name: string;
|
|
65706
65726
|
};
|
|
65727
|
+
/** DashboardAlertDocumentSchema */
|
|
65728
|
+
DashboardAlertDocumentSchema: {
|
|
65729
|
+
/**
|
|
65730
|
+
* Id
|
|
65731
|
+
* Format: uuid
|
|
65732
|
+
*/
|
|
65733
|
+
id: string;
|
|
65734
|
+
/** Documenttype */
|
|
65735
|
+
documentType: string;
|
|
65736
|
+
/** Serialnumber */
|
|
65737
|
+
serialNumber: string;
|
|
65738
|
+
/**
|
|
65739
|
+
* Date
|
|
65740
|
+
* Format: date
|
|
65741
|
+
*/
|
|
65742
|
+
date: string;
|
|
65743
|
+
amount: components["schemas"]["CurrencyAmountSchema"];
|
|
65744
|
+
};
|
|
65745
|
+
/**
|
|
65746
|
+
* DashboardAlertType
|
|
65747
|
+
* @enum {string}
|
|
65748
|
+
*/
|
|
65749
|
+
DashboardAlertType: "pending_quotations" | "quotations_requiring_action" | "pending_refunds" | "refunds_requiring_processing" | "stuck_pending_orders" | "orders_exceeded_processing_time";
|
|
65707
65750
|
/** FunnelStageSchema */
|
|
65708
65751
|
FunnelStageSchema: {
|
|
65709
65752
|
/** Totalcount */
|
|
@@ -65806,6 +65849,15 @@ export interface components {
|
|
|
65806
65849
|
totalTax: components["schemas"]["CurrencyAmountSchema"];
|
|
65807
65850
|
costOfGoodsSold: components["schemas"]["CurrencyAmountSchema"] | null;
|
|
65808
65851
|
};
|
|
65852
|
+
/** SalesDashboardAlertSchema */
|
|
65853
|
+
SalesDashboardAlertSchema: {
|
|
65854
|
+
alertType: components["schemas"]["DashboardAlertType"];
|
|
65855
|
+
/** Affectedrecords */
|
|
65856
|
+
affectedRecords: number;
|
|
65857
|
+
amount?: components["schemas"]["CurrencyAmountSchema"] | null;
|
|
65858
|
+
/** Documents */
|
|
65859
|
+
documents: components["schemas"]["DashboardAlertDocumentSchema"][];
|
|
65860
|
+
};
|
|
65809
65861
|
/** SalesDashboardSchema */
|
|
65810
65862
|
SalesDashboardSchema: {
|
|
65811
65863
|
/** Periodstart */
|
|
@@ -65833,6 +65885,8 @@ export interface components {
|
|
|
65833
65885
|
topPerformingCustomers: components["schemas"]["TopPerformingCustomerSchema"][];
|
|
65834
65886
|
/** Topperformingbranches */
|
|
65835
65887
|
topPerformingBranches: components["schemas"]["TopPerformingBranchSchema"][];
|
|
65888
|
+
/** Alerts */
|
|
65889
|
+
alerts: components["schemas"]["SalesDashboardAlertSchema"][];
|
|
65836
65890
|
};
|
|
65837
65891
|
/** SalesPipelineSchema */
|
|
65838
65892
|
SalesPipelineSchema: {
|
|
@@ -66012,6 +66066,17 @@ export interface components {
|
|
|
66012
66066
|
/** Topperformingbranches */
|
|
66013
66067
|
topPerformingBranches: components["schemas"]["TopPerformingPurchaseBranchSchema"][];
|
|
66014
66068
|
};
|
|
66069
|
+
/** DashboardAlertsResponseSchema */
|
|
66070
|
+
DashboardAlertsResponseSchema: {
|
|
66071
|
+
/** Periodstart */
|
|
66072
|
+
periodStart: string | null;
|
|
66073
|
+
/** Periodend */
|
|
66074
|
+
periodEnd: string | null;
|
|
66075
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66076
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66077
|
+
/** Alerts */
|
|
66078
|
+
alerts: components["schemas"]["PurchaseDashboardAlertSchema"][];
|
|
66079
|
+
};
|
|
66015
66080
|
/** ReceivablesByCustomerRegionContactSchema */
|
|
66016
66081
|
ReceivablesByCustomerRegionContactSchema: {
|
|
66017
66082
|
/** Name */
|
|
@@ -66175,11 +66240,12 @@ export interface components {
|
|
|
66175
66240
|
};
|
|
66176
66241
|
/** PurchaseDashboardAlertSchema */
|
|
66177
66242
|
PurchaseDashboardAlertSchema: {
|
|
66178
|
-
|
|
66179
|
-
alertType: string;
|
|
66243
|
+
alertType: components["schemas"]["DashboardAlertType"];
|
|
66180
66244
|
/** Affectedrecords */
|
|
66181
66245
|
affectedRecords: number;
|
|
66182
66246
|
amount?: components["schemas"]["CurrencyAmountSchema"] | null;
|
|
66247
|
+
/** Documents */
|
|
66248
|
+
documents: components["schemas"]["DashboardAlertDocumentSchema"][];
|
|
66183
66249
|
};
|
|
66184
66250
|
/** PurchaseDashboardSchema */
|
|
66185
66251
|
PurchaseDashboardSchema: {
|
|
@@ -66383,17 +66449,6 @@ export interface components {
|
|
|
66383
66449
|
/** Topperformingsuppliers */
|
|
66384
66450
|
topPerformingSuppliers: components["schemas"]["TopPerformingSupplierSchema"][];
|
|
66385
66451
|
};
|
|
66386
|
-
/** DashboardAlertsResponseSchema */
|
|
66387
|
-
DashboardAlertsResponseSchema: {
|
|
66388
|
-
/** Periodstart */
|
|
66389
|
-
periodStart: string | null;
|
|
66390
|
-
/** Periodend */
|
|
66391
|
-
periodEnd: string | null;
|
|
66392
|
-
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66393
|
-
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66394
|
-
/** Alerts */
|
|
66395
|
-
alerts: components["schemas"]["PurchaseDashboardAlertSchema"][];
|
|
66396
|
-
};
|
|
66397
66452
|
/** RetrieveStatus */
|
|
66398
66453
|
RetrieveStatus: {
|
|
66399
66454
|
/**
|
|
@@ -112491,6 +112546,50 @@ export interface operations {
|
|
|
112491
112546
|
};
|
|
112492
112547
|
};
|
|
112493
112548
|
};
|
|
112549
|
+
reports_salesdashboard_views_get_sales_dashboard_alerts: {
|
|
112550
|
+
parameters: {
|
|
112551
|
+
query?: {
|
|
112552
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112553
|
+
startDate?: string | null;
|
|
112554
|
+
endDate?: string | null;
|
|
112555
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112556
|
+
branchesIds?: string[] | null;
|
|
112557
|
+
};
|
|
112558
|
+
header?: never;
|
|
112559
|
+
path?: never;
|
|
112560
|
+
cookie?: never;
|
|
112561
|
+
};
|
|
112562
|
+
requestBody?: never;
|
|
112563
|
+
responses: {
|
|
112564
|
+
/** @description OK */
|
|
112565
|
+
200: {
|
|
112566
|
+
headers: {
|
|
112567
|
+
[name: string]: unknown;
|
|
112568
|
+
};
|
|
112569
|
+
content: {
|
|
112570
|
+
"application/json": components["schemas"]["DashboardAlertsResponseSchema"];
|
|
112571
|
+
};
|
|
112572
|
+
};
|
|
112573
|
+
/** @description Bad Request */
|
|
112574
|
+
400: {
|
|
112575
|
+
headers: {
|
|
112576
|
+
[name: string]: unknown;
|
|
112577
|
+
};
|
|
112578
|
+
content: {
|
|
112579
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112580
|
+
};
|
|
112581
|
+
};
|
|
112582
|
+
/** @description Forbidden */
|
|
112583
|
+
403: {
|
|
112584
|
+
headers: {
|
|
112585
|
+
[name: string]: unknown;
|
|
112586
|
+
};
|
|
112587
|
+
content: {
|
|
112588
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112589
|
+
};
|
|
112590
|
+
};
|
|
112591
|
+
};
|
|
112592
|
+
};
|
|
112494
112593
|
reports_receivablesreport_views_get_receivables_by_customer_region_report_view: {
|
|
112495
112594
|
parameters: {
|
|
112496
112595
|
query?: {
|
|
@@ -112551,7 +112650,7 @@ export interface operations {
|
|
|
112551
112650
|
startDate?: string | null;
|
|
112552
112651
|
endDate?: string | null;
|
|
112553
112652
|
branchesIds?: string[] | null;
|
|
112554
|
-
spendTrendGranularity?: "
|
|
112653
|
+
spendTrendGranularity?: components["schemas"]["SalesReportGranularity"] | null;
|
|
112555
112654
|
cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
|
|
112556
112655
|
};
|
|
112557
112656
|
header?: never;
|
|
@@ -112639,7 +112738,7 @@ export interface operations {
|
|
|
112639
112738
|
startDate?: string | null;
|
|
112640
112739
|
endDate?: string | null;
|
|
112641
112740
|
branchesIds?: string[] | null;
|
|
112642
|
-
granularity?: "
|
|
112741
|
+
granularity?: components["schemas"]["SalesReportGranularity"] | null;
|
|
112643
112742
|
};
|
|
112644
112743
|
header?: never;
|
|
112645
112744
|
path?: never;
|