@kittycad/lib 3.1.23 → 3.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +1 -1
- package/dist/mjs/index.js +1 -1
- package/dist/types/__tests__/gen/orgs-retrigger_org_dataset.test.d.ts +2 -0
- package/dist/types/__tests__/gen/orgs-retrigger_org_dataset.test.d.ts.map +1 -0
- package/dist/types/__tests__/gen/orgs-retrigger_org_dataset_conversion.test.d.ts +2 -0
- package/dist/types/__tests__/gen/orgs-retrigger_org_dataset_conversion.test.d.ts.map +1 -0
- package/dist/types/__tests__/gen/orgs-search_org_dataset_conversions.test.d.ts +2 -0
- package/dist/types/__tests__/gen/orgs-search_org_dataset_conversions.test.d.ts.map +1 -0
- package/dist/types/__tests__/gen/orgs-upload_org_dataset_files.test.d.ts +2 -0
- package/dist/types/__tests__/gen/orgs-upload_org_dataset_files.test.d.ts.map +1 -0
- package/dist/types/src/api/orgs/create_org_dataset.d.ts +1 -1
- package/dist/types/src/api/orgs/get_org_dataset_conversion.d.ts +2 -0
- package/dist/types/src/api/orgs/get_org_dataset_conversion.d.ts.map +1 -1
- package/dist/types/src/api/orgs/list_org_dataset_conversions.d.ts +5 -1
- package/dist/types/src/api/orgs/list_org_dataset_conversions.d.ts.map +1 -1
- package/dist/types/src/api/orgs/retrigger_org_dataset.d.ts +24 -0
- package/dist/types/src/api/orgs/retrigger_org_dataset.d.ts.map +1 -0
- package/dist/types/src/api/orgs/retrigger_org_dataset_conversion.d.ts +22 -0
- package/dist/types/src/api/orgs/retrigger_org_dataset_conversion.d.ts.map +1 -0
- package/dist/types/src/api/orgs/search_org_dataset_conversions.d.ts +34 -0
- package/dist/types/src/api/orgs/search_org_dataset_conversions.d.ts.map +1 -0
- package/dist/types/src/api/orgs/upload_org_dataset_files.d.ts +27 -0
- package/dist/types/src/api/orgs/upload_org_dataset_files.d.ts.map +1 -0
- package/dist/types/src/api/service-accounts/create_service_account_for_org.d.ts +1 -1
- package/dist/types/src/api/service-accounts/delete_service_account_for_org.d.ts +1 -1
- package/dist/types/src/api/service-accounts/get_service_account_for_org.d.ts +1 -1
- package/dist/types/src/api/service-accounts/list_service_accounts_for_org.d.ts +1 -1
- package/dist/types/src/index.d.ts +11 -5
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +372 -21
- package/dist/types/src/models.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/types/src/api/orgs/rescan_org_dataset.d.ts +0 -22
- package/dist/types/src/api/orgs/rescan_org_dataset.d.ts.map +0 -1
- package/dist/types/src/api/orgs/retry_org_dataset_conversion.d.ts +0 -24
- package/dist/types/src/api/orgs/retry_org_dataset_conversion.d.ts.map +0 -1
|
@@ -69,6 +69,8 @@ export interface Angle {
|
|
|
69
69
|
value: number;
|
|
70
70
|
}
|
|
71
71
|
export interface AnnotationBasicDimension {
|
|
72
|
+
/** default:1, format:float, description:The scale of the dimension arrows. Defaults to 1. */
|
|
73
|
+
arrow_scale?: number;
|
|
72
74
|
/** Basic dimension parameters (symbol and tolerance) */
|
|
73
75
|
dimension: AnnotationMbdBasicDimension;
|
|
74
76
|
/**
|
|
@@ -135,6 +137,14 @@ export interface AnnotationFeatureControl {
|
|
|
135
137
|
font_point_size: number;
|
|
136
138
|
/** format:float, description:The scale of the font label in 3D space */
|
|
137
139
|
font_scale: number;
|
|
140
|
+
/**
|
|
141
|
+
* {
|
|
142
|
+
* "default": 1,
|
|
143
|
+
* "format": "float",
|
|
144
|
+
* "description": "The scale of the leader (dot or arrow). Defaults to 1."
|
|
145
|
+
* }
|
|
146
|
+
*/
|
|
147
|
+
leader_scale?: number;
|
|
138
148
|
/** Type of leader to use */
|
|
139
149
|
leader_type: AnnotationLineEnd;
|
|
140
150
|
/** 2D Position offset of the annotation within the plane. */
|
|
@@ -186,6 +196,14 @@ export interface AnnotationFeatureTag {
|
|
|
186
196
|
font_scale: number;
|
|
187
197
|
/** Tag key */
|
|
188
198
|
key: string;
|
|
199
|
+
/**
|
|
200
|
+
* {
|
|
201
|
+
* "default": 1,
|
|
202
|
+
* "format": "float",
|
|
203
|
+
* "description": "The scale of the leader (dot or arrow). Defaults to 1."
|
|
204
|
+
* }
|
|
205
|
+
*/
|
|
206
|
+
leader_scale?: number;
|
|
189
207
|
/** Type of leader to use */
|
|
190
208
|
leader_type: AnnotationLineEnd;
|
|
191
209
|
/** 2D Position offset of the annotation within the plane. */
|
|
@@ -1043,6 +1061,14 @@ export interface BillingInfo {
|
|
|
1043
1061
|
}
|
|
1044
1062
|
export declare type BlockReason = 'missing_payment_method' | 'payment_method_failed';
|
|
1045
1063
|
export declare type BodyType = 'solid' | 'surface';
|
|
1064
|
+
export interface BooleanImprint {
|
|
1065
|
+
/**
|
|
1066
|
+
* {
|
|
1067
|
+
* "format": "uuid"
|
|
1068
|
+
* }
|
|
1069
|
+
*/
|
|
1070
|
+
extra_solid_ids?: string[];
|
|
1071
|
+
}
|
|
1046
1072
|
export interface BooleanIntersection {
|
|
1047
1073
|
/**
|
|
1048
1074
|
* {
|
|
@@ -1325,12 +1351,12 @@ export interface ClosePath {
|
|
|
1325
1351
|
}
|
|
1326
1352
|
export declare type CodeLanguage = 'go' | 'python' | 'node';
|
|
1327
1353
|
export declare type CodeOption =
|
|
1328
|
-
/**
|
|
1354
|
+
/** `CodeOption`
|
|
1329
1355
|
|
|
1330
1356
|
<details><summary>JSON schema</summary>
|
|
1331
1357
|
|
|
1332
|
-
```json { "
|
|
1333
|
-
'parse' | '
|
|
1358
|
+
```json { "type": "string", "enum": [ "parse", "mock_execute", "execute" ] } ``` </details> */
|
|
1359
|
+
'parse' | 'mock_execute' | 'execute';
|
|
1334
1360
|
export interface CodeOutput {
|
|
1335
1361
|
/** The contents of the files requested if they were passed. */
|
|
1336
1362
|
output_files?: OutputFile[];
|
|
@@ -1469,6 +1495,8 @@ export interface CreateOrgDataset {
|
|
|
1469
1495
|
/** Details for accessing the dataset. */
|
|
1470
1496
|
source: OrgDatasetSource;
|
|
1471
1497
|
}
|
|
1498
|
+
export interface CreateRegion {
|
|
1499
|
+
}
|
|
1472
1500
|
export interface CreateShortlinkRequest {
|
|
1473
1501
|
/**
|
|
1474
1502
|
* {
|
|
@@ -1812,6 +1840,8 @@ export interface EntityClone {
|
|
|
1812
1840
|
/** The Face and Edge Ids of the cloned entity. */
|
|
1813
1841
|
face_edge_ids?: FaceEdgeInfo[];
|
|
1814
1842
|
}
|
|
1843
|
+
export interface EntityDeleteChildren {
|
|
1844
|
+
}
|
|
1815
1845
|
export interface EntityFade {
|
|
1816
1846
|
}
|
|
1817
1847
|
export interface EntityGetAllChildUuids {
|
|
@@ -1832,6 +1862,10 @@ export interface EntityGetDistance {
|
|
|
1832
1862
|
/** The minimum distance between the input entities. */
|
|
1833
1863
|
min_distance: LengthUnit;
|
|
1834
1864
|
}
|
|
1865
|
+
export interface EntityGetIndex {
|
|
1866
|
+
/** format:uint32, minimum:0, description:The child index of the entity. */
|
|
1867
|
+
entity_index: number;
|
|
1868
|
+
}
|
|
1835
1869
|
export interface EntityGetNumChildren {
|
|
1836
1870
|
/** format:uint32, minimum:0, description:The number of children the entity has. */
|
|
1837
1871
|
num: number;
|
|
@@ -1840,6 +1874,12 @@ export interface EntityGetParentId {
|
|
|
1840
1874
|
/** format:uuid, description:The UUID of the parent entity. */
|
|
1841
1875
|
entity_id: string;
|
|
1842
1876
|
}
|
|
1877
|
+
export interface EntityGetPrimitiveIndex {
|
|
1878
|
+
/** The type of this entity. Helps infer whether this is an edge or a face index. */
|
|
1879
|
+
entity_type: EntityType;
|
|
1880
|
+
/** format:uint32, minimum:0, description:The primitive index of the entity. */
|
|
1881
|
+
primitive_index: number;
|
|
1882
|
+
}
|
|
1843
1883
|
export interface EntityGetSketchPaths {
|
|
1844
1884
|
/**
|
|
1845
1885
|
* {
|
|
@@ -2996,6 +3036,11 @@ export interface MlCopilotFile {
|
|
|
2996
3036
|
* }
|
|
2997
3037
|
*/
|
|
2998
3038
|
data: number[];
|
|
3039
|
+
/** nullable:true, description:Optional blob storage path for the file contents. */
|
|
3040
|
+
data_ref?: string;
|
|
3041
|
+
metadata?: {
|
|
3042
|
+
[key: string]: string;
|
|
3043
|
+
};
|
|
2999
3044
|
/** The MIME type of the file (e.g., "image/png", "application/pdf", "model/stl"). */
|
|
3000
3045
|
mimetype: string;
|
|
3001
3046
|
/** The name of the file. */
|
|
@@ -3128,7 +3173,7 @@ export interface MlPrompt {
|
|
|
3128
3173
|
/**
|
|
3129
3174
|
* {
|
|
3130
3175
|
* "nullable": true,
|
|
3131
|
-
* "description": "The output
|
|
3176
|
+
* "description": "The output directory reference for generated files. Stored as `blob://bucket/key` for new rows; legacy rows may contain a key-only value."
|
|
3132
3177
|
* }
|
|
3133
3178
|
*/
|
|
3134
3179
|
output_file?: string;
|
|
@@ -3358,6 +3403,13 @@ export declare type ModelingCmd = {
|
|
|
3358
3403
|
* }
|
|
3359
3404
|
*/
|
|
3360
3405
|
faces?: ExtrudedFaceInfo;
|
|
3406
|
+
/**
|
|
3407
|
+
* {
|
|
3408
|
+
* "nullable": true,
|
|
3409
|
+
* "description": "Only used if the extrusion is created from a face and extrude_method = Merge If true, coplanar faces will be merged and seams will be hidden. Otherwise, seams between the extrusion and original body will be shown."
|
|
3410
|
+
* }
|
|
3411
|
+
*/
|
|
3412
|
+
merge_coplanar_faces?: boolean;
|
|
3361
3413
|
/**
|
|
3362
3414
|
* {
|
|
3363
3415
|
* "default": "None",
|
|
@@ -3490,6 +3542,26 @@ export declare type ModelingCmd = {
|
|
|
3490
3542
|
/** How thick the shell should be. Smaller values mean a thinner shell. */
|
|
3491
3543
|
shell_thickness: LengthUnit;
|
|
3492
3544
|
type: 'solid3d_shell_face';
|
|
3545
|
+
} | {
|
|
3546
|
+
/** format:uuid, description:Which Solid3D is being joined. */
|
|
3547
|
+
object_id: string;
|
|
3548
|
+
type: 'solid3d_join';
|
|
3549
|
+
} | {
|
|
3550
|
+
/** format:uint32, minimum:0, description:The primitive index of the edge being queried. */
|
|
3551
|
+
edge_index: number;
|
|
3552
|
+
/** format:uuid, description:The Solid3D parent who owns the edge */
|
|
3553
|
+
object_id: string;
|
|
3554
|
+
type: 'solid3d_get_edge_uuid';
|
|
3555
|
+
} | {
|
|
3556
|
+
/** format:uint32, minimum:0, description:The primitive index of the face being queried. */
|
|
3557
|
+
face_index: number;
|
|
3558
|
+
/** format:uuid, description:The Solid3D parent who owns the face */
|
|
3559
|
+
object_id: string;
|
|
3560
|
+
type: 'solid3d_get_face_uuid';
|
|
3561
|
+
} | {
|
|
3562
|
+
/** format:uuid, description:The Solid3D whose body type is being queried. */
|
|
3563
|
+
object_id: string;
|
|
3564
|
+
type: 'solid3d_get_body_type';
|
|
3493
3565
|
} | {
|
|
3494
3566
|
/** The signed angle of revolution (in degrees, must be <= 360 in either direction) */
|
|
3495
3567
|
angle: Angle;
|
|
@@ -3531,6 +3603,13 @@ export declare type ModelingCmd = {
|
|
|
3531
3603
|
base_curve_index?: number;
|
|
3532
3604
|
/** Attempt to approximate rational curves (such as arcs) using a bezier. This will remove banding around interpolations between arcs and non-arcs. It may produce errors in other scenarios Over time, this field won't be necessary. */
|
|
3533
3605
|
bez_approximate_rational: boolean;
|
|
3606
|
+
/**
|
|
3607
|
+
* {
|
|
3608
|
+
* "default": "solid",
|
|
3609
|
+
* "description": "Should this loft create a solid body or a surface?"
|
|
3610
|
+
* }
|
|
3611
|
+
*/
|
|
3612
|
+
body_type?: BodyType;
|
|
3534
3613
|
/**
|
|
3535
3614
|
* {
|
|
3536
3615
|
* "format": "uuid"
|
|
@@ -3686,6 +3765,24 @@ export declare type ModelingCmd = {
|
|
|
3686
3765
|
/** format:uuid, description:ID of the entity being queried. */
|
|
3687
3766
|
entity_id: string;
|
|
3688
3767
|
type: 'entity_get_child_uuid';
|
|
3768
|
+
} | {
|
|
3769
|
+
/** format:uuid, description:ID of the entity being queried. */
|
|
3770
|
+
entity_id: string;
|
|
3771
|
+
type: 'entity_get_index';
|
|
3772
|
+
} | {
|
|
3773
|
+
/** format:uuid, description:ID of the entity being queried. */
|
|
3774
|
+
entity_id: string;
|
|
3775
|
+
type: 'entity_get_primitive_index';
|
|
3776
|
+
} | {
|
|
3777
|
+
/**
|
|
3778
|
+
* {
|
|
3779
|
+
* "format": "uuid"
|
|
3780
|
+
* }
|
|
3781
|
+
*/
|
|
3782
|
+
child_entity_ids: string[];
|
|
3783
|
+
/** format:uuid, description:ID of the entity being modified */
|
|
3784
|
+
entity_id: string;
|
|
3785
|
+
type: 'entity_delete_children';
|
|
3689
3786
|
} | {
|
|
3690
3787
|
/** format:uuid, description:ID of the entity being queried. */
|
|
3691
3788
|
entity_id: string;
|
|
@@ -3931,6 +4028,16 @@ export declare type ModelingCmd = {
|
|
|
3931
4028
|
/** format:uuid, description:Which object is being queried. */
|
|
3932
4029
|
object_id: string;
|
|
3933
4030
|
type: 'solid3d_get_all_edge_faces';
|
|
4031
|
+
} | {
|
|
4032
|
+
/** format:uuid, description:Which object is being flipped. */
|
|
4033
|
+
object_id: string;
|
|
4034
|
+
type: 'solid3d_flip';
|
|
4035
|
+
} | {
|
|
4036
|
+
/** format:uuid, description:Which face you want to flip. */
|
|
4037
|
+
face_id: string;
|
|
4038
|
+
/** format:uuid, description:Which object is being queried. */
|
|
4039
|
+
object_id: string;
|
|
4040
|
+
type: 'solid3d_flip_face';
|
|
3934
4041
|
} | {
|
|
3935
4042
|
/**
|
|
3936
4043
|
* {
|
|
@@ -4561,6 +4668,16 @@ export declare type ModelingCmd = {
|
|
|
4561
4668
|
*/
|
|
4562
4669
|
tool_ids: string[];
|
|
4563
4670
|
type: 'boolean_subtract';
|
|
4671
|
+
} | {
|
|
4672
|
+
/**
|
|
4673
|
+
* {
|
|
4674
|
+
* "format": "uuid"
|
|
4675
|
+
* }
|
|
4676
|
+
*/
|
|
4677
|
+
body_ids: string[];
|
|
4678
|
+
/** The maximum acceptable surface gap between the intersected bodies. Must be positive (i.e. greater than zero). */
|
|
4679
|
+
tolerance: LengthUnit;
|
|
4680
|
+
type: 'boolean_imprint';
|
|
4564
4681
|
} | {
|
|
4565
4682
|
/**
|
|
4566
4683
|
* {
|
|
@@ -4619,6 +4736,38 @@ export declare type ModelingCmd = {
|
|
|
4619
4736
|
*/
|
|
4620
4737
|
enabled?: boolean;
|
|
4621
4738
|
type: 'set_order_independent_transparency';
|
|
4739
|
+
} | {
|
|
4740
|
+
/**
|
|
4741
|
+
* {
|
|
4742
|
+
* "default": false,
|
|
4743
|
+
* "description": "By default, curve counterclockwise at intersections. If this is true, instead curve clockwise."
|
|
4744
|
+
* }
|
|
4745
|
+
*/
|
|
4746
|
+
curve_clockwise?: boolean;
|
|
4747
|
+
/**
|
|
4748
|
+
* {
|
|
4749
|
+
* "default": -1,
|
|
4750
|
+
* "format": "int32",
|
|
4751
|
+
* "description": "At which intersection between `segment` and `intersection_segment` should we stop following the `segment` and start following `intersection_segment`? Defaults to -1, which means the last intersection."
|
|
4752
|
+
* }
|
|
4753
|
+
*/
|
|
4754
|
+
intersection_index?: number;
|
|
4755
|
+
/**
|
|
4756
|
+
* {
|
|
4757
|
+
* "format": "uuid",
|
|
4758
|
+
* "description": "Second segment to follow to find the region. Intersects the first segment."
|
|
4759
|
+
* }
|
|
4760
|
+
*/
|
|
4761
|
+
intersection_segment: string;
|
|
4762
|
+
/** format:uuid, description:Which sketch object to create the region from. */
|
|
4763
|
+
object_id: string;
|
|
4764
|
+
/** format:uuid, description:First segment to follow to find the region. */
|
|
4765
|
+
segment: string;
|
|
4766
|
+
type: 'create_region';
|
|
4767
|
+
} | {
|
|
4768
|
+
/** Where in the window was selected */
|
|
4769
|
+
selected_at_window: Point2d;
|
|
4770
|
+
type: 'select_region_from_point';
|
|
4622
4771
|
};
|
|
4623
4772
|
export declare type ModelingCmdId =
|
|
4624
4773
|
/**
|
|
@@ -4762,6 +4911,38 @@ export declare type OkModelingCmdResponse = {
|
|
|
4762
4911
|
*/
|
|
4763
4912
|
data: Solid3dShellFace;
|
|
4764
4913
|
type: 'solid3d_shell_face';
|
|
4914
|
+
} | {
|
|
4915
|
+
/**
|
|
4916
|
+
* {
|
|
4917
|
+
* "$ref": "#/components/schemas/Solid3dJoin"
|
|
4918
|
+
* }
|
|
4919
|
+
*/
|
|
4920
|
+
data: Solid3dJoin;
|
|
4921
|
+
type: 'solid3d_join';
|
|
4922
|
+
} | {
|
|
4923
|
+
/**
|
|
4924
|
+
* {
|
|
4925
|
+
* "$ref": "#/components/schemas/Solid3dGetEdgeUuid"
|
|
4926
|
+
* }
|
|
4927
|
+
*/
|
|
4928
|
+
data: Solid3dGetEdgeUuid;
|
|
4929
|
+
type: 'solid3d_get_edge_uuid';
|
|
4930
|
+
} | {
|
|
4931
|
+
/**
|
|
4932
|
+
* {
|
|
4933
|
+
* "$ref": "#/components/schemas/Solid3dGetFaceUuid"
|
|
4934
|
+
* }
|
|
4935
|
+
*/
|
|
4936
|
+
data: Solid3dGetFaceUuid;
|
|
4937
|
+
type: 'solid3d_get_face_uuid';
|
|
4938
|
+
} | {
|
|
4939
|
+
/**
|
|
4940
|
+
* {
|
|
4941
|
+
* "$ref": "#/components/schemas/Solid3dGetBodyType"
|
|
4942
|
+
* }
|
|
4943
|
+
*/
|
|
4944
|
+
data: Solid3dGetBodyType;
|
|
4945
|
+
type: 'solid3d_get_body_type';
|
|
4765
4946
|
} | {
|
|
4766
4947
|
/**
|
|
4767
4948
|
* {
|
|
@@ -5186,6 +5367,30 @@ export declare type OkModelingCmdResponse = {
|
|
|
5186
5367
|
*/
|
|
5187
5368
|
data: EntityGetChildUuid;
|
|
5188
5369
|
type: 'entity_get_child_uuid';
|
|
5370
|
+
} | {
|
|
5371
|
+
/**
|
|
5372
|
+
* {
|
|
5373
|
+
* "$ref": "#/components/schemas/EntityGetIndex"
|
|
5374
|
+
* }
|
|
5375
|
+
*/
|
|
5376
|
+
data: EntityGetIndex;
|
|
5377
|
+
type: 'entity_get_index';
|
|
5378
|
+
} | {
|
|
5379
|
+
/**
|
|
5380
|
+
* {
|
|
5381
|
+
* "$ref": "#/components/schemas/EntityGetPrimitiveIndex"
|
|
5382
|
+
* }
|
|
5383
|
+
*/
|
|
5384
|
+
data: EntityGetPrimitiveIndex;
|
|
5385
|
+
type: 'entity_get_primitive_index';
|
|
5386
|
+
} | {
|
|
5387
|
+
/**
|
|
5388
|
+
* {
|
|
5389
|
+
* "$ref": "#/components/schemas/EntityDeleteChildren"
|
|
5390
|
+
* }
|
|
5391
|
+
*/
|
|
5392
|
+
data: EntityDeleteChildren;
|
|
5393
|
+
type: 'entity_delete_children';
|
|
5189
5394
|
} | {
|
|
5190
5395
|
/**
|
|
5191
5396
|
* {
|
|
@@ -5370,6 +5575,22 @@ export declare type OkModelingCmdResponse = {
|
|
|
5370
5575
|
*/
|
|
5371
5576
|
data: Solid3dGetAllEdgeFaces;
|
|
5372
5577
|
type: 'solid3d_get_all_edge_faces';
|
|
5578
|
+
} | {
|
|
5579
|
+
/**
|
|
5580
|
+
* {
|
|
5581
|
+
* "$ref": "#/components/schemas/Solid3dFlip"
|
|
5582
|
+
* }
|
|
5583
|
+
*/
|
|
5584
|
+
data: Solid3dFlip;
|
|
5585
|
+
type: 'solid3d_flip';
|
|
5586
|
+
} | {
|
|
5587
|
+
/**
|
|
5588
|
+
* {
|
|
5589
|
+
* "$ref": "#/components/schemas/Solid3dFlipFace"
|
|
5590
|
+
* }
|
|
5591
|
+
*/
|
|
5592
|
+
data: Solid3dFlipFace;
|
|
5593
|
+
type: 'solid3d_flip_face';
|
|
5373
5594
|
} | {
|
|
5374
5595
|
/**
|
|
5375
5596
|
* {
|
|
@@ -5794,6 +6015,14 @@ export declare type OkModelingCmdResponse = {
|
|
|
5794
6015
|
*/
|
|
5795
6016
|
data: BooleanSubtract;
|
|
5796
6017
|
type: 'boolean_subtract';
|
|
6018
|
+
} | {
|
|
6019
|
+
/**
|
|
6020
|
+
* {
|
|
6021
|
+
* "$ref": "#/components/schemas/BooleanImprint"
|
|
6022
|
+
* }
|
|
6023
|
+
*/
|
|
6024
|
+
data: BooleanImprint;
|
|
6025
|
+
type: 'boolean_imprint';
|
|
5797
6026
|
} | {
|
|
5798
6027
|
/**
|
|
5799
6028
|
* {
|
|
@@ -5818,6 +6047,22 @@ export declare type OkModelingCmdResponse = {
|
|
|
5818
6047
|
*/
|
|
5819
6048
|
data: SetOrderIndependentTransparency;
|
|
5820
6049
|
type: 'set_order_independent_transparency';
|
|
6050
|
+
} | {
|
|
6051
|
+
/**
|
|
6052
|
+
* {
|
|
6053
|
+
* "$ref": "#/components/schemas/CreateRegion"
|
|
6054
|
+
* }
|
|
6055
|
+
*/
|
|
6056
|
+
data: CreateRegion;
|
|
6057
|
+
type: 'create_region';
|
|
6058
|
+
} | {
|
|
6059
|
+
/**
|
|
6060
|
+
* {
|
|
6061
|
+
* "$ref": "#/components/schemas/SelectRegionFromPoint"
|
|
6062
|
+
* }
|
|
6063
|
+
*/
|
|
6064
|
+
data: SelectRegionFromPoint;
|
|
6065
|
+
type: 'select_region_from_point';
|
|
5821
6066
|
};
|
|
5822
6067
|
export declare type OkWebSocketResponseData = {
|
|
5823
6068
|
data: {
|
|
@@ -6047,7 +6292,7 @@ export interface OrgDatasetConversionStatsResponse {
|
|
|
6047
6292
|
/** format:int64, description:Total number of tracked conversions. */
|
|
6048
6293
|
total: number;
|
|
6049
6294
|
}
|
|
6050
|
-
export interface
|
|
6295
|
+
export interface OrgDatasetFileConversionDetails {
|
|
6051
6296
|
/**
|
|
6052
6297
|
* {
|
|
6053
6298
|
* "nullable": true,
|
|
@@ -6061,7 +6306,7 @@ export interface OrgDatasetFileConversion {
|
|
|
6061
6306
|
created_at: string;
|
|
6062
6307
|
/** The ID of the dataset this file is being converted from. */
|
|
6063
6308
|
dataset_id: Uuid;
|
|
6064
|
-
/** File's ETag from dataset bucket, for detecting whether a file needs to be
|
|
6309
|
+
/** File's ETag from dataset bucket, for detecting whether a file needs to be reconverted. */
|
|
6065
6310
|
file_etag: string;
|
|
6066
6311
|
/** Location within dataset `path`. */
|
|
6067
6312
|
file_path: string;
|
|
@@ -6077,17 +6322,35 @@ export interface OrgDatasetFileConversion {
|
|
|
6077
6322
|
/**
|
|
6078
6323
|
* {
|
|
6079
6324
|
* "nullable": true,
|
|
6080
|
-
* "description": "Tracks which version
|
|
6325
|
+
* "description": "Tracks which version processed this file when available."
|
|
6081
6326
|
* }
|
|
6082
6327
|
*/
|
|
6083
6328
|
importer_version?: string;
|
|
6329
|
+
metadata: unknown;
|
|
6330
|
+
/** Snapshot images for the original source model. */
|
|
6331
|
+
original_snapshot_images: OrgDatasetSnapshotImage[];
|
|
6332
|
+
/** nullable:true, description:Plain-text contents of the converted artifact. */
|
|
6333
|
+
output?: string;
|
|
6334
|
+
/** Current step in the conversion pipeline. */
|
|
6335
|
+
phase: OrgDatasetFileConversionPhase;
|
|
6084
6336
|
/**
|
|
6085
6337
|
* {
|
|
6086
6338
|
* "nullable": true,
|
|
6087
|
-
* "description": "
|
|
6339
|
+
* "description": "Plain-text contents of the raw KCL artifact, when available."
|
|
6088
6340
|
* }
|
|
6089
6341
|
*/
|
|
6090
|
-
|
|
6342
|
+
raw_kcl_output?: string;
|
|
6343
|
+
/** Snapshot images for the raw KCL model. */
|
|
6344
|
+
raw_kcl_snapshot_images: OrgDatasetSnapshotImage[];
|
|
6345
|
+
/**
|
|
6346
|
+
* {
|
|
6347
|
+
* "nullable": true,
|
|
6348
|
+
* "description": "Plain-text contents of the salon/refactored KCL artifact, when available."
|
|
6349
|
+
* }
|
|
6350
|
+
*/
|
|
6351
|
+
salon_kcl_output?: string;
|
|
6352
|
+
/** Snapshot images for the salon/refactored KCL model. */
|
|
6353
|
+
salon_kcl_snapshot_images: OrgDatasetSnapshotImage[];
|
|
6091
6354
|
/**
|
|
6092
6355
|
* {
|
|
6093
6356
|
* "nullable": true,
|
|
@@ -6110,12 +6373,7 @@ export interface OrgDatasetFileConversion {
|
|
|
6110
6373
|
*/
|
|
6111
6374
|
updated_at: string;
|
|
6112
6375
|
}
|
|
6113
|
-
export
|
|
6114
|
-
/** Conversion metadata without storage pointers. */
|
|
6115
|
-
conversion: OrgDatasetFileConversionSummary;
|
|
6116
|
-
/** Plain-text contents of the converted artifact. */
|
|
6117
|
-
output: string;
|
|
6118
|
-
}
|
|
6376
|
+
export declare type OrgDatasetFileConversionPhase = 'queued' | 'snapshot_original' | 'convert_raw_kcl' | 'snapshot_raw_kcl' | 'salon' | 'snapshot_salon_kcl' | 'completed';
|
|
6119
6377
|
export declare type OrgDatasetFileConversionStatus = 'queued' | 'canceled' | 'in_progress' | 'success' | 'error_user' | 'error_unsupported' | 'error_internal';
|
|
6120
6378
|
export interface OrgDatasetFileConversionSummary {
|
|
6121
6379
|
/**
|
|
@@ -6151,6 +6409,9 @@ export interface OrgDatasetFileConversionSummary {
|
|
|
6151
6409
|
* }
|
|
6152
6410
|
*/
|
|
6153
6411
|
importer_version?: string;
|
|
6412
|
+
metadata: unknown;
|
|
6413
|
+
/** Current step in the conversion pipeline. */
|
|
6414
|
+
phase: OrgDatasetFileConversionPhase;
|
|
6154
6415
|
/**
|
|
6155
6416
|
* {
|
|
6156
6417
|
* "nullable": true,
|
|
@@ -6195,13 +6456,29 @@ export interface OrgDatasetResultsPage {
|
|
|
6195
6456
|
*/
|
|
6196
6457
|
next_page?: string;
|
|
6197
6458
|
}
|
|
6459
|
+
export interface OrgDatasetSnapshotImage {
|
|
6460
|
+
/** title:String, format:byte, description:Base64-encoded image bytes. */
|
|
6461
|
+
data_base64: string;
|
|
6462
|
+
/** MIME type of the stored image. */
|
|
6463
|
+
mime_type: string;
|
|
6464
|
+
}
|
|
6198
6465
|
export interface OrgDatasetSource {
|
|
6199
|
-
/**
|
|
6200
|
-
|
|
6466
|
+
/**
|
|
6467
|
+
* {
|
|
6468
|
+
* "nullable": true,
|
|
6469
|
+
* "description": "Identity we assume when accessing the dataset. Required when `provider` is `s3`; ignored for Zoo-managed datasets. Must be configured with the org's `aws_external_id` per AWS confused deputy guidance. See <https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html>."
|
|
6470
|
+
* }
|
|
6471
|
+
*/
|
|
6472
|
+
access_role_arn?: string;
|
|
6201
6473
|
/** Storage provider identifier. */
|
|
6202
6474
|
provider: StorageProvider;
|
|
6203
|
-
/**
|
|
6204
|
-
|
|
6475
|
+
/**
|
|
6476
|
+
* {
|
|
6477
|
+
* "nullable": true,
|
|
6478
|
+
* "description": "Fully-qualified URI for the dataset contents. Required when `provider` is `s3`; ignored for Zoo-managed datasets."
|
|
6479
|
+
* }
|
|
6480
|
+
*/
|
|
6481
|
+
uri?: string;
|
|
6205
6482
|
}
|
|
6206
6483
|
export declare type OrgDatasetStatus = 'active' | 'deleting' | 'errored';
|
|
6207
6484
|
export interface OrgDetails {
|
|
@@ -6884,6 +7161,15 @@ export interface SelectGet {
|
|
|
6884
7161
|
*/
|
|
6885
7162
|
entity_ids: string[];
|
|
6886
7163
|
}
|
|
7164
|
+
export interface SelectRegionFromPoint {
|
|
7165
|
+
/**
|
|
7166
|
+
* {
|
|
7167
|
+
* "nullable": true,
|
|
7168
|
+
* "description": "The region the user clicked on. If they clicked an open space which isn't a region, this returns None."
|
|
7169
|
+
* }
|
|
7170
|
+
*/
|
|
7171
|
+
region?: SelectedRegion;
|
|
7172
|
+
}
|
|
6887
7173
|
export interface SelectRemove {
|
|
6888
7174
|
}
|
|
6889
7175
|
export interface SelectReplace {
|
|
@@ -6892,6 +7178,32 @@ export interface SelectWithPoint {
|
|
|
6892
7178
|
/** nullable:true, format:uuid, description:The UUID of the entity that was selected. */
|
|
6893
7179
|
entity_id?: string;
|
|
6894
7180
|
}
|
|
7181
|
+
export interface SelectedRegion {
|
|
7182
|
+
/**
|
|
7183
|
+
* {
|
|
7184
|
+
* "default": false,
|
|
7185
|
+
* "description": "By default (when this is false), curve counterclockwise at intersections. If this is true, instead curve clockwise."
|
|
7186
|
+
* }
|
|
7187
|
+
*/
|
|
7188
|
+
curve_clockwise?: boolean;
|
|
7189
|
+
/**
|
|
7190
|
+
* {
|
|
7191
|
+
* "default": -1,
|
|
7192
|
+
* "format": "int32",
|
|
7193
|
+
* "description": "At which intersection between `segment` and `intersection_segment` should we stop following the `segment` and start following `intersection_segment`? Defaults to -1, which means the last intersection."
|
|
7194
|
+
* }
|
|
7195
|
+
*/
|
|
7196
|
+
intersection_index?: number;
|
|
7197
|
+
/**
|
|
7198
|
+
* {
|
|
7199
|
+
* "format": "uuid",
|
|
7200
|
+
* "description": "Second segment to follow to find the region. Intersects the first segment."
|
|
7201
|
+
* }
|
|
7202
|
+
*/
|
|
7203
|
+
intersection_segment: string;
|
|
7204
|
+
/** format:uuid, description:First segment to follow to find the region. */
|
|
7205
|
+
segment: string;
|
|
7206
|
+
}
|
|
6895
7207
|
export declare type Selection = {
|
|
6896
7208
|
type: 'default_scene';
|
|
6897
7209
|
} | {
|
|
@@ -7036,6 +7348,10 @@ export interface Solid3dCutEdges {
|
|
|
7036
7348
|
}
|
|
7037
7349
|
export interface Solid3dFilletEdge {
|
|
7038
7350
|
}
|
|
7351
|
+
export interface Solid3dFlip {
|
|
7352
|
+
}
|
|
7353
|
+
export interface Solid3dFlipFace {
|
|
7354
|
+
}
|
|
7039
7355
|
export interface Solid3dGetAdjacencyInfo {
|
|
7040
7356
|
/** Details of each edge. */
|
|
7041
7357
|
edges: AdjacencyInfo[];
|
|
@@ -7056,14 +7372,26 @@ export interface Solid3dGetAllOppositeEdges {
|
|
|
7056
7372
|
*/
|
|
7057
7373
|
edges: string[];
|
|
7058
7374
|
}
|
|
7375
|
+
export interface Solid3dGetBodyType {
|
|
7376
|
+
/** The body type */
|
|
7377
|
+
body_type: BodyType;
|
|
7378
|
+
}
|
|
7059
7379
|
export interface Solid3dGetCommonEdge {
|
|
7060
7380
|
/** nullable:true, format:uuid, description:The UUID of the common edge, if any. */
|
|
7061
7381
|
edge?: string;
|
|
7062
7382
|
}
|
|
7383
|
+
export interface Solid3dGetEdgeUuid {
|
|
7384
|
+
/** format:uuid, description:The UUID of the edge. */
|
|
7385
|
+
edge_id: string;
|
|
7386
|
+
}
|
|
7063
7387
|
export interface Solid3dGetExtrusionFaceInfo {
|
|
7064
7388
|
/** Details of each face. */
|
|
7065
7389
|
faces: ExtrusionFaceInfo[];
|
|
7066
7390
|
}
|
|
7391
|
+
export interface Solid3dGetFaceUuid {
|
|
7392
|
+
/** format:uuid, description:The UUID of the face. */
|
|
7393
|
+
face_id: string;
|
|
7394
|
+
}
|
|
7067
7395
|
export interface Solid3dGetNextAdjacentEdge {
|
|
7068
7396
|
/** nullable:true, format:uuid, description:The UUID of the edge. */
|
|
7069
7397
|
edge?: string;
|
|
@@ -7076,6 +7404,8 @@ export interface Solid3dGetPrevAdjacentEdge {
|
|
|
7076
7404
|
/** nullable:true, format:uuid, description:The UUID of the edge. */
|
|
7077
7405
|
edge?: string;
|
|
7078
7406
|
}
|
|
7407
|
+
export interface Solid3dJoin {
|
|
7408
|
+
}
|
|
7079
7409
|
export interface Solid3dShellFace {
|
|
7080
7410
|
}
|
|
7081
7411
|
export interface SourcePosition {
|
|
@@ -7106,7 +7436,7 @@ export interface SourceRangePrompt {
|
|
|
7106
7436
|
export interface StartPath {
|
|
7107
7437
|
}
|
|
7108
7438
|
export declare type StlStorage = 'ascii' | 'binary';
|
|
7109
|
-
export declare type StorageProvider = 's3';
|
|
7439
|
+
export declare type StorageProvider = 's3' | 'zoo_managed';
|
|
7110
7440
|
export interface StoreCouponParams {
|
|
7111
7441
|
/** format:uint32, minimum:0, description:The percentage off. */
|
|
7112
7442
|
percent_off: number;
|
|
@@ -8421,6 +8751,12 @@ export interface UpdateUser {
|
|
|
8421
8751
|
*/
|
|
8422
8752
|
phone?: string;
|
|
8423
8753
|
}
|
|
8754
|
+
export interface UploadOrgDatasetFilesResponse {
|
|
8755
|
+
/** format:uint, minimum:0, description:Number of conversion jobs newly queued. */
|
|
8756
|
+
queued_conversions: number;
|
|
8757
|
+
/** format:uint, minimum:0, description:Number of files accepted and stored. */
|
|
8758
|
+
uploaded_files: number;
|
|
8759
|
+
}
|
|
8424
8760
|
export interface User {
|
|
8425
8761
|
/** nullable:true, description:If the user should be blocked and the reason why. */
|
|
8426
8762
|
block?: BlockReason;
|
|
@@ -8859,6 +9195,7 @@ export interface Models {
|
|
|
8859
9195
|
BillingInfo: BillingInfo;
|
|
8860
9196
|
BlockReason: BlockReason;
|
|
8861
9197
|
BodyType: BodyType;
|
|
9198
|
+
BooleanImprint: BooleanImprint;
|
|
8862
9199
|
BooleanIntersection: BooleanIntersection;
|
|
8863
9200
|
BooleanSubtract: BooleanSubtract;
|
|
8864
9201
|
BooleanUnion: BooleanUnion;
|
|
@@ -8887,6 +9224,7 @@ export interface Models {
|
|
|
8887
9224
|
Coupon: Coupon;
|
|
8888
9225
|
CreateCustomModel: CreateCustomModel;
|
|
8889
9226
|
CreateOrgDataset: CreateOrgDataset;
|
|
9227
|
+
CreateRegion: CreateRegion;
|
|
8890
9228
|
CreateShortlinkRequest: CreateShortlinkRequest;
|
|
8891
9229
|
CreateShortlinkResponse: CreateShortlinkResponse;
|
|
8892
9230
|
CreatedAtSortMode: CreatedAtSortMode;
|
|
@@ -8935,12 +9273,15 @@ export interface Models {
|
|
|
8935
9273
|
EngineUtilEvaluatePath: EngineUtilEvaluatePath;
|
|
8936
9274
|
EntityCircularPattern: EntityCircularPattern;
|
|
8937
9275
|
EntityClone: EntityClone;
|
|
9276
|
+
EntityDeleteChildren: EntityDeleteChildren;
|
|
8938
9277
|
EntityFade: EntityFade;
|
|
8939
9278
|
EntityGetAllChildUuids: EntityGetAllChildUuids;
|
|
8940
9279
|
EntityGetChildUuid: EntityGetChildUuid;
|
|
8941
9280
|
EntityGetDistance: EntityGetDistance;
|
|
9281
|
+
EntityGetIndex: EntityGetIndex;
|
|
8942
9282
|
EntityGetNumChildren: EntityGetNumChildren;
|
|
8943
9283
|
EntityGetParentId: EntityGetParentId;
|
|
9284
|
+
EntityGetPrimitiveIndex: EntityGetPrimitiveIndex;
|
|
8944
9285
|
EntityGetSketchPaths: EntityGetSketchPaths;
|
|
8945
9286
|
EntityLinearPattern: EntityLinearPattern;
|
|
8946
9287
|
EntityLinearPatternTransform: EntityLinearPatternTransform;
|
|
@@ -9059,12 +9400,13 @@ export interface Models {
|
|
|
9059
9400
|
OrgAdminDetails: OrgAdminDetails;
|
|
9060
9401
|
OrgDataset: OrgDataset;
|
|
9061
9402
|
OrgDatasetConversionStatsResponse: OrgDatasetConversionStatsResponse;
|
|
9062
|
-
OrgDatasetFileConversion: OrgDatasetFileConversion;
|
|
9063
9403
|
OrgDatasetFileConversionDetails: OrgDatasetFileConversionDetails;
|
|
9404
|
+
OrgDatasetFileConversionPhase: OrgDatasetFileConversionPhase;
|
|
9064
9405
|
OrgDatasetFileConversionStatus: OrgDatasetFileConversionStatus;
|
|
9065
9406
|
OrgDatasetFileConversionSummary: OrgDatasetFileConversionSummary;
|
|
9066
9407
|
OrgDatasetFileConversionSummaryResultsPage: OrgDatasetFileConversionSummaryResultsPage;
|
|
9067
9408
|
OrgDatasetResultsPage: OrgDatasetResultsPage;
|
|
9409
|
+
OrgDatasetSnapshotImage: OrgDatasetSnapshotImage;
|
|
9068
9410
|
OrgDatasetSource: OrgDatasetSource;
|
|
9069
9411
|
OrgDatasetStatus: OrgDatasetStatus;
|
|
9070
9412
|
OrgDetails: OrgDetails;
|
|
@@ -9126,9 +9468,11 @@ export interface Models {
|
|
|
9126
9468
|
SelectAdd: SelectAdd;
|
|
9127
9469
|
SelectClear: SelectClear;
|
|
9128
9470
|
SelectGet: SelectGet;
|
|
9471
|
+
SelectRegionFromPoint: SelectRegionFromPoint;
|
|
9129
9472
|
SelectRemove: SelectRemove;
|
|
9130
9473
|
SelectReplace: SelectReplace;
|
|
9131
9474
|
SelectWithPoint: SelectWithPoint;
|
|
9475
|
+
SelectedRegion: SelectedRegion;
|
|
9132
9476
|
Selection: Selection;
|
|
9133
9477
|
SendObject: SendObject;
|
|
9134
9478
|
ServiceAccount: ServiceAccount;
|
|
@@ -9155,14 +9499,20 @@ export interface Models {
|
|
|
9155
9499
|
Solid2dAddHole: Solid2dAddHole;
|
|
9156
9500
|
Solid3dCutEdges: Solid3dCutEdges;
|
|
9157
9501
|
Solid3dFilletEdge: Solid3dFilletEdge;
|
|
9502
|
+
Solid3dFlip: Solid3dFlip;
|
|
9503
|
+
Solid3dFlipFace: Solid3dFlipFace;
|
|
9158
9504
|
Solid3dGetAdjacencyInfo: Solid3dGetAdjacencyInfo;
|
|
9159
9505
|
Solid3dGetAllEdgeFaces: Solid3dGetAllEdgeFaces;
|
|
9160
9506
|
Solid3dGetAllOppositeEdges: Solid3dGetAllOppositeEdges;
|
|
9507
|
+
Solid3dGetBodyType: Solid3dGetBodyType;
|
|
9161
9508
|
Solid3dGetCommonEdge: Solid3dGetCommonEdge;
|
|
9509
|
+
Solid3dGetEdgeUuid: Solid3dGetEdgeUuid;
|
|
9162
9510
|
Solid3dGetExtrusionFaceInfo: Solid3dGetExtrusionFaceInfo;
|
|
9511
|
+
Solid3dGetFaceUuid: Solid3dGetFaceUuid;
|
|
9163
9512
|
Solid3dGetNextAdjacentEdge: Solid3dGetNextAdjacentEdge;
|
|
9164
9513
|
Solid3dGetOppositeEdge: Solid3dGetOppositeEdge;
|
|
9165
9514
|
Solid3dGetPrevAdjacentEdge: Solid3dGetPrevAdjacentEdge;
|
|
9515
|
+
Solid3dJoin: Solid3dJoin;
|
|
9166
9516
|
Solid3dShellFace: Solid3dShellFace;
|
|
9167
9517
|
SourcePosition: SourcePosition;
|
|
9168
9518
|
SourceRange: SourceRange;
|
|
@@ -9234,6 +9584,7 @@ export interface Models {
|
|
|
9234
9584
|
UpdatePaymentBalance: UpdatePaymentBalance;
|
|
9235
9585
|
UpdateShortlinkRequest: UpdateShortlinkRequest;
|
|
9236
9586
|
UpdateUser: UpdateUser;
|
|
9587
|
+
UploadOrgDatasetFilesResponse: UploadOrgDatasetFilesResponse;
|
|
9237
9588
|
User: User;
|
|
9238
9589
|
UserAdminDetails: UserAdminDetails;
|
|
9239
9590
|
UserFeature: UserFeature;
|