@osdk/foundry.ontologies 2.69.0 → 2.71.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.71.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e0a20ae: Regenerate SDKs with API version 1.1721.0
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [e0a20ae]
12
+ - @osdk/foundry.core@2.71.0
13
+ - @osdk/foundry.datasets@2.71.0
14
+ - @osdk/foundry.geo@2.71.0
15
+
16
+ ## 2.70.0
17
+
18
+ ### Minor Changes
19
+
20
+ - be7f6cd: Regenerate SDKs with API version 1.1716.0
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [be7f6cd]
25
+ - @osdk/foundry.core@2.70.0
26
+ - @osdk/foundry.datasets@2.70.0
27
+ - @osdk/foundry.geo@2.70.0
28
+
3
29
  ## 2.69.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
  *
@@ -2381,6 +2426,13 @@ export interface InQuery {
2381
2426
  export interface IntegerValue {
2382
2427
  value: number;
2383
2428
  }
2429
+ /**
2430
+ * The name in the API of an action defined on an interface that implementing object types provide a concrete
2431
+ action type for.
2432
+ *
2433
+ * Log Safety: UNSAFE
2434
+ */
2435
+ export type InterfaceActionTypeConstraintApiName = LooselyBrandedString<"InterfaceActionTypeConstraintApiName">;
2384
2436
  /**
2385
2437
  * An interface property type with an additional field to indicate constraints that need to be satisfied by
2386
2438
  implementing object property types.
@@ -3350,6 +3402,15 @@ export interface LtQueryV2 {
3350
3402
  propertyIdentifier?: PropertyIdentifier;
3351
3403
  value: PropertyValue;
3352
3404
  }
3405
+ /**
3406
+ * The parameter value (a markdown-formatted string) must satisfy the configured length bounds.
3407
+ *
3408
+ * Log Safety: SAFE
3409
+ */
3410
+ export interface MarkdownAllowedValues {
3411
+ gte?: number;
3412
+ lte?: number;
3413
+ }
3353
3414
  /**
3354
3415
  * The id of a classification or mandatory marking.
3355
3416
  *
@@ -3483,6 +3544,13 @@ export interface ModifyObjectRule {
3483
3544
  export interface MultiplyPropertyExpression {
3484
3545
  properties: Array<DerivedPropertyDefinition>;
3485
3546
  }
3547
+ /**
3548
+ * The parameter must be omitted or empty.
3549
+ *
3550
+ * Log Safety: SAFE
3551
+ */
3552
+ export interface MustBeEmptyAllowedValues {
3553
+ }
3486
3554
  /**
3487
3555
  * Queries support either a vector matching the embedding model defined on the property, or text that is
3488
3556
  automatically embedded.
@@ -3555,6 +3623,13 @@ export interface NotQuery {
3555
3623
  export interface NotQueryV2 {
3556
3624
  value: SearchJsonQueryV2;
3557
3625
  }
3626
+ /**
3627
+ * The current evaluation time itself. Carries no fields.
3628
+ *
3629
+ * Log Safety: SAFE
3630
+ */
3631
+ export interface NowDatetimeValue {
3632
+ }
3558
3633
  /**
3559
3634
  * Attach arbitrary text before and/or after the formatted number.
3560
3635
  Example: prefix "USD " and postfix " total" displays as "USD 1,234.56 total"
@@ -4266,6 +4341,7 @@ export interface ObjectTypeInterfaceImplementation {
4266
4341
  properties: Record<SharedPropertyTypeApiName, PropertyApiName>;
4267
4342
  propertiesV2: Record<InterfacePropertyApiName, InterfacePropertyTypeImplementation>;
4268
4343
  links: Record<InterfaceLinkTypeApiName, Array<LinkTypeApiName>>;
4344
+ actionTypes: Record<InterfaceActionTypeConstraintApiName, ActionTypeApiName>;
4269
4345
  }
4270
4346
  /**
4271
4347
  * Groups link type API names by the object type they're scoped to. Link type API names are only unique within
@@ -4376,6 +4452,15 @@ export interface ObjectUpdate {
4376
4452
  object: OntologyObjectV2;
4377
4453
  state: ObjectState;
4378
4454
  }
4455
+ /**
4456
+ * The parameter value must be one of a fixed set of labelled options.
4457
+ *
4458
+ * Log Safety: UNSAFE
4459
+ */
4460
+ export interface OneOfAllowedValues {
4461
+ options: Array<ParameterAllowedValueOption>;
4462
+ otherValuesAllowed: boolean;
4463
+ }
4379
4464
  /**
4380
4465
  * The parameter has a manually predefined set of options.
4381
4466
  *
@@ -4700,6 +4785,66 @@ export interface Parameter {
4700
4785
  dataType?: OntologyDataType;
4701
4786
  required: boolean;
4702
4787
  }
4788
+ /**
4789
+ * A possible value for the parameter.
4790
+ *
4791
+ * Log Safety: UNSAFE
4792
+ */
4793
+ export interface ParameterAllowedValueOption {
4794
+ displayName: _Core.DisplayName;
4795
+ value: DataValue;
4796
+ }
4797
+ /**
4798
+ * The allowed-values constraint configured on an action parameter.
4799
+ *
4800
+ * Log Safety: UNSAFE
4801
+ */
4802
+ export type ParameterAllowedValues = ({
4803
+ type: "oneOf";
4804
+ } & OneOfAllowedValues) | ({
4805
+ type: "datetime";
4806
+ } & DatetimeAllowedValues) | ({
4807
+ type: "attachment";
4808
+ } & AttachmentAllowedValues) | ({
4809
+ type: "valueType";
4810
+ } & ValueTypeAllowedValues) | ({
4811
+ type: "markdown";
4812
+ } & MarkdownAllowedValues) | ({
4813
+ type: "range";
4814
+ } & RangeAllowedValues) | ({
4815
+ type: "mustBeEmpty";
4816
+ } & MustBeEmptyAllowedValues) | ({
4817
+ type: "text";
4818
+ } & TextAllowedValues);
4819
+ /**
4820
+ * Bounds on the size of an array-typed parameter.
4821
+ *
4822
+ * Log Safety: SAFE
4823
+ */
4824
+ export interface ParameterArraySize {
4825
+ gte?: number;
4826
+ lte?: number;
4827
+ }
4828
+ /**
4829
+ * The source of a constraint bound value.
4830
+ *
4831
+ * Log Safety: UNSAFE
4832
+ */
4833
+ export type ParameterConstraintValue = {
4834
+ type: "static";
4835
+ } & StaticConstraintValue;
4836
+ /**
4837
+ * A datetime bound value.
4838
+ *
4839
+ * Log Safety: UNSAFE
4840
+ */
4841
+ export type ParameterDatetimeValue = ({
4842
+ type: "now";
4843
+ } & NowDatetimeValue) | ({
4844
+ type: "fixed";
4845
+ } & FixedDatetimeValue) | ({
4846
+ type: "relative";
4847
+ } & RelativeDatetimeValue);
4703
4848
  /**
4704
4849
  * A constraint that an action parameter value must satisfy in order to be considered valid.
4705
4850
  Constraints can be configured on action parameters in the Ontology Manager.
@@ -5499,6 +5644,17 @@ export interface QueryTypeV2 {
5499
5644
  export interface QueryUnionType {
5500
5645
  unionTypes: Array<QueryDataType>;
5501
5646
  }
5647
+ /**
5648
+ * The parameter value must fall within the specified numeric range.
5649
+ *
5650
+ * Log Safety: UNSAFE
5651
+ */
5652
+ export interface RangeAllowedValues {
5653
+ gt?: ParameterConstraintValue;
5654
+ gte?: ParameterConstraintValue;
5655
+ lt?: ParameterConstraintValue;
5656
+ lte?: ParameterConstraintValue;
5657
+ }
5502
5658
  /**
5503
5659
  * The parameter value must be within the defined range.
5504
5660
  *
@@ -5636,6 +5792,34 @@ export interface RelativeDateRangeQuery {
5636
5792
  relativeEndTime?: RelativeDateRangeBound;
5637
5793
  timeZoneId: string;
5638
5794
  }
5795
+ /**
5796
+ * The magnitude of a relative datetime offset.
5797
+ *
5798
+ * Log Safety: SAFE
5799
+ */
5800
+ export type RelativeDatetimeDuration = string;
5801
+ /**
5802
+ * Direction of a relative datetime offset.
5803
+ *
5804
+ * Log Safety: SAFE
5805
+ */
5806
+ export type RelativeDatetimeTense = "FUTURE" | "PAST";
5807
+ /**
5808
+ * Time unit for relative datetime offsets.
5809
+ *
5810
+ * Log Safety: SAFE
5811
+ */
5812
+ export type RelativeDatetimeUnit = "SECOND" | "MINUTE" | "HOUR" | "DAY" | "WEEK";
5813
+ /**
5814
+ * A datetime expressed as an offset from the current time.
5815
+ *
5816
+ * Log Safety: SAFE
5817
+ */
5818
+ export interface RelativeDatetimeValue {
5819
+ duration: RelativeDatetimeDuration;
5820
+ unit: RelativeDatetimeUnit;
5821
+ tense: RelativeDatetimeTense;
5822
+ }
5639
5823
  /**
5640
5824
  * A point in time specified relative to query execution time.
5641
5825
  *
@@ -6196,6 +6380,14 @@ export interface StartsWithQuery {
6196
6380
  export interface StaticArgument {
6197
6381
  value: DataValue;
6198
6382
  }
6383
+ /**
6384
+ * A literal constraint value.
6385
+ *
6386
+ * Log Safety: UNSAFE
6387
+ */
6388
+ export interface StaticConstraintValue {
6389
+ value: DataValue;
6390
+ }
6199
6391
  /**
6200
6392
  * Returns action types with the given status.
6201
6393
  *
@@ -6540,6 +6732,18 @@ export interface SynchronousWebhookOutputArgument {
6540
6732
  * Log Safety: SAFE
6541
6733
  */
6542
6734
  export type TableRid = LooselyBrandedString<"TableRid">;
6735
+ /**
6736
+ * The parameter value (a string) must satisfy the configured length bounds and/or regex
6737
+ pattern.
6738
+ *
6739
+ * Log Safety: UNSAFE
6740
+ */
6741
+ export interface TextAllowedValues {
6742
+ gte?: number;
6743
+ lte?: number;
6744
+ regex?: string;
6745
+ configuredFailureMessage?: string;
6746
+ }
6543
6747
  /**
6544
6748
  * Log Safety: UNSAFE
6545
6749
  */
@@ -6848,6 +7052,16 @@ structs.
6848
7052
  * Log Safety: UNSAFE
6849
7053
  */
6850
7054
  export type ValueType = LooselyBrandedString<"ValueType">;
7055
+ /**
7056
+ * The parameter value must conform to the referenced value type.
7057
+ *
7058
+ * Log Safety: UNSAFE
7059
+ */
7060
+ export interface ValueTypeAllowedValues {
7061
+ apiName: ValueTypeApiName;
7062
+ rid: ValueTypeRid;
7063
+ versionId: ValueTypeVersionId;
7064
+ }
6851
7065
  /**
6852
7066
  * The name of the value type in the API in camelCase format.
6853
7067
  *
@@ -6972,6 +7186,10 @@ export interface ValueTypeStructType {
6972
7186
  export interface ValueTypeUnionType {
6973
7187
  memberTypes: Array<ValueTypeFieldType>;
6974
7188
  }
7189
+ /**
7190
+ * Log Safety: SAFE
7191
+ */
7192
+ export type ValueTypeVersionId = string;
6975
7193
  /**
6976
7194
  * The name of the Query in the API and an optional version identifier separated by a colon.
6977
7195
  If the API name contains a colon, then a version identifier of either "latest" or a semantic version must