@experteam-mx/ngx-services 20.10.11 → 20.10.12
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.
|
@@ -4278,6 +4278,16 @@ class ApiInvoicesService {
|
|
|
4278
4278
|
return this.http.put(`${this.url}/payment-type-field-accounts/${id}`, body)
|
|
4279
4279
|
.pipe(map(({ data }) => data));
|
|
4280
4280
|
}
|
|
4281
|
+
/**
|
|
4282
|
+
* Deletes an existing payment type field account.
|
|
4283
|
+
*
|
|
4284
|
+
* @param {number} id - The ID of the payment type field account to delete.
|
|
4285
|
+
* @returns {Observable<{}>} An observable that emits the result of the delete operation.
|
|
4286
|
+
*/
|
|
4287
|
+
deleteCountryPaymentTypeFieldAccount(id) {
|
|
4288
|
+
return this.http.delete(`${this.url}/payment-type-field-accounts/${id}`)
|
|
4289
|
+
.pipe(map(({ data }) => data));
|
|
4290
|
+
}
|
|
4281
4291
|
/**
|
|
4282
4292
|
* Fetches tolerance data from the server based on the provided query parameters.
|
|
4283
4293
|
*
|