@erp-galoper/types 1.0.2057 → 1.0.2059

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 +1144 -0
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -21192,6 +21192,246 @@ export interface paths {
21192
21192
  patch?: never;
21193
21193
  trace?: never;
21194
21194
  };
21195
+ "/api/v1/reports/sales-dashboard/": {
21196
+ parameters: {
21197
+ query?: never;
21198
+ header?: never;
21199
+ path?: never;
21200
+ cookie?: never;
21201
+ };
21202
+ /**
21203
+ * Get Sales Dashboard Data
21204
+ * @description Full sales dashboard payload combining all sections.
21205
+ */
21206
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_data"];
21207
+ put?: never;
21208
+ post?: never;
21209
+ delete?: never;
21210
+ options?: never;
21211
+ head?: never;
21212
+ patch?: never;
21213
+ trace?: never;
21214
+ };
21215
+ "/api/v1/reports/sales-dashboard/summary/": {
21216
+ parameters: {
21217
+ query?: never;
21218
+ header?: never;
21219
+ path?: never;
21220
+ cookie?: never;
21221
+ };
21222
+ /**
21223
+ * Get Sales Dashboard Summary
21224
+ * @description Summary cards, sales breakdown, order metrics, and return summary.
21225
+ */
21226
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_summary"];
21227
+ put?: never;
21228
+ post?: never;
21229
+ delete?: never;
21230
+ options?: never;
21231
+ head?: never;
21232
+ patch?: never;
21233
+ trace?: never;
21234
+ };
21235
+ "/api/v1/reports/sales-dashboard/pipeline/": {
21236
+ parameters: {
21237
+ query?: never;
21238
+ header?: never;
21239
+ path?: never;
21240
+ cookie?: never;
21241
+ };
21242
+ /**
21243
+ * Get Sales Dashboard Pipeline
21244
+ * @description Sales pipeline metrics: quotations, orders, receipts, payment vouchers, payments.
21245
+ */
21246
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_pipeline"];
21247
+ put?: never;
21248
+ post?: never;
21249
+ delete?: never;
21250
+ options?: never;
21251
+ head?: never;
21252
+ patch?: never;
21253
+ trace?: never;
21254
+ };
21255
+ "/api/v1/reports/sales-dashboard/invoice-insights/": {
21256
+ parameters: {
21257
+ query?: never;
21258
+ header?: never;
21259
+ path?: never;
21260
+ cookie?: never;
21261
+ };
21262
+ /**
21263
+ * Get Sales Dashboard Invoice Insights
21264
+ * @description Invoice status breakdown: pending, overdue, paid, draft.
21265
+ */
21266
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_invoice_insights"];
21267
+ put?: never;
21268
+ post?: never;
21269
+ delete?: never;
21270
+ options?: never;
21271
+ head?: never;
21272
+ patch?: never;
21273
+ trace?: never;
21274
+ };
21275
+ "/api/v1/reports/sales-dashboard/conversion-funnel/": {
21276
+ parameters: {
21277
+ query?: never;
21278
+ header?: never;
21279
+ path?: never;
21280
+ cookie?: never;
21281
+ };
21282
+ /**
21283
+ * Get Sales Dashboard Conversion Funnel
21284
+ * @description Sales conversion funnel across quotations, orders, invoices, and paid.
21285
+ */
21286
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_conversion_funnel"];
21287
+ put?: never;
21288
+ post?: never;
21289
+ delete?: never;
21290
+ options?: never;
21291
+ head?: never;
21292
+ patch?: never;
21293
+ trace?: never;
21294
+ };
21295
+ "/api/v1/reports/sales-dashboard/cash-flow/": {
21296
+ parameters: {
21297
+ query?: never;
21298
+ header?: never;
21299
+ path?: never;
21300
+ cookie?: never;
21301
+ };
21302
+ /**
21303
+ * Get Sales Dashboard Cash Flow
21304
+ * @description Cash flow analysis: received, down payments, receivables, refund outflows.
21305
+ */
21306
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_cash_flow"];
21307
+ put?: never;
21308
+ post?: never;
21309
+ delete?: never;
21310
+ options?: never;
21311
+ head?: never;
21312
+ patch?: never;
21313
+ trace?: never;
21314
+ };
21315
+ "/api/v1/reports/sales-dashboard/cash-flow/trend/": {
21316
+ parameters: {
21317
+ query?: never;
21318
+ header?: never;
21319
+ path?: never;
21320
+ cookie?: never;
21321
+ };
21322
+ /**
21323
+ * Get Sales Dashboard Cash Flow Trend
21324
+ * @description Cash flow trend time series with configurable granularity.
21325
+ */
21326
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_cash_flow_trend"];
21327
+ put?: never;
21328
+ post?: never;
21329
+ delete?: never;
21330
+ options?: never;
21331
+ head?: never;
21332
+ patch?: never;
21333
+ trace?: never;
21334
+ };
21335
+ "/api/v1/reports/sales-dashboard/items/cost-distribution/": {
21336
+ parameters: {
21337
+ query?: never;
21338
+ header?: never;
21339
+ path?: never;
21340
+ cookie?: never;
21341
+ };
21342
+ /**
21343
+ * Get Sales Dashboard Item Cost Distribution
21344
+ * @description Item-level revenue vs COGS distribution.
21345
+ */
21346
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_item_cost_distribution"];
21347
+ put?: never;
21348
+ post?: never;
21349
+ delete?: never;
21350
+ options?: never;
21351
+ head?: never;
21352
+ patch?: never;
21353
+ trace?: never;
21354
+ };
21355
+ "/api/v1/reports/sales-dashboard/items/net-sales-contribution/": {
21356
+ parameters: {
21357
+ query?: never;
21358
+ header?: never;
21359
+ path?: never;
21360
+ cookie?: never;
21361
+ };
21362
+ /**
21363
+ * Get Sales Dashboard Net Sales Contribution
21364
+ * @description Item-level net sales contribution percentages.
21365
+ */
21366
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_net_sales_contribution"];
21367
+ put?: never;
21368
+ post?: never;
21369
+ delete?: never;
21370
+ options?: never;
21371
+ head?: never;
21372
+ patch?: never;
21373
+ trace?: never;
21374
+ };
21375
+ "/api/v1/reports/sales-dashboard/top-items/": {
21376
+ parameters: {
21377
+ query?: never;
21378
+ header?: never;
21379
+ path?: never;
21380
+ cookie?: never;
21381
+ };
21382
+ /**
21383
+ * Get Sales Dashboard Top Items
21384
+ * @description Top 5 performing items with growth vs comparison period.
21385
+ */
21386
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_top_items"];
21387
+ put?: never;
21388
+ post?: never;
21389
+ delete?: never;
21390
+ options?: never;
21391
+ head?: never;
21392
+ patch?: never;
21393
+ trace?: never;
21394
+ };
21395
+ "/api/v1/reports/sales-dashboard/top-customers/": {
21396
+ parameters: {
21397
+ query?: never;
21398
+ header?: never;
21399
+ path?: never;
21400
+ cookie?: never;
21401
+ };
21402
+ /**
21403
+ * Get Sales Dashboard Top Customers
21404
+ * @description Top 5 performing customers with order growth vs comparison period.
21405
+ */
21406
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_top_customers"];
21407
+ put?: never;
21408
+ post?: never;
21409
+ delete?: never;
21410
+ options?: never;
21411
+ head?: never;
21412
+ patch?: never;
21413
+ trace?: never;
21414
+ };
21415
+ "/api/v1/reports/sales-dashboard/top-branches/": {
21416
+ parameters: {
21417
+ query?: never;
21418
+ header?: never;
21419
+ path?: never;
21420
+ cookie?: never;
21421
+ };
21422
+ /**
21423
+ * Get Sales Dashboard Top Branches
21424
+ * @description Top 5 performing branches by revenue share.
21425
+ */
21426
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_top_branches"];
21427
+ put?: never;
21428
+ post?: never;
21429
+ delete?: never;
21430
+ options?: never;
21431
+ head?: never;
21432
+ patch?: never;
21433
+ trace?: never;
21434
+ };
21195
21435
  "/api/v1/reports/receivables-by-customer-region/": {
21196
21436
  parameters: {
21197
21437
  query?: never;
@@ -25691,6 +25931,12 @@ export interface components {
25691
25931
  * @default []
25692
25932
  */
25693
25933
  salestrendreport: components["schemas"]["BasePermissionsSchema_Report_Sales_SalestrendreportEnum"][];
25934
+ /**
25935
+ * Salesdashboard
25936
+ * @description salesdashboard actions
25937
+ * @default []
25938
+ */
25939
+ salesdashboard: string[];
25694
25940
  };
25695
25941
  /**
25696
25942
  * BasePermissionsSchema_Report_Sales_ReceivablesbycustomerregionreportEnum
@@ -65161,6 +65407,373 @@ export interface components {
65161
65407
  */
65162
65408
  growthPercentage?: string | null;
65163
65409
  };
65410
+ /** CashFlowAnalysisSchema */
65411
+ CashFlowAnalysisSchema: {
65412
+ cashReceived: components["schemas"]["CurrencyAmountSchema"];
65413
+ downPayments: components["schemas"]["CurrencyAmountSchema"];
65414
+ pendingReceivables: components["schemas"]["CurrencyAmountSchema"];
65415
+ refundOutflows: components["schemas"]["CurrencyAmountSchema"];
65416
+ };
65417
+ /** CashFlowTrendPeriodSchema */
65418
+ CashFlowTrendPeriodSchema: {
65419
+ /**
65420
+ * Periodstart
65421
+ * Format: date
65422
+ */
65423
+ periodStart: string;
65424
+ /**
65425
+ * Periodend
65426
+ * Format: date
65427
+ */
65428
+ periodEnd: string;
65429
+ inflows: components["schemas"]["CurrencyAmountSchema"];
65430
+ /** Inflowtransactioncount */
65431
+ inflowTransactionCount: number;
65432
+ outflows: components["schemas"]["CurrencyAmountSchema"];
65433
+ /** Outflowtransactioncount */
65434
+ outflowTransactionCount: number;
65435
+ };
65436
+ /** CashFlowTrendSchema */
65437
+ CashFlowTrendSchema: {
65438
+ granularity: components["schemas"]["SalesReportGranularity"];
65439
+ /** Periods */
65440
+ periods: components["schemas"]["CashFlowTrendPeriodSchema"][];
65441
+ };
65442
+ /** ConversionFunnelSchema */
65443
+ ConversionFunnelSchema: {
65444
+ quotations: components["schemas"]["FunnelStageSchema"];
65445
+ orders: components["schemas"]["FunnelStageSchema"];
65446
+ invoices: components["schemas"]["FunnelStageSchema"];
65447
+ paid: components["schemas"]["FunnelStageSchema"];
65448
+ /** Quotationtoorder */
65449
+ quotationToOrder: string | null;
65450
+ /** Ordertoinvoice */
65451
+ orderToInvoice: string | null;
65452
+ /** Invoicetoreceipt */
65453
+ invoiceToReceipt: string | null;
65454
+ /** Invoicetopaid */
65455
+ invoiceToPaid: string | null;
65456
+ };
65457
+ /** CurrencyInfoSchema */
65458
+ CurrencyInfoSchema: {
65459
+ /**
65460
+ * Id
65461
+ * Format: uuid
65462
+ */
65463
+ id: string;
65464
+ /** Code */
65465
+ code: string;
65466
+ /** Name */
65467
+ name: string;
65468
+ };
65469
+ /** FunnelStageSchema */
65470
+ FunnelStageSchema: {
65471
+ /** Totalcount */
65472
+ totalCount: number;
65473
+ /** Convertedcount */
65474
+ convertedCount: number;
65475
+ totalValue: components["schemas"]["CurrencyAmountSchema"];
65476
+ /** Conversionpercentage */
65477
+ conversionPercentage: string | null;
65478
+ /** Notconvertedcount */
65479
+ notConvertedCount: number;
65480
+ notConvertedValue: components["schemas"]["CurrencyAmountSchema"];
65481
+ };
65482
+ /** InvoiceInsightsSchema */
65483
+ InvoiceInsightsSchema: {
65484
+ /** Statuses */
65485
+ statuses: components["schemas"]["InvoiceStatusBreakdownSchema"][];
65486
+ /** Totalinvoices */
65487
+ totalInvoices: number;
65488
+ totalAmount: components["schemas"]["CurrencyAmountSchema"];
65489
+ };
65490
+ /** InvoiceStatusBreakdownSchema */
65491
+ InvoiceStatusBreakdownSchema: {
65492
+ /** Status */
65493
+ status: string;
65494
+ /** Count */
65495
+ count: number;
65496
+ totalAmount: components["schemas"]["CurrencyAmountSchema"];
65497
+ };
65498
+ /** ItemCostDistributionSchema */
65499
+ ItemCostDistributionSchema: {
65500
+ /**
65501
+ * Itemid
65502
+ * Format: uuid
65503
+ */
65504
+ itemId: string;
65505
+ /** Itemname */
65506
+ itemName: string;
65507
+ revenue: components["schemas"]["CurrencyAmountSchema"];
65508
+ costOfGoodsSold: components["schemas"]["CurrencyAmountSchema"] | null;
65509
+ grossProfit: components["schemas"]["CurrencyAmountSchema"] | null;
65510
+ /** Grossmarginpercentage */
65511
+ grossMarginPercentage: string | null;
65512
+ netSalesContribution: components["schemas"]["CurrencyAmountSchema"];
65513
+ /** Contributionpercentage */
65514
+ contributionPercentage: string | null;
65515
+ };
65516
+ /** NetSalesContributionSchema */
65517
+ NetSalesContributionSchema: {
65518
+ /**
65519
+ * Itemid
65520
+ * Format: uuid
65521
+ */
65522
+ itemId: string;
65523
+ /** Itemname */
65524
+ itemName: string;
65525
+ revenue: components["schemas"]["CurrencyAmountSchema"];
65526
+ costOfGoodsSold: components["schemas"]["CurrencyAmountSchema"] | null;
65527
+ grossProfit: components["schemas"]["CurrencyAmountSchema"] | null;
65528
+ /** Grossmarginpercentage */
65529
+ grossMarginPercentage: string | null;
65530
+ netSalesContribution: components["schemas"]["CurrencyAmountSchema"];
65531
+ /** Percentageoftotalnetsales */
65532
+ percentageOfTotalNetSales: string | null;
65533
+ };
65534
+ /** OrderMetricsSchema */
65535
+ OrderMetricsSchema: {
65536
+ /** Totalitemssold */
65537
+ totalItemsSold: number;
65538
+ /** Averageitemsperorder */
65539
+ averageItemsPerOrder: number;
65540
+ };
65541
+ /** PipelineStageMetricsSchema */
65542
+ PipelineStageMetricsSchema: {
65543
+ /** Count */
65544
+ count: number;
65545
+ totalValue: components["schemas"]["CurrencyAmountSchema"];
65546
+ };
65547
+ /** QuotationsConvertedPipelineSchema */
65548
+ QuotationsConvertedPipelineSchema: {
65549
+ /** Count */
65550
+ count: number;
65551
+ convertedValue: components["schemas"]["CurrencyAmountSchema"];
65552
+ /** Conversionpercentage */
65553
+ conversionPercentage: string | null;
65554
+ };
65555
+ /** ReturnSummarySchema */
65556
+ ReturnSummarySchema: {
65557
+ /** Totalitemsreturned */
65558
+ totalItemsReturned: number;
65559
+ returnAmount: components["schemas"]["CurrencyAmountSchema"];
65560
+ /** Returnratepercentage */
65561
+ returnRatePercentage: string | null;
65562
+ };
65563
+ /** SalesBreakdownSchema */
65564
+ SalesBreakdownSchema: {
65565
+ grossSales: components["schemas"]["CurrencyAmountSchema"];
65566
+ netSales: components["schemas"]["CurrencyAmountSchema"];
65567
+ totalDiscounts: components["schemas"]["CurrencyAmountSchema"];
65568
+ totalTax: components["schemas"]["CurrencyAmountSchema"];
65569
+ costOfGoodsSold: components["schemas"]["CurrencyAmountSchema"] | null;
65570
+ };
65571
+ /** SalesDashboardSchema */
65572
+ SalesDashboardSchema: {
65573
+ /** Periodstart */
65574
+ periodStart: string | null;
65575
+ /** Periodend */
65576
+ periodEnd: string | null;
65577
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65578
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65579
+ summaryCards: components["schemas"]["SummaryCardsSchema"];
65580
+ salesBreakdown: components["schemas"]["SalesBreakdownSchema"];
65581
+ orderMetrics: components["schemas"]["OrderMetricsSchema"];
65582
+ returnSummary: components["schemas"]["ReturnSummarySchema"];
65583
+ salesPipeline: components["schemas"]["SalesPipelineSchema"];
65584
+ invoiceInsights: components["schemas"]["InvoiceInsightsSchema"];
65585
+ conversionFunnel: components["schemas"]["ConversionFunnelSchema"];
65586
+ cashFlowAnalysis: components["schemas"]["CashFlowAnalysisSchema"];
65587
+ cashFlowTrend: components["schemas"]["CashFlowTrendSchema"];
65588
+ /** Itemcostdistribution */
65589
+ itemCostDistribution: components["schemas"]["ItemCostDistributionSchema"][];
65590
+ /** Netsalescontributionbyitem */
65591
+ netSalesContributionByItem: components["schemas"]["NetSalesContributionSchema"][];
65592
+ /** Topperformingitems */
65593
+ topPerformingItems: components["schemas"]["TopPerformingItemSchema"][];
65594
+ /** Topperformingcustomers */
65595
+ topPerformingCustomers: components["schemas"]["TopPerformingCustomerSchema"][];
65596
+ /** Topperformingbranches */
65597
+ topPerformingBranches: components["schemas"]["TopPerformingBranchSchema"][];
65598
+ };
65599
+ /** SalesPipelineSchema */
65600
+ SalesPipelineSchema: {
65601
+ quotationsConverted: components["schemas"]["QuotationsConvertedPipelineSchema"];
65602
+ orders: components["schemas"]["PipelineStageMetricsSchema"];
65603
+ receipts: components["schemas"]["PipelineStageMetricsSchema"];
65604
+ paymentVouchers: components["schemas"]["PipelineStageMetricsSchema"];
65605
+ payments: components["schemas"]["CurrencyAmountSchema"];
65606
+ };
65607
+ /** SummaryCardsSchema */
65608
+ SummaryCardsSchema: {
65609
+ totalRevenue: components["schemas"]["CurrencyAmountSchema"];
65610
+ grossProfit: components["schemas"]["CurrencyAmountSchema"] | null;
65611
+ /** Grossmarginpercentage */
65612
+ grossMarginPercentage: string | null;
65613
+ /** Totalinvoices */
65614
+ totalInvoices: number;
65615
+ /** Totalcustomers */
65616
+ totalCustomers: number;
65617
+ averageOrderValue: components["schemas"]["CurrencyAmountSchema"];
65618
+ };
65619
+ /** TopPerformingBranchSchema */
65620
+ TopPerformingBranchSchema: {
65621
+ /**
65622
+ * Branchid
65623
+ * Format: uuid
65624
+ */
65625
+ branchId: string;
65626
+ /** Branchname */
65627
+ branchName: string;
65628
+ revenue: components["schemas"]["CurrencyAmountSchema"];
65629
+ /** Revenuesharepercentage */
65630
+ revenueSharePercentage: string | null;
65631
+ };
65632
+ /** TopPerformingCustomerSchema */
65633
+ TopPerformingCustomerSchema: {
65634
+ /**
65635
+ * Customerid
65636
+ * Format: uuid
65637
+ */
65638
+ customerId: string;
65639
+ /** Customername */
65640
+ customerName: string;
65641
+ /** Numberoforders */
65642
+ numberOfOrders: number;
65643
+ /** Growthpercentage */
65644
+ growthPercentage: string | null;
65645
+ };
65646
+ /** TopPerformingItemSchema */
65647
+ TopPerformingItemSchema: {
65648
+ /**
65649
+ * Itemid
65650
+ * Format: uuid
65651
+ */
65652
+ itemId: string;
65653
+ /** Itemname */
65654
+ itemName: string;
65655
+ salesAmount: components["schemas"]["CurrencyAmountSchema"];
65656
+ /** Growthpercentage */
65657
+ growthPercentage: string | null;
65658
+ };
65659
+ /** DashboardSummaryResponseSchema */
65660
+ DashboardSummaryResponseSchema: {
65661
+ /** Periodstart */
65662
+ periodStart: string | null;
65663
+ /** Periodend */
65664
+ periodEnd: string | null;
65665
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65666
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65667
+ summaryCards: components["schemas"]["SummaryCardsSchema"];
65668
+ salesBreakdown: components["schemas"]["SalesBreakdownSchema"];
65669
+ orderMetrics: components["schemas"]["OrderMetricsSchema"];
65670
+ returnSummary: components["schemas"]["ReturnSummarySchema"];
65671
+ };
65672
+ /** DashboardPipelineResponseSchema */
65673
+ DashboardPipelineResponseSchema: {
65674
+ /** Periodstart */
65675
+ periodStart: string | null;
65676
+ /** Periodend */
65677
+ periodEnd: string | null;
65678
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65679
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65680
+ salesPipeline: components["schemas"]["SalesPipelineSchema"];
65681
+ };
65682
+ /** DashboardInvoiceInsightsResponseSchema */
65683
+ DashboardInvoiceInsightsResponseSchema: {
65684
+ /** Periodstart */
65685
+ periodStart: string | null;
65686
+ /** Periodend */
65687
+ periodEnd: string | null;
65688
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65689
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65690
+ invoiceInsights: components["schemas"]["InvoiceInsightsSchema"];
65691
+ };
65692
+ /** DashboardConversionFunnelResponseSchema */
65693
+ DashboardConversionFunnelResponseSchema: {
65694
+ /** Periodstart */
65695
+ periodStart: string | null;
65696
+ /** Periodend */
65697
+ periodEnd: string | null;
65698
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65699
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65700
+ conversionFunnel: components["schemas"]["ConversionFunnelSchema"];
65701
+ };
65702
+ /** DashboardCashFlowResponseSchema */
65703
+ DashboardCashFlowResponseSchema: {
65704
+ /** Periodstart */
65705
+ periodStart: string | null;
65706
+ /** Periodend */
65707
+ periodEnd: string | null;
65708
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65709
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65710
+ cashFlowAnalysis: components["schemas"]["CashFlowAnalysisSchema"];
65711
+ };
65712
+ /** DashboardCashFlowTrendResponseSchema */
65713
+ DashboardCashFlowTrendResponseSchema: {
65714
+ /** Periodstart */
65715
+ periodStart: string | null;
65716
+ /** Periodend */
65717
+ periodEnd: string | null;
65718
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65719
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65720
+ cashFlowTrend: components["schemas"]["CashFlowTrendSchema"];
65721
+ };
65722
+ /** DashboardItemCostDistributionResponseSchema */
65723
+ DashboardItemCostDistributionResponseSchema: {
65724
+ /** Periodstart */
65725
+ periodStart: string | null;
65726
+ /** Periodend */
65727
+ periodEnd: string | null;
65728
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65729
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65730
+ /** Itemcostdistribution */
65731
+ itemCostDistribution: components["schemas"]["ItemCostDistributionSchema"][];
65732
+ };
65733
+ /** DashboardNetSalesContributionResponseSchema */
65734
+ DashboardNetSalesContributionResponseSchema: {
65735
+ /** Periodstart */
65736
+ periodStart: string | null;
65737
+ /** Periodend */
65738
+ periodEnd: string | null;
65739
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65740
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65741
+ /** Netsalescontributionbyitem */
65742
+ netSalesContributionByItem: components["schemas"]["NetSalesContributionSchema"][];
65743
+ };
65744
+ /** DashboardTopItemsResponseSchema */
65745
+ DashboardTopItemsResponseSchema: {
65746
+ /** Periodstart */
65747
+ periodStart: string | null;
65748
+ /** Periodend */
65749
+ periodEnd: string | null;
65750
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65751
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65752
+ /** Topperformingitems */
65753
+ topPerformingItems: components["schemas"]["TopPerformingItemSchema"][];
65754
+ };
65755
+ /** DashboardTopCustomersResponseSchema */
65756
+ DashboardTopCustomersResponseSchema: {
65757
+ /** Periodstart */
65758
+ periodStart: string | null;
65759
+ /** Periodend */
65760
+ periodEnd: string | null;
65761
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65762
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65763
+ /** Topperformingcustomers */
65764
+ topPerformingCustomers: components["schemas"]["TopPerformingCustomerSchema"][];
65765
+ };
65766
+ /** DashboardTopBranchesResponseSchema */
65767
+ DashboardTopBranchesResponseSchema: {
65768
+ /** Periodstart */
65769
+ periodStart: string | null;
65770
+ /** Periodend */
65771
+ periodEnd: string | null;
65772
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
65773
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
65774
+ /** Topperformingbranches */
65775
+ topPerformingBranches: components["schemas"]["TopPerformingBranchSchema"][];
65776
+ };
65164
65777
  /** ReceivablesByCustomerRegionContactSchema */
65165
65778
  ReceivablesByCustomerRegionContactSchema: {
65166
65779
  /** Name */
@@ -110813,6 +111426,537 @@ export interface operations {
110813
111426
  };
110814
111427
  };
110815
111428
  };
