@experteam-mx/ngx-services 20.1.13 → 20.1.14
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.
|
@@ -428,6 +428,15 @@ class ApiCashOperationsService {
|
|
|
428
428
|
return this.http.get(`${this.url}/opening-transferences/${id}/receipt`)
|
|
429
429
|
.pipe(map(({ data }) => data));
|
|
430
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* Retrieves a deposit slip by its ID.
|
|
433
|
+
* @param id - The unique identifier of the deposit slip to retrieve
|
|
434
|
+
* @returns An Observable that emits the deposit slip data
|
|
435
|
+
*/
|
|
436
|
+
getDepositSlip(id) {
|
|
437
|
+
return this.http.get(`${this.url}/deposits/${id}/slip`)
|
|
438
|
+
.pipe(map(({ data }) => data));
|
|
439
|
+
}
|
|
431
440
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCashOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
432
441
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCashOperationsService, providedIn: 'root' });
|
|
433
442
|
}
|
|
@@ -2935,6 +2944,26 @@ class ApiInventoriesService {
|
|
|
2935
2944
|
return this.http.post(`${this.url}/packages/in-stock`, body)
|
|
2936
2945
|
.pipe(map(({ data }) => data));
|
|
2937
2946
|
}
|
|
2947
|
+
/**
|
|
2948
|
+
* Fetches the missing package details based on query parameters.
|
|
2949
|
+
*
|
|
2950
|
+
* @param {QueryParams} params - The query parameters for filtering the missing package details.
|
|
2951
|
+
* @return {Observable<PackageReEntryMissingOut>} An observable that emits the detail missing package data.
|
|
2952
|
+
*/
|
|
2953
|
+
getPackageReEntryMissing(params) {
|
|
2954
|
+
return this.http.get(`${this.url}/package-re-entry-missing`, {
|
|
2955
|
+
params
|
|
2956
|
+
}).pipe(map(({ data }) => data));
|
|
2957
|
+
}
|
|
2958
|
+
/**
|
|
2959
|
+
* Re-entry missing packages
|
|
2960
|
+
*
|
|
2961
|
+
* @param {IncidentIn} body - The missing packages data to be re-entry.
|
|
2962
|
+
* @returns {Observable<PackageReEntryMissingsOut>} An observable detail of the updated incident reason complement.
|
|
2963
|
+
*/
|
|
2964
|
+
putPackageReEntryMissing(body) {
|
|
2965
|
+
return this.http.put(`${this.url}/package-re-entry-missing`, body).pipe(map(({ data }) => data));
|
|
2966
|
+
}
|
|
2938
2967
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2939
2968
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
|
|
2940
2969
|
}
|