rerobe-js-orm 3.1.8 → 3.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -37,66 +37,125 @@ export namespace SYSTEM_DRIVEN_STATES {
|
|
|
37
37
|
const reservationQueue: string;
|
|
38
38
|
const reserved: string;
|
|
39
39
|
}
|
|
40
|
-
export namespace PRODUCT_STATES {
|
|
41
|
-
export namespace PRODUCT_STATE_LABELS {
|
|
40
|
+
export namespace PRODUCT_STATES {
|
|
42
41
|
const archived_2: string;
|
|
43
42
|
export { archived_2 as archived };
|
|
43
|
+
const sellerDonated_1: string;
|
|
44
|
+
export { sellerDonated_1 as sellerDonated };
|
|
44
45
|
const sellRequestReview_1: string;
|
|
45
46
|
export { sellRequestReview_1 as sellRequestReview };
|
|
46
47
|
const sellRequestReviewDraft_1: string;
|
|
47
48
|
export { sellRequestReviewDraft_1 as sellRequestReviewDraft };
|
|
48
|
-
const rejected_1: string;
|
|
49
|
-
export { rejected_1 as rejected };
|
|
50
|
-
const draft_1: string;
|
|
51
|
-
export { draft_1 as draft };
|
|
52
|
-
const accepted_1: string;
|
|
53
|
-
export { accepted_1 as accepted };
|
|
54
49
|
const sellerToDropOff_1: string;
|
|
55
50
|
export { sellerToDropOff_1 as sellerToDropOff };
|
|
56
51
|
const sellerToShip_1: string;
|
|
57
52
|
export { sellerToShip_1 as sellerToShip };
|
|
58
53
|
const sellerToGetPickUp_1: string;
|
|
59
54
|
export { sellerToGetPickUp_1 as sellerToGetPickUp };
|
|
55
|
+
const sellerSelfReject_1: string;
|
|
56
|
+
export { sellerSelfReject_1 as sellerSelfReject };
|
|
57
|
+
const liquidationRequested_1: string;
|
|
58
|
+
export { liquidationRequested_1 as liquidationRequested };
|
|
59
|
+
const rejected_1: string;
|
|
60
|
+
export { rejected_1 as rejected };
|
|
61
|
+
const hold_1: string;
|
|
62
|
+
export { hold_1 as hold };
|
|
63
|
+
const draft_1: string;
|
|
64
|
+
export { draft_1 as draft };
|
|
65
|
+
const accepted_1: string;
|
|
66
|
+
export { accepted_1 as accepted };
|
|
60
67
|
const qualityControl_1: string;
|
|
61
68
|
export { qualityControl_1 as qualityControl };
|
|
62
69
|
const pendingPublication_1: string;
|
|
63
70
|
export { pendingPublication_1 as pendingPublication };
|
|
71
|
+
const merchantDonated_1: string;
|
|
72
|
+
export { merchantDonated_1 as merchantDonated };
|
|
64
73
|
const listed_1: string;
|
|
65
74
|
export { listed_1 as listed };
|
|
66
|
-
const hold_1: string;
|
|
67
|
-
export { hold_1 as hold };
|
|
68
75
|
const clearance_1: string;
|
|
69
76
|
export { clearance_1 as clearance };
|
|
70
|
-
const reserved_1: string;
|
|
71
|
-
export { reserved_1 as reserved };
|
|
72
|
-
const sold_1: string;
|
|
73
|
-
export { sold_1 as sold };
|
|
74
|
-
const returned_1: string;
|
|
75
|
-
export { returned_1 as returned };
|
|
76
77
|
const soldSellerToBePaid_1: string;
|
|
77
78
|
export { soldSellerToBePaid_1 as soldSellerToBePaid };
|
|
78
79
|
const soldSellerPaid_1: string;
|
|
79
80
|
export { soldSellerPaid_1 as soldSellerPaid };
|
|
80
|
-
const sellerSelfReject_1: string;
|
|
81
|
-
export { sellerSelfReject_1 as sellerSelfReject };
|
|
82
|
-
const liquidationRequested_1: string;
|
|
83
|
-
export { liquidationRequested_1 as liquidationRequested };
|
|
84
81
|
const liquidationReady_1: string;
|
|
85
82
|
export { liquidationReady_1 as liquidationReady };
|
|
86
83
|
const sellerLiquidated_1: string;
|
|
87
84
|
export { sellerLiquidated_1 as sellerLiquidated };
|
|
85
|
+
const availableInStore_1: string;
|
|
86
|
+
export { availableInStore_1 as availableInStore };
|
|
87
|
+
const sold_1: string;
|
|
88
|
+
export { sold_1 as sold };
|
|
89
|
+
const returned_1: string;
|
|
90
|
+
export { returned_1 as returned };
|
|
88
91
|
const loading_1: string;
|
|
89
92
|
export { loading_1 as loading };
|
|
90
93
|
const shoppingBag_1: string;
|
|
91
94
|
export { shoppingBag_1 as shoppingBag };
|
|
92
95
|
const reservationQueue_1: string;
|
|
93
96
|
export { reservationQueue_1 as reservationQueue };
|
|
94
|
-
const
|
|
95
|
-
export {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
const
|
|
99
|
-
export {
|
|
97
|
+
const reserved_1: string;
|
|
98
|
+
export { reserved_1 as reserved };
|
|
99
|
+
}
|
|
100
|
+
export namespace PRODUCT_STATE_LABELS {
|
|
101
|
+
const archived_3: string;
|
|
102
|
+
export { archived_3 as archived };
|
|
103
|
+
const sellRequestReview_2: string;
|
|
104
|
+
export { sellRequestReview_2 as sellRequestReview };
|
|
105
|
+
const sellRequestReviewDraft_2: string;
|
|
106
|
+
export { sellRequestReviewDraft_2 as sellRequestReviewDraft };
|
|
107
|
+
const rejected_2: string;
|
|
108
|
+
export { rejected_2 as rejected };
|
|
109
|
+
const draft_2: string;
|
|
110
|
+
export { draft_2 as draft };
|
|
111
|
+
const accepted_2: string;
|
|
112
|
+
export { accepted_2 as accepted };
|
|
113
|
+
const sellerToDropOff_2: string;
|
|
114
|
+
export { sellerToDropOff_2 as sellerToDropOff };
|
|
115
|
+
const sellerToShip_2: string;
|
|
116
|
+
export { sellerToShip_2 as sellerToShip };
|
|
117
|
+
const sellerToGetPickUp_2: string;
|
|
118
|
+
export { sellerToGetPickUp_2 as sellerToGetPickUp };
|
|
119
|
+
const qualityControl_2: string;
|
|
120
|
+
export { qualityControl_2 as qualityControl };
|
|
121
|
+
const pendingPublication_2: string;
|
|
122
|
+
export { pendingPublication_2 as pendingPublication };
|
|
123
|
+
const listed_2: string;
|
|
124
|
+
export { listed_2 as listed };
|
|
125
|
+
const hold_2: string;
|
|
126
|
+
export { hold_2 as hold };
|
|
127
|
+
const clearance_2: string;
|
|
128
|
+
export { clearance_2 as clearance };
|
|
129
|
+
const reserved_2: string;
|
|
130
|
+
export { reserved_2 as reserved };
|
|
131
|
+
const sold_2: string;
|
|
132
|
+
export { sold_2 as sold };
|
|
133
|
+
const returned_2: string;
|
|
134
|
+
export { returned_2 as returned };
|
|
135
|
+
const soldSellerToBePaid_2: string;
|
|
136
|
+
export { soldSellerToBePaid_2 as soldSellerToBePaid };
|
|
137
|
+
const soldSellerPaid_2: string;
|
|
138
|
+
export { soldSellerPaid_2 as soldSellerPaid };
|
|
139
|
+
const sellerSelfReject_2: string;
|
|
140
|
+
export { sellerSelfReject_2 as sellerSelfReject };
|
|
141
|
+
const liquidationRequested_2: string;
|
|
142
|
+
export { liquidationRequested_2 as liquidationRequested };
|
|
143
|
+
const liquidationReady_2: string;
|
|
144
|
+
export { liquidationReady_2 as liquidationReady };
|
|
145
|
+
const sellerLiquidated_2: string;
|
|
146
|
+
export { sellerLiquidated_2 as sellerLiquidated };
|
|
147
|
+
const loading_2: string;
|
|
148
|
+
export { loading_2 as loading };
|
|
149
|
+
const shoppingBag_2: string;
|
|
150
|
+
export { shoppingBag_2 as shoppingBag };
|
|
151
|
+
const reservationQueue_2: string;
|
|
152
|
+
export { reservationQueue_2 as reservationQueue };
|
|
153
|
+
const availableInStore_2: string;
|
|
154
|
+
export { availableInStore_2 as availableInStore };
|
|
155
|
+
const sellerDonated_2: string;
|
|
156
|
+
export { sellerDonated_2 as sellerDonated };
|
|
157
|
+
const merchantDonated_2: string;
|
|
158
|
+
export { merchantDonated_2 as merchantDonated };
|
|
100
159
|
}
|
|
101
160
|
export namespace MEASUREMENT_CATEGORY {
|
|
102
161
|
const SuitsNBlazers: string;
|
|
@@ -11,7 +11,7 @@ exports.SELLER_DRIVEN_STATES = {
|
|
|
11
11
|
sellerToGetPickUp: 'AT_HOME_PICK_UP',
|
|
12
12
|
sellerSelfReject: 'SELLER_SELF_REJECT',
|
|
13
13
|
liquidationRequested: 'LIQUIDATION_REQUESTED',
|
|
14
|
-
};
|
|
14
|
+
}; // 9
|
|
15
15
|
exports.ADMIN_DRIVEN_STATES = {
|
|
16
16
|
archived: 'ARCHIVED',
|
|
17
17
|
rejected: 'REJECTED',
|
|
@@ -21,7 +21,7 @@ exports.ADMIN_DRIVEN_STATES = {
|
|
|
21
21
|
qualityControl: 'QUALITY_CONTROL',
|
|
22
22
|
pendingPublication: 'PENDING_PUBLICATION',
|
|
23
23
|
merchantDonated: 'MERCHANT_DONATED',
|
|
24
|
-
};
|
|
24
|
+
}; // 8
|
|
25
25
|
exports.ADMIN_ACTION_DRIVEN_STATES = {
|
|
26
26
|
listed: 'LISTED',
|
|
27
27
|
clearance: 'CLEARANCE',
|
|
@@ -30,7 +30,7 @@ exports.ADMIN_ACTION_DRIVEN_STATES = {
|
|
|
30
30
|
liquidationReady: 'LIQUIDATION_READY',
|
|
31
31
|
sellerLiquidated: 'SELLER_LIQUIDATED',
|
|
32
32
|
availableInStore: 'AVAILABLE_IN_STORE',
|
|
33
|
-
};
|
|
33
|
+
}; // 7
|
|
34
34
|
exports.SYSTEM_DRIVEN_STATES = {
|
|
35
35
|
sold: 'SOLD',
|
|
36
36
|
returned: 'RETURNED',
|
|
@@ -38,8 +38,38 @@ exports.SYSTEM_DRIVEN_STATES = {
|
|
|
38
38
|
shoppingBag: 'IN_SHOPPING_BAG',
|
|
39
39
|
reservationQueue: 'IN_RESERVATION_QUEUE',
|
|
40
40
|
reserved: 'RESERVED',
|
|
41
|
+
}; // 6
|
|
42
|
+
exports.PRODUCT_STATES = {
|
|
43
|
+
archived: 'ARCHIVED',
|
|
44
|
+
sellerDonated: 'SELLER_DONATED',
|
|
45
|
+
sellRequestReview: 'SELL_REQUEST_REVIEW',
|
|
46
|
+
sellRequestReviewDraft: 'SELL_REQUEST_REVIEW_DRAFT',
|
|
47
|
+
sellerToDropOff: 'SELLER_TO_DROP_OFF',
|
|
48
|
+
sellerToShip: 'SELLER_TO_SHIP',
|
|
49
|
+
sellerToGetPickUp: 'AT_HOME_PICK_UP',
|
|
50
|
+
sellerSelfReject: 'SELLER_SELF_REJECT',
|
|
51
|
+
liquidationRequested: 'LIQUIDATION_REQUESTED',
|
|
52
|
+
rejected: 'REJECTED',
|
|
53
|
+
hold: 'HOLD',
|
|
54
|
+
draft: 'DRAFT',
|
|
55
|
+
accepted: 'ACCEPTED',
|
|
56
|
+
qualityControl: 'QUALITY_CONTROL',
|
|
57
|
+
pendingPublication: 'PENDING_PUBLICATION',
|
|
58
|
+
merchantDonated: 'MERCHANT_DONATED',
|
|
59
|
+
listed: 'LISTED',
|
|
60
|
+
clearance: 'CLEARANCE',
|
|
61
|
+
soldSellerToBePaid: 'SOLD_SELLER_TO_BE_PAID',
|
|
62
|
+
soldSellerPaid: 'SOLD_SELLER_PAID',
|
|
63
|
+
liquidationReady: 'LIQUIDATION_READY',
|
|
64
|
+
sellerLiquidated: 'SELLER_LIQUIDATED',
|
|
65
|
+
availableInStore: 'AVAILABLE_IN_STORE',
|
|
66
|
+
sold: 'SOLD',
|
|
67
|
+
returned: 'RETURNED',
|
|
68
|
+
loading: 'LOADING',
|
|
69
|
+
shoppingBag: 'IN_SHOPPING_BAG',
|
|
70
|
+
reservationQueue: 'IN_RESERVATION_QUEUE',
|
|
71
|
+
reserved: 'RESERVED',
|
|
41
72
|
};
|
|
42
|
-
exports.PRODUCT_STATES = Object.assign(Object.assign(Object.assign(Object.assign({}, exports.SELLER_DRIVEN_STATES), exports.ADMIN_DRIVEN_STATES), exports.ADMIN_ACTION_DRIVEN_STATES), exports.SYSTEM_DRIVEN_STATES);
|
|
43
73
|
exports.PRODUCT_STATE_LABELS = {
|
|
44
74
|
archived: 'Saved for later',
|
|
45
75
|
sellRequestReview: 'Waiting for approval',
|
|
@@ -1,27 +1,7 @@
|
|
|
1
1
|
import Base from '../Base';
|
|
2
2
|
export default class ProductStateManager extends Base {
|
|
3
3
|
static PRODUCT_STATES: {
|
|
4
|
-
sold: string;
|
|
5
|
-
returned: string;
|
|
6
|
-
loading: string;
|
|
7
|
-
shoppingBag: string;
|
|
8
|
-
reservationQueue: string;
|
|
9
|
-
reserved: string;
|
|
10
|
-
listed: string;
|
|
11
|
-
clearance: string;
|
|
12
|
-
soldSellerToBePaid: string;
|
|
13
|
-
soldSellerPaid: string;
|
|
14
|
-
liquidationReady: string;
|
|
15
|
-
sellerLiquidated: string;
|
|
16
|
-
availableInStore: string;
|
|
17
4
|
archived: string;
|
|
18
|
-
rejected: string;
|
|
19
|
-
hold: string;
|
|
20
|
-
draft: string;
|
|
21
|
-
accepted: string;
|
|
22
|
-
qualityControl: string;
|
|
23
|
-
pendingPublication: string;
|
|
24
|
-
merchantDonated: string;
|
|
25
5
|
sellerDonated: string;
|
|
26
6
|
sellRequestReview: string;
|
|
27
7
|
sellRequestReviewDraft: string;
|
|
@@ -30,6 +10,26 @@ export default class ProductStateManager extends Base {
|
|
|
30
10
|
sellerToGetPickUp: string;
|
|
31
11
|
sellerSelfReject: string;
|
|
32
12
|
liquidationRequested: string;
|
|
13
|
+
rejected: string;
|
|
14
|
+
hold: string;
|
|
15
|
+
draft: string;
|
|
16
|
+
accepted: string;
|
|
17
|
+
qualityControl: string;
|
|
18
|
+
pendingPublication: string;
|
|
19
|
+
merchantDonated: string;
|
|
20
|
+
listed: string;
|
|
21
|
+
clearance: string;
|
|
22
|
+
soldSellerToBePaid: string;
|
|
23
|
+
soldSellerPaid: string;
|
|
24
|
+
liquidationReady: string;
|
|
25
|
+
sellerLiquidated: string;
|
|
26
|
+
availableInStore: string;
|
|
27
|
+
sold: string;
|
|
28
|
+
returned: string;
|
|
29
|
+
loading: string;
|
|
30
|
+
shoppingBag: string;
|
|
31
|
+
reservationQueue: string;
|
|
32
|
+
reserved: string;
|
|
33
33
|
};
|
|
34
34
|
state: ProductState;
|
|
35
35
|
states: ProductStates;
|