merchi_sdk_ts 1.9.11 → 1.9.12

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/entity.ts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_ts",
3
- "version": "1.9.11",
3
+ "version": "1.9.12",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
package/src/entity.ts CHANGED
@@ -105,6 +105,7 @@ interface ListOptions {
105
105
  inDomain?: number;
106
106
  inDomainName?: string;
107
107
  inDomainRoles?: number[];
108
+ isJobManager?: boolean;
108
109
  isMaster?: boolean;
109
110
  isOrder?: boolean;
110
111
  isPrivate?: boolean;
@@ -484,6 +485,10 @@ export class Entity {
484
485
  if (options.asRole !== undefined) {
485
486
  fetchOptions.query.push(['as_role', options.asRole.toString()]);
486
487
  }
488
+ if (options.isJobManager !== undefined) {
489
+ fetchOptions.query.push(
490
+ ['is_job_manager', options.isJobManager.toString()]);
491
+ }
487
492
  if (options.groupBuyOnly !== undefined) {
488
493
  fetchOptions.query.push(
489
494
  ['group_buy_only', options.groupBuyOnly.toString()]);