@experteam-mx/ngx-services 20.7.0-dev1.11 → 20.7.0-dev1.13

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.
@@ -1022,6 +1022,16 @@ class ApiCatalogsService {
1022
1022
  return this.http.put(`${this.url}/generic-folios/${id}`, body)
1023
1023
  .pipe(map(({ data }) => data));
1024
1024
  }
1025
+ /**
1026
+ * Retrieves the list of products.
1027
+ *
1028
+ * @param params Query parameters used to filter or paginate the products.
1029
+ * @returns An observable containing the list of products.
1030
+ */
1031
+ getProducts(params) {
1032
+ return this.http.get(`${this.url}/products`, { params })
1033
+ .pipe(map(({ data }) => data));
1034
+ }
1025
1035
  /**
1026
1036
  * Retrieves a product by its unique identifier.
1027
1037
  *