@esolve/ng-esolve-connect 0.56.0 → 0.57.0

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.
@@ -0,0 +1,5 @@
1
+ import { EsolvePostResponseItem, EsolveResponseResult } from '../../shared/response';
2
+ export declare class EsolveSetNotifyResult extends EsolveResponseResult {
3
+ id: number;
4
+ constructor(response: EsolvePostResponseItem);
5
+ }
@@ -14,3 +14,4 @@ export * from './esolve-media-stock-item.model';
14
14
  export * from './esolve-stock-image.model';
15
15
  export * from './esolve-stock-image-collection.model';
16
16
  export * from './esolve-additional-stock-image.model';
17
+ export * from './esolve-set-notify-result.model';
@@ -3,11 +3,13 @@ import { EsolveCustomFields } from '../shared/custom-fields';
3
3
  import { EsolveFilterList } from '../shared/filters';
4
4
  import { EsolveMediaStockItemList } from './types';
5
5
  import { EsolveStockItemOptions, EsolveRecipeStockOptions, EsolveMediaStockItemOptions, EsolveStockFilterOptions } from './interfaces';
6
- import { EsolveStockItem, EsolveStockItemList, EsolveRecipeStockItem, EsolveLinkedStockItem, EsolveStockImageCollection } from './classes';
6
+ import { EsolveStockItem, EsolveStockItemList, EsolveRecipeStockItem, EsolveLinkedStockItem, EsolveStockImageCollection, EsolveSetNotifyResult } from './classes';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class EsolveStockService<T extends EsolveCustomFields = EsolveCustomFields> {
9
9
  private readonly config;
10
10
  private readonly http;
11
+ private readonly errorHandler;
12
+ private readonly responseHandler;
11
13
  /**
12
14
  * Retrieves the stock record from the eSolve instance using the code.
13
15
  *
@@ -91,6 +93,7 @@ export declare class EsolveStockService<T extends EsolveCustomFields = EsolveCus
91
93
  * @param params HTTP client parameters
92
94
  */
93
95
  private getStockHistoryRecords;
96
+ setNotify(code: string, notification_type?: string): Observable<EsolveSetNotifyResult>;
94
97
  static ɵfac: i0.ɵɵFactoryDeclaration<EsolveStockService<any>, never>;
95
98
  static ɵprov: i0.ɵɵInjectableDeclaration<EsolveStockService<any>>;
96
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esolve/ng-esolve-connect",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "homepage": "https://www.esolve.co.za/",
5
5
  "description": "An Angular library that speaks to an eSolve instance's API",
6
6
  "peerDependencies": {