unitysvc-core 0.2.1__tar.gz → 0.2.2__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.
Files changed (40) hide show
  1. {unitysvc_core-0.2.1/src/unitysvc_core.egg-info → unitysvc_core-0.2.2}/PKG-INFO +1 -1
  2. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/pyproject.toml +1 -1
  3. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/service.py +13 -0
  4. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2/src/unitysvc_core.egg-info}/PKG-INFO +1 -1
  5. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/LICENSE +0 -0
  6. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/README.md +0 -0
  7. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/setup.cfg +0 -0
  8. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/__init__.py +0 -0
  9. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/__init__.py +0 -0
  10. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/base.py +0 -0
  11. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/documents.py +0 -0
  12. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/listing_data.py +0 -0
  13. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/listing_v1.py +0 -0
  14. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/offering_data.py +0 -0
  15. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/offering_v1.py +0 -0
  16. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/pricing.py +0 -0
  17. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/promotion_data.py +0 -0
  18. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/provider_data.py +0 -0
  19. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/provider_v1.py +0 -0
  20. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/service_group_data.py +0 -0
  21. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/validators.py +0 -0
  22. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/py.typed +0 -0
  23. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/base.json +0 -0
  24. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/listing_v1.json +0 -0
  25. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/offering_v1.json +0 -0
  26. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/promotion_v1.json +0 -0
  27. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/provider_v1.json +0 -0
  28. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/service_group_v1.json +0 -0
  29. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/utils.py +0 -0
  30. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/validator.py +0 -0
  31. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core.egg-info/SOURCES.txt +0 -0
  32. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core.egg-info/dependency_links.txt +0 -0
  33. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core.egg-info/requires.txt +0 -0
  34. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core.egg-info/top_level.txt +0 -0
  35. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_pricing.py +0 -0
  36. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_service_data.py +0 -0
  37. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_service_group.py +0 -0
  38. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_utils.py +0 -0
  39. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_validator.py +0 -0
  40. {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_validators.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-core
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Shared data models and validation helpers for UnitySVC packages
5
5
  Author-email: Bo Peng <bo.peng@unitysvc.com>
6
6
  Maintainer-email: Bo Peng <bo.peng@unitysvc.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "unitysvc-core"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Shared data models and validation helpers for UnitySVC packages"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Bo Peng", email = "bo.peng@unitysvc.com" }]
@@ -200,3 +200,16 @@ class ServiceData(BaseModel):
200
200
  default=None,
201
201
  description="When the service was first created (informational provenance).",
202
202
  )
203
+
204
+ template_instance_id: UUID | None = Field(
205
+ default=None,
206
+ description=(
207
+ "Set when the service was published from a seller TemplateInstance "
208
+ "(the seller-instances flow). Like ``service_id`` it is consumed on "
209
+ "the way *in* to declare the operation — with no ``service_id`` it "
210
+ "creates a service from the template (the backend pins the form's "
211
+ "service_id); with one it updates an existing template-generated "
212
+ "service — and echoed on the way *out* so ``service.json`` records "
213
+ "the template association. Absent for plain (non-template) services."
214
+ ),
215
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-core
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Shared data models and validation helpers for UnitySVC packages
5
5
  Author-email: Bo Peng <bo.peng@unitysvc.com>
6
6
  Maintainer-email: Bo Peng <bo.peng@unitysvc.com>
File without changes
File without changes
File without changes