@resconet/jsbridge 17.1.0-beta.4 → 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 +1 -1
- package/src/JSBridge.d.ts +1 -0
- package/src/JSBridge.js +8 -0
package/package.json
CHANGED
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
|
@@ -430,6 +430,7 @@
|
|
|
430
430
|
Entity: function (name) {
|
|
431
431
|
/// <summary>Represents a FetchXml query root entity.</summary>
|
|
432
432
|
/// <param name="name" type="String">An entity logical name.</param>
|
|
433
|
+
/// <field name="allattributes" type="Boolean">Indicates whether to fetch all attributes instead of explicitly chosen set.</field>
|
|
433
434
|
/// <field name="attributes" type="Array">An array of <see cref="MobileCRM.FetchXml.Attribute">MobileCRM.FetchXml.Attribute</see> objects.</field>
|
|
434
435
|
/// <field name="filter" type="MobileCRM.FetchXml.Filter">A query filter.</field>
|
|
435
436
|
/// <field name="linkentities" type="Array">An array of <see cref="MobileCRM.FetchXml.LinkEntity">MobileCRM.FetchXml.LinkEntity</see> objects.</field>
|
|
@@ -490,6 +491,7 @@
|
|
|
490
491
|
/// <summary>Represents a FetchXml attribute condition statement.</summary>
|
|
491
492
|
/// <field name="attribute" type="String">The attribute name (CRM logical field name).</field>
|
|
492
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>
|
|
493
495
|
/// <field name="uiname" type="String">The lookup target entity display name.</field>
|
|
494
496
|
/// <field name="uitype" type="String">The lookup target entity logical name.</field>
|
|
495
497
|
/// <field name="value" type="">The value to compare to.</field>
|
|
@@ -2551,6 +2553,9 @@
|
|
|
2551
2553
|
if (condition.operator) {
|
|
2552
2554
|
conditionParams.operator = condition.operator;
|
|
2553
2555
|
}
|
|
2556
|
+
if (condition.entityname) {
|
|
2557
|
+
conditionParams.entityname = condition.entityname;
|
|
2558
|
+
}
|
|
2554
2559
|
if (condition.uiname) {
|
|
2555
2560
|
conditionParams.uiname = condition.uiname;
|
|
2556
2561
|
}
|
|
@@ -2630,6 +2635,9 @@
|
|
|
2630
2635
|
entityParams.filter = MobileCRM.FetchXml.Filter._constructFilterParams(entity.filter);
|
|
2631
2636
|
}
|
|
2632
2637
|
entityParams.linkentities = _normalizeArray(entity.linkentities, MobileCRM.FetchXml.LinkEntity._constructLinkParams);
|
|
2638
|
+
if (entity.allattributes) {
|
|
2639
|
+
entityParams.allattributes = entity.allattributes;
|
|
2640
|
+
}
|
|
2633
2641
|
return entityParams;
|
|
2634
2642
|
} else {
|
|
2635
2643
|
return undefined;
|