@kittycad/lib 4.1.3 → 4.1.4

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.
@@ -1258,6 +1258,8 @@ export interface BodyUpdated {
1258
1258
  surfaces: SurfaceCreated[];
1259
1259
  }
1260
1260
  export interface BooleanImprint {
1261
+ /** If the operation involved any intersecting solids. */
1262
+ any_intersections?: boolean;
1261
1263
  /**
1262
1264
  * {
1263
1265
  * "format": "uuid"
@@ -1266,6 +1268,8 @@ export interface BooleanImprint {
1266
1268
  extra_solid_ids?: string[];
1267
1269
  }
1268
1270
  export interface BooleanIntersection {
1271
+ /** If the operation involved any intersecting solids. */
1272
+ any_intersections?: boolean;
1269
1273
  /**
1270
1274
  * {
1271
1275
  * "format": "uuid"
@@ -1274,6 +1278,8 @@ export interface BooleanIntersection {
1274
1278
  extra_solid_ids?: string[];
1275
1279
  }
1276
1280
  export interface BooleanSubtract {
1281
+ /** If the operation involved any intersecting solids. */
1282
+ any_intersections?: boolean;
1277
1283
  /**
1278
1284
  * {
1279
1285
  * "format": "uuid"
@@ -1282,6 +1288,8 @@ export interface BooleanSubtract {
1282
1288
  extra_solid_ids?: string[];
1283
1289
  }
1284
1290
  export interface BooleanUnion {
1291
+ /** If the operation involved any intersecting solids. */
1292
+ any_intersections?: boolean;
1285
1293
  /**
1286
1294
  * {
1287
1295
  * "format": "uuid"
@@ -2070,6 +2078,29 @@ export interface EdgeInfo {
2070
2078
  }
2071
2079
  export interface EdgeLinesVisible {
2072
2080
  }
2081
+ export interface EdgeSpecifier {
2082
+ /**
2083
+ * {
2084
+ * "format": "uuid"
2085
+ * }
2086
+ */
2087
+ end_faces?: string[];
2088
+ /**
2089
+ * {
2090
+ * "nullable": true,
2091
+ * "format": "uint32",
2092
+ * "minimum": 0,
2093
+ * "description": "Optional index for disambiguation when multiple edges share the same faces. If not provided (None), all matching edges will be used. If provided (Some(n)), only the edge at index n will be used."
2094
+ * }
2095
+ */
2096
+ index?: number;
2097
+ /**
2098
+ * {
2099
+ * "format": "uuid"
2100
+ * }
2101
+ */
2102
+ side_faces: string[];
2103
+ }
2073
2104
  export interface EmailAuthenticationForm {
2074
2105
  /**
2075
2106
  * {
@@ -2204,15 +2235,143 @@ export interface EntityMirror {
2204
2235
  /** The Face, edge, and entity ids of the patterned entities. */
2205
2236
  entity_face_edge_ids?: FaceEdgeInfo[];
2206
2237
  }
2238
+ export interface EntityMirrorAcross {
2239
+ /** The Face, edge, and entity ids of the patterned entities. */
2240
+ entity_face_edge_ids?: FaceEdgeInfo[];
2241
+ }
2207
2242
  export interface EntityMirrorAcrossEdge {
2208
2243
  /** The Face, edge, and entity ids of the patterned entities. */
2209
2244
  entity_face_edge_ids?: FaceEdgeInfo[];
2210
2245
  }
