gunsmith-common 2.3.19 → 2.3.21

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 (312) 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 +14 -14
  10. package/esm2020/shared/controls/form-error-message/form-error-message.component.mjs +17 -17
  11. package/esm2020/shared/controls/modal-header/modal-header.component.mjs +25 -25
  12. package/esm2020/shared/directives/disable-control.directive.mjs +24 -24
  13. package/esm2020/shared/directives/index.mjs +3 -3
  14. package/esm2020/shared/directives/refinish-details-validators.mjs +45 -45
  15. package/esm2020/shared/pipes/enum.pipe.mjs +16 -16
  16. package/esm2020/shared/pipes/file-name.pipe.mjs +16 -16
  17. package/esm2020/shared/pipes/frame-material.pipe.mjs +24 -24
  18. package/esm2020/shared/pipes/index.mjs +6 -6
  19. package/esm2020/shared/pipes/new-line.pipe.mjs +16 -16
  20. package/esm2020/shared/pipes/phone.pipe.mjs +19 -19
  21. package/esm2020/shared/services/base.service.mjs +50 -50
  22. package/esm2020/shared/services/coating-value.service.mjs +25 -25
  23. package/esm2020/shared/services/coating.service.mjs +25 -25
  24. package/esm2020/shared/services/configuration.service.mjs +32 -32
  25. package/esm2020/shared/services/customer.service.mjs +47 -47
  26. package/esm2020/shared/services/dealer.service.mjs +31 -31
  27. package/esm2020/shared/services/file-upload.service.mjs +34 -34
  28. package/esm2020/shared/services/finish-date-helper.service.mjs +69 -69
  29. package/esm2020/shared/services/firearm-milling-type.service.mjs +25 -25
  30. package/esm2020/shared/services/firearm-optic.service.mjs +31 -31
  31. package/esm2020/shared/services/firearm-sight.service.mjs +25 -25
  32. package/esm2020/shared/services/firearm.service.mjs +31 -31
  33. package/esm2020/shared/services/gun-part.service.mjs +46 -46
  34. package/esm2020/shared/services/index.mjs +44 -44
  35. package/esm2020/shared/services/inventory.service.mjs +25 -25
  36. package/esm2020/shared/services/material.service.mjs +30 -30
  37. package/esm2020/shared/services/milling-type-addon.service.mjs +25 -25
  38. package/esm2020/shared/services/milling-type.service.mjs +25 -25
  39. package/esm2020/shared/services/mount-type.service.mjs +25 -25
  40. package/esm2020/shared/services/optic.service.mjs +28 -28
  41. package/esm2020/shared/services/package-optional-item.service.mjs +25 -25
  42. package/esm2020/shared/services/package-variation.service.mjs +25 -25
  43. package/esm2020/shared/services/package.service.mjs +49 -49
  44. package/esm2020/shared/services/product.service.mjs +29 -29
  45. package/esm2020/shared/services/purchase-order.service.mjs +87 -87
  46. package/esm2020/shared/services/quickbooks.service.mjs +30 -30
  47. package/esm2020/shared/services/refinish-code.service.mjs +35 -35
  48. package/esm2020/shared/services/sight-material.service.mjs +25 -25
  49. package/esm2020/shared/services/sight-type.service.mjs +25 -25
  50. package/esm2020/shared/services/sight.service.mjs +28 -28
  51. package/esm2020/shared/services/slide-addon.service.mjs +25 -25
  52. package/esm2020/shared/services/state.service.mjs +26 -26
  53. package/esm2020/shared/services/status-history.service.mjs +40 -40
  54. package/esm2020/shared/services/totals.service.mjs +50 -50
  55. package/esm2020/shared/services/user.service.mjs +26 -26
  56. package/esm2020/shared/services/vendor.service.mjs +42 -42
  57. package/esm2020/shared/services/waitlist-customer.service.mjs +41 -41
  58. package/esm2020/shared/services/waitlist-project.service.mjs +38 -38
  59. package/esm2020/shared/services/waitlist.service.mjs +100 -100
  60. package/esm2020/shared/services/work-holiday.service.mjs +32 -32
  61. package/esm2020/shared/services/work-order-discount.service.mjs +25 -25
  62. package/esm2020/shared/services/work-order-non-inventory-item.service.mjs +25 -25
  63. package/esm2020/shared/services/work-order-shipping-item.service.mjs +25 -25
  64. package/esm2020/shared/services/work-order.service.mjs +214 -214
  65. package/esm2020/shared/shared.module.mjs +59 -59
  66. package/esm2020/shared/types/address.mjs +3 -3
  67. package/esm2020/shared/types/billing-info.mjs +3 -3
  68. package/esm2020/shared/types/bundle-item.mjs +6 -6
  69. package/esm2020/shared/types/change-order-package-detail.mjs +7 -7
  70. package/esm2020/shared/types/change-order-status.mjs +9 -9
  71. package/esm2020/shared/types/coating-value.mjs +6 -6
  72. package/esm2020/shared/types/coating.mjs +8 -8
  73. package/esm2020/shared/types/configuration.mjs +3 -3
  74. package/esm2020/shared/types/customer.mjs +6 -6
  75. package/esm2020/shared/types/dealer-contact.mjs +3 -3
  76. package/esm2020/shared/types/dealer-coupon.mjs +3 -3
  77. package/esm2020/shared/types/dealer.mjs +8 -8
  78. package/esm2020/shared/types/filter-options.mjs +9 -9
  79. package/esm2020/shared/types/firearm-optic.mjs +11 -11
  80. package/esm2020/shared/types/firearm.mjs +6 -6
  81. package/esm2020/shared/types/frame-material.mjs +8 -8
  82. package/esm2020/shared/types/gun-caliber.mjs +7 -7
  83. package/esm2020/shared/types/gun-part-option.mjs +3 -3
  84. package/esm2020/shared/types/gun-part.mjs +11 -11
  85. package/esm2020/shared/types/index.mjs +85 -85
  86. package/esm2020/shared/types/inventory-item.mjs +12 -12
  87. package/esm2020/shared/types/j-file.mjs +3 -3
  88. package/esm2020/shared/types/material.mjs +6 -6
  89. package/esm2020/shared/types/milling-detail.mjs +10 -10
  90. package/esm2020/shared/types/milling-item.mjs +6 -6
  91. package/esm2020/shared/types/milling-type-addon-option.mjs +4 -4
  92. package/esm2020/shared/types/milling-type-addon.mjs +7 -7
  93. package/esm2020/shared/types/milling-type.mjs +11 -11
  94. package/esm2020/shared/types/mount-type.mjs +6 -6
  95. package/esm2020/shared/types/optic-report-item.mjs +2 -2
  96. package/esm2020/shared/types/optic-sight.mjs +4 -4
  97. package/esm2020/shared/types/optic-status.mjs +7 -7
  98. package/esm2020/shared/types/optic.mjs +7 -7
  99. package/esm2020/shared/types/package-item.mjs +3 -3
  100. package/esm2020/shared/types/package-optional-item.mjs +7 -7
  101. package/esm2020/shared/types/package-total.mjs +3 -3
  102. package/esm2020/shared/types/package-variation-option.mjs +6 -6
  103. package/esm2020/shared/types/package-variation.mjs +8 -8
  104. package/esm2020/shared/types/package.mjs +13 -13
  105. package/esm2020/shared/types/product.mjs +3 -3
  106. package/esm2020/shared/types/project-type.mjs +7 -7
  107. package/esm2020/shared/types/purchase-order-refinish-item.mjs +3 -3
  108. package/esm2020/shared/types/purchase-order-status.mjs +8 -8
  109. package/esm2020/shared/types/purchase-order.mjs +9 -9
  110. package/esm2020/shared/types/rear-sight-position.mjs +6 -6
  111. package/esm2020/shared/types/refinish-code.mjs +3 -3
  112. package/esm2020/shared/types/refinish-detail.mjs +3 -3
  113. package/esm2020/shared/types/report-milling-item.mjs +3 -3
  114. package/esm2020/shared/types/report-refinish-item.mjs +3 -3
  115. package/esm2020/shared/types/shield-rms-options.mjs +6 -6
  116. package/esm2020/shared/types/sight-material-type.mjs +6 -6
  117. package/esm2020/shared/types/sight-report-item.mjs +2 -2
  118. package/esm2020/shared/types/sight-type-enum.mjs +7 -7
  119. package/esm2020/shared/types/sight-type.mjs +6 -6
  120. package/esm2020/shared/types/sight.mjs +6 -6
  121. package/esm2020/shared/types/simple-type.mjs +2 -2
  122. package/esm2020/shared/types/slide-addon.mjs +7 -7
  123. package/esm2020/shared/types/state.mjs +3 -3
  124. package/esm2020/shared/types/total-item.mjs +3 -3
  125. package/esm2020/shared/types/total.mjs +3 -3
  126. package/esm2020/shared/types/vendor-contact.mjs +3 -3
  127. package/esm2020/shared/types/vendor.mjs +7 -7
  128. package/esm2020/shared/types/waitlist-action.mjs +9 -9
  129. package/esm2020/shared/types/waitlist-gun-package-detail.mjs +7 -7
  130. package/esm2020/shared/types/waitlist-gun.mjs +15 -15
  131. package/esm2020/shared/types/waitlist-history.mjs +3 -3
  132. package/esm2020/shared/types/waitlist-item.mjs +13 -13
  133. package/esm2020/shared/types/waitlist-status.mjs +18 -18
  134. package/esm2020/shared/types/work-change-order.mjs +3 -3
  135. package/esm2020/shared/types/work-holiday.mjs +3 -3
  136. package/esm2020/shared/types/work-order-action.mjs +7 -7
  137. package/esm2020/shared/types/work-order-billing-transaction.mjs +3 -3
  138. package/esm2020/shared/types/work-order-discount.mjs +4 -4
  139. package/esm2020/shared/types/work-order-history.mjs +3 -3
  140. package/esm2020/shared/types/work-order-inventory-item.mjs +3 -3
  141. package/esm2020/shared/types/work-order-list-item.mjs +3 -3
  142. package/esm2020/shared/types/work-order-non-inventory-item.mjs +3 -3
  143. package/esm2020/shared/types/work-order-package-detail.mjs +7 -7
  144. package/esm2020/shared/types/work-order-refinish-item.mjs +3 -3
  145. package/esm2020/shared/types/work-order-shipping-item.mjs +3 -3
  146. package/esm2020/shared/types/work-order-status.mjs +18 -18
  147. package/esm2020/shared/types/work-order-total.mjs +3 -3
  148. package/esm2020/shared/types/work-order-type.mjs +8 -8
  149. package/esm2020/shared/types/work-order.mjs +20 -20
  150. package/esm2020/shared/utils/coating-helpers.mjs +22 -22
  151. package/esm2020/shared/utils/enum-object.mjs +10 -10
  152. package/esm2020/shared/utils/index.mjs +4 -4
  153. package/esm2020/shared/utils/invalid-form-control-toucher.mjs +7 -7
  154. package/fesm2015/gunsmith-common.mjs +2183 -2183
  155. package/fesm2015/gunsmith-common.mjs.map +1 -1
  156. package/fesm2020/gunsmith-common.mjs +2101 -2101
  157. package/fesm2020/gunsmith-common.mjs.map +1 -1
  158. package/gunsmith-common-2.3.21.tgz +0 -0
  159. package/gunsmith-common.d.ts +5 -5
  160. package/notification/fade-out.animation.d.ts +2 -2
  161. package/notification/index.d.ts +3 -3
  162. package/notification/notification-bar/notification-bar.component.d.ts +18 -18
  163. package/notification/notification-message.d.ts +6 -6
  164. package/notification/notification-type.enum.d.ts +4 -4
  165. package/notification/notification.module.d.ts +8 -8
  166. package/notification/notification.service.d.ts +12 -12
  167. package/package.json +1 -1
  168. package/public_api.d.ts +10 -10
  169. package/shared/controls/form-error-message/form-error-message.component.d.ts +8 -8
  170. package/shared/controls/modal-header/modal-header.component.d.ts +11 -11
  171. package/shared/directives/disable-control.directive.d.ts +9 -9
  172. package/shared/directives/index.d.ts +2 -2
  173. package/shared/directives/refinish-details-validators.d.ts +4 -4
  174. package/shared/pipes/enum.pipe.d.ts +7 -7
  175. package/shared/pipes/file-name.pipe.d.ts +7 -7
  176. package/shared/pipes/frame-material.pipe.d.ts +11 -11
  177. package/shared/pipes/index.d.ts +5 -5
  178. package/shared/pipes/new-line.pipe.d.ts +7 -7
  179. package/shared/pipes/phone.pipe.d.ts +7 -7
  180. package/shared/services/base.service.d.ts +17 -17
  181. package/shared/services/coating-value.service.d.ts +11 -11
  182. package/shared/services/coating.service.d.ts +11 -11
  183. package/shared/services/configuration.service.d.ts +15 -15
  184. package/shared/services/customer.service.d.ts +17 -17
  185. package/shared/services/dealer.service.d.ts +15 -15
  186. package/shared/services/file-upload.service.d.ts +13 -13
  187. package/shared/services/finish-date-helper.service.d.ts +17 -17
  188. package/shared/services/firearm-milling-type.service.d.ts +11 -11
  189. package/shared/services/firearm-optic.service.d.ts +13 -13
  190. package/shared/services/firearm-sight.service.d.ts +11 -11
  191. package/shared/services/firearm.service.d.ts +15 -15
  192. package/shared/services/gun-part.service.d.ts +16 -16
  193. package/shared/services/index.d.ts +43 -43
  194. package/shared/services/inventory.service.d.ts +11 -11
  195. package/shared/services/material.service.d.ts +13 -13
  196. package/shared/services/milling-type-addon.service.d.ts +11 -11
  197. package/shared/services/milling-type.service.d.ts +11 -11
  198. package/shared/services/mount-type.service.d.ts +11 -11
  199. package/shared/services/optic.service.d.ts +13 -13
  200. package/shared/services/package-optional-item.service.d.ts +11 -11
  201. package/shared/services/package-variation.service.d.ts +11 -11
  202. package/shared/services/package.service.d.ts +16 -16
  203. package/shared/services/product.service.d.ts +15 -15
  204. package/shared/services/purchase-order.service.d.ts +27 -27
  205. package/shared/services/quickbooks.service.d.ts +12 -12
  206. package/shared/services/refinish-code.service.d.ts +16 -16
  207. package/shared/services/sight-material.service.d.ts +11 -11
  208. package/shared/services/sight-type.service.d.ts +11 -11
  209. package/shared/services/sight.service.d.ts +13 -13
  210. package/shared/services/slide-addon.service.d.ts +11 -11
  211. package/shared/services/state.service.d.ts +13 -13
  212. package/shared/services/status-history.service.d.ts +14 -14
  213. package/shared/services/totals.service.d.ts +15 -15
  214. package/shared/services/user.service.d.ts +12 -12
  215. package/shared/services/vendor.service.d.ts +17 -17
  216. package/shared/services/waitlist-customer.service.d.ts +16 -16
  217. package/shared/services/waitlist-project.service.d.ts +17 -17
  218. package/shared/services/waitlist.service.d.ts +28 -28
  219. package/shared/services/work-holiday.service.d.ts +15 -15
  220. package/shared/services/work-order-discount.service.d.ts +11 -11
  221. package/shared/services/work-order-non-inventory-item.service.d.ts +11 -11
  222. package/shared/services/work-order-shipping-item.service.d.ts +11 -11
  223. package/shared/services/work-order.service.d.ts +59 -59
  224. package/shared/shared.module.d.ts +17 -17
  225. package/shared/types/address.d.ts +11 -11
  226. package/shared/types/billing-info.d.ts +6 -6
  227. package/shared/types/bundle-item.d.ts +11 -11
  228. package/shared/types/change-order-package-detail.d.ts +10 -10
  229. package/shared/types/change-order-status.d.ts +7 -7
  230. package/shared/types/coating-value.d.ts +7 -7
  231. package/shared/types/coating.d.ts +14 -14
  232. package/shared/types/configuration.d.ts +17 -17
  233. package/shared/types/customer.d.ts +14 -14
  234. package/shared/types/dealer-contact.d.ts +9 -9
  235. package/shared/types/dealer-coupon.d.ts +5 -5
  236. package/shared/types/dealer.d.ts +25 -25
  237. package/shared/types/filter-options.d.ts +6 -6
  238. package/shared/types/firearm-optic.d.ts +22 -21
  239. package/shared/types/firearm.d.ts +10 -10
  240. package/shared/types/frame-material.d.ts +6 -6
  241. package/shared/types/gun-caliber.d.ts +5 -5
  242. package/shared/types/gun-part-option.d.ts +9 -9
  243. package/shared/types/gun-part.d.ts +14 -14
  244. package/shared/types/index.d.ts +84 -84
  245. package/shared/types/inventory-item.d.ts +14 -14
  246. package/shared/types/j-file.d.ts +5 -5
  247. package/shared/types/material.d.ts +6 -6
  248. package/shared/types/milling-detail.d.ts +26 -26
  249. package/shared/types/milling-item.d.ts +23 -23
  250. package/shared/types/milling-type-addon-option.d.ts +5 -5
  251. package/shared/types/milling-type-addon.d.ts +8 -8
  252. package/shared/types/milling-type.d.ts +16 -16
  253. package/shared/types/mount-type.d.ts +9 -9
  254. package/shared/types/optic-report-item.d.ts +13 -13
  255. package/shared/types/optic-sight.d.ts +8 -8
  256. package/shared/types/optic-status.d.ts +5 -5
  257. package/shared/types/optic.d.ts +11 -11
  258. package/shared/types/package-item.d.ts +9 -9
  259. package/shared/types/package-optional-item.d.ts +20 -20
  260. package/shared/types/package-total.d.ts +5 -5
  261. package/shared/types/package-variation-option.d.ts +16 -16
  262. package/shared/types/package-variation.d.ts +10 -10
  263. package/shared/types/package.d.ts +18 -18
  264. package/shared/types/product.d.ts +7 -7
  265. package/shared/types/project-type.d.ts +5 -5
  266. package/shared/types/purchase-order-refinish-item.d.ts +18 -18
  267. package/shared/types/purchase-order-status.d.ts +6 -6
  268. package/shared/types/purchase-order.d.ts +11 -11
  269. package/shared/types/rear-sight-position.d.ts +4 -4
  270. package/shared/types/refinish-code.d.ts +9 -9
  271. package/shared/types/refinish-detail.d.ts +13 -13
  272. package/shared/types/report-milling-item.d.ts +18 -16
  273. package/shared/types/report-refinish-item.d.ts +20 -20
  274. package/shared/types/shield-rms-options.d.ts +4 -4
  275. package/shared/types/sight-material-type.d.ts +6 -6
  276. package/shared/types/sight-report-item.d.ts +10 -10
  277. package/shared/types/sight-type-enum.d.ts +5 -5
  278. package/shared/types/sight-type.d.ts +8 -8
  279. package/shared/types/sight.d.ts +15 -15
  280. package/shared/types/simple-type.d.ts +6 -6
  281. package/shared/types/slide-addon.d.ts +20 -20
  282. package/shared/types/state.d.ts +4 -4
  283. package/shared/types/total-item.d.ts +4 -4
  284. package/shared/types/total.d.ts +5 -5
  285. package/shared/types/vendor-contact.d.ts +9 -9
  286. package/shared/types/vendor.d.ts +20 -20
  287. package/shared/types/waitlist-action.d.ts +7 -7
  288. package/shared/types/waitlist-gun-package-detail.d.ts +10 -10
  289. package/shared/types/waitlist-gun.d.ts +29 -29
  290. package/shared/types/waitlist-history.d.ts +8 -8
  291. package/shared/types/waitlist-item.d.ts +28 -28
  292. package/shared/types/waitlist-status.d.ts +16 -16
  293. package/shared/types/work-change-order.d.ts +12 -12
  294. package/shared/types/work-holiday.d.ts +4 -4
  295. package/shared/types/work-order-action.d.ts +5 -5
  296. package/shared/types/work-order-billing-transaction.d.ts +15 -15
  297. package/shared/types/work-order-discount.d.ts +8 -8
  298. package/shared/types/work-order-history.d.ts +8 -8
  299. package/shared/types/work-order-inventory-item.d.ts +7 -7
  300. package/shared/types/work-order-list-item.d.ts +15 -15
  301. package/shared/types/work-order-non-inventory-item.d.ts +8 -8
  302. package/shared/types/work-order-package-detail.d.ts +10 -10
  303. package/shared/types/work-order-refinish-item.d.ts +18 -18
  304. package/shared/types/work-order-shipping-item.d.ts +7 -7
  305. package/shared/types/work-order-status.d.ts +16 -16
  306. package/shared/types/work-order-total.d.ts +6 -6
  307. package/shared/types/work-order-type.d.ts +6 -6
  308. package/shared/types/work-order.d.ts +40 -40
  309. package/shared/utils/coating-helpers.d.ts +5 -5
  310. package/shared/utils/enum-object.d.ts +5 -5
  311. package/shared/utils/index.d.ts +3 -3
  312. package/shared/utils/invalid-form-control-toucher.d.ts +2 -2
