@esolve/ng-esolve-connect 0.135.0 → 0.136.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.
package/index.d.ts CHANGED
@@ -40,3 +40,4 @@ export * from './lib/affiliates';
40
40
  export * from './lib/countries';
41
41
  export * from './lib/materials';
42
42
  export * from './lib/colours';
43
+ export * from './lib/careers';
@@ -1,6 +1,6 @@
1
1
  import { EsolveList } from '../../shared';
2
- import { EsolveAffiliateLinkOptions, EsolveAffiliatesOptions } from '../interfaces';
3
2
  import { EsolveAffiliate, EsolveAffiliateCheckResult, EsolveAffiliateLinkResult } from '../classes';
3
+ import { EsolveAffiliateLinkOptions, EsolveAffiliatesOptions } from '../interfaces';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class EsolveAffiliateService {
6
6
  private readonly http;
@@ -0,0 +1,17 @@
1
+ import { EsolveLocation } from '../../locations';
2
+ import { EsolveCareerRecord } from '../interfaces';
3
+ import { EsolveCareerType } from '../types';
4
+ export declare class EsolveCareer {
5
+ id: number;
6
+ title: string;
7
+ sef_title: string;
8
+ type?: EsolveCareerType;
9
+ qualification: string;
10
+ location_id: number;
11
+ area: string;
12
+ description: string;
13
+ opens?: Date;
14
+ closes?: Date;
15
+ location?: EsolveLocation;
16
+ constructor(record?: Partial<EsolveCareerRecord>);
17
+ }
@@ -0,0 +1 @@
1
+ export { EsolveCareer } from './esolve-career.model';
@@ -0,0 +1,4 @@
1
+ export { EsolveCareer } from './classes';
2
+ export type { EsolveCareerOptions, EsolveCareerRecord } from './interfaces';
3
+ export { EsolveCareersService } from './services';
4
+ export type { EsolveCareerType } from './types';
@@ -0,0 +1,13 @@
1
+ import { EsolveCareerType } from '../types';
2
+ export interface EsolveCareerOptions {
3
+ search_phrase?: string;
4
+ career_id?: number;
5
+ location_id?: number;
6
+ type?: EsolveCareerType;
7
+ sef_title?: string;
8
+ open_date?: string;
9
+ close_date?: string;
10
+ area?: string;
11
+ page?: number;
12
+ rows?: number;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { EsolveLocationRecord } from '../../locations';
2
+ import { EsolveCareerType } from '../types';
3
+ export interface EsolveCareerRecord {
4
+ id: number;
5
+ title: string;
6
+ sef_title: string;
7
+ type: EsolveCareerType;
8
+ qualification: string;
9
+ location_id: number;
10
+ area: string;
11
+ open_date_timestamp: number;
12
+ close_date_timestamp: number;
13
+ description: string;
14
+ location_details: EsolveLocationRecord;
15
+ }
@@ -0,0 +1,2 @@
1
+ export type { EsolveCareerOptions } from './esolve-career-options.interface';
2
+ export type { EsolveCareerRecord } from './esolve-career-record.interface';
@@ -0,0 +1,12 @@
1
+ import { Observable } from 'rxjs';
2
+ import { EsolveCareer } from '../classes';
3
+ import { EsolveCareerOptions } from '../interfaces';
4
+ import * as i0 from "@angular/core";
5
+ export declare class EsolveCareersService {
6
+ private readonly config;
7
+ private readonly http;
8
+ getCareers(options?: EsolveCareerOptions): Observable<EsolveCareer[]>;
9
+ private getCareerRecords;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<EsolveCareersService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<EsolveCareersService>;
12
+ }
@@ -0,0 +1 @@
1
+ export { EsolveCareersService } from './esolve-careers.service';
@@ -0,0 +1 @@
1
+ export type EsolveCareerType = 'permanent' | 'contract' | 'internship' | 'temporary';
@@ -0,0 +1 @@
1
+ export type { EsolveCareerType } from './esolve-career-type.type';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esolve/ng-esolve-connect",
3
- "version": "0.135.0",
3
+ "version": "0.136.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": {