@osdk/internal.foundry.ontologies 2.42.0 → 2.43.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 +12 -0
- package/build/browser/_components.d.ts +169 -13
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/index.d.ts +1 -1
- package/build/browser/index.d.ts.map +1 -1
- package/build/esm/_components.d.ts +169 -13
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/index.d.ts +1 -1
- package/build/esm/index.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -596,6 +596,20 @@ export interface ApplyActionRequestV2 {
|
|
|
596
596
|
*/
|
|
597
597
|
export interface ApplyActionResponse {
|
|
598
598
|
}
|
|
599
|
+
/**
|
|
600
|
+
* Performs both apply reducers and extract main value to return the reduced main value.
|
|
601
|
+
*
|
|
602
|
+
* Log Safety: SAFE
|
|
603
|
+
*/
|
|
604
|
+
export interface ApplyReducersAndExtractMainValueLoadLevel {
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* Returns a single value of an array as configured in the ontology.
|
|
608
|
+
*
|
|
609
|
+
* Log Safety: SAFE
|
|
610
|
+
*/
|
|
611
|
+
export interface ApplyReducersLoadLevel {
|
|
612
|
+
}
|
|
599
613
|
/**
|
|
600
614
|
* Computes an approximate number of distinct values for the provided field.
|
|
601
615
|
*
|
|
@@ -1465,6 +1479,13 @@ export interface ExperimentalPropertyTypeStatus {
|
|
|
1465
1479
|
* Log Safety: SAFE
|
|
1466
1480
|
*/
|
|
1467
1481
|
export type ExtractDatePart = "DAYS" | "MONTHS" | "QUARTERS" | "YEARS";
|
|
1482
|
+
/**
|
|
1483
|
+
* Returns the main value of a struct as configured in the ontology.
|
|
1484
|
+
*
|
|
1485
|
+
* Log Safety: SAFE
|
|
1486
|
+
*/
|
|
1487
|
+
export interface ExtractMainValueLoadLevel {
|
|
1488
|
+
}
|
|
1468
1489
|
/**
|
|
1469
1490
|
* Extracts the specified date part from a date or timestamp.
|
|
1470
1491
|
*
|
|
@@ -1733,11 +1754,28 @@ the Ontology Manager.
|
|
|
1733
1754
|
*/
|
|
1734
1755
|
export type InterfacePropertyApiName = LooselyBrandedString<"InterfacePropertyApiName">;
|
|
1735
1756
|
/**
|
|
1757
|
+
* An implementation of an interface property via a local property.
|
|
1758
|
+
*
|
|
1736
1759
|
* Log Safety: UNSAFE
|
|
1737
1760
|
*/
|
|
1738
1761
|
export interface InterfacePropertyLocalPropertyImplementation {
|
|
1739
1762
|
propertyApiName: PropertyApiName;
|
|
1740
1763
|
}
|
|
1764
|
+
/**
|
|
1765
|
+
* An implementation of an interface property via the field of a local struct property.
|
|
1766
|
+
*
|
|
1767
|
+
* Log Safety: UNSAFE
|
|
1768
|
+
*/
|
|
1769
|
+
export interface InterfacePropertyStructFieldImplementation {
|
|
1770
|
+
structFieldOfProperty: StructFieldOfPropertyImplementation;
|
|
1771
|
+
}
|
|
1772
|
+
/**
|
|
1773
|
+
* An implementation of a struct interface property via a local struct property. Specifies a mapping of interface
|
|
1774
|
+
struct fields to local struct fields or properties.
|
|
1775
|
+
*
|
|
1776
|
+
* Log Safety: UNSAFE
|
|
1777
|
+
*/
|
|
1778
|
+
export type InterfacePropertyStructImplementation = Record<StructFieldApiName, PropertyOrStructFieldOfPropertyImplementation>;
|
|
1741
1779
|
/**
|
|
1742
1780
|
* The definition of an interface property type on an interface. An interface property can either be backed by a
|
|
1743
1781
|
shared property type or defined on the interface directly.
|
|
@@ -1750,14 +1788,17 @@ export type InterfacePropertyType = ({
|
|
|
1750
1788
|
type: "interfaceSharedPropertyType";
|
|
1751
1789
|
} & InterfaceSharedPropertyType);
|
|
1752
1790
|
/**
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1791
|
+
* Describes how an object type implements an interface property.
|
|
1792
|
+
*
|
|
1793
|
+
* Log Safety: UNSAFE
|
|
1794
|
+
*/
|
|
1795
|
+
export type InterfacePropertyTypeImplementation = ({
|
|
1796
|
+
type: "structFieldImplementation";
|
|
1797
|
+
} & InterfacePropertyStructFieldImplementation) | ({
|
|
1798
|
+
type: "structImplementation";
|
|
1799
|
+
} & InterfacePropertyStructImplementation) | ({
|
|
1759
1800
|
type: "localPropertyImplementation";
|
|
1760
|
-
} & InterfacePropertyLocalPropertyImplementation;
|
|
1801
|
+
} & InterfacePropertyLocalPropertyImplementation);
|
|
1761
1802
|
/**
|
|
1762
1803
|
* The unique resource identifier of an interface property type, useful for interacting with other Foundry APIs.
|
|
1763
1804
|
*
|
|
@@ -2186,6 +2227,7 @@ export interface LoadObjectSetRequestV2 {
|
|
|
2186
2227
|
objectSet: ObjectSet;
|
|
2187
2228
|
orderBy?: SearchOrderByV2;
|
|
2188
2229
|
select: Array<SelectedPropertyApiName>;
|
|
2230
|
+
selectV2: Array<PropertyIdentifier>;
|
|
2189
2231
|
pageToken?: _Core.PageToken;
|
|
2190
2232
|
pageSize?: _Core.PageSize;
|
|
2191
2233
|
excludeRid?: boolean;
|
|
@@ -2212,6 +2254,7 @@ export interface LoadObjectSetV2MultipleObjectTypesRequest {
|
|
|
2212
2254
|
objectSet: ObjectSet;
|
|
2213
2255
|
orderBy?: SearchOrderByV2;
|
|
2214
2256
|
select: Array<SelectedPropertyApiName>;
|
|
2257
|
+
selectV2: Array<PropertyIdentifier>;
|
|
2215
2258
|
pageToken?: _Core.PageToken;
|
|
2216
2259
|
pageSize?: _Core.PageSize;
|
|
2217
2260
|
excludeRid?: boolean;
|
|
@@ -2227,7 +2270,7 @@ single object set- some objects may have all their properties and some may only
|
|
|
2227
2270
|
The interfaceToObjectTypeMappings field contains mappings from SharedPropertyTypeApiNames on the interface(s) to
|
|
2228
2271
|
PropertyApiName for properties on the object(s).
|
|
2229
2272
|
The interfaceToObjectTypeMappingsV2 field contains mappings from InterfacePropertyApiNames on the
|
|
2230
|
-
interface(s) to
|
|
2273
|
+
interface(s) to InterfacePropertyTypeImplementation for properties on the object(s). This therefore includes
|
|
2231
2274
|
implementations of both properties backed by SharedPropertyTypes as well as properties defined on the interface.
|
|
2232
2275
|
*
|
|
2233
2276
|
* Log Safety: UNSAFE
|
|
@@ -2249,6 +2292,7 @@ export interface LoadObjectSetV2ObjectsOrInterfacesRequest {
|
|
|
2249
2292
|
objectSet: ObjectSet;
|
|
2250
2293
|
orderBy?: SearchOrderByV2;
|
|
2251
2294
|
select: Array<SelectedPropertyApiName>;
|
|
2295
|
+
selectV2: Array<PropertyIdentifier>;
|
|
2252
2296
|
pageToken?: _Core.PageToken;
|
|
2253
2297
|
pageSize?: _Core.PageSize;
|
|
2254
2298
|
excludeRid?: boolean;
|
|
@@ -3257,7 +3301,19 @@ export interface OntologyObject {
|
|
|
3257
3301
|
*/
|
|
3258
3302
|
export interface OntologyObjectArrayType {
|
|
3259
3303
|
subType: ObjectPropertyType;
|
|
3304
|
+
reducers: Array<OntologyObjectArrayTypeReducer>;
|
|
3260
3305
|
}
|
|
3306
|
+
/**
|
|
3307
|
+
* Log Safety: UNSAFE
|
|
3308
|
+
*/
|
|
3309
|
+
export interface OntologyObjectArrayTypeReducer {
|
|
3310
|
+
direction: OntologyObjectArrayTypeReducerSortDirection;
|
|
3311
|
+
field?: StructFieldApiName;
|
|
3312
|
+
}
|
|
3313
|
+
/**
|
|
3314
|
+
* Log Safety: SAFE
|
|
3315
|
+
*/
|
|
3316
|
+
export type OntologyObjectArrayTypeReducerSortDirection = "ASCENDING_NULLS_LAST" | "DESCENDING_NULLS_LAST";
|
|
3261
3317
|
/**
|
|
3262
3318
|
* Log Safety: UNSAFE
|
|
3263
3319
|
*/
|
|
@@ -3618,7 +3674,15 @@ export type PropertyIdentifier = ({
|
|
|
3618
3674
|
type: "property";
|
|
3619
3675
|
} & PropertyApiNameSelector) | ({
|
|
3620
3676
|
type: "structField";
|
|
3621
|
-
} & StructFieldSelector)
|
|
3677
|
+
} & StructFieldSelector) | ({
|
|
3678
|
+
type: "propertyWithLoadLevel";
|
|
3679
|
+
} & PropertyWithLoadLevelSelector);
|
|
3680
|
+
/**
|
|
3681
|
+
* Log Safety: UNSAFE
|
|
3682
|
+
*/
|
|
3683
|
+
export interface PropertyImplementation {
|
|
3684
|
+
propertyApiName: PropertyApiName;
|
|
3685
|
+
}
|
|
3622
3686
|
/**
|
|
3623
3687
|
* Formatting configuration for known Foundry types.
|
|
3624
3688
|
*
|
|
@@ -3627,6 +3691,22 @@ export type PropertyIdentifier = ({
|
|
|
3627
3691
|
export interface PropertyKnownTypeFormattingRule {
|
|
3628
3692
|
knownType: KnownType;
|
|
3629
3693
|
}
|
|
3694
|
+
/**
|
|
3695
|
+
* The load level of the property:
|
|
3696
|
+
|
|
3697
|
+
APPLY_REDUCERS: Returns a single value of an array as configured in the ontology.
|
|
3698
|
+
EXTRACT_MAIN_VALUE: Returns the main value of a struct as configured in the ontology.
|
|
3699
|
+
APPLY_REDUCERS_AND_EXTRACT_MAIN_VALUE: Performs both to return the reduced main value.
|
|
3700
|
+
*
|
|
3701
|
+
* Log Safety: UNSAFE
|
|
3702
|
+
*/
|
|
3703
|
+
export type PropertyLoadLevel = ({
|
|
3704
|
+
type: "applyReducersAndExtractMainValue";
|
|
3705
|
+
} & ApplyReducersAndExtractMainValueLoadLevel) | ({
|
|
3706
|
+
type: "applyReducers";
|
|
3707
|
+
} & ApplyReducersLoadLevel) | ({
|
|
3708
|
+
type: "extractMainValue";
|
|
3709
|
+
} & ExtractMainValueLoadLevel);
|
|
3630
3710
|
/**
|
|
3631
3711
|
* Wrapper for numeric formatting options.
|
|
3632
3712
|
*
|
|
@@ -3657,6 +3737,14 @@ export type PropertyNumberFormattingRuleType = ({
|
|
|
3657
3737
|
} & NumberFormatCustomUnit) | ({
|
|
3658
3738
|
type: "ratio";
|
|
3659
3739
|
} & NumberFormatRatio);
|
|
3740
|
+
/**
|
|
3741
|
+
* Log Safety: UNSAFE
|
|
3742
|
+
*/
|
|
3743
|
+
export type PropertyOrStructFieldOfPropertyImplementation = ({
|
|
3744
|
+
type: "structFieldOfProperty";
|
|
3745
|
+
} & StructFieldOfPropertyImplementation) | ({
|
|
3746
|
+
type: "property";
|
|
3747
|
+
} & PropertyImplementation);
|
|
3660
3748
|
/**
|
|
3661
3749
|
* Formatting configuration for timestamp property values.
|
|
3662
3750
|
*
|
|
@@ -3781,6 +3869,17 @@ export type PropertyValueFormattingRule = ({
|
|
|
3781
3869
|
} & PropertyKnownTypeFormattingRule) | ({
|
|
3782
3870
|
type: "timestamp";
|
|
3783
3871
|
} & PropertyTimestampFormattingRule);
|
|
3872
|
+
/**
|
|
3873
|
+
* A combination of a property API name and the load level to apply to the property. You can select a reduced value
|
|
3874
|
+
for arrays and the main value for structs. If the provided load level cannot be applied to the property type,
|
|
3875
|
+
then it will be ignored. This selector is experimental and may not work in filters or sorts.
|
|
3876
|
+
*
|
|
3877
|
+
* Log Safety: UNSAFE
|
|
3878
|
+
*/
|
|
3879
|
+
export interface PropertyWithLoadLevelSelector {
|
|
3880
|
+
propertyIdentifier: PropertyIdentifier;
|
|
3881
|
+
loadLevel: PropertyLoadLevel;
|
|
3882
|
+
}
|
|
3784
3883
|
/**
|
|
3785
3884
|
* An error indicating that the subscribe request should be attempted on a different node.
|
|
3786
3885
|
*
|
|
@@ -4097,6 +4196,40 @@ export interface RegexQuery {
|
|
|
4097
4196
|
propertyIdentifier?: PropertyIdentifier;
|
|
4098
4197
|
value: string;
|
|
4099
4198
|
}
|
|
4199
|
+
/**
|
|
4200
|
+
* Specifies a bound for a relative date range query.
|
|
4201
|
+
*
|
|
4202
|
+
* Log Safety: UNSAFE
|
|
4203
|
+
*/
|
|
4204
|
+
export type RelativeDateRangeBound = {
|
|
4205
|
+
type: "relativePoint";
|
|
4206
|
+
} & RelativePointInTime;
|
|
4207
|
+
/**
|
|
4208
|
+
* Returns objects where the specified date or timestamp property falls within a relative date range.
|
|
4209
|
+
The bounds are calculated relative to query execution time and rounded to midnight in the specified timezone.
|
|
4210
|
+
Examples:
|
|
4211
|
+
|
|
4212
|
+
Last 7 days: relativeStartTime = {value: -7, timeUnit: DAY}, relativeEndTime = {value: 0, timeUnit: DAY}
|
|
4213
|
+
This month: relativeStartTime = {value: 0, timeUnit: MONTH}, relativeEndTime = {value: 1, timeUnit: MONTH}
|
|
4214
|
+
*
|
|
4215
|
+
* Log Safety: UNSAFE
|
|
4216
|
+
*/
|
|
4217
|
+
export interface RelativeDateRangeQuery {
|
|
4218
|
+
field?: PropertyApiName;
|
|
4219
|
+
propertyIdentifier?: PropertyIdentifier;
|
|
4220
|
+
relativeStartTime?: RelativeDateRangeBound;
|
|
4221
|
+
relativeEndTime?: RelativeDateRangeBound;
|
|
4222
|
+
timeZoneId: string;
|
|
4223
|
+
}
|
|
4224
|
+
/**
|
|
4225
|
+
* A point in time specified relative to query execution time.
|
|
4226
|
+
*
|
|
4227
|
+
* Log Safety: UNSAFE
|
|
4228
|
+
*/
|
|
4229
|
+
export interface RelativePointInTime {
|
|
4230
|
+
value: number;
|
|
4231
|
+
timeUnit: RelativeTimeUnit;
|
|
4232
|
+
}
|
|
4100
4233
|
/**
|
|
4101
4234
|
* A relative time, such as "3 days before" or "2 hours after" the current moment.
|
|
4102
4235
|
*
|
|
@@ -4124,6 +4257,12 @@ export type RelativeTimeRelation = "BEFORE" | "AFTER";
|
|
|
4124
4257
|
* Log Safety: SAFE
|
|
4125
4258
|
*/
|
|
4126
4259
|
export type RelativeTimeSeriesTimeUnit = "MILLISECONDS" | "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
4260
|
+
/**
|
|
4261
|
+
* Units for relative time calculations.
|
|
4262
|
+
*
|
|
4263
|
+
* Log Safety: SAFE
|
|
4264
|
+
*/
|
|
4265
|
+
export type RelativeTimeUnit = "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
4127
4266
|
/**
|
|
4128
4267
|
* Unique request id
|
|
4129
4268
|
*
|
|
@@ -4217,6 +4356,8 @@ export type SearchJsonQueryV2 = ({
|
|
|
4217
4356
|
} & LtQueryV2) | ({
|
|
4218
4357
|
type: "doesNotIntersectBoundingBox";
|
|
4219
4358
|
} & DoesNotIntersectBoundingBoxQuery) | ({
|
|
4359
|
+
type: "relativeDateRange";
|
|
4360
|
+
} & RelativeDateRangeQuery) | ({
|
|
4220
4361
|
type: "wildcard";
|
|
4221
4362
|
} & WildcardQuery) | ({
|
|
4222
4363
|
type: "withinDistanceOf";
|
|
@@ -4298,6 +4439,7 @@ export interface SearchObjectsRequestV2 {
|
|
|
4298
4439
|
pageSize?: _Core.PageSize;
|
|
4299
4440
|
pageToken?: _Core.PageToken;
|
|
4300
4441
|
select: Array<PropertyApiName>;
|
|
4442
|
+
selectV2: Array<PropertyIdentifier>;
|
|
4301
4443
|
excludeRid?: boolean;
|
|
4302
4444
|
snapshot?: boolean;
|
|
4303
4445
|
}
|
|
@@ -4693,10 +4835,16 @@ export interface StructFieldEvaluationResult {
|
|
|
4693
4835
|
required: boolean;
|
|
4694
4836
|
}
|
|
4695
4837
|
/**
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4838
|
+
* Log Safety: UNSAFE
|
|
4839
|
+
*/
|
|
4840
|
+
export interface StructFieldOfPropertyImplementation {
|
|
4841
|
+
propertyApiName: PropertyApiName;
|
|
4842
|
+
structFieldApiName: StructFieldApiName;
|
|
4843
|
+
}
|
|
4844
|
+
/**
|
|
4845
|
+
* A combination of a property identifier and the load level to apply to the property. You can select a reduced
|
|
4846
|
+
value for arrays and the main value for structs. If the provided load level cannot be applied to the property
|
|
4847
|
+
type, then it will be ignored. This selector is experimental and may not work in filters or sorts.
|
|
4700
4848
|
*
|
|
4701
4849
|
* Log Safety: UNSAFE
|
|
4702
4850
|
*/
|
|
@@ -4747,6 +4895,14 @@ export interface StructParameterFieldArgument {
|
|
|
4747
4895
|
*/
|
|
4748
4896
|
export interface StructType {
|
|
4749
4897
|
structFieldTypes: Array<StructFieldType>;
|
|
4898
|
+
mainValue?: StructTypeMainValue;
|
|
4899
|
+
}
|
|
4900
|
+
/**
|
|
4901
|
+
* Log Safety: UNSAFE
|
|
4902
|
+
*/
|
|
4903
|
+
export interface StructTypeMainValue {
|
|
4904
|
+
mainValueType: ObjectPropertyType;
|
|
4905
|
+
fields: Array<StructFieldApiName>;
|
|
4750
4906
|
}
|
|
4751
4907
|
/**
|
|
4752
4908
|
* Contains the status of the submission criteria.
|