@kittycad/lib 4.3.13 → 4.3.15
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_user_factory_job.d.ts +2 -4
- package/dist/types/src/api/factory/create_user_factory_job.d.ts.map +1 -1
- package/dist/types/src/api/factory/get_user_factory_finishes.d.ts +22 -0
- package/dist/types/src/api/factory/get_user_factory_finishes.d.ts.map +1 -0
- package/dist/types/src/api/factory/get_user_factory_materials.d.ts +22 -0
- package/dist/types/src/api/factory/get_user_factory_materials.d.ts.map +1 -0
- package/dist/types/src/api/payments/get_org_usage_collection_threshold.d.ts +20 -0
- package/dist/types/src/api/payments/get_org_usage_collection_threshold.d.ts.map +1 -0
- package/dist/types/src/api/payments/get_user_usage_collection_threshold.d.ts +22 -0
- package/dist/types/src/api/payments/get_user_usage_collection_threshold.d.ts.map +1 -0
- package/dist/types/src/api/payments/reset_org_usage_collection_threshold.d.ts +22 -0
- package/dist/types/src/api/payments/reset_org_usage_collection_threshold.d.ts.map +1 -0
- package/dist/types/src/api/payments/reset_user_usage_collection_threshold.d.ts +22 -0
- package/dist/types/src/api/payments/reset_user_usage_collection_threshold.d.ts.map +1 -0
- package/dist/types/src/api/payments/set_org_usage_collection_threshold.d.ts +22 -0
- package/dist/types/src/api/payments/set_org_usage_collection_threshold.d.ts.map +1 -0
- package/dist/types/src/api/payments/set_user_usage_collection_threshold.d.ts +22 -0
- package/dist/types/src/api/payments/set_user_usage_collection_threshold.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +17 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +145 -3
- package/dist/types/src/models.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -59,6 +59,100 @@ export interface AdjacencyInfo {
|
|
|
59
59
|
/** nullable:true, description:Previous adjacent edge and face info. */
|
|
60
60
|
previous_adjacent_info?: EdgeInfo;
|
|
61
61
|
}
|
|
62
|
+
export interface AggregateUsageCollectionThresholdBounds {
|
|
63
|
+
/**
|
|
64
|
+
* {
|
|
65
|
+
* "title": "double",
|
|
66
|
+
* "format": "money-usd"
|
|
67
|
+
* }
|
|
68
|
+
*/
|
|
69
|
+
maximum_amount: number;
|
|
70
|
+
/**
|
|
71
|
+
* {
|
|
72
|
+
* "title": "double",
|
|
73
|
+
* "format": "money-usd"
|
|
74
|
+
* }
|
|
75
|
+
*/
|
|
76
|
+
minimum_amount: number;
|
|
77
|
+
}
|
|
78
|
+
export interface AggregateUsageCollectionThresholdSet {
|
|
79
|
+
/**
|
|
80
|
+
* {
|
|
81
|
+
* "title": "double",
|
|
82
|
+
* "format": "money-usd"
|
|
83
|
+
* }
|
|
84
|
+
*/
|
|
85
|
+
amount: number;
|
|
86
|
+
/**
|
|
87
|
+
* {
|
|
88
|
+
* "format": "int64",
|
|
89
|
+
* "description": "Version returned by the read that this mutation is based on."
|
|
90
|
+
* }
|
|
91
|
+
*/
|
|
92
|
+
expected_version: number;
|
|
93
|
+
}
|
|
94
|
+
export type AggregateUsageCollectionThresholdSource =
|
|
95
|
+
/** Precedence source that determines an account's effective threshold. */
|
|
96
|
+
'admin' | 'customer' | 'system_default';
|
|
97
|
+
export interface AggregateUsageCollectionThresholdView {
|
|
98
|
+
/**
|
|
99
|
+
* {
|
|
100
|
+
* "nullable": true,
|
|
101
|
+
* "title": "double",
|
|
102
|
+
* "format": "money-usd",
|
|
103
|
+
* "description": "Zoo-controlled override. When present, customer mutations are disabled."
|
|
104
|
+
* }
|
|
105
|
+
*/
|
|
106
|
+
admin_amount?: number;
|
|
107
|
+
/**
|
|
108
|
+
* {
|
|
109
|
+
* "$ref": "#/components/schemas/AggregateUsageCollectionThresholdBounds"
|
|
110
|
+
* }
|
|
111
|
+
*/
|
|
112
|
+
admin_bounds: AggregateUsageCollectionThresholdBounds;
|
|
113
|
+
/**
|
|
114
|
+
* {
|
|
115
|
+
* "nullable": true,
|
|
116
|
+
* "title": "double",
|
|
117
|
+
* "format": "money-usd",
|
|
118
|
+
* "description": "Customer preference used when no Zoo-controlled override is active."
|
|
119
|
+
* }
|
|
120
|
+
*/
|
|
121
|
+
customer_amount?: number;
|
|
122
|
+
/**
|
|
123
|
+
* {
|
|
124
|
+
* "$ref": "#/components/schemas/AggregateUsageCollectionThresholdBounds"
|
|
125
|
+
* }
|
|
126
|
+
*/
|
|
127
|
+
customer_bounds: AggregateUsageCollectionThresholdBounds;
|
|
128
|
+
/**
|
|
129
|
+
* {
|
|
130
|
+
* "title": "double",
|
|
131
|
+
* "format": "money-usd"
|
|
132
|
+
* }
|
|
133
|
+
*/
|
|
134
|
+
default_amount: number;
|
|
135
|
+
/**
|
|
136
|
+
* {
|
|
137
|
+
* "title": "double",
|
|
138
|
+
* "format": "money-usd"
|
|
139
|
+
* }
|
|
140
|
+
*/
|
|
141
|
+
effective_amount: number;
|
|
142
|
+
/**
|
|
143
|
+
* {
|
|
144
|
+
* "$ref": "#/components/schemas/AggregateUsageCollectionThresholdSource"
|
|
145
|
+
* }
|
|
146
|
+
*/
|
|
147
|
+
source: AggregateUsageCollectionThresholdSource;
|
|
148
|
+
/**
|
|
149
|
+
* {
|
|
150
|
+
* "format": "int64",
|
|
151
|
+
* "description": "Monotonic version of the account's append-only threshold history."
|
|
152
|
+
* }
|
|
153
|
+
*/
|
|
154
|
+
version: number;
|
|
155
|
+
}
|
|
62
156
|
export interface Angle {
|
|
63
157
|
/** What unit is the measurement? */
|
|
64
158
|
unit: UnitAngle;
|
|
@@ -1320,7 +1414,7 @@ export type BillingRolloverPolicy = 'none' | 'year1_to_year2_once';
|
|
|
1320
1414
|
export type BillingUnit = 'file' | 'minute' | 'second' | 'year' | 'period';
|
|
1321
1415
|
export type BillingUnitGranularity = 'minute' | 'second';
|
|
1322
1416
|
export type BlendType = 'tangent';
|
|
1323
|
-
export type BlockReason = 'missing_payment_method' | 'payment_method_failed' | 'upgrade_downgrade_abuse' | 'admin';
|
|
1417
|
+
export type BlockReason = 'missing_payment_method' | 'payment_method_failed' | 'billing_threshold_reached' | 'upgrade_downgrade_abuse' | 'admin';
|
|
1324
1418
|
export interface BodiesCreated {
|
|
1325
1419
|
/** All bodies created by this operation. */
|
|
1326
1420
|
bodies: BodyCreated[];
|
|
@@ -1854,6 +1948,14 @@ export interface CreateOrgDataset {
|
|
|
1854
1948
|
/** Details for accessing the dataset. */
|
|
1855
1949
|
source: OrgDatasetSource;
|
|
1856
1950
|
}
|
|
1951
|
+
export interface CreatePlanarSurface {
|
|
1952
|
+
/**
|
|
1953
|
+
* {
|
|
1954
|
+
* "format": "uuid"
|
|
1955
|
+
* }
|
|
1956
|
+
*/
|
|
1957
|
+
surfaces: string[];
|
|
1958
|
+
}
|
|
1857
1959
|
export interface CreateProjectShareLinkRequest {
|
|
1858
1960
|
/** default:anyone_with_link, description:Access policy for the generated share link. */
|
|
1859
1961
|
access_mode?: KclProjectShareLinkAccessMode;
|
|
@@ -2722,6 +2824,10 @@ export interface FaceIsPlanar {
|
|
|
2722
2824
|
/** nullable:true, description:plane's local z-axis (normal) */
|
|
2723
2825
|
z_axis?: Point3d;
|
|
2724
2826
|
}
|
|
2827
|
+
export interface FactoryCustomerCatalogOption {
|
|
2828
|
+
/** Exact catalog name to submit in the corresponding intake field. */
|
|
2829
|
+
name: string;
|
|
2830
|
+
}
|
|
2725
2831
|
export interface FactoryJobResponse {
|
|
2726
2832
|
/** nullable:true, description:The current (first) version id of the job. */
|
|
2727
2833
|
current_version_id?: Uuid;
|
|
@@ -4216,8 +4322,20 @@ export type ModelingCmd = {
|
|
|
4216
4322
|
faces?: ExtrudedFaceInfo;
|
|
4217
4323
|
/** Reference to extrude to. Extrusion occurs along the target's normal until it is as close to the reference as possible. */
|
|
4218
4324
|
reference: ExtrudeReference;
|
|
4219
|
-
/**
|
|
4220
|
-
|
|
4325
|
+
/**
|
|
4326
|
+
* {
|
|
4327
|
+
* "nullable": true,
|
|
4328
|
+
* "description": "Which sketch or edge to extrude (legacy API).\n\nMust be a closed 2D solid, or an edge for surface extrusions. Either `target` or `target_reference` must be provided."
|
|
4329
|
+
* }
|
|
4330
|
+
*/
|
|
4331
|
+
target?: ModelingCmdId;
|
|
4332
|
+
/**
|
|
4333
|
+
* {
|
|
4334
|
+
* "nullable": true,
|
|
4335
|
+
* "description": "Edge specifier identifying the source edge to extrude. If provided, this takes precedence over `target`."
|
|
4336
|
+
* }
|
|
4337
|
+
*/
|
|
4338
|
+
target_reference?: EdgeSpecifier;
|
|
4221
4339
|
type: 'extrude_to_reference';
|
|
4222
4340
|
} | {
|
|
4223
4341
|
/**
|
|
@@ -5766,6 +5884,16 @@ export type ModelingCmd = {
|
|
|
5766
5884
|
type: 'create_region';
|
|
5767
5885
|
/** Which version of the Region endpoint to call. */
|
|
5768
5886
|
version?: RegionVersion;
|
|
5887
|
+
} | {
|
|
5888
|
+
/**
|
|
5889
|
+
* {
|
|
5890
|
+
* "format": "uuid"
|
|
5891
|
+
* }
|
|
5892
|
+
*/
|
|
5893
|
+
curve_ids: string[];
|
|
5894
|
+
/** Tolerance for the planar surface creation. Must be positive (i.e. greater than zero). */
|
|
5895
|
+
tolerance: LengthUnit;
|
|
5896
|
+
type: 'create_planar_surface';
|
|
5769
5897
|
} | {
|
|
5770
5898
|
/** format:uuid, description:Which region to resolve */
|
|
5771
5899
|
region_id: string;
|
|
@@ -7270,6 +7398,14 @@ export type OkModelingCmdResponse = {
|
|
|
7270
7398
|
*/
|
|
7271
7399
|
data: CreateRegion;
|
|
7272
7400
|
type: 'create_region';
|
|
7401
|
+
} | {
|
|
7402
|
+
/**
|
|
7403
|
+
* {
|
|
7404
|
+
* "$ref": "#/components/schemas/CreatePlanarSurface"
|
|
7405
|
+
* }
|
|
7406
|
+
*/
|
|
7407
|
+
data: CreatePlanarSurface;
|
|
7408
|
+
type: 'create_planar_surface';
|
|
7273
7409
|
} | {
|
|
7274
7410
|
/**
|
|
7275
7411
|
* {
|
|
@@ -11070,6 +11206,10 @@ export interface Models {
|
|
|
11070
11206
|
Address: Address;
|
|
11071
11207
|
AddressDetails: AddressDetails;
|
|
11072
11208
|
AdjacencyInfo: AdjacencyInfo;
|
|
11209
|
+
AggregateUsageCollectionThresholdBounds: AggregateUsageCollectionThresholdBounds;
|
|
11210
|
+
AggregateUsageCollectionThresholdSet: AggregateUsageCollectionThresholdSet;
|
|
11211
|
+
AggregateUsageCollectionThresholdSource: AggregateUsageCollectionThresholdSource;
|
|
11212
|
+
AggregateUsageCollectionThresholdView: AggregateUsageCollectionThresholdView;
|
|
11073
11213
|
Angle: Angle;
|
|
11074
11214
|
AnnotationBasicDimension: AnnotationBasicDimension;
|
|
11075
11215
|
AnnotationFeatureControl: AnnotationFeatureControl;
|
|
@@ -11171,6 +11311,7 @@ export interface Models {
|
|
|
11171
11311
|
CreateCustomModel: CreateCustomModel;
|
|
11172
11312
|
CreateOAuth2AppRequest: CreateOAuth2AppRequest;
|
|
11173
11313
|
CreateOrgDataset: CreateOrgDataset;
|
|
11314
|
+
CreatePlanarSurface: CreatePlanarSurface;
|
|
11174
11315
|
CreateProjectShareLinkRequest: CreateProjectShareLinkRequest;
|
|
11175
11316
|
CreateRegion: CreateRegion;
|
|
11176
11317
|
CreateRegionFromQueryPoint: CreateRegionFromQueryPoint;
|
|
@@ -11269,6 +11410,7 @@ export interface Models {
|
|
|
11269
11410
|
FaceGetGradient: FaceGetGradient;
|
|
11270
11411
|
FaceGetPosition: FaceGetPosition;
|
|
11271
11412
|
FaceIsPlanar: FaceIsPlanar;
|
|
11413
|
+
FactoryCustomerCatalogOption: FactoryCustomerCatalogOption;
|
|
11272
11414
|
FactoryJobResponse: FactoryJobResponse;
|
|
11273
11415
|
FailureWebSocketResponse: FailureWebSocketResponse;
|
|
11274
11416
|
FbxStorage: FbxStorage;
|