@kittycad/lib 4.4.11 → 4.4.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 (41) hide show
  1. package/dist/cjs/index.cjs +1 -1
  2. package/dist/mjs/index.js +1 -1
  3. package/dist/types/src/index.d.ts +1 -43
  4. package/dist/types/src/index.d.ts.map +1 -1
  5. package/dist/types/src/models.d.ts +66 -479
  6. package/dist/types/src/models.d.ts.map +1 -1
  7. package/package.json +1 -1
  8. package/dist/types/src/api/apps/apps_github_callback.d.ts +0 -21
  9. package/dist/types/src/api/apps/apps_github_callback.d.ts.map +0 -1
  10. package/dist/types/src/api/apps/apps_github_consent.d.ts +0 -24
  11. package/dist/types/src/api/apps/apps_github_consent.d.ts.map +0 -1
  12. package/dist/types/src/api/apps/apps_github_webhook.d.ts +0 -21
  13. package/dist/types/src/api/apps/apps_github_webhook.d.ts.map +0 -1
  14. package/dist/types/src/api/meta/internal_get_api_token_for_discord_user.d.ts +0 -26
  15. package/dist/types/src/api/meta/internal_get_api_token_for_discord_user.d.ts.map +0 -1
  16. package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_org.d.ts +0 -32
  17. package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_org.d.ts.map +0 -1
  18. package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_user.d.ts +0 -32
  19. package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_user.d.ts.map +0 -1
  20. package/dist/types/src/api/orgs/get_billing_contract_for_any_org.d.ts +0 -24
  21. package/dist/types/src/api/orgs/get_billing_contract_for_any_org.d.ts.map +0 -1
  22. package/dist/types/src/api/orgs/upsert_billing_contract_for_any_org.d.ts +0 -26
  23. package/dist/types/src/api/orgs/upsert_billing_contract_for_any_org.d.ts.map +0 -1
  24. package/dist/types/src/api/payments/get_payment_balance_for_any_org.d.ts +0 -26
  25. package/dist/types/src/api/payments/get_payment_balance_for_any_org.d.ts.map +0 -1
  26. package/dist/types/src/api/payments/get_payment_balance_for_any_user.d.ts +0 -26
  27. package/dist/types/src/api/payments/get_payment_balance_for_any_user.d.ts.map +0 -1
  28. package/dist/types/src/api/payments/update_org_subscription_for_any_org.d.ts +0 -26
  29. package/dist/types/src/api/payments/update_org_subscription_for_any_org.d.ts.map +0 -1
  30. package/dist/types/src/api/payments/update_payment_balance_for_any_org.d.ts +0 -28
  31. package/dist/types/src/api/payments/update_payment_balance_for_any_org.d.ts.map +0 -1
  32. package/dist/types/src/api/payments/update_payment_balance_for_any_user.d.ts +0 -28
  33. package/dist/types/src/api/payments/update_payment_balance_for_any_user.d.ts.map +0 -1
  34. package/dist/types/src/api/payments/upsert_subscription_plan_price.d.ts +0 -26
  35. package/dist/types/src/api/payments/upsert_subscription_plan_price.d.ts.map +0 -1
  36. package/dist/types/src/api/store/create_store_coupon.d.ts +0 -24
  37. package/dist/types/src/api/store/create_store_coupon.d.ts.map +0 -1
  38. package/dist/types/src/api/users/update_subscription_for_user.d.ts +0 -26
  39. package/dist/types/src/api/users/update_subscription_for_user.d.ts.map +0 -1
  40. package/dist/types/src/api/users/user_admin_details_get.d.ts +0 -24
  41. package/dist/types/src/api/users/user_admin_details_get.d.ts.map +0 -1
@@ -13,28 +13,6 @@ export interface AddOrgMember {
13
13
  /** The organization role to give the user. */
14
14
  role: UserOrgRole;
15
15
  }
