@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 signature page settings
4915
- * @param {QueryParams} params - Query parameters for filtering and pagination
4916
- * @returns {Observable<SignaturePageSettingsOut>} Observable containing the list of signature page settings and pagination metadata
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
- getSignaturePageSettings(params) {
4919
- return this.http.get(`${this.url}/signature-page-settings`, {
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 the details of a signature page setting based on its ID.
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 {number} id - The identifier of the signature page setting to fetch.
4927
- * @return {Observable<SignaturePageSettingOut>} An observable that emits the signature page setting data.
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
- getSignaturePageSetting(id) {
4930
- return this.http.get(`${this.url}/signature-page-settings/${id}`).pipe(map(({ data }) => data));
4948
+ postDocumentConfiguration(body) {
4949
+ return this.http.post(`${this.url}/document-configurations`, body)
4950
+ .pipe(map(({ data }) => data));
4931
4951
  }
4932
4952
  /**
4933
- * Creates a new signature page setting
4934
- * @param {SignaturePageSettingIn} body - The signature page setting data to create
4935
- * @returns {Observable<SignaturePageSettingOut>} Observable containing the created signature page setting with its assigned ID
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
- postSignaturePageSetting(body) {
4938
- return this.http.post(`${this.url}/signature-page-settings`, body)
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
- * Updates an existing signature page setting
4943
- * @param {number} id - The unique identifier of the signature page setting to update
4944
- * @param {SignaturePageSettingIn} body - The updated signature page setting data
4945
- * @returns {Observable<SignaturePageSettingOut>} Observable containing the updated signature page setting
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
- putSignaturePageSetting(id, body) {
4948
- return this.http.put(`${this.url}/signature-page-settings/${id}`, body)
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) {