@experteam-mx/ngx-services 20.2.2-dev3.0 → 20.2.2

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.
@@ -3810,6 +3810,56 @@ class ApiReportsService {
3810
3810
  return this.http.get(`${this.url}/sales-book-report`, { params })
3811
3811
  .pipe(map(({ data }) => data));
3812
3812
  }
3813
+ /**
3814
+ * Retrieves a list of shipment histories based on the provided query parameters.
3815
+ *
3816
+ * @param params - The query parameters used to filter the shipment histories.
3817
+ * @returns An observable that emits the list of shipment histories.
3818
+ */
3819
+ getHistoriesReport(params) {
3820
+ return this.http.get(`${this.url}/histories-report`, { params })
3821
+ .pipe(map(({ data }) => data));
3822
+ }
3823
+ /**
3824
+ * Retrieves a list of parcels based on the provided query parameters.
3825
+ *
3826
+ * @param params - The query parameters used to filter the parcels.
3827
+ * @returns An observable that emits the list of parcels.
3828
+ */
3829
+ getParcelsReport(params) {
3830
+ return this.http.get(`${this.url}/parcels-report`, { params })
3831
+ .pipe(map(({ data }) => data));
3832
+ }
3833
+ /**
3834
+ * Retrieves a list of operations based on the provided query parameters.
3835
+ *
3836
+ * @param params - The query parameters used to filter the operations.
3837
+ * @returns An observable that emits the list of operations.
3838
+ */
3839
+ getOperationsReport(params) {
3840
+ return this.http.get(`${this.url}/operations-report`, { params })
3841
+ .pipe(map(({ data }) => data));
3842
+ }
3843
+ /**
3844
+ * Retrieves a list of operations based on the provided query parameters.
3845
+ *
3846
+ * @param params - The query parameters used to filter the operations.
3847
+ * @returns An observable that emits the list of operations.
3848
+ */
3849
+ getPackagesReport(params) {
3850
+ return this.http.get(`${this.url}/packages-report`, { params })
3851
+ .pipe(map(({ data }) => data));
3852
+ }
3853
+ /**
3854
+ * Retrieves a list of inventories based on the provided query parameters.
3855
+ *
3856
+ * @param params - The query parameters used to filter the inventories.
3857
+ * @returns An observable that emits the list of inventories.
3858
+ */
3859
+ getInventoriesReport(params) {
3860
+ return this.http.get(`${this.url}/inventories-report`, { params })
3861
+ .pipe(map(({ data }) => data));
3862
+ }
3813
3863
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiReportsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3814
3864
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiReportsService, providedIn: 'root' });
3815
3865
  }