@kittycad/lib 4.5.6 → 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.
Files changed (39) hide show
  1. package/dist/cjs/index.cjs +1 -1
  2. package/dist/mjs/index.js +1 -1
  3. package/dist/types/src/api/factory/get_org_factory_job.d.ts +22 -0
  4. package/dist/types/src/api/factory/get_org_factory_job.d.ts.map +1 -0
  5. package/dist/types/src/api/factory/get_user_factory_finishes.d.ts +11 -5
  6. package/dist/types/src/api/factory/get_user_factory_finishes.d.ts.map +1 -1
  7. package/dist/types/src/api/factory/get_user_factory_job.d.ts +22 -0
  8. package/dist/types/src/api/factory/get_user_factory_job.d.ts.map +1 -0
  9. package/dist/types/src/api/factory/get_user_factory_materials.d.ts +11 -5
  10. package/dist/types/src/api/factory/get_user_factory_materials.d.ts.map +1 -1
  11. package/dist/types/src/api/file/create_file_bounding_box.d.ts +32 -0
  12. package/dist/types/src/api/file/create_file_bounding_box.d.ts.map +1 -0
  13. package/dist/types/src/api/ml/kcl_migration_ws.d.ts +31 -0
  14. package/dist/types/src/api/ml/kcl_migration_ws.d.ts.map +1 -0
  15. package/dist/types/src/api/orgs/list_org_skills.d.ts +11 -5
  16. package/dist/types/src/api/orgs/list_org_skills.d.ts.map +1 -1
  17. package/dist/types/src/api/payments/list_payment_methods_for_org.d.ts +11 -5
  18. package/dist/types/src/api/payments/list_payment_methods_for_org.d.ts.map +1 -1
  19. package/dist/types/src/api/payments/list_payment_methods_for_user.d.ts +11 -5
  20. package/dist/types/src/api/payments/list_payment_methods_for_user.d.ts.map +1 -1
  21. package/dist/types/src/api/projects/download_project_version.d.ts +24 -0
  22. package/dist/types/src/api/projects/download_project_version.d.ts.map +1 -0
  23. package/dist/types/src/api/projects/get_project_version.d.ts +24 -0
  24. package/dist/types/src/api/projects/get_project_version.d.ts.map +1 -0
  25. package/dist/types/src/api/projects/get_project_version_thumbnail.d.ts +22 -0
  26. package/dist/types/src/api/projects/get_project_version_thumbnail.d.ts.map +1 -0
  27. package/dist/types/src/api/projects/list_project_share_links.d.ts +10 -4
  28. package/dist/types/src/api/projects/list_project_share_links.d.ts.map +1 -1
  29. package/dist/types/src/api/projects/list_project_versions.d.ts +30 -0
  30. package/dist/types/src/api/projects/list_project_versions.d.ts.map +1 -0
  31. package/dist/types/src/api/projects/list_public_projects.d.ts +10 -4
  32. package/dist/types/src/api/projects/list_public_projects.d.ts.map +1 -1
  33. package/dist/types/src/index.d.ts +33 -3
  34. package/dist/types/src/index.d.ts.map +1 -1
  35. package/dist/types/src/models.d.ts +510 -11
  36. package/dist/types/src/models.d.ts.map +1 -1
  37. package/package.json +2 -2
  38. package/dist/types/src/api/ml/list_org_datasets_for_model.d.ts +0 -22
  39. package/dist/types/src/api/ml/list_org_datasets_for_model.d.ts.map +0 -1
