@kittycad/lib 3.1.23 → 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 +363 -73
- 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,75 +6292,19 @@ export interface OrgDatasetConversionStatsResponse {
|
|
|
6047
6292
|
/** format:int64, description:Total number of tracked conversions. */
|
|
6048
6293
|
total: number;
|
|
6049
6294
|
}
|
|
6050
|
-
export interface OrgDatasetFileConversion {
|
|
6051
|
-
/**
|
|
6052
|
-
* {
|
|
6053
|
-
* "nullable": true,
|
|
6054
|
-
* "title": "DateTime",
|
|
6055
|
-
* "format": "date-time",
|
|
6056
|
-
* "description": "The date and time the conversion got its current `status`."
|
|
6057
|
-
* }
|
|
6058
|
-
*/
|
|
6059
|
-
completed_at?: string;
|
|
6060
|
-
/** title:DateTime, format:date-time, description:The date and time the conversion was created. */
|
|
6061
|
-
created_at: string;
|
|
6062
|
-
/** The ID of the dataset this file is being converted from. */
|
|
6063
|
-
dataset_id: Uuid;
|
|
6064
|
-
/** 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. */
|
|
6065
|
-
file_etag: string;
|
|
6066
|
-
/** Location within dataset `path`. */
|
|
6067
|
-
file_path: string;
|
|
6068
|
-
/**
|
|
6069
|
-
* {
|
|
6070
|
-
* "format": "int64",
|
|
6071
|
-
* "description": "Number of bytes, for measuring throughput and debugging conversion errors."
|
|
6072
|
-
* }
|
|
6073
|
-
*/
|
|
6074
|
-
file_size: number;
|
|
6075
|
-
/** The unique identifier for the conversion. */
|
|
6076
|
-
id: Uuid;
|
|
6077
|
-
/**
|
|
6078
|
-
* {
|
|
6079
|
-
* "nullable": true,
|
|
6080
|
-
* "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."
|
|
6081
|
-
* }
|
|
6082
|
-
*/
|
|
6083
|
-
importer_version?: string;
|
|
6084
|
-
/**
|
|
6085
|
-
* {
|
|
6086
|
-
* "nullable": true,
|
|
6087
|
-
* "description": "Path where the processed file output is stored, when available."
|
|
6088
|
-
* }
|
|
6089
|
-
*/
|
|
6090
|
-
output_path?: string;
|
|
6091
|
-
/**
|
|
6092
|
-
* {
|
|
6093
|
-
* "nullable": true,
|
|
6094
|
-
* "title": "DateTime",
|
|
6095
|
-
* "format": "date-time",
|
|
6096
|
-
* "description": "The date and time the conversion started."
|
|
6097
|
-
* }
|
|
6098
|
-
*/
|
|
6099
|
-
started_at?: string;
|
|
6100
|
-
/** Conversion status. */
|
|
6101
|
-
status: OrgDatasetFileConversionStatus;
|
|
6102
|
-
/** nullable:true, description:Details associated with `status`. */
|
|
6103
|
-
status_message?: string;
|
|
6104
|
-
/**
|
|
6105
|
-
* {
|
|
6106
|
-
* "title": "DateTime",
|
|
6107
|
-
* "format": "date-time",
|
|
6108
|
-
* "description": "The date and time the conversion was last updated."
|
|
6109
|
-
* }
|
|
6110
|
-
*/
|
|
6111
|
-
updated_at: string;
|
|
6112
|
-
}
|
|
6113
6295
|
export interface OrgDatasetFileConversionDetails {
|
|
6114
6296
|
/** Conversion metadata without storage pointers. */
|
|
6115
6297
|
conversion: OrgDatasetFileConversionSummary;
|
|
6298
|
+
/** Snapshot images for the original source model. */
|
|
6299
|
+
original_snapshot_images: OrgDatasetSnapshotImage[];
|
|
6116
6300
|
/** Plain-text contents of the converted artifact. */
|
|
6117
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[];
|
|
6118
6306
|
}
|
|
6307
|
+
export declare type OrgDatasetFileConversionPhase = 'queued' | 'snapshot_original' | 'convert_raw_kcl' | 'snapshot_raw_kcl' | 'salon' | 'snapshot_salon_kcl' | 'completed';
|
|
6119
6308
|
export declare type OrgDatasetFileConversionStatus = 'queued' | 'canceled' | 'in_progress' | 'success' | 'error_user' | 'error_unsupported' | 'error_internal';
|
|
6120
6309
|
export interface OrgDatasetFileConversionSummary {
|
|
6121
6310
|
/**
|
|
@@ -6151,6 +6340,17 @@ export interface OrgDatasetFileConversionSummary {
|
|
|
6151
6340
|
* }
|
|
6152
6341
|
*/
|
|
6153
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;
|
|
6154
6354
|
/**
|
|
6155
6355
|
* {
|
|
6156
6356
|
* "nullable": true,
|
|
@@ -6195,13 +6395,29 @@ export interface OrgDatasetResultsPage {
|
|
|
6195
6395
|
*/
|
|
6196
6396
|
next_page?: string;
|
|
6197
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
|
+
}
|
|
6198
6404
|
export interface OrgDatasetSource {
|
|
6199
|
-
/**
|
|
6200
|
-
|
|
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;
|
|
6201
6412
|
/** Storage provider identifier. */
|
|
6202
6413
|
provider: StorageProvider;
|
|
6203
|
-
/**
|
|
6204
|
-
|
|
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;
|
|
6205
6421
|
}
|
|
6206
6422
|
export declare type OrgDatasetStatus = 'active' | 'deleting' | 'errored';
|
|
6207
6423
|
export interface OrgDetails {
|
|
@@ -6884,6 +7100,15 @@ export interface SelectGet {
|
|
|
6884
7100
|
*/
|
|
6885
7101
|
entity_ids: string[];
|
|
6886
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
|
+
}
|
|
6887
7112
|
export interface SelectRemove {
|
|
6888
7113
|
}
|
|
6889
7114
|
export interface SelectReplace {
|
|
@@ -6892,6 +7117,32 @@ export interface SelectWithPoint {
|
|
|
6892
7117
|
/** nullable:true, format:uuid, description:The UUID of the entity that was selected. */
|
|
6893
7118
|
entity_id?: string;
|
|
6894
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
|
+
}
|
|
6895
7146
|
export declare type Selection = {
|
|
6896
7147
|
type: 'default_scene';
|
|
6897
7148
|
} | {
|
|
@@ -7036,6 +7287,10 @@ export interface Solid3dCutEdges {
|
|
|
7036
7287
|
}
|
|
7037
7288
|
export interface Solid3dFilletEdge {
|
|
7038
7289
|
}
|
|
7290
|
+
export interface Solid3dFlip {
|
|
7291
|
+
}
|
|
7292
|
+
export interface Solid3dFlipFace {
|
|
7293
|
+
}
|
|
7039
7294
|
export interface Solid3dGetAdjacencyInfo {
|
|
7040
7295
|
/** Details of each edge. */
|
|
7041
7296
|
edges: AdjacencyInfo[];
|
|
@@ -7056,14 +7311,26 @@ export interface Solid3dGetAllOppositeEdges {
|
|
|
7056
7311
|
*/
|
|
7057
7312
|
edges: string[];
|
|
7058
7313
|
}
|
|
7314
|
+
export interface Solid3dGetBodyType {
|
|
7315
|
+
/** The body type */
|
|
7316
|
+
body_type: BodyType;
|
|
7317
|
+
}
|
|
7059
7318
|
export interface Solid3dGetCommonEdge {
|
|
7060
7319
|
/** nullable:true, format:uuid, description:The UUID of the common edge, if any. */
|
|
7061
7320
|
edge?: string;
|
|
7062
7321
|
}
|
|
7322
|
+
export interface Solid3dGetEdgeUuid {
|
|
7323
|
+
/** format:uuid, description:The UUID of the edge. */
|
|
7324
|
+
edge_id: string;
|
|
7325
|
+
}
|
|
7063
7326
|
export interface Solid3dGetExtrusionFaceInfo {
|
|
7064
7327
|
/** Details of each face. */
|
|
7065
7328
|
faces: ExtrusionFaceInfo[];
|
|
7066
7329
|
}
|
|
7330
|
+
export interface Solid3dGetFaceUuid {
|
|
7331
|
+
/** format:uuid, description:The UUID of the face. */
|
|
7332
|
+
face_id: string;
|
|
7333
|
+
}
|
|
7067
7334
|
export interface Solid3dGetNextAdjacentEdge {
|
|
7068
7335
|
/** nullable:true, format:uuid, description:The UUID of the edge. */
|
|
7069
7336
|
edge?: string;
|
|
@@ -7076,6 +7343,8 @@ export interface Solid3dGetPrevAdjacentEdge {
|
|
|
7076
7343
|
/** nullable:true, format:uuid, description:The UUID of the edge. */
|
|
7077
7344
|
edge?: string;
|
|
7078
7345
|
}
|
|
7346
|
+
export interface Solid3dJoin {
|
|
7347
|
+
}
|
|
7079
7348
|
export interface Solid3dShellFace {
|
|
7080
7349
|
}
|
|
7081
7350
|
export interface SourcePosition {
|
|
@@ -7106,7 +7375,7 @@ export interface SourceRangePrompt {
|
|
|
7106
7375
|
export interface StartPath {
|
|
7107
7376
|
}
|
|
7108
7377
|
export declare type StlStorage = 'ascii' | 'binary';
|
|
7109
|
-
export declare type StorageProvider = 's3';
|
|
7378
|
+
export declare type StorageProvider = 's3' | 'zoo_managed';
|
|
7110
7379
|
export interface StoreCouponParams {
|
|
7111
7380
|
/** format:uint32, minimum:0, description:The percentage off. */
|
|
7112
7381
|
percent_off: number;
|
|
@@ -8421,6 +8690,12 @@ export interface UpdateUser {
|
|
|
8421
8690
|
*/
|
|
8422
8691
|
phone?: string;
|
|
8423
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
|
+
}
|
|
8424
8699
|
export interface User {
|
|
8425
8700
|
/** nullable:true, description:If the user should be blocked and the reason why. */
|
|
8426
8701
|
block?: BlockReason;
|
|
@@ -8859,6 +9134,7 @@ export interface Models {
|
|
|
8859
9134
|
BillingInfo: BillingInfo;
|
|
8860
9135
|
BlockReason: BlockReason;
|
|
8861
9136
|
BodyType: BodyType;
|
|
9137
|
+
BooleanImprint: BooleanImprint;
|
|
8862
9138
|
BooleanIntersection: BooleanIntersection;
|
|
8863
9139
|
BooleanSubtract: BooleanSubtract;
|
|
8864
9140
|
BooleanUnion: BooleanUnion;
|
|
@@ -8887,6 +9163,7 @@ export interface Models {
|
|
|
8887
9163
|
Coupon: Coupon;
|
|
8888
9164
|
CreateCustomModel: CreateCustomModel;
|
|
8889
9165
|
CreateOrgDataset: CreateOrgDataset;
|
|
9166
|
+
CreateRegion: CreateRegion;
|
|
8890
9167
|
CreateShortlinkRequest: CreateShortlinkRequest;
|
|
8891
9168
|
CreateShortlinkResponse: CreateShortlinkResponse;
|
|
8892
9169
|
CreatedAtSortMode: CreatedAtSortMode;
|
|
@@ -8935,12 +9212,15 @@ export interface Models {
|
|
|
8935
9212
|
EngineUtilEvaluatePath: EngineUtilEvaluatePath;
|
|
8936
9213
|
EntityCircularPattern: EntityCircularPattern;
|
|
8937
9214
|
EntityClone: EntityClone;
|
|
9215
|
+
EntityDeleteChildren: EntityDeleteChildren;
|
|
8938
9216
|
EntityFade: EntityFade;
|
|
8939
9217
|
EntityGetAllChildUuids: EntityGetAllChildUuids;
|
|
8940
9218
|
EntityGetChildUuid: EntityGetChildUuid;
|
|
8941
9219
|
EntityGetDistance: EntityGetDistance;
|
|
9220
|
+
EntityGetIndex: EntityGetIndex;
|
|
8942
9221
|
EntityGetNumChildren: EntityGetNumChildren;
|
|
8943
9222
|
EntityGetParentId: EntityGetParentId;
|
|
9223
|
+
EntityGetPrimitiveIndex: EntityGetPrimitiveIndex;
|
|
8944
9224
|
EntityGetSketchPaths: EntityGetSketchPaths;
|
|
8945
9225
|
EntityLinearPattern: EntityLinearPattern;
|
|
8946
9226
|
EntityLinearPatternTransform: EntityLinearPatternTransform;
|
|
@@ -9059,12 +9339,13 @@ export interface Models {
|
|
|
9059
9339
|
OrgAdminDetails: OrgAdminDetails;
|
|
9060
9340
|
OrgDataset: OrgDataset;
|
|
9061
9341
|
OrgDatasetConversionStatsResponse: OrgDatasetConversionStatsResponse;
|
|
9062
|
-
OrgDatasetFileConversion: OrgDatasetFileConversion;
|
|
9063
9342
|
OrgDatasetFileConversionDetails: OrgDatasetFileConversionDetails;
|
|
9343
|
+
OrgDatasetFileConversionPhase: OrgDatasetFileConversionPhase;
|
|
9064
9344
|
OrgDatasetFileConversionStatus: OrgDatasetFileConversionStatus;
|
|
9065
9345
|
OrgDatasetFileConversionSummary: OrgDatasetFileConversionSummary;
|
|
9066
9346
|
OrgDatasetFileConversionSummaryResultsPage: OrgDatasetFileConversionSummaryResultsPage;
|
|
9067
9347
|
OrgDatasetResultsPage: OrgDatasetResultsPage;
|
|
9348
|
+
OrgDatasetSnapshotImage: OrgDatasetSnapshotImage;
|
|
9068
9349
|
OrgDatasetSource: OrgDatasetSource;
|
|
9069
9350
|
OrgDatasetStatus: OrgDatasetStatus;
|
|
9070
9351
|
OrgDetails: OrgDetails;
|
|
@@ -9126,9 +9407,11 @@ export interface Models {
|
|
|
9126
9407
|
SelectAdd: SelectAdd;
|
|
9127
9408
|
SelectClear: SelectClear;
|
|
9128
9409
|
SelectGet: SelectGet;
|
|
9410
|
+
SelectRegionFromPoint: SelectRegionFromPoint;
|
|
9129
9411
|
SelectRemove: SelectRemove;
|
|
9130
9412
|
SelectReplace: SelectReplace;
|
|
9131
9413
|
SelectWithPoint: SelectWithPoint;
|
|
9414
|
+
SelectedRegion: SelectedRegion;
|
|
9132
9415
|
Selection: Selection;
|
|
9133
9416
|
SendObject: SendObject;
|
|
9134
9417
|
ServiceAccount: ServiceAccount;
|
|
@@ -9155,14 +9438,20 @@ export interface Models {
|
|
|
9155
9438
|
Solid2dAddHole: Solid2dAddHole;
|
|
9156
9439
|
Solid3dCutEdges: Solid3dCutEdges;
|
|
9157
9440
|
Solid3dFilletEdge: Solid3dFilletEdge;
|
|
9441
|
+
Solid3dFlip: Solid3dFlip;
|
|
9442
|
+
Solid3dFlipFace: Solid3dFlipFace;
|
|
9158
9443
|
Solid3dGetAdjacencyInfo: Solid3dGetAdjacencyInfo;
|
|
9159
9444
|
Solid3dGetAllEdgeFaces: Solid3dGetAllEdgeFaces;
|
|
9160
9445
|
Solid3dGetAllOppositeEdges: Solid3dGetAllOppositeEdges;
|
|
9446
|
+
Solid3dGetBodyType: Solid3dGetBodyType;
|
|
9161
9447
|
Solid3dGetCommonEdge: Solid3dGetCommonEdge;
|
|
9448
|
+
Solid3dGetEdgeUuid: Solid3dGetEdgeUuid;
|
|
9162
9449
|
Solid3dGetExtrusionFaceInfo: Solid3dGetExtrusionFaceInfo;
|
|
9450
|
+
Solid3dGetFaceUuid: Solid3dGetFaceUuid;
|
|
9163
9451
|
Solid3dGetNextAdjacentEdge: Solid3dGetNextAdjacentEdge;
|
|
9164
9452
|
Solid3dGetOppositeEdge: Solid3dGetOppositeEdge;
|
|
9165
9453
|
Solid3dGetPrevAdjacentEdge: Solid3dGetPrevAdjacentEdge;
|
|
9454
|
+
Solid3dJoin: Solid3dJoin;
|
|
9166
9455
|
Solid3dShellFace: Solid3dShellFace;
|
|
9167
9456
|
SourcePosition: SourcePosition;
|
|
9168
9457
|
SourceRange: SourceRange;
|
|
@@ -9234,6 +9523,7 @@ export interface Models {
|
|
|
9234
9523
|
UpdatePaymentBalance: UpdatePaymentBalance;
|
|
9235
9524
|
UpdateShortlinkRequest: UpdateShortlinkRequest;
|
|
9236
9525
|
UpdateUser: UpdateUser;
|
|
9526
|
+
UploadOrgDatasetFilesResponse: UploadOrgDatasetFilesResponse;
|
|
9237
9527
|
User: User;
|
|
9238
9528
|
UserAdminDetails: UserAdminDetails;
|
|
9239
9529
|
UserFeature: UserFeature;
|