@tagsamurai/fats-api-services 1.0.0-alpha.248 → 1.0.0-alpha.249
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/api-services.es.js
CHANGED
|
@@ -2161,12 +2161,12 @@ const MissingServices = {
|
|
|
2161
2161
|
getTrackingDetail: (trackingId) => {
|
|
2162
2162
|
return API$1.get(`/${trackingId}`);
|
|
2163
2163
|
},
|
|
2164
|
-
putFoundAsset: (tag, groupId, serialNumber) => {
|
|
2164
|
+
putFoundAsset: (tag, groupId, serialNumber, type) => {
|
|
2165
2165
|
const params = {
|
|
2166
2166
|
tag,
|
|
2167
2167
|
group: groupId,
|
|
2168
2168
|
serialNumber,
|
|
2169
|
-
type: "Global"
|
|
2169
|
+
type: type ?? "Global"
|
|
2170
2170
|
};
|
|
2171
2171
|
return API$1.put("/scan", void 0, { params });
|
|
2172
2172
|
},
|
package/api-services.system.js
CHANGED
|
@@ -2168,12 +2168,12 @@ System.register(["axios"], function(exports, module) {
|
|
|
2168
2168
|
getTrackingDetail: (trackingId) => {
|
|
2169
2169
|
return API$1.get(`/${trackingId}`);
|
|
2170
2170
|
},
|
|
2171
|
-
putFoundAsset: (tag, groupId, serialNumber) => {
|
|
2171
|
+
putFoundAsset: (tag, groupId, serialNumber, type) => {
|
|
2172
2172
|
const params = {
|
|
2173
2173
|
tag,
|
|
2174
2174
|
group: groupId,
|
|
2175
2175
|
serialNumber,
|
|
2176
|
-
type: "Global"
|
|
2176
|
+
type: type ?? "Global"
|
|
2177
2177
|
};
|
|
2178
2178
|
return API$1.put("/scan", void 0, { params });
|
|
2179
2179
|
},
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import { AxiosResponse } from 'axios';
|
|
|
2
2
|
import { MoveBackTrackingDto, ReportMissingBody } from '../dto/oldTrackingService.dto';
|
|
3
3
|
declare const MissingServices: {
|
|
4
4
|
getTrackingDetail: (trackingId: string) => Promise<AxiosResponse>;
|
|
5
|
-
putFoundAsset: (tag: string, groupId: string, serialNumber
|
|
5
|
+
putFoundAsset: (tag: string, groupId: string, serialNumber?: string, type?: string) => Promise<AxiosResponse>;
|
|
6
6
|
putReportPermanentlyMissing: (trackingId: string, body: ReportMissingBody) => Promise<AxiosResponse>;
|
|
7
7
|
putMoveBack: (body: MoveBackTrackingDto) => Promise<AxiosResponse>;
|
|
8
8
|
};
|