@osdk/internal.foundry.ontologies 2.46.0 → 2.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @osdk/internal.foundry.ontologies
2
2
 
3
+ ## 2.48.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 21e4edc: Regenerate Platform SDKs
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [21e4edc]
12
+ - @osdk/internal.foundry.core@2.48.0
13
+ - @osdk/internal.foundry.geo@2.48.0
14
+
15
+ ## 2.47.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 0a561e6: Fix cyclic dependency
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [0a561e6]
24
+ - @osdk/internal.foundry.core@2.47.0
25
+ - @osdk/internal.foundry.geo@2.47.0
26
+
3
27
  ## 2.46.0
4
28
 
5
29
  ### Minor Changes
@@ -126,6 +126,7 @@ export interface ActionParameterV2 {
126
126
  description?: string;
127
127
  dataType: ActionParameterType;
128
128
  required: boolean;
129
+ typeClasses: Array<TypeClass>;
129
130
  }
130
131
  /**
131
132
  * Log Safety: UNSAFE
@@ -230,7 +231,7 @@ export interface AddObject {
230
231
  */
231
232
  export interface AddObjectEdit {
232
233
  objectType: ObjectTypeApiName;
233
- properties: Record<PropertyApiName, DataValue>;
234
+ properties: Record<PropertyApiName, DataValue | undefined>;
234
235
  }
235
236
  /**
236
237
  * Adds two or more numeric values.
@@ -921,6 +922,12 @@ export interface BlueprintIcon {
921
922
  color: string;
922
923
  name: string;
923
924
  }
925
+ /**
926
+ * Log Safety: UNSAFE
927
+ */
928
+ export interface BooleanValue {
929
+ value: boolean;
930
+ }
924
931
  /**
925
932
  * The top left and bottom right coordinate points that make up the bounding box.
926
933
  *
@@ -1073,6 +1080,12 @@ export interface CountAggregationV2 {
1073
1080
  export interface CountObjectsResponseV2 {
1074
1081
  count?: number;
1075
1082
  }
1083
+ /**
1084
+ * Log Safety: UNSAFE
1085
+ */
1086
+ export interface CreateEdit {
1087
+ properties: Record<PropertyApiName, PropertyValue>;
1088
+ }
1076
1089
  /**
1077
1090
  * Log Safety: UNSAFE
1078
1091
  */
