@osdk/foundry.ontologies 2.24.0 → 2.26.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.
Files changed (162) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/build/browser/_components.d.ts +315 -4
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +64 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +4 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/index.js +2 -0
  9. package/build/browser/index.js.map +1 -1
  10. package/build/browser/public/Action.d.ts +9 -15
  11. package/build/browser/public/Action.d.ts.map +1 -1
  12. package/build/browser/public/Action.js +3 -9
  13. package/build/browser/public/Action.js.map +1 -1
  14. package/build/browser/public/ActionTypeV2.d.ts +1 -6
  15. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  16. package/build/browser/public/ActionTypeV2.js +0 -6
  17. package/build/browser/public/ActionTypeV2.js.map +1 -1
  18. package/build/browser/public/Attachment.d.ts +0 -9
  19. package/build/browser/public/Attachment.d.ts.map +1 -1
  20. package/build/browser/public/Attachment.js +0 -9
  21. package/build/browser/public/Attachment.js.map +1 -1
  22. package/build/browser/public/AttachmentPropertyV2.d.ts +8 -20
  23. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
  24. package/build/browser/public/AttachmentPropertyV2.js +0 -12
  25. package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
  26. package/build/browser/public/CipherTextProperty.d.ts +1 -4
  27. package/build/browser/public/CipherTextProperty.d.ts.map +1 -1
  28. package/build/browser/public/CipherTextProperty.js +1 -4
  29. package/build/browser/public/CipherTextProperty.js.map +1 -1
  30. package/build/browser/public/LinkedObjectV2.d.ts +2 -4
  31. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
  32. package/build/browser/public/LinkedObjectV2.js +0 -4
  33. package/build/browser/public/LinkedObjectV2.js.map +1 -1
  34. package/build/browser/public/MediaReferenceProperty.d.ts +0 -8
  35. package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -1
  36. package/build/browser/public/MediaReferenceProperty.js +0 -8
  37. package/build/browser/public/MediaReferenceProperty.js.map +1 -1
  38. package/build/browser/public/ObjectTypeV2.d.ts +3 -12
  39. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  40. package/build/browser/public/ObjectTypeV2.js +0 -12
  41. package/build/browser/public/ObjectTypeV2.js.map +1 -1
  42. package/build/browser/public/OntologyInterface.d.ts +34 -26
  43. package/build/browser/public/OntologyInterface.d.ts.map +1 -1
  44. package/build/browser/public/OntologyInterface.js +24 -26
  45. package/build/browser/public/OntologyInterface.js.map +1 -1
  46. package/build/browser/public/OntologyObjectSet.d.ts +4 -13
  47. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  48. package/build/browser/public/OntologyObjectSet.js +0 -13
  49. package/build/browser/public/OntologyObjectSet.js.map +1 -1
  50. package/build/browser/public/OntologyObjectV2.d.ts +13 -18
  51. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
  52. package/build/browser/public/OntologyObjectV2.js +0 -10
  53. package/build/browser/public/OntologyObjectV2.js.map +1 -1
  54. package/build/browser/public/OntologyTransaction.d.ts +17 -0
  55. package/build/browser/public/OntologyTransaction.d.ts.map +1 -0
  56. package/build/browser/public/OntologyTransaction.js +30 -0
  57. package/build/browser/public/OntologyTransaction.js.map +1 -0
  58. package/build/browser/public/OntologyV2.d.ts +0 -4
  59. package/build/browser/public/OntologyV2.d.ts.map +1 -1
  60. package/build/browser/public/OntologyV2.js +0 -4
  61. package/build/browser/public/OntologyV2.js.map +1 -1
  62. package/build/browser/public/OntologyValueType.d.ts +34 -0
  63. package/build/browser/public/OntologyValueType.d.ts.map +1 -0
  64. package/build/browser/public/OntologyValueType.js +42 -0
  65. package/build/browser/public/OntologyValueType.js.map +1 -0
  66. package/build/browser/public/Query.d.ts +7 -5
  67. package/build/browser/public/Query.d.ts.map +1 -1
  68. package/build/browser/public/Query.js +1 -4
  69. package/build/browser/public/Query.js.map +1 -1
  70. package/build/browser/public/QueryType.d.ts +0 -4
  71. package/build/browser/public/QueryType.d.ts.map +1 -1
  72. package/build/browser/public/QueryType.js +0 -4
  73. package/build/browser/public/QueryType.js.map +1 -1
  74. package/build/browser/public/TimeSeriesPropertyV2.d.ts +0 -9
  75. package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  76. package/build/browser/public/TimeSeriesPropertyV2.js +0 -9
  77. package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -1
  78. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +0 -6
  79. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  80. package/build/browser/public/TimeSeriesValueBankProperty.js +0 -6
  81. package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -1
  82. package/build/esm/_components.d.ts +315 -4
  83. package/build/esm/_components.d.ts.map +1 -1
  84. package/build/esm/_errors.d.ts +64 -0
  85. package/build/esm/_errors.d.ts.map +1 -1
  86. package/build/esm/index.d.ts +4 -2
  87. package/build/esm/index.d.ts.map +1 -1
  88. package/build/esm/index.js +2 -0
  89. package/build/esm/index.js.map +1 -1
  90. package/build/esm/public/Action.d.ts +9 -15
  91. package/build/esm/public/Action.d.ts.map +1 -1
  92. package/build/esm/public/Action.js +3 -9
  93. package/build/esm/public/Action.js.map +1 -1
  94. package/build/esm/public/ActionTypeV2.d.ts +1 -6
  95. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  96. package/build/esm/public/ActionTypeV2.js +0 -6
  97. package/build/esm/public/ActionTypeV2.js.map +1 -1
  98. package/build/esm/public/Attachment.d.ts +0 -9
  99. package/build/esm/public/Attachment.d.ts.map +1 -1
  100. package/build/esm/public/Attachment.js +0 -9
  101. package/build/esm/public/Attachment.js.map +1 -1
  102. package/build/esm/public/AttachmentPropertyV2.d.ts +8 -20
  103. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
  104. package/build/esm/public/AttachmentPropertyV2.js +0 -12
  105. package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
  106. package/build/esm/public/CipherTextProperty.d.ts +1 -4
  107. package/build/esm/public/CipherTextProperty.d.ts.map +1 -1
  108. package/build/esm/public/CipherTextProperty.js +1 -4
  109. package/build/esm/public/CipherTextProperty.js.map +1 -1
  110. package/build/esm/public/LinkedObjectV2.d.ts +2 -4
  111. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
  112. package/build/esm/public/LinkedObjectV2.js +0 -4
  113. package/build/esm/public/LinkedObjectV2.js.map +1 -1
  114. package/build/esm/public/MediaReferenceProperty.d.ts +0 -8
  115. package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -1
  116. package/build/esm/public/MediaReferenceProperty.js +0 -8
  117. package/build/esm/public/MediaReferenceProperty.js.map +1 -1
  118. package/build/esm/public/ObjectTypeV2.d.ts +3 -12
  119. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  120. package/build/esm/public/ObjectTypeV2.js +0 -12
  121. package/build/esm/public/ObjectTypeV2.js.map +1 -1
  122. package/build/esm/public/OntologyInterface.d.ts +34 -26
  123. package/build/esm/public/OntologyInterface.d.ts.map +1 -1
  124. package/build/esm/public/OntologyInterface.js +24 -26
  125. package/build/esm/public/OntologyInterface.js.map +1 -1
  126. package/build/esm/public/OntologyObjectSet.d.ts +4 -13
  127. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  128. package/build/esm/public/OntologyObjectSet.js +0 -13
  129. package/build/esm/public/OntologyObjectSet.js.map +1 -1
  130. package/build/esm/public/OntologyObjectV2.d.ts +13 -18
  131. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
  132. package/build/esm/public/OntologyObjectV2.js +0 -10
  133. package/build/esm/public/OntologyObjectV2.js.map +1 -1
  134. package/build/esm/public/OntologyTransaction.d.ts +17 -0
  135. package/build/esm/public/OntologyTransaction.d.ts.map +1 -0
  136. package/build/esm/public/OntologyTransaction.js +30 -0
  137. package/build/esm/public/OntologyTransaction.js.map +1 -0
  138. package/build/esm/public/OntologyV2.d.ts +0 -4
  139. package/build/esm/public/OntologyV2.d.ts.map +1 -1
  140. package/build/esm/public/OntologyV2.js +0 -4
  141. package/build/esm/public/OntologyV2.js.map +1 -1
  142. package/build/esm/public/OntologyValueType.d.ts +34 -0
  143. package/build/esm/public/OntologyValueType.d.ts.map +1 -0
  144. package/build/esm/public/OntologyValueType.js +42 -0
  145. package/build/esm/public/OntologyValueType.js.map +1 -0
  146. package/build/esm/public/Query.d.ts +7 -5
  147. package/build/esm/public/Query.d.ts.map +1 -1
  148. package/build/esm/public/Query.js +1 -4
  149. package/build/esm/public/Query.js.map +1 -1
  150. package/build/esm/public/QueryType.d.ts +0 -4
  151. package/build/esm/public/QueryType.d.ts.map +1 -1
  152. package/build/esm/public/QueryType.js +0 -4
  153. package/build/esm/public/QueryType.js.map +1 -1
  154. package/build/esm/public/TimeSeriesPropertyV2.d.ts +0 -9
  155. package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  156. package/build/esm/public/TimeSeriesPropertyV2.js +0 -9
  157. package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -1
  158. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +0 -6
  159. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  160. package/build/esm/public/TimeSeriesValueBankProperty.js +0 -6
  161. package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -1
  162. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @osdk/foundry.ontologies