@@ -1,15 +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
+ 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,8 +1,8 @@
1
- export declare class WorkOrderNonInventoryItem {
2
- id: number;
3
- workOrderId: number;
4
- description: string;
5
- price: number;
6
- quantity: number;
7
- timestamp: string;
8
- }
1
+ export declare class WorkOrderNonInventoryItem {
2
+ id: number;
3
+ workOrderId: number;
4
+ description: string;
5
+ price: number;
6
+ quantity: number;
7
+ timestamp: string;
8
+ }
@@ -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,7 +1,7 @@
1
- export declare class WorkOrderShippingItem {
2
- id: number;
3
- workOrderId: number;
4
- shippingCost: number;
5
- description: number;
6
- timestamp: string;
7
- }
1
+ export declare class WorkOrderShippingItem {
2
+ id: number;
3
+ workOrderId: number;
4
+ shippingCost: number;
5
+ description: number;
6
+ timestamp: string;
7
+ }
@@ -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
- OnCart = 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
+ OnCart = 12,
11
+ ReadyToShip = 5,
12
+ Completed = 6,
13
+ Cancelled = 7,
14
+ Voided = 8,
15
+ OnHold = 9
16
+ }
@@ -1,6 +1,6 @@
1
- export declare class WorkOrderTotal {
2
- id: number;
3
- subTotal: number;
4
- tax: number;
5
- total: number;
6
- }
1
+ export declare class WorkOrderTotal {
2
+ id: number;
3
+ subTotal: number;
4
+ tax: number;
5
+ total: number;
6
+ }
@@ -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,40 +1,40 @@
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
- import { SlideAddon } from "./slide-addon";
10
- import { Sight } from "./sight";
11
- import { Address } from "./address";
12
- export declare class WorkOrder {
13
- constructor();
14
- id: number;
15
- customer: Customer;
16
- shippingAddress: Address;
17
- billingAddress: Address;
18
- firearm: Firearm;
19
- serialNumber: string;
20
- caliber: GunCaliber;
21
- receivedDate: Date;
22
- estimatedFinishDate: Date;
23
- lastStatusDate: Date;
24
- workOrderType: WorkOrderType;
25
- refinish: boolean;
26
- logo: boolean;
27
- milling: boolean;
28
- specialOrder: boolean;
29
- condition: string;
30
- workDescription: string;
31
- shipmentInfo: string;
32
- slideAddons: SlideAddon[];
33
- sights: Sight[];
34
- projectType: ProjectType;
35
- status: WorkOrderStatus;
36
- packageDetail: WorkOrderPackageDetail;
37
- histories: WorkOrderHistory[];
38
- notes: string;
39
- timestamp: string;
40
- }
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
+ import { SlideAddon } from "./slide-addon";
10
+ import { Sight } from "./sight";
11
+ import { Address } from "./address";
12
+ export declare class WorkOrder {
13
+ constructor();
14
+ id: number;
15
+ customer: Customer;
16
+ shippingAddress: Address;
17
+ billingAddress: Address;
18
+ firearm: Firearm;
19
+ serialNumber: string;
20
+ caliber: GunCaliber;
21
+ receivedDate: Date;
22
+ estimatedFinishDate: Date;
23
+ lastStatusDate: Date;
24
+ workOrderType: WorkOrderType;
25
+ refinish: boolean;
26
+ logo: boolean;
27
+ milling: boolean;
28
+ specialOrder: boolean;
29
+ condition: string;
30
+ workDescription: string;
31
+ shipmentInfo: string;
32
+ slideAddons: SlideAddon[];
33
+ sights: Sight[];
34
+ projectType: ProjectType;
35
+ status: WorkOrderStatus;
36
+ packageDetail: WorkOrderPackageDetail;
37
+ histories: WorkOrderHistory[];
38
+ notes: string;
39
+ timestamp: string;
40
+ }
@@ -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,3 +1,3 @@
1
- export * from './invalid-form-control-toucher';
2
- export * from './enum-object';
3
- export * from './coating-helpers';
1
+ export * from './invalid-form-control-toucher';
2
+ export * from './enum-object';
3
+ export * from './coating-helpers';
@@ -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;