@creatio/base 0.830.0 → 0.832.0
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/CHANGELOG.md +4 -0
- package/esm2022/lib/public/enums/aggregation-type.enum.mjs +10 -2
- package/esm2022/lib/public/enums/data-schema-type.enum.mjs +3 -2
- package/esm2022/lib/public/enums/data-value-type.enum.mjs +71 -2
- package/esm2022/lib/public/esq/data-model/columns/base-query-column.mjs +15 -1
- package/esm2022/lib/public/esq/data-model/columns/entity-column/entity-query-column.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/columns/functions/aggregation-function-column.mjs +2 -2
- package/esm2022/lib/public/esq/data-model/columns/functions/date-part-function-column.mjs +3 -1
- package/esm2022/lib/public/esq/data-model/enums/aggregation-eval-type.enum.mjs +5 -2
- package/esm2022/lib/public/esq/data-model/enums/arithmetic-operation.enum.mjs +5 -2
- package/esm2022/lib/public/esq/data-model/enums/comparison-type.enum.mjs +12 -2
- package/esm2022/lib/public/esq/data-model/enums/date-part-type.enum.mjs +11 -2
- package/esm2022/lib/public/esq/data-model/enums/expression-type.enum.mjs +5 -1
- package/esm2022/lib/public/esq/data-model/enums/filter-type.enum.mjs +9 -1
- package/esm2022/lib/public/esq/data-model/enums/function-type.enum.mjs +8 -2
- package/esm2022/lib/public/esq/data-model/enums/logical-operator-type.enum.mjs +4 -2
- package/esm2022/lib/public/esq/data-model/enums/order-direction.enum.mjs +4 -2
- package/esm2022/lib/public/esq/data-model/enums/query-macros-type.enum.mjs +31 -2
- package/esm2022/lib/public/esq/data-model/expressions/arithmetic/arithmetic-expression.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/expressions/base-expression.mjs +3 -1
- package/esm2022/lib/public/esq/data-model/expressions/columns/column-expression.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/expressions/esq-expression.inteface.mjs +2 -0
- package/esm2022/lib/public/esq/data-model/expressions/functions/aggregation-function-expression.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/expressions/functions/argument-function-expression.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/expressions/functions/date-part-function-expression.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/expressions/functions/function-expression.mjs +4 -1
- package/esm2022/lib/public/esq/data-model/expressions/functions/length-function-expression.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/expressions/functions/macros-function-expression.mjs +3 -1
- package/esm2022/lib/public/esq/data-model/expressions/functions/window-function-expression.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/expressions/parameters/parameter-expression.mjs +3 -1
- package/esm2022/lib/public/esq/data-model/filters/base-filter.mjs +8 -3
- package/esm2022/lib/public/esq/data-model/filters/between-filter.mjs +9 -1
- package/esm2022/lib/public/esq/data-model/filters/compare-filter.mjs +9 -2
- package/esm2022/lib/public/esq/data-model/filters/esq-filter.interface.mjs +2 -0
- package/esm2022/lib/public/esq/data-model/filters/exists-filter.mjs +7 -1
- package/esm2022/lib/public/esq/data-model/filters/filter-group.mjs +12 -2
- package/esm2022/lib/public/esq/data-model/filters/in-filter.mjs +9 -2
- package/esm2022/lib/public/esq/data-model/filters/index.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/filters/isnull-filter.mjs +9 -3
- package/esm2022/lib/public/esq/data-model/filters/single-filter.mjs +2 -1
- package/esm2022/lib/public/esq/data-model/queries/base-query.mjs +24 -6
- package/esm2022/lib/public/esq/data-model/queries/delete-query.mjs +5 -2
- package/esm2022/lib/public/esq/data-model/queries/entity-schema-query.mjs +27 -7
- package/esm2022/lib/public/esq/data-model/queries/insert-query.mjs +5 -8
- package/esm2022/lib/public/esq/data-model/queries/update-query.mjs +5 -10
- package/esm2022/lib/public/models/lookup-value.model.mjs +1 -1
- package/esm2022/lib/public/services/model/data-schema-attribute.mjs +1 -1
- package/esm2022/lib/public/services/model/data-source-hierarchy-config.mjs +2 -0
- package/esm2022/lib/public/services/model/index.mjs +2 -1
- package/esm2022/lib/public/services/model/model-load-options.mjs +1 -1
- package/esm2022/lib/public/types/entity-column-value.mjs +1 -1
- package/esm2022/lib/public/types/guid.type.mjs +1 -1
- package/esm2022/lib/public/types/json-data.type.mjs +1 -1
- package/fesm2022/creatio-base.mjs +313 -47
- package/fesm2022/creatio-base.mjs.map +1 -1
- package/index.d.ts +408 -49
- package/package.json +18 -2
package/index.d.ts
CHANGED
|
@@ -10,6 +10,14 @@ declare interface BaseDataSourceFunctionConfig {
|
|
|
10
10
|
type: ɵFunctionStringType;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
export declare interface DataSourceHierarchyConfig {
|
|
14
|
+
hierarchicalMaxDepth?: number;
|
|
15
|
+
hierarchicalColumnName: string;
|
|
16
|
+
hierarchicalColumnValue?: string;
|
|
17
|
+
hierarchicalFullDataLoad?: boolean;
|
|
18
|
+
hierarchicalColumnFiltersValue?: ɵFilterGroup;
|
|
19
|
+
}
|
|
20
|
+
|
|
13
21
|
/**
|
|
14
22
|
* @public
|
|
15
23
|
* @description SysAdminUnitInRole source type.
|
|
@@ -49,6 +57,75 @@ export declare enum eAdminUnitRoleSources {
|
|
|
49
57
|
All = 63
|
|
50
58
|
}
|
|
51
59
|
|
|
60
|
+
/**
|
|
61
|
+
* @generativeApi
|
|
62
|
+
* @description Combined type for all ESQ expressions.If you plan to create a new expression, please add it to this type
|
|
63
|
+
* */
|
|
64
|
+
declare type IESQExpression = ɵBaseExpression | ɵArithmeticExpression | ɵColumnExpression | ɵParameterExpression | ɵAggregationFunctionExpression | ɵArgumentFunctionExpression | ɵDatePartFunctionExpression | ɵLengthFunctionExpression | ɵMacrosFunctionExpression | ɵWindowFunctionExpression;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generativeApi
|
|
68
|
+
* @description Combined type for all ESQ filters. If you plan to create a new filter, please add it to this type.
|
|
69
|
+
* */
|
|
70
|
+
export declare type IESQFilter = ɵBaseFilter | ɵBetweenFilter | ɵCompareFilter | ɵExistsFilter | IFilterGroup | ɵInFilter | ɵIsNullFilter | ɵSingleFilter;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* this interface is created, because JSON schema generation does not support getters
|
|
75
|
+
* @generativeApi
|
|
76
|
+
* @description Group of filters. Usually one, or several filters, combined with a logical operation (And, Or).
|
|
77
|
+
* Groups of filters can be nested into each other,
|
|
78
|
+
* i.e. The collection itself can be an element of another collection.
|
|
79
|
+
* @extends {ɵBaseFilter}
|
|
80
|
+
*/
|
|
81
|
+
export declare type IFilterGroup = ɵBaseFilter & {
|
|
82
|
+
/**
|
|
83
|
+
* @description Type of filter. 6 means that this is a filter group.
|
|
84
|
+
* @default 6
|
|
85
|
+
*/
|
|
86
|
+
readonly filterType: ɵFilterType.FilterGroup;
|
|
87
|
+
/**
|
|
88
|
+
* @description Returns collection of child filters or filter groups.
|
|
89
|
+
* Each item is a key-value pair,
|
|
90
|
+
* where the key is autogenerated or user-defined name, and value - filter or a filter group
|
|
91
|
+
*/
|
|
92
|
+
items: Record<string, IESQFilter>;
|
|
93
|
+
/**
|
|
94
|
+
* @description The type of the logical operation for a combination of filters in this filter group.
|
|
95
|
+
*/
|
|
96
|
+
logicalOperation: ɵLogicalOperatorType;
|
|
97
|
+
/**
|
|
98
|
+
* @description Root entity schema name or table name.
|
|
99
|
+
*/
|
|
100
|
+
rootSchemaName?: string;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
* @generativeApi
|
|
106
|
+
* @description Parameter object reference. Defines the value and type of the parameter.
|
|
107
|
+
* dateValue property exists only if dataValueType is 7.
|
|
108
|
+
*/
|
|
109
|
+
export declare interface IParameterDefinition<TDataValueType extends ɵDataValueType = ɵDataValueType> {
|
|
110
|
+
/**
|
|
111
|
+
* @description type of the parameter value.
|
|
112
|
+
* */
|
|
113
|
+
dataValueType: TDataValueType;
|
|
114
|
+
/**
|
|
115
|
+
* @description exists only if dataValueType is 7. Contains the ISO 8601 date string.
|
|
116
|
+
* */
|
|
117
|
+
dateValue?: TDataValueType extends ɵDataValueType.DateTime ? `${string}T${string}Z` : never;
|
|
118
|
+
/**
|
|
119
|
+
* @description defines the value of the parameter.
|
|
120
|
+
* If dataValueType is 7. Contains the ISO 8601 date string. but wrapped in escaped string.
|
|
121
|
+
* E.g.: `\"2023-01-01T00:00:00.000Z\"`, otherwise it is the value of the parameter.
|
|
122
|
+
* If dataValueType is 10, then value is ɵLookupValue.
|
|
123
|
+
* value cannot be an array
|
|
124
|
+
* */
|
|
125
|
+
value?: TDataValueType extends ɵDataValueType.DateTime ? string : ɵEntityColumnValue;
|
|
126
|
+
arrayValue?: string[];
|
|
127
|
+
}
|
|
128
|
+
|
|
52
129
|
/* Excluded from this release type: LookupMode */
|
|
53
130
|
|
|
54
131
|
/* Excluded from this release type: UsedColumn */
|
|
@@ -67,7 +144,10 @@ export declare type ɵAggregationEval = 'all' | 'distinct' | 'none';
|
|
|
67
144
|
|
|
68
145
|
/**
|
|
69
146
|
* @public
|
|
70
|
-
* @
|
|
147
|
+
* @generativeApi
|
|
148
|
+
* @description Defines the scope or evaluation mode for aggregation functions.
|
|
149
|
+
* 0 - None (No specific scope defined), 1 - All (Includes all values including duplicates),
|
|
150
|
+
* 2 - Distinct (Only unique values, eliminates duplicates)
|
|
71
151
|
*/
|
|
72
152
|
export declare enum ɵAggregationEvalType {
|
|
73
153
|
/**
|
|
@@ -121,15 +201,16 @@ export declare enum ɵAggregationFunction {
|
|
|
121
201
|
|
|
122
202
|
/**
|
|
123
203
|
* @public
|
|
124
|
-
* @
|
|
204
|
+
* @description Class contains info about column with aggregation function.
|
|
125
205
|
* @extends {ɵBaseQueryColumn}
|
|
126
206
|
*/
|
|
127
207
|
export declare class ɵAggregationFunctionColumn extends ɵBaseQueryColumn<ɵAggregationFunctionExpression> {
|
|
128
|
-
constructor(aggregationType: ɵAggregationType, aggregationEvalType: ɵAggregationEvalType, functionArgument:
|
|
208
|
+
constructor(aggregationType: ɵAggregationType, aggregationEvalType: ɵAggregationEvalType, functionArgument: ɵColumnExpression);
|
|
129
209
|
}
|
|
130
210
|
|
|
131
211
|
/**
|
|
132
212
|
* @public
|
|
213
|
+
* @generativeApi
|
|
133
214
|
* @description A class that describes expression with aggregate function.
|
|
134
215
|
* @extends {ɵArgumentFunctionExpression}
|
|
135
216
|
*/
|
|
@@ -207,7 +288,15 @@ export declare type ɵAggregationSubQueryExpressionConfig = ɵSubQueryExpression
|
|
|
207
288
|
|
|
208
289
|
/**
|
|
209
290
|
* @public
|
|
210
|
-
*
|
|
291
|
+
* @generativeApi
|
|
292
|
+
* @description The type of aggregation function used in queries and data operations.
|
|
293
|
+
* 0 - None (No aggregation),
|
|
294
|
+
* 1 - Count (Count records - can be used with any column type),
|
|
295
|
+
* 2 - Sum (Total of values - numeric columns only),
|
|
296
|
+
* 3 - Avg (Average value - numeric columns only),
|
|
297
|
+
* 4 - Min (Minimum value - numeric and date columns),
|
|
298
|
+
* 5 - Max (Maximum value - numeric and date columns),
|
|
299
|
+
* 6 - TopOne (First record - any column type)
|
|
211
300
|
*/
|
|
212
301
|
export declare enum ɵAggregationType {
|
|
213
302
|
/**
|
|
@@ -252,6 +341,7 @@ export declare class ɵArgumentEmptyException extends Error {
|
|
|
252
341
|
/**
|
|
253
342
|
* @public
|
|
254
343
|
* @abstract
|
|
344
|
+
* @generativeApi
|
|
255
345
|
* @description A class that describes a functional expression with argument.
|
|
256
346
|
* @extends {ɵFunctionExpression}
|
|
257
347
|
*/
|
|
@@ -261,7 +351,7 @@ export declare abstract class ɵArgumentFunctionExpression extends ɵFunctionExp
|
|
|
261
351
|
/**
|
|
262
352
|
* @description Expression argument.
|
|
263
353
|
*/
|
|
264
|
-
readonly functionArgument:
|
|
354
|
+
readonly functionArgument: IESQExpression;
|
|
265
355
|
protected constructor(config: ɵArgumentFunctionExpressionConfig<ɵArgumentFunctionExpression>);
|
|
266
356
|
/**
|
|
267
357
|
* @public
|
|
@@ -290,6 +380,7 @@ export declare class ɵArgumentOutOfRangeException extends Error {
|
|
|
290
380
|
|
|
291
381
|
/**
|
|
292
382
|
* @public
|
|
383
|
+
* @genearativeApi
|
|
293
384
|
* @description Arithmetic expression.
|
|
294
385
|
* @extends {ɵBaseExpression}
|
|
295
386
|
*/
|
|
@@ -307,11 +398,11 @@ export declare class ɵArithmeticExpression extends ɵBaseExpression {
|
|
|
307
398
|
/**
|
|
308
399
|
* @description Left operand expression.
|
|
309
400
|
*/
|
|
310
|
-
readonly leftArithmeticOperand:
|
|
401
|
+
readonly leftArithmeticOperand: IESQExpression;
|
|
311
402
|
/**
|
|
312
403
|
* @description Right operand expression.
|
|
313
404
|
*/
|
|
314
|
-
readonly rightArithmeticOperand:
|
|
405
|
+
readonly rightArithmeticOperand: IESQExpression;
|
|
315
406
|
constructor(config: ɵArithmeticExpressionConfig);
|
|
316
407
|
/**
|
|
317
408
|
* Parses expression from json.
|
|
@@ -334,7 +425,10 @@ export declare type ɵArithmeticExpressionConfig = ɵExpressionConfig<ɵArithmet
|
|
|
334
425
|
|
|
335
426
|
/**
|
|
336
427
|
* @public
|
|
337
|
-
* @
|
|
428
|
+
* @generativeApi
|
|
429
|
+
* @description Represents arithmetic operations that can be performed in queries and expressions.
|
|
430
|
+
* 0 - Addition (Adds values), 1 - Subtraction (Subtracts values),
|
|
431
|
+
* 2 - Multiplication (Multiplies values), 3 - Division (Divides values)
|
|
338
432
|
*/
|
|
339
433
|
export declare enum ɵArithmeticOperation {
|
|
340
434
|
/**
|
|
@@ -446,6 +540,7 @@ export declare interface ɵBaseDialogService<TConfig extends ɵBaseDialogConfig
|
|
|
446
540
|
|
|
447
541
|
/**
|
|
448
542
|
* @public
|
|
543
|
+
* @generativeApi
|
|
449
544
|
* @abstract
|
|
450
545
|
* @description The base class of the expression.
|
|
451
546
|
* @extends {ɵSerializable}
|
|
@@ -455,8 +550,9 @@ export declare abstract class ɵBaseExpression implements ɵSerializable {
|
|
|
455
550
|
/* Excluded from this release type: _instanceOfKeys */
|
|
456
551
|
/**
|
|
457
552
|
* @description True if expression has brackets.
|
|
553
|
+
* @default false
|
|
458
554
|
*/
|
|
459
|
-
readonly isBlock
|
|
555
|
+
readonly isBlock?: boolean;
|
|
460
556
|
/**
|
|
461
557
|
* @public
|
|
462
558
|
* @description Method for checking if an instance is of the current class type.
|
|
@@ -509,7 +605,8 @@ export declare class ɵBaseExpressionParser {
|
|
|
509
605
|
/**
|
|
510
606
|
* @public
|
|
511
607
|
* @abstract
|
|
512
|
-
* @
|
|
608
|
+
* @generativeApi
|
|
609
|
+
* @description Base class for all filters in the system.
|
|
513
610
|
* @extends {ɵSerializable}
|
|
514
611
|
*/
|
|
515
612
|
export declare abstract class ɵBaseFilter implements ɵSerializable {
|
|
@@ -521,12 +618,14 @@ export declare abstract class ɵBaseFilter implements ɵSerializable {
|
|
|
521
618
|
readonly filterType: ɵFilterType;
|
|
522
619
|
/**
|
|
523
620
|
* @description Indicates that the filter is active and will be taken into account when building the query.
|
|
621
|
+
* @default true
|
|
524
622
|
*/
|
|
525
623
|
isEnabled: boolean;
|
|
526
624
|
/**
|
|
527
|
-
* @description Drop the time for the date / time type parameters.
|
|
625
|
+
* @description Drop the time for the date / time type parameters. In FilterGroup this option is not supported.
|
|
626
|
+
* @default false
|
|
528
627
|
*/
|
|
529
|
-
trimDateTimeParameterToDate
|
|
628
|
+
trimDateTimeParameterToDate?: boolean;
|
|
530
629
|
/**
|
|
531
630
|
* @public
|
|
532
631
|
* @description Method for checking if an instance is of the current class type.
|
|
@@ -705,6 +804,9 @@ export declare interface ɵBaseModel<TLoadOptions extends ɵDataSourceLoadOption
|
|
|
705
804
|
export declare abstract class ɵBaseQuery implements ɵMetadataProvider<Record<string, unknown>> {
|
|
706
805
|
readonly operationType: ɵQueryOperationType;
|
|
707
806
|
readonly rootSchemaName: string;
|
|
807
|
+
queryId?: string;
|
|
808
|
+
/* Excluded from this release type: _queryDtoType */
|
|
809
|
+
get queryDtoType(): string;
|
|
708
810
|
protected constructor(operationType: ɵQueryOperationType, rootSchemaName: string);
|
|
709
811
|
/** {@inheritDoc ɵMetadataProvider.getMetadata} */
|
|
710
812
|
getMetadata(): Record<string, unknown>;
|
|
@@ -713,6 +815,7 @@ export declare abstract class ɵBaseQuery implements ɵMetadataProvider<Record<s
|
|
|
713
815
|
/**
|
|
714
816
|
* @public
|
|
715
817
|
* @abstract
|
|
818
|
+
* @generativeApi
|
|
716
819
|
* @classdesc Class contains info about column for query.
|
|
717
820
|
*/
|
|
718
821
|
export declare abstract class ɵBaseQueryColumn<TExpression extends ɵBaseExpression = ɵBaseExpression> {
|
|
@@ -759,6 +862,7 @@ export declare abstract class ɵBaseQueryColumn<TExpression extends ɵBaseExpres
|
|
|
759
862
|
*/
|
|
760
863
|
withCaption(caption: string): this;
|
|
761
864
|
/* Excluded from this release type: _getUsedColumns */
|
|
865
|
+
/* Excluded from this release type: toJson */
|
|
762
866
|
}
|
|
763
867
|
|
|
764
868
|
/**
|
|
@@ -806,21 +910,29 @@ export declare interface ɵBaseSysSettingsService {
|
|
|
806
910
|
|
|
807
911
|
/**
|
|
808
912
|
* @public
|
|
913
|
+
* generativeApi
|
|
809
914
|
* @description Filter class of the "Between" type.
|
|
915
|
+
* It contains RightLessExpression and RightGreaterExpression,
|
|
916
|
+
* which represent the boundaries of values for filtering.
|
|
810
917
|
* @extends {ɵSingleFilter}
|
|
811
918
|
*/
|
|
812
919
|
export declare class ɵBetweenFilter extends ɵSingleFilter {
|
|
920
|
+
/**
|
|
921
|
+
* @description Type of filter.
|
|
922
|
+
* @default 3
|
|
923
|
+
* */
|
|
924
|
+
readonly filterType: 3;
|
|
813
925
|
/* Excluded from this release type: _instanceOfKey */
|
|
814
926
|
/* Excluded from this release type: _instanceOfKeys */
|
|
815
927
|
/**
|
|
816
928
|
* @description The initial expression of the filtering range.
|
|
817
929
|
*/
|
|
818
|
-
readonly rightLessExpression:
|
|
930
|
+
readonly rightLessExpression: IESQExpression;
|
|
819
931
|
/**
|
|
820
932
|
* @description The final expression of the filtering range.
|
|
821
933
|
*/
|
|
822
|
-
readonly rightGreaterExpression:
|
|
823
|
-
constructor(leftExpression:
|
|
934
|
+
readonly rightGreaterExpression: IESQExpression;
|
|
935
|
+
constructor(leftExpression: IESQExpression, rightLessExpression: IESQExpression, rightGreaterExpression: IESQExpression);
|
|
824
936
|
/**
|
|
825
937
|
* Parses filter from json.
|
|
826
938
|
* @public
|
|
@@ -839,6 +951,7 @@ export declare type ɵButtonColor = 'primary' | 'accent' | 'warn' | 'default';
|
|
|
839
951
|
|
|
840
952
|
/**
|
|
841
953
|
* @public
|
|
954
|
+
* @generativeApi
|
|
842
955
|
* @description A class that defines an expression of type column EntitySchema.
|
|
843
956
|
* @extends {ɵBaseExpression}
|
|
844
957
|
*/
|
|
@@ -875,17 +988,24 @@ export declare type ɵColumnExpressionConfig = ɵExpressionConfig<ɵColumnExpres
|
|
|
875
988
|
|
|
876
989
|
/**
|
|
877
990
|
* @public
|
|
878
|
-
* @
|
|
991
|
+
* @generativeApi
|
|
992
|
+
* @description Filter class for comparing two expressions. leftExpression describes column from the schema,
|
|
993
|
+
* by which the comparison is made, rightExpression describes the value to which the column is compared.
|
|
879
994
|
* @extends {ɵSingleFilter}
|
|
880
995
|
*/
|
|
881
996
|
export declare class ɵCompareFilter extends ɵSingleFilter {
|
|
997
|
+
/**
|
|
998
|
+
* @description Type of filter.
|
|
999
|
+
* @default 1
|
|
1000
|
+
*/
|
|
1001
|
+
readonly filterType: 1;
|
|
882
1002
|
/* Excluded from this release type: _instanceOfKey */
|
|
883
1003
|
/* Excluded from this release type: _instanceOfKeys */
|
|
884
1004
|
/**
|
|
885
|
-
* @description Filter expression.
|
|
1005
|
+
* @description Filter expression. Right expression is used to compare values of column from the left expression
|
|
886
1006
|
*/
|
|
887
|
-
readonly rightExpression:
|
|
888
|
-
constructor(comparisonType: ɵComparisonType, leftExpression:
|
|
1007
|
+
readonly rightExpression: IESQExpression;
|
|
1008
|
+
constructor(comparisonType: ɵComparisonType, leftExpression: IESQExpression, rightExpression: IESQExpression);
|
|
889
1009
|
/**
|
|
890
1010
|
* Parses filter from json.
|
|
891
1011
|
* @public
|
|
@@ -898,12 +1018,22 @@ export declare class ɵCompareFilter extends ɵSingleFilter {
|
|
|
898
1018
|
|
|
899
1019
|
/**
|
|
900
1020
|
* @public
|
|
901
|
-
* @
|
|
1021
|
+
* @generativeApi
|
|
1022
|
+
* @description The type of comparison operation used in filters and query conditions.
|
|
1023
|
+
1 - Is_null (Value is null), 2 - Is_not_null (Value is not null),
|
|
1024
|
+
* 3 - Equal (Value equals), 4 - Not_equal (Value doesn't equal), 5 - Less (Value is less than),
|
|
1025
|
+
* 6 - Less_or_equal (Value is less than or equal), 7 - Greater (Value is greater than),
|
|
1026
|
+
* 8 - Greater_or_equal (Value is greater than or equal), 9 - Start_with (Value starts with string),
|
|
1027
|
+
* 10 - Not_start_with (Value doesn't start with string), 11 - Contain (Value contains string),
|
|
1028
|
+
* 12 - Not_contain (Value doesn't contain string), 13 - End_with (Value ends with string),
|
|
1029
|
+
* 14 - Not_end_with (Value doesn't end with string), 15 - Exists (Value exists),
|
|
1030
|
+
* 16 - Not_exists (Value doesn't exist)
|
|
902
1031
|
*/
|
|
903
1032
|
export declare enum ɵComparisonType {
|
|
904
1033
|
/**
|
|
905
1034
|
* @public
|
|
906
1035
|
* @description Value is between two specified values.
|
|
1036
|
+
* @hidden
|
|
907
1037
|
*/
|
|
908
1038
|
Between = 0,
|
|
909
1039
|
/**
|
|
@@ -1193,6 +1323,7 @@ export declare interface ɵDataSchemaAttribute {
|
|
|
1193
1323
|
*/
|
|
1194
1324
|
isRequired: boolean;
|
|
1195
1325
|
/* Excluded from this release type: lookupMode */
|
|
1326
|
+
/* Excluded from this release type: useSeconds */
|
|
1196
1327
|
}
|
|
1197
1328
|
|
|
1198
1329
|
/**
|
|
@@ -1285,7 +1416,8 @@ export declare interface ɵDataSchemaAttributeValueMaskingSettings {
|
|
|
1285
1416
|
|
|
1286
1417
|
/**
|
|
1287
1418
|
* @public
|
|
1288
|
-
* @
|
|
1419
|
+
* @description Type of DataSchema.
|
|
1420
|
+
* In combination with the name is used for unique identification of {@link ɵDataSchema}.
|
|
1289
1421
|
*/
|
|
1290
1422
|
export declare enum ɵDataSchemaType {
|
|
1291
1423
|
/**
|
|
@@ -1533,6 +1665,10 @@ export declare interface ɵDataSourceLoadOptions {
|
|
|
1533
1665
|
* @description Sorting options.
|
|
1534
1666
|
*/
|
|
1535
1667
|
sortingConfig?: ɵDataSourceSortingConfig;
|
|
1668
|
+
/**
|
|
1669
|
+
* @description Hierarchy options.
|
|
1670
|
+
*/
|
|
1671
|
+
hierarchyConfig?: DataSourceHierarchyConfig;
|
|
1536
1672
|
}
|
|
1537
1673
|
|
|
1538
1674
|
/**
|
|
@@ -1640,6 +1776,57 @@ export declare interface ɵDataSourceSortingConfig {
|
|
|
1640
1776
|
|
|
1641
1777
|
/**
|
|
1642
1778
|
* @public
|
|
1779
|
+
* @generativeApi
|
|
1780
|
+
* @description possible BE value types. Try to keep it same as {@link ɵEntityColumnValue}.
|
|
1781
|
+
* 0 - Global unique identifier.
|
|
1782
|
+
* 1 - String.
|
|
1783
|
+
* 4 - Integer.
|
|
1784
|
+
* 5 - Real number.
|
|
1785
|
+
* 6 - Currency.
|
|
1786
|
+
* 7 - Date and time.
|
|
1787
|
+
* 8 - Date.
|
|
1788
|
+
* 9 - Time.
|
|
1789
|
+
* 10 - Lookup.
|
|
1790
|
+
* 11 - Enumeration.
|
|
1791
|
+
* 12 - Boolean.
|
|
1792
|
+
* 13 - Binary data object.
|
|
1793
|
+
* 14 - The object of image binary data.
|
|
1794
|
+
* 15 - Custom object.
|
|
1795
|
+
* 16 - Image from a lookup.
|
|
1796
|
+
* 17 - Collection of items.
|
|
1797
|
+
* 18 - Color.
|
|
1798
|
+
* 19 - Localized string.
|
|
1799
|
+
* 20 - Object (Entity).
|
|
1800
|
+
* 21 - Collection of objects (EntityCollection).
|
|
1801
|
+
* 22 - List of object column values (EntityColumnMappingCollection).
|
|
1802
|
+
* 23 - Hash string.
|
|
1803
|
+
* 24 - Encrypted string.
|
|
1804
|
+
* 25 - File.
|
|
1805
|
+
* 26 - Mapping.
|
|
1806
|
+
* 27 - Short length text.
|
|
1807
|
+
* 28 - Medium length text.
|
|
1808
|
+
* 29 - Unlimited length text.
|
|
1809
|
+
* 30 - Long length text.
|
|
1810
|
+
* 31 - float1.
|
|
1811
|
+
* 32 - float2.
|
|
1812
|
+
* 33 - float3.
|
|
1813
|
+
* 34 - float4.
|
|
1814
|
+
* 35 - Localizable parameter values list.
|
|
1815
|
+
* 36 - Process not localizable text.
|
|
1816
|
+
* 37 - Stage indicator.
|
|
1817
|
+
* 38 - Serializable list of values.
|
|
1818
|
+
* 39 - Serializable list of composite values.
|
|
1819
|
+
* 40 - float8.
|
|
1820
|
+
* 41 - File.
|
|
1821
|
+
* 42 - Phone.
|
|
1822
|
+
* 43 - Text with formating tags.
|
|
1823
|
+
* 44 - Web link.
|
|
1824
|
+
* 45 - Email.
|
|
1825
|
+
* 46 - Composite object.
|
|
1826
|
+
* 47 - Float0.
|
|
1827
|
+
* 48 - Currency0.
|
|
1828
|
+
* 49 - Currency1.
|
|
1829
|
+
* 50 - Currency3.
|
|
1643
1830
|
* Types of values.
|
|
1644
1831
|
*/
|
|
1645
1832
|
export declare enum ɵDataValueType {
|
|
@@ -1664,7 +1851,9 @@ export declare enum ɵDataValueType {
|
|
|
1664
1851
|
*/
|
|
1665
1852
|
Money = 6,
|
|
1666
1853
|
/**
|
|
1667
|
-
* @description Date and time.
|
|
1854
|
+
* @description Date and time. if used this type of a value, then value should consist of two parts:
|
|
1855
|
+
* "dateValue": "ISO 8601 date string",
|
|
1856
|
+
* "value": "\"ISO 8601 date string\""
|
|
1668
1857
|
*/
|
|
1669
1858
|
DateTime = 7,
|
|
1670
1859
|
/**
|
|
@@ -1804,7 +1993,23 @@ export declare enum ɵDataValueType {
|
|
|
1804
1993
|
* @description Email.
|
|
1805
1994
|
*/
|
|
1806
1995
|
EMAIL_TEXT = 45,
|
|
1807
|
-
COMPOSITE_OBJECT = 46
|
|
1996
|
+
COMPOSITE_OBJECT = 46,
|
|
1997
|
+
/**
|
|
1998
|
+
* @description Float0.
|
|
1999
|
+
*/
|
|
2000
|
+
FLOAT0 = 47,
|
|
2001
|
+
/**
|
|
2002
|
+
* @description Currency0.
|
|
2003
|
+
*/
|
|
2004
|
+
MONEY0 = 48,
|
|
2005
|
+
/**
|
|
2006
|
+
* @description Currency1.
|
|
2007
|
+
*/
|
|
2008
|
+
MONEY1 = 49,
|
|
2009
|
+
/**
|
|
2010
|
+
* @description Currency3.
|
|
2011
|
+
*/
|
|
2012
|
+
MONEY3 = 50
|
|
1808
2013
|
}
|
|
1809
2014
|
|
|
1810
2015
|
/**
|
|
@@ -1815,7 +2020,9 @@ export declare type ɵDatePart = 'minute' | 'hour' | 'day' | 'weekday' | 'week'
|
|
|
1815
2020
|
|
|
1816
2021
|
/**
|
|
1817
2022
|
* @public
|
|
2023
|
+
* @generativeApi
|
|
1818
2024
|
* @classdesc Class contains info about column with date part.
|
|
2025
|
+
* @description Class contains info about column with date part.
|
|
1819
2026
|
* @extends {ɵBaseQueryColumn}
|
|
1820
2027
|
*/
|
|
1821
2028
|
export declare class ɵDatePartFunctionColumn extends ɵBaseQueryColumn<ɵDatePartFunctionExpression> {
|
|
@@ -1828,6 +2035,7 @@ export declare class ɵDatePartFunctionColumn extends ɵBaseQueryColumn<ɵDatePa
|
|
|
1828
2035
|
|
|
1829
2036
|
/**
|
|
1830
2037
|
* @public
|
|
2038
|
+
* @gererativeApi
|
|
1831
2039
|
* @description A class that describes expression part of date function.
|
|
1832
2040
|
* @extends {ɵArgumentFunctionExpression}
|
|
1833
2041
|
*/
|
|
@@ -1860,7 +2068,16 @@ export declare type ɵDatePartFunctionExpressionConfig = ɵArgumentFunctionExpre
|
|
|
1860
2068
|
|
|
1861
2069
|
/**
|
|
1862
2070
|
* @public
|
|
1863
|
-
* @
|
|
2071
|
+
* @generativeApi
|
|
2072
|
+
* @description Defines possible parts of the date.
|
|
2073
|
+
* 0 - Empty value.
|
|
2074
|
+
* 1 - Day.
|
|
2075
|
+
* 2 - Week.
|
|
2076
|
+
* 3 - Month.
|
|
2077
|
+
* 4 - Year.
|
|
2078
|
+
* 5 - Day of the week.
|
|
2079
|
+
* 6 - Hour.
|
|
2080
|
+
* 7 - Minute.
|
|
1864
2081
|
*/
|
|
1865
2082
|
export declare enum ɵDatePartType {
|
|
1866
2083
|
/**
|
|
@@ -1929,6 +2146,7 @@ export declare enum ɵDefaultValueSource {
|
|
|
1929
2146
|
* @extends {ɵBaseFilterableQuery}
|
|
1930
2147
|
*/
|
|
1931
2148
|
export declare class ɵDeleteQuery extends ɵBaseFilterableQuery {
|
|
2149
|
+
/* Excluded from this release type: _queryDtoType */
|
|
1932
2150
|
constructor(rootSchemaName: string);
|
|
1933
2151
|
}
|
|
1934
2152
|
|
|
@@ -1964,12 +2182,14 @@ export declare function ɵencodeDate(date: Date): string;
|
|
|
1964
2182
|
|
|
1965
2183
|
/**
|
|
1966
2184
|
* @public
|
|
1967
|
-
* @
|
|
2185
|
+
* @generativeApi
|
|
2186
|
+
* @description possible type of column value.
|
|
1968
2187
|
*/
|
|
1969
2188
|
export declare type ɵEntityColumnValue = boolean | number | string | ɵGuid | Date | ɵLookupValue | null;
|
|
1970
2189
|
|
|
1971
2190
|
/**
|
|
1972
2191
|
* @public
|
|
2192
|
+
* @generativeApi
|
|
1973
2193
|
* @classdesc Class contains info about common column from entity.
|
|
1974
2194
|
* @extends {ɵBaseQueryColumn}
|
|
1975
2195
|
*/
|
|
@@ -1984,6 +2204,7 @@ export declare class ɵEntityQueryColumn extends ɵBaseQueryColumn<ɵColumnExpre
|
|
|
1984
2204
|
*/
|
|
1985
2205
|
export declare class ɵEntitySchemaQuery extends ɵBaseFilterableQuery {
|
|
1986
2206
|
private _columns;
|
|
2207
|
+
/* Excluded from this release type: _queryDtoType */
|
|
1987
2208
|
/**
|
|
1988
2209
|
* @description Determines if merge duplicates in query result.
|
|
1989
2210
|
*/
|
|
@@ -2014,6 +2235,30 @@ export declare class ɵEntitySchemaQuery extends ɵBaseFilterableQuery {
|
|
|
2014
2235
|
* @description Bit mask that indicates which role sources will be considered when checking record rights.
|
|
2015
2236
|
*/
|
|
2016
2237
|
adminUnitRoleSources?: eAdminUnitRoleSources;
|
|
2238
|
+
/**
|
|
2239
|
+
* @description Indicates whether the query is hierarchical.
|
|
2240
|
+
*/
|
|
2241
|
+
isHierarchical: boolean;
|
|
2242
|
+
/**
|
|
2243
|
+
* @description Maximum depth of hierarchical data retrieval.
|
|
2244
|
+
*/
|
|
2245
|
+
hierarchicalMaxDepth?: number;
|
|
2246
|
+
/**
|
|
2247
|
+
* @description Name of the hierarchical column.
|
|
2248
|
+
*/
|
|
2249
|
+
hierarchicalColumnName?: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* @description Value of the hierarchical column.
|
|
2252
|
+
*/
|
|
2253
|
+
hierarchicalColumnValue?: string;
|
|
2254
|
+
/**
|
|
2255
|
+
* @description Indicates whether to perform a full data load for hierarchical queries.
|
|
2256
|
+
*/
|
|
2257
|
+
hierarchicalFullDataLoad?: boolean;
|
|
2258
|
+
/**
|
|
2259
|
+
* @description Filters applied to hierarchical parent records.
|
|
2260
|
+
*/
|
|
2261
|
+
hierarchicalColumnFiltersValue?: ɵFilterGroup | undefined;
|
|
2017
2262
|
constructor(rootSchemaName: string);
|
|
2018
2263
|
private _internalAddColumn;
|
|
2019
2264
|
private _getIsPageable;
|
|
@@ -2126,21 +2371,29 @@ export declare class ɵEntitySchemaQuery extends ɵBaseFilterableQuery {
|
|
|
2126
2371
|
|
|
2127
2372
|
/**
|
|
2128
2373
|
* @public
|
|
2374
|
+
* @generativeApi
|
|
2129
2375
|
* @description The comparison filter class [Exists according to the specified condition].
|
|
2130
2376
|
* @extends {ɵSingleFilter}
|
|
2131
2377
|
*/
|
|
2132
2378
|
export declare class ɵExistsFilter extends ɵSingleFilter {
|
|
2379
|
+
/**
|
|
2380
|
+
* @description Type of filter.
|
|
2381
|
+
* @default 5
|
|
2382
|
+
*/
|
|
2383
|
+
readonly filterType: 5;
|
|
2133
2384
|
/* Excluded from this release type: _instanceOfKey */
|
|
2134
2385
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2135
2386
|
/**
|
|
2136
2387
|
* @description Subquery filters. Cannot contain filters with other subqueries.
|
|
2388
|
+
* @hidden
|
|
2137
2389
|
*/
|
|
2138
2390
|
readonly subFilters?: ɵFilterGroup;
|
|
2139
2391
|
/**
|
|
2140
2392
|
* @description Indicates that the filter is aggregating.
|
|
2393
|
+
* @default true
|
|
2141
2394
|
*/
|
|
2142
2395
|
readonly isAggregative: boolean;
|
|
2143
|
-
constructor(leftExpression:
|
|
2396
|
+
constructor(leftExpression: IESQExpression, subFilters?: ɵFilterGroup, comparisonType?: ɵComparisonType, isAggregative?: boolean);
|
|
2144
2397
|
/**
|
|
2145
2398
|
* Parses filter from json.
|
|
2146
2399
|
* @public
|
|
@@ -2200,7 +2453,11 @@ export declare class ɵExpressionResolver {
|
|
|
2200
2453
|
|
|
2201
2454
|
/**
|
|
2202
2455
|
* @public
|
|
2456
|
+
* @generativeApi
|
|
2203
2457
|
* @description Type of expression.
|
|
2458
|
+
* 0 - SchemaColumn (Reference to a data column), 1 - Function (Function call expression),
|
|
2459
|
+
* 2 - Parameter (Parameter value), 3 - SubQuery (Nested query expression),
|
|
2460
|
+
* 4 - ArithmeticOperation (Mathematical operation)
|
|
2204
2461
|
*/
|
|
2205
2462
|
export declare enum ɵExpressionType {
|
|
2206
2463
|
/**
|
|
@@ -2231,23 +2488,33 @@ export declare enum ɵExpressionType {
|
|
|
2231
2488
|
* i.e. The collection itself can be an element of another collection.
|
|
2232
2489
|
* @extends {ɵBaseFilter}
|
|
2233
2490
|
*/
|
|
2234
|
-
export declare class ɵFilterGroup extends ɵBaseFilter {
|
|
2491
|
+
export declare class ɵFilterGroup extends ɵBaseFilter implements IFilterGroup {
|
|
2492
|
+
/**
|
|
2493
|
+
* @description Type of filter.
|
|
2494
|
+
* @default 6
|
|
2495
|
+
*/
|
|
2496
|
+
readonly filterType = ɵFilterType.FilterGroup;
|
|
2235
2497
|
/* Excluded from this release type: _instanceOfKey */
|
|
2236
2498
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2237
2499
|
/**
|
|
2238
2500
|
* @public
|
|
2501
|
+
* @hidden
|
|
2239
2502
|
* @description Collection of child filters.
|
|
2240
2503
|
*/
|
|
2241
2504
|
filters: Map<string, ɵBaseFilter>;
|
|
2242
2505
|
/**
|
|
2243
2506
|
* @public
|
|
2244
|
-
* @description
|
|
2507
|
+
* @description Returns collection of child filters or filter groups.
|
|
2508
|
+
* Each item is a key-value pair,
|
|
2509
|
+
* where the key is autogenerated or user-defined name, and value - filter or a filter group
|
|
2510
|
+
* @default {}
|
|
2245
2511
|
*/
|
|
2246
2512
|
get items(): {
|
|
2247
2513
|
[key: string]: ɵBaseFilter;
|
|
2248
2514
|
};
|
|
2249
2515
|
/**
|
|
2250
|
-
* @description The type of the logical operation for a combination of filters in
|
|
2516
|
+
* @description The type of the logical operation for a combination of filters in this filter group.
|
|
2517
|
+
* @default 0
|
|
2251
2518
|
*/
|
|
2252
2519
|
logicalOperation: ɵLogicalOperatorType;
|
|
2253
2520
|
/**
|
|
@@ -2387,6 +2654,12 @@ export declare class ɵFilterResolver {
|
|
|
2387
2654
|
/**
|
|
2388
2655
|
* @public
|
|
2389
2656
|
* @description The type of filter.
|
|
2657
|
+
* - 0 None, No filter applied.
|
|
2658
|
+
* - 1 Compare, Comparison filter (e.g., equal to, greater than).
|
|
2659
|
+
* - 2 IsNull, Checks if a value is null.
|
|
2660
|
+
* - 4 In, Checks if a value is in a specified set of values.
|
|
2661
|
+
* - 5 Exists, Checks if a value exists.
|
|
2662
|
+
* - 6 FilterGroup, A group of filters combined with logical operators (AND, OR).
|
|
2390
2663
|
*/
|
|
2391
2664
|
export declare enum ɵFilterType {
|
|
2392
2665
|
/**
|
|
@@ -2407,6 +2680,8 @@ export declare enum ɵFilterType {
|
|
|
2407
2680
|
/**
|
|
2408
2681
|
* @public
|
|
2409
2682
|
* @description Checks if a value is between two specified values.
|
|
2683
|
+
* should be used with {@link ɵBetweenFilter}
|
|
2684
|
+
* @hidden
|
|
2410
2685
|
*/
|
|
2411
2686
|
Between = 3,
|
|
2412
2687
|
/**
|
|
@@ -2440,7 +2715,9 @@ export declare interface ɵFiltrationPlatformAPIOptions extends ɵPlatformAPIOpt
|
|
|
2440
2715
|
/**
|
|
2441
2716
|
* @public
|
|
2442
2717
|
* @abstract
|
|
2718
|
+
* @generativeApi
|
|
2443
2719
|
* @description A class that describes a functional expression.
|
|
2720
|
+
* Functional expressions are evaluated on BE to produce a value based on the function type.
|
|
2444
2721
|
* @extends {ɵFunctionExpression}
|
|
2445
2722
|
*/
|
|
2446
2723
|
export declare abstract class ɵFunctionExpression extends ɵBaseExpression {
|
|
@@ -2448,6 +2725,7 @@ export declare abstract class ɵFunctionExpression extends ɵBaseExpression {
|
|
|
2448
2725
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2449
2726
|
/**
|
|
2450
2727
|
* @description Expression type. Default 'Function'.
|
|
2728
|
+
* @default 1.
|
|
2451
2729
|
*/
|
|
2452
2730
|
readonly expressionType: ɵExpressionType;
|
|
2453
2731
|
/**
|
|
@@ -2475,7 +2753,13 @@ export declare type ɵFunctionStringType = 'aggregation' | 'datePart' | 'none';
|
|
|
2475
2753
|
|
|
2476
2754
|
/**
|
|
2477
2755
|
* @public
|
|
2478
|
-
* @
|
|
2756
|
+
* @generativeApi
|
|
2757
|
+
* @description The type of function in the filter, or in the aggregation function
|
|
2758
|
+
* 0 - None (Function type not defined), 1 - Macros (Substitution by macro),
|
|
2759
|
+
* 2 - Aggregation (Aggregating function), 3 - DatePart (Date fragment),
|
|
2760
|
+
* 4 - Length (Size of value in bytes), 5 - Window (Window query function),
|
|
2761
|
+
* 6 - DateAdd (Date addition), 7 - DateDiff (Date difference).
|
|
2762
|
+
* if used in aggregation function, use 2 by default.
|
|
2479
2763
|
*/
|
|
2480
2764
|
export declare enum ɵFunctionType {
|
|
2481
2765
|
/**
|
|
@@ -2523,6 +2807,7 @@ export declare function ɵgenerateGuid(): ɵGuid;
|
|
|
2523
2807
|
/* Excluded from this release type: ɵgetFilterPlainObj */
|
|
2524
2808
|
|
|
2525
2809
|
/**
|
|
2810
|
+
* @generativeApi
|
|
2526
2811
|
* @description Type for Guid value.
|
|
2527
2812
|
* @public
|
|
2528
2813
|
*/
|
|
@@ -2530,17 +2815,24 @@ export declare type ɵGuid = string;
|
|
|
2530
2815
|
|
|
2531
2816
|
/**
|
|
2532
2817
|
* @public
|
|
2533
|
-
* @
|
|
2818
|
+
* @generativeApi
|
|
2819
|
+
* @description Filter that checks if the value of {@link #leftExpression} is satisfied
|
|
2820
|
+
* by each of expressions in the array of {@link #rightExpressions}.
|
|
2534
2821
|
* @extends {ɵSingleFilter}
|
|
2535
2822
|
*/
|
|
2536
2823
|
export declare class ɵInFilter extends ɵSingleFilter {
|
|
2824
|
+
/**
|
|
2825
|
+
* @description Type of filter. 4 means filter of type "In".
|
|
2826
|
+
* @default 4
|
|
2827
|
+
*/
|
|
2828
|
+
readonly filterType: 4;
|
|
2537
2829
|
/* Excluded from this release type: _instanceOfKey */
|
|
2538
2830
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2539
2831
|
/**
|
|
2540
2832
|
* @description An array of expressions that will be compared with {@link #leftExpression}.
|
|
2541
2833
|
*/
|
|
2542
|
-
readonly rightExpressions:
|
|
2543
|
-
constructor(comparisonType: ɵComparisonType, leftExpression:
|
|
2834
|
+
readonly rightExpressions: IESQExpression[];
|
|
2835
|
+
constructor(comparisonType: ɵComparisonType, leftExpression: IESQExpression, rightExpressions: IESQExpression[]);
|
|
2544
2836
|
/**
|
|
2545
2837
|
* @description Parses in filter from json.
|
|
2546
2838
|
* @public
|
|
@@ -2559,6 +2851,7 @@ export declare class ɵInFilter extends ɵSingleFilter {
|
|
|
2559
2851
|
*/
|
|
2560
2852
|
export declare class ɵInsertQuery extends ɵBaseQuery {
|
|
2561
2853
|
private _columnValues;
|
|
2854
|
+
/* Excluded from this release type: _queryDtoType */
|
|
2562
2855
|
constructor(rootSchemaName: string);
|
|
2563
2856
|
/**
|
|
2564
2857
|
* @description A collection of column values for updating entities.
|
|
@@ -2595,17 +2888,27 @@ export declare function ɵisGuid(value: unknown): boolean;
|
|
|
2595
2888
|
|
|
2596
2889
|
/**
|
|
2597
2890
|
* @public
|
|
2598
|
-
* @
|
|
2891
|
+
* @generativeApi
|
|
2892
|
+
* @description Filter that checks if the value of {@link #leftExpression} equals to null or not.
|
|
2599
2893
|
* @extends {ɵSingleFilter}
|
|
2600
2894
|
*/
|
|
2601
2895
|
export declare class ɵIsNullFilter extends ɵSingleFilter {
|
|
2896
|
+
/**
|
|
2897
|
+
* @description Type of filter.
|
|
2898
|
+
* @default 2
|
|
2899
|
+
*/
|
|
2900
|
+
readonly filterType: 2;
|
|
2602
2901
|
/**
|
|
2603
2902
|
* @description Flag that indicates if expression is empty or not.
|
|
2604
2903
|
*/
|
|
2605
2904
|
isNull: boolean;
|
|
2606
2905
|
/* Excluded from this release type: _instanceOfKey */
|
|
2607
|
-
|
|
2608
|
-
|
|
2906
|
+
/**
|
|
2907
|
+
* @internale
|
|
2908
|
+
* @dontChange
|
|
2909
|
+
*/
|
|
2910
|
+
protected static get _instanceOfKeys(): string[];
|
|
2911
|
+
constructor(comparisonType: ɵComparisonType.Is_null | ɵComparisonType.Is_not_null, leftExpression: IESQExpression);
|
|
2609
2912
|
private static _getComparisonType;
|
|
2610
2913
|
/**
|
|
2611
2914
|
* @description Parses isNull filter from json.
|
|
@@ -2661,9 +2964,14 @@ export declare type ɵJsonData = string | number | boolean | null | undefined |
|
|
|
2661
2964
|
|
|
2662
2965
|
/**
|
|
2663
2966
|
* @public
|
|
2967
|
+
* @generativeApi
|
|
2968
|
+
* @hidden
|
|
2664
2969
|
* @description JSON object.
|
|
2665
2970
|
*/
|
|
2666
2971
|
export declare interface ɵJsonObject {
|
|
2972
|
+
/**
|
|
2973
|
+
* @hidden
|
|
2974
|
+
* */
|
|
2667
2975
|
[key: string]: ɵJsonData;
|
|
2668
2976
|
}
|
|
2669
2977
|
|
|
@@ -2678,6 +2986,7 @@ export declare class ɵLengthFunctionColumn extends ɵBaseQueryColumn<ɵLengthFu
|
|
|
2678
2986
|
|
|
2679
2987
|
/**
|
|
2680
2988
|
* @public
|
|
2989
|
+
* @generativeApi
|
|
2681
2990
|
* @description A class that describes expression with length function.
|
|
2682
2991
|
* @extends {ɵArgumentFunctionExpression}
|
|
2683
2992
|
*/
|
|
@@ -2729,7 +3038,9 @@ export declare type ɵLocalizeFn = (key: string) => string;
|
|
|
2729
3038
|
|
|
2730
3039
|
/**
|
|
2731
3040
|
* @public
|
|
2732
|
-
* @
|
|
3041
|
+
* @generativeApi
|
|
3042
|
+
* @description The type of logical operation used to combine multiple conditions in filters.
|
|
3043
|
+
* 0 - And (All conditions must be true), 1 - Or (At least one condition must be true)
|
|
2733
3044
|
*/
|
|
2734
3045
|
export declare enum ɵLogicalOperatorType {
|
|
2735
3046
|
/**
|
|
@@ -2744,6 +3055,7 @@ export declare enum ɵLogicalOperatorType {
|
|
|
2744
3055
|
|
|
2745
3056
|
/**
|
|
2746
3057
|
* @public
|
|
3058
|
+
* @genearativeApi
|
|
2747
3059
|
* @description Required shape for lookup.
|
|
2748
3060
|
* @extends {ɵJsonObject}
|
|
2749
3061
|
* @property {string} displayValue - Value witch will be displayed in lookup
|
|
@@ -2799,6 +3111,7 @@ export declare class ɵMacrosFunctionColumn extends ɵBaseQueryColumn<ɵMacrosFu
|
|
|
2799
3111
|
|
|
2800
3112
|
/**
|
|
2801
3113
|
* @public
|
|
3114
|
+
* @generativeApi
|
|
2802
3115
|
* @description A class that describes expression with macros function.
|
|
2803
3116
|
* @extends {ɵFunctionExpression}
|
|
2804
3117
|
*/
|
|
@@ -2807,6 +3120,7 @@ export declare class ɵMacrosFunctionExpression extends ɵFunctionExpression {
|
|
|
2807
3120
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2808
3121
|
/**
|
|
2809
3122
|
* @description Function type. Default 'Macros'.
|
|
3123
|
+
* @default 1
|
|
2810
3124
|
*/
|
|
2811
3125
|
readonly functionType: ɵFunctionType;
|
|
2812
3126
|
/**
|
|
@@ -2815,8 +3129,9 @@ export declare class ɵMacrosFunctionExpression extends ɵFunctionExpression {
|
|
|
2815
3129
|
readonly macrosType: ɵQueryMacrosType;
|
|
2816
3130
|
/**
|
|
2817
3131
|
* @description Function argument.
|
|
3132
|
+
* it is optional and exists only for some macros functions.
|
|
2818
3133
|
*/
|
|
2819
|
-
readonly functionArgument?:
|
|
3134
|
+
readonly functionArgument?: IESQExpression;
|
|
2820
3135
|
constructor(config: ɵMacrosFunctionExpressionConfig);
|
|
2821
3136
|
/**
|
|
2822
3137
|
* Parses expression from json.
|
|
@@ -3013,7 +3328,9 @@ export declare class ɵNextHandlerAlreadySpecifiedException extends Error {
|
|
|
3013
3328
|
|
|
3014
3329
|
/**
|
|
3015
3330
|
* @public
|
|
3016
|
-
* @
|
|
3331
|
+
* @generativeApi
|
|
3332
|
+
* @description Specifies the sort direction for query results.
|
|
3333
|
+
* 0 - None (No specific ordering), 1 - Asc (Ascending order, A-Z, 0-9), 2 - Desc (Descending order, Z-A, 9-0)
|
|
3017
3334
|
*/
|
|
3018
3335
|
export declare enum ɵOrderDirection {
|
|
3019
3336
|
/**
|
|
@@ -3032,7 +3349,9 @@ export declare enum ɵOrderDirection {
|
|
|
3032
3349
|
|
|
3033
3350
|
/**
|
|
3034
3351
|
* @public
|
|
3352
|
+
* @generativeApi
|
|
3035
3353
|
* @description The class that defines the parametric expression.
|
|
3354
|
+
* It means that result of this expression is a parameter value.
|
|
3036
3355
|
* @extends {ɵBaseExpression}
|
|
3037
3356
|
*/
|
|
3038
3357
|
export declare class ɵParameterExpression extends ɵBaseExpression {
|
|
@@ -3044,20 +3363,21 @@ export declare class ɵParameterExpression extends ɵBaseExpression {
|
|
|
3044
3363
|
readonly expressionType: ɵExpressionType;
|
|
3045
3364
|
/**
|
|
3046
3365
|
* @description Parameter value.
|
|
3366
|
+
* @hidden
|
|
3047
3367
|
*/
|
|
3048
3368
|
readonly value: ɵEntityColumnValue;
|
|
3049
3369
|
/**
|
|
3050
3370
|
* @description Parameter value type.
|
|
3371
|
+
* @hidden
|
|
3051
3372
|
*/
|
|
3052
3373
|
readonly dataValueType: ɵDataValueType;
|
|
3053
3374
|
/**
|
|
3054
|
-
* @description Parameter object reference.
|
|
3375
|
+
* @description Parameter object reference. Defines the value and type of the parameter.
|
|
3376
|
+
* dateValue property exists only if dataValueType === ɵDataValueType.DateTime.
|
|
3377
|
+
* if dataValueType === ɵDataValueType.DateTime, dataValueType will contain the ISO 8601 date string and
|
|
3378
|
+
* value will contain the same date, but wrapped in escaped string. E.g.: "\"2023-01-01T00:00:00.000Z\""
|
|
3055
3379
|
*/
|
|
3056
|
-
readonly parameter:
|
|
3057
|
-
value?: ɵEntityColumnValue;
|
|
3058
|
-
arrayValue?: string[];
|
|
3059
|
-
dataValueType: ɵDataValueType;
|
|
3060
|
-
};
|
|
3380
|
+
readonly parameter: IParameterDefinition;
|
|
3061
3381
|
constructor(config: ɵParameterExpressionConfig);
|
|
3062
3382
|
/**
|
|
3063
3383
|
* Parses expression from json.
|
|
@@ -3140,7 +3460,36 @@ export declare interface ɵPrimaryDisplayFilterDataSourceParameter extends ɵBas
|
|
|
3140
3460
|
|
|
3141
3461
|
/**
|
|
3142
3462
|
* @public
|
|
3143
|
-
* @
|
|
3463
|
+
* @generativeApi
|
|
3464
|
+
* @description Defines the types of macros that can be used in queries.
|
|
3465
|
+
* 0 - None (No macro), 1 - CurrentUser (Current user ID), 2 - CurrentUserContact (User's contact),
|
|
3466
|
+
* 3 - Yesterday (Previous day), 4 - Today (Current day), 5 - Tomorrow (Next day),
|
|
3467
|
+
* 6 - PreviousWeek (Last week), 7 - CurrentWeek (This week), 8 - NextWeek (Coming week),
|
|
3468
|
+
* 9 - PreviousMonth (Last month), 10 - CurrentMonth (This month), 11 - NextMonth (Coming month)
|
|
3469
|
+
* 12 - Previous quarter.
|
|
3470
|
+
* 13 - Current quarter.
|
|
3471
|
+
* 14 - Next quarter.
|
|
3472
|
+
* 15 - Previous half of the year.
|
|
3473
|
+
* 16 - Current half-year.
|
|
3474
|
+
* 17 - Next half-year.
|
|
3475
|
+
* 18 - Last year.
|
|
3476
|
+
* 19 - This year.
|
|
3477
|
+
* 20 - Previous hour.
|
|
3478
|
+
* 21 - Current hour.
|
|
3479
|
+
* 22 - Next hour.
|
|
3480
|
+
* 23 - Next year.
|
|
3481
|
+
* 24 - Next N Days.
|
|
3482
|
+
* 25 - Previous N days.
|
|
3483
|
+
* 26 - Next N hours.
|
|
3484
|
+
* 27 - Previous N hours.
|
|
3485
|
+
* 34 - Primary column.
|
|
3486
|
+
* 35 - Primary displayed column.
|
|
3487
|
+
* 36 - Primary image display column.
|
|
3488
|
+
* 37 - Anniversary today.
|
|
3489
|
+
* 38 - Anniversary on the date computed as today plus days offset.
|
|
3490
|
+
* 39 - Anniversary on the next several days.
|
|
3491
|
+
* 40 - Anniversary on the previous several days.
|
|
3492
|
+
* 41 - Primary color display column.
|
|
3144
3493
|
*/
|
|
3145
3494
|
export declare enum ɵQueryMacrosType {
|
|
3146
3495
|
/**
|
|
@@ -3417,6 +3766,7 @@ export declare interface ɵSerializable {
|
|
|
3417
3766
|
|
|
3418
3767
|
/**
|
|
3419
3768
|
* @public
|
|
3769
|
+
* @generativeApi
|
|
3420
3770
|
* @description Basic filter class with one condition.
|
|
3421
3771
|
* @extends {ɵBaseFilter}
|
|
3422
3772
|
*/
|
|
@@ -3425,13 +3775,20 @@ export declare abstract class ɵSingleFilter extends ɵBaseFilter {
|
|
|
3425
3775
|
/* Excluded from this release type: _instanceOfKeys */
|
|
3426
3776
|
/**
|
|
3427
3777
|
* @description Type of comparison operation.
|
|
3778
|
+
* this comparison type defines how the {@link #leftExpression} will be compared
|
|
3779
|
+
* with the value of the right expression.
|
|
3428
3780
|
*/
|
|
3429
3781
|
readonly comparisonType: ɵComparisonType;
|
|
3430
3782
|
/**
|
|
3431
|
-
* @description
|
|
3783
|
+
* @description expression that contains the value to be compared with the right expressions.
|
|
3784
|
+
*/
|
|
3785
|
+
readonly leftExpression: IESQExpression;
|
|
3786
|
+
/**
|
|
3787
|
+
* @description name of the entity schema, connected to the root schema of the filter.
|
|
3788
|
+
* Used, when one of the expressions uses a column from another schema.
|
|
3432
3789
|
*/
|
|
3433
|
-
readonly
|
|
3434
|
-
protected constructor(filterType: ɵFilterType, comparisonType: ɵComparisonType, leftExpression:
|
|
3790
|
+
readonly referenceSchemaName?: string;
|
|
3791
|
+
protected constructor(filterType: ɵFilterType, comparisonType: ɵComparisonType, leftExpression: IESQExpression);
|
|
3435
3792
|
/** {@inheritDoc ɵSerializable.toJson} */
|
|
3436
3793
|
toJson(): ɵJsonObject;
|
|
3437
3794
|
/* Excluded from this release type: _getUsedColumns */
|
|
@@ -3576,6 +3933,7 @@ export declare type ɵType<T = any> = new (...args: any[]) => T;
|
|
|
3576
3933
|
*/
|
|
3577
3934
|
export declare class ɵUpdateQuery extends ɵBaseFilterableQuery {
|
|
3578
3935
|
private _columnValues;
|
|
3936
|
+
/* Excluded from this release type: _queryDtoType */
|
|
3579
3937
|
/**
|
|
3580
3938
|
* @description Flag that indicates whether to force save data.
|
|
3581
3939
|
*/
|
|
@@ -3675,6 +4033,7 @@ export declare class ɵWindowFunctionColumn extends ɵBaseQueryColumn<ɵWindowFu
|
|
|
3675
4033
|
|
|
3676
4034
|
/**
|
|
3677
4035
|
* @public
|
|
4036
|
+
* @generativeApi
|
|
3678
4037
|
* @description A class that describes expression with window function.
|
|
3679
4038
|
* @extends {ɵArgumentFunctionExpression}
|
|
3680
4039
|
*/
|