@experteam-mx/ngx-services 20.9.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.
|
@@ -1695,6 +1695,19 @@ class ApiCompaniesService {
|
|
|
1695
1695
|
return this.http.delete(`${this.url}/employees/${id}`)
|
|
1696
1696
|
.pipe(map(({ data }) => data));
|
|
1697
1697
|
}
|
|
1698
|
+
/**
|
|
1699
|
+
* Exports the filtered employees list as a PDF file.
|
|
1700
|
+
*
|
|
1701
|
+
* @param {QueryParams} params - Query parameters used to filter the employees included in the export.
|
|
1702
|
+
* @return {Observable<HttpResponse<ArrayBuffer>>} An observable that emits the HTTP response containing the PDF as an ArrayBuffer.
|
|
1703
|
+
*/
|
|
1704
|
+
getEmployeesExportPdf(params) {
|
|
1705
|
+
return this.http.get(`${this.url}/employees/exportPdf`, {
|
|
1706
|
+
params,
|
|
1707
|
+
observe: 'response',
|
|
1708
|
+
responseType: 'arraybuffer'
|
|
1709
|
+
});
|
|
1710
|
+
}
|
|
1698
1711
|
/**
|
|
1699
1712
|
* Retrieves the list of employees for a specified location based on provided query parameters.
|
|
1700
1713
|
*
|
|
@@ -2561,6 +2574,16 @@ class ApiCompositionService {
|
|
|
2561
2574
|
return this.http.get(`${this.url}/shipments/${id}`)
|
|
2562
2575
|
.pipe(map(({ data }) => data));
|
|
2563
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
|
+
}
|
|
2564
2587
|
/**
|
|
2565
2588
|
* Fetches the country references data based on the provided query parameters.
|
|
2566
2589
|
*
|
|
@@ -5582,6 +5605,14 @@ var DocumentStatusCode;
|
|
|
5582
5605
|
DocumentStatusCode[DocumentStatusCode["WITH_ERRORS"] = 3] = "WITH_ERRORS";
|
|
5583
5606
|
})(DocumentStatusCode || (DocumentStatusCode = {}));
|
|
5584
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
|
+
|
|
5585
5616
|
class WebSocketsService {
|
|
5586
5617
|
pusher;
|
|
5587
5618
|
environments = inject(ENVIRONMENT_TOKEN);
|
|
@@ -5965,5 +5996,5 @@ const xmlHeaders = (format = 'object') => {
|
|
|
5965
5996
|
* Generated bundle index. Do not edit.
|
|
5966
5997
|
*/
|
|
5967
5998
|
|
|
5968
|
-
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 };
|
|
5969
6000
|
//# sourceMappingURL=experteam-mx-ngx-services.mjs.map
|