@esolve/ng-esolve-connect 0.23.0 → 0.24.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/esm2020/lib/suppliers/classes/esolve-supplier.model.mjs +27 -0
- package/esm2020/lib/suppliers/classes/index.mjs +2 -0
- package/esm2020/lib/suppliers/esolve-suppliers.service.mjs +59 -0
- package/esm2020/lib/suppliers/index.mjs +5 -0
- package/esm2020/lib/suppliers/interfaces/esolve-supplier-options.interface.mjs +2 -0
- package/esm2020/lib/suppliers/interfaces/esolve-supplier-record.interface.mjs +2 -0
- package/esm2020/lib/suppliers/interfaces/index.mjs +3 -0
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/esolve-ng-esolve-connect.mjs +82 -1
- package/fesm2015/esolve-ng-esolve-connect.mjs.map +1 -1
- package/fesm2020/esolve-ng-esolve-connect.mjs +79 -1
- package/fesm2020/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/suppliers/classes/esolve-supplier.model.d.ts +26 -0
- package/lib/suppliers/classes/index.d.ts +1 -0
- package/lib/suppliers/esolve-suppliers.service.d.ts +16 -0
- package/lib/suppliers/index.d.ts +3 -0
- package/lib/suppliers/interfaces/esolve-supplier-options.interface.d.ts +4 -0
- package/lib/suppliers/interfaces/esolve-supplier-record.interface.d.ts +24 -0
- package/lib/suppliers/interfaces/index.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EsolveSupplierRecord } from '../interfaces';
|
|
2
|
+
export declare class EsolveSupplier {
|
|
3
|
+
id?: number;
|
|
4
|
+
internal_account?: string;
|
|
5
|
+
external_account?: string;
|
|
6
|
+
company_name: string;
|
|
7
|
+
owner_firstname: string;
|
|
8
|
+
owner_surname: string;
|
|
9
|
+
owner_email: string;
|
|
10
|
+
owner_contact_number: string;
|
|
11
|
+
rep_firstname: string;
|
|
12
|
+
rep_surname: string;
|
|
13
|
+
rep_email: string;
|
|
14
|
+
rep_contact_number: string;
|
|
15
|
+
street: string;
|
|
16
|
+
suburb: string;
|
|
17
|
+
city: string;
|
|
18
|
+
province: string;
|
|
19
|
+
country: string;
|
|
20
|
+
postal_code: string;
|
|
21
|
+
catalogue_ref_1: string;
|
|
22
|
+
catalogue_ref_2: string;
|
|
23
|
+
is_active?: boolean;
|
|
24
|
+
industry_type: string;
|
|
25
|
+
constructor(record?: Partial<EsolveSupplierRecord>);
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './esolve-supplier.model';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { EsolveConnectConfig } from '../esolve-connect.config';
|
|
4
|
+
import { EsolveSupplier } from './classes';
|
|
5
|
+
import { EsolveSupplierOptions } from './interfaces';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EsolveSuppliersService {
|
|
8
|
+
private config;
|
|
9
|
+
private http;
|
|
10
|
+
constructor(config: EsolveConnectConfig, http: HttpClient);
|
|
11
|
+
getSuppliers(options?: EsolveSupplierOptions): Observable<EsolveSupplier[]>;
|
|
12
|
+
private getSupplierRecords;
|
|
13
|
+
private processSuppliers;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsolveSuppliersService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EsolveSuppliersService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface EsolveSupplierRecord {
|
|
2
|
+
id: number;
|
|
3
|
+
internal_account?: string;
|
|
4
|
+
external_account?: string;
|
|
5
|
+
company_name: string;
|
|
6
|
+
owner_firstname: string;
|
|
7
|
+
owner_surname: string;
|
|
8
|
+
owner_email: string;
|
|
9
|
+
owner_contact_number: string;
|
|
10
|
+
rep_firstname: string;
|
|
11
|
+
rep_surname: string;
|
|
12
|
+
rep_email: string;
|
|
13
|
+
rep_contact_number: string;
|
|
14
|
+
street: string;
|
|
15
|
+
suburb: string;
|
|
16
|
+
city: string;
|
|
17
|
+
province: string;
|
|
18
|
+
country: string;
|
|
19
|
+
postal_code: string;
|
|
20
|
+
catalogue_ref_1: string;
|
|
21
|
+
catalogue_ref_2: string;
|
|
22
|
+
is_active: boolean;
|
|
23
|
+
industry_type: string;
|
|
24
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED