@osdk/foundry.ontologies 2.68.0 → 2.70.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,31 @@
1
1
  # @osdk/foundry.ontologies
2
2
 
3
+ ## 2.70.0
4
+
5
+ ### Minor Changes
6
+
7
+ - be7f6cd: Regenerate SDKs with API version 1.1716.0
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [be7f6cd]
12
+ - @osdk/foundry.core@2.70.0
13
+ - @osdk/foundry.datasets@2.70.0
14
+ - @osdk/foundry.geo@2.70.0
15
+
16
+ ## 2.69.0
17
+
18
+ ### Minor Changes
19
+
20
+ - bbdf2b4: Regenerate SDKs with API version 1.1709.0
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [bbdf2b4]
25
+ - @osdk/foundry.core@2.69.0
26
+ - @osdk/foundry.datasets@2.69.0
27
+ - @osdk/foundry.geo@2.69.0
28
+
3
29
  ## 2.68.0
4
30
 
5
31
  ### Minor Changes
@@ -138,6 +138,24 @@ export interface ActionParameterV2 {
138
138
  dataType: ActionParameterType;
139
139
  required: boolean;
140
140
  typeClasses: Array<TypeClass>;
141
+ validation?: ActionParameterValidation;
142
+ }
143
+ /**
144
+ * Validation metadata surfaced for a parameter.
145
+ *
146
+ * Log Safety: UNSAFE
147
+ */
148
+ export interface ActionParameterValidation {
149
+ defaultValidation: ActionParameterValidationBlock;
150
+ }
151
+ /**
152
+ * Validation constraints for a parameter.
153
+ *
154
+ * Log Safety: UNSAFE
155
+ */
156
+ export interface ActionParameterValidationBlock {
157
+ allowedValues?: ParameterAllowedValues;
158
+ arraySize?: ParameterArraySize;
141
159
  }
142
160
  /**
143
161
  * Log Safety: UNSAFE
@@ -996,6 +1014,14 @@ export interface Attachment {
996
1014
  sizeBytes: _Core.SizeBytes;
997
1015
  mediaType: _Core.MediaType;
998
1016
  }
1017
+ /**
1018
+ * The parameter value (an attachment rid) must reference an attachment within the configured size limit.
1019
+ *
1020
+ * Log Safety: SAFE
1021
+ */
1022
+ export interface AttachmentAllowedValues {
1023
+ maxSizeBytes?: _Core.SizeBytes;
1024
+ }
999
1025
  /**
1000
1026
  * The attachment metadata response
1001
1027
  *
@@ -1516,6 +1542,17 @@ export type DatasourceRid = LooselyBrandedString<"DatasourceRid">;
1516
1542
  * Log Safety: UNSAFE
1517
1543
  */
1518
1544
  export type DataValue = any;
1545
+ /**
1546
+ * The parameter value must fall within the specified date or timestamp range.
1547
+ *
1548
+ * Log Safety: UNSAFE
1549
+ */
1550
+ export interface DatetimeAllowedValues {
1551
+ gt?: ParameterDatetimeValue;
1552
+ gte?: ParameterDatetimeValue;
1553
+ lt?: ParameterDatetimeValue;
1554
+ lte?: ParameterDatetimeValue;
1555
+ }
1519
1556
  /**
1520
1557
  * Log Safety: UNSAFE
1521
1558
  */
@@ -1995,6 +2032,14 @@ properties.{propertyApiName}.isNull=false.
1995
2032
  * Log Safety: UNSAFE
1996
2033
  */
1997
2034
  export type FilterValue = LooselyBrandedString<"FilterValue">;
