@indigina/wms-api 0.0.122 → 0.0.123

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @indigina/wms-api@0.0.122
1
+ # @indigina/wms-api@0.0.123
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.122 --save
27
+ npm install @indigina/wms-api@0.0.123 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3356,6 +3356,41 @@ class NotesService extends BaseService {
3356
3356
  reportProgress: reportProgress
3357
3357
  });
3358
3358
  }
3359
+ deleteNote(id, observe = 'body', reportProgress = false, options) {
3360
+ if (id === null || id === undefined) {
3361
+ throw new Error('Required parameter id was null or undefined when calling deleteNote.');
3362
+ }
3363
+ let localVarHeaders = this.defaultHeaders;
3364
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
3365
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3366
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3367
+ }
3368
+ const localVarHttpContext = options?.context ?? new HttpContext();
3369
+ const localVarTransferCache = options?.transferCache ?? true;
3370
+ let responseType_ = 'json';
3371
+ if (localVarHttpHeaderAcceptSelected) {
3372
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3373
+ responseType_ = 'text';
3374
+ }
3375
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3376
+ responseType_ = 'json';
3377
+ }
3378
+ else {
3379
+ responseType_ = 'blob';
3380
+ }
3381
+ }
3382
+ let localVarPath = `/notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
3383
+ const { basePath, withCredentials } = this.configuration;
3384
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
3385
+ context: localVarHttpContext,
3386
+ responseType: responseType_,
3387
+ ...(withCredentials ? { withCredentials } : {}),
3388
+ headers: localVarHeaders,
3389
+ observe: observe,
3390
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3391
+ reportProgress: reportProgress
3392
+ });
3393
+ }
3359
3394
  getNoteByCategory(sourceId, type, category, observe = 'body', reportProgress = false, options) {
3360
3395
  if (sourceId === null || sourceId === undefined) {
3361
3396
  throw new Error('Required parameter sourceId was null or undefined when calling getNoteByCategory.');