@@ -1260,6 +1273,12 @@ export interface DatetimeTimezoneStatic {
1260
1273
  */
1261
1274
  export interface DatetimeTimezoneUser {
1262
1275
  }
1276
+ /**
1277
+ * Log Safety: UNSAFE
1278
+ */
1279
+ export interface DateValue {
1280
+ value: string;
1281
+ }
1263
1282
  /**
1264
1283
  * The result of a CipherText decryption. If successful, the plaintext decrypted value will be returned. Otherwise, an error will be thrown.
1265
1284
  *
@@ -1268,6 +1287,12 @@ export interface DatetimeTimezoneUser {
1268
1287
  export interface DecryptionResult {
1269
1288
  plaintext?: Plaintext;
1270
1289
  }
1290
+ /**
1291
+ * Log Safety: UNSAFE
1292
+ */
1293
+ export interface DeleteEdit {
1294
+ previousProperties: Record<PropertyApiName, PropertyValue>;
1295
+ }
1271
1296
  /**
1272
1297
  * Log Safety: UNSAFE
1273
1298
  */
@@ -1441,6 +1466,12 @@ export interface DoesNotIntersectPolygonQuery {
1441
1466
  propertyIdentifier?: PropertyIdentifier;
1442
1467
  value: PolygonValue;
1443
1468
  }
1469
+ /**
1470
+ * Log Safety: UNSAFE
1471
+ */
1472
+ export interface DoubleValue {
1473
+ value: number;
1474
+ }
1444
1475
  /**
1445
1476
  * The vector to search with. The vector must be of the same dimension as the vectors stored in the provided
1446
1477
  propertyIdentifier.
@@ -1476,6 +1507,34 @@ export type DurationFormatStyle = ({
1476
1507
  * Log Safety: SAFE
1477
1508
  */
1478
1509
  export type DurationPrecision = "DAYS" | "HOURS" | "MINUTES" | "SECONDS" | "AUTO";
1510
+ /**
1511
+ * Log Safety: UNSAFE
1512
+ */
1513
+ export type EditHistoryEdit = ({
1514
+ type: "createEdit";
1515
+ } & CreateEdit) | ({
1516
+ type: "deleteEdit";
1517
+ } & DeleteEdit) | ({
1518
+ type: "modifyEdit";
1519
+ } & ModifyEdit);
1520
+ /**
1521
+ * Log Safety: UNSAFE
1522
+ */
1523
+ export interface EditsHistoryFilters {
1524
+ startTime?: string;
1525
+ endTime?: string;
1526
+ actionTypes: Array<ActionTypeApiName>;
1527
+ editTypes: Array<EditTypeFilter>;
1528
+ userIds: Array<string>;
1529
+ }
1530
+ /**
1531
+ * Log Safety: SAFE
1532
+ */
1533
+ export type EditsHistorySortOrder = "newest_first" | "oldest_first";
1534
+ /**
1535
+ * Log Safety: SAFE
1536
+ */
1537
+ export type EditTypeFilter = "create" | "modify" | "delete";
1479
1538
  /**
1480
1539
  * Log Safety: UNSAFE
1481
1540
  */
@@ -1490,10 +1549,11 @@ export interface EnumConstraint {
1490
1549
  options: Array<PropertyValue | undefined>;
1491
1550
  }
1492
1551
  /**
1493
- * Returns objects where the specified field is equal to a value.
1494
- *
1495
- * Log Safety: UNSAFE
1496
- */
1552
+ * Returns objects where the specified field is equal to a value.
1553
+ For string properties, full term matching only works when Selectable is enabled for the property in Ontology Manager.
1554
+ *
1555
+ * Log Safety: UNSAFE
1556
+ */
1497
1557
  export interface EqualsQuery {
1498
1558
  field: FieldNameV1;
1499
1559
  value: PropertyValue;
@@ -1501,6 +1561,7 @@ export interface EqualsQuery {
1501
1561
  /**
1502
1562
  * Returns objects where the specified field is equal to a value. Allows you to specify a property to query on
1503
1563
  by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1564
+ For string properties, full term matching only works when Selectable is enabled for the property in Ontology Manager.
1504
1565
  *
1505
1566
  * Log Safety: UNSAFE
1506
1567
  */
@@ -1770,6 +1831,7 @@ export type Icon = {
1770
1831
  * Returns objects where the specified field equals any of the provided values. Allows you to
1771
1832
  specify a property to query on by a variety of means. If an empty array is provided as the value, then the filter will match all objects
1772
1833
  in the object set. Either field or propertyIdentifier must be supplied, but not both.
1834
+ For string properties, full term matching only works when Selectable is enabled for the property in Ontology Manager.
1773
1835
  *
1774
1836
  * Log Safety: UNSAFE
1775
1837
  */
@@ -1778,6 +1840,12 @@ export interface InQuery {
1778
1840
  propertyIdentifier?: PropertyIdentifier;
1779
1841
  value: Array<PropertyValue>;
1780
1842
  }
1843
+ /**
1844
+ * Log Safety: UNSAFE
1845
+ */
1846
+ export interface IntegerValue {
1847
+ value: number;
1848
+ }
1781
1849
  /**
1782
1850
  * An interface property type with an additional field to indicate constraints that need to be satisfied by
1783
1851
  implementing object property types.
@@ -1792,6 +1860,7 @@ export interface InterfaceDefinedPropertyType {
1792
1860
  dataType: ObjectPropertyType;
1793
1861
  valueTypeApiName?: ValueTypeApiName;
1794
1862
  requireImplementation: boolean;
1863
+ typeClasses: Array<TypeClass>;
1795
1864
  }
1796
1865
  /**
1797
1866
  * A link type constraint defined at the interface level where the implementation of the links is provided
@@ -1941,6 +2010,7 @@ export interface InterfaceSharedPropertyType {
1941
2010
  valueTypeApiName?: ValueTypeApiName;
1942
2011
  valueFormatting?: PropertyValueFormattingRule;
1943
2012
  required: boolean;
2013
+ typeClasses: Array<TypeClass>;
1944
2014
  }
1945
2015
  /**
1946
2016
  * Represents an implementation of an interface (the mapping of interface property to local property).
@@ -2513,6 +2583,12 @@ export type LogicRuleArgument = ({
2513
2583
  } & ObjectParameterPropertyArgument) | ({
2514
2584
  type: "uniqueIdentifier";
2515
2585
  } & UniqueIdentifierArgument);
2586
+ /**
2587
+ * Log Safety: UNSAFE
2588
+ */
2589
+ export interface LongValue {
2590
+ value: string;
2591
+ }
2516
2592
  /**
2517
2593
  * Returns objects where the specified field is less than or equal to a value.
2518
2594
  *
@@ -2623,6 +2699,14 @@ export interface MinAggregationV2 {
2623
2699
  name?: AggregationMetricName;
2624
2700
  direction?: OrderByDirection;
2625
2701
  }
2702
+ /**
2703
+ * Log Safety: UNSAFE
2704
+ */
2705
+ export interface ModifyEdit {
2706
+ includesAllPreviousValues?: boolean;
2707
+ previousProperties: Record<PropertyApiName, PropertyValue>;
2708
+ properties: Record<PropertyApiName, PropertyValue>;
2709
+ }
2626
2710
  /**
2627
2711
  * Log Safety: UNSAFE
2628
2712
  */
@@ -2650,7 +2734,7 @@ export interface ModifyObject {
2650
2734
  export interface ModifyObjectEdit {
2651
2735
  objectType: ObjectTypeApiName;
2652
2736
  primaryKey: PropertyValue;
2653
- properties: Record<PropertyApiName, DataValue>;
2737
+ properties: Record<PropertyApiName, DataValue | undefined>;
2654
2738
  }
2655
2739
  /**
2656
2740
  * Log Safety: UNSAFE
@@ -2933,6 +3017,19 @@ export type ObjectEdit = ({
2933
3017
  } & DeleteLink) | ({
2934
3018
  type: "addLink";
2935
3019
  } & AddLink);
3020
+ /**
3021
+ * Represents a single object edit operation in the history. This captures when an object was
3022
+ created, modified, or deleted as part of an action execution.
3023
+ *
3024
+ * Log Safety: UNSAFE
3025
+ */
3026
+ export interface ObjectEditHistoryEntry {
3027
+ operationId: ActionRid;
3028
+ actionTypeRid: ActionTypeRid;
3029
+ userId: string;
3030
+ timestamp: string;
3031
+ edit: EditHistoryEdit;
3032
+ }
2936
3033
  /**
2937
3034
  * Log Safety: UNSAFE
2938
3035
  */
@@ -2974,6 +3071,10 @@ export interface ObjectParameterPropertyArgument {
2974
3071
  * Log Safety: UNSAFE
2975
3072
  */
2976
3073
  export type ObjectPrimaryKey = Record<PropertyApiName, PropertyValue>;
3074
+ /**
3075
+ * Log Safety: UNSAFE
3076
+ */
3077
+ export type ObjectPrimaryKeyV2 = Record<PropertyApiName, PrimaryKeyValueV2>;
2977
3078
  /**
2978
3079
  * A union of all the types supported by Ontology Object properties.
2979
3080
  *
@@ -3297,6 +3398,32 @@ export type ObjectTypeApiName = LooselyBrandedString<"ObjectTypeApiName">;
3297
3398
  export interface ObjectTypeEdits {
3298
3399
  editedObjectTypes: Array<ObjectTypeApiName>;
3299
3400
  }
3401
+ /**
3402
+ * Request object for querying object type edits history, containing both filters and pagination parameters
3403
+ If objectPrimaryKey property is set, the method will return edits history for the particular object.
3404
+ Otherwise, the method will return edits history for all objects of this object type.
3405
+ *
3406
+ * Log Safety: UNSAFE
3407
+ */
3408
+ export interface ObjectTypeEditsHistoryRequest {
3409
+ objectPrimaryKey?: ObjectPrimaryKeyV2;
3410
+ filters?: EditsHistoryFilters;
3411
+ sortOrder?: EditsHistorySortOrder;
3412
+ includeAllPreviousProperties?: boolean;
3413
+ pageSize?: number;
3414
+ pageToken?: string;
3415
+ }
3416
+ /**
3417
+ * Response containing the history of edits for objects of a specific object type.
3418
+ Only contains object edits (create, modify, delete) - link edits are not included.
3419
+ *
3420
+ * Log Safety: UNSAFE
3421
+ */
3422
+ export interface ObjectTypeEditsHistoryResponse {
3423
+ data: Array<ObjectEditHistoryEntry>;
3424
+ totalCount?: number;
3425
+ nextPageToken?: string;
3426
+ }
3300
3427
  /**
3301
3428
  * Log Safety: UNSAFE
3302
3429
  */
@@ -3594,6 +3721,10 @@ export interface OntologyValueType {
3594
3721
  version: string;
3595
3722
  constraints: Array<ValueTypeConstraint>;
3596
3723
  }
3724
+ /**
3725
+ * Log Safety: SAFE
3726
+ */
3727
+ export type OntologyVersion = string;
3597
3728
  /**
3598
3729
  * A command representing the list of properties to order by. Properties should be delimited by commas and
3599
3730
  prefixed by p or properties. The format expected format is
@@ -3786,6 +3917,24 @@ export interface PrefixQuery {
3786
3917
  * Log Safety: UNSAFE
3787
3918
  */
3788
3919
  export type PrimaryKeyValue = any;
3920
+ /**
3921
+ * Log Safety: UNSAFE
3922
+ */
3923
+ export type PrimaryKeyValueV2 = ({
3924
+ type: "dateValue";
3925
+ } & DateValue) | ({
3926
+ type: "stringValue";
3927
+ } & StringValue) | ({
3928
+ type: "timestampValue";
3929
+ } & TimestampValue) | ({
3930
+ type: "booleanValue";
3931
+ } & BooleanValue) | ({
3932
+ type: "integerValue";
3933
+ } & IntegerValue) | ({
3934
+ type: "doubleValue";
3935
+ } & DoubleValue) | ({
3936
+ type: "longValue";
3937
+ } & LongValue);
3789
3938
  /**
3790
3939
  * Details about some property of an object.
3791
3940
  *
@@ -4001,6 +4150,8 @@ export type PropertyTypeReferenceOrStringConstant = ({
4001
4150
  type: "propertyType";
4002
4151
  } & PropertyTypeReference);
4003
4152
  /**
4153
+ * The unique resource identifier of a property.
4154
+ *
4004
4155
  * Log Safety: SAFE
4005
4156
  */
4006
4157
  export type PropertyTypeRid = LooselyBrandedString<"PropertyTypeRid">;
@@ -4036,6 +4187,7 @@ export interface PropertyV2 {
4036
4187
  visibility?: PropertyTypeVisibility;
4037
4188
  valueTypeApiName?: ValueTypeApiName;
4038
4189
  valueFormatting?: PropertyValueFormattingRule;
4190
+ typeClasses: Array<TypeClass>;
4039
4191
  }
4040
4192
  /**
4041
4193
  * Represents the value of a property in the following format.
@@ -4902,6 +5054,7 @@ export interface SharedPropertyType {
4902
5054
  dataType: ObjectPropertyType;
4903
5055
  valueTypeApiName?: ValueTypeApiName;
4904
5056
  valueFormatting?: PropertyValueFormattingRule;
5057
+ typeClasses: Array<TypeClass>;
4905
5058
  }
4906
5059
  /**
4907
5060
  * The name of the shared property type in the API in lowerCamelCase format. To find the API name for your
@@ -4936,6 +5089,18 @@ export interface StartsWithQuery {
4936
5089
  export interface StaticArgument {
4937
5090
  value: DataValue;
4938
5091
  }
5092
+ /**
5093
+ * Log Safety: UNSAFE
5094
+ */
5095
+ export interface StreamGeotemporalSeriesValuesRequest {
5096
+ range?: TimeRange;
5097
+ }
5098
+ /**
5099
+ * Log Safety: UNSAFE
5100
+ */
5101
+ export interface StreamGeotemporalSeriesValuesResponse {
5102
+ data: Array<GeotemporalSeriesEntry>;
5103
+ }
4939
5104
  /**
4940
5105
  * Which format to serialize the binary stream in.
4941
5106
  ARROW is more efficient for streaming a large sized response.
@@ -5007,6 +5172,12 @@ export interface StringRegexMatchConstraint {
5007
5172
  regex: string;
5008
5173
  configuredFailureMessage?: string;
5009
5174
  }
5175
+ /**
5176
+ * Log Safety: UNSAFE
5177
+ */
5178
+ export interface StringValue {
5179
+ value: string;
5180
+ }
5010
5181
  /**
5011
5182
  * Log Safety: UNSAFE
5012
5183
  */
@@ -5099,6 +5270,7 @@ export interface StructFieldType {
5099
5270
  apiName: StructFieldApiName;
5100
5271
  rid: StructFieldTypeRid;
5101
5272
  dataType: ObjectPropertyType;
5273
+ typeClasses: Array<TypeClass>;
5102
5274
  }
5103
5275
  /**
5104
5276
  * The unique resource identifier of a struct field, useful for interacting with other Foundry APIs.
@@ -5370,6 +5542,12 @@ export type TimeSeriesValueBankProperty = LooselyBrandedString<"TimeSeriesValueB
5370
5542
  * Log Safety: SAFE
5371
5543
  */
5372
5544
  export type TimeSeriesWindowType = "START" | "END";
5545
+ /**
5546
+ * Log Safety: UNSAFE
5547
+ */
5548
+ export interface TimestampValue {
5549
+ value: string;
5550
+ }
5373
5551
  /**
5374
5552
  * Log Safety: SAFE
5375
5553
  */
@@ -5395,6 +5573,15 @@ export interface TwoDimensionalAggregation {
5395
5573
  keyType: QueryAggregationKeyType;
5396
5574
  valueType: QueryAggregationValueType;
5397
5575
  }
5576
+ /**
5577
+ * Additional metadata that can be interpreted by user applications that interact with the Ontology
5578
+ *
5579
+ * Log Safety: UNSAFE
5580
+ */
5581
+ export interface TypeClass {
5582
+ kind: string;
5583
+ name: string;
5584
+ }
5398
5585
  /**
5399
5586
  * The parameter cannot be evaluated because it depends on another parameter or object set that can't be evaluated.
5400
5587
  This can happen when a parameter's allowed values are defined by another parameter that is missing or invalid.