111429
+ reports_salesdashboard_views_get_sales_dashboard_data: {
111430
+ parameters: {
111431
+ query?: {
111432
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111433
+ startDate?: string | null;
111434
+ endDate?: string | null;
111435
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111436
+ branchesIds?: string[] | null;
111437
+ cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
111438
+ };
111439
+ header?: never;
111440
+ path?: never;
111441
+ cookie?: never;
111442
+ };
111443
+ requestBody?: never;
111444
+ responses: {
111445
+ /** @description OK */
111446
+ 200: {
111447
+ headers: {
111448
+ [name: string]: unknown;
111449
+ };
111450
+ content: {
111451
+ "application/json": components["schemas"]["SalesDashboardSchema"];
111452
+ };
111453
+ };
111454
+ /** @description Bad Request */
111455
+ 400: {
111456
+ headers: {
111457
+ [name: string]: unknown;
111458
+ };
111459
+ content: {
111460
+ "application/json": components["schemas"]["ErrorMessages"];
111461
+ };
111462
+ };
111463
+ /** @description Forbidden */
111464
+ 403: {
111465
+ headers: {
111466
+ [name: string]: unknown;
111467
+ };
111468
+ content: {
111469
+ "application/json": components["schemas"]["MessageResponse"];
111470
+ };
111471
+ };
111472
+ };
111473
+ };
111474
+ reports_salesdashboard_views_get_sales_dashboard_summary: {
111475
+ parameters: {
111476
+ query?: {
111477
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111478
+ startDate?: string | null;
111479
+ endDate?: string | null;
111480
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111481
+ branchesIds?: string[] | null;
111482
+ };
111483
+ header?: never;
111484
+ path?: never;
111485
+ cookie?: never;
111486
+ };
111487
+ requestBody?: never;
111488
+ responses: {
111489
+ /** @description OK */
111490
+ 200: {
111491
+ headers: {
111492
+ [name: string]: unknown;
111493
+ };
111494
+ content: {
111495
+ "application/json": components["schemas"]["DashboardSummaryResponseSchema"];
111496
+ };
111497
+ };
111498
+ /** @description Bad Request */
111499
+ 400: {
111500
+ headers: {
111501
+ [name: string]: unknown;
111502
+ };
111503
+ content: {
111504
+ "application/json": components["schemas"]["ErrorMessages"];
111505
+ };
111506
+ };
111507
+ /** @description Forbidden */
111508
+ 403: {
111509
+ headers: {
111510
+ [name: string]: unknown;
111511
+ };
111512
+ content: {
111513
+ "application/json": components["schemas"]["MessageResponse"];
111514
+ };
111515
+ };
111516
+ };
111517
+ };
111518
+ reports_salesdashboard_views_get_sales_dashboard_pipeline: {
111519
+ parameters: {
111520
+ query?: {
111521
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111522
+ startDate?: string | null;
111523
+ endDate?: string | null;
111524
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111525
+ branchesIds?: string[] | null;
111526
+ };
111527
+ header?: never;
111528
+ path?: never;
111529
+ cookie?: never;
111530
+ };
111531
+ requestBody?: never;
111532
+ responses: {
111533
+ /** @description OK */
111534
+ 200: {
111535
+ headers: {
111536
+ [name: string]: unknown;
111537
+ };
111538
+ content: {
111539
+ "application/json": components["schemas"]["DashboardPipelineResponseSchema"];
111540
+ };
111541
+ };
111542
+ /** @description Bad Request */
111543
+ 400: {
111544
+ headers: {
111545
+ [name: string]: unknown;
111546
+ };
111547
+ content: {
111548
+ "application/json": components["schemas"]["ErrorMessages"];
111549
+ };
111550
+ };
111551
+ /** @description Forbidden */
111552
+ 403: {
111553
+ headers: {
111554
+ [name: string]: unknown;
111555
+ };
111556
+ content: {
111557
+ "application/json": components["schemas"]["MessageResponse"];
111558
+ };
111559
+ };
111560
+ };
111561
+ };
111562
+ reports_salesdashboard_views_get_sales_dashboard_invoice_insights: {
111563
+ parameters: {
111564
+ query?: {
111565
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111566
+ startDate?: string | null;
111567
+ endDate?: string | null;
111568
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111569
+ branchesIds?: string[] | null;
111570
+ };
111571
+ header?: never;
111572
+ path?: never;
111573
+ cookie?: never;
111574
+ };
111575
+ requestBody?: never;
111576
+ responses: {
111577
+ /** @description OK */
111578
+ 200: {
111579
+ headers: {
111580
+ [name: string]: unknown;
111581
+ };
111582
+ content: {
111583
+ "application/json": components["schemas"]["DashboardInvoiceInsightsResponseSchema"];
111584
+ };
111585
+ };
111586
+ /** @description Bad Request */
111587
+ 400: {
111588
+ headers: {
111589
+ [name: string]: unknown;
111590
+ };
111591
+ content: {
111592
+ "application/json": components["schemas"]["ErrorMessages"];
111593
+ };
111594
+ };
111595
+ /** @description Forbidden */
111596
+ 403: {
111597
+ headers: {
111598
+ [name: string]: unknown;
111599
+ };
111600
+ content: {
111601
+ "application/json": components["schemas"]["MessageResponse"];
111602
+ };
111603
+ };
111604
+ };
111605
+ };
111606
+ reports_salesdashboard_views_get_sales_dashboard_conversion_funnel: {
111607
+ parameters: {
111608
+ query?: {
111609
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111610
+ startDate?: string | null;
111611
+ endDate?: string | null;
111612
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111613
+ branchesIds?: string[] | null;
111614
+ };
111615
+ header?: never;
111616
+ path?: never;
111617
+ cookie?: never;
111618
+ };
111619
+ requestBody?: never;
111620
+ responses: {
111621
+ /** @description OK */
111622
+ 200: {
111623
+ headers: {
111624
+ [name: string]: unknown;
111625
+ };
111626
+ content: {
111627
+ "application/json": components["schemas"]["DashboardConversionFunnelResponseSchema"];
111628
+ };
111629
+ };
111630
+ /** @description Bad Request */
111631
+ 400: {
111632
+ headers: {
111633
+ [name: string]: unknown;
111634
+ };
111635
+ content: {
111636
+ "application/json": components["schemas"]["ErrorMessages"];
111637
+ };
111638
+ };
111639
+ /** @description Forbidden */
111640
+ 403: {
111641
+ headers: {
111642
+ [name: string]: unknown;
111643
+ };
111644
+ content: {
111645
+ "application/json": components["schemas"]["MessageResponse"];
111646
+ };
111647
+ };
111648
+ };
111649
+ };
111650
+ reports_salesdashboard_views_get_sales_dashboard_cash_flow: {
111651
+ parameters: {
111652
+ query?: {
111653
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111654
+ startDate?: string | null;
111655
+ endDate?: string | null;
111656
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111657
+ branchesIds?: string[] | null;
111658
+ };
111659
+ header?: never;
111660
+ path?: never;
111661
+ cookie?: never;
111662
+ };
111663
+ requestBody?: never;
111664
+ responses: {
111665
+ /** @description OK */
111666
+ 200: {
111667
+ headers: {
111668
+ [name: string]: unknown;
111669
+ };
111670
+ content: {
111671
+ "application/json": components["schemas"]["DashboardCashFlowResponseSchema"];
111672
+ };
111673
+ };
111674
+ /** @description Bad Request */
111675
+ 400: {
111676
+ headers: {
111677
+ [name: string]: unknown;
111678
+ };
111679
+ content: {
111680
+ "application/json": components["schemas"]["ErrorMessages"];
111681
+ };
111682
+ };
111683
+ /** @description Forbidden */
111684
+ 403: {
111685
+ headers: {
111686
+ [name: string]: unknown;
111687
+ };
111688
+ content: {
111689
+ "application/json": components["schemas"]["MessageResponse"];
111690
+ };
111691
+ };
111692
+ };
111693
+ };
111694
+ reports_salesdashboard_views_get_sales_dashboard_cash_flow_trend: {
111695
+ parameters: {
111696
+ query?: {
111697
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111698
+ startDate?: string | null;
111699
+ endDate?: string | null;
111700
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111701
+ branchesIds?: string[] | null;
111702
+ /** @description Daily, weekly, or monthly buckets within the selected period */
111703
+ granularity?: "daily" | "weekly" | "monthly";
111704
+ };
111705
+ header?: never;
111706
+ path?: never;
111707
+ cookie?: never;
111708
+ };
111709
+ requestBody?: never;
111710
+ responses: {
111711
+ /** @description OK */
111712
+ 200: {
111713
+ headers: {
111714
+ [name: string]: unknown;
111715
+ };
111716
+ content: {
111717
+ "application/json": components["schemas"]["DashboardCashFlowTrendResponseSchema"];
111718
+ };
111719
+ };
111720
+ /** @description Bad Request */
111721
+ 400: {
111722
+ headers: {
111723
+ [name: string]: unknown;
111724
+ };
111725
+ content: {
111726
+ "application/json": components["schemas"]["ErrorMessages"];
111727
+ };
111728
+ };
111729
+ /** @description Forbidden */
111730
+ 403: {
111731
+ headers: {
111732
+ [name: string]: unknown;
111733
+ };
111734
+ content: {
111735
+ "application/json": components["schemas"]["MessageResponse"];
111736
+ };
111737
+ };
111738
+ };
111739
+ };
111740
+ reports_salesdashboard_views_get_sales_dashboard_item_cost_distribution: {
111741
+ parameters: {
111742
+ query?: {
111743
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111744
+ startDate?: string | null;
111745
+ endDate?: string | null;
111746
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111747
+ branchesIds?: string[] | null;
111748
+ };
111749
+ header?: never;
111750
+ path?: never;
111751
+ cookie?: never;
111752
+ };
111753
+ requestBody?: never;
111754
+ responses: {
111755
+ /** @description OK */
111756
+ 200: {
111757
+ headers: {
111758
+ [name: string]: unknown;
111759
+ };
111760
+ content: {
111761
+ "application/json": components["schemas"]["DashboardItemCostDistributionResponseSchema"];
111762
+ };
111763
+ };
111764
+ /** @description Bad Request */
111765
+ 400: {
111766
+ headers: {
111767
+ [name: string]: unknown;
111768
+ };
111769
+ content: {
111770
+ "application/json": components["schemas"]["ErrorMessages"];
111771
+ };
111772
+ };
111773
+ /** @description Forbidden */
111774
+ 403: {
111775
+ headers: {
111776
+ [name: string]: unknown;
111777
+ };
111778
+ content: {
111779
+ "application/json": components["schemas"]["MessageResponse"];
111780
+ };
111781
+ };
111782
+ };
111783
+ };
111784
+ reports_salesdashboard_views_get_sales_dashboard_net_sales_contribution: {
111785
+ parameters: {
111786
+ query?: {
111787
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111788
+ startDate?: string | null;
111789
+ endDate?: string | null;
111790
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111791
+ branchesIds?: string[] | null;
111792
+ };
111793
+ header?: never;
111794
+ path?: never;
111795
+ cookie?: never;
111796
+ };
111797
+ requestBody?: never;
111798
+ responses: {
111799
+ /** @description OK */
111800
+ 200: {
111801
+ headers: {
111802
+ [name: string]: unknown;
111803
+ };
111804
+ content: {
111805
+ "application/json": components["schemas"]["DashboardNetSalesContributionResponseSchema"];
111806
+ };
111807
+ };
111808
+ /** @description Bad Request */
111809
+ 400: {
111810
+ headers: {
111811
+ [name: string]: unknown;
111812
+ };
111813
+ content: {
111814
+ "application/json": components["schemas"]["ErrorMessages"];
111815
+ };
111816
+ };
111817
+ /** @description Forbidden */
111818
+ 403: {
111819
+ headers: {
111820
+ [name: string]: unknown;
111821
+ };
111822
+ content: {
111823
+ "application/json": components["schemas"]["MessageResponse"];
111824
+ };
111825
+ };
111826
+ };
111827
+ };
111828
+ reports_salesdashboard_views_get_sales_dashboard_top_items: {
111829
+ parameters: {
111830
+ query?: {
111831
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111832
+ startDate?: string | null;
111833
+ endDate?: string | null;
111834
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111835
+ branchesIds?: string[] | null;
111836
+ };
111837
+ header?: never;
111838
+ path?: never;
111839
+ cookie?: never;
111840
+ };
111841
+ requestBody?: never;
111842
+ responses: {
111843
+ /** @description OK */
111844
+ 200: {
111845
+ headers: {
111846
+ [name: string]: unknown;
111847
+ };
111848
+ content: {
111849
+ "application/json": components["schemas"]["DashboardTopItemsResponseSchema"];
111850
+ };
111851
+ };
111852
+ /** @description Bad Request */
111853
+ 400: {
111854
+ headers: {
111855
+ [name: string]: unknown;
111856
+ };
111857
+ content: {
111858
+ "application/json": components["schemas"]["ErrorMessages"];
111859
+ };
111860
+ };
111861
+ /** @description Forbidden */
111862
+ 403: {
111863
+ headers: {
111864
+ [name: string]: unknown;
111865
+ };
111866
+ content: {
111867
+ "application/json": components["schemas"]["MessageResponse"];
111868
+ };
111869
+ };
111870
+ };
111871
+ };
111872
+ reports_salesdashboard_views_get_sales_dashboard_top_customers: {
111873
+ parameters: {
111874
+ query?: {
111875
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111876
+ startDate?: string | null;
111877
+ endDate?: string | null;
111878
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111879
+ branchesIds?: string[] | null;
111880
+ };
111881
+ header?: never;
111882
+ path?: never;
111883
+ cookie?: never;
111884
+ };
111885
+ requestBody?: never;
111886
+ responses: {
111887
+ /** @description OK */
111888
+ 200: {
111889
+ headers: {
111890
+ [name: string]: unknown;
111891
+ };
111892
+ content: {
111893
+ "application/json": components["schemas"]["DashboardTopCustomersResponseSchema"];
111894
+ };
111895
+ };
111896
+ /** @description Bad Request */
111897
+ 400: {
111898
+ headers: {
111899
+ [name: string]: unknown;
111900
+ };
111901
+ content: {
111902
+ "application/json": components["schemas"]["ErrorMessages"];
111903
+ };
111904
+ };
111905
+ /** @description Forbidden */
111906
+ 403: {
111907
+ headers: {
111908
+ [name: string]: unknown;
111909
+ };
111910
+ content: {
111911
+ "application/json": components["schemas"]["MessageResponse"];
111912
+ };
111913
+ };
111914
+ };
111915
+ };
111916
+ reports_salesdashboard_views_get_sales_dashboard_top_branches: {
111917
+ parameters: {
111918
+ query?: {
111919
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
111920
+ startDate?: string | null;
111921
+ endDate?: string | null;
111922
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
111923
+ branchesIds?: string[] | null;
111924
+ };
111925
+ header?: never;
111926
+ path?: never;
111927
+ cookie?: never;
111928
+ };
111929
+ requestBody?: never;
111930
+ responses: {
111931
+ /** @description OK */
111932
+ 200: {
111933
+ headers: {
111934
+ [name: string]: unknown;
111935
+ };
111936
+ content: {
111937
+ "application/json": components["schemas"]["DashboardTopBranchesResponseSchema"];
111938
+ };
111939
+ };
111940
+ /** @description Bad Request */
111941
+ 400: {
111942
+ headers: {
111943
+ [name: string]: unknown;
111944
+ };
111945
+ content: {
111946
+ "application/json": components["schemas"]["ErrorMessages"];
111947
+ };
111948
+ };
111949
+ /** @description Forbidden */
111950
+ 403: {
111951
+ headers: {
111952
+ [name: string]: unknown;
111953
+ };
111954
+ content: {
111955
+ "application/json": components["schemas"]["MessageResponse"];
111956
+ };
111957
+ };
111958
+ };
111959
+ };
110816
111960
  reports_receivablesreport_views_get_receivables_by_customer_region_report_view: {
110817
111961
  parameters: {
110818
111962
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2057",
3
+ "version": "1.0.2059",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [