@osdk/foundry.ontologies 2.43.0 → 2.45.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 (38) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/build/browser/_components.d.ts +243 -4
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +117 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +2 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/public/Action.d.ts +19 -0
  9. package/build/browser/public/Action.d.ts.map +1 -1
  10. package/build/browser/public/Action.js +13 -0
  11. package/build/browser/public/Action.js.map +1 -1
  12. package/build/browser/public/OntologyInterface.d.ts +2 -0
  13. package/build/browser/public/OntologyInterface.d.ts.map +1 -1
  14. package/build/browser/public/OntologyObjectSet.d.ts +11 -1
  15. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  16. package/build/browser/public/OntologyObjectSet.js +10 -1
  17. package/build/browser/public/OntologyObjectSet.js.map +1 -1
  18. package/build/browser/public/Query.d.ts +1 -0
  19. package/build/browser/public/Query.d.ts.map +1 -1
  20. package/build/esm/_components.d.ts +243 -4
  21. package/build/esm/_components.d.ts.map +1 -1
  22. package/build/esm/_errors.d.ts +117 -0
  23. package/build/esm/_errors.d.ts.map +1 -1
  24. package/build/esm/index.d.ts +2 -2
  25. package/build/esm/index.d.ts.map +1 -1
  26. package/build/esm/public/Action.d.ts +19 -0
  27. package/build/esm/public/Action.d.ts.map +1 -1
  28. package/build/esm/public/Action.js +13 -0
  29. package/build/esm/public/Action.js.map +1 -1
  30. package/build/esm/public/OntologyInterface.d.ts +2 -0
  31. package/build/esm/public/OntologyInterface.d.ts.map +1 -1
  32. package/build/esm/public/OntologyObjectSet.d.ts +11 -1
  33. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  34. package/build/esm/public/OntologyObjectSet.js +10 -1
  35. package/build/esm/public/OntologyObjectSet.js.map +1 -1
  36. package/build/esm/public/Query.d.ts +1 -0
  37. package/build/esm/public/Query.d.ts.map +1 -1
  38. package/package.json +5 -5
