         })
     }
     
-    public static func loadOrderStatisticsOfMonth(
+    public static func loadStatisticsOfMonth(
         auth: Auth,
+        type: MSStatisticsType,
         retailStore: StatisticsRerailStoreArgument? = nil
         )-> Observable<StatisticsResult> {
         let interval = StatisticsIntervalArgument(type: .day)
         
         let currentRequest = loadStatistics(auth: auth,
-                                            type: .orders,
+                                            type: type,
                                             moment: StatisticsMoment(from: Date().startOfMonth(), to: Date().endOfMonth()),
                                             interval: interval,
                                             retailStore: retailStore)
         
         let lastRequest = loadStatistics(auth: auth,
-                                         type: .orders,
+                                         type: type,
                                          moment: StatisticsMoment(from: Date().startOfLastMonth(), to: Date().startOfMonth()),
                                          interval: interval,
                                          retailStore: retailStore)

                                        })
    }
    
    public static func loadOrderStatisticsOfWeek(
        auth: Auth,
        retailStore: StatisticsRerailStoreArgument? = nil
        )-> Observable<StatisticsResult> {
        let interval = StatisticsIntervalArgument(type: .day)
        
        let currentRequest = loadStatistics(auth: auth,
                                            type: .orders,
                                            moment: StatisticsMoment(from: Date().startOfWeek(), to: Date().endOfWeek()),
                                            interval: interval,
                                            retailStore: retailStore)
        
        let lastRequest = loadStatistics(auth: auth,
                                         type: .orders,
                                         moment: StatisticsMoment(from: Date().startOfLastWeek(), to: Date().endOfLastWeek()),
                                         interval: interval,
                                         retailStore: retailStore)

                                            return StatisticsResult(current: current, last: last)
        })
    }
}