2246
+ export type EntityReference = {
2247
+ /** format:uuid, description:Id of the plane being referenced. */
2248
+ plane_id: string;
2249
+ /**
2250
+ * {
2251
+ * "nullable": true,
2252
+ * "description": "Optional primitive topology on a parent (not used for planes today)."
2253
+ * }
2254
+ */
2255
+ topology_fallback?: PrimitiveTopologyFallback;
2256
+ type: 'plane';
2257
+ } | {
2258
+ /** format:uuid, description:Id of the face being referenced. */
2259
+ face_id: string;
2260
+ /**
2261
+ * {
2262
+ * "nullable": true,
2263
+ * "description": "Fallback: solid3d UUID + face index on that body when `face_id` cannot be resolved client-side."
2264
+ * }
2265
+ */
2266
+ topology_fallback?: PrimitiveTopologyFallback;
2267
+ type: 'face';
2268
+ } | {
2269
+ /**
2270
+ * {
2271
+ * "format": "uuid"
2272
+ * }
2273
+ */
2274
+ end_faces?: string[];
2275
+ /**
2276
+ * {
2277
+ * "nullable": true,
2278
+ * "format": "uint32",
2279
+ * "minimum": 0,
2280
+ * "description": "Optional index for disambiguation when multiple edges share the same faces. If not provided (None), all matching edges will be used. If provided (Some(n)), only the edge at index n will be used."
2281
+ * }
2282
+ */
2283
+ index?: number;
2284
+ /**
2285
+ * {
2286
+ * "format": "uuid"
2287
+ * }
2288
+ */
2289
+ side_faces: string[];
2290
+ /**
2291
+ * {
2292
+ * "nullable": true,
2293
+ * "description": "Fallback: solid3d UUID + edge index on that body for 3D BREP edges (distinct from `inner.index`)."
2294
+ * }
2295
+ */
2296
+ topology_fallback?: PrimitiveTopologyFallback;
2297
+ type: 'edge';
2298
+ } | {
2299
+ /**
2300
+ * {
2301
+ * "nullable": true,
2302
+ * "format": "uint32",
2303
+ * "minimum": 0,
2304
+ * "description": "Optional index among the filtered candidates."
2305
+ * }
2306
+ */
2307
+ index?: number;
2308
+ /**
2309
+ * {
2310
+ * "format": "uuid"
2311
+ * }
2312
+ */
2313
+ side_faces: string[];
2314
+ /**
2315
+ * {
2316
+ * "nullable": true,
2317
+ * "description": "Fallback: solid3d UUID + vertex index on that body."
2318
+ * }
2319
+ */
2320
+ topology_fallback?: PrimitiveTopologyFallback;
2321
+ type: 'vertex';
2322
+ } | {
2323
+ /** format:uuid, description:Id of the solid2d being referenced. */
2324
+ solid2d_id: string;
2325
+ /**
2326
+ * {
2327
+ * "nullable": true,
2328
+ * "description": "Typically omitted: `solid2d_id` is already the owning profile. Present for schema parity with other variants."
2329
+ * }
2330
+ */
2331
+ topology_fallback?: PrimitiveTopologyFallback;
2332
+ type: 'solid2d';
2333
+ } | {
2334
+ /** format:uuid, description:Id of the solid3d being referenced. */
2335
+ solid3d_id: string;
2336
+ /**
2337
+ * {
2338
+ * "nullable": true,
2339
+ * "description": "Typically omitted: `solid3d_id` is already the owning body. Present for schema parity with other variants."
2340
+ * }
2341
+ */
2342
+ topology_fallback?: PrimitiveTopologyFallback;
2343
+ type: 'solid3d';
2344
+ } | {
2345
+ /** format:uuid, description:Id of the edge being referenced. */
2346
+ edge_id: string;
2347
+ /**
2348
+ * {
2349
+ * "nullable": true,
2350
+ * "description": "Fallback: solid2d UUID + curve index in that profile."
2351
+ * }
2352
+ */
2353
+ topology_fallback?: PrimitiveTopologyFallback;
2354
+ type: 'solid2d_edge';
2355
+ } | {
2356
+ /** format:uuid, description:Id of the path containing the segment. */
2357
+ path_id: string;
2358
+ /** format:uuid, description:Id of the segment (curve) being referenced. */
2359
+ segment_id: string;
2360
+ /** nullable:true, description:Fallback: path UUID + segment curve index. */
2361
+ topology_fallback?: PrimitiveTopologyFallback;
2362
+ type: 'segment';
2363
+ } | {
2364
+ /** format:uuid, description:Id of the region being referenced. */
2365
+ region_id: string;
2366
+ /** nullable:true, description:Fallback: path UUID + region index on that path. */
2367
+ topology_fallback?: PrimitiveTopologyFallback;
2368
+ type: 'region';
2369
+ };
2211
2370
  export interface EntitySetOpacity {
2212
2371
  }
