@erp-galoper/types 1.0.2121 → 1.0.2123

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.
Files changed (2) hide show
  1. package/openapi.ts +1073 -113
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -22479,6 +22479,179 @@ export interface paths {
22479
22479
  patch?: never;
22480
22480
  trace?: never;
22481
22481
  };
22482
+ "/api/v1/reports/inventory-dashboard/": {
22483
+ parameters: {
22484
+ query?: never;
22485
+ header?: never;
22486
+ path?: never;
22487
+ cookie?: never;
22488
+ };
22489
+ /**
22490
+ * Get Inventory Dashboard Data
22491
+ * @description Legacy combined payload. Prefer the per-section inventory-dashboard/* routes for faster loads.
22492
+ */
22493
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_data"];
22494
+ put?: never;
22495
+ post?: never;
22496
+ delete?: never;
22497
+ options?: never;
22498
+ head?: never;
22499
+ patch?: never;
22500
+ trace?: never;
22501
+ };
22502
+ "/api/v1/reports/inventory-dashboard/quick-view/": {
22503
+ parameters: {
22504
+ query?: never;
22505
+ header?: never;
22506
+ path?: never;
22507
+ cookie?: never;
22508
+ };
22509
+ /** Get Inventory Dashboard Quick View */
22510
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_quick_view"];
22511
+ put?: never;
22512
+ post?: never;
22513
+ delete?: never;
22514
+ options?: never;
22515
+ head?: never;
22516
+ patch?: never;
22517
+ trace?: never;
22518
+ };
22519
+ "/api/v1/reports/inventory-dashboard/inventory-by-category/": {
22520
+ parameters: {
22521
+ query?: never;
22522
+ header?: never;
22523
+ path?: never;
22524
+ cookie?: never;
22525
+ };
22526
+ /** Get Inventory Dashboard By Category */
22527
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_by_category"];
22528
+ put?: never;
22529
+ post?: never;
22530
+ delete?: never;
22531
+ options?: never;
22532
+ head?: never;
22533
+ patch?: never;
22534
+ trace?: never;
22535
+ };
22536
+ "/api/v1/reports/inventory-dashboard/flow-balance/": {
22537
+ parameters: {
22538
+ query?: never;
22539
+ header?: never;
22540
+ path?: never;
22541
+ cookie?: never;
22542
+ };
22543
+ /** Get Inventory Dashboard Flow Balance */
22544
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_flow_balance"];
22545
+ put?: never;
22546
+ post?: never;
22547
+ delete?: never;
22548
+ options?: never;
22549
+ head?: never;
22550
+ patch?: never;
22551
+ trace?: never;
22552
+ };
22553
+ "/api/v1/reports/inventory-dashboard/movement-over-period/": {
22554
+ parameters: {
22555
+ query?: never;
22556
+ header?: never;
22557
+ path?: never;
22558
+ cookie?: never;
22559
+ };
22560
+ /** Get Inventory Dashboard Movement Over Period */
22561
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_movement_over_period"];
22562
+ put?: never;
22563
+ post?: never;
22564
+ delete?: never;
22565
+ options?: never;
22566
+ head?: never;
22567
+ patch?: never;
22568
+ trace?: never;
22569
+ };
22570
+ "/api/v1/reports/inventory-dashboard/movement-by-document/": {
22571
+ parameters: {
22572
+ query?: never;
22573
+ header?: never;
22574
+ path?: never;
22575
+ cookie?: never;
22576
+ };
22577
+ /** Get Inventory Dashboard Movement By Document */
22578
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_movement_by_document"];
22579
+ put?: never;
22580
+ post?: never;
22581
+ delete?: never;
22582
+ options?: never;
22583
+ head?: never;
22584
+ patch?: never;
22585
+ trace?: never;
22586
+ };
22587
+ "/api/v1/reports/inventory-dashboard/inventory-value-by-warehouse/": {
22588
+ parameters: {
22589
+ query?: never;
22590
+ header?: never;
22591
+ path?: never;
22592
+ cookie?: never;
22593
+ };
22594
+ /** Get Inventory Dashboard Value By Warehouse */
22595
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_value_by_warehouse"];
22596
+ put?: never;
22597
+ post?: never;
22598
+ delete?: never;
22599
+ options?: never;
22600
+ head?: never;
22601
+ patch?: never;
22602
+ trace?: never;
22603
+ };
22604
+ "/api/v1/reports/inventory-dashboard/items-requiring-attention/": {
22605
+ parameters: {
22606
+ query?: never;
22607
+ header?: never;
22608
+ path?: never;
22609
+ cookie?: never;
22610
+ };
22611
+ /** Get Inventory Dashboard Attention Items */
22612
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_attention_items"];
22613
+ put?: never;
22614
+ post?: never;
22615
+ delete?: never;
22616
+ options?: never;
22617
+ head?: never;
22618
+ patch?: never;
22619
+ trace?: never;
22620
+ };
22621
+ "/api/v1/reports/inventory-dashboard/package-activity-over-period/": {
22622
+ parameters: {
22623
+ query?: never;
22624
+ header?: never;
22625
+ path?: never;
22626
+ cookie?: never;
22627
+ };
22628
+ /** Get Inventory Dashboard Package Activity */
22629
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_package_activity"];
22630
+ put?: never;
22631
+ post?: never;
22632
+ delete?: never;
22633
+ options?: never;
22634
+ head?: never;
22635
+ patch?: never;
22636
+ trace?: never;
22637
+ };
22638
+ "/api/v1/reports/inventory-dashboard/top-performance/": {
22639
+ parameters: {
22640
+ query?: never;
22641
+ header?: never;
22642
+ path?: never;
22643
+ cookie?: never;
22644
+ };
22645
+ /** Get Inventory Dashboard Top Performance */
22646
+ get: operations["reports_inventorydashboard_views_get_inventory_dashboard_top_performance"];
22647
+ put?: never;
22648
+ post?: never;
22649
+ delete?: never;
22650
+ options?: never;
22651
+ head?: never;
22652
+ patch?: never;
22653
+ trace?: never;
22654
+ };
22482
22655
  "/api/v1/task/status": {
22483
22656
  parameters: {
22484
22657
  query?: never;
@@ -69207,6 +69380,328 @@ export interface components {
69207
69380
  /** Topperformingsuppliers */
69208
69381
  topPerformingSuppliers: components["schemas"]["TopPerformingSupplierSchema"][];
69209
69382
  };
69383
+ /** InventoryAttentionItemSchema */
69384
+ InventoryAttentionItemSchema: {
69385
+ /** Itemname */
69386
+ itemName: string;
69387
+ /** Sku */
69388
+ sku?: string | null;
69389
+ /** Warehousecode */
69390
+ warehouseCode: string;
69391
+ /** Availablequantity */
69392
+ availableQuantity: number;
69393
+ /** Minimumstockthreshold */
69394
+ minimumStockThreshold: number;
69395
+ /** Reorderquantity */
69396
+ reorderQuantity: number;
69397
+ estimatedReorderCost: components["schemas"]["CurrencyAmountSchema"];
69398
+ status: components["schemas"]["InventoryAttentionStatus"];
69399
+ };
69400
+ /**
69401
+ * InventoryAttentionStatus
69402
+ * @enum {string}
69403
+ */
69404
+ InventoryAttentionStatus: "Low Stock" | "Out of Stock" | "Negative Stock" | "Reorder Required";
69405
+ /** InventoryByCategoryRowSchema */
69406
+ InventoryByCategoryRowSchema: {
69407
+ /** Categoryname */
69408
+ categoryName: string;
69409
+ /** Valuepercentage */
69410
+ valuePercentage: number | string;
69411
+ /** Distinctitemcount */
69412
+ distinctItemCount: number;
69413
+ /** Totalquantity */
69414
+ totalQuantity: number;
69415
+ totalValue: components["schemas"]["CurrencyAmountSchema"];
69416
+ };
69417
+ /**
69418
+ * InventoryDashboardDocumentType
69419
+ * @enum {string}
69420
+ */
69421
+ InventoryDashboardDocumentType: "GRN" | "GDN" | "WT" | "ADJ" | "PR" | "PREC";
69422
+ /** InventoryDashboardSchema */
69423
+ InventoryDashboardSchema: {
69424
+ /** Periodstart */
69425
+ periodStart: string | null;
69426
+ /** Periodend */
69427
+ periodEnd: string | null;
69428
+ /** Primarycurrency */
69429
+ primaryCurrency: Record<string, never> | null;
69430
+ /** Secondarycurrency */
69431
+ secondaryCurrency: Record<string, never> | null;
69432
+ quickViewSummary: components["schemas"]["InventoryQuickViewSummarySchema"];
69433
+ /** Inventorybycategory */
69434
+ inventoryByCategory: components["schemas"]["InventoryByCategoryRowSchema"][];
69435
+ flowBalance: components["schemas"]["InventoryFlowBalanceSchema"];
69436
+ movementOverPeriod: components["schemas"]["InventoryMovementOverPeriodSchema"];
69437
+ /** Movementbydocument */
69438
+ movementByDocument: components["schemas"]["InventoryMovementByDocumentRowSchema"][];
69439
+ /** Inventoryvaluebywarehouse */
69440
+ inventoryValueByWarehouse: components["schemas"]["InventoryValueByWarehouseRowSchema"][];
69441
+ /** Itemsrequiringattention */
69442
+ itemsRequiringAttention: components["schemas"]["InventoryAttentionItemSchema"][];
69443
+ packageActivityOverPeriod: components["schemas"]["PackageActivityOverPeriodSchema"];
69444
+ topPerformance: components["schemas"]["InventoryTopPerformanceSchema"];
69445
+ };
69446
+ /** InventoryFlowBalanceRowSchema */
69447
+ InventoryFlowBalanceRowSchema: {
69448
+ /** Activityname */
69449
+ activityName: string;
69450
+ /** Netquantity */
69451
+ netQuantity: number;
69452
+ value: components["schemas"]["CurrencyAmountSchema"];
69453
+ };
69454
+ /** InventoryFlowBalanceSchema */
69455
+ InventoryFlowBalanceSchema: {
69456
+ /** Activities */
69457
+ activities: components["schemas"]["InventoryFlowBalanceRowSchema"][];
69458
+ /** Overallnetquantity */
69459
+ overallNetQuantity: number;
69460
+ };
69461
+ /** InventoryMovementByDocumentRowSchema */
69462
+ InventoryMovementByDocumentRowSchema: {
69463
+ documentType: components["schemas"]["InventoryDashboardDocumentType"];
69464
+ /** Documenttypename */
69465
+ documentTypeName: string;
69466
+ /** Documentcount */
69467
+ documentCount: number;
69468
+ /** Totalquantitymoved */
69469
+ totalQuantityMoved: number;
69470
+ totalValue: components["schemas"]["CurrencyAmountSchema"];
69471
+ };
69472
+ /** InventoryMovementOverPeriodSchema */
69473
+ InventoryMovementOverPeriodSchema: {
69474
+ granularity: components["schemas"]["SalesReportGranularity"];
69475
+ /** Periods */
69476
+ periods: components["schemas"]["InventoryMovementPeriodPointSchema"][];
69477
+ };
69478
+ /** InventoryMovementPeriodPointSchema */
69479
+ InventoryMovementPeriodPointSchema: {
69480
+ /** Bucketlabel */
69481
+ bucketLabel: string;
69482
+ /**
69483
+ * Periodstart
69484
+ * Format: date
69485
+ */
69486
+ periodStart: string;
69487
+ /**
69488
+ * Periodend
69489
+ * Format: date
69490
+ */
69491
+ periodEnd: string;
69492
+ /** Inboundquantity */
69493
+ inboundQuantity: number;
69494
+ /** Outboundquantity */
69495
+ outboundQuantity: number;
69496
+ /** Netchange */
69497
+ netChange: number;
69498
+ };
69499
+ /** InventoryQuickViewSummarySchema */
69500
+ InventoryQuickViewSummarySchema: {
69501
+ /** Totalstockquantity */
69502
+ totalStockQuantity: number;
69503
+ totalStockValue: components["schemas"]["CurrencyAmountSchema"];
69504
+ /** Outofstockpercentage */
69505
+ outOfStockPercentage: number | string;
69506
+ /** Negativestockitemcount */
69507
+ negativeStockItemCount: number;
69508
+ /** Atorbelowreorderpointitemcount */
69509
+ atOrBelowReorderPointItemCount: number;
69510
+ /** Stockhealthpercentage */
69511
+ stockHealthPercentage: number | string;
69512
+ estimatedReorderCost: components["schemas"]["CurrencyAmountSchema"];
69513
+ /** Expectedinboundquantity */
69514
+ expectedInboundQuantity: number;
69515
+ };
69516
+ /** InventoryTopCustomerSchema */
69517
+ InventoryTopCustomerSchema: {
69518
+ /** Name */
69519
+ name: string;
69520
+ /** Distinctitemcount */
69521
+ distinctItemCount: number;
69522
+ /** Totalquantity */
69523
+ totalQuantity: number;
69524
+ totalValue: components["schemas"]["CurrencyAmountSchema"];
69525
+ /** Valuesharepercentage */
69526
+ valueSharePercentage: number | string;
69527
+ };
69528
+ /** InventoryTopPerformanceSchema */
69529
+ InventoryTopPerformanceSchema: {
69530
+ /** Customers */
69531
+ customers: components["schemas"]["InventoryTopCustomerSchema"][];
69532
+ /** Suppliers */
69533
+ suppliers: components["schemas"]["InventoryTopSupplierSchema"][];
69534
+ };
69535
+ /** InventoryTopSupplierSchema */
69536
+ InventoryTopSupplierSchema: {
69537
+ /** Name */
69538
+ name: string;
69539
+ /** Distinctitemcount */
69540
+ distinctItemCount: number;
69541
+ /** Totalquantity */
69542
+ totalQuantity: number;
69543
+ totalValue: components["schemas"]["CurrencyAmountSchema"];
69544
+ /** Valuesharepercentage */
69545
+ valueSharePercentage: number | string;
69546
+ };
69547
+ /** InventoryValueByWarehouseRowSchema */
69548
+ InventoryValueByWarehouseRowSchema: {
69549
+ /** Warehousename */
69550
+ warehouseName: string;
69551
+ /**
69552
+ * Istotal
69553
+ * @default false
69554
+ */
69555
+ isTotal: boolean;
69556
+ /** Onhandquantity */
69557
+ onHandQuantity: number;
69558
+ /** Availablequantity */
69559
+ availableQuantity: number;
69560
+ /** Reservedquantity */
69561
+ reservedQuantity: number;
69562
+ totalValue: components["schemas"]["CurrencyAmountSchema"];
69563
+ /** Valuepercentage */
69564
+ valuePercentage: number | string;
69565
+ };
69566
+ /** PackageActivityOverPeriodSchema */
69567
+ PackageActivityOverPeriodSchema: {
69568
+ granularity: components["schemas"]["SalesReportGranularity"];
69569
+ /** Periods */
69570
+ periods: components["schemas"]["PackageActivityPeriodPointSchema"][];
69571
+ };
69572
+ /** PackageActivityPeriodPointSchema */
69573
+ PackageActivityPeriodPointSchema: {
69574
+ /** Bucketlabel */
69575
+ bucketLabel: string;
69576
+ /**
69577
+ * Periodstart
69578
+ * Format: date
69579
+ */
69580
+ periodStart: string;
69581
+ /**
69582
+ * Periodend
69583
+ * Format: date
69584
+ */
69585
+ periodEnd: string;
69586
+ /** Packagescreated */
69587
+ packagesCreated: number;
69588
+ /** Packagesdispatched */
69589
+ packagesDispatched: number;
69590
+ /** Packagesreturned */
69591
+ packagesReturned: number;
69592
+ };
69593
+ /** InventoryQuickViewResponseSchema */
69594
+ InventoryQuickViewResponseSchema: {
69595
+ /** Periodstart */
69596
+ periodStart: string | null;
69597
+ /** Periodend */
69598
+ periodEnd: string | null;
69599
+ /** Primarycurrency */
69600
+ primaryCurrency: Record<string, never> | null;
69601
+ /** Secondarycurrency */
69602
+ secondaryCurrency: Record<string, never> | null;
69603
+ quickViewSummary: components["schemas"]["InventoryQuickViewSummarySchema"];
69604
+ };
69605
+ /** InventoryByCategoryResponseSchema */
69606
+ InventoryByCategoryResponseSchema: {
69607
+ /** Periodstart */
69608
+ periodStart: string | null;
69609
+ /** Periodend */
69610
+ periodEnd: string | null;
69611
+ /** Primarycurrency */
69612
+ primaryCurrency: Record<string, never> | null;
69613
+ /** Secondarycurrency */
69614
+ secondaryCurrency: Record<string, never> | null;
69615
+ /** Inventorybycategory */
69616
+ inventoryByCategory: components["schemas"]["InventoryByCategoryRowSchema"][];
69617
+ };
69618
+ /** InventoryFlowBalanceResponseSchema */
69619
+ InventoryFlowBalanceResponseSchema: {
69620
+ /** Periodstart */
69621
+ periodStart: string | null;
69622
+ /** Periodend */
69623
+ periodEnd: string | null;
69624
+ /** Primarycurrency */
69625
+ primaryCurrency: Record<string, never> | null;
69626
+ /** Secondarycurrency */
69627
+ secondaryCurrency: Record<string, never> | null;
69628
+ flowBalance: components["schemas"]["InventoryFlowBalanceSchema"];
69629
+ };
69630
+ /** InventoryMovementOverPeriodResponseSchema */
69631
+ InventoryMovementOverPeriodResponseSchema: {
69632
+ /** Periodstart */
69633
+ periodStart: string | null;
69634
+ /** Periodend */
69635
+ periodEnd: string | null;
69636
+ /** Primarycurrency */
69637
+ primaryCurrency: Record<string, never> | null;
69638
+ /** Secondarycurrency */
69639
+ secondaryCurrency: Record<string, never> | null;
69640
+ movementOverPeriod: components["schemas"]["InventoryMovementOverPeriodSchema"];
69641
+ };
69642
+ /** InventoryMovementByDocumentResponseSchema */
69643
+ InventoryMovementByDocumentResponseSchema: {
69644
+ /** Periodstart */
69645
+ periodStart: string | null;
69646
+ /** Periodend */
69647
+ periodEnd: string | null;
69648
+ /** Primarycurrency */
69649
+ primaryCurrency: Record<string, never> | null;
69650
+ /** Secondarycurrency */
69651
+ secondaryCurrency: Record<string, never> | null;
69652
+ /** Movementbydocument */
69653
+ movementByDocument: components["schemas"]["InventoryMovementByDocumentRowSchema"][];
69654
+ };
69655
+ /** InventoryValueByWarehouseResponseSchema */
69656
+ InventoryValueByWarehouseResponseSchema: {
69657
+ /** Periodstart */
69658
+ periodStart: string | null;
69659
+ /** Periodend */
69660
+ periodEnd: string | null;
69661
+ /** Primarycurrency */
69662
+ primaryCurrency: Record<string, never> | null;
69663
+ /** Secondarycurrency */
69664
+ secondaryCurrency: Record<string, never> | null;
69665
+ /** Inventoryvaluebywarehouse */
69666
+ inventoryValueByWarehouse: components["schemas"]["InventoryValueByWarehouseRowSchema"][];
69667
+ };
69668
+ /** InventoryAttentionItemsResponseSchema */
69669
+ InventoryAttentionItemsResponseSchema: {
69670
+ /** Periodstart */
69671
+ periodStart: string | null;
69672
+ /** Periodend */
69673
+ periodEnd: string | null;
69674
+ /** Primarycurrency */
69675
+ primaryCurrency: Record<string, never> | null;
69676
+ /** Secondarycurrency */
69677
+ secondaryCurrency: Record<string, never> | null;
69678
+ /** Itemsrequiringattention */
69679
+ itemsRequiringAttention: components["schemas"]["InventoryAttentionItemSchema"][];
69680
+ };
69681
+ /** PackageActivityOverPeriodResponseSchema */
69682
+ PackageActivityOverPeriodResponseSchema: {
69683
+ /** Periodstart */
69684
+ periodStart: string | null;
69685
+ /** Periodend */
69686
+ periodEnd: string | null;
69687
+ /** Primarycurrency */
69688
+ primaryCurrency: Record<string, never> | null;
69689
+ /** Secondarycurrency */
69690
+ secondaryCurrency: Record<string, never> | null;
69691
+ packageActivityOverPeriod: components["schemas"]["PackageActivityOverPeriodSchema"];
69692
+ };
69693
+ /** InventoryTopPerformanceResponseSchema */
69694
+ InventoryTopPerformanceResponseSchema: {
69695
+ /** Periodstart */
69696
+ periodStart: string | null;
69697
+ /** Periodend */
69698
+ periodEnd: string | null;
69699
+ /** Primarycurrency */
69700
+ primaryCurrency: Record<string, never> | null;
69701
+ /** Secondarycurrency */
69702
+ secondaryCurrency: Record<string, never> | null;
69703
+ topPerformance: components["schemas"]["InventoryTopPerformanceSchema"];
69704
+ };
69210
69705
  /** RetrieveStatus */
69211
69706
  RetrieveStatus: {
69212
69707
  /**
@@ -116337,16 +116832,160 @@ export interface operations {
116337
116832
  };
116338
116833
  };
116339
116834
  };
116340
- reports_salesreport_views_get_sales_by_salesperson_report: {
116835
+ reports_salesreport_views_get_sales_by_salesperson_report: {
116836
+ parameters: {
116837
+ query?: {
116838
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116839
+ /** @description Start date (YYYY-MM-DD) for custom period */
116840
+ startDate?: string | null;
116841
+ /** @description End date (YYYY-MM-DD) for custom period */
116842
+ endDate?: string | null;
116843
+ branchesIds?: string[] | null;
116844
+ salespersonsIds?: string[] | null;
116845
+ };
116846
+ header?: never;
116847
+ path?: never;
116848
+ cookie?: never;
116849
+ };
116850
+ requestBody?: never;
116851
+ responses: {
116852
+ /** @description OK */
116853
+ 200: {
116854
+ headers: {
116855
+ [name: string]: unknown;
116856
+ };
116857
+ content: {
116858
+ "application/json": components["schemas"]["SalesBySalespersonListSchema"];
116859
+ };
116860
+ };
116861
+ /** @description Bad Request */
116862
+ 400: {
116863
+ headers: {
116864
+ [name: string]: unknown;
116865
+ };
116866
+ content: {
116867
+ "application/json": components["schemas"]["ErrorMessages"];
116868
+ };
116869
+ };
116870
+ /** @description Forbidden */
116871
+ 403: {
116872
+ headers: {
116873
+ [name: string]: unknown;
116874
+ };
116875
+ content: {
116876
+ "application/json": components["schemas"]["MessageResponse"];
116877
+ };
116878
+ };
116879
+ };
116880
+ };
116881
+ reports_salesreport_views_get_sales_by_warehouse_report: {
116882
+ parameters: {
116883
+ query?: {
116884
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116885
+ /** @description Start date (YYYY-MM-DD) for custom period */
116886
+ startDate?: string | null;
116887
+ /** @description End date (YYYY-MM-DD) for custom period */
116888
+ endDate?: string | null;
116889
+ /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116890
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
116891
+ branchesIds?: string[] | null;
116892
+ warehousesIds?: string[] | null;
116893
+ };
116894
+ header?: never;
116895
+ path?: never;
116896
+ cookie?: never;
116897
+ };
116898
+ requestBody?: never;
116899
+ responses: {
116900
+ /** @description OK */
116901
+ 200: {
116902
+ headers: {
116903
+ [name: string]: unknown;
116904
+ };
116905
+ content: {
116906
+ "application/json": components["schemas"]["SalesByWarehouseListSchema"];
116907
+ };
116908
+ };
116909
+ /** @description Bad Request */
116910
+ 400: {
116911
+ headers: {
116912
+ [name: string]: unknown;
116913
+ };
116914
+ content: {
116915
+ "application/json": components["schemas"]["ErrorMessages"];
116916
+ };
116917
+ };
116918
+ /** @description Forbidden */
116919
+ 403: {
116920
+ headers: {
116921
+ [name: string]: unknown;
116922
+ };
116923
+ content: {
116924
+ "application/json": components["schemas"]["MessageResponse"];
116925
+ };
116926
+ };
116927
+ };
116928
+ };
116929
+ reports_salesreport_views_get_sales_summary_report: {
116930
+ parameters: {
116931
+ query?: {
116932
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116933
+ /** @description Start date (YYYY-MM-DD) for custom period */
116934
+ startDate?: string | null;
116935
+ /** @description End date (YYYY-MM-DD) for custom period */
116936
+ endDate?: string | null;
116937
+ /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116938
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
116939
+ branchesIds?: string[] | null;
116940
+ };
116941
+ header?: never;
116942
+ path?: never;
116943
+ cookie?: never;
116944
+ };
116945
+ requestBody?: never;
116946
+ responses: {
116947
+ /** @description OK */
116948
+ 200: {
116949
+ headers: {
116950
+ [name: string]: unknown;
116951
+ };
116952
+ content: {
116953
+ "application/json": components["schemas"]["SalesSummarySchema"];
116954
+ };
116955
+ };
116956
+ /** @description Bad Request */
116957
+ 400: {
116958
+ headers: {
116959
+ [name: string]: unknown;
116960
+ };
116961
+ content: {
116962
+ "application/json": components["schemas"]["ErrorMessages"];
116963
+ };
116964
+ };
116965
+ /** @description Forbidden */
116966
+ 403: {
116967
+ headers: {
116968
+ [name: string]: unknown;
116969
+ };
116970
+ content: {
116971
+ "application/json": components["schemas"]["MessageResponse"];
116972
+ };
116973
+ };
116974
+ };
116975
+ };
116976
+ reports_salesreport_views_get_sales_trend_report: {
116341
116977
  parameters: {
116342
116978
  query?: {
116979
+ /** @description Time granularity: daily, weekly, or monthly */
116980
+ granularity?: "daily" | "weekly" | "monthly";
116343
116981
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116344
116982
  /** @description Start date (YYYY-MM-DD) for custom period */
116345
116983
  startDate?: string | null;
116346
116984
  /** @description End date (YYYY-MM-DD) for custom period */
116347
116985
  endDate?: string | null;
116986
+ /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116987
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
116348
116988
  branchesIds?: string[] | null;
116349
- salespersonsIds?: string[] | null;
116350
116989
  };
116351
116990
  header?: never;
116352
116991
  path?: never;
@@ -116360,7 +116999,7 @@ export interface operations {
116360
116999
  [name: string]: unknown;
116361
117000
  };
116362
117001
  content: {
116363
- "application/json": components["schemas"]["SalesBySalespersonListSchema"];
117002
+ "application/json": components["schemas"]["SalesTrendSchema"];
116364
117003
  };
116365
117004
  };
116366
117005
  /** @description Bad Request */
@@ -116383,18 +117022,15 @@ export interface operations {
116383
117022
  };
116384
117023
  };
