@experteam-mx/ngx-services 20.3.2 → 20.3.4

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.
@@ -75,7 +75,7 @@ class ApiBillingCOService {
75
75
  * Retrieves the information of a customer by its identifier.
76
76
  *
77
77
  * @param {number} id - Unique customer identifier.
78
- * @returns {Observable<CoCustomerOut>}
78
+ * @returns {Observable<CoGetCustomerOut>}
79
79
  * Observable emitting the customer information.
80
80
  */
81
81
  getCustomer(id) {
@@ -86,7 +86,7 @@ class ApiBillingCOService {
86
86
  * Creates a new customer.
87
87
  *
88
88
  * @param {CoCustomerIn} body - Customer data to be created.
89
- * @returns {Observable<CoCustomerOut>}
89
+ * @returns {Observable<CoPostCustomerOut>}
90
90
  * Observable emitting the created customer information.
91
91
  */
92
92
  postCustomer(body) {
@@ -4023,6 +4023,16 @@ class ApiReportsService {
4023
4023
  return this.http.get(`${this.url}/inventories-report`, { params })
4024
4024
  .pipe(map(({ data }) => data));
4025
4025
  }
4026
+ /**
4027
+ * Retrieves billing details based on the provided query parameters.
4028
+ *
4029
+ * @param params - The query parameters used to filter the billing details.
4030
+ * @returns An observable that emits the billing details.
4031
+ */
4032
+ getBillingDetails(params) {
4033
+ return this.http.get(`${this.url}/billing-details`, { params })
4034
+ .pipe(map(({ data }) => data));
4035
+ }
4026
4036
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiReportsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4027
4037
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiReportsService, providedIn: 'root' });
4028
4038
  }