Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
- **Feature:** Add response `IntakeRunnerResponse` to `UpdateIntakeRunnerExecute` request
- **Feature:** Add response `IntakeUserResponse` to `UpdateIntakeUserExecute` request
- `stackitmarketplace`:
- [v1.13.0](services/stackitmarketplace/CHANGELOG.md#v1130)
- **Feature:** Add `has_demo` attribute to `CatalogProductDetail` model class
- [v1.12.0](services/stackitmarketplace/CHANGELOG.md#v1120)
- **Breaking Change:** Change `logo` field type from `Union[StrictBytes, StrictStr]` to `StrictStr` in `CatalogProductDetail`, `CatalogProductDetailsVendor`, and `CatalogProductOverview` models
- [v1.11.0](services/stackitmarketplace/CHANGELOG.md#v1110)
Expand Down
3 changes: 3 additions & 0 deletions services/stackitmarketplace/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v1.13.0
- **Feature:** Add `has_demo` attribute to `CatalogProductDetail` model class

## v1.12.0
- **Breaking Change:** Change `logo` field type from `Union[StrictBytes, StrictStr]` to `StrictStr` in `CatalogProductDetail`, `CatalogProductDetailsVendor`, and `CatalogProductOverview` models

Expand Down
2 changes: 1 addition & 1 deletion services/stackitmarketplace/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "stackit-stackitmarketplace"

[tool.poetry]
name = "stackit-stackitmarketplace"
version = "v1.12.0"
version = "v1.13.0"
authors = [
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ class CatalogProductDetail(BaseModel):
description="The documentation URL.", alias="documentationUrl"
)
email: Optional[StrictStr] = Field(default=None, description="A e-mail address.")
has_demo: Optional[StrictBool] = Field(
default=None, description="If the product has a demoUrl available.", alias="hasDemo"
)
highlights: List[CatalogProductHighlight] = Field(description="The list of highlights.")
industries: Optional[List[StrictStr]] = Field(
default=None, description="The list of industries associated to the product."
Expand Down Expand Up @@ -114,6 +117,7 @@ class CatalogProductDetail(BaseModel):
"description",
"documentationUrl",
"email",
"hasDemo",
"highlights",
"industries",
"isProductListing",
Expand Down Expand Up @@ -279,6 +283,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"description": obj.get("description"),
"documentationUrl": obj.get("documentationUrl"),
"email": obj.get("email"),
"hasDemo": obj.get("hasDemo"),
"highlights": (
[CatalogProductHighlight.from_dict(_item) for _item in obj["highlights"]]
if obj.get("highlights") is not None
Expand Down