@creatio/base 0.823.0 → 0.831.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-value-type.enum.mjs +51 -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 +5 -3
- 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-value-masking-settings.mjs +2 -0
- package/esm2022/lib/public/services/model/data-schema-attribute.mjs +1 -1
- package/esm2022/lib/public/services/model/index.mjs +7 -6
- 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 +270 -42
- package/fesm2022/creatio-base.mjs.map +1 -1
- package/index.d.ts +389 -50
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -49,6 +49,75 @@ export declare enum eAdminUnitRoleSources {
|
|
|
49
49
|
All = 63
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
/**
|
|
53
|
+
* @generativeApi
|
|
54
|
+
* @description Combined type for all ESQ expressions.If you plan to create a new expression, please add it to this type
|
|
55
|
+
* */
|
|
56
|
+
declare type IESQExpression = ɵBaseExpression | ɵArithmeticExpression | ɵColumnExpression | ɵParameterExpression | ɵAggregationFunctionExpression | ɵArgumentFunctionExpression | ɵDatePartFunctionExpression | ɵLengthFunctionExpression | ɵMacrosFunctionExpression | ɵWindowFunctionExpression;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generativeApi
|
|
60
|
+
* @description Combined type for all ESQ filters. If you plan to create a new filter, please add it to this type.
|
|
61
|
+
* */
|
|
62
|
+
export declare type IESQFilter = ɵBaseFilter | ɵBetweenFilter | ɵCompareFilter | ɵExistsFilter | IFilterGroup | ɵInFilter | ɵIsNullFilter | ɵSingleFilter;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* this interface is created, because JSON schema generation does not support getters
|
|
67
|
+
* @generativeApi
|
|
68
|
+
* @description Group of filters. Usually one, or several filters, combined with a logical operation (And, Or).
|
|
69
|
+
* Groups of filters can be nested into each other,
|
|
70
|
+
* i.e. The collection itself can be an element of another collection.
|
|
71
|
+
* @extends {ɵBaseFilter}
|
|
72
|
+
*/
|
|
73
|
+
export declare type IFilterGroup = ɵBaseFilter & {
|
|
74
|
+
/**
|
|
75
|
+
* @description Type of filter. 6 means that this is a filter group.
|
|
76
|
+
* @default 6
|
|
77
|
+
*/
|
|
78
|
+
readonly filterType: ɵFilterType.FilterGroup;
|
|
79
|
+
/**
|
|
80
|
+
* @description Returns collection of child filters or filter groups.
|
|
81
|
+
* Each item is a key-value pair,
|
|
82
|
+
* where the key is autogenerated or user-defined name, and value - filter or a filter group
|
|
83
|
+
*/
|
|
84
|
+
items: Record<string, IESQFilter>;
|
|
85
|
+
/**
|
|
86
|
+
* @description The type of the logical operation for a combination of filters in this filter group.
|
|
87
|
+
*/
|
|
88
|
+
logicalOperation: ɵLogicalOperatorType;
|
|
89
|
+
/**
|
|
90
|
+
* @description Root entity schema name or table name.
|
|
91
|
+
*/
|
|
92
|
+
rootSchemaName?: string;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
* @generativeApi
|
|
98
|
+
* @description Parameter object reference. Defines the value and type of the parameter.
|
|
99
|
+
* dateValue property exists only if dataValueType is 7.
|
|
100
|
+
*/
|
|
101
|
+
export declare interface IParameterDefinition<TDataValueType extends ɵDataValueType = ɵDataValueType> {
|
|
102
|
+
/**
|
|
103
|
+
* @description type of the parameter value.
|
|
104
|
+
* */
|
|
105
|
+
dataValueType: TDataValueType;
|
|
106
|
+
/**
|
|
107
|
+
* @description exists only if dataValueType is 7. Contains the ISO 8601 date string.
|
|
108
|
+
* */
|
|
109
|
+
dateValue?: TDataValueType extends ɵDataValueType.DateTime ? `${string}T${string}Z` : never;
|
|
110
|
+
/**
|
|
111
|
+
* @description defines the value of the parameter.
|
|
112
|
+
* If dataValueType is 7. Contains the ISO 8601 date string. but wrapped in escaped string.
|
|
113
|
+
* E.g.: `\"2023-01-01T00:00:00.000Z\"`, otherwise it is the value of the parameter.
|
|
114
|
+
* If dataValueType is 10, then value is ɵLookupValue.
|
|
115
|
+
* value cannot be an array
|
|
116
|
+
* */
|
|
117
|
+
value?: TDataValueType extends ɵDataValueType.DateTime ? string : ɵEntityColumnValue;
|
|
118
|
+
arrayValue?: string[];
|
|
119
|
+
}
|
|
120
|
+
|
|
52
121
|
/* Excluded from this release type: LookupMode */
|
|
53
122
|
|
|
54
123
|
/* Excluded from this release type: UsedColumn */
|
|
@@ -67,7 +136,10 @@ export declare type ɵAggregationEval = 'all' | 'distinct' | 'none';
|
|
|
67
136
|
|
|
68
137
|
/**
|
|
69
138
|
* @public
|
|
70
|
-
* @
|
|
139
|
+
* @generativeApi
|
|
140
|
+
* @description Defines the scope or evaluation mode for aggregation functions.
|
|
141
|
+
* 0 - None (No specific scope defined), 1 - All (Includes all values including duplicates),
|
|
142
|
+
* 2 - Distinct (Only unique values, eliminates duplicates)
|
|
71
143
|
*/
|
|
72
144
|
export declare enum ɵAggregationEvalType {
|
|
73
145
|
/**
|
|
@@ -121,15 +193,16 @@ export declare enum ɵAggregationFunction {
|
|
|
121
193
|
|
|
122
194
|
/**
|
|
123
195
|
* @public
|
|
124
|
-
* @
|
|
196
|
+
* @description Class contains info about column with aggregation function.
|
|
125
197
|
* @extends {ɵBaseQueryColumn}
|
|
126
198
|
*/
|
|
127
199
|
export declare class ɵAggregationFunctionColumn extends ɵBaseQueryColumn<ɵAggregationFunctionExpression> {
|
|
128
|
-
constructor(aggregationType: ɵAggregationType, aggregationEvalType: ɵAggregationEvalType, functionArgument:
|
|
200
|
+
constructor(aggregationType: ɵAggregationType, aggregationEvalType: ɵAggregationEvalType, functionArgument: ɵColumnExpression);
|
|
129
201
|
}
|
|
130
202
|
|
|
131
203
|
/**
|
|
132
204
|
* @public
|
|
205
|
+
* @generativeApi
|
|
133
206
|
* @description A class that describes expression with aggregate function.
|
|
134
207
|
* @extends {ɵArgumentFunctionExpression}
|
|
135
208
|
*/
|
|
@@ -207,7 +280,15 @@ export declare type ɵAggregationSubQueryExpressionConfig = ɵSubQueryExpression
|
|
|
207
280
|
|
|
208
281
|
/**
|
|
209
282
|
* @public
|
|
210
|
-
*
|
|
283
|
+
* @generativeApi
|
|
284
|
+
* @description The type of aggregation function used in queries and data operations.
|
|
285
|
+
* 0 - None (No aggregation),
|
|
286
|
+
* 1 - Count (Count records - can be used with any column type),
|
|
287
|
+
* 2 - Sum (Total of values - numeric columns only),
|
|
288
|
+
* 3 - Avg (Average value - numeric columns only),
|
|
289
|
+
* 4 - Min (Minimum value - numeric and date columns),
|
|
290
|
+
* 5 - Max (Maximum value - numeric and date columns),
|
|
291
|
+
* 6 - TopOne (First record - any column type)
|
|
211
292
|
*/
|
|
212
293
|
export declare enum ɵAggregationType {
|
|
213
294
|
/**
|
|
@@ -252,6 +333,7 @@ export declare class ɵArgumentEmptyException extends Error {
|
|
|
252
333
|
/**
|
|
253
334
|
* @public
|
|
254
335
|
* @abstract
|
|
336
|
+
* @generativeApi
|
|
255
337
|
* @description A class that describes a functional expression with argument.
|
|
256
338
|
* @extends {ɵFunctionExpression}
|
|
257
339
|
*/
|
|
@@ -261,7 +343,7 @@ export declare abstract class ɵArgumentFunctionExpression extends ɵFunctionExp
|
|
|
261
343
|
/**
|
|
262
344
|
* @description Expression argument.
|
|
263
345
|
*/
|
|
264
|
-
readonly functionArgument:
|
|
346
|
+
readonly functionArgument: IESQExpression;
|
|
265
347
|
protected constructor(config: ɵArgumentFunctionExpressionConfig<ɵArgumentFunctionExpression>);
|
|
266
348
|
/**
|
|
267
349
|
* @public
|
|
@@ -290,6 +372,7 @@ export declare class ɵArgumentOutOfRangeException extends Error {
|
|
|
290
372
|
|
|
291
373
|
/**
|
|
292
374
|
* @public
|
|
375
|
+
* @genearativeApi
|
|
293
376
|
* @description Arithmetic expression.
|
|
294
377
|
* @extends {ɵBaseExpression}
|
|
295
378
|
*/
|
|
@@ -307,11 +390,11 @@ export declare class ɵArithmeticExpression extends ɵBaseExpression {
|
|
|
307
390
|
/**
|
|
308
391
|
* @description Left operand expression.
|
|
309
392
|
*/
|
|
310
|
-
readonly leftArithmeticOperand:
|
|
393
|
+
readonly leftArithmeticOperand: IESQExpression;
|
|
311
394
|
/**
|
|
312
395
|
* @description Right operand expression.
|
|
313
396
|
*/
|
|
314
|
-
readonly rightArithmeticOperand:
|
|
397
|
+
readonly rightArithmeticOperand: IESQExpression;
|
|
315
398
|
constructor(config: ɵArithmeticExpressionConfig);
|
|
316
399
|
/**
|
|
317
400
|
* Parses expression from json.
|
|
@@ -334,7 +417,10 @@ export declare type ɵArithmeticExpressionConfig = ɵExpressionConfig<ɵArithmet
|
|
|
334
417
|
|
|
335
418
|
/**
|
|
336
419
|
* @public
|
|
337
|
-
* @
|
|
420
|
+
* @generativeApi
|
|
421
|
+
* @description Represents arithmetic operations that can be performed in queries and expressions.
|
|
422
|
+
* 0 - Addition (Adds values), 1 - Subtraction (Subtracts values),
|
|
423
|
+
* 2 - Multiplication (Multiplies values), 3 - Division (Divides values)
|
|
338
424
|
*/
|
|
339
425
|
export declare enum ɵArithmeticOperation {
|
|
340
426
|
/**
|
|
@@ -446,6 +532,7 @@ export declare interface ɵBaseDialogService<TConfig extends ɵBaseDialogConfig
|
|
|
446
532
|
|
|
447
533
|
/**
|
|
448
534
|
* @public
|
|
535
|
+
* @generativeApi
|
|
449
536
|
* @abstract
|
|
450
537
|
* @description The base class of the expression.
|
|
451
538
|
* @extends {ɵSerializable}
|
|
@@ -455,8 +542,9 @@ export declare abstract class ɵBaseExpression implements ɵSerializable {
|
|
|
455
542
|
/* Excluded from this release type: _instanceOfKeys */
|
|
456
543
|
/**
|
|
457
544
|
* @description True if expression has brackets.
|
|
545
|
+
* @default false
|
|
458
546
|
*/
|
|
459
|
-
readonly isBlock
|
|
547
|
+
readonly isBlock?: boolean;
|
|
460
548
|
/**
|
|
461
549
|
* @public
|
|
462
550
|
* @description Method for checking if an instance is of the current class type.
|
|
@@ -509,7 +597,8 @@ export declare class ɵBaseExpressionParser {
|
|
|
509
597
|
/**
|
|
510
598
|
* @public
|
|
511
599
|
* @abstract
|
|
512
|
-
* @
|
|
600
|
+
* @generativeApi
|
|
601
|
+
* @description Base class for all filters in the system.
|
|
513
602
|
* @extends {ɵSerializable}
|
|
514
603
|
*/
|
|
515
604
|
export declare abstract class ɵBaseFilter implements ɵSerializable {
|
|
@@ -521,12 +610,14 @@ export declare abstract class ɵBaseFilter implements ɵSerializable {
|
|
|
521
610
|
readonly filterType: ɵFilterType;
|
|
522
611
|
/**
|
|
523
612
|
* @description Indicates that the filter is active and will be taken into account when building the query.
|
|
613
|
+
* @default true
|
|
524
614
|
*/
|
|
525
615
|
isEnabled: boolean;
|
|
526
616
|
/**
|
|
527
|
-
* @description Drop the time for the date / time type parameters.
|
|
617
|
+
* @description Drop the time for the date / time type parameters. In FilterGroup this option is not supported.
|
|
618
|
+
* @default false
|
|
528
619
|
*/
|
|
529
|
-
trimDateTimeParameterToDate
|
|
620
|
+
trimDateTimeParameterToDate?: boolean;
|
|
530
621
|
/**
|
|
531
622
|
* @public
|
|
532
623
|
* @description Method for checking if an instance is of the current class type.
|
|
@@ -705,6 +796,9 @@ export declare interface ɵBaseModel<TLoadOptions extends ɵDataSourceLoadOption
|
|
|
705
796
|
export declare abstract class ɵBaseQuery implements ɵMetadataProvider<Record<string, unknown>> {
|
|
706
797
|
readonly operationType: ɵQueryOperationType;
|
|
707
798
|
readonly rootSchemaName: string;
|
|
799
|
+
queryId?: string;
|
|
800
|
+
/* Excluded from this release type: _queryDtoType */
|
|
801
|
+
get queryDtoType(): string;
|
|
708
802
|
protected constructor(operationType: ɵQueryOperationType, rootSchemaName: string);
|
|
709
803
|
/** {@inheritDoc ɵMetadataProvider.getMetadata} */
|
|
710
804
|
getMetadata(): Record<string, unknown>;
|
|
@@ -713,6 +807,7 @@ export declare abstract class ɵBaseQuery implements ɵMetadataProvider<Record<s
|
|
|
713
807
|
/**
|
|
714
808
|
* @public
|
|
715
809
|
* @abstract
|
|
810
|
+
* @generativeApi
|
|
716
811
|
* @classdesc Class contains info about column for query.
|
|
717
812
|
*/
|
|
718
813
|
export declare abstract class ɵBaseQueryColumn<TExpression extends ɵBaseExpression = ɵBaseExpression> {
|
|
@@ -759,6 +854,7 @@ export declare abstract class ɵBaseQueryColumn<TExpression extends ɵBaseExpres
|
|
|
759
854
|
*/
|
|
760
855
|
withCaption(caption: string): this;
|
|
761
856
|
/* Excluded from this release type: _getUsedColumns */
|
|
857
|
+
/* Excluded from this release type: toJson */
|
|
762
858
|
}
|
|
763
859
|
|
|
764
860
|
/**
|
|
@@ -806,21 +902,29 @@ export declare interface ɵBaseSysSettingsService {
|
|
|
806
902
|
|
|
807
903
|
/**
|
|
808
904
|
* @public
|
|
905
|
+
* generativeApi
|
|
809
906
|
* @description Filter class of the "Between" type.
|
|
907
|
+
* It contains RightLessExpression and RightGreaterExpression,
|
|
908
|
+
* which represent the boundaries of values for filtering.
|
|
810
909
|
* @extends {ɵSingleFilter}
|
|
811
910
|
*/
|
|
812
911
|
export declare class ɵBetweenFilter extends ɵSingleFilter {
|
|
912
|
+
/**
|
|
913
|
+
* @description Type of filter.
|
|
914
|
+
* @default 3
|
|
915
|
+
* */
|
|
916
|
+
readonly filterType: 3;
|
|
813
917
|
/* Excluded from this release type: _instanceOfKey */
|
|
814
918
|
/* Excluded from this release type: _instanceOfKeys */
|
|
815
919
|
/**
|
|
816
920
|
* @description The initial expression of the filtering range.
|
|
817
921
|
*/
|
|
818
|
-
readonly rightLessExpression:
|
|
922
|
+
readonly rightLessExpression: IESQExpression;
|
|
819
923
|
/**
|
|
820
924
|
* @description The final expression of the filtering range.
|
|
821
925
|
*/
|
|
822
|
-
readonly rightGreaterExpression:
|
|
823
|
-
constructor(leftExpression:
|
|
926
|
+
readonly rightGreaterExpression: IESQExpression;
|
|
927
|
+
constructor(leftExpression: IESQExpression, rightLessExpression: IESQExpression, rightGreaterExpression: IESQExpression);
|
|
824
928
|
/**
|
|
825
929
|
* Parses filter from json.
|
|
826
930
|
* @public
|
|
@@ -839,6 +943,7 @@ export declare type ɵButtonColor = 'primary' | 'accent' | 'warn' | 'default';
|
|
|
839
943
|
|
|
840
944
|
/**
|
|
841
945
|
* @public
|
|
946
|
+
* @generativeApi
|
|
842
947
|
* @description A class that defines an expression of type column EntitySchema.
|
|
843
948
|
* @extends {ɵBaseExpression}
|
|
844
949
|
*/
|
|
@@ -875,17 +980,24 @@ export declare type ɵColumnExpressionConfig = ɵExpressionConfig<ɵColumnExpres
|
|
|
875
980
|
|
|
876
981
|
/**
|
|
877
982
|
* @public
|
|
878
|
-
* @
|
|
983
|
+
* @generativeApi
|
|
984
|
+
* @description Filter class for comparing two expressions. leftExpression describes column from the schema,
|
|
985
|
+
* by which the comparison is made, rightExpression describes the value to which the column is compared.
|
|
879
986
|
* @extends {ɵSingleFilter}
|
|
880
987
|
*/
|
|
881
988
|
export declare class ɵCompareFilter extends ɵSingleFilter {
|
|
989
|
+
/**
|
|
990
|
+
* @description Type of filter.
|
|
991
|
+
* @default 1
|
|
992
|
+
*/
|
|
993
|
+
readonly filterType: 1;
|
|
882
994
|
/* Excluded from this release type: _instanceOfKey */
|
|
883
995
|
/* Excluded from this release type: _instanceOfKeys */
|
|
884
996
|
/**
|
|
885
|
-
* @description Filter expression.
|
|
997
|
+
* @description Filter expression. Right expression is used to compare values of column from the left expression
|
|
886
998
|
*/
|
|
887
|
-
readonly rightExpression:
|
|
888
|
-
constructor(comparisonType: ɵComparisonType, leftExpression:
|
|
999
|
+
readonly rightExpression: IESQExpression;
|
|
1000
|
+
constructor(comparisonType: ɵComparisonType, leftExpression: IESQExpression, rightExpression: IESQExpression);
|
|
889
1001
|
/**
|
|
890
1002
|
* Parses filter from json.
|
|
891
1003
|
* @public
|
|
@@ -898,12 +1010,22 @@ export declare class ɵCompareFilter extends ɵSingleFilter {
|
|
|
898
1010
|
|
|
899
1011
|
/**
|
|
900
1012
|
* @public
|
|
901
|
-
* @
|
|
1013
|
+
* @generativeApi
|
|
1014
|
+
* @description The type of comparison operation used in filters and query conditions.
|
|
1015
|
+
1 - Is_null (Value is null), 2 - Is_not_null (Value is not null),
|
|
1016
|
+
* 3 - Equal (Value equals), 4 - Not_equal (Value doesn't equal), 5 - Less (Value is less than),
|
|
1017
|
+
* 6 - Less_or_equal (Value is less than or equal), 7 - Greater (Value is greater than),
|
|
1018
|
+
* 8 - Greater_or_equal (Value is greater than or equal), 9 - Start_with (Value starts with string),
|
|
1019
|
+
* 10 - Not_start_with (Value doesn't start with string), 11 - Contain (Value contains string),
|
|
1020
|
+
* 12 - Not_contain (Value doesn't contain string), 13 - End_with (Value ends with string),
|
|
1021
|
+
* 14 - Not_end_with (Value doesn't end with string), 15 - Exists (Value exists),
|
|
1022
|
+
* 16 - Not_exists (Value doesn't exist)
|
|
902
1023
|
*/
|
|
903
1024
|
export declare enum ɵComparisonType {
|
|
904
1025
|
/**
|
|
905
1026
|
* @public
|
|
906
1027
|
* @description Value is between two specified values.
|
|
1028
|
+
* @hidden
|
|
907
1029
|
*/
|
|
908
1030
|
Between = 0,
|
|
909
1031
|
/**
|
|
@@ -1082,10 +1204,13 @@ export declare interface ɵDataSchema {
|
|
|
1082
1204
|
* @property {string} name - name of DataSchemaAttribute.
|
|
1083
1205
|
* @property {string} caption - caption of DataSchemaAttribute.
|
|
1084
1206
|
* @property {string} isValueCloneable - copy this DataSchemaAttribute value when copying object.
|
|
1085
|
-
* @property {string} referenceSchemaName - name of
|
|
1207
|
+
* @property {string} referenceSchemaName - name of reference DataSchema.
|
|
1086
1208
|
* @property {boolean} isMasked - is mask used for DataSchemaAttribute.
|
|
1087
1209
|
* @property {boolean} isFormatValidated - is format validated for DataSchemaAttribute.
|
|
1088
|
-
* @property {boolean} isSensitiveData - is data of DataSchemaAttribute
|
|
1210
|
+
* @property {boolean} isSensitiveData - is data of DataSchemaAttribute sensitive.
|
|
1211
|
+
* @property {boolean} isValueMasked - is value of DataSchemaAttribute masked.
|
|
1212
|
+
* @property {DataSchemaAttributeValueMaskingSettings} valueMaskingSettings -
|
|
1213
|
+
* settings for masking DataSchemaAttribute value.
|
|
1089
1214
|
* @property {boolean} isRequired - flag to determine DataSchemaAttribute required or not.
|
|
1090
1215
|
*/
|
|
1091
1216
|
export declare interface ɵDataSchemaAttribute {
|
|
@@ -1151,7 +1276,7 @@ export declare interface ɵDataSchemaAttribute {
|
|
|
1151
1276
|
aggregationConfig?: ɵDataSchemaAttributeAggregationConfig;
|
|
1152
1277
|
/**
|
|
1153
1278
|
* @public
|
|
1154
|
-
* @description Whether attribute should
|
|
1279
|
+
* @description Whether attribute should use mask for input.
|
|
1155
1280
|
*/
|
|
1156
1281
|
isMasked: boolean;
|
|
1157
1282
|
/**
|
|
@@ -1169,6 +1294,16 @@ export declare interface ɵDataSchemaAttribute {
|
|
|
1169
1294
|
* @description Whether attribute is contain sensitive data.
|
|
1170
1295
|
*/
|
|
1171
1296
|
isSensitiveData: boolean;
|
|
1297
|
+
/**
|
|
1298
|
+
* @public
|
|
1299
|
+
* @description Whether attribute value is masked.
|
|
1300
|
+
*/
|
|
1301
|
+
isValueMasked: boolean;
|
|
1302
|
+
/**
|
|
1303
|
+
* @public
|
|
1304
|
+
* @description Value masking settings.
|
|
1305
|
+
*/
|
|
1306
|
+
valueMaskingSettings: ɵDataSchemaAttributeValueMaskingSettings;
|
|
1172
1307
|
/**
|
|
1173
1308
|
* @public
|
|
1174
1309
|
* @description Usage type.
|
|
@@ -1245,6 +1380,31 @@ export declare interface ɵDataSchemaAttributeValidatorConfig {
|
|
|
1245
1380
|
};
|
|
1246
1381
|
}
|
|
1247
1382
|
|
|
1383
|
+
/**
|
|
1384
|
+
* @public
|
|
1385
|
+
* @description Masking settings for attribute value.
|
|
1386
|
+
* @property {string} pattern - Regular expression pattern to match the value.
|
|
1387
|
+
* @property {string} replacement - Replacement string for the matched value.
|
|
1388
|
+
* @property {string} adminOperationCode - Admin operation code for unmasking value.
|
|
1389
|
+
*/
|
|
1390
|
+
export declare interface ɵDataSchemaAttributeValueMaskingSettings {
|
|
1391
|
+
/**
|
|
1392
|
+
* @public
|
|
1393
|
+
* @description Regular expression pattern to match the value.
|
|
1394
|
+
*/
|
|
1395
|
+
pattern: string;
|
|
1396
|
+
/**
|
|
1397
|
+
* @public
|
|
1398
|
+
* @description Replacement string for the matched value.
|
|
1399
|
+
*/
|
|
1400
|
+
replacement: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* @public
|
|
1403
|
+
* @description Admin operation code for unmasking value.
|
|
1404
|
+
*/
|
|
1405
|
+
adminOperationCode: string;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1248
1408
|
/**
|
|
1249
1409
|
* @public
|
|
1250
1410
|
* @decription Type of DataSchema. In combination with the name is used for unique identification of {@link ɵDataSchema}.
|
|
@@ -1602,6 +1762,53 @@ export declare interface ɵDataSourceSortingConfig {
|
|
|
1602
1762
|
|
|
1603
1763
|
/**
|
|
1604
1764
|
* @public
|
|
1765
|
+
* @generativeApi
|
|
1766
|
+
* @description possible BE valur types. Try to keep it same as {@link ɵEntityColumnValue}.
|
|
1767
|
+
* 0 - Global unique identifier.
|
|
1768
|
+
* 1 - String.
|
|
1769
|
+
* 4 - Integer.
|
|
1770
|
+
* 5 - Real number.
|
|
1771
|
+
* 6 - Currency.
|
|
1772
|
+
* 7 - Date and time.
|
|
1773
|
+
* 8 - Date.
|
|
1774
|
+
* 9 - Time.
|
|
1775
|
+
* 10 - Lookup.
|
|
1776
|
+
* 11 - Enumeration.
|
|
1777
|
+
* 12 - Boolean.
|
|
1778
|
+
* 13 - Binary data object.
|
|
1779
|
+
* 14 - The object of image binary data.
|
|
1780
|
+
* 15 - Custom object.
|
|
1781
|
+
* 16 - Image from a lookup.
|
|
1782
|
+
* 17 - Collection of items.
|
|
1783
|
+
* 18 - Color.
|
|
1784
|
+
* 19 - Localized string.
|
|
1785
|
+
* 20 - Object (Entity).
|
|
1786
|
+
* 21 - Collection of objects (EntityCollection).
|
|
1787
|
+
* 22 - List of object column values (EntityColumnMappingCollection).
|
|
1788
|
+
* 23 - Hash string.
|
|
1789
|
+
* 24 - Encrypted string.
|
|
1790
|
+
* 25 - File.
|
|
1791
|
+
* 26 - Mapping.
|
|
1792
|
+
* 27 - Short length text.
|
|
1793
|
+
* 28 - Medium length text.
|
|
1794
|
+
* 29 - Unlimited length text.
|
|
1795
|
+
* 30 - Long length text.
|
|
1796
|
+
* 31 - float1.
|
|
1797
|
+
* 32 - float2.
|
|
1798
|
+
* 33 - float3.
|
|
1799
|
+
* 34 - float4.
|
|
1800
|
+
* 35 - Localizable parameter values list.
|
|
1801
|
+
* 36 - Process not localizable text.
|
|
1802
|
+
* 37 - Stage indicator.
|
|
1803
|
+
* 38 - Serializable list of values.
|
|
1804
|
+
* 39 - Serializable list of composite values.
|
|
1805
|
+
* 40 - float8.
|
|
1806
|
+
* 41 - File.
|
|
1807
|
+
* 42 - Phone.
|
|
1808
|
+
* 43 - Text with formating tags.
|
|
1809
|
+
* 44 - Web link.
|
|
1810
|
+
* 45 - Email.
|
|
1811
|
+
* 46 - Composite object.
|
|
1605
1812
|
* Types of values.
|
|
1606
1813
|
*/
|
|
1607
1814
|
export declare enum ɵDataValueType {
|
|
@@ -1626,7 +1833,9 @@ export declare enum ɵDataValueType {
|
|
|
1626
1833
|
*/
|
|
1627
1834
|
Money = 6,
|
|
1628
1835
|
/**
|
|
1629
|
-
* @description Date and time.
|
|
1836
|
+
* @description Date and time. if used this type of a value, then value should consist of two parts:
|
|
1837
|
+
* "dateValue": "ISO 8601 date string",
|
|
1838
|
+
* "value": "\"ISO 8601 date string\""
|
|
1630
1839
|
*/
|
|
1631
1840
|
DateTime = 7,
|
|
1632
1841
|
/**
|
|
@@ -1777,7 +1986,9 @@ export declare type ɵDatePart = 'minute' | 'hour' | 'day' | 'weekday' | 'week'
|
|
|
1777
1986
|
|
|
1778
1987
|
/**
|
|
1779
1988
|
* @public
|
|
1989
|
+
* @generativeApi
|
|
1780
1990
|
* @classdesc Class contains info about column with date part.
|
|
1991
|
+
* @description Class contains info about column with date part.
|
|
1781
1992
|
* @extends {ɵBaseQueryColumn}
|
|
1782
1993
|
*/
|
|
1783
1994
|
export declare class ɵDatePartFunctionColumn extends ɵBaseQueryColumn<ɵDatePartFunctionExpression> {
|
|
@@ -1790,6 +2001,7 @@ export declare class ɵDatePartFunctionColumn extends ɵBaseQueryColumn<ɵDatePa
|
|
|
1790
2001
|
|
|
1791
2002
|
/**
|
|
1792
2003
|
* @public
|
|
2004
|
+
* @gererativeApi
|
|
1793
2005
|
* @description A class that describes expression part of date function.
|
|
1794
2006
|
* @extends {ɵArgumentFunctionExpression}
|
|
1795
2007
|
*/
|
|
@@ -1822,7 +2034,16 @@ export declare type ɵDatePartFunctionExpressionConfig = ɵArgumentFunctionExpre
|
|
|
1822
2034
|
|
|
1823
2035
|
/**
|
|
1824
2036
|
* @public
|
|
1825
|
-
* @
|
|
2037
|
+
* @generativeApi
|
|
2038
|
+
* @description Defines possible parts of the date.
|
|
2039
|
+
* 0 - Empty value.
|
|
2040
|
+
* 1 - Day.
|
|
2041
|
+
* 2 - Week.
|
|
2042
|
+
* 3 - Month.
|
|
2043
|
+
* 4 - Year.
|
|
2044
|
+
* 5 - Day of the week.
|
|
2045
|
+
* 6 - Hour.
|
|
2046
|
+
* 7 - Minute.
|
|
1826
2047
|
*/
|
|
1827
2048
|
export declare enum ɵDatePartType {
|
|
1828
2049
|
/**
|
|
@@ -1891,6 +2112,7 @@ export declare enum ɵDefaultValueSource {
|
|
|
1891
2112
|
* @extends {ɵBaseFilterableQuery}
|
|
1892
2113
|
*/
|
|
1893
2114
|
export declare class ɵDeleteQuery extends ɵBaseFilterableQuery {
|
|
2115
|
+
/* Excluded from this release type: _queryDtoType */
|
|
1894
2116
|
constructor(rootSchemaName: string);
|
|
1895
2117
|
}
|
|
1896
2118
|
|
|
@@ -1926,12 +2148,14 @@ export declare function ɵencodeDate(date: Date): string;
|
|
|
1926
2148
|
|
|
1927
2149
|
/**
|
|
1928
2150
|
* @public
|
|
1929
|
-
* @
|
|
2151
|
+
* @generativeApi
|
|
2152
|
+
* @description possible type of column value.
|
|
1930
2153
|
*/
|
|
1931
2154
|
export declare type ɵEntityColumnValue = boolean | number | string | ɵGuid | Date | ɵLookupValue | null;
|
|
1932
2155
|
|
|
1933
2156
|
/**
|
|
1934
2157
|
* @public
|
|
2158
|
+
* @generativeApi
|
|
1935
2159
|
* @classdesc Class contains info about common column from entity.
|
|
1936
2160
|
* @extends {ɵBaseQueryColumn}
|
|
1937
2161
|
*/
|
|
@@ -1946,6 +2170,7 @@ export declare class ɵEntityQueryColumn extends ɵBaseQueryColumn<ɵColumnExpre
|
|
|
1946
2170
|
*/
|
|
1947
2171
|
export declare class ɵEntitySchemaQuery extends ɵBaseFilterableQuery {
|
|
1948
2172
|
private _columns;
|
|
2173
|
+
/* Excluded from this release type: _queryDtoType */
|
|
1949
2174
|
/**
|
|
1950
2175
|
* @description Determines if merge duplicates in query result.
|
|
1951
2176
|
*/
|
|
@@ -2088,21 +2313,29 @@ export declare class ɵEntitySchemaQuery extends ɵBaseFilterableQuery {
|
|
|
2088
2313
|
|
|
2089
2314
|
/**
|
|
2090
2315
|
* @public
|
|
2316
|
+
* @generativeApi
|
|
2091
2317
|
* @description The comparison filter class [Exists according to the specified condition].
|
|
2092
2318
|
* @extends {ɵSingleFilter}
|
|
2093
2319
|
*/
|
|
2094
2320
|
export declare class ɵExistsFilter extends ɵSingleFilter {
|
|
2321
|
+
/**
|
|
2322
|
+
* @description Type of filter.
|
|
2323
|
+
* @default 5
|
|
2324
|
+
*/
|
|
2325
|
+
readonly filterType: 5;
|
|
2095
2326
|
/* Excluded from this release type: _instanceOfKey */
|
|
2096
2327
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2097
2328
|
/**
|
|
2098
2329
|
* @description Subquery filters. Cannot contain filters with other subqueries.
|
|
2330
|
+
* @hidden
|
|
2099
2331
|
*/
|
|
2100
2332
|
readonly subFilters?: ɵFilterGroup;
|
|
2101
2333
|
/**
|
|
2102
2334
|
* @description Indicates that the filter is aggregating.
|
|
2335
|
+
* @default true
|
|
2103
2336
|
*/
|
|
2104
2337
|
readonly isAggregative: boolean;
|
|
2105
|
-
constructor(leftExpression:
|
|
2338
|
+
constructor(leftExpression: IESQExpression, subFilters?: ɵFilterGroup, comparisonType?: ɵComparisonType, isAggregative?: boolean);
|
|
2106
2339
|
/**
|
|
2107
2340
|
* Parses filter from json.
|
|
2108
2341
|
* @public
|
|
@@ -2162,7 +2395,11 @@ export declare class ɵExpressionResolver {
|
|
|
2162
2395
|
|
|
2163
2396
|
/**
|
|
2164
2397
|
* @public
|
|
2398
|
+
* @generativeApi
|
|
2165
2399
|
* @description Type of expression.
|
|
2400
|
+
* 0 - SchemaColumn (Reference to a data column), 1 - Function (Function call expression),
|
|
2401
|
+
* 2 - Parameter (Parameter value), 3 - SubQuery (Nested query expression),
|
|
2402
|
+
* 4 - ArithmeticOperation (Mathematical operation)
|
|
2166
2403
|
*/
|
|
2167
2404
|
export declare enum ɵExpressionType {
|
|
2168
2405
|
/**
|
|
@@ -2193,23 +2430,33 @@ export declare enum ɵExpressionType {
|
|
|
2193
2430
|
* i.e. The collection itself can be an element of another collection.
|
|
2194
2431
|
* @extends {ɵBaseFilter}
|
|
2195
2432
|
*/
|
|
2196
|
-
export declare class ɵFilterGroup extends ɵBaseFilter {
|
|
2433
|
+
export declare class ɵFilterGroup extends ɵBaseFilter implements IFilterGroup {
|
|
2434
|
+
/**
|
|
2435
|
+
* @description Type of filter.
|
|
2436
|
+
* @default 6
|
|
2437
|
+
*/
|
|
2438
|
+
readonly filterType = ɵFilterType.FilterGroup;
|
|
2197
2439
|
/* Excluded from this release type: _instanceOfKey */
|
|
2198
2440
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2199
2441
|
/**
|
|
2200
2442
|
* @public
|
|
2443
|
+
* @hidden
|
|
2201
2444
|
* @description Collection of child filters.
|
|
2202
2445
|
*/
|
|
2203
2446
|
filters: Map<string, ɵBaseFilter>;
|
|
2204
2447
|
/**
|
|
2205
2448
|
* @public
|
|
2206
|
-
* @description
|
|
2449
|
+
* @description Returns collection of child filters or filter groups.
|
|
2450
|
+
* Each item is a key-value pair,
|
|
2451
|
+
* where the key is autogenerated or user-defined name, and value - filter or a filter group
|
|
2452
|
+
* @default {}
|
|
2207
2453
|
*/
|
|
2208
2454
|
get items(): {
|
|
2209
2455
|
[key: string]: ɵBaseFilter;
|
|
2210
2456
|
};
|
|
2211
2457
|
/**
|
|
2212
|
-
* @description The type of the logical operation for a combination of filters in
|
|
2458
|
+
* @description The type of the logical operation for a combination of filters in this filter group.
|
|
2459
|
+
* @default 0
|
|
2213
2460
|
*/
|
|
2214
2461
|
logicalOperation: ɵLogicalOperatorType;
|
|
2215
2462
|
/**
|
|
@@ -2349,6 +2596,12 @@ export declare class ɵFilterResolver {
|
|
|
2349
2596
|
/**
|
|
2350
2597
|
* @public
|
|
2351
2598
|
* @description The type of filter.
|
|
2599
|
+
* - 0 None, No filter applied.
|
|
2600
|
+
* - 1 Compare, Comparison filter (e.g., equal to, greater than).
|
|
2601
|
+
* - 2 IsNull, Checks if a value is null.
|
|
2602
|
+
* - 4 In, Checks if a value is in a specified set of values.
|
|
2603
|
+
* - 5 Exists, Checks if a value exists.
|
|
2604
|
+
* - 6 FilterGroup, A group of filters combined with logical operators (AND, OR).
|
|
2352
2605
|
*/
|
|
2353
2606
|
export declare enum ɵFilterType {
|
|
2354
2607
|
/**
|
|
@@ -2369,6 +2622,8 @@ export declare enum ɵFilterType {
|
|
|
2369
2622
|
/**
|
|
2370
2623
|
* @public
|
|
2371
2624
|
* @description Checks if a value is between two specified values.
|
|
2625
|
+
* should be used with {@link ɵBetweenFilter}
|
|
2626
|
+
* @hidden
|
|
2372
2627
|
*/
|
|
2373
2628
|
Between = 3,
|
|
2374
2629
|
/**
|
|
@@ -2402,7 +2657,9 @@ export declare interface ɵFiltrationPlatformAPIOptions extends ɵPlatformAPIOpt
|
|
|
2402
2657
|
/**
|
|
2403
2658
|
* @public
|
|
2404
2659
|
* @abstract
|
|
2660
|
+
* @generativeApi
|
|
2405
2661
|
* @description A class that describes a functional expression.
|
|
2662
|
+
* Functional expressions are evaluated on BE to produce a value based on the function type.
|
|
2406
2663
|
* @extends {ɵFunctionExpression}
|
|
2407
2664
|
*/
|
|
2408
2665
|
export declare abstract class ɵFunctionExpression extends ɵBaseExpression {
|
|
@@ -2410,6 +2667,7 @@ export declare abstract class ɵFunctionExpression extends ɵBaseExpression {
|
|
|
2410
2667
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2411
2668
|
/**
|
|
2412
2669
|
* @description Expression type. Default 'Function'.
|
|
2670
|
+
* @default 1.
|
|
2413
2671
|
*/
|
|
2414
2672
|
readonly expressionType: ɵExpressionType;
|
|
2415
2673
|
/**
|
|
@@ -2437,7 +2695,13 @@ export declare type ɵFunctionStringType = 'aggregation' | 'datePart' | 'none';
|
|
|
2437
2695
|
|
|
2438
2696
|
/**
|
|
2439
2697
|
* @public
|
|
2440
|
-
* @
|
|
2698
|
+
* @generativeApi
|
|
2699
|
+
* @description The type of function in the filter, or in the aggregation function
|
|
2700
|
+
* 0 - None (Function type not defined), 1 - Macros (Substitution by macro),
|
|
2701
|
+
* 2 - Aggregation (Aggregating function), 3 - DatePart (Date fragment),
|
|
2702
|
+
* 4 - Length (Size of value in bytes), 5 - Window (Window query function),
|
|
2703
|
+
* 6 - DateAdd (Date addition), 7 - DateDiff (Date difference).
|
|
2704
|
+
* if used in aggregation function, use 2 by default.
|
|
2441
2705
|
*/
|
|
2442
2706
|
export declare enum ɵFunctionType {
|
|
2443
2707
|
/**
|
|
@@ -2485,6 +2749,7 @@ export declare function ɵgenerateGuid(): ɵGuid;
|
|
|
2485
2749
|
/* Excluded from this release type: ɵgetFilterPlainObj */
|
|
2486
2750
|
|
|
2487
2751
|
/**
|
|
2752
|
+
* @generativeApi
|
|
2488
2753
|
* @description Type for Guid value.
|
|
2489
2754
|
* @public
|
|
2490
2755
|
*/
|
|
@@ -2492,17 +2757,24 @@ export declare type ɵGuid = string;
|
|
|
2492
2757
|
|
|
2493
2758
|
/**
|
|
2494
2759
|
* @public
|
|
2495
|
-
* @
|
|
2760
|
+
* @generativeApi
|
|
2761
|
+
* @description Filter that checks if the value of {@link #leftExpression} is satisfied
|
|
2762
|
+
* by each of expressions in the array of {@link #rightExpressions}.
|
|
2496
2763
|
* @extends {ɵSingleFilter}
|
|
2497
2764
|
*/
|
|
2498
2765
|
export declare class ɵInFilter extends ɵSingleFilter {
|
|
2766
|
+
/**
|
|
2767
|
+
* @description Type of filter. 4 means filter of type "In".
|
|
2768
|
+
* @default 4
|
|
2769
|
+
*/
|
|
2770
|
+
readonly filterType: 4;
|
|
2499
2771
|
/* Excluded from this release type: _instanceOfKey */
|
|
2500
2772
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2501
2773
|
/**
|
|
2502
2774
|
* @description An array of expressions that will be compared with {@link #leftExpression}.
|
|
2503
2775
|
*/
|
|
2504
|
-
readonly rightExpressions:
|
|
2505
|
-
constructor(comparisonType: ɵComparisonType, leftExpression:
|
|
2776
|
+
readonly rightExpressions: IESQExpression[];
|
|
2777
|
+
constructor(comparisonType: ɵComparisonType, leftExpression: IESQExpression, rightExpressions: IESQExpression[]);
|
|
2506
2778
|
/**
|
|
2507
2779
|
* @description Parses in filter from json.
|
|
2508
2780
|
* @public
|
|
@@ -2521,6 +2793,7 @@ export declare class ɵInFilter extends ɵSingleFilter {
|
|
|
2521
2793
|
*/
|
|
2522
2794
|
export declare class ɵInsertQuery extends ɵBaseQuery {
|
|
2523
2795
|
private _columnValues;
|
|
2796
|
+
/* Excluded from this release type: _queryDtoType */
|
|
2524
2797
|
constructor(rootSchemaName: string);
|
|
2525
2798
|
/**
|
|
2526
2799
|
* @description A collection of column values for updating entities.
|
|
@@ -2557,17 +2830,27 @@ export declare function ɵisGuid(value: unknown): boolean;
|
|
|
2557
2830
|
|
|
2558
2831
|
/**
|
|
2559
2832
|
* @public
|
|
2560
|
-
* @
|
|
2833
|
+
* @generativeApi
|
|
2834
|
+
* @description Filter that checks if the value of {@link #leftExpression} equals to null or not.
|
|
2561
2835
|
* @extends {ɵSingleFilter}
|
|
2562
2836
|
*/
|
|
2563
2837
|
export declare class ɵIsNullFilter extends ɵSingleFilter {
|
|
2838
|
+
/**
|
|
2839
|
+
* @description Type of filter.
|
|
2840
|
+
* @default 2
|
|
2841
|
+
*/
|
|
2842
|
+
readonly filterType: 2;
|
|
2564
2843
|
/**
|
|
2565
2844
|
* @description Flag that indicates if expression is empty or not.
|
|
2566
2845
|
*/
|
|
2567
2846
|
isNull: boolean;
|
|
2568
2847
|
/* Excluded from this release type: _instanceOfKey */
|
|
2569
|
-
|
|
2570
|
-
|
|
2848
|
+
/**
|
|
2849
|
+
* @internale
|
|
2850
|
+
* @dontChange
|
|
2851
|
+
*/
|
|
2852
|
+
protected static get _instanceOfKeys(): string[];
|
|
2853
|
+
constructor(comparisonType: ɵComparisonType.Is_null | ɵComparisonType.Is_not_null, leftExpression: IESQExpression);
|
|
2571
2854
|
private static _getComparisonType;
|
|
2572
2855
|
/**
|
|
2573
2856
|
* @description Parses isNull filter from json.
|
|
@@ -2623,9 +2906,14 @@ export declare type ɵJsonData = string | number | boolean | null | undefined |
|
|
|
2623
2906
|
|
|
2624
2907
|
/**
|
|
2625
2908
|
* @public
|
|
2909
|
+
* @generativeApi
|
|
2910
|
+
* @hidden
|
|
2626
2911
|
* @description JSON object.
|
|
2627
2912
|
*/
|
|
2628
2913
|
export declare interface ɵJsonObject {
|
|
2914
|
+
/**
|
|
2915
|
+
* @hidden
|
|
2916
|
+
* */
|
|
2629
2917
|
[key: string]: ɵJsonData;
|
|
2630
2918
|
}
|
|
2631
2919
|
|
|
@@ -2640,6 +2928,7 @@ export declare class ɵLengthFunctionColumn extends ɵBaseQueryColumn<ɵLengthFu
|
|
|
2640
2928
|
|
|
2641
2929
|
/**
|
|
2642
2930
|
* @public
|
|
2931
|
+
* @generativeApi
|
|
2643
2932
|
* @description A class that describes expression with length function.
|
|
2644
2933
|
* @extends {ɵArgumentFunctionExpression}
|
|
2645
2934
|
*/
|
|
@@ -2691,7 +2980,9 @@ export declare type ɵLocalizeFn = (key: string) => string;
|
|
|
2691
2980
|
|
|
2692
2981
|
/**
|
|
2693
2982
|
* @public
|
|
2694
|
-
* @
|
|
2983
|
+
* @generativeApi
|
|
2984
|
+
* @description The type of logical operation used to combine multiple conditions in filters.
|
|
2985
|
+
* 0 - And (All conditions must be true), 1 - Or (At least one condition must be true)
|
|
2695
2986
|
*/
|
|
2696
2987
|
export declare enum ɵLogicalOperatorType {
|
|
2697
2988
|
/**
|
|
@@ -2706,6 +2997,7 @@ export declare enum ɵLogicalOperatorType {
|
|
|
2706
2997
|
|
|
2707
2998
|
/**
|
|
2708
2999
|
* @public
|
|
3000
|
+
* @genearativeApi
|
|
2709
3001
|
* @description Required shape for lookup.
|
|
2710
3002
|
* @extends {ɵJsonObject}
|
|
2711
3003
|
* @property {string} displayValue - Value witch will be displayed in lookup
|
|
@@ -2761,6 +3053,7 @@ export declare class ɵMacrosFunctionColumn extends ɵBaseQueryColumn<ɵMacrosFu
|
|
|
2761
3053
|
|
|
2762
3054
|
/**
|
|
2763
3055
|
* @public
|
|
3056
|
+
* @generativeApi
|
|
2764
3057
|
* @description A class that describes expression with macros function.
|
|
2765
3058
|
* @extends {ɵFunctionExpression}
|
|
2766
3059
|
*/
|
|
@@ -2769,6 +3062,7 @@ export declare class ɵMacrosFunctionExpression extends ɵFunctionExpression {
|
|
|
2769
3062
|
/* Excluded from this release type: _instanceOfKeys */
|
|
2770
3063
|
/**
|
|
2771
3064
|
* @description Function type. Default 'Macros'.
|
|
3065
|
+
* @default 1
|
|
2772
3066
|
*/
|
|
2773
3067
|
readonly functionType: ɵFunctionType;
|
|
2774
3068
|
/**
|
|
@@ -2777,8 +3071,9 @@ export declare class ɵMacrosFunctionExpression extends ɵFunctionExpression {
|
|
|
2777
3071
|
readonly macrosType: ɵQueryMacrosType;
|
|
2778
3072
|
/**
|
|
2779
3073
|
* @description Function argument.
|
|
3074
|
+
* it is optional and exists only for some macros functions.
|
|
2780
3075
|
*/
|
|
2781
|
-
readonly functionArgument?:
|
|
3076
|
+
readonly functionArgument?: IESQExpression;
|
|
2782
3077
|
constructor(config: ɵMacrosFunctionExpressionConfig);
|
|
2783
3078
|
/**
|
|
2784
3079
|
* Parses expression from json.
|
|
@@ -2975,7 +3270,9 @@ export declare class ɵNextHandlerAlreadySpecifiedException extends Error {
|
|
|
2975
3270
|
|
|
2976
3271
|
/**
|
|
2977
3272
|
* @public
|
|
2978
|
-
* @
|
|
3273
|
+
* @generativeApi
|
|
3274
|
+
* @description Specifies the sort direction for query results.
|
|
3275
|
+
* 0 - None (No specific ordering), 1 - Asc (Ascending order, A-Z, 0-9), 2 - Desc (Descending order, Z-A, 9-0)
|
|
2979
3276
|
*/
|
|
2980
3277
|
export declare enum ɵOrderDirection {
|
|
2981
3278
|
/**
|
|
@@ -2994,7 +3291,9 @@ export declare enum ɵOrderDirection {
|
|
|
2994
3291
|
|
|
2995
3292
|
/**
|
|
2996
3293
|
* @public
|
|
3294
|
+
* @generativeApi
|
|
2997
3295
|
* @description The class that defines the parametric expression.
|
|
3296
|
+
* It means that result of this expression is a parameter value.
|
|
2998
3297
|
* @extends {ɵBaseExpression}
|
|
2999
3298
|
*/
|
|
3000
3299
|
export declare class ɵParameterExpression extends ɵBaseExpression {
|
|
@@ -3006,20 +3305,21 @@ export declare class ɵParameterExpression extends ɵBaseExpression {
|
|
|
3006
3305
|
readonly expressionType: ɵExpressionType;
|
|
3007
3306
|
/**
|
|
3008
3307
|
* @description Parameter value.
|
|
3308
|
+
* @hidden
|
|
3009
3309
|
*/
|
|
3010
3310
|
readonly value: ɵEntityColumnValue;
|
|
3011
3311
|
/**
|
|
3012
3312
|
* @description Parameter value type.
|
|
3313
|
+
* @hidden
|
|
3013
3314
|
*/
|
|
3014
3315
|
readonly dataValueType: ɵDataValueType;
|
|
3015
3316
|
/**
|
|
3016
|
-
* @description Parameter object reference.
|
|
3317
|
+
* @description Parameter object reference. Defines the value and type of the parameter.
|
|
3318
|
+
* dateValue property exists only if dataValueType === ɵDataValueType.DateTime.
|
|
3319
|
+
* if dataValueType === ɵDataValueType.DateTime, dataValueType will contain the ISO 8601 date string and
|
|
3320
|
+
* value will contain the same date, but wrapped in escaped string. E.g.: "\"2023-01-01T00:00:00.000Z\""
|
|
3017
3321
|
*/
|
|
3018
|
-
readonly parameter:
|
|
3019
|
-
value?: ɵEntityColumnValue;
|
|
3020
|
-
arrayValue?: string[];
|
|
3021
|
-
dataValueType: ɵDataValueType;
|
|
3022
|
-
};
|
|
3322
|
+
readonly parameter: IParameterDefinition;
|
|
3023
3323
|
constructor(config: ɵParameterExpressionConfig);
|
|
3024
3324
|
/**
|
|
3025
3325
|
* Parses expression from json.
|
|
@@ -3102,7 +3402,36 @@ export declare interface ɵPrimaryDisplayFilterDataSourceParameter extends ɵBas
|
|
|
3102
3402
|
|
|
3103
3403
|
/**
|
|
3104
3404
|
* @public
|
|
3105
|
-
* @
|
|
3405
|
+
* @generativeApi
|
|
3406
|
+
* @description Defines the types of macros that can be used in queries.
|
|
3407
|
+
* 0 - None (No macro), 1 - CurrentUser (Current user ID), 2 - CurrentUserContact (User's contact),
|
|
3408
|
+
* 3 - Yesterday (Previous day), 4 - Today (Current day), 5 - Tomorrow (Next day),
|
|
3409
|
+
* 6 - PreviousWeek (Last week), 7 - CurrentWeek (This week), 8 - NextWeek (Coming week),
|
|
3410
|
+
* 9 - PreviousMonth (Last month), 10 - CurrentMonth (This month), 11 - NextMonth (Coming month)
|
|
3411
|
+
* 12 - Previous quarter.
|
|
3412
|
+
* 13 - Current quarter.
|
|
3413
|
+
* 14 - Next quarter.
|
|
3414
|
+
* 15 - Previous half of the year.
|
|
3415
|
+
* 16 - Current half-year.
|
|
3416
|
+
* 17 - Next half-year.
|
|
3417
|
+
* 18 - Last year.
|
|
3418
|
+
* 19 - This year.
|
|
3419
|
+
* 20 - Previous hour.
|
|
3420
|
+
* 21 - Current hour.
|
|
3421
|
+
* 22 - Next hour.
|
|
3422
|
+
* 23 - Next year.
|
|
3423
|
+
* 24 - Next N Days.
|
|
3424
|
+
* 25 - Previous N days.
|
|
3425
|
+
* 26 - Next N hours.
|
|
3426
|
+
* 27 - Previous N hours.
|
|
3427
|
+
* 34 - Primary column.
|
|
3428
|
+
* 35 - Primary displayed column.
|
|
3429
|
+
* 36 - Primary image display column.
|
|
3430
|
+
* 37 - Anniversary today.
|
|
3431
|
+
* 38 - Anniversary on the date computed as today plus days offset.
|
|
3432
|
+
* 39 - Anniversary on the next several days.
|
|
3433
|
+
* 40 - Anniversary on the previous several days.
|
|
3434
|
+
* 41 - Primary color display column.
|
|
3106
3435
|
*/
|
|
3107
3436
|
export declare enum ɵQueryMacrosType {
|
|
3108
3437
|
/**
|
|
@@ -3379,6 +3708,7 @@ export declare interface ɵSerializable {
|
|
|
3379
3708
|
|
|
3380
3709
|
/**
|
|
3381
3710
|
* @public
|
|
3711
|
+
* @generativeApi
|
|
3382
3712
|
* @description Basic filter class with one condition.
|
|
3383
3713
|
* @extends {ɵBaseFilter}
|
|
3384
3714
|
*/
|
|
@@ -3387,13 +3717,20 @@ export declare abstract class ɵSingleFilter extends ɵBaseFilter {
|
|
|
3387
3717
|
/* Excluded from this release type: _instanceOfKeys */
|
|
3388
3718
|
/**
|
|
3389
3719
|
* @description Type of comparison operation.
|
|
3720
|
+
* this comparison type defines how the {@link #leftExpression} will be compared
|
|
3721
|
+
* with the value of the right expression.
|
|
3390
3722
|
*/
|
|
3391
3723
|
readonly comparisonType: ɵComparisonType;
|
|
3392
3724
|
/**
|
|
3393
|
-
* @description
|
|
3725
|
+
* @description expression that contains the value to be compared with the right expressions.
|
|
3726
|
+
*/
|
|
3727
|
+
readonly leftExpression: IESQExpression;
|
|
3728
|
+
/**
|
|
3729
|
+
* @description name of the entity schema, connected to the root schema of the filter.
|
|
3730
|
+
* Used, when one of the expressions uses a column from another schema.
|
|
3394
3731
|
*/
|
|
3395
|
-
readonly
|
|
3396
|
-
protected constructor(filterType: ɵFilterType, comparisonType: ɵComparisonType, leftExpression:
|
|
3732
|
+
readonly referenceSchemaName?: string;
|
|
3733
|
+
protected constructor(filterType: ɵFilterType, comparisonType: ɵComparisonType, leftExpression: IESQExpression);
|
|
3397
3734
|
/** {@inheritDoc ɵSerializable.toJson} */
|
|
3398
3735
|
toJson(): ɵJsonObject;
|
|
3399
3736
|
/* Excluded from this release type: _getUsedColumns */
|
|
@@ -3538,6 +3875,7 @@ export declare type ɵType<T = any> = new (...args: any[]) => T;
|
|
|
3538
3875
|
*/
|
|
3539
3876
|
export declare class ɵUpdateQuery extends ɵBaseFilterableQuery {
|
|
3540
3877
|
private _columnValues;
|
|
3878
|
+
/* Excluded from this release type: _queryDtoType */
|
|
3541
3879
|
/**
|
|
3542
3880
|
* @description Flag that indicates whether to force save data.
|
|
3543
3881
|
*/
|
|
@@ -3637,6 +3975,7 @@ export declare class ɵWindowFunctionColumn extends ɵBaseQueryColumn<ɵWindowFu
|
|
|
3637
3975
|
|
|
3638
3976
|
/**
|
|
3639
3977
|
* @public
|
|
3978
|
+
* @generativeApi
|
|
3640
3979
|
* @description A class that describes expression with window function.
|
|
3641
3980
|
* @extends {ɵArgumentFunctionExpression}
|
|
3642
3981
|
*/
|