@osdk/internal.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/internal.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/internal.foundry.core@2.54.0
13
+ - @osdk/internal.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/internal.foundry.core@2.53.0
25
+ - @osdk/internal.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
  }
@@ -4458,48 +4497,50 @@ export type QueryDataType = ({
4458
4497
  } & OntologyInterfaceObjectType) | ({
4459
4498
  type: "struct";
4460
4499
  } & QueryStructType) | ({
4461
- type: "set";
4462
- } & QuerySetType) | ({
4463
- type: "void";
4464
- } & _Core.VoidType) | ({
4465
4500
  type: "string";
4466
4501
  } & _Core.StringType) | ({
4467
- type: "entrySet";
4468
- } & EntrySetType) | ({
4469
- type: "double";
4470
- } & _Core.DoubleType) | ({
4471
4502
  type: "integer";
4472
4503
  } & _Core.IntegerType) | ({
4473
4504
  type: "threeDimensionalAggregation";
4474
4505
  } & ThreeDimensionalAggregation) | ({
4475
- type: "union";
4476
- } & QueryUnionType) | ({
4477
4506
  type: "float";
4478
4507
  } & _Core.FloatType) | ({
4479
4508
  type: "long";
4480
4509
  } & _Core.LongType) | ({
4481
- type: "boolean";
4482
- } & _Core.BooleanType) | ({
4483
4510
  type: "unsupported";
4484
4511
  } & _Core.UnsupportedType) | ({
4485
4512
  type: "attachment";
4486
4513
  } & _Core.AttachmentType) | ({
4487
- type: "mediaReference";
4488
- } & _Core.MediaReferenceType) | ({
4489
- type: "null";
4490
- } & _Core.NullType) | ({
4491
4514
  type: "array";
4492
4515
  } & QueryArrayType) | ({
4493
4516
  type: "objectSet";
4494
4517
  } & OntologyObjectSetType) | ({
4495
4518
  type: "twoDimensionalAggregation";
4496
4519
  } & TwoDimensionalAggregation) | ({
4520
+ type: "typeReference";
4521
+ } & QueryTypeReferenceType) | ({
4522
+ type: "timestamp";
4523
+ } & _Core.TimestampType) | ({
4524
+ type: "set";
4525
+ } & QuerySetType) | ({
4526
+ type: "void";
4527
+ } & _Core.VoidType) | ({
4528
+ type: "entrySet";
4529
+ } & EntrySetType) | ({
4530
+ type: "double";
4531
+ } & _Core.DoubleType) | ({
4532
+ type: "union";
4533
+ } & QueryUnionType) | ({
4534
+ type: "boolean";
4535
+ } & _Core.BooleanType) | ({
4536
+ type: "mediaReference";
4537
+ } & _Core.MediaReferenceType) | ({
4538
+ type: "null";
4539
+ } & _Core.NullType) | ({
4497
4540
  type: "interfaceObjectSet";
4498
4541
  } & OntologyInterfaceObjectSetType) | ({
4499
4542
  type: "object";
4500
- } & OntologyObjectType) | ({
4501
- type: "timestamp";
4502
- } & _Core.TimestampType);
4543
+ } & OntologyObjectType);
4503
4544
  /**
4504
4545
  * Details about the output of a query.
4505
4546
  *
@@ -4567,6 +4608,15 @@ export interface QueryType {
4567
4608
  rid: FunctionRid;
4568
4609
  version: FunctionVersion;
4569
4610
  }
4611
+ /**
4612
+ * A reference to a type that is defined in the typeReferences map of the enclosing Query.
4613
+ This enables support for recursive type definitions where a type may reference itself.
4614
+ *
4615
+ * Log Safety: SAFE
4616
+ */
4617
+ export interface QueryTypeReferenceType {
4618
+ typeId: TypeReferenceIdentifier;
4619
+ }
4570
4620
  /**
4571
4621
  * Represents a query type in the Ontology.
4572
4622
  *
@@ -4580,6 +4630,7 @@ export interface QueryTypeV2 {
4580
4630
  output: QueryDataType;
4581
4631
  rid: FunctionRid;
4582
4632
  version: FunctionVersion;
4633
+ typeReferences: Record<TypeReferenceIdentifier, QueryDataType>;
4583
4634
  }
4584
4635
  /**
4585
4636
  * Log Safety: UNSAFE
@@ -5500,12 +5551,14 @@ export interface SumAggregation {
5500
5551
  name?: AggregationMetricName;
5501
5552
  }
5502
5553
  /**
5503
- * Computes the sum of values for the provided field.
5504
- *
5505
- * Log Safety: UNSAFE
5506
- */
5554
+ * Computes the sum of values for the provided field.
5555
+ Either field or propertyIdentifier must be supplied, but not both.
5556
+ *
5557
+ * Log Safety: UNSAFE
5558
+ */
5507
5559
  export interface SumAggregationV2 {
5508
- field: PropertyApiName;
5560
+ field?: PropertyApiName;
5561
+ propertyIdentifier?: PropertyIdentifier;
5509
5562
  name?: AggregationMetricName;
5510
5563
  direction?: OrderByDirection;
5511
5564
  }
@@ -5701,6 +5754,13 @@ export interface TypeClass {
5701
5754
  kind: string;
5702
5755
  name: string;
5703
5756
  }
5757
+ /**
5758
+ * The unique identifier of a type reference. This identifier is used to look up the
5759
+ type definition in the typeReferences map of the enclosing Query.
5760
+ *
5761
+ * Log Safety: SAFE
5762
+ */
5763
+ export type TypeReferenceIdentifier = LooselyBrandedString<"TypeReferenceIdentifier">;
5704
5764
  /**
5705
5765
  * The parameter cannot be evaluated because it depends on another parameter or object set that can't be evaluated.
5706
5766
  This can happen when a parameter's allowed values are defined by another parameter that is missing or invalid.