@osdk/foundry.ontologies 2.12.0 → 2.14.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 (138) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/build/browser/_components.d.ts +3657 -0
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +1394 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +17 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/index.js +15 -1
  9. package/build/browser/index.js.map +1 -1
  10. package/build/browser/public/Action.d.ts +80 -0
  11. package/build/browser/public/Action.d.ts.map +1 -0
  12. package/build/browser/public/Action.js +79 -0
  13. package/build/browser/public/Action.js.map +1 -0
  14. package/build/browser/public/ActionTypeV2.d.ts +39 -0
  15. package/build/browser/public/ActionTypeV2.d.ts.map +1 -0
  16. package/build/browser/public/ActionTypeV2.js +49 -0
  17. package/build/browser/public/ActionTypeV2.js.map +1 -0
  18. package/build/browser/public/Attachment.d.ts +53 -0
  19. package/build/browser/public/Attachment.d.ts.map +1 -0
  20. package/build/browser/public/Attachment.js +72 -0
  21. package/build/browser/public/Attachment.js.map +1 -0
  22. package/build/browser/public/AttachmentPropertyV2.d.ts +92 -0
  23. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -0
  24. package/build/browser/public/AttachmentPropertyV2.js +80 -0
  25. package/build/browser/public/AttachmentPropertyV2.js.map +1 -0
  26. package/build/browser/public/LinkedObjectV2.d.ts +67 -0
  27. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -0
  28. package/build/browser/public/LinkedObjectV2.js +60 -0
  29. package/build/browser/public/LinkedObjectV2.js.map +1 -0
  30. package/build/browser/public/MediaReferenceProperty.d.ts +68 -0
  31. package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -0
  32. package/build/browser/public/MediaReferenceProperty.js +61 -0
  33. package/build/browser/public/MediaReferenceProperty.js.map +1 -0
  34. package/build/browser/public/ObjectTypeV2.d.ts +92 -0
  35. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -0
  36. package/build/browser/public/ObjectTypeV2.js +94 -0
  37. package/build/browser/public/ObjectTypeV2.js.map +1 -0
  38. package/build/browser/public/OntologyInterface.d.ts +132 -0
  39. package/build/browser/public/OntologyInterface.d.ts.map +1 -0
  40. package/build/browser/public/OntologyInterface.js +130 -0
  41. package/build/browser/public/OntologyInterface.js.map +1 -0
  42. package/build/browser/public/OntologyObjectSet.d.ts +135 -0
  43. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -0
  44. package/build/browser/public/OntologyObjectSet.js +130 -0
  45. package/build/browser/public/OntologyObjectSet.js.map +1 -0
  46. package/build/browser/public/OntologyObjectV2.d.ts +139 -0
  47. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -0
  48. package/build/browser/public/OntologyObjectV2.js +122 -0
  49. package/build/browser/public/OntologyObjectV2.js.map +1 -0
  50. package/build/browser/public/OntologyV2.d.ts +35 -0
  51. package/build/browser/public/OntologyV2.d.ts.map +1 -0
  52. package/build/browser/public/OntologyV2.js +58 -0
  53. package/build/browser/public/OntologyV2.js.map +1 -0
  54. package/build/browser/public/Query.d.ts +26 -0
  55. package/build/browser/public/Query.d.ts.map +1 -0
  56. package/build/browser/public/Query.js +35 -0
  57. package/build/browser/public/Query.js.map +1 -0
  58. package/build/browser/public/QueryType.d.ts +39 -0
  59. package/build/browser/public/QueryType.d.ts.map +1 -0
  60. package/build/browser/public/QueryType.js +49 -0
  61. package/build/browser/public/QueryType.js.map +1 -0
  62. package/build/browser/public/TimeSeriesPropertyV2.d.ts +69 -0
  63. package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -0
  64. package/build/browser/public/TimeSeriesPropertyV2.js +63 -0
  65. package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -0
  66. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +47 -0
  67. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -0
  68. package/build/browser/public/TimeSeriesValueBankProperty.js +48 -0
  69. package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -0
  70. package/build/esm/_components.d.ts +3657 -0
  71. package/build/esm/_components.d.ts.map +1 -1
  72. package/build/esm/_errors.d.ts +1394 -0
  73. package/build/esm/_errors.d.ts.map +1 -1
  74. package/build/esm/index.d.ts +17 -2
  75. package/build/esm/index.d.ts.map +1 -1
  76. package/build/esm/index.js +15 -1
  77. package/build/esm/index.js.map +1 -1
  78. package/build/esm/public/Action.d.ts +80 -0
  79. package/build/esm/public/Action.d.ts.map +1 -0
  80. package/build/esm/public/Action.js +79 -0
  81. package/build/esm/public/Action.js.map +1 -0
  82. package/build/esm/public/ActionTypeV2.d.ts +39 -0
  83. package/build/esm/public/ActionTypeV2.d.ts.map +1 -0
  84. package/build/esm/public/ActionTypeV2.js +49 -0
  85. package/build/esm/public/ActionTypeV2.js.map +1 -0
  86. package/build/esm/public/Attachment.d.ts +53 -0
  87. package/build/esm/public/Attachment.d.ts.map +1 -0
  88. package/build/esm/public/Attachment.js +72 -0
  89. package/build/esm/public/Attachment.js.map +1 -0
  90. package/build/esm/public/AttachmentPropertyV2.d.ts +92 -0
  91. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -0
  92. package/build/esm/public/AttachmentPropertyV2.js +80 -0
  93. package/build/esm/public/AttachmentPropertyV2.js.map +1 -0
  94. package/build/esm/public/LinkedObjectV2.d.ts +67 -0
  95. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -0
  96. package/build/esm/public/LinkedObjectV2.js +60 -0
  97. package/build/esm/public/LinkedObjectV2.js.map +1 -0
  98. package/build/esm/public/MediaReferenceProperty.d.ts +68 -0
  99. package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -0
  100. package/build/esm/public/MediaReferenceProperty.js +61 -0
  101. package/build/esm/public/MediaReferenceProperty.js.map +1 -0
  102. package/build/esm/public/ObjectTypeV2.d.ts +92 -0
  103. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -0
  104. package/build/esm/public/ObjectTypeV2.js +94 -0
  105. package/build/esm/public/ObjectTypeV2.js.map +1 -0
  106. package/build/esm/public/OntologyInterface.d.ts +132 -0
  107. package/build/esm/public/OntologyInterface.d.ts.map +1 -0
  108. package/build/esm/public/OntologyInterface.js +130 -0
  109. package/build/esm/public/OntologyInterface.js.map +1 -0
  110. package/build/esm/public/OntologyObjectSet.d.ts +135 -0
  111. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -0
  112. package/build/esm/public/OntologyObjectSet.js +130 -0
  113. package/build/esm/public/OntologyObjectSet.js.map +1 -0
  114. package/build/esm/public/OntologyObjectV2.d.ts +139 -0
  115. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -0
  116. package/build/esm/public/OntologyObjectV2.js +122 -0
  117. package/build/esm/public/OntologyObjectV2.js.map +1 -0
  118. package/build/esm/public/OntologyV2.d.ts +35 -0
  119. package/build/esm/public/OntologyV2.d.ts.map +1 -0
  120. package/build/esm/public/OntologyV2.js +58 -0
  121. package/build/esm/public/OntologyV2.js.map +1 -0
  122. package/build/esm/public/Query.d.ts +26 -0
  123. package/build/esm/public/Query.d.ts.map +1 -0
  124. package/build/esm/public/Query.js +35 -0
  125. package/build/esm/public/Query.js.map +1 -0
  126. package/build/esm/public/QueryType.d.ts +39 -0
  127. package/build/esm/public/QueryType.d.ts.map +1 -0
  128. package/build/esm/public/QueryType.js +49 -0
  129. package/build/esm/public/QueryType.js.map +1 -0
  130. package/build/esm/public/TimeSeriesPropertyV2.d.ts +69 -0
  131. package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -0
  132. package/build/esm/public/TimeSeriesPropertyV2.js +63 -0
  133. package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -0
  134. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +47 -0
  135. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -0
  136. package/build/esm/public/TimeSeriesValueBankProperty.js +48 -0
  137. package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -0
  138. package/package.json +5 -3
@@ -1,4 +1,3661 @@
1
+ import type * as _Core from "@osdk/foundry.core";
2
+ import type * as _Geo from "@osdk/foundry.geo";
1
3
  export type LooselyBrandedString<T extends string> = string & {
2
4
  __LOOSE_BRAND?: T;
3
5
  };
