merchi_sdk_js 0.0.16 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/model.js +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_js",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
package/src/model.js CHANGED
@@ -415,6 +415,9 @@ export function getList(resource, success, error, parameters, withUpdates) {
415
415
  if (notEmpty(parameters.relatedJob)) {
416
416
  request.query().add('related_job', parameters.relatedJob);
417
417
  }
418
+ if (notEmpty(parameters.relatedJobs)) {
419
+ request.query().add('related_jobs', parameters.relatedJobs);
420
+ }
418
421
  if (notEmpty(parameters.relatedProduct)) {
419
422
  request.query().add('related_product', parameters.relatedProduct);
420
423
  }
@@ -499,6 +502,10 @@ export function getList(resource, success, error, parameters, withUpdates) {
499
502
  request.query().add(
500
503
  'exclude_domains', parameters.excludeDomains);
501
504
  }
505
+ if (notEmpty(parameters.excludeJobs)) {
506
+ request.query().add(
507
+ 'exclude_jobs', parameters.excludeJobs);
508
+ }
502
509
  if (notEmpty(parameters.includeOnly)) {
503
510
  request.query().add('include_only', parameters.includeOnly);
504
511
  }