@osdk/foundry.ontologies 2.52.0 → 2.54.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/foundry.ontologies
2
2
 
3
+ ## 2.54.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d1a0cd3: Regenerating platform sdks.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [d1a0cd3]
12
+ - @osdk/foundry.core@2.54.0
13
+ - @osdk/foundry.geo@2.54.0
14
+
15
+ ## 2.53.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 085010e: Regenerate Platform SDKs
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [085010e]
24
+ - @osdk/foundry.core@2.53.0
25
+ - @osdk/foundry.geo@2.53.0
26
+
3
27
  ## 2.52.0
4
28
 
5
29
  ### Minor Changes
@@ -360,11 +360,13 @@ export interface AggregationDurationGrouping {
360
360
  /**
361
361
  * Divides objects into groups according to an interval. Note that this grouping applies only on date and timestamp types.
362
362
  When grouping by YEARS, QUARTERS, MONTHS, or WEEKS, the value must be set to 1.
363
+ Either field or propertyIdentifier must be supplied, but not both.
363
364
  *
364
365
  * Log Safety: UNSAFE
365
366
  */
366
367
  export interface AggregationDurationGroupingV2 {
367
- field: PropertyApiName;
368
+ field?: PropertyApiName;
369
+ propertyIdentifier?: PropertyIdentifier;
368
370
  value: number;
369
371
  unit: TimeUnit;
370
372
  }
@@ -378,12 +380,14 @@ export interface AggregationExactGrouping {
378
380
  maxGroupCount?: number;
379
381
  }
380
382
  /**
381
- * Divides objects into groups according to an exact value.
382
- *
383
- * Log Safety: UNSAFE
384
- */
383
+ * Divides objects into groups according to an exact value.
384
+ Either field or propertyIdentifier must be supplied, but not both.
385
+ *
386
+ * Log Safety: UNSAFE
387
+ */
385
388
  export interface AggregationExactGroupingV2 {
386
- field: PropertyApiName;
389
+ field?: PropertyApiName;
390
+ propertyIdentifier?: PropertyIdentifier;
387
391
  maxGroupCount?: number;
388
392
  defaultValue?: string;
389
393
  includeNullValues?: boolean;
@@ -398,12 +402,14 @@ export interface AggregationFixedWidthGrouping {
398
402
  fixedWidth: number;
399
403
  }
400
404
  /**
401
- * Divides objects into groups with the specified width.
402
- *
403
- * Log Safety: UNSAFE
404
- */
405
+ * Divides objects into groups with the specified width.
406
+ Either field or propertyIdentifier must be supplied, but not both.
407
+ *
408
+ * Log Safety: UNSAFE
409
+ */
405
410
  export interface AggregationFixedWidthGroupingV2 {
406
- field: PropertyApiName;
411
+ field?: PropertyApiName;
412
+ propertyIdentifier?: PropertyIdentifier;
407
413
  fixedWidth: number;
408
414
  }
409
415
  /**
@@ -505,12 +511,14 @@ export interface AggregationRangesGrouping {
505
511
  ranges: Array<AggregationRange>;
506
512
  }
507
513
  /**
508
- * Divides objects into groups according to specified ranges.
509
- *
510
- * Log Safety: UNSAFE
511
- */
514
+ * Divides objects into groups according to specified ranges.
515
+ Either field or propertyIdentifier must be supplied, but not both.
516
+ *
517
+ * Log Safety: UNSAFE
518
+ */
512
519
  export interface AggregationRangesGroupingV2 {
513
- field: PropertyApiName;
520
+ field?: PropertyApiName;
521
+ propertyIdentifier?: PropertyIdentifier;
514
522
  ranges: Array<AggregationRangeV2>;
515
523
  }
516
524
  /**
@@ -669,22 +677,26 @@ export interface ApproximateDistinctAggregation {
669
677
  name?: AggregationMetricName;
670
678
  }
671
679
  /**
672
- * Computes an approximate number of distinct values for the provided field.
673
- *
674
- * Log Safety: UNSAFE
675
- */
680
+ * Computes an approximate number of distinct values for the provided field.
681
+ Either field or propertyIdentifier must be supplied, but not both.
682
+ *
683
+ * Log Safety: UNSAFE
684
+ */
676
685
  export interface ApproximateDistinctAggregationV2 {
677
- field: PropertyApiName;
686
+ field?: PropertyApiName;
687
+ propertyIdentifier?: PropertyIdentifier;
678
688
  name?: AggregationMetricName;
679
689
  direction?: OrderByDirection;
680
690
  }
681
691
  /**
682
- * Computes the approximate percentile value for the provided field. Requires Object Storage V2.
683
- *
684
- * Log Safety: UNSAFE
685
- */
692
+ * Computes the approximate percentile value for the provided field. Requires Object Storage V2.
693
+ Either field or propertyIdentifier must be supplied, but not both.
694
+ *
695
+ * Log Safety: UNSAFE
696
+ */
686
697
  export interface ApproximatePercentileAggregationV2 {
687
- field: PropertyApiName;
698
+ field?: PropertyApiName;
699
+ propertyIdentifier?: PropertyIdentifier;
688
700
  name?: AggregationMetricName;
689
701
  approximatePercentile: number;
690
702
  direction?: OrderByDirection;
@@ -836,12 +848,14 @@ export interface AvgAggregation {
836
848
  name?: AggregationMetricName;
837
849
  }
838
850
  /**
839
- * Computes the average value for the provided field.
840
- *
841
- * Log Safety: UNSAFE
842
- */
851
+ * Computes the average value for the provided field.
852
+ Either field or propertyIdentifier must be supplied, but not both.
853
+ *
854
+ * Log Safety: UNSAFE
855
+ */
843
856
  export interface AvgAggregationV2 {
844
- field: PropertyApiName;
857
+ field?: PropertyApiName;
858
+ propertyIdentifier?: PropertyIdentifier;
845
859
  name?: AggregationMetricName;
846
860
  direction?: OrderByDirection;
847
861
  }
@@ -1608,12 +1622,15 @@ export interface ErrorComputingSecurity {
1608
1622
  */
1609
1623
  export type ErrorName = LooselyBrandedString<"ErrorName">;
1610
1624
  /**
1611
- * Computes an exact number of distinct values for the provided field. May be slower than an approximate distinct aggregation. Requires Object Storage V2.
1612
- *
1613
- * Log Safety: UNSAFE
1614
- */
1625
+ * Computes an exact number of distinct values for the provided field. May be slower than an approximate
1626
+ distinct aggregation. Requires Object Storage V2.
1627
+ Either field or propertyIdentifier must be supplied, but not both.
1628
+ *
1629
+ * Log Safety: UNSAFE
1630
+ */
1615
1631
  export interface ExactDistinctAggregationV2 {
1616
- field: PropertyApiName;
1632
+ field?: PropertyApiName;
1633
+ propertyIdentifier?: PropertyIdentifier;
1617
1634
  name?: AggregationMetricName;
1618
1635
  direction?: OrderByDirection;
1619
1636
  }
@@ -1825,6 +1842,24 @@ export interface GetActionTypeByRidBatchRequestElement {
1825
1842
  export interface GetActionTypeByRidBatchResponse {
1826
1843
  data: Array<ActionTypeV2>;
1827
1844
  }
1845
+ /**
1846
+ * Log Safety: SAFE
1847
+ */
1848
+ export interface GetObjectTypeByRidBatchRequest {
1849
+ requests: Array<GetObjectTypeByRidBatchRequestElement>;
1850
+ }
1851
+ /**
1852
+ * Log Safety: SAFE
1853
+ */
1854
+ export interface GetObjectTypeByRidBatchRequestElement {
1855
+ objectTypeRid: ObjectTypeRid;
1856
+ }
1857
+ /**
1858
+ * Log Safety: UNSAFE
1859
+ */
1860
+ export interface GetObjectTypeByRidBatchResponse {
1861
+ data: Array<ObjectTypeV2>;
1862
+ }
1828
1863
  /**
1829
1864
  * Gets a single value of a property. Throws if the target object set is on the MANY side of the link and could
1830
1865
  explode the cardinality.
@@ -2737,12 +2772,14 @@ export interface MaxAggregation {
2737
2772
  name?: AggregationMetricName;
2738
2773
  }
2739
2774
  /**
2740
- * Computes the maximum value for the provided field.
2741
- *
2742
- * Log Safety: UNSAFE
2743
- */
2775
+ * Computes the maximum value for the provided field.
2776
+ Either field or propertyIdentifier must be supplied, but not both.
2777
+ *
2778
+ * Log Safety: UNSAFE
2779
+ */
2744
2780
  export interface MaxAggregationV2 {
2745
- field: PropertyApiName;
2781
+ field?: PropertyApiName;
2782
+ propertyIdentifier?: PropertyIdentifier;
2746
2783
  name?: AggregationMetricName;
2747
2784
  direction?: OrderByDirection;
2748
2785
  }
@@ -2772,12 +2809,14 @@ export interface MinAggregation {
2772
2809
  name?: AggregationMetricName;
2773
2810
  }
2774
2811
  /**
2775
- * Computes the minimum value for the provided field.
2776
- *
2777
- * Log Safety: UNSAFE
2778
- */
2812
+ * Computes the minimum value for the provided field.
2813
+ Either field or propertyIdentifier must be supplied, but not both.
2814
+ *
2815
+ * Log Safety: UNSAFE
2816
+ */
2779
2817
  export interface MinAggregationV2 {
2780
- field: PropertyApiName;
2818
+ field?: PropertyApiName;
2819
+ propertyIdentifier?: PropertyIdentifier;
2781
2820
  name?: AggregationMetricName;
2782
2821
  direction?: OrderByDirection;
2783
2822
  }
@@ -4464,48 +4503,50 @@ export type QueryDataType = ({
4464
4503
  } & OntologyInterfaceObjectType) | ({
4465
4504
  type: "struct";
4466
4505
  } & QueryStructType) | ({
4467
- type: "set";
4468
- } & QuerySetType) | ({
4469
- type: "void";
4470
- } & _Core.VoidType) | ({
4471
4506
  type: "string";
4472
4507
  } & _Core.StringType) | ({
4473
- type: "entrySet";
4474
- } & EntrySetType) | ({
4475
- type: "double";
4476
- } & _Core.DoubleType) | ({
4477
4508
  type: "integer";
4478
4509
  } & _Core.IntegerType) | ({
4479
4510
  type: "threeDimensionalAggregation";
4480
4511
  } & ThreeDimensionalAggregation) | ({
4481
- type: "union";
4482
- } & QueryUnionType) | ({
4483
4512
  type: "float";
4484
4513
  } & _Core.FloatType) | ({
4485
4514
  type: "long";
4486
4515
  } & _Core.LongType) | ({
4487
- type: "boolean";
4488
- } & _Core.BooleanType) | ({
4489
4516
  type: "unsupported";
4490
4517
  } & _Core.UnsupportedType) | ({
4491
4518
  type: "attachment";
4492
4519
  } & _Core.AttachmentType) | ({
4493
- type: "mediaReference";
4494
- } & _Core.MediaReferenceType) | ({
4495
- type: "null";
4496
- } & _Core.NullType) | ({
4497
4520
  type: "array";
4498
4521
  } & QueryArrayType) | ({
4499
4522
  type: "objectSet";
4500
4523
  } & OntologyObjectSetType) | ({
4501
4524
  type: "twoDimensionalAggregation";
4502
4525
  } & TwoDimensionalAggregation) | ({
4526
+ type: "typeReference";
4527
+ } & QueryTypeReferenceType) | ({
4528
+ type: "timestamp";
4529
+ } & _Core.TimestampType) | ({
4530
+ type: "set";
4531
+ } & QuerySetType) | ({
4532
+ type: "void";
4533
+ } & _Core.VoidType) | ({
4534
+ type: "entrySet";
4535
+ } & EntrySetType) | ({
4536
+ type: "double";
4537
+ } & _Core.DoubleType) | ({
4538
+ type: "union";
4539
+ } & QueryUnionType) | ({
4540
+ type: "boolean";
4541
+ } & _Core.BooleanType) | ({
4542
+ type: "mediaReference";
4543
+ } & _Core.MediaReferenceType) | ({
4544
+ type: "null";
4545
+ } & _Core.NullType) | ({
4503
4546
  type: "interfaceObjectSet";
4504
4547
  } & OntologyInterfaceObjectSetType) | ({
4505
4548
  type: "object";
4506
- } & OntologyObjectType) | ({
4507
- type: "timestamp";
4508
- } & _Core.TimestampType);
4549
+ } & OntologyObjectType);
4509
4550
  /**
4510
4551
  * Details about the output of a query.
4511
4552
  *
@@ -4573,6 +4614,15 @@ export interface QueryType {
4573
4614
  rid: FunctionRid;
4574
4615
  version: FunctionVersion;
4575
4616
  }
4617
+ /**
4618
+ * A reference to a type that is defined in the typeReferences map of the enclosing Query.
4619
+ This enables support for recursive type definitions where a type may reference itself.
4620
+ *
4621
+ * Log Safety: SAFE
4622
+ */
4623
+ export interface QueryTypeReferenceType {
4624
+ typeId: TypeReferenceIdentifier;
4625
+ }
4576
4626
  /**
4577
4627
  * Represents a query type in the Ontology.
4578
4628
  *
@@ -4586,6 +4636,7 @@ export interface QueryTypeV2 {
4586
4636
  output: QueryDataType;
4587
4637
  rid: FunctionRid;
4588
4638
  version: FunctionVersion;
4639
+ typeReferences: Record<TypeReferenceIdentifier, QueryDataType>;
4589
4640
  }
4590
4641
  /**
4591
4642
  * Log Safety: UNSAFE
@@ -5502,12 +5553,14 @@ export interface SumAggregation {
5502
5553
  name?: AggregationMetricName;
5503
5554
  }
5504
5555
  /**
5505
- * Computes the sum of values for the provided field.
5506
- *
5507
- * Log Safety: UNSAFE
5508
- */
5556
+ * Computes the sum of values for the provided field.
5557
+ Either field or propertyIdentifier must be supplied, but not both.
5558
+ *
5559
+ * Log Safety: UNSAFE
5560
+ */
5509
5561
  export interface SumAggregationV2 {
5510
- field: PropertyApiName;
5562
+ field?: PropertyApiName;
5563
+ propertyIdentifier?: PropertyIdentifier;
5511
5564
  name?: AggregationMetricName;
5512
5565
  direction?: OrderByDirection;
5513
5566
  }
@@ -5703,6 +5756,13 @@ export interface TypeClass {
5703
5756
  kind: string;
5704
5757
  name: string;
5705
5758
  }
5759
+ /**
5760
+ * The unique identifier of a type reference. This identifier is used to look up the
5761
+ type definition in the typeReferences map of the enclosing Query.
5762
+ *
5763
+ * Log Safety: SAFE
5764
+ */
5765
+ export type TypeReferenceIdentifier = LooselyBrandedString<"TypeReferenceIdentifier">;
5706
5766
  /**
5707
5767
  * The parameter cannot be evaluated because it depends on another parameter or object set that can't be evaluated.
5708
5768
  This can happen when a parameter's allowed values are defined by another parameter that is missing or invalid.