2035
+ /**
2036
+ * An absolute datetime bound (ISO 8601 timestamp or date string).
2037
+ *
2038
+ * Log Safety: UNSAFE
2039
+ */
2040
+ export interface FixedDatetimeValue {
2041
+ value: ParameterConstraintValue;
2042
+ }
1998
2043
  /**
1999
2044
  * Integer key for fixed value mapping.
2000
2045
  *
@@ -3148,6 +3193,7 @@ export interface LoadObjectSetRequestV2 {
3148
3193
  orderBy?: SearchOrderByV2;
3149
3194
  select: Array<SelectedPropertyApiName>;
3150
3195
  selectV2: Array<PropertyIdentifier>;
3196
+ defaultLoadLevel?: PropertyLoadLevel;
3151
3197
  pageToken?: _Core.PageToken;
3152
3198
  pageSize?: _Core.PageSize;
3153
3199
  excludeRid?: boolean;
@@ -3178,6 +3224,7 @@ export interface LoadObjectSetV2MultipleObjectTypesRequest {
3178
3224
  orderBy?: SearchOrderByV2;
3179
3225
  select: Array<SelectedPropertyApiName>;
3180
3226
  selectV2: Array<PropertyIdentifier>;
3227
+ defaultLoadLevel?: PropertyLoadLevel;
3181
3228
  pageToken?: _Core.PageToken;
3182
3229
  pageSize?: _Core.PageSize;
3183
3230
  excludeRid?: boolean;
@@ -3219,6 +3266,7 @@ export interface LoadObjectSetV2ObjectsOrInterfacesRequest {
3219
3266
  orderBy?: SearchOrderByV2;
3220
3267
  select: Array<SelectedPropertyApiName>;
3221
3268
  selectV2: Array<PropertyIdentifier>;
3269
+ defaultLoadLevel?: PropertyLoadLevel;
3222
3270
  pageToken?: _Core.PageToken;
3223
3271
  pageSize?: _Core.PageSize;
3224
3272
  excludeRid?: boolean;
@@ -3347,6 +3395,15 @@ export interface LtQueryV2 {
3347
3395
  propertyIdentifier?: PropertyIdentifier;
3348
3396
  value: PropertyValue;
3349
3397
  }
3398
+ /**
3399
+ * The parameter value (a markdown-formatted string) must satisfy the configured length bounds.
3400
+ *
3401
+ * Log Safety: SAFE
3402
+ */
3403
+ export interface MarkdownAllowedValues {
3404
+ gte?: number;
3405
+ lte?: number;
3406
+ }
3350
3407
  /**
3351
3408
  * The id of a classification or mandatory marking.
3352
3409
  *
@@ -3480,6 +3537,13 @@ export interface ModifyObjectRule {
3480
3537
  export interface MultiplyPropertyExpression {
3481
3538
  properties: Array<DerivedPropertyDefinition>;
3482
3539
  }
3540
+ /**
3541
+ * The parameter must be omitted or empty.
3542
+ *
3543
+ * Log Safety: SAFE
3544
+ */
3545
+ export interface MustBeEmptyAllowedValues {
3546
+ }
3483
3547
  /**
3484
3548
  * Queries support either a vector matching the embedding model defined on the property, or text that is
3485
3549
  automatically embedded.
@@ -3527,6 +3591,15 @@ export interface NestedQueryAggregation {
3527
3591
  key: any;
3528
3592
  groups: Array<QueryAggregation>;
3529
3593
  }
3594
+ /**
3595
+ * Returns the property as-is, without applying reducers or extracting a struct main value. Useful as an
3596
+ explicit per-property load level (via PropertyWithLoadLevelSelector) to opt a property out of a
3597
+ defaultLoadLevel.
3598
+ *
3599
+ * Log Safety: SAFE
3600
+ */
3601
+ export interface NoLoadLevel {
3602
+ }
3530
3603
  /**
3531
3604
  * Returns objects where the query is not satisfied.
3532
3605
  *
@@ -3543,6 +3616,13 @@ export interface NotQuery {
3543
3616
  export interface NotQueryV2 {
3544
3617
  value: SearchJsonQueryV2;
3545
3618
  }
3619
+ /**
3620
+ * The current evaluation time itself. Carries no fields.
3621
+ *
3622
+ * Log Safety: SAFE
3623
+ */
3624
+ export interface NowDatetimeValue {
3625
+ }
3546
3626
  /**
3547
3627
  * Attach arbitrary text before and/or after the formatted number.
3548
3628
  Example: prefix "USD " and postfix " total" displays as "USD 1,234.56 total"
@@ -4364,6 +4444,15 @@ export interface ObjectUpdate {
4364
4444
  object: OntologyObjectV2;
4365
4445
  state: ObjectState;
4366
4446
  }
4447
+ /**
4448
+ * The parameter value must be one of a fixed set of labelled options.
4449
+ *
4450
+ * Log Safety: UNSAFE
4451
+ */
4452
+ export interface OneOfAllowedValues {
4453
+ options: Array<ParameterAllowedValueOption>;
4454
+ otherValuesAllowed: boolean;
4455
+ }
4367
4456
  /**
4368
4457
  * The parameter has a manually predefined set of options.
4369
4458
  *
@@ -4688,6 +4777,66 @@ export interface Parameter {
4688
4777
  dataType?: OntologyDataType;
4689
4778
  required: boolean;
4690
4779
  }
4780
+ /**
4781
+ * A possible value for the parameter.
4782
+ *
4783
+ * Log Safety: UNSAFE
4784
+ */
4785
+ export interface ParameterAllowedValueOption {
4786
+ displayName: _Core.DisplayName;
4787
+ value: DataValue;
4788
+ }
4789
+ /**
4790
+ * The allowed-values constraint configured on an action parameter.
4791
+ *
4792
+ * Log Safety: UNSAFE
4793
+ */
4794
+ export type ParameterAllowedValues = ({
4795
+ type: "oneOf";
4796
+ } & OneOfAllowedValues) | ({
4797
+ type: "datetime";
4798
+ } & DatetimeAllowedValues) | ({
4799
+ type: "attachment";
4800
+ } & AttachmentAllowedValues) | ({
4801
+ type: "valueType";
4802
+ } & ValueTypeAllowedValues) | ({
4803
+ type: "markdown";
4804
+ } & MarkdownAllowedValues) | ({
4805
+ type: "range";
4806
+ } & RangeAllowedValues) | ({
4807
+ type: "mustBeEmpty";
4808
+ } & MustBeEmptyAllowedValues) | ({
4809
+ type: "text";
4810
+ } & TextAllowedValues);
4811
+ /**
4812
+ * Bounds on the size of an array-typed parameter.
4813
+ *
4814
+ * Log Safety: SAFE
4815
+ */
4816
+ export interface ParameterArraySize {
4817
+ gte?: number;
4818
+ lte?: number;
4819
+ }
4820
+ /**
4821
+ * The source of a constraint bound value.
4822
+ *
4823
+ * Log Safety: UNSAFE
4824
+ */
4825
+ export type ParameterConstraintValue = {
4826
+ type: "static";
4827
+ } & StaticConstraintValue;
4828
+ /**
4829
+ * A datetime bound value.
4830
+ *
4831
+ * Log Safety: UNSAFE
4832
+ */
4833
+ export type ParameterDatetimeValue = ({
4834
+ type: "now";
4835
+ } & NowDatetimeValue) | ({
4836
+ type: "fixed";
4837
+ } & FixedDatetimeValue) | ({
4838
+ type: "relative";
4839
+ } & RelativeDatetimeValue);
4691
4840
  /**
4692
4841
  * A constraint that an action parameter value must satisfy in order to be considered valid.
4693
4842
  Constraints can be configured on action parameters in the Ontology Manager.
@@ -4740,6 +4889,7 @@ export interface ParameterEvaluationResult {
4740
4889
  result: ValidationResult;
4741
4890
  evaluatedConstraints: Array<ParameterEvaluatedConstraint>;
4742
4891
  required: boolean;
4892
+ defaultValue?: DataValue;
4743
4893
  }
4744
4894
  /**
4745
4895
  * The unique identifier of the parameter. Parameters are used as inputs when an action or query is applied.
@@ -4999,6 +5149,7 @@ export interface PropertyKnownTypeFormattingRule {
4999
5149
  APPLY_REDUCERS: Returns a single value of an array as configured in the ontology.
5000
5150
  EXTRACT_MAIN_VALUE: Returns the main value of a struct as configured in the ontology.
5001
5151
  APPLY_REDUCERS_AND_EXTRACT_MAIN_VALUE: Performs both to return the reduced main value.
5152
+ NO_LOAD_LEVEL: Returns the property as-is, without applying reducers or extracting a struct main value.
5002
5153
  *
5003
5154
  * Log Safety: UNSAFE
5004
5155
  */
