@talxis/base-controls 1.2406.16 → 1.2407.1

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 (206) hide show
  1. package/dist/Grid-7ed3dd4c.js +1 -0
  2. package/dist/components/DateTime/DateTime.js +1 -1
  3. package/dist/components/DateTime/components/Calendar.d.ts +8 -3
  4. package/dist/components/DateTime/components/Calendar.js +1 -0
  5. package/dist/components/DateTime/hooks/useDateTime.d.ts +29 -4
  6. package/dist/components/DateTime/hooks/useDateTime.js +1 -0
  7. package/dist/components/DateTime/index.d.ts +3 -0
  8. package/dist/components/DateTime/index.js +1 -0
  9. package/dist/components/DateTime/interfaces.d.ts +4 -25
  10. package/dist/components/DateTime/interfaces.js +1 -0
  11. package/dist/components/DateTime/styles.d.ts +1 -4
  12. package/dist/components/DateTime/styles.js +1 -0
  13. package/dist/components/DateTime/translations.d.ts +19 -3
  14. package/dist/components/DateTime/translations.js +1 -0
  15. package/dist/components/Decimal/Decimal.js +1 -1
  16. package/dist/components/Decimal/components/ArrowButtons.d.ts +10 -0
  17. package/dist/components/Decimal/components/ArrowButtons.js +1 -0
  18. package/dist/components/Decimal/components/styles.d.ts +20 -0
  19. package/dist/components/Decimal/components/styles.js +1 -0
  20. package/dist/components/Decimal/index.d.ts +2 -0
  21. package/dist/components/Decimal/index.js +1 -0
  22. package/dist/components/Decimal/interfaces.d.ts +5 -5
  23. package/dist/components/Decimal/interfaces.js +1 -0
  24. package/dist/components/Duration/Duration.js +1 -1
  25. package/dist/components/Duration/index.d.ts +2 -0
  26. package/dist/components/Duration/index.js +1 -0
  27. package/dist/components/Duration/interfaces.d.ts +6 -24
  28. package/dist/components/Duration/interfaces.js +1 -0
  29. package/dist/components/Duration/translations.d.ts +26 -2
  30. package/dist/components/Duration/translations.js +1 -0
  31. package/dist/components/Grid/Grid.d.ts +1 -3
  32. package/dist/components/Grid/Grid.js +1 -10
  33. package/dist/components/Grid/GridContext.d.ts +3 -0
  34. package/dist/components/Grid/GridContext.js +1 -0
  35. package/dist/components/Grid/constants.js +1 -0
  36. package/dist/components/Grid/core/components/AgGrid/AgGrid.js +1 -0
  37. package/dist/components/Grid/core/components/AgGrid/components/EmptyRecordsOverlay/EmptyRecords.js +1 -0
  38. package/dist/components/Grid/core/components/AgGrid/components/EmptyRecordsOverlay/styles.js +1 -0
  39. package/dist/components/Grid/core/components/AgGrid/components/LoadingOverlay/LoadingOverlay.js +1 -0
  40. package/dist/components/Grid/core/components/AgGrid/components/LoadingOverlay/styles.js +1 -0
  41. package/dist/components/Grid/core/components/AgGrid/controllers/useAgGridController.d.ts +1 -1
  42. package/dist/components/Grid/core/components/AgGrid/controllers/useAgGridController.js +1 -0
  43. package/dist/components/Grid/core/components/AgGrid/model/AgGrid.d.ts +1 -1
  44. package/dist/components/Grid/core/components/AgGrid/model/AgGrid.js +1 -0
  45. package/dist/components/Grid/core/components/AgGrid/styles.js +1 -0
  46. package/dist/components/Grid/core/components/Cell/Commands/Commands.d.ts +1 -1
  47. package/dist/components/Grid/core/components/Cell/Commands/Commands.js +1 -0
  48. package/dist/components/Grid/core/components/Cell/Commands/Icon.js +1 -0
  49. package/dist/components/Grid/core/components/Cell/Commands/styles.js +1 -0
  50. package/dist/components/Grid/core/components/Cell/Commands/useCommands.d.ts +1 -1
  51. package/dist/components/Grid/core/components/Cell/Commands/useCommands.js +1 -0
  52. package/dist/components/Grid/core/components/Cell/EditableCell/EditableCell.d.ts +1 -1
  53. package/dist/components/Grid/core/components/Cell/EditableCell/EditableCell.js +1 -0
  54. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyCell.js +1 -0
  55. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyOptionSet/ReadOnlyOptionSet.d.ts +1 -1
  56. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyOptionSet/ReadOnlyOptionSet.js +1 -0
  57. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyOptionSet/styles.js +1 -0
  58. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/styles.js +1 -0
  59. package/dist/components/Grid/core/components/ColumnHeader/ColumnHeader.js +1 -0
  60. package/dist/components/Grid/core/components/ColumnHeader/components/GlobalCheckbox/GlobalCheckbox.js +1 -0
  61. package/dist/components/Grid/core/components/ColumnHeader/components/GlobalCheckbox/styles.js +1 -0
  62. package/dist/components/Grid/core/components/ColumnHeader/styles.js +1 -0
  63. package/dist/components/Grid/core/components/Component/Component.d.ts +2 -2
  64. package/dist/components/Grid/core/components/Component/Component.js +1 -0
  65. package/dist/components/Grid/core/components/Component/controller/useComponentController.d.ts +5 -5
  66. package/dist/components/Grid/core/components/Component/controller/useComponentController.js +1 -0
  67. package/dist/components/Grid/core/components/Component/model/Component.d.ts +3 -3
  68. package/dist/components/Grid/core/components/Component/model/Component.js +1 -0
  69. package/dist/components/Grid/core/components/Dialog/Constants.js +1 -0
  70. package/dist/components/Grid/core/components/Dialog/Styles.js +1 -0
  71. package/dist/components/Grid/core/components/Dialog/index.js +1 -0
  72. package/dist/components/Grid/core/components/Dialog/interfaces/index.d.ts +6 -0
  73. package/dist/components/Grid/core/components/Dialog/interfaces/index.js +1 -0
  74. package/dist/components/Grid/core/components/Save/Save.js +1 -0
  75. package/dist/components/Grid/core/components/Save/components/ChangeEditor/ChangeEditor.js +1 -0
  76. package/dist/components/Grid/core/components/Save/components/ChangeEditor/components/RecordGrids/RecordGrids.js +1 -0
  77. package/dist/components/Grid/core/components/Save/components/ChangeEditor/components/RecordGrids/styles.js +1 -0
  78. package/dist/components/Grid/core/components/Save/components/ChangeEditor/styles.js +1 -0
  79. package/dist/components/Grid/core/components/Save/hooks/useSave.js +1 -0
  80. package/dist/components/Grid/core/components/Save/styles.js +1 -0
  81. package/dist/components/Grid/core/controllers/useGridController.js +1 -0
  82. package/dist/components/Grid/core/enums/ConditionOperator.js +1 -0
  83. package/dist/components/Grid/core/enums/DataType.js +1 -0
  84. package/dist/components/Grid/core/hooks/useGridInstance.js +1 -0
  85. package/dist/components/Grid/core/hooks/useRefreshCallback.js +1 -0
  86. package/dist/components/Grid/core/hooks/useRerender.js +1 -0
  87. package/dist/components/Grid/core/interfaces/IGridColumn.js +1 -0
  88. package/dist/components/Grid/core/interfaces/IGridContext.js +1 -0
  89. package/dist/components/Grid/core/model/Grid.d.ts +5 -6
  90. package/dist/components/Grid/core/model/Grid.js +1 -0
  91. package/dist/components/Grid/core/model/GridDependency.d.ts +3 -3
  92. package/dist/components/Grid/core/model/GridDependency.js +1 -0
  93. package/dist/components/Grid/core/model/Metadata.d.ts +1 -1
  94. package/dist/components/Grid/core/model/Metadata.js +1 -0
  95. package/dist/components/Grid/core/services/RecordUpdateService/controllers/useRecordUpdateServiceController.js +1 -0
  96. package/dist/components/Grid/core/services/RecordUpdateService/model/RecordUpdateService.js +1 -0
  97. package/dist/components/Grid/filtering/components/FilterCallout/FilterCallout.js +1 -0
  98. package/dist/components/Grid/filtering/components/FilterCallout/components/ConditionOperator/ConditionOperator.js +1 -0
  99. package/dist/components/Grid/filtering/components/FilterCallout/components/ConditionValue/ConditionValue.js +1 -0
  100. package/dist/components/Grid/filtering/components/FilterCallout/components/ConditionValue/model/ConditionComponentValue.js +1 -0
  101. package/dist/components/Grid/filtering/components/FilterCallout/styles.js +1 -0
  102. package/dist/components/Grid/filtering/constants.js +1 -0
  103. package/dist/components/Grid/filtering/controller/useColumnFilterConditionController.js +1 -0
  104. package/dist/components/Grid/filtering/model/Condition.d.ts +1 -1
  105. package/dist/components/Grid/filtering/model/Condition.js +1 -0
  106. package/dist/components/Grid/filtering/model/Filtering.js +1 -0
  107. package/dist/components/Grid/filtering/utils/FilteringUtilts.js +1 -0
  108. package/dist/components/Grid/index.d.ts +2 -0
  109. package/dist/components/Grid/index.js +1 -0
  110. package/dist/components/Grid/interfaces.d.ts +6 -233
  111. package/dist/components/Grid/interfaces.js +1 -0
  112. package/dist/components/Grid/paging/components/Paging/Paging.js +1 -0
  113. package/dist/components/Grid/paging/components/Paging/styles.js +1 -0
  114. package/dist/components/Grid/paging/controllers/usePagingController.js +1 -0
  115. package/dist/components/Grid/paging/model/Paging.js +1 -0
  116. package/dist/components/Grid/selection/controllers/useSelectionController.js +1 -0
  117. package/dist/components/Grid/selection/model/Selection.d.ts +1 -1
  118. package/dist/components/Grid/selection/model/Selection.js +1 -0
  119. package/dist/components/Grid/sorting/Sorting.d.ts +1 -1
  120. package/dist/components/Grid/sorting/Sorting.js +1 -0
  121. package/dist/components/Grid/sorting/components/SortingContextualMenu/SortingContextualMenu.js +1 -0
  122. package/dist/components/Grid/sorting/components/SortingContextualMenu/styles.js +1 -0
  123. package/dist/components/Grid/sorting/controllers/useColumnSortingController.d.ts +1 -1
  124. package/dist/components/Grid/sorting/controllers/useColumnSortingController.js +1 -0
  125. package/dist/components/Grid/translations.d.ts +306 -2
  126. package/dist/components/Grid/translations.js +1 -0
  127. package/dist/components/Grid/validation/controllers/useRecordValidationController.d.ts +1 -1
  128. package/dist/components/Grid/validation/controllers/useRecordValidationController.js +1 -0
  129. package/dist/components/Grid/validation/model/ColumnValidation.js +1 -0
  130. package/dist/components/Lookup/Lookup.js +1 -1
  131. package/dist/components/Lookup/components/RecordCreator.js +1 -0
  132. package/dist/components/Lookup/components/TargetSelector.d.ts +2 -3
  133. package/dist/components/Lookup/components/TargetSelector.js +1 -0
  134. package/dist/components/Lookup/hooks/useFetchXml.d.ts +1 -1
  135. package/dist/components/Lookup/hooks/useFetchXml.js +1 -0
  136. package/dist/components/Lookup/hooks/useLoadedEntities.js +1 -0
  137. package/dist/components/Lookup/hooks/useLookup.d.ts +35 -5
  138. package/dist/components/Lookup/hooks/useLookup.js +1 -0
  139. package/dist/components/Lookup/index.d.ts +3 -0
  140. package/dist/components/Lookup/index.js +1 -0
  141. package/dist/components/Lookup/interfaces.d.ts +5 -23
  142. package/dist/components/Lookup/interfaces.js +1 -0
  143. package/dist/components/Lookup/styles.d.ts +7 -15
  144. package/dist/components/Lookup/styles.js +1 -0
  145. package/dist/components/Lookup/translations.d.ts +30 -2
  146. package/dist/components/Lookup/translations.js +1 -0
  147. package/dist/components/MultiSelectOptionSet/MultiSelectOptionSet.js +1 -1
  148. package/dist/components/MultiSelectOptionSet/index.d.ts +2 -0
  149. package/dist/components/MultiSelectOptionSet/index.js +1 -0
  150. package/dist/components/MultiSelectOptionSet/interfaces.d.ts +5 -4
  151. package/dist/components/MultiSelectOptionSet/interfaces.js +1 -0
  152. package/dist/components/OptionSet/OptionSet.js +1 -1
  153. package/dist/components/OptionSet/index.d.ts +2 -0
  154. package/dist/components/OptionSet/index.js +1 -0
  155. package/dist/components/OptionSet/interfaces.d.ts +5 -6
  156. package/dist/components/OptionSet/interfaces.js +1 -0
  157. package/dist/components/TextField/TextField.js +1 -1
  158. package/dist/components/TextField/index.d.ts +2 -0
  159. package/dist/components/TextField/index.js +1 -0
  160. package/dist/components/TextField/interfaces.d.ts +4 -5
  161. package/dist/components/TextField/interfaces.js +1 -0
  162. package/dist/components/TwoOptions/TwoOptions.js +1 -1
  163. package/dist/components/TwoOptions/index.js +1 -0
  164. package/dist/components/TwoOptions/interfaces.d.ts +3 -4
  165. package/dist/components/TwoOptions/interfaces.js +1 -0
  166. package/dist/constants.js +1 -0
  167. package/dist/hooks/index.d.ts +6 -1
  168. package/dist/hooks/index.js +1 -1
  169. package/dist/hooks/useControl.d.ts +23 -0
  170. package/dist/hooks/useControl.js +1 -0
  171. package/dist/hooks/useControlSizing.d.ts +5 -0
  172. package/dist/hooks/useControlSizing.js +1 -0
  173. package/dist/hooks/useControlTheme.d.ts +3 -0
  174. package/dist/hooks/useControlTheme.js +1 -0
  175. package/dist/hooks/useFocusIn.d.ts +1 -1
  176. package/dist/hooks/useFocusIn.js +1 -1
  177. package/dist/hooks/{useInputBasedComponent.d.ts → useInputBasedControl.d.ts} +6 -6
  178. package/dist/hooks/useInputBasedControl.js +1 -0
  179. package/dist/index.d.ts +793 -14
  180. package/dist/index.js +1 -0
  181. package/dist/interfaces/context.d.ts +9 -7
  182. package/dist/interfaces/context.js +1 -0
  183. package/dist/interfaces/index.js +1 -0
  184. package/dist/interfaces/parameters.d.ts +6 -2
  185. package/dist/interfaces/parameters.js +1 -0
  186. package/dist/interfaces/property.d.ts +1 -1
  187. package/dist/interfaces/property.js +1 -0
  188. package/dist/interfaces/theme.d.ts +6 -0
  189. package/dist/interfaces/theme.js +1 -0
  190. package/dist/utils/Numeral.d.ts +1 -1
  191. package/dist/{Numeral-a0284afb.js → utils/Numeral.js} +1 -1
  192. package/dist/utils/Theme.d.ts +4 -0
  193. package/dist/utils/Theme.js +1 -0
  194. package/dist/utils/index.d.ts +2 -0
  195. package/dist/utils/index.js +1 -0
  196. package/package.json +25 -26
  197. package/stats.html +4842 -0
  198. package/dist/Lookup-4b87c562.js +0 -1
  199. package/dist/components/Lookup/lib.d.ts +0 -1164
  200. package/dist/components/TextField/hooks/useTextField.d.ts +0 -1
  201. package/dist/hooks/useComponent.d.ts +0 -15
  202. package/dist/hooks/useComponent.js +0 -1
  203. package/dist/hooks/useComponentSizing.d.ts +0 -5
  204. package/dist/hooks/useComponentSizing.js +0 -1
  205. package/dist/hooks/useInputBasedComponent.js +0 -1
  206. package/dist/types/index.d.ts +0 -3
