rerobe-js-orm 2.6.96 → 2.6.97
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.
package/lib/models/Order.js
CHANGED
|
@@ -270,6 +270,11 @@ class Order extends Base_1.default {
|
|
|
270
270
|
name: 'paymentType',
|
|
271
271
|
type: 'string',
|
|
272
272
|
},
|
|
273
|
+
{
|
|
274
|
+
facet: true,
|
|
275
|
+
name: 'shippingType',
|
|
276
|
+
type: 'string',
|
|
277
|
+
},
|
|
273
278
|
{
|
|
274
279
|
facet: true,
|
|
275
280
|
name: 'productIds',
|
|
@@ -313,6 +318,7 @@ class Order extends Base_1.default {
|
|
|
313
318
|
fulfillmentStatus: this.utilities.sanitizeString(this.fulfillmentStatus),
|
|
314
319
|
salesChannel: this.utilities.sanitizeString(this.salesChannel),
|
|
315
320
|
paymentType: this.utilities.sanitizeString(this.paymentType),
|
|
321
|
+
shippingType: this.utilities.sanitizeString(this.shippingType),
|
|
316
322
|
productIds: this.utilities.sanitzeStringArr(this.lineItems.map((l) => l.productId)),
|
|
317
323
|
productTitles: this.utilities.sanitzeStringArr(this.lineItems.map((l) => l.title)),
|
|
318
324
|
productBrands: this.utilities.sanitzeStringArr(this.lineItems.map((l) => l.brand)),
|