@creatio/base 0.834.0 → 0.1000.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4648 @@
1
+ /**
2
+ * @public
3
+ * Returns a string represent of date in ISO 8601 without time zone specification(doesn't convert it
4
+ * using local timezone).
5
+ *
6
+ * Example:
7
+ *
8
+ * const date = new Date(2018, 01, 20, 15, 10, 30);
9
+ * const result = toLocalISOString(date);
10
+ * //result: '2018-02-20T15:10:30'
11
+ *
12
+ * @param date Date value.
13
+ */
14
+ declare function ɵtoLocalISOString(date: Date): string;
15
+ /**
16
+ * @public
17
+ * Returns encoded date in string value.
18
+ * @param date Date value.
19
+ */
20
+ declare function ɵencodeDate(date: Date): string;
21
+
22
+ /**
23
+ * @public
24
+ */
25
+ declare enum ɵDataSourceScope {
26
+ ViewElement = "viewElement",
27
+ Page = "page"
28
+ }
29
+
30
+ /**
31
+ * @public
32
+ */
33
+ declare enum ɵDataSchemaAttributeType {
34
+ OwnAttribute = "Own",
35
+ ForwardReferenceAttribute = "ForwardReference",
36
+ BackReferenceAttribute = "BackReference",
37
+ AggregationAttribute = "Aggregation",
38
+ FunctionAttribute = "Function"
39
+ }
40
+ /**
41
+ * @public
42
+ */
43
+ declare enum ɵDataSchemaAttributeUsageType {
44
+ General = 0,
45
+ Advanced = 1,
46
+ None = 2
47
+ }
48
+
49
+ /**
50
+ * @public
51
+ */
52
+ declare enum ɵDefaultValueSource {
53
+ None = 0,
54
+ Const = 1,
55
+ Settings = 2,
56
+ SystemValue = 3,
57
+ Sequence = 4
58
+ }
59
+
60
+ /**
61
+ * Lookup mode
62
+ * @internal
63
+ */
64
+ declare enum LookupMode {
65
+ List = "List",
66
+ SelectionWindow = "SelectionWindow"
67
+ }
68
+
69
+ /**
70
+ * Available platform APIs
71
+ */
72
+ declare enum ɵPlatformAPIs {
73
+ /**
74
+ * Selection metadata API.
75
+ */
76
+ Selection = "selection",
77
+ /**
78
+ * Filtration metadata API.
79
+ */
80
+ Filtration = "filtration"
81
+ }
82
+
83
+ /**
84
+ * @public
85
+ * @generativeApi
86
+ * @description possible BE value types. Try to keep it same as {@link ɵEntityColumnValue}.
87
+ * 0 - Global unique identifier.
88
+ * 1 - String.
89
+ * 4 - Integer.
90
+ * 5 - Real number.
91
+ * 6 - Currency.
92
+ * 7 - Date and time.
93
+ * 8 - Date.
94
+ * 9 - Time.
95
+ * 10 - Lookup.
96
+ * 11 - Enumeration.
97
+ * 12 - Boolean.
98
+ * 13 - Binary data object.
99
+ * 14 - The object of image binary data.
100
+ * 15 - Custom object.
101
+ * 16 - Image from a lookup.
102
+ * 17 - Collection of items.
103
+ * 18 - Color.
104
+ * 19 - Localized string.
105
+ * 20 - Object (Entity).
106
+ * 21 - Collection of objects (EntityCollection).
107
+ * 22 - List of object column values (EntityColumnMappingCollection).
108
+ * 23 - Hash string.
109
+ * 24 - Encrypted string.
110
+ * 25 - File.
111
+ * 26 - Mapping.
112
+ * 27 - Short length text.
113
+ * 28 - Medium length text.
114
+ * 29 - Unlimited length text.
115
+ * 30 - Long length text.
116
+ * 31 - float1.
117
+ * 32 - float2.
118
+ * 33 - float3.
119
+ * 34 - float4.
120
+ * 35 - Localizable parameter values list.
121
+ * 36 - Process not localizable text.
122
+ * 37 - Stage indicator.
123
+ * 38 - Serializable list of values.
124
+ * 39 - Serializable list of composite values.
125
+ * 40 - float8.
126
+ * 41 - File.
127
+ * 42 - Phone.
128
+ * 43 - Text with formating tags.
129
+ * 44 - Web link.
130
+ * 45 - Email.
131
+ * 46 - Composite object.
132
+ * 47 - Float0.
133
+ * 48 - Currency0.
134
+ * 49 - Currency1.
135
+ * 50 - Currency3.
136
+ * Types of values.
137
+ */
138
+ declare enum ɵDataValueType {
139
+ /**
140
+ * @description Global unique identifier.
141
+ */
142
+ Guid = 0,
143
+ /**
144
+ * @description String.
145
+ */
146
+ Text = 1,
147
+ /**
148
+ * @description Integer.
149
+ */
150
+ Integer = 4,
151
+ /**
152
+ * @description Real number.
153
+ */
154
+ Float = 5,
155
+ /**
156
+ * @description Currency.
157
+ */
158
+ Money = 6,
159
+ /**
160
+ * @description Date and time. if used this type of a value, then value should consist of two parts:
161
+ * "dateValue": "ISO 8601 date string",
162
+ * "value": "\"ISO 8601 date string\""
163
+ */
164
+ DateTime = 7,
165
+ /**
166
+ * @description Date.
167
+ */
168
+ Date = 8,
169
+ /**
170
+ * @description Time.
171
+ */
172
+ Time = 9,
173
+ /**
174
+ * @description Lookup.
175
+ */
176
+ Lookup = 10,
177
+ /**
178
+ * @description Enumeration.
179
+ */
180
+ Enum = 11,
181
+ /**
182
+ * @description Boolean.
183
+ */
184
+ Boolean = 12,
185
+ /**
186
+ * @description Binary data object.
187
+ */
188
+ Blob = 13,
189
+ /**
190
+ * @description The object of image binary data.
191
+ */
192
+ Image = 14,
193
+ /**
194
+ * @description Custom object.
195
+ */
196
+ CUSTOM_OBJECT = 15,
197
+ /**
198
+ * @description Image from a lookup.
199
+ */
200
+ IMAGELOOKUP = 16,
201
+ /**
202
+ * @description Collection of items.
203
+ */
204
+ COLLECTION = 17,
205
+ /**
206
+ * @description Color.
207
+ */
208
+ Color = 18,
209
+ /**
210
+ * @description Localized string.
211
+ */
212
+ LOCALIZABLE_STRING = 19,
213
+ /**
214
+ * @description Object (Entity).
215
+ */
216
+ ENTITY = 20,
217
+ /**
218
+ * @description Collection of objects (EntityCollection).
219
+ */
220
+ ENTITY_COLLECTION = 21,
221
+ /**
222
+ * @description List of object column values (EntityColumnMappingCollection).
223
+ */
224
+ ENTITY_COLUMN_MAPPING_COLLECTION = 22,
225
+ /**
226
+ * @description Hash string.
227
+ */
228
+ HASH_TEXT = 23,
229
+ /**
230
+ * @description Encrypted string.
231
+ */
232
+ SECURE_TEXT = 24,
233
+ /**
234
+ * @description File.
235
+ */
236
+ FILE = 25,
237
+ /**
238
+ * @description Mapping.
239
+ */
240
+ MAPPING = 26,
241
+ /**
242
+ * @description Short length text.
243
+ */
244
+ SHORT_TEXT = 27,
245
+ /**
246
+ * @description Medium length text.
247
+ */
248
+ MEDIUM_TEXT = 28,
249
+ /**
250
+ * @description Unlimited length text.
251
+ */
252
+ MAXSIZE_TEXT = 29,
253
+ /**
254
+ * @description Long length text.
255
+ */
256
+ LONG_TEXT = 30,
257
+ FLOAT1 = 31,
258
+ FLOAT2 = 32,
259
+ FLOAT3 = 33,
260
+ FLOAT4 = 34,
261
+ /**
262
+ * @description Localizable parameter values list.
263
+ */
264
+ LOCALIZABLE_PARAMETER_VALUES_LIST = 35,
265
+ /**
266
+ * @description Process not localizable text.
267
+ */
268
+ METADATA_TEXT = 36,
269
+ /**
270
+ * @description Stage indicator.
271
+ */
272
+ STAGE_INDICATOR = 37,
273
+ /**
274
+ * @description Serializable list of values.
275
+ */
276
+ OBJECT_LIST = 38,
277
+ /**
278
+ * @description Serializable list of composite values.
279
+ */
280
+ COMPOSITE_OBJECT_LIST = 39,
281
+ FLOAT8 = 40,
282
+ /**
283
+ * @description File.
284
+ */
285
+ FILE_LOCATOR = 41,
286
+ /**
287
+ * @description Phone.
288
+ */
289
+ PHONE_TEXT = 42,
290
+ /**
291
+ * @description Text with formating tags.
292
+ */
293
+ RICH_TEXT = 43,
294
+ /**
295
+ * @description Web link.
296
+ */
297
+ WEB_TEXT = 44,
298
+ /**
299
+ * @description Email.
300
+ */
301
+ EMAIL_TEXT = 45,
302
+ COMPOSITE_OBJECT = 46,
303
+ /**
304
+ * @description Float0.
305
+ */
306
+ FLOAT0 = 47,
307
+ /**
308
+ * @description Currency0.
309
+ */
310
+ MONEY0 = 48,
311
+ /**
312
+ * @description Currency1.
313
+ */
314
+ MONEY1 = 49,
315
+ /**
316
+ * @description Currency3.
317
+ */
318
+ MONEY3 = 50
319
+ }
320
+
321
+ /**
322
+ * @public
323
+ * @generativeApi
324
+ * @description The type of aggregation function used in queries and data operations.
325
+ * 0 - None (No aggregation),
326
+ * 1 - Count (Count records - can be used with any column type),
327
+ * 2 - Sum (Total of values - numeric columns only),
328
+ * 3 - Avg (Average value - numeric columns only),
329
+ * 4 - Min (Minimum value - numeric and date columns),
330
+ * 5 - Max (Maximum value - numeric and date columns),
331
+ * 6 - TopOne (First record - any column type)
332
+ */
333
+ declare enum ɵAggregationType {
334
+ /**
335
+ * @description Aggregation function type not defined.
336
+ */
337
+ None = 0,
338
+ /**
339
+ * @description Aggregation function type not defined.
340
+ */
341
+ Count = 1,
342
+ /**
343
+ * @description Sum of values of all elements.
344
+ */
345
+ Sum = 2,
346
+ /**
347
+ * @description Average value for all elements.
348
+ */
349
+ Avg = 3,
350
+ /**
351
+ * @description The minimum value among all elements.
352
+ */
353
+ Min = 4,
354
+ /**
355
+ * @description The maximum value among all elements.
356
+ */
357
+ Max = 5,
358
+ /**
359
+ * @description Top one record from collection.
360
+ */
361
+ TopOne = 6
362
+ }
363
+
364
+ /**
365
+ * @public
366
+ * The type of the aggregation function (can be set to None).
367
+ */
368
+ declare enum ɵAggregationFunction {
369
+ /**
370
+ * @description Aggregation function type not defined.
371
+ */
372
+ None = "",
373
+ /**
374
+ * @description Aggregation function type not defined.
375
+ */
376
+ Count = "Count",
377
+ /**
378
+ * @description Sum of values of all elements.
379
+ */
380
+ Sum = "Sum",
381
+ /**
382
+ * @description Average value for all elements.
383
+ */
384
+ Avg = "Avg",
385
+ /**
386
+ * @description The minimum value among all elements.
387
+ */
388
+ Min = "Min",
389
+ /**
390
+ * @description The maximum value among all elements.
391
+ */
392
+ Max = "Max",
393
+ /**
394
+ * @description Top one record from collection.
395
+ */
396
+ TopOne = "TopOne"
397
+ }
398
+
399
+ /**
400
+ * @public
401
+ * @description Type of DataSchema.
402
+ * In combination with the name is used for unique identification of {@link ɵDataSchema}.
403
+ */
404
+ declare enum ɵDataSchemaType {
405
+ /**
406
+ * @description Entity.
407
+ */
408
+ Entity = "Entity",
409
+ /**
410
+ * @description Client unit.
411
+ */
412
+ ClientUnit = "ClientUnit",
413
+ /**
414
+ * @description Intent.
415
+ */
416
+ Intent = "Intent"
417
+ }
418
+
419
+ /**
420
+ * @public
421
+ * @description Type of the action of the model.
422
+ */
423
+ declare enum ɵModelInPageAction {
424
+ /**
425
+ * @description Action for editing existed record.
426
+ */
427
+ Edit = "edit",
428
+ /**
429
+ * @description Action for adding new record.
430
+ */
431
+ Add = "add",
432
+ /**
433
+ * @description Action for copying the record.
434
+ */
435
+ Copy = "copy"
436
+ }
437
+
438
+ /**
439
+ * @public
440
+ * @description Type of message channel. Used to specify where the message can be received.
441
+ */
442
+ declare enum ɵMessageChannelType {
443
+ /**
444
+ * @public
445
+ * @description Message will be sent to the same user who sent the message (client side).
446
+ */
447
+ PTP = "PTPMsg",
448
+ /**
449
+ * @public
450
+ * @description Message will be sent to all users (client side).
451
+ */
452
+ BROADCAST = "BroadcastMsg",
453
+ /**
454
+ * @public
455
+ * @description Message will be sent to the server.
456
+ */
457
+ SERVER = "ServerMsg"
458
+ }
459
+
460
+ /**
461
+ * @public
462
+ * @description SysAdminUnitInRole source type.
463
+ */
464
+ declare enum eAdminUnitRoleSources {
465
+ /**
466
+ * @description Empty value.
467
+ */
468
+ None = 0,
469
+ /**
470
+ * @description Self.
471
+ */
472
+ Self = 1,
473
+ /**
474
+ * @description Explicit entry into role.
475
+ */
476
+ ExplicitEntry = 2,
477
+ /**
478
+ * @description Delegated role.
479
+ */
480
+ Delegated = 4,
481
+ /**
482
+ * @description Gets functional role from organizational role.
483
+ */
484
+ FuncRoleFromOrgRole = 8,
485
+ /**
486
+ * @description Gets role up hierarchy from role.
487
+ */
488
+ UpHierarchy = 16,
489
+ /**
490
+ * @description Gets role as a manager.
491
+ */
492
+ AsManager = 32,
493
+ /**
494
+ * @description Gets all roles.
495
+ */
496
+ All = 63
497
+ }
498
+
499
+ /**
500
+ * @public
501
+ * @generativeApi
502
+ * @description Defines the scope or evaluation mode for aggregation functions.
503
+ * 0 - None (No specific scope defined), 1 - All (Includes all values including duplicates),
504
+ * 2 - Distinct (Only unique values, eliminates duplicates)
505
+ */
506
+ declare enum ɵAggregationEvalType {
507
+ /**
508
+ * @description The scope of the aggregating function is not defined.
509
+ */
510
+ None = 0,
511
+ /**
512
+ * @description Applies to all elements.
513
+ */
514
+ All = 1,
515
+ /**
516
+ * @description Applies to unique values.
517
+ */
518
+ Distinct = 2
519
+ }
520
+
521
+ /**
522
+ * @public
523
+ * @generativeApi
524
+ * @description Represents arithmetic operations that can be performed in queries and expressions.
525
+ * 0 - Addition (Adds values), 1 - Subtraction (Subtracts values),
526
+ * 2 - Multiplication (Multiplies values), 3 - Division (Divides values)
527
+ */
528
+ declare enum ɵArithmeticOperation {
529
+ /**
530
+ * @description Addition.
531
+ */
532
+ Addition = 0,
533
+ /**
534
+ * @description Subtraction.
535
+ */
536
+ Subtraction = 1,
537
+ /**
538
+ * @description Multiplication.
539
+ */
540
+ Multiplication = 2,
541
+ /**
542
+ * @description Division.
543
+ */
544
+ Division = 3
545
+ }
546
+
547
+ /**
548
+ * @public
549
+ * @generativeApi
550
+ * @description The type of comparison operation used in filters and query conditions.
551
+ 1 - Is_null (Value is null), 2 - Is_not_null (Value is not null),
552
+ * 3 - Equal (Value equals), 4 - Not_equal (Value doesn't equal), 5 - Less (Value is less than),
553
+ * 6 - Less_or_equal (Value is less than or equal), 7 - Greater (Value is greater than),
554
+ * 8 - Greater_or_equal (Value is greater than or equal), 9 - Start_with (Value starts with string),
555
+ * 10 - Not_start_with (Value doesn't start with string), 11 - Contain (Value contains string),
556
+ * 12 - Not_contain (Value doesn't contain string), 13 - End_with (Value ends with string),
557
+ * 14 - Not_end_with (Value doesn't end with string), 15 - Exists (Value exists),
558
+ * 16 - Not_exists (Value doesn't exist)
559
+ */
560
+ declare enum ɵComparisonType {
561
+ /**
562
+ * @public
563
+ * @description Value is between two specified values.
564
+ * @hidden
565
+ */
566
+ Between = 0,
567
+ /**
568
+ * @public
569
+ * @description Value contains a specified substring.
570
+ */
571
+ Contain = 11,
572
+ /**
573
+ * @public
574
+ * @description Value ends with a specified substring.
575
+ */
576
+ End_with = 13,
577
+ /**
578
+ * @public
579
+ * @description Value is equal to a specified value.
580
+ */
581
+ Equal = 3,
582
+ /**
583
+ * @public
584
+ * @description Value exists (is not null or undefined).
585
+ */
586
+ Exists = 15,
587
+ /**
588
+ * @public
589
+ * @description Value is greater than a specified value.
590
+ */
591
+ Greater = 7,
592
+ /**
593
+ * @public
594
+ * @description Value is greater than or equal to a specified value.
595
+ */
596
+ Greater_or_equal = 8,
597
+ /**
598
+ * @public
599
+ * @description Value is not null.
600
+ */
601
+ Is_not_null = 2,
602
+ /**
603
+ * @public
604
+ * @description Value is null.
605
+ */
606
+ Is_null = 1,
607
+ /**
608
+ * @public
609
+ * @description Value is less than a specified value.
610
+ */
611
+ Less = 5,
612
+ /**
613
+ * @public
614
+ * @description Value is less than or equal to a specified value.
615
+ */
616
+ Less_or_equal = 6,
617
+ /**
618
+ * @public
619
+ * @description Value does not contain a specified substring.
620
+ */
621
+ Not_contain = 12,
622
+ /**
623
+ * @public
624
+ * @description Value does not end with a specified substring.
625
+ */
626
+ Not_end_with = 14,
627
+ /**
628
+ * @public
629
+ * @description Value is not equal to a specified value.
630
+ */
631
+ Not_equal = 4,
632
+ /**
633
+ * @public
634
+ * @description Value does not exist (is null or undefined).
635
+ */
636
+ Not_exists = 16,
637
+ /**
638
+ * @public
639
+ * @description Value does not start with a specified substring.
640
+ */
641
+ Not_start_with = 10,
642
+ /**
643
+ * @public
644
+ * @description Value starts with a specified substring.
645
+ */
646
+ Start_with = 9
647
+ }
648
+
649
+ /**
650
+ * @public
651
+ * @generativeApi
652
+ * @description Defines possible parts of the date.
653
+ * 0 - Empty value.
654
+ * 1 - Day.
655
+ * 2 - Week.
656
+ * 3 - Month.
657
+ * 4 - Year.
658
+ * 5 - Day of the week.
659
+ * 6 - Hour.
660
+ * 7 - Minute.
661
+ */
662
+ declare enum ɵDatePartType {
663
+ /**
664
+ * @description Empty value.
665
+ */
666
+ None = 0,
667
+ /**
668
+ * @description Day.
669
+ */
670
+ Day = 1,
671
+ /**
672
+ * @description Week.
673
+ */
674
+ Week = 2,
675
+ /**
676
+ * @description Month.
677
+ */
678
+ Month = 3,
679
+ /**
680
+ * @description Year.
681
+ */
682
+ Year = 4,
683
+ /**
684
+ * @description Day of the week.
685
+ */
686
+ WeekDay = 5,
687
+ /**
688
+ * @description Hour.
689
+ */
690
+ Hour = 6,
691
+ /**
692
+ * @description Minute.
693
+ */
694
+ HourMinute = 7
695
+ }
696
+
697
+ /**
698
+ * @public
699
+ * @generativeApi
700
+ * @description Type of expression.
701
+ * 0 - SchemaColumn (Reference to a data column), 1 - Function (Function call expression),
702
+ * 2 - Parameter (Parameter value), 3 - SubQuery (Nested query expression),
703
+ * 4 - ArithmeticOperation (Mathematical operation)
704
+ */
705
+ declare enum ɵExpressionType {
706
+ /**
707
+ * @description Column.
708
+ */
709
+ SchemaColumn = 0,
710
+ /**
711
+ * @description Function.
712
+ */
713
+ Function = 1,
714
+ /**
715
+ * @description Parameter.
716
+ */
717
+ Parameter = 2,
718
+ /**
719
+ * @description Subselect query.
720
+ */
721
+ SubQuery = 3,
722
+ /**
723
+ * @description Arithmetic operation.
724
+ */
725
+ ArithmeticOperation = 4
726
+ }
727
+
728
+ /**
729
+ * @public
730
+ * @description The origin kind of a filter group — where the group was created from.
731
+ */
732
+ declare enum ɵFilterGroupOriginType {
733
+ /**
734
+ * @public
735
+ * @description The group was created from a predefined filter (preset).
736
+ */
737
+ Predefined = "Predefined"
738
+ }
739
+
740
+ /**
741
+ * @public
742
+ * @description The type of filter.
743
+ * - 0 None, No filter applied.
744
+ * - 1 Compare, Comparison filter (e.g., equal to, greater than).
745
+ * - 2 IsNull, Checks if a value is null.
746
+ * - 4 In, Checks if a value is in a specified set of values.
747
+ * - 5 Exists, Checks if a value exists.
748
+ * - 6 FilterGroup, A group of filters combined with logical operators (AND, OR).
749
+ * - 7 Segment, Segment-membership filter — EXISTS / NOT EXISTS against the per-segment
750
+ * data table addressed by SegmentFilterOptions.segmentId. Documented in
751
+ * `crt-data-segmentation-engine/architecture/artifacts/insegment-filter-api.md`.
752
+ */
753
+ declare enum ɵFilterType {
754
+ /**
755
+ * @public
756
+ * @description No filter applied.
757
+ */
758
+ None = 0,
759
+ /**
760
+ * @public
761
+ * @description Comparison filter (e.g., equal to, greater than).
762
+ */
763
+ Compare = 1,
764
+ /**
765
+ * @public
766
+ * @description Checks if a value is null.
767
+ */
768
+ IsNull = 2,
769
+ /**
770
+ * @public
771
+ * @description Checks if a value is between two specified values.
772
+ * should be used with {@link ɵBetweenFilter}
773
+ * @hidden
774
+ */
775
+ Between = 3,
776
+ /**
777
+ * @public
778
+ * @description Checks if a value is in a specified set of values.
779
+ */
780
+ In = 4,
781
+ /**
782
+ * @public
783
+ * @description Checks if a value exists.
784
+ */
785
+ Exists = 5,
786
+ /**
787
+ * @public
788
+ * @description A group of filters combined with logical operators (AND, OR).
789
+ */
790
+ FilterGroup = 6,
791
+ /**
792
+ * @public
793
+ * @description Segment-membership filter. Carries a nested SegmentFilterOptions payload;
794
+ * the backend resolves segmentId via the SysDataSegment lookup and emits an EXISTS / NOT
795
+ * EXISTS subquery against the segment's per-segment data table. Use comparisonType
796
+ * Exists (15) for "in segment" and Not_exists (16) for "not in segment".
797
+ */
798
+ Segment = 7
799
+ }
800
+
801
+ /**
802
+ * @public
803
+ * @generativeApi
804
+ * @description The type of function in the filter, or in the aggregation function
805
+ * 0 - None (Function type not defined), 1 - Macros (Substitution by macro),
806
+ * 2 - Aggregation (Aggregating function), 3 - DatePart (Date fragment),
807
+ * 4 - Length (Size of value in bytes), 5 - Window (Window query function),
808
+ * 6 - DateAdd (Date addition), 7 - DateDiff (Date difference).
809
+ * if used in aggregation function, use 2 by default.
810
+ */
811
+ declare enum ɵFunctionType {
812
+ /**
813
+ * @description Function type not defined.
814
+ * */
815
+ None = 0,
816
+ /**
817
+ * @description Substitution by macro.
818
+ * */
819
+ Macros = 1,
820
+ /**
821
+ * @description Aggregating function.
822
+ * */
823
+ Aggregation = 2,
824
+ /**
825
+ * @description Date fragment.
826
+ * */
827
+ DatePart = 3,
828
+ /**
829
+ * @description The size of the value in bytes, used for binary data.
830
+ * */
831
+ Length = 4,
832
+ /**
833
+ * @description Window query function
834
+ * */
835
+ Window = 5,
836
+ /**
837
+ * @description Date add.
838
+ * */
839
+ DateAdd = 6,
840
+ /**
841
+ * @description Date diff.
842
+ * */
843
+ DateDiff = 7
844
+ }
845
+
846
+ /**
847
+ * @public
848
+ * @generativeApi
849
+ * @description The type of logical operation used to combine multiple conditions in filters.
850
+ * 0 - And (All conditions must be true), 1 - Or (At least one condition must be true)
851
+ */
852
+ declare enum ɵLogicalOperatorType {
853
+ /**
854
+ * @description Logical And.
855
+ */
856
+ And = 0,
857
+ /**
858
+ * @description Logical Or.
859
+ */
860
+ Or = 1
861
+ }
862
+
863
+ /**
864
+ * @public
865
+ * @generativeApi
866
+ * @description Specifies the sort direction for query results.
867
+ * 0 - None (No specific ordering), 1 - Asc (Ascending order, A-Z, 0-9), 2 - Desc (Descending order, Z-A, 9-0)
868
+ */
869
+ declare enum ɵOrderDirection {
870
+ /**
871
+ * @description Order not defined.
872
+ * */
873
+ None = 0,
874
+ /**
875
+ * @description Ascending.
876
+ * */
877
+ Asc = 1,
878
+ /**
879
+ * @description Descending.
880
+ * */
881
+ Desc = 2
882
+ }
883
+
884
+ /**
885
+ * @public
886
+ * @generativeApi
887
+ * @description Defines the types of macros that can be used in queries.
888
+ * 0 - None (No macro), 1 - CurrentUser (Current user ID), 2 - CurrentUserContact (User's contact),
889
+ * 3 - Yesterday (Previous day), 4 - Today (Current day), 5 - Tomorrow (Next day),
890
+ * 6 - PreviousWeek (Last week), 7 - CurrentWeek (This week), 8 - NextWeek (Coming week),
891
+ * 9 - PreviousMonth (Last month), 10 - CurrentMonth (This month), 11 - NextMonth (Coming month)
892
+ * 12 - Previous quarter.
893
+ * 13 - Current quarter.
894
+ * 14 - Next quarter.
895
+ * 15 - Previous half of the year.
896
+ * 16 - Current half-year.
897
+ * 17 - Next half-year.
898
+ * 18 - Last year.
899
+ * 19 - This year.
900
+ * 20 - Previous hour.
901
+ * 21 - Current hour.
902
+ * 22 - Next hour.
903
+ * 23 - Next year.
904
+ * 24 - Next N Days.
905
+ * 25 - Previous N days.
906
+ * 26 - Next N hours.
907
+ * 27 - Previous N hours.
908
+ * 34 - Primary column.
909
+ * 35 - Primary displayed column.
910
+ * 36 - Primary image display column.
911
+ * 37 - Anniversary today.
912
+ * 38 - Anniversary on the date computed as today plus days offset.
913
+ * 39 - Anniversary on the next several days.
914
+ * 40 - Anniversary on the previous several days.
915
+ * 41 - Primary color display column.
916
+ */
917
+ declare enum ɵQueryMacrosType {
918
+ /**
919
+ * @description Macro type not defined.
920
+ */
921
+ None = 0,
922
+ /**
923
+ * @description Current user.
924
+ */
925
+ CurrentUser = 1,
926
+ /**
927
+ * @description Current user contact.
928
+ */
929
+ CurrentUserContact = 2,
930
+ /**
931
+ * @description Yesterday.
932
+ */
933
+ Yesterday = 3,
934
+ /**
935
+ * @description Today.
936
+ */
937
+ Today = 4,
938
+ /**
939
+ * @description Tomorrow.
940
+ */
941
+ Tomorrow = 5,
942
+ /**
943
+ * @description Previous week.
944
+ */
945
+ PreviousWeek = 6,
946
+ /**
947
+ * @description This week.
948
+ */
949
+ CurrentWeek = 7,
950
+ /**
951
+ * @description Next week.
952
+ */
953
+ NextWeek = 8,
954
+ /**
955
+ * @description Previous month.
956
+ */
957
+ PreviousMonth = 9,
958
+ /**
959
+ * @description Current month.
960
+ */
961
+ CurrentMonth = 10,
962
+ /**
963
+ * @description Next month.
964
+ */
965
+ NextMonth = 11,
966
+ /**
967
+ * @description Previous quarter.
968
+ */
969
+ PreviousQuarter = 12,
970
+ /**
971
+ * @description Current quarter.
972
+ */
973
+ CurrentQuarter = 13,
974
+ /**
975
+ * @description Next quarter.
976
+ */
977
+ NextQuarter = 14,
978
+ /**
979
+ * @description Previous half of the year.
980
+ */
981
+ PreviousHalfYear = 15,
982
+ /**
983
+ * @description Current half-year.
984
+ */
985
+ CurrentHalfYear = 16,
986
+ /**
987
+ * @description Next half-year.
988
+ */
989
+ NextHalfYear = 17,
990
+ /**
991
+ * @description Last year.
992
+ */
993
+ PreviousYear = 18,
994
+ /**
995
+ * @description This year.
996
+ */
997
+ CurrentYear = 19,
998
+ /**
999
+ * @description Previous hour.
1000
+ */
1001
+ PreviousHour = 20,
1002
+ /**
1003
+ * @description Current hour.
1004
+ */
1005
+ CurrentHour = 21,
1006
+ /**
1007
+ * @description Next hour.
1008
+ */
1009
+ NextHour = 22,
1010
+ /**
1011
+ * @description Next year.
1012
+ */
1013
+ NextYear = 23,
1014
+ /**
1015
+ * @description Next N Days.
1016
+ */
1017
+ NextNDays = 24,
1018
+ /**
1019
+ * @description Previous N days.
1020
+ */
1021
+ PreviousNDays = 25,
1022
+ /**
1023
+ * @description Next N hours.
1024
+ */
1025
+ NextNHours = 26,
1026
+ /**
1027
+ * @description Previous N hours.
1028
+ */
1029
+ PreviousNHours = 27,
1030
+ /**
1031
+ * @description Primary column.
1032
+ */
1033
+ PrimaryColumn = 34,
1034
+ /**
1035
+ * @description Primary displayed column.
1036
+ */
1037
+ PrimaryDisplayColumn = 35,
1038
+ /**
1039
+ * @description Primary image display column.
1040
+ */
1041
+ PrimaryImageColumn = 36,
1042
+ /**
1043
+ * @description Anniversary today.
1044
+ */
1045
+ DayOfYearToday = 37,
1046
+ /**
1047
+ * @description Anniversary on the date computed as today plus days offset.
1048
+ */
1049
+ DayOfYearTodayPlusDaysOffset = 38,
1050
+ /**
1051
+ * @description Anniversary on the next several days.
1052
+ */
1053
+ NextNDaysOfYear = 39,
1054
+ /**
1055
+ * @description Anniversary on the previous several days.
1056
+ */
1057
+ PreviousNDaysOfYear = 40,
1058
+ /**
1059
+ * @description Primary color display column.
1060
+ */
1061
+ PrimaryColorColumn = 41
1062
+ }
1063
+
1064
+ /**
1065
+ * @public
1066
+ * @description possible types of values in JSON.
1067
+ */
1068
+ type ɵJsonData = string | number | boolean | null | undefined | ɵJsonObject | ɵJsonArray;
1069
+ /**
1070
+ * @public
1071
+ * @generativeApi
1072
+ * @hidden
1073
+ * @description JSON object.
1074
+ */
1075
+ interface ɵJsonObject {
1076
+ /**
1077
+ * @hidden
1078
+ * */
1079
+ [key: string]: ɵJsonData;
1080
+ }
1081
+ /**
1082
+ * @public
1083
+ * @description Collection of JSON data.
1084
+ */
1085
+ type ɵJsonArray = Array<ɵJsonData>;
1086
+
1087
+ /**
1088
+ * @public
1089
+ * @description Filter parser interface.
1090
+ */
1091
+ declare class ɵBaseFilterParser {
1092
+ /**
1093
+ * @description Creates filter from JSON.
1094
+ * @param dto - Serialized filter.
1095
+ * @return Instance of filter.
1096
+ */
1097
+ static fromJson(dto: ɵJsonObject): unknown;
1098
+ }
1099
+
1100
+ /**
1101
+ * @internal
1102
+ */
1103
+ interface UsedColumn {
1104
+ path: string;
1105
+ schemaName?: string;
1106
+ }
1107
+
1108
+ /**
1109
+ * @public
1110
+ * @description Expression parser interface.
1111
+ */
1112
+ declare class ɵBaseExpressionParser {
1113
+ /**
1114
+ * @public
1115
+ * @description Parses filter from json.
1116
+ * @param dto - Serialized object.
1117
+ * @param filterParser - Type of parser.
1118
+ * @return InstanceType of expression.
1119
+ */
1120
+ static fromJson(dto: ɵJsonObject, filterParser: typeof ɵBaseFilterParser): unknown;
1121
+ }
1122
+
1123
+ /**
1124
+ * @generativeApi
1125
+ * @description Type for Guid value.
1126
+ * @public
1127
+ */
1128
+ type ɵGuid = string;
1129
+ /**
1130
+ * @public
1131
+ * @description Empty Guid constant.
1132
+ */
1133
+ declare const ɵEMPTY_GUID = "00000000-0000-0000-0000-000000000000";
1134
+ /**
1135
+ * @description Generates new Guid.
1136
+ * @public
1137
+ */
1138
+ declare function ɵgenerateGuid(): ɵGuid;
1139
+ /**
1140
+ * @description Checks if value is Guid.
1141
+ * @param value Value for check.
1142
+ * @public
1143
+ */
1144
+ declare function ɵisGuid(value: unknown): boolean;
1145
+ /**
1146
+ * @description Checks if Guid is empty value or equal to EMPTY_GUID.
1147
+ * @param guid Guid for check.
1148
+ * @public
1149
+ */
1150
+ declare function ɵisEmptyGuid(guid: ɵGuid | undefined): boolean;
1151
+
1152
+ /**
1153
+ * @public
1154
+ * @genearativeApi
1155
+ * @description Required shape for lookup.
1156
+ * @extends {ɵJsonObject}
1157
+ * @property {string} displayValue - Value witch will be displayed in lookup
1158
+ * @property {string} primaryImageValue - Image for lookup value
1159
+ * @property {ɵGuid} value - {@link ɵGuid} - Actual lookup value
1160
+ * @property {string} primaryColorValue - Display color of lookup value
1161
+ * @property {string} secondaryDisplayValue - Secondary display value
1162
+ */
1163
+ interface ɵLookupValue extends ɵJsonObject {
1164
+ /**
1165
+ * @description Value witch will be displayed in lookup
1166
+ */
1167
+ displayValue: string;
1168
+ /**
1169
+ * @description Image for lookup value
1170
+ */
1171
+ primaryImageValue?: string;
1172
+ /**
1173
+ * @description Actual lookup value
1174
+ */
1175
+ value: ɵGuid;
1176
+ /**
1177
+ * @description Display color of lookup value
1178
+ */
1179
+ primaryColorValue?: string;
1180
+ /**
1181
+ * @description Secondary display value
1182
+ */
1183
+ secondaryDisplayValue?: string;
1184
+ }
1185
+ /**
1186
+ * @public
1187
+ * @description Lookup value with code
1188
+ * @extends {ɵLookupValue}
1189
+ * @property {string} code - code of lookup value
1190
+ */
1191
+ interface ɵLookupValueWithCode extends ɵLookupValue {
1192
+ /**
1193
+ * @description Code of lookup value
1194
+ */
1195
+ code: string;
1196
+ }
1197
+
1198
+ /**
1199
+ * @public
1200
+ * @generativeApi
1201
+ * @description possible type of column value.
1202
+ */
1203
+ type ɵEntityColumnValue = boolean | number | string | ɵGuid | Date | ɵLookupValue | null;
1204
+
1205
+ /**
1206
+ * @public
1207
+ * @description type of function
1208
+ */
1209
+ type ɵFunctionStringType = 'aggregation' | 'datePart' | 'none';
1210
+
1211
+ /**
1212
+ * @public
1213
+ * @description sorting direction
1214
+ */
1215
+ type ɵSortDirection = 'asc' | 'desc' | 'none';
1216
+
1217
+ /**
1218
+ * @public
1219
+ * @description Shape for generic type.
1220
+ */
1221
+ type ɵType<T = any> = new (...args: any[]) => T;
1222
+
1223
+ /**
1224
+ * @public
1225
+ * @description Represents abstract class.
1226
+ */
1227
+ type ɵAbstractType<T = any> = abstract new (...args: any[]) => T;
1228
+
1229
+ /**
1230
+ * @public
1231
+ * @description Types of aggregation to evaluate.
1232
+ */
1233
+ type ɵAggregationEval = 'all' | 'distinct' | 'none';
1234
+
1235
+ /**
1236
+ * @public
1237
+ * @description button color theme name
1238
+ */
1239
+ type ɵButtonColor = 'primary' | 'accent' | 'warn' | 'default' | 'outline' | 'plain-white' | 'outline-white';
1240
+
1241
+ /**
1242
+ * @public
1243
+ * @description type of date part
1244
+ */
1245
+ type ɵDatePart = 'minute' | 'hour' | 'day' | 'weekday' | 'week' | 'month' | 'year' | 'none';
1246
+
1247
+ /**
1248
+ * @public
1249
+ * @description Function that takes a key to translate, and returns the translated value.
1250
+ */
1251
+ type ɵLocalizeFn = (key: string) => string;
1252
+
1253
+ /**
1254
+ * @public
1255
+ * @description Function that takes a injection token, and returns dependency instance.
1256
+ */
1257
+ type ɵResolveDependencyFn = (token: unknown) => unknown;
1258
+
1259
+ /**
1260
+ * @public
1261
+ * @description contract for localizable string
1262
+ *
1263
+ * @example
1264
+ * const localizableString = {
1265
+ * "en-US": 'localizable string'
1266
+ * }
1267
+ */
1268
+ type ɵLocalizableString = string | Record<string, unknown>;
1269
+
1270
+ /**
1271
+ * @public
1272
+ * @description A function executed as part of the finalization.
1273
+ */
1274
+ type ɵTeardownLogic = () => void;
1275
+
1276
+ /**
1277
+ * @public
1278
+ * @description Interface which add ability for serialize any object.
1279
+ */
1280
+ interface ɵSerializable {
1281
+ /**
1282
+ * @public
1283
+ * @description Converts instance to json object.
1284
+ */
1285
+ toJson(): ɵJsonObject;
1286
+ }
1287
+
1288
+ type ɵExpressionConfig<TExpression extends ɵBaseExpression> = Partial<Omit<TExpression, 'expressionType'>>;
1289
+ /**
1290
+ * @public
1291
+ * @generativeApi
1292
+ * @abstract
1293
+ * @description The base class of the expression.
1294
+ * @extends {ɵSerializable}
1295
+ */
1296
+ declare abstract class ɵBaseExpression implements ɵSerializable {
1297
+ /**
1298
+ * @internal
1299
+ * @dontChange
1300
+ */
1301
+ protected static readonly _instanceOfKey: string;
1302
+ /**
1303
+ * @internal
1304
+ * @dontChange
1305
+ */
1306
+ protected static get _instanceOfKeys(): string[];
1307
+ /**
1308
+ * @description True if expression has brackets.
1309
+ * @default false
1310
+ */
1311
+ readonly isBlock?: boolean;
1312
+ /**
1313
+ * @public
1314
+ * @description Method for checking if an instance is of the current class type.
1315
+ * @param instance - The instance to check.
1316
+ * @returns `true` if the instance is of the current class type, `false` otherwise.
1317
+ */
1318
+ static [Symbol.hasInstance](instance: ɵBaseExpression): boolean;
1319
+ /**
1320
+ * @description Type of expression
1321
+ */
1322
+ abstract readonly expressionType: ɵExpressionType;
1323
+ protected constructor(config: ɵExpressionConfig<ɵBaseExpression>);
1324
+ /**
1325
+ * @public
1326
+ * @description Parses expression from json.
1327
+ */
1328
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵBaseExpression;
1329
+ /**
1330
+ * @description Converts instance to json object.
1331
+ * @param item - The instance to serialize.
1332
+ */
1333
+ protected serializeItem(item: ɵSerializable): ɵJsonObject;
1334
+ /**
1335
+ * @description Abstract method to create cloned instance.
1336
+ */
1337
+ abstract clone(): ɵBaseExpression;
1338
+ /**
1339
+ * @public
1340
+ * @description Converts instance to json object.
1341
+ */
1342
+ toJson(): ɵJsonObject;
1343
+ /**
1344
+ * @internal
1345
+ */
1346
+ abstract _getUsedColumns(): UsedColumn[];
1347
+ }
1348
+
1349
+ /**
1350
+ * @public
1351
+ * @description Config used for arithmetic expression
1352
+ */
1353
+ type ɵArithmeticExpressionConfig = ɵExpressionConfig<ɵArithmeticExpression> & Pick<ɵArithmeticExpression, 'arithmeticOperation' | 'leftArithmeticOperand' | 'rightArithmeticOperand'>;
1354
+ /**
1355
+ * @public
1356
+ * @description Arithmetic expression.
1357
+ * @extends {ɵBaseExpression}
1358
+ */
1359
+ declare class ɵArithmeticExpression extends ɵBaseExpression {
1360
+ /**
1361
+ * @internal
1362
+ * @dontChange
1363
+ */
1364
+ protected static readonly _instanceOfKey: string;
1365
+ /**
1366
+ * @internal
1367
+ * @dontChange
1368
+ */
1369
+ protected static get _instanceOfKeys(): string[];
1370
+ /**
1371
+ * @description Expression type. Default 'ArithmeticOperation'.
1372
+ */
1373
+ readonly expressionType: ɵExpressionType;
1374
+ /**
1375
+ * @description Operation.
1376
+ */
1377
+ readonly arithmeticOperation: ɵArithmeticOperation;
1378
+ /**
1379
+ * @description Left operand expression.
1380
+ */
1381
+ readonly leftArithmeticOperand: ɵBaseExpression;
1382
+ /**
1383
+ * @description Right operand expression.
1384
+ */
1385
+ readonly rightArithmeticOperand: ɵBaseExpression;
1386
+ constructor(config: ɵArithmeticExpressionConfig);
1387
+ /**
1388
+ * Parses expression from json.
1389
+ * @public
1390
+ */
1391
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵArithmeticExpression;
1392
+ /**
1393
+ * @public
1394
+ * @description Clones instance.
1395
+ */
1396
+ clone(): ɵArithmeticExpression;
1397
+ /**
1398
+ * @internal
1399
+ */
1400
+ _getUsedColumns(): UsedColumn[];
1401
+ }
1402
+
1403
+ /**
1404
+ * @public
1405
+ * @description Configuration of expression of type column EntitySchema.
1406
+ */
1407
+ type ɵColumnExpressionConfig = ɵExpressionConfig<ɵColumnExpression> & Pick<ɵColumnExpression, 'columnPath'>;
1408
+ /**
1409
+ * @public
1410
+ * @generativeApi
1411
+ * @description A class that defines an expression of type column EntitySchema.
1412
+ * @extends {ɵBaseExpression}
1413
+ */
1414
+ declare class ɵColumnExpression extends ɵBaseExpression {
1415
+ /**
1416
+ * @internal
1417
+ * @dontChange
1418
+ */
1419
+ protected static readonly _instanceOfKey: string;
1420
+ /**
1421
+ * @internal
1422
+ * @dontChange
1423
+ */
1424
+ protected static get _instanceOfKeys(): string[];
1425
+ /**
1426
+ * @description Type of expression.
1427
+ */
1428
+ readonly expressionType: ɵExpressionType;
1429
+ /**
1430
+ * @description The path to the column is relative to root schema. Elements of the path are separated by a dot.
1431
+ */
1432
+ columnPath: string;
1433
+ constructor(config: ɵColumnExpressionConfig);
1434
+ /**
1435
+ * Parses expression from json.
1436
+ * @public
1437
+ * @param dto - Serialized object.
1438
+ */
1439
+ static fromJson(dto: ɵJsonObject): ɵColumnExpression;
1440
+ /**
1441
+ * @description Clones instance.
1442
+ */
1443
+ clone(): ɵColumnExpression;
1444
+ /**
1445
+ * @internal
1446
+ */
1447
+ _getUsedColumns(): UsedColumn[];
1448
+ }
1449
+
1450
+ /**
1451
+ * @public
1452
+ * @description Expression parser.
1453
+ * @extends {ɵBaseExpressionParser}
1454
+ */
1455
+ declare class ɵExpressionParser extends ɵBaseExpressionParser {
1456
+ /**
1457
+ * @public
1458
+ * @description Parses expression from json.
1459
+ */
1460
+ static fromJson(dto: ɵJsonObject, filterParser: typeof ɵBaseFilterParser): ɵBaseExpression;
1461
+ }
1462
+
1463
+ /**
1464
+ * @description Expression resolver.
1465
+ * @public
1466
+ */
1467
+ declare class ɵExpressionResolver {
1468
+ /**
1469
+ * @public
1470
+ * @description Resolves class of expression.
1471
+ * @param expressionType - Type of expression.
1472
+ * @param dto - Serialized object.
1473
+ * @return Class of expression.
1474
+ */
1475
+ static resolve(expressionType: ɵExpressionType, dto: ɵJsonObject): typeof ɵBaseExpression;
1476
+ }
1477
+
1478
+ /**
1479
+ * @public
1480
+ * @description Configuration for funcion expression.
1481
+ */
1482
+ type ɵFunctionExpressionConfig<TExpression extends ɵFunctionExpression> = Omit<ɵExpressionConfig<TExpression>, 'functionType'>;
1483
+ /**
1484
+ * @public
1485
+ * @abstract
1486
+ * @generativeApi
1487
+ * @description A class that describes a functional expression.
1488
+ * Functional expressions are evaluated on BE to produce a value based on the function type.
1489
+ * @extends {ɵFunctionExpression}
1490
+ */
1491
+ declare abstract class ɵFunctionExpression extends ɵBaseExpression {
1492
+ /**
1493
+ * @internal
1494
+ * @dontChange
1495
+ */
1496
+ protected static readonly _instanceOfKey: string;
1497
+ /**
1498
+ * @internal
1499
+ * @dontChange
1500
+ */
1501
+ protected static get _instanceOfKeys(): string[];
1502
+ /**
1503
+ * @description Expression type. Default 'Function'.
1504
+ * @default 1.
1505
+ */
1506
+ readonly expressionType: ɵExpressionType;
1507
+ /**
1508
+ * @description The type of the functional expression.
1509
+ */
1510
+ abstract readonly functionType: ɵFunctionType;
1511
+ protected constructor(config: ɵFunctionExpressionConfig<ɵFunctionExpression>);
1512
+ /**
1513
+ * @description Abstract method to create cloned instance.
1514
+ */
1515
+ abstract clone(): ɵFunctionExpression;
1516
+ }
1517
+
1518
+ /**
1519
+ * @public
1520
+ * @description Configuration for function wih argument expression.
1521
+ */
1522
+ type ɵArgumentFunctionExpressionConfig<TExpression extends ɵArgumentFunctionExpression> = ɵFunctionExpressionConfig<TExpression> & Pick<ɵArgumentFunctionExpression, 'functionArgument'>;
1523
+ /**
1524
+ * @public
1525
+ * @abstract
1526
+ * @description A class that describes a functional expression with argument.
1527
+ * @extends {ɵFunctionExpression}
1528
+ */
1529
+ declare abstract class ɵArgumentFunctionExpression extends ɵFunctionExpression {
1530
+ /**
1531
+ * @internal
1532
+ * @dontChange
1533
+ */
1534
+ protected static readonly _instanceOfKey: string;
1535
+ /**
1536
+ * @internal
1537
+ * @dontChange
1538
+ */
1539
+ protected static get _instanceOfKeys(): string[];
1540
+ /**
1541
+ * @description Expression argument.
1542
+ */
1543
+ readonly functionArgument: ɵBaseExpression;
1544
+ protected constructor(config: ɵArgumentFunctionExpressionConfig<ɵArgumentFunctionExpression>);
1545
+ /**
1546
+ * @public
1547
+ * @description Abstract method to create cloned instance.
1548
+ */
1549
+ abstract clone(): ɵArgumentFunctionExpression;
1550
+ /** {@inheritDoc ɵBaseExpression.toJson} */
1551
+ toJson(): ɵJsonObject;
1552
+ /**
1553
+ * @internal
1554
+ */
1555
+ _getUsedColumns(): UsedColumn[];
1556
+ }
1557
+
1558
+ /**
1559
+ * @public
1560
+ * @description Configuration for aggregation function expression.
1561
+ */
1562
+ type ɵAggregationFunctionExpressionConfig = ɵArgumentFunctionExpressionConfig<ɵAggregationFunctionExpression> & Pick<ɵAggregationFunctionExpression, 'aggregationType' | 'aggregationEvalType'>;
1563
+ /**
1564
+ * @public
1565
+ * @generativeApi
1566
+ * @description A class that describes expression with aggregate function.
1567
+ * @extends {ɵArgumentFunctionExpression}
1568
+ */
1569
+ declare class ɵAggregationFunctionExpression extends ɵArgumentFunctionExpression {
1570
+ /**
1571
+ * @internal
1572
+ * @dontChange
1573
+ */
1574
+ protected static readonly _instanceOfKey: string;
1575
+ /**
1576
+ * @internal
1577
+ * @dontChange
1578
+ */
1579
+ protected static get _instanceOfKeys(): string[];
1580
+ /**
1581
+ * @description The type of the functional expression passed for initialization.
1582
+ */
1583
+ readonly functionType: ɵFunctionType;
1584
+ /**
1585
+ * @description Aggregation type.
1586
+ */
1587
+ readonly aggregationType: ɵAggregationType;
1588
+ /**
1589
+ * @description The scope of the aggregating function.
1590
+ */
1591
+ readonly aggregationEvalType: ɵAggregationEvalType;
1592
+ constructor(config: ɵAggregationFunctionExpressionConfig);
1593
+ /**
1594
+ * Parses expression from json.
1595
+ * @public
1596
+ */
1597
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵAggregationFunctionExpression;
1598
+ /** {@inheritDoc ɵBaseExpression.clone} */
1599
+ clone(): ɵAggregationFunctionExpression;
1600
+ }
1601
+
1602
+ /**
1603
+ * @public
1604
+ * @description Configuration for date part expression.
1605
+ */
1606
+ type ɵDatePartFunctionExpressionConfig = ɵArgumentFunctionExpressionConfig<ɵDatePartFunctionExpression> & Pick<ɵDatePartFunctionExpression, 'datePartType'>;
1607
+ /**
1608
+ * @public
1609
+ * @gererativeApi
1610
+ * @description A class that describes expression part of date function.
1611
+ * @extends {ɵArgumentFunctionExpression}
1612
+ */
1613
+ declare class ɵDatePartFunctionExpression extends ɵArgumentFunctionExpression {
1614
+ /**
1615
+ * @internal
1616
+ * @dontChange
1617
+ */
1618
+ protected static readonly _instanceOfKey: string;
1619
+ /**
1620
+ * @internal
1621
+ * @dontChange
1622
+ */
1623
+ protected static get _instanceOfKeys(): string[];
1624
+ /**
1625
+ * @description Function type. Default 'DatePart'.
1626
+ */
1627
+ readonly functionType: ɵFunctionType;
1628
+ /**
1629
+ * @description Date part type.
1630
+ */
1631
+ readonly datePartType: ɵDatePartType;
1632
+ constructor(config: ɵDatePartFunctionExpressionConfig);
1633
+ /**
1634
+ * Parses expression from json.
1635
+ * @public
1636
+ */
1637
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵDatePartFunctionExpression;
1638
+ /** {@inheritDoc ɵBaseExpression.clone} */
1639
+ clone(): ɵDatePartFunctionExpression;
1640
+ }
1641
+
1642
+ /**
1643
+ * @public
1644
+ * @description Configuration of expression with length function.
1645
+ */
1646
+ type ɵLengthFunctionExpressionConfig = ɵArgumentFunctionExpressionConfig<ɵLengthFunctionExpression>;
1647
+ /**
1648
+ * @public
1649
+ * @generativeApi
1650
+ * @description A class that describes expression with length function.
1651
+ * @extends {ɵArgumentFunctionExpression}
1652
+ */
1653
+ declare class ɵLengthFunctionExpression extends ɵArgumentFunctionExpression {
1654
+ /**
1655
+ * @internal
1656
+ * @dontChange
1657
+ */
1658
+ protected static readonly _instanceOfKey: string;
1659
+ /**
1660
+ * @internal
1661
+ * @dontChange
1662
+ */
1663
+ protected static get _instanceOfKeys(): string[];
1664
+ /**
1665
+ * @description Function type. Default 'Length'.
1666
+ */
1667
+ readonly functionType: ɵFunctionType;
1668
+ /**
1669
+ * @description Argument of function.
1670
+ */
1671
+ readonly functionArgument: ɵColumnExpression;
1672
+ constructor(config: ɵLengthFunctionExpressionConfig);
1673
+ /**
1674
+ * Parses expression from json.
1675
+ * @public
1676
+ */
1677
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵLengthFunctionExpression;
1678
+ /**
1679
+ * @description Method to create cloned instance.
1680
+ */
1681
+ clone(): ɵLengthFunctionExpression;
1682
+ }
1683
+
1684
+ /**
1685
+ * @public
1686
+ * @description Configuration of expression with macros function.
1687
+ */
1688
+ type ɵMacrosFunctionExpressionConfig = ɵFunctionExpressionConfig<ɵMacrosFunctionExpression> & Pick<ɵMacrosFunctionExpression, 'macrosType'>;
1689
+ /**
1690
+ * @public
1691
+ * @description A class that describes expression with macros function.
1692
+ * @extends {ɵFunctionExpression}
1693
+ */
1694
+ declare class ɵMacrosFunctionExpression extends ɵFunctionExpression {
1695
+ /**
1696
+ * @internal
1697
+ * @dontChange
1698
+ */
1699
+ protected static readonly _instanceOfKey: string;
1700
+ /**
1701
+ * @internal
1702
+ * @dontChange
1703
+ */
1704
+ protected static get _instanceOfKeys(): string[];
1705
+ /**
1706
+ * @description Function type. Default 'Macros'.
1707
+ * @default 1
1708
+ */
1709
+ readonly functionType: ɵFunctionType;
1710
+ /**
1711
+ * @description Type of macros.
1712
+ */
1713
+ readonly macrosType: ɵQueryMacrosType;
1714
+ /**
1715
+ * @description Function argument.
1716
+ * it is optional and exists only for some macros functions.
1717
+ */
1718
+ readonly functionArgument?: ɵBaseExpression;
1719
+ constructor(config: ɵMacrosFunctionExpressionConfig);
1720
+ /**
1721
+ * Parses expression from json.
1722
+ * @public
1723
+ */
1724
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser?: TFilterParser, expressionParser?: TExpressionParser): ɵMacrosFunctionExpression;
1725
+ /**
1726
+ * @description method to create cloned instance.
1727
+ */
1728
+ clone(): ɵMacrosFunctionExpression;
1729
+ /**
1730
+ * @internal
1731
+ */
1732
+ _getUsedColumns(): UsedColumn[];
1733
+ }
1734
+
1735
+ /**
1736
+ * @public
1737
+ * @description Configuration for window funcion expression.
1738
+ */
1739
+ type ɵWindowFunctionExpressionConfig = ɵArgumentFunctionExpressionConfig<ɵWindowFunctionExpression>;
1740
+ /**
1741
+ * @public
1742
+ * @generativeApi
1743
+ * @description A class that describes expression with window function.
1744
+ * @extends {ɵArgumentFunctionExpression}
1745
+ */
1746
+ declare class ɵWindowFunctionExpression extends ɵArgumentFunctionExpression {
1747
+ /**
1748
+ * @internal
1749
+ * @dontChange
1750
+ */
1751
+ protected static readonly _instanceOfKey: string;
1752
+ /**
1753
+ * @internal
1754
+ * @dontChange
1755
+ */
1756
+ protected static get _instanceOfKeys(): string[];
1757
+ /**
1758
+ * @description Function type.
1759
+ */
1760
+ readonly functionType: ɵFunctionType;
1761
+ /**
1762
+ * @description Function argument
1763
+ */
1764
+ readonly functionArgument: ɵAggregationFunctionExpression;
1765
+ constructor(config: ɵWindowFunctionExpressionConfig);
1766
+ /**
1767
+ * Parses expression from json.
1768
+ * @public
1769
+ */
1770
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵWindowFunctionExpression;
1771
+ /** {@inheritDoc ɵBaseExpression.clone} */
1772
+ clone(): ɵWindowFunctionExpression;
1773
+ }
1774
+
1775
+ /**
1776
+ * @public
1777
+ * @description Configuration of parametric expression.
1778
+ */
1779
+ type ɵParameterExpressionConfig = ɵExpressionConfig<ɵParameterExpression> & Pick<ɵParameterExpression, 'value'>;
1780
+ /**
1781
+ * @public
1782
+ * @generativeApi
1783
+ * @description Parameter object reference. Defines the value and type of the parameter.
1784
+ * dateValue property exists only if dataValueType is 7.
1785
+ */
1786
+ interface IParameterDefinition<TDataValueType extends ɵDataValueType = ɵDataValueType> {
1787
+ /**
1788
+ * @description type of the parameter value.
1789
+ * */
1790
+ dataValueType: TDataValueType;
1791
+ /**
1792
+ * @description exists only if dataValueType is 7. Contains the ISO 8601 date string.
1793
+ * */
1794
+ dateValue?: TDataValueType extends ɵDataValueType.DateTime ? `${string}T${string}Z` : never;
1795
+ /**
1796
+ * @description defines the value of the parameter.
1797
+ * If dataValueType is 7. Contains the ISO 8601 date string. but wrapped in escaped string.
1798
+ * E.g.: `\"2023-01-01T00:00:00.000Z\"`, otherwise it is the value of the parameter.
1799
+ * If dataValueType is 10, then value is ɵLookupValue.
1800
+ * value cannot be an array
1801
+ * */
1802
+ value?: TDataValueType extends ɵDataValueType.DateTime ? string : ɵEntityColumnValue;
1803
+ arrayValue?: string[];
1804
+ }
1805
+ /**
1806
+ * @public
1807
+ * @generativeApi
1808
+ * @description The class that defines the parametric expression.
1809
+ * It means that result of this expression is a parameter value.
1810
+ * @extends {ɵBaseExpression}
1811
+ */
1812
+ declare class ɵParameterExpression extends ɵBaseExpression {
1813
+ /**
1814
+ * @internal
1815
+ * @dontChange
1816
+ */
1817
+ protected static readonly _instanceOfKey: string;
1818
+ /**
1819
+ * @internal
1820
+ * @dontChange
1821
+ */
1822
+ protected static get _instanceOfKeys(): string[];
1823
+ /**
1824
+ * @description Type of expression.
1825
+ */
1826
+ readonly expressionType: ɵExpressionType;
1827
+ /**
1828
+ * @description Parameter value.
1829
+ * @hidden
1830
+ */
1831
+ readonly value: ɵEntityColumnValue;
1832
+ /**
1833
+ * @description Parameter value type.
1834
+ * @hidden
1835
+ */
1836
+ readonly dataValueType: ɵDataValueType;
1837
+ /**
1838
+ * @description Parameter object reference. Defines the value and type of the parameter.
1839
+ * dateValue property exists only if dataValueType === ɵDataValueType.DateTime.
1840
+ * if dataValueType === ɵDataValueType.DateTime, dataValueType will contain the ISO 8601 date string and
1841
+ * value will contain the same date, but wrapped in escaped string. E.g.: "\"2023-01-01T00:00:00.000Z\""
1842
+ */
1843
+ readonly parameter: IParameterDefinition;
1844
+ constructor(config: ɵParameterExpressionConfig);
1845
+ /**
1846
+ * Parses expression from json.
1847
+ * @public
1848
+ */
1849
+ static fromJson(dto: ɵJsonObject): ɵParameterExpression;
1850
+ private _convertStringToBlobArray;
1851
+ private _getParameterValueMetadata;
1852
+ /**
1853
+ * @description Returns cloned instance.
1854
+ */
1855
+ clone(): ɵParameterExpression;
1856
+ /**
1857
+ * @internal
1858
+ */
1859
+ _getUsedColumns(): UsedColumn[];
1860
+ }
1861
+
1862
+ /**
1863
+ * @public
1864
+ * @abstract
1865
+ * @generativeApi
1866
+ * @description Base class for all filters in the system.
1867
+ * @extends {ɵSerializable}
1868
+ */
1869
+ declare abstract class ɵBaseFilter implements ɵSerializable {
1870
+ /**
1871
+ * @internal
1872
+ * @dontChange
1873
+ */
1874
+ protected static readonly _instanceOfKey: string;
1875
+ /**
1876
+ * @internal
1877
+ * @dontChange
1878
+ */
1879
+ protected static get _instanceOfKeys(): string[];
1880
+ /**
1881
+ * @internal
1882
+ * @description Unique identifier of the filter.
1883
+ */
1884
+ uId?: string;
1885
+ /**
1886
+ * @description Type of filter.
1887
+ */
1888
+ readonly filterType: ɵFilterType;
1889
+ /**
1890
+ * @description Indicates that the filter is active and will be taken into account when building the query.
1891
+ * @default true
1892
+ */
1893
+ isEnabled: boolean;
1894
+ /**
1895
+ * @description Drop the time for the date / time type parameters. In FilterGroup this option is not supported.
1896
+ * @default false
1897
+ */
1898
+ trimDateTimeParameterToDate?: boolean;
1899
+ /**
1900
+ * @public
1901
+ * @description Method for checking if an instance is of the current class type.
1902
+ * @param instance - The instance to check.
1903
+ * @returns `true` if the instance is of the current class type, `false` otherwise.
1904
+ */
1905
+ static [Symbol.hasInstance](instance: ɵBaseFilter): boolean;
1906
+ protected constructor(filterType: ɵFilterType);
1907
+ /**
1908
+ * Parses filter from json.
1909
+ * @public
1910
+ */
1911
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵBaseFilter;
1912
+ protected serializeItem(item: ɵSerializable): ɵJsonObject;
1913
+ /**
1914
+ * @public
1915
+ * @description Clones instance.
1916
+ */
1917
+ abstract clone(): ɵBaseFilter;
1918
+ /**
1919
+ * Converts instance to json object.
1920
+ * @public
1921
+ */
1922
+ toJson(): ɵJsonObject;
1923
+ /**
1924
+ * @internal
1925
+ */
1926
+ abstract _getUsedColumns(): UsedColumn[];
1927
+ }
1928
+
1929
+ /**
1930
+ * @public
1931
+ * @description Basic filter class with one condition.
1932
+ * @extends {ɵBaseFilter}
1933
+ */
1934
+ declare abstract class ɵSingleFilter<LeftExpression extends ɵBaseExpression = ɵBaseExpression> extends ɵBaseFilter {
1935
+ /**
1936
+ * @internal
1937
+ * @dontChange
1938
+ */
1939
+ protected static readonly _instanceOfKey: string;
1940
+ /**
1941
+ * @internal
1942
+ * @dontChange
1943
+ */
1944
+ protected static get _instanceOfKeys(): string[];
1945
+ /**
1946
+ * TODO https://creatio.atlassian.net/browse/ENG-84712 Revert readonly
1947
+ * @description Type of comparison operation.
1948
+ * this comparison type defines how the {@link #leftExpression} will be compared
1949
+ * with the value of the right expression.
1950
+ */
1951
+ comparisonType: ɵComparisonType;
1952
+ /**
1953
+ * @description expression that contains the value to be compared with the right expressions.
1954
+ */
1955
+ readonly leftExpression: LeftExpression;
1956
+ /**
1957
+ * @description name of the entity schema, connected to the root schema of the filter.
1958
+ * Used, when one of the expressions uses a column from another schema.
1959
+ */
1960
+ referenceSchemaName?: string;
1961
+ /**
1962
+ * @description Data value types of the expressions in the filter.
1963
+ * @default 10
1964
+ */
1965
+ dataValueType?: ɵDataValueType;
1966
+ protected constructor(filterType: ɵFilterType, comparisonType: ɵComparisonType, leftExpression: LeftExpression);
1967
+ /** {@inheritDoc ɵSerializable.toJson} */
1968
+ toJson(): ɵJsonObject;
1969
+ /**
1970
+ * @internal
1971
+ */
1972
+ _getUsedColumns(): UsedColumn[];
1973
+ }
1974
+
1975
+ /**
1976
+ * @public
1977
+ * @description Filter class of the "Between" type.
1978
+ * @extends {ɵSingleFilter}
1979
+ */
1980
+ declare class ɵBetweenFilter extends ɵSingleFilter {
1981
+ /**
1982
+ * @description Type of filter.
1983
+ * @default 3
1984
+ * */
1985
+ readonly filterType: 3;
1986
+ /**
1987
+ * @internal
1988
+ * @dontChange
1989
+ */
1990
+ protected static readonly _instanceOfKey: string;
1991
+ /**
1992
+ * @internal
1993
+ * @dontChange
1994
+ */
1995
+ protected static get _instanceOfKeys(): string[];
1996
+ /**
1997
+ * @description The initial expression of the filtering range.
1998
+ */
1999
+ readonly rightLessExpression: ɵBaseExpression;
2000
+ /**
2001
+ * @description The final expression of the filtering range.
2002
+ */
2003
+ readonly rightGreaterExpression: ɵBaseExpression;
2004
+ constructor(leftExpression: ɵBaseExpression, rightLessExpression: ɵBaseExpression, rightGreaterExpression: ɵBaseExpression);
2005
+ /**
2006
+ * Parses filter from json.
2007
+ * @public
2008
+ */
2009
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵBetweenFilter;
2010
+ clone(): ɵBetweenFilter;
2011
+ toJson(): ɵJsonObject;
2012
+ /**
2013
+ * @internal
2014
+ */
2015
+ _getUsedColumns(): UsedColumn[];
2016
+ }
2017
+
2018
+ /**
2019
+ * @public
2020
+ * @description Filter class for comparing two expressions. leftExpression describes column from the schema,
2021
+ * by which the comparison is made, rightExpression describes the value to which the column is compared.
2022
+ * @extends {ɵSingleFilter}
2023
+ */
2024
+ declare class ɵCompareFilter<LeftExpression extends ɵBaseExpression = ɵBaseExpression> extends ɵSingleFilter<LeftExpression> {
2025
+ /**
2026
+ * @description Type of filter.
2027
+ * @default 1
2028
+ */
2029
+ readonly filterType: 1;
2030
+ /**
2031
+ * @internal
2032
+ * @dontChange
2033
+ */
2034
+ protected static readonly _instanceOfKey: string;
2035
+ /**
2036
+ * @internal
2037
+ * @dontChange
2038
+ */
2039
+ protected static get _instanceOfKeys(): string[];
2040
+ /**
2041
+ * TODO https://creatio.atlassian.net/browse/ENG-84712 Revert readonly
2042
+ * @description Filter expression. Right expression is used to compare values of column from the left expression
2043
+ */
2044
+ rightExpression: ɵBaseExpression;
2045
+ constructor(comparisonType: ɵComparisonType, leftExpression: LeftExpression, rightExpression: ɵBaseExpression);
2046
+ /**
2047
+ * Parses filter from json.
2048
+ * @public
2049
+ */
2050
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵCompareFilter;
2051
+ clone(): ɵCompareFilter;
2052
+ toJson(): ɵJsonObject;
2053
+ /**
2054
+ * @internal
2055
+ */
2056
+ _getUsedColumns(): UsedColumn[];
2057
+ }
2058
+
2059
+ /**
2060
+ * @public
2061
+ * @description The comparison filter class [Exists according to the specified condition].
2062
+ * @extends {ɵSingleFilter}
2063
+ */
2064
+ declare class ɵExistsFilter extends ɵSingleFilter {
2065
+ /**
2066
+ * @description Type of filter.
2067
+ * @default 5
2068
+ */
2069
+ readonly filterType: 5;
2070
+ /**
2071
+ * @internal
2072
+ * @dontChange
2073
+ */
2074
+ protected static readonly _instanceOfKey: string;
2075
+ /**
2076
+ * @internal
2077
+ * @dontChange
2078
+ */
2079
+ protected static get _instanceOfKeys(): string[];
2080
+ /**
2081
+ * @description Subquery filters. Cannot contain filters with other subqueries.
2082
+ * @hidden
2083
+ */
2084
+ readonly subFilters?: ɵFilterGroup;
2085
+ /**
2086
+ * @description Indicates that the filter is aggregating.
2087
+ * @default true
2088
+ */
2089
+ readonly isAggregative: boolean;
2090
+ constructor(leftExpression: ɵBaseExpression, subFilters?: ɵFilterGroup, comparisonType?: ɵComparisonType, isAggregative?: boolean);
2091
+ /**
2092
+ * Parses filter from json.
2093
+ * @public
2094
+ */
2095
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵExistsFilter;
2096
+ /**
2097
+ * @public
2098
+ * @description Clones instance.
2099
+ */
2100
+ clone(): ɵExistsFilter;
2101
+ /** {@inheritDoc ɵSerializable.toJson} */
2102
+ toJson(): ɵJsonObject;
2103
+ /**
2104
+ * @internal
2105
+ */
2106
+ _getUsedColumns(): UsedColumn[];
2107
+ }
2108
+
2109
+ /**
2110
+ * @public
2111
+ * @description Filter that checks if the value of {@link #leftExpression} is satisfied
2112
+ * by each of expressions in the array of {@link #rightExpressions}.
2113
+ * @extends {ɵSingleFilter}
2114
+ */
2115
+ declare class ɵInFilter extends ɵSingleFilter {
2116
+ /**
2117
+ * @description Type of filter. 4 means filter of type "In".
2118
+ * @default 4
2119
+ */
2120
+ readonly filterType: 4;
2121
+ /**
2122
+ * @internal
2123
+ * @dontChange
2124
+ */
2125
+ protected static readonly _instanceOfKey: string;
2126
+ /**
2127
+ * @internal
2128
+ * @dontChange
2129
+ */
2130
+ protected static get _instanceOfKeys(): string[];
2131
+ /**
2132
+ * TODO https://creatio.atlassian.net/browse/ENG-84712 Revert readonly
2133
+ * @description An array of expressions that will be compared with {@link #leftExpression}.
2134
+ */
2135
+ rightExpressions: ɵBaseExpression[];
2136
+ constructor(comparisonType: ɵComparisonType, leftExpression: ɵBaseExpression, rightExpressions: ɵBaseExpression[]);
2137
+ /**
2138
+ * @description Parses in filter from json.
2139
+ * @public
2140
+ */
2141
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵInFilter;
2142
+ /** {@inheritDoc ɵBaseFilter.clone} */
2143
+ clone(): ɵInFilter;
2144
+ /** {@inheritDoc ɵSerializable.toJson} */
2145
+ toJson(): ɵJsonObject;
2146
+ /**
2147
+ * @internal
2148
+ */
2149
+ _getUsedColumns(): UsedColumn[];
2150
+ }
2151
+
2152
+ /**
2153
+ * @public
2154
+ * @description Filter that checks if the value of {@link #leftExpression} equals to null or not.
2155
+ * @extends {ɵSingleFilter}
2156
+ */
2157
+ declare class ɵIsNullFilter extends ɵSingleFilter {
2158
+ /**
2159
+ * @description Type of filter.
2160
+ * @default 2
2161
+ */
2162
+ readonly filterType: 2;
2163
+ /**
2164
+ * @description Flag that indicates if expression is empty or not.
2165
+ */
2166
+ isNull: boolean;
2167
+ /**
2168
+ * @internal
2169
+ * @dontChange
2170
+ */
2171
+ protected static readonly _instanceOfKey: string;
2172
+ /**
2173
+ * @internale
2174
+ * @dontChange
2175
+ */
2176
+ protected static get _instanceOfKeys(): string[];
2177
+ constructor(comparisonType: ɵComparisonType.Is_null | ɵComparisonType.Is_not_null, leftExpression: ɵBaseExpression);
2178
+ private static _getComparisonType;
2179
+ /**
2180
+ * @description Parses isNull filter from json.
2181
+ * @public
2182
+ */
2183
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵIsNullFilter;
2184
+ /** {@inheritDoc ɵBaseFilter.clone} */
2185
+ clone(): ɵIsNullFilter;
2186
+ }
2187
+
2188
+ /**
2189
+ * @generativeApi
2190
+ * @description Combined type for all ESQ filters. If you plan to create a new filter, please add it to this type.
2191
+ * */
2192
+ type IESQFilter = ɵBaseFilter | ɵBetweenFilter | ɵCompareFilter | ɵExistsFilter | IFilterGroup | ɵInFilter | ɵIsNullFilter | ɵSingleFilter;
2193
+
2194
+ /**
2195
+ * @public
2196
+ * @description Origin of a filter group — where the group came from. A group can originate from a predefined
2197
+ * filter (preset); the discriminated `kind` leaves room for other origins without a breaking change. Persisted
2198
+ * as a client-side round-trip marker so a stored filter can be re-rendered as its source.
2199
+ */
2200
+ interface FilterGroupOrigin {
2201
+ readonly type: ɵFilterGroupOriginType.Predefined;
2202
+ readonly predefinedFilterId: ɵGuid;
2203
+ }
2204
+ /**
2205
+ * @public
2206
+ * this interface is created, because JSON schema generation does not support getters
2207
+ * @generativeApi
2208
+ * @description Group of filters. Usually one, or several filters, combined with a logical operation (And, Or).
2209
+ * Groups of filters can be nested into each other,
2210
+ * i.e. The collection itself can be an element of another collection.
2211
+ * @extends {ɵBaseFilter}
2212
+ */
2213
+ type IFilterGroup = ɵBaseFilter & {
2214
+ /**
2215
+ * @description Type of filter. 6 means that this is a filter group.
2216
+ * @default 6
2217
+ */
2218
+ readonly filterType: ɵFilterType.FilterGroup;
2219
+ /**
2220
+ * @description Returns collection of child filters or filter groups.
2221
+ * Each item is a key-value pair,
2222
+ * where the key is autogenerated or user-defined name, and value - filter or a filter group
2223
+ */
2224
+ items: Record<string, IESQFilter>;
2225
+ /**
2226
+ * @description The type of the logical operation for a combination of filters in this filter group.
2227
+ */
2228
+ logicalOperation: ɵLogicalOperatorType;
2229
+ /**
2230
+ * @description Root entity schema name or table name.
2231
+ */
2232
+ rootSchemaName?: string;
2233
+ /**
2234
+ * @description Origin of this filter group (e.g. the predefined filter / preset it was created from), if any.
2235
+ */
2236
+ filterGroupOrigin?: FilterGroupOrigin;
2237
+ };
2238
+ /**
2239
+ * @public
2240
+ * @description Group of filters. Groups of filters can be nested into each other,
2241
+ * i.e. The collection itself can be an element of another collection.
2242
+ * @extends {ɵBaseFilter}
2243
+ */
2244
+ declare class ɵFilterGroup extends ɵBaseFilter implements IFilterGroup {
2245
+ /**
2246
+ * @description Type of filter.
2247
+ * @default 6
2248
+ */
2249
+ readonly filterType = ɵFilterType.FilterGroup;
2250
+ /**
2251
+ * @internal
2252
+ * @dontChange
2253
+ */
2254
+ protected static readonly _instanceOfKey: string;
2255
+ /**
2256
+ * @internal
2257
+ * @dontChange
2258
+ */
2259
+ protected static get _instanceOfKeys(): string[];
2260
+ /**
2261
+ * @public
2262
+ * @hidden
2263
+ * @description Collection of child filters.
2264
+ */
2265
+ filters: Map<string, ɵBaseFilter>;
2266
+ /**
2267
+ * @public
2268
+ * @description Returns collection of child filters or filter groups.
2269
+ * Each item is a key-value pair,
2270
+ * where the key is autogenerated or user-defined name, and value - filter or a filter group
2271
+ * @default {}
2272
+ */
2273
+ get items(): {
2274
+ [key: string]: ɵBaseFilter;
2275
+ };
2276
+ /**
2277
+ * @description The type of the logical operation for a combination of filters in this filter group.
2278
+ * @default 0
2279
+ */
2280
+ logicalOperation: ɵLogicalOperatorType;
2281
+ /**
2282
+ * @description Root schema name.
2283
+ */
2284
+ rootSchemaName?: string;
2285
+ /**
2286
+ * @description Origin of this filter group (e.g. the predefined filter / preset it was created from), if any.
2287
+ */
2288
+ filterGroupOrigin?: FilterGroupOrigin;
2289
+ constructor(logicalOperation?: ɵLogicalOperatorType, rootSchemaName?: string);
2290
+ /**
2291
+ * @public
2292
+ * @description Parses filter group from json.
2293
+ */
2294
+ static fromJson<T extends typeof ɵBaseFilterParser>(dto: ɵJsonObject, filterParser: T): ɵFilterGroup;
2295
+ /** {@inheritDoc ɵSerializable.toJson} */
2296
+ toJson(): ɵJsonObject;
2297
+ private _createParameterValueExpressions;
2298
+ /**
2299
+ * @public
2300
+ * @description Returns filter item by index.
2301
+ * @param index Item index.
2302
+ * @returns Filter.
2303
+ */
2304
+ getItemByIndex(index: number): ɵBaseFilter;
2305
+ /**
2306
+ * @public
2307
+ * @description Creates and adds compare filter by value.
2308
+ * @param comparisonType Comparison type.
2309
+ * @param columnPath Column path.
2310
+ * @param parameterValue Parameter value.
2311
+ * @param filterKey Filter key.
2312
+ */
2313
+ addSchemaColumnFilterWithParameter(comparisonType: ɵComparisonType, columnPath: string, parameterValue: ɵEntityColumnValue, filterKey?: string): void;
2314
+ /**
2315
+ * @public
2316
+ * @description Creates and adds in filter by values.
2317
+ * @param comparisonType Comparison type.
2318
+ * @param columnPath Column path.
2319
+ * @param parameterValues Parameter values.
2320
+ * @param filterKey Filter key.
2321
+ */
2322
+ addSchemaColumnInFilterWithParameters(comparisonType: ɵComparisonType, columnPath: string, parameterValues: ɵEntityColumnValue[], filterKey?: string): void;
2323
+ /**
2324
+ * @public
2325
+ * @description Creates and adds in filter for primary column.
2326
+ * @param primaryColumnValues Primary column values.
2327
+ * @param filterKey Filter key.
2328
+ */
2329
+ addPrimarySchemaColumnInFilter(primaryColumnValues: ɵEntityColumnValue[], filterKey?: string): void;
2330
+ /**
2331
+ * @public
2332
+ * @description Creates and adds null filter.
2333
+ * @param columnPath Path of column.
2334
+ * @param filterKey Filter key.
2335
+ */
2336
+ addSchemaColumnIsNullFilter(columnPath: string, filterKey?: string): void;
2337
+ /**
2338
+ * @public
2339
+ * @description Creates and adds not null filter.
2340
+ * @param columnPath Column path.
2341
+ * @param filterKey Filter key.
2342
+ */
2343
+ addSchemaColumnIsNotNullFilter(columnPath: string, filterKey?: string): void;
2344
+ /**
2345
+ * @public
2346
+ * @description Creates and adds filter between less value and greater value.
2347
+ * @param columnPath Column path.
2348
+ * @param lessParamValue Less parameter value.
2349
+ * @param greaterParamValue Greater parameter value.
2350
+ * @param filterKey Filter key.
2351
+ */
2352
+ addSchemaColumnBetweenFilterWithParameters(columnPath: string, lessParamValue: Date | number, greaterParamValue: Date | number, filterKey?: string): void;
2353
+ /**
2354
+ * @public
2355
+ * @description Creates and adds exists filter.
2356
+ * @param columnPath Column path.
2357
+ * @param subFilters Filters for exists expression.
2358
+ * @param filterKey Filter key.
2359
+ */
2360
+ addExistsFilter(columnPath: string, subFilters?: ɵFilterGroup, filterKey?: string): void;
2361
+ /**
2362
+ * @public
2363
+ * @description Creates and adds not exists filter.
2364
+ * @param columnPath Column path.
2365
+ * @param subFilters Filters for exist expression.
2366
+ * @param filterKey Filter key.
2367
+ */
2368
+ addNotExistsFilter(columnPath: string, subFilters?: ɵFilterGroup, filterKey?: string): void;
2369
+ /**
2370
+ * @public
2371
+ * @description Adds filter.
2372
+ * @param filter Instance of filter.
2373
+ * @param filterKey Filter key.
2374
+ */
2375
+ add(filter: ɵBaseFilter, filterKey?: string): void;
2376
+ /**
2377
+ * @public
2378
+ * @description Removes filter reference from this group by key.
2379
+ * The method does not mutate removed filter internals or nested structures.
2380
+ * Lifecycle cleanup of external references is caller responsibility.
2381
+ * @param filterKey Filter key.
2382
+ * @returns True if filter existed and was removed, otherwise false.
2383
+ */
2384
+ remove(filterKey: ɵGuid): boolean;
2385
+ /**
2386
+ * @public
2387
+ * @description Clones instance.
2388
+ */
2389
+ clone(): ɵFilterGroup;
2390
+ /**
2391
+ * @internal
2392
+ */
2393
+ _getUsedColumns(): UsedColumn[];
2394
+ }
2395
+
2396
+ /**
2397
+ * @public
2398
+ * @description Configuration for sub query expression.
2399
+ */
2400
+ type ɵSubQueryExpressionConfig = ɵExpressionConfig<ɵSubQueryExpression> & Pick<ɵSubQueryExpression, 'columnPath'>;
2401
+ /**
2402
+ * @public
2403
+ * @description The class that defines the sub query expression.
2404
+ * @extends {ɵBaseExpression}
2405
+ */
2406
+ declare class ɵSubQueryExpression extends ɵBaseExpression {
2407
+ /**
2408
+ * @internal
2409
+ * @dontChange
2410
+ */
2411
+ protected static readonly _instanceOfKey: string;
2412
+ /**
2413
+ * @internal
2414
+ * @dontChange
2415
+ */
2416
+ protected static get _instanceOfKeys(): string[];
2417
+ /**
2418
+ * @description Type of expression.
2419
+ */
2420
+ readonly expressionType: ɵExpressionType;
2421
+ /**
2422
+ * @description The path to the column is relative to root schema.
2423
+ */
2424
+ columnPath: string;
2425
+ /**
2426
+ * @description Sub-query filters. Can not contain filters with other sub-queries.
2427
+ */
2428
+ readonly subFilters: ɵFilterGroup;
2429
+ /**
2430
+ * @description Order direction.
2431
+ */
2432
+ readonly subOrderDirection?: number;
2433
+ /**
2434
+ * @description Column for order.
2435
+ */
2436
+ readonly subOrderColumn?: string;
2437
+ constructor(config: ɵSubQueryExpressionConfig);
2438
+ /**
2439
+ * Parses expression from json.
2440
+ * @public
2441
+ */
2442
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser>(dto: ɵJsonObject, filterParser: TFilterParser): ɵSubQueryExpression;
2443
+ /** {@inheritDoc ɵBaseExpression.clone} */
2444
+ clone(): ɵSubQueryExpression;
2445
+ /** {@inheritDoc ɵBaseExpression.toJson} */
2446
+ toJson(): ɵJsonObject;
2447
+ /**
2448
+ * @internal
2449
+ */
2450
+ _getUsedColumns(): UsedColumn[];
2451
+ }
2452
+
2453
+ /**
2454
+ * @public
2455
+ * @description Configuration for aggregation in sub query expression.
2456
+ */
2457
+ type ɵAggregationSubQueryExpressionConfig = ɵSubQueryExpressionConfig & Pick<ɵAggregationSubQueryExpression, 'aggregationType'> & Pick<ɵAggregationSubQueryExpression, 'functionType'>;
2458
+ /**
2459
+ * @public
2460
+ * @description A class that describes expression with aggregation sub query.
2461
+ * @extends {ɵSubQueryExpression}
2462
+ */
2463
+ declare class ɵAggregationSubQueryExpression extends ɵSubQueryExpression {
2464
+ /**
2465
+ * @internal
2466
+ * @dontChange
2467
+ */
2468
+ protected static readonly _instanceOfKey: string;
2469
+ /**
2470
+ * @internal
2471
+ * @dontChange
2472
+ */
2473
+ protected static get _instanceOfKeys(): string[];
2474
+ /**
2475
+ * @description Aggregation type.
2476
+ */
2477
+ readonly aggregationType: ɵAggregationType;
2478
+ /**
2479
+ * @description Function type.
2480
+ */
2481
+ readonly functionType?: ɵFunctionType;
2482
+ constructor(config: ɵAggregationSubQueryExpressionConfig);
2483
+ /**
2484
+ * Parses expression from json.
2485
+ * @public
2486
+ */
2487
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser>(dto: ɵJsonObject, filterParser: TFilterParser): ɵAggregationSubQueryExpression;
2488
+ /** {@inheritDoc ɵBaseExpression.clone} */
2489
+ clone(): ɵAggregationSubQueryExpression;
2490
+ }
2491
+
2492
+ /**
2493
+ * @internal
2494
+ */
2495
+ declare const ɵEXPRESSION_TYPE_MOCK: ɵExpressionType;
2496
+ declare class ɵExpressionMock extends ɵBaseExpression {
2497
+ /**
2498
+ * @internal
2499
+ * @dontChange
2500
+ */
2501
+ protected static readonly _instanceOfKey: string;
2502
+ /**
2503
+ * @internal
2504
+ * @dontChange
2505
+ */
2506
+ protected static get _instanceOfKeys(): string[];
2507
+ readonly expressionType: ɵExpressionType;
2508
+ constructor(config?: ɵExpressionConfig<ɵExpressionMock>);
2509
+ get plainObject(): object;
2510
+ clone(): ɵExpressionMock;
2511
+ /**
2512
+ * @internal
2513
+ */
2514
+ _getUsedColumns(): UsedColumn[];
2515
+ }
2516
+
2517
+ declare class ɵFilterMock extends ɵBaseFilter {
2518
+ /**
2519
+ * @internal
2520
+ * @dontChange
2521
+ */
2522
+ protected static readonly _instanceOfKey: string;
2523
+ /**
2524
+ * @internal
2525
+ * @dontChange
2526
+ */
2527
+ protected static get _instanceOfKeys(): string[];
2528
+ constructor(filterType?: ɵFilterType);
2529
+ get plainObject(): object;
2530
+ clone(): ɵFilterMock;
2531
+ /**
2532
+ * @internal
2533
+ */
2534
+ _getUsedColumns(): UsedColumn[];
2535
+ }
2536
+
2537
+ /**
2538
+ * @internal
2539
+ */
2540
+ declare const ɵparserMock: {
2541
+ fromJson: (data: any) => any;
2542
+ clone: () => undefined;
2543
+ };
2544
+
2545
+ /**
2546
+ * @public
2547
+ * @description Comparison kinds the backend accepts on a `FilterType.Segment` filter. Any
2548
+ * other value would be rejected by `EntitySchemaQuery.CreateSegmentFilter` with
2549
+ * `NotSupportedException`. `Exists` means "row is a member of the segment" (IN), while
2550
+ * `Not_exists` means "row is not a member" (NOT IN).
2551
+ */
2552
+ type ɵSegmentFilterComparisonType = ɵComparisonType.Exists | ɵComparisonType.Not_exists;
2553
+ /**
2554
+ * @public
2555
+ * @description Options that parameterise a segment-membership filter. Mirrors the wire
2556
+ * `SegmentFilterOptions` payload defined in the Segmentation API
2557
+ * (`crt-data-segmentation-engine/architecture/artifacts/insegment-filter-api.md` §5).
2558
+ *
2559
+ * `segmentId` is required. `includeRemovedMembers` toggles the active-only `RemovedOn IS NULL`
2560
+ * subquery predicate. `addedOn*` / `removedOn*` are inclusive ISO-8601 date bounds on the
2561
+ * membership row's `AddedOn` / `RemovedOn` timestamps; `removedOn*` requires
2562
+ * `includeRemovedMembers: true` (the backend throws ArgumentException otherwise).
2563
+ */
2564
+ interface ɵSegmentFilterOptions {
2565
+ /**
2566
+ * @description Identifier of the `SysDataSegment` record whose per-segment data table is
2567
+ * probed by the membership subquery. Required.
2568
+ */
2569
+ segmentId: string;
2570
+ /**
2571
+ * @description When `true`, the subquery omits the `RemovedOn IS NULL` predicate so
2572
+ * historical (removed) memberships also satisfy the filter. Required for any non-null
2573
+ * `removedOn*` bound. Defaults to `false` (active members only).
2574
+ */
2575
+ includeRemovedMembers?: boolean;
2576
+ /**
2577
+ * @description When `true`, the server bypasses the `RequireActiveSegmentUserStatus`
2578
+ * gate, so the filter is valid for any operator user status (Active / Paused /
2579
+ * Disabled). The system (lifecycle) status gate — `RequireReadySegmentStatus` — still
2580
+ * applies, so segments that have never been actualised remain rejected. Defaults to
2581
+ * `false` (Active-only).
2582
+ */
2583
+ ignoreUserStatus?: boolean;
2584
+ /**
2585
+ * @description Inclusive ISO-8601 lower bound on the membership row's `AddedOn`
2586
+ * timestamp.
2587
+ */
2588
+ addedOnFrom?: string;
2589
+ /**
2590
+ * @description Inclusive ISO-8601 upper bound on the membership row's `AddedOn`
2591
+ * timestamp.
2592
+ */
2593
+ addedOnTo?: string;
2594
+ /**
2595
+ * @description Inclusive ISO-8601 lower bound on the membership row's `RemovedOn`
2596
+ * timestamp. Requires `includeRemovedMembers: true`.
2597
+ */
2598
+ removedOnFrom?: string;
2599
+ /**
2600
+ * @description Inclusive ISO-8601 upper bound on the membership row's `RemovedOn`
2601
+ * timestamp. Requires `includeRemovedMembers: true`.
2602
+ */
2603
+ removedOnTo?: string;
2604
+ }
2605
+ /**
2606
+ * @public
2607
+ * @description Wire-level shape of the nested `segmentFilterOptions` object in a serialized
2608
+ * `SegmentFilter`. Every field is optional, so the DTO can represent both fully filled
2609
+ * payloads and unfilled preset templates (where the UI hasn't picked a segment yet).
2610
+ *
2611
+ * Extends `JsonObject` so the type interoperates with the resolver / parser dispatch
2612
+ * contracts while still exposing each documented field with its narrow type.
2613
+ */
2614
+ interface ɵSegmentFilterOptionsDto extends ɵJsonObject {
2615
+ /**
2616
+ * @description Identifier of the `SysDataSegment` record. Optional on the wire so
2617
+ * unfilled preset templates can omit it.
2618
+ */
2619
+ segmentId?: string;
2620
+ /** {@inheritDoc ɵSegmentFilterOptions.includeRemovedMembers} */
2621
+ includeRemovedMembers?: boolean;
2622
+ /** {@inheritDoc ɵSegmentFilterOptions.ignoreUserStatus} */
2623
+ ignoreUserStatus?: boolean;
2624
+ /** {@inheritDoc ɵSegmentFilterOptions.addedOnFrom} */
2625
+ addedOnFrom?: string;
2626
+ /** {@inheritDoc ɵSegmentFilterOptions.addedOnTo} */
2627
+ addedOnTo?: string;
2628
+ /** {@inheritDoc ɵSegmentFilterOptions.removedOnFrom} */
2629
+ removedOnFrom?: string;
2630
+ /** {@inheritDoc ɵSegmentFilterOptions.removedOnTo} */
2631
+ removedOnTo?: string;
2632
+ }
2633
+ /**
2634
+ * @public
2635
+ * @description Wire-level shape of a serialized `SegmentFilter`. Mirrors the documented
2636
+ * Segmentation API JSON contract (insegment-filter-api.md §5).
2637
+ *
2638
+ * Extends `JsonObject` so `toJson` can return it where a generic JSON object is expected by
2639
+ * serializers / parsers, and so `fromJson` can read fields via dot notation without runtime
2640
+ * type guards or `as` casts. Every field is optional because the parser must tolerate
2641
+ * partially filled wire payloads (e.g. preset templates with no `segmentId` yet).
2642
+ */
2643
+ interface ɵSegmentFilterDto extends ɵJsonObject {
2644
+ /**
2645
+ * @description Filter-type discriminator. Always `FilterType.Segment` (7) when present.
2646
+ */
2647
+ filterType?: ɵFilterType.Segment;
2648
+ /**
2649
+ * @description Comparison semantics. See {@link ɵSegmentFilterComparisonType}.
2650
+ */
2651
+ comparisonType?: ɵSegmentFilterComparisonType;
2652
+ /**
2653
+ * @description Whether the filter participates in the query. Defaults to `true` when
2654
+ * absent (resolved by the outer `BaseFilter`).
2655
+ */
2656
+ isEnabled?: boolean;
2657
+ /**
2658
+ * @description Truncates `DateTime`-typed parameters to a date-only value when applied.
2659
+ * Inert for segment filters (no date parameters) but kept on the wire for shape parity
2660
+ * with sibling filter DTOs.
2661
+ */
2662
+ trimDateTimeParameterToDate?: boolean;
2663
+ /**
2664
+ * @description Filter unique identifier. Consumed by `fromJson` when present on an inbound
2665
+ * payload so the UI can correlate rendered controls with the source filter. It is not
2666
+ * emitted by `toJson` (matching the sibling filter DTOs), so it does not round-trip
2667
+ * through serialization.
2668
+ */
2669
+ uId?: string;
2670
+ /**
2671
+ * @description Nested segment-membership options. See {@link ɵSegmentFilterOptionsDto}.
2672
+ */
2673
+ segmentFilterOptions?: ɵSegmentFilterOptionsDto;
2674
+ }
2675
+
2676
+ /**
2677
+ * @public
2678
+ * @description Segment-membership filter. Tests whether the outer row's primary key is
2679
+ * present in (or absent from, with `Not_exists`) the per-segment data table named by
2680
+ * `SegmentFilterOptions.segmentId`.
2681
+ *
2682
+ * Wire form (DataService `SelectQuery` filters):
2683
+ * ```jsonc
2684
+ * {
2685
+ * "filterType": 7, // FilterType.Segment
2686
+ * "comparisonType": 15, // 15 = Exists (IN), 16 = Not_exists (NOT IN)
2687
+ * "isEnabled": true,
2688
+ * "segmentFilterOptions": {
2689
+ * "segmentId": "<SysDataSegment.Id>"
2690
+ * }
2691
+ * }
2692
+ * ```
2693
+ *
2694
+ * Extends `BaseFilter` directly — segment filters have no `leftExpression`, so they don't
2695
+ * share `SingleFilter`'s contract. Structurally a sibling of `FilterGroup` in that respect.
2696
+ *
2697
+ * @extends {BaseFilter}
2698
+ */
2699
+ declare class ɵSegmentFilter extends ɵBaseFilter {
2700
+ /**
2701
+ * @internal
2702
+ * @description Backing field for {@link ɵSegmentFilter.segmentFilterOptions}. Mutated
2703
+ * only by {@link ɵSegmentFilter.patchOptions}.
2704
+ */
2705
+ private _segmentFilterOptions;
2706
+ /**
2707
+ * @internal
2708
+ * @description Backing field for {@link ɵSegmentFilter.comparisonType}. Mutated only
2709
+ * by {@link ɵSegmentFilter.updateComparisonType}.
2710
+ */
2711
+ private _comparisonType;
2712
+ /**
2713
+ * @internal
2714
+ * @dontChange
2715
+ */
2716
+ protected static readonly _instanceOfKey = "devkit_SegmentFilter";
2717
+ /**
2718
+ * @internal
2719
+ * @dontChange
2720
+ */
2721
+ protected static get _instanceOfKeys(): string[];
2722
+ /**
2723
+ * @description Type of filter.
2724
+ * @default 7
2725
+ */
2726
+ readonly filterType = ɵFilterType.Segment;
2727
+ constructor(segmentFilterOptions: ɵSegmentFilterOptions, comparisonType?: ɵSegmentFilterComparisonType);
2728
+ /**
2729
+ * @public
2730
+ * @description Segment selection + membership-mode + temporal bounds. The nested
2731
+ * object is the wire-level payload — backend reads it as
2732
+ * `Terrasoft.Core.Entities.SegmentFilterOptions`. Read-only from outside; mutate
2733
+ * via {@link ɵSegmentFilter.patchOptions}.
2734
+ */
2735
+ get segmentFilterOptions(): ɵSegmentFilterOptions;
2736
+ /**
2737
+ * @public
2738
+ * @description Comparison semantics. `Exists` = "row is in segment", `Not_exists` =
2739
+ * "row is not in segment". Any other value would be rejected by the backend with
2740
+ * `NotSupportedException`. Defaults to `ComparisonType.Exists` so the common
2741
+ * "is in segment" case requires no explicit argument. Read-only from outside; mutate
2742
+ * via {@link ɵSegmentFilter.updateComparisonType}.
2743
+ */
2744
+ get comparisonType(): ɵSegmentFilterComparisonType;
2745
+ private _serializeOptions;
2746
+ /**
2747
+ * Parses a segment filter from its wire-level DTO. The parameter is the typed
2748
+ * `SegmentFilterDto` directly — the resolver dispatch passes the raw `JsonObject`
2749
+ * at runtime, but TypeScript sees the base-class signature (`dto: JsonObject`) for
2750
+ * the call site, so this narrower parameter is structurally compatible without a
2751
+ * cast at either end.
2752
+ *
2753
+ * @public
2754
+ */
2755
+ static fromJson({ comparisonType, uId, segmentFilterOptions }: ɵSegmentFilterDto): ɵSegmentFilter;
2756
+ /**
2757
+ * @public
2758
+ * @description Patches the nested segment options with the provided partial. Existing
2759
+ * fields not present in the patch are kept; new fields override the old ones. Use this
2760
+ * from the UI when picking a segment, switching membership mode, or shifting temporal
2761
+ * bounds — direct assignment to `segmentFilterOptions` is intentionally funneled
2762
+ * through this method so all mutations live on the filter's public API.
2763
+ * @param options - Partial set of fields to merge over the current options.
2764
+ */
2765
+ patchOptions(options: Partial<ɵSegmentFilterOptions>): void;
2766
+ /**
2767
+ * @public
2768
+ * @description Switches whether the filter participates in the query. Mirrors the
2769
+ * `isEnabled` property carried by every `BaseFilter`, exposed as a method so
2770
+ * all-value writes on a `SegmentFilter` go through its public surface.
2771
+ * @param enabled - `true` to include the filter in the resulting query, `false`
2772
+ * to keep it on the rendered list but exclude it from execution.
2773
+ */
2774
+ toggle(enabled: boolean): void;
2775
+ /**
2776
+ * @public
2777
+ * @description Replaces the comparison semantics — `Exists` ("row is in segment") or
2778
+ * `Not_exists` ("row is not in segment"). Use this from the UI when the user flips
2779
+ * the "in / not in" selector; direct assignment to `comparisonType` is intentionally
2780
+ * funneled through this method so all mutations live on the filter's public API.
2781
+ * @param comparisonType - The new comparison semantics to apply.
2782
+ */
2783
+ updateComparisonType(comparisonType: ɵSegmentFilterComparisonType): void;
2784
+ /**
2785
+ * @public
2786
+ * @description Assigns the filter's unique identifier. Mirrors `BaseFilter.uId`,
2787
+ * exposed as a method so all writes on a `SegmentFilter` go through its public
2788
+ * surface — used at parse time by `fromJson` to attach the wire-level `uId` to a
2789
+ * freshly constructed instance.
2790
+ * @param uId - The identifier to set, or `undefined` to clear it.
2791
+ */
2792
+ updateId(uId: string | undefined): void;
2793
+ /**
2794
+ * @public
2795
+ * @description Clones the filter. The constructor defensively copies the options object, so
2796
+ * the clone owns an independent copy and the two instances never share mutable state. The
2797
+ * remaining own state is copied field by field, matching the explicit clone style of the
2798
+ * sibling filters.
2799
+ */
2800
+ clone(): ɵSegmentFilter;
2801
+ /** {@inheritDoc ɵSerializable.toJson} */
2802
+ toJson(): ɵSegmentFilterDto;
2803
+ /**
2804
+ * @internal
2805
+ * @description Segment filters have no column references — the backend infers the outer
2806
+ * primary key from the root schema. Returning an empty list keeps callers that walk used
2807
+ * columns (validation, suggestion helpers) safe.
2808
+ */
2809
+ _getUsedColumns(): UsedColumn[];
2810
+ }
2811
+
2812
+ /**
2813
+ * @public
2814
+ * @description Filter parser.
2815
+ */
2816
+ declare class ɵFilterParser extends ɵBaseFilterParser {
2817
+ /**
2818
+ * @description Creates filter from JSON.
2819
+ * @param dto - Serialized filter.
2820
+ */
2821
+ static fromJson(dto: ɵJsonObject): ɵBaseFilter;
2822
+ }
2823
+
2824
+ /**
2825
+ * @public
2826
+ * @description Filter resolver.
2827
+ */
2828
+ declare class ɵFilterResolver {
2829
+ /**
2830
+ * @public
2831
+ * @description Resolves class of filter.
2832
+ * @param filterType - Type of filter.
2833
+ * @return Class of filter.
2834
+ */
2835
+ static resolve(filterType: ɵFilterType): typeof ɵBaseFilter;
2836
+ }
2837
+
2838
+ /**
2839
+ * @internal
2840
+ */
2841
+ declare const ɵDEFAULT_FILTER_PLAIN_OBJ: object;
2842
+ /**
2843
+ * @internal
2844
+ */
2845
+ declare function ɵgetFilterPlainObj(filterPlainObj?: object): object;
2846
+
2847
+ /**
2848
+ * @public
2849
+ * @abstract
2850
+ * @generativeApi
2851
+ * @classdesc Class contains info about column for query.
2852
+ */
2853
+ declare abstract class ɵBaseQueryColumn<TExpression extends ɵBaseExpression = ɵBaseExpression> {
2854
+ /**
2855
+ * @description Order direction.
2856
+ */
2857
+ orderDirection: ɵOrderDirection;
2858
+ /**
2859
+ * @description Column order position.
2860
+ */
2861
+ orderPosition: number;
2862
+ /**
2863
+ * @description If true then column data will be present in the result set.
2864
+ */
2865
+ isVisible: boolean;
2866
+ /**
2867
+ * @description Column caption.
2868
+ */
2869
+ caption?: string;
2870
+ /**
2871
+ * @description Column expression.
2872
+ */
2873
+ readonly expression: TExpression;
2874
+ protected constructor(expression: TExpression);
2875
+ /**
2876
+ * Adds ordering options.
2877
+ * @param orderDirection Direction.
2878
+ * @param orderPosition Position.
2879
+ * @returns Self.
2880
+ */
2881
+ withOrdering(orderDirection: ɵOrderDirection, orderPosition: number): this;
2882
+ /**
2883
+ * Adds options.
2884
+ * @param options Options.
2885
+ * @returns Self.
2886
+ */
2887
+ withOptions(options: {
2888
+ isVisible?: boolean;
2889
+ }): this;
2890
+ /**
2891
+ * Adds caption.
2892
+ * @param caption Caption.
2893
+ * @returns Self.
2894
+ */
2895
+ withCaption(caption: string): this;
2896
+ /**
2897
+ * @internal
2898
+ */
2899
+ _getUsedColumns(): UsedColumn[];
2900
+ /**
2901
+ * @internal
2902
+ * @description Converts instance to json object.
2903
+ */
2904
+ toJson(): ɵJsonObject;
2905
+ }
2906
+
2907
+ /**
2908
+ * @public
2909
+ * @classdesc Class contains info about column with arithmetic operation.
2910
+ * @extends {ɵBaseQueryColumn}
2911
+ */
2912
+ declare class ɵArithmeticQueryColumn extends ɵBaseQueryColumn<ɵArithmeticExpression> {
2913
+ constructor(arithmeticOperation: ɵArithmeticOperation, leftArithmeticOperand: ɵBaseExpression, rightArithmeticOperand: ɵBaseExpression);
2914
+ }
2915
+
2916
+ /**
2917
+ * @public
2918
+ * @generativeApi
2919
+ * @classdesc Class contains info about common column from entity.
2920
+ * @extends {ɵBaseQueryColumn}
2921
+ */
2922
+ declare class ɵEntityQueryColumn extends ɵBaseQueryColumn<ɵColumnExpression> {
2923
+ constructor(columnPath: string);
2924
+ }
2925
+
2926
+ /**
2927
+ * @public
2928
+ * @classdesc Class contains info about column that contains parameter.
2929
+ * @extends {ɵBaseQueryColumn}
2930
+ */
2931
+ declare class ɵParameterQueryColumn extends ɵBaseQueryColumn<ɵParameterExpression> {
2932
+ constructor(value: ɵEntityColumnValue, dataValueType?: ɵDataValueType);
2933
+ }
2934
+
2935
+ /**
2936
+ * @public
2937
+ * @classdesc Class contains info about column with sub query and aggregation.
2938
+ * @extends {ɵBaseQueryColumn}
2939
+ */
2940
+ declare class ɵAggregationSubQueryColumn extends ɵBaseQueryColumn<ɵAggregationSubQueryExpression> {
2941
+ constructor(columnPath: string, aggregationType: ɵAggregationType, subFilters?: ɵFilterGroup, subOrderDirection?: number, subOrderColumn?: string);
2942
+ }
2943
+
2944
+ /**
2945
+ * @public
2946
+ * @classdesc Class contains info about column with sub query.
2947
+ * @extends {ɵBaseQueryColumn}
2948
+ */
2949
+ declare class ɵSubQueryColumn extends ɵBaseQueryColumn<ɵSubQueryExpression> {
2950
+ constructor(columnPath: string, subFilters?: ɵFilterGroup);
2951
+ }
2952
+
2953
+ /**
2954
+ * @public
2955
+ * @description Class contains info about column with aggregation function.
2956
+ * @extends {ɵBaseQueryColumn}
2957
+ */
2958
+ declare class ɵAggregationFunctionColumn extends ɵBaseQueryColumn<ɵAggregationFunctionExpression> {
2959
+ constructor(aggregationType: ɵAggregationType, aggregationEvalType: ɵAggregationEvalType, functionArgument: ɵColumnExpression);
2960
+ }
2961
+
2962
+ /**
2963
+ * @public
2964
+ * @generativeApi
2965
+ * @classdesc Class contains info about column with date part.
2966
+ * @description Class contains info about column with date part.
2967
+ * @extends {ɵBaseQueryColumn}
2968
+ */
2969
+ declare class ɵDatePartFunctionColumn extends ɵBaseQueryColumn<ɵDatePartFunctionExpression> {
2970
+ constructor(datePartType: ɵDatePartType, functionArgument: ɵBaseExpression);
2971
+ /**
2972
+ * @description Part of date.
2973
+ */
2974
+ get datePartType(): ɵDatePartType;
2975
+ }
2976
+
2977
+ /**
2978
+ * @public
2979
+ * @classdesc Class contains info about column with length function.
2980
+ * @extends {ɵBaseQueryColumn}
2981
+ */
2982
+ declare class ɵLengthFunctionColumn extends ɵBaseQueryColumn<ɵLengthFunctionExpression> {
2983
+ constructor(functionArgument: ɵColumnExpression);
2984
+ }
2985
+
2986
+ /**
2987
+ * @public
2988
+ * @classdesc Class contains info about column with macros function.
2989
+ * @extends {ɵBaseQueryColumn}
2990
+ */
2991
+ declare class ɵMacrosFunctionColumn extends ɵBaseQueryColumn<ɵMacrosFunctionExpression> {
2992
+ constructor(macrosType: ɵQueryMacrosType);
2993
+ }
2994
+
2995
+ /**
2996
+ * @public
2997
+ * @classdesc Class contains info about column with window function.
2998
+ * @extends {ɵBaseQueryColumn}
2999
+ */
3000
+ declare class ɵWindowFunctionColumn extends ɵBaseQueryColumn<ɵWindowFunctionExpression> {
3001
+ constructor(functionArgument: ɵAggregationFunctionExpression);
3002
+ }
3003
+
3004
+ /**
3005
+ * @internal
3006
+ */
3007
+ declare const ɵDEFAULT_COLUMN_PLAIN_OBJ: object;
3008
+ /**
3009
+ * @internal
3010
+ */
3011
+ declare function ɵgetColumnPlainObj(expressionPlainObj?: object): object;
3012
+
3013
+ /**
3014
+ * @public
3015
+ * @description Type of data query
3016
+ */
3017
+ declare enum ɵQueryOperationType {
3018
+ /**
3019
+ * @description Select query.
3020
+ */
3021
+ Select = 0,
3022
+ /**
3023
+ * @description Insert query.
3024
+ */
3025
+ Insert = 1,
3026
+ /**
3027
+ * @description Edit query.
3028
+ */
3029
+ Update = 2,
3030
+ /**
3031
+ * @description Delete query.
3032
+ */
3033
+ Delete = 3
3034
+ }
3035
+
3036
+ /**
3037
+ * @public
3038
+ * @description Provider to work with metadata.
3039
+ */
3040
+ interface ɵMetadataProvider<T> {
3041
+ /**
3042
+ * @public
3043
+ * @description Returns metadata.
3044
+ */
3045
+ getMetadata(): T;
3046
+ }
3047
+
3048
+ /**
3049
+ * @public
3050
+ * @description The base class of the data request. Implements {@link ɵMetadataProvider}
3051
+ */
3052
+ declare abstract class ɵBaseQuery implements ɵMetadataProvider<Record<string, unknown>> {
3053
+ readonly operationType: ɵQueryOperationType;
3054
+ readonly rootSchemaName: string;
3055
+ queryId?: string;
3056
+ /**
3057
+ * @internal
3058
+ */
3059
+ protected _queryDtoType: string;
3060
+ get queryDtoType(): string;
3061
+ protected constructor(operationType: ɵQueryOperationType, rootSchemaName: string);
3062
+ /** {@inheritDoc ɵMetadataProvider.getMetadata} */
3063
+ getMetadata(): Record<string, unknown>;
3064
+ }
3065
+
3066
+ /**
3067
+ * @public
3068
+ * @description The base class of the filtered data request.
3069
+ * @extends {ɵBaseQuery}
3070
+ */
3071
+ declare abstract class ɵBaseFilterableQuery extends ɵBaseQuery {
3072
+ /**
3073
+ * @description Collection of filters.
3074
+ */
3075
+ readonly filters: ɵFilterGroup;
3076
+ protected constructor(operationType: ɵQueryOperationType, rootSchemaName: string);
3077
+ /**
3078
+ * @public
3079
+ * @description Clears all filters.
3080
+ */
3081
+ clearFilters(): void;
3082
+ /** {@inheritDoc ɵMetadataProvider.getMetadata} */
3083
+ getMetadata(): Record<string, unknown>;
3084
+ /**
3085
+ * @internal
3086
+ */
3087
+ _getUsedColumns(): UsedColumn[];
3088
+ }
3089
+
3090
+ /**
3091
+ * @public
3092
+ * @description Request to delete data.
3093
+ * @extends {ɵBaseFilterableQuery}
3094
+ */
3095
+ declare class ɵDeleteQuery extends ɵBaseFilterableQuery {
3096
+ /**
3097
+ * @internal
3098
+ */
3099
+ protected _queryDtoType: string;
3100
+ constructor(rootSchemaName: string);
3101
+ }
3102
+
3103
+ /**
3104
+ * @public
3105
+ * @description Config for aggregation in datasource.
3106
+ * @property {ɵAggregationFunction} aggregationFunction - Aggregation function.
3107
+ * @property {ɵFilterGroup} filter - Filter.
3108
+ * @property {string} sortByColumn - Column to be sorted by.
3109
+ * @property {ɵOrderDirection} sortByDirection - Sort direction.
3110
+ */
3111
+ interface ɵDataSourceAggregationConfig {
3112
+ /**
3113
+ * @description Aggregation function.
3114
+ */
3115
+ aggregationFunction?: ɵAggregationFunction;
3116
+ /**
3117
+ * @description Filter.
3118
+ */
3119
+ filter?: ɵFilterGroup;
3120
+ /**
3121
+ * @description Column to be sorted by.
3122
+ */
3123
+ sortByColumn?: string;
3124
+ /**
3125
+ * @description Sort direction.
3126
+ */
3127
+ sortByDirection?: ɵOrderDirection;
3128
+ }
3129
+
3130
+ /**
3131
+ * @public
3132
+ * @description Interface for condition with expression and parameter.
3133
+ * @property {ɵExpressionType} expressionType - Type of expression.
3134
+ * @property {Record<string, unknown>=} parameter - Parameter.
3135
+ */
3136
+ interface ɵConditionalValueItem {
3137
+ /**
3138
+ * @description Type of expression.
3139
+ */
3140
+ expressionType: ɵExpressionType;
3141
+ /**
3142
+ * @description Parameter.
3143
+ */
3144
+ parameter: {
3145
+ dataValueType: ɵDataValueType;
3146
+ value: string;
3147
+ };
3148
+ }
3149
+ /**
3150
+ * @public
3151
+ * @description The query class for data fetching.
3152
+ * @extends {ɵBaseFilterableQuery}
3153
+ */
3154
+ declare class ɵEntitySchemaQuery extends ɵBaseFilterableQuery {
3155
+ private readonly _columns;
3156
+ /**
3157
+ * @internal
3158
+ */
3159
+ protected _queryDtoType: string;
3160
+ /**
3161
+ * @description Determines if merge duplicates in query result.
3162
+ */
3163
+ isDistinct: boolean;
3164
+ /**
3165
+ * @description Number of rows to select.
3166
+ */
3167
+ rowCount: number;
3168
+ /**
3169
+ * @description Rows count to skip.
3170
+ */
3171
+ rowsOffset: number;
3172
+ /**
3173
+ * @description Query conditional values
3174
+ */
3175
+ conditionalValues?: null | {
3176
+ items: unknown;
3177
+ };
3178
+ /**
3179
+ * @description The parameter that determines whether to use the localized data.
3180
+ */
3181
+ useLocalization: boolean;
3182
+ /**
3183
+ * @description Represent parameter which determines disabling data in filtering.
3184
+ */
3185
+ useRecordDeactivation: boolean;
3186
+ /**
3187
+ * @description Bit mask that indicates which role sources will be considered when checking record rights.
3188
+ */
3189
+ adminUnitRoleSources?: eAdminUnitRoleSources;
3190
+ /**
3191
+ * @description Indicates whether the query is hierarchical.
3192
+ */
3193
+ isHierarchical: boolean;
3194
+ /**
3195
+ * @description Maximum depth of hierarchical data retrieval.
3196
+ */
3197
+ hierarchicalMaxDepth?: number;
3198
+ /**
3199
+ * @description Name of the hierarchical column.
3200
+ */
3201
+ hierarchicalColumnName?: string;
3202
+ /**
3203
+ * @description Value of the hierarchical column.
3204
+ */
3205
+ hierarchicalColumnValue?: string;
3206
+ /**
3207
+ * @description Indicates whether to perform a full data load for hierarchical queries.
3208
+ */
3209
+ hierarchicalFullDataLoad?: boolean;
3210
+ /**
3211
+ * @description Filters applied to hierarchical parent records.
3212
+ */
3213
+ hierarchicalColumnFiltersValue?: ɵFilterGroup | undefined;
3214
+ constructor(rootSchemaName: string);
3215
+ private _internalAddColumn;
3216
+ private readonly _getIsPageable;
3217
+ /**
3218
+ * @public
3219
+ * @description Returns column instance by column alias.
3220
+ * @param columnAlias Column alias.
3221
+ * @returns [BaseQueryColumn] Column instance.
3222
+ */
3223
+ getColumn(columnAlias: string): ɵBaseQueryColumn;
3224
+ /**
3225
+ * @public
3226
+ * @description Returns column instance by column alias if not found returns null.
3227
+ */
3228
+ findColumn(columnAlias: string): ɵBaseQueryColumn;
3229
+ /** {@inheritDoc ɵMetadataProvider.getMetadata} */
3230
+ getMetadata(): Record<string, unknown>;
3231
+ /**
3232
+ * @public
3233
+ * @description Add column.
3234
+ * @param column Column path.
3235
+ * @param columnAlias Column alias.
3236
+ * @returns [BaseQueryColumn] Column instance.
3237
+ */
3238
+ addColumn(column: ɵBaseQueryColumn, columnAlias: string): ɵBaseQueryColumn;
3239
+ /**
3240
+ * @public
3241
+ * @description Add column by column path.
3242
+ * @param columnPath Column path.
3243
+ * @param columnAlias Column alias.
3244
+ * @returns [EntityQueryColumn] Column instance.
3245
+ */
3246
+ addSchemaColumn(columnPath: string, columnAlias?: string): ɵEntityQueryColumn;
3247
+ /**
3248
+ * @public
3249
+ * @description Add aggregation sub query column.
3250
+ * @param columnPath Column path.
3251
+ * @param aggregationType Aggregation type.
3252
+ * @param subFilters Sub query filters.
3253
+ * @param columnAlias Column alias.
3254
+ * @returns [AggregationSubQueryColumn] Column instance.
3255
+ */
3256
+ addAggregationSubQueryColumn(columnPath: string, aggregationType: ɵAggregationType, aggregationConfig: ɵDataSourceAggregationConfig, columnAlias?: string): ɵAggregationSubQueryColumn;
3257
+ /**
3258
+ * @public
3259
+ * @description Add parameter column.
3260
+ * @param value Parameter value.
3261
+ * @param dataValueType Parameter data value type.
3262
+ * @param columnAlias Column alias.
3263
+ * @returns [ParameterQueryColumn] Column instance.
3264
+ */
3265
+ addParameterColumn(value: ɵEntityColumnValue, dataValueType: ɵDataValueType, columnAlias: string): ɵParameterQueryColumn;
3266
+ /**
3267
+ * @public
3268
+ * @description Add arithmetic column.
3269
+ * @param arithmeticOperation Arithmetic operation.
3270
+ * @param leftArithmeticOperand Left arithmetic operand expression.
3271
+ * @param rightArithmeticOperand Right arithmetic operand expression.
3272
+ * @param columnAlias Column alias.
3273
+ * @returns [ArithmeticQueryColumn] Column instance.
3274
+ */
3275
+ addArithmeticColumn(arithmeticOperation: ɵArithmeticOperation, leftArithmeticOperand: ɵBaseExpression, rightArithmeticOperand: ɵBaseExpression, columnAlias: string): ɵArithmeticQueryColumn;
3276
+ /**
3277
+ * @public
3278
+ * @description Add macros function column.
3279
+ * @param queryMacrosType Macros type.
3280
+ * @param columnAlias Column alias.
3281
+ * @returns [MacrosFunctionColumn] Column instance.
3282
+ */
3283
+ addMacrosFunctionColumn(queryMacrosType: ɵQueryMacrosType, columnAlias: string): ɵMacrosFunctionColumn;
3284
+ /**
3285
+ * @public
3286
+ * @description Add date part function column.
3287
+ * @param columnPath Column path.
3288
+ * @param datePartType Date part type.
3289
+ * @param columnAlias Column alias.
3290
+ * @returns [DatePartFunctionColumn] Column instance.
3291
+ */
3292
+ addDatePartFunctionColumn(columnPath: string, datePartType: ɵDatePartType, columnAlias: string): ɵDatePartFunctionColumn;
3293
+ /**
3294
+ * @public
3295
+ * @description Add aggregation function column.
3296
+ * @param columnPath Column path.
3297
+ * @param aggregationType Aggregation type.
3298
+ * @param columnAlias Column alias.
3299
+ * @param aggregationEvalType Aggregation eval type.
3300
+ * @returns [AggregationFunctionColumn] Column instance.
3301
+ */
3302
+ addAggregationFunctionColumn(columnPath: string, aggregationType: ɵAggregationType, columnAlias: string, aggregationEvalType?: ɵAggregationEvalType): ɵAggregationFunctionColumn;
3303
+ /**
3304
+ * @public
3305
+ * @description Add length function column.
3306
+ * @param columnPath Column path.
3307
+ * @param columnAlias Column alias.
3308
+ * @returns [LengthFunctionColumn] Column instance.
3309
+ */
3310
+ addLengthFunctionColumn(columnPath: string, columnAlias: string): ɵLengthFunctionColumn;
3311
+ /**
3312
+ * @public
3313
+ * @description Add window function column.
3314
+ * @param columnPath Column path.
3315
+ * @param aggregationType Aggregation type.
3316
+ * @param columnAlias Column alias.
3317
+ * @param aggregationEvalType Aggregation eval type.
3318
+ * @returns [WindowFunctionColumn] Column instance.
3319
+ */
3320
+ addWindowFunctionColumn(columnPath: string, aggregationType: ɵAggregationType, columnAlias: string, aggregationEvalType?: ɵAggregationEvalType): ɵWindowFunctionColumn;
3321
+ /**
3322
+ * @internal
3323
+ */
3324
+ _getUsedColumns(): UsedColumn[];
3325
+ }
3326
+
3327
+ /**
3328
+ * @public
3329
+ * @description Request to insert data.
3330
+ */
3331
+ declare class ɵInsertQuery extends ɵBaseQuery {
3332
+ private readonly _columnValues;
3333
+ /**
3334
+ * @internal
3335
+ */
3336
+ protected _queryDtoType: string;
3337
+ constructor(rootSchemaName: string);
3338
+ /**
3339
+ * @description A collection of column values for updating entities.
3340
+ */
3341
+ get columnValues(): {
3342
+ items: {
3343
+ [key: string]: ɵParameterExpression;
3344
+ };
3345
+ };
3346
+ /**
3347
+ * @public
3348
+ * @description Adds the value parameter. An instance of the value-parameter is created and
3349
+ * is added to the column values collection.
3350
+ * @param columnName The alias of the column to set value in
3351
+ * @param columnValue The value of the parameter. The value must match the data type.
3352
+ * @param dataValueType The type of the given parameter value.
3353
+ */
3354
+ addColumn(columnName: string, columnValue: ɵEntityColumnValue, dataValueType: ɵDataValueType): void;
3355
+ }
3356
+
3357
+ /**
3358
+ * @public
3359
+ * @description Request for data changes.
3360
+ * @extends {ɵBaseFilterableQuery}
3361
+ */
3362
+ declare class ɵUpdateQuery extends ɵBaseFilterableQuery {
3363
+ private readonly _columnValues;
3364
+ /**
3365
+ * @internal
3366
+ */
3367
+ protected _queryDtoType: string;
3368
+ /**
3369
+ * @description Flag that indicates whether to force save data.
3370
+ */
3371
+ isForceUpdate: boolean;
3372
+ constructor(rootSchemaName: string);
3373
+ /**
3374
+ * @description A collection of column values for updating entities.
3375
+ */
3376
+ get columnValues(): {
3377
+ items: {
3378
+ [key: string]: ɵParameterExpression;
3379
+ };
3380
+ };
3381
+ /**
3382
+ * @public
3383
+ * @description Adds the value parameter. An instance of the value-parameter is created and
3384
+ * is added to the column values collection.
3385
+ * @param columnName The alias of the column to set value in
3386
+ * @param columnValue The value of the parameter. The value must match the data type.
3387
+ * @param dataValueType The type of the given parameter value.
3388
+ */
3389
+ addColumn(columnName: string, columnValue: ɵEntityColumnValue, dataValueType: ɵDataValueType): void;
3390
+ }
3391
+
3392
+ /**
3393
+ * @public
3394
+ * @description The query class for localized data fetching.
3395
+ * @extends {ɵEntitySchemaQuery}
3396
+ */
3397
+ declare class ɵSelectLocalizationQuery extends ɵEntitySchemaQuery {
3398
+ }
3399
+
3400
+ /**
3401
+ * @public
3402
+ */
3403
+ interface ɵDataSchemaAttributeAggregationConfig {
3404
+ aggregationFunction?: ɵAggregationFunction;
3405
+ filter?: ɵFilterGroup;
3406
+ sortByColumn?: string;
3407
+ sortByDirection?: ɵOrderDirection;
3408
+ }
3409
+
3410
+ /**
3411
+ * @public
3412
+ */
3413
+ interface ɵBaseDataSchemaAttributeFunctionConfig {
3414
+ type: ɵFunctionStringType;
3415
+ }
3416
+ /**
3417
+ * @public
3418
+ */
3419
+ interface ɵDataSchemaAttributeAggregationFunctionConfig extends ɵBaseDataSchemaAttributeFunctionConfig {
3420
+ type: 'aggregation';
3421
+ aggregation: ɵAggregationFunction;
3422
+ aggregationEval: ɵAggregationEval;
3423
+ }
3424
+ /**
3425
+ * @public
3426
+ */
3427
+ interface ɵDataSchemaAttributeDatePartFunctionConfig extends ɵBaseDataSchemaAttributeFunctionConfig {
3428
+ type: 'datePart';
3429
+ datePart: ɵDatePart;
3430
+ }
3431
+ /**
3432
+ * @public
3433
+ */
3434
+ type ɵDataSchemaAttributeFunctionConfig = ɵDataSchemaAttributeAggregationFunctionConfig | ɵDataSchemaAttributeDatePartFunctionConfig;
3435
+
3436
+ /**
3437
+ * @public
3438
+ */
3439
+ interface ɵDataSchemaAttributeValidatorConfig {
3440
+ type: string;
3441
+ disabled?: boolean;
3442
+ params?: {
3443
+ [key: string]: unknown;
3444
+ };
3445
+ }
3446
+ /**
3447
+ * @public
3448
+ */
3449
+ interface ɵDataSchemaValidatorConfig {
3450
+ [name: string]: ɵDataSchemaAttributeValidatorConfig;
3451
+ }
3452
+
3453
+ /**
3454
+ * @public
3455
+ * @description Interface for collection of data sources.
3456
+ */
3457
+ interface ɵDataSourceInstanceConfig {
3458
+ /**
3459
+ * @description Key value pair.
3460
+ */
3461
+ [key: string]: any;
3462
+ }
3463
+ /**
3464
+ * @public
3465
+ * @description Configuration of data source.
3466
+ */
3467
+ interface ɵDataSourceConfig {
3468
+ /**
3469
+ * @description Type.
3470
+ */
3471
+ type: string;
3472
+ /**
3473
+ * @description Configuration of instances.
3474
+ */
3475
+ config?: ɵDataSourceInstanceConfig;
3476
+ /**
3477
+ * @deprecated Use scope instead.
3478
+ */
3479
+ hiddenInPageDesigner?: boolean;
3480
+ /**
3481
+ * @description Scope.
3482
+ */
3483
+ scope?: ɵDataSourceScope;
3484
+ /**
3485
+ * @description Disable synchronization.
3486
+ */
3487
+ disableSync?: boolean;
3488
+ }
3489
+
3490
+ /**
3491
+ * @public
3492
+ * @description Platform API options.
3493
+ */
3494
+ interface ɵPlatformAPIOptions {
3495
+ /**
3496
+ * @description Enable state.
3497
+ */
3498
+ enable: boolean;
3499
+ }
3500
+
3501
+ /**
3502
+ * @public
3503
+ * @description Filtration platform API options.
3504
+ */
3505
+ interface ɵFiltrationPlatformAPIOptions extends ɵPlatformAPIOptions {
3506
+ /**
3507
+ * @description Aggregation state.
3508
+ */
3509
+ aggregation: boolean;
3510
+ }
3511
+
3512
+ /**
3513
+ * @public
3514
+ * @description Compatible APIs.
3515
+ */
3516
+ interface ɵCompatibleAPIs {
3517
+ /**
3518
+ * @description Selection platform API.
3519
+ */
3520
+ [ɵPlatformAPIs.Selection]?: boolean;
3521
+ /**
3522
+ * @description Filtration platform API.
3523
+ */
3524
+ [ɵPlatformAPIs.Filtration]?: boolean | ɵFiltrationPlatformAPIOptions;
3525
+ }
3526
+
3527
+ /**
3528
+ * @public
3529
+ */
3530
+ interface ɵDefaultValueSchema {
3531
+ valueSourceType: ɵDefaultValueSource;
3532
+ value: any;
3533
+ valueSource?: string;
3534
+ sequenceNumberOfChars?: number;
3535
+ sequencePrefix?: string;
3536
+ }
3537
+
3538
+ /**
3539
+ * @public
3540
+ * @description An exception thrown when next handler already specified.
3541
+ */
3542
+ declare class ɵNextHandlerAlreadySpecifiedException extends Error {
3543
+ constructor();
3544
+ }
3545
+
3546
+ /**
3547
+ * @public
3548
+ * @description The exception thrown when trying to pass an empty or null argument.
3549
+ * @extends {Error}
3550
+ */
3551
+ declare class ɵArgumentEmptyException extends Error {
3552
+ constructor(argumentName: string);
3553
+ }
3554
+
3555
+ /**
3556
+ * @public
3557
+ * @description The exception thrown when trying to pass argument that not in range.
3558
+ * @extends {Error}
3559
+ */
3560
+ declare class ɵArgumentOutOfRangeException extends Error {
3561
+ constructor(argumentName: string);
3562
+ }
3563
+
3564
+ /**
3565
+ * @public
3566
+ * @description An exception thrown when trying to retrieve a collection item and it not exists.
3567
+ * @extends {Error}
3568
+ */
3569
+ declare class ɵItemNotFoundException extends Error {
3570
+ constructor(key: string);
3571
+ }
3572
+
3573
+ /**
3574
+ * @public
3575
+ * @description Utilities class with various validation methods.
3576
+ */
3577
+ declare class ɵValidationUtilities {
3578
+ /**
3579
+ * @public
3580
+ * @description Checks if argument is empty.
3581
+ * @param argumentName - Argument name.
3582
+ * @param argumentValue - Value of argument.
3583
+ */
3584
+ static checkArgumentEmpty<T>(argumentName: string, argumentValue: T | null | undefined): asserts argumentValue is T;
3585
+ /**
3586
+ * @public
3587
+ * @description Checks if array is empty.
3588
+ * @param argumentName - Argument name.
3589
+ * @param argumentValue - Value of argument.
3590
+ */
3591
+ static checkArrayEmpty<T>(argumentName: string, argumentValue: ArrayLike<T>): void;
3592
+ /**
3593
+ * @public
3594
+ * @description Checks if string is empty.
3595
+ * @param argumentName - Argument name.
3596
+ * @param argumentValue - Value of argument.
3597
+ */
3598
+ static checkStringIsNotEmpty(argumentName: string, argumentValue: string): string;
3599
+ /**
3600
+ * @public
3601
+ * @description Checks if argument in range.
3602
+ * @param argumentName - Argument name.
3603
+ * @param argumentValue - Value of argument.
3604
+ * @param range - Range.
3605
+ */
3606
+ static checkArgumentOutOfRange(argumentName: string, argumentValue: number, range: {
3607
+ begin?: number;
3608
+ end?: number;
3609
+ }): void;
3610
+ static checkEnumOutOfRange(argumentName: string, argumentValue: string, range: Record<string, unknown> | unknown): void;
3611
+ }
3612
+
3613
+ /**
3614
+ * @public
3615
+ * @description Data source save response
3616
+ * @property {boolean} success - indicates whether operation was success.
3617
+ * @property {number} rowsAffected - count of affected rows.
3618
+ * @property {string} errorInfo - error message.
3619
+ */
3620
+ interface ɵDataSourceSaveResult {
3621
+ /**
3622
+ * @description Indicates whether operation was success.
3623
+ */
3624
+ success: boolean;
3625
+ /**
3626
+ * @description Count of affected rows.
3627
+ */
3628
+ rowsAffected: number;
3629
+ /**
3630
+ * @description Error message.
3631
+ */
3632
+ errorInfo?: string;
3633
+ }
3634
+
3635
+ /**
3636
+ * @public
3637
+ * @description Data source insert response.
3638
+ * @property {Array<Record<string, unknown>>} primaryAttributes - Collection of primary attributes.
3639
+ */
3640
+ interface ɵDataSourceInsertResult extends ɵDataSourceSaveResult {
3641
+ /**
3642
+ * @description Collection of primary attributes.
3643
+ */
3644
+ primaryAttributes: Array<Record<string, unknown>>;
3645
+ }
3646
+
3647
+ /**
3648
+ * @public
3649
+ * @description Interface describes view model context.
3650
+ * Could contain any pair of key-value
3651
+ */
3652
+ interface ɵViewModelContext {
3653
+ /**
3654
+ * @description Key value pair.
3655
+ */
3656
+ [key: string]: any;
3657
+ }
3658
+
3659
+ /**
3660
+ * @public
3661
+ * @description Base definition of request.
3662
+ * @template TEvent
3663
+ */
3664
+ declare class ɵBaseRequest<TEvent = unknown> {
3665
+ /**
3666
+ * @public
3667
+ * @description The type of request.
3668
+ * @example
3669
+ * 'crt.RequestType'
3670
+ */
3671
+ readonly type: string;
3672
+ /**
3673
+ * @deprecated use event binding expression instead.
3674
+ */
3675
+ readonly $initialEvent?: TEvent;
3676
+ /**
3677
+ * @public
3678
+ * @description The context in which the requests were triggered.
3679
+ */
3680
+ readonly $context: ɵViewModelContext;
3681
+ /**
3682
+ * @public
3683
+ * @description The scope of the request.
3684
+ */
3685
+ scopes?: string[];
3686
+ }
3687
+
3688
+ /**
3689
+ * @public
3690
+ * @description Config for register request.
3691
+ * @property {string} type - The type of request.
3692
+ * @property {string[]} scopes - Scopes of request.
3693
+ * @property {string} title - Title of request.
3694
+ * @property {string} propertiesPanel - Type of properties panel.
3695
+ * @property {number} position - Position of the request.
3696
+ * @property {ɵCompatibleAPIs} compatibleAPIs - Compatible platform APIs.
3697
+ */
3698
+ interface ɵRequestRegistrationConfig {
3699
+ /**
3700
+ * @description The type of request.
3701
+ * @example
3702
+ * 'crt.RequestType'
3703
+ */
3704
+ readonly type: string;
3705
+ /**
3706
+ * @description Scopes of request
3707
+ */
3708
+ readonly scopes?: string[];
3709
+ /**
3710
+ * @internal
3711
+ * @description Title of request.
3712
+ */
3713
+ readonly title?: string;
3714
+ /**
3715
+ * @internal
3716
+ * @description Type of properties panel.
3717
+ */
3718
+ readonly propertiesPanel?: string;
3719
+ /**
3720
+ * @internal
3721
+ * @description Position of the request.
3722
+ */
3723
+ readonly position?: number;
3724
+ /**
3725
+ * @internal
3726
+ * @description List of compatible platform APIs.
3727
+ */
3728
+ readonly compatibleAPIs?: ɵCompatibleAPIs;
3729
+ }
3730
+
3731
+ /**
3732
+ * @public
3733
+ * @description Interface to defining request handler in handler chain.
3734
+ * @interface ɵRequestHandler
3735
+ * @template TRequest
3736
+ * @template TResult
3737
+ */
3738
+ interface ɵRequestHandler<TRequest = ɵBaseRequest, TResult = unknown> {
3739
+ /**
3740
+ * @description Abstract async method which contains logic to handle request properly.
3741
+ * @param {TRequest} request - {@link BaseRequest}
3742
+ */
3743
+ handle(request: TRequest): Promise<TResult>;
3744
+ /**
3745
+ * @description Method to set request handler in handler chain.
3746
+ * @param {ɵRequestHandler} next - link for next request handler - {@link ɵRequestHandler}
3747
+ */
3748
+ setNext(next: ɵRequestHandler): void;
3749
+ }
3750
+
3751
+ /**
3752
+ * @public
3753
+ * @description Config to create item in collection.
3754
+ * @property {number} index - Index of item in collection.
3755
+ * @property {Record<string, unknown>} initialAttributeValues - Initial attribute values.
3756
+ * @property {ɵJsonObject} initialModelValues - Initial values of the model.
3757
+ */
3758
+ interface ɵItemCreationConfig {
3759
+ /**
3760
+ * @description Index of item in collection.
3761
+ */
3762
+ index?: number;
3763
+ /**
3764
+ * @description Initial attribute values.
3765
+ */
3766
+ initialAttributeValues?: Record<string, unknown>;
3767
+ /**
3768
+ * @description Initial values of the model.
3769
+ */
3770
+ initialModelValues?: ɵJsonObject;
3771
+ }
3772
+
3773
+ /**
3774
+ * @public
3775
+ * @description Interface describes the collection of view models.
3776
+ */
3777
+ interface ɵViewModelCollection<T extends ɵViewModelContext> extends Array<T> {
3778
+ /**
3779
+ * @description Abstract async method to create item in collection.
3780
+ * @param {ɵItemCreationConfig} config - {@link ɵItemCreationConfig}
3781
+ */
3782
+ createItem(config?: ɵItemCreationConfig): Promise<T>;
3783
+ }
3784
+
3785
+ /**
3786
+ * @public
3787
+ * @description Default value of the model.
3788
+ * @property {string} attributeName - Name of the attribute of the model.
3789
+ * @property {unknown} value - Value of the attribute of the model.
3790
+ */
3791
+ interface ɵModelDefaultValue {
3792
+ /**
3793
+ * @description Name of the attribute of the model
3794
+ */
3795
+ attributeName: string;
3796
+ /**
3797
+ * @description Value of the attribute of the model
3798
+ */
3799
+ value: unknown;
3800
+ }
3801
+ /**
3802
+ * @public
3803
+ * @description Initial config of the model.
3804
+ * @property {string} name - Name of the model.
3805
+ * @property {string} recordId - Primary value of the record.
3806
+ * @property {ɵModelInPageAction} action - Type of the action. {@link ɵModelInPageAction}
3807
+ * @property {Array<ɵModelDefaultValue>} defaultValues - Default values of the model. {@link ɵModelDefaultValue}
3808
+ */
3809
+ interface ɵModelInitConfig {
3810
+ /**
3811
+ * @description Name of the model in modelConfig that should be initialized.
3812
+ */
3813
+ name?: string;
3814
+ /**
3815
+ * @description Primary value of the record.
3816
+ */
3817
+ recordId?: string;
3818
+ /**
3819
+ * @description Type of the action. {@link ɵModelInPageAction}
3820
+ */
3821
+ action: ɵModelInPageAction;
3822
+ /**
3823
+ * @description Default values of the model. {@link ɵModelDefaultValue}
3824
+ */
3825
+ defaultValues?: Array<ɵModelDefaultValue>;
3826
+ }
3827
+
3828
+ /**
3829
+ * @public
3830
+ * @description Message channel event. Contains all message content, including body and additional metadata.
3831
+ */
3832
+ interface ɵMessageChannelEvent<T = unknown> {
3833
+ /**
3834
+ * @public
3835
+ * @description Message header containing message metadata.
3836
+ */
3837
+ header: {
3838
+ /**
3839
+ * @public
3840
+ * @description Name that is used to distinguish between messages from different senders.
3841
+ */
3842
+ sender: string;
3843
+ /**
3844
+ * @public
3845
+ * @description Name of the body type.
3846
+ */
3847
+ bodyTypeName: string;
3848
+ };
3849
+ /**
3850
+ * @public
3851
+ * @description Message body.
3852
+ */
3853
+ body: T;
3854
+ /**
3855
+ * @public
3856
+ * @description Actual event identifier.
3857
+ */
3858
+ id: ɵGuid;
3859
+ }
3860
+
3861
+ /**
3862
+ * @public
3863
+ * @classdesc Represents a disposable resource, similar to the execution of Observable. A
3864
+ * Subscription has one important method, `unsubscribe`, that just disposes
3865
+ * the resource held by the subscription.
3866
+ */
3867
+ declare class ɵSubscription {
3868
+ private readonly _initialTeardown?;
3869
+ private _closed;
3870
+ /**
3871
+ * @public
3872
+ * @description A flag to indicate whether this Subscription has already been unsubscribed.
3873
+ */
3874
+ get closed(): boolean;
3875
+ /**
3876
+ * @param _initialTeardown A function executed as part of the finalization.
3877
+ * process when {@link #unsubscribe} is called.
3878
+ */
3879
+ constructor(_initialTeardown?: ɵTeardownLogic | undefined);
3880
+ /**
3881
+ * @public
3882
+ * @description Disposes the resources held by the subscription.
3883
+ */
3884
+ unsubscribe(): void;
3885
+ }
3886
+
3887
+ /**
3888
+ * @public
3889
+ * @description Masking settings for attribute value.
3890
+ * @property {string} pattern - Regular expression pattern to match the value.
3891
+ * @property {string} replacement - Replacement string for the matched value.
3892
+ * @property {string} adminOperationCode - Admin operation code for unmasking value.
3893
+ */
3894
+ interface ɵDataSchemaAttributeValueMaskingSettings {
3895
+ /**
3896
+ * @public
3897
+ * @description Regular expression pattern to match the value.
3898
+ */
3899
+ pattern: string;
3900
+ /**
3901
+ * @public
3902
+ * @description Replacement string for the matched value.
3903
+ */
3904
+ replacement: string;
3905
+ /**
3906
+ * @public
3907
+ * @description Admin operation code for unmasking value.
3908
+ */
3909
+ adminOperationCode: string;
3910
+ }
3911
+
3912
+ /**
3913
+ * @public
3914
+ * @description DataSchemaAttribute describes the structure of the single attribute
3915
+ * of data-object that the application works with.
3916
+ * @property {string} name - name of DataSchemaAttribute.
3917
+ * @property {string} caption - caption of DataSchemaAttribute.
3918
+ * @property {string} isValueCloneable - copy this DataSchemaAttribute value when copying object.
3919
+ * @property {string} referenceSchemaName - name of reference DataSchema.
3920
+ * @property {boolean} isMasked - is mask used for DataSchemaAttribute.
3921
+ * @property {boolean} isFormatValidated - is format validated for DataSchemaAttribute.
3922
+ * @property {boolean} isSensitiveData - is data of DataSchemaAttribute sensitive.
3923
+ * @property {boolean} isValueMasked - is value of DataSchemaAttribute masked.
3924
+ * @property {DataSchemaAttributeValueMaskingSettings} valueMaskingSettings -
3925
+ * settings for masking DataSchemaAttribute value.
3926
+ * @property {boolean} isRequired - flag to determine DataSchemaAttribute required or not.
3927
+ */
3928
+ interface ɵDataSchemaAttribute {
3929
+ /**
3930
+ * @public
3931
+ * @description Attribute name.
3932
+ */
3933
+ name: string;
3934
+ /**
3935
+ * @public
3936
+ * @description Attribute caption.
3937
+ */
3938
+ caption: string;
3939
+ /**
3940
+ * @public
3941
+ * @description Column path.
3942
+ */
3943
+ path: string;
3944
+ /**
3945
+ * @public
3946
+ * @description {@link ɵDataValueType} - value type of DataSchemaAttribute.
3947
+ */
3948
+ dataValueType: ɵDataValueType;
3949
+ /**
3950
+ * @public
3951
+ * @description Collection of validators.
3952
+ */
3953
+ validators: ɵDataSchemaValidatorConfig;
3954
+ /**
3955
+ * @public
3956
+ * @description Default value.
3957
+ */
3958
+ defaultValue: Promise<ɵJsonData> | unknown;
3959
+ /**
3960
+ * @public
3961
+ * @description Default value schema.
3962
+ */
3963
+ defaultValueSchema: ɵDefaultValueSchema;
3964
+ /**
3965
+ * @public
3966
+ * @description Whether value can be copied.
3967
+ */
3968
+ isValueCloneable: boolean;
3969
+ /**
3970
+ * @public
3971
+ * @description Type of attribute.
3972
+ */
3973
+ attributeType: ɵDataSchemaAttributeType;
3974
+ /**
3975
+ * @public
3976
+ * @description The name of the schema of the object referenced by attribute.
3977
+ */
3978
+ referenceSchemaName?: string;
3979
+ /**
3980
+ * @public
3981
+ * @description Configuration of attribute function.
3982
+ */
3983
+ functionConfig?: ɵDataSchemaAttributeFunctionConfig;
3984
+ /**
3985
+ * @public
3986
+ * @description Configuration of attribute aggregation.
3987
+ */
3988
+ aggregationConfig?: ɵDataSchemaAttributeAggregationConfig;
3989
+ /**
3990
+ * @public
3991
+ * @description Whether attribute should use mask for input.
3992
+ */
3993
+ isMasked: boolean;
3994
+ /**
3995
+ * @public
3996
+ * @description Whether attribute is system.
3997
+ */
3998
+ isSystem: boolean;
3999
+ /**
4000
+ * @public
4001
+ * @description Format is validated.
4002
+ */
4003
+ isFormatValidated: boolean;
4004
+ /**
4005
+ * @public
4006
+ * @description Whether attribute is contain sensitive data.
4007
+ */
4008
+ isSensitiveData: boolean;
4009
+ /**
4010
+ * @public
4011
+ * @description Whether attribute value is masked.
4012
+ */
4013
+ isValueMasked: boolean;
4014
+ /**
4015
+ * @public
4016
+ * @description Value masking settings.
4017
+ */
4018
+ valueMaskingSettings: ɵDataSchemaAttributeValueMaskingSettings;
4019
+ /**
4020
+ * @public
4021
+ * @description Usage type.
4022
+ */
4023
+ usageType: ɵDataSchemaAttributeUsageType;
4024
+ /**
4025
+ * @public
4026
+ * @description flag to determine DataSchemaAttribute required or not.
4027
+ */
4028
+ isRequired: boolean;
4029
+ /**
4030
+ * @internal
4031
+ */
4032
+ lookupMode: LookupMode;
4033
+ /**
4034
+ * @internal
4035
+ */
4036
+ useSeconds: boolean;
4037
+ }
4038
+
4039
+ /**
4040
+ * @public
4041
+ * @description DataSchema describes the structure of the data-object that the application works with.
4042
+ * @property {string} name - name of DataSchema.
4043
+ * @property {string} type - type of DataSchema.
4044
+ * @property {string} primaryAttributeName - name of primary attribute.
4045
+ * @property {string} primaryDisplayAttributeName - name of primary display attribute.
4046
+ * @property {string} hierarchyAttributeName - name of the column that binds the parent record,
4047
+ * for hierarchical entities.
4048
+ * @property {string} primaryColorAttributeName - name of the column that defines color.
4049
+ */
4050
+ interface ɵDataSchema {
4051
+ /**
4052
+ * @description Name of the object schema.
4053
+ */
4054
+ name: string;
4055
+ /**
4056
+ * @description {@link ɵDataSchemaType} type of DataSchema.
4057
+ * @public
4058
+ */
4059
+ type?: ɵDataSchemaType;
4060
+ /**
4061
+ * @description {@link ɵLocalizableString} localizable caption of DataSchema.
4062
+ */
4063
+ caption: ɵLocalizableString;
4064
+ /**
4065
+ * @description {@link ɵDataSchemaAttribute[]} - array of attributes of DataSchema.
4066
+ */
4067
+ attributes: ɵDataSchemaAttribute[];
4068
+ /**
4069
+ * @description The column representing the primary key.
4070
+ */
4071
+ primaryAttributeName?: string;
4072
+ /**
4073
+ * @description The name of the primary column to display.
4074
+ */
4075
+ primaryDisplayAttributeName?: string;
4076
+ /**
4077
+ * @description Name of the hierarchical column.
4078
+ */
4079
+ hierarchyAttributeName?: string;
4080
+ /**
4081
+ * @description Name of the column with corresponding color.
4082
+ */
4083
+ primaryColorAttributeName?: string;
4084
+ /**
4085
+ * @public
4086
+ * @description Configuration for data source.
4087
+ */
4088
+ dataSourceConfig: ɵDataSourceConfig;
4089
+ }
4090
+
4091
+ /**
4092
+ * @public
4093
+ * @description Base configuration for function attribute.
4094
+ */
4095
+ interface BaseDataSourceFunctionConfig {
4096
+ /**
4097
+ * @public
4098
+ * @description Type of function.
4099
+ */
4100
+ type: ɵFunctionStringType;
4101
+ }
4102
+ /**
4103
+ * @public
4104
+ * @description Configuration for aggregation function attribute.
4105
+ */
4106
+ interface ɵDataSourceAggregationFunctionConfig extends BaseDataSourceFunctionConfig {
4107
+ /**
4108
+ * @public
4109
+ * @description Type of function. Default 'aggregation'.
4110
+ */
4111
+ type: 'aggregation';
4112
+ /**
4113
+ * @public
4114
+ * @description Aggregation function to apply.
4115
+ */
4116
+ aggregation: ɵAggregationFunction;
4117
+ /**
4118
+ * @public
4119
+ * @description Aggregation evaluation mode.
4120
+ */
4121
+ aggregationEval: ɵAggregationEval;
4122
+ }
4123
+ /**
4124
+ * @public
4125
+ * @description Configuration for date part function attribute.
4126
+ */
4127
+ interface ɵDataSourceDatePartFunctionConfig extends BaseDataSourceFunctionConfig {
4128
+ /**
4129
+ * @public
4130
+ * @description Type of function. Default 'datePart'.
4131
+ */
4132
+ type: 'datePart';
4133
+ /**
4134
+ * @public
4135
+ * @description Date part to extract.
4136
+ */
4137
+ datePart: ɵDatePart;
4138
+ }
4139
+ /**
4140
+ * @public
4141
+ * @description Union type for all possible function configurations.
4142
+ */
4143
+ type ɵDataSourceFunctionConfig = ɵDataSourceAggregationFunctionConfig | ɵDataSourceDatePartFunctionConfig;
4144
+
4145
+ /**
4146
+ * @public
4147
+ * @description Types of attribute.
4148
+ */
4149
+ type ɵDataSourceAttributeType = 'default' | 'aggregation' | 'function';
4150
+ /**
4151
+ * @public
4152
+ * @description Config for attribute in datasource.
4153
+ * @property {ɵDataSourceAttributeType} type - Type of attribute.
4154
+ * @property {string} name - Unique name of attribute.
4155
+ * @property {string} path - Path to attribute in data source.
4156
+ * @property {string} [caption] - Caption to display in UI.
4157
+ * @property {ɵDataValueType} [dataValueType] - Type of value.
4158
+ * @property {ɵDataSourceFunctionConfig} [functionConfig] - Configuration for function attribute.
4159
+ * @property {ɵDataSourceAggregationConfig} [aggregationConfig] - Configuration for aggregation attribute.
4160
+ */
4161
+ interface ɵDataSourceAttribute {
4162
+ /**
4163
+ * @public
4164
+ * @description Type of attribute.
4165
+ */
4166
+ type?: ɵDataSourceAttributeType;
4167
+ /**
4168
+ * @public
4169
+ * @description Unique name of attribute.
4170
+ */
4171
+ name: string;
4172
+ /**
4173
+ * @public
4174
+ * @description Path to attribute in data source.
4175
+ */
4176
+ path: string;
4177
+ /**
4178
+ * @public
4179
+ * @description Caption to display in UI.
4180
+ */
4181
+ caption?: string;
4182
+ /**
4183
+ * @public
4184
+ * @description Type of value.
4185
+ */
4186
+ dataValueType?: ɵDataValueType;
4187
+ /**
4188
+ * @public
4189
+ * @description Configuration for function attribute.
4190
+ */
4191
+ functionConfig?: ɵDataSourceFunctionConfig;
4192
+ /**
4193
+ * @public
4194
+ * @description Configuration for aggregation attribute.
4195
+ */
4196
+ aggregationConfig?: ɵDataSourceAggregationConfig;
4197
+ }
4198
+
4199
+ /**
4200
+ * @public
4201
+ * @description Result of canExecuteOperation request.
4202
+ * @property {boolean} result - Indicates whether operation can be executed.
4203
+ * @property {string} message - Optional message to display if operation cannot be executed.
4204
+ */
4205
+ interface ɵDataSourceCanExecuteOperationResult {
4206
+ /**
4207
+ * @public
4208
+ * @description Indicates whether operation can be executed.
4209
+ */
4210
+ result: boolean;
4211
+ /**
4212
+ * @public
4213
+ * @description Optional message to display if operation cannot be executed.
4214
+ */
4215
+ message?: string;
4216
+ }
4217
+ /**
4218
+ * @public
4219
+ * @description Payload for canExecuteOperation request.
4220
+ * @property {string} primaryColumnValue - Primary column value of record.
4221
+ */
4222
+ interface ɵDataSourceCanExecuteOperationPayload {
4223
+ /**
4224
+ * @public
4225
+ * @description Primary column value of record for which to check operation execution possibility.
4226
+ */
4227
+ primaryColumnValue?: string;
4228
+ }
4229
+
4230
+ /**
4231
+ * @public
4232
+ * @description Enum for model parameter types.
4233
+ */
4234
+ declare enum ɵModelParameterType {
4235
+ /**
4236
+ * @public
4237
+ * @description Parameter represents primary column value.
4238
+ */
4239
+ PrimaryColumnValue = "primaryColumnValue",
4240
+ /**
4241
+ * @public
4242
+ * @description Parameter represents column value.
4243
+ */
4244
+ ColumnValue = "columnValue",
4245
+ /**
4246
+ * @public
4247
+ * @description Parameter represents filter value.
4248
+ */
4249
+ Filter = "filter",
4250
+ /**
4251
+ * @public
4252
+ * @description Parameter represents primary display value filter.
4253
+ */
4254
+ PrimaryDisplayValueFilter = "primaryDisplayValueFilter",
4255
+ /**
4256
+ * @public
4257
+ * @description Parameter is empty.
4258
+ */
4259
+ Empty = "empty",
4260
+ /**
4261
+ * @public
4262
+ * @description Parameter is never used.
4263
+ */
4264
+ Never = "never"
4265
+ }
4266
+ /**
4267
+ * @public
4268
+ * @description Base interface for data source parameters.
4269
+ */
4270
+ interface ɵBaseDataSourceParameter {
4271
+ /**
4272
+ * @public
4273
+ * @description Type of parameter.
4274
+ */
4275
+ type: ɵModelParameterType;
4276
+ /**
4277
+ * @public
4278
+ * @description Value of parameter.
4279
+ */
4280
+ value: any;
4281
+ /**
4282
+ * @public
4283
+ * @description Optional relation configurations for parameter.
4284
+ */
4285
+ relationsConfigs?: ɵDataSourceParameterRelationConfig[];
4286
+ }
4287
+ /**
4288
+ * @public
4289
+ * @description Data source parameter for primary display value filtering.
4290
+ * @extends {ɵBaseDataSourceParameter}
4291
+ */
4292
+ interface ɵPrimaryDisplayFilterDataSourceParameter extends ɵBaseDataSourceParameter {
4293
+ /**
4294
+ * @public
4295
+ * @description Type of parameter. Always 'primaryDisplayValueFilter'.
4296
+ */
4297
+ type: ɵModelParameterType.PrimaryDisplayValueFilter;
4298
+ /**
4299
+ * @public
4300
+ * @description Value of parameter.
4301
+ */
4302
+ value: string;
4303
+ /**
4304
+ * @public
4305
+ * @description Comparison type for filtering.
4306
+ */
4307
+ comparisonType: ɵComparisonType;
4308
+ }
4309
+ /**
4310
+ * @public
4311
+ * @description Configuration for data source parameter relation.
4312
+ */
4313
+ interface ɵDataSourceParameterRelationConfig {
4314
+ /**
4315
+ * @public
4316
+ * @description Name of data schema.
4317
+ */
4318
+ dataSchemaName: string;
4319
+ /**
4320
+ * @public
4321
+ * @description Path to attribute in data schema.
4322
+ */
4323
+ attributePath: string;
4324
+ /**
4325
+ * @public
4326
+ * @description Path to relation in data schema.
4327
+ */
4328
+ relationPath: string;
4329
+ /**
4330
+ * @public
4331
+ * @description Whether to use attribute value.
4332
+ */
4333
+ useAttributeValue?: boolean;
4334
+ /**
4335
+ * @public
4336
+ * @description Optional value for relation.
4337
+ */
4338
+ value?: unknown;
4339
+ }
4340
+ /**
4341
+ * @public
4342
+ * @description Union type for all possible data source parameters.
4343
+ */
4344
+ type ɵDataSourceParameter = ɵBaseDataSourceParameter | ɵPrimaryDisplayFilterDataSourceParameter;
4345
+ /**
4346
+ * @public
4347
+ * @description Array of data source parameters.
4348
+ */
4349
+ type ɵDataSourceParameters = ɵDataSourceParameter[];
4350
+
4351
+ /**
4352
+ * @public
4353
+ * @description Config for paging in datasource.
4354
+ * @propery {number} rowsOffset - Rows count to skip.
4355
+ * @propery {number} rowCount - Rows count to query.
4356
+ */
4357
+ interface ɵDataSourcePagingConfig {
4358
+ /**
4359
+ * @description Rows count to skip.
4360
+ */
4361
+ rowsOffset: number;
4362
+ /**
4363
+ * @description Rows count to query.
4364
+ */
4365
+ rowCount: number;
4366
+ /**
4367
+ * @internal
4368
+ * @description Maximum rows count allowed for datasource paging lifecycle.
4369
+ */
4370
+ rowsLimit?: number;
4371
+ /**
4372
+ * @description Optional anchor record id used by supported data sources to shift the paging window origin.
4373
+ */
4374
+ anchorId?: string;
4375
+ }
4376
+
4377
+ /**
4378
+ * @public
4379
+ * @description Config for column with soring.
4380
+ * @property {string} columnName - Column name.
4381
+ * @property {ɵSortDirection} direction - Sort direction.
4382
+ */
4383
+ interface ɵSortColumnOptions {
4384
+ /**
4385
+ * @description Column name.
4386
+ */
4387
+ columnName: string;
4388
+ /**
4389
+ * @description Sort direction.
4390
+ */
4391
+ direction: ɵSortDirection;
4392
+ /**
4393
+ * @description Indicates whether the column is included in the result set.
4394
+ */
4395
+ visible?: boolean;
4396
+ }
4397
+ /**
4398
+ * @public
4399
+ * @description Config for soring data source.
4400
+ * @property {ɵSortColumnOptions[]} columns - Array of columns to sort.
4401
+ */
4402
+ interface ɵDataSourceSortingConfig {
4403
+ /**
4404
+ * @description Array of columns to sort.
4405
+ */
4406
+ columns: ɵSortColumnOptions[];
4407
+ }
4408
+
4409
+ /**
4410
+ * @public
4411
+ * @description Config for load data through data source
4412
+ * @property {ɵDataSourcePagingConfig} pagingConfig - Pagination options.
4413
+ * @property {ɵDataSourceSortingConfig} sortingConfig - Sorting options.
4414
+ */
4415
+ interface ɵDataSourceLoadOptions {
4416
+ /**
4417
+ * @description Pagination options.
4418
+ */
4419
+ pagingConfig?: ɵDataSourcePagingConfig;
4420
+ /**
4421
+ * @description Sorting options.
4422
+ */
4423
+ sortingConfig?: ɵDataSourceSortingConfig;
4424
+ }
4425
+
4426
+ /**
4427
+ * @public
4428
+ * @description Base class of the model.
4429
+ */
4430
+ interface ɵBaseModel<TLoadOptions extends ɵDataSourceLoadOptions> {
4431
+ /**
4432
+ * @public
4433
+ * @description Async method to return data schema.
4434
+ */
4435
+ getSchema(): Promise<ɵDataSchema>;
4436
+ /**
4437
+ * @description Abstract async method to load data.
4438
+ * @param {{}} config - Load config.
4439
+ */
4440
+ load(config?: {
4441
+ attributes?: string[] | ɵDataSourceAttribute[];
4442
+ parameters?: ɵDataSourceParameters;
4443
+ loadOptions?: TLoadOptions;
4444
+ }): Promise<ɵJsonArray>;
4445
+ /**
4446
+ * @description Abstract async method to insert record.
4447
+ * @param {ɵJsonObject} dto - Serialized object.
4448
+ */
4449
+ insert(dto: ɵJsonObject): Promise<ɵDataSourceSaveResult>;
4450
+ /**
4451
+ * @description Abstract async method to update record.
4452
+ * @param {ɵJsonObject} dto - Serialized object.
4453
+ * @param {ɵDataSourceParameters} parameters - Values.
4454
+ */
4455
+ update(dto: ɵJsonObject, parameters: ɵDataSourceParameters): Promise<ɵDataSourceSaveResult>;
4456
+ /**
4457
+ * @description Abstract async method to copy record.
4458
+ * @param {string} primaryColumnValue - primary value.
4459
+ * @param {ɵJsonObject} data - Serialized object.
4460
+ */
4461
+ copy(primaryColumnValue: string, data: ɵJsonObject): Promise<ɵJsonObject>;
4462
+ /**
4463
+ * @description Abstract async method to create record.
4464
+ * @param {ɵJsonObject} data - Serialized object.
4465
+ */
4466
+ create(data: ɵJsonObject): Promise<ɵJsonObject>;
4467
+ /**
4468
+ * @description Abstract async method to delete record.
4469
+ * @param {ɵDataSourceParameters} parameters - parameters.
4470
+ */
4471
+ delete(parameters: ɵDataSourceParameters): Promise<ɵDataSourceSaveResult>;
4472
+ /**
4473
+ * @description Abstract async method to check if model data can be saved.
4474
+ * @param {ɵDataSourceCanExecuteOperationPayload} params - Parameters.
4475
+ */
4476
+ canSave(params: ɵDataSourceCanExecuteOperationPayload): Promise<ɵDataSourceCanExecuteOperationResult>;
4477
+ /**
4478
+ * @description Abstract async method to check if record can be deleted.
4479
+ * @param {ɵDataSourceCanExecuteOperationPayload} params - Parameters.
4480
+ */
4481
+ canDelete(params: ɵDataSourceCanExecuteOperationPayload): Promise<ɵDataSourceCanExecuteOperationResult>;
4482
+ }
4483
+
4484
+ /**
4485
+ * @public
4486
+ * @description Service to working with system settings.
4487
+ */
4488
+ interface ɵBaseSysSettingsService {
4489
+ /**
4490
+ * @public
4491
+ * @description Returns value of the specified system setting.
4492
+ * @param sysSettingCode Code of system setting.
4493
+ * @param defaultValue Default value to be used if system setting has no value.
4494
+ */
4495
+ getValueByCode<T>(sysSettingCode: string, defaultValue?: T): Promise<T>;
4496
+ }
4497
+
4498
+ /**
4499
+ * @public
4500
+ * @description Config for button in dialog.
4501
+ * @property {string} caption - Text witch will be displayed in button
4502
+ * @property {ɵButtonColor} color - Color of button
4503
+ */
4504
+ interface ɵBaseDialogButtonConfig {
4505
+ /**
4506
+ * @description Text witch will be displayed in button
4507
+ */
4508
+ caption: string;
4509
+ /**
4510
+ * @description Color of button
4511
+ */
4512
+ color: ɵButtonColor;
4513
+ }
4514
+
4515
+ /**
4516
+ * @public
4517
+ * @description Config for action in dialog.
4518
+ * @property {string} key - Result witch will be returned after choose action
4519
+ * @property {ɵBaseDialogButtonConfig} config - Config for button in dialog
4520
+ */
4521
+ interface ɵDialogAction<T extends ɵBaseDialogButtonConfig = ɵBaseDialogButtonConfig> {
4522
+ /**
4523
+ * @description Result witch will be returned after choose action
4524
+ */
4525
+ key: string;
4526
+ /**
4527
+ * @description Config for button in dialog
4528
+ */
4529
+ config: T;
4530
+ }
4531
+
4532
+ /**
4533
+ * @public
4534
+ * @description Dialog configuration object
4535
+ * @property {string} title - Header of dialog
4536
+ * @property {string} message - Message witch will be displayed in dialog
4537
+ * @property {ɵDialogAction[]} actions - List of actions in dialog
4538
+ */
4539
+ interface ɵBaseDialogConfig<TActionConfig extends ɵBaseDialogButtonConfig = ɵBaseDialogButtonConfig> {
4540
+ /**
4541
+ * @description Header text in dialog
4542
+ */
4543
+ title?: string;
4544
+ /**
4545
+ * @description Message witch will be displayed in dialog
4546
+ */
4547
+ message: string;
4548
+ /**
4549
+ * @description List of actions in dialog
4550
+ */
4551
+ actions: Array<ɵDialogAction<TActionConfig>>;
4552
+ }
4553
+
4554
+ /**
4555
+ * @public
4556
+ * @description Service to working with dialog windows.
4557
+ */
4558
+ interface ɵBaseDialogService<TConfig extends ɵBaseDialogConfig = ɵBaseDialogConfig> {
4559
+ /**
4560
+ * Opens dialog.
4561
+ * @param {ɵBaseDialogConfig} config Dialog configuration object
4562
+ */
4563
+ open(config: TConfig): Promise<string>;
4564
+ }
4565
+
4566
+ /**
4567
+ * @public
4568
+ * @description Provides implementation of service to work with mask.
4569
+ */
4570
+ interface ɵBaseMaskService {
4571
+ /**
4572
+ * @description Shows mask.
4573
+ * @param taskName Name of task.
4574
+ * @param context View model context.
4575
+ */
4576
+ showMask(taskName: string, context: ɵViewModelContext): Promise<void>;
4577
+ /**
4578
+ * @description Hides mask.
4579
+ * @param taskName Name of task.
4580
+ * @param context View model context.
4581
+ */
4582
+ hideMask(taskName: string, context: ɵViewModelContext): Promise<void>;
4583
+ /**
4584
+ * @description Shows mask for the whole available space on the screen.
4585
+ * @param taskName Name of task.
4586
+ */
4587
+ showFullScreenMask(taskName: string): Promise<void>;
4588
+ /**
4589
+ * @description Hides full screen mask.
4590
+ * @param taskName Name of task.
4591
+ */
4592
+ hideFullScreenMask(taskName: string): Promise<void>;
4593
+ }
4594
+
4595
+ /**
4596
+ * @public
4597
+ * @description Actions of mask request.
4598
+ */
4599
+ declare enum ɵSchemaViewMaskRequestAction {
4600
+ /**
4601
+ * @description To add task.
4602
+ */
4603
+ AddTask = "addTask",
4604
+ /**
4605
+ * @description To remove task.
4606
+ */
4607
+ RemoveTask = "removeTask"
4608
+ }
4609
+ /**
4610
+ * @public
4611
+ * @description Request to show mask.
4612
+ */
4613
+ declare class ɵSchemaViewMaskRequest extends ɵBaseRequest {
4614
+ readonly action: ɵSchemaViewMaskRequestAction;
4615
+ readonly taskName: string;
4616
+ readonly $context: ɵViewModelContext;
4617
+ /**
4618
+ * @description Request type
4619
+ */
4620
+ readonly type = "crt.SchemaViewMaskRequest";
4621
+ constructor(action: ɵSchemaViewMaskRequestAction, taskName: string, $context: ɵViewModelContext);
4622
+ }
4623
+
4624
+ /**
4625
+ * @public
4626
+ * @description Provides methods for working with messages sent or received through a server channel.
4627
+ */
4628
+ interface ɵBaseMessageChannelService {
4629
+ /**
4630
+ * @public
4631
+ * @description Subscribes on messages from a specific sender.
4632
+ * @param sender String identifier of the sender.
4633
+ * @param callback Callback that should be executed on each message.
4634
+ * @returns A promise to be resolved with a {@link ɵSubscription} object that can be used to unsubscribe.
4635
+ */
4636
+ subscribe<T>(sender: string, callback: (event: ɵMessageChannelEvent<T>) => void): Promise<ɵSubscription>;
4637
+ /**
4638
+ * @public
4639
+ * @description Sends message to the channel.
4640
+ * @param sender String identifier of the sender, used to distinguish between messages from different senders.
4641
+ * @param body Body of the message that should be sent (payload). Should be JSON-serializable.
4642
+ * @param channelType Type of message channel.
4643
+ */
4644
+ sendMessage(sender: string, body: unknown, channelType: ɵMessageChannelType): Promise<void>;
4645
+ }
4646
+
4647
+ export { LookupMode, eAdminUnitRoleSources, ɵAggregationEvalType, ɵAggregationFunction, ɵAggregationFunctionColumn, ɵAggregationFunctionExpression, ɵAggregationSubQueryColumn, ɵAggregationSubQueryExpression, ɵAggregationType, ɵArgumentEmptyException, ɵArgumentFunctionExpression, ɵArgumentOutOfRangeException, ɵArithmeticExpression, ɵArithmeticOperation, ɵArithmeticQueryColumn, ɵBaseExpression, ɵBaseExpressionParser, ɵBaseFilter, ɵBaseFilterParser, ɵBaseFilterableQuery, ɵBaseQuery, ɵBaseQueryColumn, ɵBaseRequest, ɵBetweenFilter, ɵColumnExpression, ɵCompareFilter, ɵComparisonType, ɵDEFAULT_COLUMN_PLAIN_OBJ, ɵDEFAULT_FILTER_PLAIN_OBJ, ɵDataSchemaAttributeType, ɵDataSchemaAttributeUsageType, ɵDataSchemaType, ɵDataSourceScope, ɵDataValueType, ɵDatePartFunctionColumn, ɵDatePartFunctionExpression, ɵDatePartType, ɵDefaultValueSource, ɵDeleteQuery, ɵEMPTY_GUID, ɵEXPRESSION_TYPE_MOCK, ɵEntityQueryColumn, ɵEntitySchemaQuery, ɵExistsFilter, ɵExpressionMock, ɵExpressionParser, ɵExpressionResolver, ɵExpressionType, ɵFilterGroup, ɵFilterGroupOriginType, ɵFilterMock, ɵFilterParser, ɵFilterResolver, ɵFilterType, ɵFunctionExpression, ɵFunctionType, ɵInFilter, ɵInsertQuery, ɵIsNullFilter, ɵItemNotFoundException, ɵLengthFunctionColumn, ɵLengthFunctionExpression, ɵLogicalOperatorType, ɵMacrosFunctionColumn, ɵMacrosFunctionExpression, ɵMessageChannelType, ɵModelInPageAction, ɵModelParameterType, ɵNextHandlerAlreadySpecifiedException, ɵOrderDirection, ɵParameterExpression, ɵParameterQueryColumn, ɵPlatformAPIs, ɵQueryMacrosType, ɵQueryOperationType, ɵSchemaViewMaskRequest, ɵSchemaViewMaskRequestAction, ɵSegmentFilter, ɵSelectLocalizationQuery, ɵSingleFilter, ɵSubQueryColumn, ɵSubQueryExpression, ɵSubscription, ɵUpdateQuery, ɵValidationUtilities, ɵWindowFunctionColumn, ɵWindowFunctionExpression, ɵencodeDate, ɵgenerateGuid, ɵgetColumnPlainObj, ɵgetFilterPlainObj, ɵisEmptyGuid, ɵisGuid, ɵparserMock, ɵtoLocalISOString };
4648
+ export type { FilterGroupOrigin, IESQFilter, IFilterGroup, IParameterDefinition, UsedColumn, ɵAbstractType, ɵAggregationEval, ɵAggregationFunctionExpressionConfig, ɵAggregationSubQueryExpressionConfig, ɵArgumentFunctionExpressionConfig, ɵArithmeticExpressionConfig, ɵBaseDataSourceParameter, ɵBaseDialogButtonConfig, ɵBaseDialogConfig, ɵBaseDialogService, ɵBaseMaskService, ɵBaseMessageChannelService, ɵBaseModel, ɵBaseSysSettingsService, ɵButtonColor, ɵColumnExpressionConfig, ɵCompatibleAPIs, ɵConditionalValueItem, ɵDataSchema, ɵDataSchemaAttribute, ɵDataSchemaAttributeAggregationConfig, ɵDataSchemaAttributeAggregationFunctionConfig, ɵDataSchemaAttributeDatePartFunctionConfig, ɵDataSchemaAttributeFunctionConfig, ɵDataSchemaAttributeValidatorConfig, ɵDataSchemaAttributeValueMaskingSettings, ɵDataSchemaValidatorConfig, ɵDataSourceAggregationConfig, ɵDataSourceAggregationFunctionConfig, ɵDataSourceAttribute, ɵDataSourceAttributeType, ɵDataSourceCanExecuteOperationPayload, ɵDataSourceCanExecuteOperationResult, ɵDataSourceConfig, ɵDataSourceDatePartFunctionConfig, ɵDataSourceFunctionConfig, ɵDataSourceInsertResult, ɵDataSourceInstanceConfig, ɵDataSourceLoadOptions, ɵDataSourcePagingConfig, ɵDataSourceParameter, ɵDataSourceParameterRelationConfig, ɵDataSourceParameters, ɵDataSourceSaveResult, ɵDataSourceSortingConfig, ɵDatePart, ɵDatePartFunctionExpressionConfig, ɵDefaultValueSchema, ɵDialogAction, ɵEntityColumnValue, ɵExpressionConfig, ɵFiltrationPlatformAPIOptions, ɵFunctionExpressionConfig, ɵFunctionStringType, ɵGuid, ɵItemCreationConfig, ɵJsonArray, ɵJsonData, ɵJsonObject, ɵLengthFunctionExpressionConfig, ɵLocalizableString, ɵLocalizeFn, ɵLookupValue, ɵLookupValueWithCode, ɵMacrosFunctionExpressionConfig, ɵMessageChannelEvent, ɵMetadataProvider, ɵModelDefaultValue, ɵModelInitConfig, ɵParameterExpressionConfig, ɵPlatformAPIOptions, ɵPrimaryDisplayFilterDataSourceParameter, ɵRequestHandler, ɵRequestRegistrationConfig, ɵResolveDependencyFn, ɵSegmentFilterComparisonType, ɵSegmentFilterDto, ɵSegmentFilterOptions, ɵSegmentFilterOptionsDto, ɵSerializable, ɵSortColumnOptions, ɵSortDirection, ɵSubQueryExpressionConfig, ɵTeardownLogic, ɵType, ɵViewModelCollection, ɵViewModelContext, ɵWindowFunctionExpressionConfig };