@kittycad/lib 4.1.2 → 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.
@@ -1,4 +1,4 @@
1
- export type AccountProvider = 'apple' | 'discord' | 'google' | 'github' | 'microsoft' | 'saml' | 'tencent' | 'test_provider';
1
+ export type AccountProvider = 'apple' | 'discord' | 'google' | 'zoo_corp' | 'github' | 'microsoft' | 'saml' | 'test_provider';
2
2
  export interface AddHoleFromOffset {
3
3
  /**
4
4
  * {
@@ -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
  } | {
@@ -3315,13 +3518,6 @@ export type MlCopilotClientMessage = {
3315
3518
  project_name?: string;
3316
3519
  /** nullable:true, description:Change the default or mode reasoning effort. */
3317
3520
  reasoning_effort?: MlReasoningEffort;
3318
- /**
3319
- * {
3320
- * "default": false,
3321
- * "description": "To handle the transition period between sketch 1 and sketch_solve, set a flag for sketch_solve, True for sketch_solve, false for sketch 1. Defaults to false"
3322
- * }
3323
- */
3324
- sketch_solve?: boolean;
3325
3521
  /** The source ranges the user suggested to change. If empty, the content (prompt) will be used and is required. */
3326
3522
  source_ranges?: SourceRangePrompt[];
3327
3523
  type: 'user';
@@ -3822,11 +4018,19 @@ export type ModelingCmd = {
3822
4018
  body_type?: BodyType;
3823
4019
  /**
3824
4020
  * {
4021
+ * "nullable": true,
3825
4022
  * "format": "uuid",
3826
4023
  * "description": "The edge to use as the axis of revolution, must be linear and lie in the plane of the solid"
3827
4024
  * }
3828
4025
  */
3829
- 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;
3830
4034
  /**
3831
4035
  * {
3832
4036
  * "default": "None",
@@ -4126,8 +4330,21 @@ export type ModelingCmd = {
4126
4330
  start_angle?: Angle;
4127
4331
  type: 'entity_make_helix_from_params';
4128
4332
  } | {
4129
- /** format:uuid, description:Edge about which to make the helix. */
4130
- 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;
4131
4348
  /** Is the helix rotation clockwise? */
4132
4349
  is_clockwise: boolean;
4133
4350
  /**
@@ -4144,6 +4361,16 @@ export type ModelingCmd = {
4144
4361
  /** default:{unit:degrees, value:0}, description:Start angle. */
4145
4362
  start_angle?: Angle;
4146
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';
4147
4374
  } | {
4148
4375
  /** Axis to use as mirror. */
4149
4376
  axis: Point3d;
@@ -4159,11 +4386,19 @@ export type ModelingCmd = {
4159
4386
  } | {
4160
4387
  /**
4161
4388
  * {
4389
+ * "nullable": true,
4162
4390
  * "format": "uuid",
4163
- * "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."
4164
4392
  * }
4165
4393
  */
4166
- 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;
4167
4402
  /**
4168
4403
  * {
4169
4404
  * "format": "uuid"
@@ -4177,6 +4412,16 @@ export type ModelingCmd = {
4177
4412
  /** What entity was selected? */
4178
4413
  selection_type: SceneSelectionType;
4179
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';
4180
4425
  } | {
4181
4426
  /**
4182
4427
  * {
@@ -4370,6 +4615,8 @@ export type ModelingCmd = {
4370
4615
  * }
4371
4616
  */
4372
4617
  edge_ids?: string[];
4618
+ /** A struct containing the information required to reference an edge. */
4619
+ edges_references?: EdgeSpecifier[];
4373
4620
  /**
4374
4621
  * {
4375
4622
  * "format": "uuid"
@@ -4387,6 +4634,31 @@ export type ModelingCmd = {
4387
4634
  type: 'solid3d_fillet_edge';
4388
4635
  /** If true, use the legacy CSG algorithm. */
4389
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;
4390
4662
  } | {
4391
4663
  /** The cut type and information required to perform the cut. */
4392
4664
  cut_type: CutTypeV2;
@@ -4562,9 +4834,22 @@ export type ModelingCmd = {
4562
4834
  curve_id: string;
4563
4835
  type: 'curve_get_control_points';
4564
4836
  } | {
4565
- /** format:uuid, description:Which entity to project (vertex or edge). */
4566
- entity_id: string;
4567
- /** 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. */
4568
4853
  plane_id: string;
4569
4854
  type: 'project_entity_to_plane';
4570
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. */
@@ -4878,6 +5163,10 @@ export type ModelingCmd = {
4878
5163
  type: 'solid3d_get_adjacency_info';
4879
5164
  } | {
4880
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';
4881
5170
  } | {
4882
5171
  type: 'select_get';
4883
5172
  } | {
@@ -5069,12 +5358,16 @@ export type ModelingCmd = {
5069
5358
  /** format:uuid, description:First segment to follow to find the region. */
5070
5359
  segment: string;
5071
5360
  type: 'create_region';
5361
+ /** Which version of the Region endpoint to call. */
5362
+ version?: RegionVersion;
5072
5363
  } | {
5073
5364
  /** format:uuid, description:Which sketch object to create the region from. */
5074
5365
  object_id: string;
5075
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 */
5076
5367
  query_point: Point2d;
5077
5368
  type: 'create_region_from_query_point';
5369
+ /** Which version of the Region endpoint to call. */
5370
+ version?: RegionVersion;
5078
5371
  } | {
5079
5372
  /** format:uuid, description:Which region to search within */
5080
5373
  region_id: string;
@@ -5539,6 +5832,14 @@ export type OkModelingCmdResponse = {
5539
5832
  */
5540
5833
  data: Solid3dFilletEdge;
5541
5834
  type: 'solid3d_fillet_edge';
5835
+ } | {
5836
+ /**
5837
+ * {
5838
+ * "$ref": "#/components/schemas/Solid3dCutEdgeReferences"
5839
+ * }
5840
+ */
5841
+ data: Solid3dCutEdgeReferences;
5842
+ type: 'solid3d_cut_edge_references';
5542
5843
  } | {
5543
5844
  /**
5544
5845
  * {
@@ -5779,6 +6080,14 @@ export type OkModelingCmdResponse = {
5779
6080
  */
5780
6081
  data: SelectClear;
5781
6082
  type: 'select_clear';
6083
+ } | {
6084
+ /**
6085
+ * {
6086
+ * "$ref": "#/components/schemas/SelectEntity"
6087
+ * }
6088
+ */
6089
+ data: SelectEntity;
6090
+ type: 'select_entity';
5782
6091
  } | {
5783
6092
  /**
5784
6093
  * {
@@ -5811,6 +6120,22 @@ export type OkModelingCmdResponse = {
5811
6120
  */
5812
6121
  data: SelectWithPoint;
5813
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';
5814
6139
  } | {
5815
6140
  /**
5816
6141
  * {
@@ -6379,6 +6704,14 @@ export type OkModelingCmdResponse = {
6379
6704
  */
6380
6705
  data: EntityMirror;
6381
6706
  type: 'entity_mirror';
6707
+ } | {
6708
+ /**
6709
+ * {
6710
+ * "$ref": "#/components/schemas/EntityMirrorAcross"
6711
+ * }
6712
+ */
6713
+ data: EntityMirrorAcross;
6714
+ type: 'entity_mirror_across';
6382
6715
  } | {
6383
6716
  /**
6384
6717
  * {
@@ -7535,6 +7868,23 @@ export interface PriceUpsertRequest {
7535
7868
  /** format:double, description:Amount in USD. */
7536
7869
  unit_amount: number;
7537
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
+ }
7538
7888
  export interface PrivacySettings {
7539
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. */
7540
7890
  can_train_on_data: boolean;
@@ -7738,6 +8088,19 @@ export interface PublicProjectVoteResponse {
7738
8088
  /** Whether the authenticated viewer currently likes the project. */
7739
8089
  liked: boolean;
7740
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
+ }
7741
8104
  export interface RawFile {
7742
8105
  /**
7743
8106
  * {
@@ -7804,6 +8167,7 @@ export interface RegionGetQueryPoint {
7804
8167
  /** A point that is inside of the queried region, in the same coordinate frame as the sketch itself */
7805
8168
  query_point: Point2d;
7806
8169
  }
8170
+ export type RegionVersion = 'V0' | 'V1';
7807
8171
  export type RelativeTo = 'sketch_plane' | 'trajectory_curve';
7808
8172
  export interface RemoveSceneObjects {
7809
8173
  }
@@ -7946,6 +8310,8 @@ export interface SelectAdd {
7946
8310
  }
7947
8311
  export interface SelectClear {
7948
8312
  }
8313
+ export interface SelectEntity {
8314
+ }
7949
8315
  export interface SelectGet {
7950
8316
  /**
7951
8317
  * {
@@ -8137,6 +8503,8 @@ export interface SketchModeDisable {
8137
8503
  }
8138
8504
  export interface Solid2dAddHole {
8139
8505
  }
8506
+ export interface Solid3dCutEdgeReferences {
8507
+ }
8140
8508
  export interface Solid3dCutEdges {
8141
8509
  }
8142
8510
  export interface Solid3dFilletEdge {
@@ -10264,6 +10632,7 @@ export interface Models {
10264
10632
  DxfStorage: DxfStorage;
10265
10633
  EdgeInfo: EdgeInfo;
10266
10634
  EdgeLinesVisible: EdgeLinesVisible;
10635
+ EdgeSpecifier: EdgeSpecifier;
10267
10636
  EmailAuthenticationForm: EmailAuthenticationForm;
10268
10637
  EmailMarketingConfirmTokenBody: EmailMarketingConfirmTokenBody;
10269
10638
  EmailMarketingConsentState: EmailMarketingConsentState;
@@ -10289,7 +10658,9 @@ export interface Models {
10289
10658
  EntityMakeHelixFromEdge: EntityMakeHelixFromEdge;
10290
10659
  EntityMakeHelixFromParams: EntityMakeHelixFromParams;
10291
10660
  EntityMirror: EntityMirror;
10661
+ EntityMirrorAcross: EntityMirrorAcross;
10292
10662
  EntityMirrorAcrossEdge: EntityMirrorAcrossEdge;
10663
+ EntityReference: EntityReference;
10293
10664
  EntitySetOpacity: EntitySetOpacity;
10294
10665
  EntityType: EntityType;
10295
10666
  Error: Error;
@@ -10364,6 +10735,7 @@ export interface Models {
10364
10735
  Mass: Mass;
10365
10736
  MbdSymbol: MbdSymbol;
10366
10737
  Method: Method;
10738
+ MirrorAcross: MirrorAcross;
10367
10739
  MlCopilotClientMessage: MlCopilotClientMessage;
10368
10740
  MlCopilotFile: MlCopilotFile;
10369
10741
  MlCopilotMode: MlCopilotMode;
@@ -10459,6 +10831,7 @@ export interface Models {
10459
10831
  Pong: Pong;
10460
10832
  PostEffectType: PostEffectType;
10461
10833
  PriceUpsertRequest: PriceUpsertRequest;
10834
+ PrimitiveTopologyFallback: PrimitiveTopologyFallback;
10462
10835
  PrivacySettings: PrivacySettings;
10463
10836
  ProjectArchiveFormat: ProjectArchiveFormat;
10464
10837
  ProjectCategoryResponse: ProjectCategoryResponse;
@@ -10474,10 +10847,13 @@ export interface Models {
10474
10847
  PublicProjectOwnerResponse: PublicProjectOwnerResponse;
10475
10848
  PublicProjectResponse: PublicProjectResponse;
10476
10849
  PublicProjectVoteResponse: PublicProjectVoteResponse;
10850
+ QueryEntityType: QueryEntityType;
10851
+ QueryEntityTypeWithPoint: QueryEntityTypeWithPoint;
10477
10852
  RawFile: RawFile;
10478
10853
  ReasoningMessage: ReasoningMessage;
10479
10854
  ReconfigureStream: ReconfigureStream;
10480
10855
  RegionGetQueryPoint: RegionGetQueryPoint;
10856
+ RegionVersion: RegionVersion;
10481
10857
  RelativeTo: RelativeTo;
10482
10858
  RemoveSceneObjects: RemoveSceneObjects;
10483
10859
  Revolve: Revolve;
@@ -10495,6 +10871,7 @@ export interface Models {
10495
10871
  SceneToolType: SceneToolType;
10496
10872
  SelectAdd: SelectAdd;
10497
10873
  SelectClear: SelectClear;
10874
+ SelectEntity: SelectEntity;
10498
10875
  SelectGet: SelectGet;
10499
10876
  SelectRegionFromPoint: SelectRegionFromPoint;
10500
10877
  SelectRemove: SelectRemove;
@@ -10525,6 +10902,7 @@ export interface Models {
10525
10902
  SideFace: SideFace;
10526
10903
  SketchModeDisable: SketchModeDisable;
10527
10904
  Solid2dAddHole: Solid2dAddHole;
10905
+ Solid3dCutEdgeReferences: Solid3dCutEdgeReferences;
10528
10906
  Solid3dCutEdges: Solid3dCutEdges;
10529
10907
  Solid3dFilletEdge: Solid3dFilletEdge;
10530
10908
  Solid3dFlip: Solid3dFlip;