gunsmith-common 2.2.3 → 2.2.5

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.
Files changed (244) hide show
  1. package/esm2020/gunsmith-common.mjs +4 -4
  2. package/esm2020/notification/fade-out.animation.mjs +10 -10
  3. package/esm2020/notification/index.mjs +4 -4
  4. package/esm2020/notification/notification-bar/notification-bar.component.mjs +43 -43
  5. package/esm2020/notification/notification-message.mjs +3 -3
  6. package/esm2020/notification/notification-type.enum.mjs +6 -6
  7. package/esm2020/notification/notification.module.mjs +26 -26
  8. package/esm2020/notification/notification.service.mjs +21 -21
  9. package/esm2020/public_api.mjs +13 -13
  10. package/esm2020/shared/controls/package-selector/package-selector.component.mjs +172 -172
  11. package/esm2020/shared/directives/disable-control.directive.mjs +24 -24
  12. package/esm2020/shared/directives/index.mjs +3 -3
  13. package/esm2020/shared/directives/refinish-details-validators.mjs +45 -45
  14. package/esm2020/shared/pipes/enum.pipe.mjs +16 -16
  15. package/esm2020/shared/pipes/file-name.pipe.mjs +16 -16
  16. package/esm2020/shared/pipes/frame-material.pipe.mjs +24 -24
  17. package/esm2020/shared/pipes/index.mjs +6 -6
  18. package/esm2020/shared/pipes/new-line.pipe.mjs +16 -16
  19. package/esm2020/shared/pipes/phone.pipe.mjs +19 -19
  20. package/esm2020/shared/services/coating.service.mjs +63 -63
  21. package/esm2020/shared/services/configuration.service.mjs +29 -29
  22. package/esm2020/shared/services/customer.service.mjs +47 -47
  23. package/esm2020/shared/services/dealer.service.mjs +45 -45
  24. package/esm2020/shared/services/file-upload.service.mjs +39 -39
  25. package/esm2020/shared/services/firearm-series.service.mjs +45 -45
  26. package/esm2020/shared/services/firearm.service.mjs +48 -48
  27. package/esm2020/shared/services/gun-part.service.mjs +52 -52
  28. package/esm2020/shared/services/index.mjs +27 -27
  29. package/esm2020/shared/services/inventory.service.mjs +38 -38
  30. package/esm2020/shared/services/material.service.mjs +30 -30
  31. package/esm2020/shared/services/milling-type.service.mjs +53 -53
  32. package/esm2020/shared/services/optic.service.mjs +42 -42
  33. package/esm2020/shared/services/package.service.mjs +47 -47
  34. package/esm2020/shared/services/product.service.mjs +29 -29
  35. package/esm2020/shared/services/purchase-order.service.mjs +87 -87
  36. package/esm2020/shared/services/refinish-code.service.mjs +35 -35
  37. package/esm2020/shared/services/state.service.mjs +26 -26
  38. package/esm2020/shared/services/status-history.service.mjs +40 -40
  39. package/esm2020/shared/services/totals.service.mjs +50 -50
  40. package/esm2020/shared/services/user.service.mjs +26 -26
  41. package/esm2020/shared/services/vendor.service.mjs +42 -42
  42. package/esm2020/shared/services/waitlist-customer.service.mjs +38 -38
  43. package/esm2020/shared/services/waitlist-project.service.mjs +38 -38
  44. package/esm2020/shared/services/waitlist.service.mjs +86 -86
  45. package/esm2020/shared/services/work-holiday.service.mjs +32 -32
  46. package/esm2020/shared/services/work-order.service.mjs +195 -187
  47. package/esm2020/shared/shared.module.mjs +67 -67
  48. package/esm2020/shared/types/bundle-item.mjs +6 -6
  49. package/esm2020/shared/types/change-order-status.mjs +9 -9
  50. package/esm2020/shared/types/coating-value.mjs +6 -6
  51. package/esm2020/shared/types/coating.mjs +8 -8
  52. package/esm2020/shared/types/configuration.mjs +3 -3
  53. package/esm2020/shared/types/customer.mjs +6 -6
  54. package/esm2020/shared/types/dealer-contact.mjs +3 -3
  55. package/esm2020/shared/types/dealer-coupon.mjs +3 -3
  56. package/esm2020/shared/types/dealer.mjs +8 -8
  57. package/esm2020/shared/types/filter-options.mjs +9 -9
  58. package/esm2020/shared/types/firearm-series-optic.mjs +9 -9
  59. package/esm2020/shared/types/firearm-series.mjs +10 -10
  60. package/esm2020/shared/types/firearm.mjs +6 -6
  61. package/esm2020/shared/types/frame-material.mjs +8 -8
  62. package/esm2020/shared/types/gun-caliber.mjs +7 -7
  63. package/esm2020/shared/types/gun-part-option.mjs +3 -3
  64. package/esm2020/shared/types/gun-part.mjs +11 -11
  65. package/esm2020/shared/types/index.mjs +68 -67
  66. package/esm2020/shared/types/inventory-item.mjs +6 -6
  67. package/esm2020/shared/types/j-file.mjs +3 -3
  68. package/esm2020/shared/types/material.mjs +6 -6
  69. package/esm2020/shared/types/milling-detail.mjs +7 -7
  70. package/esm2020/shared/types/milling-item.mjs +3 -3
  71. package/esm2020/shared/types/milling-type.mjs +6 -6
  72. package/esm2020/shared/types/mount-type.mjs +9 -9
  73. package/esm2020/shared/types/optic-status.mjs +7 -7
  74. package/esm2020/shared/types/optic.mjs +7 -7
  75. package/esm2020/shared/types/package-item.mjs +3 -3
  76. package/esm2020/shared/types/package-optional-item.mjs +3 -3
  77. package/esm2020/shared/types/package-total.mjs +3 -3
  78. package/esm2020/shared/types/package-variation-option.mjs +3 -3
  79. package/esm2020/shared/types/package-variation.mjs +6 -6
  80. package/esm2020/shared/types/package.mjs +10 -10
  81. package/esm2020/shared/types/product.mjs +3 -3
  82. package/esm2020/shared/types/project-type.mjs +7 -7
  83. package/esm2020/shared/types/purchase-order-refinish-item.mjs +3 -3
  84. package/esm2020/shared/types/purchase-order-status.mjs +8 -8
  85. package/esm2020/shared/types/purchase-order.mjs +9 -9
  86. package/esm2020/shared/types/rear-sight-position.mjs +6 -6
  87. package/esm2020/shared/types/refinish-code.mjs +3 -3
  88. package/esm2020/shared/types/refinish-detail.mjs +3 -3
  89. package/esm2020/shared/types/report-milling-item.mjs +3 -3
  90. package/esm2020/shared/types/report-refinish-item.mjs +3 -3
  91. package/esm2020/shared/types/shield-rms-options.mjs +6 -6
  92. package/esm2020/shared/types/sight-type.mjs +7 -7
  93. package/esm2020/shared/types/state.mjs +3 -3
  94. package/esm2020/shared/types/total-item.mjs +3 -3
  95. package/esm2020/shared/types/total.mjs +3 -3
  96. package/esm2020/shared/types/vendor-contact.mjs +3 -3
  97. package/esm2020/shared/types/vendor.mjs +7 -7
  98. package/esm2020/shared/types/waitlist-action.mjs +9 -9
  99. package/esm2020/shared/types/waitlist-gun-package-detail.mjs +7 -7
  100. package/esm2020/shared/types/waitlist-gun.mjs +12 -12
  101. package/esm2020/shared/types/waitlist-history.mjs +3 -3
  102. package/esm2020/shared/types/waitlist-item.mjs +12 -12
  103. package/esm2020/shared/types/waitlist-status.mjs +15 -15
  104. package/esm2020/shared/types/work-change-order.mjs +3 -3
  105. package/esm2020/shared/types/work-holiday.mjs +3 -3
  106. package/esm2020/shared/types/work-order-action.mjs +7 -7
  107. package/esm2020/shared/types/work-order-history.mjs +3 -3
  108. package/esm2020/shared/types/work-order-inventory-item.mjs +3 -3
  109. package/esm2020/shared/types/work-order-list-item.mjs +3 -0
  110. package/esm2020/shared/types/work-order-package-detail.mjs +7 -7
  111. package/esm2020/shared/types/work-order-refinish-item.mjs +3 -3
  112. package/esm2020/shared/types/work-order-status.mjs +18 -18
  113. package/esm2020/shared/types/work-order-type.mjs +8 -8
  114. package/esm2020/shared/types/work-order.mjs +18 -18
  115. package/esm2020/shared/utils/coating-helpers.mjs +22 -22
  116. package/esm2020/shared/utils/enum-object.mjs +10 -10
  117. package/esm2020/shared/utils/finish-date-calculator.mjs +30 -30
  118. package/esm2020/shared/utils/index.mjs +5 -5
  119. package/esm2020/shared/utils/invalid-form-control-toucher.mjs +7 -7
  120. package/fesm2015/gunsmith-common.mjs +2019 -2008
  121. package/fesm2015/gunsmith-common.mjs.map +1 -1
  122. package/fesm2020/gunsmith-common.mjs +1965 -1954
  123. package/fesm2020/gunsmith-common.mjs.map +1 -1
  124. package/gunsmith-common-2.2.5.tgz +0 -0
  125. package/gunsmith-common.d.ts +5 -5
  126. package/notification/fade-out.animation.d.ts +2 -2
  127. package/notification/index.d.ts +3 -3
  128. package/notification/notification-bar/notification-bar.component.d.ts +18 -18
  129. package/notification/notification-message.d.ts +6 -6
  130. package/notification/notification-type.enum.d.ts +4 -4
  131. package/notification/notification.module.d.ts +8 -8
  132. package/notification/notification.service.d.ts +12 -12
  133. package/package.json +1 -1
  134. package/public_api.d.ts +9 -9
  135. package/shared/controls/package-selector/package-selector.component.d.ts +39 -39
  136. package/shared/directives/disable-control.directive.d.ts +9 -9
  137. package/shared/directives/index.d.ts +2 -2
  138. package/shared/directives/refinish-details-validators.d.ts +4 -4
  139. package/shared/pipes/enum.pipe.d.ts +7 -7
  140. package/shared/pipes/file-name.pipe.d.ts +7 -7
  141. package/shared/pipes/frame-material.pipe.d.ts +11 -11
  142. package/shared/pipes/index.d.ts +5 -5
  143. package/shared/pipes/new-line.pipe.d.ts +7 -7
  144. package/shared/pipes/phone.pipe.d.ts +7 -7
  145. package/shared/services/coating.service.d.ts +22 -22
  146. package/shared/services/configuration.service.d.ts +14 -14
  147. package/shared/services/customer.service.d.ts +17 -17
  148. package/shared/services/dealer.service.d.ts +19 -19
  149. package/shared/services/file-upload.service.d.ts +14 -14
  150. package/shared/services/firearm-series.service.d.ts +18 -18
  151. package/shared/services/firearm.service.d.ts +20 -20
  152. package/shared/services/gun-part.service.d.ts +18 -18
  153. package/shared/services/index.d.ts +26 -26
  154. package/shared/services/inventory.service.d.ts +15 -15
  155. package/shared/services/material.service.d.ts +13 -13
  156. package/shared/services/milling-type.service.d.ts +18 -18
  157. package/shared/services/optic.service.d.ts +17 -17
  158. package/shared/services/package.service.d.ts +16 -16
  159. package/shared/services/product.service.d.ts +15 -15
  160. package/shared/services/purchase-order.service.d.ts +27 -27
  161. package/shared/services/refinish-code.service.d.ts +16 -16
  162. package/shared/services/state.service.d.ts +13 -13
  163. package/shared/services/status-history.service.d.ts +14 -14
  164. package/shared/services/totals.service.d.ts +15 -15
  165. package/shared/services/user.service.d.ts +12 -12
  166. package/shared/services/vendor.service.d.ts +17 -17
  167. package/shared/services/waitlist-customer.service.d.ts +15 -15
  168. package/shared/services/waitlist-project.service.d.ts +17 -17
  169. package/shared/services/waitlist.service.d.ts +25 -25
  170. package/shared/services/work-holiday.service.d.ts +15 -15
  171. package/shared/services/work-order.service.d.ts +53 -51
  172. package/shared/shared.module.d.ts +16 -16
  173. package/shared/types/bundle-item.d.ts +11 -11
  174. package/shared/types/change-order-status.d.ts +7 -7
  175. package/shared/types/coating-value.d.ts +6 -6
  176. package/shared/types/coating.d.ts +11 -11
  177. package/shared/types/configuration.d.ts +11 -11
  178. package/shared/types/customer.d.ts +14 -14
  179. package/shared/types/dealer-contact.d.ts +9 -9
  180. package/shared/types/dealer-coupon.d.ts +5 -5
  181. package/shared/types/dealer.d.ts +24 -24
  182. package/shared/types/filter-options.d.ts +6 -6
  183. package/shared/types/firearm-series-optic.d.ts +12 -12
  184. package/shared/types/firearm-series.d.ts +11 -11
  185. package/shared/types/firearm.d.ts +10 -10
  186. package/shared/types/frame-material.d.ts +6 -6
  187. package/shared/types/gun-caliber.d.ts +5 -5
  188. package/shared/types/gun-part-option.d.ts +9 -9
  189. package/shared/types/gun-part.d.ts +13 -13
  190. package/shared/types/index.d.ts +67 -66
  191. package/shared/types/inventory-item.d.ts +9 -9
  192. package/shared/types/j-file.d.ts +5 -5
  193. package/shared/types/material.d.ts +6 -6
  194. package/shared/types/milling-detail.d.ts +19 -19
  195. package/shared/types/milling-item.d.ts +8 -8
  196. package/shared/types/milling-type.d.ts +10 -10
  197. package/shared/types/mount-type.d.ts +7 -7
  198. package/shared/types/optic-status.d.ts +5 -5
  199. package/shared/types/optic.d.ts +7 -7
  200. package/shared/types/package-item.d.ts +9 -9
  201. package/shared/types/package-optional-item.d.ts +6 -6
  202. package/shared/types/package-total.d.ts +5 -5
  203. package/shared/types/package-variation-option.d.ts +10 -10
  204. package/shared/types/package-variation.d.ts +8 -8
  205. package/shared/types/package.d.ts +14 -14
  206. package/shared/types/product.d.ts +7 -7
  207. package/shared/types/project-type.d.ts +5 -5
  208. package/shared/types/purchase-order-refinish-item.d.ts +18 -18
  209. package/shared/types/purchase-order-status.d.ts +6 -6
  210. package/shared/types/purchase-order.d.ts +11 -11
  211. package/shared/types/rear-sight-position.d.ts +4 -4
  212. package/shared/types/refinish-code.d.ts +8 -8
  213. package/shared/types/refinish-detail.d.ts +13 -13
  214. package/shared/types/report-milling-item.d.ts +16 -16
  215. package/shared/types/report-refinish-item.d.ts +20 -20
  216. package/shared/types/shield-rms-options.d.ts +4 -4
  217. package/shared/types/sight-type.d.ts +5 -5
  218. package/shared/types/state.d.ts +4 -4
  219. package/shared/types/total-item.d.ts +4 -4
  220. package/shared/types/total.d.ts +5 -5
  221. package/shared/types/vendor-contact.d.ts +9 -9
  222. package/shared/types/vendor.d.ts +20 -20
  223. package/shared/types/waitlist-action.d.ts +7 -7
  224. package/shared/types/waitlist-gun-package-detail.d.ts +10 -10
  225. package/shared/types/waitlist-gun.d.ts +24 -24
  226. package/shared/types/waitlist-history.d.ts +8 -8
  227. package/shared/types/waitlist-item.d.ts +25 -25
  228. package/shared/types/waitlist-status.d.ts +13 -13
  229. package/shared/types/work-change-order.d.ts +10 -10
  230. package/shared/types/work-holiday.d.ts +4 -4
  231. package/shared/types/work-order-action.d.ts +5 -5
  232. package/shared/types/work-order-history.d.ts +8 -8
  233. package/shared/types/work-order-inventory-item.d.ts +7 -7
  234. package/shared/types/work-order-list-item.d.ts +15 -0
  235. package/shared/types/work-order-package-detail.d.ts +10 -10
  236. package/shared/types/work-order-refinish-item.d.ts +18 -18
  237. package/shared/types/work-order-status.d.ts +16 -16
  238. package/shared/types/work-order-type.d.ts +6 -6
  239. package/shared/types/work-order.d.ts +33 -33
  240. package/shared/utils/coating-helpers.d.ts +5 -5
  241. package/shared/utils/enum-object.d.ts +5 -5
  242. package/shared/utils/finish-date-calculator.d.ts +2 -2
  243. package/shared/utils/index.d.ts +4 -4
  244. package/shared/utils/invalid-form-control-toucher.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- export declare enum ShieldRMSOptions {
2
- KeepBUIS = 0,
3
- RemoveBUIS = 1
4
- }
1
+ export declare enum ShieldRMSOptions {
2
+ KeepBUIS = 0,
3
+ RemoveBUIS = 1
4
+ }
@@ -1,5 +1,5 @@
1
- export declare enum SightType {
2
- Black = 0,
3
- Tritium = 1,
4
- FiberOptic = 2
5
- }
1
+ export declare enum SightType {
2
+ Black = 0,
3
+ Tritium = 1,
4
+ FiberOptic = 2
5
+ }
@@ -1,4 +1,4 @@
1
- export declare class State {
2
- abbrev: string;
3
- name: string;
4
- }
1
+ export declare class State {
2
+ abbrev: string;
3
+ name: string;
4
+ }
@@ -1,4 +1,4 @@
1
- export declare class TotalItem {
2
- data: any;
3
- total: number;
4
- }
1
+ export declare class TotalItem {
2
+ data: any;
3
+ total: number;
4
+ }
@@ -1,5 +1,5 @@
1
- import { TotalItem } from "./total-item";
2
- export declare class Total {
3
- name: string;
4
- items: TotalItem[];
5
- }
1
+ import { TotalItem } from "./total-item";
2
+ export declare class Total {
3
+ name: string;
4
+ items: TotalItem[];
5
+ }
@@ -1,9 +1,9 @@
1
- export declare class VendorContact {
2
- id: number;
3
- firstName: string;
4
- lastName: string;
5
- primaryPhone: string;
6
- secondaryPhone: string;
7
- email: string;
8
- timestamp: string;
9
- }
1
+ export declare class VendorContact {
2
+ id: number;
3
+ firstName: string;
4
+ lastName: string;
5
+ primaryPhone: string;
6
+ secondaryPhone: string;
7
+ email: string;
8
+ timestamp: string;
9
+ }
@@ -1,20 +1,20 @@
1
- import { JFile } from "./j-file";
2
- import { VendorContact } from "./vendor-contact";
3
- export declare class Vendor {
4
- constructor();
5
- id: number;
6
- name: string;
7
- address1: string;
8
- address2: string;
9
- city: string;
10
- stateAbbrev: string;
11
- stateName: string;
12
- postalCode: string;
13
- fflDate: Date;
14
- fflFile: JFile;
15
- fflFileName: string;
16
- notes: string;
17
- contacts: VendorContact[];
18
- active: boolean;
19
- timestamp: string;
20
- }
1
+ import { JFile } from "./j-file";
2
+ import { VendorContact } from "./vendor-contact";
3
+ export declare class Vendor {
4
+ constructor();
5
+ id: number;
6
+ name: string;
7
+ address1: string;
8
+ address2: string;
9
+ city: string;
10
+ stateAbbrev: string;
11
+ stateName: string;
12
+ postalCode: string;
13
+ fflDate: Date;
14
+ fflFile: JFile;
15
+ fflFileName: string;
16
+ notes: string;
17
+ contacts: VendorContact[];
18
+ active: boolean;
19
+ timestamp: string;
20
+ }
@@ -1,7 +1,7 @@
1
- export declare enum WaitlistAction {
2
- SendShipmentEmail = 0,
3
- SendShipmentNoResponse = 2,
4
- SendWaitingOnShipmentEmail = 3,
5
- SendWaitingOnShipmentNoResponse = 5,
6
- SendInShopEmail = 6
7
- }
1
+ export declare enum WaitlistAction {
2
+ SendShipmentEmail = 0,
3
+ SendShipmentNoResponse = 2,
4
+ SendWaitingOnShipmentEmail = 3,
5
+ SendWaitingOnShipmentNoResponse = 5,
6
+ SendInShopEmail = 6
7
+ }
@@ -1,10 +1,10 @@
1
- import { Package } from "./package";
2
- import { PackageOptionalItem } from "./package-optional-item";
3
- import { PackageVariationOption } from "./package-variation-option";
4
- export declare class WaitlistGunPackageDetail {
5
- id: number;
6
- package: Package;
7
- optionalItems: PackageOptionalItem[];
8
- variations: PackageVariationOption[];
9
- timestamp: string;
10
- }
1
+ import { Package } from "./package";
2
+ import { PackageOptionalItem } from "./package-optional-item";
3
+ import { PackageVariationOption } from "./package-variation-option";
4
+ export declare class WaitlistGunPackageDetail {
5
+ id: number;
6
+ package: Package;
7
+ optionalItems: PackageOptionalItem[];
8
+ variations: PackageVariationOption[];
9
+ timestamp: string;
10
+ }
@@ -1,24 +1,24 @@
1
- import { Firearm } from './firearm';
2
- import { GunCaliber } from "./gun-caliber";
3
- import { MillingDetail } from './milling-detail';
4
- import { ProjectType } from './project-type';
5
- import { RefinishDetail } from './refinish-detail';
6
- import { WaitlistGunPackageDetail } from './waitlist-gun-package-detail';
7
- export declare class WaitlistGun {
8
- id: number;
9
- firearm: Firearm;
10
- serialNumber: string;
11
- caliber: GunCaliber;
12
- condition: string;
13
- workDescription: string;
14
- shipmentInfo: string;
15
- projectType: ProjectType;
16
- logo: boolean;
17
- refinish: boolean;
18
- milling: boolean;
19
- specialOrder: boolean;
20
- packageDetail: WaitlistGunPackageDetail;
21
- refinishDetails: RefinishDetail[];
22
- millingDetail: MillingDetail;
23
- timestamp: string;
24
- }
1
+ import { Firearm } from './firearm';
2
+ import { GunCaliber } from "./gun-caliber";
3
+ import { MillingDetail } from './milling-detail';
4
+ import { ProjectType } from './project-type';
5
+ import { RefinishDetail } from './refinish-detail';
6
+ import { WaitlistGunPackageDetail } from './waitlist-gun-package-detail';
7
+ export declare class WaitlistGun {
8
+ id: number;
9
+ firearm: Firearm;
10
+ serialNumber: string;
11
+ caliber: GunCaliber;
12
+ condition: string;
13
+ workDescription: string;
14
+ shipmentInfo: string;
15
+ projectType: ProjectType;
16
+ logo: boolean;
17
+ refinish: boolean;
18
+ milling: boolean;
19
+ specialOrder: boolean;
20
+ packageDetail: WaitlistGunPackageDetail;
21
+ refinishDetails: RefinishDetail[];
22
+ millingDetail: MillingDetail;
23
+ timestamp: string;
24
+ }
@@ -1,8 +1,8 @@
1
- import { WaitlistStatus } from "./waitlist-status";
2
- export declare class WaitlistHistory {
3
- id: number;
4
- status: WaitlistStatus;
5
- date: Date;
6
- user: string;
7
- timestamp: string;
8
- }
1
+ import { WaitlistStatus } from "./waitlist-status";
2
+ export declare class WaitlistHistory {
3
+ id: number;
4
+ status: WaitlistStatus;
5
+ date: Date;
6
+ user: string;
7
+ timestamp: string;
8
+ }
@@ -1,25 +1,25 @@
1
- import { WaitlistStatus } from "./waitlist-status";
2
- import { WaitlistGun } from "./waitlist-gun";
3
- import { WaitlistHistory } from "./waitlist-history";
4
- import { Customer } from "./customer";
5
- import { WorkOrderType } from './work-order-type';
6
- export declare class WaitlistItem {
7
- id: number;
8
- requestDate: Date;
9
- lastStatusDate: Date;
10
- customer: Customer;
11
- name: string;
12
- address1: string;
13
- address2: string;
14
- city: string;
15
- stateAbbrev: string;
16
- stateName: string;
17
- postalCode: string;
18
- status: WaitlistStatus;
19
- phone: string;
20
- email: string;
21
- workOrderType: WorkOrderType;
22
- guns: WaitlistGun[];
23
- histories: WaitlistHistory[];
24
- timestamp: string;
25
- }
1
+ import { WaitlistStatus } from "./waitlist-status";
2
+ import { WaitlistGun } from "./waitlist-gun";
3
+ import { WaitlistHistory } from "./waitlist-history";
4
+ import { Customer } from "./customer";
5
+ import { WorkOrderType } from './work-order-type';
6
+ export declare class WaitlistItem {
7
+ id: number;
8
+ requestDate: Date;
9
+ lastStatusDate: Date;
10
+ customer: Customer;
11
+ name: string;
12
+ address1: string;
13
+ address2: string;
14
+ city: string;
15
+ stateAbbrev: string;
16
+ stateName: string;
17
+ postalCode: string;
18
+ status: WaitlistStatus;
19
+ phone: string;
20
+ email: string;
21
+ workOrderType: WorkOrderType;
22
+ guns: WaitlistGun[];
23
+ histories: WaitlistHistory[];
24
+ timestamp: string;
25
+ }
@@ -1,13 +1,13 @@
1
- export declare enum WaitlistStatus {
2
- NewRequest = 0,
3
- ShipmentEmailSent = 1,
4
- ShipmentEmailReminderSent = 2,
5
- ShipmentEmailNoResponse = 3,
6
- WaitingOnShipment = 4,
7
- WaitingOnShipmentReminderSent = 5,
8
- WaitingOnShipmentNoResponse = 6,
9
- InShop = 7,
10
- Cancelled = 8,
11
- OnHold = 9,
12
- Voided = 10
13
- }
1
+ export declare enum WaitlistStatus {
2
+ NewRequest = 0,
3
+ ShipmentEmailSent = 1,
4
+ ShipmentEmailReminderSent = 2,
5
+ ShipmentEmailNoResponse = 3,
6
+ WaitingOnShipment = 4,
7
+ WaitingOnShipmentReminderSent = 5,
8
+ WaitingOnShipmentNoResponse = 6,
9
+ InShop = 7,
10
+ Cancelled = 8,
11
+ OnHold = 9,
12
+ Voided = 10
13
+ }
@@ -1,10 +1,10 @@
1
- import { ChangeOrderStatus } from './change-order-status';
2
- export declare class WorkChangeOrder {
3
- id: number;
4
- workOrderId: number;
5
- description: string;
6
- date: Date;
7
- user: string;
8
- status: ChangeOrderStatus;
9
- timestamp: string;
10
- }
1
+ import { ChangeOrderStatus } from './change-order-status';
2
+ export declare class WorkChangeOrder {
3
+ id: number;
4
+ workOrderId: number;
5
+ description: string;
6
+ date: Date;
7
+ user: string;
8
+ status: ChangeOrderStatus;
9
+ timestamp: string;
10
+ }
@@ -1,4 +1,4 @@
1
- export declare class WorkHoliday {
2
- id: number;
3
- holiday: Date;
4
- }
1
+ export declare class WorkHoliday {
2
+ id: number;
3
+ holiday: Date;
4
+ }
@@ -1,5 +1,5 @@
1
- export declare enum WorkOrderAction {
2
- SendOnBenchEmail = 1,
3
- SendWaitingOnCustomerEmail = 3,
4
- SendCustomerNotification = 4
5
- }
1
+ export declare enum WorkOrderAction {
2
+ SendOnBenchEmail = 1,
3
+ SendWaitingOnCustomerEmail = 3,
4
+ SendCustomerNotification = 4
5
+ }
@@ -1,8 +1,8 @@
1
- import { WorkOrderStatus } from "./work-order-status";
2
- export declare class WorkOrderHistory {
3
- id: number;
4
- status: WorkOrderStatus;
5
- date: Date;
6
- user: string;
7
- timestamp: string;
8
- }
1
+ import { WorkOrderStatus } from "./work-order-status";
2
+ export declare class WorkOrderHistory {
3
+ id: number;
4
+ status: WorkOrderStatus;
5
+ date: Date;
6
+ user: string;
7
+ timestamp: string;
8
+ }
@@ -1,7 +1,7 @@
1
- export declare class WorkOrderInventoryItem {
2
- workOrderId: number;
3
- inventoryItemId: number;
4
- quantity: number;
5
- sku: string;
6
- name: string;
7
- }
1
+ export declare class WorkOrderInventoryItem {
2
+ workOrderId: number;
3
+ inventoryItemId: number;
4
+ quantity: number;
5
+ sku: string;
6
+ name: string;
7
+ }
@@ -0,0 +1,15 @@
1
+ import { ProjectType } from "./project-type";
2
+ import { WorkOrderStatus } from "./work-order-status";
3
+ import { WorkOrderType } from "./work-order-type";
4
+ export declare class WorkOrderListItem {
5
+ id: number;
6
+ customerName: string;
7
+ firearmName: string;
8
+ serialNumber: string;
9
+ receivedDate: Date;
10
+ estimatedFinishDate: Date;
11
+ workOrderType: WorkOrderType;
12
+ projectType: ProjectType;
13
+ status: WorkOrderStatus;
14
+ timestamp: string;
15
+ }
@@ -1,10 +1,10 @@
1
- import { Package } from "./package";
2
- import { PackageOptionalItem } from "./package-optional-item";
3
- import { PackageVariationOption } from "./package-variation-option";
4
- export declare class WorkOrderPackageDetail {
5
- id: number;
6
- package: Package;
7
- optionalItems: PackageOptionalItem[];
8
- variations: PackageVariationOption[];
9
- timestamp: string;
10
- }
1
+ import { Package } from "./package";
2
+ import { PackageOptionalItem } from "./package-optional-item";
3
+ import { PackageVariationOption } from "./package-variation-option";
4
+ export declare class WorkOrderPackageDetail {
5
+ id: number;
6
+ package: Package;
7
+ optionalItems: PackageOptionalItem[];
8
+ variations: PackageVariationOption[];
9
+ timestamp: string;
10
+ }
@@ -1,18 +1,18 @@
1
- import { Coating } from './coating';
2
- import { CoatingValue } from './coating-value';
3
- import { GunPart } from './gun-part';
4
- import { GunPartOption } from './gun-part-option';
5
- import { Vendor } from './vendor';
6
- export declare class WorkOrderRefinishItem {
7
- id: number;
8
- gunPart: GunPart;
9
- option: GunPartOption;
10
- quantity: number;
11
- coating: Coating;
12
- coatingValue: CoatingValue;
13
- coatingDescription: string;
14
- vendor: Vendor;
15
- outDate: Date;
16
- inDate: Date;
17
- timestamp: string;
18
- }
1
+ import { Coating } from './coating';
2
+ import { CoatingValue } from './coating-value';
3
+ import { GunPart } from './gun-part';
4
+ import { GunPartOption } from './gun-part-option';
5
+ import { Vendor } from './vendor';
6
+ export declare class WorkOrderRefinishItem {
7
+ id: number;
8
+ gunPart: GunPart;
9
+ option: GunPartOption;
10
+ quantity: number;
11
+ coating: Coating;
12
+ coatingValue: CoatingValue;
13
+ coatingDescription: string;
14
+ vendor: Vendor;
15
+ outDate: Date;
16
+ inDate: Date;
17
+ timestamp: string;
18
+ }
@@ -1,16 +1,16 @@
1
- export declare enum WorkOrderStatus {
2
- InShop = 0,
3
- OnBench = 1,
4
- OutOfShop = 2,
5
- MillingInProgress = 13,
6
- WaitingOnCustomer = 3,
7
- CustomerNotified = 4,
8
- ShippingPostponed = 10,
9
- FflNeeded = 11,
10
- InspectionNeeded = 12,
11
- ReadyToShip = 5,
12
- Completed = 6,
13
- Cancelled = 7,
14
- Voided = 8,
15
- OnHold = 9
16
- }
1
+ export declare enum WorkOrderStatus {
2
+ InShop = 0,
3
+ OnBench = 1,
4
+ OutOfShop = 2,
5
+ MillingInProgress = 13,
6
+ WaitingOnCustomer = 3,
7
+ CustomerNotified = 4,
8
+ ShippingPostponed = 10,
9
+ FflNeeded = 11,
10
+ InspectionNeeded = 12,
11
+ ReadyToShip = 5,
12
+ Completed = 6,
13
+ Cancelled = 7,
14
+ Voided = 8,
15
+ OnHold = 9
16
+ }
@@ -1,6 +1,6 @@
1
- export declare enum WorkOrderType {
2
- Standard = 0,
3
- NewInBox = 1,
4
- Expedited = 2,
5
- Warranty = 5
6
- }
1
+ export declare enum WorkOrderType {
2
+ Standard = 0,
3
+ NewInBox = 1,
4
+ Expedited = 2,
5
+ Warranty = 5
6
+ }
@@ -1,33 +1,33 @@
1
- import { WorkOrderStatus } from "./work-order-status";
2
- import { WorkOrderHistory } from './work-order-history';
3
- import { WorkOrderType } from "./work-order-type";
4
- import { Customer } from "./customer";
5
- import { Firearm } from './firearm';
6
- import { GunCaliber } from './gun-caliber';
7
- import { ProjectType } from './project-type';
8
- import { WorkOrderPackageDetail } from "./work-order-package-detail";
9
- export declare class WorkOrder {
10
- constructor();
11
- id: number;
12
- customer: Customer;
13
- firearm: Firearm;
14
- serialNumber: string;
15
- caliber: GunCaliber;
16
- receivedDate: Date;
17
- estimatedFinishDate: Date;
18
- lastStatusDate: Date;
19
- workOrderType: WorkOrderType;
20
- refinish: boolean;
21
- logo: boolean;
22
- milling: boolean;
23
- specialOrder: boolean;
24
- condition: string;
25
- workDescription: string;
26
- shipmentInfo: string;
27
- projectType: ProjectType;
28
- status: WorkOrderStatus;
29
- packageDetail: WorkOrderPackageDetail;
30
- histories: WorkOrderHistory[];
31
- notes: string;
32
- timestamp: string;
33
- }
1
+ import { WorkOrderStatus } from "./work-order-status";
2
+ import { WorkOrderHistory } from './work-order-history';
3
+ import { WorkOrderType } from "./work-order-type";
4
+ import { Customer } from "./customer";
5
+ import { Firearm } from './firearm';
6
+ import { GunCaliber } from './gun-caliber';
7
+ import { ProjectType } from './project-type';
8
+ import { WorkOrderPackageDetail } from "./work-order-package-detail";
9
+ export declare class WorkOrder {
10
+ constructor();
11
+ id: number;
12
+ customer: Customer;
13
+ firearm: Firearm;
14
+ serialNumber: string;
15
+ caliber: GunCaliber;
16
+ receivedDate: Date;
17
+ estimatedFinishDate: Date;
18
+ lastStatusDate: Date;
19
+ workOrderType: WorkOrderType;
20
+ refinish: boolean;
21
+ logo: boolean;
22
+ milling: boolean;
23
+ specialOrder: boolean;
24
+ condition: string;
25
+ workDescription: string;
26
+ shipmentInfo: string;
27
+ projectType: ProjectType;
28
+ status: WorkOrderStatus;
29
+ packageDetail: WorkOrderPackageDetail;
30
+ histories: WorkOrderHistory[];
31
+ notes: string;
32
+ timestamp: string;
33
+ }
@@ -1,5 +1,5 @@
1
- import { Coating, CoatingValue, GunPart, Material } from '../types';
2
- export declare function getCoatings(part: GunPart, coatings: Coating[], material: Material): Coating[];
3
- export declare function getCoatingValues(coating: Coating): CoatingValue[];
4
- export declare function hasCoatingValues(coating: Coating): boolean;
5
- export declare function hasCoatingDescription(coating: Coating): boolean;
1
+ import { Coating, CoatingValue, GunPart, Material } from '../types';
2
+ export declare function getCoatings(part: GunPart, coatings: Coating[], material: Material): Coating[];
3
+ export declare function getCoatingValues(coating: Coating): CoatingValue[];
4
+ export declare function hasCoatingValues(coating: Coating): boolean;
5
+ export declare function hasCoatingDescription(coating: Coating): boolean;
@@ -1,5 +1,5 @@
1
- export declare function convertEnumToObjectArray(value: any): EnumObject[];
2
- export interface EnumObject {
3
- id: number;
4
- name: string;
5
- }
1
+ export declare function convertEnumToObjectArray(value: any): EnumObject[];
2
+ export interface EnumObject {
3
+ id: number;
4
+ name: string;
5
+ }
@@ -1,2 +1,2 @@
1
- import { WorkOrderType, Configuration, WorkHoliday } from "../types";
2
- export declare function calculateFinishDate(receivedDate: Date, workOrderType: WorkOrderType, configs: Configuration, holidays: WorkHoliday[]): Date;
1
+ import { WorkOrderType, Configuration, WorkHoliday } from "../types";
2
+ export declare function calculateFinishDate(receivedDate: Date, workOrderType: WorkOrderType, configs: Configuration, holidays: WorkHoliday[]): Date;
@@ -1,4 +1,4 @@
1
- export * from './invalid-form-control-toucher';
2
- export * from './enum-object';
3
- export * from './coating-helpers';
4
- export * from './finish-date-calculator';
1
+ export * from './invalid-form-control-toucher';
2
+ export * from './enum-object';
3
+ export * from './coating-helpers';
4
+ export * from './finish-date-calculator';
@@ -1,2 +1,2 @@
1
- import { FormGroup } from "@angular/forms";
2
- export declare function touchControls(formGroup: FormGroup): void;
1
+ import { FormGroup } from "@angular/forms";
2
+ export declare function touchControls(formGroup: FormGroup): void;