@resconet/jsbridge 17.1.0 → 17.1.5

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": "@resconet/jsbridge",
3
- "version": "17.1.0",
3
+ "version": "17.1.5",
4
4
  "main": "./src/JSBridge.js",
5
5
  "types": "./src/JSBridge.d.ts",
6
6
  "description": "Install npm JSBridge module",
package/src/JSBridge.d.ts CHANGED
@@ -1333,6 +1333,7 @@ declare module MobileCRM.FetchXml {
1333
1333
  /**
1334
1334
  * @class Represents a FetchXml attribute condition statement.
1335
1335
  * @property attribute {string} The attribute name (CRM logical field name).
1336
+ * @property entityname {string} The link name or alias to which this condition is relative to.
1336
1337
  * @property operator {string} The condition operator. "eq", "ne", "in", "not-in", "between", "not-between", "lt", "le", "gt", "ge", "like", "not-like", "null", "not-null", "eq-userid", "eq-userteams", "today", "yesterday", "tomorrow", "this-year", "last-week", "last-x-hours", "next-x-years", "olderthan-x-months", ...
1337
1338
  * @property uitype {string} The lookup target entity display name.
1338
1339
  * @property uiname {string} The lookup target entity logical name.
package/src/JSBridge.js CHANGED
@@ -491,6 +491,7 @@
491
491
  /// <summary>Represents a FetchXml attribute condition statement.</summary>
492
492
  /// <field name="attribute" type="String">The attribute name (CRM logical field name).</field>
493
493
  /// <field name="operator" type="String">The condition operator. "eq", "ne", "in", "not-in", "between", "not-between", "lt", "le", "gt", "ge", "like", "not-like", "null", "not-null", "eq-userid", "eq-userteams", "today", "yesterday", "tomorrow", "this-year", "last-week", "last-x-hours", "next-x-years", "olderthan-x-months", ...</field>
494
+ /// <field name="entityname" type="String">The link name or alias to which this condition is relative to.</summary>
494
495
  /// <field name="uiname" type="String">The lookup target entity display name.</field>
495
496
  /// <field name="uitype" type="String">The lookup target entity logical name.</field>
496
497
  /// <field name="value" type="">The value to compare to.</field>
@@ -2552,6 +2553,9 @@
2552
2553
  if (condition.operator) {
2553
2554
  conditionParams.operator = condition.operator;
2554
2555
  }
2556
+ if (condition.entityname) {
2557
+ conditionParams.entityname = condition.entityname;
2558
+ }
2555
2559
  if (condition.uiname) {
2556
2560
  conditionParams.uiname = condition.uiname;
2557
2561
  }