116385
117024
  };
116386
- reports_salesreport_views_get_sales_by_warehouse_report: {
117025
+ reports_salesdashboard_views_get_sales_dashboard_data: {
116387
117026
  parameters: {
116388
117027
  query?: {
116389
117028
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116390
- /** @description Start date (YYYY-MM-DD) for custom period */
116391
117029
  startDate?: string | null;
116392
- /** @description End date (YYYY-MM-DD) for custom period */
116393
117030
  endDate?: string | null;
116394
- /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116395
117031
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116396
117032
  branchesIds?: string[] | null;
116397
- warehousesIds?: string[] | null;
117033
+ cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
116398
117034
  };
116399
117035
  header?: never;
116400
117036
  path?: never;
@@ -116408,7 +117044,7 @@ export interface operations {
116408
117044
  [name: string]: unknown;
116409
117045
  };
116410
117046
  content: {
116411
- "application/json": components["schemas"]["SalesByWarehouseListSchema"];
117047
+ "application/json": components["schemas"]["SalesDashboardSchema"];
116412
117048
  };
116413
117049
  };
116414
117050
  /** @description Bad Request */
@@ -116431,15 +117067,12 @@ export interface operations {
116431
117067
  };
116432
117068
  };
116433
117069
  };
116434
- reports_salesreport_views_get_sales_summary_report: {
117070
+ reports_salesdashboard_views_get_sales_dashboard_summary: {
116435
117071
  parameters: {
116436
117072
  query?: {
116437
117073
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116438
- /** @description Start date (YYYY-MM-DD) for custom period */
116439
117074
  startDate?: string | null;
116440
- /** @description End date (YYYY-MM-DD) for custom period */
116441
117075
  endDate?: string | null;
116442
- /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116443
117076
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116444
117077
  branchesIds?: string[] | null;
116445
117078
  };
@@ -116455,7 +117088,7 @@ export interface operations {
116455
117088
  [name: string]: unknown;
116456
117089
  };
116457
117090
  content: {
116458
- "application/json": components["schemas"]["SalesSummarySchema"];
117091
+ "application/json": components["schemas"]["DashboardSummaryResponseSchema"];
116459
117092
  };
116460
117093
  };
116461
117094
  /** @description Bad Request */
@@ -116478,17 +117111,12 @@ export interface operations {
116478
117111
  };
116479
117112
  };
116480
117113
  };
