gunsmith-common 2.2.14 → 2.2.16

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.2.14",
3
+ "version": "2.2.16",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">= 6.1.10",
6
6
  "@angular/common": ">= 6.1.10",
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { Optic } from '../types';
3
+ import { Optic, OpticReportItem } from '../types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class OpticService {
6
6
  private http;
@@ -12,6 +12,7 @@ export declare class OpticService {
12
12
  createOptic(optic: Optic): Observable<Optic>;
13
13
  updateOptic(opticId: number, optic: Optic): Observable<Optic>;
14
14
  deleteOptic(opticId: number): Observable<any>;
15
+ readOpticReport(): Observable<OpticReportItem[]>;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<OpticService, never>;
16
17
  static ɵprov: i0.ɵɵInjectableDeclaration<OpticService>;
17
18
  }
@@ -69,3 +69,4 @@ export * from './work-order-shipping-item';
69
69
  export * from './work-order-discount';
70
70
  export * from './work-order-non-inventory-item';
71
71
  export * from './change-order-package-detail';
72
+ export * from './optic-report-item';
@@ -5,6 +5,8 @@ export declare class InventoryItem {
5
5
  price: number;
6
6
  count: number;
7
7
  orderPoint: number;
8
+ bulk: boolean;
9
+ kit: boolean;
8
10
  active: boolean;
9
11
  timestamp: string;
10
12
  }
@@ -15,5 +15,6 @@ export declare class MillingDetail {
15
15
  cosmeticMilling: MillingType;
16
16
  barrelCrown: boolean;
17
17
  bushingInstallation: boolean;
18
+ opticPulled: boolean;
18
19
  timestamp: string;
19
20
  }
@@ -1,8 +1,20 @@
1
1
  import { MillingType } from './milling-type';
2
+ import { OpticStatus } from './optic-status';
3
+ import { RearSightPosition } from './rear-sight-position';
4
+ import { ShieldRMSOptions } from './shield-rms-options';
5
+ import { SightType } from './sight-type';
2
6
  export declare class MillingItem {
3
7
  id: number;
4
8
  millingType: MillingType;
5
- description: string;
9
+ opticId: number;
10
+ opticName: string;
11
+ opticPulled: boolean;
12
+ opticStatus: OpticStatus;
13
+ frontSightType: SightType;
14
+ rearSightType: SightType;
15
+ rearSightPosition: RearSightPosition;
16
+ shieldRMSOptions: ShieldRMSOptions;
17
+ notes: string;
6
18
  completedDate: Date;
7
19
  timestamp: string;
8
20
  }
@@ -0,0 +1,11 @@
1
+ export interface OpticReportItem {
2
+ customerName: string;
3
+ estShipDate: Date | null;
4
+ opticSku: string;
5
+ opticName: string;
6
+ opticPulled: boolean;
7
+ workOrderType: string;
8
+ serialNumber: string;
9
+ id: number;
10
+ type: string;
11
+ }
@@ -2,6 +2,7 @@ export declare class Optic {
2
2
  id: number;
3
3
  name: string;
4
4
  isAvailable: boolean;
5
+ inventoryItemId: number;
5
6
  active: boolean;
6
7
  timestamp: string;
7
8
  }
Binary file