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,6 @@
1
+ export namespace TRANSACTION_TYPES {
2
+ const merchantCredit: string;
3
+ const merchantDebit: string;
4
+ const sellerCredit: string;
5
+ const sellerDebit: string;
6
+ }
@@ -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
+ };
@@ -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', 'Dresses', 'Jumpsuits', 'Skirts', 'Tops'].includes(productType)) {
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 !== '') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "2.7.30",
3
+ "version": "2.7.32",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",