@experteam-mx/ngx-services 20.10.5 → 20.10.7-dev2.0
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
|
}
|
|
@@ -5225,6 +5253,10 @@ class ApiServicesService {
|
|
|
5225
5253
|
return this.http.post(`${this.url}/adyen/aborts`, body)
|
|
5226
5254
|
.pipe(map(({ data }) => data));
|
|
5227
5255
|
}
|
|
5256
|
+
postAdyenRefunds(body) {
|
|
5257
|
+
return this.http.post(`${this.url}/adyen/refunds`, body)
|
|
5258
|
+
.pipe(map(({ data }) => data));
|
|
5259
|
+
}
|
|
5228
5260
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiServicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5229
5261
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiServicesService, providedIn: 'root' });
|
|
5230
5262
|
}
|
|
@@ -5961,6 +5993,7 @@ var InventoryActions;
|
|
|
5961
5993
|
InventoryActions["INVENTORY_RE_ENTRY_MISSING_PIECES"] = "inventoryReEntryMissingPieces";
|
|
5962
5994
|
InventoryActions["INVENTORY_ODD_NOTIFICATION"] = "inventoryOddNotifications";
|
|
5963
5995
|
InventoryActions["INVENTORY_ON_HOLD_MISSED_CONNECTION"] = "inventoryOnHoldMissed";
|
|
5996
|
+
InventoryActions["INVENTORY_CONSIGNEE_CONTACTED"] = "inventoryConsigneeContacted";
|
|
5964
5997
|
})(InventoryActions || (InventoryActions = {}));
|
|
5965
5998
|
var InventoryErrorCodes;
|
|
5966
5999
|
(function (InventoryErrorCodes) {
|