@esolve/ng-esolve-connect 0.57.0 → 0.59.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.
@@ -1,6 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { EsolveAsset } from './classes';
3
- import { EsolveAssetOptions, EsolveMediaAssetOptions } from './interfaces';
3
+ import { EsolveAssetOptions, EsolveMediaAssetOptions, EsolveStockAssetOptions } from './interfaces';
4
4
  import { EsolveAssetList } from './types';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class EsolveAssetsService {
@@ -9,6 +9,7 @@ export declare class EsolveAssetsService {
9
9
  getAsset(id: number): Observable<EsolveAsset>;
10
10
  getAssets(options?: EsolveAssetOptions): Observable<EsolveAssetList>;
11
11
  getMediaAssets(options: EsolveMediaAssetOptions): Observable<EsolveAssetList>;
12
+ getStockAssets(options: EsolveStockAssetOptions): Observable<EsolveAssetList>;
12
13
  private processAsset;
13
14
  private getAssetRecords;
14
15
  private parseOptions;
@@ -0,0 +1,5 @@
1
+ import { EsolveAssetOptions } from './esolve-asset-options.interface';
2
+ export interface EsolveStockAssetOptions extends EsolveAssetOptions {
3
+ code?: string;
4
+ sef_name?: string;
5
+ }
@@ -2,3 +2,4 @@ export * from './esolve-linked-asset-record.interface';
2
2
  export * from './esolve-asset-options.interface';
3
3
  export * from './esolve-asset-record.interface';
4
4
  export * from './esolve-media-asset-options.interface';
5
+ export * from './esolve-stock-asset-options.interface';
@@ -7,11 +7,15 @@ export declare class EsolveBanner {
7
7
  identifier: string;
8
8
  type: EsolveBannerType;
9
9
  title: string;
10
+ sub_title: string;
11
+ catch_phrase: string;
12
+ background_colour: string;
13
+ button_caption: string;
10
14
  article: string;
11
15
  sort_priority: number;
12
16
  link: EsolveBannerLink;
13
17
  desktop_images: EsolveBannerImage[];
14
18
  mobile_images: EsolveBannerImage[];
15
19
  sub_images: EsolveBannerImage[];
16
- constructor(id: number, banner_display_container: string, identifier: string, type: EsolveBannerType, title: string, article: string, sort_priority: number, link: EsolveBannerLink, images: EsolveBannerImageSet);
20
+ constructor(id: number, banner_display_container: string, identifier: string, type: EsolveBannerType, title: string, sub_title: string, catch_phrase: string, background_colour: string, button_caption: string, article: string, sort_priority: number, link: EsolveBannerLink, images: EsolveBannerImageSet);
17
21
  }
@@ -7,6 +7,10 @@ export interface EsolveBannerRecord {
7
7
  identifier: string;
8
8
  type: EsolveBannerType;
9
9
  title: string;
10
+ sub_title: string;
11
+ catch_phrase: string;
12
+ background_colour: string;
13
+ button_caption: string;
10
14
  article: string;
11
15
  sort_priority: number;
12
16
  link: EsolveBannerLink;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esolve/ng-esolve-connect",
3
- "version": "0.57.0",
3
+ "version": "0.59.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": {