2
2
 
3
+ ## 2.26.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 88ba5b2: Regenerate SDKs
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [88ba5b2]
12
+ - @osdk/foundry.core@2.26.0
13
+ - @osdk/foundry.geo@2.26.0
14
+
15
+ ## 2.25.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 8260ef7: Regenerate platform SDKs
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [8260ef7]
24
+ - Updated dependencies [cbb2222]
25
+ - @osdk/foundry.core@2.25.0
26
+ - @osdk/foundry.geo@2.25.0
27
+ - @osdk/shared.net.platformapi@1.4.0
28
+
3
29
  ## 2.24.0
4
30
 
5
31
  ### Minor Changes
@@ -161,6 +161,15 @@ export interface AddLink {
161
161
  aSideObject: LinkSideObject;
162
162
  bSideObject: LinkSideObject;
163
163
  }
164
+ /**
165
+ * Log Safety: UNSAFE
166
+ */
167
+ export interface AddLinkEdit {
168
+ objectType: ObjectTypeApiName;
169
+ primaryKey: PrimaryKeyValue;
170
+ linkType: LinkTypeApiName;
171
+ linkedObjectPrimaryKey: PrimaryKeyValue;
172
+ }
164
173
  /**
165
174
  * Log Safety: UNSAFE
166
175
  */
