|
16 | 16 | from typing import Any, Dict, List, Optional, Tuple, Union |
17 | 17 | from typing_extensions import Annotated |
18 | 18 |
|
19 | | -from pydantic import Field, StrictInt |
| 19 | +from pydantic import Field |
20 | 20 | from typing import List |
21 | 21 | from typing_extensions import Annotated |
22 | 22 | from cloudbeds_fiscal_document.models.configs_response import ConfigsResponse |
@@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None: |
44 | 44 | @validate_call |
45 | 45 | def get_configs( |
46 | 46 | self, |
47 | | - x_property_id: Annotated[StrictInt, Field(description="Property id")], |
| 47 | + x_property_id: Annotated[int, Field(strict=True, ge=1, description="Property id")], |
48 | 48 | _request_timeout: Union[ |
49 | 49 | None, |
50 | 50 | Annotated[StrictFloat, Field(gt=0)], |
@@ -111,7 +111,7 @@ def get_configs( |
111 | 111 | @validate_call |
112 | 112 | def get_configs_with_http_info( |
113 | 113 | self, |
114 | | - x_property_id: Annotated[StrictInt, Field(description="Property id")], |
| 114 | + x_property_id: Annotated[int, Field(strict=True, ge=1, description="Property id")], |
115 | 115 | _request_timeout: Union[ |
116 | 116 | None, |
117 | 117 | Annotated[StrictFloat, Field(gt=0)], |
@@ -178,7 +178,7 @@ def get_configs_with_http_info( |
178 | 178 | @validate_call |
179 | 179 | def get_configs_without_preload_content( |
180 | 180 | self, |
181 | | - x_property_id: Annotated[StrictInt, Field(description="Property id")], |
| 181 | + x_property_id: Annotated[int, Field(strict=True, ge=1, description="Property id")], |
182 | 182 | _request_timeout: Union[ |
183 | 183 | None, |
184 | 184 | Annotated[StrictFloat, Field(gt=0)], |
@@ -305,7 +305,7 @@ def _get_configs_serialize( |
305 | 305 | @validate_call |
306 | 306 | def update_configs( |
307 | 307 | self, |
308 | | - x_property_id: Annotated[StrictInt, Field(description="Property id")], |
| 308 | + x_property_id: Annotated[int, Field(strict=True, ge=1, description="Property id")], |
309 | 309 | document_kind: Annotated[FiscalDocumentKind, Field(description="The kind of the fiscal document.")], |
310 | 310 | configs_update_request: ConfigsUpdateRequest, |
311 | 311 | _request_timeout: Union[ |
@@ -380,7 +380,7 @@ def update_configs( |
380 | 380 | @validate_call |
381 | 381 | def update_configs_with_http_info( |
382 | 382 | self, |
383 | | - x_property_id: Annotated[StrictInt, Field(description="Property id")], |
| 383 | + x_property_id: Annotated[int, Field(strict=True, ge=1, description="Property id")], |
384 | 384 | document_kind: Annotated[FiscalDocumentKind, Field(description="The kind of the fiscal document.")], |
385 | 385 | configs_update_request: ConfigsUpdateRequest, |
386 | 386 | _request_timeout: Union[ |
@@ -455,7 +455,7 @@ def update_configs_with_http_info( |
455 | 455 | @validate_call |
456 | 456 | def update_configs_without_preload_content( |
457 | 457 | self, |
458 | | - x_property_id: Annotated[StrictInt, Field(description="Property id")], |
| 458 | + x_property_id: Annotated[int, Field(strict=True, ge=1, description="Property id")], |
459 | 459 | document_kind: Annotated[FiscalDocumentKind, Field(description="The kind of the fiscal document.")], |
460 | 460 | configs_update_request: ConfigsUpdateRequest, |
461 | 461 | _request_timeout: Union[ |
|
0 commit comments