@erp-galoper/types 1.0.2120 → 1.0.2122

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 +1076 -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;
@@ -52625,6 +52798,9 @@ export interface components {
52625
52798
  hasExpiryDate: boolean | null;
52626
52799
  /** Allownegativestock */
52627
52800
  allowNegativeStock: boolean;
52801
+ /** Defaultsellingprice */
52802
+ defaultSellingPrice?: number | null;
52803
+ defaultSellingPriceCurrency?: components["schemas"]["CurrencySummaryInfo"] | null;
52628
52804
  };
52629
52805
  /** LandedCostAllocationMinimalSchema */
52630
52806
  LandedCostAllocationMinimalSchema: {
@@ -69204,6 +69380,328 @@ export interface components {
69204
69380
  /** Topperformingsuppliers */
69205
69381
  topPerformingSuppliers: components["schemas"]["TopPerformingSupplierSchema"][];
69206
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
+ };
69207
69705
  /** RetrieveStatus */
69208
69706
  RetrieveStatus: {
69209
69707
  /**
@@ -116334,16 +116832,160 @@ export interface operations {
116334
116832
  };
116335
116833
  };
116336
116834
  };
116337
- 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: {
116338
116977
  parameters: {
116339
116978
  query?: {
116979
+ /** @description Time granularity: daily, weekly, or monthly */
116980
+ granularity?: "daily" | "weekly" | "monthly";
116340
116981
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116341
116982
  /** @description Start date (YYYY-MM-DD) for custom period */
116342
116983
  startDate?: string | null;
116343
116984
  /** @description End date (YYYY-MM-DD) for custom period */
116344
116985
  endDate?: string | null;
116986
+ /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116987
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
116345
116988
  branchesIds?: string[] | null;
116346
- salespersonsIds?: string[] | null;
116347
116989
  };
116348
116990
  header?: never;
116349
116991
  path?: never;
@@ -116357,7 +116999,7 @@ export interface operations {
116357
116999
  [name: string]: unknown;
116358
117000
  };
116359
117001
  content: {
116360
- "application/json": components["schemas"]["SalesBySalespersonListSchema"];
117002
+ "application/json": components["schemas"]["SalesTrendSchema"];
116361
117003
  };
116362
117004
  };
116363
117005
  /** @description Bad Request */
@@ -116380,18 +117022,15 @@ export interface operations {
116380
117022
  };
116381
117023
  };
116382
117024
  };
116383
- reports_salesreport_views_get_sales_by_warehouse_report: {
117025
+ reports_salesdashboard_views_get_sales_dashboard_data: {
116384
117026
  parameters: {
116385
117027
  query?: {
116386
117028
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116387
- /** @description Start date (YYYY-MM-DD) for custom period */
116388
117029
  startDate?: string | null;
116389
- /** @description End date (YYYY-MM-DD) for custom period */
116390
117030
  endDate?: string | null;
116391
- /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116392
117031
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116393
117032
  branchesIds?: string[] | null;
116394
- warehousesIds?: string[] | null;
117033
+ cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
116395
117034
  };
116396
117035
  header?: never;
116397
117036
  path?: never;
@@ -116405,7 +117044,7 @@ export interface operations {
116405
117044
  [name: string]: unknown;
116406
117045
  };
116407
117046
  content: {
116408
- "application/json": components["schemas"]["SalesByWarehouseListSchema"];
117047
+ "application/json": components["schemas"]["SalesDashboardSchema"];
116409
117048
  };
116410
117049
  };
116411
117050
  /** @description Bad Request */
@@ -116428,15 +117067,12 @@ export interface operations {
116428
117067
  };
116429
117068
  };
116430
117069
  };
116431
- reports_salesreport_views_get_sales_summary_report: {
117070
+ reports_salesdashboard_views_get_sales_dashboard_summary: {
116432
117071
  parameters: {
116433
117072
  query?: {
116434
117073
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116435
- /** @description Start date (YYYY-MM-DD) for custom period */
116436
117074
  startDate?: string | null;
116437
- /** @description End date (YYYY-MM-DD) for custom period */
116438
117075
  endDate?: string | null;
116439
- /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116440
117076
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116441
117077
  branchesIds?: string[] | null;
116442
117078
  };
@@ -116452,7 +117088,7 @@ export interface operations {
116452
117088
  [name: string]: unknown;
116453
117089
  };
116454
117090
  content: {
116455
- "application/json": components["schemas"]["SalesSummarySchema"];
117091
+ "application/json": components["schemas"]["DashboardSummaryResponseSchema"];
116456
117092
  };
116457
117093
  };
116458
117094
  /** @description Bad Request */
@@ -116475,17 +117111,12 @@ export interface operations {
116475
117111
  };
116476
117112
  };
116477
117113
  };
