@osdk/internal.foundry.ontologies 2.33.0 → 2.35.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 +26 -0
- package/build/browser/_components.d.ts +403 -1
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +14 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +2 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/esm/_components.d.ts +403 -1
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +14 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +2 -2
- package/build/esm/index.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @osdk/internal.foundry.ontologies
|
|
2
2
|
|
|
3
|
+
## 2.35.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7c587d4: Regenerate Platform SDKs
|
|
8
|
+
- dfa9cd5: Regenerate Platform SDKs
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [7c587d4]
|
|
13
|
+
- Updated dependencies [dfa9cd5]
|
|
14
|
+
- @osdk/internal.foundry.core@2.35.0
|
|
15
|
+
- @osdk/internal.foundry.geo@2.35.0
|
|
16
|
+
|
|
17
|
+
## 2.34.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 1f4aa71: Regenerate Platform SDKs
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [1f4aa71]
|
|
26
|
+
- @osdk/internal.foundry.core@2.34.0
|
|
27
|
+
- @osdk/internal.foundry.geo@2.34.0
|
|
28
|
+
|
|
3
29
|
## 2.33.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -163,7 +163,7 @@ export type ActionTypeApiName = LooselyBrandedString<"ActionTypeApiName">;
|
|
|
163
163
|
*/
|
|
164
164
|
export interface ActionTypeFullMetadata {
|
|
165
165
|
actionType: ActionTypeV2;
|
|
166
|
-
|
|
166
|
+
fullLogicRules: Array<ActionLogicRule>;
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
169
|
* The unique resource identifier of an action type, useful for interacting with other Foundry APIs.
|
|
@@ -234,6 +234,13 @@ export interface AddObjectEdit {
|
|
|
234
234
|
export interface AddPropertyExpression {
|
|
235
235
|
properties: Array<DerivedPropertyDefinition>;
|
|
236
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* Log Safety: UNSAFE
|
|
239
|
+
*/
|
|
240
|
+
export interface Affix {
|
|
241
|
+
prefix?: PropertyTypeReferenceOrStringConstant;
|
|
242
|
+
postfix?: PropertyTypeReferenceOrStringConstant;
|
|
243
|
+
}
|
|
237
244
|
/**
|
|
238
245
|
* Log Safety: UNSAFE
|
|
239
246
|
*/
|
|
@@ -1116,6 +1123,57 @@ export type CustomTypeId = LooselyBrandedString<"CustomTypeId">;
|
|
|
1116
1123
|
* Log Safety: UNSAFE
|
|
1117
1124
|
*/
|
|
1118
1125
|
export type DataValue = any;
|
|
1126
|
+
/**
|
|
1127
|
+
* Log Safety: UNSAFE
|
|
1128
|
+
*/
|
|
1129
|
+
export type DatetimeFormat = ({
|
|
1130
|
+
type: "stringFormat";
|
|
1131
|
+
} & DatetimeStringFormat) | ({
|
|
1132
|
+
type: "localizedFormat";
|
|
1133
|
+
} & DatetimeLocalizedFormat);
|
|
1134
|
+
/**
|
|
1135
|
+
* Predefined localized formatting options.
|
|
1136
|
+
*
|
|
1137
|
+
* Log Safety: SAFE
|
|
1138
|
+
*/
|
|
1139
|
+
export interface DatetimeLocalizedFormat {
|
|
1140
|
+
format: DatetimeLocalizedFormatType;
|
|
1141
|
+
}
|
|
1142
|
+
/**
|
|
1143
|
+
* Localized date/time format types.
|
|
1144
|
+
*
|
|
1145
|
+
* Log Safety: SAFE
|
|
1146
|
+
*/
|
|
1147
|
+
export type DatetimeLocalizedFormatType = "DATE_FORMAT_RELATIVE_TO_NOW" | "DATE_FORMAT_DATE" | "DATE_FORMAT_YEAR_AND_MONTH" | "DATE_FORMAT_DATE_TIME" | "DATE_FORMAT_DATE_TIME_SHORT" | "DATE_FORMAT_TIME" | "DATE_FORMAT_ISO_INSTANT";
|
|
1148
|
+
/**
|
|
1149
|
+
* A strictly specified date format pattern.
|
|
1150
|
+
*
|
|
1151
|
+
* Log Safety: SAFE
|
|
1152
|
+
*/
|
|
1153
|
+
export interface DatetimeStringFormat {
|
|
1154
|
+
pattern: string;
|
|
1155
|
+
}
|
|
1156
|
+
/**
|
|
1157
|
+
* Log Safety: UNSAFE
|
|
1158
|
+
*/
|
|
1159
|
+
export type DatetimeTimezone = ({
|
|
1160
|
+
type: "static";
|
|
1161
|
+
} & DatetimeTimezoneStatic) | ({
|
|
1162
|
+
type: "user";
|
|
1163
|
+
} & DatetimeTimezoneUser);
|
|
1164
|
+
/**
|
|
1165
|
+
* Log Safety: UNSAFE
|
|
1166
|
+
*/
|
|
1167
|
+
export interface DatetimeTimezoneStatic {
|
|
1168
|
+
zoneId: PropertyTypeReferenceOrStringConstant;
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* The user's local timezone.
|
|
1172
|
+
*
|
|
1173
|
+
* Log Safety: SAFE
|
|
1174
|
+
*/
|
|
1175
|
+
export interface DatetimeTimezoneUser {
|
|
1176
|
+
}
|
|
1119
1177
|
/**
|
|
1120
1178
|
* The result of a CipherText decryption. If successful, the plaintext decrypted value will be returned. Otherwise, an error will be thrown.
|
|
1121
1179
|
*
|
|
@@ -1302,6 +1360,26 @@ export interface DoubleVector {
|
|
|
1302
1360
|
* Log Safety: UNSAFE
|
|
1303
1361
|
*/
|
|
1304
1362
|
export type Duration = LooselyBrandedString<"Duration">;
|
|
1363
|
+
/**
|
|
1364
|
+
* Specifies the unit of the input duration value.
|
|
1365
|
+
*
|
|
1366
|
+
* Log Safety: SAFE
|
|
1367
|
+
*/
|
|
1368
|
+
export type DurationBaseValue = "SECONDS" | "MILLISECONDS";
|
|
1369
|
+
/**
|
|
1370
|
+
* Log Safety: UNSAFE
|
|
1371
|
+
*/
|
|
1372
|
+
export type DurationFormatStyle = ({
|
|
1373
|
+
type: "humanReadable";
|
|
1374
|
+
} & HumanReadableFormat) | ({
|
|
1375
|
+
type: "timecode";
|
|
1376
|
+
} & TimeCodeFormat);
|
|
1377
|
+
/**
|
|
1378
|
+
* Specifies the maximum precision to apply when formatting a duration.
|
|
1379
|
+
*
|
|
1380
|
+
* Log Safety: SAFE
|
|
1381
|
+
*/
|
|
1382
|
+
export type DurationPrecision = "DAYS" | "HOURS" | "MINUTES" | "SECONDS" | "AUTO";
|
|
1305
1383
|
/**
|
|
1306
1384
|
* Log Safety: UNSAFE
|
|
1307
1385
|
*/
|
|
@@ -1409,6 +1487,12 @@ properties.{propertyApiName}.isNull=false.
|
|
|
1409
1487
|
* Log Safety: UNSAFE
|
|
1410
1488
|
*/
|
|
1411
1489
|
export type FilterValue = LooselyBrandedString<"FilterValue">;
|
|
1490
|
+
/**
|
|
1491
|
+
* Integer key for fixed value mapping.
|
|
1492
|
+
*
|
|
1493
|
+
* Log Safety: SAFE
|
|
1494
|
+
*/
|
|
1495
|
+
export type FixedValuesMapKey = number;
|
|
1412
1496
|
/**
|
|
1413
1497
|
* Log Safety: UNSAFE
|
|
1414
1498
|
*/
|
|
@@ -1543,6 +1627,14 @@ export interface GtQueryV2 {
|
|
|
1543
1627
|
propertyIdentifier?: PropertyIdentifier;
|
|
1544
1628
|
value: PropertyValue;
|
|
1545
1629
|
}
|
|
1630
|
+
/**
|
|
1631
|
+
* Formats the duration as a human-readable written string.
|
|
1632
|
+
*
|
|
1633
|
+
* Log Safety: SAFE
|
|
1634
|
+
*/
|
|
1635
|
+
export interface HumanReadableFormat {
|
|
1636
|
+
showFullUnits?: boolean;
|
|
1637
|
+
}
|
|
1546
1638
|
/**
|
|
1547
1639
|
* A union currently only consisting of the BlueprintIcon (more icon types may be added in the future).
|
|
1548
1640
|
*
|
|
@@ -1717,6 +1809,16 @@ export interface IsNullQueryV2 {
|
|
|
1717
1809
|
propertyIdentifier?: PropertyIdentifier;
|
|
1718
1810
|
value: boolean;
|
|
1719
1811
|
}
|
|
1812
|
+
/**
|
|
1813
|
+
* Known Foundry types for specialized formatting:
|
|
1814
|
+
|
|
1815
|
+
userOrGroupRid: Format as user or group
|
|
1816
|
+
resourceRid: Format as resource
|
|
1817
|
+
artifactGid: Format as artifact
|
|
1818
|
+
*
|
|
1819
|
+
* Log Safety: SAFE
|
|
1820
|
+
*/
|
|
1821
|
+
export type KnownType = "USER_OR_GROUP_ID" | "RESOURCE_RID" | "ARTIFACT_GID";
|
|
1720
1822
|
/**
|
|
1721
1823
|
* Finds least of two or more numeric, date or timestamp values.
|
|
1722
1824
|
*
|
|
@@ -2293,6 +2395,188 @@ export interface NotQuery {
|
|
|
2293
2395
|
export interface NotQueryV2 {
|
|
2294
2396
|
value: SearchJsonQueryV2;
|
|
2295
2397
|
}
|
|
2398
|
+
/**
|
|
2399
|
+
* Attach arbitrary text before and/or after the formatted number.
|
|
2400
|
+
Example: prefix "USD " and postfix " total" displays as "USD 1,234.56 total"
|
|
2401
|
+
*
|
|
2402
|
+
* Log Safety: UNSAFE
|
|
2403
|
+
*/
|
|
2404
|
+
export interface NumberFormatAffix {
|
|
2405
|
+
baseFormatOptions: NumberFormatOptions;
|
|
2406
|
+
affix: Affix;
|
|
2407
|
+
}
|
|
2408
|
+
/**
|
|
2409
|
+
* Display the value as basis points. Multiplies by 10,000 and appends "bps" suffix.
|
|
2410
|
+
Used in finance where 1 basis point = 0.01%.
|
|
2411
|
+
Example: 0.0025 displays as "25 bps", 0.01 displays as "100 bps"
|
|
2412
|
+
*
|
|
2413
|
+
* Log Safety: SAFE
|
|
2414
|
+
*/
|
|
2415
|
+
export interface NumberFormatBasisPoints {
|
|
2416
|
+
baseFormatOptions: NumberFormatOptions;
|
|
2417
|
+
}
|
|
2418
|
+
/**
|
|
2419
|
+
* Format numbers as currency values with proper symbols and styling.
|
|
2420
|
+
Example: 1234.56 with currency "USD" displays as "USD 1,234.56" (standard) or "USD 1.2K" (compact)
|
|
2421
|
+
*
|
|
2422
|
+
* Log Safety: UNSAFE
|
|
2423
|
+
*/
|
|
2424
|
+
export interface NumberFormatCurrency {
|
|
2425
|
+
baseFormatOptions: NumberFormatOptions;
|
|
2426
|
+
style: NumberFormatCurrencyStyle;
|
|
2427
|
+
currencyCode: PropertyTypeReferenceOrStringConstant;
|
|
2428
|
+
}
|
|
2429
|
+
/**
|
|
2430
|
+
* Currency rendering style options:
|
|
2431
|
+
|
|
2432
|
+
STANDARD: Full currency formatting (e.g., "USD 1,234.56")
|
|
2433
|
+
COMPACT: Abbreviated currency formatting (e.g., "USD 1.2K")
|
|
2434
|
+
*
|
|
2435
|
+
* Log Safety: SAFE
|
|
2436
|
+
*/
|
|
2437
|
+
export type NumberFormatCurrencyStyle = "STANDARD" | "COMPACT";
|
|
2438
|
+
/**
|
|
2439
|
+
* Format numbers with custom units not supported by standard formatting.
|
|
2440
|
+
Use this for domain-specific units like "requests/sec", "widgets", etc.
|
|
2441
|
+
Example: 1500 with unit "widgets" displays as "1,500 widgets"
|
|
2442
|
+
*
|
|
2443
|
+
* Log Safety: UNSAFE
|
|
2444
|
+
*/
|
|
2445
|
+
export interface NumberFormatCustomUnit {
|
|
2446
|
+
baseFormatOptions: NumberFormatOptions;
|
|
2447
|
+
unit: PropertyTypeReferenceOrStringConstant;
|
|
2448
|
+
}
|
|
2449
|
+
/**
|
|
2450
|
+
* Format numeric values representing time durations.
|
|
2451
|
+
|
|
2452
|
+
Human readable: 3661 seconds displays as "1h 1m 1s"
|
|
2453
|
+
Timecode: 3661 seconds displays as "01:01:01"
|
|
2454
|
+
*
|
|
2455
|
+
* Log Safety: UNSAFE
|
|
2456
|
+
*/
|
|
2457
|
+
export interface NumberFormatDuration {
|
|
2458
|
+
formatStyle: DurationFormatStyle;
|
|
2459
|
+
precision?: DurationPrecision;
|
|
2460
|
+
baseValue: DurationBaseValue;
|
|
2461
|
+
}
|
|
2462
|
+
/**
|
|
2463
|
+
* Map integer values to custom human-readable strings.
|
|
2464
|
+
Example: {1: "First", 2: "Second", 3: "Third"} would display 2 as "Second".
|
|
2465
|
+
*
|
|
2466
|
+
* Log Safety: UNSAFE
|
|
2467
|
+
*/
|
|
2468
|
+
export interface NumberFormatFixedValues {
|
|
2469
|
+
values: Record<FixedValuesMapKey, string>;
|
|
2470
|
+
}
|
|
2471
|
+
/**
|
|
2472
|
+
* Number notation style options:
|
|
2473
|
+
|
|
2474
|
+
STANDARD: Regular number display ("1,234")
|
|
2475
|
+
SCIENTIFIC: Scientific notation ("1.234E3")
|
|
2476
|
+
ENGINEERING: Engineering notation ("1.234E3")
|
|
2477
|
+
COMPACT: Compact notation ("1.2K")
|
|
2478
|
+
*
|
|
2479
|
+
* Log Safety: SAFE
|
|
2480
|
+
*/
|
|
2481
|
+
export type NumberFormatNotation = "STANDARD" | "SCIENTIFIC" | "ENGINEERING" | "COMPACT";
|
|
2482
|
+
/**
|
|
2483
|
+
* Base number formatting options that can be applied to all number formatters.
|
|
2484
|
+
Controls precision, grouping, rounding, and notation. Consistent with JavaScript's Intl.NumberFormat.
|
|
2485
|
+
Examples:
|
|
2486
|
+
|
|
2487
|
+
useGrouping: true makes 1234567 display as "1,234,567"
|
|
2488
|
+
maximumFractionDigits: 2 makes 3.14159 display as "3.14"
|
|
2489
|
+
notation: SCIENTIFIC makes 1234 display as "1.234E3"
|
|
2490
|
+
*
|
|
2491
|
+
* Log Safety: SAFE
|
|
2492
|
+
*/
|
|
2493
|
+
export interface NumberFormatOptions {
|
|
2494
|
+
useGrouping?: boolean;
|
|
2495
|
+
convertNegativeToParenthesis?: boolean;
|
|
2496
|
+
minimumIntegerDigits?: number;
|
|
2497
|
+
minimumFractionDigits?: number;
|
|
2498
|
+
maximumFractionDigits?: number;
|
|
2499
|
+
minimumSignificantDigits?: number;
|
|
2500
|
+
maximumSignificantDigits?: number;
|
|
2501
|
+
notation?: NumberFormatNotation;
|
|
2502
|
+
roundingMode?: NumberRoundingMode;
|
|
2503
|
+
}
|
|
2504
|
+
/**
|
|
2505
|
+
* Display the value as a ratio with different scaling factors and suffixes:
|
|
2506
|
+
|
|
2507
|
+
PERCENTAGE: Multiply by 100 and add "%" suffix (0.15 → "15%")
|
|
2508
|
+
PER_MILLE: Multiply by 1000 and add "‰" suffix (0.015 → "15‰")
|
|
2509
|
+
BASIS_POINTS: Multiply by 10000 and add "bps" suffix (0.0015 → "15bps")
|
|
2510
|
+
*
|
|
2511
|
+
* Log Safety: SAFE
|
|
2512
|
+
*/
|
|
2513
|
+
export interface NumberFormatRatio {
|
|
2514
|
+
ratioType: NumberRatioType;
|
|
2515
|
+
baseFormatOptions: NumberFormatOptions;
|
|
2516
|
+
}
|
|
2517
|
+
/**
|
|
2518
|
+
* Scale the numeric value by dividing by the specified factor and append an appropriate suffix.
|
|
2519
|
+
|
|
2520
|
+
THOUSANDS: 1500 displays as "1.5K"
|
|
2521
|
+
MILLIONS: 2500000 displays as "2.5M"
|
|
2522
|
+
BILLIONS: 3200000000 displays as "3.2B"
|
|
2523
|
+
*
|
|
2524
|
+
* Log Safety: SAFE
|
|
2525
|
+
*/
|
|
2526
|
+
export interface NumberFormatScale {
|
|
2527
|
+
scaleType: NumberScaleType;
|
|
2528
|
+
baseFormatOptions: NumberFormatOptions;
|
|
2529
|
+
}
|
|
2530
|
+
/**
|
|
2531
|
+
* Standard number formatting with configurable options.
|
|
2532
|
+
This provides basic number formatting without any special units, scaling, or transformations.
|
|
2533
|
+
*
|
|
2534
|
+
* Log Safety: SAFE
|
|
2535
|
+
*/
|
|
2536
|
+
export interface NumberFormatStandard {
|
|
2537
|
+
baseFormatOptions: NumberFormatOptions;
|
|
2538
|
+
}
|
|
2539
|
+
/**
|
|
2540
|
+
* Format numbers with standard units supported by Intl.NumberFormat.
|
|
2541
|
+
Examples: "meter", "kilogram", "celsius", "percent"
|
|
2542
|
+
Input: 25 with unit "celsius" displays as "25 degrees C"
|
|
2543
|
+
*
|
|
2544
|
+
* Log Safety: UNSAFE
|
|
2545
|
+
*/
|
|
2546
|
+
export interface NumberFormatStandardUnit {
|
|
2547
|
+
baseFormatOptions: NumberFormatOptions;
|
|
2548
|
+
unit: PropertyTypeReferenceOrStringConstant;
|
|
2549
|
+
}
|
|
2550
|
+
/**
|
|
2551
|
+
* Ratio format options for displaying proportional values:
|
|
2552
|
+
|
|
2553
|
+
PERCENTAGE: Multiply by 100 and add "%" suffix
|
|
2554
|
+
PER_MILLE: Multiply by 1000 and add "‰" suffix
|
|
2555
|
+
BASIS_POINTS: Multiply by 10000 and add "bps" suffix
|
|
2556
|
+
*
|
|
2557
|
+
* Log Safety: SAFE
|
|
2558
|
+
*/
|
|
2559
|
+
export type NumberRatioType = "PERCENTAGE" | "PER_MILLE" | "BASIS_POINTS";
|
|
2560
|
+
/**
|
|
2561
|
+
* Number rounding behavior:
|
|
2562
|
+
|
|
2563
|
+
CEIL: Always round up (3.1 becomes 4)
|
|
2564
|
+
FLOOR: Always round down (3.9 becomes 3)
|
|
2565
|
+
ROUND_CLOSEST: Round to nearest (3.4 becomes 3, 3.6 becomes 4)
|
|
2566
|
+
*
|
|
2567
|
+
* Log Safety: SAFE
|
|
2568
|
+
*/
|
|
2569
|
+
export type NumberRoundingMode = "CEIL" | "FLOOR" | "ROUND_CLOSEST";
|
|
2570
|
+
/**
|
|
2571
|
+
* Scale factor options for large numbers:
|
|
2572
|
+
|
|
2573
|
+
THOUSANDS: Divide by 1,000 and add "K" suffix
|
|
2574
|
+
MILLIONS: Divide by 1,000,000 and add "M" suffix
|
|
2575
|
+
BILLIONS: Divide by 1,000,000,000 and add "B" suffix
|
|
2576
|
+
*
|
|
2577
|
+
* Log Safety: SAFE
|
|
2578
|
+
*/
|
|
2579
|
+
export type NumberScaleType = "THOUSANDS" | "MILLIONS" | "BILLIONS";
|
|
2296
2580
|
/**
|
|
2297
2581
|
* Log Safety: UNSAFE
|
|
2298
2582
|
*/
|
|
@@ -2524,6 +2808,7 @@ export interface ObjectSetNearestNeighborsType {
|
|
|
2524
2808
|
objectSet: ObjectSet;
|
|
2525
2809
|
propertyIdentifier: PropertyIdentifier;
|
|
2526
2810
|
numNeighbors: number;
|
|
2811
|
+
similarityThreshold?: number;
|
|
2527
2812
|
query: NearestNeighborsQuery;
|
|
2528
2813
|
}
|
|
2529
2814
|
/**
|
|
@@ -3152,6 +3437,23 @@ export type PropertyApiName = LooselyBrandedString<"PropertyApiName">;
|
|
|
3152
3437
|
export interface PropertyApiNameSelector {
|
|
3153
3438
|
apiName: PropertyApiName;
|
|
3154
3439
|
}
|
|
3440
|
+
/**
|
|
3441
|
+
* Formatting configuration for boolean property values.
|
|
3442
|
+
*
|
|
3443
|
+
* Log Safety: UNSAFE
|
|
3444
|
+
*/
|
|
3445
|
+
export interface PropertyBooleanFormattingRule {
|
|
3446
|
+
valueIfTrue: string;
|
|
3447
|
+
valueIfFalse: string;
|
|
3448
|
+
}
|
|
3449
|
+
/**
|
|
3450
|
+
* Formatting configuration for date property values.
|
|
3451
|
+
*
|
|
3452
|
+
* Log Safety: UNSAFE
|
|
3453
|
+
*/
|
|
3454
|
+
export interface PropertyDateFormattingRule {
|
|
3455
|
+
format: DatetimeFormat;
|
|
3456
|
+
}
|
|
3155
3457
|
/**
|
|
3156
3458
|
* Represents a filter used on properties.
|
|
3157
3459
|
Endpoints that accept this supports optional parameters that have the form:
|
|
@@ -3197,10 +3499,71 @@ export type PropertyIdentifier = ({
|
|
|
3197
3499
|
} & PropertyApiNameSelector) | ({
|
|
3198
3500
|
type: "structField";
|
|
3199
3501
|
} & StructFieldSelector);
|
|
3502
|
+
/**
|
|
3503
|
+
* Formatting configuration for known Foundry types.
|
|
3504
|
+
*
|
|
3505
|
+
* Log Safety: SAFE
|
|
3506
|
+
*/
|
|
3507
|
+
export interface PropertyKnownTypeFormattingRule {
|
|
3508
|
+
knownType: KnownType;
|
|
3509
|
+
}
|
|
3510
|
+
/**
|
|
3511
|
+
* Wrapper for numeric formatting options.
|
|
3512
|
+
*
|
|
3513
|
+
* Log Safety: UNSAFE
|
|
3514
|
+
*/
|
|
3515
|
+
export interface PropertyNumberFormattingRule {
|
|
3516
|
+
numberType: PropertyNumberFormattingRuleType;
|
|
3517
|
+
}
|
|
3518
|
+
/**
|
|
3519
|
+
* Log Safety: UNSAFE
|
|
3520
|
+
*/
|
|
3521
|
+
export type PropertyNumberFormattingRuleType = ({
|
|
3522
|
+
type: "standard";
|
|
3523
|
+
} & NumberFormatStandard) | ({
|
|
3524
|
+
type: "duration";
|
|
3525
|
+
} & NumberFormatDuration) | ({
|
|
3526
|
+
type: "fixedValues";
|
|
3527
|
+
} & NumberFormatFixedValues) | ({
|
|
3528
|
+
type: "affix";
|
|
3529
|
+
} & NumberFormatAffix) | ({
|
|
3530
|
+
type: "scale";
|
|
3531
|
+
} & NumberFormatScale) | ({
|
|
3532
|
+
type: "currency";
|
|
3533
|
+
} & NumberFormatCurrency) | ({
|
|
3534
|
+
type: "standardUnit";
|
|
3535
|
+
} & NumberFormatStandardUnit) | ({
|
|
3536
|
+
type: "customUnit";
|
|
3537
|
+
} & NumberFormatCustomUnit) | ({
|
|
3538
|
+
type: "ratio";
|
|
3539
|
+
} & NumberFormatRatio);
|
|
3540
|
+
/**
|
|
3541
|
+
* Formatting configuration for timestamp property values.
|
|
3542
|
+
*
|
|
3543
|
+
* Log Safety: UNSAFE
|
|
3544
|
+
*/
|
|
3545
|
+
export interface PropertyTimestampFormattingRule {
|
|
3546
|
+
format: DatetimeFormat;
|
|
3547
|
+
displayTimezone: DatetimeTimezone;
|
|
3548
|
+
}
|
|
3200
3549
|
/**
|
|
3201
3550
|
* Log Safety: UNSAFE
|
|
3202
3551
|
*/
|
|
3203
3552
|
export type PropertyTypeApiName = LooselyBrandedString<"PropertyTypeApiName">;
|
|
3553
|
+
/**
|
|
3554
|
+
* Log Safety: UNSAFE
|
|
3555
|
+
*/
|
|
3556
|
+
export interface PropertyTypeReference {
|
|
3557
|
+
propertyApiName: string;
|
|
3558
|
+
}
|
|
3559
|
+
/**
|
|
3560
|
+
* Log Safety: UNSAFE
|
|
3561
|
+
*/
|
|
3562
|
+
export type PropertyTypeReferenceOrStringConstant = ({
|
|
3563
|
+
type: "constant";
|
|
3564
|
+
} & StringConstant) | ({
|
|
3565
|
+
type: "propertyType";
|
|
3566
|
+
} & PropertyTypeReference);
|
|
3204
3567
|
/**
|
|
3205
3568
|
* Log Safety: SAFE
|
|
3206
3569
|
*/
|
|
@@ -3236,6 +3599,7 @@ export interface PropertyV2 {
|
|
|
3236
3599
|
status?: PropertyTypeStatus;
|
|
3237
3600
|
visibility?: PropertyTypeVisibility;
|
|
3238
3601
|
valueTypeApiName?: ValueTypeApiName;
|
|
3602
|
+
valueFormatting?: PropertyValueFormattingRule;
|
|
3239
3603
|
}
|
|
3240
3604
|
/**
|
|
3241
3605
|
* Represents the value of a property in the following format.
|
|
@@ -3273,6 +3637,30 @@ export type PropertyValue = any;
|
|
|
3273
3637
|
* Log Safety: UNSAFE
|
|
3274
3638
|
*/
|
|
3275
3639
|
export type PropertyValueEscapedString = LooselyBrandedString<"PropertyValueEscapedString">;
|
|
3640
|
+
/**
|
|
3641
|
+
* This feature is experimental and may change in a future release.
|
|
3642
|
+
Comprehensive formatting configuration for displaying property values in user interfaces.
|
|
3643
|
+
Supports different value types including numbers, dates, timestamps, booleans, and known Foundry types.
|
|
3644
|
+
Each formatter type provides specific options tailored to that data type:
|
|
3645
|
+
|
|
3646
|
+
Numbers: Support for percentages, currencies, units, scaling, and custom formatting
|
|
3647
|
+
Dates/Timestamps: Localized and custom formatting patterns
|
|
3648
|
+
Booleans: Custom true/false display text
|
|
3649
|
+
Known types: Special formatting for Foundry-specific identifiers
|
|
3650
|
+
*
|
|
3651
|
+
* Log Safety: UNSAFE
|
|
3652
|
+
*/
|
|
3653
|
+
export type PropertyValueFormattingRule = ({
|
|
3654
|
+
type: "date";
|
|
3655
|
+
} & PropertyDateFormattingRule) | ({
|
|
3656
|
+
type: "number";
|
|
3657
|
+
} & PropertyNumberFormattingRule) | ({
|
|
3658
|
+
type: "boolean";
|
|
3659
|
+
} & PropertyBooleanFormattingRule) | ({
|
|
3660
|
+
type: "knownType";
|
|
3661
|
+
} & PropertyKnownTypeFormattingRule) | ({
|
|
3662
|
+
type: "timestamp";
|
|
3663
|
+
} & PropertyTimestampFormattingRule);
|
|
3276
3664
|
/**
|
|
3277
3665
|
* An error indicating that the subscribe request should be attempted on a different node.
|
|
3278
3666
|
*
|
|
@@ -3993,6 +4381,7 @@ export interface SharedPropertyType {
|
|
|
3993
4381
|
description?: string;
|
|
3994
4382
|
dataType: ObjectPropertyType;
|
|
3995
4383
|
valueTypeApiName?: ValueTypeApiName;
|
|
4384
|
+
valueFormatting?: PropertyValueFormattingRule;
|
|
3996
4385
|
}
|
|
3997
4386
|
/**
|
|
3998
4387
|
* The name of the shared property type in the API in lowerCamelCase format. To find the API name for your
|
|
@@ -4071,6 +4460,12 @@ export interface StreamTimeSeriesValuesRequest {
|
|
|
4071
4460
|
export interface StreamTimeSeriesValuesResponse {
|
|
4072
4461
|
data: Array<TimeseriesEntry>;
|
|
4073
4462
|
}
|
|
4463
|
+
/**
|
|
4464
|
+
* Log Safety: UNSAFE
|
|
4465
|
+
*/
|
|
4466
|
+
export interface StringConstant {
|
|
4467
|
+
value: string;
|
|
4468
|
+
}
|
|
4074
4469
|
/**
|
|
4075
4470
|
* The parameter value must have a length within the defined range.
|
|
4076
4471
|
This range is always inclusive.
|
|
@@ -4308,6 +4703,13 @@ export interface ThreeDimensionalAggregation {
|
|
|
4308
4703
|
keyType: QueryAggregationKeyType;
|
|
4309
4704
|
valueType: TwoDimensionalAggregation;
|
|
4310
4705
|
}
|
|
4706
|
+
/**
|
|
4707
|
+
* Formats the duration in a timecode format.
|
|
4708
|
+
*
|
|
4709
|
+
* Log Safety: SAFE
|
|
4710
|
+
*/
|
|
4711
|
+
export interface TimeCodeFormat {
|
|
4712
|
+
}
|
|
4311
4713
|
/**
|
|
4312
4714
|
* An absolute or relative range for a time series query.
|
|
4313
4715
|
*
|