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: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.3.0"
".": "0.4.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 12
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/azure/partnermax-6b46d3e49935c9b6d7df9150b7dad7fc184b4f1edaf47d3c1626785ea8eea04b.yml
openapi_spec_hash: 32e26e0ae2574e8356931eef53062c7e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/azure/partnermax-eb7585f84c961b4388b2cfe057e3dba9edf92af55cd9cb6fa097f0d1ca21c55b.yml
openapi_spec_hash: fa2c2ed67b11bd033589562913a61a41
config_hash: bf921bb2f4db038ffed15141c74cd018
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.4.0 (2026-05-17)

Full Changelog: [v0.3.0...v0.4.0](https://github.com/DealerMax-app/partnermax-python/compare/v0.3.0...v0.4.0)

### Features

* **api:** api update ([e02932e](https://github.com/DealerMax-app/partnermax-python/commit/e02932eb83c5e592f93538775c41213593bab5ff))

## 0.3.0 (2026-05-17)

Full Changelog: [v0.2.0...v0.3.0](https://github.com/DealerMax-app/partnermax-python/compare/v0.2.0...v0.3.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "partnermax"
version = "0.3.0"
version = "0.4.0"
description = "The official Python library for the partnermax API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/partnermax/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "partnermax"
__version__ = "0.3.0" # x-release-please-version
__version__ = "0.4.0" # x-release-please-version
41 changes: 40 additions & 1 deletion src/partnermax/types/dealers/nlt/offer_retrieve_response.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List, Optional
from typing import Dict, List, Optional
from datetime import datetime
from typing_extensions import Literal

Expand All @@ -17,6 +17,7 @@
"Gallery",
"NetworkOffer",
"Quotazioni",
"ServiziInclusi",
"Tag",
]

Expand Down Expand Up @@ -115,6 +116,14 @@ class Quotazioni(BaseModel):
km_inclusi_anno: Literal[10000, 15000, 20000, 25000, 30000, 40000]


class ServiziInclusi(BaseModel):
name: str
"""Service name (e.g. "Assicurazione RCA", "Manutenzione")."""

description: Optional[str] = None
"""Short human description (e.g. "Responsabilità Civile Auto")."""


class Tag(BaseModel):
name: str

Expand Down Expand Up @@ -143,6 +152,14 @@ class OfferRetrieveResponse(BaseModel):

title: str

accessori_di_serie: Optional[List[str]] = None
"""Standard equipment list (one entry per item).

Sourced from `mnet_dettagli.equipaggiamento` split on newlines/semicolons.
Currently empty on every live offer (upstream column unpopulated); will
auto-fill when the data flows in.
"""

accessori_inclusi: Optional[List[AccessoriInclusi]] = None

addons_disponibili: Optional[AddonsDisponibili] = None
Expand All @@ -161,6 +178,19 @@ class OfferRetrieveResponse(BaseModel):

description_short: Optional[str] = None

dettagli_tecnici: Optional[Dict[str, object]] = None
"""
Full Motornet technical sheet — apimax: `_get_dettagli_motornet`
(`nlt_resolver.py:752`). Every non-null `mnet_dettagli` column for this
`codice_motornet_uni` flattened into a plain dict (~30-40 keys typically
populated out of 90 columns). Native units preserved: cilindrata (cc), kw, hp,
coppia, accelerazione (s), velocita (km/h), lunghezza/larghezza/altezza/passo
(cm), peso (kg), bagagliaio (L, free-text), emissioni_co2 (g/km, free-text),
pneumatici_anteriori ("205/55 R17"), trazione, alimentazione, cambio, euro,
autonomia_media, capacita_nominale_batteria, etc. Keys are stable across offers;
values are int/float/bool/string (timestamps ISO-formatted).
"""

fuel_type: Optional[str] = None
"""Raw Italian label from `nlt_offerte.alimentazione` (e.g. "Benzina", "Ibrida")."""

Expand Down Expand Up @@ -190,6 +220,15 @@ class OfferRetrieveResponse(BaseModel):

segmento: Optional[str] = None

servizi_inclusi: Optional[List[ServiziInclusi]] = None
"""Services normally included in the canone.

apimax: `_get_services_included` (`nlt_resolver.py:719`) reads global
`nlt_services` is_active table — same 8 services across the network
(Assicurazione RCA / Kasco / Incendio-Furto, Manutenzione, Assistenza Stradale,
Bollo, Pneumatici, Veicolo in anticipo). Not per-offer.
"""

solo_privati: Optional[bool] = None
"""Per-offer VAT scope: true → consumer-facing (B2C, VAT-inclusive).

Expand Down
Loading