@@ -168,6 +177,14 @@ export interface AddObject {
168
177
  primaryKey: PropertyValue;
169
178
  objectType: ObjectTypeApiName;
170
179
  }
180
+ /**
181
+ * Log Safety: UNSAFE
182
+ */
183
+ export interface AddObjectEdit {
184
+ objectType: ObjectTypeApiName;
185
+ primaryKey: PropertyValue;
186
+ properties: Record<PropertyApiName, DataValue>;
187
+ }
171
188
  /**
172
189
  * Adds two or more numeric values.
173
190
  *
@@ -184,6 +201,7 @@ export interface AggregateObjectSetRequestV2 {
184
201
  objectSet: ObjectSet;
185
202
  groupBy: Array<AggregationGroupByV2>;
186
203
  accuracy?: AggregationAccuracyRequest;
204
+ includeComputeUsage?: _Core.IncludeComputeUsage;
187
205
  }
188
206
  /**
189
207
  * Log Safety: UNSAFE
@@ -221,7 +239,7 @@ export interface AggregateObjectsResponseItem {
221
239
  * Log Safety: UNSAFE
222
240
  */
223
241
  export interface AggregateObjectsResponseItemV2 {
224
- group: Record<AggregationGroupKeyV2, AggregationGroupValueV2>;
242
+ group: Record<AggregationGroupKeyV2, AggregationGroupValueV2 | undefined>;
225
243
  metrics: Array<AggregationMetricResultV2>;
226
244
  }