@@ -1,1164 +0,0 @@
1
- export declare namespace Sdk.FetchXml {
2
- class attribute {
3
- /**
4
- * Contains the data for a fetchXml attribute element.
5
- * @param name The logical name of the attribute
6
- */
7
- constructor(name: string);
8
- private _name;
9
- private _build;
10
- private _addedBy;
11
- private _alias;
12
- private _aggregate;
13
- private _groupBy;
14
- private _dateGrouping;
15
- private _userTimeZone;
16
- /**
17
- *Gets or sets logical name of the attribute
18
- */
19
- get name(): string;
20
- set name(value: string);
21
- /**
22
- *Gets or sets the build of the attribute
23
- */
24
- get build(): Build;
25
- set build(value: Build);
26
- /**
27
- *Gets or sets the addedBy property of the attribute
28
- */
29
- get addedBy(): string;
30
- set addedBy(value: string);
31
- /**
32
- *Gets or sets the alias property of the attribute
33
- */
34
- get alias(): string;
35
- set alias(value: string);
36
- /**
37
- *Gets or sets the aggregate property of the attribute
38
- */
39
- get aggregate(): Aggregate;
40
- set aggregate(value: Aggregate);
41
- /**
42
- *Gets or sets the groupBy property of the attribute
43
- */
44
- get groupBy(): boolean;
45
- set groupBy(value: boolean);
46
- /**
47
- * Gets or sets the dateGrouping property of the attribute
48
- */
49
- get dateGrouping(): DateGrouping;
50
- set dateGrouping(value: DateGrouping);
51
- /**
52
- *Gets or sets the userTimeZone property of the attribute
53
- */
54
- get userTimeZone(): boolean;
55
- set userTimeZone(value: boolean);
56
- /** @description Sets the name property of the attribute attribute
57
- * @param {string} name The name value to apply to the attribute
58
- * @returns {Sdk.FetchXml.attribute}
59
- */
60
- setName(name: string): this;
61
- /** @description Sets the build property of the build attribute
62
- * @param {Sdk.FetchXml.Build | null} build The build value to apply to the attribute
63
- * @returns {Sdk.FetchXml.attribute}
64
- */
65
- setBuild(build?: Build): this;
66
- /** @description Sets the addedBy property of the attribute attribute
67
- * @param {string | null} addedBy The addedBy value to apply to the attribute
68
- * @returns {Sdk.FetchXml.attribute}
69
- */
70
- setAddedBy(addedBy?: string): this;
71
- /** @description Sets the alias property of the attribute attribute
72
- * @param {string} alias The alias value to apply to the attribute
73
- * @returns {Sdk.FetchXml.attribute}
74
- */
75
- setAlias(alias?: string): this;
76
- /** @description Sets the aggregate property of the attribute attribute
77
- * @param {Sdk.FetchXml.Aggregate | null } aggregate The aggregate value to apply to the attribute
78
- * @returns {Sdk.FetchXml.attribute}
79
- */
80
- setAggregate(aggregate?: Aggregate): this;
81
- /** @description Sets the groupBy property of the attribute attribute
82
- * @param {boolean | null} groupBy The groupBy value to apply to the attribute
83
- * @returns {Sdk.FetchXml.attribute}
84
- */
85
- setGroupBy(groupBy?: boolean): this;
86
- /** @description Sets the dateGrouping property of the attribute attribute
87
- * @param {Sdk.FetchXml.DateGrouping | null} dateGrouping The dateGrouping value to apply to the attribute
88
- * @returns {Sdk.FetchXml.attribute}
89
- */
90
- setDateGrouping(dateGrouping?: DateGrouping): this;
91
- /** @description Sets the userTimeZone property of the attribute attribute
92
- * @param {boolean | null} userTimeZone The userTimeZone value to apply to the attribute
93
- * @returns {Sdk.FetchXml.attribute}
94
- */
95
- setUserTimeZone(userTimeZone?: boolean): this;
96
- toXml(doc: XMLDocument): Node;
97
- static attributeFromXml(xml: any): attribute;
98
- }
99
- class condition {
100
- /**
101
- * Contains the data for a fetchXml condition element.
102
- * @param attribute The attribute to evaluate in the condition
103
- * @param operator The operator to use when evaluating the attribute
104
- * @param [values] The value(s) to apply in the comparison.
105
- */
106
- constructor(attribute: string, operator: Sdk.FetchXml.Operator, values?: Array<Sdk.FetchXml.value>);
107
- private _aggregate;
108
- private _alias;
109
- private _attribute;
110
- private _column;
111
- private _entityname;
112
- private _operator;
113
- private _rowAggregate;
114
- private _uihidden;
115
- private _uiname;
116
- private _uitype;
117
- private _values;
118
- /**
119
- * Gets or sets the aggregate value to apply to the condition.
120
- */
121
- get aggregate(): Sdk.FetchXml.Aggregate;
122
- set aggregate(value: Sdk.FetchXml.Aggregate);
123
- /**
124
- * Gets or sets the alias value to apply to the condition.
125
- */
126
- get alias(): string;
127
- set alias(value: string);
128
- /**
129
- * Gets or sets the attribute value to apply to the condition.
130
- */
131
- get attribute(): string;
132
- set attribute(value: string);
133
- /**
134
- * Gets or sets the column attribute value to apply to the condition.
135
- */
136
- get column(): string;
137
- set column(value: string);
138
- /**
139
- * Gets or sets the entityname attribute value to apply to the condition.
140
- */
141
- get entityname(): string;
142
- set entityname(value: string);
143
- /**
144
- * Gets or sets the operator attribute value to apply to the condition.
145
- */
146
- get operator(): Sdk.FetchXml.Operator;
147
- set operator(value: Sdk.FetchXml.Operator);
148
- /**
149
- * Gets or sets the rowAggregate attribute value to apply to the condition.
150
- */
151
- get rowAggregate(): Sdk.FetchXml.RowAggregate;
152
- set rowAggregate(value: Sdk.FetchXml.RowAggregate);
153
- /**
154
- * Gets or sets the uihidden attribute value to apply to the condition.
155
- */
156
- get uihidden(): boolean;
157
- set uihidden(value: boolean);
158
- /**
159
- * Gets or sets the uiname attribute value to apply to the condition.
160
- */
161
- get uiname(): string;
162
- set uiname(value: string);
163
- /**
164
- * Gets or sets the uitype attribute value to apply to the condition.
165
- */
166
- get uitype(): string;
167
- set uitype(value: string);
168
- /**
169
- * Gets or sets the array of values to be applied to the query results
170
- */
171
- get values(): Array<Sdk.FetchXml.value>;
172
- set values(value: Array<Sdk.FetchXml.value>);
173
- get hash(): string;
174
- /** @description Sets the value of the condition attribute
175
- * @param {string} attribute The attribute to evaluate in the condition.
176
- * @returns {Sdk.FetchXml.condition}
177
- */
178
- setAttribute(attributeName: any): this;
179
- /** @description Sets the value of the condition attribute
180
- * @param {Sdk.FetchXml.Operator} operator The operator to use when evaluating the attribute.
181
- * @returns {Sdk.FetchXml.condition}
182
- */
183
- setOperator(operator: any): this;
184
- /** @description Sets the value of the condition operator
185
- * @param {Array} values The the value(s) to apply in the comparison.
186
- * @returns {Sdk.FetchXml.condition}
187
- */
188
- setValues(values: any): this;
189
- /** @description Adds a value to the values to apply in the comparison
190
- * @param {Sdk.FetchXml.value | any} value The the value to add to the values.
191
- * @returns {Sdk.FetchXml.condition}
192
- */
193
- addValue(value: any): this;
194
- /** @description Removes any values from the values collection by reference
195
- * @param {Sdk.FetchXml.value} value The value to remove from the values collection
196
- * @returns {Sdk.FetchXml.condition}
197
- */
198
- removeValueByRef(value: any): this;
199
- /** @description Removes all matching values from the values collection
200
- * @param {Sdk.FetchXml.value} value The value to remove from the values collection
201
- * @returns {Sdk.FetchXml.condition}
202
- */
203
- removeValue(value: any): this;
204
- /** @description Removes all any values from the values collection with the specified value property
205
- * @param {object} value The value to remove from the values collection
206
- * @returns {Sdk.FetchXml.condition}
207
- */
208
- removeValueByValue(value: any): this;
209
- /** @description Sets the Aggregate to apply in the condition
210
- * @param {Sdk.FetchXml.Aggregate} aggregate The Aggregate to apply in the condition
211
- * @returns {Sdk.FetchXml.condition}
212
- */
213
- setAggregate(aggregate: any): this;
214
- /** @description Sets the Alias to apply in the condition
215
- * @param {string} alias The alias to apply in the condition
216
- * @returns {Sdk.FetchXml.condition}
217
- */
218
- setAlias(alias: any): this;
219
- /** @description Sets the Column to apply in the condition
220
- * @param {string} column The column to apply in the condition
221
- * @returns {Sdk.FetchXml.condition}
222
- */
223
- setColumn(column: any): this;
224
- /** @description Sets the entityname to apply in the condition
225
- * @param {string} entityname The entityname to apply in the condition
226
- * @returns {Sdk.FetchXml.condition}
227
- */
228
- setEntityname(entityname: any): this;
229
- /** @description Sets the rowAggregate to apply in the condition
230
- * @param {Sdk.FetchXml.RowAggregate} rowAggregate The rowAggregate to apply in the condition
231
- * @returns {Sdk.FetchXml.condition}
232
- */
233
- setRowAggregate(rowAggregate: any): this;
234
- /** @description Sets the uihidden to apply in the condition
235
- * @param {boolean | null} uihidden The uihidden to apply in the condition
236
- * @returns {Sdk.FetchXml.condition}
237
- */
238
- setUIhidden(uihidden: any): this;
239
- /** @description Sets the uiname to apply in the condition
240
- * @param {string} uihidden The uiname to apply in the condition
241
- * @returns {Sdk.FetchXml.condition}
242
- */
243
- setUIname(uiname: any): this;
244
- /** @description Sets the uitype to apply in the condition
245
- * @param {string} uitype The uitype to apply in the condition
246
- * @returns {Sdk.FetchXml.condition}
247
- */
248
- setUItype(uitype: any): this;
249
- toXml(doc: XMLDocument): Node;
250
- static conditionFromXml(xml: any): condition;
251
- }
252
- class entity {
253
- /**
254
- * Contains the data for a fetchXml entity element.
255
- * @param name The logical name of the attribute
256
- * @param [attributes] The attributes to include with the entity
257
- * @param [orders] The orders to apply to the query
258
- * @param [filters] The filters to apply to the query
259
- */
260
- constructor(name: string, attributes?: Array<Sdk.FetchXml.attribute>, orders?: Array<Sdk.FetchXml.order>, filters?: Array<Sdk.FetchXml.filter>);
261
- private _allAttributes;
262
- private _attributes;
263
- private _orders;
264
- private _linkEntities;
265
- private _filters;
266
- private _name;
267
- /**
268
- * Gets or sets whether all attributes for the entity should be returned
269
- */
270
- get allAttributes(): boolean;
271
- set allAttributes(value: boolean);
272
- /**
273
- * Gets or sets the array of attribute of the entity to be returned in the query results
274
- */
275
- get attributes(): Array<Sdk.FetchXml.attribute>;
276
- set attributes(value: Array<Sdk.FetchXml.attribute>);
277
- /**
278
- * Gets or sets the array of attribute of the entity to be returned in the query results
279
- */
280
- get orders(): Array<Sdk.FetchXml.order>;
281
- set orders(value: Array<Sdk.FetchXml.order>);
282
- /**
283
- * Gets or sets the array of related entities to be returned in the query results
284
- */
285
- get linkEntities(): Array<Sdk.FetchXml.linkEntity>;
286
- set linkEntities(value: Array<Sdk.FetchXml.linkEntity>);
287
- /**
288
- * Gets or sets the array of filters to be applied to the query results
289
- */
290
- get filters(): Array<Sdk.FetchXml.filter>;
291
- set filters(value: Array<Sdk.FetchXml.filter>);
292
- /**
293
- * Gets or sets the logical name of the entity
294
- */
295
- get name(): string;
296
- set name(value: string);
297
- /** @description Adds an attribute to the attribute collection
298
- * @param {Sdk.FetchXml.attribute | string} attributeOrAttributeName the attribute or attribute name to add
299
- * @returns {Sdk.FetchXml.entity}
300
- */
301
- addAttribute(attributeOrAttributeName: Sdk.FetchXml.attribute | string): this;
302
- /** @description Removes an attribute from the attributes collection by name
303
- * @param {string} attributeName The name of the attribute to remove
304
- * @returns {Sdk.FetchXml.entity}
305
- */
306
- removeAttributeByName(attributeName: string): void;
307
- /** @description Removes an attribute from the attributes collection by reference
308
- * @param {Sdk.FetchXml.attribute} attribute The attribute to remove
309
- * @returns {Sdk.FetchXml.entity}
310
- */
311
- removeAttributeByRef(attribute: Sdk.FetchXml.attribute): void;
312
- /** @description Removes an attribute from the attributes collection
313
- * @param {Sdk.FetchXml.attribute} attribute The attribute to remove
314
- * @returns {Sdk.FetchXml.entity}
315
- */
316
- removeAttribute(attribute: Sdk.FetchXml.attribute): void;
317
- /** @description Adds an order to the orders collection
318
- * @param {Sdk.FetchXml.order | string} orderOrAttribute The order to add to the attributes collection or the Attribute property of a new order to create
319
- * @param {boolean} descending Whether the order is descending. True if descending, otherwise false
320
- * @param {string} alias The alias to set for the order
321
- * @returns {Sdk.FetchXml.entity}
322
- */
323
- addOrder(orderOrAttribute: any, descending?: any, alias?: any): this;
324
- /** @description Removes a order from the orders collection by reference
325
- * @param {Sdk.FetchXml.order} order The order to remove from the orders collection
326
- * @returns {Sdk.FetchXml.entity}
327
- */
328
- removeOrderByRef(order: Sdk.FetchXml.order): this;
329
- /** @description Removes a order from the orders collection by value
330
- * @param {Sdk.FetchXml.order} order The order to remove from the orders collection
331
- * @returns {Sdk.FetchXml.entity}
332
- */
333
- removeOrder(order: any): this;
334
- /** @description Sets the name property of the entity element
335
- * @param {string} name The name value to apply to the entity
336
- * @returns {Sdk.FetchXml.entity}
337
- */
338
- setName(name: string): this;
339
- /** @description Sets the allAttributes property of the entity
340
- * @param {boolean} [allAttributes] The allAttributes value to apply to the entity. The default is true;
341
- * @returns {Sdk.FetchXml.entity}
342
- */
343
- setAllAttributes(allAttributes?: boolean): this;
344
- /** @description Adds an linkEntity to the linkEntities collection
345
- * @param {Sdk.FetchXml.linkEntity} linkEntity The linkEntity to add to the entity
346
- * @returns {Sdk.FetchXml.entity}
347
- */
348
- addLinkEntity(linkEntity: Sdk.FetchXml.linkEntity): this;
349
- /** @description Removes a linkEntity from the linkEntities collection by reference
350
- * @param {Sdk.FetchXml.linkEntity} linkEntity The linkEntity to remove from the linkEntities collection
351
- * @returns {Sdk.FetchXml.entity}
352
- */
353
- removeLinkEntityByRef(linkEntity: Sdk.FetchXml.linkEntity): this;
354
- /** @description Removes a linkEntity from the linkEntities collection by value
355
- * @param {Sdk.FetchXml.linkEntity} linkEntity The linkEntity to remove from the linkEntities collection
356
- * @returns {Sdk.FetchXml.entity}
357
- */
358
- removeLinkEntity(linkEntity: Sdk.FetchXml.linkEntity): this;
359
- /** @description Adds an filter to the filters collection
360
- * @param {Sdk.FetchXml.filter} filter The filter to add to the entity
361
- * @returns {Sdk.FetchXml.entity}
362
- */
363
- addFilter(filter: Sdk.FetchXml.filter): this;
364
- /** @description Removes a filter from the filters collection by reference
365
- * @param {Sdk.FetchXml.filter} filter The filter to remove from the filters collection
366
- * @returns {Sdk.FetchXml.entity}
367
- */
368
- removeFilterByRef(filter: Sdk.FetchXml.filter): this;
369
- /** @description Removes a filter from the filters collection by value
370
- * @param {Sdk.FetchXml.filter} filter The filter to remove from the filters collection
371
- * @returns {Sdk.FetchXml.entity}
372
- */
373
- removeFilter(filter: Sdk.FetchXml.filter): this;
374
- toXml(doc: XMLDocument): Node;
375
- static entityFromXml(xml: any): entity;
376
- }
377
- class fetch {
378
- /**
379
- * Contains the data for a fetchXml fetch element.
380
- * @param entity The entity that is being queried
381
- */
382
- constructor(entity?: Sdk.FetchXml.entity);
383
- private _aggregate;
384
- private _count;
385
- private _distinct;
386
- private _entity;
387
- private _mapping;
388
- private _minActiveRowVersion;
389
- private _noLock;
390
- private _order;
391
- private _outputFormat;
392
- private _page;
393
- private _pagingCookie;
394
- private _returnTotalRecordCount;
395
- private _top;
396
- private _utcOffset;
397
- private _version;
398
- /**
399
- * Gets or sets the aggregate attribute of the fetch element.
400
- */
401
- get aggregate(): boolean;
402
- set aggregate(value: boolean);
403
- /**
404
- * Gets or sets the count attribute of the fetch element.
405
- */
406
- get count(): number;
407
- set count(value: number);
408
- /**
409
- * Gets or sets the distinct attribute of the fetch element.
410
- */
411
- get distinct(): boolean;
412
- set distinct(value: boolean);
413
- /**
414
- * Gets or sets the entity attribute of the fetch element.
415
- */
416
- get entity(): Sdk.FetchXml.entity;
417
- set entity(value: Sdk.FetchXml.entity);
418
- /**
419
- * Gets or sets the mapping attribute of the fetch element.
420
- */
421
- get mapping(): Sdk.FetchXml.Mapping;
422
- set mapping(value: Sdk.FetchXml.Mapping);
423
- /**
424
- * Gets or sets the minActiveRowVersion attribute of the fetch element.
425
- */
426
- get minActiveRowVersion(): boolean;
427
- set minActiveRowVersion(value: boolean);
428
- /**
429
- * Gets or sets the noLock attribute of the fetch element.
430
- */
431
- get noLock(): boolean;
432
- set noLock(value: boolean);
433
- /**
434
- * Gets or sets the order attribute of the fetch element.
435
- */
436
- get order(): Sdk.FetchXml.order;
437
- set order(value: Sdk.FetchXml.order);
438
- /**
439
- * Gets or sets the outputFormat attribute of the fetch element.
440
- */
441
- get outputFormat(): Sdk.FetchXml.OutputFormat;
442
- set outputFormat(value: Sdk.FetchXml.OutputFormat);
443
- /**
444
- * Gets or sets the page attribute of the fetch element.
445
- */
446
- get page(): number;
447
- set page(value: number);
448
- /**
449
- * Gets or sets the pagingCookie attribute of the fetch element.
450
- */
451
- get pagingCookie(): string;
452
- set pagingCookie(value: string);
453
- /**
454
- * Gets or sets the returnTotalRecordCount attribute of the fetch element.
455
- */
456
- get returnTotalRecordCount(): boolean;
457
- set returnTotalRecordCount(value: boolean);
458
- /**
459
- * Gets or sets the top attribute of the fetch element.
460
- */
461
- get top(): number;
462
- set top(value: number);
463
- /**
464
- * Gets or sets the utcOffset attribute of the fetch element.
465
- */
466
- get utcOffset(): number;
467
- set utcOffset(value: number);
468
- /**
469
- * Gets or sets the version attribute of the fetch element.
470
- */
471
- get version(): string;
472
- set version(value: string);
473
- /** @description Sets the aggregate attribute of the fetch element
474
- * @param {boolean | null} aggregate The aggregate value to apply to the fetch element
475
- * @returns {Sdk.FetchXml.fetch}
476
- */
477
- setAggregate(aggregate?: boolean): this;
478
- /** @description Sets the count attribute of the fetch element
479
- * @param {number | null} count The count value to apply to the fetch element
480
- * @returns {Sdk.FetchXml.fetch}
481
- */
482
- setCount(count?: number): this;
483
- /** @description Sets the distinct attribute of the fetch element
484
- * @param {boolean | null} distinct The distinct value to apply to the fetch element
485
- * @returns {Sdk.FetchXml.fetch}
486
- */
487
- setDistinct(distinct?: boolean): this;
488
- /** @description Sets the aggregate entity of the fetch element
489
- * @param {Sdk.FetchXml.entity} entity The entity value to apply to the fetch element
490
- * @returns {Sdk.FetchXml.fetch}
491
- */
492
- setEntity(entity: Sdk.FetchXml.entity): this;
493
- /** @description Sets the mapping attribute of the fetch element
494
- * @param {Sdk.FetchXml.Mapping} mapping The mapping value to apply to the fetch element
495
- * @returns {Sdk.FetchXml.fetch}
496
- */
497
- setMapping(mapping?: Sdk.FetchXml.Mapping): this;
498
- /** @description Sets the minActiveRowVersion attribute of the fetch element
499
- * @param {boolean | null} minActiveRowVersion The minActiveRowVersion value to apply to the fetch element
500
- * @returns {Sdk.FetchXml.fetch}
501
- */
502
- setMinActiveRowVersion(minActiveRowVersion?: boolean): this;
503
- /** @description Sets the noLock attribute of the fetch element
504
- * @param {boolean | null} noLock The noLock value to apply to the fetch element
505
- * @returns {Sdk.FetchXml.fetch}
506
- */
507
- setNoLock(noLock?: boolean): this;
508
- /** @description Sets the order attribute of the fetch element
509
- * @param {Sdk.FetchXml.order | null} order The order value to apply to the fetch element
510
- * @returns {Sdk.FetchXml.fetch}
511
- */
512
- setOrder(order?: Sdk.FetchXml.order): this;
513
- /** @description Sets the outputFormat attribute of the fetch element
514
- * @param {Sdk.FetchXml.OutputFormat | null} outputFormat The outputFormat value to apply to the fetch element
515
- * @returns {Sdk.FetchXml.fetch}
516
- */
517
- setOutputFormat(outputFormat?: Sdk.FetchXml.OutputFormat): this;
518
- /** @description Sets the page attribute of the fetch element
519
- * @param {number | null} page The page value to apply to the fetch element
520
- * @returns {Sdk.FetchXml.fetch}
521
- */
522
- setPage(page?: number): this;
523
- /** @description Sets the pagingCookie attribute of the fetch element
524
- * @param {string | null} pagingCookie The pagingCookie value to apply to the fetch element
525
- * @returns {Sdk.FetchXml.fetch}
526
- */
527
- setPagingCookie(pagingCookie?: string): this;
528
- /** @description Sets the returnTotalRecordCount attribute of the fetch element
529
- * @param {boolean} returnTotalRecordCount The returnTotalRecordCount value to apply to the fetch element
530
- * @returns {Sdk.FetchXml.fetch}
531
- */
532
- setReturnTotalRecordCount(returnTotalRecordCount?: boolean): this;
533
- /** @description Sets the top attribute of the fetch element
534
- * @param {number | null} top The top value to apply to the fetch element
535
- * @returns {Sdk.FetchXml.fetch}
536
- */
537
- setTop(top?: number): this;
538
- /** @description Sets the utcOffset attribute of the fetch element
539
- * @param {number | null} utcOffset The utcOffset value to apply to the fetch element
540
- * @returns {Sdk.FetchXml.fetch}
541
- */
542
- setUtcOffset(utcOffset?: number): this;
543
- /** @description Sets the version attribute of the fetch element
544
- * @param {string | null} version The version value to apply to the fetch element
545
- * @returns {Sdk.FetchXml.fetch}
546
- */
547
- setVersion(version?: string): this;
548
- /**
549
- * Serializes the fetch query into a FetchXML string
550
- */
551
- toXml(): string;
552
- /**
553
- * Instantiates a fetch object from a fetchXml string
554
- * @param xml A FetchXML string
555
- * @returns Sdk.FetchXml.fetch
556
- */
557
- static fromXml(xml: string): fetch;
558
- }
559
- class filter {
560
- /** @description Contains the data for a fetchXml filter element.
561
- * @param [type] The type of filter: 'and' or 'or'. Default is 'and'
562
- * @param [conditions] An array of Sdk.FetchXml.condition to apply to the filter
563
- * @param [filters] An array of Sdk.FetchXml.filter to apply to the filter
564
- * @property conditions Gets or sets the array of Sdk.FetchXml.condition to apply in the filter
565
- * @property filters Gets or sets the array of Sdk.FetchXml.filter to apply to the filter
566
- * @property type Gets or sets the type of filter.
567
- * @property isQuickFindFields Gets or sets the isQuickFindFields property of the filter
568
- * @returns {Sdk.FetchXml.filter}
569
- */
570
- constructor(type?: string, conditions?: Array<condition>, filters?: Array<filter>);
571
- private _conditions;
572
- private _filters;
573
- private _type;
574
- private _isQuickFindFields;
575
- /**
576
- * Gets or sets the array of condition to be applied to the query results
577
- */
578
- get conditions(): Array<condition>;
579
- set conditions(value: Array<condition>);
580
- /**
581
- * Gets or sets the array of filters to be applied to the query results
582
- */
583
- get filters(): Array<filter>;
584
- set filters(value: Array<filter>);
585
- /**
586
- * Gets or sets the type property of the filter
587
- */
588
- get type(): FilterType;
589
- set type(value: FilterType);
590
- /**
591
- * Gets or sets the isQuickFindFields property of the filter
592
- */
593
- get isQuickFindFields(): boolean;
594
- set isQuickFindFields(value: boolean);
595
- /** @description Adds a condition to the conditions collection
596
- * @param {Sdk.FetchXml.attribute | Sdk.FetchXml.condition} attributeOrCondition When Sdk.FetchXml.condition the condition is added.
597
- When Sdk.FetchXml.attribute, the attribute property of a new condition
598
- * @param {Sdk.FetchXml.Operator} [operator] The operator property for a new condition. Required when the first parameter is an Sdk.FetchXml.attribute
599
- * @param {Array} [values] The values to compare for a new condition.
600
- * @returns {Sdk.FetchXml.filter}
601
- */
602
- addCondition(attributeOrCondition: any, operator?: any, values?: any): this;
603
- /** @description Removes a condition from the conditions collection by reference
604
- * @param {Sdk.FetchXml.condition} condition The condition to remove from the conditions collection
605
- * @returns {Sdk.FetchXml.filter}
606
- */
607
- removeConditionByRef(condition: any): this;
608
- /** @description Removes a condition from the conditions collection by value
609
- * @param {Sdk.FetchXml.condition} condition The condition to remove from the conditions collection
610
- * @returns {Sdk.FetchXml.filter}
611
- */
612
- removeCondition(condition: any): this;
613
- /** @description Adds a filter to the filters collection
614
- * @param {Sdk.FetchXml.filter} filter The filter to add to the filters collectio
615
- * @returns {Sdk.FetchXml.filter}
616
- */
617
- addFilter(filter: any): this;
618
- /** @description Removes all references to a filter object
619
- * @param {Sdk.FetchXml.filter} filter The filter to remove from the filters collectio
620
- * @returns {Sdk.FetchXml.filter}
621
- */
622
- removeFilterByRef(filter: any): this;
623
- /** @description Removes all matching filters from the filters collection
624
- * @param {Sdk.FetchXml.filter} filter The filter to remove from the filters collectio
625
- * @returns {Sdk.FetchXml.filter}
626
- */
627
- removeFilter(filter: any): this;
628
- /** @description Sets the isQuickFindFields property
629
- * @param {boolean | null} value The value to set
630
- * @returns {Sdk.FetchXml.filter}
631
- */
632
- setIsQuickFindFields(value: any): this;
633
- /** @description Sets the type property
634
- * @param {Sdk.FetchXml.FilterType} value The value to set
635
- * @returns {Sdk.FetchXml.filter}
636
- */
637
- setType(value: any): this;
638
- toXml(doc: XMLDocument): Node;
639
- static filterFromXml(xml: any): filter;
640
- }
641
- class linkEntity {
642
- /**
643
- * Contains the data for a fetchXml link-entity element.
644
- * @param name The logical name of the entity
645
- * @param from The from property of the linkEntity
646
- * @param to The to property of the linkEntity
647
- * @param linktype The linktype property of the linkEntity
648
- * @param alias The alias property of the linkEntity
649
- */
650
- constructor(name: string, from?: string, to?: string, linktype?: string, alias?: string);
651
- private _name;
652
- private _alias;
653
- private _from;
654
- private _intersect;
655
- private _linktype;
656
- private _to;
657
- private _visible;
658
- private _allAttributes;
659
- private _attributes;
660
- private _orders;
661
- private _linkEntities;
662
- private _filters;
663
- /**
664
- * Gets or sets the name property of the linkEntity
665
- */
666
- get name(): string;
667
- set name(value: string);
668
- /**
669
- * Gets or sets the alias property of the linkEntity
670
- */
671
- get alias(): string;
672
- set alias(value: string);
673
- /**
674
- * Gets or sets the from property of the linkEntity
675
- */
676
- get from(): string;
677
- set from(value: string);
678
- /**
679
- * Gets or sets the intersect property of the linkEntity
680
- */
681
- get intersect(): boolean;
682
- set intersect(value: boolean);
683
- /**
684
- * Gets or sets the linktype property of the linkEntity
685
- */
686
- get linktype(): string;
687
- set linktype(value: string);
688
- /**
689
- * Gets or sets the to property of the linkEntity
690
- */
691
- get to(): string;
692
- set to(value: string);
693
- /**
694
- * Gets or sets the visible property of the linkEntity
695
- */
696
- get visible(): boolean;
697
- set visible(value: boolean);
698
- /**
699
- * Gets or sets the allAttributes property of the linkEntity
700
- */
701
- get allAttributes(): boolean;
702
- set allAttributes(value: boolean);
703
- /**
704
- * Gets or sets the array of attribute of the entity to be returned in the query results
705
- */
706
- get attributes(): Array<attribute>;
707
- set attributes(value: Array<attribute>);
708
- /**
709
- * Gets or sets the array of attribute of the entity to be returned in the query results
710
- */
711
- get orders(): Array<order>;
712
- set orders(value: Array<order>);
713
- /**
714
- * Gets or sets the array of linkEntity to be applied to the query results
715
- */
716
- get linkEntities(): Array<linkEntity>;
717
- set linkEntities(value: Array<linkEntity>);
718
- /**
719
- * Gets or sets the array of filters to be applied to the query results
720
- */
721
- get filters(): Array<filter>;
722
- set filters(value: Array<filter>);
723
- get hash(): string;
724
- /** @description Sets the alias property of the linkEntity attribute
725
- * @param {string} alias The alias value to apply to the linkEntity
726
- * @returns {Sdk.FetchXml.linkEntity}
727
- */
728
- setAlias(alias: any): this;
729
- /** @description Sets the from property of the linkEntity attribute
730
- * @param {string} from The from value to apply to the linkEntity
731
- * @returns {Sdk.FetchXml.linkEntity}
732
- */
733
- setFrom(from: any): this;
734
- /** @description Sets the intersect property of the linkEntity attribute
735
- * @param {boolean | null} intersect The intersect value to apply to the linkEntity
736
- * @returns {Sdk.FetchXml.linkEntity}
737
- */
738
- setIntersect(intersect: any): this;
739
- /** @description Sets the name property of the linkEntity attribute
740
- * @param {string} name The name value to apply to the linkEntity
741
- * @returns {Sdk.FetchXml.linkEntity}
742
- */
743
- setName(name: any): this;
744
- /** @description Sets the to property of the linkEntity attribute
745
- * @param {string} to The to value to apply to the linkEntity
746
- * @returns {Sdk.FetchXml.linkEntity}
747
- */
748
- setTo(to: any): this;
749
- /** @description Sets the visible property of the linkEntity attribute
750
- * @param {boolean | null} visible The visible value to apply to the linkEntity
751
- * @returns {Sdk.FetchXml.linkEntity}
752
- */
753
- setVisible(visible: any): this;
754
- /** @description Sets the allAttributes property of the linkEntity attribute
755
- * @param {boolean} allAttributes The allAttributes value to apply to the linkEntity
756
- * @returns {Sdk.FetchXml.linkEntity}
757
- */
758
- setAllAttributes(allAttributes: any): this;
759
- /** @description Adds an linkEntity to the linkEntities collection
760
- * @param {Sdk.FetchXml.linkEntity} linkEntity The linkEntity to add to the linkEntities collection
761
- * @returns {Sdk.FetchXml.linkEntity}
762
- */
763
- addLinkEntity(linkEntity: any): this;
764
- /** @description Removes a linkEntity from the linkEntities collection by reference
765
- * @param {Sdk.FetchXml.linkEntity} linkEntity The linkEntity to remove from the linkEntities collection
766
- * @returns {Sdk.FetchXml.linkEntity}
767
- */
768
- removeLinkEntityByRef(linkEntity: any): this;
769
- /** @description Removes a linkEntity from the linkEntities collection by value
770
- * @param {Sdk.FetchXml.linkEntity} linkEntity The linkEntity to remove from the linkEntities collection
771
- * @returns {Sdk.FetchXml.linkEntity}
772
- */
773
- removeLinkEntity(linkEntity: any): this;
774
- /** @description Adds an attribute to the attributes collection
775
- * @param {Sdk.FetchXml.attribute | string} attribute The attribute to add to the attributes collectio
776
- * @returns {Sdk.FetchXml.linkEntity}
777
- */
778
- addAttribute(attribute: any): this;
779
- /** @description Removes a attribute from the attributes collection by reference
780
- * @param {Sdk.FetchXml.attribute} attribute The attribute to remove from the attributes collection
781
- * @returns {Sdk.FetchXml.linkEntity}
782
- */
783
- removeAttributeByRef(attribute: any): this;
784
- /** @description Removes a attribute from the attributes collection by value
785
- * @param {Sdk.FetchXml.attribute} attribute The attribute to remove from the attributes collection
786
- * @returns {Sdk.FetchXml.linkEntity}
787
- */
788
- removeAttribute(attribute: any): this;
789
- /** @description Removes a attribute from the attributes collection by name
790
- * @param {string} attributeName Name of the attribute to remove from the attributes collection
791
- * @returns {Sdk.FetchXml.linkEntity}
792
- */
793
- removeAttributeByName(attributeName: any): this;
794
- /** @description Adds an order to the orders collection
795
- * @param {Sdk.FetchXml.order | string} orderOrAttribute The order to add to the attributes collection or the Attribute property of a new order to create
796
- * @param {boolean} [descending] Whether the order is descending. True if descending, otherwise false
797
- * @param {string} [alias] The alias to set for the order
798
- * @returns {Sdk.FetchXml.linkEntity}
799
- */
800
- addOrder(orderOrAttribute: any, descending?: any, alias?: any): this;
801
- /** @description Removes a order from the orders collection by reference
802
- * @param {Sdk.FetchXml.order} order The order to remove from the orders collection
803
- * @returns {Sdk.FetchXml.linkEntity}
804
- */
805
- removeOrderByRef(order: any): this;
806
- /** @description Removes a order from the orders collection by value
807
- * @param {Sdk.FetchXml.order} order The order to remove from the orders collection
808
- * @returns {Sdk.FetchXml.linkEntity}
809
- */
810
- removeOrder(order: any): this;
811
- /** @description Adds an filter to the filters collection
812
- * @param {Sdk.FetchXml.filter} filter The filter to add to the filters collection
813
- * @returns {Sdk.FetchXml.linkEntity}
814
- */
815
- addFilter(filter: any): this;
816
- /** @description Removes a filter from the filters collection by reference
817
- * @param {Sdk.FetchXml.filter} filter The filter to remove from the filters collection
818
- * @returns {Sdk.FetchXml.linkEntity}
819
- */
820
- removeFilterByRef(filter: any): this;
821
- /** @description Removes a filter from the filters collection by value
822
- * @param {Sdk.FetchXml.filter} filter The filter to remove from the filters collection
823
- * @returns {Sdk.FetchXml.linkEntity}
824
- */
825
- removeFilter(filter: any): this;
826
- toXml(doc: XMLDocument): Node;
827
- static linkEntityFromXml(xml: any): linkEntity;
828
- }
829
- class order {
830
- /**
831
- * Contains the data for a fetchXml order element.
832
- * @param attribute The logical name of the attribute
833
- * @param descending Whether the order is decending. Default is false
834
- * @param alias The alias to apply to the order
835
- */
836
- constructor(attribute?: string, descending?: boolean, alias?: string);
837
- private _attribute;
838
- private _descending;
839
- private _alias;
840
- /**
841
- * Gets or sets logical name of the attribute
842
- */
843
- get attribute(): string;
844
- set attribute(value: string);
845
- /**
846
- *Gets or sets whether the order is descending. Default is false
847
- */
848
- get descending(): boolean;
849
- set descending(value: boolean);
850
- /**
851
- * Gets or sets the alias property of the order
852
- */
853
- get alias(): string;
854
- set alias(value: string);
855
- get hash(): string;
856
- /** @description Sets the attribute property of the order attribute
857
- * @param {string} attribute The attribute value to apply to the order
858
- * @returns {Sdk.FetchXml.order}
859
- */
860
- setAttribute(attribute: any): this;
861
- /** @description Sets the alias property of the order attribute
862
- * @param {string} alias The alias value to apply to the order
863
- * @returns {Sdk.FetchXml.order}
864
- */
865
- setAlias(alias: any): this;
866
- /** @description Sets the descending property of the order attribute
867
- * @param {boolean | null} descending The descending value to apply to the order
868
- * @returns {Sdk.FetchXml.order}
869
- */
870
- setDescending(descending: any): this;
871
- toXml(doc: XMLDocument): Node;
872
- static orderFromXml(xml: any): order;
873
- }
874
- class value {
875
- /**
876
- * Contains the data for a fetchXml value element.
877
- * @param value The the value of the value
878
- * @param [uiname] The uiname for the value
879
- * @param [uitype] The uitype for the value
880
- */
881
- constructor(value: any, uiname?: string, uitype?: string);
882
- private _value;
883
- private _uiname;
884
- private _uitype;
885
- /**
886
- * Gets or sets the value for the value.
887
- */
888
- get value(): any;
889
- set value(value: any);
890
- /**
891
- * Gets or sets the uiname to apply to the value
892
- */
893
- get uiname(): string;
894
- set uiname(value: string);
895
- /**
896
- * Gets or sets the uitype to apply to the value
897
- */
898
- get uitype(): string;
899
- set uitype(value: string);
900
- /** @description Sets the value to apply in the value
901
- * @param {string} value The value to apply in the value
902
- * @returns {Sdk.FetchXml.value}
903
- */
904
- setValue(value: any): this;
905
- /** @description Sets the uiname to apply in the value
906
- * @param {string} uiname The uiname to apply in the value
907
- * @returns {Sdk.FetchXml.value}
908
- */
909
- setUIname(value: any): this;
910
- /** @description Sets the uitype to apply in the value
911
- * @param {string} uitype The uitype to apply in the value
912
- * @returns {Sdk.FetchXml.value}
913
- */
914
- setUItype(value: any): this;
915
- toXml(doc: XMLDocument): Node;
916
- static valueFromXml(xml: any): value;
917
- }
918
- class Util {
919
- static isBoolean(obj: any): boolean;
920
- static isBooleanOrNull(obj: any): boolean;
921
- static isNumber(obj: any): boolean;
922
- static isNumberOrNull(obj: any): boolean;
923
- static isNull(obj: any): boolean;
924
- static isNullOrUndefined(obj: any): boolean;
925
- static isEnumMember(enumType: any, obj: any): boolean;
926
- static isEnumMemberOrNull(enumType: any, obj: any): boolean;
927
- static isString(obj: any): boolean;
928
- static isStringOrNull(obj: any): boolean;
929
- static isOrder(obj: any): boolean;
930
- static isOrderOrNull(obj: any): boolean;
931
- static isOrderArray(obj: any): boolean;
932
- static isOrderArrayOrNull(obj: any): boolean;
933
- static isEntity(obj: any): boolean;
934
- static isAttribute(obj: any): boolean;
935
- static isAttributeArray(obj: any): boolean;
936
- static isAttributeArrayOrNull(obj: any): boolean;
937
- static isLinkEntity(obj: any): boolean;
938
- static isLinkEntityOrNull(obj: any): boolean;
939
- static isLinkEntityArray(obj: any): boolean;
940
- static isLinkEntityArrayOrNull(obj: any): boolean;
941
- static isFilter(obj: any): boolean;
942
- static isFilterOrNull(obj: any): boolean;
943
- static isFilterArray(obj: any): boolean;
944
- static isFilterArrayOrNull(obj: any): boolean;
945
- static isCondition(obj: any): boolean;
946
- static isConditionOrNull(obj: any): boolean;
947
- static isConditionArray(obj: any): boolean;
948
- static isConditionArrayOrNull(obj: any): boolean;
949
- static isValue(obj: any): boolean;
950
- static isValueOrNull(obj: any): boolean;
951
- static isValueArray(obj: any): boolean;
952
- static isValueArrayOrNull(obj: any): boolean;
953
- static getEnumNameFromValue(enumtype: any, value: any): string | undefined;
954
- static getCollectionHash(collection: any): string;
955
- static removeCollectionValue(collection: any, value: any): void;
956
- static removeCollectionValueByProperty(collection: any, propertyName: any, value: any): void;
957
- static removeCollectionValueByRef(collection: any, value: any): void;
958
- static convertFetchBoolType(value: any): boolean;
959
- static parseAttributes(xml: Node, object: Object, switchFunction: Function): void;
960
- }
961
- class Mapping {
962
- static Internal: string;
963
- static Logical: string;
964
- }
965
- class OutputFormat {
966
- static Ado: string;
967
- static Auto: string;
968
- static Elements: string;
969
- static Raw: string;
970
- static Platform: string;
971
- }
972
- class Build {
973
- static OnePoint504021: string;
974
- static OnePoint003017: string;
975
- }
976
- class Aggregate {
977
- static Count: string;
978
- static CountColumn: string;
979
- static Sum: string;
980
- static Avg: string;
981
- static Min: string;
982
- static Max: string;
983
- }
984
- class RowAggregate {
985
- static Countchildren: string;
986
- }
987
- class DateGrouping {
988
- static Day: string;
989
- static Week: string;
990
- static Month: string;
991
- static Quarter: string;
992
- static Year: string;
993
- static FiscalPeriod: string;
994
- static FiscalYear: string;
995
- }
996
- class Operator {
997
- /** Returns all records in referenced record's hierarchical ancestry line.*/
998
- static Above: string;
999
- /** The string occurs at the beginning of another string.*/
1000
- static BeginsWith: string;
1001
- /** The value is between two values.*/
1002
- static Between: string;
1003
- /** The string ends with another string.*/
1004
- static EndsWith: string;
1005
- /** The values are compared for equality. */
1006
- static Equal: string;
1007
- /** The value is equal to the specified business ID. */
1008
- static EqualBusinessId: string;
1009
- /** Returns the referenced record and all records above it in the hierarchy.*/
1010
- static EqualOrAbove: string;
1011
- /** Returns the referenced record and all records below it in the hierarchy.*/
1012
- static EqualOrUnder: string;
1013
- /** The value is equal to the specified user ID.*/
1014
- static EqualUserId: string;
1015
- /** The value is equal to the language for the user. */
1016
- static EqualUserLanguage: string;
1017
- /** When hierarchical security models are used; Equals current user or his reporting hierarchy*/
1018
- static EqualUserOrUserHierarchy: string;
1019
- /** When hierarchical security models are used; Equals current user and his teams or his reporting hierarchy and their teams*/
1020
- static EqualUserOrUserHierarchyAndTeams: string;
1021
- /** The record is owned by a user or teams that the user is a member of.*/
1022
- static EqualUserOrUserTeams: string;
1023
- /** The record is owned by teams that the user is a member of.*/
1024
- static EqualUserTeams: string;
1025
- /** The value is greater than or equal to the compared value.*/
1026
- static GreaterOrEqual: string;
1027
- /** The value is greater than the compared value.*/
1028
- static GreaterThan: string;
1029
- /** The value exists in a list of values.*/
1030
- static In: string;
1031
- /** The value is within the specified fiscal period.*/
1032
- static InFiscalPeriod: string;
1033
- /** The value is within the specified fiscal period and year.*/
1034
- static InFiscalPeriodAndYear: string;
1035
- /** The value is within the specified year.*/
1036
- static InFiscalYear: string;
1037
- /** The value is within or after the specified fiscal period and year.*/
1038
- static InOrAfterFiscalPeriodAndYear: string;
1039
- /** The value is within or before the specified fiscal period and year.*/
1040
- static InOrBeforeFiscalPeriodAndYear: string;
1041
- /** The value is within the last fiscal period.*/
1042
- static LastFiscalPeriod: string;
1043
- /** The value is within the last fiscal year.*/
1044
- static LastFiscalYear: string;
1045
- /** The value is within the last month*/
1046
- static LastMonth: string;
1047
- /** The value is within last seven days.*/
1048
- static LastSevenDays: string;
1049
- /** The value is within the previous week*/
1050
- static LastWeek: string;
1051
- /** The value is within last X days.*/
1052
- static LastXDays: string;
1053
- /** The value is within the last X fiscal periods.*/
1054
- static LastXFiscalPeriods: string;
1055
- /** The value is within the last X fiscal years.*/
1056
- static LastXFiscalYears: string;
1057
- /** The value is within the last X hours.*/
1058
- static LastXHours: string;
1059
- /** The value is within the last X months.*/
1060
- static LastXMonths: string;
1061
- /** The value is within the last X weeks.*/
1062
- static LastXWeeks: string;
1063
- /** The value is within the last X years.*/
1064
- static LastXYears: string;
1065
- /** The value is within the last year.*/
1066
- static LastYear: string;
1067
- /** The value is less than or equal to the compared value.*/
1068
- static LessOrEqual: string;
1069
- /** The character string is matched to the specified pattern.*/
1070
- static Like: string;
1071
- /** The value is less than the compared value.*/
1072
- static LessThan: string;
1073
- /** The two values are not equal.*/
1074
- static NotEqual: string;
1075
- /** The value is not equal to the specified business ID.*/
1076
- static NotEqualBusinessId: string;
1077
- /** The value is not equal to the specified user ID.*/
1078
- static NotEqualUserId: string;
1079
- /** Not Equal To*/
1080
- static Neq: string;
1081
- /** The value is within the next fiscal period.*/
1082
- static NextFiscalPeriod: string;
1083
- /** The value is within the next fiscal year.*/
1084
- static NextFiscalYear: string;
1085
- /** The value is within the next month.*/
1086
- static NextMonth: string;
1087
- /** The value is within the next seven days.*/
1088
- static NextSevenDays: string;
1089
- /** The value is within the next week.*/
1090
- static NextWeek: string;
1091
- /** The value is within the X days.*/
1092
- static NextXDays: string;
1093
- /** The value is within the next X fiscal periods.*/
1094
- static NextXFiscalPeriods: string;
1095
- /** The value is within the next X fiscal years.*/
1096
- static NextXFiscalYears: string;
1097
- /** The value is within the next X hours.*/
1098
- static NextXHours: string;
1099
- /** The value is within the next X nonths.*/
1100
- static NextXMonths: string;
1101
- /** The value is within the next X weeks.*/
1102
- static NextXWeeks: string;
1103
- /** The value is within the next X years.*/
1104
- static NextXYears: string;
1105
- /** The value is within the next year.*/
1106
- static NextYear: string;
1107
- /** The string does not begin with another string.*/
1108
- static NotBeginWith: string;
1109
- /** The value is not between two values.*/
1110
- static NotBetween: string;
1111
- /** The string does not end with another string.*/
1112
- static NotEndWith: string;
1113
- /** The given value is not matched to a value in a subquery or a list.*/
1114
- static NotIn: string;
1115
- /** The character string does not match the specified pattern.*/
1116
- static NotLike: string;
1117
- /** The value is not null.*/
1118
- static NotNull: string;
1119
- /** Returns all records not below the referenced record in the hierarchy*/
1120
- static NotUnder: string;
1121
- /** The value is null.*/
1122
- static Null: string;
1123
- /** The value is older than the specified number of days. */
1124
- static OlderThanXDays: string;
1125
- /** The value is older than the specified number of hours. */
1126
- static OlderThanXHours: string;
1127
- /** The value is older than the specified number of minutes. */
1128
- static OlderThanXMinutes: string;
1129
- /** The value is older than the specified number of months. */
1130
- static OlderThanXMonths: string;
1131
- /** The value is older than the specified number of weeks. */
1132
- static OlderThanXWeeks: string;
1133
- /** The value is older than the specified number of years. */
1134
- static OlderThanXYears: string;
1135
- /** The value is on a specified date.*/
1136
- static On: string;
1137
- /** The value is on or after a specified date.*/
1138
- static OnOrAfter: string;
1139
- /** The value is on or before a specified date.*/
1140
- static OnOrBefore: string;
1141
- /** The value is within the current fiscal period.*/
1142
- static ThisFiscalPeriod: string;
1143
- /** The value is within the current fiscal year.*/
1144
- static ThisFiscalYear: string;
1145
- /** The value is within the current month.*/
1146
- static ThisMonth: string;
1147
- /** The value is within the current week.*/
1148
- static ThisWeek: string;
1149
- /** The value is within the current year.*/
1150
- static ThisYear: string;
1151
- /** The value equals today’s date.*/
1152
- static Today: string;
1153
- /** The value equals tomorrow’s date.*/
1154
- static Tomorrow: string;
1155
- /** Returns all child records below the referenced record in the hierarchy*/
1156
- static Under: string;
1157
- /** The value equals yesterday’s date.*/
1158
- static Yesterday: string;
1159
- }
1160
- class FilterType {
1161
- static And: string;
1162
- static Or: string;
1163
- }
1164
- }