@@ -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
- /** Normalized position within the entity to position the dimension from */
170
- from_entity_pos: Point2d;
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
- /** Normalized position within the entity to position the dimension to */
198
- to_entity_pos: Point2d;
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
- /** Normalized position within the entity to position the annotation leader from */
224
- entity_pos: Point2d;
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
- /** Normalized position within the entity to position the annotation leader from */
288
- entity_pos: Point2d;
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,23 @@ 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
+ }
2697
+ export interface FactoryCustomerJobDetail {
2698
+ /** nullable:true, description:The current version, if the job has one. */
2699
+ current_version?: FactoryCustomerJobVersion;
2700
+ /** The same summary returned by the customer job list. */
2701
+ job: FactoryCustomerJobSummary;
2702
+ }
2581
2703
  export interface FactoryCustomerJobSummary {
2582
2704
  /** title:DateTime, format:date-time, description:When the job was created. */
2583
2705
  created_at: string;
@@ -2601,6 +2723,14 @@ export interface FactoryCustomerJobSummaryResultsPage {
2601
2723
  */
2602
2724
  next_page?: string;
2603
2725
  }
2726
+ export interface FactoryCustomerJobVersion {
2727
+ /** title:DateTime, format:date-time, description:When this version was created. */
2728
+ created_at: string;
2729
+ file_names: string[];
2730
+ /** Identifier of the current version. */
2731
+ id: Uuid;
2732
+ specs: string;
2733
+ }
2604
2734
  export interface FactoryJobResponse {
2605
2735
  /** nullable:true, description:The current (first) version id of the job. */
2606
2736
  current_version_id?: Uuid;
@@ -2624,7 +2754,52 @@ export interface FailureWebSocketResponse {
2624
2754
  success: boolean;
2625
2755
  }
2626
2756
  export type FbxStorage = 'ascii' | 'binary';
2627
- 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' | 'web_app_file_browser' | 'zookeeper_pro_mode' | 'zookeeper_ultra_mode' | 'zookeeper_client_commands' | 'unsafe_allow_api_key_auth' | 'unsafe_allow_localhost_shortlinks' | 'zoo_corp_auth';
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
+ }
2628
2803
  export interface FileCenterOfMass {
2629
2804
  /**
2630
2805
  * {
@@ -3520,6 +3695,136 @@ export interface KclCodeCompletionRequest {
3520
3695
  export interface KclCodeCompletionResponse {
3521
3696
  completions: string[];
3522
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
+ }
3523
3828
  export interface KclModel {
3524
3829
  /** The KCL code. */
3525
3830
  code: string;
@@ -3528,7 +3833,8 @@ export type KclProjectFileRole = 'project_toml' | 'project_file' | 'preview_imag
3528
3833
  export type KclProjectPreviewStatus = 'pending' | 'ready' | 'failed';
3529
3834
  export type KclProjectPublicationStatus = 'private' | 'draft' | 'pending_review' | 'published' | 'rejected' | 'deleted' | 'changes_requested';
3530
3835
  export type KclProjectShareLinkAccessMode = 'anyone_with_link' | 'organization_only';
3531
- export type KclVersion = '1.0' | '2.0' | '3.0-preview';
3836
+ export type KclProjectVersionAncestryStatus = 'root' | 'recorded' | 'legacy_unknown';
3837
+ export type KclVersion = '1.0' | '2.0' | '3.0-preview' | '3.0';
3532
3838
  export type LengthUnit = number;
3533
3839
  export type LenientUrl =
3534
3840
  /**
@@ -5413,6 +5719,8 @@ export type ModelingCmd = {
5413
5719
  highlight_color?: Color;
5414
5720
  /** nullable:true, description:The default color to use for selection */
5415
5721
  selection_color?: Color;
5722
+ /** nullable:true, description:The default tolerance values. */
5723
+ tolerance?: Tolerance;
5416
5724
  type: 'set_default_system_properties';
5417
5725
  } | {
5418
5726
  /** format:uuid, description:Which curve to query. */
@@ -5619,6 +5927,39 @@ export type ModelingCmd = {
5619
5927
  /** The output unit for the surface area. */
5620
5928
  output_unit: UnitArea;
5621
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;
5622
5963
  } | {
5623
5964
  type: 'default_camera_focus_on';
5624
5965
  /** format:uuid, description:UUID of object to focus on. */
@@ -7243,6 +7584,14 @@ export type OkModelingCmdResponse = {
7243
7584
  */
7244
7585
  data: CenterOfMass;
7245
7586
  type: 'center_of_mass';
7587
+ } | {
7588
+ /**
7589
+ * {
7590
+ * "$ref": "#/components/schemas/PhysicalProperties"
7591
+ * }
7592
+ */
7593
+ data: PhysicalProperties;
7594
+ type: 'physical_properties';
7246
7595
  } | {
7247
7596
  /**
7248
7597
  * {
@@ -8133,6 +8482,17 @@ export interface OrgSkillResponse {
8133
8482
  /** Human-readable activation name. */
8134
8483
  name: string;
8135
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
+ }
8136
8496
  export interface OrientToFace {
8137
8497
  /** Camera settings */
8138
8498
  settings: CameraSettings;
@@ -8169,6 +8529,13 @@ export type OutputFormat3d = {
8169
8529
  storage: FbxStorage;
8170
8530
  type: 'fbx';
8171
8531
  } | {
8532
+ /**
8533
+ * {
8534
+ * "default": false,
8535
+ * "description": "Include engine UUIDs in glTF extras. Defaults to false."
8536
+ * }
8537
+ */
8538
+ include_uuids?: boolean;
8172
8539
  /** Specifies how the JSON will be presented. */
8173
8540
  presentation: GltfPresentation;
8174
8541
  /** Specifies which kind of glTF 2.0 will be exported. */
@@ -8408,6 +8775,17 @@ export interface PaymentMethodCardChecks {
8408
8775
  /** If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. */
8409
8776
  cvc_check?: string;
8410
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
+ }
8411
8789
  export type PaymentMethodType = 'card';
8412
8790
  export interface PerspectiveCameraParameters {
8413
8791
  /** nullable:true, format:float, description:Camera frustum vertical field of view. */
@@ -8417,6 +8795,20 @@ export interface PerspectiveCameraParameters {
8417
8795
  /** nullable:true, format:float, description:Camera frustum near plane. */
8418
8796
  z_near?: number;
8419
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
+ }
8420
8812
  export type PlanInterval = 'day' | 'month' | 'week' | 'year' | 'unknown';
8421
8813
  export interface PlanStep {
8422
8814
  /** The edit instructions for the step. */
@@ -8678,6 +9070,17 @@ export interface ProjectShareLinkResponse {
8678
9070
  /** format:uri, description:Fully-qualified URL that can be shared. */
8679
9071
  url: string;
8680
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
+ }
8681
9084
  export interface ProjectSummaryResponse {
8682
9085
  /** Effective project capabilities for the authenticated caller. */
8683
9086
  access: ProjectAccessResponse;
@@ -8713,6 +9116,64 @@ export interface ProjectSummaryResponse {
8713
9116
  /** title:DateTime, format:date-time, description:When the project row was last updated. */
8714
9117
  updated_at: string;
8715
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
+ }
8716
9177
  export interface PublicEmailMarketingConsentRequest {
8717
9178
  /** format:email, description:The email */
8718
9179
  email: string;
@@ -8750,6 +9211,17 @@ export interface PublicProjectResponse {
8750
9211
  /** Public project title. */
8751
9212
  title: string;
8752
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
+ }
8753
9225
  export interface PublicProjectVoteResponse {
8754
9226
  /** format:int64, description:Current total public like count for the project. */
8755
9227
  like_count: number;
@@ -9657,6 +10129,10 @@ export interface TokenRevokeRequestForm {
9657
10129
  /** The token to revoke. */
9658
10130
  token: string;
9659
10131
  }
10132
+ export interface Tolerance {
10133
+ /** The distance tolerance for 2D point-point coincidence. */
10134
+ point_point_2d_coincident: LengthUnit;
10135
+ }
9660
10136
  export interface Transform {
9661
10137
  /**
9662
10138
  * {
@@ -11188,6 +11664,7 @@ export interface Models {
11188
11664
  AnnotationLineEndOptions: AnnotationLineEndOptions;
11189
11665
  AnnotationMbdBasicDimension: AnnotationMbdBasicDimension;
11190
11666
  AnnotationMbdControlFrame: AnnotationMbdControlFrame;
11667
+ AnnotationMbdLeaderPosition: AnnotationMbdLeaderPosition;
11191
11668
  AnnotationOptions: AnnotationOptions;
11192
11669
  AnnotationTextAlignmentX: AnnotationTextAlignmentX;
11193
11670
  AnnotationTextAlignmentY: AnnotationTextAlignmentY;
@@ -11359,12 +11836,16 @@ export interface Models {
11359
11836
  FaceGetPosition: FaceGetPosition;
11360
11837
  FaceIsPlanar: FaceIsPlanar;
11361
11838
  FactoryCustomerCatalogOption: FactoryCustomerCatalogOption;
11839
+ FactoryCustomerCatalogOptionResultsPage: FactoryCustomerCatalogOptionResultsPage;
11840
+ FactoryCustomerJobDetail: FactoryCustomerJobDetail;
11362
11841
  FactoryCustomerJobSummary: FactoryCustomerJobSummary;
11363
11842
  FactoryCustomerJobSummaryResultsPage: FactoryCustomerJobSummaryResultsPage;
11843
+ FactoryCustomerJobVersion: FactoryCustomerJobVersion;
11364
11844
  FactoryJobResponse: FactoryJobResponse;
11365
11845
  FailureWebSocketResponse: FailureWebSocketResponse;
11366
11846
  FbxStorage: FbxStorage;
11367
11847
  Feature: Feature;
11848
+ FileBoundingBox: FileBoundingBox;
11368
11849
  FileCenterOfMass: FileCenterOfMass;
11369
11850
  FileConversion: FileConversion;
11370
11851
  FileDensity: FileDensity;
@@ -11401,11 +11882,20 @@ export interface Models {
11401
11882
  KclCodeCompletionParams: KclCodeCompletionParams;
11402
11883
  KclCodeCompletionRequest: KclCodeCompletionRequest;
11403
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;
11404
11893
  KclModel: KclModel;
11405
11894
  KclProjectFileRole: KclProjectFileRole;
11406
11895
  KclProjectPreviewStatus: KclProjectPreviewStatus;
11407
11896
  KclProjectPublicationStatus: KclProjectPublicationStatus;
11408
11897
  KclProjectShareLinkAccessMode: KclProjectShareLinkAccessMode;
11898
+ KclProjectVersionAncestryStatus: KclProjectVersionAncestryStatus;
11409
11899
  KclVersion: KclVersion;
11410
11900
  LengthUnit: LengthUnit;
11411
11901
  LenientUrl: LenientUrl;
@@ -11489,6 +11979,7 @@ export interface Models {
11489
11979
  OrgMemberResultsPage: OrgMemberResultsPage;
11490
11980
  OrgRole: OrgRole;
11491
11981
  OrgSkillResponse: OrgSkillResponse;
11982
+ OrgSkillResponseResultsPage: OrgSkillResponseResultsPage;
11492
11983
  OrientToFace: OrientToFace;
11493
11984
  OriginType: OriginType;
11494
11985
  OutputFile: OutputFile;
@@ -11507,8 +11998,10 @@ export interface Models {
11507
11998
  PaymentIntent: PaymentIntent;
11508
11999
  PaymentMethod: PaymentMethod;
11509
12000
  PaymentMethodCardChecks: PaymentMethodCardChecks;
12001
+ PaymentMethodResultsPage: PaymentMethodResultsPage;
11510
12002
  PaymentMethodType: PaymentMethodType;
11511
12003
  PerspectiveCameraParameters: PerspectiveCameraParameters;
12004
+ PhysicalProperties: PhysicalProperties;
11512
12005
  PlanInterval: PlanInterval;
11513
12006
  PlanStep: PlanStep;
11514
12007
  PlaneIntersectAndProject: PlaneIntersectAndProject;
@@ -11531,11 +12024,16 @@ export interface Models {
11531
12024
  ProjectPublicationInfoResponse: ProjectPublicationInfoResponse;
11532
12025
  ProjectResponse: ProjectResponse;
11533
12026
  ProjectShareLinkResponse: ProjectShareLinkResponse;
12027
+ ProjectShareLinkResponseResultsPage: ProjectShareLinkResponseResultsPage;
11534
12028
  ProjectSummaryResponse: ProjectSummaryResponse;
12029
+ ProjectVersionDetailResponse: ProjectVersionDetailResponse;
12030
+ ProjectVersionSummaryResponse: ProjectVersionSummaryResponse;
12031
+ ProjectVersionSummaryResponseResultsPage: ProjectVersionSummaryResponseResultsPage;
11535
12032
  PublicEmailMarketingConsentRequest: PublicEmailMarketingConsentRequest;
11536
12033
  PublicMailingListMembershipRequest: PublicMailingListMembershipRequest;
11537
12034
  PublicProjectOwnerResponse: PublicProjectOwnerResponse;
11538
12035
  PublicProjectResponse: PublicProjectResponse;
12036
+ PublicProjectResponseResultsPage: PublicProjectResponseResultsPage;
11539
12037
  PublicProjectVoteResponse: PublicProjectVoteResponse;
11540
12038
  QueryEntityType: QueryEntityType;
11541
12039
  QueryEntityTypeWithPoint: QueryEntityTypeWithPoint;
@@ -11643,6 +12141,7 @@ export interface Models {
11643
12141
  TextToCadResponse: TextToCadResponse;
11644
12142
  TextToCadResponseResultsPage: TextToCadResponseResultsPage;
11645
12143
  TokenRevokeRequestForm: TokenRevokeRequestForm;
12144
+ Tolerance: Tolerance;
11646
12145
  Transform: Transform;
11647
12146
  TransformByForPoint3d: TransformByForPoint3d;
11648
12147
  TransformByForPoint4d: TransformByForPoint4d;