2213
2372
  export type EntityType =
2214
2373
  /** The type of entity */
2215
- 'entity' | 'object' | 'path' | 'curve' | 'solid2d' | 'solid3d' | 'edge' | 'face' | 'plane' | 'vertex';
2374
+ 'entity' | 'object' | 'path' | 'segment' | 'curve' | 'solid2d' | 'solid3d' | 'edge' | 'face' | 'plane' | 'vertex' | 'region';
2216
2375
  export interface Error {
2217
2376
  error_code?: string;
2218
2377
  message: string;
@@ -2319,8 +2478,21 @@ export interface Extrude {
2319
2478
  export type ExtrudeMethod = 'new' | 'merge';
2320
2479
  export type ExtrudeReference = {
2321
2480
  entity_reference: {
2322
- /** format:uuid, description:The UUID of the entity to extrude to. */
2323
- entity_id: string;
2481
+ /**
2482
+ * {
2483
+ * "nullable": true,
2484
+ * "format": "uuid",
2485
+ * "description": "Legacy UUID of the entity to extrude to. If both `entity_id` and `entity_reference` are provided, `entity_reference` takes precedence."
2486
+ * }
2487
+ */
2488
+ entity_id?: string;
2489
+ /**
2490
+ * {
2491
+ * "nullable": true,
2492
+ * "description": "Entity reference (e.g. edge by side_faces). If both `entity_id` and `entity_reference` are provided, `entity_reference` takes precedence."
2493
+ * }
2494
+ */
2495
+ entity_reference?: EntityReference;
2324
2496
  };
2325
2497
  } | {
2326
2498
  axis: {
@@ -2691,8 +2863,21 @@ export interface FileVolume {
2691
2863
  volume?: number;
2692
2864
  }
2693
2865
  export interface FractionOfEdge {
2694
- /** format:uuid, description:The id of the edge */
2695
- edge_id: string;
2866
+ /**
2867
+ * {
2868
+ * "nullable": true,
2869
+ * "format": "uuid",
2870
+ * "description": "The id of the edge (legacy). If both `edge_id` and `edge_specifier` are provided, `edge_specifier` takes precedence."
2871
+ * }
2872
+ */
2873
+ edge_id?: string;
2874
+ /**
2875
+ * {
2876
+ * "nullable": true,
2877
+ * "description": "Edge specifier (side_faces, end_faces, index) identifying the edge. If both `edge_id` and `edge_specifier` are provided, `edge_specifier` takes precedence."
2878
+ * }
2879
+ */
2880
+ edge_specifier?: EdgeSpecifier;
2696
2881
  /**
2697
2882
  * {
2698
2883
  * "default": 0,
@@ -3273,6 +3458,24 @@ export type MbdSymbol =
3273
3458
  /** MBD symbol type */
3274
3459
  'none' | 'arclength' | 'between' | 'degrees' | 'plusminus' | 'angularity' | 'cylindricity' | 'roundness' | 'concentricity' | 'straightness' | 'parallelism' | 'flatness' | 'profileofline' | 'surfaceprofile' | 'symmetry' | 'perpendicularity' | 'runout' | 'totalrunout' | 'position' | 'centerline' | 'partingline' | 'isoenvelope' | 'isoenvelopenony145m' | 'freestate' | 'statisticaltolerance' | 'continuousfeature' | 'independency' | 'depth' | 'start' | 'leastcondition' | 'maxcondition' | 'conicaltaper' | 'projected' | 'slope' | 'micro' | 'tangentplane' | 'unilateral' | 'squarefeature' | 'countersink' | 'spotface' | 'target' | 'diameter' | 'radius' | 'sphericalradius' | 'sphericaldiameter' | 'controlledradius' | 'boxstart' | 'boxbar' | 'boxbarbetween' | 'letterbackwardunderline' | 'punctuationbackwardunderline' | 'modifierbackwardunderline' | 'numericbackwardunderline' | 'boxend' | 'datumup' | 'datumleft' | 'datumright' | 'datumdown' | 'datumtriangle' | 'halfspace' | 'quarterspace' | 'eighthspace' | 'modifierspace';
3275
3460
  export type Method = 'OPTIONS' | 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'TRACE' | 'CONNECT' | 'PATCH' | 'EXTENSION';
3461
+ export type MirrorAcross = {
3462
+ edge: {
3463
+ /** format:uuid, description:Edge ID. */
3464
+ id: string;
3465
+ };
3466
+ } | {
3467
+ axis: {
3468
+ /** Axis to use as mirror. */
3469
+ axis: Point3d;
3470
+ /** Point through which the mirror axis passes. */
3471
+ point: Point3d;
3472
+ };
3473
+ } | {
3474
+ plane: {
3475
+ /** format:uuid, description:Plane ID. */
3476
+ id: string;
3477
+ };
3478
+ };
3276
3479
  export type MlCopilotClientMessage = {
3277
3480
  type: 'ping';
3278
3481
  } | {
@@ -3815,11 +4018,19 @@ export type ModelingCmd = {
3815
4018
  body_type?: BodyType;
3816
4019
  /**
3817
4020
  * {
4021
+ * "nullable": true,
3818
4022
  * "format": "uuid",
3819
4023
  * "description": "The edge to use as the axis of revolution, must be linear and lie in the plane of the solid"
3820
4024
  * }
3821
4025
  */
3822
- edge_id: string;
4026
+ edge_id?: string;
4027
+ /**
4028
+ * {
4029
+ * "nullable": true,
4030
+ * "description": "Edge reference to use as the axis of revolution (new API). If both `edge_id` and `edge_reference` are provided, `edge_reference` takes precedence."
4031
+ * }
4032
+ */
4033
+ edge_reference?: EdgeSpecifier;
3823
4034
  /**
3824
4035
  * {
3825
4036
  * "default": "None",
@@ -4119,8 +4330,21 @@ export type ModelingCmd = {
4119
4330
  start_angle?: Angle;
4120
4331
  type: 'entity_make_helix_from_params';
4121
4332
  } | {
4122
- /** format:uuid, description:Edge about which to make the helix. */
4123
- edge_id: string;
4333
+ /**
4334
+ * {
4335
+ * "nullable": true,
4336
+ * "format": "uuid",
4337
+ * "description": "Edge ID about which to make the helix (legacy API, for backwards compatibility). If both `edge_id` and `edge_reference` are provided, `edge_reference` takes precedence."
4338
+ * }
4339
+ */
4340
+ edge_id?: string;
4341
+ /**
4342
+ * {
4343
+ * "nullable": true,
4344
+ * "description": "Edge reference about which to make the helix (new API). If both `edge_id` and `edge_reference` are provided, `edge_reference` takes precedence."
4345
+ * }
4346
+ */
4347
+ edge_reference?: EdgeSpecifier;
4124
4348
  /** Is the helix rotation clockwise? */
4125
4349
  is_clockwise: boolean;
4126
4350
  /**
@@ -4137,6 +4361,16 @@ export type ModelingCmd = {
4137
4361
  /** default:{unit:degrees, value:0}, description:Start angle. */
4138
4362
  start_angle?: Angle;
4139
4363
  type: 'entity_make_helix_from_edge';
4364
+ } | {
4365
+ /** What to mirror across */
4366
+ across: MirrorAcross;
4367
+ /**
4368
+ * {
4369
+ * "format": "uuid"
4370
+ * }
4371
+ */
4372
+ ids: string[];
4373
+ type: 'entity_mirror_across';
4140
4374
  } | {
4141
4375
  /** Axis to use as mirror. */
4142
4376
  axis: Point3d;
@@ -4152,11 +4386,19 @@ export type ModelingCmd = {
4152
4386
  } | {
4153
4387
  /**
4154
4388
  * {
4389
+ * "nullable": true,
4155
4390
  * "format": "uuid",
4156
- * "description": "The edge to use as the mirror axis, must be linear and lie in the plane of the solid"
4391
+ * "description": "The edge to use as the mirror axis (legacy API). Must be linear and lie in the plane of the solid. If both `edge_id` and `edge_reference` are provided, `edge_reference` takes precedence."
4157
4392
  * }
4158
4393
  */
4159
- edge_id: string;
4394
+ edge_id?: string;
4395
+ /**
4396
+ * {
4397
+ * "nullable": true,
4398
+ * "description": "Edge reference to use as the mirror axis (new API). If both `edge_id` and `edge_reference` are provided, `edge_reference` takes precedence."
4399
+ * }
4400
+ */
4401
+ edge_reference?: EdgeSpecifier;
4160
4402
  /**
4161
4403
  * {
4162
4404
  * "format": "uuid"
@@ -4170,6 +4412,16 @@ export type ModelingCmd = {
4170
4412
  /** What entity was selected? */
4171
4413
  selection_type: SceneSelectionType;
4172
4414
  type: 'select_with_point';
4415
+ } | {
4416
+ /** Where in the window was selected */
4417
+ selected_at_window: Point2d;
4418
+ /** What entity was selected? */
4419
+ selection_type: SceneSelectionType;
4420
+ type: 'query_entity_type_with_point';
4421
+ } | {
4422
+ /** format:uuid, description:The entity id to query */
4423
+ entity_id: string;
4424
+ type: 'query_entity_type';
4173
4425
  } | {
4174
4426
  /**
4175
4427
  * {
@@ -4363,6 +4615,8 @@ export type ModelingCmd = {
4363
4615
  * }
4364
4616
  */
4365
4617
  edge_ids?: string[];
4618
+ /** A struct containing the information required to reference an edge. */
4619
+ edges_references?: EdgeSpecifier[];
4366
4620
  /**
4367
4621
  * {
4368
4622
  * "format": "uuid"
@@ -4380,6 +4634,31 @@ export type ModelingCmd = {
4380
4634
  type: 'solid3d_fillet_edge';
4381
4635
  /** If true, use the legacy CSG algorithm. */
4382
4636
  use_legacy?: boolean;
4637
+ } | {
4638
+ /** The cut type and information required to perform the cut. */
4639
+ cut_type: CutTypeV2;
4640
+ /**
4641
+ * {
4642
+ * "default": [],
4643
+ * "description": "A struct containing the information required to reference an edge."
4644
+ * }
4645
+ */
4646
+ edges_references?: EdgeSpecifier[];
4647
+ /**
4648
+ * {
4649
+ * "format": "uuid"
4650
+ * }
4651
+ */
4652
+ extra_face_ids?: string[];
4653
+ /** format:uuid, description:Which object is being cut. */
4654
+ object_id: string;
4655
+ /** default:automatic, description:Which cutting algorithm to use. */
4656
+ strategy?: CutStrategy;
4657
+ /** The maximum acceptable surface gap computed between the cut surfaces. Must be positive (i.e. greater than zero). */
4658
+ tolerance: LengthUnit;
4659
+ type: 'solid3d_cut_edge_references';
4660
+ /** If true, use the legacy CSG algorithm. */
4661
+ use_legacy?: boolean;
4383
4662
  } | {
4384
4663
  /** The cut type and information required to perform the cut. */
4385
4664
  cut_type: CutTypeV2;
@@ -4555,9 +4834,22 @@ export type ModelingCmd = {
4555
4834
  curve_id: string;
4556
4835
  type: 'curve_get_control_points';
4557
4836
  } | {
4558
- /** format:uuid, description:Which entity to project (vertex or edge). */
4559
- entity_id: string;
4560
- /** format:uuid, description:Which plane to project entity_id onto. */
4837
+ /**
4838
+ * {
4839
+ * "nullable": true,
4840
+ * "format": "uuid",
4841
+ * "description": "Which entity to project (vertex or edge). Legacy; if both `entity_id` and `entity_reference` are provided, `entity_reference` takes precedence."
4842
+ * }
4843
+ */
4844
+ entity_id?: string;
4845
+ /**
4846
+ * {
4847
+ * "nullable": true,
4848
+ * "description": "Entity reference (e.g. edge by side_faces, vertex, face) to project. If both `entity_id` and `entity_reference` are provided, `entity_reference` takes precedence."
4849
+ * }
4850
+ */
4851
+ entity_reference?: EntityReference;
4852
+ /** format:uuid, description:Which plane to project the entity onto. */
4561
4853
  plane_id: string;
4562
4854
  type: 'project_entity_to_plane';
4563
4855
  /** If true: the projected points are returned in the plane_id's coordinate system, else: the projected points are returned in the world coordinate system. */
@@ -4871,6 +5163,10 @@ export type ModelingCmd = {
4871
5163
  type: 'solid3d_get_adjacency_info';
4872
5164
  } | {
4873
5165
  type: 'select_clear';
5166
+ } | {
5167
+ /** Which entities to select (face-based references for edges/vertices, face_id for faces) */
5168
+ entities: EntityReference[];
5169
+ type: 'select_entity';
4874
5170
  } | {
4875
5171
  type: 'select_get';
4876
5172
  } | {
@@ -5062,12 +5358,16 @@ export type ModelingCmd = {
5062
5358
  /** format:uuid, description:First segment to follow to find the region. */
5063
5359
  segment: string;
5064
5360
  type: 'create_region';
5361
+ /** Which version of the Region endpoint to call. */
5362
+ version?: RegionVersion;
5065
5363
  } | {
5066
5364
  /** format:uuid, description:Which sketch object to create the region from. */
5067
5365
  object_id: string;
5068
5366
  /** The query point (in the same coordinates as the sketch itself) if a possible sketch region contains this point, then that region will be created */
5069
5367
  query_point: Point2d;
5070
5368
  type: 'create_region_from_query_point';
5369
+ /** Which version of the Region endpoint to call. */
5370
+ version?: RegionVersion;
5071
5371
  } | {
5072
5372
  /** format:uuid, description:Which region to search within */
5073
5373
  region_id: string;
@@ -5532,6 +5832,14 @@ export type OkModelingCmdResponse = {
5532
5832
  */
5533
5833
  data: Solid3dFilletEdge;
5534
5834
  type: 'solid3d_fillet_edge';
5835
+ } | {
5836
+ /**
5837
+ * {
5838
+ * "$ref": "#/components/schemas/Solid3dCutEdgeReferences"
5839
+ * }
5840
+ */
5841
+ data: Solid3dCutEdgeReferences;
5842
+ type: 'solid3d_cut_edge_references';
5535
5843
  } | {
5536
5844
  /**
5537
5845
  * {
@@ -5772,6 +6080,14 @@ export type OkModelingCmdResponse = {
5772
6080
  */
5773
6081
  data: SelectClear;
5774
6082
  type: 'select_clear';
6083
+ } | {
6084
+ /**
6085
+ * {
6086
+ * "$ref": "#/components/schemas/SelectEntity"
6087
+ * }
6088
+ */
6089
+ data: SelectEntity;
6090
+ type: 'select_entity';
5775
6091
  } | {
5776
6092
  /**
5777
6093
  * {
@@ -5804,6 +6120,22 @@ export type OkModelingCmdResponse = {
5804
6120
  */
5805
6121
  data: SelectWithPoint;
5806
6122
  type: 'select_with_point';
6123
+ } | {
6124
+ /**
6125
+ * {
6126
+ * "$ref": "#/components/schemas/QueryEntityTypeWithPoint"
6127
+ * }
6128
+ */
6129
+ data: QueryEntityTypeWithPoint;
6130
+ type: 'query_entity_type_with_point';
6131
+ } | {
6132
+ /**
6133
+ * {
6134
+ * "$ref": "#/components/schemas/QueryEntityType"
6135
+ * }
6136
+ */
6137
+ data: QueryEntityType;
6138
+ type: 'query_entity_type';
5807
6139
  } | {
5808
6140
  /**
5809
6141
  * {
@@ -6372,6 +6704,14 @@ export type OkModelingCmdResponse = {
6372
6704
  */
6373
6705
  data: EntityMirror;
6374
6706
  type: 'entity_mirror';
6707
+ } | {
6708
+ /**
6709
+ * {
6710
+ * "$ref": "#/components/schemas/EntityMirrorAcross"
6711
+ * }
6712
+ */
6713
+ data: EntityMirrorAcross;
6714
+ type: 'entity_mirror_across';
6375
6715
  } | {
6376
6716
  /**
6377
6717
  * {
@@ -7528,6 +7868,23 @@ export interface PriceUpsertRequest {
7528
7868
  /** format:double, description:Amount in USD. */
7529
7869
  unit_amount: number;
7530
7870
  }
7871
+ export interface PrimitiveTopologyFallback {
7872
+ /**
7873
+ * {
7874
+ * "format": "uuid",
7875
+ * "description": "UUID of the parent entity that owns the primitive (solid3d, solid2d, or path)."
7876
+ * }
7877
+ */
7878
+ parent_id: string;
7879
+ /**
7880
+ * {
7881
+ * "format": "uint32",
7882
+ * "minimum": 0,
7883
+ * "description": "Index of the face, edge, vertex, profile curve, or path segment on `parent_id`."
7884
+ * }
7885
+ */
7886
+ primitive_index: number;
7887
+ }
7531
7888
  export interface PrivacySettings {
7532
7889
  /** If we can train on the data. If the user is a member of an organization, the organization's setting will override this. The organization's setting takes priority. */
7533
7890
  can_train_on_data: boolean;
@@ -7731,6 +8088,19 @@ export interface PublicProjectVoteResponse {
7731
8088
  /** Whether the authenticated viewer currently likes the project. */
7732
8089
  liked: boolean;
7733
8090
  }
8091
+ export interface QueryEntityType {
8092
+ /** How to reference the provided entity using face ids. */
8093
+ reference: EntityReference;
8094
+ }
8095
+ export interface QueryEntityTypeWithPoint {
8096
+ /**
8097
+ * {
8098
+ * "nullable": true,
8099
+ * "description": "How to reference the selected entity using face ids. None if no entity was found at the given point (e.g. clicked in empty space)."
8100
+ * }
8101
+ */
8102
+ reference?: EntityReference;
8103
+ }
7734
8104
  export interface RawFile {
7735
8105
  /**
7736
8106
  * {
@@ -7797,6 +8167,7 @@ export interface RegionGetQueryPoint {
7797
8167
  /** A point that is inside of the queried region, in the same coordinate frame as the sketch itself */
7798
8168
  query_point: Point2d;
7799
8169
  }
8170
+ export type RegionVersion = 'V0' | 'V1';
7800
8171
  export type RelativeTo = 'sketch_plane' | 'trajectory_curve';
7801
8172
  export interface RemoveSceneObjects {
7802
8173
  }
@@ -7939,6 +8310,8 @@ export interface SelectAdd {
7939
8310
  }
7940
8311
  export interface SelectClear {
7941
8312
  }
8313
+ export interface SelectEntity {
8314
+ }
7942
8315
  export interface SelectGet {
7943
8316
  /**
7944
8317
  * {
@@ -8130,6 +8503,8 @@ export interface SketchModeDisable {
8130
8503
  }
8131
8504
  export interface Solid2dAddHole {
8132
8505
  }
8506
+ export interface Solid3dCutEdgeReferences {
8507
+ }
8133
8508
  export interface Solid3dCutEdges {
8134
8509
  }
8135
8510
  export interface Solid3dFilletEdge {
@@ -10257,6 +10632,7 @@ export interface Models {
10257
10632
  DxfStorage: DxfStorage;
10258
10633
  EdgeInfo: EdgeInfo;
10259
10634
  EdgeLinesVisible: EdgeLinesVisible;
10635
+ EdgeSpecifier: EdgeSpecifier;
10260
10636
  EmailAuthenticationForm: EmailAuthenticationForm;
10261
10637
  EmailMarketingConfirmTokenBody: EmailMarketingConfirmTokenBody;
10262
10638
  EmailMarketingConsentState: EmailMarketingConsentState;
@@ -10282,7 +10658,9 @@ export interface Models {
10282
10658
  EntityMakeHelixFromEdge: EntityMakeHelixFromEdge;
10283
10659
  EntityMakeHelixFromParams: EntityMakeHelixFromParams;
10284
10660
  EntityMirror: EntityMirror;
10661
+ EntityMirrorAcross: EntityMirrorAcross;
10285
10662
  EntityMirrorAcrossEdge: EntityMirrorAcrossEdge;
10663
+ EntityReference: EntityReference;
10286
10664
  EntitySetOpacity: EntitySetOpacity;
10287
10665
  EntityType: EntityType;
10288
10666
  Error: Error;
@@ -10357,6 +10735,7 @@ export interface Models {
10357
10735
  Mass: Mass;
10358
10736
  MbdSymbol: MbdSymbol;
10359
10737
  Method: Method;
10738
+ MirrorAcross: MirrorAcross;
10360
10739
  MlCopilotClientMessage: MlCopilotClientMessage;
10361
10740
  MlCopilotFile: MlCopilotFile;
10362
10741
  MlCopilotMode: MlCopilotMode;
@@ -10452,6 +10831,7 @@ export interface Models {
10452
10831
  Pong: Pong;
10453
10832
  PostEffectType: PostEffectType;
10454
10833
  PriceUpsertRequest: PriceUpsertRequest;
10834
+ PrimitiveTopologyFallback: PrimitiveTopologyFallback;
10455
10835
  PrivacySettings: PrivacySettings;
10456
10836
  ProjectArchiveFormat: ProjectArchiveFormat;
10457
10837
  ProjectCategoryResponse: ProjectCategoryResponse;
@@ -10467,10 +10847,13 @@ export interface Models {
10467
10847
  PublicProjectOwnerResponse: PublicProjectOwnerResponse;
10468
10848
  PublicProjectResponse: PublicProjectResponse;
10469
10849
  PublicProjectVoteResponse: PublicProjectVoteResponse;
10850
+ QueryEntityType: QueryEntityType;
10851
+ QueryEntityTypeWithPoint: QueryEntityTypeWithPoint;
10470
10852
  RawFile: RawFile;
10471
10853
  ReasoningMessage: ReasoningMessage;
10472
10854
  ReconfigureStream: ReconfigureStream;
10473
10855
  RegionGetQueryPoint: RegionGetQueryPoint;
10856
+ RegionVersion: RegionVersion;
10474
10857
  RelativeTo: RelativeTo;
10475
10858
  RemoveSceneObjects: RemoveSceneObjects;
10476
10859
  Revolve: Revolve;
@@ -10488,6 +10871,7 @@ export interface Models {
10488
10871
  SceneToolType: SceneToolType;
10489
10872
  SelectAdd: SelectAdd;
10490
10873
  SelectClear: SelectClear;
10874
+ SelectEntity: SelectEntity;
10491
10875
  SelectGet: SelectGet;
10492
10876
  SelectRegionFromPoint: SelectRegionFromPoint;
10493
10877
  SelectRemove: SelectRemove;
@@ -10518,6 +10902,7 @@ export interface Models {
10518
10902
  SideFace: SideFace;
10519
10903
  SketchModeDisable: SketchModeDisable;
10520
10904
  Solid2dAddHole: Solid2dAddHole;
10905
+ Solid3dCutEdgeReferences: Solid3dCutEdgeReferences;
10521
10906
  Solid3dCutEdges: Solid3dCutEdges;
10522
10907
  Solid3dFilletEdge: Solid3dFilletEdge;
10523
10908
  Solid3dFlip: Solid3dFlip;