227
245
  /**
@@ -231,6 +249,7 @@ export interface AggregateObjectsResponseV2 {
231
249
  excludedItems?: number;
232
250
  accuracy: AggregationAccuracy;
233
251
  data: Array<AggregateObjectsResponseItemV2>;
252
+ computeUsage?: _Core.ComputeSeconds;
234
253
  }
235
254
  /**
236
255
  * Log Safety: UNSAFE
@@ -304,6 +323,7 @@ export interface AggregationExactGroupingV2 {
304
323
  field: PropertyApiName;
305
324
  maxGroupCount?: number;
306
325
  defaultValue?: string;
326
+ includeNullValues?: boolean;
307
327
  }
308
328
  /**
309
329
  * Divides objects into groups with the specified width.
@@ -565,6 +585,15 @@ export interface Arg {
565
585
  name: string;
566
586
  value: string;
567
587
  }
588
+ /**
589
+ * Log Safety: UNSAFE
590
+ */
591
+ export interface ArrayConstraint {
592
+ minimumSize?: number;
593
+ maximumSize?: number;
594
+ uniqueValues: boolean;
595
+ valueConstraint?: ValueTypeConstraint;
596
+ }
568
597
  /**
569
598
  * Evaluated constraints for entries of array parameters for which per-entry evaluation is supported.
570
599
  *
@@ -962,7 +991,7 @@ export type CustomTypeId = LooselyBrandedString<"CustomTypeId">;
962
991
  | Null | null | null |
963
992
  | Object Set | string OR the object set definition | ri.object-set.main.versioned-object-set.h13274m8-23f5-431c-8aee-a4554157c57z |
964
993
  | Ontology Object Reference | JSON encoding of the object's primary key | 10033123 or "EMP1234" |
965
- | Ontology Interface Object Reference | JSON encoding of the object's api name and primary key| {"objectTypeApiName":"Employee", "primaryKeyValue":"EMP1234"} |
994
+ | Ontology Interface Object Reference | JSON encoding of the object's API name and primary key| {"objectTypeApiName":"Employee", "primaryKeyValue":"EMP1234"} |
966
995
  | Ontology Object Type Reference | string of the object type's api name | "Employee" |
967
996
  | Set | array | ["alpha", "bravo", "charlie"] |
968
997
  | Short | number | 8739 |
@@ -998,6 +1027,15 @@ export interface DeleteLink {
998
1027
  aSideObject: LinkSideObject;
999
1028
  bSideObject: LinkSideObject;
1000
1029
  }
1030
+ /**
1031
+ * Log Safety: UNSAFE
1032
+ */
1033
+ export interface DeleteLinkEdit {
1034
+ objectType: ObjectTypeApiName;
1035
+ primaryKey: PrimaryKeyValue;
1036
+ linkType: LinkTypeApiName;
1037
+ linkedObjectPrimaryKey: PrimaryKeyValue;
1038
+ }
1001
1039
  /**
1002
1040
  * Log Safety: UNSAFE
1003
1041
  */
@@ -1014,6 +1052,13 @@ export interface DeleteObject {
1014
1052
  primaryKey: PropertyValue;
1015
1053
  objectType: ObjectTypeApiName;
1016
1054
  }
1055
+ /**
1056
+ * Log Safety: UNSAFE
1057
+ */
1058
+ export interface DeleteObjectEdit {
1059
+ objectType: ObjectTypeApiName;
1060
+ primaryKey: PropertyValue;
1061
+ }
1017
1062
  /**
1018
1063
  * Log Safety: UNSAFE
1019
1064
  */
@@ -1129,6 +1174,12 @@ export interface EntrySetType {
1129
1174
  keyType: QueryDataType;
1130
1175
  valueType: QueryDataType;
1131
1176
  }
1177
+ /**
1178
+ * Log Safety: SAFE
1179
+ */
1180
+ export interface EnumConstraint {
1181
+ options: Array<any>;
1182
+ }
1132
1183
  /**
1133
1184
  * Returns objects where the specified field is equal to a value.
1134
1185
  *
@@ -1515,6 +1566,13 @@ export interface IsNullQueryV2 {
1515
1566
  export interface LeastPropertyExpression {
1516
1567
  properties: Array<DerivedPropertyDefinition>;
1517
1568
  }
1569
+ /**
1570
+ * Log Safety: SAFE
1571
+ */
1572
+ export interface LengthConstraint {
1573
+ minimumLength?: number;
1574
+ maximumLength?: number;
1575
+ }
1518
1576
  /**
1519
1577
  * A reference to the linked interface type.
1520
1578
  *
@@ -1670,6 +1728,19 @@ export interface ListOntologiesResponse {
1670
1728
  export interface ListOntologiesV2Response {
1671
1729
  data: Array<OntologyV2>;
1672
1730
  }
1731
+ /**
1732
+ * Log Safety: UNSAFE
1733
+ */
1734
+ export interface ListOntologyValueTypesResponse {
1735
+ data: Array<OntologyValueType>;
1736
+ }
1737
+ /**
1738
+ * Log Safety: UNSAFE
1739
+ */
1740
+ export interface ListOutgoingInterfaceLinkTypesResponse {
1741
+ nextPageToken?: _Core.PageToken;
1742
+ data: Array<InterfaceLinkType>;
1743
+ }
1673
1744
  /**
1674
1745
  * Log Safety: UNSAFE
1675
1746
  */
