@erp-galoper/types 1.0.2077 → 1.0.2079

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 +133 -17
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -21453,6 +21453,26 @@ export interface paths {
21453
21453
  patch?: never;
21454
21454
  trace?: never;
21455
21455
  };
21456
+ "/api/v1/reports/sales-dashboard/alerts/": {
21457
+ parameters: {
21458
+ query?: never;
21459
+ header?: never;
21460
+ path?: never;
21461
+ cookie?: never;
21462
+ };
21463
+ /**
21464
+ * Get Sales Dashboard Alerts
21465
+ * @description Operational alerts for quotations, refunds, and stuck sales orders.
21466
+ */
21467
+ get: operations["reports_salesdashboard_views_get_sales_dashboard_alerts"];
21468
+ put?: never;
21469
+ post?: never;
21470
+ delete?: never;
21471
+ options?: never;
21472
+ head?: never;
21473
+ patch?: never;
21474
+ trace?: never;
21475
+ };
21456
21476
  "/api/v1/reports/receivables-by-customer-region/": {
21457
21477
  parameters: {
21458
21478
  query?: never;
@@ -65704,6 +65724,29 @@ export interface components {
65704
65724
  /** Name */
65705
65725
  name: string;
65706
65726
  };
65727
+ /** DashboardAlertDocumentSchema */
65728
+ DashboardAlertDocumentSchema: {
65729
+ /**
65730
+ * Id
65731
+ * Format: uuid
65732
+ */
65733
+ id: string;
65734
+ /** Documenttype */
65735
+ documentType: string;
65736
+ /** Serialnumber */
65737
+ serialNumber: string;
65738
+ /**
65739
+ * Date
65740
+ * Format: date
65741
+ */
65742
+ date: string;
65743
+ amount: components["schemas"]["CurrencyAmountSchema"];
65744
+ };
65745
+ /**
65746
+ * DashboardAlertType
65747
+ * @enum {string}
65748
+ */
65749
+ DashboardAlertType: "pending_quotations" | "quotations_requiring_action" | "pending_refunds" | "refunds_requiring_processing" | "stuck_pending_orders" | "orders_exceeded_processing_time";
65707
65750
  /** FunnelStageSchema */
65708
65751
  FunnelStageSchema: {
65709
65752
  /** Totalcount */
@@ -65806,6 +65849,15 @@ export interface components {
65806
65849
  totalTax: components["schemas"]["CurrencyAmountSchema"];
65807
65850
  costOfGoodsSold: components["schemas"]["CurrencyAmountSchema"] | null;
65808
65851
  };
65852
+ /** SalesDashboardAlertSchema */
65853
+ SalesDashboardAlertSchema: {
65854
+ alertType: components["schemas"]["DashboardAlertType"];
65855
+ /** Affectedrecords */
65856
+ affectedRecords: number;
65857
+ amount?: components["schemas"]["CurrencyAmountSchema"] | null;
65858
+ /** Documents */
65859
+ documents: components["schemas"]["DashboardAlertDocumentSchema"][];
65860
+ };
65809
65861
  /** SalesDashboardSchema */
65810
65862
  SalesDashboardSchema: {
65811
65863
  /** Periodstart */
@@ -65833,6 +65885,8 @@ export interface components {
65833
65885
  topPerformingCustomers: components["schemas"]["TopPerformingCustomerSchema"][];
65834
65886
  /** Topperformingbranches */
65835
65887
  topPerformingBranches: components["schemas"]["TopPerformingBranchSchema"][];
65888
+ /** Alerts */
65889
+ alerts: components["schemas"]["SalesDashboardAlertSchema"][];
65836
65890
  };
65837
65891
  /** SalesPipelineSchema */
65838
65892
  SalesPipelineSchema: {
@@ -66012,6 +66066,17 @@ export interface components {
66012
66066
  /** Topperformingbranches */
66013
66067
  topPerformingBranches: components["schemas"]["TopPerformingPurchaseBranchSchema"][];
66014
66068
  };
66069
+ /** DashboardAlertsResponseSchema */
66070
+ DashboardAlertsResponseSchema: {
66071
+ /** Periodstart */
66072
+ periodStart: string | null;
66073
+ /** Periodend */
66074
+ periodEnd: string | null;
66075
+ primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
66076
+ secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
66077
+ /** Alerts */
66078
+ alerts: components["schemas"]["PurchaseDashboardAlertSchema"][];
66079
+ };
66015
66080
  /** ReceivablesByCustomerRegionContactSchema */
66016
66081
  ReceivablesByCustomerRegionContactSchema: {
66017
66082
  /** Name */
@@ -66124,13 +66189,29 @@ export interface components {
66124
66189
  branchName: string;
66125
66190
  purchaseAmount: components["schemas"]["CurrencyAmountSchema"];
66126
66191
  };
66127
- /** LifecycleComparisonSchema */
66128
- LifecycleComparisonSchema: {
66192
+ /** LifecycleComparisonPeriodSchema */
66193
+ LifecycleComparisonPeriodSchema: {
66194
+ /**
66195
+ * Periodstart
66196
+ * Format: date
66197
+ */
66198
+ periodStart: string;
66199
+ /**
66200
+ * Periodend
66201
+ * Format: date
66202
+ */
66203
+ periodEnd: string;
66129
66204
  ordered: components["schemas"]["CurrencyAmountSchema"];
66130
66205
  invoiced: components["schemas"]["CurrencyAmountSchema"];
66131
66206
  received: components["schemas"]["CurrencyAmountSchema"];
66132
66207
  paid: components["schemas"]["CurrencyAmountSchema"];
66133
66208
  };
66209
+ /** LifecycleComparisonSchema */
66210
+ LifecycleComparisonSchema: {
66211
+ granularity: components["schemas"]["SalesReportGranularity"];
66212
+ /** Periods */
66213
+ periods: components["schemas"]["LifecycleComparisonPeriodSchema"][];
66214
+ };
66134
66215
  /** PurchaseCashFlowAnalysisSchema */
66135
66216
  PurchaseCashFlowAnalysisSchema: {
66136
66217
  advancePayments: components["schemas"]["CurrencyAmountSchema"];
@@ -66159,11 +66240,12 @@ export interface components {
66159
66240
  };
66160
66241
  /** PurchaseDashboardAlertSchema */
66161
66242
  PurchaseDashboardAlertSchema: {
66162
- /** Alerttype */
66163
- alertType: string;
66243
+ alertType: components["schemas"]["DashboardAlertType"];
66164
66244
  /** Affectedrecords */
66165
66245
  affectedRecords: number;
66166
66246
  amount?: components["schemas"]["CurrencyAmountSchema"] | null;
66247
+ /** Documents */
66248
+ documents: components["schemas"]["DashboardAlertDocumentSchema"][];
66167
66249
  };
66168
66250
  /** PurchaseDashboardSchema */
66169
66251
  PurchaseDashboardSchema: {
@@ -66367,17 +66449,6 @@ export interface components {
66367
66449
  /** Topperformingsuppliers */
66368
66450
  topPerformingSuppliers: components["schemas"]["TopPerformingSupplierSchema"][];
66369
66451
  };
66370
- /** DashboardAlertsResponseSchema */
66371
- DashboardAlertsResponseSchema: {
66372
- /** Periodstart */
66373
- periodStart: string | null;
66374
- /** Periodend */
66375
- periodEnd: string | null;
66376
- primaryCurrency: components["schemas"]["CurrencyInfoSchema"];
66377
- secondaryCurrency: components["schemas"]["CurrencyInfoSchema"] | null;
66378
- /** Alerts */
66379
- alerts: components["schemas"]["PurchaseDashboardAlertSchema"][];
66380
- };
66381
66452
  /** RetrieveStatus */
66382
66453
  RetrieveStatus: {
66383
66454
  /**
@@ -112475,6 +112546,50 @@ export interface operations {
112475
112546
  };
112476
112547
  };
112477
112548
  };
112549
+ reports_salesdashboard_views_get_sales_dashboard_alerts: {
112550
+ parameters: {
112551
+ query?: {
112552
+ periodType?: "today" | "yesterday" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "all";
112553
+ startDate?: string | null;
112554
+ endDate?: string | null;
112555
+ sources?: components["schemas"]["SalesReportSourceType"][] | null;
112556
+ branchesIds?: string[] | null;
112557
+ };
112558
+ header?: never;
112559
+ path?: never;
112560
+ cookie?: never;
112561
+ };
112562
+ requestBody?: never;
112563
+ responses: {
112564
+ /** @description OK */
112565
+ 200: {
112566
+ headers: {
112567
+ [name: string]: unknown;
112568
+ };
112569
+ content: {
112570
+ "application/json": components["schemas"]["DashboardAlertsResponseSchema"];
112571
+ };
112572
+ };
112573
+ /** @description Bad Request */
112574
+ 400: {
112575
+ headers: {
112576
+ [name: string]: unknown;
112577
+ };
112578
+ content: {
112579
+ "application/json": components["schemas"]["ErrorMessages"];
112580
+ };
112581
+ };
112582
+ /** @description Forbidden */
112583
+ 403: {
112584
+ headers: {
112585
+ [name: string]: unknown;
112586
+ };
112587
+ content: {
112588
+ "application/json": components["schemas"]["MessageResponse"];
112589
+ };
112590
+ };
112591
+ };
112592
+ };
112478
112593
  reports_receivablesreport_views_get_receivables_by_customer_region_report_view: {
112479
112594
  parameters: {
112480
112595
  query?: {
@@ -112535,7 +112650,7 @@ export interface operations {
112535
112650
  startDate?: string | null;
112536
112651
  endDate?: string | null;
112537
112652
  branchesIds?: string[] | null;
112538
- spendTrendGranularity?: "daily" | "weekly" | "monthly";
112653
+ spendTrendGranularity?: components["schemas"]["SalesReportGranularity"] | null;
112539
112654
  cashFlowTrendGranularity?: "daily" | "weekly" | "monthly";
112540
112655
  };
112541
112656
  header?: never;
@@ -112623,7 +112738,7 @@ export interface operations {
112623
112738
  startDate?: string | null;
112624
112739
  endDate?: string | null;
112625
112740
  branchesIds?: string[] | null;
112626
- granularity?: "daily" | "weekly" | "monthly";
112741
+ granularity?: components["schemas"]["SalesReportGranularity"] | null;
112627
112742
  };
112628
112743
  header?: never;
112629
112744
  path?: never;
@@ -112667,6 +112782,7 @@ export interface operations {
112667
112782
  startDate?: string | null;
112668
112783
  endDate?: string | null;
112669
112784
  branchesIds?: string[] | null;
112785
+ granularity?: components["schemas"]["SalesReportGranularity"] | null;
112670
112786
  };
112671
112787
  header?: never;
112672
112788
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2077",
3
+ "version": "1.0.2079",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [