@kittycad/lib 0.0.20 → 0.0.22
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.js +1 -3
- package/dist/mjs/index.js +1 -3
- package/dist/types/src/api/file/create_file_center_of_mass.d.ts +3 -2
- package/dist/types/src/api/file/create_file_center_of_mass.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_density.d.ts +4 -2
- package/dist/types/src/api/file/create_file_density.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_mass.d.ts +4 -2
- package/dist/types/src/api/file/create_file_mass.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_surface_area.d.ts +3 -2
- package/dist/types/src/api/file/create_file_surface_area.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_volume.d.ts +3 -2
- package/dist/types/src/api/file/create_file_volume.d.ts.map +1 -1
- package/dist/types/src/apiGen.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +234 -23
- package/dist/types/src/models.d.ts.map +1 -1
- package/dist/umd/index.js +1 -3
- package/package.json +13 -12
|
@@ -93,18 +93,27 @@ export declare type AsyncApiCallOutput_type = {
|
|
|
93
93
|
id: Uuid_type;
|
|
94
94
|
output?: string;
|
|
95
95
|
output_format: FileExportFormat_type;
|
|
96
|
+
output_format_options: OutputFormat_type;
|
|
97
|
+
outputs: {
|
|
98
|
+
[key: string]: string;
|
|
99
|
+
};
|
|
96
100
|
src_format: FileImportFormat_type;
|
|
101
|
+
src_format_options: InputFormat_type;
|
|
97
102
|
started_at?: string;
|
|
98
103
|
status: ApiCallStatus_type;
|
|
99
104
|
type: 'FileConversion';
|
|
100
105
|
updated_at: string;
|
|
101
106
|
user_id: string;
|
|
102
107
|
} | {
|
|
103
|
-
center_of_mass:
|
|
108
|
+
center_of_mass: Point3d_type;
|
|
109
|
+
centers_of_mass: {
|
|
110
|
+
[key: string]: Point3d_type;
|
|
111
|
+
};
|
|
104
112
|
completed_at?: string;
|
|
105
113
|
created_at: string;
|
|
106
114
|
error?: string;
|
|
107
115
|
id: Uuid_type;
|
|
116
|
+
output_unit: UnitLength_type;
|
|
108
117
|
src_format: FileImportFormat_type;
|
|
109
118
|
started_at?: string;
|
|
110
119
|
status: ApiCallStatus_type;
|
|
@@ -117,7 +126,12 @@ export declare type AsyncApiCallOutput_type = {
|
|
|
117
126
|
error?: string;
|
|
118
127
|
id: Uuid_type;
|
|
119
128
|
mass?: number;
|
|
129
|
+
masses: {
|
|
130
|
+
[key: string]: number;
|
|
131
|
+
};
|
|
120
132
|
material_density: number;
|
|
133
|
+
material_density_unit: UnitDensity_type;
|
|
134
|
+
output_unit: UnitMass_type;
|
|
121
135
|
src_format: FileImportFormat_type;
|
|
122
136
|
started_at?: string;
|
|
123
137
|
status: ApiCallStatus_type;
|
|
@@ -129,6 +143,7 @@ export declare type AsyncApiCallOutput_type = {
|
|
|
129
143
|
created_at: string;
|
|
130
144
|
error?: string;
|
|
131
145
|
id: Uuid_type;
|
|
146
|
+
output_unit: UnitVolume_type;
|
|
132
147
|
src_format: FileImportFormat_type;
|
|
133
148
|
started_at?: string;
|
|
134
149
|
status: ApiCallStatus_type;
|
|
@@ -136,13 +151,21 @@ export declare type AsyncApiCallOutput_type = {
|
|
|
136
151
|
updated_at: string;
|
|
137
152
|
user_id: string;
|
|
138
153
|
volume?: number;
|
|
154
|
+
volumes: {
|
|
155
|
+
[key: string]: number;
|
|
156
|
+
};
|
|
139
157
|
} | {
|
|
140
158
|
completed_at?: string;
|
|
141
159
|
created_at: string;
|
|
160
|
+
densities: {
|
|
161
|
+
[key: string]: number;
|
|
162
|
+
};
|
|
142
163
|
density?: number;
|
|
143
164
|
error?: string;
|
|
144
165
|
id: Uuid_type;
|
|
145
166
|
material_mass: number;
|
|
167
|
+
material_mass_unit: UnitMass_type;
|
|
168
|
+
output_unit: UnitDensity_type;
|
|
146
169
|
src_format: FileImportFormat_type;
|
|
147
170
|
started_at?: string;
|
|
148
171
|
status: ApiCallStatus_type;
|
|
@@ -154,10 +177,14 @@ export declare type AsyncApiCallOutput_type = {
|
|
|
154
177
|
created_at: string;
|
|
155
178
|
error?: string;
|
|
156
179
|
id: Uuid_type;
|
|
180
|
+
output_unit: UnitArea_type;
|
|
157
181
|
src_format: FileImportFormat_type;
|
|
158
182
|
started_at?: string;
|
|
159
183
|
status: ApiCallStatus_type;
|
|
160
184
|
surface_area?: number;
|
|
185
|
+
surface_areas: {
|
|
186
|
+
[key: string]: number;
|
|
187
|
+
};
|
|
161
188
|
type: 'FileSurfaceArea';
|
|
162
189
|
updated_at: string;
|
|
163
190
|
user_id: string;
|
|
@@ -167,6 +194,11 @@ export interface AsyncApiCallResultsPage_type {
|
|
|
167
194
|
next_page?: string;
|
|
168
195
|
}
|
|
169
196
|
export declare type AsyncApiCallType_type = 'FileConversion' | 'FileVolume' | 'FileCenterOfMass' | 'FileMass' | 'FileDensity' | 'FileSurfaceArea';
|
|
197
|
+
export declare type Axis_type = 'y' | 'z';
|
|
198
|
+
export interface AxisDirectionPair_type {
|
|
199
|
+
axis: Axis_type;
|
|
200
|
+
direction: Direction_type;
|
|
201
|
+
}
|
|
170
202
|
export interface BillingInfo_type {
|
|
171
203
|
address: NewAddress_type;
|
|
172
204
|
name: string;
|
|
@@ -175,6 +207,7 @@ export interface BillingInfo_type {
|
|
|
175
207
|
export interface CacheMetadata_type {
|
|
176
208
|
ok: boolean;
|
|
177
209
|
}
|
|
210
|
+
export declare type CameraDragInteractionType_type = 'pan' | 'rotate' | 'zoom';
|
|
178
211
|
export interface CardDetails_type {
|
|
179
212
|
brand: string;
|
|
180
213
|
checks: PaymentMethodCardChecks_type;
|
|
@@ -254,6 +287,12 @@ export interface Connection_type {
|
|
|
254
287
|
write_deadline: number;
|
|
255
288
|
}
|
|
256
289
|
export declare type CountryCode_type = 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW';
|
|
290
|
+
export interface Coupon_type {
|
|
291
|
+
amount_off?: number;
|
|
292
|
+
deleted: boolean;
|
|
293
|
+
id: string;
|
|
294
|
+
percent_off?: number;
|
|
295
|
+
}
|
|
257
296
|
export declare type CreatedAtSortMode_type = 'created-at-ascending' | 'created-at-descending';
|
|
258
297
|
export declare type Currency_type = 'aed' | 'afn' | 'all' | 'amd' | 'ang' | 'aoa' | 'ars' | 'aud' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bif' | 'bmd' | 'bnd' | 'bob' | 'brl' | 'bsd' | 'bwp' | 'bzd' | 'cad' | 'cdf' | 'chf' | 'clp' | 'cny' | 'cop' | 'crc' | 'cve' | 'czk' | 'djf' | 'dkk' | 'dop' | 'dzd' | 'eek' | 'egp' | 'etb' | 'eur' | 'fjd' | 'fkp' | 'gbp' | 'gel' | 'gip' | 'gmd' | 'gnf' | 'gtq' | 'gyd' | 'hkd' | 'hnl' | 'hrk' | 'htg' | 'huf' | 'idr' | 'ils' | 'inr' | 'isk' | 'jmd' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'krw' | 'kyd' | 'kzt' | 'lak' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'ltl' | 'lvl' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mnt' | 'mop' | 'mro' | 'mur' | 'mvr' | 'mwk' | 'mxn' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nio' | 'nok' | 'npr' | 'nzd' | 'pab' | 'pen' | 'pgk' | 'php' | 'pkr' | 'pln' | 'pyg' | 'qar' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sek' | 'sgd' | 'shp' | 'sll' | 'sos' | 'srd' | 'std' | 'svc' | 'szl' | 'thb' | 'tjs' | 'top' | 'try' | 'ttd' | 'twd' | 'tzs' | 'uah' | 'ugx' | 'usd' | 'uyu' | 'uzs' | 'vef' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'xof' | 'xpf' | 'yer' | 'zar' | 'zmw';
|
|
259
298
|
export interface Customer_type {
|
|
@@ -291,6 +330,10 @@ export interface DeviceAuthRequestForm_type {
|
|
|
291
330
|
export interface DeviceAuthVerifyParams_type {
|
|
292
331
|
user_code: string;
|
|
293
332
|
}
|
|
333
|
+
export declare type Direction_type = 'positive' | 'negative';
|
|
334
|
+
export interface Discount_type {
|
|
335
|
+
coupon: Coupon_type;
|
|
336
|
+
}
|
|
294
337
|
export interface DockerSystemInfo_type {
|
|
295
338
|
architecture?: string;
|
|
296
339
|
bridge_nf_ip6tables?: boolean;
|
|
@@ -400,16 +443,16 @@ export interface ExtendedUserResultsPage_type {
|
|
|
400
443
|
items: ExtendedUser_type[];
|
|
401
444
|
next_page?: string;
|
|
402
445
|
}
|
|
403
|
-
export interface Extrude_type {
|
|
404
|
-
distance: number;
|
|
405
|
-
target: ModelingCmdId_type;
|
|
406
|
-
}
|
|
407
446
|
export interface FileCenterOfMass_type {
|
|
408
|
-
center_of_mass:
|
|
447
|
+
center_of_mass: Point3d_type;
|
|
448
|
+
centers_of_mass: {
|
|
449
|
+
[key: string]: Point3d_type;
|
|
450
|
+
};
|
|
409
451
|
completed_at?: string;
|
|
410
452
|
created_at: string;
|
|
411
453
|
error?: string;
|
|
412
454
|
id: Uuid_type;
|
|
455
|
+
output_unit: UnitLength_type;
|
|
413
456
|
src_format: FileImportFormat_type;
|
|
414
457
|
started_at?: string;
|
|
415
458
|
status: ApiCallStatus_type;
|
|
@@ -423,7 +466,12 @@ export interface FileConversion_type {
|
|
|
423
466
|
id: Uuid_type;
|
|
424
467
|
output?: string;
|
|
425
468
|
output_format: FileExportFormat_type;
|
|
469
|
+
output_format_options: OutputFormat_type;
|
|
470
|
+
outputs: {
|
|
471
|
+
[key: string]: string;
|
|
472
|
+
};
|
|
426
473
|
src_format: FileImportFormat_type;
|
|
474
|
+
src_format_options: InputFormat_type;
|
|
427
475
|
started_at?: string;
|
|
428
476
|
status: ApiCallStatus_type;
|
|
429
477
|
updated_at: string;
|
|
@@ -432,25 +480,35 @@ export interface FileConversion_type {
|
|
|
432
480
|
export interface FileDensity_type {
|
|
433
481
|
completed_at?: string;
|
|
434
482
|
created_at: string;
|
|
483
|
+
densities: {
|
|
484
|
+
[key: string]: number;
|
|
485
|
+
};
|
|
435
486
|
density?: number;
|
|
436
487
|
error?: string;
|
|
437
488
|
id: Uuid_type;
|
|
438
489
|
material_mass: number;
|
|
490
|
+
material_mass_unit: UnitMass_type;
|
|
491
|
+
output_unit: UnitDensity_type;
|
|
439
492
|
src_format: FileImportFormat_type;
|
|
440
493
|
started_at?: string;
|
|
441
494
|
status: ApiCallStatus_type;
|
|
442
495
|
updated_at: string;
|
|
443
496
|
user_id: string;
|
|
444
497
|
}
|
|
445
|
-
export declare type FileExportFormat_type = 'dae' | '
|
|
446
|
-
export declare type FileImportFormat_type = 'dae' | '
|
|
498
|
+
export declare type FileExportFormat_type = 'dae' | 'fbx' | 'fbxb' | 'gltf' | 'obj' | 'ply' | 'step' | 'stl';
|
|
499
|
+
export declare type FileImportFormat_type = 'dae' | 'fbx' | 'gltf' | 'obj' | 'ply' | 'step' | 'stl';
|
|
447
500
|
export interface FileMass_type {
|
|
448
501
|
completed_at?: string;
|
|
449
502
|
created_at: string;
|
|
450
503
|
error?: string;
|
|
451
504
|
id: Uuid_type;
|
|
452
505
|
mass?: number;
|
|
506
|
+
masses: {
|
|
507
|
+
[key: string]: number;
|
|
508
|
+
};
|
|
453
509
|
material_density: number;
|
|
510
|
+
material_density_unit: UnitDensity_type;
|
|
511
|
+
output_unit: UnitMass_type;
|
|
454
512
|
src_format: FileImportFormat_type;
|
|
455
513
|
started_at?: string;
|
|
456
514
|
status: ApiCallStatus_type;
|
|
@@ -462,10 +520,14 @@ export interface FileSurfaceArea_type {
|
|
|
462
520
|
created_at: string;
|
|
463
521
|
error?: string;
|
|
464
522
|
id: Uuid_type;
|
|
523
|
+
output_unit: UnitArea_type;
|
|
465
524
|
src_format: FileImportFormat_type;
|
|
466
525
|
started_at?: string;
|
|
467
526
|
status: ApiCallStatus_type;
|
|
468
527
|
surface_area?: number;
|
|
528
|
+
surface_areas: {
|
|
529
|
+
[key: string]: number;
|
|
530
|
+
};
|
|
469
531
|
updated_at: string;
|
|
470
532
|
user_id: string;
|
|
471
533
|
}
|
|
@@ -477,12 +539,16 @@ export interface FileVolume_type {
|
|
|
477
539
|
created_at: string;
|
|
478
540
|
error?: string;
|
|
479
541
|
id: Uuid_type;
|
|
542
|
+
output_unit: UnitVolume_type;
|
|
480
543
|
src_format: FileImportFormat_type;
|
|
481
544
|
started_at?: string;
|
|
482
545
|
status: ApiCallStatus_type;
|
|
483
546
|
updated_at: string;
|
|
484
547
|
user_id: string;
|
|
485
548
|
volume?: number;
|
|
549
|
+
volumes: {
|
|
550
|
+
[key: string]: number;
|
|
551
|
+
};
|
|
486
552
|
}
|
|
487
553
|
export interface Gateway_type {
|
|
488
554
|
auth_timeout: number;
|
|
@@ -498,6 +564,24 @@ export interface IndexInfo_type {
|
|
|
498
564
|
official?: boolean;
|
|
499
565
|
secure?: boolean;
|
|
500
566
|
}
|
|
567
|
+
export declare type InputFormat_type = {
|
|
568
|
+
type: 'gltf';
|
|
569
|
+
} | {
|
|
570
|
+
coords: System_type;
|
|
571
|
+
type: 'step';
|
|
572
|
+
} | {
|
|
573
|
+
coords: System_type;
|
|
574
|
+
type: 'obj';
|
|
575
|
+
units: UnitLength_type;
|
|
576
|
+
} | {
|
|
577
|
+
coords: System_type;
|
|
578
|
+
type: 'ply';
|
|
579
|
+
units: UnitLength_type;
|
|
580
|
+
} | {
|
|
581
|
+
coords: System_type;
|
|
582
|
+
type: 'stl';
|
|
583
|
+
units: UnitLength_type;
|
|
584
|
+
};
|
|
501
585
|
export interface Invoice_type {
|
|
502
586
|
amount_due: number;
|
|
503
587
|
amount_paid: number;
|
|
@@ -510,6 +594,7 @@ export interface Invoice_type {
|
|
|
510
594
|
customer_id: string;
|
|
511
595
|
default_payment_method: string;
|
|
512
596
|
description: string;
|
|
597
|
+
discounts: Discount_type[];
|
|
513
598
|
id: string;
|
|
514
599
|
lines: InvoiceLineItem_type[];
|
|
515
600
|
metadata: {
|
|
@@ -568,10 +653,6 @@ export interface LeafNode_type {
|
|
|
568
653
|
port: number;
|
|
569
654
|
tls_timeout: number;
|
|
570
655
|
}
|
|
571
|
-
export interface Line3d_type {
|
|
572
|
-
from: Point3d_type;
|
|
573
|
-
to: Point3d_type;
|
|
574
|
-
}
|
|
575
656
|
export interface Mesh_type {
|
|
576
657
|
mesh: string;
|
|
577
658
|
}
|
|
@@ -592,13 +673,92 @@ export interface Metadata_type {
|
|
|
592
673
|
}
|
|
593
674
|
export declare type Method_type = 'OPTIONS' | 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'TRACE' | 'CONNECT' | 'PATCH' | 'EXTENSION';
|
|
594
675
|
export declare type ModelingCmd_type = {
|
|
595
|
-
|
|
676
|
+
type: 'start_path';
|
|
677
|
+
} | {
|
|
678
|
+
path: ModelingCmdId_type;
|
|
679
|
+
to: Point3d_type;
|
|
680
|
+
type: 'move_path_pen';
|
|
596
681
|
} | {
|
|
597
|
-
|
|
682
|
+
path: ModelingCmdId_type;
|
|
683
|
+
segment: PathSegment_type;
|
|
684
|
+
type: 'extend_path';
|
|
598
685
|
} | {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
686
|
+
cap: boolean;
|
|
687
|
+
distance: number;
|
|
688
|
+
target: ModelingCmdId_type;
|
|
689
|
+
type: 'extrude';
|
|
690
|
+
} | {
|
|
691
|
+
path_id: string;
|
|
692
|
+
type: 'close_path';
|
|
693
|
+
} | {
|
|
694
|
+
interaction: CameraDragInteractionType_type;
|
|
695
|
+
type: 'camera_drag_start';
|
|
696
|
+
window: Point2d_type;
|
|
697
|
+
} | {
|
|
698
|
+
interaction: CameraDragInteractionType_type;
|
|
699
|
+
sequence?: number;
|
|
700
|
+
type: 'camera_drag_move';
|
|
701
|
+
window: Point2d_type;
|
|
702
|
+
} | {
|
|
703
|
+
interaction: CameraDragInteractionType_type;
|
|
704
|
+
type: 'camera_drag_end';
|
|
705
|
+
window: Point2d_type;
|
|
706
|
+
} | {
|
|
707
|
+
center: Point3d_type;
|
|
708
|
+
type: 'default_camera_look_at';
|
|
709
|
+
up: Point3d_type;
|
|
710
|
+
vantage: Point3d_type;
|
|
711
|
+
} | {
|
|
712
|
+
distance_to_plane: number;
|
|
713
|
+
origin: Point3d_type;
|
|
714
|
+
ortho: boolean;
|
|
715
|
+
type: 'default_camera_enable_sketch_mode';
|
|
716
|
+
x_axis: Point3d_type;
|
|
717
|
+
y_axis: Point3d_type;
|
|
718
|
+
} | {
|
|
719
|
+
type: 'default_camera_disable_sketch_mode';
|
|
720
|
+
} | {
|
|
721
|
+
format: OutputFormat_type;
|
|
722
|
+
scene_id: string;
|
|
723
|
+
type: 'export';
|
|
724
|
+
} | {
|
|
725
|
+
entity_id: string;
|
|
726
|
+
type: 'entity_get_parent_id';
|
|
727
|
+
} | {
|
|
728
|
+
entity_id: string;
|
|
729
|
+
type: 'entity_get_num_children';
|
|
730
|
+
} | {
|
|
731
|
+
child_index: number;
|
|
732
|
+
entity_id: string;
|
|
733
|
+
type: 'entity_get_child_uuid';
|
|
734
|
+
} | {
|
|
735
|
+
entity_id: string;
|
|
736
|
+
type: 'entity_get_all_child_uuids';
|
|
737
|
+
} | {
|
|
738
|
+
target: string;
|
|
739
|
+
type: 'edit_mode_enter';
|
|
740
|
+
} | {
|
|
741
|
+
type: 'edit_mode_exit';
|
|
742
|
+
} | {
|
|
743
|
+
selected_at_window: Point2d_type;
|
|
744
|
+
selection_type: SceneSelectionType_type;
|
|
745
|
+
type: 'select_with_point';
|
|
746
|
+
} | {
|
|
747
|
+
type: 'select_clear';
|
|
748
|
+
} | {
|
|
749
|
+
entities: string[];
|
|
750
|
+
type: 'select_add';
|
|
751
|
+
} | {
|
|
752
|
+
entities: string[];
|
|
753
|
+
type: 'select_remove';
|
|
754
|
+
} | {
|
|
755
|
+
type: 'select_get';
|
|
756
|
+
} | {
|
|
757
|
+
selected_at_window: Point2d_type;
|
|
758
|
+
type: 'highlight_set_entity';
|
|
759
|
+
} | {
|
|
760
|
+
entities: string[];
|
|
761
|
+
type: 'highlight_set_entities';
|
|
602
762
|
};
|
|
603
763
|
export declare type ModelingCmdId_type = string;
|
|
604
764
|
export interface ModelingCmdReq_type {
|
|
@@ -656,6 +816,39 @@ export interface OutputFile_type {
|
|
|
656
816
|
contents?: string;
|
|
657
817
|
name: string;
|
|
658
818
|
}
|
|
819
|
+
export declare type OutputFormat_type = {
|
|
820
|
+
storage: Storage_type;
|
|
821
|
+
type: 'gltf';
|
|
822
|
+
} | {
|
|
823
|
+
coords: System_type;
|
|
824
|
+
type: 'obj';
|
|
825
|
+
} | {
|
|
826
|
+
coords: System_type;
|
|
827
|
+
storage: Storage_type;
|
|
828
|
+
type: 'ply';
|
|
829
|
+
} | {
|
|
830
|
+
coords: System_type;
|
|
831
|
+
type: 'step';
|
|
832
|
+
} | {
|
|
833
|
+
coords: System_type;
|
|
834
|
+
storage: Storage_type;
|
|
835
|
+
type: 'stl';
|
|
836
|
+
};
|
|
837
|
+
export declare type PathSegment_type = {
|
|
838
|
+
end: Point3d_type;
|
|
839
|
+
type: 'line';
|
|
840
|
+
} | {
|
|
841
|
+
angle_end: number;
|
|
842
|
+
angle_start: number;
|
|
843
|
+
center: Point2d_type;
|
|
844
|
+
radius: number;
|
|
845
|
+
type: 'arc';
|
|
846
|
+
} | {
|
|
847
|
+
control1: Point3d_type;
|
|
848
|
+
control2: Point3d_type;
|
|
849
|
+
end: Point3d_type;
|
|
850
|
+
type: 'bezier';
|
|
851
|
+
};
|
|
659
852
|
export interface PaymentIntent_type {
|
|
660
853
|
client_secret: string;
|
|
661
854
|
}
|
|
@@ -722,6 +915,7 @@ export interface Runtime_type {
|
|
|
722
915
|
path?: string;
|
|
723
916
|
runtime_args: string[];
|
|
724
917
|
}
|
|
918
|
+
export declare type SceneSelectionType_type = 'replace' | 'add' | 'remove';
|
|
725
919
|
export interface Session_type {
|
|
726
920
|
created_at: string;
|
|
727
921
|
expires: string;
|
|
@@ -730,6 +924,11 @@ export interface Session_type {
|
|
|
730
924
|
updated_at: string;
|
|
731
925
|
user_id: string;
|
|
732
926
|
}
|
|
927
|
+
export declare type Storage_type = 'binary' | 'standard' | 'embedded';
|
|
928
|
+
export interface System_type {
|
|
929
|
+
forward: AxisDirectionPair_type;
|
|
930
|
+
up: AxisDirectionPair_type;
|
|
931
|
+
}
|
|
733
932
|
export declare type SystemInfoCgroupDriverEnum_type = '' | 'cgroupfs' | 'systemd' | 'none';
|
|
734
933
|
export declare type SystemInfoCgroupVersionEnum_type = '' | '1' | '2';
|
|
735
934
|
export interface SystemInfoDefaultAddressPools_type {
|
|
@@ -752,7 +951,7 @@ export interface UnitAngleConversion_type {
|
|
|
752
951
|
updated_at: string;
|
|
753
952
|
user_id: string;
|
|
754
953
|
}
|
|
755
|
-
export declare type UnitArea_type = '
|
|
954
|
+
export declare type UnitArea_type = 'cm2' | 'dm2' | 'ft2' | 'in2' | 'km2' | 'm2' | 'mm2' | 'yd2';
|
|
756
955
|
export interface UnitAreaConversion_type {
|
|
757
956
|
completed_at?: string;
|
|
758
957
|
created_at: string;
|
|
@@ -782,6 +981,7 @@ export interface UnitCurrentConversion_type {
|
|
|
782
981
|
updated_at: string;
|
|
783
982
|
user_id: string;
|
|
784
983
|
}
|
|
984
|
+
export declare type UnitDensity_type = 'lb:ft3' | 'kg:m3';
|
|
785
985
|
export declare type UnitEnergy_type = 'btu' | 'electronvolts' | 'joules' | 'kilocalories' | 'kilowatt_hours' | 'watt_hours';
|
|
786
986
|
export interface UnitEnergyConversion_type {
|
|
787
987
|
completed_at?: string;
|
|
@@ -827,7 +1027,7 @@ export interface UnitFrequencyConversion_type {
|
|
|
827
1027
|
updated_at: string;
|
|
828
1028
|
user_id: string;
|
|
829
1029
|
}
|
|
830
|
-
export declare type UnitLength_type = '
|
|
1030
|
+
export declare type UnitLength_type = 'cm' | 'ft' | 'in' | 'm' | 'mm' | 'yd';
|
|
831
1031
|
export interface UnitLengthConversion_type {
|
|
832
1032
|
completed_at?: string;
|
|
833
1033
|
created_at: string;
|
|
@@ -842,7 +1042,7 @@ export interface UnitLengthConversion_type {
|
|
|
842
1042
|
updated_at: string;
|
|
843
1043
|
user_id: string;
|
|
844
1044
|
}
|
|
845
|
-
export declare type UnitMass_type = '
|
|
1045
|
+
export declare type UnitMass_type = 'g' | 'kg' | 'lb';
|
|
846
1046
|
export interface UnitMassConversion_type {
|
|
847
1047
|
completed_at?: string;
|
|
848
1048
|
created_at: string;
|
|
@@ -917,7 +1117,7 @@ export interface UnitTorqueConversion_type {
|
|
|
917
1117
|
updated_at: string;
|
|
918
1118
|
user_id: string;
|
|
919
1119
|
}
|
|
920
|
-
export declare type UnitVolume_type = '
|
|
1120
|
+
export declare type UnitVolume_type = 'cm3' | 'ft3' | 'in3' | 'm3' | 'yd3' | 'usfloz' | 'usgal' | 'l' | 'ml';
|
|
921
1121
|
export interface UnitVolumeConversion_type {
|
|
922
1122
|
completed_at?: string;
|
|
923
1123
|
created_at: string;
|
|
@@ -987,8 +1187,11 @@ export interface Models {
|
|
|
987
1187
|
AsyncApiCallOutput_type: AsyncApiCallOutput_type;
|
|
988
1188
|
AsyncApiCallResultsPage_type: AsyncApiCallResultsPage_type;
|
|
989
1189
|
AsyncApiCallType_type: AsyncApiCallType_type;
|
|
1190
|
+
Axis_type: Axis_type;
|
|
1191
|
+
AxisDirectionPair_type: AxisDirectionPair_type;
|
|
990
1192
|
BillingInfo_type: BillingInfo_type;
|
|
991
1193
|
CacheMetadata_type: CacheMetadata_type;
|
|
1194
|
+
CameraDragInteractionType_type: CameraDragInteractionType_type;
|
|
992
1195
|
CardDetails_type: CardDetails_type;
|
|
993
1196
|
Cluster_type: Cluster_type;
|
|
994
1197
|
CodeLanguage_type: CodeLanguage_type;
|
|
@@ -996,6 +1199,7 @@ export interface Models {
|
|
|
996
1199
|
Commit_type: Commit_type;
|
|
997
1200
|
Connection_type: Connection_type;
|
|
998
1201
|
CountryCode_type: CountryCode_type;
|
|
1202
|
+
Coupon_type: Coupon_type;
|
|
999
1203
|
CreatedAtSortMode_type: CreatedAtSortMode_type;
|
|
1000
1204
|
Currency_type: Currency_type;
|
|
1001
1205
|
Customer_type: Customer_type;
|
|
@@ -1003,6 +1207,8 @@ export interface Models {
|
|
|
1003
1207
|
DeviceAccessTokenRequestForm_type: DeviceAccessTokenRequestForm_type;
|
|
1004
1208
|
DeviceAuthRequestForm_type: DeviceAuthRequestForm_type;
|
|
1005
1209
|
DeviceAuthVerifyParams_type: DeviceAuthVerifyParams_type;
|
|
1210
|
+
Direction_type: Direction_type;
|
|
1211
|
+
Discount_type: Discount_type;
|
|
1006
1212
|
DockerSystemInfo_type: DockerSystemInfo_type;
|
|
1007
1213
|
EmailAuthenticationForm_type: EmailAuthenticationForm_type;
|
|
1008
1214
|
EngineMetadata_type: EngineMetadata_type;
|
|
@@ -1011,7 +1217,6 @@ export interface Models {
|
|
|
1011
1217
|
ExecutorMetadata_type: ExecutorMetadata_type;
|
|
1012
1218
|
ExtendedUser_type: ExtendedUser_type;
|
|
1013
1219
|
ExtendedUserResultsPage_type: ExtendedUserResultsPage_type;
|
|
1014
|
-
Extrude_type: Extrude_type;
|
|
1015
1220
|
FileCenterOfMass_type: FileCenterOfMass_type;
|
|
1016
1221
|
FileConversion_type: FileConversion_type;
|
|
1017
1222
|
FileDensity_type: FileDensity_type;
|
|
@@ -1024,6 +1229,7 @@ export interface Models {
|
|
|
1024
1229
|
Gateway_type: Gateway_type;
|
|
1025
1230
|
ImageType_type: ImageType_type;
|
|
1026
1231
|
IndexInfo_type: IndexInfo_type;
|
|
1232
|
+
InputFormat_type: InputFormat_type;
|
|
1027
1233
|
Invoice_type: Invoice_type;
|
|
1028
1234
|
InvoiceLineItem_type: InvoiceLineItem_type;
|
|
1029
1235
|
InvoiceStatus_type: InvoiceStatus_type;
|
|
@@ -1032,7 +1238,6 @@ export interface Models {
|
|
|
1032
1238
|
JetstreamConfig_type: JetstreamConfig_type;
|
|
1033
1239
|
JetstreamStats_type: JetstreamStats_type;
|
|
1034
1240
|
LeafNode_type: LeafNode_type;
|
|
1035
|
-
Line3d_type: Line3d_type;
|
|
1036
1241
|
Mesh_type: Mesh_type;
|
|
1037
1242
|
MetaClusterInfo_type: MetaClusterInfo_type;
|
|
1038
1243
|
Metadata_type: Metadata_type;
|
|
@@ -1049,6 +1254,8 @@ export interface Models {
|
|
|
1049
1254
|
OAuth2GrantType_type: OAuth2GrantType_type;
|
|
1050
1255
|
Onboarding_type: Onboarding_type;
|
|
1051
1256
|
OutputFile_type: OutputFile_type;
|
|
1257
|
+
OutputFormat_type: OutputFormat_type;
|
|
1258
|
+
PathSegment_type: PathSegment_type;
|
|
1052
1259
|
PaymentIntent_type: PaymentIntent_type;
|
|
1053
1260
|
PaymentMethod_type: PaymentMethod_type;
|
|
1054
1261
|
PaymentMethodCardChecks_type: PaymentMethodCardChecks_type;
|
|
@@ -1062,7 +1269,10 @@ export interface Models {
|
|
|
1062
1269
|
Pong_type: Pong_type;
|
|
1063
1270
|
RegistryServiceConfig_type: RegistryServiceConfig_type;
|
|
1064
1271
|
Runtime_type: Runtime_type;
|
|
1272
|
+
SceneSelectionType_type: SceneSelectionType_type;
|
|
1065
1273
|
Session_type: Session_type;
|
|
1274
|
+
Storage_type: Storage_type;
|
|
1275
|
+
System_type: System_type;
|
|
1066
1276
|
SystemInfoCgroupDriverEnum_type: SystemInfoCgroupDriverEnum_type;
|
|
1067
1277
|
SystemInfoCgroupVersionEnum_type: SystemInfoCgroupVersionEnum_type;
|
|
1068
1278
|
SystemInfoDefaultAddressPools_type: SystemInfoDefaultAddressPools_type;
|
|
@@ -1073,6 +1283,7 @@ export interface Models {
|
|
|
1073
1283
|
UnitAreaConversion_type: UnitAreaConversion_type;
|
|
1074
1284
|
UnitCurrent_type: UnitCurrent_type;
|
|
1075
1285
|
UnitCurrentConversion_type: UnitCurrentConversion_type;
|
|
1286
|
+
UnitDensity_type: UnitDensity_type;
|
|
1076
1287
|
UnitEnergy_type: UnitEnergy_type;
|
|
1077
1288
|
UnitEnergyConversion_type: UnitEnergyConversion_type;
|
|
1078
1289
|
UnitForce_type: UnitForce_type;
|