@kittycad/lib 2.0.7 → 2.0.9
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/__tests__/gen/orgs-get_org_shortlinks.test.d.ts +2 -0
- package/dist/types/__tests__/gen/orgs-get_org_shortlinks.test.d.ts.map +1 -0
- package/dist/types/__tests__/gen/users-create_user_shortlink.test.d.ts +2 -0
- package/dist/types/__tests__/gen/users-create_user_shortlink.test.d.ts.map +1 -0
- package/dist/types/__tests__/gen/users-delete_user_shortlink.test.d.ts +2 -0
- package/dist/types/__tests__/gen/users-delete_user_shortlink.test.d.ts.map +1 -0
- package/dist/types/__tests__/gen/users-get_user_shortlinks.test.d.ts +2 -0
- package/dist/types/__tests__/gen/users-get_user_shortlinks.test.d.ts.map +1 -0
- package/dist/types/__tests__/gen/users-update_user_shortlink.test.d.ts +2 -0
- package/dist/types/__tests__/gen/users-update_user_shortlink.test.d.ts.map +1 -0
- package/dist/types/src/api/api-calls/list_api_calls_for_user.d.ts +2 -2
- package/dist/types/src/api/api-calls/list_api_calls_for_user.d.ts.map +1 -1
- package/dist/types/src/api/orgs/get_org_shortlinks.d.ts +12 -0
- package/dist/types/src/api/orgs/get_org_shortlinks.d.ts.map +1 -0
- package/dist/types/src/api/payments/get_payment_balance_for_any_user.d.ts +2 -2
- package/dist/types/src/api/payments/get_payment_balance_for_any_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/update_payment_balance_for_any_user.d.ts +2 -2
- package/dist/types/src/api/payments/update_payment_balance_for_any_user.d.ts.map +1 -1
- package/dist/types/src/api/users/create_user_shortlink.d.ts +10 -0
- package/dist/types/src/api/users/create_user_shortlink.d.ts.map +1 -0
- package/dist/types/src/api/users/delete_user_shortlink.d.ts +10 -0
- package/dist/types/src/api/users/delete_user_shortlink.d.ts.map +1 -0
- package/dist/types/src/api/users/get_user.d.ts +2 -2
- package/dist/types/src/api/users/get_user.d.ts.map +1 -1
- package/dist/types/src/api/users/get_user_extended.d.ts +2 -2
- package/dist/types/src/api/users/get_user_extended.d.ts.map +1 -1
- package/dist/types/src/api/users/get_user_shortlinks.d.ts +12 -0
- package/dist/types/src/api/users/get_user_shortlinks.d.ts.map +1 -0
- package/dist/types/src/api/users/update_user_shortlink.d.ts +11 -0
- package/dist/types/src/api/users/update_user_shortlink.d.ts.map +1 -0
- package/dist/types/src/apiGen.d.ts.map +1 -1
- package/dist/types/src/expectedToFail.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +10 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +54 -0
- package/dist/types/src/models.d.ts.map +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { User_type, Error_type } from '../../models.js';
|
|
1
|
+
import { User_type, Error_type, UserIdentifier_type } from '../../models.js';
|
|
2
2
|
import { Client } from '../../client.js';
|
|
3
3
|
interface Get_user_params {
|
|
4
4
|
client?: Client;
|
|
5
|
-
id:
|
|
5
|
+
id: UserIdentifier_type;
|
|
6
6
|
}
|
|
7
7
|
declare type Get_user_return = User_type | Error_type;
|
|
8
8
|
export default function get_user({ client, id, }: Get_user_params): Promise<Get_user_return>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/users/get_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"get_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/users/get_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,mBAAmB,CAAC;CACzB;AAED,aAAK,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAE9C,wBAA8B,QAAQ,CAAC,EACrC,MAAM,EACN,EAAE,GACH,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC,CAiB5C"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ExtendedUser_type, Error_type } from '../../models.js';
|
|
1
|
+
import { ExtendedUser_type, Error_type, UserIdentifier_type } from '../../models.js';
|
|
2
2
|
import { Client } from '../../client.js';
|
|
3
3
|
interface Get_user_extended_params {
|
|
4
4
|
client?: Client;
|
|
5
|
-
id:
|
|
5
|
+
id: UserIdentifier_type;
|
|
6
6
|
}
|
|
7
7
|
declare type Get_user_extended_return = ExtendedUser_type | Error_type;
|
|
8
8
|
export default function get_user_extended({ client, id, }: Get_user_extended_params): Promise<Get_user_extended_return>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_user_extended.d.ts","sourceRoot":"","sources":["../../../../../src/api/users/get_user_extended.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"get_user_extended.d.ts","sourceRoot":"","sources":["../../../../../src/api/users/get_user_extended.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,UAAU,wBAAwB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,mBAAmB,CAAC;CACzB;AAED,aAAK,wBAAwB,GAAG,iBAAiB,GAAG,UAAU,CAAC;AAE/D,wBAA8B,iBAAiB,CAAC,EAC9C,MAAM,EACN,EAAE,GACH,EAAE,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAiB9D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShortlinkResultsPage_type, Error_type, CreatedAtSortMode_type } from '../../models.js';
|
|
2
|
+
import { Client } from '../../client.js';
|
|
3
|
+
interface Get_user_shortlinks_params {
|
|
4
|
+
client?: Client;
|
|
5
|
+
limit: number;
|
|
6
|
+
page_token: string;
|
|
7
|
+
sort_by: CreatedAtSortMode_type;
|
|
8
|
+
}
|
|
9
|
+
declare type Get_user_shortlinks_return = ShortlinkResultsPage_type | Error_type;
|
|
10
|
+
export default function get_user_shortlinks({ client, limit, page_token, sort_by, }: Get_user_shortlinks_params): Promise<Get_user_shortlinks_return>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=get_user_shortlinks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_user_shortlinks.d.ts","sourceRoot":"","sources":["../../../../../src/api/users/get_user_shortlinks.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,UAAU,EACV,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,UAAU,0BAA0B;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,aAAK,0BAA0B,GAAG,yBAAyB,GAAG,UAAU,CAAC;AAEzE,wBAA8B,mBAAmB,CAAC,EAChD,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,0BAA0B,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAiBlE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Error_type, UpdateShortlinkRequest_type } from '../../models.js';
|
|
2
|
+
import { Client } from '../../client.js';
|
|
3
|
+
interface Update_user_shortlink_params {
|
|
4
|
+
client?: Client;
|
|
5
|
+
key: string;
|
|
6
|
+
body: UpdateShortlinkRequest_type;
|
|
7
|
+
}
|
|
8
|
+
declare type Update_user_shortlink_return = Error_type;
|
|
9
|
+
export default function update_user_shortlink({ client, key, body, }: Update_user_shortlink_params): Promise<Update_user_shortlink_return>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=update_user_shortlink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update_user_shortlink.d.ts","sourceRoot":"","sources":["../../../../../src/api/users/update_user_shortlink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,UAAU,4BAA4B;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,2BAA2B,CAAC;CACnC;AAED,aAAK,4BAA4B,GAAG,UAAU,CAAC;AAE/C,wBAA8B,qBAAqB,CAAC,EAClD,MAAM,EACN,GAAG,EACH,IAAI,GACL,EAAE,4BAA4B,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAkBtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiGen.d.ts","sourceRoot":"","sources":["../../../src/apiGen.ts"],"names":[],"mappings":"AAOA,wBAA8B,MAAM,CAAC,MAAM,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"apiGen.d.ts","sourceRoot":"","sources":["../../../src/apiGen.ts"],"names":[],"mappings":"AAOA,wBAA8B,MAAM,CAAC,MAAM,EAAE,GAAG,iBAkhB/C;AAwBD,wBAAgB,KAAK,CAAC,GAAG,EAAE,GAAG,UAO7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expectedToFail.d.ts","sourceRoot":"","sources":["../../../src/expectedToFail.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"expectedToFail.d.ts","sourceRoot":"","sources":["../../../src/expectedToFail.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,UA8D7B,CAAC"}
|
|
@@ -123,6 +123,7 @@ import get_org from './api/orgs/get_org.js';
|
|
|
123
123
|
import get_org_member from './api/orgs/get_org_member.js';
|
|
124
124
|
import get_org_privacy_settings from './api/orgs/get_org_privacy_settings.js';
|
|
125
125
|
import get_org_saml_idp from './api/orgs/get_org_saml_idp.js';
|
|
126
|
+
import get_org_shortlinks from './api/orgs/get_org_shortlinks.js';
|
|
126
127
|
import get_user_org from './api/orgs/get_user_org.js';
|
|
127
128
|
import list_org_members from './api/orgs/list_org_members.js';
|
|
128
129
|
import list_orgs from './api/orgs/list_orgs.js';
|
|
@@ -143,6 +144,7 @@ export declare const orgs: {
|
|
|
143
144
|
get_org_member: typeof get_org_member;
|
|
144
145
|
get_org_privacy_settings: typeof get_org_privacy_settings;
|
|
145
146
|
get_org_saml_idp: typeof get_org_saml_idp;
|
|
147
|
+
get_org_shortlinks: typeof get_org_shortlinks;
|
|
146
148
|
get_user_org: typeof get_user_org;
|
|
147
149
|
list_org_members: typeof list_org_members;
|
|
148
150
|
list_orgs: typeof list_orgs;
|
|
@@ -256,7 +258,9 @@ export declare const unit: {
|
|
|
256
258
|
get_torque_unit_conversion: typeof get_torque_unit_conversion;
|
|
257
259
|
get_volume_unit_conversion: typeof get_volume_unit_conversion;
|
|
258
260
|
};
|
|
261
|
+
import create_user_shortlink from './api/users/create_user_shortlink.js';
|
|
259
262
|
import delete_user_self from './api/users/delete_user_self.js';
|
|
263
|
+
import delete_user_shortlink from './api/users/delete_user_shortlink.js';
|
|
260
264
|
import get_oauth2_providers_for_user from './api/users/get_oauth2_providers_for_user.js';
|
|
261
265
|
import get_session_for_user from './api/users/get_session_for_user.js';
|
|
262
266
|
import get_user from './api/users/get_user.js';
|
|
@@ -265,12 +269,16 @@ import get_user_onboarding_self from './api/users/get_user_onboarding_self.js';
|
|
|
265
269
|
import get_user_privacy_settings from './api/users/get_user_privacy_settings.js';
|
|
266
270
|
import get_user_self from './api/users/get_user_self.js';
|
|
267
271
|
import get_user_self_extended from './api/users/get_user_self_extended.js';
|
|
272
|
+
import get_user_shortlinks from './api/users/get_user_shortlinks.js';
|
|
268
273
|
import list_users from './api/users/list_users.js';
|
|
269
274
|
import list_users_extended from './api/users/list_users_extended.js';
|
|
270
275
|
import update_user_privacy_settings from './api/users/update_user_privacy_settings.js';
|
|
271
276
|
import update_user_self from './api/users/update_user_self.js';
|
|
277
|
+
import update_user_shortlink from './api/users/update_user_shortlink.js';
|
|
272
278
|
export declare const users: {
|
|
279
|
+
create_user_shortlink: typeof create_user_shortlink;
|
|
273
280
|
delete_user_self: typeof delete_user_self;
|
|
281
|
+
delete_user_shortlink: typeof delete_user_shortlink;
|
|
274
282
|
get_oauth2_providers_for_user: typeof get_oauth2_providers_for_user;
|
|
275
283
|
get_session_for_user: typeof get_session_for_user;
|
|
276
284
|
get_user: typeof get_user;
|
|
@@ -279,10 +287,12 @@ export declare const users: {
|
|
|
279
287
|
get_user_privacy_settings: typeof get_user_privacy_settings;
|
|
280
288
|
get_user_self: typeof get_user_self;
|
|
281
289
|
get_user_self_extended: typeof get_user_self_extended;
|
|
290
|
+
get_user_shortlinks: typeof get_user_shortlinks;
|
|
282
291
|
list_users: typeof list_users;
|
|
283
292
|
list_users_extended: typeof list_users_extended;
|
|
284
293
|
update_user_privacy_settings: typeof update_user_privacy_settings;
|
|
285
294
|
update_user_self: typeof update_user_self;
|
|
295
|
+
update_user_shortlink: typeof update_user_shortlink;
|
|
286
296
|
};
|
|
287
297
|
export type { Models } from './models.js';
|
|
288
298
|
export { Client } from './client.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,iCAAiC,CAAC;AAC3D,OAAO,oBAAoB,MAAM,yCAAyC,CAAC;AAC3E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,CAAC;AAC/D,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,6BAA6B,MAAM,8CAA8C,CAAC;AACzF,OAAO,oBAAoB,MAAM,qCAAqC,CAAC;AACvE,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAC/C,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,wBAAwB,MAAM,yCAAyC,CAAC;AAC/E,OAAO,yBAAyB,MAAM,0CAA0C,CAAC;AACjF,OAAO,aAAa,MAAM,8BAA8B,CAAC;AACzD,OAAO,sBAAsB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;CAkBjB,CAAC;AAEF,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -385,6 +385,15 @@ export interface Coupon_type {
|
|
|
385
385
|
name?: string;
|
|
386
386
|
percent_off?: number;
|
|
387
387
|
}
|
|
388
|
+
export interface CreateShortlinkRequest_type {
|
|
389
|
+
password?: string;
|
|
390
|
+
restrict_to_org: boolean;
|
|
391
|
+
url: string;
|
|
392
|
+
}
|
|
393
|
+
export interface CreateShortlinkResponse_type {
|
|
394
|
+
key: string;
|
|
395
|
+
url: string;
|
|
396
|
+
}
|
|
388
397
|
export declare type CreatedAtSortMode_type = 'created_at_ascending' | 'created_at_descending';
|
|
389
398
|
export declare type Currency_type = string;
|
|
390
399
|
export interface CurveGetControlPoints_type {
|
|
@@ -952,12 +961,15 @@ export declare type MlPromptType_type = 'text_to_cad' | 'text_to_kcl' | 'text_to
|
|
|
952
961
|
export declare type ModelingAppEventType_type = 'successful_compile_before_close';
|
|
953
962
|
export declare type ModelingAppIndividualSubscriptionTier_type = 'free' | 'pro';
|
|
954
963
|
export declare type ModelingAppOrganizationSubscriptionTier_type = 'team' | 'enterprise';
|
|
964
|
+
export declare type ModelingAppShareLinks_type = 'public' | 'password_protected' | 'organization_only';
|
|
955
965
|
export interface ModelingAppSubscriptionTier_type {
|
|
966
|
+
annual_discount?: number;
|
|
956
967
|
description: string;
|
|
957
968
|
features: SubscriptionTierFeature_type[];
|
|
958
969
|
name: ModelingAppSubscriptionTierName_type;
|
|
959
970
|
pay_as_you_go_credits: number;
|
|
960
971
|
price: SubscriptionTierPrice_type;
|
|
972
|
+
share_links: ModelingAppShareLinks_type[];
|
|
961
973
|
support_tier: SupportTier_type;
|
|
962
974
|
training_data_behavior: SubscriptionTrainingDataBehavior_type;
|
|
963
975
|
type: SubscriptionTierType_type;
|
|
@@ -1179,6 +1191,10 @@ export declare type ModelingCmd_type = {
|
|
|
1179
1191
|
face_id: string;
|
|
1180
1192
|
object_id: string;
|
|
1181
1193
|
type: 'solid3d_get_prev_adjacent_edge';
|
|
1194
|
+
} | {
|
|
1195
|
+
face_ids: string[];
|
|
1196
|
+
object_id: string;
|
|
1197
|
+
type: 'solid3d_get_common_edge';
|
|
1182
1198
|
} | {
|
|
1183
1199
|
cut_type: CutType_type;
|
|
1184
1200
|
edge_id: string;
|
|
@@ -1652,6 +1668,9 @@ export declare type OkModelingCmdResponse_type = {
|
|
|
1652
1668
|
} | {
|
|
1653
1669
|
data: Solid3dGetPrevAdjacentEdge_type;
|
|
1654
1670
|
type: 'solid3d_get_prev_adjacent_edge';
|
|
1671
|
+
} | {
|
|
1672
|
+
data: Solid3dGetCommonEdge_type;
|
|
1673
|
+
type: 'solid3d_get_common_edge';
|
|
1655
1674
|
} | {
|
|
1656
1675
|
data: GetEntityType_type;
|
|
1657
1676
|
type: 'get_entity_type';
|
|
@@ -2103,6 +2122,21 @@ export interface SetSelectionType_type {
|
|
|
2103
2122
|
}
|
|
2104
2123
|
export interface SetTool_type {
|
|
2105
2124
|
}
|
|
2125
|
+
export interface Shortlink_type {
|
|
2126
|
+
created_at: string;
|
|
2127
|
+
id: Uuid_type;
|
|
2128
|
+
key: string;
|
|
2129
|
+
org_id?: Uuid_type;
|
|
2130
|
+
password_hash?: string;
|
|
2131
|
+
restrict_to_org: boolean;
|
|
2132
|
+
updated_at: string;
|
|
2133
|
+
user_id: Uuid_type;
|
|
2134
|
+
value: string;
|
|
2135
|
+
}
|
|
2136
|
+
export interface ShortlinkResultsPage_type {
|
|
2137
|
+
items: Shortlink_type[];
|
|
2138
|
+
next_page?: string;
|
|
2139
|
+
}
|
|
2106
2140
|
export interface SketchModeDisable_type {
|
|
2107
2141
|
}
|
|
2108
2142
|
export interface Solid2dAddHole_type {
|
|
@@ -2115,6 +2149,9 @@ export interface Solid3dGetAllEdgeFaces_type {
|
|
|
2115
2149
|
export interface Solid3dGetAllOppositeEdges_type {
|
|
2116
2150
|
edges: string[];
|
|
2117
2151
|
}
|
|
2152
|
+
export interface Solid3dGetCommonEdge_type {
|
|
2153
|
+
edge?: string;
|
|
2154
|
+
}
|
|
2118
2155
|
export interface Solid3dGetExtrusionFaceInfo_type {
|
|
2119
2156
|
faces: ExtrusionFaceInfo_type[];
|
|
2120
2157
|
}
|
|
@@ -2451,6 +2488,10 @@ export interface UpdatePaymentBalance_type {
|
|
|
2451
2488
|
pre_pay_cash_remaining?: number;
|
|
2452
2489
|
pre_pay_credits_remaining?: number;
|
|
2453
2490
|
}
|
|
2491
|
+
export interface UpdateShortlinkRequest_type {
|
|
2492
|
+
password?: string;
|
|
2493
|
+
restrict_to_org: boolean;
|
|
2494
|
+
}
|
|
2454
2495
|
export interface UpdateUser_type {
|
|
2455
2496
|
company: string;
|
|
2456
2497
|
discord: string;
|
|
@@ -2478,6 +2519,7 @@ export interface User_type {
|
|
|
2478
2519
|
phone: string;
|
|
2479
2520
|
updated_at: string;
|
|
2480
2521
|
}
|
|
2522
|
+
export declare type UserIdentifier_type = string;
|
|
2481
2523
|
export interface UserOrgInfo_type {
|
|
2482
2524
|
allow_users_in_domain_to_auto_join?: boolean;
|
|
2483
2525
|
billing_email: string;
|
|
@@ -2550,11 +2592,13 @@ export declare type WebSocketResponse_type = {
|
|
|
2550
2592
|
success: false;
|
|
2551
2593
|
};
|
|
2552
2594
|
export declare type ZooProductSubscription_type = {
|
|
2595
|
+
annual_discount?: number;
|
|
2553
2596
|
description: string;
|
|
2554
2597
|
features: SubscriptionTierFeature_type[];
|
|
2555
2598
|
name: ModelingAppSubscriptionTierName_type;
|
|
2556
2599
|
pay_as_you_go_credits: number;
|
|
2557
2600
|
price: SubscriptionTierPrice_type;
|
|
2601
|
+
share_links: ModelingAppShareLinks_type[];
|
|
2558
2602
|
support_tier: SupportTier_type;
|
|
2559
2603
|
training_data_behavior: SubscriptionTrainingDataBehavior_type;
|
|
2560
2604
|
type: SubscriptionTierType_type;
|
|
@@ -2565,9 +2609,11 @@ export interface ZooProductSubscriptions_type {
|
|
|
2565
2609
|
}
|
|
2566
2610
|
export interface ZooProductSubscriptionsOrgRequest_type {
|
|
2567
2611
|
modeling_app: ModelingAppOrganizationSubscriptionTier_type;
|
|
2612
|
+
pay_annually?: boolean;
|
|
2568
2613
|
}
|
|
2569
2614
|
export interface ZooProductSubscriptionsUserRequest_type {
|
|
2570
2615
|
modeling_app: ModelingAppIndividualSubscriptionTier_type;
|
|
2616
|
+
pay_annually?: boolean;
|
|
2571
2617
|
}
|
|
2572
2618
|
export declare type ZooTool_type = 'modeling_app' | 'text_to_cad' | 'diff_chrome_extension';
|
|
2573
2619
|
export interface ZoomToFit_type {
|
|
@@ -2622,6 +2668,8 @@ export interface Models {
|
|
|
2622
2668
|
Connection_type: Connection_type;
|
|
2623
2669
|
CountryCode_type: CountryCode_type;
|
|
2624
2670
|
Coupon_type: Coupon_type;
|
|
2671
|
+
CreateShortlinkRequest_type: CreateShortlinkRequest_type;
|
|
2672
|
+
CreateShortlinkResponse_type: CreateShortlinkResponse_type;
|
|
2625
2673
|
CreatedAtSortMode_type: CreatedAtSortMode_type;
|
|
2626
2674
|
Currency_type: Currency_type;
|
|
2627
2675
|
CurveGetControlPoints_type: CurveGetControlPoints_type;
|
|
@@ -2744,6 +2792,7 @@ export interface Models {
|
|
|
2744
2792
|
ModelingAppEventType_type: ModelingAppEventType_type;
|
|
2745
2793
|
ModelingAppIndividualSubscriptionTier_type: ModelingAppIndividualSubscriptionTier_type;
|
|
2746
2794
|
ModelingAppOrganizationSubscriptionTier_type: ModelingAppOrganizationSubscriptionTier_type;
|
|
2795
|
+
ModelingAppShareLinks_type: ModelingAppShareLinks_type;
|
|
2747
2796
|
ModelingAppSubscriptionTier_type: ModelingAppSubscriptionTier_type;
|
|
2748
2797
|
ModelingAppSubscriptionTierName_type: ModelingAppSubscriptionTierName_type;
|
|
2749
2798
|
ModelingCmd_type: ModelingCmd_type;
|
|
@@ -2830,11 +2879,14 @@ export interface Models {
|
|
|
2830
2879
|
SetSelectionFilter_type: SetSelectionFilter_type;
|
|
2831
2880
|
SetSelectionType_type: SetSelectionType_type;
|
|
2832
2881
|
SetTool_type: SetTool_type;
|
|
2882
|
+
Shortlink_type: Shortlink_type;
|
|
2883
|
+
ShortlinkResultsPage_type: ShortlinkResultsPage_type;
|
|
2833
2884
|
SketchModeDisable_type: SketchModeDisable_type;
|
|
2834
2885
|
Solid2dAddHole_type: Solid2dAddHole_type;
|
|
2835
2886
|
Solid3dFilletEdge_type: Solid3dFilletEdge_type;
|
|
2836
2887
|
Solid3dGetAllEdgeFaces_type: Solid3dGetAllEdgeFaces_type;
|
|
2837
2888
|
Solid3dGetAllOppositeEdges_type: Solid3dGetAllOppositeEdges_type;
|
|
2889
|
+
Solid3dGetCommonEdge_type: Solid3dGetCommonEdge_type;
|
|
2838
2890
|
Solid3dGetExtrusionFaceInfo_type: Solid3dGetExtrusionFaceInfo_type;
|
|
2839
2891
|
Solid3dGetNextAdjacentEdge_type: Solid3dGetNextAdjacentEdge_type;
|
|
2840
2892
|
Solid3dGetOppositeEdge_type: Solid3dGetOppositeEdge_type;
|
|
@@ -2893,8 +2945,10 @@ export interface Models {
|
|
|
2893
2945
|
UpdateAnnotation_type: UpdateAnnotation_type;
|
|
2894
2946
|
UpdateMemberToOrgBody_type: UpdateMemberToOrgBody_type;
|
|
2895
2947
|
UpdatePaymentBalance_type: UpdatePaymentBalance_type;
|
|
2948
|
+
UpdateShortlinkRequest_type: UpdateShortlinkRequest_type;
|
|
2896
2949
|
UpdateUser_type: UpdateUser_type;
|
|
2897
2950
|
User_type: User_type;
|
|
2951
|
+
UserIdentifier_type: UserIdentifier_type;
|
|
2898
2952
|
UserOrgInfo_type: UserOrgInfo_type;
|
|
2899
2953
|
UserOrgRole_type: UserOrgRole_type;
|
|
2900
2954
|
UserResultsPage_type: UserResultsPage_type;
|