@experteam-mx/ngx-services 18.8.12 → 18.8.13
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.
- package/esm2022/lib/apis/api-inventories.service.mjs +15 -1
- package/esm2022/lib/apis/models/api-inventories.types.mjs +1 -1
- package/fesm2022/experteam-mx-ngx-services.mjs +14 -0
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/lib/apis/api-inventories.service.d.ts +12 -1
- package/lib/apis/models/api-inventories.types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { Environment } from '../ngx-services.models';
|
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import { QueryParams } from './models/api.models';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { CheckpointEventReasonsOut, CheckpointsOut, IncidentIn, IncidentOut, IncidentReasonComplementIn, IncidentReasonComplementOut, IncidentReasonComplementsOut, IncidentReasonIn, IncidentReasonOut, IncidentReasonsOut, IncidentsOut } from './models/api-inventories.types';
|
|
5
|
+
import { CheckpointEventReasonsOut, CheckpointsOut, IncidentIn, IncidentOut, IncidentReasonComplementIn, IncidentReasonComplementOut, IncidentReasonComplementsOut, IncidentReasonIn, IncidentReasonOut, IncidentReasonsOut, IncidentsOut, PackagesInStockIn, PackagesInStockOut } from './models/api-inventories.types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ApiInventoriesService {
|
|
8
8
|
private environments;
|
|
@@ -129,6 +129,17 @@ export declare class ApiInventoriesService {
|
|
|
129
129
|
* @returns {Observable<IncidentReasonComplementOut>} An observable that emits the result of the delete incident reason complement.
|
|
130
130
|
*/
|
|
131
131
|
deleteIncidentReasonComplement(id: Number): Observable<IncidentReasonComplementOut>;
|
|
132
|
+
/**
|
|
133
|
+
* Posts packages that are currently in stock.
|
|
134
|
+
*
|
|
135
|
+
* @param body - The input data containing package stock information
|
|
136
|
+
* @returns {Observable<PackagesInStockOut>} An Observable that emits the packages in stock output data
|
|
137
|
+
*
|
|
138
|
+
* @remarks
|
|
139
|
+
* This method sends a POST request to the `/packages/in-stock` endpoint and
|
|
140
|
+
* extracts the data property from the API success response.
|
|
141
|
+
*/
|
|
142
|
+
postPackagesInStock(body: PackagesInStockIn): Observable<PackagesInStockOut>;
|
|
132
143
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiInventoriesService, never>;
|
|
133
144
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApiInventoriesService>;
|
|
134
145
|
}
|