rerobe-js-orm 2.6.95 → 2.6.96

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.
@@ -243,7 +243,7 @@ class Order extends Base_1.default {
243
243
  {
244
244
  facet: true,
245
245
  name: 'totalPrice',
246
- type: 'int32',
246
+ type: 'float',
247
247
  },
248
248
  {
249
249
  facet: true,
@@ -265,6 +265,11 @@ class Order extends Base_1.default {
265
265
  name: 'salesChannel',
266
266
  type: 'string',
267
267
  },
268
+ {
269
+ facet: true,
270
+ name: 'paymentType',
271
+ type: 'string',
272
+ },
268
273
  {
269
274
  facet: true,
270
275
  name: 'productIds',
@@ -307,6 +312,7 @@ class Order extends Base_1.default {
307
312
  financialStatus: this.utilities.sanitizeString(this.financialStatus),
308
313
  fulfillmentStatus: this.utilities.sanitizeString(this.fulfillmentStatus),
309
314
  salesChannel: this.utilities.sanitizeString(this.salesChannel),
315
+ paymentType: this.utilities.sanitizeString(this.paymentType),
310
316
  productIds: this.utilities.sanitzeStringArr(this.lineItems.map((l) => l.productId)),
311
317
  productTitles: this.utilities.sanitzeStringArr(this.lineItems.map((l) => l.title)),
312
318
  productBrands: this.utilities.sanitzeStringArr(this.lineItems.map((l) => l.brand)),
@@ -692,6 +692,7 @@ declare type TypesenseOrderObj = {
692
692
  financialStatus: string;
693
693
  fulfillmentStatus: string;
694
694
  salesChannel: string;
695
+ paymentType: string;
695
696
  productIds: string[];
696
697
  productTitles: string[];
697
698
  productBrands: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "2.6.95",
3
+ "version": "2.6.96",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",