@osdk/internal.foundry.ontologies 2.16.0 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,14 @@ export interface AbsoluteTimeRange {
12
12
  startTime?: string;
13
13
  endTime?: string;
14
14
  }
15
+ /**
16
+ * Calculates absolute value of a numeric value.
17
+ *
18
+ * Log Safety: UNSAFE
19
+ */
20
+ export interface AbsoluteValuePropertyExpression {
21
+ property: DerivedPropertyDefinition;
22
+ }
15
23
  /**
16
24
  * Log Safety: UNSAFE
17
25
  */
@@ -44,6 +52,8 @@ export type ActionParameterType = ({
44
52
  } & _Core.DoubleType) | ({
45
53
  type: "integer";
46
54
  } & _Core.IntegerType) | ({
55
+ type: "geoshape";
56
+ } & _Core.GeoShapeType) | ({
47
57
  type: "long";
48
58
  } & _Core.LongType) | ({
49
59
  type: "objectType";
@@ -60,6 +70,10 @@ export type ActionParameterType = ({
60
70
  } & ActionParameterArrayType) | ({
61
71
  type: "objectSet";
62
72
  } & OntologyObjectSetType) | ({
73
+ type: "geohash";
74
+ } & _Core.GeohashType) | ({
75
+ type: "vector";
76
+ } & _Core.VectorType) | ({
63
77
  type: "object";
64
78
  } & OntologyObjectType) | ({
65
79
  type: "timestamp";
@@ -70,6 +84,7 @@ export type ActionParameterType = ({
70
84
  * Log Safety: UNSAFE
71
85
  */
72
86
  export interface ActionParameterV2 {
87
+ displayName: _Core.DisplayName;
73
88
  description?: string;
74
89
  dataType: ActionParameterType;
75
90
  required: boolean;
@@ -153,6 +168,14 @@ export interface AddObject {
153
168
  primaryKey: PropertyValue;
154
169
  objectType: ObjectTypeApiName;
155
170
  }
171
+ /**
172
+ * Adds two or more numeric values.
173
+ *
174
+ * Log Safety: UNSAFE
175
+ */
176
+ export interface AddPropertyExpression {
177
+ properties: Array<DerivedPropertyDefinition>;
178
+ }
156
179
  /**
157
180
  * Log Safety: UNSAFE
158
181
  */
@@ -209,6 +232,13 @@ export interface AggregateObjectsResponseV2 {
209
232
  accuracy: AggregationAccuracy;
210
233
  data: Array<AggregateObjectsResponseItemV2>;
211
234
  }
235
+ /**
236
+ * Log Safety: UNSAFE
237
+ */
238
+ export interface AggregateTimeSeries {
239
+ method: TimeSeriesAggregationMethod;
240
+ strategy: TimeSeriesAggregationStrategy;
241
+ }
212
242
  /**
213
243
  * Specifies an aggregation function.
214
244
  *
@@ -759,6 +789,10 @@ export interface CenterPoint {
759
789
  export type CenterPointTypes = {
760
790
  type: "Point";
761
791
  } & _Geo.GeoPoint;
792
+ /**
793
+ * Log Safety: UNSAFE
794
+ */
795
+ export type CipherTextProperty = LooselyBrandedString<"CipherTextProperty">;
762
796
  /**
763
797
  * Returns objects where the specified field contains all of the terms in the order provided,
764
798
  but they do have to be adjacent to each other.
@@ -925,6 +959,14 @@ export type CustomTypeId = LooselyBrandedString<"CustomTypeId">;
925
959
  * Log Safety: UNSAFE
926
960
  */
927
961
  export type DataValue = any;
962
+ /**
963
+ * The result of a CipherText decryption. If successful, the plaintext decrypted value will be returned. Otherwise, an error will be thrown.
964
+ *
965
+ * Log Safety: DO_NOT_LOG
966
+ */
967
+ export interface DecryptionResult {
968
+ plaintext?: Plaintext;
969
+ }
928
970
  /**
929
971
  * Log Safety: UNSAFE
930
972
  */
@@ -984,9 +1026,29 @@ export type DerivedPropertyApiName = LooselyBrandedString<"DerivedPropertyApiNam
984
1026
  *
985
1027
  * Log Safety: UNSAFE
986
1028
  */
987
- export type DerivedPropertyDefinition = {
1029
+ export type DerivedPropertyDefinition = ({
1030
+ type: "add";
1031
+ } & AddPropertyExpression) | ({
1032
+ type: "absoluteValue";
1033
+ } & AbsoluteValuePropertyExpression) | ({
1034
+ type: "extract";
1035
+ } & ExtractPropertyExpression) | ({
988
1036
  type: "selection";
989
- } & SelectedPropertyDefinition;
1037
+ } & SelectedPropertyExpression) | ({
1038
+ type: "negate";
1039
+ } & NegatePropertyExpression) | ({
1040
+ type: "subtract";
1041
+ } & SubtractPropertyExpression) | ({
1042
+ type: "property";
1043
+ } & PropertyApiNameSelector) | ({
1044
+ type: "least";
1045
+ } & LeastPropertyExpression) | ({
1046
+ type: "divide";
1047
+ } & DividePropertyExpression) | ({
1048
+ type: "multiply";
1049
+ } & MultiplyPropertyExpression) | ({
1050
+ type: "greatest";
1051
+ } & GreatestPropertyExpression);
990
1052
  /**
991
1053
  * The representation of a time series property backed by a derived time series calculated with a formula.
992
1054
  *
@@ -996,6 +1058,15 @@ export interface DerivedTimeSeriesProperty {
996
1058
  templateRid: TimeseriesTemplateRid;
997
1059
  templateVersion?: TimeseriesTemplateVersion;
998
1060
  }
1061
+ /**
1062
+ * Divides the left numeric value by the right numeric value.
1063
+ *
1064
+ * Log Safety: UNSAFE
1065
+ */
1066
+ export interface DividePropertyExpression {
1067
+ left: DerivedPropertyDefinition;
1068
+ right: DerivedPropertyDefinition;
1069
+ }
999
1070
  /**
1000
1071
  * Returns objects where the specified field does not intersect the bounding box provided. Allows you to specify a
1001
1072
  property to query on by a variety of means. Either field or propertyIdentifier must be supplied, but not
@@ -1110,6 +1181,19 @@ export interface ExecuteQueryResponse {
1110
1181
  */
1111
1182
  export interface ExperimentalPropertyTypeStatus {
1112
1183
  }
1184
+ /**
1185
+ * Log Safety: SAFE
1186
+ */
1187
+ export type ExtractDatePart = "DAYS" | "MONTHS" | "QUARTERS" | "YEARS";
1188
+ /**
1189
+ * Extracts the specified date part from a date or timestamp.
1190
+ *
1191
+ * Log Safety: UNSAFE
1192
+ */
1193
+ export interface ExtractPropertyExpression {
1194
+ property: DerivedPropertyDefinition;
1195
+ part: ExtractDatePart;
1196
+ }
1113
1197
  /**
1114
1198
  * A reference to an Ontology object property with the form properties.{propertyApiName}.
1115
1199
  *
@@ -1188,6 +1272,14 @@ Use collectList or collectSet which will return a list of values in that case.
1188
1272
  export interface GetSelectedPropertyOperation {
1189
1273
  selectedPropertyApiName: PropertyApiName;
1190
1274
  }
1275
+ /**
1276
+ * Finds greatest of two or more numeric, date or timestamp values.
1277
+ *
1278
+ * Log Safety: UNSAFE
1279
+ */
1280
+ export interface GreatestPropertyExpression {
1281
+ properties: Array<DerivedPropertyDefinition>;
1282
+ }
1191
1283
  /**
1192
1284
  * The parameter value must be the user id of a member belonging to at least one of the groups defined by the constraint.
1193
1285
  *
@@ -1398,6 +1490,14 @@ export interface IsNullQueryV2 {
1398
1490
  propertyIdentifier?: PropertyIdentifier;
1399
1491
  value: boolean;
1400
1492
  }
1493
+ /**
1494
+ * Finds least of two or more numeric, date or timestamp values.
1495
+ *
1496
+ * Log Safety: UNSAFE
1497
+ */
1498
+ export interface LeastPropertyExpression {
1499
+ properties: Array<DerivedPropertyDefinition>;
1500
+ }
1401
1501
  /**
1402
1502
  * A reference to the linked interface type.
1403
1503
  *
@@ -1785,6 +1885,14 @@ export interface ModifyObject {
1785
1885
  export interface ModifyObjectRule {
1786
1886
  objectTypeApiName: ObjectTypeApiName;
1787
1887
  }
1888
+ /**
1889
+ * Multiplies two or more numeric values.
1890
+ *
1891
+ * Log Safety: UNSAFE
1892
+ */
1893
+ export interface MultiplyPropertyExpression {
1894
+ properties: Array<DerivedPropertyDefinition>;
1895
+ }
1788
1896
  /**
1789
1897
  * Queries support either a vector matching the embedding model defined on the property, or text that is
1790
1898
  automatically embedded.
@@ -1804,6 +1912,14 @@ export type NearestNeighborsQuery = ({
1804
1912
  export interface NearestNeighborsQueryText {
1805
1913
  value: string;
1806
1914
  }
1915
+ /**
1916
+ * Negates a numeric value.
1917
+ *
1918
+ * Log Safety: UNSAFE
1919
+ */
1920
+ export interface NegatePropertyExpression {
1921
+ property: DerivedPropertyDefinition;
1922
+ }
1807
1923
  /**
1808
1924
  * Log Safety: UNSAFE
1809
1925
  */
@@ -2535,12 +2651,31 @@ export interface PhraseQuery {
2535
2651
  field: FieldNameV1;
2536
2652
  value: string;
2537
2653
  }
2654
+ /**
2655
+ * Log Safety: DO_NOT_LOG
2656
+ */
2657
+ export type Plaintext = LooselyBrandedString<"Plaintext">;
2538
2658
  /**
2539
2659
  * Log Safety: UNSAFE
2540
2660
  */
2541
2661
  export type PolygonValue = {
2542
2662
  type: "Polygon";
2543
2663
  } & _Geo.Polygon;
2664
+ /**
2665
+ * A measurement of duration.
2666
+ *
2667
+ * Log Safety: SAFE
2668
+ */
2669
+ export interface PreciseDuration {
2670
+ value: number;
2671
+ unit: PreciseTimeUnit;
2672
+ }
2673
+ /**
2674
+ * The unit of a fixed-width duration. Each day is 24 hours and each week is 7 days.
2675
+ *
2676
+ * Log Safety: SAFE
2677
+ */
2678
+ export type PreciseTimeUnit = "NANOSECONDS" | "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "WEEKS";
2544
2679
  /**
2545
2680
  * Returns objects where the specified field starts with the provided value.
2546
2681
  *
@@ -2663,28 +2798,29 @@ export interface PropertyV2 {
2663
2798
  }
2664
2799
  /**
2665
2800
  * Represents the value of a property in the following format.
2666
- | Type | JSON encoding | Example |
2667
- |---------------- |-------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
2668
- | Array | array | ["alpha", "bravo", "charlie"] |
2669
- | Attachment | JSON encoded AttachmentProperty object | {"rid":"ri.blobster.main.attachment.2f944bae-5851-4204-8615-920c969a9f2e"} |
2670
- | Boolean | boolean | true |
2671
- | Byte | number | 31 |
2672
- | CipherText | string | "CIPHER::ri.bellaso.main.cipher-channel.e414ab9e-b606-499a-a0e1-844fa296ba7e::unzjs3VifsTxuIpf1fH1CJ7OaPBr2bzMMdozPaZJtCii8vVG60yXIEmzoOJaEl9mfFFe::CIPHER" |
2801
+ | Type | JSON encoding | Example |
2802
+ |---------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
2803
+ | Array | array | ["alpha", "bravo", "charlie"] |
2804
+ | Attachment | JSON encoded AttachmentProperty object | {"rid":"ri.blobster.main.attachment.2f944bae-5851-4204-8615-920c969a9f2e"} |
2805
+ | Boolean | boolean | true |
2806
+ | Byte | number | 31 |
2807
+ | CipherText | string | "CIPHER::ri.bellaso.main.cipher-channel.e414ab9e-b606-499a-a0e1-844fa296ba7e::unzjs3VifsTxuIpf1fH1CJ7OaPBr2bzMMdozPaZJtCii8vVG60yXIEmzoOJaEl9mfFFe::CIPHER" |
2673
2808
 
2674
- | Date | ISO 8601 extended local date string | "2021-05-01" |
2675
- | Decimal | string | "2.718281828" |
2676
- | Double | number | 3.14159265 |
2677
- | Float | number | 3.14159265 |
2678
- | GeoPoint | geojson | {"type":"Point","coordinates":[102.0,0.5]} |
2679
- | GeoShape | geojson | {"type":"LineString","coordinates":[[102.0,0.0],[103.0,1.0],[104.0,0.0],[105.0,1.0]]} |
2680
- | Integer | number | 238940 |
2681
- | Long | string | "58319870951433" |
2682
- | MediaReference | JSON encoded MediaReference object | {"mimeType":"application/pdf","reference":{"type":"mediaSetViewItem","mediaSetViewItem":{"mediaSetRid":"ri.mio.main.media-set.4153d42f-ca4b-4e42-8ca5-8e6aa7edb642","mediaSetViewRid":"ri.mio.main.view.82a798ad-d637-4595-acc6-987bcf16629b","mediaItemRid":"ri.mio.main.media-item.001ec98b-1620-4814-9e17-8e9c4e536225"}}} |
2683
- | Short | number | 8739 |
2684
- | String | string | "Call me Ishmael" |
2685
- | Struct | JSON object of struct field API name -> value | {"firstName": "Alex", "lastName": "Karp"} |
2686
- | Timestamp | ISO 8601 extended offset date-time string in UTC zone | "2021-01-04T05:00:00Z" |
2687
- | Timeseries | JSON encoded TimeseriesProperty object or seriesId string | {"seriesId": "wellPressureSeriesId", "syncRid": ri.time-series-catalog.main.sync.04f5ac1f-91bf-44f9-a51f-4f34e06e42df"} or {"templateRid": "ri.codex-emu.main.template.367cac64-e53b-4653-b111-f61856a63df9", "templateVersion": "0.0.0"} or "wellPressureSeriesId"| |
2809
+ | Date | ISO 8601 extended local date string | "2021-05-01" |
2810
+ | Decimal | string | "2.718281828" |
2811
+ | Double | number | 3.14159265 |
2812
+ | Float | number | 3.14159265 |
2813
+ | GeoPoint | geojson | {"type":"Point","coordinates":[102.0,0.5]} |
2814
+ | GeoShape | geojson | {"type":"LineString","coordinates":[[102.0,0.0],[103.0,1.0],[104.0,0.0],[105.0,1.0]]} |
2815
+ | Integer | number | 238940 |
2816
+ | Long | string | "58319870951433" |
2817
+ | MediaReference| JSON encoded MediaReference object | {"mimeType":"application/pdf","reference":{"type":"mediaSetViewItem","mediaSetViewItem":{"mediaSetRid":"ri.mio.main.media-set.4153d42f-ca4b-4e42-8ca5-8e6aa7edb642","mediaSetViewRid":"ri.mio.main.view.82a798ad-d637-4595-acc6-987bcf16629b","mediaItemRid":"ri.mio.main.media-item.001ec98b-1620-4814-9e17-8e9c4e536225"}}} |
2818
+ | Short | number | 8739 |
2819
+ | String | string | "Call me Ishmael" |
2820
+ | Struct | JSON object of struct field API name -> value | {"firstName": "Alex", "lastName": "Karp"} |
2821
+ | Timestamp | ISO 8601 extended offset date-time string in UTC zone | "2021-01-04T05:00:00Z" |
2822
+ | Timeseries | JSON encoded TimeseriesProperty object or seriesId string | {"seriesId": "wellPressureSeriesId", "syncRid": ri.time-series-catalog.main.sync.04f5ac1f-91bf-44f9-a51f-4f34e06e42df"} or {"templateRid": "ri.codex-emu.main.template.367cac64-e53b-4653-b111-f61856a63df9", "templateVersion": "0.0.0"} or "wellPressureSeriesId"| |
2823
+ | Vector | array | [0.1, 0.3, 0.02, 0.05 , 0.8, 0.4] |
2688
2824
  Note that for backwards compatibility, the Boolean, Byte, Double, Float, Integer, and Short types can also be encoded as JSON strings.
2689
2825
  *
2690
2826
  * Log Safety: UNSAFE
@@ -3019,6 +3155,14 @@ export type RequestId = string;
3019
3155
  * Log Safety: SAFE
3020
3156
  */
3021
3157
  export type ReturnEditsMode = "ALL" | "ALL_V2_WITH_DELETIONS" | "NONE";
3158
+ /**
3159
+ * Number of points in each window.
3160
+ *
3161
+ * Log Safety: SAFE
3162
+ */
3163
+ export interface RollingAggregateWindowPoints {
3164
+ count: number;
3165
+ }
3022
3166
  /**
3023
3167
  * Log Safety: UNSAFE
3024
3168
  */
@@ -3192,8 +3336,13 @@ export interface SearchOrderingV2 {
3192
3336
  direction?: string;
3193
3337
  }
3194
3338
  /**
3195
- * By default, anytime an object is requested, every property belonging to that object is returned.
3196
- The response can be filtered to only include certain properties using the properties query parameter.
3339
+ * By default, whenever an object is requested, all of its properties are returned, except for properties of the
3340
+ following types:
3341
+
3342
+ Vector
3343
+
3344
+ The response can be filtered to only include certain properties using the properties query parameter. Note
3345
+ that ontology object set endpoints refer to this parameter as select.
3197
3346
  Properties to include can be specified in one of two ways.
3198
3347
 
3199
3348
  A comma delimited list as the value for the properties query parameter
@@ -3267,21 +3416,21 @@ export interface SelectedPropertyCollectSetAggregation {
3267
3416
  export interface SelectedPropertyCountAggregation {
3268
3417
  }
3269
3418
  /**
3270
- * Definition for a selected property over a MethodObjectSet.
3419
+ * Computes an exact number of distinct values for the provided field. May be slower than an approximate distinct aggregation.
3271
3420
  *
3272
3421
  * Log Safety: UNSAFE
3273
3422
  */
3274
- export interface SelectedPropertyDefinition {
3275
- objectSet: MethodObjectSet;
3276
- operation: SelectedPropertyOperation;
3423
+ export interface SelectedPropertyExactDistinctAggregation {
3424
+ selectedPropertyApiName: PropertyApiName;
3277
3425
  }
3278
3426
  /**
3279
- * Computes an exact number of distinct values for the provided field. May be slower than an approximate distinct aggregation.
3427
+ * Definition for a selected property over a MethodObjectSet.
3280
3428
  *
3281
3429
  * Log Safety: UNSAFE
3282
3430
  */
3283
- export interface SelectedPropertyExactDistinctAggregation {
3284
- selectedPropertyApiName: PropertyApiName;
3431
+ export interface SelectedPropertyExpression {
3432
+ objectSet: MethodObjectSet;
3433
+ operation: SelectedPropertyOperation;
3285
3434
  }
3286
3435
  /**
3287
3436
  * Computes the maximum value for the provided field.
@@ -3401,6 +3550,7 @@ export type StreamMessage = ({
3401
3550
  */
3402
3551
  export interface StreamTimeSeriesPointsRequest {
3403
3552
  range?: TimeRange;
3553
+ aggregate?: AggregateTimeSeries;
3404
3554
  }
3405
3555
  /**
3406
3556
  * Log Safety: UNSAFE
@@ -3448,9 +3598,10 @@ export interface StringRegexMatchConstraint {
3448
3598
  */
3449
3599
  export type StructFieldApiName = LooselyBrandedString<"StructFieldApiName">;
3450
3600
  /**
3451
- * A combination of a struct property api name and a struct field api name. This is used to select struct fields
3452
- to query on. Note that you can still select struct properties with only a 'PropertyApiNameSelector'; the queries
3453
- will then become 'OR' queries across the fields of the struct property.
3601
+ * A combination of a property API name and a struct field API name used to select struct fields. Note that you can
3602
+ still select struct properties with only a 'PropertyApiNameSelector'; the queries will then become 'OR' queries
3603
+ across the fields of the struct property, and derived property expressions will operate on the whole struct
3604
+ where applicable.
3454
3605
  *
3455
3606
  * Log Safety: UNSAFE
3456
3607
  */
@@ -3517,6 +3668,15 @@ export type SubscriptionId = string;
3517
3668
  export interface SubscriptionSuccess {
3518
3669
  id: SubscriptionId;
3519
3670
  }
3671
+ /**
3672
+ * Subtracts the right numeric value from the left numeric value.
3673
+ *
3674
+ * Log Safety: UNSAFE
3675
+ */
3676
+ export interface SubtractPropertyExpression {
3677
+ left: DerivedPropertyDefinition;
3678
+ right: DerivedPropertyDefinition;
3679
+ }
3520
3680
  /**
3521
3681
  * Computes the sum of values for the provided field.
3522
3682
  *
@@ -3560,6 +3720,35 @@ export type TimeRange = ({
3560
3720
  } & AbsoluteTimeRange) | ({
3561
3721
  type: "relative";
3562
3722
  } & RelativeTimeRange);
3723
+ /**
3724
+ * The aggregation function to use for aggregating time series data.
3725
+ *
3726
+ * Log Safety: SAFE
3727
+ */
3728
+ export type TimeSeriesAggregationMethod = "SUM" | "MEAN" | "STANDARD_DEVIATION" | "MAX" | "MIN" | "PERCENT_CHANGE" | "DIFFERENCE" | "PRODUCT" | "COUNT" | "FIRST" | "LAST";
3729
+ /**
3730
+ * CUMULATIVE aggregates all points up to the current point.
3731
+ ROLLING aggregates all points in a rolling window whose size is either the specified number of points or
3732
+ time duration.
3733
+ PERIODIC aggregates all points in specified time windows.
3734
+ *
3735
+ * Log Safety: UNSAFE
3736
+ */
3737
+ export type TimeSeriesAggregationStrategy = ({
3738
+ type: "rolling";
3739
+ } & TimeSeriesRollingAggregate) | ({
3740
+ type: "periodic";
3741
+ } & TimeSeriesPeriodicAggregate) | ({
3742
+ type: "cumulative";
3743
+ } & TimeSeriesCumulativeAggregate);
3744
+ /**
3745
+ * The cumulative aggregate is calculated progressively for each point in the input time series,
3746
+ considering all preceding points up to and including the current point.
3747
+ *
3748
+ * Log Safety: SAFE
3749
+ */
3750
+ export interface TimeSeriesCumulativeAggregate {
3751
+ }
3563
3752
  /**
3564
3753
  * A time and value pair.
3565
3754
  *
@@ -3569,6 +3758,22 @@ export interface TimeseriesEntry {
3569
3758
  time: string;
3570
3759
  value: any;
3571
3760
  }
3761
+ /**
3762
+ * Aggregates values over discrete, periodic windows for a given time series.
3763
+ A periodic window divides the time series into windows of fixed durations.
3764
+ For each window, an aggregate function is applied to the points within that window. The result is a time series
3765
+ with values representing the aggregate for each window. Windows with no data points are not included
3766
+ in the output.
3767
+ Periodic aggregation is useful for downsampling a continuous stream of data to larger granularities such as
3768
+ hourly, daily, monthly.
3769
+ *
3770
+ * Log Safety: SAFE
3771
+ */
3772
+ export interface TimeSeriesPeriodicAggregate {
3773
+ windowSize: PreciseDuration;
3774
+ alignmentTimestamp?: string;
3775
+ windowType: TimeSeriesWindowType;
3776
+ }
3572
3777
  /**
3573
3778
  * A time and value pair.
3574
3779
  *
@@ -3582,6 +3787,26 @@ export interface TimeSeriesPoint {
3582
3787
  * Log Safety: UNSAFE
3583
3788
  */
3584
3789
  export type TimeSeriesPropertyV2 = LooselyBrandedString<"TimeSeriesPropertyV2">;
3790
+ /**
3791
+ * Log Safety: UNSAFE
3792
+ */
3793
+ export interface TimeSeriesRollingAggregate {
3794
+ windowSize: TimeSeriesRollingAggregateWindow;
3795
+ }
3796
+ /**
3797
+ * A rolling window is a moving subset of data points that ends at the current timestamp (inclusive)
3798
+ and spans a specified duration (window size). As new data points are added, old points fall out of the
3799
+ window if they are outside the specified duration.
3800
+ Rolling windows are commonly used for smoothing data, detecting trends, and reducing noise
3801
+ in time series analysis.
3802
+ *
3803
+ * Log Safety: UNSAFE
3804
+ */
3805
+ export type TimeSeriesRollingAggregateWindow = ({
3806
+ type: "duration";
3807
+ } & PreciseDuration) | ({
3808
+ type: "pointsCount";
3809
+ } & RollingAggregateWindowPoints);
3585
3810
  /**
3586
3811
  * The RID identifying a time series sync.
3587
3812
  *
@@ -3604,6 +3829,10 @@ export type TimeseriesTemplateVersion = LooselyBrandedString<"TimeseriesTemplate
3604
3829
  * Log Safety: UNSAFE
3605
3830
  */
3606
3831
  export type TimeSeriesValueBankProperty = LooselyBrandedString<"TimeSeriesValueBankProperty">;
3832
+ /**
3833
+ * Log Safety: SAFE
3834
+ */
3835
+ export type TimeSeriesWindowType = "START" | "END";
3607
3836
  /**
3608
3837
  * Log Safety: SAFE
3609
3838
  */