@@ -24,6 +24,12 @@ export interface AbsoluteValuePropertyExpression {
24
24
  * Log Safety: UNSAFE
25
25
  */
26
26
  export type Action = LooselyBrandedString<"Action">;
27
+ /**
28
+ * An ISO 8601 timestamp.
29
+ *
30
+ * Log Safety: SAFE
31
+ */
32
+ export type ActionExecutionTime = string;
27
33
  /**
28
34
  * A detailed operation for an Action
29
35
  *
@@ -529,6 +535,16 @@ export type AggregationV2 = ({
529
535
  } & SumAggregationV2) | ({
530
536
  type: "exactDistinct";
531
537
  } & ExactDistinctAggregationV2);
538
+ /**
539
+ * Matches intervals satisfying all the rules in the query
540
+ *
541
+ * Log Safety: UNSAFE
542
+ */
543
+ export interface AllOfRule {
544
+ rules: Array<IntervalQueryRule>;
545
+ maxGaps?: number;
546
+ ordered: boolean;
547
+ }
532
548
  /**
533
549
  * Returns objects where the specified field contains all of the whitespace separated words in any
534
550
  order in the provided value. This query supports fuzzy matching.
@@ -556,6 +572,14 @@ export interface AndQuery {
556
572
  export interface AndQueryV2 {
557
573
  value: Array<SearchJsonQueryV2>;
558
574
  }
575
+ /**
576
+ * Matches intervals satisfying any of the rules in the query
577
+ *
578
+ * Log Safety: UNSAFE
579
+ */
580
+ export interface AnyOfRule {
581
+ rules: Array<IntervalQueryRule>;
582
+ }
559
583
  /**
560
584
  * Returns objects where the specified field contains any of the whitespace separated words in any
561
585
  order in the provided value. This query supports fuzzy matching.
@@ -571,6 +595,13 @@ export interface AnyTermQuery {
571
595
  * Log Safety: SAFE
572
596
  */
573
597
  export type ApplyActionMode = "VALIDATE_ONLY" | "VALIDATE_AND_EXECUTE";
598
+ /**
599
+ * Log Safety: SAFE
600
+ */
601
+ export interface ApplyActionOverrides {
602
+ uniqueIdentifierLinkIdValues: Record<UniqueIdentifierLinkId, UniqueIdentifierValue>;
603
+ actionExecutionTime?: ActionExecutionTime;
604
+ }
574
605
  /**
575
606
  * Log Safety: UNSAFE
576
607
  */
@@ -596,6 +627,13 @@ export interface ApplyActionRequestV2 {
596
627
  */
597
628
  export interface ApplyActionResponse {
598
629
  }
630
+ /**
631
+ * Log Safety: UNSAFE
632
+ */
633
+ export interface ApplyActionWithOverridesRequest {
634
+ request: ApplyActionRequestV2;
635
+ overrides: ApplyActionOverrides;
636
+ }
599
637
  /**
600
638
  * Performs both apply reducers and extract main value to return the reduced main value.
601
639
  *
@@ -907,6 +945,36 @@ export type CenterPointTypes = {
907
945
  * Log Safety: UNSAFE
908
946
  */
909
947
  export type CipherTextProperty = LooselyBrandedString<"CipherTextProperty">;
948
+ /**
949
+ * The conjunctive set of markings required to access the property value.
950
+ All markings from a conjunctive set must be met for access.
951
+ *
952
+ * Log Safety: UNSAFE
953
+ */
954
+ export type ConjunctiveMarkingSummary = Array<MarkingId>;
955
+ /**
956
+ * The conjunctive set of markings for the container of this property value,
957
+ such as the project of a dataset. These markings may differ from the marking
958
+ on the actual property value, but still must be satisfied for accessing the property
959
+ All markings from a conjunctive set must be met for access.
960
+ *
961
+ * Log Safety: UNSAFE
962
+ */
963
+ export type ContainerConjunctiveMarkingSummary = Array<MarkingId>;
964
+ /**
965
+ * The disjunctive set of markings for the container of this property value,
966
+ such as the project of a dataset. These markings may differ from the marking
967
+ on the actual property value, but still must be satisfied for accessing the property
968
+
969
+ All markings from a conjunctive set must be met for access.
970
+ Disjunctive markings are represented as a conjunctive list of disjunctive sets.
971
+ The top-level set is a conjunction of sets, where each inner set should be
972
+ treated as a unit where any marking within the set can satisfy the set.
973
+ All sets within the top level set should be satisfied.
974
+ *
975
+ * Log Safety: UNSAFE
976
+ */
977
+ export type ContainerDisjunctiveMarkingSummary = Array<Array<MarkingId>>;
910
978
  /**
911
979
  * Returns objects where the specified field contains all of the terms in the order provided,
912
980
  but they do have to be adjacent to each other.
@@ -1326,6 +1394,16 @@ export interface DerivedTimeSeriesProperty {
1326
1394
  templateRid: TimeseriesTemplateRid;
1327
1395
  templateVersion?: TimeseriesTemplateVersion;
1328
1396
  }
1397
+ /**
1398
+ * The disjunctive set of markings required to access the property value.
1399
+ Disjunctive markings are represented as a conjunctive list of disjunctive sets.
1400
+ The top-level set is a conjunction of sets, where each inner set should be
1401
+ treated as a unit where any marking within the set can satisfy the set.
1402
+ All sets within the top level set should be satisfied.
1403
+ *
1404
+ * Log Safety: UNSAFE
1405
+ */
1406
+ export type DisjunctiveMarkingSummary = Array<Array<MarkingId>>;
1329
1407
  /**
1330
1408
  * Divides the left numeric value by the right numeric value.
1331
1409
  *
@@ -1434,6 +1512,13 @@ export interface Error {
1434
1512
  error: ErrorName;
1435
1513
  args: Array<Arg>;
1436
1514
  }
1515
+ /**
1516
+ * Indicates the server was not able to load the securities of the property.
1517
+ *
1518
+ * Log Safety: SAFE
1519
+ */
1520
+ export interface ErrorComputingSecurity {
1521
+ }
1437
1522
  /**
1438
1523
  * Log Safety: SAFE
1439
1524
  */
@@ -1666,8 +1751,8 @@ export type Icon = {
1666
1751
  } & BlueprintIcon;
1667
1752
  /**
1668
1753
  * Returns objects where the specified field equals any of the provided values. Allows you to
1669
- specify a property to query on by a variety of means. Either field or propertyIdentifier must be supplied,
1670
- but not both.
1754
+ 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
1755
+ in the object set. Either field or propertyIdentifier must be supplied, but not both.
1671
1756
  *
1672
1757
  * Log Safety: UNSAFE
1673
1758
  */
@@ -1761,6 +1846,14 @@ export type InterfacePropertyApiName = LooselyBrandedString<"InterfacePropertyAp
1761
1846
  export interface InterfacePropertyLocalPropertyImplementation {
1762
1847
  propertyApiName: PropertyApiName;
1763
1848
  }
1849
+ /**
1850
+ * An implementation of an interface property via applying reducers on the nested implementation.
1851
+ *
1852
+ * Log Safety: UNSAFE
1853
+ */
1854
+ export interface InterfacePropertyReducedPropertyImplementation {
1855
+ implementation: NestedInterfacePropertyTypeImplementation;
1856
+ }
1764
1857
  /**
1765
1858
  * An implementation of an interface property via the field of a local struct property.
1766
1859
  *
@@ -1775,7 +1868,16 @@ struct fields to local struct fields or properties.
1775
1868
  *
1776
1869
  * Log Safety: UNSAFE
1777
1870
  */
1778
- export type InterfacePropertyStructImplementation = Record<StructFieldApiName, PropertyOrStructFieldOfPropertyImplementation>;
1871
+ export interface InterfacePropertyStructImplementation {
1872
+ mapping: InterfacePropertyStructImplementationMapping;
1873
+ }
1874
+ /**
1875
+ * An implementation of a struct interface property via a local struct property. Specifies a mapping of interface
1876
+ struct fields to local struct fields or properties.
1877
+ *
1878
+ * Log Safety: UNSAFE
1879
+ */
1880
+ export type InterfacePropertyStructImplementationMapping = Record<StructFieldApiName, PropertyOrStructFieldOfPropertyImplementation>;
1779
1881
  /**
1780
1882
  * The definition of an interface property type on an interface. An interface property can either be backed by a
1781
1883
  shared property type or defined on the interface directly.
@@ -1798,7 +1900,9 @@ export type InterfacePropertyTypeImplementation = ({
1798
1900
  type: "structImplementation";
1799
1901
  } & InterfacePropertyStructImplementation) | ({
1800
1902
  type: "localPropertyImplementation";
1801
- } & InterfacePropertyLocalPropertyImplementation);
1903
+ } & InterfacePropertyLocalPropertyImplementation) | ({
1904
+ type: "reducedPropertyImplementation";
1905
+ } & InterfacePropertyReducedPropertyImplementation);
1802
1906
  /**
1803
1907
  * The unique resource identifier of an interface property type, useful for interacting with other Foundry APIs.
1804
1908
  *
@@ -1900,6 +2004,31 @@ export interface IntersectsPolygonQuery {
1900
2004
  propertyIdentifier?: PropertyIdentifier;
1901
2005
  value: PolygonValue;
1902
2006
  }
2007
+ /**
2008
+ * Returns objects where the specified field matches the sub-rule provided. This applies to the analyzed form of
2009
+ text fields. Either field or propertyIdentifier can be supplied, but not both.
2010
+ *
2011
+ * Log Safety: UNSAFE
2012
+ */
2013
+ export interface IntervalQuery {
2014
+ field?: PropertyApiName;
2015
+ propertyIdentifier?: PropertyIdentifier;
2016
+ rule: IntervalQueryRule;
2017
+ }
2018
+ /**
2019
+ * Sub-rule used for evaluating an IntervalQuery
2020
+ *
2021
+ * Log Safety: UNSAFE
2022
+ */
2023
+ export type IntervalQueryRule = ({
2024
+ type: "allOf";
2025
+ } & AllOfRule) | ({
2026
+ type: "match";
2027
+ } & MatchRule) | ({
2028
+ type: "anyOf";
2029
+ } & AnyOfRule) | ({
2030
+ type: "prefixOnLastToken";
2031
+ } & PrefixOnLastTokenRule);
1903
2032
  /**
1904
2033
  * Returns objects based on the existence of the specified field.
1905
2034
  *
@@ -2231,6 +2360,7 @@ export interface LoadObjectSetRequestV2 {
2231
2360
  pageToken?: _Core.PageToken;
2232
2361
  pageSize?: _Core.PageSize;
2233
2362
  excludeRid?: boolean;
2363
+ loadPropertySecurities?: boolean;
2234
2364
  snapshot?: boolean;
2235
2365
  includeComputeUsage?: _Core.IncludeComputeUsage;
2236
2366
  }
@@ -2244,6 +2374,7 @@ export interface LoadObjectSetResponseV2 {
2244
2374
  nextPageToken?: _Core.PageToken;
2245
2375
  totalCount: _Core.TotalCount;
2246
2376
  computeUsage?: _Core.ComputeSeconds;
2377
+ propertySecurities: Array<PropertySecurities>;
2247
2378
  }
2248
2379
  /**
2249
2380
  * Represents the API POST body when loading an ObjectSet. Used on the /loadObjectsMultipleObjectTypes endpoint only.
@@ -2258,6 +2389,7 @@ export interface LoadObjectSetV2MultipleObjectTypesRequest {
2258
2389
  pageToken?: _Core.PageToken;
2259
2390
  pageSize?: _Core.PageSize;
2260
2391
  excludeRid?: boolean;
2392
+ loadPropertySecurities?: boolean;
2261
2393
  snapshot?: boolean;
2262
2394
  includeComputeUsage?: _Core.IncludeComputeUsage;
2263
2395
  }
@@ -2282,6 +2414,7 @@ export interface LoadObjectSetV2MultipleObjectTypesResponse {
2282
2414
  interfaceToObjectTypeMappings: Record<InterfaceTypeApiName, InterfaceToObjectTypeMappings>;
2283
2415
  interfaceToObjectTypeMappingsV2: Record<InterfaceTypeApiName, InterfaceToObjectTypeMappingsV2>;
2284
2416
  computeUsage?: _Core.ComputeSeconds;
2417
+ propertySecurities: Array<PropertySecurities>;
2285
2418
  }
2286
2419
  /**
2287
2420
  * Represents the API POST body when loading an ObjectSet. Used on the /loadObjectsOrInterfaces endpoint only.
@@ -2403,6 +2536,22 @@ export interface LtQueryV2 {
2403
2536
  propertyIdentifier?: PropertyIdentifier;
2404
2537
  value: PropertyValue;
2405
2538
  }
2539
+ /**
2540
+ * The id of a classification or mandatory marking.
2541
+ *
2542
+ * Log Safety: UNSAFE
2543
+ */
2544
+ export type MarkingId = LooselyBrandedString<"MarkingId">;
2545
+ /**
2546
+ * Matches intervals containing the terms in the query
2547
+ *
2548
+ * Log Safety: UNSAFE
2549
+ */
2550
+ export interface MatchRule {
2551
+ query: string;
2552
+ maxGaps?: number;
2553
+ ordered: boolean;
2554
+ }
2406
2555
  /**
2407
2556
  * Computes the maximum value for the provided field.
2408
2557
  *
@@ -2535,6 +2684,19 @@ export interface NearestNeighborsQueryText {
2535
2684
  export interface NegatePropertyExpression {
2536
2685
  property: DerivedPropertyDefinition;
2537
2686
  }
2687
+ /**
2688
+ * Describes how an object type implements an interface property when a reducer is applied to it. Is missing a
2689
+ reduced property implementation to prevent arbitrarily nested implementations.
2690
+ *
2691
+ * Log Safety: UNSAFE
2692
+ */
2693
+ export type NestedInterfacePropertyTypeImplementation = ({
2694
+ type: "structFieldImplementation";
2695
+ } & InterfacePropertyStructFieldImplementation) | ({
2696
+ type: "structImplementation";
2697
+ } & InterfacePropertyStructImplementation) | ({
2698
+ type: "localPropertyImplementation";
2699
+ } & InterfacePropertyLocalPropertyImplementation);
2538
2700
  /**
2539
2701
  * Log Safety: UNSAFE
2540
2702
  */
@@ -2765,6 +2927,14 @@ export interface ObjectEdits {
2765
2927
  addedLinksCount: number;
2766
2928
  deletedLinksCount: number;
2767
2929
  }
2930
+ /**
2931
+ * Optional features to toggle when generating the object loading response.
2932
+ *
2933
+ * Log Safety: SAFE
2934
+ */
2935
+ export interface ObjectLoadingResponseOptions {
2936
+ shouldLoadObjectRids?: boolean;
2937
+ }
2768
2938
  /**
2769
2939
  * An object identifier containing an object type API name and primary key.
2770
2940
  *
@@ -3004,6 +3174,7 @@ export interface ObjectSetStreamSubscribeRequest {
3004
3174
  objectSet: ObjectSet;
3005
3175
  propertySet: Array<SelectedPropertyApiName>;
3006
3176
  referenceSet: Array<SelectedPropertyApiName>;
3177
+ objectLoadingResponseOptions?: ObjectLoadingResponseOptions;
3007
3178
  }
3008
3179
  /**
3009
3180
  * The list of object sets that should be subscribed to. A client can stop subscribing to an object set
@@ -3578,6 +3749,15 @@ export interface PreciseDuration {
3578
3749
  * Log Safety: SAFE
3579
3750
  */
3580
3751
  export type PreciseTimeUnit = "NANOSECONDS" | "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "WEEKS";
3752
+ /**
3753
+ * Matches intervals containing all the terms, using exact match for all but the last term, and prefix match for
3754
+ the last term. Ordering of the terms in the query is preserved.
3755
+ *
3756
+ * Log Safety: UNSAFE
3757
+ */
3758
+ export interface PrefixOnLastTokenRule {
3759
+ query: string;
3760
+ }
3581
3761
  /**
3582
3762
  * Returns objects where the specified field starts with the provided value.
3583
3763
  *
@@ -3713,6 +3893,17 @@ export type PropertyLoadLevel = ({
3713
3893
  } & ApplyReducersLoadLevel) | ({
3714
3894
  type: "extractMainValue";
3715
3895
  } & ExtractMainValueLoadLevel);
3896
+ /**
3897
+ * All marking requirements applicable to a property value.
3898
+ *
3899
+ * Log Safety: UNSAFE
3900
+ */
3901
+ export interface PropertyMarkingSummary {
3902
+ conjunctive?: ConjunctiveMarkingSummary;
3903
+ disjunctive?: DisjunctiveMarkingSummary;
3904
+ containerConjunctive?: ContainerConjunctiveMarkingSummary;
3905
+ containerDisjunctive?: ContainerDisjunctiveMarkingSummary;
3906
+ }
3716
3907
  /**
3717
3908
  * Wrapper for numeric formatting options.
3718
3909
  *
@@ -3751,6 +3942,24 @@ export type PropertyOrStructFieldOfPropertyImplementation = ({
3751
3942
  } & StructFieldOfPropertyImplementation) | ({
3752
3943
  type: "property";
3753
3944
  } & PropertyImplementation);
3945
+ /**
3946
+ * A disjunctive set of security results for a property value.
3947
+ *
3948
+ * Log Safety: UNSAFE
3949
+ */
3950
+ export interface PropertySecurities {
3951
+ disjunction: Array<PropertySecurity>;
3952
+ }
3953
+ /**
3954
+ * Log Safety: UNSAFE
3955
+ */
3956
+ export type PropertySecurity = ({
3957
+ type: "propertyMarkingSummary";
3958
+ } & PropertyMarkingSummary) | ({
3959
+ type: "unsupportedPolicy";
3960
+ } & UnsupportedPolicy) | ({
3961
+ type: "errorComputingSecurity";
3962
+ } & ErrorComputingSecurity);
3754
3963
  /**
3755
3964
  * Formatting configuration for timestamp property values.
3756
3965
  *
@@ -3834,6 +4043,7 @@ export interface PropertyV2 {
3834
4043
  | Integer | number | 238940 |
3835
4044
  | Long | string | "58319870951433" |
3836
4045
  | 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"}}} |
4046
+ | Secured Property Value | JSON encoded SecuredPropertyValue object | {"value": 10, "propertySecurityIndex" : 5} |
3837
4047
  | Short | number | 8739 |
3838
4048
  | String | string | "Call me Ishmael" |
3839
4049
  | Struct | JSON object of struct field API name -> value | {"firstName": "Alex", "lastName": "Karp"} |
@@ -4404,6 +4614,8 @@ export type SearchJsonQueryV2 = ({
4404
4614
  } & IsNullQueryV2) | ({
4405
4615
  type: "containsAnyTerm";
4406
4616
  } & ContainsAnyTermQuery) | ({
4617
+ type: "interval";
4618
+ } & IntervalQuery) | ({
4407
4619
  type: "startsWith";
4408
4620
  } & StartsWithQuery);
4409
4621
  /**
@@ -4496,6 +4708,13 @@ export interface SearchOrderingV2 {
4496
4708
  field: PropertyApiName;
4497
4709
  direction?: string;
4498
4710
  }
4711
+ /**
4712
+ * Log Safety: UNSAFE
4713
+ */
4714
+ export interface SecuredPropertyValue {
4715
+ value?: PropertyValue;
4716
+ propertySecurityIndex?: number;
4717
+ }
4499
4718
  /**
4500
4719
  * By default, whenever an object is requested, all of its properties are returned, except for properties of the
4501
4720
  following types:
@@ -5173,6 +5392,26 @@ export interface UnevaluableConstraint {
5173
5392
  export interface UniqueIdentifierArgument {
5174
5393
  linkId?: string;
5175
5394
  }
5395
+ /**
5396
+ * A reference to a UniqueIdentifierArgument linkId defined for this action type.
5397
+ *
5398
+ * Log Safety: SAFE
5399
+ */
5400
+ export type UniqueIdentifierLinkId = string;
5401
+ /**
5402
+ * An override value to be used for a UniqueIdentifier action parameter, instead of
5403
+ the value being automatically generated.
5404
+ *
5405
+ * Log Safety: SAFE
5406
+ */
5407
+ export type UniqueIdentifierValue = string;
5408
+ /**
5409
+ * Indicates the property is backed by a restricted view that does not support property securities.
5410
+ *
5411
+ * Log Safety: SAFE
5412
+ */
5413
+ export interface UnsupportedPolicy {
5414
+ }
5176
5415
  /**
5177
5416
  * The string must be a valid UUID (Universally Unique Identifier).
5178
5417
  *