@kittycad/lib 4.5.8 → 4.5.12
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/src/api/factory/get_user_factory_finishes.d.ts +11 -5
- package/dist/types/src/api/factory/get_user_factory_finishes.d.ts.map +1 -1
- package/dist/types/src/api/factory/get_user_factory_materials.d.ts +11 -5
- package/dist/types/src/api/factory/get_user_factory_materials.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_bounding_box.d.ts +32 -0
- package/dist/types/src/api/file/create_file_bounding_box.d.ts.map +1 -0
- package/dist/types/src/api/ml/kcl_migration_ws.d.ts +31 -0
- package/dist/types/src/api/ml/kcl_migration_ws.d.ts.map +1 -0
- package/dist/types/src/api/orgs/list_org_skills.d.ts +11 -5
- package/dist/types/src/api/orgs/list_org_skills.d.ts.map +1 -1
- package/dist/types/src/api/payments/list_payment_methods_for_org.d.ts +11 -5
- package/dist/types/src/api/payments/list_payment_methods_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/list_payment_methods_for_user.d.ts +11 -5
- package/dist/types/src/api/payments/list_payment_methods_for_user.d.ts.map +1 -1
- package/dist/types/src/api/projects/download_project_version.d.ts +24 -0
- package/dist/types/src/api/projects/download_project_version.d.ts.map +1 -0
- package/dist/types/src/api/projects/get_project_version.d.ts +24 -0
- package/dist/types/src/api/projects/get_project_version.d.ts.map +1 -0
- package/dist/types/src/api/projects/get_project_version_thumbnail.d.ts +22 -0
- package/dist/types/src/api/projects/get_project_version_thumbnail.d.ts.map +1 -0
- package/dist/types/src/api/projects/list_project_share_links.d.ts +10 -4
- package/dist/types/src/api/projects/list_project_share_links.d.ts.map +1 -1
- package/dist/types/src/api/projects/list_project_versions.d.ts +30 -0
- package/dist/types/src/api/projects/list_project_versions.d.ts.map +1 -0
- package/dist/types/src/api/projects/list_public_projects.d.ts +10 -4
- package/dist/types/src/api/projects/list_public_projects.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +29 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +494 -11
- package/dist/types/src/models.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -166,8 +166,20 @@ export interface AnnotationBasicDimension {
|
|
|
166
166
|
from_edge_reference?: EdgeSpecifier;
|
|
167
167
|
/** nullable:true, format:uuid, description:Entity to measure the dimension from */
|
|
168
168
|
from_entity_id?: string;
|
|
169
|
-
/**
|
|
170
|
-
|
|
169
|
+
/**
|
|
170
|
+
* {
|
|
171
|
+
* "nullable": true,
|
|
172
|
+
* "description": "Position within the entity to position the dimension leader from"
|
|
173
|
+
* }
|
|
174
|
+
*/
|
|
175
|
+
from_entity_leader_pos?: AnnotationMbdLeaderPosition;
|
|
176
|
+
/**
|
|
177
|
+
* {
|
|
178
|
+
* "nullable": true,
|
|
179
|
+
* "description": "Normalized position within the entity to position the dimension from Deprecated; please use `from_entity_leader_pos`"
|
|
180
|
+
* }
|
|
181
|
+
*/
|
|
182
|
+
from_entity_pos?: Point2d;
|
|
171
183
|
/** 2D Position offset of the annotation within the plane. */
|
|
172
184
|
offset: Point2d;
|
|
173
185
|
/**
|
|
@@ -194,8 +206,20 @@ export interface AnnotationBasicDimension {
|
|
|
194
206
|
to_edge_reference?: EdgeSpecifier;
|
|
195
207
|
/** nullable:true, format:uuid, description:Entity to measure the dimension to */
|
|
196
208
|
to_entity_id?: string;
|
|
197
|
-
/**
|
|
198
|
-
|
|
209
|
+
/**
|
|
210
|
+
* {
|
|
211
|
+
* "nullable": true,
|
|
212
|
+
* "description": "Position within the entity to position the dimension leader from"
|
|
213
|
+
* }
|
|
214
|
+
*/
|
|
215
|
+
to_entity_leader_pos?: AnnotationMbdLeaderPosition;
|
|
216
|
+
/**
|
|
217
|
+
* {
|
|
218
|
+
* "nullable": true,
|
|
219
|
+
* "description": "Normalized position within the entity to position the dimension to Deprecated; please use `to_entity_leader_pos`"
|
|
220
|
+
* }
|
|
221
|
+
*/
|
|
222
|
+
to_entity_pos?: Point2d;
|
|
199
223
|
}
|
|
200
224
|
export interface AnnotationFeatureControl {
|
|
201
225
|
/** nullable:true, description:MBD Control frame for geometric control */
|
|
@@ -220,8 +244,20 @@ export interface AnnotationFeatureControl {
|
|
|
220
244
|
edge_reference?: EdgeSpecifier;
|
|
221
245
|
/** nullable:true, format:uuid, description:Entity to place the annotation leader from */
|
|
222
246
|
entity_id?: string;
|
|
223
|
-
/**
|
|
224
|
-
|
|
247
|
+
/**
|
|
248
|
+
* {
|
|
249
|
+
* "nullable": true,
|
|
250
|
+
* "description": "Position within the entity to position the annotation leader from"
|
|
251
|
+
* }
|
|
252
|
+
*/
|
|
253
|
+
entity_leader_pos?: AnnotationMbdLeaderPosition;
|
|
254
|
+
/**
|
|
255
|
+
* {
|
|
256
|
+
* "nullable": true,
|
|
257
|
+
* "description": "Normalized position within the entity to position the annotation leader from Deprecated; please use `entity_leader_pos`"
|
|
258
|
+
* }
|
|
259
|
+
*/
|
|
260
|
+
entity_pos?: Point2d;
|
|
225
261
|
/**
|
|
226
262
|
* {
|
|
227
263
|
* "format": "uint32",
|
|
@@ -284,8 +320,20 @@ export interface AnnotationFeatureTag {
|
|
|
284
320
|
edge_reference?: EdgeSpecifier;
|
|
285
321
|
/** nullable:true, format:uuid, description:Entity to place the annotation leader from */
|
|
286
322
|
entity_id?: string;
|
|
287
|
-
/**
|
|
288
|
-
|
|
323
|
+
/**
|
|
324
|
+
* {
|
|
325
|
+
* "nullable": true,
|
|
326
|
+
* "description": "Position within the entity to position the annotation leader from"
|
|
327
|
+
* }
|
|
328
|
+
*/
|
|
329
|
+
entity_leader_pos?: AnnotationMbdLeaderPosition;
|
|
330
|
+
/**
|
|
331
|
+
* {
|
|
332
|
+
* "nullable": true,
|
|
333
|
+
* "description": "Normalized position within the entity to position the annotation leader from Deprecated; please use `entity_leader_pos`"
|
|
334
|
+
* }
|
|
335
|
+
*/
|
|
336
|
+
entity_pos?: Point2d;
|
|
289
337
|
/**
|
|
290
338
|
* {
|
|
291
339
|
* "format": "uint32",
|
|
@@ -397,6 +445,14 @@ export interface AnnotationMbdControlFrame {
|
|
|
397
445
|
*/
|
|
398
446
|
tolerance: number;
|
|
399
447
|
}
|
|
448
|
+
export type AnnotationMbdLeaderPosition = {
|
|
449
|
+
normalized_pos: {
|
|
450
|
+
/** The position */
|
|
451
|
+
pos: Point2d;
|
|
452
|
+
};
|
|
453
|
+
} | {
|
|
454
|
+
centroid: Record<string, unknown>;
|
|
455
|
+
};
|
|
400
456
|
export interface AnnotationOptions {
|
|
401
457
|
/** nullable:true, description:Color to render the annotation */
|
|
402
458
|
color?: Color;
|
|
@@ -895,6 +951,51 @@ This is the same as the API call ID. */
|
|
|
895
951
|
updated_at: string;
|
|
896
952
|
/** The user ID of the user who created the API call. */
|
|
897
953
|
user_id: Uuid;
|
|
954
|
+
} | {
|
|
955
|
+
/**
|
|
956
|
+
* {
|
|
957
|
+
* "nullable": true,
|
|
958
|
+
* "description": "The resulting axis-aligned bounding box in the KittyCAD coordinate system (+Z up, -Y forward)."
|
|
959
|
+
* }
|
|
960
|
+
*/
|
|
961
|
+
bounding_box?: BoundingBox;
|
|
962
|
+
/**
|
|
963
|
+
* {
|
|
964
|
+
* "nullable": true,
|
|
965
|
+
* "title": "DateTime",
|
|
966
|
+
* "format": "date-time",
|
|
967
|
+
* "description": "The time and date the API call was completed."
|
|
968
|
+
* }
|
|
969
|
+
*/
|
|
970
|
+
completed_at?: string;
|
|
971
|
+
/** title:DateTime, format:date-time, description:The time and date the API call was created. */
|
|
972
|
+
created_at: string;
|
|
973
|
+
/** nullable:true, description:The error the function returned, if any. */
|
|
974
|
+
error?: string;
|
|
975
|
+
/** The unique identifier of the API call.
|
|
976
|
+
|
|
977
|
+
This is the same as the API call ID. */
|
|
978
|
+
id: Uuid;
|
|
979
|
+
/** The output unit for the bounding box. */
|
|
980
|
+
output_unit: UnitLength;
|
|
981
|
+
/** The source format of the file. */
|
|
982
|
+
src_format: FileImportFormat;
|
|
983
|
+
/**
|
|
984
|
+
* {
|
|
985
|
+
* "nullable": true,
|
|
986
|
+
* "title": "DateTime",
|
|
987
|
+
* "format": "date-time",
|
|
988
|
+
* "description": "The time and date the API call was started."
|
|
989
|
+
* }
|
|
990
|
+
*/
|
|
991
|
+
started_at?: string;
|
|
992
|
+
/** The status of the API call. */
|
|
993
|
+
status: ApiCallStatus;
|
|
994
|
+
type: 'file_bounding_box';
|
|
995
|
+
/** title:DateTime, format:date-time, description:The time and date the API call was last updated. */
|
|
996
|
+
updated_at: string;
|
|
997
|
+
/** The user ID of the user who created the API call. */
|
|
998
|
+
user_id: Uuid;
|
|
898
999
|
} | {
|
|
899
1000
|
/**
|
|
900
1001
|
* {
|
|
@@ -2316,6 +2417,10 @@ export type EntityReference = {
|
|
|
2316
2417
|
*/
|
|
2317
2418
|
topology_fallback?: PrimitiveTopologyFallback;
|
|
2318
2419
|
type: 'solid3d';
|
|
2420
|
+
} | {
|
|
2421
|
+
/** format:uuid, description:Id of the helix object. */
|
|
2422
|
+
helix_id: string;
|
|
2423
|
+
type: 'helix';
|
|
2319
2424
|
} | {
|
|
2320
2425
|
/** format:uuid, description:Id of the edge being referenced. */
|
|
2321
2426
|
edge_id: string;
|
|
@@ -2346,7 +2451,7 @@ export interface EntitySetOpacity {
|
|
|
2346
2451
|
}
|
|
2347
2452
|
export type EntityType =
|
|
2348
2453
|
/** The type of entity */
|
|
2349
|
-
'entity' | 'object' | 'path' | 'segment' | 'curve' | 'solid2d' | 'solid3d' | 'edge' | 'face' | 'plane' | 'vertex' | 'region';
|
|
2454
|
+
'entity' | 'object' | 'path' | 'segment' | 'curve' | 'solid2d' | 'solid3d' | 'edge' | 'face' | 'plane' | 'vertex' | 'region' | 'patterngroup';
|
|
2350
2455
|
export interface Error {
|
|
2351
2456
|
error_code?: string;
|
|
2352
2457
|
message: string;
|
|
@@ -2578,6 +2683,17 @@ export interface FactoryCustomerCatalogOption {
|
|
|
2578
2683
|
/** Exact catalog name to submit in the corresponding intake field. */
|
|
2579
2684
|
name: string;
|
|
2580
2685
|
}
|
|
2686
|
+
export interface FactoryCustomerCatalogOptionResultsPage {
|
|
2687
|
+
/** list of items on this page of results */
|
|
2688
|
+
items: FactoryCustomerCatalogOption[];
|
|
2689
|
+
/**
|
|
2690
|
+
* {
|
|
2691
|
+
* "nullable": true,
|
|
2692
|
+
* "description": "token used to fetch the next page of results (if any)"
|
|
2693
|
+
* }
|
|
2694
|
+
*/
|
|
2695
|
+
next_page?: string;
|
|
2696
|
+
}
|
|
2581
2697
|
export interface FactoryCustomerJobDetail {
|
|
2582
2698
|
/** nullable:true, description:The current version, if the job has one. */
|
|
2583
2699
|
current_version?: FactoryCustomerJobVersion;
|
|
@@ -2638,7 +2754,52 @@ export interface FailureWebSocketResponse {
|
|
|
2638
2754
|
success: boolean;
|
|
2639
2755
|
}
|
|
2640
2756
|
export type FbxStorage = 'ascii' | 'binary';
|
|
2641
|
-
export type Feature = 'auth_restricted_to_employees' | 'big_query_telemetry' | 'billing' | 'cpu_engine_pool' | 'disallow_self_signup' | 'email_with_s_e_s' | 'engine_manager_quarantine' | 'execution_jobs' | 'enable_z0006_lint' | 'factory_portal' | 'kcl_cek_executor' | 'kcl_new_lexer_parser' | 'redirect_to_govcloud' | 'require_saml_auth' | 'local_dev' | 'newsletter' | 'prefix_email_subject' | 'enterprise_cockroach' | 'same_site_none_cookies' | 'validate_tax_info' | 'dfm_review' | 'drawings' | 'modeling_dialogs' | 'named_views_ui' | 'plugins' | 'proprietary_to_kcl_conversion_beta' | 'segments_based_regions' | 'legacy_sketch_mode' | 'sketch_experimental_features' | '
|
|
2757
|
+
export type Feature = 'auth_restricted_to_employees' | 'big_query_telemetry' | 'billing' | 'cpu_engine_pool' | 'disallow_self_signup' | 'email_with_s_e_s' | 'engine_manager_quarantine' | 'execution_jobs' | 'enable_z0006_lint' | 'factory_portal' | 'kcl_cek_executor' | 'kcl_new_lexer_parser' | 'redirect_to_govcloud' | 'require_saml_auth' | 'local_dev' | 'newsletter' | 'prefix_email_subject' | 'enterprise_cockroach' | 'same_site_none_cookies' | 'validate_tax_info' | 'dfm_review' | 'drawings' | 'modeling_dialogs' | 'named_views_ui' | 'plugins' | 'proprietary_to_kcl_conversion_beta' | 'segments_based_regions' | 'legacy_sketch_mode' | 'sketch_experimental_features' | 'zookeeper_pro_mode' | 'zookeeper_ultra_mode' | 'zookeeper_client_commands' | 'zookeeper_kcl_migration' | 'unsafe_allow_api_key_auth' | 'unsafe_allow_localhost_shortlinks' | 'zoo_corp_auth';
|
|
2758
|
+
export interface FileBoundingBox {
|
|
2759
|
+
/**
|
|
2760
|
+
* {
|
|
2761
|
+
* "nullable": true,
|
|
2762
|
+
* "description": "The resulting axis-aligned bounding box in the KittyCAD coordinate system (+Z up, -Y forward)."
|
|
2763
|
+
* }
|
|
2764
|
+
*/
|
|
2765
|
+
bounding_box?: BoundingBox;
|
|
2766
|
+
/**
|
|
2767
|
+
* {
|
|
2768
|
+
* "nullable": true,
|
|
2769
|
+
* "title": "DateTime",
|
|
2770
|
+
* "format": "date-time",
|
|
2771
|
+
* "description": "The time and date the API call was completed."
|
|
2772
|
+
* }
|
|
2773
|
+
*/
|
|
2774
|
+
completed_at?: string;
|
|
2775
|
+
/** title:DateTime, format:date-time, description:The time and date the API call was created. */
|
|
2776
|
+
created_at: string;
|
|
2777
|
+
/** nullable:true, description:The error the function returned, if any. */
|
|
2778
|
+
error?: string;
|
|
2779
|
+
/** The unique identifier of the API call.
|
|
2780
|
+
|
|
2781
|
+
This is the same as the API call ID. */
|
|
2782
|
+
id: Uuid;
|
|
2783
|
+
/** The output unit for the bounding box. */
|
|
2784
|
+
output_unit: UnitLength;
|
|
2785
|
+
/** The source format of the file. */
|
|
2786
|
+
src_format: FileImportFormat;
|
|
2787
|
+
/**
|
|
2788
|
+
* {
|
|
2789
|
+
* "nullable": true,
|
|
2790
|
+
* "title": "DateTime",
|
|
2791
|
+
* "format": "date-time",
|
|
2792
|
+
* "description": "The time and date the API call was started."
|
|
2793
|
+
* }
|
|
2794
|
+
*/
|
|
2795
|
+
started_at?: string;
|
|
2796
|
+
/** The status of the API call. */
|
|
2797
|
+
status: ApiCallStatus;
|
|
2798
|
+
/** title:DateTime, format:date-time, description:The time and date the API call was last updated. */
|
|
2799
|
+
updated_at: string;
|
|
2800
|
+
/** The user ID of the user who created the API call. */
|
|
2801
|
+
user_id: Uuid;
|
|
2802
|
+
}
|
|
2642
2803
|
export interface FileCenterOfMass {
|
|
2643
2804
|
/**
|
|
2644
2805
|
* {
|
|
@@ -3534,6 +3695,136 @@ export interface KclCodeCompletionRequest {
|
|
|
3534
3695
|
export interface KclCodeCompletionResponse {
|
|
3535
3696
|
completions: string[];
|
|
3536
3697
|
}
|
|
3698
|
+
export type KclMigrationClientMessage = {
|
|
3699
|
+
headers: {
|
|
3700
|
+
[key: string]: string;
|
|
3701
|
+
};
|
|
3702
|
+
type: 'headers';
|
|
3703
|
+
} | {
|
|
3704
|
+
/**
|
|
3705
|
+
* {
|
|
3706
|
+
* "$ref": "#/components/schemas/KclMigrationRequest"
|
|
3707
|
+
* }
|
|
3708
|
+
*/
|
|
3709
|
+
request: KclMigrationRequest;
|
|
3710
|
+
type: 'start';
|
|
3711
|
+
} | {
|
|
3712
|
+
/**
|
|
3713
|
+
* {
|
|
3714
|
+
* "$ref": "#/components/schemas/Uuid"
|
|
3715
|
+
* }
|
|
3716
|
+
*/
|
|
3717
|
+
operation_id: Uuid;
|
|
3718
|
+
type: 'status';
|
|
3719
|
+
} | {
|
|
3720
|
+
/**
|
|
3721
|
+
* {
|
|
3722
|
+
* "$ref": "#/components/schemas/Uuid"
|
|
3723
|
+
* }
|
|
3724
|
+
*/
|
|
3725
|
+
operation_id: Uuid;
|
|
3726
|
+
type: 'cancel';
|
|
3727
|
+
} | {
|
|
3728
|
+
type: 'ping';
|
|
3729
|
+
};
|
|
3730
|
+
export interface KclMigrationOperation {
|
|
3731
|
+
/**
|
|
3732
|
+
* {
|
|
3733
|
+
* "format": "date-time",
|
|
3734
|
+
* "description": "Original deadline, including preparation and validation. Never extended."
|
|
3735
|
+
* }
|
|
3736
|
+
*/
|
|
3737
|
+
deadline: string;
|
|
3738
|
+
/** Same idempotency key supplied by the initiating client. */
|
|
3739
|
+
id: Uuid;
|
|
3740
|
+
/** Source revision, retained for conflict detection when applying the result. */
|
|
3741
|
+
project_snapshot: MlCopilotProjectSnapshotMetadata;
|
|
3742
|
+
/**
|
|
3743
|
+
* {
|
|
3744
|
+
* "nullable": true,
|
|
3745
|
+
* "description": "Terminal result, if available. The review itself has no execution deadline."
|
|
3746
|
+
* }
|
|
3747
|
+
*/
|
|
3748
|
+
result?: KclMigrationResult;
|
|
3749
|
+
/** Current state. */
|
|
3750
|
+
status: KclMigrationStatus;
|
|
3751
|
+
/** Target accepted for this attempt. */
|
|
3752
|
+
target: KclMigrationTarget;
|
|
3753
|
+
}
|
|
3754
|
+
export interface KclMigrationRequest {
|
|
3755
|
+
/** default:false, description:Explicit consent to unstable preview semantics. */
|
|
3756
|
+
allow_preview?: boolean;
|
|
3757
|
+
current_files: {
|
|
3758
|
+
[key: string]: number[];
|
|
3759
|
+
};
|
|
3760
|
+
/** Project-relative KCL file to execute. */
|
|
3761
|
+
entrypoint: string;
|
|
3762
|
+
/** Revision against which the user will review and apply the candidate. */
|
|
3763
|
+
project_snapshot: MlCopilotProjectSnapshotMetadata;
|
|
3764
|
+
/** Client-generated idempotency key. Reuse it when retrying delivery. */
|
|
3765
|
+
request_id: Uuid;
|
|
3766
|
+
/** Requested target. The worker inspects the actual source version. */
|
|
3767
|
+
target: KclMigrationTarget;
|
|
3768
|
+
}
|
|
3769
|
+
export interface KclMigrationResult {
|
|
3770
|
+
/**
|
|
3771
|
+
* {
|
|
3772
|
+
* "default": false,
|
|
3773
|
+
* "description": "Confirmed rejection or failure before conversion started. Only unsuccessful attempts may set this; API excludes them from the daily attempt allowance. Missing evidence defaults to counting the attempt."
|
|
3774
|
+
* }
|
|
3775
|
+
*/
|
|
3776
|
+
conversion_not_started?: boolean;
|
|
3777
|
+
/** User-facing outcome or failure explanation. */
|
|
3778
|
+
detail: string;
|
|
3779
|
+
files?: {
|
|
3780
|
+
[key: string]: number[];
|
|
3781
|
+
};
|
|
3782
|
+
/** Terminal state. `running` is not a valid result. */
|
|
3783
|
+
status: KclMigrationStatus;
|
|
3784
|
+
/**
|
|
3785
|
+
* {
|
|
3786
|
+
* "nullable": true,
|
|
3787
|
+
* "description": "Execution and equivalence evidence, required on success."
|
|
3788
|
+
* }
|
|
3789
|
+
*/
|
|
3790
|
+
validation?: KclMigrationValidation;
|
|
3791
|
+
}
|
|
3792
|
+
export type KclMigrationServerMessage = {
|
|
3793
|
+
/**
|
|
3794
|
+
* {
|
|
3795
|
+
* "$ref": "#/components/schemas/KclMigrationOperation"
|
|
3796
|
+
* }
|
|
3797
|
+
*/
|
|
3798
|
+
operation: KclMigrationOperation;
|
|
3799
|
+
type: 'operation';
|
|
3800
|
+
} | {
|
|
3801
|
+
detail: string;
|
|
3802
|
+
type: 'error';
|
|
3803
|
+
} | {
|
|
3804
|
+
type: 'pong';
|
|
3805
|
+
};
|
|
3806
|
+
export type KclMigrationStatus = 'running' | 'succeeded' | 'failed' | 'timed_out' | 'cancelled' | 'unsupported' | 'validation_failed';
|
|
3807
|
+
export type KclMigrationTarget = '3.0-preview' | '3.0';
|
|
3808
|
+
export interface KclMigrationValidation {
|
|
3809
|
+
/** Relevant parameter and control-flow behavior passed validation. */
|
|
3810
|
+
behavior_preserved: boolean;
|
|
3811
|
+
/** Geometry passed the version-pair validation policy. */
|
|
3812
|
+
geometry_preserved: boolean;
|
|
3813
|
+
/** Revision of the conversion instructions and validation policy. */
|
|
3814
|
+
rules_revision: string;
|
|
3815
|
+
/** Exact target runtime used for execution and geometry checks. */
|
|
3816
|
+
runtime_version: string;
|
|
3817
|
+
/** The unchanged source project executed successfully. */
|
|
3818
|
+
source_executed: boolean;
|
|
3819
|
+
/** Actual source semantics detected and executed by the worker. */
|
|
3820
|
+
source_version: string;
|
|
3821
|
+
/** Reviewable explanation of checks, tolerances, and any accepted differences. */
|
|
3822
|
+
summary: string;
|
|
3823
|
+
/** Target semantics used during validation, which must match the request. */
|
|
3824
|
+
target: KclMigrationTarget;
|
|
3825
|
+
/** The candidate executed successfully under target semantics. */
|
|
3826
|
+
target_executed: boolean;
|
|
3827
|
+
}
|
|
3537
3828
|
export interface KclModel {
|
|
3538
3829
|
/** The KCL code. */
|
|
3539
3830
|
code: string;
|
|
@@ -3542,7 +3833,8 @@ export type KclProjectFileRole = 'project_toml' | 'project_file' | 'preview_imag
|
|
|
3542
3833
|
export type KclProjectPreviewStatus = 'pending' | 'ready' | 'failed';
|
|
3543
3834
|
export type KclProjectPublicationStatus = 'private' | 'draft' | 'pending_review' | 'published' | 'rejected' | 'deleted' | 'changes_requested';
|
|
3544
3835
|
export type KclProjectShareLinkAccessMode = 'anyone_with_link' | 'organization_only';
|
|
3545
|
-
export type
|
|
3836
|
+
export type KclProjectVersionAncestryStatus = 'root' | 'recorded' | 'legacy_unknown';
|
|
3837
|
+
export type KclVersion = '1.0' | '2.0' | '3.0-preview' | '3.0';
|
|
3546
3838
|
export type LengthUnit = number;
|
|
3547
3839
|
export type LenientUrl =
|
|
3548
3840
|
/**
|
|
@@ -5427,6 +5719,8 @@ export type ModelingCmd = {
|
|
|
5427
5719
|
highlight_color?: Color;
|
|
5428
5720
|
/** nullable:true, description:The default color to use for selection */
|
|
5429
5721
|
selection_color?: Color;
|
|
5722
|
+
/** nullable:true, description:The default tolerance values. */
|
|
5723
|
+
tolerance?: Tolerance;
|
|
5430
5724
|
type: 'set_default_system_properties';
|
|
5431
5725
|
} | {
|
|
5432
5726
|
/** format:uuid, description:Which curve to query. */
|
|
@@ -5633,6 +5927,39 @@ export type ModelingCmd = {
|
|
|
5633
5927
|
/** The output unit for the surface area. */
|
|
5634
5928
|
output_unit: UnitArea;
|
|
5635
5929
|
type: 'surface_area';
|
|
5930
|
+
} | {
|
|
5931
|
+
/** The output unit for the bounding box's dimensions. */
|
|
5932
|
+
bounding_box_output_unit: UnitLength;
|
|
5933
|
+
/** The output unit for center of mass. */
|
|
5934
|
+
center_of_mass_output_unit: UnitLength;
|
|
5935
|
+
/** The output unit for density. */
|
|
5936
|
+
density_output_unit: UnitDensity;
|
|
5937
|
+
/**
|
|
5938
|
+
* {
|
|
5939
|
+
* "format": "uuid"
|
|
5940
|
+
* }
|
|
5941
|
+
*/
|
|
5942
|
+
entity_ids: string[];
|
|
5943
|
+
/** The output unit for mass. */
|
|
5944
|
+
mass_output_unit: UnitMass;
|
|
5945
|
+
/** format:double, description:The material density used to calculate mass. */
|
|
5946
|
+
material_density: number;
|
|
5947
|
+
/** The material density unit. */
|
|
5948
|
+
material_density_unit: UnitDensity;
|
|
5949
|
+
/**
|
|
5950
|
+
* {
|
|
5951
|
+
* "format": "double",
|
|
5952
|
+
* "description": "The material mass used to calculate density, independently of the calculated mass."
|
|
5953
|
+
* }
|
|
5954
|
+
*/
|
|
5955
|
+
material_mass: number;
|
|
5956
|
+
/** The material mass unit. */
|
|
5957
|
+
material_mass_unit: UnitMass;
|
|
5958
|
+
/** The output unit for surface area. */
|
|
5959
|
+
surface_area_output_unit: UnitArea;
|
|
5960
|
+
type: 'physical_properties';
|
|
5961
|
+
/** The output unit for volume. */
|
|
5962
|
+
volume_output_unit: UnitVolume;
|
|
5636
5963
|
} | {
|
|
5637
5964
|
type: 'default_camera_focus_on';
|
|
5638
5965
|
/** format:uuid, description:UUID of object to focus on. */
|
|
@@ -7257,6 +7584,14 @@ export type OkModelingCmdResponse = {
|
|
|
7257
7584
|
*/
|
|
7258
7585
|
data: CenterOfMass;
|
|
7259
7586
|
type: 'center_of_mass';
|
|
7587
|
+
} | {
|
|
7588
|
+
/**
|
|
7589
|
+
* {
|
|
7590
|
+
* "$ref": "#/components/schemas/PhysicalProperties"
|
|
7591
|
+
* }
|
|
7592
|
+
*/
|
|
7593
|
+
data: PhysicalProperties;
|
|
7594
|
+
type: 'physical_properties';
|
|
7260
7595
|
} | {
|
|
7261
7596
|
/**
|
|
7262
7597
|
* {
|
|
@@ -8147,6 +8482,17 @@ export interface OrgSkillResponse {
|
|
|
8147
8482
|
/** Human-readable activation name. */
|
|
8148
8483
|
name: string;
|
|
8149
8484
|
}
|
|
8485
|
+
export interface OrgSkillResponseResultsPage {
|
|
8486
|
+
/** list of items on this page of results */
|
|
8487
|
+
items: OrgSkillResponse[];
|
|
8488
|
+
/**
|
|
8489
|
+
* {
|
|
8490
|
+
* "nullable": true,
|
|
8491
|
+
* "description": "token used to fetch the next page of results (if any)"
|
|
8492
|
+
* }
|
|
8493
|
+
*/
|
|
8494
|
+
next_page?: string;
|
|
8495
|
+
}
|
|
8150
8496
|
export interface OrientToFace {
|
|
8151
8497
|
/** Camera settings */
|
|
8152
8498
|
settings: CameraSettings;
|
|
@@ -8183,6 +8529,13 @@ export type OutputFormat3d = {
|
|
|
8183
8529
|
storage: FbxStorage;
|
|
8184
8530
|
type: 'fbx';
|
|
8185
8531
|
} | {
|
|
8532
|
+
/**
|
|
8533
|
+
* {
|
|
8534
|
+
* "default": false,
|
|
8535
|
+
* "description": "Include engine UUIDs in glTF extras. Defaults to false."
|
|
8536
|
+
* }
|
|
8537
|
+
*/
|
|
8538
|
+
include_uuids?: boolean;
|
|
8186
8539
|
/** Specifies how the JSON will be presented. */
|
|
8187
8540
|
presentation: GltfPresentation;
|
|
8188
8541
|
/** Specifies which kind of glTF 2.0 will be exported. */
|
|
@@ -8422,6 +8775,17 @@ export interface PaymentMethodCardChecks {
|
|
|
8422
8775
|
/** If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. */
|
|
8423
8776
|
cvc_check?: string;
|
|
8424
8777
|
}
|
|
8778
|
+
export interface PaymentMethodResultsPage {
|
|
8779
|
+
/** list of items on this page of results */
|
|
8780
|
+
items: PaymentMethod[];
|
|
8781
|
+
/**
|
|
8782
|
+
* {
|
|
8783
|
+
* "nullable": true,
|
|
8784
|
+
* "description": "token used to fetch the next page of results (if any)"
|
|
8785
|
+
* }
|
|
8786
|
+
*/
|
|
8787
|
+
next_page?: string;
|
|
8788
|
+
}
|
|
8425
8789
|
export type PaymentMethodType = 'card';
|
|
8426
8790
|
export interface PerspectiveCameraParameters {
|
|
8427
8791
|
/** nullable:true, format:float, description:Camera frustum vertical field of view. */
|
|
@@ -8431,6 +8795,20 @@ export interface PerspectiveCameraParameters {
|
|
|
8431
8795
|
/** nullable:true, format:float, description:Camera frustum near plane. */
|
|
8432
8796
|
z_near?: number;
|
|
8433
8797
|
}
|
|
8798
|
+
export interface PhysicalProperties {
|
|
8799
|
+
/** The bounding box's center and dimensions, in the requested bounding box output unit. */
|
|
8800
|
+
bounding_box: BoundingBox;
|
|
8801
|
+
/** The center of mass and its output unit. */
|
|
8802
|
+
center_of_mass: CenterOfMass;
|
|
8803
|
+
/** The density and its output unit. */
|
|
8804
|
+
density: Density;
|
|
8805
|
+
/** The mass and its output unit. */
|
|
8806
|
+
mass: Mass;
|
|
8807
|
+
/** The surface area and its output unit. */
|
|
8808
|
+
surface_area: SurfaceArea;
|
|
8809
|
+
/** The volume and its output unit. */
|
|
8810
|
+
volume: Volume;
|
|
8811
|
+
}
|
|
8434
8812
|
export type PlanInterval = 'day' | 'month' | 'week' | 'year' | 'unknown';
|
|
8435
8813
|
export interface PlanStep {
|
|
8436
8814
|
/** The edit instructions for the step. */
|
|
@@ -8692,6 +9070,17 @@ export interface ProjectShareLinkResponse {
|
|
|
8692
9070
|
/** format:uri, description:Fully-qualified URL that can be shared. */
|
|
8693
9071
|
url: string;
|
|
8694
9072
|
}
|
|
9073
|
+
export interface ProjectShareLinkResponseResultsPage {
|
|
9074
|
+
/** list of items on this page of results */
|
|
9075
|
+
items: ProjectShareLinkResponse[];
|
|
9076
|
+
/**
|
|
9077
|
+
* {
|
|
9078
|
+
* "nullable": true,
|
|
9079
|
+
* "description": "token used to fetch the next page of results (if any)"
|
|
9080
|
+
* }
|
|
9081
|
+
*/
|
|
9082
|
+
next_page?: string;
|
|
9083
|
+
}
|
|
8695
9084
|
export interface ProjectSummaryResponse {
|
|
8696
9085
|
/** Effective project capabilities for the authenticated caller. */
|
|
8697
9086
|
access: ProjectAccessResponse;
|
|
@@ -8727,6 +9116,64 @@ export interface ProjectSummaryResponse {
|
|
|
8727
9116
|
/** title:DateTime, format:date-time, description:When the project row was last updated. */
|
|
8728
9117
|
updated_at: string;
|
|
8729
9118
|
}
|
|
9119
|
+
export interface ProjectVersionDetailResponse {
|
|
9120
|
+
/** Whether this is a root, has a recorded parent, or has unknown ancestry. */
|
|
9121
|
+
ancestry_status: KclProjectVersionAncestryStatus;
|
|
9122
|
+
/** title:DateTime, format:date-time, description:When this version was created. */
|
|
9123
|
+
created_at: string;
|
|
9124
|
+
/** Description saved with this version. */
|
|
9125
|
+
description: string;
|
|
9126
|
+
/** Relative path to this version's KCL entrypoint. */
|
|
9127
|
+
entrypoint_path: string;
|
|
9128
|
+
/** Files stored for this version. */
|
|
9129
|
+
files: ProjectFileResponse[];
|
|
9130
|
+
/** Unique identifier of this version. */
|
|
9131
|
+
id: Uuid;
|
|
9132
|
+
/** Whether this is the project's current version. */
|
|
9133
|
+
is_current: boolean;
|
|
9134
|
+
/** nullable:true, description:Version this save was based on, when known. */
|
|
9135
|
+
parent_version_id?: Uuid;
|
|
9136
|
+
/** Preview generation state for this version. */
|
|
9137
|
+
preview_status: KclProjectPreviewStatus;
|
|
9138
|
+
/**
|
|
9139
|
+
* {
|
|
9140
|
+
* "nullable": true,
|
|
9141
|
+
* "description": "URL for this version's preview, when a preview file is available."
|
|
9142
|
+
* }
|
|
9143
|
+
*/
|
|
9144
|
+
preview_url?: string;
|
|
9145
|
+
/** Relative path to this version's project manifest. */
|
|
9146
|
+
project_toml_path: string;
|
|
9147
|
+
/** Title saved with this version. */
|
|
9148
|
+
title: string;
|
|
9149
|
+
}
|
|
9150
|
+
export interface ProjectVersionSummaryResponse {
|
|
9151
|
+
/** Whether this is a root, has a recorded parent, or has unknown ancestry. */
|
|
9152
|
+
ancestry_status: KclProjectVersionAncestryStatus;
|
|
9153
|
+
/** title:DateTime, format:date-time, description:When this version was created. */
|
|
9154
|
+
created_at: string;
|
|
9155
|
+
/** Unique identifier of this version. */
|
|
9156
|
+
id: Uuid;
|
|
9157
|
+
/** Whether this is the project's current version. */
|
|
9158
|
+
is_current: boolean;
|
|
9159
|
+
/** nullable:true, description:Version this save was based on, when known. */
|
|
9160
|
+
parent_version_id?: Uuid;
|
|
9161
|
+
/** Preview generation state for this version. */
|
|
9162
|
+
preview_status: KclProjectPreviewStatus;
|
|
9163
|
+
/** Title saved with this version. */
|
|
9164
|
+
title: string;
|
|
9165
|
+
}
|
|
9166
|
+
export interface ProjectVersionSummaryResponseResultsPage {
|
|
9167
|
+
/** list of items on this page of results */
|
|
9168
|
+
items: ProjectVersionSummaryResponse[];
|
|
9169
|
+
/**
|
|
9170
|
+
* {
|
|
9171
|
+
* "nullable": true,
|
|
9172
|
+
* "description": "token used to fetch the next page of results (if any)"
|
|
9173
|
+
* }
|
|
9174
|
+
*/
|
|
9175
|
+
next_page?: string;
|
|
9176
|
+
}
|
|
8730
9177
|
export interface PublicEmailMarketingConsentRequest {
|
|
8731
9178
|
/** format:email, description:The email */
|
|
8732
9179
|
email: string;
|
|
@@ -8764,6 +9211,17 @@ export interface PublicProjectResponse {
|
|
|
8764
9211
|
/** Public project title. */
|
|
8765
9212
|
title: string;
|
|
8766
9213
|
}
|
|
9214
|
+
export interface PublicProjectResponseResultsPage {
|
|
9215
|
+
/** list of items on this page of results */
|
|
9216
|
+
items: PublicProjectResponse[];
|
|
9217
|
+
/**
|
|
9218
|
+
* {
|
|
9219
|
+
* "nullable": true,
|
|
9220
|
+
* "description": "token used to fetch the next page of results (if any)"
|
|
9221
|
+
* }
|
|
9222
|
+
*/
|
|
9223
|
+
next_page?: string;
|
|
9224
|
+
}
|
|
8767
9225
|
export interface PublicProjectVoteResponse {
|
|
8768
9226
|
/** format:int64, description:Current total public like count for the project. */
|
|
8769
9227
|
like_count: number;
|
|
@@ -9671,6 +10129,10 @@ export interface TokenRevokeRequestForm {
|
|
|
9671
10129
|
/** The token to revoke. */
|
|
9672
10130
|
token: string;
|
|
9673
10131
|
}
|
|
10132
|
+
export interface Tolerance {
|
|
10133
|
+
/** The distance tolerance for 2D point-point coincidence. */
|
|
10134
|
+
point_point_2d_coincident: LengthUnit;
|
|
10135
|
+
}
|
|
9674
10136
|
export interface Transform {
|
|
9675
10137
|
/**
|
|
9676
10138
|
* {
|
|
@@ -11202,6 +11664,7 @@ export interface Models {
|
|
|
11202
11664
|
AnnotationLineEndOptions: AnnotationLineEndOptions;
|
|
11203
11665
|
AnnotationMbdBasicDimension: AnnotationMbdBasicDimension;
|
|
11204
11666
|
AnnotationMbdControlFrame: AnnotationMbdControlFrame;
|
|
11667
|
+
AnnotationMbdLeaderPosition: AnnotationMbdLeaderPosition;
|
|
11205
11668
|
AnnotationOptions: AnnotationOptions;
|
|
11206
11669
|
AnnotationTextAlignmentX: AnnotationTextAlignmentX;
|
|
11207
11670
|
AnnotationTextAlignmentY: AnnotationTextAlignmentY;
|
|
@@ -11373,6 +11836,7 @@ export interface Models {
|
|
|
11373
11836
|
FaceGetPosition: FaceGetPosition;
|
|
11374
11837
|
FaceIsPlanar: FaceIsPlanar;
|
|
11375
11838
|
FactoryCustomerCatalogOption: FactoryCustomerCatalogOption;
|
|
11839
|
+
FactoryCustomerCatalogOptionResultsPage: FactoryCustomerCatalogOptionResultsPage;
|
|
11376
11840
|
FactoryCustomerJobDetail: FactoryCustomerJobDetail;
|
|
11377
11841
|
FactoryCustomerJobSummary: FactoryCustomerJobSummary;
|
|
11378
11842
|
FactoryCustomerJobSummaryResultsPage: FactoryCustomerJobSummaryResultsPage;
|
|
@@ -11381,6 +11845,7 @@ export interface Models {
|
|
|
11381
11845
|
FailureWebSocketResponse: FailureWebSocketResponse;
|
|
11382
11846
|
FbxStorage: FbxStorage;
|
|
11383
11847
|
Feature: Feature;
|
|
11848
|
+
FileBoundingBox: FileBoundingBox;
|
|
11384
11849
|
FileCenterOfMass: FileCenterOfMass;
|
|
11385
11850
|
FileConversion: FileConversion;
|
|
11386
11851
|
FileDensity: FileDensity;
|
|
@@ -11417,11 +11882,20 @@ export interface Models {
|
|
|
11417
11882
|
KclCodeCompletionParams: KclCodeCompletionParams;
|
|
11418
11883
|
KclCodeCompletionRequest: KclCodeCompletionRequest;
|
|
11419
11884
|
KclCodeCompletionResponse: KclCodeCompletionResponse;
|
|
11885
|
+
KclMigrationClientMessage: KclMigrationClientMessage;
|
|
11886
|
+
KclMigrationOperation: KclMigrationOperation;
|
|
11887
|
+
KclMigrationRequest: KclMigrationRequest;
|
|
11888
|
+
KclMigrationResult: KclMigrationResult;
|
|
11889
|
+
KclMigrationServerMessage: KclMigrationServerMessage;
|
|
11890
|
+
KclMigrationStatus: KclMigrationStatus;
|
|
11891
|
+
KclMigrationTarget: KclMigrationTarget;
|
|
11892
|
+
KclMigrationValidation: KclMigrationValidation;
|
|
11420
11893
|
KclModel: KclModel;
|
|
11421
11894
|
KclProjectFileRole: KclProjectFileRole;
|
|
11422
11895
|
KclProjectPreviewStatus: KclProjectPreviewStatus;
|
|
11423
11896
|
KclProjectPublicationStatus: KclProjectPublicationStatus;
|
|
11424
11897
|
KclProjectShareLinkAccessMode: KclProjectShareLinkAccessMode;
|
|
11898
|
+
KclProjectVersionAncestryStatus: KclProjectVersionAncestryStatus;
|
|
11425
11899
|
KclVersion: KclVersion;
|
|
11426
11900
|
LengthUnit: LengthUnit;
|
|
11427
11901
|
LenientUrl: LenientUrl;
|
|
@@ -11505,6 +11979,7 @@ export interface Models {
|
|
|
11505
11979
|
OrgMemberResultsPage: OrgMemberResultsPage;
|
|
11506
11980
|
OrgRole: OrgRole;
|
|
11507
11981
|
OrgSkillResponse: OrgSkillResponse;
|
|
11982
|
+
OrgSkillResponseResultsPage: OrgSkillResponseResultsPage;
|
|
11508
11983
|
OrientToFace: OrientToFace;
|
|
11509
11984
|
OriginType: OriginType;
|
|
11510
11985
|
OutputFile: OutputFile;
|
|
@@ -11523,8 +11998,10 @@ export interface Models {
|
|
|
11523
11998
|
PaymentIntent: PaymentIntent;
|
|
11524
11999
|
PaymentMethod: PaymentMethod;
|
|
11525
12000
|
PaymentMethodCardChecks: PaymentMethodCardChecks;
|
|
12001
|
+
PaymentMethodResultsPage: PaymentMethodResultsPage;
|
|
11526
12002
|
PaymentMethodType: PaymentMethodType;
|
|
11527
12003
|
PerspectiveCameraParameters: PerspectiveCameraParameters;
|
|
12004
|
+
PhysicalProperties: PhysicalProperties;
|
|
11528
12005
|
PlanInterval: PlanInterval;
|
|
11529
12006
|
PlanStep: PlanStep;
|
|
11530
12007
|
PlaneIntersectAndProject: PlaneIntersectAndProject;
|
|
@@ -11547,11 +12024,16 @@ export interface Models {
|
|
|
11547
12024
|
ProjectPublicationInfoResponse: ProjectPublicationInfoResponse;
|
|
11548
12025
|
ProjectResponse: ProjectResponse;
|
|
11549
12026
|
ProjectShareLinkResponse: ProjectShareLinkResponse;
|
|
12027
|
+
ProjectShareLinkResponseResultsPage: ProjectShareLinkResponseResultsPage;
|
|
11550
12028
|
ProjectSummaryResponse: ProjectSummaryResponse;
|
|
12029
|
+
ProjectVersionDetailResponse: ProjectVersionDetailResponse;
|
|
12030
|
+
ProjectVersionSummaryResponse: ProjectVersionSummaryResponse;
|
|
12031
|
+
ProjectVersionSummaryResponseResultsPage: ProjectVersionSummaryResponseResultsPage;
|
|
11551
12032
|
PublicEmailMarketingConsentRequest: PublicEmailMarketingConsentRequest;
|
|
11552
12033
|
PublicMailingListMembershipRequest: PublicMailingListMembershipRequest;
|
|
11553
12034
|
PublicProjectOwnerResponse: PublicProjectOwnerResponse;
|
|
11554
12035
|
PublicProjectResponse: PublicProjectResponse;
|
|
12036
|
+
PublicProjectResponseResultsPage: PublicProjectResponseResultsPage;
|
|
11555
12037
|
PublicProjectVoteResponse: PublicProjectVoteResponse;
|
|
11556
12038
|
QueryEntityType: QueryEntityType;
|
|
11557
12039
|
QueryEntityTypeWithPoint: QueryEntityTypeWithPoint;
|
|
@@ -11659,6 +12141,7 @@ export interface Models {
|
|
|
11659
12141
|
TextToCadResponse: TextToCadResponse;
|
|
11660
12142
|
TextToCadResponseResultsPage: TextToCadResponseResultsPage;
|
|
11661
12143
|
TokenRevokeRequestForm: TokenRevokeRequestForm;
|
|
12144
|
+
Tolerance: Tolerance;
|
|
11662
12145
|
Transform: Transform;
|
|
11663
12146
|
TransformByForPoint3d: TransformByForPoint3d;
|
|
11664
12147
|
TransformByForPoint4d: TransformByForPoint4d;
|