@@ -5008,7 +5159,9 @@ export type PropertyLoadLevel = ({
5008
5159
  type: "applyReducers";
5009
5160
  } & ApplyReducersLoadLevel) | ({
5010
5161
  type: "extractMainValue";
5011
- } & ExtractMainValueLoadLevel);
5162
+ } & ExtractMainValueLoadLevel) | ({
5163
+ type: "noLoadLevel";
5164
+ } & NoLoadLevel);
5012
5165
  /**
5013
5166
  * All marking requirements applicable to a property value.
5014
5167
  *
@@ -5483,6 +5636,17 @@ export interface QueryTypeV2 {
5483
5636
  export interface QueryUnionType {
5484
5637
  unionTypes: Array<QueryDataType>;
5485
5638
  }
5639
+ /**
5640
+ * The parameter value must fall within the specified numeric range.
5641
+ *
5642
+ * Log Safety: UNSAFE
5643
+ */
5644
+ export interface RangeAllowedValues {
5645
+ gt?: ParameterConstraintValue;
5646
+ gte?: ParameterConstraintValue;
5647
+ lt?: ParameterConstraintValue;
5648
+ lte?: ParameterConstraintValue;
5649
+ }
5486
5650
  /**
5487
5651
  * The parameter value must be within the defined range.
5488
5652
  *
@@ -5620,6 +5784,34 @@ export interface RelativeDateRangeQuery {
5620
5784
  relativeEndTime?: RelativeDateRangeBound;
5621
5785
  timeZoneId: string;
5622
5786
  }
5787
+ /**
5788
+ * The magnitude of a relative datetime offset.
5789
+ *
5790
+ * Log Safety: SAFE
5791
+ */
5792
+ export type RelativeDatetimeDuration = string;
5793
+ /**
5794
+ * Direction of a relative datetime offset.
5795
+ *
5796
+ * Log Safety: SAFE
5797
+ */
5798
+ export type RelativeDatetimeTense = "FUTURE" | "PAST";
5799
+ /**
5800
+ * Time unit for relative datetime offsets.
5801
+ *
5802
+ * Log Safety: SAFE
5803
+ */
5804
+ export type RelativeDatetimeUnit = "SECOND" | "MINUTE" | "HOUR" | "DAY" | "WEEK";
5805
+ /**
5806
+ * A datetime expressed as an offset from the current time.
5807
+ *
5808
+ * Log Safety: SAFE
5809
+ */
5810
+ export interface RelativeDatetimeValue {
5811
+ duration: RelativeDatetimeDuration;
5812
+ unit: RelativeDatetimeUnit;
5813
+ tense: RelativeDatetimeTense;
5814
+ }
5623
5815
  /**
5624
5816
  * A point in time specified relative to query execution time.
5625
5817
  *
@@ -5887,6 +6079,7 @@ export interface SearchObjectsRequestV2 {
5887
6079
  pageToken?: _Core.PageToken;
5888
6080
  select: Array<PropertyApiName>;
5889
6081
  selectV2: Array<PropertyIdentifier>;
6082
+ defaultLoadLevel?: PropertyLoadLevel;
5890
6083
  excludeRid?: boolean;
5891
6084
  snapshot?: boolean;
5892
6085
  referenceSigningOptions?: ReferenceSigningOptions;
@@ -6179,6 +6372,14 @@ export interface StartsWithQuery {
6179
6372
  export interface StaticArgument {
6180
6373
  value: DataValue;
6181
6374
  }
6375
+ /**
6376
+ * A literal constraint value.
6377
+ *
6378
+ * Log Safety: UNSAFE
6379
+ */
6380
+ export interface StaticConstraintValue {
6381
+ value: DataValue;
6382
+ }
6182
6383
  /**
6183
6384
  * Returns action types with the given status.
6184
6385
  *
@@ -6523,6 +6724,18 @@ export interface SynchronousWebhookOutputArgument {
6523
6724
  * Log Safety: SAFE
6524
6725
  */
