@experteam-mx/ngx-services 20.0.28 → 20.0.29
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.
|
@@ -456,6 +456,15 @@ class ApiCashOperationsService {
|
|
|
456
456
|
return this.http.get(`${this.url}/opening-transferences/${id}/receipt`)
|
|
457
457
|
.pipe(map(({ data }) => data));
|
|
458
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* Retrieves a deposit slip by its ID.
|
|
461
|
+
* @param id - The unique identifier of the deposit slip to retrieve
|
|
462
|
+
* @returns An Observable that emits the deposit slip data
|
|
463
|
+
*/
|
|
464
|
+
getDepositSlip(id) {
|
|
465
|
+
return this.http.get(`${this.url}/deposits/${id}/slip`)
|
|
466
|
+
.pipe(map(({ data }) => data));
|
|
467
|
+
}
|
|
459
468
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCashOperationsService, deps: [{ token: 'env' }, { token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
460
469
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCashOperationsService, providedIn: 'root' });
|
|
461
470
|
}
|
|
@@ -3011,6 +3020,26 @@ class ApiInventoriesService {
|
|
|
3011
3020
|
return this.http.post(`${this.url}/packages/in-stock`, body)
|
|
3012
3021
|
.pipe(map(({ data }) => data));
|
|
3013
3022
|
}
|
|
3023
|
+
/**
|
|
3024
|
+
* Fetches the missing package details based on query parameters.
|
|
3025
|
+
*
|
|
3026
|
+
* @param {QueryParams} params - The query parameters for filtering the missing package details.
|
|
3027
|
+
* @return {Observable<PackageReEntryMissingOut>} An observable that emits the detail missing package data.
|
|
3028
|
+
*/
|
|
3029
|
+
getPackageReEntryMissing(params) {
|
|
3030
|
+
return this.http.get(`${this.url}/package-re-entry-missing`, {
|
|
3031
|
+
params
|
|
3032
|
+
}).pipe(map(({ data }) => data));
|
|
3033
|
+
}
|
|
3034
|
+
/**
|
|
3035
|
+
* Re-entry missing packages
|
|
3036
|
+
*
|
|
3037
|
+
* @param {IncidentIn} body - The missing packages data to be re-entry.
|
|
3038
|
+
* @returns {Observable<PackageReEntryMissingsOut>} An observable detail of the updated incident reason complement.
|
|
3039
|
+
*/
|
|
3040
|
+
putPackageReEntryMissing(body) {
|
|
3041
|
+
return this.http.put(`${this.url}/package-re-entry-missing`, body).pipe(map(({ data }) => data));
|
|
3042
|
+
}
|
|
3014
3043
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInventoriesService, deps: [{ token: 'env' }, { token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3015
3044
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
|
|
3016
3045
|
}
|