116478
- reports_salesreport_views_get_sales_trend_report: {
117114
+ reports_salesdashboard_views_get_sales_dashboard_pipeline: {
116479
117115
  parameters: {
116480
117116
  query?: {
116481
- /** @description Time granularity: daily, weekly, or monthly */
116482
- granularity?: "daily" | "weekly" | "monthly";
116483
117117
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116484
- /** @description Start date (YYYY-MM-DD) for custom period */
116485
117118
  startDate?: string | null;
116486
- /** @description End date (YYYY-MM-DD) for custom period */
116487
117119
  endDate?: string | null;
116488
- /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
116489
117120
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116490
117121
  branchesIds?: string[] | null;
116491
117122
  };
@@ -116501,7 +117132,7 @@ export interface operations {
116501
117132
  [name: string]: unknown;
116502
117133
  };
116503
117134
  content: {
116504
- "application/json": components["schemas"]["SalesTrendSchema"];
117135
+ "application/json": components["schemas"]["DashboardPipelineResponseSchema"];
116505
117136
  };
116506
117137
  };
116507
117138
  /** @description Bad Request */
@@ -116524,7 +117155,7 @@ export interface operations {
116524
117155
  };
116525
117156
  };
116526
117157
  };
116527
- reports_salesdashboard_views_get_sales_dashboard_data: {
117158
+ reports_salesdashboard_views_get_sales_dashboard_invoice_insights: {
116528
117159
  parameters: {
116529
117160
  query?: {
116530
117161
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116532,7 +117163,6 @@ export interface operations {
116532
117163
  endDate?: string | null;
116533
117164
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116534
117165
  branchesIds?: string[] | null;
116535
- cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
116536
117166
  };
116537
117167
  header?: never;
116538
117168
  path?: never;
@@ -116546,7 +117176,7 @@ export interface operations {
116546
117176
  [name: string]: unknown;
116547
117177
  };
116548
117178
  content: {
116549
- "application/json": components["schemas"]["SalesDashboardSchema"];
117179
+ "application/json": components["schemas"]["DashboardInvoiceInsightsResponseSchema"];
116550
117180
  };
116551
117181
  };
116552
117182
  /** @description Bad Request */
@@ -116569,7 +117199,7 @@ export interface operations {
116569
117199
  };
116570
117200
  };
116571
117201
  };
116572
- reports_salesdashboard_views_get_sales_dashboard_summary: {
117202
+ reports_salesdashboard_views_get_sales_dashboard_conversion_funnel: {
116573
117203
  parameters: {
116574
117204
  query?: {
116575
117205
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116590,7 +117220,7 @@ export interface operations {
116590
117220
  [name: string]: unknown;
116591
117221
  };
116592
117222
  content: {
116593
- "application/json": components["schemas"]["DashboardSummaryResponseSchema"];
117223
+ "application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
116594
117224
  };
116595
117225
  };
116596
117226
  /** @description Bad Request */
@@ -116613,7 +117243,7 @@ export interface operations {
116613
117243
  };
116614
117244
  };
116615
117245
  };
116616
- reports_salesdashboard_views_get_sales_dashboard_pipeline: {
117246
+ reports_salesdashboard_views_get_sales_dashboard_cash_flow: {
116617
117247
  parameters: {
116618
117248
  query?: {
116619
117249
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116634,7 +117264,7 @@ export interface operations {
116634
117264
  [name: string]: unknown;
116635
117265
  };
116636
117266
  content: {
116637
- "application/json": components["schemas"]["DashboardPipelineResponseSchema"];
117267
+ "application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
116638
117268
  };
116639
117269
  };
116640
117270
  /** @description Bad Request */
@@ -116657,7 +117287,7 @@ export interface operations {
116657
117287
  };
116658
117288
  };
116659
117289
  };
116660
- reports_salesdashboard_views_get_sales_dashboard_invoice_insights: {
117290
+ reports_salesdashboard_views_get_sales_dashboard_cash_flow_trend: {
116661
117291
  parameters: {
116662
117292
  query?: {
116663
117293
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116665,6 +117295,8 @@ export interface operations {
116665
117295
  endDate?: string | null;
116666
117296
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116667
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";
116668
117300
  };
116669
117301
  header?: never;
116670
117302
  path?: never;
@@ -116678,7 +117310,7 @@ export interface operations {
116678
117310
  [name: string]: unknown;
116679
117311
  };
116680
117312
  content: {
116681
- "application/json": components["schemas"]["DashboardInvoiceInsightsResponseSchema"];
117313
+ "application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
116682
117314
  };
116683
117315
  };
116684
117316
  /** @description Bad Request */
@@ -116701,7 +117333,7 @@ export interface operations {
116701
117333
  };
116702
117334
  };
116703
117335
  };
116704
- reports_salesdashboard_views_get_sales_dashboard_conversion_funnel: {
117336
+ reports_salesdashboard_views_get_sales_dashboard_item_cost_distribution: {
116705
117337
  parameters: {
116706
117338
  query?: {
116707
117339
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116722,7 +117354,7 @@ export interface operations {
116722
117354
  [name: string]: unknown;
116723
117355
  };
116724
117356
  content: {
116725
- "application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
117357
+ "application/json": components["schemas"]["DashboardItemCostDistributionResponseSchema"];
116726
117358
  };
116727
117359
  };
116728
117360
  /** @description Bad Request */
@@ -116745,7 +117377,7 @@ export interface operations {
116745
117377
  };
116746
117378
  };
116747
117379
  };
116748
- reports_salesdashboard_views_get_sales_dashboard_cash_flow: {
117380
+ reports_salesdashboard_views_get_sales_dashboard_net_sales_contribution: {
116749
117381
  parameters: {
116750
117382
  query?: {
116751
117383
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116766,7 +117398,7 @@ export interface operations {
116766
117398
  [name: string]: unknown;
116767
117399
  };
116768
117400
  content: {
116769
- "application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
117401
+ "application/json": components["schemas"]["DashboardNetSalesContributionResponseSchema"];
116770
117402
  };
116771
117403
  };
116772
117404
  /** @description Bad Request */
@@ -116789,7 +117421,7 @@ export interface operations {
116789
117421
  };
116790
117422
  };
116791
117423
  };
116792
- reports_salesdashboard_views_get_sales_dashboard_cash_flow_trend: {
117424
+ reports_salesdashboard_views_get_sales_dashboard_top_items: {
116793
117425
  parameters: {
116794
117426
  query?: {
116795
117427
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116797,8 +117429,6 @@ export interface operations {
116797
117429
  endDate?: string | null;
116798
117430
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
116799
117431
  branchesIds?: string[] | null;
116800
- /** @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. */
116801
- granularity?: "daily" | "weekly" | "monthly";
116802
117432
  };
116803
117433
  header?: never;
116804
117434
  path?: never;
@@ -116812,7 +117442,7 @@ export interface operations {
116812
117442
  [name: string]: unknown;
116813
117443
  };
116814
117444
  content: {
116815
- "application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
117445
+ "application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
116816
117446
  };
116817
117447
  };
116818
117448
  /** @description Bad Request */
@@ -116835,7 +117465,7 @@ export interface operations {
116835
117465
  };
116836
117466
  };
116837
117467
  };
116838
- reports_salesdashboard_views_get_sales_dashboard_item_cost_distribution: {
117468
+ reports_salesdashboard_views_get_sales_dashboard_top_customers: {
116839
117469
  parameters: {
116840
117470
  query?: {
116841
117471
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116856,7 +117486,7 @@ export interface operations {
116856
117486
  [name: string]: unknown;
116857
117487
  };
116858
117488
  content: {
116859
- "application/json": components["schemas"]["DashboardItemCostDistributionResponseSchema"];
117489
+ "application/json": components["schemas"]["DashboardTopCustomersResponseSchema"];
116860
117490
  };
116861
117491
  };
116862
117492
  /** @description Bad Request */
@@ -116879,7 +117509,7 @@ export interface operations {
116879
117509
  };
116880
117510
  };
116881
117511
  };
116882
- reports_salesdashboard_views_get_sales_dashboard_net_sales_contribution: {
117512
+ reports_salesdashboard_views_get_sales_dashboard_top_branches: {
116883
117513
  parameters: {
116884
117514
  query?: {
116885
117515
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -116900,7 +117530,192 @@ export interface operations {
116900
117530
  [name: string]: unknown;
116901
117531
  };
116902
117532
  content: {
116903
- "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"];
116904
117719
  };
116905
117720
  };
116906
117721
  /** @description Bad Request */
@@ -116923,14 +117738,14 @@ export interface operations {
116923
117738
  };
116924
117739
  };
116925
117740
  };
116926
- reports_salesdashboard_views_get_sales_dashboard_top_items: {
117741
+ reports_purchasedashboard_views_get_purchase_dashboard_spend_trend: {
116927
117742
  parameters: {
116928
117743
  query?: {
116929
117744
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116930
117745
  startDate?: string | null;
116931
117746
  endDate?: string | null;
116932
- sources?: components["schemas"]["SalesReportSourceType"][] | null;
116933
117747
  branchesIds?: string[] | null;
117748
+ granularity?: components["schemas"]["SalesReportGranularity"] | null;
116934
117749
  };
116935
117750
  header?: never;
116936
117751
  path?: never;
@@ -116944,7 +117759,7 @@ export interface operations {
116944
117759
  [name: string]: unknown;
116945
117760
  };
116946
117761
  content: {
116947
- "application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
117762
+ "application/json": components["schemas"]["DashboardSpendTrendResponseSchema"];
116948
117763
  };
116949
117764
  };
116950
117765
  /** @description Bad Request */
@@ -116967,14 +117782,14 @@ export interface operations {
116967
117782
  };
116968
117783
  };
116969
117784
  };
116970
- reports_salesdashboard_views_get_sales_dashboard_top_customers: {
117785
+ reports_purchasedashboard_views_get_purchase_dashboard_lifecycle_comparison: {
116971
117786
  parameters: {
116972
117787
  query?: {
116973
117788
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
116974
117789
  startDate?: string | null;
116975
117790
  endDate?: string | null;
116976
- sources?: components["schemas"]["SalesReportSourceType"][] | null;
116977
117791
  branchesIds?: string[] | null;
117792
+ granularity?: components["schemas"]["SalesReportGranularity"] | null;
116978
117793
  };
116979
117794
  header?: never;
116980
117795
  path?: never;
@@ -116988,7 +117803,7 @@ export interface operations {
116988
117803
  [name: string]: unknown;
116989
117804
  };
116990
117805
  content: {
116991
- "application/json": components["schemas"]["DashboardTopCustomersResponseSchema"];
117806
+ "application/json": components["schemas"]["DashboardLifecycleComparisonResponseSchema"];
116992
117807
  };
116993
117808
  };
116994
117809
  /** @description Bad Request */
@@ -117011,13 +117826,12 @@ export interface operations {
117011
117826
  };
117012
117827
  };
117013
117828
  };
117014
- reports_salesdashboard_views_get_sales_dashboard_top_branches: {
117829
+ reports_purchasedashboard_views_get_purchase_dashboard_return_reasons: {
117015
117830
  parameters: {
117016
117831
  query?: {
117017
117832
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117018
117833
  startDate?: string | null;
117019
117834
  endDate?: string | null;
117020
- sources?: components["schemas"]["SalesReportSourceType"][] | null;
117021
117835
  branchesIds?: string[] | null;
117022
117836
  };
117023
117837
  header?: never;
@@ -117032,7 +117846,7 @@ export interface operations {
117032
117846
  [name: string]: unknown;
117033
117847
  };
117034
117848
  content: {
117035
- "application/json": components["schemas"]["DashboardTopBranchesResponseSchema"];
117849
+ "application/json": components["schemas"]["DashboardReturnReasonsResponseSchema"];
117036
117850
  };
117037
117851
  };
117038
117852
  /** @description Bad Request */
@@ -117055,13 +117869,12 @@ export interface operations {
117055
117869
  };
117056
117870
  };
117057
117871
  };
117058
- reports_salesdashboard_views_get_sales_dashboard_alerts: {
117872
+ reports_purchasedashboard_views_get_purchase_dashboard_returns_by_stage: {
117059
117873
  parameters: {
117060
117874
  query?: {
117061
117875
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117062
117876
  startDate?: string | null;
117063
117877
  endDate?: string | null;
117064
- sources?: components["schemas"]["SalesReportSourceType"][] | null;
117065
117878
  branchesIds?: string[] | null;
117066
117879
  };
117067
117880
  header?: never;
@@ -117076,7 +117889,7 @@ export interface operations {
117076
117889
  [name: string]: unknown;
117077
117890
  };
117078
117891
  content: {
117079
- "application/json": components["schemas"]["DashboardAlertsResponseSchema"];
117892
+ "application/json": components["schemas"]["DashboardReturnsByStageResponseSchema"];
117080
117893
  };
117081
117894
  };
117082
117895
  /** @description Bad Request */
@@ -117099,22 +117912,12 @@ export interface operations {
117099
117912
  };
117100
117913
  };
117101
117914
  };
117102
- reports_receivablesreport_views_get_receivables_by_customer_region_report_view: {
117915
+ reports_purchasedashboard_views_get_purchase_dashboard_spend_by_branch: {
117103
117916
  parameters: {
117104
117917
  query?: {
117105
- /** @description Sales region(s) to filter customers (defaults to all regions) */
117106
- regionIds?: number[] | null;
117107
- /** @description Show invoices unpaid as of this date */
117108
- asOfDate?: string | null;
117109
- /** @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. */
117110
- salesPersonId?: string | null;
117111
- /** @description Filter by customer group using route api/v1/common/contact-segmentation/ and filter by type equals customer */
117112
- customerGroupIds?: string[] | null;
117113
- /** @description Only include customers with overdue invoices */
117114
- includeOverdueOnly?: boolean;
117115
- /** @description Sort customers by city or sort regions alphabetically */
117116
- sortBy?: "region" | "city";
117117
- /** @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;
117118
117921
  branchesIds?: string[] | null;
117119
117922
  };
117120
117923
  header?: never;
@@ -117129,7 +117932,7 @@ export interface operations {
117129
117932
  [name: string]: unknown;
117130
117933
  };
117131
117934
  content: {
117132
- "application/json": components["schemas"]["ReceivablesByCustomerRegionReportSchema"];
117935
+ "application/json": components["schemas"]["DashboardSpendByBranchResponseSchema"];
117133
117936
  };
117134
117937
  };
117135
117938
  /** @description Bad Request */
@@ -117152,15 +117955,13 @@ export interface operations {
117152
117955
  };
117153
117956
  };
117154
117957
  };
117155
- reports_purchasedashboard_views_get_purchase_dashboard_data: {
117958
+ reports_purchasedashboard_views_get_purchase_dashboard_approval_status: {
117156
117959
  parameters: {
117157
117960
  query?: {
117158
117961
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117159
117962
  startDate?: string | null;
117160
117963
  endDate?: string | null;
117161
117964
  branchesIds?: string[] | null;
117162
- spendTrendGranularity?: components["schemas"]["SalesReportGranularity"] | null;
117163
- cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
117164
117965
  };
117165
117966
  header?: never;
117166
117967
  path?: never;
@@ -117174,7 +117975,7 @@ export interface operations {
117174
117975
  [name: string]: unknown;
117175
117976
  };
117176
117977
  content: {
117177
- "application/json": components["schemas"]["PurchaseDashboardSchema"];
117978
+ "application/json": components["schemas"]["DashboardApprovalStatusResponseSchema"];
117178
117979
  };
117179
117980
  };
117180
117981
  /** @description Bad Request */
@@ -117197,7 +117998,7 @@ export interface operations {
117197
117998
  };
117198
117999
  };
117199
118000
  };
117200
- reports_purchasedashboard_views_get_purchase_dashboard_summary: {
118001
+ reports_purchasedashboard_views_get_purchase_dashboard_pipeline: {
117201
118002
  parameters: {
117202
118003
  query?: {
117203
118004
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117217,7 +118018,7 @@ export interface operations {
117217
118018
  [name: string]: unknown;
117218
118019
  };
117219
118020
  content: {
117220
- "application/json": components["schemas"]["DashboardSummaryResponseSchema"];
118021
+ "application/json": components["schemas"]["DashboardPipelineResponseSchema"];
117221
118022
  };
117222
118023
  };
117223
118024
  /** @description Bad Request */
@@ -117240,14 +118041,13 @@ export interface operations {
117240
118041
  };
117241
118042
  };
117242
118043
  };
117243
- reports_purchasedashboard_views_get_purchase_dashboard_spend_trend: {
118044
+ reports_purchasedashboard_views_get_purchase_dashboard_conversion_funnel: {
117244
118045
  parameters: {
117245
118046
  query?: {
117246
118047
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117247
118048
  startDate?: string | null;
117248
118049
  endDate?: string | null;
117249
118050
  branchesIds?: string[] | null;
117250
- granularity?: components["schemas"]["SalesReportGranularity"] | null;
117251
118051
  };
117252
118052
  header?: never;
117253
118053
  path?: never;
@@ -117261,7 +118061,7 @@ export interface operations {
117261
118061
  [name: string]: unknown;
117262
118062
  };
117263
118063
  content: {
117264
- "application/json": components["schemas"]["DashboardSpendTrendResponseSchema"];
118064
+ "application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
117265
118065
  };
117266
118066
  };
117267
118067
  /** @description Bad Request */
@@ -117284,14 +118084,13 @@ export interface operations {
117284
118084
  };
117285
118085
  };
117286
118086
  };
117287
- reports_purchasedashboard_views_get_purchase_dashboard_lifecycle_comparison: {
118087
+ reports_purchasedashboard_views_get_purchase_dashboard_cash_flow: {
117288
118088
  parameters: {
117289
118089
  query?: {
117290
118090
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117291
118091
  startDate?: string | null;
117292
118092
  endDate?: string | null;
117293
118093
  branchesIds?: string[] | null;
117294
- granularity?: components["schemas"]["SalesReportGranularity"] | null;
117295
118094
  };
117296
118095
  header?: never;
117297
118096
  path?: never;
@@ -117305,7 +118104,7 @@ export interface operations {
117305
118104
  [name: string]: unknown;
117306
118105
  };
117307
118106
  content: {
117308
- "application/json": components["schemas"]["DashboardLifecycleComparisonResponseSchema"];
118107
+ "application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
117309
118108
  };
117310
118109
  };
117311
118110
  /** @description Bad Request */
@@ -117328,13 +118127,14 @@ export interface operations {
117328
118127
  };
117329
118128
  };
117330
118129
  };
117331
- reports_purchasedashboard_views_get_purchase_dashboard_return_reasons: {
118130
+ reports_purchasedashboard_views_get_purchase_dashboard_cash_flow_trend: {
117332
118131
  parameters: {
117333
118132
  query?: {
117334
118133
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
117335
118134
  startDate?: string | null;
117336
118135
  endDate?: string | null;
117337
118136
  branchesIds?: string[] | null;
118137
+ granularity?: "daily" | "weekly" | "monthly";
117338
118138
  };
117339
118139
  header?: never;
117340
118140
  path?: never;
@@ -117348,7 +118148,7 @@ export interface operations {
117348
118148
  [name: string]: unknown;
117349
118149
  };
117350
118150
  content: {
117351
- "application/json": components["schemas"]["DashboardReturnReasonsResponseSchema"];
118151
+ "application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
117352
118152
  };
117353
118153
  };
117354
118154
  /** @description Bad Request */
@@ -117371,7 +118171,7 @@ export interface operations {
117371
118171
  };
117372
118172
  };
117373
118173
  };
117374
- reports_purchasedashboard_views_get_purchase_dashboard_returns_by_stage: {
118174
+ reports_purchasedashboard_views_get_purchase_dashboard_top_items: {
117375
118175
  parameters: {
117376
118176
  query?: {
117377
118177
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117391,7 +118191,7 @@ export interface operations {
117391
118191
  [name: string]: unknown;
117392
118192
  };
117393
118193
  content: {
117394
- "application/json": components["schemas"]["DashboardReturnsByStageResponseSchema"];
118194
+ "application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
117395
118195
  };
117396
118196
  };
117397
118197
  /** @description Bad Request */
@@ -117414,7 +118214,7 @@ export interface operations {
117414
118214
  };
117415
118215
  };
117416
118216
  };
117417
- reports_purchasedashboard_views_get_purchase_dashboard_spend_by_branch: {
118217
+ reports_purchasedashboard_views_get_purchase_dashboard_top_suppliers: {
117418
118218
  parameters: {
117419
118219
  query?: {
117420
118220
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117434,7 +118234,7 @@ export interface operations {
117434
118234
  [name: string]: unknown;
117435
118235
  };
117436
118236
  content: {
117437
- "application/json": components["schemas"]["DashboardSpendByBranchResponseSchema"];
118237
+ "application/json": components["schemas"]["DashboardTopSuppliersResponseSchema"];
117438
118238
  };
117439
118239
  };
117440
118240
  /** @description Bad Request */
@@ -117457,7 +118257,7 @@ export interface operations {
117457
118257
  };
117458
118258
  };
117459
118259
  };
117460
- reports_purchasedashboard_views_get_purchase_dashboard_approval_status: {
118260
+ reports_purchasedashboard_views_get_purchase_dashboard_top_branches: {
117461
118261
  parameters: {
117462
118262
  query?: {
117463
118263
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117477,7 +118277,7 @@ export interface operations {
117477
118277
  [name: string]: unknown;
117478
118278
  };
117479
118279
  content: {
117480
- "application/json": components["schemas"]["DashboardApprovalStatusResponseSchema"];
118280
+ "application/json": components["schemas"]["DashboardTopBranchesResponseSchema"];
117481
118281
  };
117482
118282
  };
117483
118283
  /** @description Bad Request */
@@ -117500,7 +118300,7 @@ export interface operations {
117500
118300
  };
117501
118301
  };
117502
118302
  };
117503
- reports_purchasedashboard_views_get_purchase_dashboard_pipeline: {
118303
+ reports_purchasedashboard_views_get_purchase_dashboard_alerts: {
117504
118304
  parameters: {
117505
118305
  query?: {
117506
118306
  periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
@@ -117520,7 +118320,7 @@ export interface operations {
117520
118320
  [name: string]: unknown;
117521
118321
  };
117522
118322
  content: {
117523
- "application/json": components["schemas"]["DashboardPipelineResponseSchema"];
118323
+ "application/json": components["schemas"]["DashboardAlertsResponseSchema"];
117524
118324
  };
117525
118325
  };
117526
118326
  /** @description Bad Request */
@@ -117543,13 +118343,17 @@ export interface operations {
117543
118343
  };
117544
118344
  };
117545
118345
  };
117546
- reports_purchasedashboard_views_get_purchase_dashboard_conversion_funnel: {
118346
+ reports_inventorydashboard_views_get_inventory_dashboard_data: {
117547
118347
  parameters: {
117548
118348
  query?: {
117549
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118349
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117550
118350
  startDate?: string | null;
117551
118351
  endDate?: string | null;
117552
118352
  branchesIds?: string[] | null;
118353
+ warehouseIds?: string[] | null;
118354
+ asOfDate?: string | null;
118355
+ includeNegativeStock?: boolean;
118356
+ movementGranularity?: components["schemas"]["SalesReportGranularity"] | null;
117553
118357
  };
117554
118358
  header?: never;
117555
118359
  path?: never;
@@ -117563,7 +118367,7 @@ export interface operations {
117563
118367
  [name: string]: unknown;
117564
118368
  };
117565
118369
  content: {
117566
- "application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
118370
+ "application/json": components["schemas"]["InventoryDashboardSchema"];
117567
118371
  };
117568
118372
  };
117569
118373
  /** @description Bad Request */
@@ -117586,13 +118390,16 @@ export interface operations {
117586
118390
  };
117587
118391
  };
117588
118392
  };
117589
- reports_purchasedashboard_views_get_purchase_dashboard_cash_flow: {
118393
+ reports_inventorydashboard_views_get_inventory_dashboard_quick_view: {
117590
118394
  parameters: {
117591
118395
  query?: {
117592
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118396
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117593
118397
  startDate?: string | null;
117594
118398
  endDate?: string | null;
117595
118399
  branchesIds?: string[] | null;
118400
+ warehouseIds?: string[] | null;
118401
+ asOfDate?: string | null;
118402
+ includeNegativeStock?: boolean;
117596
118403
  };
117597
118404
  header?: never;
117598
118405
  path?: never;
@@ -117606,7 +118413,7 @@ export interface operations {
117606
118413
  [name: string]: unknown;
117607
118414
  };
117608
118415
  content: {
117609
- "application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
118416
+ "application/json": components["schemas"]["InventoryQuickViewResponseSchema"];
117610
118417
  };
117611
118418
  };
117612
118419
  /** @description Bad Request */
@@ -117629,14 +118436,16 @@ export interface operations {
117629
118436
  };
117630
118437
  };
117631
118438
  };
117632
- reports_purchasedashboard_views_get_purchase_dashboard_cash_flow_trend: {
118439
+ reports_inventorydashboard_views_get_inventory_dashboard_by_category: {
117633
118440
  parameters: {
117634
118441
  query?: {
117635
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118442
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117636
118443
  startDate?: string | null;
117637
118444
  endDate?: string | null;
117638
118445
  branchesIds?: string[] | null;
117639
- granularity?: "daily" | "weekly" | "monthly";
118446
+ warehouseIds?: string[] | null;
118447
+ asOfDate?: string | null;
118448
+ includeNegativeStock?: boolean;
117640
118449
  };
117641
118450
  header?: never;
117642
118451
  path?: never;
@@ -117650,7 +118459,7 @@ export interface operations {
117650
118459
  [name: string]: unknown;
117651
118460
  };
117652
118461
  content: {
117653
- "application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
118462
+ "application/json": components["schemas"]["InventoryByCategoryResponseSchema"];
117654
118463
  };
117655
118464
  };
117656
118465
  /** @description Bad Request */
@@ -117673,13 +118482,16 @@ export interface operations {
117673
118482
  };
117674
118483
  };
117675
118484
  };
117676
- reports_purchasedashboard_views_get_purchase_dashboard_top_items: {
118485
+ reports_inventorydashboard_views_get_inventory_dashboard_flow_balance: {
117677
118486
  parameters: {
117678
118487
  query?: {
117679
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118488
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117680
118489
  startDate?: string | null;
117681
118490
  endDate?: string | null;
117682
118491
  branchesIds?: string[] | null;
118492
+ warehouseIds?: string[] | null;
118493
+ asOfDate?: string | null;
118494
+ includeNegativeStock?: boolean;
117683
118495
  };
117684
118496
  header?: never;
117685
118497
  path?: never;
@@ -117693,7 +118505,7 @@ export interface operations {
117693
118505
  [name: string]: unknown;
117694
118506
  };
117695
118507
  content: {
117696
- "application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
118508
+ "application/json": components["schemas"]["InventoryFlowBalanceResponseSchema"];
117697
118509
  };
117698
118510
  };
117699
118511
  /** @description Bad Request */
@@ -117716,13 +118528,18 @@ export interface operations {
117716
118528
  };
117717
118529
  };
117718
118530
  };
117719
- reports_purchasedashboard_views_get_purchase_dashboard_top_suppliers: {
118531
+ reports_inventorydashboard_views_get_inventory_dashboard_movement_over_period: {
117720
118532
  parameters: {
117721
118533
  query?: {
117722
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118534
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117723
118535
  startDate?: string | null;
117724
118536
  endDate?: string | null;
117725
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;
117726
118543
  };
117727
118544
  header?: never;
117728
118545
  path?: never;
@@ -117736,7 +118553,7 @@ export interface operations {
117736
118553
  [name: string]: unknown;
117737
118554
  };
117738
118555
  content: {
117739
- "application/json": components["schemas"]["DashboardTopSuppliersResponseSchema"];
118556
+ "application/json": components["schemas"]["InventoryMovementOverPeriodResponseSchema"];
117740
118557
  };
117741
118558
  };
117742
118559
  /** @description Bad Request */
@@ -117759,13 +118576,16 @@ export interface operations {
117759
118576
  };
117760
118577
  };
117761
118578
  };
117762
- reports_purchasedashboard_views_get_purchase_dashboard_top_branches: {
118579
+ reports_inventorydashboard_views_get_inventory_dashboard_movement_by_document: {
117763
118580
  parameters: {
117764
118581
  query?: {
117765
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118582
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117766
118583
  startDate?: string | null;
117767
118584
  endDate?: string | null;
117768
118585
  branchesIds?: string[] | null;
118586
+ warehouseIds?: string[] | null;
118587
+ asOfDate?: string | null;
118588
+ includeNegativeStock?: boolean;
117769
118589
  };
117770
118590
  header?: never;
117771
118591
  path?: never;
@@ -117779,7 +118599,7 @@ export interface operations {
117779
118599
  [name: string]: unknown;
117780
118600
  };
117781
118601
  content: {
117782
- "application/json": components["schemas"]["DashboardTopBranchesResponseSchema"];
118602
+ "application/json": components["schemas"]["InventoryMovementByDocumentResponseSchema"];
117783
118603
  };
117784
118604
  };
117785
118605
  /** @description Bad Request */
@@ -117802,13 +118622,16 @@ export interface operations {
117802
118622
  };
117803
118623
  };
117804
118624
  };
117805
- reports_purchasedashboard_views_get_purchase_dashboard_alerts: {
118625
+ reports_inventorydashboard_views_get_inventory_dashboard_value_by_warehouse: {
117806
118626
  parameters: {
117807
118627
  query?: {
117808
- periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
118628
+ periodType?: components["schemas"]["SalesReportPeriodType"] | null;
117809
118629
  startDate?: string | null;
117810
118630
  endDate?: string | null;
117811
118631
  branchesIds?: string[] | null;
118632
+ warehouseIds?: string[] | null;
118633
+ asOfDate?: string | null;
118634
+ includeNegativeStock?: boolean;
117812
118635
  };
117813
118636
  header?: never;
117814
118637
  path?: never;
@@ -117822,7 +118645,147 @@ export interface operations {
117822
118645
  [name: string]: unknown;
117823
118646
  };
117824
118647
  content: {
117825
- "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"];
117826
118789
  };
117827
118790
  };
117828
118791
  /** @description Bad Request */