@@ -1711,6 +1782,7 @@ export interface LoadObjectSetRequestV2 {
1711
1782
  pageSize?: _Core.PageSize;
1712
1783
  excludeRid?: boolean;
1713
1784
  snapshot?: boolean;
1785
+ includeComputeUsage?: _Core.IncludeComputeUsage;
1714
1786
  }
1715
1787
  /**
1716
1788
  * Represents the API response when loading an ObjectSet.
@@ -1721,6 +1793,7 @@ export interface LoadObjectSetResponseV2 {
1721
1793
  data: Array<OntologyObjectV2>;
1722
1794
  nextPageToken?: _Core.PageToken;
1723
1795
  totalCount: _Core.TotalCount;
1796
+ computeUsage?: _Core.ComputeSeconds;
1724
1797
  }
1725
1798
  /**
1726
1799
  * Represents the API POST body when loading an ObjectSet. Used on the /loadObjectsMultipleObjectTypes endpoint only.
@@ -1735,6 +1808,7 @@ export interface LoadObjectSetV2MultipleObjectTypesRequest {
1735
1808
  pageSize?: _Core.PageSize;
1736
1809
  excludeRid?: boolean;
1737
1810
  snapshot?: boolean;
1811
+ includeComputeUsage?: _Core.IncludeComputeUsage;
1738
1812
  }
1739
1813
  /**
1740
1814
  * Represents the API response when loading an ObjectSet. An interfaceToObjectTypeMappings field is
@@ -1752,6 +1826,7 @@ export interface LoadObjectSetV2MultipleObjectTypesResponse {
1752
1826
  nextPageToken?: _Core.PageToken;
1753
1827
  totalCount: _Core.TotalCount;
1754
1828
  interfaceToObjectTypeMappings: Record<InterfaceTypeApiName, InterfaceToObjectTypeMappings>;
1829
+ computeUsage?: _Core.ComputeSeconds;
1755
1830
  }
1756
1831
  /**
1757
1832
  * Represents the API POST body when loading an ObjectSet. Used on the /loadObjectsOrInterfaces endpoint only.
@@ -1917,6 +1992,14 @@ export interface ModifyObject {
1917
1992
  primaryKey: PropertyValue;
1918
1993
  objectType: ObjectTypeApiName;
1919
1994
  }
1995
+ /**
1996
+ * Log Safety: UNSAFE
1997
+ */
1998
+ export interface ModifyObjectEdit {
1999
+ objectType: ObjectTypeApiName;
2000
+ primaryKey: PropertyValue;
2001
+ properties: Record<PropertyApiName, DataValue>;
2002
+ }
1920
2003
  /**
1921
2004
  * Log Safety: UNSAFE
1922
2005
  */
@@ -2006,6 +2089,15 @@ export interface ObjectEdits {
2006
2089
  addedLinksCount: number;
2007
2090
  deletedLinksCount: number;
2008
2091
  }
2092
+ /**
2093
+ * An object identifier containing an object type API name and primary key.
2094
+ *
2095
+ * Log Safety: UNSAFE
2096
+ */
2097
+ export interface ObjectLocator {
2098
+ objectTypeApiName: ObjectTypeApiName;
2099
+ primaryKeyValue: PrimaryKeyValue;
2100
+ }
2009
2101
  /**
2010
2102
  * Log Safety: UNSAFE
2011
2103
  */
@@ -2480,6 +2572,7 @@ export interface OntologyFullMetadata {
2480
2572
  queryTypes: Record<VersionedQueryTypeApiName, QueryTypeV2>;
2481
2573
  interfaceTypes: Record<InterfaceTypeApiName, InterfaceType>;
2482
2574
  sharedPropertyTypes: Record<SharedPropertyTypeApiName, SharedPropertyType>;
2575
+ branch?: _Core.BranchMetadata;
2483
2576
  }