6
+ /**
7
+ * ISO 8601 timestamps forming a range for a time series query. Start is inclusive and end is exclusive.
8
+ *
9
+ * Log Safety: UNSAFE
10
+ */
11
+ export interface AbsoluteTimeRange {
12
+ startTime?: string;
13
+ endTime?: string;
14
+ }
15
+ /**
16
+ * Log Safety: UNSAFE
17
+ */
18
+ export type Action = LooselyBrandedString<"Action">;
19
+ /**
20
+ * Log Safety: SAFE
21
+ */
22
+ export type ActionMode = "ASYNC" | "RUN" | "VALIDATE";
23
+ /**
24
+ * Log Safety: UNSAFE
25
+ */
26
+ export interface ActionParameterArrayType {
27
+ subType: ActionParameterType;
28
+ }
29
+ /**
30
+ * A union of all the types supported by Ontology Action parameters.
31
+ *
32
+ * Log Safety: UNSAFE
33
+ */
34
+ export type ActionParameterType = ({
35
+ type: "date";
36
+ } & _Core.DateType) | ({
37
+ type: "interfaceObject";
38
+ } & OntologyInterfaceObjectType) | ({
39
+ type: "struct";
40
+ } & OntologyStructType) | ({
41
+ type: "string";
42
+ } & _Core.StringType) | ({
43
+ type: "double";
44
+ } & _Core.DoubleType) | ({
45
+ type: "integer";
46
+ } & _Core.IntegerType) | ({
47
+ type: "long";
48
+ } & _Core.LongType) | ({
49
+ type: "objectType";
50
+ } & OntologyObjectTypeReferenceType) | ({
51
+ type: "boolean";
52
+ } & _Core.BooleanType) | ({
53
+ type: "marking";
54
+ } & _Core.MarkingType) | ({
55
+ type: "attachment";
56
+ } & _Core.AttachmentType) | ({
57
+ type: "mediaReference";
58
+ } & _Core.MediaReferenceType) | ({
59
+ type: "array";
60
+ } & ActionParameterArrayType) | ({
61
+ type: "objectSet";
62
+ } & OntologyObjectSetType) | ({
63
+ type: "object";
64
+ } & OntologyObjectType) | ({
65
+ type: "timestamp";
66
+ } & _Core.TimestampType);
67
+ /**
68
+ * Details about a parameter of an action.
69
+ *
70
+ * Log Safety: UNSAFE
71
+ */
72
+ export interface ActionParameterV2 {
73
+ description?: string;
74
+ dataType: ActionParameterType;
75
+ required: boolean;
76
+ }
77
+ /**
78
+ * Log Safety: UNSAFE
79
+ */
80
+ export type ActionResults = ({
81
+ type: "edits";
82
+ } & ObjectEdits) | ({
83
+ type: "largeScaleEdits";
84
+ } & ObjectTypeEdits);
85
+ /**
86
+ * The unique resource identifier for an action.
87
+ *
88
+ * Log Safety: SAFE
89
+ */
90
+ export type ActionRid = LooselyBrandedString<"ActionRid">;
91
+ /**
92
+ * Represents an action type in the Ontology.
93
+ *
94
+ * Log Safety: UNSAFE
95
+ */
96
+ export interface ActionType {
97
+ apiName: ActionTypeApiName;
98
+ description?: string;
99
+ displayName?: _Core.DisplayName;
100
+ status: _Core.ReleaseStatus;
101
+ parameters: Record<ParameterId, Parameter>;
102
+ rid: ActionTypeRid;
103
+ operations: Array<LogicRule>;
104
+ }
105
+ /**
106
+ * The name of the action type in the API. To find the API name for your Action Type, use the List action types
107
+ endpoint or check the Ontology Manager.
108
+ *
109
+ * Log Safety: UNSAFE
110
+ */
111
+ export type ActionTypeApiName = LooselyBrandedString<"ActionTypeApiName">;
112
+ /**
113
+ * The unique resource identifier of an action type, useful for interacting with other Foundry APIs.
114
+ *
115
+ * Log Safety: SAFE
116
+ */
117
+ export type ActionTypeRid = LooselyBrandedString<"ActionTypeRid">;
118
+ /**
119
+ * Represents an action type in the Ontology.
120
+ *
121
+ * Log Safety: UNSAFE
122
+ */
123
+ export interface ActionTypeV2 {
124
+ apiName: ActionTypeApiName;
125
+ description?: string;
126
+ displayName?: _Core.DisplayName;
127
+ status: _Core.ReleaseStatus;
128
+ parameters: Record<ParameterId, ActionParameterV2>;
129
+ rid: ActionTypeRid;
130
+ operations: Array<LogicRule>;
131
+ }
132
+ /**
133
+ * This status indicates that the PropertyType will not change on short notice and should thus be safe to use in
134
+ user facing workflows.
135
+ *
136
+ * Log Safety: SAFE
137
+ */
138
+ export interface ActivePropertyTypeStatus {
139
+ }
140
+ /**
141
+ * Log Safety: UNSAFE
142
+ */
143
+ export interface AddLink {
144
+ linkTypeApiNameAtoB: LinkTypeApiName;
145
+ linkTypeApiNameBtoA: LinkTypeApiName;
146
+ aSideObject: LinkSideObject;
147
+ bSideObject: LinkSideObject;
148
+ }
149
+ /**
150
+ * Log Safety: UNSAFE
151
+ */
152
+ export interface AddObject {
153
+ primaryKey: PropertyValue;
154
+ objectType: ObjectTypeApiName;
155
+ }
156
+ /**
157
+ * Log Safety: UNSAFE
158
+ */
159
+ export interface AggregateObjectSetRequestV2 {
160
+ aggregation: Array<AggregationV2>;
161
+ objectSet: ObjectSet;
162
+ groupBy: Array<AggregationGroupByV2>;
163
+ accuracy?: AggregationAccuracyRequest;
164
+ }
165
+ /**
166
+ * Log Safety: UNSAFE
167
+ */
168
+ export interface AggregateObjectsRequest {
169
+ aggregation: Array<Aggregation>;
170
+ query?: SearchJsonQuery;
171
+ groupBy: Array<AggregationGroupBy>;
172
+ }
173
+ /**
174
+ * Log Safety: UNSAFE
175
+ */
176
+ export interface AggregateObjectsRequestV2 {
177
+ aggregation: Array<AggregationV2>;
178
+ where?: SearchJsonQueryV2;
179
+ groupBy: Array<AggregationGroupByV2>;
180
+ accuracy?: AggregationAccuracyRequest;
181
+ }
182
+ /**
183
+ * Log Safety: UNSAFE
184
+ */
185
+ export interface AggregateObjectsResponse {
186
+ excludedItems?: number;
187
+ nextPageToken?: _Core.PageToken;
188
+ data: Array<AggregateObjectsResponseItem>;
189
+ }
190
+ /**
191
+ * Log Safety: UNSAFE
192
+ */
193
+ export interface AggregateObjectsResponseItem {
194
+ group: Record<AggregationGroupKey, AggregationGroupValue>;
195
+ metrics: Array<AggregationMetricResult>;
196
+ }
197
+ /**
198
+ * Log Safety: UNSAFE
199
+ */
200
+ export interface AggregateObjectsResponseItemV2 {
201
+ group: Record<AggregationGroupKeyV2, AggregationGroupValueV2>;
202
+ metrics: Array<AggregationMetricResultV2>;
203
+ }
204
+ /**
205
+ * Log Safety: UNSAFE
206
+ */
207
+ export interface AggregateObjectsResponseV2 {
208
+ excludedItems?: number;
209
+ accuracy: AggregationAccuracy;
210
+ data: Array<AggregateObjectsResponseItemV2>;
211
+ }
212
+ /**
213
+ * Specifies an aggregation function.
214
+ *
215
+ * Log Safety: UNSAFE
216
+ */
217
+ export type Aggregation = ({
218
+ type: "approximateDistinct";
219
+ } & ApproximateDistinctAggregation) | ({
220
+ type: "min";
221
+ } & MinAggregation) | ({
222
+ type: "avg";
223
+ } & AvgAggregation) | ({
224
+ type: "max";
225
+ } & MaxAggregation) | ({
226
+ type: "count";
227
+ } & CountAggregation) | ({
228
+ type: "sum";
229
+ } & SumAggregation);
230
+ /**
231
+ * Log Safety: SAFE
232
+ */
233
+ export type AggregationAccuracy = "ACCURATE" | "APPROXIMATE";
234
+ /**
235
+ * Log Safety: SAFE
236
+ */
237
+ export type AggregationAccuracyRequest = "REQUIRE_ACCURATE" | "ALLOW_APPROXIMATE";
238
+ /**
239
+ * Divides objects into groups according to an interval. Note that this grouping applies only on date types.
240
+ The interval uses the ISO 8601 notation. For example, "PT1H2M34S" represents a duration of 3754 seconds.
241
+ *
242
+ * Log Safety: UNSAFE
243
+ */
244
+ export interface AggregationDurationGrouping {
245
+ field: FieldNameV1;
246
+ duration: Duration;
247
+ }
248
+ /**
249
+ * Divides objects into groups according to an interval. Note that this grouping applies only on date and timestamp types.
250
+ When grouping by YEARS, QUARTERS, MONTHS, or WEEKS, the value must be set to 1.
251
+ *
252
+ * Log Safety: UNSAFE
253
+ */
254
+ export interface AggregationDurationGroupingV2 {
255
+ field: PropertyApiName;
256
+ value: number;
257
+ unit: TimeUnit;
258
+ }
259
+ /**
260
+ * Divides objects into groups according to an exact value.
261
+ *
262
+ * Log Safety: UNSAFE
263
+ */
264
+ export interface AggregationExactGrouping {
265
+ field: FieldNameV1;
266
+ maxGroupCount?: number;
267
+ }
268
+ /**
269
+ * Divides objects into groups according to an exact value.
270
+ *
271
+ * Log Safety: UNSAFE
272
+ */
273
+ export interface AggregationExactGroupingV2 {
274
+ field: PropertyApiName;
275
+ maxGroupCount?: number;
276
+ defaultValue?: string;
277
+ }
278
+ /**
279
+ * Divides objects into groups with the specified width.
280
+ *
281
+ * Log Safety: UNSAFE
282
+ */
283
+ export interface AggregationFixedWidthGrouping {
284
+ field: FieldNameV1;
285
+ fixedWidth: number;
286
+ }
287
+ /**
288
+ * Divides objects into groups with the specified width.
289
+ *
290
+ * Log Safety: UNSAFE
291
+ */
292
+ export interface AggregationFixedWidthGroupingV2 {
293
+ field: PropertyApiName;
294
+ fixedWidth: number;
295
+ }
296
+ /**
297
+ * Specifies a grouping for aggregation results.
298
+ *
299
+ * Log Safety: UNSAFE
300
+ */
301
+ export type AggregationGroupBy = ({
302
+ type: "duration";
303
+ } & AggregationDurationGrouping) | ({
304
+ type: "fixedWidth";
305
+ } & AggregationFixedWidthGrouping) | ({
306
+ type: "ranges";
307
+ } & AggregationRangesGrouping) | ({
308
+ type: "exact";
309
+ } & AggregationExactGrouping);
310
+ /**
311
+ * Specifies a grouping for aggregation results.
312
+ *
313
+ * Log Safety: UNSAFE
314
+ */
315
+ export type AggregationGroupByV2 = ({
316
+ type: "duration";
317
+ } & AggregationDurationGroupingV2) | ({
318
+ type: "fixedWidth";
319
+ } & AggregationFixedWidthGroupingV2) | ({
320
+ type: "ranges";
321
+ } & AggregationRangesGroupingV2) | ({
322
+ type: "exact";
323
+ } & AggregationExactGroupingV2);
324
+ /**
325
+ * Log Safety: UNSAFE
326
+ */
327
+ export type AggregationGroupKey = LooselyBrandedString<"AggregationGroupKey">;
328
+ /**
329
+ * Log Safety: UNSAFE
330
+ */
331
+ export type AggregationGroupKeyV2 = LooselyBrandedString<"AggregationGroupKeyV2">;
332
+ /**
333
+ * Log Safety: UNSAFE
334
+ */
335
+ export type AggregationGroupValue = any;
336
+ /**
337
+ * Log Safety: UNSAFE
338
+ */
339
+ export type AggregationGroupValueV2 = any;
340
+ /**
341
+ * A user-specified alias for an aggregation metric name.
342
+ *
343
+ * Log Safety: UNSAFE
344
+ */
345
+ export type AggregationMetricName = LooselyBrandedString<"AggregationMetricName">;
346
+ /**
347
+ * Log Safety: UNSAFE
348
+ */
349
+ export interface AggregationMetricResult {
350
+ name: string;
351
+ value?: number;
352
+ }
353
+ /**
354
+ * Log Safety: UNSAFE
355
+ */
356
+ export interface AggregationMetricResultV2 {
357
+ name: string;
358
+ value?: any;
359
+ }
360
+ /**
361
+ * Divides objects into groups based on their object type. This grouping is only useful when aggregating across
362
+ multiple object types, such as when aggregating over an interface type.
363
+ *
364
+ * Log Safety: SAFE
365
+ */
366
+ export interface AggregationObjectTypeGrouping {
367
+ }
368
+ /**
369
+ * Log Safety: UNSAFE
370
+ */
371
+ export interface AggregationOrderBy {
372
+ metricName: string;
373
+ }
374
+ /**
375
+ * Specifies a date range from an inclusive start date to an exclusive end date.
376
+ *
377
+ * Log Safety: UNSAFE
378
+ */
379
+ export interface AggregationRange {
380
+ lt?: any;
381
+ lte?: any;
382
+ gt?: any;
383
+ gte?: any;
384
+ }
385
+ /**
386
+ * Divides objects into groups according to specified ranges.
387
+ *
388
+ * Log Safety: UNSAFE
389
+ */
390
+ export interface AggregationRangesGrouping {
391
+ field: FieldNameV1;
392
+ ranges: Array<AggregationRange>;
393
+ }
394
+ /**
395
+ * Divides objects into groups according to specified ranges.
396
+ *
397
+ * Log Safety: UNSAFE
398
+ */
399
+ export interface AggregationRangesGroupingV2 {
400
+ field: PropertyApiName;
401
+ ranges: Array<AggregationRangeV2>;
402
+ }
403
+ /**
404
+ * Specifies a range from an inclusive start value to an exclusive end value.
405
+ *
406
+ * Log Safety: UNSAFE
407
+ */
408
+ export interface AggregationRangeV2 {
409
+ startValue: any;
410
+ endValue: any;
411
+ }
412
+ /**
413
+ * Specifies an aggregation function.
414
+ *
415
+ * Log Safety: UNSAFE
416
+ */
417
+ export type AggregationV2 = ({
418
+ type: "approximateDistinct";
419
+ } & ApproximateDistinctAggregationV2) | ({
420
+ type: "min";
421
+ } & MinAggregationV2) | ({
422
+ type: "avg";
423
+ } & AvgAggregationV2) | ({
424
+ type: "max";
425
+ } & MaxAggregationV2) | ({
426
+ type: "approximatePercentile";
427
+ } & ApproximatePercentileAggregationV2) | ({
428
+ type: "count";
429
+ } & CountAggregationV2) | ({
430
+ type: "sum";
431
+ } & SumAggregationV2) | ({
432
+ type: "exactDistinct";
433
+ } & ExactDistinctAggregationV2);
434
+ /**
435
+ * Returns objects where the specified field contains all of the whitespace separated words in any
436
+ order in the provided value. This query supports fuzzy matching.
437
+ *
438
+ * Log Safety: UNSAFE
439
+ */
440
+ export interface AllTermsQuery {
441
+ field: FieldNameV1;
442
+ value: string;
443
+ fuzzy?: Fuzzy;
444
+ }
445
+ /**
446
+ * Returns objects where every query is satisfied.
447
+ *
448
+ * Log Safety: UNSAFE
449
+ */
450
+ export interface AndQuery {
451
+ value: Array<SearchJsonQuery>;
452
+ }
453
+ /**
454
+ * Returns objects where every query is satisfied.
455
+ *
456
+ * Log Safety: UNSAFE
457
+ */
458
+ export interface AndQueryV2 {
459
+ value: Array<SearchJsonQueryV2>;
460
+ }
461
+ /**
462
+ * Returns objects where the specified field contains any of the whitespace separated words in any
463
+ order in the provided value. This query supports fuzzy matching.
464
+ *
465
+ * Log Safety: UNSAFE
466
+ */
467
+ export interface AnyTermQuery {
468
+ field: FieldNameV1;
469
+ value: string;
470
+ fuzzy?: Fuzzy;
471
+ }
472
+ /**
473
+ * Log Safety: SAFE
474
+ */
475
+ export type ApplyActionMode = "VALIDATE_ONLY" | "VALIDATE_AND_EXECUTE";
476
+ /**
477
+ * Log Safety: UNSAFE
478
+ */
479
+ export interface ApplyActionRequest {
480
+ parameters: Record<ParameterId, DataValue | undefined>;
481
+ }
482
+ /**
483
+ * Log Safety: SAFE
484
+ */
485
+ export interface ApplyActionRequestOptions {
486
+ mode?: ApplyActionMode;
487
+ returnEdits?: ReturnEditsMode;
488
+ }
489
+ /**
490
+ * Log Safety: UNSAFE
491
+ */
492
+ export interface ApplyActionRequestV2 {
493
+ options?: ApplyActionRequestOptions;
494
+ parameters: Record<ParameterId, DataValue | undefined>;
495
+ }
496
+ /**
497
+ * Log Safety: SAFE
498
+ */
499
+ export interface ApplyActionResponse {
500
+ }
501
+ /**
502
+ * Computes an approximate number of distinct values for the provided field.
503
+ *
504
+ * Log Safety: UNSAFE
505
+ */
506
+ export interface ApproximateDistinctAggregation {
507
+ field: FieldNameV1;
508
+ name?: AggregationMetricName;
509
+ }
510
+ /**
511
+ * Computes an approximate number of distinct values for the provided field.
512
+ *
513
+ * Log Safety: UNSAFE
514
+ */
515
+ export interface ApproximateDistinctAggregationV2 {
516
+ field: PropertyApiName;
517
+ name?: AggregationMetricName;
518
+ direction?: OrderByDirection;
519
+ }
520
+ /**
521
+ * Computes the approximate percentile value for the provided field. Requires Object Storage V2.
522
+ *
523
+ * Log Safety: UNSAFE
524
+ */
525
+ export interface ApproximatePercentileAggregationV2 {
526
+ field: PropertyApiName;
527
+ name?: AggregationMetricName;
528
+ approximatePercentile: number;
529
+ direction?: OrderByDirection;
530
+ }
531
+ /**
532
+ * Log Safety: UNSAFE
533
+ */
534
+ export interface Arg {
535
+ name: string;
536
+ value: string;
537
+ }
538
+ /**
539
+ * The parameter expects an array of values and the size of the array must fall within the defined range.
540
+ *
541
+ * Log Safety: UNSAFE
542
+ */
543
+ export interface ArraySizeConstraint {
544
+ lt?: any;
545
+ lte?: any;
546
+ gt?: any;
547
+ gte?: any;
548
+ }
549
+ /**
550
+ * Log Safety: SAFE
551
+ */
552
+ export type ArtifactRepositoryRid = LooselyBrandedString<"ArtifactRepositoryRid">;
553
+ /**
554
+ * Log Safety: SAFE
555
+ */
556
+ export type AsyncActionOperation = undefined;
557
+ /**
558
+ * Log Safety: SAFE
559
+ */
560
+ export type AsyncActionStatus = "RUNNING_SUBMISSION_CHECKS" | "EXECUTING_WRITE_BACK_WEBHOOK" | "COMPUTING_ONTOLOGY_EDITS" | "COMPUTING_FUNCTION" | "WRITING_ONTOLOGY_EDITS" | "EXECUTING_SIDE_EFFECT_WEBHOOK" | "SENDING_NOTIFICATIONS";
561
+ /**
562
+ * Log Safety: SAFE
563
+ */
564
+ export interface AsyncApplyActionOperationResponseV2 {
565
+ }
566
+ /**
567
+ * Log Safety: SAFE
568
+ */
569
+ export type AsyncApplyActionOperationV2 = undefined;
570
+ /**
571
+ * Log Safety: UNSAFE
572
+ */
573
+ export interface AsyncApplyActionRequest {
574
+ parameters: Record<ParameterId, DataValue | undefined>;
575
+ }
576
+ /**
577
+ * Log Safety: UNSAFE
578
+ */
579
+ export interface AsyncApplyActionRequestV2 {
580
+ parameters: Record<ParameterId, DataValue | undefined>;
581
+ }
582
+ /**
583
+ * Log Safety: SAFE
584
+ */
585
+ export interface AsyncApplyActionResponse {
586
+ }
587
+ /**
588
+ * Log Safety: SAFE
589
+ */
590
+ export interface AsyncApplyActionResponseV2 {
591
+ operationId: string;
592
+ }
593
+ /**
594
+ * The representation of an attachment.
595
+ *
596
+ * Log Safety: UNSAFE
597
+ */
598
+ export interface Attachment {
599
+ rid: AttachmentRid;
600
+ filename: _Core.Filename;
601
+ sizeBytes: _Core.SizeBytes;
602
+ mediaType: _Core.MediaType;
603
+ }
604
+ /**
605
+ * The attachment metadata response
606
+ *
607
+ * Log Safety: UNSAFE
608
+ */
609
+ export type AttachmentMetadataResponse = ({
610
+ type: "single";
611
+ } & AttachmentV2) | ({
612
+ type: "multiple";
613
+ } & ListAttachmentsResponseV2);
614
+ /**
615
+ * The representation of an attachment as a data type.
616
+ *
617
+ * Log Safety: SAFE
618
+ */
619
+ export interface AttachmentProperty {
620
+ rid: AttachmentRid;
621
+ }
622
+ /**
623
+ * Log Safety: UNSAFE
624
+ */
625
+ export type AttachmentPropertyV2 = LooselyBrandedString<"AttachmentPropertyV2">;
626
+ /**
627
+ * The unique resource identifier of an attachment.
628
+ *
629
+ * Log Safety: SAFE
630
+ */
631
+ export type AttachmentRid = LooselyBrandedString<"AttachmentRid">;
632
+ /**
633
+ * The representation of an attachment.
634
+ *
635
+ * Log Safety: UNSAFE
636
+ */
637
+ export interface AttachmentV2 {
638
+ rid: AttachmentRid;
639
+ filename: _Core.Filename;
640
+ sizeBytes: _Core.SizeBytes;
641
+ mediaType: _Core.MediaType;
642
+ }
643
+ /**
644
+ * Computes the average value for the provided field.
645
+ *
646
+ * Log Safety: UNSAFE
647
+ */
648
+ export interface AvgAggregation {
649
+ field: FieldNameV1;
650
+ name?: AggregationMetricName;
651
+ }
652
+ /**
653
+ * Computes the average value for the provided field.
654
+ *
655
+ * Log Safety: UNSAFE
656
+ */
657
+ export interface AvgAggregationV2 {
658
+ field: PropertyApiName;
659
+ name?: AggregationMetricName;
660
+ direction?: OrderByDirection;
661
+ }
662
+ /**
663
+ * Log Safety: UNSAFE
664
+ */
665
+ export interface BatchApplyActionRequest {
666
+ requests: Array<ApplyActionRequest>;
667
+ }
668
+ /**
669
+ * Log Safety: UNSAFE
670
+ */
671
+ export interface BatchApplyActionRequestItem {
672
+ parameters: Record<ParameterId, DataValue | undefined>;
673
+ }
674
+ /**
675
+ * Log Safety: SAFE
676
+ */
677
+ export interface BatchApplyActionRequestOptions {
678
+ returnEdits?: ReturnEditsMode;
679
+ }
680
+ /**
681
+ * Log Safety: UNSAFE
682
+ */
683
+ export interface BatchApplyActionRequestV2 {
684
+ options?: BatchApplyActionRequestOptions;
685
+ requests: Array<BatchApplyActionRequestItem>;
686
+ }
687
+ /**
688
+ * Log Safety: SAFE
689
+ */
690
+ export interface BatchApplyActionResponse {
691
+ }
692
+ /**
693
+ * Log Safety: UNSAFE
694
+ */
695
+ export interface BatchApplyActionResponseV2 {
696
+ edits?: ActionResults;
697
+ }
698
+ /**
699
+ * Log Safety: UNSAFE
700
+ */
701
+ export interface BlueprintIcon {
702
+ color: string;
703
+ name: string;
704
+ }
705
+ /**
706
+ * The top left and bottom right coordinate points that make up the bounding box.
707
+ *
708
+ * Log Safety: UNSAFE
709
+ */
710
+ export interface BoundingBoxValue {
711
+ topLeft: WithinBoundingBoxPoint;
712
+ bottomRight: WithinBoundingBoxPoint;
713
+ }
714
+ /**
715
+ * The coordinate point to use as the center of the distance query.
716
+ *
717
+ * Log Safety: UNSAFE
718
+ */
719
+ export interface CenterPoint {
720
+ center: CenterPointTypes;
721
+ distance: _Core.Distance;
722
+ }
723
+ /**
724
+ * Log Safety: UNSAFE
725
+ */
726
+ export type CenterPointTypes = {
727
+ type: "Point";
728
+ } & _Geo.GeoPoint;
729
+ /**
730
+ * Returns objects where the specified field contains all of the terms in the order provided,
731
+ but they do have to be adjacent to each other.
732
+ The last term can be a partial prefix match. Allows you to specify a property to query on
733
+ by a variety of means. Either field or propertyIdentifier can be supplied, but not both.
734
+ *
735
+ * Log Safety: UNSAFE
736
+ */
737
+ export interface ContainsAllTermsInOrderPrefixLastTerm {
738
+ field?: PropertyApiName;
739
+ propertyIdentifier?: PropertyIdentifier;
740
+ value: string;
741
+ }
742
+ /**
743
+ * Returns objects where the specified field contains all of the terms in the order provided,
744
+ but they do have to be adjacent to each other. Allows you to specify a property to query on
745
+ by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
746
+ *
747
+ * Log Safety: UNSAFE
748
+ */
749
+ export interface ContainsAllTermsInOrderQuery {
750
+ field?: PropertyApiName;
751
+ propertyIdentifier?: PropertyIdentifier;
752
+ value: string;
753
+ }
754
+ /**
755
+ * Returns objects where the specified field contains all of the whitespace separated words in any
756
+ order in the provided value. This query supports fuzzy matching. Allows you to specify a property to query on
757
+ by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
758
+ *
759
+ * Log Safety: UNSAFE
760
+ */
761
+ export interface ContainsAllTermsQuery {
762
+ field?: PropertyApiName;
763
+ propertyIdentifier?: PropertyIdentifier;
764
+ value: string;
765
+ fuzzy?: FuzzyV2;
766
+ }
767
+ /**
768
+ * Returns objects where the specified field contains any of the whitespace separated words in any
769
+ order in the provided value. This query supports fuzzy matching. Allows you to specify a property to query on
770
+ by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
771
+ *
772
+ * Log Safety: UNSAFE
773
+ */
774
+ export interface ContainsAnyTermQuery {
775
+ field?: PropertyApiName;
776
+ propertyIdentifier?: PropertyIdentifier;
777
+ value: string;
778
+ fuzzy?: FuzzyV2;
779
+ }
780
+ /**
781
+ * Returns objects where the specified array contains a value.
782
+ *
783
+ * Log Safety: UNSAFE
784
+ */
785
+ export interface ContainsQuery {
786
+ field: FieldNameV1;
787
+ value: PropertyValue;
788
+ }
789
+ /**
790
+ * Returns objects where the specified array contains a value. Allows you to specify a property to query on by a
791
+ variety of means. Either field or propertyIdentifier must be supplied, but not both.
792
+ *
793
+ * Log Safety: UNSAFE
794
+ */
795
+ export interface ContainsQueryV2 {
796
+ field?: PropertyApiName;
797
+ propertyIdentifier?: PropertyIdentifier;
798
+ value: PropertyValue;
799
+ }
800
+ /**
801
+ * Computes the total count of objects.
802
+ *
803
+ * Log Safety: UNSAFE
804
+ */
805
+ export interface CountAggregation {
806
+ name?: AggregationMetricName;
807
+ }
808
+ /**
809
+ * Computes the total count of objects.
810
+ *
811
+ * Log Safety: UNSAFE
812
+ */
813
+ export interface CountAggregationV2 {
814
+ name?: AggregationMetricName;
815
+ direction?: OrderByDirection;
816
+ }
817
+ /**
818
+ * Log Safety: UNSAFE
819
+ */
820
+ export interface CountObjectsResponseV2 {
821
+ count?: number;
822
+ }
823
+ /**
824
+ * Log Safety: UNSAFE
825
+ */
826
+ export interface CreateInterfaceObjectRule {
827
+ interfaceTypeApiName: InterfaceTypeApiName;
828
+ }
829
+ /**
830
+ * Log Safety: UNSAFE
831
+ */
832
+ export interface CreateLinkRule {
833
+ linkTypeApiNameAtoB: LinkTypeApiName;
834
+ linkTypeApiNameBtoA: LinkTypeApiName;
835
+ aSideObjectTypeApiName: ObjectTypeApiName;
836
+ bSideObjectTypeApiName: ObjectTypeApiName;
837
+ }
838
+ /**
839
+ * Log Safety: UNSAFE
840
+ */
841
+ export interface CreateObjectRule {
842
+ objectTypeApiName: ObjectTypeApiName;
843
+ }
844
+ /**
845
+ * Log Safety: UNSAFE
846
+ */
847
+ export interface CreateTemporaryObjectSetRequestV2 {
848
+ objectSet: ObjectSet;
849
+ }
850
+ /**
851
+ * Log Safety: SAFE
852
+ */
853
+ export interface CreateTemporaryObjectSetResponseV2 {
854
+ objectSetRid: ObjectSetRid;
855
+ }
856
+ /**
857
+ * A UUID representing a custom type in a given Function.
858
+ *
859
+ * Log Safety: SAFE
860
+ */
861
+ export type CustomTypeId = LooselyBrandedString<"CustomTypeId">;
862
+ /**
863
+ * Represents the value of data in the following format. Note that these values can be nested, for example an array of structs.
864
+ | Type | JSON encoding | Example |
865
+ |-------------------------------------|-------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|
866
+ | Array | array | ["alpha", "bravo", "charlie"] |
867
+ | Attachment | string | "ri.attachments.main.attachment.2f944bae-5851-4204-8615-920c969a9f2e" |
868
+ | Boolean | boolean | true |
869
+ | Byte | number | 31 |
870
+ | CipherText | string | "CIPHER::ri.bellaso.main.cipher-channel.e414ab9e-b606-499a-a0e1-844fa296ba7e::unzjs3VifsTxuIpf1fH1CJ7OaPBr2bzMMdozPaZJtCii8vVG60yXIEmzoOJaEl9mfFFe::CIPHER" |
871
+ | Date | ISO 8601 extended local date string | "2021-05-01" |
872
+ | Decimal | string | "2.718281828" |
873
+ | Double | number | 3.14159265 |
874
+ | EntrySet | array of JSON objects | [{"key": "EMP1234", "value": "true"}, {"key": "EMP4444", "value": "false"}] |
875
+ | Float | number | 3.14159265 |
876
+ | Integer | number | 238940 |
877
+ | Long | string | "58319870951433" |
878
+ | Marking | string | "MU" |
879
+ | Null | null | null |
880
+ | Object Set | string OR the object set definition | ri.object-set.main.versioned-object-set.h13274m8-23f5-431c-8aee-a4554157c57z |
881
+ | Ontology Object Reference | JSON encoding of the object's primary key | 10033123 or "EMP1234" |
882
+ | Ontology Interface Object Reference | JSON encoding of the object's api name and primary key| {"objectTypeApiName":"Employee", "primaryKeyValue":"EMP1234"} |
883
+ | Ontology Object Type Reference | string of the object type's api name | "Employee" |
884
+ | Set | array | ["alpha", "bravo", "charlie"] |
885
+ | Short | number | 8739 |
886
+ | String | string | "Call me Ishmael" |
887
+ | Struct | JSON object | {"name": "John Doe", "age": 42} |
888
+ | TwoDimensionalAggregation | JSON object | {"groups": [{"key": "alpha", "value": 100}, {"key": "beta", "value": 101}]} |
889
+ | ThreeDimensionalAggregation | JSON object | {"groups": [{"key": "NYC", "groups": [{"key": "Engineer", "value" : 100}]}]} |
890
+ | Timestamp | ISO 8601 extended offset date-time string in UTC zone | "2021-01-04T05:00:00Z" |
891
+ *
892
+ * Log Safety: UNSAFE
893
+ */
894
+ export type DataValue = any;
895
+ /**
896
+ * Log Safety: UNSAFE
897
+ */
898
+ export interface DeleteInterfaceObjectRule {
899
+ interfaceTypeApiName: InterfaceTypeApiName;
900
+ }
901
+ /**
902
+ * Log Safety: UNSAFE
903
+ */
904
+ export interface DeleteLinkRule {
905
+ linkTypeApiNameAtoB: LinkTypeApiName;
906
+ linkTypeApiNameBtoA: LinkTypeApiName;
907
+ aSideObjectTypeApiName: ObjectTypeApiName;
908
+ bSideObjectTypeApiName: ObjectTypeApiName;
909
+ }
910
+ /**
911
+ * Log Safety: UNSAFE
912
+ */
913
+ export interface DeleteObjectRule {
914
+ objectTypeApiName: ObjectTypeApiName;
915
+ }
916
+ /**
917
+ * This status indicates that the PropertyType is reaching the end of its life and will be removed as per the
918
+ deadline specified.
919
+ *
920
+ * Log Safety: UNSAFE
921
+ */
922
+ export interface DeprecatedPropertyTypeStatus {
923
+ message: string;
924
+ deadline: string;
925
+ replacedBy?: PropertyTypeRid;
926
+ }
927
+ /**
928
+ * The name of the derived property that will be returned.
929
+ *
930
+ * Log Safety: UNSAFE
931
+ */
932
+ export type DerivedPropertyApiName = LooselyBrandedString<"DerivedPropertyApiName">;
933
+ /**
934
+ * Definition of a derived property.
935
+ *
936
+ * Log Safety: UNSAFE
937
+ */
938
+ export type DerivedPropertyDefinition = {
939
+ type: "selection";
940
+ } & SelectedPropertyDefinition;
941
+ /**
942
+ * The representation of a time series property backed by a derived time series calculated with a formula.
943
+ *
944
+ * Log Safety: UNSAFE
945
+ */
946
+ export interface DerivedTimeSeriesProperty {
947
+ templateRid: TimeseriesTemplateRid;
948
+ templateVersion?: TimeseriesTemplateVersion;
949
+ }
950
+ /**
951
+ * Returns objects where the specified field does not intersect the bounding box provided. Allows you to specify a
952
+ property to query on by a variety of means. Either field or propertyIdentifier must be supplied, but not
953
+ both.
954
+ *
955
+ * Log Safety: UNSAFE
956
+ */
957
+ export interface DoesNotIntersectBoundingBoxQuery {
958
+ field?: PropertyApiName;
959
+ propertyIdentifier?: PropertyIdentifier;
960
+ value: BoundingBoxValue;
961
+ }
962
+ /**
963
+ * Returns objects where the specified field does not intersect the polygon provided. Allows you to specify a
964
+ property to query on by a variety of means. Either field or propertyIdentifier must be supplied, but not
965
+ both.
966
+ *
967
+ * Log Safety: UNSAFE
968
+ */
969
+ export interface DoesNotIntersectPolygonQuery {
970
+ field?: PropertyApiName;
971
+ propertyIdentifier?: PropertyIdentifier;
972
+ value: PolygonValue;
973
+ }
974
+ /**
975
+ * The vector to search with. The vector must be of the same dimension as the vectors stored in the provided
976
+ propertyIdentifier.
977
+ *
978
+ * Log Safety: UNSAFE
979
+ */
980
+ export interface DoubleVector {
981
+ value: Array<number>;
982
+ }
983
+ /**
984
+ * An ISO 8601 formatted duration.
985
+ *
986
+ * Log Safety: UNSAFE
987
+ */
988
+ export type Duration = LooselyBrandedString<"Duration">;
989
+ /**
990
+ * Log Safety: UNSAFE
991
+ */
992
+ export interface EntrySetType {
993
+ keyType: QueryDataType;
994
+ valueType: QueryDataType;
995
+ }
996
+ /**
997
+ * Returns objects where the specified field is equal to a value.
998
+ *
999
+ * Log Safety: UNSAFE
1000
+ */
1001
+ export interface EqualsQuery {
1002
+ field: FieldNameV1;
1003
+ value: PropertyValue;
1004
+ }
1005
+ /**
1006
+ * Returns objects where the specified field is equal to a value. Allows you to specify a property to query on
1007
+ by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1008
+ *
1009
+ * Log Safety: UNSAFE
1010
+ */
1011
+ export interface EqualsQueryV2 {
1012
+ field?: PropertyApiName;
1013
+ propertyIdentifier?: PropertyIdentifier;
1014
+ value: PropertyValue;
1015
+ }
1016
+ /**
1017
+ * Log Safety: UNSAFE
1018
+ */
1019
+ export interface Error {
1020
+ error: ErrorName;
1021
+ args: Array<Arg>;
1022
+ }
1023
+ /**
1024
+ * Log Safety: SAFE
1025
+ */
1026
+ export type ErrorName = LooselyBrandedString<"ErrorName">;
1027
+ /**
1028
+ * Computes an exact number of distinct values for the provided field. May be slower than an approximate distinct aggregation. Requires Object Storage V2.
1029
+ *
1030
+ * Log Safety: UNSAFE
1031
+ */
1032
+ export interface ExactDistinctAggregationV2 {
1033
+ field: PropertyApiName;
1034
+ name?: AggregationMetricName;
1035
+ direction?: OrderByDirection;
1036
+ }
1037
+ /**
1038
+ * This status indicates that the PropertyType is an example. It is backed by notional data that should not be
1039
+ used for actual workflows, but can be used to test those workflows.
1040
+ *
1041
+ * Log Safety: SAFE
1042
+ */
1043
+ export interface ExamplePropertyTypeStatus {
1044
+ }
1045
+ /**
1046
+ * Log Safety: UNSAFE
1047
+ */
1048
+ export interface ExecuteQueryRequest {
1049
+ parameters: Record<ParameterId, DataValue | undefined>;
1050
+ }
1051
+ /**
1052
+ * Log Safety: UNSAFE
1053
+ */
1054
+ export interface ExecuteQueryResponse {
1055
+ value: DataValue;
1056
+ }
1057
+ /**
1058
+ * This status indicates that the PropertyType is in development.
1059
+ *
1060
+ * Log Safety: SAFE
1061
+ */
1062
+ export interface ExperimentalPropertyTypeStatus {
1063
+ }
1064
+ /**
1065
+ * A reference to an Ontology object property with the form properties.{propertyApiName}.
1066
+ *
1067
+ * Log Safety: UNSAFE
1068
+ */
1069
+ export type FieldNameV1 = LooselyBrandedString<"FieldNameV1">;
1070
+ /**
1071
+ * Represents the value of a property filter. For instance, false is the FilterValue in
1072
+ properties.{propertyApiName}.isNull=false.
1073
+ *
1074
+ * Log Safety: UNSAFE
1075
+ */
1076
+ export type FilterValue = LooselyBrandedString<"FilterValue">;
1077
+ /**
1078
+ * The unique resource identifier of a Function, useful for interacting with other Foundry APIs.
1079
+ *
1080
+ * Log Safety: SAFE
1081
+ */
1082
+ export type FunctionRid = LooselyBrandedString<"FunctionRid">;
1083
+ /**
1084
+ * The version of the given Function, written <major>.<minor>.<patch>-<tag>, where -<tag> is optional.
1085
+ Examples: 1.2.3, 1.2.3-rc1.
1086
+ *
1087
+ * Log Safety: UNSAFE
1088
+ */
1089
+ export type FunctionVersion = LooselyBrandedString<"FunctionVersion">;
1090
+ /**
1091
+ * Setting fuzzy to true allows approximate matching in search queries that support it.
1092
+ *
1093
+ * Log Safety: SAFE
1094
+ */
1095
+ export type Fuzzy = boolean;
1096
+ /**
1097
+ * Setting fuzzy to true allows approximate matching in search queries that support it.
1098
+ *
1099
+ * Log Safety: SAFE
1100
+ */
1101
+ export type FuzzyV2 = boolean;
1102
+ /**
1103
+ * The unique id of a geotime series (track) associated with a GTSR.
1104
+ *
1105
+ * Log Safety: UNSAFE
1106
+ */
1107
+ export type GeotimeSeriesId = LooselyBrandedString<"GeotimeSeriesId">;
1108
+ /**
1109
+ * The unique resource identifier of a geotime integration.
1110
+ *
1111
+ * Log Safety: SAFE
1112
+ */
1113
+ export type GeotimeSeriesIntegrationRid = LooselyBrandedString<"GeotimeSeriesIntegrationRid">;
1114
+ /**
1115
+ * The representation of a geotime series integration as a data type.
1116
+ *
1117
+ * Log Safety: UNSAFE
1118
+ */
1119
+ export interface GeotimeSeriesProperty {
1120
+ geotimeSeriesId: GeotimeSeriesId;
1121
+ geotimeSeriesIntegrationRid: GeotimeSeriesIntegrationRid;
1122
+ }
1123
+ /**
1124
+ * The underlying data values pointed to by a GeotimeSeriesReference.
1125
+ *
1126
+ * Log Safety: UNSAFE
1127
+ */
1128
+ export interface GeotimeSeriesValue {
1129
+ position: _Geo.Position;
1130
+ timestamp: string;
1131
+ }
1132
+ /**
1133
+ * Gets a single value of a property. Throws if the target object set is on the MANY side of the link and could
1134
+ explode the cardinality.
1135
+ Use collectList or collectSet which will return a list of values in that case.
1136
+ *
1137
+ * Log Safety: UNSAFE
1138
+ */
1139
+ export interface GetSelectedPropertyOperation {
1140
+ selectedPropertyApiName: PropertyApiName;
1141
+ }
1142
+ /**
1143
+ * The parameter value must be the user id of a member belonging to at least one of the groups defined by the constraint.
1144
+ *
1145
+ * Log Safety: SAFE
1146
+ */
1147
+ export interface GroupMemberConstraint {
1148
+ }
1149
+ /**
1150
+ * Returns objects where the specified field is greater than or equal to a value.
1151
+ *
1152
+ * Log Safety: UNSAFE
1153
+ */
1154
+ export interface GteQuery {
1155
+ field: FieldNameV1;
1156
+ value: PropertyValue;
1157
+ }
1158
+ /**
1159
+ * Returns objects where the specified field is greater than or equal to a value. Allows you to specify a property
1160
+ to query on by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1161
+ *
1162
+ * Log Safety: UNSAFE
1163
+ */
1164
+ export interface GteQueryV2 {
1165
+ field?: PropertyApiName;
1166
+ propertyIdentifier?: PropertyIdentifier;
1167
+ value: PropertyValue;
1168
+ }
1169
+ /**
1170
+ * Returns objects where the specified field is greater than a value.
1171
+ *
1172
+ * Log Safety: UNSAFE
1173
+ */
1174
+ export interface GtQuery {
1175
+ field: FieldNameV1;
1176
+ value: PropertyValue;
1177
+ }
1178
+ /**
1179
+ * Returns objects where the specified field is greater than a value. Allows you to specify a property to query on
1180
+ by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1181
+ *
1182
+ * Log Safety: UNSAFE
1183
+ */
1184
+ export interface GtQueryV2 {
1185
+ field?: PropertyApiName;
1186
+ propertyIdentifier?: PropertyIdentifier;
1187
+ value: PropertyValue;
1188
+ }
1189
+ /**
1190
+ * A union currently only consisting of the BlueprintIcon (more icon types may be added in the future).
1191
+ *
1192
+ * Log Safety: UNSAFE
1193
+ */
1194
+ export type Icon = {
1195
+ type: "blueprint";
1196
+ } & BlueprintIcon;
1197
+ /**
1198
+ * Returns objects where the specified field equals any of the provided values. Allows you to
1199
+ specify a property to query on by a variety of means. Either field or propertyIdentifier must be supplied,
1200
+ but not both.
1201
+ *
1202
+ * Log Safety: UNSAFE
1203
+ */
1204
+ export interface InQuery {
1205
+ field?: PropertyApiName;
1206
+ propertyIdentifier?: PropertyIdentifier;
1207
+ value: Array<PropertyValue>;
1208
+ }
1209
+ /**
1210
+ * A link type constraint defined at the interface level where the implementation of the links is provided
1211
+ by the implementing object types.
1212
+ *
1213
+ * Log Safety: UNSAFE
1214
+ */
1215
+ export interface InterfaceLinkType {
1216
+ rid: InterfaceLinkTypeRid;
1217
+ apiName: InterfaceLinkTypeApiName;
1218
+ displayName: _Core.DisplayName;
1219
+ description?: string;
1220
+ linkedEntityApiName: InterfaceLinkTypeLinkedEntityApiName;
1221
+ cardinality: InterfaceLinkTypeCardinality;
1222
+ required: boolean;
1223
+ }
1224
+ /**
1225
+ * A string indicating the API name to use for the interface link.
1226
+ *
1227
+ * Log Safety: UNSAFE
1228
+ */
1229
+ export type InterfaceLinkTypeApiName = LooselyBrandedString<"InterfaceLinkTypeApiName">;
1230
+ /**
1231
+ * The cardinality of the link in the given direction. Cardinality can be "ONE", meaning an object can
1232
+ link to zero or one other objects, or "MANY", meaning an object can link to any number of other objects.
1233
+ *
1234
+ * Log Safety: SAFE
1235
+ */
1236
+ export type InterfaceLinkTypeCardinality = "ONE" | "MANY";
1237
+ /**
1238
+ * A reference to the linked entity. This can either be an object or an interface type.
1239
+ *
1240
+ * Log Safety: UNSAFE
1241
+ */
1242
+ export type InterfaceLinkTypeLinkedEntityApiName = ({
1243
+ type: "objectTypeApiName";
1244
+ } & LinkedObjectTypeApiName) | ({
1245
+ type: "interfaceTypeApiName";
1246
+ } & LinkedInterfaceTypeApiName);
1247
+ /**
1248
+ * The unique resource identifier of an interface link type, useful for interacting with other Foundry APIs.
1249
+ *
1250
+ * Log Safety: SAFE
1251
+ */
1252
+ export type InterfaceLinkTypeRid = LooselyBrandedString<"InterfaceLinkTypeRid">;
1253
+ /**
1254
+ * Represents an implementation of an interface (the mapping of interface property to local property).
1255
+ *
1256
+ * Log Safety: UNSAFE
1257
+ */
1258
+ export type InterfaceToObjectTypeMapping = Record<SharedPropertyTypeApiName, PropertyApiName>;
1259
+ /**
1260
+ * Map from object type to the interface-to-object-type mapping for that object type.
1261
+ *
1262
+ * Log Safety: UNSAFE
1263
+ */
1264
+ export type InterfaceToObjectTypeMappings = Record<ObjectTypeApiName, InterfaceToObjectTypeMapping>;
1265
+ /**
1266
+ * Represents an interface type in the Ontology.
1267
+ *
1268
+ * Log Safety: UNSAFE
1269
+ */
1270
+ export interface InterfaceType {
1271
+ rid: InterfaceTypeRid;
1272
+ apiName: InterfaceTypeApiName;
1273
+ displayName: _Core.DisplayName;
1274
+ description?: string;
1275
+ properties: Record<SharedPropertyTypeApiName, SharedPropertyType>;
1276
+ allProperties: Record<SharedPropertyTypeApiName, SharedPropertyType>;
1277
+ extendsInterfaces: Array<InterfaceTypeApiName>;
1278
+ allExtendsInterfaces: Array<InterfaceTypeApiName>;
1279
+ implementedByObjectTypes: Array<ObjectTypeApiName>;
1280
+ links: Record<InterfaceLinkTypeApiName, InterfaceLinkType>;
1281
+ allLinks: Record<InterfaceLinkTypeApiName, InterfaceLinkType>;
1282
+ }
1283
+ /**
1284
+ * The name of the interface type in the API in UpperCamelCase format. To find the API name for your interface
1285
+ type, use the List interface types endpoint or check the Ontology Manager.
1286
+ *
1287
+ * Log Safety: UNSAFE
1288
+ */
1289
+ export type InterfaceTypeApiName = LooselyBrandedString<"InterfaceTypeApiName">;
1290
+ /**
1291
+ * The unique resource identifier of an interface, useful for interacting with other Foundry APIs.
1292
+ *
1293
+ * Log Safety: SAFE
1294
+ */
1295
+ export type InterfaceTypeRid = LooselyBrandedString<"InterfaceTypeRid">;
1296
+ /**
1297
+ * Returns objects where the specified field intersects the bounding box provided. Allows you to specify a property
1298
+ to query on by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1299
+ *
1300
+ * Log Safety: UNSAFE
1301
+ */
1302
+ export interface IntersectsBoundingBoxQuery {
1303
+ field?: PropertyApiName;
1304
+ propertyIdentifier?: PropertyIdentifier;
1305
+ value: BoundingBoxValue;
1306
+ }
1307
+ /**
1308
+ * Returns objects where the specified field intersects the polygon provided. Allows you to specify a property to
1309
+ query on by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1310
+ *
1311
+ * Log Safety: UNSAFE
1312
+ */
1313
+ export interface IntersectsPolygonQuery {
1314
+ field?: PropertyApiName;
1315
+ propertyIdentifier?: PropertyIdentifier;
1316
+ value: PolygonValue;
1317
+ }
1318
+ /**
1319
+ * Returns objects based on the existence of the specified field.
1320
+ *
1321
+ * Log Safety: UNSAFE
1322
+ */
1323
+ export interface IsNullQuery {
1324
+ field: FieldNameV1;
1325
+ value: boolean;
1326
+ }
1327
+ /**
1328
+ * Returns objects based on the existence of the specified field. Allows you to specify a property to query on
1329
+ by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1330
+ *
1331
+ * Log Safety: UNSAFE
1332
+ */
1333
+ export interface IsNullQueryV2 {
1334
+ field?: PropertyApiName;
1335
+ propertyIdentifier?: PropertyIdentifier;
1336
+ value: boolean;
1337
+ }
1338
+ /**
1339
+ * A reference to the linked interface type.
1340
+ *
1341
+ * Log Safety: UNSAFE
1342
+ */
1343
+ export interface LinkedInterfaceTypeApiName {
1344
+ apiName: InterfaceTypeApiName;
1345
+ }
1346
+ /**
1347
+ * A reference to the linked object type.
1348
+ *
1349
+ * Log Safety: UNSAFE
1350
+ */
1351
+ export interface LinkedObjectTypeApiName {
1352
+ apiName: ObjectTypeApiName;
1353
+ }
1354
+ /**
1355
+ * Log Safety: UNSAFE
1356
+ */
1357
+ export type LinkedObjectV2 = LooselyBrandedString<"LinkedObjectV2">;
1358
+ /**
1359
+ * Log Safety: UNSAFE
1360
+ */
1361
+ export interface LinkSideObject {
1362
+ primaryKey: PropertyValue;
1363
+ objectType: ObjectTypeApiName;
1364
+ }
1365
+ /**
1366
+ * The name of the link type in the API. To find the API name for your Link Type, check the Ontology Manager
1367
+ application.
1368
+ *
1369
+ * Log Safety: UNSAFE
1370
+ */
1371
+ export type LinkTypeApiName = LooselyBrandedString<"LinkTypeApiName">;
1372
+ /**
1373
+ * Log Safety: SAFE
1374
+ */
1375
+ export type LinkTypeRid = LooselyBrandedString<"LinkTypeRid">;
1376
+ /**
1377
+ * Log Safety: UNSAFE
1378
+ */
1379
+ export interface LinkTypeSide {
1380
+ apiName: LinkTypeApiName;
1381
+ displayName: _Core.DisplayName;
1382
+ status: _Core.ReleaseStatus;
1383
+ objectTypeApiName: ObjectTypeApiName;
1384
+ cardinality: LinkTypeSideCardinality;
1385
+ foreignKeyPropertyApiName?: PropertyApiName;
1386
+ }
1387
+ /**
1388
+ * Log Safety: SAFE
1389
+ */
1390
+ export type LinkTypeSideCardinality = "ONE" | "MANY";
1391
+ /**
1392
+ * Log Safety: UNSAFE
1393
+ */
1394
+ export interface LinkTypeSideV2 {
1395
+ apiName: LinkTypeApiName;
1396
+ displayName: _Core.DisplayName;
1397
+ status: _Core.ReleaseStatus;
1398
+ objectTypeApiName: ObjectTypeApiName;
1399
+ cardinality: LinkTypeSideCardinality;
1400
+ foreignKeyPropertyApiName?: PropertyApiName;
1401
+ linkTypeRid: LinkTypeRid;
1402
+ }
1403
+ /**
1404
+ * Log Safety: UNSAFE
1405
+ */
1406
+ export interface ListActionTypesResponse {
1407
+ nextPageToken?: _Core.PageToken;
1408
+ data: Array<ActionType>;
1409
+ }
1410
+ /**
1411
+ * Log Safety: UNSAFE
1412
+ */
1413
+ export interface ListActionTypesResponseV2 {
1414
+ nextPageToken?: _Core.PageToken;
1415
+ data: Array<ActionTypeV2>;
1416
+ }
1417
+ /**
1418
+ * Log Safety: UNSAFE
1419
+ */
1420
+ export interface ListAttachmentsResponseV2 {
1421
+ data: Array<AttachmentV2>;
1422
+ nextPageToken?: _Core.PageToken;
1423
+ }
1424
+ /**
1425
+ * Log Safety: UNSAFE
1426
+ */
1427
+ export interface ListInterfaceTypesResponse {
1428
+ nextPageToken?: _Core.PageToken;
1429
+ data: Array<InterfaceType>;
1430
+ }
1431
+ /**
1432
+ * Log Safety: UNSAFE
1433
+ */
1434
+ export interface ListLinkedObjectsResponse {
1435
+ nextPageToken?: _Core.PageToken;
1436
+ data: Array<OntologyObject>;
1437
+ }
1438
+ /**
1439
+ * Log Safety: UNSAFE
1440
+ */
1441
+ export interface ListLinkedObjectsResponseV2 {
1442
+ data: Array<OntologyObjectV2>;
1443
+ nextPageToken?: _Core.PageToken;
1444
+ }
1445
+ /**
1446
+ * Log Safety: UNSAFE
1447
+ */
1448
+ export interface ListObjectsResponse {
1449
+ nextPageToken?: _Core.PageToken;
1450
+ data: Array<OntologyObject>;
1451
+ totalCount: _Core.TotalCount;
1452
+ }
1453
+ /**
1454
+ * Log Safety: UNSAFE
1455
+ */
1456
+ export interface ListObjectsResponseV2 {
1457
+ nextPageToken?: _Core.PageToken;
1458
+ data: Array<OntologyObjectV2>;
1459
+ totalCount: _Core.TotalCount;
1460
+ }
1461
+ /**
1462
+ * Log Safety: UNSAFE
1463
+ */
1464
+ export interface ListObjectTypesResponse {
1465
+ nextPageToken?: _Core.PageToken;
1466
+ data: Array<ObjectType>;
1467
+ }
1468
+ /**
1469
+ * Log Safety: UNSAFE
1470
+ */
1471
+ export interface ListObjectTypesV2Response {
1472
+ nextPageToken?: _Core.PageToken;
1473
+ data: Array<ObjectTypeV2>;
1474
+ }
1475
+ /**
1476
+ * Log Safety: UNSAFE
1477
+ */
1478
+ export interface ListOntologiesResponse {
1479
+ data: Array<Ontology>;
1480
+ }
1481
+ /**
1482
+ * Log Safety: UNSAFE
1483
+ */
1484
+ export interface ListOntologiesV2Response {
1485
+ data: Array<OntologyV2>;
1486
+ }
1487
+ /**
1488
+ * Log Safety: UNSAFE
1489
+ */
1490
+ export interface ListOutgoingLinkTypesResponse {
1491
+ nextPageToken?: _Core.PageToken;
1492
+ data: Array<LinkTypeSide>;
1493
+ }
1494
+ /**
1495
+ * Log Safety: UNSAFE
1496
+ */
1497
+ export interface ListOutgoingLinkTypesResponseV2 {
1498
+ nextPageToken?: _Core.PageToken;
1499
+ data: Array<LinkTypeSideV2>;
1500
+ }
1501
+ /**
1502
+ * Log Safety: UNSAFE
1503
+ */
1504
+ export interface ListQueryTypesResponse {
1505
+ nextPageToken?: _Core.PageToken;
1506
+ data: Array<QueryType>;
1507
+ }
1508
+ /**
1509
+ * Log Safety: UNSAFE
1510
+ */
1511
+ export interface ListQueryTypesResponseV2 {
1512
+ nextPageToken?: _Core.PageToken;
1513
+ data: Array<QueryTypeV2>;
1514
+ }
1515
+ /**
1516
+ * Represents the API POST body when loading an ObjectSet.
1517
+ *
1518
+ * Log Safety: UNSAFE
1519
+ */
1520
+ export interface LoadObjectSetRequestV2 {
1521
+ objectSet: ObjectSet;
1522
+ orderBy?: SearchOrderByV2;
1523
+ select: Array<SelectedPropertyApiName>;
1524
+ pageToken?: _Core.PageToken;
1525
+ pageSize?: _Core.PageSize;
1526
+ excludeRid?: boolean;
1527
+ }
1528
+ /**
1529
+ * Represents the API response when loading an ObjectSet.
1530
+ *
1531
+ * Log Safety: UNSAFE
1532
+ */
1533
+ export interface LoadObjectSetResponseV2 {
1534
+ data: Array<OntologyObjectV2>;
1535
+ nextPageToken?: _Core.PageToken;
1536
+ totalCount: _Core.TotalCount;
1537
+ }
1538
+ /**
1539
+ * Represents the API POST body when loading an ObjectSet. Used on the /loadObjectsMultipleObjectTypes endpoint only.
1540
+ *
1541
+ * Log Safety: UNSAFE
1542
+ */
1543
+ export interface LoadObjectSetV2MultipleObjectTypesRequest {
1544
+ objectSet: ObjectSet;
1545
+ orderBy?: SearchOrderByV2;
1546
+ select: Array<SelectedPropertyApiName>;
1547
+ pageToken?: _Core.PageToken;
1548
+ pageSize?: _Core.PageSize;
1549
+ excludeRid?: boolean;
1550
+ }
1551
+ /**
1552
+ * Represents the API response when loading an ObjectSet. An interfaceToObjectTypeMappings field is
1553
+ optionally returned if the type scope of the returned object set includes any interfaces. The "type scope"
1554
+ of an object set refers to whether objects contain all their properties (object-type type scope) or just the
1555
+ properties that implement interface properties (interface type scope). There can be multiple type scopes in a
1556
+ single object set- some objects may have all their properties and some may only have interface properties.
1557
+ The interfaceToObjectTypeMappings field contains mappings from SharedPropertyTypeApiNames on the interface(s) to
1558
+ PropertyApiName for properties on the object(s).
1559
+ *
1560
+ * Log Safety: UNSAFE
1561
+ */
1562
+ export interface LoadObjectSetV2MultipleObjectTypesResponse {
1563
+ data: Array<OntologyObjectV2>;
1564
+ nextPageToken?: _Core.PageToken;
1565
+ totalCount: _Core.TotalCount;
1566
+ interfaceToObjectTypeMappings: Record<InterfaceTypeApiName, InterfaceToObjectTypeMappings>;
1567
+ }
1568
+ /**
1569
+ * Represents the API POST body when loading an ObjectSet. Used on the /loadObjectsOrInterfaces endpoint only.
1570
+ *
1571
+ * Log Safety: UNSAFE
1572
+ */
1573
+ export interface LoadObjectSetV2ObjectsOrInterfacesRequest {
1574
+ objectSet: ObjectSet;
1575
+ orderBy?: SearchOrderByV2;
1576
+ select: Array<SelectedPropertyApiName>;
1577
+ pageToken?: _Core.PageToken;
1578
+ pageSize?: _Core.PageSize;
1579
+ excludeRid?: boolean;
1580
+ }
1581
+ /**
1582
+ * Represents the API response when loading an ObjectSet. Objects in the returned set can either have properties
1583
+ defined by an interface that the objects belong to or properties defined by the object type of the object.
1584
+ *
1585
+ * Log Safety: UNSAFE
1586
+ */
1587
+ export interface LoadObjectSetV2ObjectsOrInterfacesResponse {
1588
+ data: Array<OntologyObjectV2>;
1589
+ nextPageToken?: _Core.PageToken;
1590
+ totalCount: _Core.TotalCount;
1591
+ }
1592
+ /**
1593
+ * Log Safety: UNSAFE
1594
+ */
1595
+ export type LogicRule = ({
1596
+ type: "deleteInterfaceObject";
1597
+ } & DeleteInterfaceObjectRule) | ({
1598
+ type: "modifyInterfaceObject";
1599
+ } & ModifyInterfaceObjectRule) | ({
1600
+ type: "modifyObject";
1601
+ } & ModifyObjectRule) | ({
1602
+ type: "deleteObject";
1603
+ } & DeleteObjectRule) | ({
1604
+ type: "createInterfaceObject";
1605
+ } & CreateInterfaceObjectRule) | ({
1606
+ type: "deleteLink";
1607
+ } & DeleteLinkRule) | ({
1608
+ type: "createObject";
1609
+ } & CreateObjectRule) | ({
1610
+ type: "createLink";
1611
+ } & CreateLinkRule);
1612
+ /**
1613
+ * Returns objects where the specified field is less than or equal to a value.
1614
+ *
1615
+ * Log Safety: UNSAFE
1616
+ */
1617
+ export interface LteQuery {
1618
+ field: FieldNameV1;
1619
+ value: PropertyValue;
1620
+ }
1621
+ /**
1622
+ * Returns objects where the specified field is less than or equal to a value. Allows you to specify a property to
1623
+ query on by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1624
+ *
1625
+ * Log Safety: UNSAFE
1626
+ */
1627
+ export interface LteQueryV2 {
1628
+ field?: PropertyApiName;
1629
+ propertyIdentifier?: PropertyIdentifier;
1630
+ value: PropertyValue;
1631
+ }
1632
+ /**
1633
+ * Returns objects where the specified field is less than a value.
1634
+ *
1635
+ * Log Safety: UNSAFE
1636
+ */
1637
+ export interface LtQuery {
1638
+ field: FieldNameV1;
1639
+ value: PropertyValue;
1640
+ }
1641
+ /**
1642
+ * Returns objects where the specified field is less than a value. Allows you to specify a property to query on
1643
+ by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1644
+ *
1645
+ * Log Safety: UNSAFE
1646
+ */
1647
+ export interface LtQueryV2 {
1648
+ field?: PropertyApiName;
1649
+ propertyIdentifier?: PropertyIdentifier;
1650
+ value: PropertyValue;
1651
+ }
1652
+ /**
1653
+ * Computes the maximum value for the provided field.
1654
+ *
1655
+ * Log Safety: UNSAFE
1656
+ */
1657
+ export interface MaxAggregation {
1658
+ field: FieldNameV1;
1659
+ name?: AggregationMetricName;
1660
+ }
1661
+ /**
1662
+ * Computes the maximum value for the provided field.
1663
+ *
1664
+ * Log Safety: UNSAFE
1665
+ */
1666
+ export interface MaxAggregationV2 {
1667
+ field: PropertyApiName;
1668
+ name?: AggregationMetricName;
1669
+ direction?: OrderByDirection;
1670
+ }
1671
+ /**
1672
+ * Log Safety: UNSAFE
1673
+ */
1674
+ export interface MediaMetadata {
1675
+ path?: _Core.MediaItemPath;
1676
+ sizeBytes: _Core.SizeBytes;
1677
+ mediaType: _Core.MediaType;
1678
+ }
1679
+ /**
1680
+ * Log Safety: UNSAFE
1681
+ */
1682
+ export type MediaReferenceProperty = LooselyBrandedString<"MediaReferenceProperty">;
1683
+ /**
1684
+ * Log Safety: UNSAFE
1685
+ */
1686
+ export type MethodObjectSet = ObjectSet;
1687
+ /**
1688
+ * Computes the minimum value for the provided field.
1689
+ *
1690
+ * Log Safety: UNSAFE
1691
+ */
1692
+ export interface MinAggregation {
1693
+ field: FieldNameV1;
1694
+ name?: AggregationMetricName;
1695
+ }
1696
+ /**
1697
+ * Computes the minimum value for the provided field.
1698
+ *
1699
+ * Log Safety: UNSAFE
1700
+ */
1701
+ export interface MinAggregationV2 {
1702
+ field: PropertyApiName;
1703
+ name?: AggregationMetricName;
1704
+ direction?: OrderByDirection;
1705
+ }
1706
+ /**
1707
+ * Log Safety: UNSAFE
1708
+ */
1709
+ export interface ModifyInterfaceObjectRule {
1710
+ interfaceTypeApiName: InterfaceTypeApiName;
1711
+ }
1712
+ /**
1713
+ * Log Safety: UNSAFE
1714
+ */
1715
+ export interface ModifyObject {
1716
+ primaryKey: PropertyValue;
1717
+ objectType: ObjectTypeApiName;
1718
+ }
1719
+ /**
1720
+ * Log Safety: UNSAFE
1721
+ */
1722
+ export interface ModifyObjectRule {
1723
+ objectTypeApiName: ObjectTypeApiName;
1724
+ }
1725
+ /**
1726
+ * Queries support either a vector matching the embedding model defined on the property, or text that is
1727
+ automatically embedded.
1728
+ *
1729
+ * Log Safety: UNSAFE
1730
+ */
1731
+ export type NearestNeighborsQuery = ({
1732
+ type: "vector";
1733
+ } & DoubleVector) | ({
1734
+ type: "text";
1735
+ } & NearestNeighborsQueryText);
1736
+ /**
1737
+ * Automatically embed the text in a vector using the embedding model configured for the given propertyIdentifier.
1738
+ *
1739
+ * Log Safety: UNSAFE
1740
+ */
1741
+ export interface NearestNeighborsQueryText {
1742
+ value: string;
1743
+ }
1744
+ /**
1745
+ * Log Safety: UNSAFE
1746
+ */
1747
+ export interface NestedQueryAggregation {
1748
+ key: any;
1749
+ groups: Array<QueryAggregation>;
1750
+ }
1751
+ /**
1752
+ * Returns objects where the query is not satisfied.
1753
+ *
1754
+ * Log Safety: UNSAFE
1755
+ */
1756
+ export interface NotQuery {
1757
+ value: SearchJsonQuery;
1758
+ }
1759
+ /**
1760
+ * Returns objects where the query is not satisfied.
1761
+ *
1762
+ * Log Safety: UNSAFE
1763
+ */
1764
+ export interface NotQueryV2 {
1765
+ value: SearchJsonQueryV2;
1766
+ }
1767
+ /**
1768
+ * Log Safety: UNSAFE
1769
+ */
1770
+ export type ObjectEdit = ({
1771
+ type: "modifyObject";
1772
+ } & ModifyObject) | ({
1773
+ type: "addObject";
1774
+ } & AddObject) | ({
1775
+ type: "addLink";
1776
+ } & AddLink);
1777
+ /**
1778
+ * Log Safety: UNSAFE
1779
+ */
1780
+ export interface ObjectEdits {
1781
+ edits: Array<ObjectEdit>;
1782
+ addedObjectCount: number;
1783
+ modifiedObjectsCount: number;
1784
+ deletedObjectsCount: number;
1785
+ addedLinksCount: number;
1786
+ deletedLinksCount: number;
1787
+ }
1788
+ /**
1789
+ * Log Safety: UNSAFE
1790
+ */
1791
+ export type ObjectPrimaryKey = Record<PropertyApiName, PropertyValue>;
1792
+ /**
1793
+ * A union of all the types supported by Ontology Object properties.
1794
+ *
1795
+ * Log Safety: UNSAFE
1796
+ */
1797
+ export type ObjectPropertyType = ({
1798
+ type: "date";
1799
+ } & _Core.DateType) | ({
1800
+ type: "struct";
1801
+ } & StructType) | ({
1802
+ type: "string";
1803
+ } & _Core.StringType) | ({
1804
+ type: "byte";
1805
+ } & _Core.ByteType) | ({
1806
+ type: "double";
1807
+ } & _Core.DoubleType) | ({
1808
+ type: "geopoint";
1809
+ } & _Core.GeoPointType) | ({
1810
+ type: "geotimeSeriesReference";
1811
+ } & _Core.GeotimeSeriesReferenceType) | ({
1812
+ type: "integer";
1813
+ } & _Core.IntegerType) | ({
1814
+ type: "float";
1815
+ } & _Core.FloatType) | ({
1816
+ type: "geoshape";
1817
+ } & _Core.GeoShapeType) | ({
1818
+ type: "long";
1819
+ } & _Core.LongType) | ({
1820
+ type: "boolean";
1821
+ } & _Core.BooleanType) | ({
1822
+ type: "cipherText";
1823
+ } & _Core.CipherTextType) | ({
1824
+ type: "marking";
1825
+ } & _Core.MarkingType) | ({
1826
+ type: "attachment";
1827
+ } & _Core.AttachmentType) | ({
1828
+ type: "mediaReference";
1829
+ } & _Core.MediaReferenceType) | ({
1830
+ type: "timeseries";
1831
+ } & _Core.TimeseriesType) | ({
1832
+ type: "array";
1833
+ } & OntologyObjectArrayType) | ({
1834
+ type: "short";
1835
+ } & _Core.ShortType) | ({
1836
+ type: "vector";
1837
+ } & _Core.VectorType) | ({
1838
+ type: "decimal";
1839
+ } & _Core.DecimalType) | ({
1840
+ type: "timestamp";
1841
+ } & _Core.TimestampType);
1842
+ /**
1843
+ * The parameter value must be a property value of an object found within an object set.
1844
+ *
1845
+ * Log Safety: SAFE
1846
+ */
1847
+ export interface ObjectPropertyValueConstraint {
1848
+ }
1849
+ /**
1850
+ * The parameter value must be the primary key of an object found within an object set.
1851
+ *
1852
+ * Log Safety: SAFE
1853
+ */
1854
+ export interface ObjectQueryResultConstraint {
1855
+ }
1856
+ /**
1857
+ * The unique resource identifier of an object, useful for interacting with other Foundry APIs.
1858
+ *
1859
+ * Log Safety: SAFE
1860
+ */
1861
+ export type ObjectRid = LooselyBrandedString<"ObjectRid">;
1862
+ /**
1863
+ * Represents the definition of an ObjectSet in the Ontology.
1864
+ *
1865
+ * Log Safety: UNSAFE
1866
+ */
1867
+ export type ObjectSet = ({
1868
+ type: "searchAround";
1869
+ } & ObjectSetSearchAroundType) | ({
1870
+ type: "static";
1871
+ } & ObjectSetStaticType) | ({
1872
+ type: "intersect";
1873
+ } & ObjectSetIntersectionType) | ({
1874
+ type: "withProperties";
1875
+ } & ObjectSetWithPropertiesType) | ({
1876
+ type: "subtract";
1877
+ } & ObjectSetSubtractType) | ({
1878
+ type: "nearestNeighbors";
1879
+ } & ObjectSetNearestNeighborsType) | ({
1880
+ type: "union";
1881
+ } & ObjectSetUnionType) | ({
1882
+ type: "asType";
1883
+ } & ObjectSetAsTypeType) | ({
1884
+ type: "methodInput";
1885
+ } & ObjectSetMethodInputType) | ({
1886
+ type: "reference";
1887
+ } & ObjectSetReferenceType) | ({
1888
+ type: "filter";
1889
+ } & ObjectSetFilterType) | ({
1890
+ type: "interfaceBase";
1891
+ } & ObjectSetInterfaceBaseType) | ({
1892
+ type: "asBaseObjectTypes";
1893
+ } & ObjectSetAsBaseObjectTypesType) | ({
1894
+ type: "base";
1895
+ } & ObjectSetBaseType);
1896
+ /**
1897
+ * Casts the objects in the object set to their base type and thus ensures objects are returned with all of their
1898
+ properties in the resulting object set, not just the properties that implement interface properties. This is
1899
+ currently unsupported and an exception will be thrown if used.
1900
+ *
1901
+ * Log Safety: UNSAFE
1902
+ */
1903
+ export interface ObjectSetAsBaseObjectTypesType {
1904
+ objectSet: ObjectSet;
1905
+ }
1906
+ /**
1907
+ * Casts an object set to a specified object type or interface type API name. Any object whose object type does
1908
+ not match the object type provided or implement the interface type provided will be dropped from the resulting
1909
+ object set. This is currently unsupported and an exception will be thrown if used.
1910
+ *
1911
+ * Log Safety: UNSAFE
1912
+ */
1913
+ export interface ObjectSetAsTypeType {
1914
+ entityType: string;
1915
+ objectSet: ObjectSet;
1916
+ }
1917
+ /**
1918
+ * Log Safety: UNSAFE
1919
+ */
1920
+ export interface ObjectSetBaseType {
1921
+ objectType: string;
1922
+ }
1923
+ /**
1924
+ * Log Safety: UNSAFE
1925
+ */
1926
+ export interface ObjectSetFilterType {
1927
+ objectSet: ObjectSet;
1928
+ where: SearchJsonQueryV2;
1929
+ }
1930
+ /**
1931
+ * Log Safety: UNSAFE
1932
+ */
1933
+ export interface ObjectSetInterfaceBaseType {
1934
+ interfaceType: string;
1935
+ }
1936
+ /**
1937
+ * Log Safety: UNSAFE
1938
+ */
1939
+ export interface ObjectSetIntersectionType {
1940
+ objectSets: Array<ObjectSet>;
1941
+ }
1942
+ /**
1943
+ * ObjectSet which is the root of a MethodObjectSet definition.
1944
+ This feature is experimental and not yet generally available.
1945
+ *
1946
+ * Log Safety: SAFE
1947
+ */
1948
+ export interface ObjectSetMethodInputType {
1949
+ }
1950
+ /**
1951
+ * ObjectSet containing the top numNeighbors objects with propertyIdentifier nearest to the input vector or
1952
+ text. This can only be performed on a property with type vector that has been configured to be searched with
1953
+ approximate nearest neighbors using a similarity function configured in the Ontology.
1954
+ A non-zero score for each resulting object is returned when the orderType in the orderBy field is set to
1955
+ relevance. Note that:
1956
+
1957
+ Scores will not be returned if a nearestNeighbors object set is composed through union, subtraction
1958
+ or intersection with non-nearestNeighbors object sets.
1959
+ If results have scores, the order of the scores will be decreasing (duplicate scores are possible).
1960
+ *
1961
+ * Log Safety: UNSAFE
1962
+ */
1963
+ export interface ObjectSetNearestNeighborsType {
1964
+ objectSet: ObjectSet;
1965
+ propertyIdentifier: PropertyIdentifier;
1966
+ numNeighbors: number;
1967
+ query: NearestNeighborsQuery;
1968
+ }
1969
+ /**
1970
+ * Log Safety: SAFE
1971
+ */
1972
+ export interface ObjectSetReferenceType {
1973
+ reference: ObjectSetRid;
1974
+ }
1975
+ /**
1976
+ * Log Safety: SAFE
1977
+ */
1978
+ export type ObjectSetRid = LooselyBrandedString<"ObjectSetRid">;
1979
+ /**
1980
+ * Log Safety: UNSAFE
1981
+ */
1982
+ export interface ObjectSetSearchAroundType {
1983
+ objectSet: ObjectSet;
1984
+ link: LinkTypeApiName;
1985
+ }
1986
+ /**
1987
+ * Log Safety: SAFE
1988
+ */
1989
+ export interface ObjectSetStaticType {
1990
+ objects: Array<ObjectRid>;
1991
+ }
1992
+ /**
1993
+ * Log Safety: UNSAFE
1994
+ */
1995
+ export interface ObjectSetStreamSubscribeRequest {
1996
+ objectSet: ObjectSet;
1997
+ propertySet: Array<SelectedPropertyApiName>;
1998
+ referenceSet: Array<SelectedPropertyApiName>;
1999
+ }
2000
+ /**
2001
+ * The list of object sets that should be subscribed to. A client can stop subscribing to an object set
2002
+ by removing the request from subsequent ObjectSetStreamSubscribeRequests.
2003
+ *
2004
+ * Log Safety: UNSAFE
2005
+ */
2006
+ export interface ObjectSetStreamSubscribeRequests {
2007
+ id: RequestId;
2008
+ requests: Array<ObjectSetStreamSubscribeRequest>;
2009
+ }
2010
+ /**
2011
+ * Log Safety: UNSAFE
2012
+ */
2013
+ export type ObjectSetSubscribeResponse = ({
2014
+ type: "qos";
2015
+ } & QosError) | ({
2016
+ type: "success";
2017
+ } & SubscriptionSuccess) | ({
2018
+ type: "error";
2019
+ } & SubscriptionError);
2020
+ /**
2021
+ * Returns a response for every request in the same order. Duplicate requests will be assigned the same SubscriberId.
2022
+ *
2023
+ * Log Safety: UNSAFE
2024
+ */
2025
+ export interface ObjectSetSubscribeResponses {
2026
+ responses: Array<ObjectSetSubscribeResponse>;
2027
+ id: RequestId;
2028
+ }
2029
+ /**
2030
+ * Log Safety: UNSAFE
2031
+ */
2032
+ export interface ObjectSetSubtractType {
2033
+ objectSets: Array<ObjectSet>;
2034
+ }
2035
+ /**
2036
+ * Log Safety: UNSAFE
2037
+ */
2038
+ export interface ObjectSetUnionType {
2039
+ objectSets: Array<ObjectSet>;
2040
+ }
2041
+ /**
2042
+ * Log Safety: UNSAFE
2043
+ */
2044
+ export type ObjectSetUpdate = ({
2045
+ type: "reference";
2046
+ } & ReferenceUpdate) | ({
2047
+ type: "object";
2048
+ } & ObjectUpdate);
2049
+ /**
2050
+ * Log Safety: UNSAFE
2051
+ */
2052
+ export interface ObjectSetUpdates {
2053
+ id: SubscriptionId;
2054
+ updates: Array<ObjectSetUpdate>;
2055
+ }
2056
+ /**
2057
+ * ObjectSet which returns objects with additional derived properties.
2058
+ This feature is experimental and not yet generally available.
2059
+ *
2060
+ * Log Safety: UNSAFE
2061
+ */
2062
+ export interface ObjectSetWithPropertiesType {
2063
+ objectSet: ObjectSet;
2064
+ derivedProperties: Record<DerivedPropertyApiName, DerivedPropertyDefinition>;
2065
+ }
2066
+ /**
2067
+ * Represents the state of the object within the object set. ADDED_OR_UPDATED indicates that the object was
2068
+ added to the set or the object has updated and was previously in the set. REMOVED indicates that the object
2069
+ was removed from the set due to the object being deleted or the object no longer meets the object set
2070
+ definition.
2071
+ *
2072
+ * Log Safety: SAFE
2073
+ */
2074
+ export type ObjectState = "ADDED_OR_UPDATED" | "REMOVED";
2075
+ /**
2076
+ * Represents an object type in the Ontology.
2077
+ *
2078
+ * Log Safety: UNSAFE
2079
+ */
2080
+ export interface ObjectType {
2081
+ apiName: ObjectTypeApiName;
2082
+ displayName?: _Core.DisplayName;
2083
+ status: _Core.ReleaseStatus;
2084
+ description?: string;
2085
+ visibility?: ObjectTypeVisibility;
2086
+ primaryKey: Array<PropertyApiName>;
2087
+ properties: Record<PropertyApiName, Property>;
2088
+ rid: ObjectTypeRid;
2089
+ }
2090
+ /**
2091
+ * The name of the object type in the API in camelCase format. To find the API name for your Object Type, use the
2092
+ List object types endpoint or check the Ontology Manager.
2093
+ *
2094
+ * Log Safety: UNSAFE
2095
+ */
2096
+ export type ObjectTypeApiName = LooselyBrandedString<"ObjectTypeApiName">;
2097
+ /**
2098
+ * Log Safety: UNSAFE
2099
+ */
2100
+ export interface ObjectTypeEdits {
2101
+ editedObjectTypes: Array<ObjectTypeApiName>;
2102
+ }
2103
+ /**
2104
+ * Log Safety: UNSAFE
2105
+ */
2106
+ export interface ObjectTypeFullMetadata {
2107
+ objectType: ObjectTypeV2;
2108
+ linkTypes: Array<LinkTypeSideV2>;
2109
+ implementsInterfaces: Array<InterfaceTypeApiName>;
2110
+ implementsInterfaces2: Record<InterfaceTypeApiName, ObjectTypeInterfaceImplementation>;
2111
+ sharedPropertyTypeMapping: Record<SharedPropertyTypeApiName, PropertyApiName>;
2112
+ }
2113
+ /**
2114
+ * The unique identifier (ID) for an object type. This can be viewed in Ontology Manager.
2115
+ *
2116
+ * Log Safety: UNSAFE
2117
+ */
2118
+ export type ObjectTypeId = LooselyBrandedString<"ObjectTypeId">;
2119
+ /**
2120
+ * Log Safety: UNSAFE
2121
+ */
2122
+ export interface ObjectTypeInterfaceImplementation {
2123
+ properties: Record<SharedPropertyTypeApiName, PropertyApiName>;
2124
+ }
2125
+ /**
2126
+ * The unique resource identifier of an object type, useful for interacting with other Foundry APIs.
2127
+ *
2128
+ * Log Safety: SAFE
2129
+ */
2130
+ export type ObjectTypeRid = LooselyBrandedString<"ObjectTypeRid">;
2131
+ /**
2132
+ * Represents an object type in the Ontology.
2133
+ *
2134
+ * Log Safety: UNSAFE
2135
+ */
2136
+ export interface ObjectTypeV2 {
2137
+ apiName: ObjectTypeApiName;
2138
+ displayName: _Core.DisplayName;
2139
+ status: _Core.ReleaseStatus;
2140
+ description?: string;
2141
+ pluralDisplayName: string;
2142
+ icon: Icon;
2143
+ primaryKey: PropertyApiName;
2144
+ properties: Record<PropertyApiName, PropertyV2>;
2145
+ rid: ObjectTypeRid;
2146
+ titleProperty: PropertyApiName;
2147
+ visibility?: ObjectTypeVisibility;
2148
+ }
2149
+ /**
2150
+ * The suggested visibility of the object type.
2151
+ *
2152
+ * Log Safety: SAFE
2153
+ */
2154
+ export type ObjectTypeVisibility = "NORMAL" | "PROMINENT" | "HIDDEN";
2155
+ /**
2156
+ * Log Safety: UNSAFE
2157
+ */
2158
+ export interface ObjectUpdate {
2159
+ object: OntologyObjectV2;
2160
+ state: ObjectState;
2161
+ }
2162
+ /**
2163
+ * The parameter has a manually predefined set of options.
2164
+ *
2165
+ * Log Safety: UNSAFE
2166
+ */
2167
+ export interface OneOfConstraint {
2168
+ options: Array<ParameterOption>;
2169
+ otherValuesAllowed: boolean;
2170
+ }
2171
+ /**
2172
+ * Metadata about an Ontology.
2173
+ *
2174
+ * Log Safety: UNSAFE
2175
+ */
2176
+ export interface Ontology {
2177
+ apiName: OntologyApiName;
2178
+ displayName: _Core.DisplayName;
2179
+ description: string;
2180
+ rid: OntologyRid;
2181
+ }
2182
+ /**
2183
+ * Log Safety: UNSAFE
2184
+ */
2185
+ export type OntologyApiName = LooselyBrandedString<"OntologyApiName">;
2186
+ /**
2187
+ * Log Safety: UNSAFE
2188
+ */
2189
+ export interface OntologyArrayType {
2190
+ itemType: OntologyDataType;
2191
+ }
2192
+ /**
2193
+ * A union of all the primitive types used by Palantir's Ontology-based products.
2194
+ *
2195
+ * Log Safety: UNSAFE
2196
+ */
2197
+ export type OntologyDataType = ({
2198
+ type: "date";
2199
+ } & _Core.DateType) | ({
2200
+ type: "struct";
2201
+ } & OntologyStructType) | ({
2202
+ type: "set";
2203
+ } & OntologySetType) | ({
2204
+ type: "string";
2205
+ } & _Core.StringType) | ({
2206
+ type: "byte";
2207
+ } & _Core.ByteType) | ({
2208
+ type: "double";
2209
+ } & _Core.DoubleType) | ({
2210
+ type: "integer";
2211
+ } & _Core.IntegerType) | ({
2212
+ type: "float";
2213
+ } & _Core.FloatType) | ({
2214
+ type: "any";
2215
+ } & _Core.AnyType) | ({
2216
+ type: "long";
2217
+ } & _Core.LongType) | ({
2218
+ type: "boolean";
2219
+ } & _Core.BooleanType) | ({
2220
+ type: "cipherText";
2221
+ } & _Core.CipherTextType) | ({
2222
+ type: "marking";
2223
+ } & _Core.MarkingType) | ({
2224
+ type: "unsupported";
2225
+ } & _Core.UnsupportedType) | ({
2226
+ type: "array";
2227
+ } & OntologyArrayType) | ({
2228
+ type: "objectSet";
2229
+ } & OntologyObjectSetType) | ({
2230
+ type: "binary";
2231
+ } & _Core.BinaryType) | ({
2232
+ type: "short";
2233
+ } & _Core.ShortType) | ({
2234
+ type: "decimal";
2235
+ } & _Core.DecimalType) | ({
2236
+ type: "map";
2237
+ } & OntologyMapType) | ({
2238
+ type: "timestamp";
2239
+ } & _Core.TimestampType) | ({
2240
+ type: "object";
2241
+ } & OntologyObjectType);
2242
+ /**
2243
+ * Log Safety: UNSAFE
2244
+ */
2245
+ export interface OntologyFullMetadata {
2246
+ ontology: OntologyV2;
2247
+ objectTypes: Record<ObjectTypeApiName, ObjectTypeFullMetadata>;
2248
+ actionTypes: Record<ActionTypeApiName, ActionTypeV2>;
2249
+ queryTypes: Record<QueryApiName, QueryTypeV2>;
2250
+ interfaceTypes: Record<InterfaceTypeApiName, InterfaceType>;
2251
+ sharedPropertyTypes: Record<SharedPropertyTypeApiName, SharedPropertyType>;
2252
+ }
2253
+ /**
2254
+ * Either an ontology rid or an ontology api name.
2255
+ *
2256
+ * Log Safety: UNSAFE
2257
+ */
2258
+ export type OntologyIdentifier = LooselyBrandedString<"OntologyIdentifier">;
2259
+ /**
2260
+ * Log Safety: UNSAFE
2261
+ */
2262
+ export type OntologyInterface = LooselyBrandedString<"OntologyInterface">;
2263
+ /**
2264
+ * Log Safety: UNSAFE
2265
+ */
2266
+ export interface OntologyInterfaceObjectType {
2267
+ interfaceTypeApiName: InterfaceTypeApiName;
2268
+ }
2269
+ /**
2270
+ * Log Safety: UNSAFE
2271
+ */
2272
+ export interface OntologyMapType {
2273
+ keyType: OntologyDataType;
2274
+ valueType: OntologyDataType;
2275
+ }
2276
+ /**
2277
+ * Represents an object in the Ontology.
2278
+ *
2279
+ * Log Safety: UNSAFE
2280
+ */
2281
+ export interface OntologyObject {
2282
+ properties: Record<PropertyApiName, PropertyValue | undefined>;
2283
+ rid: ObjectRid;
2284
+ }
2285
+ /**
2286
+ * Log Safety: UNSAFE
2287
+ */
2288
+ export interface OntologyObjectArrayType {
2289
+ subType: ObjectPropertyType;
2290
+ }
2291
+ /**
2292
+ * Log Safety: UNSAFE
2293
+ */
2294
+ export type OntologyObjectSet = LooselyBrandedString<"OntologyObjectSet">;
2295
+ /**
2296
+ * Log Safety: UNSAFE
2297
+ */
2298
+ export interface OntologyObjectSetType {
2299
+ objectApiName?: ObjectTypeApiName;
2300
+ objectTypeApiName?: ObjectTypeApiName;
2301
+ }
2302
+ /**
2303
+ * Log Safety: UNSAFE
2304
+ */
2305
+ export interface OntologyObjectType {
2306
+ objectApiName: ObjectTypeApiName;
2307
+ objectTypeApiName: ObjectTypeApiName;
2308
+ }
2309
+ /**
2310
+ * Log Safety: SAFE
2311
+ */
2312
+ export interface OntologyObjectTypeReferenceType {
2313
+ }
2314
+ /**
2315
+ * Represents an object in the Ontology.
2316
+ *
2317
+ * Log Safety: UNSAFE
2318
+ */
2319
+ export type OntologyObjectV2 = Record<PropertyApiName, PropertyValue>;
2320
+ /**
2321
+ * The unique Resource Identifier (RID) of the Ontology. To look up your Ontology RID, please use the
2322
+ List ontologies endpoint or check the Ontology Manager.
2323
+ *
2324
+ * Log Safety: SAFE
2325
+ */
2326
+ export type OntologyRid = LooselyBrandedString<"OntologyRid">;
2327
+ /**
2328
+ * Log Safety: UNSAFE
2329
+ */
2330
+ export interface OntologySetType {
2331
+ itemType: OntologyDataType;
2332
+ }
2333
+ /**
2334
+ * Log Safety: UNSAFE
2335
+ */
2336
+ export interface OntologyStructField {
2337
+ name: _Core.StructFieldName;
2338
+ fieldType: OntologyDataType;
2339
+ required: boolean;
2340
+ }
2341
+ /**
2342
+ * Log Safety: UNSAFE
2343
+ */
2344
+ export interface OntologyStructType {
2345
+ fields: Array<OntologyStructField>;
2346
+ }
2347
+ /**
2348
+ * Metadata about an Ontology.
2349
+ *
2350
+ * Log Safety: UNSAFE
2351
+ */
2352
+ export interface OntologyV2 {
2353
+ apiName: OntologyApiName;
2354
+ displayName: _Core.DisplayName;
2355
+ description: string;
2356
+ rid: OntologyRid;
2357
+ }
2358
+ /**
2359
+ * A command representing the list of properties to order by. Properties should be delimited by commas and
2360
+ prefixed by p or properties. The format expected format is
2361
+ orderBy=properties.{property}:{sortDirection},properties.{property}:{sortDirection}...
2362
+ By default, the ordering for a property is ascending, and this can be explicitly specified by appending
2363
+ :asc (for ascending) or :desc (for descending).
2364
+ Example: use orderBy=properties.lastName:asc to order by a single property,
2365
+ orderBy=properties.lastName,properties.firstName,properties.age:desc to order by multiple properties.
2366
+ You may also use the shorthand p instead of properties such as orderBy=p.lastName:asc.
2367
+ *
2368
+ * Log Safety: UNSAFE
2369
+ */
2370
+ export type OrderBy = LooselyBrandedString<"OrderBy">;
2371
+ /**
2372
+ * Log Safety: SAFE
2373
+ */
2374
+ export type OrderByDirection = "ASC" | "DESC";
2375
+ /**
2376
+ * Returns objects where at least 1 query is satisfied.
2377
+ *
2378
+ * Log Safety: UNSAFE
2379
+ */
2380
+ export interface OrQuery {
2381
+ value: Array<SearchJsonQuery>;
2382
+ }
2383
+ /**
2384
+ * Returns objects where at least 1 query is satisfied.
2385
+ *
2386
+ * Log Safety: UNSAFE
2387
+ */
2388
+ export interface OrQueryV2 {
2389
+ value: Array<SearchJsonQueryV2>;
2390
+ }
2391
+ /**
2392
+ * Details about a parameter of an action or query.
2393
+ *
2394
+ * Log Safety: UNSAFE
2395
+ */
2396
+ export interface Parameter {
2397
+ description?: string;
2398
+ baseType: ValueType;
2399
+ dataType?: OntologyDataType;
2400
+ required: boolean;
2401
+ }
2402
+ /**
2403
+ * A constraint that an action parameter value must satisfy in order to be considered valid.
2404
+ Constraints can be configured on action parameters in the Ontology Manager.
2405
+ Applicable constraints are determined dynamically based on parameter inputs.
2406
+ Parameter values are evaluated against the final set of constraints.
2407
+ The type of the constraint.
2408
+ | Type | Description |
2409
+ |-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
2410
+ | arraySize | The parameter expects an array of values and the size of the array must fall within the defined range. |
2411
+ | groupMember | The parameter value must be the user id of a member belonging to at least one of the groups defined by the constraint. |
2412
+ | objectPropertyValue | The parameter value must be a property value of an object found within an object set. |
2413
+ | objectQueryResult | The parameter value must be the primary key of an object found within an object set. |
2414
+ | oneOf | The parameter has a manually predefined set of options. |
2415
+ | range | The parameter value must be within the defined range. |
2416
+ | stringLength | The parameter value must have a length within the defined range. |
2417
+ | stringRegexMatch | The parameter value must match a predefined regular expression. |
2418
+ | unevaluable | The parameter cannot be evaluated because it depends on another parameter or object set that can't be evaluated. This can happen when a parameter's allowed values are defined by another parameter that is missing or invalid. |
2419
+ *
2420
+ * Log Safety: UNSAFE
2421
+ */
2422
+ export type ParameterEvaluatedConstraint = ({
2423
+ type: "oneOf";
2424
+ } & OneOfConstraint) | ({
2425
+ type: "groupMember";
2426
+ } & GroupMemberConstraint) | ({
2427
+ type: "objectPropertyValue";
2428
+ } & ObjectPropertyValueConstraint) | ({
2429
+ type: "range";
2430
+ } & RangeConstraint) | ({
2431
+ type: "arraySize";
2432
+ } & ArraySizeConstraint) | ({
2433
+ type: "objectQueryResult";
2434
+ } & ObjectQueryResultConstraint) | ({
2435
+ type: "stringLength";
2436
+ } & StringLengthConstraint) | ({
2437
+ type: "stringRegexMatch";
2438
+ } & StringRegexMatchConstraint) | ({
2439
+ type: "unevaluable";
2440
+ } & UnevaluableConstraint);
2441
+ /**
2442
+ * Represents the validity of a parameter against the configured constraints.
2443
+ *
2444
+ * Log Safety: UNSAFE
2445
+ */
2446
+ export interface ParameterEvaluationResult {
2447
+ result: ValidationResult;
2448
+ evaluatedConstraints: Array<ParameterEvaluatedConstraint>;
2449
+ required: boolean;
2450
+ }
2451
+ /**
2452
+ * The unique identifier of the parameter. Parameters are used as inputs when an action or query is applied.
2453
+ Parameters can be viewed and managed in the Ontology Manager.
2454
+ *
2455
+ * Log Safety: UNSAFE
2456
+ */
2457
+ export type ParameterId = LooselyBrandedString<"ParameterId">;
2458
+ /**
2459
+ * A possible value for the parameter. This is defined in the Ontology Manager by Actions admins.
2460
+ *
2461
+ * Log Safety: UNSAFE
2462
+ */
2463
+ export interface ParameterOption {
2464
+ displayName?: _Core.DisplayName;
2465
+ value?: any;
2466
+ }
2467
+ /**
2468
+ * Returns objects where the specified field contains the provided value as a substring.
2469
+ *
2470
+ * Log Safety: UNSAFE
2471
+ */
2472
+ export interface PhraseQuery {
2473
+ field: FieldNameV1;
2474
+ value: string;
2475
+ }
2476
+ /**
2477
+ * Log Safety: UNSAFE
2478
+ */
2479
+ export type PolygonValue = {
2480
+ type: "Polygon";
2481
+ } & _Geo.Polygon;
2482
+ /**
2483
+ * Returns objects where the specified field starts with the provided value.
2484
+ *
2485
+ * Log Safety: UNSAFE
2486
+ */
2487
+ export interface PrefixQuery {
2488
+ field: FieldNameV1;
2489
+ value: string;
2490
+ }
2491
+ /**
2492
+ * Represents the primary key value that is used as a unique identifier for an object.
2493
+ *
2494
+ * Log Safety: UNSAFE
2495
+ */
2496
+ export type PrimaryKeyValue = any;
2497
+ /**
2498
+ * Details about some property of an object.
2499
+ *
2500
+ * Log Safety: UNSAFE
2501
+ */
2502
+ export interface Property {
2503
+ description?: string;
2504
+ displayName?: _Core.DisplayName;
2505
+ baseType: ValueType;
2506
+ }
2507
+ /**
2508
+ * The name of the property in the API. To find the API name for your property, use the Get object type
2509
+ endpoint or check the Ontology Manager.
2510
+ *
2511
+ * Log Safety: UNSAFE
2512
+ */
2513
+ export type PropertyApiName = LooselyBrandedString<"PropertyApiName">;
2514
+ /**
2515
+ * A property api name that references properties to query on.
2516
+ *
2517
+ * Log Safety: UNSAFE
2518
+ */
2519
+ export interface PropertyApiNameSelector {
2520
+ apiName: PropertyApiName;
2521
+ }
2522
+ /**
2523
+ * Represents a filter used on properties.
2524
+ Endpoints that accept this supports optional parameters that have the form:
2525
+ properties.{propertyApiName}.{propertyFilter}={propertyValueEscapedString} to filter the returned objects.
2526
+ For instance, you may use properties.firstName.eq=John to find objects that contain a property called
2527
+ "firstName" that has the exact value of "John".
2528
+ The following are a list of supported property filters:
2529
+
2530
+ properties.{propertyApiName}.contains - supported on arrays and can be used to filter array properties
2531
+ that have at least one of the provided values. If multiple query parameters are provided, then objects
2532
+ that have any of the given values for the specified property will be matched.
2533
+ properties.{propertyApiName}.eq - used to filter objects that have the exact value for the provided
2534
+ property. If multiple query parameters are provided, then objects that have any of the given values
2535
+ will be matched. For instance, if the user provides a request by doing
2536
+ ?properties.firstName.eq=John&properties.firstName.eq=Anna, then objects that have a firstName property
2537
+ of either John or Anna will be matched. This filter is supported on all property types except Arrays.
2538
+ properties.{propertyApiName}.neq - used to filter objects that do not have the provided property values.
2539
+ Similar to the eq filter, if multiple values are provided, then objects that have any of the given values
2540
+ will be excluded from the result.
2541
+ properties.{propertyApiName}.lt, properties.{propertyApiName}.lte, properties.{propertyApiName}.gt
2542
+ properties.{propertyApiName}.gte - represent less than, less than or equal to, greater than, and greater
2543
+ than or equal to respectively. These are supported on date, timestamp, byte, integer, long, double, decimal.
2544
+ properties.{propertyApiName}.isNull - used to filter objects where the provided property is (or is not) null.
2545
+ This filter is supported on all property types.
2546
+ *
2547
+ * Log Safety: SAFE
2548
+ */
2549
+ export type PropertyFilter = LooselyBrandedString<"PropertyFilter">;
2550
+ /**
2551
+ * The immutable ID of a property. Property IDs are only used to identify properties in the Ontology Manager
2552
+ application and assign them API names. In every other case, API names should be used instead of property IDs.
2553
+ *
2554
+ * Log Safety: UNSAFE
2555
+ */
2556
+ export type PropertyId = LooselyBrandedString<"PropertyId">;
2557
+ /**
2558
+ * An identifier used to select properties or struct fields.
2559
+ *
2560
+ * Log Safety: UNSAFE
2561
+ */
2562
+ export type PropertyIdentifier = ({
2563
+ type: "property";
2564
+ } & PropertyApiNameSelector) | ({
2565
+ type: "structField";
2566
+ } & StructFieldSelector);
2567
+ /**
2568
+ * Log Safety: SAFE
2569
+ */
2570
+ export type PropertyTypeRid = LooselyBrandedString<"PropertyTypeRid">;
2571
+ /**
2572
+ * The status to indicate whether the PropertyType is either Experimental, Active, Deprecated, or Example.
2573
+ *
2574
+ * Log Safety: UNSAFE
2575
+ */
2576
+ export type PropertyTypeStatus = ({
2577
+ type: "deprecated";
2578
+ } & DeprecatedPropertyTypeStatus) | ({
2579
+ type: "active";
2580
+ } & ActivePropertyTypeStatus) | ({
2581
+ type: "experimental";
2582
+ } & ExperimentalPropertyTypeStatus) | ({
2583
+ type: "example";
2584
+ } & ExamplePropertyTypeStatus);
2585
+ /**
2586
+ * Log Safety: SAFE
2587
+ */
2588
+ export type PropertyTypeVisibility = "NORMAL" | "PROMINENT" | "HIDDEN";
2589
+ /**
2590
+ * Details about some property of an object.
2591
+ *
2592
+ * Log Safety: UNSAFE
2593
+ */
2594
+ export interface PropertyV2 {
2595
+ description?: string;
2596
+ displayName?: _Core.DisplayName;
2597
+ dataType: ObjectPropertyType;
2598
+ rid: PropertyTypeRid;
2599
+ status?: PropertyTypeStatus;
2600
+ visibility?: PropertyTypeVisibility;
2601
+ }
2602
+ /**
2603
+ * Represents the value of a property in the following format.
2604
+ | Type | JSON encoding | Example |
2605
+ |---------------- |-------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
2606
+ | Array | array | ["alpha", "bravo", "charlie"] |
2607
+ | Attachment | JSON encoded AttachmentProperty object | {"rid":"ri.blobster.main.attachment.2f944bae-5851-4204-8615-920c969a9f2e"} |
2608
+ | Boolean | boolean | true |
2609
+ | Byte | number | 31 |
2610
+ | CipherText | string | "CIPHER::ri.bellaso.main.cipher-channel.e414ab9e-b606-499a-a0e1-844fa296ba7e::unzjs3VifsTxuIpf1fH1CJ7OaPBr2bzMMdozPaZJtCii8vVG60yXIEmzoOJaEl9mfFFe::CIPHER" |
2611
+
2612
+ | Date | ISO 8601 extended local date string | "2021-05-01" |
2613
+ | Decimal | string | "2.718281828" |
2614
+ | Double | number | 3.14159265 |
2615
+ | Float | number | 3.14159265 |
2616
+ | GeoPoint | geojson | {"type":"Point","coordinates":[102.0,0.5]} |
2617
+ | GeoShape | geojson | {"type":"LineString","coordinates":[[102.0,0.0],[103.0,1.0],[104.0,0.0],[105.0,1.0]]} |
2618
+ | Integer | number | 238940 |
2619
+ | Long | string | "58319870951433" |
2620
+ | MediaReference | JSON encoded MediaReference object | {"mimeType":"application/pdf","reference":{"type":"mediaSetViewItem","mediaSetViewItem":{"mediaSetRid":"ri.mio.main.media-set.4153d42f-ca4b-4e42-8ca5-8e6aa7edb642","mediaSetViewRid":"ri.mio.main.view.82a798ad-d637-4595-acc6-987bcf16629b","mediaItemRid":"ri.mio.main.media-item.001ec98b-1620-4814-9e17-8e9c4e536225"}}} |
2621
+ | Short | number | 8739 |
2622
+ | String | string | "Call me Ishmael" |
2623
+ | Struct | JSON object of struct field API name -> value | {"firstName": "Alex", "lastName": "Karp"} |
2624
+ | Timestamp | ISO 8601 extended offset date-time string in UTC zone | "2021-01-04T05:00:00Z" |
2625
+ | Timeseries | JSON encoded TimeseriesProperty object or seriesId string | {"seriesId": "wellPressureSeriesId", "syncRid": ri.time-series-catalog.main.sync.04f5ac1f-91bf-44f9-a51f-4f34e06e42df"} or {"templateRid": "ri.codex-emu.main.template.367cac64-e53b-4653-b111-f61856a63df9", "templateVersion": "0.0.0"} or "wellPressureSeriesId"| |
2626
+ Note that for backwards compatibility, the Boolean, Byte, Double, Float, Integer, and Short types can also be encoded as JSON strings.
2627
+ *
2628
+ * Log Safety: UNSAFE
2629
+ */
2630
+ export type PropertyValue = any;
2631
+ /**
2632
+ * Represents the value of a property in string format. This is used in URL parameters.
2633
+ *
2634
+ * Log Safety: UNSAFE
2635
+ */
2636
+ export type PropertyValueEscapedString = LooselyBrandedString<"PropertyValueEscapedString">;
2637
+ /**
2638
+ * An error indicating that the subscribe request should be attempted on a different node.
2639
+ *
2640
+ * Log Safety: SAFE
2641
+ */
2642
+ export interface QosError {
2643
+ }
2644
+ /**
2645
+ * The representation of a time series property backed by multiple time series syncs.
2646
+ *
2647
+ * Log Safety: UNSAFE
2648
+ */
2649
+ export interface QualifiedTimeseriesProperty {
2650
+ seriesId: SeriesId;
2651
+ syncRid: TimeseriesSyncRid;
2652
+ }
2653
+ /**
2654
+ * Log Safety: UNSAFE
2655
+ */
2656
+ export type Query = LooselyBrandedString<"Query">;
2657
+ /**
2658
+ * Log Safety: UNSAFE
2659
+ */
2660
+ export interface QueryAggregation {
2661
+ key: any;
2662
+ value: any;
2663
+ }
2664
+ /**
2665
+ * A union of all the types supported by query aggregation keys.
2666
+ *
2667
+ * Log Safety: UNSAFE
2668
+ */
2669
+ export type QueryAggregationKeyType = ({
2670
+ type: "date";
2671
+ } & _Core.DateType) | ({
2672
+ type: "boolean";
2673
+ } & _Core.BooleanType) | ({
2674
+ type: "string";
2675
+ } & _Core.StringType) | ({
2676
+ type: "double";
2677
+ } & _Core.DoubleType) | ({
2678
+ type: "range";
2679
+ } & QueryAggregationRangeType) | ({
2680
+ type: "integer";
2681
+ } & _Core.IntegerType) | ({
2682
+ type: "timestamp";
2683
+ } & _Core.TimestampType);
2684
+ /**
2685
+ * Specifies a range from an inclusive start value to an exclusive end value.
2686
+ *
2687
+ * Log Safety: UNSAFE
2688
+ */
2689
+ export interface QueryAggregationRange {
2690
+ startValue?: any;
2691
+ endValue?: any;
2692
+ }
2693
+ /**
2694
+ * A union of all the types supported by query aggregation ranges.
2695
+ *
2696
+ * Log Safety: UNSAFE
2697
+ */
2698
+ export type QueryAggregationRangeSubType = ({
2699
+ type: "date";
2700
+ } & _Core.DateType) | ({
2701
+ type: "double";
2702
+ } & _Core.DoubleType) | ({
2703
+ type: "integer";
2704
+ } & _Core.IntegerType) | ({
2705
+ type: "timestamp";
2706
+ } & _Core.TimestampType);
2707
+ /**
2708
+ * Log Safety: UNSAFE
2709
+ */
2710
+ export interface QueryAggregationRangeType {
2711
+ subType: QueryAggregationRangeSubType;
2712
+ }
2713
+ /**
2714
+ * A union of all the types supported by query aggregation keys.
2715
+ *
2716
+ * Log Safety: UNSAFE
2717
+ */
2718
+ export type QueryAggregationValueType = ({
2719
+ type: "date";
2720
+ } & _Core.DateType) | ({
2721
+ type: "double";
2722
+ } & _Core.DoubleType) | ({
2723
+ type: "timestamp";
2724
+ } & _Core.TimestampType);
2725
+ /**
2726
+ * The name of the Query in the API.
2727
+ *
2728
+ * Log Safety: UNSAFE
2729
+ */
2730
+ export type QueryApiName = LooselyBrandedString<"QueryApiName">;
2731
+ /**
2732
+ * Log Safety: UNSAFE
2733
+ */
2734
+ export interface QueryArrayType {
2735
+ subType: QueryDataType;
2736
+ }
2737
+ /**
2738
+ * A union of all the types supported by Ontology Query parameters or outputs.
2739
+ *
2740
+ * Log Safety: UNSAFE
2741
+ */
2742
+ export type QueryDataType = ({
2743
+ type: "date";
2744
+ } & _Core.DateType) | ({
2745
+ type: "struct";
2746
+ } & QueryStructType) | ({
2747
+ type: "set";
2748
+ } & QuerySetType) | ({
2749
+ type: "string";
2750
+ } & _Core.StringType) | ({
2751
+ type: "entrySet";
2752
+ } & EntrySetType) | ({
2753
+ type: "double";
2754
+ } & _Core.DoubleType) | ({
2755
+ type: "integer";
2756
+ } & _Core.IntegerType) | ({
2757
+ type: "threeDimensionalAggregation";
2758
+ } & ThreeDimensionalAggregation) | ({
2759
+ type: "union";
2760
+ } & QueryUnionType) | ({
2761
+ type: "float";
2762
+ } & _Core.FloatType) | ({
2763
+ type: "long";
2764
+ } & _Core.LongType) | ({
2765
+ type: "boolean";
2766
+ } & _Core.BooleanType) | ({
2767
+ type: "unsupported";
2768
+ } & _Core.UnsupportedType) | ({
2769
+ type: "attachment";
2770
+ } & _Core.AttachmentType) | ({
2771
+ type: "null";
2772
+ } & _Core.NullType) | ({
2773
+ type: "array";
2774
+ } & QueryArrayType) | ({
2775
+ type: "objectSet";
2776
+ } & OntologyObjectSetType) | ({
2777
+ type: "twoDimensionalAggregation";
2778
+ } & TwoDimensionalAggregation) | ({
2779
+ type: "object";
2780
+ } & OntologyObjectType) | ({
2781
+ type: "timestamp";
2782
+ } & _Core.TimestampType);
2783
+ /**
2784
+ * Details about the output of a query.
2785
+ *
2786
+ * Log Safety: UNSAFE
2787
+ */
2788
+ export interface QueryOutputV2 {
2789
+ dataType: QueryDataType;
2790
+ required: boolean;
2791
+ }
2792
+ /**
2793
+ * Details about a parameter of a query.
2794
+ *
2795
+ * Log Safety: UNSAFE
2796
+ */
2797
+ export interface QueryParameterV2 {
2798
+ description?: string;
2799
+ dataType: QueryDataType;
2800
+ }
2801
+ /**
2802
+ * Log Safety: UNSAFE
2803
+ */
2804
+ export type QueryRuntimeErrorParameter = LooselyBrandedString<"QueryRuntimeErrorParameter">;
2805
+ /**
2806
+ * Log Safety: UNSAFE
2807
+ */
2808
+ export interface QuerySetType {
2809
+ subType: QueryDataType;
2810
+ }
2811
+ /**
2812
+ * Log Safety: UNSAFE
2813
+ */
2814
+ export interface QueryStructField {
2815
+ name: _Core.StructFieldName;
2816
+ fieldType: QueryDataType;
2817
+ }
2818
+ /**
2819
+ * Log Safety: UNSAFE
2820
+ */
2821
+ export interface QueryStructType {
2822
+ fields: Array<QueryStructField>;
2823
+ }
2824
+ /**
2825
+ * Log Safety: UNSAFE
2826
+ */
2827
+ export interface QueryThreeDimensionalAggregation {
2828
+ groups: Array<NestedQueryAggregation>;
2829
+ }
2830
+ /**
2831
+ * Log Safety: UNSAFE
2832
+ */
2833
+ export interface QueryTwoDimensionalAggregation {
2834
+ groups: Array<QueryAggregation>;
2835
+ }
2836
+ /**
2837
+ * Represents a query type in the Ontology.
2838
+ *
2839
+ * Log Safety: UNSAFE
2840
+ */
2841
+ export interface QueryType {
2842
+ apiName: QueryApiName;
2843
+ description?: string;
2844
+ displayName?: _Core.DisplayName;
2845
+ parameters: Record<ParameterId, Parameter>;
2846
+ output?: OntologyDataType;
2847
+ rid: FunctionRid;
2848
+ version: FunctionVersion;
2849
+ }
2850
+ /**
2851
+ * Represents a query type in the Ontology.
2852
+ *
2853
+ * Log Safety: UNSAFE
2854
+ */
2855
+ export interface QueryTypeV2 {
2856
+ apiName: QueryApiName;
2857
+ description?: string;
2858
+ displayName?: _Core.DisplayName;
2859
+ parameters: Record<ParameterId, QueryParameterV2>;
2860
+ output: QueryDataType;
2861
+ rid: FunctionRid;
2862
+ version: FunctionVersion;
2863
+ }
2864
+ /**
2865
+ * Log Safety: UNSAFE
2866
+ */
2867
+ export interface QueryUnionType {
2868
+ unionTypes: Array<QueryDataType>;
2869
+ }
2870
+ /**
2871
+ * The parameter value must be within the defined range.
2872
+ *
2873
+ * Log Safety: UNSAFE
2874
+ */
2875
+ export interface RangeConstraint {
2876
+ lt?: any;
2877
+ lte?: any;
2878
+ gt?: any;
2879
+ gte?: any;
2880
+ }
2881
+ /**
2882
+ * Log Safety: SAFE
2883
+ */
2884
+ export interface Reason {
2885
+ reason: ReasonType;
2886
+ }
2887
+ /**
2888
+ * Represents the reason a subscription was closed.
2889
+ *
2890
+ * Log Safety: SAFE
2891
+ */
2892
+ export type ReasonType = "USER_CLOSED" | "CHANNEL_CLOSED";
2893
+ /**
2894
+ * The updated data value associated with an object instance's external reference. The object instance
2895
+ is uniquely identified by an object type and a primary key. Note that the value of the property
2896
+ field returns a dereferenced value rather than the reference itself.
2897
+ *
2898
+ * Log Safety: UNSAFE
2899
+ */
2900
+ export interface ReferenceUpdate {
2901
+ objectType: ObjectTypeApiName;
2902
+ primaryKey: ObjectPrimaryKey;
2903
+ property: PropertyApiName;
2904
+ value: ReferenceValue;
2905
+ }
2906
+ /**
2907
+ * Resolved data values pointed to by a reference.
2908
+ *
2909
+ * Log Safety: UNSAFE
2910
+ */
2911
+ export type ReferenceValue = {
2912
+ type: "geotimeSeriesValue";
2913
+ } & GeotimeSeriesValue;
2914
+ /**
2915
+ * The list of updated Foundry Objects cannot be provided. The object set must be refreshed using Object Set Service.
2916
+ *
2917
+ * Log Safety: UNSAFE
2918
+ */
2919
+ export interface RefreshObjectSet {
2920
+ id: SubscriptionId;
2921
+ objectType: ObjectTypeApiName;
2922
+ }
2923
+ /**
2924
+ * A relative time, such as "3 days before" or "2 hours after" the current moment.
2925
+ *
2926
+ * Log Safety: UNSAFE
2927
+ */
2928
+ export interface RelativeTime {
2929
+ when: RelativeTimeRelation;
2930
+ value: number;
2931
+ unit: RelativeTimeSeriesTimeUnit;
2932
+ }
2933
+ /**
2934
+ * A relative time range for a time series query.
2935
+ *
2936
+ * Log Safety: UNSAFE
2937
+ */
2938
+ export interface RelativeTimeRange {
2939
+ startTime?: RelativeTime;
2940
+ endTime?: RelativeTime;
2941
+ }
2942
+ /**
2943
+ * Log Safety: SAFE
2944
+ */
2945
+ export type RelativeTimeRelation = "BEFORE" | "AFTER";
2946
+ /**
2947
+ * Log Safety: SAFE
2948
+ */
2949
+ export type RelativeTimeSeriesTimeUnit = "MILLISECONDS" | "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
2950
+ /**
2951
+ * Unique request id
2952
+ *
2953
+ * Log Safety: SAFE
2954
+ */
2955
+ export type RequestId = string;
2956
+ /**
2957
+ * Log Safety: SAFE
2958
+ */
2959
+ export type ReturnEditsMode = "ALL" | "NONE";
2960
+ /**
2961
+ * Log Safety: UNSAFE
2962
+ */
2963
+ export type SdkPackageName = LooselyBrandedString<"SdkPackageName">;
2964
+ /**
2965
+ * Log Safety: UNSAFE
2966
+ */
2967
+ export type SearchJsonQuery = ({
2968
+ type: "or";
2969
+ } & OrQuery) | ({
2970
+ type: "prefix";
2971
+ } & PrefixQuery) | ({
2972
+ type: "lt";
2973
+ } & LtQuery) | ({
2974
+ type: "allTerms";
2975
+ } & AllTermsQuery) | ({
2976
+ type: "eq";
2977
+ } & EqualsQuery) | ({
2978
+ type: "gt";
2979
+ } & GtQuery) | ({
2980
+ type: "contains";
2981
+ } & ContainsQuery) | ({
2982
+ type: "not";
2983
+ } & NotQuery) | ({
2984
+ type: "phrase";
2985
+ } & PhraseQuery) | ({
2986
+ type: "and";
2987
+ } & AndQuery) | ({
2988
+ type: "isNull";
2989
+ } & IsNullQuery) | ({
2990
+ type: "gte";
2991
+ } & GteQuery) | ({
2992
+ type: "anyTerm";
2993
+ } & AnyTermQuery) | ({
2994
+ type: "lte";
2995
+ } & LteQuery);
2996
+ /**
2997
+ * Log Safety: UNSAFE
2998
+ */
2999
+ export type SearchJsonQueryV2 = ({
3000
+ type: "or";
3001
+ } & OrQueryV2) | ({
3002
+ type: "in";
3003
+ } & InQuery) | ({
3004
+ type: "doesNotIntersectPolygon";
3005
+ } & DoesNotIntersectPolygonQuery) | ({
3006
+ type: "lt";
3007
+ } & LtQueryV2) | ({
3008
+ type: "doesNotIntersectBoundingBox";
3009
+ } & DoesNotIntersectBoundingBoxQuery) | ({
3010
+ type: "eq";
3011
+ } & EqualsQueryV2) | ({
3012
+ type: "containsAllTerms";
3013
+ } & ContainsAllTermsQuery) | ({
3014
+ type: "gt";
3015
+ } & GtQueryV2) | ({
3016
+ type: "withinDistanceOf";
3017
+ } & WithinDistanceOfQuery) | ({
3018
+ type: "withinBoundingBox";
3019
+ } & WithinBoundingBoxQuery) | ({
3020
+ type: "contains";
3021
+ } & ContainsQueryV2) | ({
3022
+ type: "not";
3023
+ } & NotQueryV2) | ({
3024
+ type: "intersectsBoundingBox";
3025
+ } & IntersectsBoundingBoxQuery) | ({
3026
+ type: "and";
3027
+ } & AndQueryV2) | ({
3028
+ type: "isNull";
3029
+ } & IsNullQueryV2) | ({
3030
+ type: "containsAllTermsInOrderPrefixLastTerm";
3031
+ } & ContainsAllTermsInOrderPrefixLastTerm) | ({
3032
+ type: "containsAnyTerm";
3033
+ } & ContainsAnyTermQuery) | ({
3034
+ type: "gte";
3035
+ } & GteQueryV2) | ({
3036
+ type: "containsAllTermsInOrder";
3037
+ } & ContainsAllTermsInOrderQuery) | ({
3038
+ type: "withinPolygon";
3039
+ } & WithinPolygonQuery) | ({
3040
+ type: "intersectsPolygon";
3041
+ } & IntersectsPolygonQuery) | ({
3042
+ type: "lte";
3043
+ } & LteQueryV2) | ({
3044
+ type: "startsWith";
3045
+ } & StartsWithQuery);
3046
+ /**
3047
+ * Log Safety: UNSAFE
3048
+ */
3049
+ export interface SearchObjectsForInterfaceRequest {
3050
+ where?: SearchJsonQueryV2;
3051
+ orderBy?: SearchOrderByV2;
3052
+ augmentedProperties: Record<ObjectTypeApiName, Array<PropertyApiName>>;
3053
+ augmentedSharedPropertyTypes: Record<InterfaceTypeApiName, Array<SharedPropertyTypeApiName>>;
3054
+ selectedSharedPropertyTypes: Array<SharedPropertyTypeApiName>;
3055
+ selectedObjectTypes: Array<ObjectTypeApiName>;
3056
+ otherInterfaceTypes: Array<InterfaceTypeApiName>;
3057
+ pageSize?: _Core.PageSize;
3058
+ pageToken?: _Core.PageToken;
3059
+ }
3060
+ /**
3061
+ * Log Safety: UNSAFE
3062
+ */
3063
+ export interface SearchObjectsRequest {
3064
+ query: SearchJsonQuery;
3065
+ orderBy?: SearchOrderBy;
3066
+ pageSize?: _Core.PageSize;
3067
+ pageToken?: _Core.PageToken;
3068
+ fields: Array<PropertyApiName>;
3069
+ }
3070
+ /**
3071
+ * Log Safety: UNSAFE
3072
+ */
3073
+ export interface SearchObjectsRequestV2 {
3074
+ where?: SearchJsonQueryV2;
3075
+ orderBy?: SearchOrderByV2;
3076
+ pageSize?: _Core.PageSize;
3077
+ pageToken?: _Core.PageToken;
3078
+ select: Array<PropertyApiName>;
3079
+ excludeRid?: boolean;
3080
+ }
3081
+ /**
3082
+ * Log Safety: UNSAFE
3083
+ */
3084
+ export interface SearchObjectsResponse {
3085
+ data: Array<OntologyObject>;
3086
+ nextPageToken?: _Core.PageToken;
3087
+ totalCount: _Core.TotalCount;
3088
+ }
3089
+ /**
3090
+ * Log Safety: UNSAFE
3091
+ */
3092
+ export interface SearchObjectsResponseV2 {
3093
+ data: Array<OntologyObjectV2>;
3094
+ nextPageToken?: _Core.PageToken;
3095
+ totalCount: _Core.TotalCount;
3096
+ }
3097
+ /**
3098
+ * Specifies the ordering of search results by a field and an ordering direction.
3099
+ *
3100
+ * Log Safety: UNSAFE
3101
+ */
3102
+ export interface SearchOrderBy {
3103
+ fields: Array<SearchOrdering>;
3104
+ }
3105
+ /**
3106
+ * Log Safety: SAFE
3107
+ */
3108
+ export type SearchOrderByType = "fields" | "relevance";
3109
+ /**
3110
+ * Specifies the ordering of search results by a field and an ordering direction or by relevance if scores are required in a nearestNeighbors query. By default orderType is set to fields.
3111
+ *
3112
+ * Log Safety: UNSAFE
3113
+ */
3114
+ export interface SearchOrderByV2 {
3115
+ orderType?: SearchOrderByType;
3116
+ fields: Array<SearchOrderingV2>;
3117
+ }
3118
+ /**
3119
+ * Log Safety: UNSAFE
3120
+ */
3121
+ export interface SearchOrdering {
3122
+ field: FieldNameV1;
3123
+ direction?: string;
3124
+ }
3125
+ /**
3126
+ * Log Safety: UNSAFE
3127
+ */
3128
+ export interface SearchOrderingV2 {
3129
+ field: PropertyApiName;
3130
+ direction?: string;
3131
+ }
3132
+ /**
3133
+ * By default, anytime an object is requested, every property belonging to that object is returned.
3134
+ The response can be filtered to only include certain properties using the properties query parameter.
3135
+ Properties to include can be specified in one of two ways.
3136
+
3137
+ A comma delimited list as the value for the properties query parameter
3138
+ properties={property1ApiName},{property2ApiName}
3139
+ Multiple properties query parameters.
3140
+ properties={property1ApiName}&properties={property2ApiName}
3141
+
3142
+ The primary key of the object will always be returned even if it wasn't specified in the properties values.
3143
+ Unknown properties specified in the properties list will result in a PropertiesNotFound error.
3144
+ To find the API name for your property, use the Get object type endpoint or check the Ontology Manager.
3145
+ *
3146
+ * Log Safety: UNSAFE
3147
+ */
3148
+ export type SelectedPropertyApiName = LooselyBrandedString<"SelectedPropertyApiName">;
3149
+ /**
3150
+ * Computes an approximate number of distinct values for the provided field.
3151
+ *
3152
+ * Log Safety: UNSAFE
3153
+ */
3154
+ export interface SelectedPropertyApproximateDistinctAggregation {
3155
+ selectedPropertyApiName: PropertyApiName;
3156
+ }
3157
+ /**
3158
+ * Computes the approximate percentile value for the provided field.
3159
+ *
3160
+ * Log Safety: UNSAFE
3161
+ */
3162
+ export interface SelectedPropertyApproximatePercentileAggregation {
3163
+ selectedPropertyApiName: PropertyApiName;
3164
+ approximatePercentile: number;
3165
+ }
3166
+ /**
3167
+ * Computes the average value for the provided field.
3168
+ *
3169
+ * Log Safety: UNSAFE
3170
+ */
3171
+ export interface SelectedPropertyAvgAggregation {
3172
+ selectedPropertyApiName: PropertyApiName;
3173
+ }
3174
+ /**
3175
+ * Lists all values of a property up to the specified limit. The maximum supported limit is 100, by default.
3176
+ NOTE: A separate count aggregation should be used to determine the total count of values, to account for
3177
+ a possible truncation of the returned list.
3178
+ Ignores objects for which a property is absent, so the returned list will contain non-null values only.
3179
+ Returns an empty list when none of the objects have values for a provided property.
3180
+ *
3181
+ * Log Safety: UNSAFE
3182
+ */
3183
+ export interface SelectedPropertyCollectListAggregation {
3184
+ selectedPropertyApiName: PropertyApiName;
3185
+ limit: number;
3186
+ }
3187
+ /**
3188
+ * Lists all distinct values of a property up to the specified limit. The maximum supported limit is 100.
3189
+ NOTE: A separate cardinality / exactCardinality aggregation should be used to determine the total count of
3190
+ values, to account for a possible truncation of the returned set.
3191
+ Ignores objects for which a property is absent, so the returned list will contain non-null values only.
3192
+ Returns an empty list when none of the objects have values for a provided property.
3193
+ *
3194
+ * Log Safety: UNSAFE
3195
+ */
3196
+ export interface SelectedPropertyCollectSetAggregation {
3197
+ selectedPropertyApiName: PropertyApiName;
3198
+ limit: number;
3199
+ }
3200
+ /**
3201
+ * Computes the total count of objects.
3202
+ *
3203
+ * Log Safety: SAFE
3204
+ */
3205
+ export interface SelectedPropertyCountAggregation {
3206
+ }
3207
+ /**
3208
+ * Definition for a selected property over a MethodObjectSet.
3209
+ *
3210
+ * Log Safety: UNSAFE
3211
+ */
3212
+ export interface SelectedPropertyDefinition {
3213
+ objectSet: MethodObjectSet;
3214
+ operation: SelectedPropertyOperation;
3215
+ }
3216
+ /**
3217
+ * Computes an exact number of distinct values for the provided field. May be slower than an approximate distinct aggregation.
3218
+ *
3219
+ * Log Safety: UNSAFE
3220
+ */
3221
+ export interface SelectedPropertyExactDistinctAggregation {
3222
+ selectedPropertyApiName: PropertyApiName;
3223
+ }
3224
+ /**
3225
+ * Computes the maximum value for the provided field.
3226
+ *
3227
+ * Log Safety: UNSAFE
3228
+ */
3229
+ export interface SelectedPropertyMaxAggregation {
3230
+ selectedPropertyApiName: PropertyApiName;
3231
+ }
3232
+ /**
3233
+ * Computes the minimum value for the provided field.
3234
+ *
3235
+ * Log Safety: UNSAFE
3236
+ */
3237
+ export interface SelectedPropertyMinAggregation {
3238
+ selectedPropertyApiName: PropertyApiName;
3239
+ }
3240
+ /**
3241
+ * Operation on a selected property, can be an aggregation function or retrieval of a single selected property
3242
+ *
3243
+ * Log Safety: UNSAFE
3244
+ */
3245
+ export type SelectedPropertyOperation = ({
3246
+ type: "approximateDistinct";
3247
+ } & SelectedPropertyApproximateDistinctAggregation) | ({
3248
+ type: "min";
3249
+ } & SelectedPropertyMinAggregation) | ({
3250
+ type: "avg";
3251
+ } & SelectedPropertyAvgAggregation) | ({
3252
+ type: "max";
3253
+ } & SelectedPropertyMaxAggregation) | ({
3254
+ type: "approximatePercentile";
3255
+ } & SelectedPropertyApproximatePercentileAggregation) | ({
3256
+ type: "get";
3257
+ } & GetSelectedPropertyOperation) | ({
3258
+ type: "count";
3259
+ } & SelectedPropertyCountAggregation) | ({
3260
+ type: "sum";
3261
+ } & SelectedPropertySumAggregation) | ({
3262
+ type: "collectList";
3263
+ } & SelectedPropertyCollectListAggregation) | ({
3264
+ type: "exactDistinct";
3265
+ } & SelectedPropertyExactDistinctAggregation) | ({
3266
+ type: "collectSet";
3267
+ } & SelectedPropertyCollectSetAggregation);
3268
+ /**
3269
+ * Computes the sum of values for the provided field.
3270
+ *
3271
+ * Log Safety: UNSAFE
3272
+ */
3273
+ export interface SelectedPropertySumAggregation {
3274
+ selectedPropertyApiName: PropertyApiName;
3275
+ }
3276
+ /**
3277
+ * The unique codex id of a time series.
3278
+ *
3279
+ * Log Safety: UNSAFE
3280
+ */
3281
+ export type SeriesId = LooselyBrandedString<"SeriesId">;
3282
+ /**
3283
+ * A property type that can be shared across object types.
3284
+ *
3285
+ * Log Safety: UNSAFE
3286
+ */
3287
+ export interface SharedPropertyType {
3288
+ rid: SharedPropertyTypeRid;
3289
+ apiName: SharedPropertyTypeApiName;
3290
+ displayName: _Core.DisplayName;
3291
+ description?: string;
3292
+ dataType: ObjectPropertyType;
3293
+ }
3294
+ /**
3295
+ * The name of the shared property type in the API in lowerCamelCase format. To find the API name for your
3296
+ shared property type, use the List shared property types endpoint or check the Ontology Manager.
3297
+ *
3298
+ * Log Safety: UNSAFE
3299
+ */
3300
+ export type SharedPropertyTypeApiName = LooselyBrandedString<"SharedPropertyTypeApiName">;
3301
+ /**
3302
+ * The unique resource identifier of an shared property type, useful for interacting with other Foundry APIs.
3303
+ *
3304
+ * Log Safety: SAFE
3305
+ */
3306
+ export type SharedPropertyTypeRid = LooselyBrandedString<"SharedPropertyTypeRid">;
3307
+ /**
3308
+ * Returns objects where the specified field starts with the provided value. Allows you to specify a property to
3309
+ query on by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
3310
+ *
3311
+ * Log Safety: UNSAFE
3312
+ */
3313
+ export interface StartsWithQuery {
3314
+ field?: PropertyApiName;
3315
+ propertyIdentifier?: PropertyIdentifier;
3316
+ value: string;
3317
+ }
3318
+ /**
3319
+ * Which format to serialize the binary stream in.
3320
+ ARROW is more efficient for streaming a large sized response.
3321
+ *
3322
+ * Log Safety: SAFE
3323
+ */
3324
+ export type StreamingOutputFormat = "JSON" | "ARROW";
3325
+ /**
3326
+ * Log Safety: UNSAFE
3327
+ */
3328
+ export type StreamMessage = ({
3329
+ type: "objectSetChanged";
3330
+ } & ObjectSetUpdates) | ({
3331
+ type: "refreshObjectSet";
3332
+ } & RefreshObjectSet) | ({
3333
+ type: "subscriptionClosed";
3334
+ } & SubscriptionClosed) | ({
3335
+ type: "subscribeResponses";
3336
+ } & ObjectSetSubscribeResponses);
3337
+ /**
3338
+ * Log Safety: UNSAFE
3339
+ */
3340
+ export interface StreamTimeSeriesPointsRequest {
3341
+ range?: TimeRange;
3342
+ }
3343
+ /**
3344
+ * Log Safety: UNSAFE
3345
+ */
3346
+ export interface StreamTimeSeriesPointsResponse {
3347
+ data: Array<TimeSeriesPoint>;
3348
+ }
3349
+ /**
3350
+ * Log Safety: UNSAFE
3351
+ */
3352
+ export interface StreamTimeSeriesValuesRequest {
3353
+ range?: TimeRange;
3354
+ }
3355
+ /**
3356
+ * Log Safety: UNSAFE
3357
+ */
3358
+ export interface StreamTimeSeriesValuesResponse {
3359
+ data: Array<TimeseriesEntry>;
3360
+ }
3361
+ /**
3362
+ * The parameter value must have a length within the defined range.
3363
+ This range is always inclusive.
3364
+ *
3365
+ * Log Safety: UNSAFE
3366
+ */
3367
+ export interface StringLengthConstraint {
3368
+ lt?: any;
3369
+ lte?: any;
3370
+ gt?: any;
3371
+ gte?: any;
3372
+ }
3373
+ /**
3374
+ * The parameter value must match a predefined regular expression.
3375
+ *
3376
+ * Log Safety: UNSAFE
3377
+ */
3378
+ export interface StringRegexMatchConstraint {
3379
+ regex: string;
3380
+ configuredFailureMessage?: string;
3381
+ }
3382
+ /**
3383
+ * The name of a struct field in the Ontology.
3384
+ *
3385
+ * Log Safety: UNSAFE
3386
+ */
3387
+ export type StructFieldApiName = LooselyBrandedString<"StructFieldApiName">;
3388
+ /**
3389
+ * A combination of a struct property api name and a struct field api name. This is used to select struct fields
3390
+ to query on. Note that you can still select struct properties with only a 'PropertyApiNameSelector'; the queries
3391
+ will then become 'OR' queries across the fields of the struct property.
3392
+ *
3393
+ * Log Safety: UNSAFE
3394
+ */
3395
+ export interface StructFieldSelector {
3396
+ propertyApiName: PropertyApiName;
3397
+ structFieldApiName: StructFieldApiName;
3398
+ }
3399
+ /**
3400
+ * Log Safety: UNSAFE
3401
+ */
3402
+ export interface StructFieldType {
3403
+ apiName: StructFieldApiName;
3404
+ dataType: ObjectPropertyType;
3405
+ }
3406
+ /**
3407
+ * Log Safety: UNSAFE
3408
+ */
3409
+ export interface StructType {
3410
+ structFieldTypes: Array<StructFieldType>;
3411
+ }
3412
+ /**
3413
+ * Contains the status of the submission criteria.
3414
+ Submission criteria are the prerequisites that need to be satisfied before an Action can be applied.
3415
+ These are configured in the Ontology Manager.
3416
+ *
3417
+ * Log Safety: UNSAFE
3418
+ */
3419
+ export interface SubmissionCriteriaEvaluation {
3420
+ configuredFailureMessage?: string;
3421
+ result: ValidationResult;
3422
+ }
3423
+ /**
3424
+ * The subscription has been closed due to an irrecoverable error during its lifecycle.
3425
+ *
3426
+ * Log Safety: UNSAFE
3427
+ */
3428
+ export interface SubscriptionClosed {
3429
+ id: SubscriptionId;
3430
+ cause: SubscriptionClosureCause;
3431
+ }
3432
+ /**
3433
+ * Log Safety: UNSAFE
3434
+ */
3435
+ export type SubscriptionClosureCause = ({
3436
+ type: "reason";
3437
+ } & Reason) | ({
3438
+ type: "error";
3439
+ } & Error);
3440
+ /**
3441
+ * Log Safety: UNSAFE
3442
+ */
3443
+ export interface SubscriptionError {
3444
+ errors: Array<Error>;
3445
+ }
3446
+ /**
3447
+ * A unique identifier used to associate subscription requests with responses.
3448
+ *
3449
+ * Log Safety: SAFE
3450
+ */
3451
+ export type SubscriptionId = string;
3452
+ /**
3453
+ * Log Safety: SAFE
3454
+ */
3455
+ export interface SubscriptionSuccess {
3456
+ id: SubscriptionId;
3457
+ }
3458
+ /**
3459
+ * Computes the sum of values for the provided field.
3460
+ *
3461
+ * Log Safety: UNSAFE
3462
+ */
3463
+ export interface SumAggregation {
3464
+ field: FieldNameV1;
3465
+ name?: AggregationMetricName;
3466
+ }
3467
+ /**
3468
+ * Computes the sum of values for the provided field.
3469
+ *
3470
+ * Log Safety: UNSAFE
3471
+ */
3472
+ export interface SumAggregationV2 {
3473
+ field: PropertyApiName;
3474
+ name?: AggregationMetricName;
3475
+ direction?: OrderByDirection;
3476
+ }
3477
+ /**
3478
+ * Log Safety: UNSAFE
3479
+ */
3480
+ export interface SyncApplyActionResponseV2 {
3481
+ validation?: ValidateActionResponseV2;
3482
+ edits?: ActionResults;
3483
+ }
3484
+ /**
3485
+ * Log Safety: UNSAFE
3486
+ */
3487
+ export interface ThreeDimensionalAggregation {
3488
+ keyType: QueryAggregationKeyType;
3489
+ valueType: TwoDimensionalAggregation;
3490
+ }
3491
+ /**
3492
+ * An absolute or relative range for a time series query.
3493
+ *
3494
+ * Log Safety: UNSAFE
3495
+ */
3496
+ export type TimeRange = ({
3497
+ type: "absolute";
3498
+ } & AbsoluteTimeRange) | ({
3499
+ type: "relative";
3500
+ } & RelativeTimeRange);
3501
+ /**
3502
+ * A time and value pair.
3503
+ *
3504
+ * Log Safety: UNSAFE
3505
+ */
3506
+ export interface TimeseriesEntry {
3507
+ time: string;
3508
+ value: any;
3509
+ }
3510
+ /**
3511
+ * A time and value pair.
3512
+ *
3513
+ * Log Safety: UNSAFE
3514
+ */
3515
+ export interface TimeSeriesPoint {
3516
+ time: string;
3517
+ value: any;
3518
+ }
3519
+ /**
3520
+ * Log Safety: UNSAFE
3521
+ */
3522
+ export type TimeSeriesPropertyV2 = LooselyBrandedString<"TimeSeriesPropertyV2">;
3523
+ /**
3524
+ * The RID identifying a time series sync.
3525
+ *
3526
+ * Log Safety: SAFE
3527
+ */
3528
+ export type TimeseriesSyncRid = LooselyBrandedString<"TimeseriesSyncRid">;
3529
+ /**
3530
+ * The RID identifying a time series codex template that resolves to a derived series.
3531
+ *
3532
+ * Log Safety: SAFE
3533
+ */
3534
+ export type TimeseriesTemplateRid = LooselyBrandedString<"TimeseriesTemplateRid">;
3535
+ /**
3536
+ * The version corresponding to a codex template.
3537
+ *
3538
+ * Log Safety: UNSAFE
3539
+ */
3540
+ export type TimeseriesTemplateVersion = LooselyBrandedString<"TimeseriesTemplateVersion">;
3541
+ /**
3542
+ * Log Safety: UNSAFE
3543
+ */
3544
+ export type TimeSeriesValueBankProperty = LooselyBrandedString<"TimeSeriesValueBankProperty">;
3545
+ /**
3546
+ * Log Safety: SAFE
3547
+ */
3548
+ export type TimeUnit = "MILLISECONDS" | "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | "QUARTERS";
3549
+ /**
3550
+ * Log Safety: UNSAFE
3551
+ */
3552
+ export interface TwoDimensionalAggregation {
3553
+ keyType: QueryAggregationKeyType;
3554
+ valueType: QueryAggregationValueType;
3555
+ }
3556
+ /**
3557
+ * The parameter cannot be evaluated because it depends on another parameter or object set that can't be evaluated.
3558
+ This can happen when a parameter's allowed values are defined by another parameter that is missing or invalid.
3559
+ *
3560
+ * Log Safety: SAFE
3561
+ */
3562
+ export interface UnevaluableConstraint {
3563
+ }
3564
+ /**
3565
+ * Log Safety: UNSAFE
3566
+ */
3567
+ export interface ValidateActionRequest {
3568
+ parameters: Record<ParameterId, DataValue | undefined>;
3569
+ }
3570
+ /**
3571
+ * Log Safety: UNSAFE
3572
+ */
3573
+ export interface ValidateActionResponse {
3574
+ result: ValidationResult;
3575
+ submissionCriteria: Array<SubmissionCriteriaEvaluation>;
3576
+ parameters: Record<ParameterId, ParameterEvaluationResult>;
3577
+ }
3578
+ /**
3579
+ * Log Safety: UNSAFE
3580
+ */
3581
+ export interface ValidateActionResponseV2 {
3582
+ result: ValidationResult;
3583
+ submissionCriteria: Array<SubmissionCriteriaEvaluation>;
3584
+ parameters: Record<ParameterId, ParameterEvaluationResult>;
3585
+ }
3586
+ /**
3587
+ * Represents the state of a validation.
3588
+ *
3589
+ * Log Safety: SAFE
3590
+ */
3591
+ export type ValidationResult = "VALID" | "INVALID";
3592
+ /**
3593
+ * A string indicating the type of each data value. Note that these types can be nested, for example an array of
3594
+ structs.
3595
+ | Type | JSON value |
3596
+ |---------------------|-------------------------------------------------------------------------------------------------------------------|
3597
+ | Array | Array<T>, where T is the type of the array elements, e.g. Array<String>. |
3598
+ | Attachment | Attachment |
3599
+ | Boolean | Boolean |
3600
+ | Byte | Byte |
3601
+ | CipherText | CipherText |
3602
+ | Date | LocalDate |
3603
+ | Decimal | Decimal |
3604
+ | Double | Double |
3605
+ | Float | Float |
3606
+ | Integer | Integer |
3607
+ | Long | Long |
3608
+ | Marking | Marking |
3609
+ | OntologyObject | OntologyObject<T> where T is the API name of the referenced object type. |
3610
+ | Short | Short |
3611
+ | String | String |
3612
+ | Struct | Struct<T> where T contains field name and type pairs, e.g. Struct<{ firstName: String, lastName: string }> |
3613
+ | Timeseries | TimeSeries<T> where T is either String for an enum series or Double for a numeric series. |
3614
+ | Timestamp | Timestamp |
3615
+ *
3616
+ * Log Safety: SAFE
3617
+ */
3618
+ export type ValueType = LooselyBrandedString<"ValueType">;
3619
+ /**
3620
+ * Log Safety: UNSAFE
3621
+ */
3622
+ export type WithinBoundingBoxPoint = {
3623
+ type: "Point";
3624
+ } & _Geo.GeoPoint;
3625
+ /**
3626
+ * Returns objects where the specified field contains a point within the bounding box provided. Allows you to
3627
+ specify a property to query on by a variety of means. Either field or propertyIdentifier must be supplied,
3628
+ but not both.
3629
+ *
3630
+ * Log Safety: UNSAFE
3631
+ */
3632
+ export interface WithinBoundingBoxQuery {
3633
+ field?: PropertyApiName;
3634
+ propertyIdentifier?: PropertyIdentifier;
3635
+ value: BoundingBoxValue;
3636
+ }
3637
+ /**
3638
+ * Returns objects where the specified field contains a point within the distance provided of the center point.
3639
+ Allows you to specify a property to query on by a variety of means. Either field or propertyIdentifier
3640
+ must be supplied, but not both.
3641
+ *
3642
+ * Log Safety: UNSAFE
3643
+ */
3644
+ export interface WithinDistanceOfQuery {
3645
+ field?: PropertyApiName;
3646
+ propertyIdentifier?: PropertyIdentifier;
3647
+ value: CenterPoint;
3648
+ }
3649
+ /**
3650
+ * Returns objects where the specified field contains a point within the polygon provided. Allows you to specify a
3651
+ property to query on by a variety of means. Either field or propertyIdentifier must be supplied, but not
3652
+ both.
3653
+ *
3654
+ * Log Safety: UNSAFE
3655
+ */
3656
+ export interface WithinPolygonQuery {
3657
+ field?: PropertyApiName;
3658
+ propertyIdentifier?: PropertyIdentifier;
3659
+ value: PolygonValue;
3660
+ }
4
3661
  //# sourceMappingURL=_components.d.ts.map