gunsmith-common 2.2.4 → 2.2.6
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/gunsmith-common.mjs +4 -4
- package/esm2020/notification/fade-out.animation.mjs +10 -10
- package/esm2020/notification/index.mjs +4 -4
- package/esm2020/notification/notification-bar/notification-bar.component.mjs +43 -43
- package/esm2020/notification/notification-message.mjs +3 -3
- package/esm2020/notification/notification-type.enum.mjs +6 -6
- package/esm2020/notification/notification.module.mjs +26 -26
- package/esm2020/notification/notification.service.mjs +21 -21
- package/esm2020/public_api.mjs +13 -13
- package/esm2020/shared/controls/package-selector/package-selector.component.mjs +184 -172
- package/esm2020/shared/directives/disable-control.directive.mjs +24 -24
- package/esm2020/shared/directives/index.mjs +3 -3
- package/esm2020/shared/directives/refinish-details-validators.mjs +45 -45
- package/esm2020/shared/pipes/enum.pipe.mjs +16 -16
- package/esm2020/shared/pipes/file-name.pipe.mjs +16 -16
- package/esm2020/shared/pipes/frame-material.pipe.mjs +24 -24
- package/esm2020/shared/pipes/index.mjs +6 -6
- package/esm2020/shared/pipes/new-line.pipe.mjs +16 -16
- package/esm2020/shared/pipes/phone.pipe.mjs +19 -19
- package/esm2020/shared/services/coating.service.mjs +63 -63
- package/esm2020/shared/services/configuration.service.mjs +29 -29
- package/esm2020/shared/services/customer.service.mjs +47 -47
- package/esm2020/shared/services/dealer.service.mjs +45 -45
- package/esm2020/shared/services/file-upload.service.mjs +34 -39
- package/esm2020/shared/services/firearm-series.service.mjs +45 -45
- package/esm2020/shared/services/firearm.service.mjs +48 -48
- package/esm2020/shared/services/gun-part.service.mjs +52 -52
- package/esm2020/shared/services/index.mjs +30 -27
- package/esm2020/shared/services/inventory.service.mjs +38 -38
- package/esm2020/shared/services/material.service.mjs +30 -30
- package/esm2020/shared/services/milling-type.service.mjs +53 -53
- package/esm2020/shared/services/optic.service.mjs +42 -42
- package/esm2020/shared/services/package.service.mjs +47 -47
- package/esm2020/shared/services/product.service.mjs +29 -29
- package/esm2020/shared/services/purchase-order.service.mjs +87 -87
- package/esm2020/shared/services/quickbooks.service.mjs +30 -0
- package/esm2020/shared/services/refinish-code.service.mjs +35 -35
- package/esm2020/shared/services/state.service.mjs +26 -26
- package/esm2020/shared/services/status-history.service.mjs +40 -40
- package/esm2020/shared/services/totals.service.mjs +50 -50
- package/esm2020/shared/services/user.service.mjs +26 -26
- package/esm2020/shared/services/vendor.service.mjs +42 -42
- package/esm2020/shared/services/waitlist-customer.service.mjs +38 -38
- package/esm2020/shared/services/waitlist-project.service.mjs +38 -38
- package/esm2020/shared/services/waitlist.service.mjs +86 -86
- package/esm2020/shared/services/work-holiday.service.mjs +32 -32
- package/esm2020/shared/services/work-order-discount.service.mjs +38 -0
- package/esm2020/shared/services/work-order-shipping-item.service.mjs +38 -0
- package/esm2020/shared/services/work-order.service.mjs +195 -195
- package/esm2020/shared/shared.module.mjs +67 -67
- package/esm2020/shared/types/bundle-item.mjs +6 -6
- package/esm2020/shared/types/change-order-status.mjs +9 -9
- package/esm2020/shared/types/coating-value.mjs +6 -6
- package/esm2020/shared/types/coating.mjs +8 -8
- package/esm2020/shared/types/configuration.mjs +3 -3
- package/esm2020/shared/types/customer.mjs +6 -6
- package/esm2020/shared/types/dealer-contact.mjs +3 -3
- package/esm2020/shared/types/dealer-coupon.mjs +3 -3
- package/esm2020/shared/types/dealer.mjs +8 -8
- package/esm2020/shared/types/filter-options.mjs +9 -9
- package/esm2020/shared/types/firearm-series-optic.mjs +9 -9
- package/esm2020/shared/types/firearm-series.mjs +10 -10
- package/esm2020/shared/types/firearm.mjs +6 -6
- package/esm2020/shared/types/frame-material.mjs +8 -8
- package/esm2020/shared/types/gun-caliber.mjs +7 -7
- package/esm2020/shared/types/gun-part-option.mjs +3 -3
- package/esm2020/shared/types/gun-part.mjs +11 -11
- package/esm2020/shared/types/index.mjs +70 -68
- package/esm2020/shared/types/inventory-item.mjs +9 -6
- package/esm2020/shared/types/j-file.mjs +3 -3
- package/esm2020/shared/types/material.mjs +6 -6
- package/esm2020/shared/types/milling-detail.mjs +7 -7
- package/esm2020/shared/types/milling-item.mjs +3 -3
- package/esm2020/shared/types/milling-type.mjs +6 -6
- package/esm2020/shared/types/mount-type.mjs +9 -9
- package/esm2020/shared/types/optic-status.mjs +7 -7
- package/esm2020/shared/types/optic.mjs +7 -7
- package/esm2020/shared/types/package-item.mjs +3 -3
- package/esm2020/shared/types/package-optional-item.mjs +3 -3
- package/esm2020/shared/types/package-total.mjs +3 -3
- package/esm2020/shared/types/package-variation-option.mjs +3 -3
- package/esm2020/shared/types/package-variation.mjs +6 -6
- package/esm2020/shared/types/package.mjs +10 -10
- package/esm2020/shared/types/product.mjs +3 -3
- package/esm2020/shared/types/project-type.mjs +7 -7
- package/esm2020/shared/types/purchase-order-refinish-item.mjs +3 -3
- package/esm2020/shared/types/purchase-order-status.mjs +8 -8
- package/esm2020/shared/types/purchase-order.mjs +9 -9
- package/esm2020/shared/types/rear-sight-position.mjs +6 -6
- package/esm2020/shared/types/refinish-code.mjs +3 -3
- package/esm2020/shared/types/refinish-detail.mjs +3 -3
- package/esm2020/shared/types/report-milling-item.mjs +3 -3
- package/esm2020/shared/types/report-refinish-item.mjs +3 -3
- package/esm2020/shared/types/shield-rms-options.mjs +6 -6
- package/esm2020/shared/types/sight-type.mjs +7 -7
- package/esm2020/shared/types/state.mjs +3 -3
- package/esm2020/shared/types/total-item.mjs +3 -3
- package/esm2020/shared/types/total.mjs +3 -3
- package/esm2020/shared/types/vendor-contact.mjs +3 -3
- package/esm2020/shared/types/vendor.mjs +7 -7
- package/esm2020/shared/types/waitlist-action.mjs +9 -9
- package/esm2020/shared/types/waitlist-gun-package-detail.mjs +7 -7
- package/esm2020/shared/types/waitlist-gun.mjs +13 -12
- package/esm2020/shared/types/waitlist-history.mjs +3 -3
- package/esm2020/shared/types/waitlist-item.mjs +12 -12
- package/esm2020/shared/types/waitlist-status.mjs +15 -15
- package/esm2020/shared/types/work-change-order.mjs +3 -3
- package/esm2020/shared/types/work-holiday.mjs +3 -3
- package/esm2020/shared/types/work-order-action.mjs +7 -7
- package/esm2020/shared/types/work-order-discount.mjs +4 -0
- package/esm2020/shared/types/work-order-history.mjs +3 -3
- package/esm2020/shared/types/work-order-inventory-item.mjs +3 -3
- package/esm2020/shared/types/work-order-list-item.mjs +3 -3
- package/esm2020/shared/types/work-order-package-detail.mjs +7 -7
- package/esm2020/shared/types/work-order-refinish-item.mjs +3 -3
- package/esm2020/shared/types/work-order-shipping-item.mjs +3 -0
- package/esm2020/shared/types/work-order-status.mjs +18 -18
- package/esm2020/shared/types/work-order-type.mjs +8 -8
- package/esm2020/shared/types/work-order.mjs +18 -18
- package/esm2020/shared/utils/coating-helpers.mjs +22 -22
- package/esm2020/shared/utils/enum-object.mjs +10 -10
- package/esm2020/shared/utils/finish-date-calculator.mjs +30 -30
- package/esm2020/shared/utils/index.mjs +5 -5
- package/esm2020/shared/utils/invalid-form-control-toucher.mjs +7 -7
- package/fesm2015/gunsmith-common.mjs +2118 -2001
- package/fesm2015/gunsmith-common.mjs.map +1 -1
- package/fesm2020/gunsmith-common.mjs +2058 -1947
- package/fesm2020/gunsmith-common.mjs.map +1 -1
- package/gunsmith-common-2.2.6.tgz +0 -0
- package/gunsmith-common.d.ts +5 -5
- package/notification/fade-out.animation.d.ts +2 -2
- package/notification/index.d.ts +3 -3
- package/notification/notification-bar/notification-bar.component.d.ts +18 -18
- package/notification/notification-message.d.ts +6 -6
- package/notification/notification-type.enum.d.ts +4 -4
- package/notification/notification.module.d.ts +8 -8
- package/notification/notification.service.d.ts +12 -12
- package/package.json +1 -1
- package/public_api.d.ts +9 -9
- package/shared/controls/package-selector/package-selector.component.d.ts +40 -39
- package/shared/directives/disable-control.directive.d.ts +9 -9
- package/shared/directives/index.d.ts +2 -2
- package/shared/directives/refinish-details-validators.d.ts +4 -4
- package/shared/pipes/enum.pipe.d.ts +7 -7
- package/shared/pipes/file-name.pipe.d.ts +7 -7
- package/shared/pipes/frame-material.pipe.d.ts +11 -11
- package/shared/pipes/index.d.ts +5 -5
- package/shared/pipes/new-line.pipe.d.ts +7 -7
- package/shared/pipes/phone.pipe.d.ts +7 -7
- package/shared/services/coating.service.d.ts +22 -22
- package/shared/services/configuration.service.d.ts +14 -14
- package/shared/services/customer.service.d.ts +17 -17
- package/shared/services/dealer.service.d.ts +19 -19
- package/shared/services/file-upload.service.d.ts +13 -14
- package/shared/services/firearm-series.service.d.ts +18 -18
- package/shared/services/firearm.service.d.ts +20 -20
- package/shared/services/gun-part.service.d.ts +18 -18
- package/shared/services/index.d.ts +29 -26
- package/shared/services/inventory.service.d.ts +15 -15
- package/shared/services/material.service.d.ts +13 -13
- package/shared/services/milling-type.service.d.ts +18 -18
- package/shared/services/optic.service.d.ts +17 -17
- package/shared/services/package.service.d.ts +16 -16
- package/shared/services/product.service.d.ts +15 -15
- package/shared/services/purchase-order.service.d.ts +27 -27
- package/shared/services/quickbooks.service.d.ts +12 -0
- package/shared/services/refinish-code.service.d.ts +16 -16
- package/shared/services/state.service.d.ts +13 -13
- package/shared/services/status-history.service.d.ts +14 -14
- package/shared/services/totals.service.d.ts +15 -15
- package/shared/services/user.service.d.ts +12 -12
- package/shared/services/vendor.service.d.ts +17 -17
- package/shared/services/waitlist-customer.service.d.ts +15 -15
- package/shared/services/waitlist-project.service.d.ts +17 -17
- package/shared/services/waitlist.service.d.ts +25 -25
- package/shared/services/work-holiday.service.d.ts +15 -15
- package/shared/services/work-order-discount.service.d.ts +17 -0
- package/shared/services/work-order-shipping-item.service.d.ts +17 -0
- package/shared/services/work-order.service.d.ts +53 -53
- package/shared/shared.module.d.ts +16 -16
- package/shared/types/bundle-item.d.ts +11 -11
- package/shared/types/change-order-status.d.ts +7 -7
- package/shared/types/coating-value.d.ts +6 -6
- package/shared/types/coating.d.ts +11 -11
- package/shared/types/configuration.d.ts +11 -11
- package/shared/types/customer.d.ts +14 -14
- package/shared/types/dealer-contact.d.ts +9 -9
- package/shared/types/dealer-coupon.d.ts +5 -5
- package/shared/types/dealer.d.ts +24 -24
- package/shared/types/filter-options.d.ts +6 -6
- package/shared/types/firearm-series-optic.d.ts +12 -12
- package/shared/types/firearm-series.d.ts +11 -11
- package/shared/types/firearm.d.ts +10 -10
- package/shared/types/frame-material.d.ts +6 -6
- package/shared/types/gun-caliber.d.ts +5 -5
- package/shared/types/gun-part-option.d.ts +9 -9
- package/shared/types/gun-part.d.ts +13 -13
- package/shared/types/index.d.ts +69 -67
- package/shared/types/inventory-item.d.ts +10 -9
- package/shared/types/j-file.d.ts +5 -5
- package/shared/types/material.d.ts +6 -6
- package/shared/types/milling-detail.d.ts +19 -19
- package/shared/types/milling-item.d.ts +8 -8
- package/shared/types/milling-type.d.ts +11 -10
- package/shared/types/mount-type.d.ts +7 -7
- package/shared/types/optic-status.d.ts +5 -5
- package/shared/types/optic.d.ts +7 -7
- package/shared/types/package-item.d.ts +9 -9
- package/shared/types/package-optional-item.d.ts +10 -6
- package/shared/types/package-total.d.ts +5 -5
- package/shared/types/package-variation-option.d.ts +14 -10
- package/shared/types/package-variation.d.ts +9 -8
- package/shared/types/package.d.ts +15 -14
- package/shared/types/product.d.ts +7 -7
- package/shared/types/project-type.d.ts +5 -5
- package/shared/types/purchase-order-refinish-item.d.ts +18 -18
- package/shared/types/purchase-order-status.d.ts +6 -6
- package/shared/types/purchase-order.d.ts +11 -11
- package/shared/types/rear-sight-position.d.ts +4 -4
- package/shared/types/refinish-code.d.ts +9 -8
- package/shared/types/refinish-detail.d.ts +13 -13
- package/shared/types/report-milling-item.d.ts +16 -16
- package/shared/types/report-refinish-item.d.ts +20 -20
- package/shared/types/shield-rms-options.d.ts +4 -4
- package/shared/types/sight-type.d.ts +5 -5
- package/shared/types/state.d.ts +4 -4
- package/shared/types/total-item.d.ts +4 -4
- package/shared/types/total.d.ts +5 -5
- package/shared/types/vendor-contact.d.ts +9 -9
- package/shared/types/vendor.d.ts +20 -20
- package/shared/types/waitlist-action.d.ts +7 -7
- package/shared/types/waitlist-gun-package-detail.d.ts +10 -10
- package/shared/types/waitlist-gun.d.ts +25 -24
- package/shared/types/waitlist-history.d.ts +8 -8
- package/shared/types/waitlist-item.d.ts +25 -25
- package/shared/types/waitlist-status.d.ts +13 -13
- package/shared/types/work-change-order.d.ts +10 -10
- package/shared/types/work-holiday.d.ts +4 -4
- package/shared/types/work-order-action.d.ts +5 -5
- package/shared/types/work-order-discount.d.ts +8 -0
- package/shared/types/work-order-history.d.ts +8 -8
- package/shared/types/work-order-inventory-item.d.ts +7 -7
- package/shared/types/work-order-list-item.d.ts +15 -15
- package/shared/types/work-order-package-detail.d.ts +10 -10
- package/shared/types/work-order-refinish-item.d.ts +18 -18
- package/shared/types/work-order-shipping-item.d.ts +7 -0
- package/shared/types/work-order-status.d.ts +16 -16
- package/shared/types/work-order-type.d.ts +6 -6
- package/shared/types/work-order.d.ts +33 -33
- package/shared/utils/coating-helpers.d.ts +5 -5
- package/shared/utils/enum-object.d.ts +5 -5
- package/shared/utils/finish-date-calculator.d.ts +2 -2
- package/shared/utils/index.d.ts +4 -4
- package/shared/utils/invalid-form-control-toucher.d.ts +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Material } from "./material";
|
|
2
|
-
export declare class GunPartOption {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
value: string;
|
|
6
|
-
material: Material;
|
|
7
|
-
active: boolean;
|
|
8
|
-
timestamp: string;
|
|
9
|
-
}
|
|
1
|
+
import { Material } from "./material";
|
|
2
|
+
export declare class GunPartOption {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
material: Material;
|
|
7
|
+
active: boolean;
|
|
8
|
+
timestamp: string;
|
|
9
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Coating } from './coating';
|
|
2
|
-
import { GunPartOption } from './gun-part-option';
|
|
3
|
-
export declare class GunPart {
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
coatings: Coating[];
|
|
7
|
-
options: GunPartOption[];
|
|
8
|
-
defaultControl: boolean;
|
|
9
|
-
customer: boolean;
|
|
10
|
-
gunsmith: boolean;
|
|
11
|
-
active: boolean;
|
|
12
|
-
timestamp: string;
|
|
13
|
-
}
|
|
1
|
+
import { Coating } from './coating';
|
|
2
|
+
import { GunPartOption } from './gun-part-option';
|
|
3
|
+
export declare class GunPart {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
coatings: Coating[];
|
|
7
|
+
options: GunPartOption[];
|
|
8
|
+
defaultControl: boolean;
|
|
9
|
+
customer: boolean;
|
|
10
|
+
gunsmith: boolean;
|
|
11
|
+
active: boolean;
|
|
12
|
+
timestamp: string;
|
|
13
|
+
}
|
package/shared/types/index.d.ts
CHANGED
|
@@ -1,67 +1,69 @@
|
|
|
1
|
-
export * from './configuration';
|
|
2
|
-
export * from './customer';
|
|
3
|
-
export * from './dealer';
|
|
4
|
-
export * from './dealer-contact';
|
|
5
|
-
export * from './dealer-coupon';
|
|
6
|
-
export * from './filter-options';
|
|
7
|
-
export * from './gun-caliber';
|
|
8
|
-
export * from './firearm';
|
|
9
|
-
export * from './gun-part';
|
|
10
|
-
export * from './vendor';
|
|
11
|
-
export * from './vendor-contact';
|
|
12
|
-
export * from './state';
|
|
13
|
-
export * from './waitlist-action';
|
|
14
|
-
export * from './waitlist-gun';
|
|
15
|
-
export * from './waitlist-history';
|
|
16
|
-
export * from './waitlist-item';
|
|
17
|
-
export * from './waitlist-status';
|
|
18
|
-
export * from './work-change-order';
|
|
19
|
-
export * from './work-holiday';
|
|
20
|
-
export * from './work-order';
|
|
21
|
-
export * from './work-order-history';
|
|
22
|
-
export * from './work-order-status';
|
|
23
|
-
export * from './work-order-type';
|
|
24
|
-
export * from './refinish-detail';
|
|
25
|
-
export * from './coating';
|
|
26
|
-
export * from './coating-value';
|
|
27
|
-
export * from './work-order-action';
|
|
28
|
-
export * from './optic';
|
|
29
|
-
export * from './optic';
|
|
30
|
-
export * from './optic-status';
|
|
31
|
-
export * from './product';
|
|
32
|
-
export * from './bundle-item';
|
|
33
|
-
export * from './change-order-status';
|
|
34
|
-
export * from './mount-type';
|
|
35
|
-
export * from './sight-type';
|
|
36
|
-
export * from './milling-detail';
|
|
37
|
-
export * from './rear-sight-position';
|
|
38
|
-
export * from './firearm-series';
|
|
39
|
-
export * from './firearm-series-optic';
|
|
40
|
-
export * from './frame-material';
|
|
41
|
-
export * from './milling-type';
|
|
42
|
-
export * from './milling-item';
|
|
43
|
-
export * from './work-order-refinish-item';
|
|
44
|
-
export * from './purchase-order-refinish-item';
|
|
45
|
-
export * from './material';
|
|
46
|
-
export * from './purchase-order';
|
|
47
|
-
export * from './purchase-order-status';
|
|
48
|
-
export * from './report-milling-item';
|
|
49
|
-
export * from './project-type';
|
|
50
|
-
export * from './report-refinish-item';
|
|
51
|
-
export * from './total';
|
|
52
|
-
export * from './total-item';
|
|
53
|
-
export * from './inventory-item';
|
|
54
|
-
export * from './j-file';
|
|
55
|
-
export * from './gun-part-option';
|
|
56
|
-
export * from './shield-rms-options';
|
|
57
|
-
export * from './package-item';
|
|
58
|
-
export * from './package';
|
|
59
|
-
export * from './package-optional-item';
|
|
60
|
-
export * from './package-variation';
|
|
61
|
-
export * from './package-variation-option';
|
|
62
|
-
export * from './waitlist-gun-package-detail';
|
|
63
|
-
export * from './work-order-package-detail';
|
|
64
|
-
export * from './package-total';
|
|
65
|
-
export * from './work-order-inventory-item';
|
|
66
|
-
export * from './refinish-code';
|
|
67
|
-
export * from './work-order-list-item';
|
|
1
|
+
export * from './configuration';
|
|
2
|
+
export * from './customer';
|
|
3
|
+
export * from './dealer';
|
|
4
|
+
export * from './dealer-contact';
|
|
5
|
+
export * from './dealer-coupon';
|
|
6
|
+
export * from './filter-options';
|
|
7
|
+
export * from './gun-caliber';
|
|
8
|
+
export * from './firearm';
|
|
9
|
+
export * from './gun-part';
|
|
10
|
+
export * from './vendor';
|
|
11
|
+
export * from './vendor-contact';
|
|
12
|
+
export * from './state';
|
|
13
|
+
export * from './waitlist-action';
|
|
14
|
+
export * from './waitlist-gun';
|
|
15
|
+
export * from './waitlist-history';
|
|
16
|
+
export * from './waitlist-item';
|
|
17
|
+
export * from './waitlist-status';
|
|
18
|
+
export * from './work-change-order';
|
|
19
|
+
export * from './work-holiday';
|
|
20
|
+
export * from './work-order';
|
|
21
|
+
export * from './work-order-history';
|
|
22
|
+
export * from './work-order-status';
|
|
23
|
+
export * from './work-order-type';
|
|
24
|
+
export * from './refinish-detail';
|
|
25
|
+
export * from './coating';
|
|
26
|
+
export * from './coating-value';
|
|
27
|
+
export * from './work-order-action';
|
|
28
|
+
export * from './optic';
|
|
29
|
+
export * from './optic';
|
|
30
|
+
export * from './optic-status';
|
|
31
|
+
export * from './product';
|
|
32
|
+
export * from './bundle-item';
|
|
33
|
+
export * from './change-order-status';
|
|
34
|
+
export * from './mount-type';
|
|
35
|
+
export * from './sight-type';
|
|
36
|
+
export * from './milling-detail';
|
|
37
|
+
export * from './rear-sight-position';
|
|
38
|
+
export * from './firearm-series';
|
|
39
|
+
export * from './firearm-series-optic';
|
|
40
|
+
export * from './frame-material';
|
|
41
|
+
export * from './milling-type';
|
|
42
|
+
export * from './milling-item';
|
|
43
|
+
export * from './work-order-refinish-item';
|
|
44
|
+
export * from './purchase-order-refinish-item';
|
|
45
|
+
export * from './material';
|
|
46
|
+
export * from './purchase-order';
|
|
47
|
+
export * from './purchase-order-status';
|
|
48
|
+
export * from './report-milling-item';
|
|
49
|
+
export * from './project-type';
|
|
50
|
+
export * from './report-refinish-item';
|
|
51
|
+
export * from './total';
|
|
52
|
+
export * from './total-item';
|
|
53
|
+
export * from './inventory-item';
|
|
54
|
+
export * from './j-file';
|
|
55
|
+
export * from './gun-part-option';
|
|
56
|
+
export * from './shield-rms-options';
|
|
57
|
+
export * from './package-item';
|
|
58
|
+
export * from './package';
|
|
59
|
+
export * from './package-optional-item';
|
|
60
|
+
export * from './package-variation';
|
|
61
|
+
export * from './package-variation-option';
|
|
62
|
+
export * from './waitlist-gun-package-detail';
|
|
63
|
+
export * from './work-order-package-detail';
|
|
64
|
+
export * from './package-total';
|
|
65
|
+
export * from './work-order-inventory-item';
|
|
66
|
+
export * from './refinish-code';
|
|
67
|
+
export * from './work-order-list-item';
|
|
68
|
+
export * from './work-order-shipping-item';
|
|
69
|
+
export * from './work-order-discount';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export declare class InventoryItem {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
sku: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
export declare class InventoryItem {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
sku: string;
|
|
5
|
+
price: number;
|
|
6
|
+
count: number;
|
|
7
|
+
orderPoint: number;
|
|
8
|
+
active: boolean;
|
|
9
|
+
timestamp: string;
|
|
10
|
+
}
|
package/shared/types/j-file.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class JFile {
|
|
2
|
-
bytes: string;
|
|
3
|
-
name: string;
|
|
4
|
-
type: string;
|
|
5
|
-
}
|
|
1
|
+
export declare class JFile {
|
|
2
|
+
bytes: string;
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare class Material {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
timestamp: string;
|
|
6
|
-
}
|
|
1
|
+
export declare class Material {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
active: boolean;
|
|
5
|
+
timestamp: string;
|
|
6
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { SightType } from './sight-type';
|
|
2
|
-
import { RearSightPosition } from './rear-sight-position';
|
|
3
|
-
import { Optic } from './optic';
|
|
4
|
-
import { OpticStatus } from './optic-status';
|
|
5
|
-
import { ShieldRMSOptions } from './shield-rms-options';
|
|
6
|
-
import { MillingType } from './milling-type';
|
|
7
|
-
export declare class MillingDetail {
|
|
8
|
-
id: number;
|
|
9
|
-
optic: Optic;
|
|
10
|
-
opticStatus: OpticStatus;
|
|
11
|
-
frontSightType: SightType;
|
|
12
|
-
rearSightType: SightType;
|
|
13
|
-
rearSightPosition: RearSightPosition;
|
|
14
|
-
shieldRMSOptions: ShieldRMSOptions;
|
|
15
|
-
cosmeticMilling: MillingType;
|
|
16
|
-
barrelCrown: boolean;
|
|
17
|
-
bushingInstallation: boolean;
|
|
18
|
-
timestamp: string;
|
|
19
|
-
}
|
|
1
|
+
import { SightType } from './sight-type';
|
|
2
|
+
import { RearSightPosition } from './rear-sight-position';
|
|
3
|
+
import { Optic } from './optic';
|
|
4
|
+
import { OpticStatus } from './optic-status';
|
|
5
|
+
import { ShieldRMSOptions } from './shield-rms-options';
|
|
6
|
+
import { MillingType } from './milling-type';
|
|
7
|
+
export declare class MillingDetail {
|
|
8
|
+
id: number;
|
|
9
|
+
optic: Optic;
|
|
10
|
+
opticStatus: OpticStatus;
|
|
11
|
+
frontSightType: SightType;
|
|
12
|
+
rearSightType: SightType;
|
|
13
|
+
rearSightPosition: RearSightPosition;
|
|
14
|
+
shieldRMSOptions: ShieldRMSOptions;
|
|
15
|
+
cosmeticMilling: MillingType;
|
|
16
|
+
barrelCrown: boolean;
|
|
17
|
+
bushingInstallation: boolean;
|
|
18
|
+
timestamp: string;
|
|
19
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MillingType } from './milling-type';
|
|
2
|
-
export declare class MillingItem {
|
|
3
|
-
id: number;
|
|
4
|
-
millingType: MillingType;
|
|
5
|
-
description: string;
|
|
6
|
-
completedDate: Date;
|
|
7
|
-
timestamp: string;
|
|
8
|
-
}
|
|
1
|
+
import { MillingType } from './milling-type';
|
|
2
|
+
export declare class MillingItem {
|
|
3
|
+
id: number;
|
|
4
|
+
millingType: MillingType;
|
|
5
|
+
description: string;
|
|
6
|
+
completedDate: Date;
|
|
7
|
+
timestamp: string;
|
|
8
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { GunPart } from './gun-part';
|
|
2
|
-
export declare class MillingType {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
code: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { GunPart } from './gun-part';
|
|
2
|
+
export declare class MillingType {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
code: string;
|
|
6
|
+
price: number;
|
|
7
|
+
gunPart: GunPart;
|
|
8
|
+
isCosmetic: boolean;
|
|
9
|
+
active: boolean;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum MountType {
|
|
2
|
-
Standard = 0,
|
|
3
|
-
Plate = 1,
|
|
4
|
-
DeltaPointPro = 2,
|
|
5
|
-
ShieldRMS = 3,
|
|
6
|
-
PlateBUIS = 4
|
|
7
|
-
}
|
|
1
|
+
export declare enum MountType {
|
|
2
|
+
Standard = 0,
|
|
3
|
+
Plate = 1,
|
|
4
|
+
DeltaPointPro = 2,
|
|
5
|
+
ShieldRMS = 3,
|
|
6
|
+
PlateBUIS = 4
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum OpticStatus {
|
|
2
|
-
Included = 0,
|
|
3
|
-
NotIncluded = 1,
|
|
4
|
-
Supply = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum OpticStatus {
|
|
2
|
+
Included = 0,
|
|
3
|
+
NotIncluded = 1,
|
|
4
|
+
Supply = 2
|
|
5
|
+
}
|
package/shared/types/optic.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare class Optic {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
isAvailable: boolean;
|
|
5
|
-
active: boolean;
|
|
6
|
-
timestamp: string;
|
|
7
|
-
}
|
|
1
|
+
export declare class Optic {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
isAvailable: boolean;
|
|
5
|
+
active: boolean;
|
|
6
|
+
timestamp: string;
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare class PackageItem {
|
|
2
|
-
id: number;
|
|
3
|
-
packageId: number;
|
|
4
|
-
inventoryItemId: number;
|
|
5
|
-
sku: string;
|
|
6
|
-
name: string;
|
|
7
|
-
quantity: number;
|
|
8
|
-
timestamp: string;
|
|
9
|
-
}
|
|
1
|
+
export declare class PackageItem {
|
|
2
|
+
id: number;
|
|
3
|
+
packageId: number;
|
|
4
|
+
inventoryItemId: number;
|
|
5
|
+
sku: string;
|
|
6
|
+
name: string;
|
|
7
|
+
quantity: number;
|
|
8
|
+
timestamp: string;
|
|
9
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
export declare class PackageOptionalItem {
|
|
2
|
-
packageId: number;
|
|
3
|
-
inventoryItemId: number;
|
|
4
|
-
sku: string;
|
|
5
|
-
name: string;
|
|
6
|
-
|
|
1
|
+
export declare class PackageOptionalItem {
|
|
2
|
+
packageId: number;
|
|
3
|
+
inventoryItemId: number;
|
|
4
|
+
sku: string;
|
|
5
|
+
name: string;
|
|
6
|
+
serviceChargeItemId: number;
|
|
7
|
+
serviceChargeItemSku: string;
|
|
8
|
+
serviceChargeItemName: string;
|
|
9
|
+
serviceChargeItemPrice: number;
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class PackageTotal {
|
|
2
|
-
sku: string;
|
|
3
|
-
name: string;
|
|
4
|
-
total: number;
|
|
5
|
-
}
|
|
1
|
+
export declare class PackageTotal {
|
|
2
|
+
sku: string;
|
|
3
|
+
name: string;
|
|
4
|
+
total: number;
|
|
5
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
export declare class PackageVariationOption {
|
|
2
|
-
id: number;
|
|
3
|
-
packageVariationId: number;
|
|
4
|
-
packageVariationName: string;
|
|
5
|
-
optionName: string;
|
|
6
|
-
inventoryItemId: number;
|
|
7
|
-
sku: string;
|
|
8
|
-
itemName: string;
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
export declare class PackageVariationOption {
|
|
2
|
+
id: number;
|
|
3
|
+
packageVariationId: number;
|
|
4
|
+
packageVariationName: string;
|
|
5
|
+
optionName: string;
|
|
6
|
+
inventoryItemId: number;
|
|
7
|
+
sku: string;
|
|
8
|
+
itemName: string;
|
|
9
|
+
serviceChargeItemId: number;
|
|
10
|
+
serviceChargeItemSku: string;
|
|
11
|
+
serviceChargeItemName: string;
|
|
12
|
+
serviceChargeItemPrice: number;
|
|
13
|
+
timestamp: string;
|
|
14
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { PackageVariationOption } from "./package-variation-option";
|
|
2
|
-
export declare class PackageVariation {
|
|
3
|
-
id: number;
|
|
4
|
-
packageId: number;
|
|
5
|
-
name: string;
|
|
6
|
-
options: PackageVariationOption[];
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { PackageVariationOption } from "./package-variation-option";
|
|
2
|
+
export declare class PackageVariation {
|
|
3
|
+
id: number;
|
|
4
|
+
packageId: number;
|
|
5
|
+
name: string;
|
|
6
|
+
options: PackageVariationOption[];
|
|
7
|
+
gunsmithOnly: boolean;
|
|
8
|
+
timestamp: string;
|
|
9
|
+
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { PackageItem, PackageOptionalItem, PackageVariation } from ".";
|
|
2
|
-
import { Firearm } from "./firearm";
|
|
3
|
-
export declare class Package {
|
|
4
|
-
id: number;
|
|
5
|
-
code: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { PackageItem, PackageOptionalItem, PackageVariation } from ".";
|
|
2
|
+
import { Firearm } from "./firearm";
|
|
3
|
+
export declare class Package {
|
|
4
|
+
id: number;
|
|
5
|
+
code: string;
|
|
6
|
+
price: number;
|
|
7
|
+
sku: string;
|
|
8
|
+
name: string;
|
|
9
|
+
active: boolean;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
firearms: Firearm[];
|
|
12
|
+
items: PackageItem[];
|
|
13
|
+
optionalItems: PackageOptionalItem[];
|
|
14
|
+
variations: PackageVariation[];
|
|
15
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare class Product {
|
|
2
|
-
id: number;
|
|
3
|
-
sku: string;
|
|
4
|
-
name: string;
|
|
5
|
-
price: number;
|
|
6
|
-
type: string;
|
|
7
|
-
}
|
|
1
|
+
export declare class Product {
|
|
2
|
+
id: number;
|
|
3
|
+
sku: string;
|
|
4
|
+
name: string;
|
|
5
|
+
price: number;
|
|
6
|
+
type: string;
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum ProjectType {
|
|
2
|
-
Firearm = 0,
|
|
3
|
-
SlideOnly = 1,
|
|
4
|
-
PartsOnly = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum ProjectType {
|
|
2
|
+
Firearm = 0,
|
|
3
|
+
SlideOnly = 1,
|
|
4
|
+
PartsOnly = 2
|
|
5
|
+
}
|
|
@@ -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
|
-
export declare class PurchaseOrderRefinishItem {
|
|
6
|
-
id: number;
|
|
7
|
-
gunPart: GunPart;
|
|
8
|
-
option: GunPartOption;
|
|
9
|
-
quantity: number;
|
|
10
|
-
coating: Coating;
|
|
11
|
-
coatingValue: CoatingValue;
|
|
12
|
-
coatingDescription: string;
|
|
13
|
-
serialNumber: string;
|
|
14
|
-
customerName: string;
|
|
15
|
-
inDate: Date;
|
|
16
|
-
isMillingCompleted: boolean;
|
|
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
|
+
export declare class PurchaseOrderRefinishItem {
|
|
6
|
+
id: number;
|
|
7
|
+
gunPart: GunPart;
|
|
8
|
+
option: GunPartOption;
|
|
9
|
+
quantity: number;
|
|
10
|
+
coating: Coating;
|
|
11
|
+
coatingValue: CoatingValue;
|
|
12
|
+
coatingDescription: string;
|
|
13
|
+
serialNumber: string;
|
|
14
|
+
customerName: string;
|
|
15
|
+
inDate: Date;
|
|
16
|
+
isMillingCompleted: boolean;
|
|
17
|
+
timestamp: string;
|
|
18
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum PurchaseOrderStatus {
|
|
2
|
-
Open = 0,
|
|
3
|
-
Closed = 1,
|
|
4
|
-
Cancelled = 2,
|
|
5
|
-
Voided = 3
|
|
6
|
-
}
|
|
1
|
+
export declare enum PurchaseOrderStatus {
|
|
2
|
+
Open = 0,
|
|
3
|
+
Closed = 1,
|
|
4
|
+
Cancelled = 2,
|
|
5
|
+
Voided = 3
|
|
6
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PurchaseOrderRefinishItem } from './purchase-order-refinish-item';
|
|
2
|
-
import { PurchaseOrderStatus } from './purchase-order-status';
|
|
3
|
-
import { Vendor } from './vendor';
|
|
4
|
-
export declare class PurchaseOrder {
|
|
5
|
-
id: number;
|
|
6
|
-
vendor: Vendor;
|
|
7
|
-
date: Date;
|
|
8
|
-
status: PurchaseOrderStatus;
|
|
9
|
-
refinishItems: PurchaseOrderRefinishItem[];
|
|
10
|
-
timestamp: string;
|
|
11
|
-
}
|
|
1
|
+
import { PurchaseOrderRefinishItem } from './purchase-order-refinish-item';
|
|
2
|
+
import { PurchaseOrderStatus } from './purchase-order-status';
|
|
3
|
+
import { Vendor } from './vendor';
|
|
4
|
+
export declare class PurchaseOrder {
|
|
5
|
+
id: number;
|
|
6
|
+
vendor: Vendor;
|
|
7
|
+
date: Date;
|
|
8
|
+
status: PurchaseOrderStatus;
|
|
9
|
+
refinishItems: PurchaseOrderRefinishItem[];
|
|
10
|
+
timestamp: string;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum RearSightPosition {
|
|
2
|
-
InFront = 0,
|
|
3
|
-
Behind = 1
|
|
4
|
-
}
|
|
1
|
+
export declare enum RearSightPosition {
|
|
2
|
+
InFront = 0,
|
|
3
|
+
Behind = 1
|
|
4
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export declare class RefinishCode {
|
|
2
|
-
id: number;
|
|
3
|
-
code: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export declare class RefinishCode {
|
|
2
|
+
id: number;
|
|
3
|
+
code: string;
|
|
4
|
+
price: number;
|
|
5
|
+
coatingId: number;
|
|
6
|
+
coatingName: string;
|
|
7
|
+
gunPartId: number;
|
|
8
|
+
gunPartName: string;
|
|
9
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
-
export declare class RefinishDetail {
|
|
6
|
-
id: number;
|
|
7
|
-
gunPart: GunPart;
|
|
8
|
-
option: GunPartOption;
|
|
9
|
-
coating: Coating;
|
|
10
|
-
coatingValue: CoatingValue;
|
|
11
|
-
coatingDescription: string;
|
|
12
|
-
timestamp: string;
|
|
13
|
-
}
|
|
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
|
+
export declare class RefinishDetail {
|
|
6
|
+
id: number;
|
|
7
|
+
gunPart: GunPart;
|
|
8
|
+
option: GunPartOption;
|
|
9
|
+
coating: Coating;
|
|
10
|
+
coatingValue: CoatingValue;
|
|
11
|
+
coatingDescription: string;
|
|
12
|
+
timestamp: string;
|
|
13
|
+
}
|