@kittycad/lib 4.5.19 → 4.5.26
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/create_org_factory_job_version.d.ts +25 -0
- package/dist/types/src/api/factory/create_org_factory_job_version.d.ts.map +1 -0
- package/dist/types/src/api/factory/create_user_factory_job_version.d.ts +25 -0
- package/dist/types/src/api/factory/create_user_factory_job_version.d.ts.map +1 -0
- package/dist/types/src/api/factory/get_org_factory_job_file.d.ts +22 -0
- package/dist/types/src/api/factory/get_org_factory_job_file.d.ts.map +1 -0
- package/dist/types/src/api/factory/get_user_factory_job_file.d.ts +22 -0
- package/dist/types/src/api/factory/get_user_factory_job_file.d.ts.map +1 -0
- package/dist/types/src/api/factory/list_org_factory_job_versions.d.ts +30 -0
- package/dist/types/src/api/factory/list_org_factory_job_versions.d.ts.map +1 -0
- package/dist/types/src/api/factory/list_user_factory_job_versions.d.ts +30 -0
- package/dist/types/src/api/factory/list_user_factory_job_versions.d.ts.map +1 -0
- package/dist/types/src/api/projects/create_project.d.ts +9 -1
- package/dist/types/src/api/projects/create_project.d.ts.map +1 -1
- package/dist/types/src/api/projects/create_project_library.d.ts +16 -0
- package/dist/types/src/api/projects/create_project_library.d.ts.map +1 -1
- package/dist/types/src/api/projects/delete_project_library.d.ts +4 -0
- package/dist/types/src/api/projects/delete_project_library.d.ts.map +1 -1
- package/dist/types/src/api/projects/delete_project_organization.d.ts +3 -1
- package/dist/types/src/api/projects/delete_project_organization.d.ts.map +1 -1
- package/dist/types/src/api/projects/download_project.d.ts +11 -5
- package/dist/types/src/api/projects/download_project.d.ts.map +1 -1
- package/dist/types/src/api/projects/download_project_version.d.ts +11 -5
- package/dist/types/src/api/projects/download_project_version.d.ts.map +1 -1
- package/dist/types/src/api/projects/download_public_project.d.ts +9 -5
- package/dist/types/src/api/projects/download_public_project.d.ts.map +1 -1
- package/dist/types/src/api/projects/list_library_projects.d.ts +8 -0
- package/dist/types/src/api/projects/list_library_projects.d.ts.map +1 -1
- package/dist/types/src/api/projects/list_project_libraries.d.ts +8 -0
- package/dist/types/src/api/projects/list_project_libraries.d.ts.map +1 -1
- package/dist/types/src/api/projects/list_projects.d.ts +4 -0
- package/dist/types/src/api/projects/list_projects.d.ts.map +1 -1
- package/dist/types/src/api/projects/rename_project_library.d.ts +6 -0
- package/dist/types/src/api/projects/rename_project_library.d.ts.map +1 -1
- package/dist/types/src/api/projects/search_org_projects_semantic.d.ts +24 -0
- package/dist/types/src/api/projects/search_org_projects_semantic.d.ts.map +1 -0
- package/dist/types/src/api/projects/update_project.d.ts +2 -0
- package/dist/types/src/api/projects/update_project.d.ts.map +1 -1
- package/dist/types/src/api/projects/update_project_library.d.ts +40 -0
- package/dist/types/src/api/projects/update_project_library.d.ts.map +1 -0
- package/dist/types/src/api/projects/update_project_organization.d.ts +3 -1
- package/dist/types/src/api/projects/update_project_organization.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +21 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +237 -16
- package/dist/types/src/models.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1802,6 +1802,13 @@ export interface CreateProjectLibraryRequest {
|
|
|
1802
1802
|
name: string;
|
|
1803
1803
|
/** Whether the library belongs to the user or their active organization. */
|
|
1804
1804
|
scope: ProjectLibraryScope;
|
|
1805
|
+
/**
|
|
1806
|
+
* {
|
|
1807
|
+
* "default": "zds",
|
|
1808
|
+
* "description": "Application creating the library. Defaults to zds when omitted."
|
|
1809
|
+
* }
|
|
1810
|
+
*/
|
|
1811
|
+
source?: KclProjectLibrarySource;
|
|
1805
1812
|
}
|
|
1806
1813
|
export interface CreateProjectShareLinkRequest {
|
|
1807
1814
|
/** default:anyone_with_link, description:Access policy for the generated share link. */
|
|
@@ -2712,6 +2719,12 @@ export interface FactoryCustomerJobDetail {
|
|
|
2712
2719
|
/** The same summary returned by the customer job list. */
|
|
2713
2720
|
job: FactoryCustomerJobSummary;
|
|
2714
2721
|
}
|
|
2722
|
+
export interface FactoryCustomerJobFile {
|
|
2723
|
+
/** Authenticated Factory download URL. */
|
|
2724
|
+
download_url: string;
|
|
2725
|
+
/** Submitted file's display name. */
|
|
2726
|
+
file_name: string;
|
|
2727
|
+
}
|
|
2715
2728
|
export interface FactoryCustomerJobSummary {
|
|
2716
2729
|
/** title:DateTime, format:date-time, description:When the job was created. */
|
|
2717
2730
|
created_at: string;
|
|
@@ -2739,16 +2752,34 @@ export interface FactoryCustomerJobVersion {
|
|
|
2739
2752
|
/** title:DateTime, format:date-time, description:When this version was created. */
|
|
2740
2753
|
created_at: string;
|
|
2741
2754
|
file_names: string[];
|
|
2742
|
-
/**
|
|
2755
|
+
/** Submitted input names and authenticated download links. */
|
|
2756
|
+
files: FactoryCustomerJobFile[];
|
|
2757
|
+
/** Identifier of this Factory revision. */
|
|
2743
2758
|
id: Uuid;
|
|
2744
2759
|
specs: string;
|
|
2745
2760
|
}
|
|
2761
|
+
export interface FactoryCustomerJobVersionResultsPage {
|
|
2762
|
+
/** list of items on this page of results */
|
|
2763
|
+
items: FactoryCustomerJobVersion[];
|
|
2764
|
+
/**
|
|
2765
|
+
* {
|
|
2766
|
+
* "nullable": true,
|
|
2767
|
+
* "description": "token used to fetch the next page of results (if any)"
|
|
2768
|
+
* }
|
|
2769
|
+
*/
|
|
2770
|
+
next_page?: string;
|
|
2771
|
+
}
|
|
2746
2772
|
export interface FactoryJobResponse {
|
|
2747
|
-
/**
|
|
2773
|
+
/**
|
|
2774
|
+
* {
|
|
2775
|
+
* "nullable": true,
|
|
2776
|
+
* "description": "The newly submitted Factory version id of the job."
|
|
2777
|
+
* }
|
|
2778
|
+
*/
|
|
2748
2779
|
current_version_id?: Uuid;
|
|
2749
2780
|
/** The stable, customer-facing job id. */
|
|
2750
2781
|
id: Uuid;
|
|
2751
|
-
/** The
|
|
2782
|
+
/** The workflow status after submission (`new` for creation, `quoting` for a revision). */
|
|
2752
2783
|
status: string;
|
|
2753
2784
|
}
|
|
2754
2785
|
export interface FailureWebSocketResponse {
|
|
@@ -2766,7 +2797,7 @@ export interface FailureWebSocketResponse {
|
|
|
2766
2797
|
success: boolean;
|
|
2767
2798
|
}
|
|
2768
2799
|
export type FbxStorage = 'ascii' | 'binary';
|
|
2769
|
-
export type Feature = 'auth_restricted_to_employees' | 'big_query_telemetry' | 'billing' | 'disallow_self_signup' | 'email_with_s_e_s' | 'execution_jobs' | 'enable_z0006_lint' | 'factory_portal' | 'kcl_cek_executor' | 'redirect_to_govcloud' | 'require_saml_auth' | 'local_dev' | 'newsletter' | 'prefix_email_subject' | 'enterprise_cockroach' | 'same_site_none_cookies' | 'validate_tax_info' | 'dfm_review' | 'drawings' | '
|
|
2800
|
+
export type Feature = 'auth_restricted_to_employees' | 'big_query_telemetry' | 'billing' | 'disallow_self_signup' | 'email_with_s_e_s' | 'execution_jobs' | 'enable_z0006_lint' | 'factory_portal' | 'hosted_mcp' | 'org_dataset_cloud_projects' | 'kcl_cek_executor' | 'redirect_to_govcloud' | 'require_saml_auth' | 'local_dev' | 'newsletter' | 'prefix_email_subject' | 'enterprise_cockroach' | 'same_site_none_cookies' | 'validate_tax_info' | 'dfm_review' | 'drawings' | 'scene_browser' | 'plugins' | 'proprietary_to_kcl_conversion_beta' | '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';
|
|
2770
2801
|
export interface FileBoundingBox {
|
|
2771
2802
|
/**
|
|
2772
2803
|
* {
|
|
@@ -3707,6 +3738,17 @@ export interface KclCodeCompletionRequest {
|
|
|
3707
3738
|
export interface KclCodeCompletionResponse {
|
|
3708
3739
|
completions: string[];
|
|
3709
3740
|
}
|
|
3741
|
+
export interface KclFile {
|
|
3742
|
+
/**
|
|
3743
|
+
* {
|
|
3744
|
+
* "format": "uint8",
|
|
3745
|
+
* "minimum": 0
|
|
3746
|
+
* }
|
|
3747
|
+
*/
|
|
3748
|
+
contents: number[];
|
|
3749
|
+
/** Where is the file, relative to the project directory? */
|
|
3750
|
+
path: SafeFilepath;
|
|
3751
|
+
}
|
|
3710
3752
|
export interface KclMigrationApplication {
|
|
3711
3753
|
/**
|
|
3712
3754
|
* {
|
|
@@ -3948,7 +3990,14 @@ export interface KclModel {
|
|
|
3948
3990
|
/** The KCL code. */
|
|
3949
3991
|
code: string;
|
|
3950
3992
|
}
|
|
3993
|
+
export interface KclProject {
|
|
3994
|
+
/** Which file is the entrypoint? This is the first KCL file to be executed, the root of the KCL module tree. */
|
|
3995
|
+
entrypoint: SafeFilepath;
|
|
3996
|
+
/** All files in the project. */
|
|
3997
|
+
files: KclFile[];
|
|
3998
|
+
}
|
|
3951
3999
|
export type KclProjectFileRole = 'project_toml' | 'project_file' | 'preview_image';
|
|
4000
|
+
export type KclProjectLibrarySource = 'zds' | 'factory_portal' | 'org_dataset';
|
|
3952
4001
|
export type KclProjectPreviewStatus = 'pending' | 'ready' | 'failed';
|
|
3953
4002
|
export type KclProjectPublicationStatus = 'private' | 'draft' | 'pending_review' | 'published' | 'rejected' | 'deleted' | 'changes_requested';
|
|
3954
4003
|
export type KclProjectShareLinkAccessMode = 'anyone_with_link' | 'organization_only';
|
|
@@ -4126,6 +4175,24 @@ export type MlCopilotClientMessage = {
|
|
|
4126
4175
|
/** The source ranges the user suggested to change. If empty, the content (prompt) will be used and is required. */
|
|
4127
4176
|
source_ranges?: SourceRangePrompt[];
|
|
4128
4177
|
type: 'user';
|
|
4178
|
+
} | {
|
|
4179
|
+
/** Complete isolated input. API binds it to the active conversation; a supplied conversation ID must match that conversation. */
|
|
4180
|
+
request: KclMigrationRequest;
|
|
4181
|
+
type: 'migrate_kcl';
|
|
4182
|
+
} | {
|
|
4183
|
+
/**
|
|
4184
|
+
* {
|
|
4185
|
+
* "format": "uint32",
|
|
4186
|
+
* "minimum": 0,
|
|
4187
|
+
* "description": "Last acknowledged revision. Retrying the same change is idempotent."
|
|
4188
|
+
* }
|
|
4189
|
+
*/
|
|
4190
|
+
expected_revision: number;
|
|
4191
|
+
/** Migration request ID, independent of the connection and prompt IDs. */
|
|
4192
|
+
operation_id: Uuid;
|
|
4193
|
+
/** Client-reported project state. */
|
|
4194
|
+
status: KclMigrationApplicationStatus;
|
|
4195
|
+
type: 'kcl_migration_application';
|
|
4129
4196
|
} | {
|
|
4130
4197
|
/**
|
|
4131
4198
|
* {
|
|
@@ -4306,6 +4373,18 @@ export type MlCopilotServerMessage = {
|
|
|
4306
4373
|
/** Whether reconnecting without an external account change can help. */
|
|
4307
4374
|
retryable: boolean;
|
|
4308
4375
|
};
|
|
4376
|
+
} | {
|
|
4377
|
+
kcl_migration_operation: {
|
|
4378
|
+
/** Durable migration outcome and the source snapshot it was based on. */
|
|
4379
|
+
operation: KclMigrationOperation;
|
|
4380
|
+
};
|
|
4381
|
+
} | {
|
|
4382
|
+
kcl_migration_application: {
|
|
4383
|
+
/** Accepted state and revision for subsequent acknowledgements. */
|
|
4384
|
+
application: KclMigrationApplication;
|
|
4385
|
+
/** Migration request ID. */
|
|
4386
|
+
operation_id: Uuid;
|
|
4387
|
+
};
|
|
4309
4388
|
} | {
|
|
4310
4389
|
info: {
|
|
4311
4390
|
/** The informational text. */
|
|
@@ -5183,6 +5262,13 @@ export type ModelingCmd = {
|
|
|
5183
5262
|
entity_ids: string[];
|
|
5184
5263
|
/** The file format to export to. */
|
|
5185
5264
|
format: OutputFormat3d;
|
|
5265
|
+
/**
|
|
5266
|
+
* {
|
|
5267
|
+
* "nullable": true,
|
|
5268
|
+
* "description": "KCL source to embed in formats that support source metadata."
|
|
5269
|
+
* }
|
|
5270
|
+
*/
|
|
5271
|
+
kcl_source?: KclProject;
|
|
5186
5272
|
type: 'export3d';
|
|
5187
5273
|
} | {
|
|
5188
5274
|
/**
|
|
@@ -5193,6 +5279,13 @@ export type ModelingCmd = {
|
|
|
5193
5279
|
entity_ids: string[];
|
|
5194
5280
|
/** The file format to export to. */
|
|
5195
5281
|
format: OutputFormat3d;
|
|
5282
|
+
/**
|
|
5283
|
+
* {
|
|
5284
|
+
* "nullable": true,
|
|
5285
|
+
* "description": "KCL source to embed in formats that support source metadata."
|
|
5286
|
+
* }
|
|
5287
|
+
*/
|
|
5288
|
+
kcl_source?: KclProject;
|
|
5196
5289
|
type: 'export';
|
|
5197
5290
|
} | {
|
|
5198
5291
|
/** format:uuid, description:ID of the entity being queried. */
|
|
@@ -6529,6 +6622,22 @@ export interface MouseMove {
|
|
|
6529
6622
|
}
|
|
6530
6623
|
export interface MovePathPen {
|
|
6531
6624
|
}
|
|
6625
|
+
export interface NamedView {
|
|
6626
|
+
/** Baseline visibility.
|
|
6627
|
+
|
|
6628
|
+
Determines whether entities are visible or by default. */
|
|
6629
|
+
baseline: Visibility;
|
|
6630
|
+
/** Exceptions to the baseline visibility. */
|
|
6631
|
+
except_ids: ModelingCmdId[];
|
|
6632
|
+
/** Projection kind. */
|
|
6633
|
+
projection: Projection;
|
|
6634
|
+
/** Target point. */
|
|
6635
|
+
target: Point3d;
|
|
6636
|
+
/** Up direction. */
|
|
6637
|
+
up: Point3d;
|
|
6638
|
+
/** Vantage point. */
|
|
6639
|
+
vantage: Point3d;
|
|
6640
|
+
}
|
|
6532
6641
|
export interface NewAnnotation {
|
|
6533
6642
|
}
|
|
6534
6643
|
export type OAuth2AppClientType = 'public' | 'confidential';
|
|
@@ -8667,11 +8776,20 @@ export type OutputFormat3d = {
|
|
|
8667
8776
|
* }
|
|
8668
8777
|
*/
|
|
8669
8778
|
include_uuids?: boolean;
|
|
8670
|
-
/** Specifies how the JSON will be presented. */
|
|
8671
|
-
presentation
|
|
8672
|
-
/**
|
|
8673
|
-
|
|
8779
|
+
/** default:pretty, description:Specifies how the JSON will be presented. */
|
|
8780
|
+
presentation?: GltfPresentation;
|
|
8781
|
+
/**
|
|
8782
|
+
* {
|
|
8783
|
+
* "default": "embedded",
|
|
8784
|
+
* "description": "Specifies which kind of glTF 2.0 will be exported."
|
|
8785
|
+
* }
|
|
8786
|
+
*/
|
|
8787
|
+
storage?: GltfStorage;
|
|
8674
8788
|
type: 'gltf';
|
|
8789
|
+
/** Named views in the scene. */
|
|
8790
|
+
views?: {
|
|
8791
|
+
[key: string]: NamedView;
|
|
8792
|
+
};
|
|
8675
8793
|
} | {
|
|
8676
8794
|
/** Co-ordinate system of output data.
|
|
8677
8795
|
|
|
@@ -8721,9 +8839,20 @@ Defaults to millimeters. */
|
|
|
8721
8839
|
created?: string;
|
|
8722
8840
|
/** default:pretty, description:Presentation style. */
|
|
8723
8841
|
presentation?: StepPresentation;
|
|
8842
|
+
/**
|
|
8843
|
+
* {
|
|
8844
|
+
* "default": "ap242",
|
|
8845
|
+
* "description": "STEP application protocol schema. Defaults to AP242."
|
|
8846
|
+
* }
|
|
8847
|
+
*/
|
|
8848
|
+
schema?: StepSchema;
|
|
8724
8849
|
type: 'step';
|
|
8725
8850
|
/** default:m, description:Export length unit.\n\nDefaults to meters. */
|
|
8726
8851
|
units?: UnitLength;
|
|
8852
|
+
/** Named views in the scene. */
|
|
8853
|
+
views?: {
|
|
8854
|
+
[key: string]: NamedView;
|
|
8855
|
+
};
|
|
8727
8856
|
} | {
|
|
8728
8857
|
/** Co-ordinate system of output data.
|
|
8729
8858
|
|
|
@@ -8976,19 +9105,19 @@ export interface Point2d {
|
|
|
8976
9105
|
export interface Point3d {
|
|
8977
9106
|
/**
|
|
8978
9107
|
* {
|
|
8979
|
-
* "format": "
|
|
9108
|
+
* "format": "double"
|
|
8980
9109
|
* }
|
|
8981
9110
|
*/
|
|
8982
9111
|
x: number;
|
|
8983
9112
|
/**
|
|
8984
9113
|
* {
|
|
8985
|
-
* "format": "
|
|
9114
|
+
* "format": "double"
|
|
8986
9115
|
* }
|
|
8987
9116
|
*/
|
|
8988
9117
|
y: number;
|
|
8989
9118
|
/**
|
|
8990
9119
|
* {
|
|
8991
|
-
* "format": "
|
|
9120
|
+
* "format": "double"
|
|
8992
9121
|
* }
|
|
8993
9122
|
*/
|
|
8994
9123
|
z: number;
|
|
@@ -9025,7 +9154,7 @@ export interface Pong {
|
|
|
9025
9154
|
}
|
|
9026
9155
|
export type PostEffectType =
|
|
9027
9156
|
/** Post effect type */
|
|
9028
|
-
'phosphor' | 'ssao' | 'noeffect';
|
|
9157
|
+
'phosphor' | 'ssao' | 'retrocad' | 'noeffect';
|
|
9029
9158
|
export interface PrimitiveTopologyFallback {
|
|
9030
9159
|
/**
|
|
9031
9160
|
* {
|
|
@@ -9083,6 +9212,13 @@ export interface ProjectCategoryResponse {
|
|
|
9083
9212
|
*/
|
|
9084
9213
|
sort_order: number;
|
|
9085
9214
|
}
|
|
9215
|
+
export interface ProjectDownloadErrorResponse {
|
|
9216
|
+
error_code?: string;
|
|
9217
|
+
message: string;
|
|
9218
|
+
/** Requested IDs absent from the resolved project version. Present for `InvalidProjectFileSelection`, with duplicate IDs listed once. */
|
|
9219
|
+
missing_file_ids?: Uuid[];
|
|
9220
|
+
request_id: string;
|
|
9221
|
+
}
|
|
9086
9222
|
export interface ProjectEntityToPlane {
|
|
9087
9223
|
/** Projected points. */
|
|
9088
9224
|
projected_points: Point3d[];
|
|
@@ -9125,6 +9261,8 @@ export interface ProjectLibraryResponse {
|
|
|
9125
9261
|
org_id?: Uuid;
|
|
9126
9262
|
/** Opaque revision token required when renaming or deleting the library. */
|
|
9127
9263
|
revision: string;
|
|
9264
|
+
/** Application that created the library. Cannot be changed after creation. */
|
|
9265
|
+
source: KclProjectLibrarySource;
|
|
9128
9266
|
/** title:DateTime, format:date-time, description:When the library was last updated. */
|
|
9129
9267
|
updated_at: string;
|
|
9130
9268
|
/** nullable:true, description:Personal owner; null for an organization library. */
|
|
@@ -9204,6 +9342,8 @@ export interface ProjectResponse {
|
|
|
9204
9342
|
* }
|
|
9205
9343
|
*/
|
|
9206
9344
|
library_id?: Uuid;
|
|
9345
|
+
/** Opaque token for library moves. Send as expected_revision to the library endpoint. Read a fresh value after a save, move, or ownership change; do not parse it. */
|
|
9346
|
+
metadata_revision: string;
|
|
9207
9347
|
/** Current preview generation state. */
|
|
9208
9348
|
preview_status: KclProjectPreviewStatus;
|
|
9209
9349
|
/**
|
|
@@ -9219,13 +9359,51 @@ export interface ProjectResponse {
|
|
|
9219
9359
|
publication: ProjectPublicationInfoResponse;
|
|
9220
9360
|
/** Current publication workflow state. */
|
|
9221
9361
|
publication_status: KclProjectPublicationStatus;
|
|
9222
|
-
/**
|
|
9362
|
+
/** Current content version's revision. Use as expected_revision for content saves. Library moves do not change this value. */
|
|
9223
9363
|
revision: string;
|
|
9224
9364
|
/** User-facing project title. */
|
|
9225
9365
|
title: string;
|
|
9226
|
-
/**
|
|
9366
|
+
/**
|
|
9367
|
+
* {
|
|
9368
|
+
* "title": "DateTime",
|
|
9369
|
+
* "format": "date-time",
|
|
9370
|
+
* "description": "When the current version was last updated, including preview updates. This is separate from the project row's update timestamp."
|
|
9371
|
+
* }
|
|
9372
|
+
*/
|
|
9227
9373
|
updated_at: string;
|
|
9228
9374
|
}
|
|
9375
|
+
export interface ProjectSemanticSearchMatch {
|
|
9376
|
+
/** Bounded project description. */
|
|
9377
|
+
description: string;
|
|
9378
|
+
/** Project in the caller's current organization library. */
|
|
9379
|
+
project_id: Uuid;
|
|
9380
|
+
/** format:double, description:Cosine similarity to the embedded query. */
|
|
9381
|
+
similarity: number;
|
|
9382
|
+
/** Bounded project title. */
|
|
9383
|
+
title: string;
|
|
9384
|
+
/** Current version represented by this match. */
|
|
9385
|
+
version_id: Uuid;
|
|
9386
|
+
}
|
|
9387
|
+
export interface ProjectSemanticSearchRequest {
|
|
9388
|
+
/**
|
|
9389
|
+
* {
|
|
9390
|
+
* "nullable": true,
|
|
9391
|
+
* "description": "Restrict results to this library in the authenticated organization."
|
|
9392
|
+
* }
|
|
9393
|
+
*/
|
|
9394
|
+
library_id?: Uuid;
|
|
9395
|
+
/**
|
|
9396
|
+
* {
|
|
9397
|
+
* "nullable": true,
|
|
9398
|
+
* "format": "uint32",
|
|
9399
|
+
* "minimum": 0,
|
|
9400
|
+
* "description": "Maximum matching projects; defaults to 10 and must be between 1 and 100."
|
|
9401
|
+
* }
|
|
9402
|
+
*/
|
|
9403
|
+
limit?: number;
|
|
9404
|
+
/** Search text, limited to 2,048 characters after trimming whitespace. */
|
|
9405
|
+
q: string;
|
|
9406
|
+
}
|
|
9229
9407
|
export interface ProjectShareLinkResponse {
|
|
9230
9408
|
/** Access policy for the share link. */
|
|
9231
9409
|
access_mode: KclProjectShareLinkAccessMode;
|
|
@@ -9269,6 +9447,8 @@ export interface ProjectSummaryResponse {
|
|
|
9269
9447
|
* }
|
|
9270
9448
|
*/
|
|
9271
9449
|
library_id?: Uuid;
|
|
9450
|
+
/** Opaque token for library moves. Send as expected_revision to the library endpoint. Read a fresh value after a save, move, or ownership change; do not parse it. */
|
|
9451
|
+
metadata_revision: string;
|
|
9272
9452
|
/** Current preview generation state. */
|
|
9273
9453
|
preview_status: KclProjectPreviewStatus;
|
|
9274
9454
|
/**
|
|
@@ -9284,11 +9464,17 @@ export interface ProjectSummaryResponse {
|
|
|
9284
9464
|
publication: ProjectPublicationInfoResponse;
|
|
9285
9465
|
/** Current publication workflow state. */
|
|
9286
9466
|
publication_status: KclProjectPublicationStatus;
|
|
9287
|
-
/**
|
|
9467
|
+
/** Current content version's revision. Use as expected_revision for content saves. Library moves do not change this value. */
|
|
9288
9468
|
revision: string;
|
|
9289
9469
|
/** User-facing project title. */
|
|
9290
9470
|
title: string;
|
|
9291
|
-
/**
|
|
9471
|
+
/**
|
|
9472
|
+
* {
|
|
9473
|
+
* "title": "DateTime",
|
|
9474
|
+
* "format": "date-time",
|
|
9475
|
+
* "description": "When the current version was last updated, including preview updates. This is separate from the project row's update timestamp."
|
|
9476
|
+
* }
|
|
9477
|
+
*/
|
|
9292
9478
|
updated_at: string;
|
|
9293
9479
|
}
|
|
9294
9480
|
export interface ProjectSummaryResponseResultsPage {
|
|
@@ -9360,6 +9546,11 @@ export interface ProjectVersionSummaryResponseResultsPage {
|
|
|
9360
9546
|
*/
|
|
9361
9547
|
next_page?: string;
|
|
9362
9548
|
}
|
|
9549
|
+
export type Projection = {
|
|
9550
|
+
type: 'orthographic';
|
|
9551
|
+
} | {
|
|
9552
|
+
type: 'perspective';
|
|
9553
|
+
};
|
|
9363
9554
|
export interface PublicEmailMarketingConsentRequest {
|
|
9364
9555
|
/** format:email, description:The email */
|
|
9365
9556
|
email: string;
|
|
@@ -9607,6 +9798,9 @@ export interface RtcSessionDescription {
|
|
|
9607
9798
|
/** SDP type. */
|
|
9608
9799
|
type: RtcSdpType;
|
|
9609
9800
|
}
|
|
9801
|
+
export type SafeFilepath =
|
|
9802
|
+
/** Filepath which is guaranteed to be relative and not contain parent directory jumps like '..' */
|
|
9803
|
+
string;
|
|
9610
9804
|
export type SalesInquiryType = 'pilot_inquiry' | 'general_inquiry' | 'sales_question' | 'developer_inquiry' | 'partnership_opportunity' | 'other_sales_inquiry';
|
|
9611
9805
|
export interface SamlIdentityProvider {
|
|
9612
9806
|
/** title:String, format:uri, description:The ACS (Assertion Consumer Service) URL. */
|
|
@@ -9998,6 +10192,7 @@ export interface StartPath {
|
|
|
9998
10192
|
}
|
|
9999
10193
|
export type StepImportTargetRepresentation = 'mesh' | 'brep';
|
|
10000
10194
|
export type StepPresentation = 'compact' | 'pretty';
|
|
10195
|
+
export type StepSchema = 'ap203' | 'ap214' | 'ap242';
|
|
10001
10196
|
export type StlStorage = 'ascii' | 'binary';
|
|
10002
10197
|
export type StorageProvider = 's3' | 'zoo_managed';
|
|
10003
10198
|
export type SubscriptionActionType = 'payment_intent' | 'setup_intent';
|
|
@@ -11024,6 +11219,17 @@ export interface UpdateOrgDatasetSource {
|
|
|
11024
11219
|
*/
|
|
11025
11220
|
uri?: string;
|
|
11026
11221
|
}
|
|
11222
|
+
export interface UpdateProjectLibraryRequest {
|
|
11223
|
+
/** Metadata revision returned by the last project read. */
|
|
11224
|
+
expected_revision: string;
|
|
11225
|
+
/**
|
|
11226
|
+
* {
|
|
11227
|
+
* "nullable": true,
|
|
11228
|
+
* "description": "Destination library; null leaves the project unassigned."
|
|
11229
|
+
* }
|
|
11230
|
+
*/
|
|
11231
|
+
library_id?: Uuid;
|
|
11232
|
+
}
|
|
11027
11233
|
export interface UpdateShortlinkRequest {
|
|
11028
11234
|
/**
|
|
11029
11235
|
* {
|
|
@@ -11263,6 +11469,7 @@ export interface ViewIsometric {
|
|
|
11263
11469
|
/** Camera settings */
|
|
11264
11470
|
settings: CameraSettings;
|
|
11265
11471
|
}
|
|
11472
|
+
export type Visibility = 'show' | 'hide';
|
|
11266
11473
|
export interface Volume {
|
|
11267
11474
|
/** The output unit for the volume. */
|
|
11268
11475
|
output_unit: UnitVolume;
|
|
@@ -12034,9 +12241,11 @@ export interface Models {
|
|
|
12034
12241
|
FactoryCustomerCatalogOption: FactoryCustomerCatalogOption;
|
|
12035
12242
|
FactoryCustomerCatalogOptionResultsPage: FactoryCustomerCatalogOptionResultsPage;
|
|
12036
12243
|
FactoryCustomerJobDetail: FactoryCustomerJobDetail;
|
|
12244
|
+
FactoryCustomerJobFile: FactoryCustomerJobFile;
|
|
12037
12245
|
FactoryCustomerJobSummary: FactoryCustomerJobSummary;
|
|
12038
12246
|
FactoryCustomerJobSummaryResultsPage: FactoryCustomerJobSummaryResultsPage;
|
|
12039
12247
|
FactoryCustomerJobVersion: FactoryCustomerJobVersion;
|
|
12248
|
+
FactoryCustomerJobVersionResultsPage: FactoryCustomerJobVersionResultsPage;
|
|
12040
12249
|
FactoryJobResponse: FactoryJobResponse;
|
|
12041
12250
|
FailureWebSocketResponse: FailureWebSocketResponse;
|
|
12042
12251
|
FbxStorage: FbxStorage;
|
|
@@ -12078,6 +12287,7 @@ export interface Models {
|
|
|
12078
12287
|
KclCodeCompletionParams: KclCodeCompletionParams;
|
|
12079
12288
|
KclCodeCompletionRequest: KclCodeCompletionRequest;
|
|
12080
12289
|
KclCodeCompletionResponse: KclCodeCompletionResponse;
|
|
12290
|
+
KclFile: KclFile;
|
|
12081
12291
|
KclMigrationApplication: KclMigrationApplication;
|
|
12082
12292
|
KclMigrationApplicationStatus: KclMigrationApplicationStatus;
|
|
12083
12293
|
KclMigrationClientMessage: KclMigrationClientMessage;
|
|
@@ -12090,7 +12300,9 @@ export interface Models {
|
|
|
12090
12300
|
KclMigrationTarget: KclMigrationTarget;
|
|
12091
12301
|
KclMigrationValidation: KclMigrationValidation;
|
|
12092
12302
|
KclModel: KclModel;
|
|
12303
|
+
KclProject: KclProject;
|
|
12093
12304
|
KclProjectFileRole: KclProjectFileRole;
|
|
12305
|
+
KclProjectLibrarySource: KclProjectLibrarySource;
|
|
12094
12306
|
KclProjectPreviewStatus: KclProjectPreviewStatus;
|
|
12095
12307
|
KclProjectPublicationStatus: KclProjectPublicationStatus;
|
|
12096
12308
|
KclProjectShareLinkAccessMode: KclProjectShareLinkAccessMode;
|
|
@@ -12133,6 +12345,7 @@ export interface Models {
|
|
|
12133
12345
|
MouseClick: MouseClick;
|
|
12134
12346
|
MouseMove: MouseMove;
|
|
12135
12347
|
MovePathPen: MovePathPen;
|
|
12348
|
+
NamedView: NamedView;
|
|
12136
12349
|
NewAnnotation: NewAnnotation;
|
|
12137
12350
|
OAuth2AppClientType: OAuth2AppClientType;
|
|
12138
12351
|
OAuth2AppGrantType: OAuth2AppGrantType;
|
|
@@ -12217,6 +12430,7 @@ export interface Models {
|
|
|
12217
12430
|
ProjectAccessScope: ProjectAccessScope;
|
|
12218
12431
|
ProjectArchiveFormat: ProjectArchiveFormat;
|
|
12219
12432
|
ProjectCategoryResponse: ProjectCategoryResponse;
|
|
12433
|
+
ProjectDownloadErrorResponse: ProjectDownloadErrorResponse;
|
|
12220
12434
|
ProjectEntityToPlane: ProjectEntityToPlane;
|
|
12221
12435
|
ProjectFileResponse: ProjectFileResponse;
|
|
12222
12436
|
ProjectLibraryResponse: ProjectLibraryResponse;
|
|
@@ -12225,6 +12439,8 @@ export interface Models {
|
|
|
12225
12439
|
ProjectPointsToPlane: ProjectPointsToPlane;
|
|
12226
12440
|
ProjectPublicationInfoResponse: ProjectPublicationInfoResponse;
|
|
12227
12441
|
ProjectResponse: ProjectResponse;
|
|
12442
|
+
ProjectSemanticSearchMatch: ProjectSemanticSearchMatch;
|
|
12443
|
+
ProjectSemanticSearchRequest: ProjectSemanticSearchRequest;
|
|
12228
12444
|
ProjectShareLinkResponse: ProjectShareLinkResponse;
|
|
12229
12445
|
ProjectShareLinkResponseResultsPage: ProjectShareLinkResponseResultsPage;
|
|
12230
12446
|
ProjectSummaryResponse: ProjectSummaryResponse;
|
|
@@ -12232,6 +12448,7 @@ export interface Models {
|
|
|
12232
12448
|
ProjectVersionDetailResponse: ProjectVersionDetailResponse;
|
|
12233
12449
|
ProjectVersionSummaryResponse: ProjectVersionSummaryResponse;
|
|
12234
12450
|
ProjectVersionSummaryResponseResultsPage: ProjectVersionSummaryResponseResultsPage;
|
|
12451
|
+
Projection: Projection;
|
|
12235
12452
|
PublicEmailMarketingConsentRequest: PublicEmailMarketingConsentRequest;
|
|
12236
12453
|
PublicMailingListMembershipRequest: PublicMailingListMembershipRequest;
|
|
12237
12454
|
PublicProjectOwnerResponse: PublicProjectOwnerResponse;
|
|
@@ -12255,6 +12472,7 @@ export interface Models {
|
|
|
12255
12472
|
RtcIceCandidateInit: RtcIceCandidateInit;
|
|
12256
12473
|
RtcSdpType: RtcSdpType;
|
|
12257
12474
|
RtcSessionDescription: RtcSessionDescription;
|
|
12475
|
+
SafeFilepath: SafeFilepath;
|
|
12258
12476
|
SalesInquiryType: SalesInquiryType;
|
|
12259
12477
|
SamlIdentityProvider: SamlIdentityProvider;
|
|
12260
12478
|
SamlIdentityProviderCreate: SamlIdentityProviderCreate;
|
|
@@ -12322,6 +12540,7 @@ export interface Models {
|
|
|
12322
12540
|
StartPath: StartPath;
|
|
12323
12541
|
StepImportTargetRepresentation: StepImportTargetRepresentation;
|
|
12324
12542
|
StepPresentation: StepPresentation;
|
|
12543
|
+
StepSchema: StepSchema;
|
|
12325
12544
|
StlStorage: StlStorage;
|
|
12326
12545
|
StorageProvider: StorageProvider;
|
|
12327
12546
|
SubscriptionActionType: SubscriptionActionType;
|
|
@@ -12384,6 +12603,7 @@ export interface Models {
|
|
|
12384
12603
|
UpdateOAuth2AppRequest: UpdateOAuth2AppRequest;
|
|
12385
12604
|
UpdateOrgDataset: UpdateOrgDataset;
|
|
12386
12605
|
UpdateOrgDatasetSource: UpdateOrgDatasetSource;
|
|
12606
|
+
UpdateProjectLibraryRequest: UpdateProjectLibraryRequest;
|
|
12387
12607
|
UpdateShortlinkRequest: UpdateShortlinkRequest;
|
|
12388
12608
|
UpdateUser: UpdateUser;
|
|
12389
12609
|
UploadOrgDatasetFilesResponse: UploadOrgDatasetFilesResponse;
|
|
@@ -12396,6 +12616,7 @@ export interface Models {
|
|
|
12396
12616
|
Uuid: Uuid;
|
|
12397
12617
|
VerificationTokenResponse: VerificationTokenResponse;
|
|
12398
12618
|
ViewIsometric: ViewIsometric;
|
|
12619
|
+
Visibility: Visibility;
|
|
12399
12620
|
Volume: Volume;
|
|
12400
12621
|
WebSocketRequest: WebSocketRequest;
|
|
12401
12622
|
WebSocketResponse: WebSocketResponse;
|