@experteam-mx/ngx-services 20.9.7 → 20.9.9

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.
@@ -1903,6 +1903,19 @@ class ApiCompaniesService {
1903
1903
  return this.http.delete(`${this.url}/employees/${id}`)
1904
1904
  .pipe(map(({ data }) => data));
1905
1905
  }
1906
+ /**
1907
+ * Exports the filtered employees list as a PDF file.
1908
+ *
1909
+ * @param {QueryParams} params - Query parameters used to filter the employees included in the export.
1910
+ * @return {Observable<HttpResponse<ArrayBuffer>>} An observable that emits the HTTP response containing the PDF as an ArrayBuffer.
1911
+ */
1912
+ getEmployeesExportPdf(params) {
1913
+ return this.http.get(`${this.url}/employees/exportPdf`, {
1914
+ params,
1915
+ observe: 'response',
1916
+ responseType: 'arraybuffer'
1917
+ });
1918
+ }
1906
1919
  /**
1907
1920
  * Retrieves the list of employees for a specified location based on provided query parameters.
1908
1921
  *
@@ -3805,6 +3818,62 @@ class ApiInventoriesService {
3805
3818
  putPackageOnHold(body) {
3806
3819
  return this.http.put(`${this.url}/package-on-hold`, body).pipe(map(({ data }) => data));
3807
3820
  }
3821
+ /**
3822
+ * Retrieves inventory controls based on the provided query parameters.
3823
+ * @param params - Query parameters to filter, sort, or paginate inventory controls
3824
+ * @returns An Observable that emits the inventory controls data
3825
+ */
3826
+ getInventoryControls(params) {
3827
+ return this.http.get(`${this.url}/inventory-controls`, { params })
3828
+ .pipe(map(({ data }) => data));
3829
+ }
3830
+ /**
3831
+ * Fetches the inventory control details based on the provided inventory control ID.
3832
+ *
3833
+ * @param {number} id - The inventory control id
3834
+ * @return {Observable<InventoryControlOut>} An observable that emits the inventory control data.
3835
+ */
3836
+ getInventoryControl(id) {
3837
+ return this.http.get(`${this.url}/inventory-controls/${id}`)
3838
+ .pipe(map(({ data }) => data));
3839
+ }
3840
+ /**
3841
+ * Creates a new inventory control.
3842
+ * @param body - Inventory control data to create
3843
+ * @returns An Observable that emits the created inventory control
3844
+ */
3845
+ postInventoryControl(body) {
3846
+ return this.http.post(`${this.url}/inventory-controls`, body)
3847
+ .pipe(map(({ data }) => data));
3848
+ }
3849
+ /**
3850
+ * Updates an existing inventory control.
3851
+ * @param id - Identifier of the inventory control to update
3852
+ * @param body - Updated inventory control data
3853
+ * @returns An Observable that emits the updated inventory control
3854
+ */
3855
+ putInventoryControl(id, body) {
3856
+ return this.http.put(`${this.url}/inventory-controls/${id}`, body)
3857
+ .pipe(map(({ data }) => data));
3858
+ }
3859
+ /**
3860
+ * Deletes an inventory control by its identifier.
3861
+ * @param id - Identifier of the inventory control to delete
3862
+ * @returns An Observable that emits the operation result
3863
+ */
3864
+ deleteInventoryControl(id) {
3865
+ return this.http.delete(`${this.url}/inventory-controls/${id}`)
3866
+ .pipe(map(({ data }) => data));
3867
+ }
3868
+ /**
3869
+ * Get Inventory Capacity resource..
3870
+ *
3871
+ * @param {InventoryLocationCapacityIn} body - The inventory capacity data to be obtained.
3872
+ * @returns {Observable<InventoryLocationCapacityOut>} An observable with the Inventory Location Capacity resource.
3873
+ */
3874
+ postInventoryLocationCapacity(body) {
3875
+ return this.http.post(`${this.url}/inventory-location-capacities`, body).pipe(map(({ data }) => data));
3876
+ }
3808
3877
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3809
3878
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
3810
3879
  }
@@ -5811,6 +5880,11 @@ var RouteModelType;
5811
5880
  RouteModelType["COURIER"] = "Courier";
5812
5881
  RouteModelType["COURIER_ROUTE"] = "CourierRoute";
5813
5882
  })(RouteModelType || (RouteModelType = {}));
5883
+ var InventoryControlType;
5884
+ (function (InventoryControlType) {
5885
+ InventoryControlType["LAST_MILE"] = "lastMile";
5886
+ InventoryControlType["FIRST_MILE"] = "firstMile";
5887
+ })(InventoryControlType || (InventoryControlType = {}));
5814
5888
 
5815
5889
  var PaymentTypeCode;
5816
5890
  (function (PaymentTypeCode) {
@@ -6221,5 +6295,5 @@ const xmlHeaders = (format = 'object') => {
6221
6295
  * Generated bundle index. Do not edit.
6222
6296
  */
6223
6297
 
6224
- export { AccountTypeId, AccountTypeName, AlphaNumeric, ApiAuditsService, 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 };
6298
+ export { AccountTypeId, AccountTypeName, AlphaNumeric, ApiAuditsService, 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, InventoryControlType, InventoryErrorCodes, NgxServicesModule, OpeningStatusCode, OperationModuleStatus, PaymentTypeCode, PrintMode, PrintableFormat, PrintersService, PrintersType, RouteModelType, ShipmentIncomeTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
6225
6299
  //# sourceMappingURL=experteam-mx-ngx-services.mjs.map