16
- export interface Address {
17
- /** The city component. */
18
- city?: string;
19
- /** The country component. This is a two-letter ISO country code. */
20
- country: CountryCode;
21
- /** title:DateTime, format:date-time, description:The time and date the address was created. */
22
- created_at: string;
23
- /** The unique identifier of the address. */
24
- id: Uuid;
25
- /** The state component. */
26
- state?: string;
27
- /** The first street component. */
28
- street1?: string;
29
- /** The second street component. */
30
- street2?: string;
31
- /** title:DateTime, format:date-time, description:The time and date the address was last updated. */
32
- updated_at: string;
33
- /** The user ID that this address belongs to. */
34
- user_id: Uuid;
35
- /** The zip component. */
36
- zip?: string;
37
- }
38
16
  export interface AddressDetails {
39
17
  /** The city component. */
40
18
  city?: string;
@@ -652,10 +630,6 @@ export interface ApiTokenWithFullToken {
652
630
  /** The ID of the user that owns the API token. */
653
631
  user_id: Uuid;
654
632
  }
655
- export interface AppClientInfo {
656
- /** The URL for consent. */
657
- url?: string;
658
- }
659
633
  export type AsyncApiCallOutput = {
660
634
  /**
661
635
  * {
@@ -1157,162 +1131,6 @@ export type BatchResponse = {
1157
1131
  };
1158
1132
  export interface BeginExecution {
1159
1133
  }
1160
- export type BillingCadence = 'annual' | 'quarterly' | 'monthly' | 'manual';
1161
- export type BillingCommitmentScope = 'pooled' | 'per_item';
1162
- export interface BillingContractItemInput {
1163
- /**
1164
- * {
1165
- * "default": true,
1166
- * "description": "Whether the item should participate in billing decisions immediately."
1167
- * }
1168
- */
1169
- active?: boolean;
1170
- /**
1171
- * {
1172
- * "nullable": true,
1173
- * "description": "Optional normalization rule used before rating usage."
1174
- * }
1175
- */
1176
- billing_unit_granularity?: BillingUnitGranularity;
1177
- /** Canonical item code so later metering can find the right price row. */
1178
- code: BillingItemCode;
1179
- /** Human-readable name shown in finance tooling. */
1180
- display_name: string;
1181
- /**
1182
- * {
1183
- * "nullable": true,
1184
- * "title": "double",
1185
- * "format": "money-usd",
1186
- * "description": "Fixed fee charged for the item when the kind is `fixed_fee`."
1187
- * }
1188
- */
1189
- fixed_fee_amount?: number;
1190
- /**
1191
- * {
1192
- * "default": false,
1193
- * "description": "Whether usage from this item may burn down contract commitment."
1194
- * }
1195
- */
1196
- is_commitment_eligible?: boolean;
1197
- /** Pricing model for this item. */
1198
- kind: BillingItemKind;
1199
- /** default:[], description:Pricing tiers for usage-rated items. */
1200
- rate_tiers?: BillingRateTierInput[];
1201
- /** Base measurement unit for pricing and usage. */
1202
- unit: BillingUnit;
1203
- }
1204
- export interface BillingContractItemView {
1205
- /** Whether the item is active. */
1206
- active: boolean;
1207
- /** nullable:true, description:Optional normalization rule for usage. */
1208
- billing_unit_granularity?: BillingUnitGranularity;
1209
- /** Canonical item code. */
1210
- code: BillingItemCode;
1211
- /** Human-readable item name. */
1212
- display_name: string;
1213
- /**
1214
- * {
1215
- * "nullable": true,
1216
- * "title": "double",
1217
- * "format": "money-usd",
1218
- * "description": "Fixed fee charged for the item when applicable."
1219
- * }
1220
- */
1221
- fixed_fee_amount?: number;
1222
- /** Database identifier for the contract item row. */
1223
- id: Uuid;
1224
- /** Whether this item can consume commitment. */
1225
- is_commitment_eligible: boolean;
1226
- /** Pricing model for the item. */
1227
- kind: BillingItemKind;
1228
- /** Usage tiers for the item. */
1229
- rate_tiers: BillingRateTierView[];
1230
- /** Measurement unit for the item. */
1231
- unit: BillingUnit;
1232
- }
1233
- export type BillingContractStatus = 'draft' | 'scheduled' | 'active' | 'closed' | 'canceled';
1234
- export interface BillingContractUpsert {
1235
- /** Operational cadence used for finance workflows. */
1236
- billing_cadence: BillingCadence;
1237
- /** Whether commitment is shared or item-scoped. */
1238
- commitment_scope: BillingCommitmentScope;
1239
- /** Contract currency shared by every money field in this definition. */
1240
- currency: Currency;
1241
- /**
1242
- * {
1243
- * "nullable": true,
1244
- * "description": "Free-form finance note for discounts or negotiated pricing."
1245
- * }
1246
- */
1247
- discount_description?: string;
1248
- /** title:DateTime, format:date-time, description:Timestamp when the contract starts to apply. */
1249
- effective_at: string;
1250
- /**
1251
- * {
1252
- * "nullable": true,
1253
- * "description": "Provider-owned customer reference, when one already exists."
1254
- * }
1255
- */
1256
- external_customer_id?: BillingExternalCustomerId;
1257
- /** Billable items attached to the contract. */
1258
- items: BillingContractItemInput[];
1259
- /** Human-readable contract label. */
1260
- name: string;
1261
- /** nullable:true, description:Internal notes about the contract. */
1262
- notes?: string;
1263
- /** Period schedule for the contract term. */
1264
- periods: BillingPeriodInput[];
1265
- /** Downstream provider responsible for collecting the invoice. */
1266
- provider: BillingProvider;
1267
- /** What should happen to unused commitment when a period ends. */
1268
- rollover_policy: BillingRolloverPolicy;
1269
- /** Lifecycle state for the new contract. */
1270
- status: BillingContractStatus;
1271
- /** title:DateTime, format:date-time, description:Timestamp when the contract term ends. */
1272
- term_end_at: string;
1273
- }
1274
- export interface BillingContractView {
1275
- /** Billing account identifier that owns the contract. */
1276
- account_id: Uuid;
1277
- /** Operational cadence for finance workflows. */
1278
- billing_cadence: BillingCadence;
1279
- /** Whether commitment is shared or item-scoped. */
1280
- commitment_scope: BillingCommitmentScope;
1281
- /** Billing contract identifier. */
1282
- contract_id: Uuid;
1283
- /** Currency shared by every money field in the contract. */
1284
- currency: Currency;
1285
- /** nullable:true, description:Discount note associated with the contract. */
1286
- discount_description?: string;
1287
- /** title:DateTime, format:date-time, description:Timestamp when the contract started applying. */
1288
- effective_at: string;
1289
- /**
1290
- * {
1291
- * "nullable": true,
1292
- * "description": "Provider-owned customer reference, when one exists."
1293
- * }
1294
- */
1295
- external_customer_id?: BillingExternalCustomerId;
1296
- /** Billable items attached to the contract. */
1297
- items: BillingContractItemView[];
1298
- /** Human-readable contract label. */
1299
- name: string;
1300
- /** nullable:true, description:Internal notes for the contract. */
1301
- notes?: string;
1302
- /** Period schedule for the contract. */
1303
- periods: BillingPeriodView[];
1304
- /** Downstream invoice provider. */
1305
- provider: BillingProvider;
1306
- /** What happens to unused commitment when a period ends. */
1307
- rollover_policy: BillingRolloverPolicy;
1308
- /** Lifecycle state for the contract. */
1309
- status: BillingContractStatus;
1310
- /** title:DateTime, format:date-time, description:Timestamp when the contract term ends. */
1311
- term_end_at: string;
1312
- }
1313
- export type BillingExternalCustomerId =
1314
- /** Provider-owned customer reference for downstream invoicing systems. */
1315
- string;
1316
1134
  export interface BillingInfo {
1317
1135
  /** nullable:true, description:The address of the customer. */
1318
1136
  address?: AddressDetails;
@@ -1328,117 +1146,6 @@ export interface BillingInfo {
1328
1146
  */
1329
1147
  phone?: string;
1330
1148
  }
1331
- export type BillingItemCode = 'enterprise_support' | 'fde' | 'govcloud_management' | 'file_ingestion_conversion' | 'licensed_api_credits';
1332
- export type BillingItemKind = 'fixed_fee' | 'usage_tiered' | 'usage_commitment_bucket';
1333
- export type BillingPeriodIndex =
1334
- /**
1335
- * {
1336
- * "format": "int32",
1337
- * "description": "Non-negative index of a billing period inside a contract."
1338
- * }
1339
- */
1340
- number;
1341
- export interface BillingPeriodInput {
1342
- /** title:double, format:money-usd, description:New commitment funded for this period. */
1343
- commitment_amount: number;
1344
- /** title:DateTime, format:date-time, description:Exclusive period end timestamp. */
1345
- period_end_at: string;
1346
- /** Sequence index for the period inside the contract. */
1347
- period_index: BillingPeriodIndex;
1348
- /** title:DateTime, format:date-time, description:Inclusive period start timestamp. */
1349
- period_start_at: string;
1350
- /**
1351
- * {
1352
- * "nullable": true,
1353
- * "title": "double",
1354
- * "format": "money-usd",
1355
- * "description": "Commitment carried in from an earlier period."
1356
- * }
1357
- */
1358
- rollover_in_amount?: number;
1359
- /**
1360
- * {
1361
- * "nullable": true,
1362
- * "title": "double",
1363
- * "format": "money-usd",
1364
- * "description": "Commitment intentionally rolled out to a later period."
1365
- * }
1366
- */
1367
- rollover_out_amount?: number;
1368
- /** nullable:true, description:Operational status for the period. */
1369
- status?: BillingPeriodStatus;
1370
- }
1371
- export type BillingPeriodStatus = 'open' | 'closed';
1372
- export interface BillingPeriodView {
1373
- /** title:double, format:money-usd, description:New commitment funded for this period. */
1374
- commitment_amount: number;
1375
- /** Database identifier for the period row. */
1376
- id: Uuid;
1377
- /** title:DateTime, format:date-time, description:Exclusive period end timestamp. */
1378
- period_end_at: string;
1379
- /** Sequence index for the period inside the contract. */
1380
- period_index: BillingPeriodIndex;
1381
- /** title:DateTime, format:date-time, description:Inclusive period start timestamp. */
1382
- period_start_at: string;
1383
- /** title:double, format:money-usd, description:Commitment carried in from a previous period. */
1384
- rollover_in_amount: number;
1385
- /**
1386
- * {
1387
- * "title": "double",
1388
- * "format": "money-usd",
1389
- * "description": "Commitment intentionally rolled out to a later period."
1390
- * }
1391
- */
1392
- rollover_out_amount: number;
1393
- /** Operational status for the period. */
1394
- status: BillingPeriodStatus;
1395
- }
1396
- export type BillingProvider = 'stripe' | 'manual_invoice';
1397
- export type BillingQuantity =
1398
- /**
1399
- * {
1400
- * "format": "int64",
1401
- * "description": "Non-negative quantity used for tier boundaries and later usage counts."
1402
- * }
1403
- */
1404
- number;
1405
- export interface BillingRateTierInput {
1406
- /**
1407
- * {
1408
- * "nullable": true,
1409
- * "description": "Exclusive upper bound for the tier, or `None` when the tier is open-ended."
1410
- * }
1411
- */
1412
- tier_end_exclusive?: BillingQuantity;
1413
- /** First billable quantity in this tier. */
1414
- tier_start_inclusive: BillingQuantity;
1415
- /**
1416
- * {
1417
- * "title": "double",
1418
- * "format": "money-usd",
1419
- * "description": "Price to charge for each unit that lands in this tier."
1420
- * }
1421
- */
1422
- unit_price: number;
1423
- }
1424
- export interface BillingRateTierView {
1425
- /** Database identifier for the tier row. */
1426
- id: Uuid;
1427
- /**
1428
- * {
1429
- * "nullable": true,
1430
- * "description": "Exclusive upper bound for the tier, or `None` when the tier is open-ended."
1431
- * }
1432
- */
1433
- tier_end_exclusive?: BillingQuantity;
1434
- /** First billable quantity in this tier. */
1435
- tier_start_inclusive: BillingQuantity;
1436
- /** title:double, format:money-usd, description:Price charged for each unit in the tier. */
1437
- unit_price: number;
1438
- }
1439
- export type BillingRolloverPolicy = 'none' | 'year1_to_year2_once';
1440
- export type BillingUnit = 'file' | 'minute' | 'second' | 'year' | 'period';
1441
- export type BillingUnitGranularity = 'minute' | 'second';
1442
1149
  export type BlendType = 'tangent';
1443
1150
  export type BlockReason = 'missing_payment_method' | 'payment_method_failed' | 'billing_threshold_reached' | 'pay_as_you_go_disabled' | 'upgrade_downgrade_abuse' | 'admin';
1444
1151
  export interface BodiesCreated {
@@ -2305,14 +2012,6 @@ export interface Discount {
2305
2012
  /** The coupon that applied to create this discount. */
2306
2013
  coupon: Coupon;
2307
2014
  }
2308
- export interface DiscountCode {
2309
- /** The code for the discount. */
2310
- code: string;
2311
- /** nullable:true, format:date-time, description:The date the discount code expires. */
2312
- expires_at?: string;
2313
- /** format:uint32, minimum:0, description:The percent off for the discount. */
2314
- percent_off: number;
2315
- }
2316
2015
  export type DistanceType = {
2317
2016
  type: 'euclidean';
2318
2017
  } | {
@@ -2909,7 +2608,7 @@ export interface FailureWebSocketResponse {
2909
2608
  success: boolean;
2910
2609
  }
2911
2610
  export type FbxStorage = 'ascii' | 'binary';
2912
- 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' | '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' | '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' | 'unsafe_allow_api_key_auth' | 'unsafe_allow_localhost_shortlinks' | 'zoo_corp_auth';
2611
+ 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' | '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';
2913
2612
  export interface FileCenterOfMass {
2914
2613
  /**
2915
2614
  * {
@@ -3865,6 +3564,16 @@ export type MirrorAcross = {
3865
3564
  };
3866
3565
  };
3867
3566
  export type MlCopilotAccessDeniedCode = 'missing_payment_method' | 'payment_method_failed' | 'billing_threshold_reached' | 'pay_as_you_go_disabled' | 'upgrade_downgrade_abuse' | 'admin';
3567
+ export interface MlCopilotClientCommand {
3568
+ /** Description used when Zookeeper searches the client catalog. */
3569
+ description: string;
3570
+ /** Stable identifier used to invoke the command, for example `modeling.export`. */
3571
+ id: string;
3572
+ input_schema: string;
3573
+ /** Short human-readable command name. */
3574
+ title: string;
3575
+ }
3576
+ export type MlCopilotClientCommandStatus = 'accepted' | 'succeeded' | 'rejected' | 'failed' | 'cancelled';
3868
3577
  export type MlCopilotClientMessage = {
3869
3578
  type: 'ping';
3870
3579
  } | {
@@ -4007,6 +3716,43 @@ export type MlCopilotClientMessage = {
4007
3716
  /** nullable:true, format:int32, description:Specific client message sequence, when requested. */
4008
3717
  seq?: number;
4009
3718
  type: 'attachment_response';
3719
+ } | {
3720
+ /** Complete set of commands available at this revision. */
3721
+ commands: MlCopilotClientCommand[];
3722
+ /**
3723
+ * {
3724
+ * "format": "uint16",
3725
+ * "minimum": 0,
3726
+ * "description": "Version of the client-command wire protocol understood by the client."
3727
+ * }
3728
+ */
3729
+ protocol_version: number;
3730
+ /**
3731
+ * {
3732
+ * "format": "uint64",
3733
+ * "minimum": 0,
3734
+ * "description": "Monotonically increasing catalog revision for this connection."
3735
+ * }
3736
+ */
3737
+ revision: number;
3738
+ type: 'update_client_command_schema';
3739
+ } | {
3740
+ /**
3741
+ * {
3742
+ * "format": "uint64",
3743
+ * "minimum": 0,
3744
+ * "description": "Catalog revision against which the request was validated."
3745
+ * }
3746
+ */
3747
+ catalog_revision: number;
3748
+ /** nullable:true, description:Optional error or rejection detail. */
3749
+ error?: string;
3750
+ /** Correlation identifier supplied in `ClientCommandRequest`. */
3751
+ request_id: string;
3752
+ result: unknown;
3753
+ /** Current execution state. */
3754
+ status: MlCopilotClientCommandStatus;
3755
+ type: 'client_command_response';
4010
3756
  };
4011
3757
  export interface MlCopilotFile {
4012
3758
  /** nullable:true, description:Reference for fetching this attachment on demand. */
@@ -4148,6 +3894,22 @@ export type MlCopilotServerMessage = {
4148
3894
  /** How the submitted snapshot affected canonical state. */
4149
3895
  status: MlCopilotProjectSnapshotStatus;
4150
3896
  };
3897
+ } | {
3898
+ client_command_request: {
3899
+ arguments: string;
3900
+ /**
3901
+ * {
3902
+ * "format": "uint64",
3903
+ * "minimum": 0,
3904
+ * "description": "Catalog revision used when Zookeeper selected the command."
3905
+ * }
3906
+ */
3907
+ catalog_revision: number;
3908
+ /** Identifier from the advertised client command catalog. */
3909
+ command_id: string;
3910
+ /** Unique request identifier used to correlate client responses. */
3911
+ request_id: string;
3912
+ };
4151
3913
  } | {
4152
3914
  /**
4153
3915
  * {
@@ -8668,16 +8430,6 @@ export interface Pong {
8668
8430
  export type PostEffectType =
8669
8431
  /** Post effect type */
8670
8432
  'phosphor' | 'ssao' | 'noeffect';
8671
- export interface PriceUpsertRequest {
8672
- /** default:true, description:Whether the price should be active. */
8673
- active?: boolean;
8674
- /** Billing model (flat or per-user). */
8675
- billing_model: SubscriptionPlanBillingModel;
8676
- /** Cadence for billing (day, week, month, year). */
8677
- cadence: PlanInterval;
8678
- /** format:double, description:Amount in USD. */
8679
- unit_amount: number;
8680
- }
8681
8433
  export interface PrimitiveTopologyFallback {
8682
8434
  /**
8683
8435
  * {
@@ -9509,39 +9261,8 @@ export type StepImportTargetRepresentation = 'mesh' | 'brep';
9509
9261
  export type StepPresentation = 'compact' | 'pretty';
9510
9262
  export type StlStorage = 'ascii' | 'binary';
9511
9263
  export type StorageProvider = 's3' | 'zoo_managed';
9512
- export interface StoreCouponParams {
9513
- /** format:uint32, minimum:0, description:The percentage off. */
9514
- percent_off: number;
9515
- }
9516
9264
  export type SubscriptionActionType = 'payment_intent' | 'setup_intent';
9517
9265
  export type SubscriptionBillingMode = 'standard' | 'contract';
9518
- export type SubscriptionPlanBillingModel = 'flat' | 'per_user';
9519
- export interface SubscriptionPlanPriceRecord {
9520
- /** Whether this price is currently active. */
9521
- active: boolean;
9522
- /** Billing model persisted in the database (`flat`, `per_user`, or `enterprise`). */
9523
- billing_model: SubscriptionPlanBillingModel;
9524
- /** Billing cadence string (for example `month` or `year`). */
9525
- cadence: PlanInterval;
9526
- /** title:DateTime, format:date-time, description:Timestamp when the price row was created. */
9527
- created_at: string;
9528
- /** Unique identifier for the plan price entry. */
9529
- id: Uuid;
9530
- /** nullable:true, description:Stripe price identifier, when synchronized. */
9531
- stripe_price_id?: string;
9532
- /** Foreign key referencing the parent plan. */
9533
- subscription_plan_id: Uuid;
9534
- /**
9535
- * {
9536
- * "nullable": true,
9537
- * "pattern": "^-?[0-9]+(\\.[0-9]+)?$",
9538
- * "description": "Optional monetary amount associated with the price row."
9539
- * }
9540
- */
9541
- unit_amount?: string;
9542
- /** title:DateTime, format:date-time, description:Timestamp when the price row was last updated. */
9543
- updated_at: string;
9544
- }
9545
9266
  export interface SubscriptionTierFeature {
9546
9267
  /** minLength:1, maxLength:80, description:Information about the feature. */
9547
9268
  info: string;
@@ -10558,26 +10279,6 @@ export interface UpdateOrgDatasetSource {
10558
10279
  */
10559
10280
  uri?: string;
10560
10281
  }
10561
- export interface UpdatePaymentBalance {
10562
- /**
10563
- * {
10564
- * "nullable": true,
10565
- * "title": "double",
10566
- * "format": "money-usd",
10567
- * "description": "The monetary value of the monthy API credits remaining in the balance. This gets re-upped every month,"
10568
- * }
10569
- */
10570
- monthly_api_credits_remaining_monetary_value?: number;
10571
- /**
10572
- * {
10573
- * "nullable": true,
10574
- * "title": "double",
10575
- * "format": "money-usd",
10576
- * "description": "The monetary value of stable API credits remaining in the balance. These do not get reset or re-upped every month. This is separate from the monthly credits. Credits will first pull from the monthly credits, then the stable credits. Stable just means that they do not get reset every month. A user will have stable credits if a Zoo employee granted them credits."
10577
- * }
10578
- */
10579
- stable_api_credits_remaining_monetary_value?: number;
10580
- }
10581
10282
  export interface UpdateShortlinkRequest {
10582
10283
  /**
10583
10284
  * {
@@ -10635,91 +10336,6 @@ export interface UploadOrgDatasetFilesResponse {
10635
10336
  /** format:uint, minimum:0, description:Number of files accepted and stored. */
10636
10337
  uploaded_files: number;
10637
10338
  }
10638
- export interface UserAdminDetails {
10639
- /** format:int64, description:Count of valid API tokens. */
10640
- active_api_tokens_count: number;
10641
- /**
10642
- * {
10643
- * "format": "int64",
10644
- * "description": "Count of active (non-expired) device access tokens."
10645
- * }
10646
- */
10647
- active_device_tokens_count: number;
10648
- /** format:int64, description:Count of active (non-expired) sessions. */
10649
- active_sessions_count: number;
10650
- /** nullable:true, description:Latest billing address stored for the user. */
10651
- address?: Address;
10652
- /** nullable:true, description:Readable billing address summary. */
10653
- address_summary?: string;
10654
- /** nullable:true, description:Block reason when the user is blocked. */
10655
- block?: BlockReason;
10656
- /** nullable:true, description:Human-friendly block reason message. */
10657
- block_message?: string;
10658
- /**
10659
- * {
10660
- * "nullable": true,
10661
- * "description": "CAD user info collected from website onboarding/CRM form."
10662
- * }
10663
- */
10664
- cad_user_info?: UserCadInfoAdminDetails;
10665
- /** Whether this user is permanently exempt from blocking. */
10666
- never_block: boolean;
10667
- /** Known payment methods on file. */
10668
- payment_methods: PaymentMethod[];
10669
- payment_methods_summary: string[];
10670
- /** nullable:true, description:Stripe customer identifier if one exists. */
10671
- stripe_customer_id?: string;
10672
- /** nullable:true, description:Direct link to the Stripe customer dashboard. */
10673
- stripe_dashboard_url?: string;
10674
- }
10675
- export interface UserCadInfoAdminDetails {
10676
- /** nullable:true, description:CAD/API experience level. */
10677
- cad_experience_level?: CadExperienceLevel;
10678
- /** nullable:true, description:CAD industry selection. */
10679
- cad_industry?: CadIndustry;
10680
- /** nullable:true, description:CAD user persona/type. */
10681
- cad_user_type?: CadUserType;
10682
- /** nullable:true, description:Company size selection. */
10683
- company_size?: CompanySize;
10684
- /** nullable:true, description:Preferred design workflow. */
10685
- design_workflow?: CadDesignWorkflow;
10686
- /**
10687
- * {
10688
- * "nullable": true,
10689
- * "description": "Whether the user has used Zoo Design Studio or the API before."
10690
- * }
10691
- */
10692
- has_used_zoo_design_studio_or_api_before?: boolean;
10693
- /** nullable:true, description:Acquisition source selection. */
10694
- how_did_you_find_us?: CadDiscoverySource;
10695
- /**
10696
- * {
10697
- * "nullable": true,
10698
- * "description": "Free-text acquisition source when `other` was selected."
10699
- * }
10700
- */
10701
- how_did_you_find_us_other?: string;
10702
- /** nullable:true, description:Free-text city for the user's location. */
10703
- location_city?: string;
10704
- /** nullable:true, description:Free-text country for the user's location. */
10705
- location_country?: string;
10706
- /**
10707
- * {
10708
- * "nullable": true,
10709
- * "description": "Free-text state or region for the user's location."
10710
- * }
10711
- */
10712
- location_state?: string;
10713
- /** nullable:true, description:Number of CAD users. */
10714
- number_of_cad_users?: string;
10715
- /**
10716
- * {
10717
- * "nullable": true,
10718
- * "description": "Free-text description of what the user wants to build."
10719
- * }
10720
- */
10721
- what_are_you_building?: string;
10722
- }
10723
10339
  export interface UserFeatureEntry {
10724
10340
  /** Stable identifier for the feature flag (snake_case). */
10725
10341
  id: Feature;
@@ -11483,7 +11099,6 @@ export interface Models {
11483
11099
  AccountProvider: AccountProvider;
11484
11100
  AddHoleFromOffset: AddHoleFromOffset;
11485
11101
  AddOrgMember: AddOrgMember;
11486
- Address: Address;
11487
11102
  AddressDetails: AddressDetails;
11488
11103
  AdjacencyInfo: AdjacencyInfo;
11489
11104
  AggregateUsageCollectionThresholdBounds: AggregateUsageCollectionThresholdBounds;
@@ -11514,7 +11129,6 @@ export interface Models {
11514
11129
  ApiTokenResultsPage: ApiTokenResultsPage;
11515
11130
  ApiTokenUuid: ApiTokenUuid;
11516
11131
  ApiTokenWithFullToken: ApiTokenWithFullToken;
11517
- AppClientInfo: AppClientInfo;
11518
11132
  AsyncApiCallOutput: AsyncApiCallOutput;
11519
11133
  AttachmentRef: AttachmentRef;
11520
11134
  AuthApiKeyResponse: AuthApiKeyResponse;
@@ -11523,28 +11137,7 @@ export interface Models {
11523
11137
  AxisDirectionPair: AxisDirectionPair;
11524
11138
  BatchResponse: BatchResponse;
11525
11139
  BeginExecution: BeginExecution;
11526
- BillingCadence: BillingCadence;
11527
- BillingCommitmentScope: BillingCommitmentScope;
11528
- BillingContractItemInput: BillingContractItemInput;
11529
- BillingContractItemView: BillingContractItemView;
11530
- BillingContractStatus: BillingContractStatus;
11531
- BillingContractUpsert: BillingContractUpsert;
11532
- BillingContractView: BillingContractView;
11533
- BillingExternalCustomerId: BillingExternalCustomerId;
11534
11140
  BillingInfo: BillingInfo;
11535
- BillingItemCode: BillingItemCode;
11536
- BillingItemKind: BillingItemKind;
11537
- BillingPeriodIndex: BillingPeriodIndex;
11538
- BillingPeriodInput: BillingPeriodInput;
11539
- BillingPeriodStatus: BillingPeriodStatus;
11540
- BillingPeriodView: BillingPeriodView;
11541
- BillingProvider: BillingProvider;
11542
- BillingQuantity: BillingQuantity;
11543
- BillingRateTierInput: BillingRateTierInput;
11544
- BillingRateTierView: BillingRateTierView;
11545
- BillingRolloverPolicy: BillingRolloverPolicy;
11546
- BillingUnit: BillingUnit;
11547
- BillingUnitGranularity: BillingUnitGranularity;
11548
11141
  BlendType: BlendType;
11549
11142
  BlockReason: BlockReason;
11550
11143
  BodiesCreated: BodiesCreated;
@@ -11633,7 +11226,6 @@ export interface Models {
11633
11226
  Direction: Direction;
11634
11227
  DirectionType: DirectionType;
11635
11228
  Discount: Discount;
11636
- DiscountCode: DiscountCode;
11637
11229
  DistanceType: DistanceType;
11638
11230
  DxfStorage: DxfStorage;
11639
11231
  EdgeCutVersion: EdgeCutVersion;
@@ -11750,6 +11342,8 @@ export interface Models {
11750
11342
  Method: Method;
11751
11343
  MirrorAcross: MirrorAcross;
11752
11344
  MlCopilotAccessDeniedCode: MlCopilotAccessDeniedCode;
11345
+ MlCopilotClientCommand: MlCopilotClientCommand;
11346
+ MlCopilotClientCommandStatus: MlCopilotClientCommandStatus;
11753
11347
  MlCopilotClientMessage: MlCopilotClientMessage;
11754
11348
  MlCopilotFile: MlCopilotFile;
11755
11349
  MlCopilotModeOption: MlCopilotModeOption;
@@ -11849,7 +11443,6 @@ export interface Models {
11849
11443
  Point4d: Point4d;
11850
11444
  Pong: Pong;
11851
11445
  PostEffectType: PostEffectType;
11852
- PriceUpsertRequest: PriceUpsertRequest;
11853
11446
  PrimitiveTopologyFallback: PrimitiveTopologyFallback;
11854
11447
  PrivacySettings: PrivacySettings;
11855
11448
  ProjectAccessResponse: ProjectAccessResponse;
@@ -11952,11 +11545,8 @@ export interface Models {
11952
11545
  StepPresentation: StepPresentation;
11953
11546
  StlStorage: StlStorage;
11954
11547
  StorageProvider: StorageProvider;
11955
- StoreCouponParams: StoreCouponParams;
11956
11548
  SubscriptionActionType: SubscriptionActionType;
11957
11549
  SubscriptionBillingMode: SubscriptionBillingMode;
11958
- SubscriptionPlanBillingModel: SubscriptionPlanBillingModel;
11959
- SubscriptionPlanPriceRecord: SubscriptionPlanPriceRecord;
11960
11550
  SubscriptionTierFeature: SubscriptionTierFeature;
11961
11551
  SubscriptionTierPrice: SubscriptionTierPrice;
11962
11552
  SubscriptionTierType: SubscriptionTierType;
@@ -12013,12 +11603,9 @@ export interface Models {
12013
11603
  UpdateOAuth2AppRequest: UpdateOAuth2AppRequest;
12014
11604
  UpdateOrgDataset: UpdateOrgDataset;
12015
11605
  UpdateOrgDatasetSource: UpdateOrgDatasetSource;
12016
- UpdatePaymentBalance: UpdatePaymentBalance;
12017
11606
  UpdateShortlinkRequest: UpdateShortlinkRequest;
12018
11607
  UpdateUser: UpdateUser;
12019
11608
  UploadOrgDatasetFilesResponse: UploadOrgDatasetFilesResponse;
12020
- UserAdminDetails: UserAdminDetails;
12021
- UserCadInfoAdminDetails: UserCadInfoAdminDetails;
12022
11609
  UserFeatureEntry: UserFeatureEntry;
12023
11610
  UserFeatureList: UserFeatureList;
12024
11611
  UserIdentifier: UserIdentifier;