rerobe-js-orm 2.7.35 → 2.7.36

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.
@@ -6,3 +6,8 @@ export namespace TRANSACTION_TYPES {
6
6
  const customerCredit: string;
7
7
  const customerDebit: string;
8
8
  }
9
+ export namespace CUSTOMER_CREDIT_REASONS {
10
+ const giftCard: string;
11
+ const marketingPromotion: string;
12
+ const partnership: string;
13
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TRANSACTION_TYPES = void 0;
3
+ exports.CUSTOMER_CREDIT_REASONS = exports.TRANSACTION_TYPES = void 0;
4
4
  exports.TRANSACTION_TYPES = {
5
5
  merchantCredit: 'MERCHANT_CREDIT',
6
6
  merchantDebit: 'MERCHANT_DEBIT',
@@ -9,3 +9,8 @@ exports.TRANSACTION_TYPES = {
9
9
  customerCredit: 'CUSTOMER_CREDIT',
10
10
  customerDebit: 'CUSTOMER_DEBIT',
11
11
  };
12
+ exports.CUSTOMER_CREDIT_REASONS = {
13
+ giftCard: 'GIFT_CARD',
14
+ marketingPromotion: 'MARKETING_PROMOTION',
15
+ partnership: 'PARTNERSHIP',
16
+ };
@@ -118,7 +118,7 @@ class CustomerLedgerTransaction extends Base_1.default {
118
118
  type: 'string',
119
119
  },
120
120
  ],
121
- name: 'dev_sellerLedgerTransactions_20221026',
121
+ name: 'dev_customerLedgerTransactions_20230103',
122
122
  };
123
123
  }
124
124
  toObjForTypesense() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "2.7.35",
3
+ "version": "2.7.36",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",