gunsmith-common 2.3.8 → 2.3.9

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gunsmith-common",
3
- "version": "2.3.8",
3
+ "version": "2.3.9",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">= 6.1.10",
6
6
  "@angular/common": ">= 6.1.10",
@@ -2,18 +2,14 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Dealer } from '../types/dealer';
4
4
  import { DealerCoupon } from '../types';
5
+ import { BaseService } from './base.service';
5
6
  import * as i0 from "@angular/core";
6
- export declare class DealerService {
7
- private http;
8
- private env;
9
- private url;
7
+ export declare class DealerService extends BaseService<Dealer> {
8
+ protected http: HttpClient;
9
+ protected env: any;
10
10
  constructor(http: HttpClient, env: any);
11
- readDealers(includeInactive?: boolean): Observable<Dealer[]>;
12
- readDealer(id: number): Observable<Dealer>;
13
- createDealer(dealer: Dealer): Observable<Dealer>;
14
- updateDealer(id: number, dealer: Dealer): Observable<Dealer>;
15
- deleteDealer(id: number): Observable<any>;
16
11
  updateDealerCoupon(dealerId: number, couponId: number, dealerCoupon: DealerCoupon): Observable<Dealer>;
12
+ sendExpiredEmail(): Observable<any>;
17
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DealerService, never>;
18
14
  static ɵprov: i0.ɵɵInjectableDeclaration<DealerService>;
19
15
  }
@@ -1,11 +1,13 @@
1
1
  import { BaseService } from './base.service';
2
- import { Sight } from '../types';
2
+ import { Sight, SightReportItem } from '../types';
3
3
  import { HttpClient } from '@angular/common/http';
4
+ import { Observable } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class SightService extends BaseService<Sight> {
6
7
  protected http: HttpClient;
7
8
  protected env: any;
8
9
  constructor(http: HttpClient, env: any);
10
+ getSightReport(): Observable<SightReportItem[]>;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SightService, never>;
10
12
  static ɵprov: i0.ɵɵInjectableDeclaration<SightService>;
11
13
  }
@@ -10,6 +10,7 @@ export declare class Configuration {
10
10
  quickbooksFileLocation: string;
11
11
  waitlistErrorEmail: string;
12
12
  warrantyEmail: string;
13
+ dealerEmail: string;
13
14
  blacklistEmails: string;
14
15
  timestamp: string;
15
16
  }
@@ -14,6 +14,7 @@ export declare class Dealer {
14
14
  fflFile: JFile;
15
15
  fflFileName: string;
16
16
  resaleCertFile: JFile;
17
+ resaleTaxCertificateDate: Date;
17
18
  resaleTaxCertificateFileName: string;
18
19
  couponId: number;
19
20
  couponCode: string;
@@ -77,3 +77,4 @@ export * from './optic-sight';
77
77
  export * from './slide-addon';
78
78
  export * from './milling-type-addon-option';
79
79
  export * from './milling-type-addon';
80
+ export * from './sight-report-item';
@@ -1,6 +1,8 @@
1
1
  export interface OpticReportItem {
2
2
  customerName: string;
3
3
  estShipDate: Date | null;
4
+ plateSku: string;
5
+ plateName: string;
4
6
  opticSku: string;
5
7
  opticName: string;
6
8
  opticPulled: boolean;
@@ -0,0 +1,10 @@
1
+ export interface SightReportItem {
2
+ customerName: string;
3
+ estShipDate: Date | null;
4
+ sightSku: string;
5
+ sightName: string;
6
+ workOrderType: string;
7
+ serialNumber: string;
8
+ id: number;
9
+ type: string;
10
+ }
Binary file