rerobe-js-orm 2.7.30 → 2.7.32
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,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TRANSACTION_TYPES = void 0;
|
|
4
|
+
exports.TRANSACTION_TYPES = {
|
|
5
|
+
merchantCredit: 'MERCHANT_CREDIT',
|
|
6
|
+
merchantDebit: 'MERCHANT_DEBIT',
|
|
7
|
+
sellerCredit: 'SELLER_CREDIT',
|
|
8
|
+
sellerDebit: 'SELLER_DEBIT',
|
|
9
|
+
};
|
package/lib/models/Product.js
CHANGED
|
@@ -356,9 +356,12 @@ class Product extends Base_1.default {
|
|
|
356
356
|
if (productType === 'Suit Jacket' || productType === 'Shirts & Blouses' || productType === 'Outerwear') {
|
|
357
357
|
productType = '';
|
|
358
358
|
}
|
|
359
|
-
if (['Blazers', '
|
|
359
|
+
if (['Blazers', 'Jumpsuits', 'Skirts', 'Tops'].includes(productType)) {
|
|
360
360
|
productType = productType.substring(0, productType.length - 1);
|
|
361
361
|
}
|
|
362
|
+
if (productType === 'Dresses') {
|
|
363
|
+
productType = 'Dress';
|
|
364
|
+
}
|
|
362
365
|
let result;
|
|
363
366
|
if (brand.includes('Vintage')) {
|
|
364
367
|
if (productType !== '') {
|