116481
- reports_salesreport_views_get_sales_trend_report: {
117114
+ reports_salesdashboard_views_get_sales_dashboard_pipeline: {
116482
117115
  parameters: {
116483
117116
  query?: {
116484
- /** @description Time granularity: daily, weekly, or monthly */
116485
- granularity?: "daily" | "weekly" | "monthly";
116486
117117
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116487
- /** @description Start date (YYYY-MM-DD) for custom period */
116488
117118
  startDate?: string | null;
116489
- /** @description End date (YYYY-MM-DD) for custom period */
116490
117119
  endDate?: string | null;
116491
- /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116492
117120
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116493
117121
  branchesIds?: string[] | null;
116494
117122
  };
@@ -116504,7 +117132,7 @@ export interface operations {
116504
117132
  [name: string]: unknown;
116505
117133
  };
116506
117134
  content: {
116507
- "application/json": components["schemas"]["SalesTrendSchema"];
117135
+ "application/json": components["schemas"]["DashboardPipelineResponseSchema"];
116508
117136
  };
116509
117137
  };
116510
117138
  /** @description Bad Request */
@@ -116527,7 +117155,7 @@ export interface operations {
116527
117155
  };
116528
117156
  };
116529
117157
  };
116530
- reports_salesdashboard_views_get_sales_dashboard_data: {
117158
+ reports_salesdashboard_views_get_sales_dashboard_invoice_insights: {
116531
117159
  parameters: {
116532
117160
  query?: {
116533
117161
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116535,7 +117163,6 @@ export interface operations {
116535
117163
  endDate?: string | null;
116536
117164
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116537
117165
  branchesIds?: string[] | null;
116538
- cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
116539
117166
  };
116540
117167
  header?: never;
116541
117168
  path?: never;
@@ -116549,7 +117176,7 @@ export interface operations {
116549
117176
  [name: string]: unknown;
116550
117177
  };
116551
117178
  content: {
116552
- "application/json": components["schemas"]["SalesDashboardSchema"];
117179
+ "application/json": components["schemas"]["DashboardInvoiceInsightsResponseSchema"];
116553
117180
  };
116554
117181
  };
116555
117182
  /** @description Bad Request */
@@ -116572,7 +117199,7 @@ export interface operations {
116572
117199
  };
116573
117200
  };
116574
117201
  };
116575
- reports_salesdashboard_views_get_sales_dashboard_summary: {
117202
+ reports_salesdashboard_views_get_sales_dashboard_conversion_funnel: {
116576
117203
  parameters: {
116577
117204
  query?: {
116578
117205
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116593,7 +117220,7 @@ export interface operations {
116593
117220
  [name: string]: unknown;
116594
117221
  };
116595
117222
  content: {
116596
- "application/json": components["schemas"]["DashboardSummaryResponseSchema"];
117223
+ "application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
116597
117224
  };
116598
117225
  };
116599
117226
  /** @description Bad Request */
@@ -116616,7 +117243,7 @@ export interface operations {
116616
117243
  };
116617
117244
  };
116618
117245
  };
116619
- reports_salesdashboard_views_get_sales_dashboard_pipeline: {
117246
+ reports_salesdashboard_views_get_sales_dashboard_cash_flow: {
116620
117247
  parameters: {
116621
117248
  query?: {
116622
117249
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116637,7 +117264,7 @@ export interface operations {
116637
117264
  [name: string]: unknown;
116638
117265
  };
116639
117266
  content: {
116640
- "application/json": components["schemas"]["DashboardPipelineResponseSchema"];
117267
+ "application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
116641
117268
  };
116642
117269
  };
116643
117270
  /** @description Bad Request */
@@ -116660,7 +117287,7 @@ export interface operations {
116660
117287
  };
116661
117288
  };
116662
117289
  };
116663
- reports_salesdashboard_views_get_sales_dashboard_invoice_insights: {
117290
+ reports_salesdashboard_views_get_sales_dashboard_cash_flow_trend: {
116664
117291
  parameters: {
116665
117292
  query?: {
116666
117293
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116668,6 +117295,8 @@ export interface operations {
116668
117295
  endDate?: string | null;
116669
117296
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116670
117297
  branchesIds?: string[] | null;
117298
+ /** @description Bucket size for cashFlowTrend.periods within periodStart–periodEnd (from periodType or startDate/endDate). Daily: one bucket per calendar day. Weekly: ISO-style weeks (Monday start), clipped to the report range. Monthly: calendar months, clipped to the report range. Every bucket is returned; buckets with no activity use zero amounts and zero transaction counts. */
117299
+ granularity?: "daily" | "weekly" | "monthly";
116671
117300
  };
116672
117301
  header?: never;
116673
117302
  path?: never;
@@ -116681,7 +117310,7 @@ export interface operations {
116681
117310
  [name: string]: unknown;
116682
117311
  };
116683
117312
  content: {
116684
- "application/json": components["schemas"]["DashboardInvoiceInsightsResponseSchema"];
117313
+ "application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
116685
117314
  };
116686
117315
  };
116687
117316
  /** @description Bad Request */
@@ -116704,7 +117333,7 @@ export interface operations {
116704
117333
  };
116705
117334
  };
116706
117335
  };
116707
- reports_salesdashboard_views_get_sales_dashboard_conversion_funnel: {
117336
+ reports_salesdashboard_views_get_sales_dashboard_item_cost_distribution: {
116708
117337
  parameters: {
116709
117338
  query?: {
116710
117339
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116725,7 +117354,7 @@ export interface operations {
116725
117354
  [name: string]: unknown;
116726
117355
  };
116727
117356
  content: {
116728
- "application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
117357
+ "application/json": components["schemas"]["DashboardItemCostDistributionResponseSchema"];
116729
117358
  };
116730
117359
  };
116731
117360
  /** @description Bad Request */
@@ -116748,7 +117377,7 @@ export interface operations {
116748
117377
  };
116749
117378
  };
116750
117379
  };
116751
- reports_salesdashboard_views_get_sales_dashboard_cash_flow: {
117380
+ reports_salesdashboard_views_get_sales_dashboard_net_sales_contribution: {
116752
117381
  parameters: {
116753
117382
  query?: {
116754
117383
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116769,7 +117398,7 @@ export interface operations {
116769
117398
  [name: string]: unknown;
116770
117399
  };
116771
117400
  content: {
116772
- "application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
117401
+ "application/json": components["schemas"]["DashboardNetSalesContributionResponseSchema"];
116773
117402
  };
116774
117403
  };
116775
117404
  /** @description Bad Request */
@@ -116792,7 +117421,7 @@ export interface operations {
116792
117421
  };
116793
117422
  };
116794
117423
  };
116795
- reports_salesdashboard_views_get_sales_dashboard_cash_flow_trend: {
117424
+ reports_salesdashboard_views_get_sales_dashboard_top_items: {
116796
117425
  parameters: {
116797
117426
  query?: {
116798
117427
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116800,8 +117429,6 @@ export interface operations {
116800
117429
  endDate?: string | null;
116801
117430
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116802
117431
  branchesIds?: string[] | null;
116803
- /** @description Bucket size for cashFlowTrend.periods within periodStart–periodEnd (from periodType or startDate/endDate). Daily: one bucket per calendar day. Weekly: ISO-style weeks (Monday start), clipped to the report range. Monthly: calendar months, clipped to the report range. Every bucket is returned; buckets with no activity use zero amounts and zero transaction counts. */
116804
- granularity?: "daily" | "weekly" | "monthly";
116805
117432
  };
116806
117433
  header?: never;
116807
117434
  path?: never;
@@ -116815,7 +117442,7 @@ export interface operations {
116815
117442
  [name: string]: unknown;
116816
117443
  };
116817
117444
  content: {
116818
- "application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
117445
+ "application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
116819
117446
  };
116820
117447
  };
116821
117448
  /** @description Bad Request */
@@ -116838,7 +117465,7 @@ export interface operations {
116838
117465
  };
116839
117466
  };
116840
117467
  };
116841
- reports_salesdashboard_views_get_sales_dashboard_item_cost_distribution: {
117468
+ reports_salesdashboard_views_get_sales_dashboard_top_customers: {
116842
117469
  parameters: {
116843
117470
  query?: {
116844
117471
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116859,7 +117486,7 @@ export interface operations {
116859
117486
  [name: string]: unknown;
116860
117487
  };
116861
117488
  content: {
116862
- "application/json": components["schemas"]["DashboardItemCostDistributionResponseSchema"];
117489
+ "application/json": components["schemas"]["DashboardTopCustomersResponseSchema"];
116863
117490
  };
116864
117491
  };
116865
117492
  /** @description Bad Request */
@@ -116882,7 +117509,7 @@ export interface operations {
116882
117509
  };
116883
117510
  };
116884
117511
  };
116885
- reports_salesdashboard_views_get_sales_dashboard_net_sales_contribution: {
117512
+ reports_salesdashboard_views_get_sales_dashboard_top_branches: {
116886
117513
  parameters: {
116887
117514
  query?: {
116888
117515
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116903,7 +117530,192 @@ export interface operations {
116903
117530
  [name: string]: unknown;
116904
117531
  };
116905
117532
  content: {
116906
- "application/json": components["schemas"]["DashboardNetSalesContributionResponseSchema"];
117533
+ "application/json": components["schemas"]["DashboardTopBranchesResponseSchema"];
117534
+ };
117535
+ };
117536
+ /** @description Bad Request */
117537
+ 400: {
117538
+ headers: {
117539
+ [name: string]: unknown;
117540
+ };
117541
+ content: {
117542
+ "application/json": components["schemas"]["ErrorMessages"];
117543
+ };
117544
+ };
117545
+ /** @description Forbidden */
117546
+ 403: {
117547
+ headers: {
117548
+ [name: string]: unknown;
117549
+ };
117550
+ content: {
117551
+ "application/json": components["schemas"]["MessageResponse"];
117552
+ };
117553
+ };
117554
+ };
117555
+ };
117556
+ reports_salesdashboard_views_get_sales_dashboard_alerts: {
117557
+ parameters: {
117558
+ query?: {
117559
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117560
+ startDate?: string | null;
117561
+ endDate?: string | null;
117562
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
117563
+ branchesIds?: string[] | null;
117564
+ };
117565
+ header?: never;
117566
+ path?: never;
117567
+ cookie?: never;
117568
+ };
117569
+ requestBody?: never;
117570
+ responses: {
117571
+ /** @description OK */
117572
+ 200: {
117573
+ headers: {
117574
+ [name: string]: unknown;
117575
+ };
117576
+ content: {
117577
+ "application/json": components["schemas"]["DashboardAlertsResponseSchema"];
117578
+ };
117579
+ };
117580
+ /** @description Bad Request */
117581
+ 400: {
117582
+ headers: {
117583
+ [name: string]: unknown;
117584
+ };
117585
+ content: {
117586
+ "application/json": components["schemas"]["ErrorMessages"];
117587
+ };
117588
+ };
117589
+ /** @description Forbidden */
117590
+ 403: {
117591
+ headers: {
117592
+ [name: string]: unknown;
117593
+ };
117594
+ content: {
117595
+ "application/json": components["schemas"]["MessageResponse"];
117596
+ };
117597
+ };
117598
+ };
117599
+ };
117600
+ reports_receivablesreport_views_get_receivables_by_customer_region_report_view: {
117601
+ parameters: {
117602
+ query?: {
117603
+ /** @description Sales region(s) to filter customers (defaults to all regions) */
117604
+ regionIds?: number[] | null;
117605
+ /** @description Show invoices unpaid as of this date */
117606
+ asOfDate?: string | null;
117607
+ /** @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. */
117608
+ salesPersonId?: string | null;
117609
+ /** @description Filter by customer group using route api/v1/common/contact-segmentation/ and filter by type equals customer */
117610
+ customerGroupIds?: string[] | null;
117611
+ /** @description Only include customers with overdue invoices */
117612
+ includeOverdueOnly?: boolean;
117613
+ /** @description Sort customers by city or sort regions alphabetically */
117614
+ sortBy?: "region" | "city";
117615
+ /** @description Branch filter (only for users with access to multiple branches) */
117616
+ branchesIds?: string[] | null;
117617
+ };
117618
+ header?: never;
117619
+ path?: never;
117620
+ cookie?: never;
117621
+ };
117622
+ requestBody?: never;
117623
+ responses: {
117624
+ /** @description OK */
117625
+ 200: {
117626
+ headers: {
117627
+ [name: string]: unknown;
117628
+ };
117629
+ content: {
117630
+ "application/json": components["schemas"]["ReceivablesByCustomerRegionReportSchema"];
117631
+ };
117632
+ };
117633
+ /** @description Bad Request */
117634
+ 400: {
117635
+ headers: {
117636
+ [name: string]: unknown;
117637
+ };
117638
+ content: {
117639
+ "application/json": components["schemas"]["ErrorMessages"];
117640
+ };
117641
+ };
117642
+ /** @description Forbidden */
117643
+ 403: {
117644
+ headers: {
117645
+ [name: string]: unknown;
117646
+ };
117647
+ content: {
117648
+ "application/json": components["schemas"]["MessageResponse"];
117649
+ };
117650
+ };
117651
+ };
117652
+ };
117653
+ reports_purchasedashboard_views_get_purchase_dashboard_data: {
117654
+ parameters: {
117655
+ query?: {
117656
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117657
+ startDate?: string | null;
117658
+ endDate?: string | null;
117659
+ branchesIds?: string[] | null;
117660
+ spendTrendGranularity?: components["schemas"]["SalesReportGranularity"] | null;
117661
+ cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
117662
+ };
117663
+ header?: never;
117664
+ path?: never;
117665
+ cookie?: never;
117666
+ };
117667
+ requestBody?: never;
117668
+ responses: {
117669
+ /** @description OK */
117670
+ 200: {
117671
+ headers: {
117672
+ [name: string]: unknown;
117673
+ };
117674
+ content: {
117675
+ "application/json": components["schemas"]["PurchaseDashboardSchema"];
117676
+ };
117677
+ };
117678
+ /** @description Bad Request */
117679
+ 400: {
117680
+ headers: {
117681
+ [name: string]: unknown;
117682
+ };
117683
+ content: {
117684
+ "application/json": components["schemas"]["ErrorMessages"];
117685
+ };
117686
+ };
117687
+ /** @description Forbidden */
117688
+ 403: {
117689
+ headers: {
117690
+ [name: string]: unknown;
117691
+ };
117692
+ content: {
117693
+ "application/json": components["schemas"]["MessageResponse"];
117694
+ };
117695
+ };
117696
+ };
117697
+ };
117698
+ reports_purchasedashboard_views_get_purchase_dashboard_summary: {
117699
+ parameters: {
117700
+ query?: {
117701
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117702
+ startDate?: string | null;
117703
+ endDate?: string | null;
117704
+ branchesIds?: string[] | null;
117705
+ };
117706
+ header?: never;
117707
+ path?: never;
117708
+ cookie?: never;
117709
+ };
117710
+ requestBody?: never;
117711
+ responses: {
117712
+ /** @description OK */
117713
+ 200: {
117714
+ headers: {
117715
+ [name: string]: unknown;
117716
+ };
117717
+ content: {
117718
+ "application/json": components["schemas"]["DashboardSummaryResponseSchema"];
116907
117719
  };
116908
117720
  };
116909
117721
  /** @description Bad Request */
@@ -116926,14 +117738,14 @@ export interface operations {
116926
117738
  };
116927
117739
  };
116928
117740
  };
116929
- reports_salesdashboard_views_get_sales_dashboard_top_items: {
117741
+ reports_purchasedashboard_views_get_purchase_dashboard_spend_trend: {
116930
117742
  parameters: {
116931
117743
  query?: {
116932
117744
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116933
117745
  startDate?: string | null;
116934
117746
  endDate?: string | null;
116935
- sources?: components["schemas"]["SalesReportSourceType"][] | null;
116936
117747
  branchesIds?: string[] | null;
117748
+ granularity?: components["schemas"]["SalesReportGranularity"] | null;
116937
117749
  };
116938
117750
  header?: never;
116939
117751
  path?: never;
@@ -116947,7 +117759,7 @@ export interface operations {
116947
117759
  [name: string]: unknown;
116948
117760
  };
116949
117761
  content: {
116950
- "application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
117762
+ "application/json": components["schemas"]["DashboardSpendTrendResponseSchema"];
116951
117763
  };
116952
117764
  };
116953
117765
  /** @description Bad Request */
@@ -116970,14 +117782,14 @@ export interface operations {
116970
117782
  };
116971
117783
  };
116972
117784
  };
116973
- reports_salesdashboard_views_get_sales_dashboard_top_customers: {
117785
+ reports_purchasedashboard_views_get_purchase_dashboard_lifecycle_comparison: {
116974
117786
  parameters: {
116975
117787
  query?: {
116976
117788
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116977
117789
  startDate?: string | null;
116978
117790
  endDate?: string | null;
116979
- sources?: components["schemas"]["SalesReportSourceType"][] | null;
116980
117791
  branchesIds?: string[] | null;
117792
+ granularity?: components["schemas"]["SalesReportGranularity"] | null;
116981
117793
  };
116982
117794
  header?: never;
116983
117795
  path?: never;
@@ -116991,7 +117803,7 @@ export interface operations {
116991
117803
  [name: string]: unknown;
116992
117804
  };
116993
117805
  content: {
116994
- "application/json": components["schemas"]["DashboardTopCustomersResponseSchema"];
117806
+ "application/json": components["schemas"]["DashboardLifecycleComparisonResponseSchema"];
116995
117807
  };
116996
117808
  };
116997
117809
  /** @description Bad Request */
@@ -117014,13 +117826,12 @@ export interface operations {
117014
117826
  };
117015
117827
  };
117016
117828
  };
117017
- reports_salesdashboard_views_get_sales_dashboard_top_branches: {
117829
+ reports_purchasedashboard_views_get_purchase_dashboard_return_reasons: {
117018
117830
  parameters: {
117019
117831
  query?: {
117020
117832
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117021
117833
  startDate?: string | null;
117022
117834
  endDate?: string | null;
117023
- sources?: components["schemas"]["SalesReportSourceType"][] | null;
117024
117835
  branchesIds?: string[] | null;
117025
117836
  };
117026
117837
  header?: never;
@@ -117035,7 +117846,7 @@ export interface operations {
117035
117846
  [name: string]: unknown;
117036
117847
  };
117037
117848
  content: {
117038
- "application/json": components["schemas"]["DashboardTopBranchesResponseSchema"];
117849
+ "application/json": components["schemas"]["DashboardReturnReasonsResponseSchema"];
117039
117850
  };
117040
117851
  };
117041
117852
  /** @description Bad Request */
@@ -117058,13 +117869,12 @@ export interface operations {
117058
117869
  };
117059
117870
  };
117060
117871
  };
117061
- reports_salesdashboard_views_get_sales_dashboard_alerts: {
117872
+ reports_purchasedashboard_views_get_purchase_dashboard_returns_by_stage: {
117062
117873
  parameters: {
117063
117874
  query?: {
117064
117875
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117065
117876
  startDate?: string | null;
117066
117877
  endDate?: string | null;
117067
- sources?: components["schemas"]["SalesReportSourceType"][] | null;
117068
117878
  branchesIds?: string[] | null;
117069
117879
  };
117070
117880
  header?: never;
@@ -117079,7 +117889,7 @@ export interface operations {
117079
117889
  [name: string]: unknown;
117080
117890
  };
117081
117891
  content: {
117082
- "application/json": components["schemas"]["DashboardAlertsResponseSchema"];
117892
+ "application/json": components["schemas"]["DashboardReturnsByStageResponseSchema"];
117083
117893
  };
117084
117894
  };
117085
117895
  /** @description Bad Request */
@@ -117102,22 +117912,12 @@ export interface operations {
117102
117912
  };
117103
117913
  };
117104
117914
  };
117105
- reports_receivablesreport_views_get_receivables_by_customer_region_report_view: {
117915
+ reports_purchasedashboard_views_get_purchase_dashboard_spend_by_branch: {
117106
117916
  parameters: {
117107
117917
  query?: {
117108
- /** @description Sales region(s) to filter customers (defaults to all regions) */
117109
- regionIds?: number[] | null;
117110
- /** @description Show invoices unpaid as of this date */
117111
- asOfDate?: string | null;
117112
- /** @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. */
117113
- salesPersonId?: string | null;
117114
- /** @description Filter by customer group using route api/v1/common/contact-segmentation/ and filter by type equals customer */
117115
- customerGroupIds?: string[] | null;
117116
- /** @description Only include customers with overdue invoices */
117117
- includeOverdueOnly?: boolean;
117118
- /** @description Sort customers by city or sort regions alphabetically */
117119
- sortBy?: "region" | "city";
117120
- /** @description Branch filter (only for users with access to multiple branches) */
117918
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117919
+ startDate?: string | null;
117920
+ endDate?: string | null;
117121
117921
  branchesIds?: string[] | null;
117122
117922
  };
117123
117923
  header?: never;
@@ -117132,7 +117932,7 @@ export interface operations {
117132
117932
  [name: string]: unknown;
117133
117933
  };
117134
117934
  content: {
117135
- "application/json": components["schemas"]["ReceivablesByCustomerRegionReportSchema"];
117935
+ "application/json": components["schemas"]["DashboardSpendByBranchResponseSchema"];
117136
117936
  };
117137
117937
  };
117138
117938
  /** @description Bad Request */
@@ -117155,15 +117955,13 @@ export interface operations {
117155
117955
  };
117156
117956
  };
117157
117957
  };
117158
- reports_purchasedashboard_views_get_purchase_dashboard_data: {
117958
+ reports_purchasedashboard_views_get_purchase_dashboard_approval_status: {
117159
117959
  parameters: {
117160
117960
  query?: {
117161
117961
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117162
117962
  startDate?: string | null;
117163
117963
  endDate?: string | null;
117164
117964
  branchesIds?: string[] | null;
117165
- spendTrendGranularity?: components["schemas"]["SalesReportGranularity"] | null;
117166
- cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
117167
117965
  };
117168
117966
  header?: never;
117169
117967
  path?: never;
@@ -117177,7 +117975,7 @@ export interface operations {
117177
117975
  [name: string]: unknown;
117178
117976
  };
117179
117977
  content: {
117180
- "application/json": components["schemas"]["PurchaseDashboardSchema"];
117978
+ "application/json": components["schemas"]["DashboardApprovalStatusResponseSchema"];
117181
117979
  };
117182
117980
  };
117183
117981
  /** @description Bad Request */
@@ -117200,7 +117998,7 @@ export interface operations {
117200
117998
  };
117201
117999
  };
117202
118000
  };
117203
- reports_purchasedashboard_views_get_purchase_dashboard_summary: {
118001
+ reports_purchasedashboard_views_get_purchase_dashboard_pipeline: {
117204
118002
  parameters: {
117205
118003
  query?: {
117206
118004
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117220,7 +118018,7 @@ export interface operations {
117220
118018
  [name: string]: unknown;
117221
118019
  };
117222
118020
  content: {
117223
- "application/json": components["schemas"]["DashboardSummaryResponseSchema"];
118021
+ "application/json": components["schemas"]["DashboardPipelineResponseSchema"];
117224
118022
  };
117225
118023
  };
117226
118024
  /** @description Bad Request */
@@ -117243,14 +118041,13 @@ export interface operations {
117243
118041
  };
117244
118042
  };
117245
118043
  };
117246
- reports_purchasedashboard_views_get_purchase_dashboard_spend_trend: {
118044
+ reports_purchasedashboard_views_get_purchase_dashboard_conversion_funnel: {
117247
118045
  parameters: {
117248
118046
  query?: {
117249
118047
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117250
118048
  startDate?: string | null;
117251
118049
  endDate?: string | null;
117252
118050
  branchesIds?: string[] | null;
117253
- granularity?: components["schemas"]["SalesReportGranularity"] | null;
117254
118051
  };
117255
118052
  header?: never;
117256
118053
  path?: never;
@@ -117264,7 +118061,7 @@ export interface operations {
117264
118061
  [name: string]: unknown;
117265
118062
  };
117266
118063
  content: {
117267
- "application/json": components["schemas"]["DashboardSpendTrendResponseSchema"];
118064
+ "application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
117268
118065
  };
117269
118066
  };
117270
118067
  /** @description Bad Request */
@@ -117287,14 +118084,13 @@ export interface operations {
117287
118084
  };
117288
118085
  };
117289
118086
  };
117290
- reports_purchasedashboard_views_get_purchase_dashboard_lifecycle_comparison: {
118087
+ reports_purchasedashboard_views_get_purchase_dashboard_cash_flow: {
117291
118088
  parameters: {
117292
118089
  query?: {
117293
118090
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117294
118091
  startDate?: string | null;
117295
118092
  endDate?: string | null;
117296
118093
  branchesIds?: string[] | null;
117297
- granularity?: components["schemas"]["SalesReportGranularity"] | null;
117298
118094
  };
117299
118095
  header?: never;
117300
118096
  path?: never;
@@ -117308,7 +118104,7 @@ export interface operations {
117308
118104
  [name: string]: unknown;
117309
118105
  };
117310
118106
  content: {
117311
- "application/json": components["schemas"]["DashboardLifecycleComparisonResponseSchema"];
118107
+ "application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
117312
118108
  };
117313
118109
  };
117314
118110
  /** @description Bad Request */
@@ -117331,13 +118127,14 @@ export interface operations {
117331
118127
  };
117332
118128
  };
117333
118129
  };
117334
- reports_purchasedashboard_views_get_purchase_dashboard_return_reasons: {
118130
+ reports_purchasedashboard_views_get_purchase_dashboard_cash_flow_trend: {
117335
118131
  parameters: {
117336
118132
  query?: {
117337
118133
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117338
118134
  startDate?: string | null;
117339
118135
  endDate?: string | null;
117340
118136
  branchesIds?: string[] | null;
118137
+ granularity?: "daily" | "weekly" | "monthly";
117341
118138
  };
117342
118139
  header?: never;
117343
118140
  path?: never;
@@ -117351,7 +118148,7 @@ export interface operations {
117351
118148
  [name: string]: unknown;
117352
118149
  };
117353
118150
  content: {
117354
- "application/json": components["schemas"]["DashboardReturnReasonsResponseSchema"];
118151
+ "application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
117355
118152
  };
117356
118153
  };
117357
118154
  /** @description Bad Request */
@@ -117374,7 +118171,7 @@ export interface operations {
117374
118171
  };
117375
118172
  };
117376
118173
  };
117377
- reports_purchasedashboard_views_get_purchase_dashboard_returns_by_stage: {
118174
+ reports_purchasedashboard_views_get_purchase_dashboard_top_items: {
117378
118175
  parameters: {
117379
118176
  query?: {
117380
118177
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117394,7 +118191,7 @@ export interface operations {
117394
118191
  [name: string]: unknown;
117395
118192
  };
117396
118193
  content: {
117397
- "application/json": components["schemas"]["DashboardReturnsByStageResponseSchema"];
118194
+ "application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
117398
118195
  };
117399
118196
  };
117400
118197
  /** @description Bad Request */
@@ -117417,7 +118214,7 @@ export interface operations {
117417
118214
  };
117418
118215
  };
117419
118216
  };
117420
- reports_purchasedashboard_views_get_purchase_dashboard_spend_by_branch: {
118217
+ reports_purchasedashboard_views_get_purchase_dashboard_top_suppliers: {
117421
118218
  parameters: {
117422
118219
  query?: {
117423
118220
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117437,7 +118234,7 @@ export interface operations {
117437
118234
  [name: string]: unknown;
117438
118235
  };
117439
118236
  content: {
117440
- "application/json": components["schemas"]["DashboardSpendByBranchResponseSchema"];
118237
+ "application/json": components["schemas"]["DashboardTopSuppliersResponseSchema"];
117441
118238
  };
117442
118239
  };
117443
118240
  /** @description Bad Request */
@@ -117460,7 +118257,7 @@ export interface operations {
117460
118257
  };
117461
118258
  };
117462
118259
  };
117463
- reports_purchasedashboard_views_get_purchase_dashboard_approval_status: {
118260
+ reports_purchasedashboard_views_get_purchase_dashboard_top_branches: {
117464
118261
  parameters: {
117465
118262
  query?: {
117466
118263
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117480,7 +118277,7 @@ export interface operations {
117480
118277
  [name: string]: unknown;
117481
118278
  };
117482
118279
  content: {
117483
- "application/json": components["schemas"]["DashboardApprovalStatusResponseSchema"];
118280
+ "application/json": components["schemas"]["DashboardTopBranchesResponseSchema"];
117484
118281
  };
117485
118282
  };
117486
118283
  /** @description Bad Request */
@@ -117503,7 +118300,7 @@ export interface operations {
117503
118300
  };
117504
118301
  };
117505
118302
  };
117506
- reports_purchasedashboard_views_get_purchase_dashboard_pipeline: {
118303
+ reports_purchasedashboard_views_get_purchase_dashboard_alerts: {
117507
118304
  parameters: {
117508
118305
  query?: {
117509
118306
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117523,7 +118320,7 @@ export interface operations {
117523
118320
  [name: string]: unknown;
117524
118321
  };
117525
118322
  content: {
117526
- "application/json": components["schemas"]["DashboardPipelineResponseSchema"];
118323
+ "application/json": components["schemas"]["DashboardAlertsResponseSchema"];
117527
118324
  };
117528
118325
  };
117529
118326
  /** @description Bad Request */
@@ -117546,13 +118343,17 @@ export interface operations {
117546
118343
  };
117547
118344
  };
117548
118345
  };
117549
- reports_purchasedashboard_views_get_purchase_dashboard_conversion_funnel: {
118346
+ reports_inventorydashboard_views_get_inventory_dashboard_data: {
117550
118347
  parameters: {
117551
118348
  query?: {
117552
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118349
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117553
118350
  startDate?: string | null;
117554
118351
  endDate?: string | null;
117555
118352
  branchesIds?: string[] | null;
118353
+ warehouseIds?: string[] | null;
118354
+ asOfDate?: string | null;
118355
+ includeNegativeStock?: boolean;
118356
+ movementGranularity?: components["schemas"]["SalesReportGranularity"] | null;
117556
118357
  };
117557
118358
  header?: never;
117558
118359
  path?: never;
@@ -117566,7 +118367,7 @@ export interface operations {
117566
118367
  [name: string]: unknown;
117567
118368
  };
117568
118369
  content: {
117569
- "application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
118370
+ "application/json": components["schemas"]["InventoryDashboardSchema"];
117570
118371
  };
117571
118372
  };
117572
118373
  /** @description Bad Request */
@@ -117589,13 +118390,16 @@ export interface operations {
117589
118390
  };
117590
118391
  };
117591
118392
  };
117592
- reports_purchasedashboard_views_get_purchase_dashboard_cash_flow: {
118393
+ reports_inventorydashboard_views_get_inventory_dashboard_quick_view: {
117593
118394
  parameters: {
117594
118395
  query?: {
117595
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118396
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117596
118397
  startDate?: string | null;
117597
118398
  endDate?: string | null;
117598
118399
  branchesIds?: string[] | null;
118400
+ warehouseIds?: string[] | null;
118401
+ asOfDate?: string | null;
118402
+ includeNegativeStock?: boolean;
117599
118403
  };
117600
118404
  header?: never;
117601
118405
  path?: never;
@@ -117609,7 +118413,7 @@ export interface operations {
117609
118413
  [name: string]: unknown;
117610
118414
  };
117611
118415
  content: {
117612
- "application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
118416
+ "application/json": components["schemas"]["InventoryQuickViewResponseSchema"];
117613
118417
  };
117614
118418
  };
117615
118419
  /** @description Bad Request */
@@ -117632,14 +118436,16 @@ export interface operations {
117632
118436
  };
117633
118437
  };
117634
118438
  };
117635
- reports_purchasedashboard_views_get_purchase_dashboard_cash_flow_trend: {
118439
+ reports_inventorydashboard_views_get_inventory_dashboard_by_category: {
117636
118440
  parameters: {
117637
118441
  query?: {
117638
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118442
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117639
118443
  startDate?: string | null;
117640
118444
  endDate?: string | null;
117641
118445
  branchesIds?: string[] | null;
117642
- granularity?: "daily" | "weekly" | "monthly";
118446
+ warehouseIds?: string[] | null;
118447
+ asOfDate?: string | null;
118448
+ includeNegativeStock?: boolean;
117643
118449
  };
117644
118450
  header?: never;
117645
118451
  path?: never;
@@ -117653,7 +118459,7 @@ export interface operations {
117653
118459
  [name: string]: unknown;
117654
118460
  };
117655
118461
  content: {
117656
- "application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
118462
+ "application/json": components["schemas"]["InventoryByCategoryResponseSchema"];
117657
118463
  };
117658
118464
  };
117659
118465
  /** @description Bad Request */
@@ -117676,13 +118482,16 @@ export interface operations {
117676
118482
  };
117677
118483
  };
117678
118484
  };
117679
- reports_purchasedashboard_views_get_purchase_dashboard_top_items: {
118485
+ reports_inventorydashboard_views_get_inventory_dashboard_flow_balance: {
117680
118486
  parameters: {
117681
118487
  query?: {
117682
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118488
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117683
118489
  startDate?: string | null;
117684
118490
  endDate?: string | null;
117685
118491
  branchesIds?: string[] | null;
118492
+ warehouseIds?: string[] | null;
118493
+ asOfDate?: string | null;
118494
+ includeNegativeStock?: boolean;
117686
118495
  };
117687
118496
  header?: never;
117688
118497
  path?: never;
@@ -117696,7 +118505,7 @@ export interface operations {
117696
118505
  [name: string]: unknown;
117697
118506
  };
117698
118507
  content: {
117699
- "application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
118508
+ "application/json": components["schemas"]["InventoryFlowBalanceResponseSchema"];
117700
118509
  };
117701
118510
  };
117702
118511
  /** @description Bad Request */
@@ -117719,13 +118528,18 @@ export interface operations {
117719
118528
  };
117720
118529
  };
117721
118530
  };
117722
- reports_purchasedashboard_views_get_purchase_dashboard_top_suppliers: {
118531
+ reports_inventorydashboard_views_get_inventory_dashboard_movement_over_period: {
117723
118532
  parameters: {
117724
118533
  query?: {
117725
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118534
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117726
118535
  startDate?: string | null;
117727
118536
  endDate?: string | null;
117728
118537
  branchesIds?: string[] | null;
118538
+ warehouseIds?: string[] | null;
118539
+ asOfDate?: string | null;
118540
+ includeNegativeStock?: boolean;
118541
+ movementGranularity?: components["schemas"]["SalesReportGranularity"] | null;
118542
+ granularity?: components["schemas"]["SalesReportGranularity"] | null;
117729
118543
  };
117730
118544
  header?: never;
117731
118545
  path?: never;
@@ -117739,7 +118553,7 @@ export interface operations {
117739
118553
  [name: string]: unknown;
117740
118554
  };
117741
118555
  content: {
117742
- "application/json": components["schemas"]["DashboardTopSuppliersResponseSchema"];
118556
+ "application/json": components["schemas"]["InventoryMovementOverPeriodResponseSchema"];
117743
118557
  };
117744
118558
  };
117745
118559
  /** @description Bad Request */
@@ -117762,13 +118576,16 @@ export interface operations {
117762
118576
  };
117763
118577
  };
117764
118578
  };
117765
- reports_purchasedashboard_views_get_purchase_dashboard_top_branches: {
118579
+ reports_inventorydashboard_views_get_inventory_dashboard_movement_by_document: {
117766
118580
  parameters: {
117767
118581
  query?: {
117768
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118582
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117769
118583
  startDate?: string | null;
117770
118584
  endDate?: string | null;
117771
118585
  branchesIds?: string[] | null;
118586
+ warehouseIds?: string[] | null;
118587
+ asOfDate?: string | null;
118588
+ includeNegativeStock?: boolean;
117772
118589
  };
117773
118590
  header?: never;
117774
118591
  path?: never;
@@ -117782,7 +118599,7 @@ export interface operations {
117782
118599
  [name: string]: unknown;
117783
118600
  };
117784
118601
  content: {
117785
- "application/json": components["schemas"]["DashboardTopBranchesResponseSchema"];
118602
+ "application/json": components["schemas"]["InventoryMovementByDocumentResponseSchema"];
117786
118603
  };
117787
118604
  };
117788
118605
  /** @description Bad Request */
@@ -117805,13 +118622,16 @@ export interface operations {
117805
118622
  };
117806
118623
  };
117807
118624
  };
117808
- reports_purchasedashboard_views_get_purchase_dashboard_alerts: {
118625
+ reports_inventorydashboard_views_get_inventory_dashboard_value_by_warehouse: {
117809
118626
  parameters: {
117810
118627
  query?: {
117811
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118628
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117812
118629
  startDate?: string | null;
117813
118630
  endDate?: string | null;
117814
118631
  branchesIds?: string[] | null;
118632
+ warehouseIds?: string[] | null;
118633
+ asOfDate?: string | null;
118634
+ includeNegativeStock?: boolean;
117815
118635
  };
117816
118636
  header?: never;
117817
118637
  path?: never;
@@ -117825,7 +118645,147 @@ export interface operations {
117825
118645
  [name: string]: unknown;
117826
118646
  };
117827
118647
  content: {
117828
- "application/json": components["schemas"]["DashboardAlertsResponseSchema"];
118648
+ "application/json": components["schemas"]["InventoryValueByWarehouseResponseSchema"];
118649
+ };
118650
+ };
118651
+ /** @description Bad Request */
118652
+ 400: {
118653
+ headers: {
118654
+ [name: string]: unknown;
118655
+ };
118656
+ content: {
118657
+ "application/json": components["schemas"]["ErrorMessages"];
118658
+ };
118659
+ };
118660
+ /** @description Forbidden */
118661
+ 403: {
118662
+ headers: {
118663
+ [name: string]: unknown;
118664
+ };
118665
+ content: {
118666
+ "application/json": components["schemas"]["MessageResponse"];
118667
+ };
118668
+ };
118669
+ };
118670
+ };
118671
+ reports_inventorydashboard_views_get_inventory_dashboard_attention_items: {
118672
+ parameters: {
118673
+ query?: {
118674
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
118675
+ startDate?: string | null;
118676
+ endDate?: string | null;
118677
+ branchesIds?: string[] | null;
118678
+ warehouseIds?: string[] | null;
118679
+ asOfDate?: string | null;
118680
+ includeNegativeStock?: boolean;
118681
+ };
118682
+ header?: never;
118683
+ path?: never;
118684
+ cookie?: never;
118685
+ };
118686
+ requestBody?: never;
118687
+ responses: {
118688
+ /** @description OK */
118689
+ 200: {
118690
+ headers: {
118691
+ [name: string]: unknown;
118692
+ };
118693
+ content: {
118694
+ "application/json": components["schemas"]["InventoryAttentionItemsResponseSchema"];
118695
+ };
118696
+ };
118697
+ /** @description Bad Request */
118698
+ 400: {
118699
+ headers: {
118700
+ [name: string]: unknown;
118701
+ };
118702
+ content: {
118703
+ "application/json": components["schemas"]["ErrorMessages"];
118704
+ };
118705
+ };
118706
+ /** @description Forbidden */
118707
+ 403: {
118708
+ headers: {
118709
+ [name: string]: unknown;
118710
+ };
118711
+ content: {
118712
+ "application/json": components["schemas"]["MessageResponse"];
118713
+ };
118714
+ };
118715
+ };
118716
+ };
118717
+ reports_inventorydashboard_views_get_inventory_dashboard_package_activity: {
118718
+ parameters: {
118719
+ query?: {
118720
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
118721
+ startDate?: string | null;
118722
+ endDate?: string | null;
118723
+ branchesIds?: string[] | null;
118724
+ warehouseIds?: string[] | null;
118725
+ asOfDate?: string | null;
118726
+ includeNegativeStock?: boolean;
118727
+ movementGranularity?: components["schemas"]["SalesReportGranularity"] | null;
118728
+ granularity?: components["schemas"]["SalesReportGranularity"] | null;
118729
+ };
118730
+ header?: never;
118731
+ path?: never;
118732
+ cookie?: never;
118733
+ };
118734
+ requestBody?: never;
118735
+ responses: {
118736
+ /** @description OK */
118737
+ 200: {
118738
+ headers: {
118739
+ [name: string]: unknown;
118740
+ };
118741
+ content: {
118742
+ "application/json": components["schemas"]["PackageActivityOverPeriodResponseSchema"];
118743
+ };
118744
+ };
118745
+ /** @description Bad Request */
118746
+ 400: {
118747
+ headers: {
118748
+ [name: string]: unknown;
118749
+ };
118750
+ content: {
118751
+ "application/json": components["schemas"]["ErrorMessages"];
118752
+ };
118753
+ };
118754
+ /** @description Forbidden */
118755
+ 403: {
118756
+ headers: {
118757
+ [name: string]: unknown;
118758
+ };
118759
+ content: {
118760
+ "application/json": components["schemas"]["MessageResponse"];
118761
+ };
118762
+ };
118763
+ };
118764
+ };
118765
+ reports_inventorydashboard_views_get_inventory_dashboard_top_performance: {
118766
+ parameters: {
118767
+ query?: {
118768
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
118769
+ startDate?: string | null;
118770
+ endDate?: string | null;
118771
+ branchesIds?: string[] | null;
118772
+ warehouseIds?: string[] | null;
118773
+ asOfDate?: string | null;
118774
+ includeNegativeStock?: boolean;
118775
+ };
118776
+ header?: never;
118777
+ path?: never;
118778
+ cookie?: never;
118779
+ };
118780
+ requestBody?: never;
118781
+ responses: {
118782
+ /** @description OK */
118783
+ 200: {
118784
+ headers: {
118785
+ [name: string]: unknown;
118786
+ };
118787
+ content: {
118788
+ "application/json": components["schemas"]["InventoryTopPerformanceResponseSchema"];
117829
118789
  };
117830
118790
  };
117831
118791
  /** @description Bad Request */