@osdk/foundry.ontologies 2.45.0 → 2.47.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/build/browser/_components.d.ts +205 -0
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +30 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +3 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/index.js +1 -0
  9. package/build/browser/index.js.map +1 -1
  10. package/build/browser/public/Action.d.ts +2 -0
  11. package/build/browser/public/Action.d.ts.map +1 -1
  12. package/build/browser/public/ActionTypeFullMetadata.d.ts +2 -1
  13. package/build/browser/public/ActionTypeFullMetadata.d.ts.map +1 -1
  14. package/build/browser/public/GeotemporalSeriesProperty.d.ts +41 -0
  15. package/build/browser/public/GeotemporalSeriesProperty.d.ts.map +1 -0
  16. package/build/browser/public/GeotemporalSeriesProperty.js +42 -0
  17. package/build/browser/public/GeotemporalSeriesProperty.js.map +1 -0
  18. package/build/browser/public/ObjectTypeV2.d.ts +23 -0
  19. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  20. package/build/browser/public/ObjectTypeV2.js +19 -0
  21. package/build/browser/public/ObjectTypeV2.js.map +1 -1
  22. package/build/browser/public/OntologyTransaction.d.ts +2 -0
  23. package/build/browser/public/OntologyTransaction.d.ts.map +1 -1
  24. package/build/esm/_components.d.ts +205 -0
  25. package/build/esm/_components.d.ts.map +1 -1
  26. package/build/esm/_errors.d.ts +30 -0
  27. package/build/esm/_errors.d.ts.map +1 -1
  28. package/build/esm/index.d.ts +3 -2
  29. package/build/esm/index.d.ts.map +1 -1
  30. package/build/esm/index.js +1 -0
  31. package/build/esm/index.js.map +1 -1
  32. package/build/esm/public/Action.d.ts +2 -0
  33. package/build/esm/public/Action.d.ts.map +1 -1
  34. package/build/esm/public/ActionTypeFullMetadata.d.ts +2 -1
  35. package/build/esm/public/ActionTypeFullMetadata.d.ts.map +1 -1
  36. package/build/esm/public/GeotemporalSeriesProperty.d.ts +41 -0
  37. package/build/esm/public/GeotemporalSeriesProperty.d.ts.map +1 -0
  38. package/build/esm/public/GeotemporalSeriesProperty.js +42 -0
  39. package/build/esm/public/GeotemporalSeriesProperty.js.map +1 -0
  40. package/build/esm/public/ObjectTypeV2.d.ts +23 -0
  41. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  42. package/build/esm/public/ObjectTypeV2.js +19 -0
  43. package/build/esm/public/ObjectTypeV2.js.map +1 -1
  44. package/build/esm/public/OntologyTransaction.d.ts +2 -0
  45. package/build/esm/public/OntologyTransaction.d.ts.map +1 -1
  46. package/package.json +4 -4
@@ -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
@@ -592,6 +593,8 @@ export interface AnyTermQuery {
592
593
  fuzzy?: Fuzzy;
593
594
  }
594
595
  /**
596
+ * If not specified, defaults to VALIDATE_AND_EXECUTE.
597
+ *
595
598
  * Log Safety: SAFE
596
599
  */
597
600
  export type ApplyActionMode = "VALIDATE_ONLY" | "VALIDATE_AND_EXECUTE";
@@ -907,6 +910,8 @@ export interface BatchedFunctionLogicRule {
907
910
  functionRule: FunctionLogicRule;
908
911
  }
909
912
  /**
913
+ * If not specified, defaults to NONE.
914
+ *
910
915
  * Log Safety: SAFE
911
916
  */
912
917
  export type BatchReturnEditsMode = "ALL" | "NONE";
@@ -917,6 +922,12 @@ export interface BlueprintIcon {
917
922
  color: string;
918
923
  name: string;
919
924
  }