6525
6726
  export type TableRid = LooselyBrandedString<"TableRid">;
6727
+ /**
6728
+ * The parameter value (a string) must satisfy the configured length bounds and/or regex
6729
+ pattern.
6730
+ *
6731
+ * Log Safety: UNSAFE
6732
+ */
6733
+ export interface TextAllowedValues {
6734
+ gte?: number;
6735
+ lte?: number;
6736
+ regex?: string;
6737
+ configuredFailureMessage?: string;
6738
+ }
6526
6739
  /**
6527
6740
  * Log Safety: UNSAFE
6528
6741
  */
@@ -6831,6 +7044,16 @@ structs.
6831
7044
  * Log Safety: UNSAFE
6832
7045
  */
6833
7046
  export type ValueType = LooselyBrandedString<"ValueType">;
7047
+ /**
7048
+ * The parameter value must conform to the referenced value type.
7049
+ *
7050
+ * Log Safety: UNSAFE
7051
+ */
7052
+ export interface ValueTypeAllowedValues {
7053
+ apiName: ValueTypeApiName;
7054
+ rid: ValueTypeRid;
7055
+ versionId: ValueTypeVersionId;
7056
+ }
6834
7057
  /**
6835
7058
  * The name of the value type in the API in camelCase format.
6836
7059
  *
@@ -6955,6 +7178,10 @@ export interface ValueTypeStructType {
6955
7178
  export interface ValueTypeUnionType {
6956
7179
  memberTypes: Array<ValueTypeFieldType>;
6957
7180
  }
7181
+ /**
7182
+ * Log Safety: SAFE
7183
+ */
7184
+ export type ValueTypeVersionId = string;
6958
7185
  /**
6959
7186
  * The name of the Query in the API and an optional version identifier separated by a colon.
6960
7187
  If the API name contains a colon, then a version identifier of either "latest" or a semantic version must