@osdk/internal.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @osdk/internal.foundry.ontologies
2
2
 
3
+ ## 2.61.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @osdk/internal.foundry.core@2.61.0
8
+ - @osdk/internal.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/internal.foundry.core@2.60.0
20
+ - @osdk/internal.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
  *
@@ -3585,6 +3727,16 @@ export interface ObjectTypeInterfaceImplementation {
3585
3727
  propertiesV2: Record<InterfacePropertyApiName, InterfacePropertyTypeImplementation>;
3586
3728
  links: Record<InterfaceLinkTypeApiName, Array<LinkTypeApiName>>;
3587
3729
  }
3730
+ /**
3731
+ * Groups link type API names by the object type they're scoped to. Link type API names are only unique within
3732
+ an object type, so this pairing is required to identify a link type unambiguously.
3733
+ *
3734
+ * Log Safety: UNSAFE
3735
+ */
3736
+ export interface ObjectTypeLinkTypeApiNameMapping {
3737
+ objectTypeApiName: ObjectTypeApiName;
3738
+ linkTypes: Array<LinkTypeApiName>;
3739
+ }
3588
3740
  /**
3589
3741
  * The unique resource identifier of an object type, useful for interacting with other Foundry APIs.
3590
3742
  *
@@ -3652,6 +3804,22 @@ export type OntologyApiName = LooselyBrandedString<"OntologyApiName">;
3652
3804
  export interface OntologyArrayType {
3653
3805
  itemType: OntologyDataType;
3654
3806
  }
3807
+ /**
3808
+ * The base used to initialize a scenario.
3809
+ *
3810
+ * Log Safety: UNSAFE
3811
+ */
3812
+ export type OntologyBase = {
3813
+ type: "branch";
3814
+ } & OntologyBaseBranch;
3815
+ /**
3816
+ * A branch reference used to initialize a scenario.
3817
+ *
3818
+ * Log Safety: SAFE
3819
+ */
3820
+ export interface OntologyBaseBranch {
3821
+ branch: _Core.FoundryBranch;
3822
+ }
3655
3823
  /**
3656
3824
  * A union of all the primitive types used by Palantir's Ontology-based products.
3657
3825
  *
@@ -3810,6 +3978,16 @@ List ontologies endpoint or check the Ontology Manager.
3810
3978
  * Log Safety: SAFE
3811
3979
  */
3812
3980
  export type OntologyRid = LooselyBrandedString<"OntologyRid">;
3981
+ /**
3982
+ * Log Safety: UNSAFE
3983
+ */
3984
+ export type OntologyScenario = LooselyBrandedString<"OntologyScenario">;
3985
+ /**
3986
+ * The unique resource identifier of an ontology scenario.
3987
+ *
3988
+ * Log Safety: SAFE
3989
+ */
3990
+ export type OntologyScenarioRid = LooselyBrandedString<"OntologyScenarioRid">;
3813
3991
  /**
3814
3992
  * Log Safety: UNSAFE
3815
3993
  */
@@ -4054,6 +4232,13 @@ export interface PrefixQuery {
4054
4232
  field: FieldNameV1;
4055
4233
  value: string;
4056
4234
  }
4235
+ /**
4236
+ * Specifies the primary key property of an object type which is present on all object types.
4237
+ *
4238
+ * Log Safety: SAFE
4239
+ */
4240
+ export interface PrimaryKeyPropertySelector {
4241
+ }
4057
4242
  /**
4058
4243
  * Represents the primary key value that is used as a unique identifier for an object.
4059
4244
  *
@@ -4167,7 +4352,11 @@ export type PropertyIdentifier = ({
4167
4352
  type: "structField";
4168
4353
  } & StructFieldSelector) | ({
4169
4354
  type: "propertyWithLoadLevel";
4170
- } & PropertyWithLoadLevelSelector);
4355
+ } & PropertyWithLoadLevelSelector) | ({
4356
+ type: "titleProperty";
4357
+ } & TitlePropertySelector) | ({
4358
+ type: "primaryKeyProperty";
4359
+ } & PrimaryKeyPropertySelector);
4171
4360
  /**
4172
4361
  * Log Safety: UNSAFE
4173
4362
  */
@@ -5009,6 +5198,7 @@ export interface SearchObjectsRequestV2 {
5009
5198
  selectV2: Array<PropertyIdentifier>;
5010
5199
  excludeRid?: boolean;
5011
5200
  snapshot?: boolean;
5201
+ executeInMemoryOnly?: boolean;
5012
5202
  }
5013
5203
  /**
5014
5204
  * Log Safety: UNSAFE
@@ -5279,18 +5469,6 @@ export interface StartsWithQuery {
5279
5469
  export interface StaticArgument {
5280
5470
  value: DataValue;
5281
5471
  }
5282
- /**
5283
- * Log Safety: UNSAFE
5284
- */
5285
- export interface StreamGeotemporalSeriesValuesRequest {
5286
- range?: TimeRange;
5287
- }
5288
- /**
5289
- * Log Safety: UNSAFE
5290
- */
5291
- export interface StreamGeotemporalSeriesValuesResponse {
5292
- data: Array<GeotemporalSeriesEntry>;
5293
- }
5294
5472
  /**
5295
5473
  * Which format to serialize the binary stream in.
5296
5474
  ARROW is more efficient for streaming a large sized response.
@@ -5745,6 +5923,13 @@ export interface TimestampValue {
5745
5923
  * Log Safety: SAFE
5746
5924
  */
5747
5925
  export type TimeUnit = "MILLISECONDS" | "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | "QUARTERS";
5926
+ /**
5927
+ * Specifies the title property of an object type which is present on all object types.
5928
+ *
5929
+ * Log Safety: SAFE
5930
+ */
5931
+ export interface TitlePropertySelector {
5932
+ }
5748
5933
  /**
5749
5934
  * Log Safety: UNSAFE
5750
5935
  */