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.
@@ -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.4.0
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "viewrium"
3
- version = "2.4.0"
3
+ version = "2.5.0"
4
4
  description = "Official Python client for the Viewrium API: AR and 3D product visualization for furniture retailers."
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -126,7 +126,7 @@ from ._models import (
126
126
  WidthAxis,
127
127
  )
128
128
 
129
- __version__ = "2.4.0"
129
+ __version__ = "2.5.0"
130
130
 
131
131
  __all__ = [
132
132
  "__version__",
@@ -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:
@@ -2,4 +2,4 @@ import viewrium
2
2
 
3
3
 
4
4
  def test_import() -> None:
5
- assert viewrium.__version__ == "2.4.0"
5
+ assert viewrium.__version__ == "2.5.0"
@@ -448,7 +448,7 @@ wheels = [
448
448
 
449
449
  [[package]]
450
450
  name = "viewrium"
451
- version = "2.4.0"
451
+ version = "2.5.0"
452
452
  source = { editable = "." }
453
453
  dependencies = [
454
454
  { name = "httpx" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes