@experteam-mx/ngx-services 20.10.7 → 20.10.9
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.
|
@@ -3794,6 +3794,15 @@ class ApiInventoriesService {
|
|
|
3794
3794
|
return this.http.get(`${this.url}/stock-update/packages/${id}`)
|
|
3795
3795
|
.pipe(map(({ data }) => data));
|
|
3796
3796
|
}
|
|
3797
|
+
/**
|
|
3798
|
+
* Creates a Stock Update Operation and confirm the Stock Update operation with the packages associated..
|
|
3799
|
+
*
|
|
3800
|
+
* @param {StockUpdateV2In} body - The package on the Stock Update operation resource data to be updated.
|
|
3801
|
+
* @returns {Observable<StockUpdateV2Out>} An observable with the package on the Stock Update operation resource updated.
|
|
3802
|
+
*/
|
|
3803
|
+
putStockUpdateV2(body) {
|
|
3804
|
+
return this.http.put(`${this.url}/stock-update/v2`, body).pipe(map(({ data }) => data));
|
|
3805
|
+
}
|
|
3797
3806
|
/**
|
|
3798
3807
|
* Retrieves a list of courier routes based on query parameters.
|
|
3799
3808
|
*
|
|
@@ -3881,7 +3890,7 @@ class ApiInventoriesService {
|
|
|
3881
3890
|
return this.http.put(`${this.url}/missing-packages`, body).pipe(map(({ data }) => data));
|
|
3882
3891
|
}
|
|
3883
3892
|
/**
|
|
3884
|
-
* Edit package on hold resource
|
|
3893
|
+
* Edit package on hold resource.
|
|
3885
3894
|
*
|
|
3886
3895
|
* @param {PackageOnHoldIn} body - The package on hold resource data to be updated.
|
|
3887
3896
|
* @returns {Observable<PackageOnHoldOut>} An observable with the package on hold resource updated.
|
|
@@ -3945,6 +3954,25 @@ class ApiInventoriesService {
|
|
|
3945
3954
|
postInventoryLocationCapacity(body) {
|
|
3946
3955
|
return this.http.post(`${this.url}/inventory-location-capacities`, body).pipe(map(({ data }) => data));
|
|
3947
3956
|
}
|
|
3957
|
+
/**
|
|
3958
|
+
* Retrieves errors based on the provided query parameters.
|
|
3959
|
+
* @param params - Query parameters to filter, sort, or paginate errors
|
|
3960
|
+
* @returns {Observable<ErrorsOut>} An Observable that emits the errors data
|
|
3961
|
+
*/
|
|
3962
|
+
getErrors(params) {
|
|
3963
|
+
return this.http.get(`${this.url}/errors`, { params })
|
|
3964
|
+
.pipe(map(({ data }) => data));
|
|
3965
|
+
}
|
|
3966
|
+
/**
|
|
3967
|
+
* Fetches the error details based on the provided error ID.
|
|
3968
|
+
*
|
|
3969
|
+
* @param {number} id - The error id
|
|
3970
|
+
* @return {Observable<ErrorOut>} An observable that emits the error data.
|
|
3971
|
+
*/
|
|
3972
|
+
getError(id) {
|
|
3973
|
+
return this.http.get(`${this.url}/errors/${id}`)
|
|
3974
|
+
.pipe(map(({ data }) => data));
|
|
3975
|
+
}
|
|
3948
3976
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3949
3977
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
|
|
3950
3978
|
}
|
|
@@ -5016,6 +5044,18 @@ class ApiSecurityService {
|
|
|
5016
5044
|
return this.http.get(`${this.url}/roles`, { params })
|
|
5017
5045
|
.pipe(map(({ data }) => data));
|
|
5018
5046
|
}
|
|
5047
|
+
/**
|
|
5048
|
+
* Downloads a PDF export of roles filtered by the provided query parameters (no pagination).
|
|
5049
|
+
*
|
|
5050
|
+
* @param {QueryParams} params - Filter query parameters mirroring the roles list (without limit/offset).
|
|
5051
|
+
* @return {Observable<Blob>} An observable that emits the PDF file blob.
|
|
5052
|
+
*/
|
|
5053
|
+
getRolesExportPdf(params) {
|
|
5054
|
+
return this.http.get(`${this.url}/roles/exportPdf`, {
|
|
5055
|
+
params,
|
|
5056
|
+
responseType: 'blob'
|
|
5057
|
+
});
|
|
5058
|
+
}
|
|
5019
5059
|
/**
|
|
5020
5060
|
* Retrieves roles by the specified ID.
|
|
5021
5061
|
*
|
|
@@ -5965,6 +6005,7 @@ var InventoryActions;
|
|
|
5965
6005
|
InventoryActions["INVENTORY_RE_ENTRY_MISSING_PIECES"] = "inventoryReEntryMissingPieces";
|
|
5966
6006
|
InventoryActions["INVENTORY_ODD_NOTIFICATION"] = "inventoryOddNotifications";
|
|
5967
6007
|
InventoryActions["INVENTORY_ON_HOLD_MISSED_CONNECTION"] = "inventoryOnHoldMissed";
|
|
6008
|
+
InventoryActions["INVENTORY_CONSIGNEE_CONTACTED"] = "inventoryConsigneeContacted";
|
|
5968
6009
|
})(InventoryActions || (InventoryActions = {}));
|
|
5969
6010
|
var InventoryErrorCodes;
|
|
5970
6011
|
(function (InventoryErrorCodes) {
|