@experteam-mx/ngx-services 20.9.1-dev3.0 → 20.9.1-dev3.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.
|
@@ -2574,6 +2574,16 @@ class ApiCompositionService {
|
|
|
2574
2574
|
return this.http.get(`${this.url}/shipments/${id}`)
|
|
2575
2575
|
.pipe(map(({ data }) => data));
|
|
2576
2576
|
}
|
|
2577
|
+
/**
|
|
2578
|
+
* Retrieves shipments based on the provided query parameters.
|
|
2579
|
+
*
|
|
2580
|
+
* @param {QueryParams} params - The query parameters for the API request.
|
|
2581
|
+
* @returns {Observable<ShipmentsOut>} An observable that emits the shipments data.
|
|
2582
|
+
*/
|
|
2583
|
+
getShipments(params) {
|
|
2584
|
+
return this.http.get(`${this.url}/shipments`, { params })
|
|
2585
|
+
.pipe(map(({ data }) => data));
|
|
2586
|
+
}
|
|
2577
2587
|
/**
|
|
2578
2588
|
* Fetches the country references data based on the provided query parameters.
|
|
2579
2589
|
*
|
|
@@ -5595,6 +5605,14 @@ var DocumentStatusCode;
|
|
|
5595
5605
|
DocumentStatusCode[DocumentStatusCode["WITH_ERRORS"] = 3] = "WITH_ERRORS";
|
|
5596
5606
|
})(DocumentStatusCode || (DocumentStatusCode = {}));
|
|
5597
5607
|
|
|
5608
|
+
var CustomerRoleType;
|
|
5609
|
+
(function (CustomerRoleType) {
|
|
5610
|
+
CustomerRoleType["SHIPPER"] = "SP";
|
|
5611
|
+
CustomerRoleType["CONSIGNEE"] = "RV";
|
|
5612
|
+
CustomerRoleType["IMPORTER"] = "IP";
|
|
5613
|
+
CustomerRoleType["EXPORTER"] = "EP";
|
|
5614
|
+
})(CustomerRoleType || (CustomerRoleType = {}));
|
|
5615
|
+
|
|
5598
5616
|
class WebSocketsService {
|
|
5599
5617
|
pusher;
|
|
5600
5618
|
environments = inject(ENVIRONMENT_TOKEN);
|
|
@@ -5978,5 +5996,5 @@ const xmlHeaders = (format = 'object') => {
|
|
|
5978
5996
|
* Generated bundle index. Do not edit.
|
|
5979
5997
|
*/
|
|
5980
5998
|
|
|
5981
|
-
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 };
|
|
5999
|
+
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 };
|
|
5982
6000
|
//# sourceMappingURL=experteam-mx-ngx-services.mjs.map
|