2484
2577
  /**
2485
2578
  * Either an ontology rid or an ontology api name.
@@ -2494,9 +2587,15 @@ export type OntologyInterface = LooselyBrandedString<"OntologyInterface">;
2494
2587
  /**
2495
2588
  * Log Safety: UNSAFE
2496
2589
  */
2497
- export interface OntologyInterfaceObjectType {
2590
+ export interface OntologyInterfaceObjectSetType {
2498
2591
  interfaceTypeApiName: InterfaceTypeApiName;
2499
2592
  }
2593
+ /**
2594
+ * Log Safety: UNSAFE
2595
+ */
2596
+ export interface OntologyInterfaceObjectType {
2597
+ interfaceTypeApiName?: InterfaceTypeApiName;
2598
+ }
2500
2599
  /**
2501
2600
  * Log Safety: UNSAFE
2502
2601
  */
@@ -2575,6 +2674,16 @@ export interface OntologyStructField {
2575
2674
  export interface OntologyStructType {
2576
2675
  fields: Array<OntologyStructField>;
2577
2676
  }
2677
+ /**
2678
+ * Log Safety: UNSAFE
2679
+ */
2680
+ export type OntologyTransaction = LooselyBrandedString<"OntologyTransaction">;
2681
+ /**
2682
+ * The RID identifying a transaction.
2683
+ *
2684
+ * Log Safety: SAFE
2685
+ */
2686
+ export type OntologyTransactionRid = LooselyBrandedString<"OntologyTransactionRid">;
2578
2687
  /**
2579
2688
  * Metadata about an Ontology.
2580
2689
  *
@@ -2586,6 +2695,19 @@ export interface OntologyV2 {
2586
2695
  description: string;
2587
2696
  rid: OntologyRid;
2588
2697
  }
2698
+ /**
2699
+ * Log Safety: UNSAFE
2700
+ */
2701
+ export interface OntologyValueType {
2702
+ apiName: ValueTypeApiName;
2703
+ displayName: _Core.DisplayName;
2704
+ description?: string;
2705
+ rid: ValueTypeRid;
2706
+ status?: ValueTypeStatus;
2707
+ fieldType: ValueTypeFieldType;
2708
+ version: string;
2709
+ constraints: Array<ValueTypeConstraint>;
2710
+ }
2589
2711
  /**
2590
2712
  * A command representing the list of properties to order by. Properties should be delimited by commas and
2591
2713
  prefixed by p or properties. The format expected format is
@@ -2718,6 +2840,19 @@ export type Plaintext = LooselyBrandedString<"Plaintext">;
2718
2840
  export type PolygonValue = {
2719
2841
  type: "Polygon";
2720
2842
  } & _Geo.Polygon;
2843
+ /**
2844
+ * The request payload for staging edits to a transaction.
2845
+ *
2846
+ * Log Safety: UNSAFE
2847
+ */
2848
+ export interface PostTransactionEditsRequest {
2849
+ edits: Array<TransactionEdit>;
2850
+ }
2851
+ /**
2852
+ * Log Safety: SAFE
2853
+ */
2854
+ export interface PostTransactionEditsResponse {
2855
+ }
2721
2856
  /**
2722
2857
  * A measurement of duration.
2723
2858
  *
@@ -3001,6 +3136,8 @@ export interface QueryArrayType {
3001
3136
  export type QueryDataType = ({
3002
3137
  type: "date";
3003
3138
  } & _Core.DateType) | ({
3139
+ type: "interfaceObject";
3140
+ } & OntologyInterfaceObjectType) | ({
3004
3141
  type: "struct";
3005
3142
  } & QueryStructType) | ({
3006
3143
  type: "set";
@@ -3035,6 +3172,8 @@ export type QueryDataType = ({
3035
3172
  } & OntologyObjectSetType) | ({
3036
3173
  type: "twoDimensionalAggregation";
3037
3174
  } & TwoDimensionalAggregation) | ({
3175
+ type: "interfaceObjectSet";
3176
+ } & OntologyInterfaceObjectSetType) | ({
3038
3177
  type: "object";
3039
3178
  } & OntologyObjectType) | ({
3040
3179
  type: "timestamp";
@@ -3137,6 +3276,13 @@ export interface RangeConstraint {
3137
3276
  gt?: any;
3138
3277
  gte?: any;
3139
3278
  }
3279
+ /**
3280
+ * Log Safety: SAFE
3281
+ */
3282
+ export interface RangesConstraint {
3283
+ minimumValue?: any;
3284
+ maximumValue?: any;
3285
+ }
3140
3286
  /**
3141
3287
  * Log Safety: SAFE
3142
3288
  */
@@ -3179,6 +3325,13 @@ export interface RefreshObjectSet {
3179
3325
  id: SubscriptionId;
3180
3326
  objectType: ObjectTypeApiName;
3181
3327
  }
3328
+ /**
3329
+ * Log Safety: SAFE
3330
+ */
3331
+ export interface RegexConstraint {
3332
+ pattern: string;
3333
+ partialMatch: boolean;
3334
+ }
3182
3335
  /**
3183
3336
  * A relative time, such as "3 days before" or "2 hours after" the current moment.
3184
3337
  *
@@ -3216,6 +3369,13 @@ export type RequestId = string;
3216
3369
  * Log Safety: SAFE
3217
3370
  */
3218
3371
  export type ReturnEditsMode = "ALL" | "ALL_V2_WITH_DELETIONS" | "NONE";
3372
+ /**
3373
+ * The string must be a valid RID (Resource Identifier).
3374
+ *
3375
+ * Log Safety: SAFE
3376
+ */
3377
+ export interface RidConstraint {
3378
+ }
3219
3379
  /**
3220
3380
  * Number of points in each window.
3221
3381
  *
@@ -3662,12 +3822,20 @@ export interface StringRegexMatchConstraint {
3662
3822
  regex: string;
3663
3823
  configuredFailureMessage?: string;
3664
3824
  }
3825
+ /**
3826
+ * Log Safety: UNSAFE
3827
+ */
3828
+ export interface StructConstraint {
3829
+ properties: Record<PropertyApiName, ValueTypeApiName>;
3830
+ }
3665
3831
  /**
3666
3832
  * Represents the validity of a singleton struct parameter.
3667
3833
  *
3668
3834
  * Log Safety: UNSAFE
3669
3835
  */
3670
- export type StructEvaluatedConstraint = Record<StructParameterFieldApiName, StructFieldEvaluationResult>;
3836
+ export interface StructEvaluatedConstraint {
3837
+ structFields: Record<StructParameterFieldApiName, StructFieldEvaluationResult>;
3838
+ }
3671
3839
  /**
3672
3840
  * The name of a struct field in the Ontology.
3673
3841
  *
@@ -3961,6 +4129,20 @@ export type TimeSeriesWindowType = "START" | "END";
3961
4129
  * Log Safety: SAFE
3962
4130
  */
3963
4131
  export type TimeUnit = "MILLISECONDS" | "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | "QUARTERS";
4132
+ /**
4133
+ * Log Safety: UNSAFE
4134
+ */
4135
+ export type TransactionEdit = ({
4136
+ type: "modifyObject";
4137
+ } & ModifyObjectEdit) | ({
4138
+ type: "deleteObject";
4139
+ } & DeleteObjectEdit) | ({
4140
+ type: "addObject";
4141
+ } & AddObjectEdit) | ({
4142
+ type: "removeLink";
4143
+ } & DeleteLinkEdit) | ({
4144
+ type: "addLink";
4145
+ } & AddLinkEdit);
3964
4146
  /**
3965
4147
  * Log Safety: UNSAFE
3966
4148
  */
@@ -3976,6 +4158,13 @@ This can happen when a parameter's allowed values are defined by another paramet
3976
4158
  */
3977
4159
  export interface UnevaluableConstraint {
3978
4160
  }
4161
+ /**
4162
+ * The string must be a valid UUID (Universally Unique Identifier).
4163
+ *
4164
+ * Log Safety: SAFE
4165
+ */
4166
+ export interface UuidConstraint {
4167
+ }
3979
4168
  /**
3980
4169
  * Log Safety: UNSAFE
3981
4170
  */
@@ -4031,6 +4220,128 @@ structs.
4031
4220
  * Log Safety: SAFE
4032
4221
  */
4033
4222
  export type ValueType = LooselyBrandedString<"ValueType">;
4223
+ /**
4224
+ * The name of the value type in the API in camelCase format.
4225
+ *
4226
+ * Log Safety: UNSAFE
4227
+ */
4228
+ export type ValueTypeApiName = LooselyBrandedString<"ValueTypeApiName">;
4229
+ /**
4230
+ * Log Safety: UNSAFE
4231
+ */
4232
+ export interface ValueTypeArrayType {
4233
+ subType?: ValueTypeFieldType;
4234
+ }
4235
+ /**
4236
+ * Log Safety: UNSAFE
4237
+ */
4238
+ export type ValueTypeConstraint = ({
4239
+ type: "struct";
4240
+ } & StructConstraint) | ({
4241
+ type: "regex";
4242
+ } & RegexConstraint) | ({
4243
+ type: "array";
4244
+ } & ArrayConstraint) | ({
4245
+ type: "length";
4246
+ } & LengthConstraint) | ({
4247
+ type: "range";
4248
+ } & RangesConstraint) | ({
4249
+ type: "rid";
4250
+ } & RidConstraint) | ({
4251
+ type: "uuid";
4252
+ } & UuidConstraint) | ({
4253
+ type: "enum";
4254
+ } & EnumConstraint);
4255
+ /**
4256
+ * Log Safety: SAFE
4257
+ */
4258
+ export interface ValueTypeDecimalType {
4259
+ }
4260
+ /**
4261
+ * Log Safety: UNSAFE
4262
+ */
4263
+ export type ValueTypeFieldType = ({
4264
+ type: "date";
4265
+ } & _Core.DateType) | ({
4266
+ type: "struct";
4267
+ } & ValueTypeStructType) | ({
4268
+ type: "string";
4269
+ } & _Core.StringType) | ({
4270
+ type: "byte";
4271
+ } & _Core.ByteType) | ({
4272
+ type: "double";
4273
+ } & _Core.DoubleType) | ({
4274
+ type: "optional";
4275
+ } & ValueTypeOptionalType) | ({
4276
+ type: "integer";
4277
+ } & _Core.IntegerType) | ({
4278
+ type: "union";
4279
+ } & ValueTypeUnionType) | ({
4280
+ type: "float";
4281
+ } & _Core.FloatType) | ({
4282
+ type: "long";
4283
+ } & _Core.LongType) | ({
4284
+ type: "reference";
4285
+ } & ValueTypeReferenceType) | ({
4286
+ type: "boolean";
4287
+ } & _Core.BooleanType) | ({
4288
+ type: "array";
4289
+ } & ValueTypeArrayType) | ({
4290
+ type: "binary";
4291
+ } & _Core.BinaryType) | ({
4292
+ type: "short";
4293
+ } & _Core.ShortType) | ({
4294
+ type: "decimal";
4295
+ } & ValueTypeDecimalType) | ({
4296
+ type: "map";
4297
+ } & ValueTypeMapType) | ({
4298
+ type: "timestamp";
4299
+ } & _Core.TimestampType);
4300
+ /**
4301
+ * Log Safety: UNSAFE
4302
+ */
4303
+ export interface ValueTypeMapType {
4304
+ keyType?: ValueTypeFieldType;
4305
+ valueType?: ValueTypeFieldType;
4306
+ }
4307
+ /**
4308
+ * Log Safety: UNSAFE
4309
+ */
4310
+ export interface ValueTypeOptionalType {
4311
+ wrappedType?: ValueTypeFieldType;
4312
+ }
4313
+ /**
4314
+ * Log Safety: SAFE
4315
+ */
4316
+ export interface ValueTypeReferenceType {
4317
+ }
4318
+ /**
4319
+ * Log Safety: SAFE
4320
+ */
4321
+ export type ValueTypeRid = LooselyBrandedString<"ValueTypeRid">;
4322
+ /**
4323
+ * Log Safety: SAFE
4324
+ */
4325
+ export type ValueTypeStatus = "ACTIVE" | "DEPRECATED";
4326
+ /**
4327
+ * Log Safety: UNSAFE
4328
+ */
4329
+ export interface ValueTypeStructField {
4330
+ name?: _Core.StructFieldName;
4331
+ fieldType?: ValueTypeFieldType;
4332
+ }
4333
+ /**
4334
+ * Log Safety: UNSAFE
4335
+ */
4336
+ export interface ValueTypeStructType {
4337
+ fields: Array<ValueTypeStructField>;
4338
+ }
4339
+ /**
4340
+ * Log Safety: UNSAFE
4341
+ */
4342
+ export interface ValueTypeUnionType {
4343
+ memberTypes: Array<ValueTypeFieldType>;
4344
+ }
4034
4345
  /**
4035
4346
  * The name of the Query in the API and an optional version identifier separated by a colon.
4036
4347
  If the API name contains a colon, then a version identifier of either "latest" or a semantic version must