@osdk/foundry.ontologies 2.59.0 → 2.61.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 (68) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/build/browser/_components.d.ts +208 -23
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +55 -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 +29 -0
  11. package/build/browser/public/Action.d.ts.map +1 -1
  12. package/build/browser/public/Action.js +21 -0
  13. package/build/browser/public/Action.js.map +1 -1
  14. package/build/browser/public/ActionTypeV2.d.ts +1 -0
  15. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  16. package/build/browser/public/CipherTextProperty.d.ts +1 -1
  17. package/build/browser/public/CipherTextProperty.js +1 -1
  18. package/build/browser/public/CipherTextProperty.js.map +1 -1
  19. package/build/browser/public/GeotemporalSeriesProperty.d.ts +17 -22
  20. package/build/browser/public/GeotemporalSeriesProperty.d.ts.map +1 -1
  21. package/build/browser/public/GeotemporalSeriesProperty.js +14 -15
  22. package/build/browser/public/GeotemporalSeriesProperty.js.map +1 -1
  23. package/build/browser/public/ObjectTypeV2.d.ts +3 -0
  24. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  25. package/build/browser/public/OntologyObjectSet.d.ts +4 -0
  26. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  27. package/build/browser/public/OntologyScenario.d.ts +103 -0
  28. package/build/browser/public/OntologyScenario.d.ts.map +1 -0
  29. package/build/browser/public/OntologyScenario.js +104 -0
  30. package/build/browser/public/OntologyScenario.js.map +1 -0
  31. package/build/browser/public/Query.d.ts +1 -0
  32. package/build/browser/public/Query.d.ts.map +1 -1
  33. package/build/browser/public/QueryType.d.ts +1 -0
  34. package/build/browser/public/QueryType.d.ts.map +1 -1
  35. package/build/esm/_components.d.ts +208 -23
  36. package/build/esm/_components.d.ts.map +1 -1
  37. package/build/esm/_errors.d.ts +55 -0
  38. package/build/esm/_errors.d.ts.map +1 -1
  39. package/build/esm/index.d.ts +3 -2
  40. package/build/esm/index.d.ts.map +1 -1
  41. package/build/esm/index.js +1 -0
  42. package/build/esm/index.js.map +1 -1
  43. package/build/esm/public/Action.d.ts +29 -0
  44. package/build/esm/public/Action.d.ts.map +1 -1
  45. package/build/esm/public/Action.js +21 -0
  46. package/build/esm/public/Action.js.map +1 -1
  47. package/build/esm/public/ActionTypeV2.d.ts +1 -0
  48. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  49. package/build/esm/public/CipherTextProperty.d.ts +1 -1
  50. package/build/esm/public/CipherTextProperty.js +1 -1
  51. package/build/esm/public/CipherTextProperty.js.map +1 -1
  52. package/build/esm/public/GeotemporalSeriesProperty.d.ts +17 -22
  53. package/build/esm/public/GeotemporalSeriesProperty.d.ts.map +1 -1
  54. package/build/esm/public/GeotemporalSeriesProperty.js +14 -15
  55. package/build/esm/public/GeotemporalSeriesProperty.js.map +1 -1
  56. package/build/esm/public/ObjectTypeV2.d.ts +3 -0
  57. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  58. package/build/esm/public/OntologyObjectSet.d.ts +4 -0
  59. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  60. package/build/esm/public/OntologyScenario.d.ts +103 -0
  61. package/build/esm/public/OntologyScenario.d.ts.map +1 -0
  62. package/build/esm/public/OntologyScenario.js +104 -0
  63. package/build/esm/public/OntologyScenario.js.map +1 -0
  64. package/build/esm/public/Query.d.ts +1 -0
  65. package/build/esm/public/Query.d.ts.map +1 -1
  66. package/build/esm/public/QueryType.d.ts +1 -0
  67. package/build/esm/public/QueryType.d.ts.map +1 -1
  68. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @osdk/foundry.ontologies
2
2
 
3
+ ## 2.61.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @osdk/foundry.core@2.61.0
8
+ - @osdk/foundry.geo@2.61.0
9
+
10
+ ## 2.60.0
11
+
12
+ ### Minor Changes
13
+
14
+ - d5fa4f1: regenerate platform sdk
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [d5fa4f1]
19
+ - @osdk/foundry.core@2.60.0
20
+ - @osdk/foundry.geo@2.60.0
21
+
3
22
  ## 2.59.0
4
23
 
5
24
  ### Minor Changes
