rerobe-js-orm 3.5.7 → 3.5.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.
@@ -7,4 +7,5 @@ export namespace CUSTOMER_NOTIFICATION_TYPES {
7
7
  const shippingConfirmation: string;
8
8
  const generalMessage: string;
9
9
  const abandonedCart: string;
10
+ const orderReceiptStore: string;
10
11
  }
@@ -10,4 +10,5 @@ exports.CUSTOMER_NOTIFICATION_TYPES = {
10
10
  shippingConfirmation: 'SHIPPING_CONFIRMATION',
11
11
  generalMessage: 'GENERAL_MESSAGE',
12
12
  abandonedCart: 'ABANDONED_CART',
13
+ orderReceiptStore: 'ORDER_RECEIPT_STORE',
13
14
  };
@@ -4,6 +4,8 @@ export default class SellerProductLedger extends Base {
4
4
  createdAtTimestamp: number;
5
5
  updatedAtTimestamp: number;
6
6
  pendingReturnPeriodStartTimestamp: number;
7
+ sellerToBePaidTimestamp: number;
8
+ sellerPaidTimestamp: number;
7
9
  merchantId: string;
8
10
  merchantCurrency: string;
9
11
  sellerId: string;
@@ -9,6 +9,8 @@ class SellerProductLedger extends Base_1.default {
9
9
  this.createdAtTimestamp = this.utilities.sanitizeMillisTimeStamp(props === null || props === void 0 ? void 0 : props.createdAtTimestamp);
10
10
  this.updatedAtTimestamp = this.utilities.sanitizeMillisTimeStamp(props === null || props === void 0 ? void 0 : props.createdAtTimestamp);
11
11
  this.pendingReturnPeriodStartTimestamp = this.utilities.sanitizeMillisTimeStamp(props === null || props === void 0 ? void 0 : props.pendingReturnPeriodStartTimestamp);
12
+ this.sellerToBePaidTimestamp = this.utilities.sanitizeMillisTimeStamp(props === null || props === void 0 ? void 0 : props.sellerToBePaidTimestamp);
13
+ this.sellerPaidTimestamp = this.utilities.sanitizeMillisTimeStamp(props === null || props === void 0 ? void 0 : props.sellerPaidTimestamp);
12
14
  this.merchantId = this.utilities.sanitizeString(props === null || props === void 0 ? void 0 : props.merchantId);
13
15
  this.merchantCurrency = this.utilities.sanitizeString(props === null || props === void 0 ? void 0 : props.merchantCurrency);
14
16
  this.sellerId = this.utilities.sanitizeString(props === null || props === void 0 ? void 0 : props.sellerId);
@@ -33,6 +35,8 @@ class SellerProductLedger extends Base_1.default {
33
35
  createdAtTimestamp: this.createdAtTimestamp,
34
36
  updatedAtTimestamp: this.updatedAtTimestamp,
35
37
  pendingReturnPeriodStartTimestamp: this.pendingReturnPeriodStartTimestamp,
38
+ sellerToBePaidTimestamp: this.sellerToBePaidTimestamp,
39
+ sellerPaidTimestamp: this.sellerPaidTimestamp,
36
40
  merchantId: this.merchantId,
37
41
  merchantCurrency: this.merchantCurrency,
38
42
  sellerId: this.sellerId,
@@ -61,6 +65,8 @@ class SellerProductLedger extends Base_1.default {
61
65
  { name: 'createdAtTimestamp', type: 'int64', facet: true },
62
66
  { name: 'updatedAtTimestamp', type: 'int64', facet: true },
63
67
  { name: 'pendingReturnPeriodStartTimestamp', type: 'int64', facet: true },
68
+ { name: 'sellerToBePaidTimestamp', type: 'int64', facet: true },
69
+ { name: 'sellerPaidTimestamp', type: 'int64', facet: true },
64
70
  { name: 'merchantId', type: 'string', facet: true },
65
71
  { name: 'merchantCurrency', type: 'string', facet: true },
66
72
  { name: 'sellerId', type: 'string', facet: true },
@@ -89,6 +95,8 @@ class SellerProductLedger extends Base_1.default {
89
95
  createdAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.createdAtTimestamp),
90
96
  updatedAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.updatedAtTimestamp),
91
97
  pendingReturnPeriodStartTimestamp: this.utilities.sanitizeMillisTimeStamp(this.pendingReturnPeriodStartTimestamp),
98
+ sellerToBePaidTimestamp: this.utilities.sanitizeMillisTimeStamp(this.sellerToBePaidTimestamp),
99
+ sellerPaidTimestamp: this.utilities.sanitizeMillisTimeStamp(this.sellerPaidTimestamp),
92
100
  merchantId: this.utilities.sanitizeString(this.merchantId),
93
101
  merchantCurrency: this.utilities.sanitizeString(this.merchantCurrency),
94
102
  sellerId: this.utilities.sanitizeString(this.sellerId),
@@ -90,6 +90,8 @@ type SellerProductLedgerType = {
90
90
  createdAtTimestamp: number;
91
91
  updatedAtTimestamp: number;
92
92
  pendingReturnPeriodStartTimestamp: number;
93
+ sellerToBePaidTimestamp: number;
94
+ sellerPaidTimestamp: number;
93
95
  merchantId: string;
94
96
  merchantCurrency: string;
95
97
  sellerId: string;
@@ -113,6 +115,8 @@ type TypesenseSellerProductLedgerObj = {
113
115
  createdAtTimestamp: number;
114
116
  updatedAtTimestamp: number;
115
117
  pendingReturnPeriodStartTimestamp: number;
118
+ sellerToBePaidTimestamp: number;
119
+ sellerPaidTimestamp: number;
116
120
  merchantId: string;
117
121
  merchantCurrency: string;
118
122
  sellerId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "3.5.7",
3
+ "version": "3.5.9",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",