@indigina/wms-api 0.0.91 → 0.0.92
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/README.md +2 -2
- package/fesm2022/indigina-wms-api.mjs +35 -0
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/index.d.ts +21 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.92
|
|
2
2
|
|
|
3
3
|
WMS API Client for Angular applications
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
24
24
|
_published:_
|
|
25
25
|
|
|
26
26
|
```console
|
|
27
|
-
npm install @indigina/wms-api@0.0.
|
|
27
|
+
npm install @indigina/wms-api@0.0.92 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -4235,6 +4235,41 @@ class TaskUserRecordsService extends BaseService {
|
|
|
4235
4235
|
reportProgress: reportProgress
|
|
4236
4236
|
});
|
|
4237
4237
|
}
|
|
4238
|
+
deleteTaskUserRecord(id, observe = 'body', reportProgress = false, options) {
|
|
4239
|
+
if (id === null || id === undefined) {
|
|
4240
|
+
throw new Error('Required parameter id was null or undefined when calling deleteTaskUserRecord.');
|
|
4241
|
+
}
|
|
4242
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4243
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4244
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4245
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4246
|
+
}
|
|
4247
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4248
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4249
|
+
let responseType_ = 'json';
|
|
4250
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4251
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4252
|
+
responseType_ = 'text';
|
|
4253
|
+
}
|
|
4254
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4255
|
+
responseType_ = 'json';
|
|
4256
|
+
}
|
|
4257
|
+
else {
|
|
4258
|
+
responseType_ = 'blob';
|
|
4259
|
+
}
|
|
4260
|
+
}
|
|
4261
|
+
let localVarPath = `/taskUserRecords/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
4262
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4263
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
4264
|
+
context: localVarHttpContext,
|
|
4265
|
+
responseType: responseType_,
|
|
4266
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4267
|
+
headers: localVarHeaders,
|
|
4268
|
+
observe: observe,
|
|
4269
|
+
transferCache: localVarTransferCache,
|
|
4270
|
+
reportProgress: reportProgress
|
|
4271
|
+
});
|
|
4272
|
+
}
|
|
4238
4273
|
finishTaskUserRecord(id, finishedDeviceType, observe = 'body', reportProgress = false, options) {
|
|
4239
4274
|
if (id === null || id === undefined) {
|
|
4240
4275
|
throw new Error('Required parameter id was null or undefined when calling finishTaskUserRecord.');
|