925
+ /**
926
+ * Log Safety: UNSAFE
927
+ */
928
+ export interface BooleanValue {
929
+ value: boolean;
930
+ }
920
931
  /**
921
932
  * The top left and bottom right coordinate points that make up the bounding box.
922
933
  *
@@ -1069,6 +1080,12 @@ export interface CountAggregationV2 {
1069
1080
  export interface CountObjectsResponseV2 {
1070
1081
  count?: number;
1071
1082
  }
1083
+ /**
1084
+ * Log Safety: UNSAFE
1085
+ */
1086
+ export interface CreateEdit {
1087
+ properties: Record<PropertyApiName, PropertyValue>;
1088
+ }
1072
1089
  /**
1073
1090
  * Log Safety: UNSAFE
1074
1091
  */
@@ -1256,6 +1273,12 @@ export interface DatetimeTimezoneStatic {
1256
1273
  */
1257
1274
  export interface DatetimeTimezoneUser {
1258
1275
  }
1276
+ /**
1277
+ * Log Safety: UNSAFE
1278
+ */
1279
+ export interface DateValue {
1280
+ value: string;
1281
+ }
1259
1282
  /**
1260
1283
  * The result of a CipherText decryption. If successful, the plaintext decrypted value will be returned. Otherwise, an error will be thrown.
1261
1284
  *
@@ -1264,6 +1287,12 @@ export interface DatetimeTimezoneUser {
1264
1287
  export interface DecryptionResult {
1265
1288
  plaintext?: Plaintext;
1266
1289
  }
1290
+ /**
1291
+ * Log Safety: UNSAFE
1292
+ */
1293
+ export interface DeleteEdit {
1294
+ previousProperties: Record<PropertyApiName, PropertyValue>;
1295
+ }
1267
1296
  /**
1268
1297
  * Log Safety: UNSAFE
1269
1298
  */
@@ -1437,6 +1466,12 @@ export interface DoesNotIntersectPolygonQuery {
1437
1466
  propertyIdentifier?: PropertyIdentifier;
1438
1467
  value: PolygonValue;
1439
1468
  }
1469
+ /**
1470
+ * Log Safety: UNSAFE
1471
+ */
1472
+ export interface DoubleValue {
1473
+ value: number;
1474
+ }
1440
1475
  /**
1441
1476
  * The vector to search with. The vector must be of the same dimension as the vectors stored in the provided
1442
1477
  propertyIdentifier.
@@ -1472,6 +1507,34 @@ export type DurationFormatStyle = ({
1472
1507
  * Log Safety: SAFE
1473
1508
  */
1474
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";
1475
1538
  /**
1476
1539
  * Log Safety: UNSAFE
1477
1540
  */
@@ -1638,6 +1701,19 @@ export type Fuzzy = boolean;
1638
1701
  * Log Safety: SAFE
1639
1702
  */
1640
1703
  export type FuzzyV2 = boolean;
1704
+ /**
1705
+ * A single geotemporal data point representing the location of an entity at a specific point in time.
1706
+ *
1707
+ * Log Safety: UNSAFE
1708
+ */
1709
+ export interface GeotemporalSeriesEntry {
1710
+ time: string;
1711
+ position: _Geo.GeoPoint;
1712
+ }
1713
+ /**
1714
+ * Log Safety: UNSAFE
1715
+ */
1716
+ export type GeotemporalSeriesProperty = LooselyBrandedString<"GeotemporalSeriesProperty">;
1641
1717
  /**
1642
1718
  * The unique id of a geotime series (track) associated with a GTSR.
1643
1719
  *
@@ -1761,6 +1837,12 @@ export interface InQuery {
1761
1837
  propertyIdentifier?: PropertyIdentifier;
1762
1838
  value: Array<PropertyValue>;
1763
1839
  }
1840
+ /**
1841
+ * Log Safety: UNSAFE
1842
+ */
1843
+ export interface IntegerValue {
1844
+ value: number;
1845
+ }
1764
1846
  /**
1765
1847
  * An interface property type with an additional field to indicate constraints that need to be satisfied by
1766
1848
  implementing object property types.
@@ -1775,6 +1857,7 @@ export interface InterfaceDefinedPropertyType {
1775
1857
  dataType: ObjectPropertyType;
1776
1858
  valueTypeApiName?: ValueTypeApiName;
1777
1859
  requireImplementation: boolean;
1860
+ typeClasses: Array<TypeClass>;
1778
1861
  }
1779
1862
  /**
1780
1863
  * A link type constraint defined at the interface level where the implementation of the links is provided
@@ -1924,6 +2007,7 @@ export interface InterfaceSharedPropertyType {
1924
2007
  valueTypeApiName?: ValueTypeApiName;
1925
2008
  valueFormatting?: PropertyValueFormattingRule;
1926
2009
  required: boolean;
2010
+ typeClasses: Array<TypeClass>;
1927
2011
  }
1928
2012
  /**
1929
2013
  * Represents an implementation of an interface (the mapping of interface property to local property).
@@ -2496,6 +2580,12 @@ export type LogicRuleArgument = ({
2496
2580
  } & ObjectParameterPropertyArgument) | ({
2497
2581
  type: "uniqueIdentifier";
2498
2582
  } & UniqueIdentifierArgument);
2583
+ /**
2584
+ * Log Safety: UNSAFE
2585
+ */
2586
+ export interface LongValue {
2587
+ value: string;
2588
+ }
2499
2589
  /**
2500
2590
  * Returns objects where the specified field is less than or equal to a value.
2501
2591
  *
@@ -2606,6 +2696,14 @@ export interface MinAggregationV2 {
2606
2696
  name?: AggregationMetricName;
2607
2697
  direction?: OrderByDirection;
2608
2698
  }
2699
+ /**
2700
+ * Log Safety: UNSAFE
2701
+ */
2702
+ export interface ModifyEdit {
2703
+ includesAllPreviousValues?: boolean;
2704
+ previousProperties: Record<PropertyApiName, PropertyValue>;
2705
+ properties: Record<PropertyApiName, PropertyValue>;
2706
+ }
2609
2707
  /**
2610
2708
  * Log Safety: UNSAFE
2611
2709
  */
@@ -2916,6 +3014,19 @@ export type ObjectEdit = ({
2916
3014
  } & DeleteLink) | ({
2917
3015
  type: "addLink";
2918
3016
  } & AddLink);
3017
+ /**
3018
+ * Represents a single object edit operation in the history. This captures when an object was
3019
+ created, modified, or deleted as part of an action execution.
3020
+ *
3021
+ * Log Safety: UNSAFE
3022
+ */
3023
+ export interface ObjectEditHistoryEntry {
3024
+ operationId: ActionRid;
3025
+ actionTypeRid: ActionTypeRid;
3026
+ userId: string;
3027
+ timestamp: string;
3028
+ edit: EditHistoryEdit;
3029
+ }
2919
3030
  /**
2920
3031
  * Log Safety: UNSAFE
2921
3032
  */
@@ -2957,6 +3068,10 @@ export interface ObjectParameterPropertyArgument {
2957
3068
  * Log Safety: UNSAFE
2958
3069
  */
2959
3070
  export type ObjectPrimaryKey = Record<PropertyApiName, PropertyValue>;
3071
+ /**
3072
+ * Log Safety: UNSAFE
3073
+ */
3074
+ export type ObjectPrimaryKeyV2 = Record<PropertyApiName, PrimaryKeyValueV2>;
2960
3075
  /**
2961
3076
  * A union of all the types supported by Ontology Object properties.
2962
3077
  *
@@ -3280,6 +3395,32 @@ export type ObjectTypeApiName = LooselyBrandedString<"ObjectTypeApiName">;
3280
3395
  export interface ObjectTypeEdits {
3281
3396
  editedObjectTypes: Array<ObjectTypeApiName>;
3282
3397
  }
3398
+ /**
3399
+ * Request object for querying object type edits history, containing both filters and pagination parameters
3400
+ If objectPrimaryKey property is set, the method will return edits history for the particular object.
3401
+ Otherwise, the method will return edits history for all objects of this object type.
3402
+ *
3403
+ * Log Safety: UNSAFE
3404
+ */
3405
+ export interface ObjectTypeEditsHistoryRequest {
3406
+ objectPrimaryKey?: ObjectPrimaryKeyV2;
3407
+ filters?: EditsHistoryFilters;
3408
+ sortOrder?: EditsHistorySortOrder;
3409
+ includeAllPreviousProperties?: boolean;
3410
+ pageSize?: number;
3411
+ pageToken?: string;
3412
+ }
3413
+ /**
3414
+ * Response containing the history of edits for objects of a specific object type.
3415
+ Only contains object edits (create, modify, delete) - link edits are not included.
3416
+ *
3417
+ * Log Safety: UNSAFE
3418
+ */
3419
+ export interface ObjectTypeEditsHistoryResponse {
3420
+ data: Array<ObjectEditHistoryEntry>;
3421
+ totalCount?: number;
3422
+ nextPageToken?: string;
3423
+ }
3283
3424
  /**
3284
3425
  * Log Safety: UNSAFE
3285
3426
  */
@@ -3300,6 +3441,8 @@ export type ObjectTypeId = LooselyBrandedString<"ObjectTypeId">;
3300
3441
  * Log Safety: UNSAFE
3301
3442
  */
3302
3443
  export interface ObjectTypeInterfaceImplementation {
3444
+ apiName?: InterfaceTypeApiName;
3445
+ rid?: InterfaceTypeRid;
3303
3446
  properties: Record<SharedPropertyTypeApiName, PropertyApiName>;
3304
3447
  propertiesV2: Record<InterfacePropertyApiName, InterfacePropertyTypeImplementation>;
3305
3448
  links: Record<InterfaceLinkTypeApiName, Array<LinkTypeApiName>>;
@@ -3581,6 +3724,10 @@ export interface OntologyValueType {
3581
3724
  version: string;
3582
3725
  constraints: Array<ValueTypeConstraint>;
3583
3726
  }
3727
+ /**
3728
+ * Log Safety: SAFE
3729
+ */
3730
+ export type OntologyVersion = string;
3584
3731
  /**
3585
3732
  * A command representing the list of properties to order by. Properties should be delimited by commas and
3586
3733
  prefixed by p or properties. The format expected format is
@@ -3773,6 +3920,24 @@ export interface PrefixQuery {
3773
3920
  * Log Safety: UNSAFE
3774
3921
  */
3775
3922
  export type PrimaryKeyValue = any;
3923
+ /**
3924
+ * Log Safety: UNSAFE
3925
+ */
3926
+ export type PrimaryKeyValueV2 = ({
3927
+ type: "dateValue";
3928
+ } & DateValue) | ({
3929
+ type: "stringValue";
3930
+ } & StringValue) | ({
3931
+ type: "timestampValue";
3932
+ } & TimestampValue) | ({
3933
+ type: "booleanValue";
3934
+ } & BooleanValue) | ({
3935
+ type: "integerValue";
3936
+ } & IntegerValue) | ({
3937
+ type: "doubleValue";
3938
+ } & DoubleValue) | ({
3939
+ type: "longValue";
3940
+ } & LongValue);
3776
3941
  /**
3777
3942
  * Details about some property of an object.
3778
3943
  *
@@ -3988,6 +4153,8 @@ export type PropertyTypeReferenceOrStringConstant = ({
3988
4153
  type: "propertyType";
3989
4154
  } & PropertyTypeReference);
3990
4155
  /**
4156
+ * The unique resource identifier of a property.
4157
+ *
3991
4158
  * Log Safety: SAFE
3992
4159
  */
3993
4160
  export type PropertyTypeRid = LooselyBrandedString<"PropertyTypeRid">;
@@ -4023,6 +4190,7 @@ export interface PropertyV2 {
4023
4190
  visibility?: PropertyTypeVisibility;
4024
4191
  valueTypeApiName?: ValueTypeApiName;
4025
4192
  valueFormatting?: PropertyValueFormattingRule;
4193
+ typeClasses: Array<TypeClass>;
4026
4194
  }
4027
4195
  /**
4028
4196
  * Represents the value of a property in the following format.
@@ -4498,6 +4666,8 @@ export interface ResolvedInterfacePropertyType {
4498
4666
  requireImplementation: boolean;
4499
4667
  }
4500
4668
  /**
4669
+ * If not specified, defaults to NONE.
4670
+ *
4501
4671
  * Log Safety: SAFE
4502
4672
  */
4503
4673
  export type ReturnEditsMode = "ALL" | "ALL_V2_WITH_DELETIONS" | "NONE";
@@ -4883,6 +5053,7 @@ export interface SharedPropertyType {
4883
5053
  dataType: ObjectPropertyType;
4884
5054
  valueTypeApiName?: ValueTypeApiName;
4885
5055
  valueFormatting?: PropertyValueFormattingRule;
5056
+ typeClasses: Array<TypeClass>;
4886
5057
  }
4887
5058
  /**
4888
5059
  * The name of the shared property type in the API in lowerCamelCase format. To find the API name for your
@@ -4917,6 +5088,18 @@ export interface StartsWithQuery {
4917
5088
  export interface StaticArgument {
4918
5089
  value: DataValue;
4919
5090
  }
5091
+ /**
5092
+ * Log Safety: UNSAFE
5093
+ */
5094
+ export interface StreamGeotemporalSeriesValuesRequest {
5095
+ range?: TimeRange;
5096
+ }
5097
+ /**
5098
+ * Log Safety: UNSAFE
5099
+ */
5100
+ export interface StreamGeotemporalSeriesValuesResponse {
5101
+ data: Array<GeotemporalSeriesEntry>;
5102
+ }
4920
5103
  /**
4921
5104
  * Which format to serialize the binary stream in.
4922
5105
  ARROW is more efficient for streaming a large sized response.
@@ -4988,6 +5171,12 @@ export interface StringRegexMatchConstraint {
4988
5171
  regex: string;
4989
5172
  configuredFailureMessage?: string;
4990
5173
  }
5174
+ /**
5175
+ * Log Safety: UNSAFE
5176
+ */
5177
+ export interface StringValue {
5178
+ value: string;
5179
+ }
4991
5180
  /**
4992
5181
  * Log Safety: UNSAFE
4993
5182
  */
@@ -5080,6 +5269,7 @@ export interface StructFieldType {
5080
5269
  apiName: StructFieldApiName;
5081
5270
  rid: StructFieldTypeRid;
5082
5271
  dataType: ObjectPropertyType;
5272
+ typeClasses: Array<TypeClass>;
5083
5273
  }
5084
5274
  /**
5085
5275
  * The unique resource identifier of a struct field, useful for interacting with other Foundry APIs.
@@ -5351,6 +5541,12 @@ export type TimeSeriesValueBankProperty = LooselyBrandedString<"TimeSeriesValueB
5351
5541
  * Log Safety: SAFE
5352
5542
  */
5353
5543
  export type TimeSeriesWindowType = "START" | "END";
5544
+ /**
5545
+ * Log Safety: UNSAFE
5546
+ */
5547
+ export interface TimestampValue {
5548
+ value: string;
5549
+ }
5354
5550
  /**
5355
5551
  * Log Safety: SAFE
5356
5552
  */
@@ -5376,6 +5572,15 @@ export interface TwoDimensionalAggregation {
5376
5572
  keyType: QueryAggregationKeyType;
5377
5573
  valueType: QueryAggregationValueType;
5378
5574
  }
5575
+ /**
5576
+ * Additional metadata that can be interpreted by user applications that interact with the Ontology
5577
+ *
5578
+ * Log Safety: UNSAFE
5579
+ */
5580
+ export interface TypeClass {
5581
+ kind: string;
5582
+ name: string;
5583
+ }
5379
5584
  /**
5380
5585
  * The parameter cannot be evaluated because it depends on another parameter or object set that can't be evaluated.
5381
5586
  This can happen when a parameter's allowed values are defined by another parameter that is missing or invalid.