viewrium 2.4.0__tar.gz → 2.5.0__tar.gz
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.
- {viewrium-2.4.0 → viewrium-2.5.0}/.gitignore +3 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/PKG-INFO +1 -1
- {viewrium-2.4.0 → viewrium-2.5.0}/pyproject.toml +1 -1
- {viewrium-2.4.0 → viewrium-2.5.0}/src/viewrium/__init__.py +1 -1
- {viewrium-2.4.0 → viewrium-2.5.0}/src/viewrium/_models.py +8 -2
- {viewrium-2.4.0 → viewrium-2.5.0}/tests/test_client.py +1 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/tests/test_import.py +1 -1
- {viewrium-2.4.0 → viewrium-2.5.0}/uv.lock +1 -1
- {viewrium-2.4.0 → viewrium-2.5.0}/.python-version +0 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/LICENSE +0 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/README.md +0 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/package.json +0 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/src/viewrium/_client.py +0 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/src/viewrium/_errors.py +0 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/src/viewrium/py.typed +0 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/tests/test_schema_drift.py +0 -0
- {viewrium-2.4.0 → viewrium-2.5.0}/turbo.json +0 -0
|
@@ -56,3 +56,6 @@ next-env.d.ts
|
|
|
56
56
|
# Agent worktrees (Claude Code); never tracked, never committed - the directories are
|
|
57
57
|
# throwaway checkouts and their node_modules.
|
|
58
58
|
.claude/worktrees/
|
|
59
|
+
|
|
60
|
+
# Listing videos (large binaries; uploaded to YouTube, never committed)
|
|
61
|
+
notes/marketing/shopify-listing/*.mp4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: viewrium
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
4
4
|
Summary: Official Python client for the Viewrium API: AR and 3D product visualization for furniture retailers.
|
|
5
5
|
Project-URL: Homepage, https://www.viewrium.com
|
|
6
6
|
Project-URL: Documentation, https://www.viewrium.com/docs/sdks/python
|
|
@@ -298,7 +298,8 @@ class ProductOverrides(_Base):
|
|
|
298
298
|
``force_model`` is what an API caller passes to take a model the gate refused - a
|
|
299
299
|
transparent product, a geometry or texture risk, or two or more invented viewpoints
|
|
300
300
|
(``ModelPlan.unseen_views``). The dashboard always forces and shows the risks instead,
|
|
301
|
-
so the refusal binds API and SDK callers only.
|
|
301
|
+
so the refusal binds API and SDK callers only. It never overrides ``missing_3d_view``: with
|
|
302
|
+
no photograph to build from, nothing can be generated and the quote cannot be committed.
|
|
302
303
|
"""
|
|
303
304
|
|
|
304
305
|
generate_unseen: bool | None = None
|
|
@@ -593,7 +594,9 @@ class ModelPlan(_Base):
|
|
|
593
594
|
``blocked_by`` vocabulary: ``missing_3d_view``, ``transparent``, ``geometry_risk``,
|
|
594
595
|
``texture_risk``, ``unseen_views``. A refusal binds API and SDK callers, who pass
|
|
595
596
|
``ProductOverrides(force_model=True)`` or turn the org's *always generate models* on; the
|
|
596
|
-
dashboard always forces and treats Generate as the approval.
|
|
597
|
+
dashboard always forces and treats Generate as the approval. ``missing_3d_view`` (no
|
|
598
|
+
photograph to build from) is the exception: nothing overrides it, and it refuses the images
|
|
599
|
+
too.
|
|
597
600
|
"""
|
|
598
601
|
|
|
599
602
|
ordered: bool
|
|
@@ -875,6 +878,9 @@ class PublicProduct(_Base):
|
|
|
875
878
|
#: How the embed shows it; the element's ``desktop`` / ``mobile`` attributes override these.
|
|
876
879
|
viewer_desktop: ViewerDesktopMode = ViewerDesktopMode.VIEWER
|
|
877
880
|
viewer_mobile: ViewerMobileMode = ViewerMobileMode.VIEWER
|
|
881
|
+
#: Whether the viewer shows the disclaimer that the model might differ from the product (the
|
|
882
|
+
#: organization's setting; on by default).
|
|
883
|
+
viewer_disclaimer: bool = True
|
|
878
884
|
|
|
879
885
|
|
|
880
886
|
class Ticket(_Base):
|
|
@@ -276,6 +276,7 @@ def test_the_public_projection_carries_a_paintings_settings() -> None:
|
|
|
276
276
|
# Absent from an older API's response: the default the embed always had.
|
|
277
277
|
assert product.viewer_desktop is ViewerDesktopMode.VIEWER
|
|
278
278
|
assert product.viewer_mobile is ViewerMobileMode.VIEWER
|
|
279
|
+
assert product.viewer_disclaimer is True
|
|
279
280
|
|
|
280
281
|
|
|
281
282
|
def test_update_sends_the_embed_display_modes_and_reads_them_back() -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|