240
240
from kittycad .models .api_token_uuid import ApiTokenUuid
241
241
from kittycad .models .axis import Axis
242
242
from kittycad .models .axis_direction_pair import AxisDirectionPair
243
+ from kittycad .models .base64data import Base64Data
243
244
from kittycad .models .billing_info import BillingInfo
244
245
from kittycad .models .client_metrics import ClientMetrics
245
246
from kittycad .models .code_language import CodeLanguage
252
253
from kittycad .models .email_authentication_form import EmailAuthenticationForm
253
254
from kittycad .models .enterprise_subscription_tier_price import (
254
255
EnterpriseSubscriptionTierPrice ,
255
- OptionPerUser ,
256
+ OptionFlat ,
256
257
)
257
258
from kittycad .models .event import Event , OptionModelingAppEvent
258
259
from kittycad .models .file_export_format import FileExportFormat
259
260
from kittycad .models .file_import_format import FileImportFormat
260
- from kittycad .models .gltf_presentation import GltfPresentation
261
- from kittycad .models .gltf_storage import GltfStorage
262
- from kittycad .models .idp_metadata_source import IdpMetadataSource , OptionUrl
263
- from kittycad .models .input_format3d import InputFormat3d , OptionStl
261
+ from kittycad .models .idp_metadata_source import (
262
+ IdpMetadataSource ,
263
+ OptionBase64EncodedXml ,
264
+ OptionUrl ,
265
+ )
266
+ from kittycad .models .input_format3d import InputFormat3d , OptionSldprt
264
267
from kittycad .models .inquiry_form import InquiryForm
265
268
from kittycad .models .inquiry_type import InquiryType
266
269
from kittycad .models .kcl_code_completion_params import KclCodeCompletionParams
274
277
ModelingAppOrganizationSubscriptionTier ,
275
278
)
276
279
from kittycad .models .org_details import OrgDetails
277
- from kittycad .models .output_format3d import OptionGltf , OutputFormat3d
280
+ from kittycad .models .output_format3d import OptionStl , OutputFormat3d
278
281
from kittycad .models .plan_interval import PlanInterval
279
282
from kittycad .models .post_effect_type import PostEffectType
280
283
from kittycad .models .privacy_settings import PrivacySettings
281
284
from kittycad .models .saml_identity_provider_create import SamlIdentityProviderCreate
285
+ from kittycad .models .selection import OptionMeshByIndex , Selection
282
286
from kittycad .models .service_account_uuid import ServiceAccountUuid
283
287
from kittycad .models .session_uuid import SessionUuid
284
288
from kittycad .models .source_position import SourcePosition
285
289
from kittycad .models .source_range import SourceRange
286
290
from kittycad .models .source_range_prompt import SourceRangePrompt
291
+ from kittycad .models .stl_storage import StlStorage
287
292
from kittycad .models .store_coupon_params import StoreCouponParams
288
293
from kittycad .models .subscribe import Subscribe
289
294
from kittycad .models .system import System
@@ -1386,12 +1391,6 @@ def test_create_file_conversion_options():
1386
1391
client = client ,
1387
1392
body = ConversionParams (
1388
1393
output_format = OutputFormat3d (
1389
- OptionGltf (
1390
- presentation = GltfPresentation .COMPACT ,
1391
- storage = GltfStorage .BINARY ,
1392
- )
1393
- ),
1394
- src_format = InputFormat3d (
1395
1394
OptionStl (
1396
1395
coords = System (
1397
1396
forward = AxisDirectionPair (
@@ -1403,9 +1402,20 @@ def test_create_file_conversion_options():
1403
1402
direction = Direction .POSITIVE ,
1404
1403
),
1405
1404
),
1405
+ selection = Selection (
1406
+ OptionMeshByIndex (
1407
+ index = 10 ,
1408
+ )
1409
+ ),
1410
+ storage = StlStorage .ASCII ,
1406
1411
units = UnitLength .CM ,
1407
1412
)
1408
1413
),
1414
+ src_format = InputFormat3d (
1415
+ OptionSldprt (
1416
+ split_closed_faces = False ,
1417
+ )
1418
+ ),
1409
1419
),
1410
1420
)
1411
1421
)
@@ -1423,12 +1433,6 @@ def test_create_file_conversion_options():
1423
1433
client = client ,
1424
1434
body = ConversionParams (
1425
1435
output_format = OutputFormat3d (
1426
- OptionGltf (
1427
- presentation = GltfPresentation .COMPACT ,
1428
- storage = GltfStorage .BINARY ,
1429
- )
1430
- ),
1431
- src_format = InputFormat3d (
1432
1436
OptionStl (
1433
1437
coords = System (
1434
1438
forward = AxisDirectionPair (
@@ -1440,9 +1444,20 @@ def test_create_file_conversion_options():
1440
1444
direction = Direction .POSITIVE ,
1441
1445
),
1442
1446
),
1447
+ selection = Selection (
1448
+ OptionMeshByIndex (
1449
+ index = 10 ,
1450
+ )
1451
+ ),
1452
+ storage = StlStorage .ASCII ,
1443
1453
units = UnitLength .CM ,
1444
1454
)
1445
1455
),
1456
+ src_format = InputFormat3d (
1457
+ OptionSldprt (
1458
+ split_closed_faces = False ,
1459
+ )
1460
+ ),
1446
1461
),
1447
1462
)
1448
1463
)
@@ -1461,12 +1476,6 @@ async def test_create_file_conversion_options_async():
1461
1476
client = client ,
1462
1477
body = ConversionParams (
1463
1478
output_format = OutputFormat3d (
1464
- OptionGltf (
1465
- presentation = GltfPresentation .COMPACT ,
1466
- storage = GltfStorage .BINARY ,
1467
- )
1468
- ),
1469
- src_format = InputFormat3d (
1470
1479
OptionStl (
1471
1480
coords = System (
1472
1481
forward = AxisDirectionPair (
@@ -1478,9 +1487,20 @@ async def test_create_file_conversion_options_async():
1478
1487
direction = Direction .POSITIVE ,
1479
1488
),
1480
1489
),
1490
+ selection = Selection (
1491
+ OptionMeshByIndex (
1492
+ index = 10 ,
1493
+ )
1494
+ ),
1495
+ storage = StlStorage .ASCII ,
1481
1496
units = UnitLength .CM ,
1482
1497
)
1483
1498
),
1499
+ src_format = InputFormat3d (
1500
+ OptionSldprt (
1501
+ split_closed_faces = False ,
1502
+ )
1503
+ ),
1484
1504
),
1485
1505
)
1486
1506
@@ -1491,12 +1511,6 @@ async def test_create_file_conversion_options_async():
1491
1511
client = client ,
1492
1512
body = ConversionParams (
1493
1513
output_format = OutputFormat3d (
1494
- OptionGltf (
1495
- presentation = GltfPresentation .COMPACT ,
1496
- storage = GltfStorage .BINARY ,
1497
- )
1498
- ),
1499
- src_format = InputFormat3d (
1500
1514
OptionStl (
1501
1515
coords = System (
1502
1516
forward = AxisDirectionPair (
@@ -1508,9 +1522,20 @@ async def test_create_file_conversion_options_async():
1508
1522
direction = Direction .POSITIVE ,
1509
1523
),
1510
1524
),
1525
+ selection = Selection (
1526
+ OptionMeshByIndex (
1527
+ index = 10 ,
1528
+ )
1529
+ ),
1530
+ storage = StlStorage .ASCII ,
1511
1531
units = UnitLength .CM ,
1512
1532
)
1513
1533
),
1534
+ src_format = InputFormat3d (
1535
+ OptionSldprt (
1536
+ split_closed_faces = False ,
1537
+ )
1538
+ ),
1514
1539
),
1515
1540
)
1516
1541
@@ -3798,8 +3823,8 @@ def test_update_org_saml_idp():
3798
3823
body = SamlIdentityProviderCreate (
3799
3824
idp_entity_id = "<string>" ,
3800
3825
idp_metadata_source = IdpMetadataSource (
3801
- OptionUrl (
3802
- url = "<string>" ,
3826
+ OptionBase64EncodedXml (
3827
+ data = Base64Data ( b"<bytes>" ) ,
3803
3828
)
3804
3829
),
3805
3830
technical_contact_email = "<string>" ,
@@ -3820,8 +3845,8 @@ def test_update_org_saml_idp():
3820
3845
body = SamlIdentityProviderCreate (
3821
3846
idp_entity_id = "<string>" ,
3822
3847
idp_metadata_source = IdpMetadataSource (
3823
- OptionUrl (
3824
- url = "<string>" ,
3848
+ OptionBase64EncodedXml (
3849
+ data = Base64Data ( b"<bytes>" ) ,
3825
3850
)
3826
3851
),
3827
3852
technical_contact_email = "<string>" ,
@@ -3844,8 +3869,8 @@ async def test_update_org_saml_idp_async():
3844
3869
body = SamlIdentityProviderCreate (
3845
3870
idp_entity_id = "<string>" ,
3846
3871
idp_metadata_source = IdpMetadataSource (
3847
- OptionUrl (
3848
- url = "<string>" ,
3872
+ OptionBase64EncodedXml (
3873
+ data = Base64Data ( b"<bytes>" ) ,
3849
3874
)
3850
3875
),
3851
3876
technical_contact_email = "<string>" ,
@@ -3860,8 +3885,8 @@ async def test_update_org_saml_idp_async():
3860
3885
body = SamlIdentityProviderCreate (
3861
3886
idp_entity_id = "<string>" ,
3862
3887
idp_metadata_source = IdpMetadataSource (
3863
- OptionUrl (
3864
- url = "<string>" ,
3888
+ OptionBase64EncodedXml (
3889
+ data = Base64Data ( b"<bytes>" ) ,
3865
3890
)
3866
3891
),
3867
3892
technical_contact_email = "<string>" ,
@@ -4360,7 +4385,7 @@ def test_update_enterprise_pricing_for_org():
4360
4385
client = client ,
4361
4386
id = Uuid ("<string>" ),
4362
4387
body = EnterpriseSubscriptionTierPrice (
4363
- OptionPerUser (
4388
+ OptionFlat (
4364
4389
interval = PlanInterval .DAY ,
4365
4390
price = 3.14 ,
4366
4391
)
@@ -4381,7 +4406,7 @@ def test_update_enterprise_pricing_for_org():
4381
4406
client = client ,
4382
4407
id = Uuid ("<string>" ),
4383
4408
body = EnterpriseSubscriptionTierPrice (
4384
- OptionPerUser (
4409
+ OptionFlat (
4385
4410
interval = PlanInterval .DAY ,
4386
4411
price = 3.14 ,
4387
4412
)
@@ -4403,7 +4428,7 @@ async def test_update_enterprise_pricing_for_org_async():
4403
4428
client = client ,
4404
4429
id = Uuid ("<string>" ),
4405
4430
body = EnterpriseSubscriptionTierPrice (
4406
- OptionPerUser (
4431
+ OptionFlat (
4407
4432
interval = PlanInterval .DAY ,
4408
4433
price = 3.14 ,
4409
4434
)
@@ -4417,7 +4442,7 @@ async def test_update_enterprise_pricing_for_org_async():
4417
4442
client = client ,
4418
4443
id = Uuid ("<string>" ),
4419
4444
body = EnterpriseSubscriptionTierPrice (
4420
- OptionPerUser (
4445
+ OptionFlat (
4421
4446
interval = PlanInterval .DAY ,
4422
4447
price = 3.14 ,
4423
4448
)
0 commit comments