@erp-galoper/types 1.0.2059 → 1.0.2061
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 +1358 -93
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -21464,6 +21464,278 @@ export interface paths {
|
|
|
21464
21464
|
patch?: never;
|
|
21465
21465
|
trace?: never;
|
|
21466
21466
|
};
|
|
21467
|
+
"/api/v1/reports/purchase-dashboard/": {
|
|
21468
|
+
parameters: {
|
|
21469
|
+
query?: never;
|
|
21470
|
+
header?: never;
|
|
21471
|
+
path?: never;
|
|
21472
|
+
cookie?: never;
|
|
21473
|
+
};
|
|
21474
|
+
/** Get Purchase Dashboard Data */
|
|
21475
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_data"];
|
|
21476
|
+
put?: never;
|
|
21477
|
+
post?: never;
|
|
21478
|
+
delete?: never;
|
|
21479
|
+
options?: never;
|
|
21480
|
+
head?: never;
|
|
21481
|
+
patch?: never;
|
|
21482
|
+
trace?: never;
|
|
21483
|
+
};
|
|
21484
|
+
"/api/v1/reports/purchase-dashboard/summary/": {
|
|
21485
|
+
parameters: {
|
|
21486
|
+
query?: never;
|
|
21487
|
+
header?: never;
|
|
21488
|
+
path?: never;
|
|
21489
|
+
cookie?: never;
|
|
21490
|
+
};
|
|
21491
|
+
/** Get Purchase Dashboard Summary */
|
|
21492
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_summary"];
|
|
21493
|
+
put?: never;
|
|
21494
|
+
post?: never;
|
|
21495
|
+
delete?: never;
|
|
21496
|
+
options?: never;
|
|
21497
|
+
head?: never;
|
|
21498
|
+
patch?: never;
|
|
21499
|
+
trace?: never;
|
|
21500
|
+
};
|
|
21501
|
+
"/api/v1/reports/purchase-dashboard/spend-trend/": {
|
|
21502
|
+
parameters: {
|
|
21503
|
+
query?: never;
|
|
21504
|
+
header?: never;
|
|
21505
|
+
path?: never;
|
|
21506
|
+
cookie?: never;
|
|
21507
|
+
};
|
|
21508
|
+
/** Get Purchase Dashboard Spend Trend */
|
|
21509
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_spend_trend"];
|
|
21510
|
+
put?: never;
|
|
21511
|
+
post?: never;
|
|
21512
|
+
delete?: never;
|
|
21513
|
+
options?: never;
|
|
21514
|
+
head?: never;
|
|
21515
|
+
patch?: never;
|
|
21516
|
+
trace?: never;
|
|
21517
|
+
};
|
|
21518
|
+
"/api/v1/reports/purchase-dashboard/lifecycle-comparison/": {
|
|
21519
|
+
parameters: {
|
|
21520
|
+
query?: never;
|
|
21521
|
+
header?: never;
|
|
21522
|
+
path?: never;
|
|
21523
|
+
cookie?: never;
|
|
21524
|
+
};
|
|
21525
|
+
/** Get Purchase Dashboard Lifecycle Comparison */
|
|
21526
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_lifecycle_comparison"];
|
|
21527
|
+
put?: never;
|
|
21528
|
+
post?: never;
|
|
21529
|
+
delete?: never;
|
|
21530
|
+
options?: never;
|
|
21531
|
+
head?: never;
|
|
21532
|
+
patch?: never;
|
|
21533
|
+
trace?: never;
|
|
21534
|
+
};
|
|
21535
|
+
"/api/v1/reports/purchase-dashboard/return-reasons/": {
|
|
21536
|
+
parameters: {
|
|
21537
|
+
query?: never;
|
|
21538
|
+
header?: never;
|
|
21539
|
+
path?: never;
|
|
21540
|
+
cookie?: never;
|
|
21541
|
+
};
|
|
21542
|
+
/** Get Purchase Dashboard Return Reasons */
|
|
21543
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_return_reasons"];
|
|
21544
|
+
put?: never;
|
|
21545
|
+
post?: never;
|
|
21546
|
+
delete?: never;
|
|
21547
|
+
options?: never;
|
|
21548
|
+
head?: never;
|
|
21549
|
+
patch?: never;
|
|
21550
|
+
trace?: never;
|
|
21551
|
+
};
|
|
21552
|
+
"/api/v1/reports/purchase-dashboard/returns-by-stage/": {
|
|
21553
|
+
parameters: {
|
|
21554
|
+
query?: never;
|
|
21555
|
+
header?: never;
|
|
21556
|
+
path?: never;
|
|
21557
|
+
cookie?: never;
|
|
21558
|
+
};
|
|
21559
|
+
/** Get Purchase Dashboard Returns By Stage */
|
|
21560
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_returns_by_stage"];
|
|
21561
|
+
put?: never;
|
|
21562
|
+
post?: never;
|
|
21563
|
+
delete?: never;
|
|
21564
|
+
options?: never;
|
|
21565
|
+
head?: never;
|
|
21566
|
+
patch?: never;
|
|
21567
|
+
trace?: never;
|
|
21568
|
+
};
|
|
21569
|
+
"/api/v1/reports/purchase-dashboard/spend-by-branch/": {
|
|
21570
|
+
parameters: {
|
|
21571
|
+
query?: never;
|
|
21572
|
+
header?: never;
|
|
21573
|
+
path?: never;
|
|
21574
|
+
cookie?: never;
|
|
21575
|
+
};
|
|
21576
|
+
/** Get Purchase Dashboard Spend By Branch */
|
|
21577
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_spend_by_branch"];
|
|
21578
|
+
put?: never;
|
|
21579
|
+
post?: never;
|
|
21580
|
+
delete?: never;
|
|
21581
|
+
options?: never;
|
|
21582
|
+
head?: never;
|
|
21583
|
+
patch?: never;
|
|
21584
|
+
trace?: never;
|
|
21585
|
+
};
|
|
21586
|
+
"/api/v1/reports/purchase-dashboard/approval-status/": {
|
|
21587
|
+
parameters: {
|
|
21588
|
+
query?: never;
|
|
21589
|
+
header?: never;
|
|
21590
|
+
path?: never;
|
|
21591
|
+
cookie?: never;
|
|
21592
|
+
};
|
|
21593
|
+
/** Get Purchase Dashboard Approval Status */
|
|
21594
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_approval_status"];
|
|
21595
|
+
put?: never;
|
|
21596
|
+
post?: never;
|
|
21597
|
+
delete?: never;
|
|
21598
|
+
options?: never;
|
|
21599
|
+
head?: never;
|
|
21600
|
+
patch?: never;
|
|
21601
|
+
trace?: never;
|
|
21602
|
+
};
|
|
21603
|
+
"/api/v1/reports/purchase-dashboard/pipeline/": {
|
|
21604
|
+
parameters: {
|
|
21605
|
+
query?: never;
|
|
21606
|
+
header?: never;
|
|
21607
|
+
path?: never;
|
|
21608
|
+
cookie?: never;
|
|
21609
|
+
};
|
|
21610
|
+
/** Get Purchase Dashboard Pipeline */
|
|
21611
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_pipeline"];
|
|
21612
|
+
put?: never;
|
|
21613
|
+
post?: never;
|
|
21614
|
+
delete?: never;
|
|
21615
|
+
options?: never;
|
|
21616
|
+
head?: never;
|
|
21617
|
+
patch?: never;
|
|
21618
|
+
trace?: never;
|
|
21619
|
+
};
|
|
21620
|
+
"/api/v1/reports/purchase-dashboard/conversion-funnel/": {
|
|
21621
|
+
parameters: {
|
|
21622
|
+
query?: never;
|
|
21623
|
+
header?: never;
|
|
21624
|
+
path?: never;
|
|
21625
|
+
cookie?: never;
|
|
21626
|
+
};
|
|
21627
|
+
/** Get Purchase Dashboard Conversion Funnel */
|
|
21628
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_conversion_funnel"];
|
|
21629
|
+
put?: never;
|
|
21630
|
+
post?: never;
|
|
21631
|
+
delete?: never;
|
|
21632
|
+
options?: never;
|
|
21633
|
+
head?: never;
|
|
21634
|
+
patch?: never;
|
|
21635
|
+
trace?: never;
|
|
21636
|
+
};
|
|
21637
|
+
"/api/v1/reports/purchase-dashboard/cash-flow/": {
|
|
21638
|
+
parameters: {
|
|
21639
|
+
query?: never;
|
|
21640
|
+
header?: never;
|
|
21641
|
+
path?: never;
|
|
21642
|
+
cookie?: never;
|
|
21643
|
+
};
|
|
21644
|
+
/** Get Purchase Dashboard Cash Flow */
|
|
21645
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_cash_flow"];
|
|
21646
|
+
put?: never;
|
|
21647
|
+
post?: never;
|
|
21648
|
+
delete?: never;
|
|
21649
|
+
options?: never;
|
|
21650
|
+
head?: never;
|
|
21651
|
+
patch?: never;
|
|
21652
|
+
trace?: never;
|
|
21653
|
+
};
|
|
21654
|
+
"/api/v1/reports/purchase-dashboard/cash-flow/trend/": {
|
|
21655
|
+
parameters: {
|
|
21656
|
+
query?: never;
|
|
21657
|
+
header?: never;
|
|
21658
|
+
path?: never;
|
|
21659
|
+
cookie?: never;
|
|
21660
|
+
};
|
|
21661
|
+
/** Get Purchase Dashboard Cash Flow Trend */
|
|
21662
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_cash_flow_trend"];
|
|
21663
|
+
put?: never;
|
|
21664
|
+
post?: never;
|
|
21665
|
+
delete?: never;
|
|
21666
|
+
options?: never;
|
|
21667
|
+
head?: never;
|
|
21668
|
+
patch?: never;
|
|
21669
|
+
trace?: never;
|
|
21670
|
+
};
|
|
21671
|
+
"/api/v1/reports/purchase-dashboard/top-items/": {
|
|
21672
|
+
parameters: {
|
|
21673
|
+
query?: never;
|
|
21674
|
+
header?: never;
|
|
21675
|
+
path?: never;
|
|
21676
|
+
cookie?: never;
|
|
21677
|
+
};
|
|
21678
|
+
/** Get Purchase Dashboard Top Items */
|
|
21679
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_top_items"];
|
|
21680
|
+
put?: never;
|
|
21681
|
+
post?: never;
|
|
21682
|
+
delete?: never;
|
|
21683
|
+
options?: never;
|
|
21684
|
+
head?: never;
|
|
21685
|
+
patch?: never;
|
|
21686
|
+
trace?: never;
|
|
21687
|
+
};
|
|
21688
|
+
"/api/v1/reports/purchase-dashboard/top-suppliers/": {
|
|
21689
|
+
parameters: {
|
|
21690
|
+
query?: never;
|
|
21691
|
+
header?: never;
|
|
21692
|
+
path?: never;
|
|
21693
|
+
cookie?: never;
|
|
21694
|
+
};
|
|
21695
|
+
/** Get Purchase Dashboard Top Suppliers */
|
|
21696
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_top_suppliers"];
|
|
21697
|
+
put?: never;
|
|
21698
|
+
post?: never;
|
|
21699
|
+
delete?: never;
|
|
21700
|
+
options?: never;
|
|
21701
|
+
head?: never;
|
|
21702
|
+
patch?: never;
|
|
21703
|
+
trace?: never;
|
|
21704
|
+
};
|
|
21705
|
+
"/api/v1/reports/purchase-dashboard/top-branches/": {
|
|
21706
|
+
parameters: {
|
|
21707
|
+
query?: never;
|
|
21708
|
+
header?: never;
|
|
21709
|
+
path?: never;
|
|
21710
|
+
cookie?: never;
|
|
21711
|
+
};
|
|
21712
|
+
/** Get Purchase Dashboard Top Branches */
|
|
21713
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_top_branches"];
|
|
21714
|
+
put?: never;
|
|
21715
|
+
post?: never;
|
|
21716
|
+
delete?: never;
|
|
21717
|
+
options?: never;
|
|
21718
|
+
head?: never;
|
|
21719
|
+
patch?: never;
|
|
21720
|
+
trace?: never;
|
|
21721
|
+
};
|
|
21722
|
+
"/api/v1/reports/purchase-dashboard/alerts/": {
|
|
21723
|
+
parameters: {
|
|
21724
|
+
query?: never;
|
|
21725
|
+
header?: never;
|
|
21726
|
+
path?: never;
|
|
21727
|
+
cookie?: never;
|
|
21728
|
+
};
|
|
21729
|
+
/** Get Purchase Dashboard Alerts */
|
|
21730
|
+
get: operations["reports_purchasedashboard_views_get_purchase_dashboard_alerts"];
|
|
21731
|
+
put?: never;
|
|
21732
|
+
post?: never;
|
|
21733
|
+
delete?: never;
|
|
21734
|
+
options?: never;
|
|
21735
|
+
head?: never;
|
|
21736
|
+
patch?: never;
|
|
21737
|
+
trace?: never;
|
|
21738
|
+
};
|
|
21467
21739
|
"/api/v1/task/status": {
|
|
21468
21740
|
parameters: {
|
|
21469
21741
|
query?: never;
|
|
@@ -25603,6 +25875,11 @@ export interface components {
|
|
|
25603
25875
|
* @default []
|
|
25604
25876
|
*/
|
|
25605
25877
|
accounting: components["schemas"]["BasePermissionsSchema_Report_Accounting"];
|
|
25878
|
+
/**
|
|
25879
|
+
* @description purchase actions
|
|
25880
|
+
* @default []
|
|
25881
|
+
*/
|
|
25882
|
+
purchase: components["schemas"]["BasePermissionsSchema_Report_Purchase"];
|
|
25606
25883
|
/**
|
|
25607
25884
|
* @description sales actions
|
|
25608
25885
|
* @default []
|
|
@@ -25875,6 +26152,20 @@ export interface components {
|
|
|
25875
26152
|
* @enum {string}
|
|
25876
26153
|
*/
|
|
25877
26154
|
BasePermissionsSchema_Report_Project_ProjectstatementEnum: "export" | "view";
|
|
26155
|
+
/** BasePermissionsSchema_Report_Purchase */
|
|
26156
|
+
BasePermissionsSchema_Report_Purchase: {
|
|
26157
|
+
/**
|
|
26158
|
+
* Purchasedashboard
|
|
26159
|
+
* @description purchasedashboard actions
|
|
26160
|
+
* @default []
|
|
26161
|
+
*/
|
|
26162
|
+
purchasedashboard: components["schemas"]["BasePermissionsSchema_Report_Purchase_PurchasedashboardEnum"][];
|
|
26163
|
+
};
|
|
26164
|
+
/**
|
|
26165
|
+
* BasePermissionsSchema_Report_Purchase_PurchasedashboardEnum
|
|
26166
|
+
* @constant
|
|
26167
|
+
*/
|
|
26168
|
+
BasePermissionsSchema_Report_Purchase_PurchasedashboardEnum: "view";
|
|
25878
26169
|
/** BasePermissionsSchema_Report_Sales */
|
|
25879
26170
|
BasePermissionsSchema_Report_Sales: {
|
|
25880
26171
|
/**
|
|
@@ -25919,6 +26210,12 @@ export interface components {
|
|
|
25919
26210
|
* @default []
|
|
25920
26211
|
*/
|
|
25921
26212
|
salesbywarehousereport: components["schemas"]["BasePermissionsSchema_Report_Sales_SalesbywarehousereportEnum"][];
|
|
26213
|
+
/**
|
|
26214
|
+
* Salesdashboard
|
|
26215
|
+
* @description salesdashboard actions
|
|
26216
|
+
* @default []
|
|
26217
|
+
*/
|
|
26218
|
+
salesdashboard: components["schemas"]["BasePermissionsSchema_Report_Sales_SalesdashboardEnum"][];
|
|
25922
26219
|
/**
|
|
25923
26220
|
* Salessummaryreport
|
|
25924
26221
|
* @description salessummaryreport actions
|
|
@@ -25931,12 +26228,6 @@ export interface components {
|
|
|
25931
26228
|
* @default []
|
|
25932
26229
|
*/
|
|
25933
26230
|
salestrendreport: components["schemas"]["BasePermissionsSchema_Report_Sales_SalestrendreportEnum"][];
|
|
25934
|
-
/**
|
|
25935
|
-
* Salesdashboard
|
|
25936
|
-
* @description salesdashboard actions
|
|
25937
|
-
* @default []
|
|
25938
|
-
*/
|
|
25939
|
-
salesdashboard: string[];
|
|
25940
26231
|
};
|
|
25941
26232
|
/**
|
|
25942
26233
|
* BasePermissionsSchema_Report_Sales_ReceivablesbycustomerregionreportEnum
|
|
@@ -25973,6 +26264,11 @@ export interface components {
|
|
|
25973
26264
|
* @enum {string}
|
|
25974
26265
|
*/
|
|
25975
26266
|
BasePermissionsSchema_Report_Sales_SalesbywarehousereportEnum: "export" | "view";
|
|
26267
|
+
/**
|
|
26268
|
+
* BasePermissionsSchema_Report_Sales_SalesdashboardEnum
|
|
26269
|
+
* @constant
|
|
26270
|
+
*/
|
|
26271
|
+
BasePermissionsSchema_Report_Sales_SalesdashboardEnum: "view";
|
|
25976
26272
|
/**
|
|
25977
26273
|
* BasePermissionsSchema_Report_Sales_SalessummaryreportEnum
|
|
25978
26274
|
* @enum {string}
|
|
@@ -29895,7 +30191,7 @@ export interface components {
|
|
|
29895
30191
|
description?: string | null;
|
|
29896
30192
|
/**
|
|
29897
30193
|
* Skucode
|
|
29898
|
-
* @description
|
|
30194
|
+
* @description SKU code for this variation. Can be updated when regenerating variation SKUs after a template SKU change.
|
|
29899
30195
|
*/
|
|
29900
30196
|
skuCode?: string | null;
|
|
29901
30197
|
/**
|
|
@@ -30543,9 +30839,9 @@ export interface components {
|
|
|
30543
30839
|
* @default []
|
|
30544
30840
|
* @example {
|
|
30545
30841
|
* "active": false,
|
|
30546
|
-
* "defaultSellingPrice": 10,
|
|
30547
30842
|
* "id": "uuid",
|
|
30548
|
-
* "index": 0
|
|
30843
|
+
* "index": 0,
|
|
30844
|
+
* "skuCode": "TEMPLATE-RED"
|
|
30549
30845
|
* }
|
|
30550
30846
|
*/
|
|
30551
30847
|
update: components["schemas"]["PatchChildItemSchema"][];
|
|
@@ -65426,12 +65722,12 @@ export interface components {
|
|
|
65426
65722
|
* Format: date
|
|
65427
65723
|
*/
|
|
65428
65724
|
periodEnd: string;
|
|
65429
|
-
|
|
65430
|
-
/**
|
|
65431
|
-
|
|
65432
|
-
|
|
65433
|
-
/**
|
|
65434
|
-
|
|
65725
|
+
cashPaid: components["schemas"]["CurrencyAmountSchema"];
|
|
65726
|
+
/** Cashpaidtransactioncount */
|
|
65727
|
+
cashPaidTransactionCount: number;
|
|
65728
|
+
cashRefunded: components["schemas"]["CurrencyAmountSchema"];
|
|
65729
|
+
/** Cashrefundedtransactioncount */
|
|
65730
|
+
cashRefundedTransactionCount: number;
|
|
65435
65731
|
};
|
|
65436
65732
|
/** CashFlowTrendSchema */
|
|
65437
65733
|
CashFlowTrendSchema: {
|
|
@@ -65664,10 +65960,7 @@ export interface components {
|
|
|
65664
65960
|
periodEnd: string | null;
|
|
65665
65961
|
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
65666
65962
|
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
65667
|
-
summaryCards: components["schemas"]["
|
|
65668
|
-
salesBreakdown: components["schemas"]["SalesBreakdownSchema"];
|
|
65669
|
-
orderMetrics: components["schemas"]["OrderMetricsSchema"];
|
|
65670
|
-
returnSummary: components["schemas"]["ReturnSummarySchema"];
|
|
65963
|
+
summaryCards: components["schemas"]["PurchaseSummaryCardsSchema"];
|
|
65671
65964
|
};
|
|
65672
65965
|
/** DashboardPipelineResponseSchema */
|
|
65673
65966
|
DashboardPipelineResponseSchema: {
|
|
@@ -65677,7 +65970,7 @@ export interface components {
|
|
|
65677
65970
|
periodEnd: string | null;
|
|
65678
65971
|
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
65679
65972
|
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
65680
|
-
|
|
65973
|
+
purchasePipeline: components["schemas"]["PurchasePipelineSchema"];
|
|
65681
65974
|
};
|
|
65682
65975
|
/** DashboardInvoiceInsightsResponseSchema */
|
|
65683
65976
|
DashboardInvoiceInsightsResponseSchema: {
|
|
@@ -65697,7 +65990,7 @@ export interface components {
|
|
|
65697
65990
|
periodEnd: string | null;
|
|
65698
65991
|
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
65699
65992
|
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
65700
|
-
conversionFunnel: components["schemas"]["
|
|
65993
|
+
conversionFunnel: components["schemas"]["PurchaseConversionFunnelSchema"];
|
|
65701
65994
|
};
|
|
65702
65995
|
/** DashboardCashFlowResponseSchema */
|
|
65703
65996
|
DashboardCashFlowResponseSchema: {
|
|
@@ -65707,7 +66000,7 @@ export interface components {
|
|
|
65707
66000
|
periodEnd: string | null;
|
|
65708
66001
|
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
65709
66002
|
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
65710
|
-
cashFlowAnalysis: components["schemas"]["
|
|
66003
|
+
cashFlowAnalysis: components["schemas"]["PurchaseCashFlowAnalysisSchema"];
|
|
65711
66004
|
};
|
|
65712
66005
|
/** DashboardCashFlowTrendResponseSchema */
|
|
65713
66006
|
DashboardCashFlowTrendResponseSchema: {
|
|
@@ -65717,7 +66010,7 @@ export interface components {
|
|
|
65717
66010
|
periodEnd: string | null;
|
|
65718
66011
|
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
65719
66012
|
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
65720
|
-
cashFlowTrend: components["schemas"]["
|
|
66013
|
+
cashFlowTrend: components["schemas"]["PurchaseCashFlowTrendSchema"];
|
|
65721
66014
|
};
|
|
65722
66015
|
/** DashboardItemCostDistributionResponseSchema */
|
|
65723
66016
|
DashboardItemCostDistributionResponseSchema: {
|
|
@@ -65750,7 +66043,7 @@ export interface components {
|
|
|
65750
66043
|
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
65751
66044
|
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
65752
66045
|
/** Topperformingitems */
|
|
65753
|
-
topPerformingItems: components["schemas"]["
|
|
66046
|
+
topPerformingItems: components["schemas"]["TopPerformingPurchaseItemSchema"][];
|
|
65754
66047
|
};
|
|
65755
66048
|
/** DashboardTopCustomersResponseSchema */
|
|
65756
66049
|
DashboardTopCustomersResponseSchema: {
|
|
@@ -65772,7 +66065,7 @@ export interface components {
|
|
|
65772
66065
|
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
65773
66066
|
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
65774
66067
|
/** Topperformingbranches */
|
|
65775
|
-
topPerformingBranches: components["schemas"]["
|
|
66068
|
+
topPerformingBranches: components["schemas"]["TopPerformingPurchaseBranchSchema"][];
|
|
65776
66069
|
};
|
|
65777
66070
|
/** ReceivablesByCustomerRegionContactSchema */
|
|
65778
66071
|
ReceivablesByCustomerRegionContactSchema: {
|
|
@@ -65860,6 +66153,286 @@ export interface components {
|
|
|
65860
66153
|
ReceivablesByCustomerRegionReportSchema: {
|
|
65861
66154
|
reportMeta: components["schemas"]["ReceivablesByCustomerRegionReportMetaSchema"];
|
|
65862
66155
|
};
|
|
66156
|
+
/** ApprovalStatusByTypeSchema */
|
|
66157
|
+
ApprovalStatusByTypeSchema: {
|
|
66158
|
+
/** Documenttype */
|
|
66159
|
+
documentType: string;
|
|
66160
|
+
/** Approvedcount */
|
|
66161
|
+
approvedCount: number;
|
|
66162
|
+
/** Draftcount */
|
|
66163
|
+
draftCount: number;
|
|
66164
|
+
/** Pendingcount */
|
|
66165
|
+
pendingCount: number;
|
|
66166
|
+
/** Rejectedcount */
|
|
66167
|
+
rejectedCount: number;
|
|
66168
|
+
/** Notrequiredcount */
|
|
66169
|
+
notRequiredCount: number;
|
|
66170
|
+
};
|
|
66171
|
+
/** BranchSpendSchema */
|
|
66172
|
+
BranchSpendSchema: {
|
|
66173
|
+
/**
|
|
66174
|
+
* Branchid
|
|
66175
|
+
* Format: uuid
|
|
66176
|
+
*/
|
|
66177
|
+
branchId: string;
|
|
66178
|
+
/** Branchname */
|
|
66179
|
+
branchName: string;
|
|
66180
|
+
purchaseAmount: components["schemas"]["CurrencyAmountSchema"];
|
|
66181
|
+
};
|
|
66182
|
+
/** LifecycleComparisonSchema */
|
|
66183
|
+
LifecycleComparisonSchema: {
|
|
66184
|
+
ordered: components["schemas"]["CurrencyAmountSchema"];
|
|
66185
|
+
invoiced: components["schemas"]["CurrencyAmountSchema"];
|
|
66186
|
+
received: components["schemas"]["CurrencyAmountSchema"];
|
|
66187
|
+
paid: components["schemas"]["CurrencyAmountSchema"];
|
|
66188
|
+
};
|
|
66189
|
+
/** PurchaseCashFlowAnalysisSchema */
|
|
66190
|
+
PurchaseCashFlowAnalysisSchema: {
|
|
66191
|
+
advancePayments: components["schemas"]["CurrencyAmountSchema"];
|
|
66192
|
+
paymentVouchers: components["schemas"]["CurrencyAmountSchema"];
|
|
66193
|
+
pendingPayables: components["schemas"]["CurrencyAmountSchema"];
|
|
66194
|
+
refundVouchers: components["schemas"]["CurrencyAmountSchema"];
|
|
66195
|
+
};
|
|
66196
|
+
/** PurchaseCashFlowTrendSchema */
|
|
66197
|
+
PurchaseCashFlowTrendSchema: {
|
|
66198
|
+
granularity: components["schemas"]["SalesReportGranularity"];
|
|
66199
|
+
/** Periods */
|
|
66200
|
+
periods: components["schemas"]["CashFlowTrendPeriodSchema"][];
|
|
66201
|
+
};
|
|
66202
|
+
/** PurchaseConversionFunnelSchema */
|
|
66203
|
+
PurchaseConversionFunnelSchema: {
|
|
66204
|
+
quotations: components["schemas"]["FunnelStageSchema"];
|
|
66205
|
+
orders: components["schemas"]["FunnelStageSchema"];
|
|
66206
|
+
invoices: components["schemas"]["FunnelStageSchema"];
|
|
66207
|
+
paid: components["schemas"]["FunnelStageSchema"];
|
|
66208
|
+
/** Quotationtoorder */
|
|
66209
|
+
quotationToOrder: string | null;
|
|
66210
|
+
/** Ordertoinvoice */
|
|
66211
|
+
orderToInvoice: string | null;
|
|
66212
|
+
/** Invoicetopaid */
|
|
66213
|
+
invoiceToPaid: string | null;
|
|
66214
|
+
};
|
|
66215
|
+
/** PurchaseDashboardAlertSchema */
|
|
66216
|
+
PurchaseDashboardAlertSchema: {
|
|
66217
|
+
/** Alerttype */
|
|
66218
|
+
alertType: string;
|
|
66219
|
+
/** Affectedrecords */
|
|
66220
|
+
affectedRecords: number;
|
|
66221
|
+
amount?: components["schemas"]["CurrencyAmountSchema"] | null;
|
|
66222
|
+
};
|
|
66223
|
+
/** PurchaseDashboardSchema */
|
|
66224
|
+
PurchaseDashboardSchema: {
|
|
66225
|
+
/** Periodstart */
|
|
66226
|
+
periodStart: string | null;
|
|
66227
|
+
/** Periodend */
|
|
66228
|
+
periodEnd: string | null;
|
|
66229
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66230
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66231
|
+
summaryCards: components["schemas"]["PurchaseSummaryCardsSchema"];
|
|
66232
|
+
purchaseSpendTrend: components["schemas"]["PurchaseSpendTrendSchema"];
|
|
66233
|
+
lifecycleComparison: components["schemas"]["LifecycleComparisonSchema"];
|
|
66234
|
+
/** Returnreasons */
|
|
66235
|
+
returnReasons: components["schemas"]["ReturnReasonBreakdownSchema"][];
|
|
66236
|
+
returnsValueByStage: components["schemas"]["ReturnsValueByStageSchema"];
|
|
66237
|
+
/** Spendbybranch */
|
|
66238
|
+
spendByBranch: components["schemas"]["BranchSpendSchema"][];
|
|
66239
|
+
/** Approvalstatusbydocumenttype */
|
|
66240
|
+
approvalStatusByDocumentType: components["schemas"]["ApprovalStatusByTypeSchema"][];
|
|
66241
|
+
purchasePipeline: components["schemas"]["PurchasePipelineSchema"];
|
|
66242
|
+
conversionFunnel: components["schemas"]["PurchaseConversionFunnelSchema"];
|
|
66243
|
+
cashFlowAnalysis: components["schemas"]["PurchaseCashFlowAnalysisSchema"];
|
|
66244
|
+
cashFlowTrend: components["schemas"]["PurchaseCashFlowTrendSchema"];
|
|
66245
|
+
/** Topperformingitems */
|
|
66246
|
+
topPerformingItems: components["schemas"]["TopPerformingPurchaseItemSchema"][];
|
|
66247
|
+
/** Topperformingsuppliers */
|
|
66248
|
+
topPerformingSuppliers: components["schemas"]["TopPerformingSupplierSchema"][];
|
|
66249
|
+
/** Topperformingbranches */
|
|
66250
|
+
topPerformingBranches: components["schemas"]["TopPerformingPurchaseBranchSchema"][];
|
|
66251
|
+
/** Alerts */
|
|
66252
|
+
alerts: components["schemas"]["PurchaseDashboardAlertSchema"][];
|
|
66253
|
+
};
|
|
66254
|
+
/** PurchasePipelineSchema */
|
|
66255
|
+
PurchasePipelineSchema: {
|
|
66256
|
+
quotationsConverted: components["schemas"]["QuotationsConvertedPipelineSchema"];
|
|
66257
|
+
orders: components["schemas"]["PipelineStageMetricsSchema"];
|
|
66258
|
+
receipts: components["schemas"]["PipelineStageMetricsSchema"];
|
|
66259
|
+
paymentVouchers: components["schemas"]["PipelineStageMetricsSchema"];
|
|
66260
|
+
payments: components["schemas"]["CurrencyAmountSchema"];
|
|
66261
|
+
};
|
|
66262
|
+
/** PurchaseSpendTrendPointSchema */
|
|
66263
|
+
PurchaseSpendTrendPointSchema: {
|
|
66264
|
+
/**
|
|
66265
|
+
* Periodstart
|
|
66266
|
+
* Format: date
|
|
66267
|
+
*/
|
|
66268
|
+
periodStart: string;
|
|
66269
|
+
/**
|
|
66270
|
+
* Periodend
|
|
66271
|
+
* Format: date
|
|
66272
|
+
*/
|
|
66273
|
+
periodEnd: string;
|
|
66274
|
+
currentPeriodSpend: components["schemas"]["CurrencyAmountSchema"];
|
|
66275
|
+
previousPeriodSpend: components["schemas"]["CurrencyAmountSchema"];
|
|
66276
|
+
};
|
|
66277
|
+
/** PurchaseSpendTrendSchema */
|
|
66278
|
+
PurchaseSpendTrendSchema: {
|
|
66279
|
+
granularity: components["schemas"]["SalesReportGranularity"];
|
|
66280
|
+
/** Periods */
|
|
66281
|
+
periods: components["schemas"]["PurchaseSpendTrendPointSchema"][];
|
|
66282
|
+
};
|
|
66283
|
+
/** PurchaseSummaryCardsSchema */
|
|
66284
|
+
PurchaseSummaryCardsSchema: {
|
|
66285
|
+
totalPurchaseSpend: components["schemas"]["CurrencyAmountSchema"];
|
|
66286
|
+
/** Totalpurchaseorders */
|
|
66287
|
+
totalPurchaseOrders: number;
|
|
66288
|
+
/** Pendingapprovals */
|
|
66289
|
+
pendingApprovals: number;
|
|
66290
|
+
advancePayments: components["schemas"]["CurrencyAmountSchema"];
|
|
66291
|
+
refunds: components["schemas"]["CurrencyAmountSchema"];
|
|
66292
|
+
creditNotes: components["schemas"]["CurrencyAmountSchema"];
|
|
66293
|
+
};
|
|
66294
|
+
/** ReturnReasonBreakdownSchema */
|
|
66295
|
+
ReturnReasonBreakdownSchema: {
|
|
66296
|
+
/** Reasonname */
|
|
66297
|
+
reasonName: string;
|
|
66298
|
+
/** Documentcount */
|
|
66299
|
+
documentCount: number;
|
|
66300
|
+
};
|
|
66301
|
+
/** ReturnsValueByStageSchema */
|
|
66302
|
+
ReturnsValueByStageSchema: {
|
|
66303
|
+
returnOrderValue: components["schemas"]["CurrencyAmountSchema"];
|
|
66304
|
+
returnInvoiceValue: components["schemas"]["CurrencyAmountSchema"];
|
|
66305
|
+
creditNoteValue: components["schemas"]["CurrencyAmountSchema"];
|
|
66306
|
+
refundVoucherValue: components["schemas"]["CurrencyAmountSchema"];
|
|
66307
|
+
};
|
|
66308
|
+
/** TopPerformingPurchaseBranchSchema */
|
|
66309
|
+
TopPerformingPurchaseBranchSchema: {
|
|
66310
|
+
/**
|
|
66311
|
+
* Branchid
|
|
66312
|
+
* Format: uuid
|
|
66313
|
+
*/
|
|
66314
|
+
branchId: string;
|
|
66315
|
+
/** Branchname */
|
|
66316
|
+
branchName: string;
|
|
66317
|
+
purchasedAmount: components["schemas"]["CurrencyAmountSchema"];
|
|
66318
|
+
/** Purchasesharepercentage */
|
|
66319
|
+
purchaseSharePercentage: string | null;
|
|
66320
|
+
};
|
|
66321
|
+
/** TopPerformingPurchaseItemSchema */
|
|
66322
|
+
TopPerformingPurchaseItemSchema: {
|
|
66323
|
+
/**
|
|
66324
|
+
* Itemid
|
|
66325
|
+
* Format: uuid
|
|
66326
|
+
*/
|
|
66327
|
+
itemId: string;
|
|
66328
|
+
/** Itemname */
|
|
66329
|
+
itemName: string;
|
|
66330
|
+
purchaseAmount: components["schemas"]["CurrencyAmountSchema"];
|
|
66331
|
+
/** Numberoforders */
|
|
66332
|
+
numberOfOrders: number;
|
|
66333
|
+
/** Growthpercentage */
|
|
66334
|
+
growthPercentage: string | null;
|
|
66335
|
+
};
|
|
66336
|
+
/** TopPerformingSupplierSchema */
|
|
66337
|
+
TopPerformingSupplierSchema: {
|
|
66338
|
+
/**
|
|
66339
|
+
* Supplierid
|
|
66340
|
+
* Format: uuid
|
|
66341
|
+
*/
|
|
66342
|
+
supplierId: string;
|
|
66343
|
+
/** Suppliername */
|
|
66344
|
+
supplierName: string;
|
|
66345
|
+
purchasedAmount: components["schemas"]["CurrencyAmountSchema"];
|
|
66346
|
+
/** Numberoforders */
|
|
66347
|
+
numberOfOrders: number;
|
|
66348
|
+
/** Growthpercentage */
|
|
66349
|
+
growthPercentage: string | null;
|
|
66350
|
+
};
|
|
66351
|
+
/** DashboardSpendTrendResponseSchema */
|
|
66352
|
+
DashboardSpendTrendResponseSchema: {
|
|
66353
|
+
/** Periodstart */
|
|
66354
|
+
periodStart: string | null;
|
|
66355
|
+
/** Periodend */
|
|
66356
|
+
periodEnd: string | null;
|
|
66357
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66358
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66359
|
+
purchaseSpendTrend: components["schemas"]["PurchaseSpendTrendSchema"];
|
|
66360
|
+
};
|
|
66361
|
+
/** DashboardLifecycleComparisonResponseSchema */
|
|
66362
|
+
DashboardLifecycleComparisonResponseSchema: {
|
|
66363
|
+
/** Periodstart */
|
|
66364
|
+
periodStart: string | null;
|
|
66365
|
+
/** Periodend */
|
|
66366
|
+
periodEnd: string | null;
|
|
66367
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66368
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66369
|
+
lifecycleComparison: components["schemas"]["LifecycleComparisonSchema"];
|
|
66370
|
+
};
|
|
66371
|
+
/** DashboardReturnReasonsResponseSchema */
|
|
66372
|
+
DashboardReturnReasonsResponseSchema: {
|
|
66373
|
+
/** Periodstart */
|
|
66374
|
+
periodStart: string | null;
|
|
66375
|
+
/** Periodend */
|
|
66376
|
+
periodEnd: string | null;
|
|
66377
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66378
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66379
|
+
/** Returnreasons */
|
|
66380
|
+
returnReasons: components["schemas"]["ReturnReasonBreakdownSchema"][];
|
|
66381
|
+
};
|
|
66382
|
+
/** DashboardReturnsByStageResponseSchema */
|
|
66383
|
+
DashboardReturnsByStageResponseSchema: {
|
|
66384
|
+
/** Periodstart */
|
|
66385
|
+
periodStart: string | null;
|
|
66386
|
+
/** Periodend */
|
|
66387
|
+
periodEnd: string | null;
|
|
66388
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66389
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66390
|
+
returnsValueByStage: components["schemas"]["ReturnsValueByStageSchema"];
|
|
66391
|
+
};
|
|
66392
|
+
/** DashboardSpendByBranchResponseSchema */
|
|
66393
|
+
DashboardSpendByBranchResponseSchema: {
|
|
66394
|
+
/** Periodstart */
|
|
66395
|
+
periodStart: string | null;
|
|
66396
|
+
/** Periodend */
|
|
66397
|
+
periodEnd: string | null;
|
|
66398
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66399
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66400
|
+
/** Spendbybranch */
|
|
66401
|
+
spendByBranch: components["schemas"]["BranchSpendSchema"][];
|
|
66402
|
+
};
|
|
66403
|
+
/** DashboardApprovalStatusResponseSchema */
|
|
66404
|
+
DashboardApprovalStatusResponseSchema: {
|
|
66405
|
+
/** Periodstart */
|
|
66406
|
+
periodStart: string | null;
|
|
66407
|
+
/** Periodend */
|
|
66408
|
+
periodEnd: string | null;
|
|
66409
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66410
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66411
|
+
/** Approvalstatusbydocumenttype */
|
|
66412
|
+
approvalStatusByDocumentType: components["schemas"]["ApprovalStatusByTypeSchema"][];
|
|
66413
|
+
};
|
|
66414
|
+
/** DashboardTopSuppliersResponseSchema */
|
|
66415
|
+
DashboardTopSuppliersResponseSchema: {
|
|
66416
|
+
/** Periodstart */
|
|
66417
|
+
periodStart: string | null;
|
|
66418
|
+
/** Periodend */
|
|
66419
|
+
periodEnd: string | null;
|
|
66420
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66421
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66422
|
+
/** Topperformingsuppliers */
|
|
66423
|
+
topPerformingSuppliers: components["schemas"]["TopPerformingSupplierSchema"][];
|
|
66424
|
+
};
|
|
66425
|
+
/** DashboardAlertsResponseSchema */
|
|
66426
|
+
DashboardAlertsResponseSchema: {
|
|
66427
|
+
/** Periodstart */
|
|
66428
|
+
periodStart: string | null;
|
|
66429
|
+
/** Periodend */
|
|
66430
|
+
periodEnd: string | null;
|
|
66431
|
+
primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
|
|
66432
|
+
secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
|
|
66433
|
+
/** Alerts */
|
|
66434
|
+
alerts: components["schemas"]["PurchaseDashboardAlertSchema"][];
|
|
66435
|
+
};
|
|
65863
66436
|
/** RetrieveStatus */
|
|
65864
66437
|
RetrieveStatus: {
|
|
65865
66438
|
/**
|
|
@@ -111282,18 +111855,557 @@ export interface operations {
|
|
|
111282
111855
|
};
|
|
111283
111856
|
};
|
|
111284
111857
|
};
|
|
111285
|
-
reports_salesreport_views_get_sales_by_warehouse_report: {
|
|
111858
|
+
reports_salesreport_views_get_sales_by_warehouse_report: {
|
|
111859
|
+
parameters: {
|
|
111860
|
+
query?: {
|
|
111861
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111862
|
+
/** @description Start date (YYYY-MM-DD) for custom period */
|
|
111863
|
+
startDate?: string | null;
|
|
111864
|
+
/** @description End date (YYYY-MM-DD) for custom period */
|
|
111865
|
+
endDate?: string | null;
|
|
111866
|
+
/** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
|
|
111867
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111868
|
+
branchesIds?: string[] | null;
|
|
111869
|
+
warehousesIds?: string[] | null;
|
|
111870
|
+
};
|
|
111871
|
+
header?: never;
|
|
111872
|
+
path?: never;
|
|
111873
|
+
cookie?: never;
|
|
111874
|
+
};
|
|
111875
|
+
requestBody?: never;
|
|
111876
|
+
responses: {
|
|
111877
|
+
/** @description OK */
|
|
111878
|
+
200: {
|
|
111879
|
+
headers: {
|
|
111880
|
+
[name: string]: unknown;
|
|
111881
|
+
};
|
|
111882
|
+
content: {
|
|
111883
|
+
"application/json": components["schemas"]["SalesByWarehouseListSchema"];
|
|
111884
|
+
};
|
|
111885
|
+
};
|
|
111886
|
+
/** @description Bad Request */
|
|
111887
|
+
400: {
|
|
111888
|
+
headers: {
|
|
111889
|
+
[name: string]: unknown;
|
|
111890
|
+
};
|
|
111891
|
+
content: {
|
|
111892
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
111893
|
+
};
|
|
111894
|
+
};
|
|
111895
|
+
/** @description Forbidden */
|
|
111896
|
+
403: {
|
|
111897
|
+
headers: {
|
|
111898
|
+
[name: string]: unknown;
|
|
111899
|
+
};
|
|
111900
|
+
content: {
|
|
111901
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
111902
|
+
};
|
|
111903
|
+
};
|
|
111904
|
+
};
|
|
111905
|
+
};
|
|
111906
|
+
reports_salesreport_views_get_sales_summary_report: {
|
|
111907
|
+
parameters: {
|
|
111908
|
+
query?: {
|
|
111909
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111910
|
+
/** @description Start date (YYYY-MM-DD) for custom period */
|
|
111911
|
+
startDate?: string | null;
|
|
111912
|
+
/** @description End date (YYYY-MM-DD) for custom period */
|
|
111913
|
+
endDate?: string | null;
|
|
111914
|
+
/** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
|
|
111915
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111916
|
+
branchesIds?: string[] | null;
|
|
111917
|
+
};
|
|
111918
|
+
header?: never;
|
|
111919
|
+
path?: never;
|
|
111920
|
+
cookie?: never;
|
|
111921
|
+
};
|
|
111922
|
+
requestBody?: never;
|
|
111923
|
+
responses: {
|
|
111924
|
+
/** @description OK */
|
|
111925
|
+
200: {
|
|
111926
|
+
headers: {
|
|
111927
|
+
[name: string]: unknown;
|
|
111928
|
+
};
|
|
111929
|
+
content: {
|
|
111930
|
+
"application/json": components["schemas"]["SalesSummarySchema"];
|
|
111931
|
+
};
|
|
111932
|
+
};
|
|
111933
|
+
/** @description Bad Request */
|
|
111934
|
+
400: {
|
|
111935
|
+
headers: {
|
|
111936
|
+
[name: string]: unknown;
|
|
111937
|
+
};
|
|
111938
|
+
content: {
|
|
111939
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
111940
|
+
};
|
|
111941
|
+
};
|
|
111942
|
+
/** @description Forbidden */
|
|
111943
|
+
403: {
|
|
111944
|
+
headers: {
|
|
111945
|
+
[name: string]: unknown;
|
|
111946
|
+
};
|
|
111947
|
+
content: {
|
|
111948
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
111949
|
+
};
|
|
111950
|
+
};
|
|
111951
|
+
};
|
|
111952
|
+
};
|
|
111953
|
+
reports_salesreport_views_get_sales_trend_report: {
|
|
111954
|
+
parameters: {
|
|
111955
|
+
query?: {
|
|
111956
|
+
/** @description Time granularity: daily, weekly, or monthly */
|
|
111957
|
+
granularity?: "daily" | "weekly" | "monthly";
|
|
111958
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111959
|
+
/** @description Start date (YYYY-MM-DD) for custom period */
|
|
111960
|
+
startDate?: string | null;
|
|
111961
|
+
/** @description End date (YYYY-MM-DD) for custom period */
|
|
111962
|
+
endDate?: string | null;
|
|
111963
|
+
/** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
|
|
111964
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111965
|
+
branchesIds?: string[] | null;
|
|
111966
|
+
};
|
|
111967
|
+
header?: never;
|
|
111968
|
+
path?: never;
|
|
111969
|
+
cookie?: never;
|
|
111970
|
+
};
|
|
111971
|
+
requestBody?: never;
|
|
111972
|
+
responses: {
|
|
111973
|
+
/** @description OK */
|
|
111974
|
+
200: {
|
|
111975
|
+
headers: {
|
|
111976
|
+
[name: string]: unknown;
|
|
111977
|
+
};
|
|
111978
|
+
content: {
|
|
111979
|
+
"application/json": components["schemas"]["SalesTrendSchema"];
|
|
111980
|
+
};
|
|
111981
|
+
};
|
|
111982
|
+
/** @description Bad Request */
|
|
111983
|
+
400: {
|
|
111984
|
+
headers: {
|
|
111985
|
+
[name: string]: unknown;
|
|
111986
|
+
};
|
|
111987
|
+
content: {
|
|
111988
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
111989
|
+
};
|
|
111990
|
+
};
|
|
111991
|
+
/** @description Forbidden */
|
|
111992
|
+
403: {
|
|
111993
|
+
headers: {
|
|
111994
|
+
[name: string]: unknown;
|
|
111995
|
+
};
|
|
111996
|
+
content: {
|
|
111997
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
111998
|
+
};
|
|
111999
|
+
};
|
|
112000
|
+
};
|
|
112001
|
+
};
|
|
112002
|
+
reports_salesdashboard_views_get_sales_dashboard_data: {
|
|
112003
|
+
parameters: {
|
|
112004
|
+
query?: {
|
|
112005
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112006
|
+
startDate?: string | null;
|
|
112007
|
+
endDate?: string | null;
|
|
112008
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112009
|
+
branchesIds?: string[] | null;
|
|
112010
|
+
cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
|
|
112011
|
+
};
|
|
112012
|
+
header?: never;
|
|
112013
|
+
path?: never;
|
|
112014
|
+
cookie?: never;
|
|
112015
|
+
};
|
|
112016
|
+
requestBody?: never;
|
|
112017
|
+
responses: {
|
|
112018
|
+
/** @description OK */
|
|
112019
|
+
200: {
|
|
112020
|
+
headers: {
|
|
112021
|
+
[name: string]: unknown;
|
|
112022
|
+
};
|
|
112023
|
+
content: {
|
|
112024
|
+
"application/json": components["schemas"]["SalesDashboardSchema"];
|
|
112025
|
+
};
|
|
112026
|
+
};
|
|
112027
|
+
/** @description Bad Request */
|
|
112028
|
+
400: {
|
|
112029
|
+
headers: {
|
|
112030
|
+
[name: string]: unknown;
|
|
112031
|
+
};
|
|
112032
|
+
content: {
|
|
112033
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112034
|
+
};
|
|
112035
|
+
};
|
|
112036
|
+
/** @description Forbidden */
|
|
112037
|
+
403: {
|
|
112038
|
+
headers: {
|
|
112039
|
+
[name: string]: unknown;
|
|
112040
|
+
};
|
|
112041
|
+
content: {
|
|
112042
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112043
|
+
};
|
|
112044
|
+
};
|
|
112045
|
+
};
|
|
112046
|
+
};
|
|
112047
|
+
reports_salesdashboard_views_get_sales_dashboard_summary: {
|
|
112048
|
+
parameters: {
|
|
112049
|
+
query?: {
|
|
112050
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112051
|
+
startDate?: string | null;
|
|
112052
|
+
endDate?: string | null;
|
|
112053
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112054
|
+
branchesIds?: string[] | null;
|
|
112055
|
+
};
|
|
112056
|
+
header?: never;
|
|
112057
|
+
path?: never;
|
|
112058
|
+
cookie?: never;
|
|
112059
|
+
};
|
|
112060
|
+
requestBody?: never;
|
|
112061
|
+
responses: {
|
|
112062
|
+
/** @description OK */
|
|
112063
|
+
200: {
|
|
112064
|
+
headers: {
|
|
112065
|
+
[name: string]: unknown;
|
|
112066
|
+
};
|
|
112067
|
+
content: {
|
|
112068
|
+
"application/json": components["schemas"]["DashboardSummaryResponseSchema"];
|
|
112069
|
+
};
|
|
112070
|
+
};
|
|
112071
|
+
/** @description Bad Request */
|
|
112072
|
+
400: {
|
|
112073
|
+
headers: {
|
|
112074
|
+
[name: string]: unknown;
|
|
112075
|
+
};
|
|
112076
|
+
content: {
|
|
112077
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112078
|
+
};
|
|
112079
|
+
};
|
|
112080
|
+
/** @description Forbidden */
|
|
112081
|
+
403: {
|
|
112082
|
+
headers: {
|
|
112083
|
+
[name: string]: unknown;
|
|
112084
|
+
};
|
|
112085
|
+
content: {
|
|
112086
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112087
|
+
};
|
|
112088
|
+
};
|
|
112089
|
+
};
|
|
112090
|
+
};
|
|
112091
|
+
reports_salesdashboard_views_get_sales_dashboard_pipeline: {
|
|
112092
|
+
parameters: {
|
|
112093
|
+
query?: {
|
|
112094
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112095
|
+
startDate?: string | null;
|
|
112096
|
+
endDate?: string | null;
|
|
112097
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112098
|
+
branchesIds?: string[] | null;
|
|
112099
|
+
};
|
|
112100
|
+
header?: never;
|
|
112101
|
+
path?: never;
|
|
112102
|
+
cookie?: never;
|
|
112103
|
+
};
|
|
112104
|
+
requestBody?: never;
|
|
112105
|
+
responses: {
|
|
112106
|
+
/** @description OK */
|
|
112107
|
+
200: {
|
|
112108
|
+
headers: {
|
|
112109
|
+
[name: string]: unknown;
|
|
112110
|
+
};
|
|
112111
|
+
content: {
|
|
112112
|
+
"application/json": components["schemas"]["DashboardPipelineResponseSchema"];
|
|
112113
|
+
};
|
|
112114
|
+
};
|
|
112115
|
+
/** @description Bad Request */
|
|
112116
|
+
400: {
|
|
112117
|
+
headers: {
|
|
112118
|
+
[name: string]: unknown;
|
|
112119
|
+
};
|
|
112120
|
+
content: {
|
|
112121
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112122
|
+
};
|
|
112123
|
+
};
|
|
112124
|
+
/** @description Forbidden */
|
|
112125
|
+
403: {
|
|
112126
|
+
headers: {
|
|
112127
|
+
[name: string]: unknown;
|
|
112128
|
+
};
|
|
112129
|
+
content: {
|
|
112130
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112131
|
+
};
|
|
112132
|
+
};
|
|
112133
|
+
};
|
|
112134
|
+
};
|
|
112135
|
+
reports_salesdashboard_views_get_sales_dashboard_invoice_insights: {
|
|
112136
|
+
parameters: {
|
|
112137
|
+
query?: {
|
|
112138
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112139
|
+
startDate?: string | null;
|
|
112140
|
+
endDate?: string | null;
|
|
112141
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112142
|
+
branchesIds?: string[] | null;
|
|
112143
|
+
};
|
|
112144
|
+
header?: never;
|
|
112145
|
+
path?: never;
|
|
112146
|
+
cookie?: never;
|
|
112147
|
+
};
|
|
112148
|
+
requestBody?: never;
|
|
112149
|
+
responses: {
|
|
112150
|
+
/** @description OK */
|
|
112151
|
+
200: {
|
|
112152
|
+
headers: {
|
|
112153
|
+
[name: string]: unknown;
|
|
112154
|
+
};
|
|
112155
|
+
content: {
|
|
112156
|
+
"application/json": components["schemas"]["DashboardInvoiceInsightsResponseSchema"];
|
|
112157
|
+
};
|
|
112158
|
+
};
|
|
112159
|
+
/** @description Bad Request */
|
|
112160
|
+
400: {
|
|
112161
|
+
headers: {
|
|
112162
|
+
[name: string]: unknown;
|
|
112163
|
+
};
|
|
112164
|
+
content: {
|
|
112165
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112166
|
+
};
|
|
112167
|
+
};
|
|
112168
|
+
/** @description Forbidden */
|
|
112169
|
+
403: {
|
|
112170
|
+
headers: {
|
|
112171
|
+
[name: string]: unknown;
|
|
112172
|
+
};
|
|
112173
|
+
content: {
|
|
112174
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112175
|
+
};
|
|
112176
|
+
};
|
|
112177
|
+
};
|
|
112178
|
+
};
|
|
112179
|
+
reports_salesdashboard_views_get_sales_dashboard_conversion_funnel: {
|
|
112180
|
+
parameters: {
|
|
112181
|
+
query?: {
|
|
112182
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112183
|
+
startDate?: string | null;
|
|
112184
|
+
endDate?: string | null;
|
|
112185
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112186
|
+
branchesIds?: string[] | null;
|
|
112187
|
+
};
|
|
112188
|
+
header?: never;
|
|
112189
|
+
path?: never;
|
|
112190
|
+
cookie?: never;
|
|
112191
|
+
};
|
|
112192
|
+
requestBody?: never;
|
|
112193
|
+
responses: {
|
|
112194
|
+
/** @description OK */
|
|
112195
|
+
200: {
|
|
112196
|
+
headers: {
|
|
112197
|
+
[name: string]: unknown;
|
|
112198
|
+
};
|
|
112199
|
+
content: {
|
|
112200
|
+
"application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
|
|
112201
|
+
};
|
|
112202
|
+
};
|
|
112203
|
+
/** @description Bad Request */
|
|
112204
|
+
400: {
|
|
112205
|
+
headers: {
|
|
112206
|
+
[name: string]: unknown;
|
|
112207
|
+
};
|
|
112208
|
+
content: {
|
|
112209
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112210
|
+
};
|
|
112211
|
+
};
|
|
112212
|
+
/** @description Forbidden */
|
|
112213
|
+
403: {
|
|
112214
|
+
headers: {
|
|
112215
|
+
[name: string]: unknown;
|
|
112216
|
+
};
|
|
112217
|
+
content: {
|
|
112218
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112219
|
+
};
|
|
112220
|
+
};
|
|
112221
|
+
};
|
|
112222
|
+
};
|
|
112223
|
+
reports_salesdashboard_views_get_sales_dashboard_cash_flow: {
|
|
112224
|
+
parameters: {
|
|
112225
|
+
query?: {
|
|
112226
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112227
|
+
startDate?: string | null;
|
|
112228
|
+
endDate?: string | null;
|
|
112229
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112230
|
+
branchesIds?: string[] | null;
|
|
112231
|
+
};
|
|
112232
|
+
header?: never;
|
|
112233
|
+
path?: never;
|
|
112234
|
+
cookie?: never;
|
|
112235
|
+
};
|
|
112236
|
+
requestBody?: never;
|
|
112237
|
+
responses: {
|
|
112238
|
+
/** @description OK */
|
|
112239
|
+
200: {
|
|
112240
|
+
headers: {
|
|
112241
|
+
[name: string]: unknown;
|
|
112242
|
+
};
|
|
112243
|
+
content: {
|
|
112244
|
+
"application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
|
|
112245
|
+
};
|
|
112246
|
+
};
|
|
112247
|
+
/** @description Bad Request */
|
|
112248
|
+
400: {
|
|
112249
|
+
headers: {
|
|
112250
|
+
[name: string]: unknown;
|
|
112251
|
+
};
|
|
112252
|
+
content: {
|
|
112253
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112254
|
+
};
|
|
112255
|
+
};
|
|
112256
|
+
/** @description Forbidden */
|
|
112257
|
+
403: {
|
|
112258
|
+
headers: {
|
|
112259
|
+
[name: string]: unknown;
|
|
112260
|
+
};
|
|
112261
|
+
content: {
|
|
112262
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112263
|
+
};
|
|
112264
|
+
};
|
|
112265
|
+
};
|
|
112266
|
+
};
|
|
112267
|
+
reports_salesdashboard_views_get_sales_dashboard_cash_flow_trend: {
|
|
112268
|
+
parameters: {
|
|
112269
|
+
query?: {
|
|
112270
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112271
|
+
startDate?: string | null;
|
|
112272
|
+
endDate?: string | null;
|
|
112273
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112274
|
+
branchesIds?: string[] | null;
|
|
112275
|
+
/** @description Daily, weekly, or monthly buckets within the selected period */
|
|
112276
|
+
granularity?: "daily" | "weekly" | "monthly";
|
|
112277
|
+
};
|
|
112278
|
+
header?: never;
|
|
112279
|
+
path?: never;
|
|
112280
|
+
cookie?: never;
|
|
112281
|
+
};
|
|
112282
|
+
requestBody?: never;
|
|
112283
|
+
responses: {
|
|
112284
|
+
/** @description OK */
|
|
112285
|
+
200: {
|
|
112286
|
+
headers: {
|
|
112287
|
+
[name: string]: unknown;
|
|
112288
|
+
};
|
|
112289
|
+
content: {
|
|
112290
|
+
"application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
|
|
112291
|
+
};
|
|
112292
|
+
};
|
|
112293
|
+
/** @description Bad Request */
|
|
112294
|
+
400: {
|
|
112295
|
+
headers: {
|
|
112296
|
+
[name: string]: unknown;
|
|
112297
|
+
};
|
|
112298
|
+
content: {
|
|
112299
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112300
|
+
};
|
|
112301
|
+
};
|
|
112302
|
+
/** @description Forbidden */
|
|
112303
|
+
403: {
|
|
112304
|
+
headers: {
|
|
112305
|
+
[name: string]: unknown;
|
|
112306
|
+
};
|
|
112307
|
+
content: {
|
|
112308
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112309
|
+
};
|
|
112310
|
+
};
|
|
112311
|
+
};
|
|
112312
|
+
};
|
|
112313
|
+
reports_salesdashboard_views_get_sales_dashboard_item_cost_distribution: {
|
|
112314
|
+
parameters: {
|
|
112315
|
+
query?: {
|
|
112316
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112317
|
+
startDate?: string | null;
|
|
112318
|
+
endDate?: string | null;
|
|
112319
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112320
|
+
branchesIds?: string[] | null;
|
|
112321
|
+
};
|
|
112322
|
+
header?: never;
|
|
112323
|
+
path?: never;
|
|
112324
|
+
cookie?: never;
|
|
112325
|
+
};
|
|
112326
|
+
requestBody?: never;
|
|
112327
|
+
responses: {
|
|
112328
|
+
/** @description OK */
|
|
112329
|
+
200: {
|
|
112330
|
+
headers: {
|
|
112331
|
+
[name: string]: unknown;
|
|
112332
|
+
};
|
|
112333
|
+
content: {
|
|
112334
|
+
"application/json": components["schemas"]["DashboardItemCostDistributionResponseSchema"];
|
|
112335
|
+
};
|
|
112336
|
+
};
|
|
112337
|
+
/** @description Bad Request */
|
|
112338
|
+
400: {
|
|
112339
|
+
headers: {
|
|
112340
|
+
[name: string]: unknown;
|
|
112341
|
+
};
|
|
112342
|
+
content: {
|
|
112343
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112344
|
+
};
|
|
112345
|
+
};
|
|
112346
|
+
/** @description Forbidden */
|
|
112347
|
+
403: {
|
|
112348
|
+
headers: {
|
|
112349
|
+
[name: string]: unknown;
|
|
112350
|
+
};
|
|
112351
|
+
content: {
|
|
112352
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112353
|
+
};
|
|
112354
|
+
};
|
|
112355
|
+
};
|
|
112356
|
+
};
|
|
112357
|
+
reports_salesdashboard_views_get_sales_dashboard_net_sales_contribution: {
|
|
112358
|
+
parameters: {
|
|
112359
|
+
query?: {
|
|
112360
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112361
|
+
startDate?: string | null;
|
|
112362
|
+
endDate?: string | null;
|
|
112363
|
+
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
112364
|
+
branchesIds?: string[] | null;
|
|
112365
|
+
};
|
|
112366
|
+
header?: never;
|
|
112367
|
+
path?: never;
|
|
112368
|
+
cookie?: never;
|
|
112369
|
+
};
|
|
112370
|
+
requestBody?: never;
|
|
112371
|
+
responses: {
|
|
112372
|
+
/** @description OK */
|
|
112373
|
+
200: {
|
|
112374
|
+
headers: {
|
|
112375
|
+
[name: string]: unknown;
|
|
112376
|
+
};
|
|
112377
|
+
content: {
|
|
112378
|
+
"application/json": components["schemas"]["DashboardNetSalesContributionResponseSchema"];
|
|
112379
|
+
};
|
|
112380
|
+
};
|
|
112381
|
+
/** @description Bad Request */
|
|
112382
|
+
400: {
|
|
112383
|
+
headers: {
|
|
112384
|
+
[name: string]: unknown;
|
|
112385
|
+
};
|
|
112386
|
+
content: {
|
|
112387
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112388
|
+
};
|
|
112389
|
+
};
|
|
112390
|
+
/** @description Forbidden */
|
|
112391
|
+
403: {
|
|
112392
|
+
headers: {
|
|
112393
|
+
[name: string]: unknown;
|
|
112394
|
+
};
|
|
112395
|
+
content: {
|
|
112396
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112397
|
+
};
|
|
112398
|
+
};
|
|
112399
|
+
};
|
|
112400
|
+
};
|
|
112401
|
+
reports_salesdashboard_views_get_sales_dashboard_top_items: {
|
|
111286
112402
|
parameters: {
|
|
111287
112403
|
query?: {
|
|
111288
112404
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111289
|
-
/** @description Start date (YYYY-MM-DD) for custom period */
|
|
111290
112405
|
startDate?: string | null;
|
|
111291
|
-
/** @description End date (YYYY-MM-DD) for custom period */
|
|
111292
112406
|
endDate?: string | null;
|
|
111293
|
-
/** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
|
|
111294
112407
|
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111295
112408
|
branchesIds?: string[] | null;
|
|
111296
|
-
warehousesIds?: string[] | null;
|
|
111297
112409
|
};
|
|
111298
112410
|
header?: never;
|
|
111299
112411
|
path?: never;
|
|
@@ -111307,7 +112419,7 @@ export interface operations {
|
|
|
111307
112419
|
[name: string]: unknown;
|
|
111308
112420
|
};
|
|
111309
112421
|
content: {
|
|
111310
|
-
"application/json": components["schemas"]["
|
|
112422
|
+
"application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
|
|
111311
112423
|
};
|
|
111312
112424
|
};
|
|
111313
112425
|
/** @description Bad Request */
|
|
@@ -111330,15 +112442,12 @@ export interface operations {
|
|
|
111330
112442
|
};
|
|
111331
112443
|
};
|
|
111332
112444
|
};
|
|
111333
|
-
|
|
112445
|
+
reports_salesdashboard_views_get_sales_dashboard_top_customers: {
|
|
111334
112446
|
parameters: {
|
|
111335
112447
|
query?: {
|
|
111336
112448
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111337
|
-
/** @description Start date (YYYY-MM-DD) for custom period */
|
|
111338
112449
|
startDate?: string | null;
|
|
111339
|
-
/** @description End date (YYYY-MM-DD) for custom period */
|
|
111340
112450
|
endDate?: string | null;
|
|
111341
|
-
/** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
|
|
111342
112451
|
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111343
112452
|
branchesIds?: string[] | null;
|
|
111344
112453
|
};
|
|
@@ -111354,7 +112463,7 @@ export interface operations {
|
|
|
111354
112463
|
[name: string]: unknown;
|
|
111355
112464
|
};
|
|
111356
112465
|
content: {
|
|
111357
|
-
"application/json": components["schemas"]["
|
|
112466
|
+
"application/json": components["schemas"]["DashboardTopCustomersResponseSchema"];
|
|
111358
112467
|
};
|
|
111359
112468
|
};
|
|
111360
112469
|
/** @description Bad Request */
|
|
@@ -111377,17 +112486,12 @@ export interface operations {
|
|
|
111377
112486
|
};
|
|
111378
112487
|
};
|
|
111379
112488
|
};
|
|
111380
|
-
|
|
112489
|
+
reports_salesdashboard_views_get_sales_dashboard_top_branches: {
|
|
111381
112490
|
parameters: {
|
|
111382
112491
|
query?: {
|
|
111383
|
-
/** @description Time granularity: daily, weekly, or monthly */
|
|
111384
|
-
granularity?: "daily" | "weekly" | "monthly";
|
|
111385
112492
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111386
|
-
/** @description Start date (YYYY-MM-DD) for custom period */
|
|
111387
112493
|
startDate?: string | null;
|
|
111388
|
-
/** @description End date (YYYY-MM-DD) for custom period */
|
|
111389
112494
|
endDate?: string | null;
|
|
111390
|
-
/** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
|
|
111391
112495
|
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111392
112496
|
branchesIds?: string[] | null;
|
|
111393
112497
|
};
|
|
@@ -111403,7 +112507,7 @@ export interface operations {
|
|
|
111403
112507
|
[name: string]: unknown;
|
|
111404
112508
|
};
|
|
111405
112509
|
content: {
|
|
111406
|
-
"application/json": components["schemas"]["
|
|
112510
|
+
"application/json": components["schemas"]["DashboardTopBranchesResponseSchema"];
|
|
111407
112511
|
};
|
|
111408
112512
|
};
|
|
111409
112513
|
/** @description Bad Request */
|
|
@@ -111426,14 +112530,67 @@ export interface operations {
|
|
|
111426
112530
|
};
|
|
111427
112531
|
};
|
|
111428
112532
|
};
|
|
111429
|
-
|
|
112533
|
+
reports_receivablesreport_views_get_receivables_by_customer_region_report_view: {
|
|
112534
|
+
parameters: {
|
|
112535
|
+
query?: {
|
|
112536
|
+
/** @description Sales region(s) to filter customers (defaults to all regions) */
|
|
112537
|
+
regionIds?: number[] | null;
|
|
112538
|
+
/** @description Show invoices unpaid as of this date */
|
|
112539
|
+
asOfDate?: string | null;
|
|
112540
|
+
/** @description Filter by sales person assigned on the sales invoice (SalesInvoice.salesPerson), not by customer assignment. Returns unpaid/partially paid invoices for that sales person across all customers, then groups results by each customer's region. */
|
|
112541
|
+
salesPersonId?: string | null;
|
|
112542
|
+
/** @description Filter by customer group using route api/v1/common/contact-segmentation/ and filter by type equals customer */
|
|
112543
|
+
customerGroupIds?: string[] | null;
|
|
112544
|
+
/** @description Only include customers with overdue invoices */
|
|
112545
|
+
includeOverdueOnly?: boolean;
|
|
112546
|
+
/** @description Sort customers by city or sort regions alphabetically */
|
|
112547
|
+
sortBy?: "region" | "city";
|
|
112548
|
+
/** @description Branch filter (only for users with access to multiple branches) */
|
|
112549
|
+
branchesIds?: string[] | null;
|
|
112550
|
+
};
|
|
112551
|
+
header?: never;
|
|
112552
|
+
path?: never;
|
|
112553
|
+
cookie?: never;
|
|
112554
|
+
};
|
|
112555
|
+
requestBody?: never;
|
|
112556
|
+
responses: {
|
|
112557
|
+
/** @description OK */
|
|
112558
|
+
200: {
|
|
112559
|
+
headers: {
|
|
112560
|
+
[name: string]: unknown;
|
|
112561
|
+
};
|
|
112562
|
+
content: {
|
|
112563
|
+
"application/json": components["schemas"]["ReceivablesByCustomerRegionReportSchema"];
|
|
112564
|
+
};
|
|
112565
|
+
};
|
|
112566
|
+
/** @description Bad Request */
|
|
112567
|
+
400: {
|
|
112568
|
+
headers: {
|
|
112569
|
+
[name: string]: unknown;
|
|
112570
|
+
};
|
|
112571
|
+
content: {
|
|
112572
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
112573
|
+
};
|
|
112574
|
+
};
|
|
112575
|
+
/** @description Forbidden */
|
|
112576
|
+
403: {
|
|
112577
|
+
headers: {
|
|
112578
|
+
[name: string]: unknown;
|
|
112579
|
+
};
|
|
112580
|
+
content: {
|
|
112581
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
112582
|
+
};
|
|
112583
|
+
};
|
|
112584
|
+
};
|
|
112585
|
+
};
|
|
112586
|
+
reports_purchasedashboard_views_get_purchase_dashboard_data: {
|
|
111430
112587
|
parameters: {
|
|
111431
112588
|
query?: {
|
|
111432
112589
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111433
112590
|
startDate?: string | null;
|
|
111434
112591
|
endDate?: string | null;
|
|
111435
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111436
112592
|
branchesIds?: string[] | null;
|
|
112593
|
+
spendTrendGranularity?: "daily" | "weekly" | "monthly";
|
|
111437
112594
|
cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
|
|
111438
112595
|
};
|
|
111439
112596
|
header?: never;
|
|
@@ -111448,7 +112605,7 @@ export interface operations {
|
|
|
111448
112605
|
[name: string]: unknown;
|
|
111449
112606
|
};
|
|
111450
112607
|
content: {
|
|
111451
|
-
"application/json": components["schemas"]["
|
|
112608
|
+
"application/json": components["schemas"]["PurchaseDashboardSchema"];
|
|
111452
112609
|
};
|
|
111453
112610
|
};
|
|
111454
112611
|
/** @description Bad Request */
|
|
@@ -111471,13 +112628,12 @@ export interface operations {
|
|
|
111471
112628
|
};
|
|
111472
112629
|
};
|
|
111473
112630
|
};
|
|
111474
|
-
|
|
112631
|
+
reports_purchasedashboard_views_get_purchase_dashboard_summary: {
|
|
111475
112632
|
parameters: {
|
|
111476
112633
|
query?: {
|
|
111477
112634
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111478
112635
|
startDate?: string | null;
|
|
111479
112636
|
endDate?: string | null;
|
|
111480
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111481
112637
|
branchesIds?: string[] | null;
|
|
111482
112638
|
};
|
|
111483
112639
|
header?: never;
|
|
@@ -111515,14 +112671,14 @@ export interface operations {
|
|
|
111515
112671
|
};
|
|
111516
112672
|
};
|
|
111517
112673
|
};
|
|
111518
|
-
|
|
112674
|
+
reports_purchasedashboard_views_get_purchase_dashboard_spend_trend: {
|
|
111519
112675
|
parameters: {
|
|
111520
112676
|
query?: {
|
|
111521
112677
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111522
112678
|
startDate?: string | null;
|
|
111523
112679
|
endDate?: string | null;
|
|
111524
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111525
112680
|
branchesIds?: string[] | null;
|
|
112681
|
+
granularity?: "daily" | "weekly" | "monthly";
|
|
111526
112682
|
};
|
|
111527
112683
|
header?: never;
|
|
111528
112684
|
path?: never;
|
|
@@ -111536,7 +112692,7 @@ export interface operations {
|
|
|
111536
112692
|
[name: string]: unknown;
|
|
111537
112693
|
};
|
|
111538
112694
|
content: {
|
|
111539
|
-
"application/json": components["schemas"]["
|
|
112695
|
+
"application/json": components["schemas"]["DashboardSpendTrendResponseSchema"];
|
|
111540
112696
|
};
|
|
111541
112697
|
};
|
|
111542
112698
|
/** @description Bad Request */
|
|
@@ -111559,13 +112715,12 @@ export interface operations {
|
|
|
111559
112715
|
};
|
|
111560
112716
|
};
|
|
111561
112717
|
};
|
|
111562
|
-
|
|
112718
|
+
reports_purchasedashboard_views_get_purchase_dashboard_lifecycle_comparison: {
|
|
111563
112719
|
parameters: {
|
|
111564
112720
|
query?: {
|
|
111565
112721
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111566
112722
|
startDate?: string | null;
|
|
111567
112723
|
endDate?: string | null;
|
|
111568
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111569
112724
|
branchesIds?: string[] | null;
|
|
111570
112725
|
};
|
|
111571
112726
|
header?: never;
|
|
@@ -111580,7 +112735,7 @@ export interface operations {
|
|
|
111580
112735
|
[name: string]: unknown;
|
|
111581
112736
|
};
|
|
111582
112737
|
content: {
|
|
111583
|
-
"application/json": components["schemas"]["
|
|
112738
|
+
"application/json": components["schemas"]["DashboardLifecycleComparisonResponseSchema"];
|
|
111584
112739
|
};
|
|
111585
112740
|
};
|
|
111586
112741
|
/** @description Bad Request */
|
|
@@ -111603,13 +112758,12 @@ export interface operations {
|
|
|
111603
112758
|
};
|
|
111604
112759
|
};
|
|
111605
112760
|
};
|
|
111606
|
-
|
|
112761
|
+
reports_purchasedashboard_views_get_purchase_dashboard_return_reasons: {
|
|
111607
112762
|
parameters: {
|
|
111608
112763
|
query?: {
|
|
111609
112764
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111610
112765
|
startDate?: string | null;
|
|
111611
112766
|
endDate?: string | null;
|
|
111612
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111613
112767
|
branchesIds?: string[] | null;
|
|
111614
112768
|
};
|
|
111615
112769
|
header?: never;
|
|
@@ -111624,7 +112778,7 @@ export interface operations {
|
|
|
111624
112778
|
[name: string]: unknown;
|
|
111625
112779
|
};
|
|
111626
112780
|
content: {
|
|
111627
|
-
"application/json": components["schemas"]["
|
|
112781
|
+
"application/json": components["schemas"]["DashboardReturnReasonsResponseSchema"];
|
|
111628
112782
|
};
|
|
111629
112783
|
};
|
|
111630
112784
|
/** @description Bad Request */
|
|
@@ -111647,13 +112801,12 @@ export interface operations {
|
|
|
111647
112801
|
};
|
|
111648
112802
|
};
|
|
111649
112803
|
};
|
|
111650
|
-
|
|
112804
|
+
reports_purchasedashboard_views_get_purchase_dashboard_returns_by_stage: {
|
|
111651
112805
|
parameters: {
|
|
111652
112806
|
query?: {
|
|
111653
112807
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111654
112808
|
startDate?: string | null;
|
|
111655
112809
|
endDate?: string | null;
|
|
111656
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111657
112810
|
branchesIds?: string[] | null;
|
|
111658
112811
|
};
|
|
111659
112812
|
header?: never;
|
|
@@ -111668,7 +112821,7 @@ export interface operations {
|
|
|
111668
112821
|
[name: string]: unknown;
|
|
111669
112822
|
};
|
|
111670
112823
|
content: {
|
|
111671
|
-
"application/json": components["schemas"]["
|
|
112824
|
+
"application/json": components["schemas"]["DashboardReturnsByStageResponseSchema"];
|
|
111672
112825
|
};
|
|
111673
112826
|
};
|
|
111674
112827
|
/** @description Bad Request */
|
|
@@ -111691,16 +112844,13 @@ export interface operations {
|
|
|
111691
112844
|
};
|
|
111692
112845
|
};
|
|
111693
112846
|
};
|
|
111694
|
-
|
|
112847
|
+
reports_purchasedashboard_views_get_purchase_dashboard_spend_by_branch: {
|
|
111695
112848
|
parameters: {
|
|
111696
112849
|
query?: {
|
|
111697
112850
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111698
112851
|
startDate?: string | null;
|
|
111699
112852
|
endDate?: string | null;
|
|
111700
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111701
112853
|
branchesIds?: string[] | null;
|
|
111702
|
-
/** @description Daily, weekly, or monthly buckets within the selected period */
|
|
111703
|
-
granularity?: "daily" | "weekly" | "monthly";
|
|
111704
112854
|
};
|
|
111705
112855
|
header?: never;
|
|
111706
112856
|
path?: never;
|
|
@@ -111714,7 +112864,7 @@ export interface operations {
|
|
|
111714
112864
|
[name: string]: unknown;
|
|
111715
112865
|
};
|
|
111716
112866
|
content: {
|
|
111717
|
-
"application/json": components["schemas"]["
|
|
112867
|
+
"application/json": components["schemas"]["DashboardSpendByBranchResponseSchema"];
|
|
111718
112868
|
};
|
|
111719
112869
|
};
|
|
111720
112870
|
/** @description Bad Request */
|
|
@@ -111737,13 +112887,12 @@ export interface operations {
|
|
|
111737
112887
|
};
|
|
111738
112888
|
};
|
|
111739
112889
|
};
|
|
111740
|
-
|
|
112890
|
+
reports_purchasedashboard_views_get_purchase_dashboard_approval_status: {
|
|
111741
112891
|
parameters: {
|
|
111742
112892
|
query?: {
|
|
111743
112893
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111744
112894
|
startDate?: string | null;
|
|
111745
112895
|
endDate?: string | null;
|
|
111746
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111747
112896
|
branchesIds?: string[] | null;
|
|
111748
112897
|
};
|
|
111749
112898
|
header?: never;
|
|
@@ -111758,7 +112907,7 @@ export interface operations {
|
|
|
111758
112907
|
[name: string]: unknown;
|
|
111759
112908
|
};
|
|
111760
112909
|
content: {
|
|
111761
|
-
"application/json": components["schemas"]["
|
|
112910
|
+
"application/json": components["schemas"]["DashboardApprovalStatusResponseSchema"];
|
|
111762
112911
|
};
|
|
111763
112912
|
};
|
|
111764
112913
|
/** @description Bad Request */
|
|
@@ -111781,13 +112930,12 @@ export interface operations {
|
|
|
111781
112930
|
};
|
|
111782
112931
|
};
|
|
111783
112932
|
};
|
|
111784
|
-
|
|
112933
|
+
reports_purchasedashboard_views_get_purchase_dashboard_pipeline: {
|
|
111785
112934
|
parameters: {
|
|
111786
112935
|
query?: {
|
|
111787
112936
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111788
112937
|
startDate?: string | null;
|
|
111789
112938
|
endDate?: string | null;
|
|
111790
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111791
112939
|
branchesIds?: string[] | null;
|
|
111792
112940
|
};
|
|
111793
112941
|
header?: never;
|
|
@@ -111802,7 +112950,7 @@ export interface operations {
|
|
|
111802
112950
|
[name: string]: unknown;
|
|
111803
112951
|
};
|
|
111804
112952
|
content: {
|
|
111805
|
-
"application/json": components["schemas"]["
|
|
112953
|
+
"application/json": components["schemas"]["DashboardPipelineResponseSchema"];
|
|
111806
112954
|
};
|
|
111807
112955
|
};
|
|
111808
112956
|
/** @description Bad Request */
|
|
@@ -111825,13 +112973,142 @@ export interface operations {
|
|
|
111825
112973
|
};
|
|
111826
112974
|
};
|
|
111827
112975
|
};
|
|
111828
|
-
|
|
112976
|
+
reports_purchasedashboard_views_get_purchase_dashboard_conversion_funnel: {
|
|
112977
|
+
parameters: {
|
|
112978
|
+
query?: {
|
|
112979
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
112980
|
+
startDate?: string | null;
|
|
112981
|
+
endDate?: string | null;
|
|
112982
|
+
branchesIds?: string[] | null;
|
|
112983
|
+
};
|
|
112984
|
+
header?: never;
|
|
112985
|
+
path?: never;
|
|
112986
|
+
cookie?: never;
|
|
112987
|
+
};
|
|
112988
|
+
requestBody?: never;
|
|
112989
|
+
responses: {
|
|
112990
|
+
/** @description OK */
|
|
112991
|
+
200: {
|
|
112992
|
+
headers: {
|
|
112993
|
+
[name: string]: unknown;
|
|
112994
|
+
};
|
|
112995
|
+
content: {
|
|
112996
|
+
"application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
|
|
112997
|
+
};
|
|
112998
|
+
};
|
|
112999
|
+
/** @description Bad Request */
|
|
113000
|
+
400: {
|
|
113001
|
+
headers: {
|
|
113002
|
+
[name: string]: unknown;
|
|
113003
|
+
};
|
|
113004
|
+
content: {
|
|
113005
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
113006
|
+
};
|
|
113007
|
+
};
|
|
113008
|
+
/** @description Forbidden */
|
|
113009
|
+
403: {
|
|
113010
|
+
headers: {
|
|
113011
|
+
[name: string]: unknown;
|
|
113012
|
+
};
|
|
113013
|
+
content: {
|
|
113014
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
113015
|
+
};
|
|
113016
|
+
};
|
|
113017
|
+
};
|
|
113018
|
+
};
|
|
113019
|
+
reports_purchasedashboard_views_get_purchase_dashboard_cash_flow: {
|
|
113020
|
+
parameters: {
|
|
113021
|
+
query?: {
|
|
113022
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
113023
|
+
startDate?: string | null;
|
|
113024
|
+
endDate?: string | null;
|
|
113025
|
+
branchesIds?: string[] | null;
|
|
113026
|
+
};
|
|
113027
|
+
header?: never;
|
|
113028
|
+
path?: never;
|
|
113029
|
+
cookie?: never;
|
|
113030
|
+
};
|
|
113031
|
+
requestBody?: never;
|
|
113032
|
+
responses: {
|
|
113033
|
+
/** @description OK */
|
|
113034
|
+
200: {
|
|
113035
|
+
headers: {
|
|
113036
|
+
[name: string]: unknown;
|
|
113037
|
+
};
|
|
113038
|
+
content: {
|
|
113039
|
+
"application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
|
|
113040
|
+
};
|
|
113041
|
+
};
|
|
113042
|
+
/** @description Bad Request */
|
|
113043
|
+
400: {
|
|
113044
|
+
headers: {
|
|
113045
|
+
[name: string]: unknown;
|
|
113046
|
+
};
|
|
113047
|
+
content: {
|
|
113048
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
113049
|
+
};
|
|
113050
|
+
};
|
|
113051
|
+
/** @description Forbidden */
|
|
113052
|
+
403: {
|
|
113053
|
+
headers: {
|
|
113054
|
+
[name: string]: unknown;
|
|
113055
|
+
};
|
|
113056
|
+
content: {
|
|
113057
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
113058
|
+
};
|
|
113059
|
+
};
|
|
113060
|
+
};
|
|
113061
|
+
};
|
|
113062
|
+
reports_purchasedashboard_views_get_purchase_dashboard_cash_flow_trend: {
|
|
113063
|
+
parameters: {
|
|
113064
|
+
query?: {
|
|
113065
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
113066
|
+
startDate?: string | null;
|
|
113067
|
+
endDate?: string | null;
|
|
113068
|
+
branchesIds?: string[] | null;
|
|
113069
|
+
granularity?: "daily" | "weekly" | "monthly";
|
|
113070
|
+
};
|
|
113071
|
+
header?: never;
|
|
113072
|
+
path?: never;
|
|
113073
|
+
cookie?: never;
|
|
113074
|
+
};
|
|
113075
|
+
requestBody?: never;
|
|
113076
|
+
responses: {
|
|
113077
|
+
/** @description OK */
|
|
113078
|
+
200: {
|
|
113079
|
+
headers: {
|
|
113080
|
+
[name: string]: unknown;
|
|
113081
|
+
};
|
|
113082
|
+
content: {
|
|
113083
|
+
"application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
|
|
113084
|
+
};
|
|
113085
|
+
};
|
|
113086
|
+
/** @description Bad Request */
|
|
113087
|
+
400: {
|
|
113088
|
+
headers: {
|
|
113089
|
+
[name: string]: unknown;
|
|
113090
|
+
};
|
|
113091
|
+
content: {
|
|
113092
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
113093
|
+
};
|
|
113094
|
+
};
|
|
113095
|
+
/** @description Forbidden */
|
|
113096
|
+
403: {
|
|
113097
|
+
headers: {
|
|
113098
|
+
[name: string]: unknown;
|
|
113099
|
+
};
|
|
113100
|
+
content: {
|
|
113101
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
113102
|
+
};
|
|
113103
|
+
};
|
|
113104
|
+
};
|
|
113105
|
+
};
|
|
113106
|
+
reports_purchasedashboard_views_get_purchase_dashboard_top_items: {
|
|
111829
113107
|
parameters: {
|
|
111830
113108
|
query?: {
|
|
111831
113109
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111832
113110
|
startDate?: string | null;
|
|
111833
113111
|
endDate?: string | null;
|
|
111834
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111835
113112
|
branchesIds?: string[] | null;
|
|
111836
113113
|
};
|
|
111837
113114
|
header?: never;
|
|
@@ -111869,13 +113146,12 @@ export interface operations {
|
|
|
111869
113146
|
};
|
|
111870
113147
|
};
|
|
111871
113148
|
};
|
|
111872
|
-
|
|
113149
|
+
reports_purchasedashboard_views_get_purchase_dashboard_top_suppliers: {
|
|
111873
113150
|
parameters: {
|
|
111874
113151
|
query?: {
|
|
111875
113152
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111876
113153
|
startDate?: string | null;
|
|
111877
113154
|
endDate?: string | null;
|
|
111878
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111879
113155
|
branchesIds?: string[] | null;
|
|
111880
113156
|
};
|
|
111881
113157
|
header?: never;
|
|
@@ -111890,7 +113166,7 @@ export interface operations {
|
|
|
111890
113166
|
[name: string]: unknown;
|
|
111891
113167
|
};
|
|
111892
113168
|
content: {
|
|
111893
|
-
"application/json": components["schemas"]["
|
|
113169
|
+
"application/json": components["schemas"]["DashboardTopSuppliersResponseSchema"];
|
|
111894
113170
|
};
|
|
111895
113171
|
};
|
|
111896
113172
|
/** @description Bad Request */
|
|
@@ -111913,13 +113189,12 @@ export interface operations {
|
|
|
111913
113189
|
};
|
|
111914
113190
|
};
|
|
111915
113191
|
};
|
|
111916
|
-
|
|
113192
|
+
reports_purchasedashboard_views_get_purchase_dashboard_top_branches: {
|
|
111917
113193
|
parameters: {
|
|
111918
113194
|
query?: {
|
|
111919
113195
|
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
111920
113196
|
startDate?: string | null;
|
|
111921
113197
|
endDate?: string | null;
|
|
111922
|
-
sources?: components["schemas"]["SalesReportSourceType"][] | null;
|
|
111923
113198
|
branchesIds?: string[] | null;
|
|
111924
113199
|
};
|
|
111925
113200
|
header?: never;
|
|
@@ -111957,22 +113232,12 @@ export interface operations {
|
|
|
111957
113232
|
};
|
|
111958
113233
|
};
|
|
111959
113234
|
};
|
|
111960
|
-
|
|
113235
|
+
reports_purchasedashboard_views_get_purchase_dashboard_alerts: {
|
|
111961
113236
|
parameters: {
|
|
111962
113237
|
query?: {
|
|
111963
|
-
|
|
111964
|
-
|
|
111965
|
-
|
|
111966
|
-
asOfDate?: string | null;
|
|
111967
|
-
/** @description Filter by sales person assigned on the sales invoice (SalesInvoice.salesPerson), not by customer assignment. Returns unpaid/partially paid invoices for that sales person across all customers, then groups results by each customer's region. */
|
|
111968
|
-
salesPersonId?: string | null;
|
|
111969
|
-
/** @description Filter by customer group using route api/v1/common/contact-segmentation/ and filter by type equals customer */
|
|
111970
|
-
customerGroupIds?: string[] | null;
|
|
111971
|
-
/** @description Only include customers with overdue invoices */
|
|
111972
|
-
includeOverdueOnly?: boolean;
|
|
111973
|
-
/** @description Sort customers by city or sort regions alphabetically */
|
|
111974
|
-
sortBy?: "region" | "city";
|
|
111975
|
-
/** @description Branch filter (only for users with access to multiple branches) */
|
|
113238
|
+
periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
|
|
113239
|
+
startDate?: string | null;
|
|
113240
|
+
endDate?: string | null;
|
|
111976
113241
|
branchesIds?: string[] | null;
|
|
111977
113242
|
};
|
|
111978
113243
|
header?: never;
|
|
@@ -111987,7 +113252,7 @@ export interface operations {
|
|
|
111987
113252
|
[name: string]: unknown;
|
|
111988
113253
|
};
|
|
111989
113254
|
content: {
|
|
111990
|
-
"application/json": components["schemas"]["
|
|
113255
|
+
"application/json": components["schemas"]["DashboardAlertsResponseSchema"];
|
|
111991
113256
|
};
|
|
111992
113257
|
};
|
|
111993
113258
|
/** @description Bad Request */
|