@kittycad/lib 3.1.22 → 3.1.24
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 +2 -0
- 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 +368 -73
- package/dist/types/src/models.d.ts.map +1 -1
- package/package.json +6 -6
- 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. */
|
|
@@ -3032,6 +3077,11 @@ export declare type MlCopilotServerMessage = {
|
|
|
3032
3077
|
/** The informational text. */
|
|
3033
3078
|
text: string;
|
|
3034
3079
|
};
|
|
3080
|
+
} | {
|
|
3081
|
+
backend_shutdown: {
|
|
3082
|
+
/** nullable:true, description:The reason given for the backend shutdown. */
|
|
3083
|
+
reason?: string;
|
|
3084
|
+
};
|
|
3035
3085
|
} | {
|
|
3036
3086
|
project_updated: {
|
|
3037
3087
|
files: {
|
|
@@ -3123,7 +3173,7 @@ export interface MlPrompt {
|
|
|
3123
3173
|
/**
|
|
3124
3174
|
* {
|
|
3125
3175
|
* "nullable": true,
|
|
3126
|
-
* "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."
|
|
3127
3177
|
* }
|
|
3128
3178
|
*/
|
|
3129
3179
|
output_file?: string;
|
|
@@ -3353,6 +3403,13 @@ export declare type ModelingCmd = {
|
|
|
3353
3403
|
* }
|
|
3354
3404
|
*/
|
|
3355
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;
|
|
3356
3413
|
/**
|
|
3357
3414
|
* {
|
|
3358
3415
|
* "default": "None",
|
|
@@ -3485,6 +3542,26 @@ export declare type ModelingCmd = {
|
|
|
3485
3542
|
/** How thick the shell should be. Smaller values mean a thinner shell. */
|
|
3486
3543
|
shell_thickness: LengthUnit;
|
|
3487
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';
|
|
3488
3565
|
} | {
|
|
3489
3566
|
/** The signed angle of revolution (in degrees, must be <= 360 in either direction) */
|
|
3490
3567
|
angle: Angle;
|
|
@@ -3526,6 +3603,13 @@ export declare type ModelingCmd = {
|
|
|
3526
3603
|
base_curve_index?: number;
|
|
3527
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. */
|
|
3528
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;
|
|
3529
3613
|
/**
|
|
3530
3614
|
* {
|
|
3531
3615
|
* "format": "uuid"
|
|
@@ -3681,6 +3765,24 @@ export declare type ModelingCmd = {
|
|
|
3681
3765
|
/** format:uuid, description:ID of the entity being queried. */
|
|
3682
3766
|
entity_id: string;
|
|
3683
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';
|
|
3684
3786
|
} | {
|
|
3685
3787
|
/** format:uuid, description:ID of the entity being queried. */
|
|
3686
3788
|
entity_id: string;
|
|
@@ -3926,6 +4028,16 @@ export declare type ModelingCmd = {
|
|
|
3926
4028
|
/** format:uuid, description:Which object is being queried. */
|
|
3927
4029
|
object_id: string;
|
|
3928
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';
|
|
3929
4041
|
} | {
|
|
3930
4042
|
/**
|
|
3931
4043
|
* {
|
|
@@ -4556,6 +4668,16 @@ export declare type ModelingCmd = {
|
|
|
4556
4668
|
*/
|
|
4557
4669
|
tool_ids: string[];
|
|
4558
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';
|
|
4559
4681
|
} | {
|
|
4560
4682
|
/**
|
|
4561
4683
|
* {
|
|
@@ -4614,6 +4736,38 @@ export declare type ModelingCmd = {
|
|
|
4614
4736
|
*/
|
|
4615
4737
|
enabled?: boolean;
|
|
4616
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';
|
|
4617
4771
|
};
|
|
4618
4772
|
export declare type ModelingCmdId =
|
|
4619
4773
|
/**
|
|
@@ -4757,6 +4911,38 @@ export declare type OkModelingCmdResponse = {
|
|
|
4757
4911
|
*/
|
|
4758
4912
|
data: Solid3dShellFace;
|
|
4759
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';
|
|
4760
4946
|
} | {
|
|
4761
4947
|
/**
|
|
4762
4948
|
* {
|
|
@@ -5181,6 +5367,30 @@ export declare type OkModelingCmdResponse = {
|
|
|
5181
5367
|
*/
|
|
5182
5368
|
data: EntityGetChildUuid;
|
|
5183
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';
|
|
5184
5394
|
} | {
|
|
5185
5395
|
/**
|
|
5186
5396
|
* {
|
|
@@ -5365,6 +5575,22 @@ export declare type OkModelingCmdResponse = {
|
|
|
5365
5575
|
*/
|
|
5366
5576
|
data: Solid3dGetAllEdgeFaces;
|
|
5367
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';
|
|
5368
5594
|
} | {
|
|
5369
5595
|
/**
|
|
5370
5596
|
* {
|
|
@@ -5789,6 +6015,14 @@ export declare type OkModelingCmdResponse = {
|
|
|
5789
6015
|
*/
|
|
5790
6016
|
data: BooleanSubtract;
|
|
5791
6017
|
type: 'boolean_subtract';
|
|
6018
|
+
} | {
|
|
6019
|
+
/**
|
|
6020
|
+
* {
|
|
6021
|
+
* "$ref": "#/components/schemas/BooleanImprint"
|
|
6022
|
+
* }
|
|
6023
|
+
*/
|
|
6024
|
+
data: BooleanImprint;
|
|
6025
|
+
type: 'boolean_imprint';
|
|
5792
6026
|
} | {
|
|
5793
6027
|
/**
|
|
5794
6028
|
* {
|
|
@@ -5813,6 +6047,22 @@ export declare type OkModelingCmdResponse = {
|
|
|
5813
6047
|
*/
|
|
5814
6048
|
data: SetOrderIndependentTransparency;
|
|
5815
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';
|
|
5816
6066
|
};
|
|
5817
6067
|
export declare type OkWebSocketResponseData = {
|
|
5818
6068
|
data: {
|
|
@@ -6042,75 +6292,19 @@ export interface OrgDatasetConversionStatsResponse {
|
|
|
6042
6292
|
/** format:int64, description:Total number of tracked conversions. */
|
|
6043
6293
|
total: number;
|
|
6044
6294
|
}
|
|
6045
|
-
export interface OrgDatasetFileConversion {
|
|
6046
|
-
/**
|
|
6047
|
-
* {
|
|
6048
|
-
* "nullable": true,
|
|
6049
|
-
* "title": "DateTime",
|
|
6050
|
-
* "format": "date-time",
|
|
6051
|
-
* "description": "The date and time the conversion got its current `status`."
|
|
6052
|
-
* }
|
|
6053
|
-
*/
|
|
6054
|
-
completed_at?: string;
|
|
6055
|
-
/** title:DateTime, format:date-time, description:The date and time the conversion was created. */
|
|
6056
|
-
created_at: string;
|
|
6057
|
-
/** The ID of the dataset this file is being converted from. */
|
|
6058
|
-
dataset_id: Uuid;
|
|
6059
|
-
/** File's ETag from dataset bucket, for detecting whether a file needs to be converted again can be reused when creating new custom ML models. */
|
|
6060
|
-
file_etag: string;
|
|
6061
|
-
/** Location within dataset `path`. */
|
|
6062
|
-
file_path: string;
|
|
6063
|
-
/**
|
|
6064
|
-
* {
|
|
6065
|
-
* "format": "int64",
|
|
6066
|
-
* "description": "Number of bytes, for measuring throughput and debugging conversion errors."
|
|
6067
|
-
* }
|
|
6068
|
-
*/
|
|
6069
|
-
file_size: number;
|
|
6070
|
-
/** The unique identifier for the conversion. */
|
|
6071
|
-
id: Uuid;
|
|
6072
|
-
/**
|
|
6073
|
-
* {
|
|
6074
|
-
* "nullable": true,
|
|
6075
|
-
* "description": "Tracks which version the file was processed with. If conversion failed due to an internal error, then it will be retried on converter version change."
|
|
6076
|
-
* }
|
|
6077
|
-
*/
|
|
6078
|
-
importer_version?: string;
|
|
6079
|
-
/**
|
|
6080
|
-
* {
|
|
6081
|
-
* "nullable": true,
|
|
6082
|
-
* "description": "Path where the processed file output is stored, when available."
|
|
6083
|
-
* }
|
|
6084
|
-
*/
|
|
6085
|
-
output_path?: string;
|
|
6086
|
-
/**
|
|
6087
|
-
* {
|
|
6088
|
-
* "nullable": true,
|
|
6089
|
-
* "title": "DateTime",
|
|
6090
|
-
* "format": "date-time",
|
|
6091
|
-
* "description": "The date and time the conversion started."
|
|
6092
|
-
* }
|
|
6093
|
-
*/
|
|
6094
|
-
started_at?: string;
|
|
6095
|
-
/** Conversion status. */
|
|
6096
|
-
status: OrgDatasetFileConversionStatus;
|
|
6097
|
-
/** nullable:true, description:Details associated with `status`. */
|
|
6098
|
-
status_message?: string;
|
|
6099
|
-
/**
|
|
6100
|
-
* {
|
|
6101
|
-
* "title": "DateTime",
|
|
6102
|
-
* "format": "date-time",
|
|
6103
|
-
* "description": "The date and time the conversion was last updated."
|
|
6104
|
-
* }
|
|
6105
|
-
*/
|
|
6106
|
-
updated_at: string;
|
|
6107
|
-
}
|
|
6108
6295
|
export interface OrgDatasetFileConversionDetails {
|
|
6109
6296
|
/** Conversion metadata without storage pointers. */
|
|
6110
6297
|
conversion: OrgDatasetFileConversionSummary;
|
|
6298
|
+
/** Snapshot images for the original source model. */
|
|
6299
|
+
original_snapshot_images: OrgDatasetSnapshotImage[];
|
|
6111
6300
|
/** Plain-text contents of the converted artifact. */
|
|
6112
6301
|
output: string;
|
|
6302
|
+
/** Snapshot images for the raw KCL model. */
|
|
6303
|
+
raw_kcl_snapshot_images: OrgDatasetSnapshotImage[];
|
|
6304
|
+
/** Snapshot images for the salon/refactored KCL model. */
|
|
6305
|
+
salon_kcl_snapshot_images: OrgDatasetSnapshotImage[];
|
|
6113
6306
|
}
|
|
6307
|
+
export declare type OrgDatasetFileConversionPhase = 'queued' | 'snapshot_original' | 'convert_raw_kcl' | 'snapshot_raw_kcl' | 'salon' | 'snapshot_salon_kcl' | 'completed';
|
|
6114
6308
|
export declare type OrgDatasetFileConversionStatus = 'queued' | 'canceled' | 'in_progress' | 'success' | 'error_user' | 'error_unsupported' | 'error_internal';
|
|
6115
6309
|
export interface OrgDatasetFileConversionSummary {
|
|
6116
6310
|
/**
|
|
@@ -6146,6 +6340,17 @@ export interface OrgDatasetFileConversionSummary {
|
|
|
6146
6340
|
* }
|
|
6147
6341
|
*/
|
|
6148
6342
|
importer_version?: string;
|
|
6343
|
+
metadata: unknown;
|
|
6344
|
+
/** Current step in the conversion pipeline. */
|
|
6345
|
+
phase: OrgDatasetFileConversionPhase;
|
|
6346
|
+
/**
|
|
6347
|
+
* {
|
|
6348
|
+
* "format": "uint8",
|
|
6349
|
+
* "minimum": 0,
|
|
6350
|
+
* "description": "Numeric index for `phase` so clients do not need to hardcode enum ordering.\n\nMapping: - `0`: `queued` - `1`: `snapshot_original` - `2`: `convert_raw_kcl` - `3`: `snapshot_raw_kcl` - `4`: `salon` - `5`: `snapshot_salon_kcl` - `6`: `completed`"
|
|
6351
|
+
* }
|
|
6352
|
+
*/
|
|
6353
|
+
phase_index: number;
|
|
6149
6354
|
/**
|
|
6150
6355
|
* {
|
|
6151
6356
|
* "nullable": true,
|
|
@@ -6190,13 +6395,29 @@ export interface OrgDatasetResultsPage {
|
|
|
6190
6395
|
*/
|
|
6191
6396
|
next_page?: string;
|
|
6192
6397
|
}
|
|
6398
|
+
export interface OrgDatasetSnapshotImage {
|
|
6399
|
+
/** title:String, format:byte, description:Base64-encoded image bytes. */
|
|
6400
|
+
data_base64: string;
|
|
6401
|
+
/** MIME type of the stored image. */
|
|
6402
|
+
mime_type: string;
|
|
6403
|
+
}
|
|
6193
6404
|
export interface OrgDatasetSource {
|
|
6194
|
-
/**
|
|
6195
|
-
|
|
6405
|
+
/**
|
|
6406
|
+
* {
|
|
6407
|
+
* "nullable": true,
|
|
6408
|
+
* "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>."
|
|
6409
|
+
* }
|
|
6410
|
+
*/
|
|
6411
|
+
access_role_arn?: string;
|
|
6196
6412
|
/** Storage provider identifier. */
|
|
6197
6413
|
provider: StorageProvider;
|
|
6198
|
-
/**
|
|
6199
|
-
|
|
6414
|
+
/**
|
|
6415
|
+
* {
|
|
6416
|
+
* "nullable": true,
|
|
6417
|
+
* "description": "Fully-qualified URI for the dataset contents. Required when `provider` is `s3`; ignored for Zoo-managed datasets."
|
|
6418
|
+
* }
|
|
6419
|
+
*/
|
|
6420
|
+
uri?: string;
|
|
6200
6421
|
}
|
|
6201
6422
|
export declare type OrgDatasetStatus = 'active' | 'deleting' | 'errored';
|
|
6202
6423
|
export interface OrgDetails {
|
|
@@ -6879,6 +7100,15 @@ export interface SelectGet {
|
|
|
6879
7100
|
*/
|
|
6880
7101
|
entity_ids: string[];
|
|
6881
7102
|
}
|
|
7103
|
+
export interface SelectRegionFromPoint {
|
|
7104
|
+
/**
|
|
7105
|
+
* {
|
|
7106
|
+
* "nullable": true,
|
|
7107
|
+
* "description": "The region the user clicked on. If they clicked an open space which isn't a region, this returns None."
|
|
7108
|
+
* }
|
|
7109
|
+
*/
|
|
7110
|
+
region?: SelectedRegion;
|
|
7111
|
+
}
|
|
6882
7112
|
export interface SelectRemove {
|
|
6883
7113
|
}
|
|
6884
7114
|
export interface SelectReplace {
|
|
@@ -6887,6 +7117,32 @@ export interface SelectWithPoint {
|
|
|
6887
7117
|
/** nullable:true, format:uuid, description:The UUID of the entity that was selected. */
|
|
6888
7118
|
entity_id?: string;
|
|
6889
7119
|
}
|
|
7120
|
+
export interface SelectedRegion {
|
|
7121
|
+
/**
|
|
7122
|
+
* {
|
|
7123
|
+
* "default": false,
|
|
7124
|
+
* "description": "By default (when this is false), curve counterclockwise at intersections. If this is true, instead curve clockwise."
|
|
7125
|
+
* }
|
|
7126
|
+
*/
|
|
7127
|
+
curve_clockwise?: boolean;
|
|
7128
|
+
/**
|
|
7129
|
+
* {
|
|
7130
|
+
* "default": -1,
|
|
7131
|
+
* "format": "int32",
|
|
7132
|
+
* "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."
|
|
7133
|
+
* }
|
|
7134
|
+
*/
|
|
7135
|
+
intersection_index?: number;
|
|
7136
|
+
/**
|
|
7137
|
+
* {
|
|
7138
|
+
* "format": "uuid",
|
|
7139
|
+
* "description": "Second segment to follow to find the region. Intersects the first segment."
|
|
7140
|
+
* }
|
|
7141
|
+
*/
|
|
7142
|
+
intersection_segment: string;
|
|
7143
|
+
/** format:uuid, description:First segment to follow to find the region. */
|
|
7144
|
+
segment: string;
|
|
7145
|
+
}
|
|
6890
7146
|
export declare type Selection = {
|
|
6891
7147
|
type: 'default_scene';
|
|
6892
7148
|
} | {
|
|
@@ -7031,6 +7287,10 @@ export interface Solid3dCutEdges {
|
|
|
7031
7287
|
}
|
|
7032
7288
|
export interface Solid3dFilletEdge {
|
|
7033
7289
|
}
|
|
7290
|
+
export interface Solid3dFlip {
|
|
7291
|
+
}
|
|
7292
|
+
export interface Solid3dFlipFace {
|
|
7293
|
+
}
|
|
7034
7294
|
export interface Solid3dGetAdjacencyInfo {
|
|
7035
7295
|
/** Details of each edge. */
|
|
7036
7296
|
edges: AdjacencyInfo[];
|
|
@@ -7051,14 +7311,26 @@ export interface Solid3dGetAllOppositeEdges {
|
|
|
7051
7311
|
*/
|
|
7052
7312
|
edges: string[];
|
|
7053
7313
|
}
|
|
7314
|
+
export interface Solid3dGetBodyType {
|
|
7315
|
+
/** The body type */
|
|
7316
|
+
body_type: BodyType;
|
|
7317
|
+
}
|
|
7054
7318
|
export interface Solid3dGetCommonEdge {
|
|
7055
7319
|
/** nullable:true, format:uuid, description:The UUID of the common edge, if any. */
|
|
7056
7320
|
edge?: string;
|
|
7057
7321
|
}
|
|
7322
|
+
export interface Solid3dGetEdgeUuid {
|
|
7323
|
+
/** format:uuid, description:The UUID of the edge. */
|
|
7324
|
+
edge_id: string;
|
|
7325
|
+
}
|
|
7058
7326
|
export interface Solid3dGetExtrusionFaceInfo {
|
|
7059
7327
|
/** Details of each face. */
|
|
7060
7328
|
faces: ExtrusionFaceInfo[];
|
|
7061
7329
|
}
|
|
7330
|
+
export interface Solid3dGetFaceUuid {
|
|
7331
|
+
/** format:uuid, description:The UUID of the face. */
|
|
7332
|
+
face_id: string;
|
|
7333
|
+
}
|
|
7062
7334
|
export interface Solid3dGetNextAdjacentEdge {
|
|
7063
7335
|
/** nullable:true, format:uuid, description:The UUID of the edge. */
|
|
7064
7336
|
edge?: string;
|
|
@@ -7071,6 +7343,8 @@ export interface Solid3dGetPrevAdjacentEdge {
|
|
|
7071
7343
|
/** nullable:true, format:uuid, description:The UUID of the edge. */
|
|
7072
7344
|
edge?: string;
|
|
7073
7345
|
}
|
|
7346
|
+
export interface Solid3dJoin {
|
|
7347
|
+
}
|
|
7074
7348
|
export interface Solid3dShellFace {
|
|
7075
7349
|
}
|
|
7076
7350
|
export interface SourcePosition {
|
|
@@ -7101,7 +7375,7 @@ export interface SourceRangePrompt {
|
|
|
7101
7375
|
export interface StartPath {
|
|
7102
7376
|
}
|
|
7103
7377
|
export declare type StlStorage = 'ascii' | 'binary';
|
|
7104
|
-
export declare type StorageProvider = 's3';
|
|
7378
|
+
export declare type StorageProvider = 's3' | 'zoo_managed';
|
|
7105
7379
|
export interface StoreCouponParams {
|
|
7106
7380
|
/** format:uint32, minimum:0, description:The percentage off. */
|
|
7107
7381
|
percent_off: number;
|
|
@@ -8416,6 +8690,12 @@ export interface UpdateUser {
|
|
|
8416
8690
|
*/
|
|
8417
8691
|
phone?: string;
|
|
8418
8692
|
}
|
|
8693
|
+
export interface UploadOrgDatasetFilesResponse {
|
|
8694
|
+
/** format:uint, minimum:0, description:Number of conversion jobs newly queued. */
|
|
8695
|
+
queued_conversions: number;
|
|
8696
|
+
/** format:uint, minimum:0, description:Number of files accepted and stored. */
|
|
8697
|
+
uploaded_files: number;
|
|
8698
|
+
}
|
|
8419
8699
|
export interface User {
|
|
8420
8700
|
/** nullable:true, description:If the user should be blocked and the reason why. */
|
|
8421
8701
|
block?: BlockReason;
|
|
@@ -8854,6 +9134,7 @@ export interface Models {
|
|
|
8854
9134
|
BillingInfo: BillingInfo;
|
|
8855
9135
|
BlockReason: BlockReason;
|
|
8856
9136
|
BodyType: BodyType;
|
|
9137
|
+
BooleanImprint: BooleanImprint;
|
|
8857
9138
|
BooleanIntersection: BooleanIntersection;
|
|
8858
9139
|
BooleanSubtract: BooleanSubtract;
|
|
8859
9140
|
BooleanUnion: BooleanUnion;
|
|
@@ -8882,6 +9163,7 @@ export interface Models {
|
|
|
8882
9163
|
Coupon: Coupon;
|
|
8883
9164
|
CreateCustomModel: CreateCustomModel;
|
|
8884
9165
|
CreateOrgDataset: CreateOrgDataset;
|
|
9166
|
+
CreateRegion: CreateRegion;
|
|
8885
9167
|
CreateShortlinkRequest: CreateShortlinkRequest;
|
|
8886
9168
|
CreateShortlinkResponse: CreateShortlinkResponse;
|
|
8887
9169
|
CreatedAtSortMode: CreatedAtSortMode;
|
|
@@ -8930,12 +9212,15 @@ export interface Models {
|
|
|
8930
9212
|
EngineUtilEvaluatePath: EngineUtilEvaluatePath;
|
|
8931
9213
|
EntityCircularPattern: EntityCircularPattern;
|
|
8932
9214
|
EntityClone: EntityClone;
|
|
9215
|
+
EntityDeleteChildren: EntityDeleteChildren;
|
|
8933
9216
|
EntityFade: EntityFade;
|
|
8934
9217
|
EntityGetAllChildUuids: EntityGetAllChildUuids;
|
|
8935
9218
|
EntityGetChildUuid: EntityGetChildUuid;
|
|
8936
9219
|
EntityGetDistance: EntityGetDistance;
|
|
9220
|
+
EntityGetIndex: EntityGetIndex;
|
|
8937
9221
|
EntityGetNumChildren: EntityGetNumChildren;
|
|
8938
9222
|
EntityGetParentId: EntityGetParentId;
|
|
9223
|
+
EntityGetPrimitiveIndex: EntityGetPrimitiveIndex;
|
|
8939
9224
|
EntityGetSketchPaths: EntityGetSketchPaths;
|
|
8940
9225
|
EntityLinearPattern: EntityLinearPattern;
|
|
8941
9226
|
EntityLinearPatternTransform: EntityLinearPatternTransform;
|
|
@@ -9054,12 +9339,13 @@ export interface Models {
|
|
|
9054
9339
|
OrgAdminDetails: OrgAdminDetails;
|
|
9055
9340
|
OrgDataset: OrgDataset;
|
|
9056
9341
|
OrgDatasetConversionStatsResponse: OrgDatasetConversionStatsResponse;
|
|
9057
|
-
OrgDatasetFileConversion: OrgDatasetFileConversion;
|
|
9058
9342
|
OrgDatasetFileConversionDetails: OrgDatasetFileConversionDetails;
|
|
9343
|
+
OrgDatasetFileConversionPhase: OrgDatasetFileConversionPhase;
|
|
9059
9344
|
OrgDatasetFileConversionStatus: OrgDatasetFileConversionStatus;
|
|
9060
9345
|
OrgDatasetFileConversionSummary: OrgDatasetFileConversionSummary;
|
|
9061
9346
|
OrgDatasetFileConversionSummaryResultsPage: OrgDatasetFileConversionSummaryResultsPage;
|
|
9062
9347
|
OrgDatasetResultsPage: OrgDatasetResultsPage;
|
|
9348
|
+
OrgDatasetSnapshotImage: OrgDatasetSnapshotImage;
|
|
9063
9349
|
OrgDatasetSource: OrgDatasetSource;
|
|
9064
9350
|
OrgDatasetStatus: OrgDatasetStatus;
|
|
9065
9351
|
OrgDetails: OrgDetails;
|
|
@@ -9121,9 +9407,11 @@ export interface Models {
|
|
|
9121
9407
|
SelectAdd: SelectAdd;
|
|
9122
9408
|
SelectClear: SelectClear;
|
|
9123
9409
|
SelectGet: SelectGet;
|
|
9410
|
+
SelectRegionFromPoint: SelectRegionFromPoint;
|
|
9124
9411
|
SelectRemove: SelectRemove;
|
|
9125
9412
|
SelectReplace: SelectReplace;
|
|
9126
9413
|
SelectWithPoint: SelectWithPoint;
|
|
9414
|
+
SelectedRegion: SelectedRegion;
|
|
9127
9415
|
Selection: Selection;
|
|
9128
9416
|
SendObject: SendObject;
|
|
9129
9417
|
ServiceAccount: ServiceAccount;
|
|
@@ -9150,14 +9438,20 @@ export interface Models {
|
|
|
9150
9438
|
Solid2dAddHole: Solid2dAddHole;
|
|
9151
9439
|
Solid3dCutEdges: Solid3dCutEdges;
|
|
9152
9440
|
Solid3dFilletEdge: Solid3dFilletEdge;
|
|
9441
|
+
Solid3dFlip: Solid3dFlip;
|
|
9442
|
+
Solid3dFlipFace: Solid3dFlipFace;
|
|
9153
9443
|
Solid3dGetAdjacencyInfo: Solid3dGetAdjacencyInfo;
|
|
9154
9444
|
Solid3dGetAllEdgeFaces: Solid3dGetAllEdgeFaces;
|
|
9155
9445
|
Solid3dGetAllOppositeEdges: Solid3dGetAllOppositeEdges;
|
|
9446
|
+
Solid3dGetBodyType: Solid3dGetBodyType;
|
|
9156
9447
|
Solid3dGetCommonEdge: Solid3dGetCommonEdge;
|
|
9448
|
+
Solid3dGetEdgeUuid: Solid3dGetEdgeUuid;
|
|
9157
9449
|
Solid3dGetExtrusionFaceInfo: Solid3dGetExtrusionFaceInfo;
|
|
9450
|
+
Solid3dGetFaceUuid: Solid3dGetFaceUuid;
|
|
9158
9451
|
Solid3dGetNextAdjacentEdge: Solid3dGetNextAdjacentEdge;
|
|
9159
9452
|
Solid3dGetOppositeEdge: Solid3dGetOppositeEdge;
|
|
9160
9453
|
Solid3dGetPrevAdjacentEdge: Solid3dGetPrevAdjacentEdge;
|
|
9454
|
+
Solid3dJoin: Solid3dJoin;
|
|
9161
9455
|
Solid3dShellFace: Solid3dShellFace;
|
|
9162
9456
|
SourcePosition: SourcePosition;
|
|
9163
9457
|
SourceRange: SourceRange;
|
|
@@ -9229,6 +9523,7 @@ export interface Models {
|
|
|
9229
9523
|
UpdatePaymentBalance: UpdatePaymentBalance;
|
|
9230
9524
|
UpdateShortlinkRequest: UpdateShortlinkRequest;
|
|
9231
9525
|
UpdateUser: UpdateUser;
|
|
9526
|
+
UploadOrgDatasetFilesResponse: UploadOrgDatasetFilesResponse;
|
|
9232
9527
|
User: User;
|
|
9233
9528
|
UserAdminDetails: UserAdminDetails;
|
|
9234
9529
|
UserFeature: UserFeature;
|