merchi_sdk_js 0.0.67 → 0.0.69

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_js",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
package/src/draft.js CHANGED
@@ -13,7 +13,7 @@ export function Draft() {
13
13
 
14
14
  addPropertyTo(this, 'id');
15
15
  addPropertyTo(this, 'job', Job);
16
- addPropertyTo(this, 'sharedWithJob', Job);
16
+ addPropertyTo(this, 'sharedWithJobs', Job);
17
17
  addPropertyTo(this, 'designer', User);
18
18
  addPropertyTo(this, 'file', MerchiFile);
19
19
  addPropertyTo(this, 'draftTemplates', DraftTemplate);
package/src/model.js CHANGED
@@ -309,6 +309,12 @@ export function getList(resource, success, error, parameters, withUpdates) {
309
309
  request.query().add(
310
310
  'platform_category_id', parameters.platformCategoryId);
311
311
  }
312
+ if (notEmpty(parameters.googleMerchantCenterExported)) {
313
+ request.query().add(
314
+ 'google_merchant_center_exported',
315
+ parameters.googleMerchantCenterExported
316
+ );
317
+ }
312
318
  if (notEmpty(parameters.groupBuyForJobId)) {
313
319
  request.query().add(
314
320
  'group_buy_for_job_id', parameters.groupBuyForJobId);