rerobe-js-orm 4.0.0 → 4.0.1
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
|
@@ -276,6 +276,11 @@ class Order extends Base_1.default {
|
|
|
276
276
|
name: 'orderNumber',
|
|
277
277
|
type: 'int32',
|
|
278
278
|
},
|
|
279
|
+
{
|
|
280
|
+
facet: true,
|
|
281
|
+
name: 'orderNumberString',
|
|
282
|
+
type: 'string',
|
|
283
|
+
},
|
|
279
284
|
{
|
|
280
285
|
facet: true,
|
|
281
286
|
name: 'customerName',
|
|
@@ -393,6 +398,7 @@ class Order extends Base_1.default {
|
|
|
393
398
|
merchantId: this.utilities.sanitizeString(this.merchantId),
|
|
394
399
|
image: this.utilities.sanitizeString(image),
|
|
395
400
|
orderNumber: this.utilities.sanitizeNumber(this.orderNumber),
|
|
401
|
+
orderNumberString: this.utilities.sanitizeString(this.orderNumber),
|
|
396
402
|
customerName: this.utilities.sanitizeString(this.customerName),
|
|
397
403
|
customerEmail: this.utilities.sanitizeString(this.email),
|
|
398
404
|
totalPrice: this.utilities.sanitizeNumber(Number(this.totalPrice.amount) - Number(this.totalRefunded.amount)),
|