@@ -61,7 +61,9 @@ export type ActionLogicRule = ({
61
61
  type: "createInterfaceLink";
62
62
  } & CreateInterfaceLinkLogicRule) | ({
63
63
  type: "createInterface";
64
- } & CreateInterfaceLogicRule);
64
+ } & CreateInterfaceLogicRule) | ({
65
+ type: "applyScenario";
66
+ } & ApplyScenarioLogicRule);
65
67
  /**
66
68
  * Log Safety: SAFE
67
69
  */
@@ -100,6 +102,8 @@ export type ActionParameterType = ({
100
102
  } & _Core.BooleanType) | ({
101
103
  type: "marking";
102
104
  } & _Core.MarkingType) | ({
105
+ type: "scenarioReference";
106
+ } & _Core.ScenarioReferenceType) | ({
103
107
  type: "attachment";
104
108
  } & _Core.AttachmentType) | ({
105
109
  type: "mediaReference";
@@ -257,6 +261,7 @@ export interface AggregateObjectSetRequestV2 {
257
261
  groupBy: Array<AggregationGroupByV2>;
258
262
  accuracy?: AggregationAccuracyRequest;
259
263
  includeComputeUsage?: _Core.IncludeComputeUsage;
264
+ executeInMemoryOnly?: boolean;
260
265
  }
261
266
  /**
262
267
  * Log Safety: UNSAFE
@@ -667,6 +672,35 @@ export interface ApplyReducersAndExtractMainValueLoadLevel {
667
672
  */
668
673
  export interface ApplyReducersLoadLevel {
669
674
  }
675
+ /**
676
+ * An Action rule that merges the edits accumulated on a referenced Scenario into the ontology data context
677
+ where the Action is applied. If the Action is applied against another Scenario, the edits are merged into
678
+ that target Scenario.
679
+ The scenario is supplied through the parameter identified by scenarioParameter, whose value type is
680
+ scenarioReference. The affected object types and link types are explicitly enumerated in the scope.
681
+ *
682
+ * Log Safety: UNSAFE
683
+ */
684
+ export interface ApplyScenarioLogicRule {
685
+ scenarioParameter: ParameterId;
686
+ objectTypeApiNames: Array<ObjectTypeApiName>;
687
+ linkTypes: Array<ObjectTypeLinkTypeApiNameMapping>;
688
+ }
689
+ /**
690
+ * An Action rule that applies the edits accumulated on a referenced Scenario onto the ontology data context
691
+ where the Action is applied. If the Action is applied in the context of main ontology data, the edits are
692
+ applied there. If the Action is applied in the context of another Scenario, the edits are applied in that
693
+ other Scenario.
694
+ The scenario is supplied through the parameter identified by scenarioParameter of type
695
+ scenarioReference. The affected object types and link types are explicitly enumerated in the scope.
696
+ *
697
+ * Log Safety: UNSAFE
698
+ */
699
+ export interface ApplyScenarioRule {
700
+ scenarioParameter: ParameterId;
701
+ objectTypeApiNames: Array<ObjectTypeApiName>;
702
+ linkTypes: Array<ObjectTypeLinkTypeApiNameMapping>;
703
+ }
670
704
  /**
671
705
  * Computes an approximate number of distinct values for the provided field.
672
706
  *
@@ -900,6 +934,13 @@ export interface BatchApplyActionRequest {
900
934
  export interface BatchApplyActionRequestItem {
901
935
  parameters: Record<ParameterId, DataValue | undefined>;
902
936
  }
937
+ /**
938
+ * Log Safety: UNSAFE
939
+ */
940
+ export interface BatchApplyActionRequestItemWithOverrides {
941
+ parameters: Record<ParameterId, DataValue | undefined>;
942
+ overrides?: ApplyActionOverrides;
943
+ }
903
944
  /**
904
945
  * Log Safety: SAFE
905
946
  */
@@ -924,6 +965,13 @@ export interface BatchApplyActionResponse {
924
965
  export interface BatchApplyActionResponseV2 {
925
966
  edits?: BatchActionResults;
926
967
  }
968
+ /**
969
+ * Log Safety: UNSAFE
970
+ */
971
+ export interface BatchApplyActionWithOverridesRequest {
972
+ options?: BatchApplyActionRequestOptions;
973
+ requests: Array<BatchApplyActionRequestItemWithOverrides>;
974
+ }
927
975
  /**
928
976
  * Log Safety: UNSAFE
929
977
  */
@@ -1163,6 +1211,22 @@ export interface CreateObjectLogicRule {
1163
1211
  export interface CreateObjectRule {
1164
1212
  objectTypeApiName: ObjectTypeApiName;
1165
1213
  }
1214
+ /**
1215
+ * The request payload for creating an ontology scenario.
1216
+ *
1217
+ * Log Safety: UNSAFE
1218
+ */
1219
+ export interface CreateOntologyScenarioRequest {
1220
+ base?: OntologyBase;
1221
+ }
1222
+ /**
1223
+ * The response payload for creating an ontology scenario.
1224
+ *
1225
+ * Log Safety: SAFE
1226
+ */
1227
+ export interface CreateOntologyScenarioResponse {
1228
+ scenarioRid: OntologyScenarioRid;
1229
+ }
1166
1230
  /**
1167
1231
  * Log Safety: UNSAFE
1168
1232
  */
@@ -1233,6 +1297,7 @@ export type CustomTypeId = LooselyBrandedString<"CustomTypeId">;
1233
1297
  | Ontology Object Reference | JSON encoding of the object's primary key | 10033123 or "EMP1234" |
1234
1298
  | Ontology Interface Object Reference | JSON encoding of the object's API name and primary key| {"objectTypeApiName":"Employee", "primaryKeyValue":"EMP1234"} |
1235
1299
  | Ontology Object Type Reference | string of the object type's api name | "Employee" |
1300
+ | Scenario Reference | string of the scenario RID | "ri.actions..scenario.cf2a8a49-8b56-446d-ab04-a6bc7fadef48" |
1236
1301
  | Set | array | ["alpha", "bravo", "charlie"] |
1237
1302
  | Short | number | 8739 |
1238
1303
  | String | string | "Call me Ishmael" |
@@ -1782,14 +1847,13 @@ export interface GeoShapeV2Query {
1782
1847
  spatialFilterMode: SpatialFilterMode;
1783
1848
  }
1784
1849
  /**
1785
- * A single geotemporal data point representing the location of an entity at a specific point in time.
1786
- *
1787
- * Log Safety: UNSAFE
1788
- */
1789
- export interface GeotemporalSeriesEntry {
1790
- time: string;
1791
- position: _Geo.GeoPoint;
1792
- }
1850
+ * A single geotemporal data point. Each entry is a map from property API names to property values. Standard
1851
+ entries include "time" (ISO 8601 timestamp) and "position" (GeoPoint), and may include additional geotemporal
1852
+ series metadata fields such as speed, heading, or altitude.
1853
+ *
1854
+ * Log Safety: UNSAFE
1855
+ */
1856
+ export type GeotemporalSeriesEntry = Record<PropertyApiName, PropertyValue>;
1793
1857
  /**
1794
1858
  * Log Safety: UNSAFE
1795
1859
  */
@@ -2552,6 +2616,80 @@ export interface ListQueryTypesResponseV2 {
2552
2616
  nextPageToken?: _Core.PageToken;
2553
2617
  data: Array<QueryTypeV2>;
2554
2618
  }
2619
+ /**
2620
+ * The object types and link types that have been modified within a scenario.
2621
+ *
2622
+ * Log Safety: UNSAFE
2623
+ */
2624
+ export interface ListScenarioEditedEntityTypesResponse {
2625
+ objectTypes: Array<ObjectTypeApiName>;
2626
+ linkTypes: Array<ObjectTypeLinkTypeApiNameMapping>;
2627
+ }
2628
+ /**
2629
+ * The linked objects that have been edited within a scenario for a given link type, grouped by source object.
2630
+ *
2631
+ * Log Safety: UNSAFE
2632
+ */
2633
+ export interface ListScenarioEditedLinksResponse {
2634
+ data: Array<LinksFromObject>;
2635
+ nextPageToken?: _Core.PageToken;
2636
+ }
2637
+ /**
2638
+ * The link types that have been modified within a scenario.
2639
+ *
2640
+ * Log Safety: UNSAFE
2641
+ */
2642
+ export interface ListScenarioEditedLinkTypesResponse {
2643
+ data: Array<LinkTypeApiName>;
2644
+ }
2645
+ /**
2646
+ * The objects that have been edited within a scenario for a given object type.
2647
+ The Ontology Objects in this response will only ever have the __primaryKey and __apiName
2648
+ fields present, thus functioning as object locators rather than full objects.
2649
+ *
2650
+ * Log Safety: UNSAFE
2651
+ */
2652
+ export interface ListScenarioEditedObjectsResponse {
2653
+ data: Array<OntologyObjectV2>;
2654
+ nextPageToken?: _Core.PageToken;
2655
+ }
2656
+ /**
2657
+ * The object types that have been modified within a scenario.
2658
+ *
2659
+ * Log Safety: UNSAFE
2660
+ */
2661
+ export interface ListScenarioEditedObjectTypesResponse {
2662
+ data: Array<ObjectTypeApiName>;
2663
+ }
2664
+ /**
2665
+ * The request body for loading entries from a geotemporal series reference property.
2666
+ A geotemporal series represents time-indexed geographic observations for an object, such as the location history
2667
+ of a vehicle or aircraft. Each entry in the response is a map of property names to values, following the same
2668
+ structure as OntologyObjectV2.
2669
+ The range field is required and restricts results to a specific time window. Both startTime and endTime
2670
+ are required on range. The additionalProperties field controls which additional properties appear in each
2671
+ returned entry. Results are paginated; use pageToken from a previous response to retrieve additional pages.
2672
+ *
2673
+ * Log Safety: UNSAFE
2674
+ */
2675
+ export interface LoadGeotemporalSeriesRequest {
2676
+ range: AbsoluteTimeRange;
2677
+ additionalProperties: Array<SelectedPropertyApiName>;
2678
+ pageToken?: _Core.PageToken;
2679
+ pageSize?: _Core.PageSize;
2680
+ }
2681
+ /**
2682
+ * The response when loading entries from a geotemporal series reference property.
2683
+ Each entry in data is a map of property names to values containing the fields requested via
2684
+ additionalProperties in the corresponding LoadGeotemporalSeriesRequest. If nextPageToken is present,
2685
+ additional entries are available and can be retrieved by passing the token in a subsequent request.
2686
+ *
2687
+ * Log Safety: UNSAFE
2688
+ */
2689
+ export interface LoadGeotemporalSeriesResponse {
2690
+ data: Array<GeotemporalSeriesEntry>;
2691
+ nextPageToken?: _Core.PageToken;
2692
+ }
2555
2693
  /**
2556
2694
  * Log Safety: UNSAFE
2557
2695
  */
@@ -2560,6 +2698,7 @@ export interface LoadObjectSetLinksRequestV2 {
2560
2698
  links: Array<LinkTypeApiName>;
2561
2699
  pageToken?: _Core.PageToken;
2562
2700
  includeComputeUsage?: _Core.IncludeComputeUsage;
2701
+ executeInMemoryOnly?: boolean;
2563
2702
  }
2564
2703
  /**
2565
2704
  * Log Safety: UNSAFE
@@ -2652,6 +2791,7 @@ export interface LoadObjectSetV2ObjectsOrInterfacesRequest {
2652
2791
  pageSize?: _Core.PageSize;
2653
2792
  excludeRid?: boolean;
2654
2793
  snapshot?: boolean;
2794
+ executeInMemoryOnly?: boolean;
2655
2795
  }
2656
2796
  /**
2657
2797
  * Represents the API response when loading an ObjectSet. Objects in the returned set can either have properties
@@ -2696,7 +2836,9 @@ export type LogicRule = ({
2696
2836
  type: "createObject";
2697
2837
  } & CreateObjectRule) | ({
2698
2838
  type: "createLink";
2699
- } & CreateLinkRule);
2839
+ } & CreateLinkRule) | ({
2840
+ type: "applyScenario";
2841
+ } & ApplyScenarioRule);
2700
2842
  /**
2701
2843
  * Represents an argument for a logic rule operation. An argument can be passed in via the action parameters, as a static value, or as some other value.
2702
2844
  *
@@ -3591,6 +3733,16 @@ export interface ObjectTypeInterfaceImplementation {
3591
3733
  propertiesV2: Record<InterfacePropertyApiName, InterfacePropertyTypeImplementation>;
3592
3734
  links: Record<InterfaceLinkTypeApiName, Array<LinkTypeApiName>>;
3593
3735
  }
3736
+ /**
3737
+ * Groups link type API names by the object type they're scoped to. Link type API names are only unique within
3738
+ an object type, so this pairing is required to identify a link type unambiguously.
3739
+ *
3740
+ * Log Safety: UNSAFE
3741
+ */
3742
+ export interface ObjectTypeLinkTypeApiNameMapping {
3743
+ objectTypeApiName: ObjectTypeApiName;
3744
+ linkTypes: Array<LinkTypeApiName>;
3745
+ }
3594
3746
  /**
3595
3747
  * The unique resource identifier of an object type, useful for interacting with other Foundry APIs.
3596
3748
  *
@@ -3658,6 +3810,22 @@ export type OntologyApiName = LooselyBrandedString<"OntologyApiName">;
3658
3810
  export interface OntologyArrayType {
3659
3811
  itemType: OntologyDataType;
3660
3812
  }
3813
+ /**
3814
+ * The base used to initialize a scenario.
3815
+ *
3816
+ * Log Safety: UNSAFE
3817
+ */
3818
+ export type OntologyBase = {
3819
+ type: "branch";
3820
+ } & OntologyBaseBranch;
3821
+ /**
3822
+ * A branch reference used to initialize a scenario.
3823
+ *
3824
+ * Log Safety: SAFE
3825
+ */
3826
+ export interface OntologyBaseBranch {
3827
+ branch: _Core.FoundryBranch;
3828
+ }
3661
3829
  /**
3662
3830
  * A union of all the primitive types used by Palantir's Ontology-based products.
3663
3831
  *
@@ -3816,6 +3984,16 @@ List ontologies endpoint or check the Ontology Manager.
3816
3984
  * Log Safety: SAFE
3817
3985
  */
3818
3986
  export type OntologyRid = LooselyBrandedString<"OntologyRid">;
3987
+ /**
3988
+ * Log Safety: UNSAFE
3989
+ */
3990
+ export type OntologyScenario = LooselyBrandedString<"OntologyScenario">;
3991
+ /**
3992
+ * The unique resource identifier of an ontology scenario.
3993
+ *
3994
+ * Log Safety: SAFE
3995
+ */
3996
+ export type OntologyScenarioRid = LooselyBrandedString<"OntologyScenarioRid">;
3819
3997
  /**
3820
3998
  * Log Safety: UNSAFE
3821
3999
  */
@@ -4060,6 +4238,13 @@ export interface PrefixQuery {
4060
4238
  field: FieldNameV1;
4061
4239
  value: string;
4062
4240
  }
4241
+ /**
4242
+ * Specifies the primary key property of an object type which is present on all object types.
4243
+ *
4244
+ * Log Safety: SAFE
4245
+ */
4246
+ export interface PrimaryKeyPropertySelector {
4247
+ }
4063
4248
  /**
4064
4249
  * Represents the primary key value that is used as a unique identifier for an object.
4065
4250
  *
@@ -4173,7 +4358,11 @@ export type PropertyIdentifier = ({
4173
4358
  type: "structField";
4174
4359
  } & StructFieldSelector) | ({
4175
4360
  type: "propertyWithLoadLevel";
4176
- } & PropertyWithLoadLevelSelector);
4361
+ } & PropertyWithLoadLevelSelector) | ({
4362
+ type: "titleProperty";
4363
+ } & TitlePropertySelector) | ({
4364
+ type: "primaryKeyProperty";
4365
+ } & PrimaryKeyPropertySelector);
4177
4366
  /**
4178
4367
  * Log Safety: UNSAFE
4179
4368
  */
@@ -5011,6 +5200,7 @@ export interface SearchObjectsRequestV2 {
5011
5200
  selectV2: Array<PropertyIdentifier>;
5012
5201
  excludeRid?: boolean;
5013
5202
  snapshot?: boolean;
5203
+ executeInMemoryOnly?: boolean;
5014
5204
  }
5015
5205
  /**
5016
5206
  * Log Safety: UNSAFE
@@ -5281,18 +5471,6 @@ export interface StartsWithQuery {
5281
5471
  export interface StaticArgument {
5282
5472
  value: DataValue;
5283
5473
  }
5284
- /**
5285
- * Log Safety: UNSAFE
5286
- */
5287
- export interface StreamGeotemporalSeriesValuesRequest {
5288
- range?: TimeRange;
5289
- }
5290
- /**
5291
- * Log Safety: UNSAFE
5292
- */
5293
- export interface StreamGeotemporalSeriesValuesResponse {
5294
- data: Array<GeotemporalSeriesEntry>;
5295
- }
5296
5474
  /**
5297
5475
  * Which format to serialize the binary stream in.
5298
5476
  ARROW is more efficient for streaming a large sized response.
@@ -5747,6 +5925,13 @@ export interface TimestampValue {
5747
5925
  * Log Safety: SAFE
5748
5926
  */
5749
5927
  export type TimeUnit = "MILLISECONDS" | "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | "QUARTERS";
5928
+ /**
5929
+ * Specifies the title property of an object type which is present on all object types.
5930
+ *
5931
+ * Log Safety: SAFE
5932
+ */
5933
+ export interface TitlePropertySelector {
5934
+ }
5750
5935
  /**
5751
5936
  * Log Safety: UNSAFE
5752
5937
  */