@experteam-mx/ngx-services 20.9.4-dev2.0 → 20.9.5

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.
@@ -3764,53 +3764,6 @@ class ApiInventoriesService {
3764
3764
  putPackageOnHold(body) {
3765
3765
  return this.http.put(`${this.url}/package-on-hold`, body).pipe(map(({ data }) => data));
3766
3766
  }
3767
- /**
3768
- * Retrieves inventory controls based on the provided query parameters.
3769
- * @param params - Query parameters to filter, sort, or paginate inventory controls
3770
- * @returns An Observable that emits the inventory controls data
3771
- */
3772
- getInventoryControls(params) {
3773
- return this.http.get(`${this.url}/inventory-controls`, { params })
3774
- .pipe(map(({ data }) => data));
3775
- }
3776
- /**
3777
- * Fetches the inventory control details based on the provided inventory control ID.
3778
- *
3779
- * @param {number} id - The inventory control id
3780
- * @return {Observable<InventoryControlOut>} An observable that emits the inventory control data.
3781
- */
3782
- getInventoryControl(id) {
3783
- return this.http.get(`${this.url}/inventory-controls/${id}`)
3784
- .pipe(map(({ data }) => data));
3785
- }
3786
- /**
3787
- * Creates a new inventory control.
3788
- * @param body - Inventory control data to create
3789
- * @returns An Observable that emits the created inventory control
3790
- */
3791
- postInventoryControl(body) {
3792
- return this.http.post(`${this.url}/inventory-controls`, body)
3793
- .pipe(map(({ data }) => data));
3794
- }
3795
- /**
3796
- * Updates an existing inventory control.
3797
- * @param id - Identifier of the inventory control to update
3798
- * @param body - Updated inventory control data
3799
- * @returns An Observable that emits the updated inventory control
3800
- */
3801
- putInventoryControl(id, body) {
3802
- return this.http.put(`${this.url}/inventory-controls/${id}`, body)
3803
- .pipe(map(({ data }) => data));
3804
- }
3805
- /**
3806
- * Deletes an inventory control by its identifier.
3807
- * @param id - Identifier of the inventory control to delete
3808
- * @returns An Observable that emits the operation result
3809
- */
3810
- deleteInventoryControl(id) {
3811
- return this.http.delete(`${this.url}/inventory-controls/${id}`)
3812
- .pipe(map(({ data }) => data));
3813
- }
3814
3767
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3815
3768
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
3816
3769
  }
@@ -4723,6 +4676,16 @@ class ApiReportsService {
4723
4676
  return this.http.get(`${this.url}/billing-details`, { params })
4724
4677
  .pipe(map(({ data }) => data));
4725
4678
  }
4679
+ /**
4680
+ * Retrieves the taxes report based on the provided query parameters.
4681
+ *
4682
+ * @param params - The query parameters used to filter the taxes report.
4683
+ * @returns An observable that emits the taxes report data.
4684
+ */
4685
+ getTaxesReport(params) {
4686
+ return this.http.get(`${this.url}/tax-details`, { params })
4687
+ .pipe(map(({ data }) => data));
4688
+ }
4726
4689
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiReportsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4727
4690
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiReportsService, providedIn: 'root' });
4728
4691
  }
@@ -5787,11 +5750,6 @@ var RouteModelType;
5787
5750
  RouteModelType["COURIER"] = "Courier";
5788
5751
  RouteModelType["COURIER_ROUTE"] = "CourierRoute";
5789
5752
  })(RouteModelType || (RouteModelType = {}));
5790
- var InventoryControlType;
5791
- (function (InventoryControlType) {
5792
- InventoryControlType["LAST_MILE"] = "lastMile";
5793
- InventoryControlType["FIRST_MILE"] = "firstMile";
5794
- })(InventoryControlType || (InventoryControlType = {}));
5795
5753
 
5796
5754
  var PaymentTypeCode;
5797
5755
  (function (PaymentTypeCode) {
@@ -6202,5 +6160,5 @@ const xmlHeaders = (format = 'object') => {
6202
6160
  * Generated bundle index. Do not edit.
6203
6161
  */
6204
6162
 
6205
- 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 };
6163
+ 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 };
6206
6164
  //# sourceMappingURL=experteam-mx-ngx-services.mjs.map