@experteam-mx/ngx-services 20.8.4 → 20.8.6-dev3.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.
@@ -2561,6 +2561,16 @@ class ApiCompositionService {
2561
2561
  return this.http.get(`${this.url}/shipments/${id}`)
2562
2562
  .pipe(map(({ data }) => data));
2563
2563
  }
2564
+ /**
2565
+ * Retrieves shipments based on the provided query parameters.
2566
+ *
2567
+ * @param {QueryParams} params - The query parameters for the API request.
2568
+ * @returns {Observable<ShipmentsOut>} An observable that emits the shipments data.
2569
+ */
2570
+ getShipments(params) {
2571
+ return this.http.get(`${this.url}/shipments`, { params })
2572
+ .pipe(map(({ data }) => data));
2573
+ }
2564
2574
  /**
2565
2575
  * Fetches the country references data based on the provided query parameters.
2566
2576
  *
@@ -3546,6 +3556,15 @@ class ApiInventoriesService {
3546
3556
  putMissingPackages(body) {
3547
3557
  return this.http.put(`${this.url}/missing-packages`, body).pipe(map(({ data }) => data));
3548
3558
  }
3559
+ /**
3560
+ * Edit package on hold resource..
3561
+ *
3562
+ * @param {PackageOnHoldIn} body - The package on hold resource data to be updated.
3563
+ * @returns {Observable<PackageOnHoldOut>} An observable with the package on hold resource updated.
3564
+ */
3565
+ putPackageOnHold(body) {
3566
+ return this.http.put(`${this.url}/package-on-hold`, body).pipe(map(({ data }) => data));
3567
+ }
3549
3568
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3550
3569
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
3551
3570
  }
@@ -5501,6 +5520,7 @@ var InventoryActions;
5501
5520
  InventoryActions["INVENTORY_MISSING_PIECES"] = "inventoryMissingPieces";
5502
5521
  InventoryActions["INVENTORY_RE_ENTRY_MISSING_PIECES"] = "inventoryReEntryMissingPieces";
5503
5522
  InventoryActions["INVENTORY_ODD_NOTIFICATION"] = "inventoryOddNotifications";
5523
+ InventoryActions["INVENTORY_ON_HOLD_MISSED_CONNECTION"] = "inventoryOnHoldMissed";
5504
5524
  })(InventoryActions || (InventoryActions = {}));
5505
5525
  var InventoryErrorCodes;
5506
5526
  (function (InventoryErrorCodes) {
@@ -5540,6 +5560,14 @@ var DocumentStatusCode;
5540
5560
  DocumentStatusCode[DocumentStatusCode["WITH_ERRORS"] = 3] = "WITH_ERRORS";
5541
5561
  })(DocumentStatusCode || (DocumentStatusCode = {}));
5542
5562
 
5563
+ var CustomerRoleType;
5564
+ (function (CustomerRoleType) {
5565
+ CustomerRoleType["SHIPPER"] = "SP";
5566
+ CustomerRoleType["CONSIGNEE"] = "RV";
5567
+ CustomerRoleType["IMPORTER"] = "IP";
5568
+ CustomerRoleType["EXPORTER"] = "EP";
5569
+ })(CustomerRoleType || (CustomerRoleType = {}));
5570
+
5543
5571
  class WebSocketsService {
5544
5572
  pusher;
5545
5573
  environments = inject(ENVIRONMENT_TOKEN);
@@ -5906,5 +5934,5 @@ const xmlHeaders = (format = 'object') => {
5906
5934
  * Generated bundle index. Do not edit.
5907
5935
  */
5908
5936
 
5909
- export { AccountTypeId, AccountTypeName, AlphaNumeric, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCheckpointsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiDropoffsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, DefaultValueType, DepositTypeCode, DocumentStatusCode, ENVIRONMENT_TOKEN, Event, Group, InventoryActions, InventoryErrorCodes, NgxServicesModule, OpeningStatusCode, OperationModuleStatus, PaymentTypeCode, PrintMode, PrintableFormat, PrintersService, PrintersType, RouteModelType, ShipmentIncomeTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
5937
+ export { AccountTypeId, AccountTypeName, AlphaNumeric, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCheckpointsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiDropoffsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, CustomerRoleType, DefaultValueType, DepositTypeCode, DocumentStatusCode, ENVIRONMENT_TOKEN, Event, Group, InventoryActions, InventoryErrorCodes, NgxServicesModule, OpeningStatusCode, OperationModuleStatus, PaymentTypeCode, PrintMode, PrintableFormat, PrintersService, PrintersType, RouteModelType, ShipmentIncomeTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
5910
5938
  //# sourceMappingURL=experteam-mx-ngx-services.mjs.map