@experteam-mx/ngx-services 20.8.0-dev2.1 → 20.8.0-dev2.2
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.
|
@@ -3546,6 +3546,15 @@ class ApiInventoriesService {
|
|
|
3546
3546
|
putMissingPackages(body) {
|
|
3547
3547
|
return this.http.put(`${this.url}/missing-packages`, body).pipe(map(({ data }) => data));
|
|
3548
3548
|
}
|
|
3549
|
+
/**
|
|
3550
|
+
* Edit package on hold resource..
|
|
3551
|
+
*
|
|
3552
|
+
* @param {PackageOnHoldIn} body - The package on hold resource data to be updated.
|
|
3553
|
+
* @returns {Observable<PackageOnHoldOut>} An observable with the package on hold resource updated.
|
|
3554
|
+
*/
|
|
3555
|
+
putPackageOnHold(body) {
|
|
3556
|
+
return this.http.put(`${this.url}/package-on-hold`, body).pipe(map(({ data }) => data));
|
|
3557
|
+
}
|
|
3549
3558
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3550
3559
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
|
|
3551
3560
|
}
|
|
@@ -4911,41 +4920,63 @@ class ApiShipmentsService {
|
|
|
4911
4920
|
.pipe(map(({ data }) => data));
|
|
4912
4921
|
}
|
|
4913
4922
|
/**
|
|
4914
|
-
* Retrieves a paginated list of
|
|
4915
|
-
*
|
|
4916
|
-
* @
|
|
4923
|
+
* Retrieves a paginated list of document configurations.
|
|
4924
|
+
*
|
|
4925
|
+
* @param {QueryParams} params - Query parameters used for filtering, sorting, and pagination.
|
|
4926
|
+
* @returns {Observable<DocumentConfigurationsOut>} An observable containing the list of document configurations and pagination metadata.
|
|
4917
4927
|
*/
|
|
4918
|
-
|
|
4919
|
-
return this.http.get(`${this.url}/
|
|
4928
|
+
getDocumentConfigurations(params) {
|
|
4929
|
+
return this.http.get(`${this.url}/document-configurations`, {
|
|
4920
4930
|
params
|
|
4921
4931
|
}).pipe(map(({ data }) => data));
|
|
4922
4932
|
}
|
|
4923
4933
|
/**
|
|
4924
|
-
* Retrieves
|
|
4934
|
+
* Retrieves a document configuration by its identifier.
|
|
4935
|
+
*
|
|
4936
|
+
* @param {number} id - The unique identifier of the document configuration.
|
|
4937
|
+
* @returns {Observable<DocumentConfigurationOut>} An observable containing the document configuration details.
|
|
4938
|
+
*/
|
|
4939
|
+
getDocumentConfiguration(id) {
|
|
4940
|
+
return this.http.get(`${this.url}/document-configurations/${id}`).pipe(map(({ data }) => data));
|
|
4941
|
+
}
|
|
4942
|
+
/**
|
|
4943
|
+
* Creates a new document configuration.
|
|
4925
4944
|
*
|
|
4926
|
-
* @param {
|
|
4927
|
-
* @
|
|
4945
|
+
* @param {DocumentConfigurationIn} body - The document configuration data to create.
|
|
4946
|
+
* @returns {Observable<DocumentConfigurationOut>} An observable containing the newly created document configuration.
|
|
4928
4947
|
*/
|
|
4929
|
-
|
|
4930
|
-
return this.http.
|
|
4948
|
+
postDocumentConfiguration(body) {
|
|
4949
|
+
return this.http.post(`${this.url}/document-configurations`, body)
|
|
4950
|
+
.pipe(map(({ data }) => data));
|
|
4931
4951
|
}
|
|
4932
4952
|
/**
|
|
4933
|
-
*
|
|
4934
|
-
*
|
|
4935
|
-
* @
|
|
4953
|
+
* Updates an existing document configuration.
|
|
4954
|
+
*
|
|
4955
|
+
* @param {number} id - The unique identifier of the document configuration to update.
|
|
4956
|
+
* @param {DocumentConfigurationIn} body - The updated document configuration data.
|
|
4957
|
+
* @returns {Observable<DocumentConfigurationOut>} An observable containing the updated document configuration.
|
|
4936
4958
|
*/
|
|
4937
|
-
|
|
4938
|
-
return this.http.
|
|
4959
|
+
putDocumentConfiguration(id, body) {
|
|
4960
|
+
return this.http.put(`${this.url}/document-configurations/${id}`, body)
|
|
4939
4961
|
.pipe(map(({ data }) => data));
|
|
4940
4962
|
}
|
|
4941
4963
|
/**
|
|
4942
|
-
*
|
|
4943
|
-
*
|
|
4944
|
-
* @param {
|
|
4945
|
-
* @returns {Observable<
|
|
4964
|
+
* Generates a preview for a document configuration.
|
|
4965
|
+
*
|
|
4966
|
+
* @param {DocumentConfigurationsPreviewIn} body - The data used to generate the document preview.
|
|
4967
|
+
* @returns {Observable<DocumentConfigurationsPreviewOut>} An observable containing the generated document preview.
|
|
4946
4968
|
*/
|
|
4947
|
-
|
|
4948
|
-
return this.http.
|
|
4969
|
+
postDocumentConfigurationPreview(body) {
|
|
4970
|
+
return this.http.post(`${this.url}/document-configurations/preview`, body)
|
|
4971
|
+
.pipe(map(({ data }) => data));
|
|
4972
|
+
}
|
|
4973
|
+
/**
|
|
4974
|
+
* Retrieves the shipment documents associated with a document configuration
|
|
4975
|
+
* @param {number} id - The unique identifier of the document configuration
|
|
4976
|
+
* @returns {Observable<ShipmentDocumentsOut>} observable containing the shipment documents
|
|
4977
|
+
* */
|
|
4978
|
+
getDocuments(id) {
|
|
4979
|
+
return this.http.get(`${this.url}/shipments/${id}/documents`)
|
|
4949
4980
|
.pipe(map(({ data }) => data));
|
|
4950
4981
|
}
|
|
4951
4982
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiShipmentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -5479,6 +5510,7 @@ var InventoryActions;
|
|
|
5479
5510
|
InventoryActions["INVENTORY_MISSING_PIECES"] = "inventoryMissingPieces";
|
|
5480
5511
|
InventoryActions["INVENTORY_RE_ENTRY_MISSING_PIECES"] = "inventoryReEntryMissingPieces";
|
|
5481
5512
|
InventoryActions["INVENTORY_ODD_NOTIFICATION"] = "inventoryOddNotifications";
|
|
5513
|
+
InventoryActions["INVENTORY_ON_HOLD_MISSED_CONNECTION"] = "inventoryOnHoldMissed";
|
|
5482
5514
|
})(InventoryActions || (InventoryActions = {}));
|
|
5483
5515
|
var InventoryErrorCodes;
|
|
5484
5516
|
(function (InventoryErrorCodes) {
|