rerobe-js-orm 2.6.0 → 2.6.1
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.
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export namespace PRODUCT_STATES {
|
|
2
|
+
const archived: string;
|
|
3
|
+
const sellRequestReview: string;
|
|
4
|
+
const sellRequestReviewDraft: string;
|
|
5
|
+
const rejected: string;
|
|
6
|
+
const hold: string;
|
|
7
|
+
const draft: string;
|
|
8
|
+
const accepted: string;
|
|
9
|
+
const sellerToDropOff: string;
|
|
10
|
+
const sellerToShip: string;
|
|
11
|
+
const sellerToGetPickUp: string;
|
|
12
|
+
const qualityControl: string;
|
|
13
|
+
const pendingPublication: string;
|
|
14
|
+
const listed: string;
|
|
15
|
+
const clearance: string;
|
|
16
|
+
const reserved: string;
|
|
17
|
+
const sold: string;
|
|
18
|
+
const returned: string;
|
|
19
|
+
const soldSellerToBePaid: string;
|
|
20
|
+
const soldSellerPaid: string;
|
|
21
|
+
const sellerSelfReject: string;
|
|
22
|
+
const liquidationRequested: string;
|
|
23
|
+
const liquidationReady: string;
|
|
24
|
+
const sellerLiquidated: string;
|
|
25
|
+
const loading: string;
|
|
26
|
+
const shoppingBag: string;
|
|
27
|
+
const reservationQueue: string;
|
|
28
|
+
const availableInStore: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PRODUCT_STATES = void 0;
|
|
4
|
+
exports.PRODUCT_STATES = {
|
|
5
|
+
archived: 'ARCHIVED',
|
|
6
|
+
sellRequestReview: 'SELL_REQUEST_REVIEW',
|
|
7
|
+
sellRequestReviewDraft: 'SELL_REQUEST_REVIEW_DRAFT',
|
|
8
|
+
rejected: 'REJECTED',
|
|
9
|
+
hold: 'HOLD',
|
|
10
|
+
draft: 'DRAFT',
|
|
11
|
+
accepted: 'ACCEPTED',
|
|
12
|
+
sellerToDropOff: 'DROP_OFF_AT_REROBE',
|
|
13
|
+
sellerToShip: 'SHIP_TO_REROBE',
|
|
14
|
+
sellerToGetPickUp: 'AT_HOME_PICK_UP',
|
|
15
|
+
qualityControl: 'QUALITY_CONTROL',
|
|
16
|
+
pendingPublication: 'PENDING_PUBLICATION',
|
|
17
|
+
listed: 'LISTED',
|
|
18
|
+
clearance: 'CLEARANCE',
|
|
19
|
+
reserved: 'RESERVED',
|
|
20
|
+
sold: 'SOLD',
|
|
21
|
+
returned: 'RETURNED',
|
|
22
|
+
soldSellerToBePaid: 'SOLD_SELLER_TO_BE_PAID',
|
|
23
|
+
soldSellerPaid: 'SOLD_SELLER_PAID',
|
|
24
|
+
sellerSelfReject: 'SELLER_SELF_REJECT',
|
|
25
|
+
liquidationRequested: 'LIQUIDATION_REQUESTED',
|
|
26
|
+
liquidationReady: 'LIQUIDATION_READY',
|
|
27
|
+
sellerLiquidated: 'SELLER_LIQUIDATED',
|
|
28
|
+
loading: 'LOADING',
|
|
29
|
+
shoppingBag: 'IN_SHOPPING_BAG',
|
|
30
|
+
reservationQueue: 'IN_RESERVATION_QUEUE',
|
|
31
|
+
availableInStore: 'AVAILABLE_IN_STORE',
|
|
32
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.productOptions = exports.productIsOnSaleOptions = exports.discountTypeOptions = exports.salesChannelOptions = exports.unisexJewelry = exports.mensJewelry = exports.jewelry = exports.unisexAccessories = exports.mensAccessories = exports.accessories = exports.unisexBags = exports.mensBags = exports.bags = exports.unisexShoes = exports.mensShoes = exports.shoes = exports.unisexClothing = exports.mensClothing = exports.clothing = exports.productCategories = exports.clothingMaterials = exports.shoeSizes = exports.jeanSizes = exports.gender = exports.conditions = exports.colors = exports.brands = exports.sizeCommentOptions = exports.clothingSizeOptions = exports.statusOptions = exports.publishTypeOptions = exports.availableForSaleOptions = void 0;
|
|
4
|
-
const
|
|
4
|
+
const product_constants_1 = require("../../constants/product-constants");
|
|
5
5
|
const lodash_1 = require("lodash");
|
|
6
6
|
const availableForSaleOptions = [
|
|
7
7
|
{
|
|
@@ -29,7 +29,7 @@ const publishTypeOptions = [
|
|
|
29
29
|
},
|
|
30
30
|
];
|
|
31
31
|
exports.publishTypeOptions = publishTypeOptions;
|
|
32
|
-
const statusOptions = Object.values(
|
|
32
|
+
const statusOptions = Object.values(product_constants_1.PRODUCT_STATES).map((val) => ({
|
|
33
33
|
label: lodash_1.startCase(lodash_1.toLower(val)),
|
|
34
34
|
value: val,
|
|
35
35
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const Base_1 = require("../Base");
|
|
4
|
+
const product_constants_1 = require("../constants/product-constants");
|
|
4
5
|
class ProductStateManager extends Base_1.default {
|
|
5
6
|
constructor() {
|
|
6
7
|
super();
|
|
@@ -349,32 +350,4 @@ class ProductStateManager extends Base_1.default {
|
|
|
349
350
|
}
|
|
350
351
|
}
|
|
351
352
|
exports.default = ProductStateManager;
|
|
352
|
-
ProductStateManager.PRODUCT_STATES =
|
|
353
|
-
archived: 'ARCHIVED',
|
|
354
|
-
sellRequestReview: 'SELL_REQUEST_REVIEW',
|
|
355
|
-
sellRequestReviewDraft: 'SELL_REQUEST_REVIEW_DRAFT',
|
|
356
|
-
rejected: 'REJECTED',
|
|
357
|
-
hold: 'HOLD',
|
|
358
|
-
draft: 'DRAFT',
|
|
359
|
-
accepted: 'ACCEPTED',
|
|
360
|
-
sellerToDropOff: 'DROP_OFF_AT_REROBE',
|
|
361
|
-
sellerToShip: 'SHIP_TO_REROBE',
|
|
362
|
-
sellerToGetPickUp: 'AT_HOME_PICK_UP',
|
|
363
|
-
qualityControl: 'QUALITY_CONTROL',
|
|
364
|
-
pendingPublication: 'PENDING_PUBLICATION',
|
|
365
|
-
listed: 'LISTED',
|
|
366
|
-
clearance: 'CLEARANCE',
|
|
367
|
-
reserved: 'RESERVED',
|
|
368
|
-
sold: 'SOLD',
|
|
369
|
-
returned: 'RETURNED',
|
|
370
|
-
soldSellerToBePaid: 'SOLD_SELLER_TO_BE_PAID',
|
|
371
|
-
soldSellerPaid: 'SOLD_SELLER_PAID',
|
|
372
|
-
sellerSelfReject: 'SELLER_SELF_REJECT',
|
|
373
|
-
liquidationRequested: 'LIQUIDATION_REQUESTED',
|
|
374
|
-
liquidationReady: 'LIQUIDATION_READY',
|
|
375
|
-
sellerLiquidated: 'SELLER_LIQUIDATED',
|
|
376
|
-
loading: 'LOADING',
|
|
377
|
-
shoppingBag: 'IN_SHOPPING_BAG',
|
|
378
|
-
reservationQueue: 'IN_RESERVATION_QUEUE',
|
|
379
|
-
availableInStore: 'AVAILABLE_IN_STORE',
|
|
380
|
-
};
|
|
353
|
+
ProductStateManager.PRODUCT_STATES = product_constants_1.PRODUCT_STATES;
|