@osdk/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/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/foundry.core@2.35.0
|
|
15
|
+
- @osdk/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/foundry.core@2.34.0
|
|
27
|
+
- @osdk/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
|
/**
|
|
@@ -3158,6 +3443,23 @@ export type PropertyApiName = LooselyBrandedString<"PropertyApiName">;
|
|
|
3158
3443
|
export interface PropertyApiNameSelector {
|
|
3159
3444
|
apiName: PropertyApiName;
|
|
3160
3445
|
}
|
|
3446
|
+
/**
|
|
3447
|
+
* Formatting configuration for boolean property values.
|
|
3448
|
+
*
|
|
3449
|
+
* Log Safety: UNSAFE
|
|
3450
|
+
*/
|
|
3451
|
+
export interface PropertyBooleanFormattingRule {
|
|
3452
|
+
valueIfTrue: string;
|
|
3453
|
+
valueIfFalse: string;
|
|
3454
|
+
}
|
|
3455
|
+
/**
|
|
3456
|
+
* Formatting configuration for date property values.
|
|
3457
|
+
*
|
|
3458
|
+
* Log Safety: UNSAFE
|
|
3459
|
+
*/
|
|
3460
|
+
export interface PropertyDateFormattingRule {
|
|
3461
|
+
format: DatetimeFormat;
|
|
3462
|
+
}
|
|
3161
3463
|
/**
|
|
3162
3464
|
* Represents a filter used on properties.
|
|
3163
3465
|
Endpoints that accept this supports optional parameters that have the form:
|
|
@@ -3203,10 +3505,71 @@ export type PropertyIdentifier = ({
|
|
|
3203
3505
|
} & PropertyApiNameSelector) | ({
|
|
3204
3506
|
type: "structField";
|
|
3205
3507
|
} & StructFieldSelector);
|
|
3508
|
+
/**
|
|
3509
|
+
* Formatting configuration for known Foundry types.
|
|
3510
|
+
*
|
|
3511
|
+
* Log Safety: SAFE
|
|
3512
|
+
*/
|
|
3513
|
+
export interface PropertyKnownTypeFormattingRule {
|
|
3514
|
+
knownType: KnownType;
|
|
3515
|
+
}
|
|
3516
|
+
/**
|
|
3517
|
+
* Wrapper for numeric formatting options.
|
|
3518
|
+
*
|
|
3519
|
+
* Log Safety: UNSAFE
|
|
3520
|
+
*/
|
|
3521
|
+
export interface PropertyNumberFormattingRule {
|
|
3522
|
+
numberType: PropertyNumberFormattingRuleType;
|
|
3523
|
+
}
|
|
3524
|
+
/**
|
|
3525
|
+
* Log Safety: UNSAFE
|
|
3526
|
+
*/
|
|
3527
|
+
export type PropertyNumberFormattingRuleType = ({
|
|
3528
|
+
type: "standard";
|
|
3529
|
+
} & NumberFormatStandard) | ({
|
|
3530
|
+
type: "duration";
|
|
3531
|
+
} & NumberFormatDuration) | ({
|
|
3532
|
+
type: "fixedValues";
|
|
3533
|
+
} & NumberFormatFixedValues) | ({
|
|
3534
|
+
type: "affix";
|
|
3535
|
+
} & NumberFormatAffix) | ({
|
|
3536
|
+
type: "scale";
|
|
3537
|
+
} & NumberFormatScale) | ({
|
|
3538
|
+
type: "currency";
|
|
3539
|
+
} & NumberFormatCurrency) | ({
|
|
3540
|
+
type: "standardUnit";
|
|
3541
|
+
} & NumberFormatStandardUnit) | ({
|
|
3542
|
+
type: "customUnit";
|
|
3543
|
+
} & NumberFormatCustomUnit) | ({
|
|
3544
|
+
type: "ratio";
|
|
3545
|
+
} & NumberFormatRatio);
|
|
3546
|
+
/**
|
|
3547
|
+
* Formatting configuration for timestamp property values.
|
|
3548
|
+
*
|
|
3549
|
+
* Log Safety: UNSAFE
|
|
3550
|
+
*/
|
|
3551
|
+
export interface PropertyTimestampFormattingRule {
|
|
3552
|
+
format: DatetimeFormat;
|
|
3553
|
+
displayTimezone: DatetimeTimezone;
|
|
3554
|
+
}
|
|
3206
3555
|
/**
|
|
3207
3556
|
* Log Safety: UNSAFE
|
|
3208
3557
|
*/
|
|
3209
3558
|
export type PropertyTypeApiName = LooselyBrandedString<"PropertyTypeApiName">;
|
|
3559
|
+
/**
|
|
3560
|
+
* Log Safety: UNSAFE
|
|
3561
|
+
*/
|
|
3562
|
+
export interface PropertyTypeReference {
|
|
3563
|
+
propertyApiName: string;
|
|
3564
|
+
}
|
|
3565
|
+
/**
|
|
3566
|
+
* Log Safety: UNSAFE
|
|
3567
|
+
*/
|
|
3568
|
+
export type PropertyTypeReferenceOrStringConstant = ({
|
|
3569
|
+
type: "constant";
|
|
3570
|
+
} & StringConstant) | ({
|
|
3571
|
+
type: "propertyType";
|
|
3572
|
+
} & PropertyTypeReference);
|
|
3210
3573
|
/**
|
|
3211
3574
|
* Log Safety: SAFE
|
|
3212
3575
|
*/
|
|
@@ -3242,6 +3605,7 @@ export interface PropertyV2 {
|
|
|
3242
3605
|
status?: PropertyTypeStatus;
|
|
3243
3606
|
visibility?: PropertyTypeVisibility;
|
|
3244
3607
|
valueTypeApiName?: ValueTypeApiName;
|
|
3608
|
+
valueFormatting?: PropertyValueFormattingRule;
|
|
3245
3609
|
}
|
|
3246
3610
|
/**
|
|
3247
3611
|
* Represents the value of a property in the following format.
|
|
@@ -3279,6 +3643,30 @@ export type PropertyValue = any;
|
|
|
3279
3643
|
* Log Safety: UNSAFE
|
|
3280
3644
|
*/
|
|
3281
3645
|
export type PropertyValueEscapedString = LooselyBrandedString<"PropertyValueEscapedString">;
|
|
3646
|
+
/**
|
|
3647
|
+
* This feature is experimental and may change in a future release.
|
|
3648
|
+
Comprehensive formatting configuration for displaying property values in user interfaces.
|
|
3649
|
+
Supports different value types including numbers, dates, timestamps, booleans, and known Foundry types.
|
|
3650
|
+
Each formatter type provides specific options tailored to that data type:
|
|
3651
|
+
|
|
3652
|
+
Numbers: Support for percentages, currencies, units, scaling, and custom formatting
|
|
3653
|
+
Dates/Timestamps: Localized and custom formatting patterns
|
|
3654
|
+
Booleans: Custom true/false display text
|
|
3655
|
+
Known types: Special formatting for Foundry-specific identifiers
|
|
3656
|
+
*
|
|
3657
|
+
* Log Safety: UNSAFE
|
|
3658
|
+
*/
|
|
3659
|
+
export type PropertyValueFormattingRule = ({
|
|
3660
|
+
type: "date";
|
|
3661
|
+
} & PropertyDateFormattingRule) | ({
|
|
3662
|
+
type: "number";
|
|
3663
|
+
} & PropertyNumberFormattingRule) | ({
|
|
3664
|
+
type: "boolean";
|
|
3665
|
+
} & PropertyBooleanFormattingRule) | ({
|
|
3666
|
+
type: "knownType";
|
|
3667
|
+
} & PropertyKnownTypeFormattingRule) | ({
|
|
3668
|
+
type: "timestamp";
|
|
3669
|
+
} & PropertyTimestampFormattingRule);
|
|
3282
3670
|
/**
|
|
3283
3671
|
* An error indicating that the subscribe request should be attempted on a different node.
|
|
3284
3672
|
*
|
|
@@ -3999,6 +4387,7 @@ export interface SharedPropertyType {
|
|
|
3999
4387
|
description?: string;
|
|
4000
4388
|
dataType: ObjectPropertyType;
|
|
4001
4389
|
valueTypeApiName?: ValueTypeApiName;
|
|
4390
|
+
valueFormatting?: PropertyValueFormattingRule;
|
|
4002
4391
|
}
|
|
4003
4392
|
/**
|
|
4004
4393
|
* The name of the shared property type in the API in lowerCamelCase format. To find the API name for your
|
|
@@ -4077,6 +4466,12 @@ export interface StreamTimeSeriesValuesRequest {
|
|
|
4077
4466
|
export interface StreamTimeSeriesValuesResponse {
|
|
4078
4467
|
data: Array<TimeseriesEntry>;
|
|
4079
4468
|
}
|
|
4469
|
+
/**
|
|
4470
|
+
* Log Safety: UNSAFE
|
|
4471
|
+
*/
|
|
4472
|
+
export interface StringConstant {
|
|
4473
|
+
value: string;
|
|
4474
|
+
}
|
|
4080
4475
|
/**
|
|
4081
4476
|
* The parameter value must have a length within the defined range.
|
|
4082
4477
|
This range is always inclusive.
|
|
@@ -4314,6 +4709,13 @@ export interface ThreeDimensionalAggregation {
|
|
|
4314
4709
|
keyType: QueryAggregationKeyType;
|
|
4315
4710
|
valueType: TwoDimensionalAggregation;
|
|
4316
4711
|
}
|
|
4712
|
+
/**
|
|
4713
|
+
* Formats the duration in a timecode format.
|
|
4714
|
+
*
|
|
4715
|
+
* Log Safety: SAFE
|
|
4716
|
+
*/
|
|
4717
|
+
export interface TimeCodeFormat {
|
|
4718
|
+
}
|
|
4317
4719
|
/**
|
|
4318
4720
|
* An absolute or relative range for a time series query.
|
|
4319
4721
|
*
|