@kittycad/lib 4.4.10 → 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 (45) hide show
  1. package/dist/cjs/index.cjs +1 -1
  2. package/dist/mjs/index.js +1 -1
  3. package/dist/types/src/api/factory/list_org_factory_jobs.d.ts +30 -0
  4. package/dist/types/src/api/factory/list_org_factory_jobs.d.ts.map +1 -0
  5. package/dist/types/src/api/factory/list_user_factory_jobs.d.ts +30 -0
  6. package/dist/types/src/api/factory/list_user_factory_jobs.d.ts.map +1 -0
  7. package/dist/types/src/index.d.ts +9 -43
  8. package/dist/types/src/index.d.ts.map +1 -1
  9. package/dist/types/src/models.d.ts +91 -479
  10. package/dist/types/src/models.d.ts.map +1 -1
  11. package/package.json +2 -2
  12. package/dist/types/src/api/apps/apps_github_callback.d.ts +0 -21
  13. package/dist/types/src/api/apps/apps_github_callback.d.ts.map +0 -1
  14. package/dist/types/src/api/apps/apps_github_consent.d.ts +0 -24
  15. package/dist/types/src/api/apps/apps_github_consent.d.ts.map +0 -1
  16. package/dist/types/src/api/apps/apps_github_webhook.d.ts +0 -21
  17. package/dist/types/src/api/apps/apps_github_webhook.d.ts.map +0 -1
  18. package/dist/types/src/api/meta/internal_get_api_token_for_discord_user.d.ts +0 -26
  19. package/dist/types/src/api/meta/internal_get_api_token_for_discord_user.d.ts.map +0 -1
  20. package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_org.d.ts +0 -32
  21. package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_org.d.ts.map +0 -1
  22. package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_user.d.ts +0 -32
  23. package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_user.d.ts.map +0 -1
  24. package/dist/types/src/api/orgs/get_billing_contract_for_any_org.d.ts +0 -24
  25. package/dist/types/src/api/orgs/get_billing_contract_for_any_org.d.ts.map +0 -1
  26. package/dist/types/src/api/orgs/upsert_billing_contract_for_any_org.d.ts +0 -26
  27. package/dist/types/src/api/orgs/upsert_billing_contract_for_any_org.d.ts.map +0 -1
  28. package/dist/types/src/api/payments/get_payment_balance_for_any_org.d.ts +0 -26
  29. package/dist/types/src/api/payments/get_payment_balance_for_any_org.d.ts.map +0 -1
  30. package/dist/types/src/api/payments/get_payment_balance_for_any_user.d.ts +0 -26
  31. package/dist/types/src/api/payments/get_payment_balance_for_any_user.d.ts.map +0 -1
  32. package/dist/types/src/api/payments/update_org_subscription_for_any_org.d.ts +0 -26
  33. package/dist/types/src/api/payments/update_org_subscription_for_any_org.d.ts.map +0 -1
  34. package/dist/types/src/api/payments/update_payment_balance_for_any_org.d.ts +0 -28
  35. package/dist/types/src/api/payments/update_payment_balance_for_any_org.d.ts.map +0 -1
  36. package/dist/types/src/api/payments/update_payment_balance_for_any_user.d.ts +0 -28
  37. package/dist/types/src/api/payments/update_payment_balance_for_any_user.d.ts.map +0 -1
  38. package/dist/types/src/api/payments/upsert_subscription_plan_price.d.ts +0 -26
  39. package/dist/types/src/api/payments/upsert_subscription_plan_price.d.ts.map +0 -1
  40. package/dist/types/src/api/store/create_store_coupon.d.ts +0 -24
  41. package/dist/types/src/api/store/create_store_coupon.d.ts.map +0 -1
  42. package/dist/types/src/api/users/update_subscription_for_user.d.ts +0 -26
  43. package/dist/types/src/api/users/update_subscription_for_user.d.ts.map +0 -1
  44. package/dist/types/src/api/users/user_admin_details_get.d.ts +0 -24
  45. 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
  } | {
@@ -2863,6 +2562,29 @@ export interface FactoryCustomerCatalogOption {
2863
2562
  /** Exact catalog name to submit in the corresponding intake field. */
2864
2563
  name: string;
2865
2564
  }
2565
+ export interface FactoryCustomerJobSummary {
2566
+ /** title:DateTime, format:date-time, description:When the job was created. */
2567
+ created_at: string;
2568
+ /** nullable:true, description:The job's current version, when one exists. */
2569
+ current_version_id?: Uuid;
2570
+ /** Stable customer-facing job identifier. */
2571
+ id: Uuid;
2572
+ /** Current manufacturing workflow status. */
2573
+ status: string;
2574
+ /** title:DateTime, format:date-time, description:When the job was last updated. */
2575
+ updated_at: string;
2576
+ }
2577
+ export interface FactoryCustomerJobSummaryResultsPage {
2578
+ /** list of items on this page of results */
2579
+ items: FactoryCustomerJobSummary[];
2580
+ /**
2581
+ * {
2582
+ * "nullable": true,
2583
+ * "description": "token used to fetch the next page of results (if any)"
2584
+ * }
2585
+ */
2586
+ next_page?: string;
2587
+ }
2866
2588
  export interface FactoryJobResponse {
2867
2589
  /** nullable:true, description:The current (first) version id of the job. */
2868
2590
  current_version_id?: Uuid;
@@ -2886,7 +2608,7 @@ export interface FailureWebSocketResponse {
2886
2608
  success: boolean;
2887
2609
  }
2888
2610
  export type FbxStorage = 'ascii' | 'binary';
2889
- 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';
2890
2612
  export interface FileCenterOfMass {
2891
2613
  /**
2892
2614
  * {
@@ -3842,6 +3564,16 @@ export type MirrorAcross = {
3842
3564
  };
3843
3565
  };
3844
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';
3845
3577
  export type MlCopilotClientMessage = {
3846
3578
  type: 'ping';
3847
3579
  } | {
@@ -3984,6 +3716,43 @@ export type MlCopilotClientMessage = {
3984
3716
  /** nullable:true, format:int32, description:Specific client message sequence, when requested. */
3985
3717
  seq?: number;
3986
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';
3987
3756
  };
3988
3757
  export interface MlCopilotFile {
3989
3758
  /** nullable:true, description:Reference for fetching this attachment on demand. */
@@ -4125,6 +3894,22 @@ export type MlCopilotServerMessage = {
4125
3894
  /** How the submitted snapshot affected canonical state. */
4126
3895
  status: MlCopilotProjectSnapshotStatus;
4127
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
+ };
4128
3913
  } | {
4129
3914
  /**
4130
3915
  * {
@@ -8645,16 +8430,6 @@ export interface Pong {
8645
8430
  export type PostEffectType =
8646
8431
  /** Post effect type */
8647
8432
  'phosphor' | 'ssao' | 'noeffect';
8648
- export interface PriceUpsertRequest {
8649
- /** default:true, description:Whether the price should be active. */
8650
- active?: boolean;
8651
- /** Billing model (flat or per-user). */
8652
- billing_model: SubscriptionPlanBillingModel;
8653
- /** Cadence for billing (day, week, month, year). */
8654
- cadence: PlanInterval;
8655
- /** format:double, description:Amount in USD. */
8656
- unit_amount: number;
8657
- }
8658
8433
  export interface PrimitiveTopologyFallback {
8659
8434
  /**
8660
8435
  * {
@@ -9486,39 +9261,8 @@ export type StepImportTargetRepresentation = 'mesh' | 'brep';
9486
9261
  export type StepPresentation = 'compact' | 'pretty';
9487
9262
  export type StlStorage = 'ascii' | 'binary';
9488
9263
  export type StorageProvider = 's3' | 'zoo_managed';
9489
- export interface StoreCouponParams {
9490
- /** format:uint32, minimum:0, description:The percentage off. */
9491
- percent_off: number;
9492
- }
9493
9264
  export type SubscriptionActionType = 'payment_intent' | 'setup_intent';
9494
9265
  export type SubscriptionBillingMode = 'standard' | 'contract';
9495
- export type SubscriptionPlanBillingModel = 'flat' | 'per_user';
9496
- export interface SubscriptionPlanPriceRecord {
9497
- /** Whether this price is currently active. */
9498
- active: boolean;
9499
- /** Billing model persisted in the database (`flat`, `per_user`, or `enterprise`). */
9500
- billing_model: SubscriptionPlanBillingModel;
9501
- /** Billing cadence string (for example `month` or `year`). */
9502
- cadence: PlanInterval;
9503
- /** title:DateTime, format:date-time, description:Timestamp when the price row was created. */
9504
- created_at: string;
9505
- /** Unique identifier for the plan price entry. */
9506
- id: Uuid;
9507
- /** nullable:true, description:Stripe price identifier, when synchronized. */
9508
- stripe_price_id?: string;
9509
- /** Foreign key referencing the parent plan. */
9510
- subscription_plan_id: Uuid;
9511
- /**
9512
- * {
9513
- * "nullable": true,
9514
- * "pattern": "^-?[0-9]+(\\.[0-9]+)?$",
9515
- * "description": "Optional monetary amount associated with the price row."
9516
- * }
9517
- */
9518
- unit_amount?: string;
9519
- /** title:DateTime, format:date-time, description:Timestamp when the price row was last updated. */
9520
- updated_at: string;
9521
- }
9522
9266
  export interface SubscriptionTierFeature {
9523
9267
  /** minLength:1, maxLength:80, description:Information about the feature. */
9524
9268
  info: string;
@@ -10535,26 +10279,6 @@ export interface UpdateOrgDatasetSource {
10535
10279
  */
10536
10280
  uri?: string;
10537
10281
  }
10538
- export interface UpdatePaymentBalance {
10539
- /**
10540
- * {
10541
- * "nullable": true,
10542
- * "title": "double",
10543
- * "format": "money-usd",
10544
- * "description": "The monetary value of the monthy API credits remaining in the balance. This gets re-upped every month,"
10545
- * }
10546
- */
10547
- monthly_api_credits_remaining_monetary_value?: number;
10548
- /**
10549
- * {
10550
- * "nullable": true,
10551
- * "title": "double",
10552
- * "format": "money-usd",
10553
- * "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."
10554
- * }
10555
- */
10556
- stable_api_credits_remaining_monetary_value?: number;
10557
- }
10558
10282
  export interface UpdateShortlinkRequest {
10559
10283
  /**
10560
10284
  * {
@@ -10612,91 +10336,6 @@ export interface UploadOrgDatasetFilesResponse {
10612
10336
  /** format:uint, minimum:0, description:Number of files accepted and stored. */
10613
10337
  uploaded_files: number;
10614
10338
  }
10615
- export interface UserAdminDetails {
10616
- /** format:int64, description:Count of valid API tokens. */
10617
- active_api_tokens_count: number;
10618
- /**
10619
- * {
10620
- * "format": "int64",
10621
- * "description": "Count of active (non-expired) device access tokens."
10622
- * }
10623
- */
10624
- active_device_tokens_count: number;
10625
- /** format:int64, description:Count of active (non-expired) sessions. */
10626
- active_sessions_count: number;
10627
- /** nullable:true, description:Latest billing address stored for the user. */
10628
- address?: Address;
10629
- /** nullable:true, description:Readable billing address summary. */
10630
- address_summary?: string;
10631
- /** nullable:true, description:Block reason when the user is blocked. */
10632
- block?: BlockReason;
10633
- /** nullable:true, description:Human-friendly block reason message. */
10634
- block_message?: string;
10635
- /**
10636
- * {
10637
- * "nullable": true,
10638
- * "description": "CAD user info collected from website onboarding/CRM form."
10639
- * }
10640
- */
10641
- cad_user_info?: UserCadInfoAdminDetails;
10642
- /** Whether this user is permanently exempt from blocking. */
10643
- never_block: boolean;
10644
- /** Known payment methods on file. */
10645
- payment_methods: PaymentMethod[];
10646
- payment_methods_summary: string[];
10647
- /** nullable:true, description:Stripe customer identifier if one exists. */
10648
- stripe_customer_id?: string;
10649
- /** nullable:true, description:Direct link to the Stripe customer dashboard. */
10650
- stripe_dashboard_url?: string;
10651
- }
10652
- export interface UserCadInfoAdminDetails {
10653
- /** nullable:true, description:CAD/API experience level. */
10654
- cad_experience_level?: CadExperienceLevel;
10655
- /** nullable:true, description:CAD industry selection. */
10656
- cad_industry?: CadIndustry;
10657
- /** nullable:true, description:CAD user persona/type. */
10658
- cad_user_type?: CadUserType;
10659
- /** nullable:true, description:Company size selection. */
10660
- company_size?: CompanySize;
10661
- /** nullable:true, description:Preferred design workflow. */
10662
- design_workflow?: CadDesignWorkflow;
10663
- /**
10664
- * {
10665
- * "nullable": true,
10666
- * "description": "Whether the user has used Zoo Design Studio or the API before."
10667
- * }
10668
- */
10669
- has_used_zoo_design_studio_or_api_before?: boolean;
10670
- /** nullable:true, description:Acquisition source selection. */
10671
- how_did_you_find_us?: CadDiscoverySource;
10672
- /**
10673
- * {
10674
- * "nullable": true,
10675
- * "description": "Free-text acquisition source when `other` was selected."
10676
- * }
10677
- */
10678
- how_did_you_find_us_other?: string;
10679
- /** nullable:true, description:Free-text city for the user's location. */
10680
- location_city?: string;
10681
- /** nullable:true, description:Free-text country for the user's location. */
10682
- location_country?: string;
10683
- /**
10684
- * {
10685
- * "nullable": true,
10686
- * "description": "Free-text state or region for the user's location."
10687
- * }
10688
- */
10689
- location_state?: string;
10690
- /** nullable:true, description:Number of CAD users. */
10691
- number_of_cad_users?: string;
10692
- /**
10693
- * {
10694
- * "nullable": true,
10695
- * "description": "Free-text description of what the user wants to build."
10696
- * }
10697
- */
10698
- what_are_you_building?: string;
10699
- }
10700
10339
  export interface UserFeatureEntry {
10701
10340
  /** Stable identifier for the feature flag (snake_case). */
10702
10341
  id: Feature;
@@ -11460,7 +11099,6 @@ export interface Models {
11460
11099
  AccountProvider: AccountProvider;
11461
11100
  AddHoleFromOffset: AddHoleFromOffset;
11462
11101
  AddOrgMember: AddOrgMember;
11463
- Address: Address;
11464
11102
  AddressDetails: AddressDetails;
11465
11103
  AdjacencyInfo: AdjacencyInfo;
11466
11104
  AggregateUsageCollectionThresholdBounds: AggregateUsageCollectionThresholdBounds;
@@ -11491,7 +11129,6 @@ export interface Models {
11491
11129
  ApiTokenResultsPage: ApiTokenResultsPage;
11492
11130
  ApiTokenUuid: ApiTokenUuid;
11493
11131
  ApiTokenWithFullToken: ApiTokenWithFullToken;
11494
- AppClientInfo: AppClientInfo;
11495
11132
  AsyncApiCallOutput: AsyncApiCallOutput;
11496
11133
  AttachmentRef: AttachmentRef;
11497
11134
  AuthApiKeyResponse: AuthApiKeyResponse;
@@ -11500,28 +11137,7 @@ export interface Models {
11500
11137
  AxisDirectionPair: AxisDirectionPair;
11501
11138
  BatchResponse: BatchResponse;
11502
11139
  BeginExecution: BeginExecution;
11503
- BillingCadence: BillingCadence;
11504
- BillingCommitmentScope: BillingCommitmentScope;
11505
- BillingContractItemInput: BillingContractItemInput;
11506
- BillingContractItemView: BillingContractItemView;
11507
- BillingContractStatus: BillingContractStatus;
11508
- BillingContractUpsert: BillingContractUpsert;
11509
- BillingContractView: BillingContractView;
11510
- BillingExternalCustomerId: BillingExternalCustomerId;
11511
11140
  BillingInfo: BillingInfo;
11512
- BillingItemCode: BillingItemCode;
11513
- BillingItemKind: BillingItemKind;
11514
- BillingPeriodIndex: BillingPeriodIndex;
11515
- BillingPeriodInput: BillingPeriodInput;
11516
- BillingPeriodStatus: BillingPeriodStatus;
11517
- BillingPeriodView: BillingPeriodView;
11518
- BillingProvider: BillingProvider;
11519
- BillingQuantity: BillingQuantity;
11520
- BillingRateTierInput: BillingRateTierInput;
11521
- BillingRateTierView: BillingRateTierView;
11522
- BillingRolloverPolicy: BillingRolloverPolicy;
11523
- BillingUnit: BillingUnit;
11524
- BillingUnitGranularity: BillingUnitGranularity;
11525
11141
  BlendType: BlendType;
11526
11142
  BlockReason: BlockReason;
11527
11143
  BodiesCreated: BodiesCreated;
@@ -11610,7 +11226,6 @@ export interface Models {
11610
11226
  Direction: Direction;
11611
11227
  DirectionType: DirectionType;
11612
11228
  Discount: Discount;
11613
- DiscountCode: DiscountCode;
11614
11229
  DistanceType: DistanceType;
11615
11230
  DxfStorage: DxfStorage;
11616
11231
  EdgeCutVersion: EdgeCutVersion;
@@ -11669,6 +11284,8 @@ export interface Models {
11669
11284
  FaceGetPosition: FaceGetPosition;
11670
11285
  FaceIsPlanar: FaceIsPlanar;
11671
11286
  FactoryCustomerCatalogOption: FactoryCustomerCatalogOption;
11287
+ FactoryCustomerJobSummary: FactoryCustomerJobSummary;
11288
+ FactoryCustomerJobSummaryResultsPage: FactoryCustomerJobSummaryResultsPage;
11672
11289
  FactoryJobResponse: FactoryJobResponse;
11673
11290
  FailureWebSocketResponse: FailureWebSocketResponse;
11674
11291
  FbxStorage: FbxStorage;
@@ -11725,6 +11342,8 @@ export interface Models {
11725
11342
  Method: Method;
11726
11343
  MirrorAcross: MirrorAcross;
11727
11344
  MlCopilotAccessDeniedCode: MlCopilotAccessDeniedCode;
11345
+ MlCopilotClientCommand: MlCopilotClientCommand;
11346
+ MlCopilotClientCommandStatus: MlCopilotClientCommandStatus;
11728
11347
  MlCopilotClientMessage: MlCopilotClientMessage;
11729
11348
  MlCopilotFile: MlCopilotFile;
11730
11349
  MlCopilotModeOption: MlCopilotModeOption;
@@ -11824,7 +11443,6 @@ export interface Models {
11824
11443
  Point4d: Point4d;
11825
11444
  Pong: Pong;
11826
11445
  PostEffectType: PostEffectType;
11827
- PriceUpsertRequest: PriceUpsertRequest;
11828
11446
  PrimitiveTopologyFallback: PrimitiveTopologyFallback;
11829
11447
  PrivacySettings: PrivacySettings;
11830
11448
  ProjectAccessResponse: ProjectAccessResponse;
@@ -11927,11 +11545,8 @@ export interface Models {
11927
11545
  StepPresentation: StepPresentation;
11928
11546
  StlStorage: StlStorage;
11929
11547
  StorageProvider: StorageProvider;
11930
- StoreCouponParams: StoreCouponParams;
11931
11548
  SubscriptionActionType: SubscriptionActionType;
11932
11549
  SubscriptionBillingMode: SubscriptionBillingMode;
11933
- SubscriptionPlanBillingModel: SubscriptionPlanBillingModel;
11934
- SubscriptionPlanPriceRecord: SubscriptionPlanPriceRecord;
11935
11550
  SubscriptionTierFeature: SubscriptionTierFeature;
11936
11551
  SubscriptionTierPrice: SubscriptionTierPrice;
11937
11552
  SubscriptionTierType: SubscriptionTierType;
@@ -11988,12 +11603,9 @@ export interface Models {
11988
11603
  UpdateOAuth2AppRequest: UpdateOAuth2AppRequest;
11989
11604
  UpdateOrgDataset: UpdateOrgDataset;
11990
11605
  UpdateOrgDatasetSource: UpdateOrgDatasetSource;
11991
- UpdatePaymentBalance: UpdatePaymentBalance;
11992
11606
  UpdateShortlinkRequest: UpdateShortlinkRequest;
11993
11607
  UpdateUser: UpdateUser;
11994
11608
  UploadOrgDatasetFilesResponse: UploadOrgDatasetFilesResponse;
11995
- UserAdminDetails: UserAdminDetails;
11996
- UserCadInfoAdminDetails: UserCadInfoAdminDetails;
11997
11609
  UserFeatureEntry: UserFeatureEntry;
11998
11610
  UserFeatureList: UserFeatureList;
11999
11611
  UserIdentifier: UserIdentifier;