rerobe-js-orm 3.2.4 → 3.2.6
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/Product.js
CHANGED
package/lib/models/User.js
CHANGED
|
@@ -245,6 +245,11 @@ class User extends Base_1.default {
|
|
|
245
245
|
name: 'merchantId',
|
|
246
246
|
type: 'string',
|
|
247
247
|
},
|
|
248
|
+
{
|
|
249
|
+
facet: true,
|
|
250
|
+
name: 'merchantIds',
|
|
251
|
+
type: 'string[]',
|
|
252
|
+
},
|
|
248
253
|
{
|
|
249
254
|
facet: true,
|
|
250
255
|
name: 'itemsUploadedCount',
|
|
@@ -353,6 +358,7 @@ class User extends Base_1.default {
|
|
|
353
358
|
lastOrderTimestamp: this.utilities.sanitizeMillisTimeStamp(new Date(this.lastOrderDate).getTime()),
|
|
354
359
|
lastUploadTimestamp: this.utilities.sanitizeMillisTimeStamp(new Date(this.lastUploadDate).getTime()),
|
|
355
360
|
registrationSource: this.utilities.sanitizeString(this.registrationSource),
|
|
361
|
+
merchantIds: this.utilities.sanitzeStringArr(this.customerAt),
|
|
356
362
|
};
|
|
357
363
|
return stagedObj;
|
|
358
364
|
}
|