Skip to content

Commit 2a67e0a

Browse files
committed
feat: Update package version to 1.0.13 and modify client ID type annotations in models and documentation
1 parent 107b05a commit 2a67e0a

File tree

10 files changed

+11
-15
lines changed

10 files changed

+11
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ each action as an independent path while routing all requests to the /api.php en
99
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
1010

1111
- API version: 1.0.0
12-
- Package version: 1.0.12
12+
- Package version: 1.0.13
1313
- Generator version: 7.13.0
1414
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1515

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"packageName": "whmcs_client",
33
"projectName": "whmcs-api-client",
4-
"packageVersion": "1.0.12",
4+
"packageVersion": "1.0.13",
55
"packageUrl": "https://github.com/truehostcloud/whmcs-python-client",
66
"packageCompany": "Truehost",
77
"packageAuthor": "William Mwai",

docs/UpdateClientResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**result** | **str** | | [optional]
99
**message** | **str** | Response message | [optional]
10-
**clientid** | **int** | The ID of the updated client | [optional]
10+
**clientid** | **str** | The ID of the updated client | [optional]
1111

1212
## Example
1313

openapi.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ components:
246246
properties:
247247
clientid:
248248
type: integer
249-
format: int64
250249
description: The ID of the client to update
251250
clientemail:
252251
type: string
@@ -368,7 +367,6 @@ components:
368367
properties:
369368
clientid:
370369
type: integer
371-
format: int64
372370
description: The ID of the client to add the order for
373371
clientemail:
374372
type: string
@@ -627,7 +625,6 @@ components:
627625
properties:
628626
clientid:
629627
type: integer
630-
format: int64
631628
description: The ID of the newly created client
632629
owner_user_id:
633630
type: integer
@@ -639,8 +636,7 @@ components:
639636
- type: object
640637
properties:
641638
clientid:
642-
type: integer
643-
format: int64
639+
type: string
644640
description: The ID of the updated client
645641

646642
AddOrderResponse:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "whmcs_client"
3-
version = "1.0.12"
3+
version = "1.0.13"
44
description = "WHMCS API"
55
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
66
license = "NoLicense"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# prerequisite: setuptools
2222
# http://pypi.python.org/pypi/setuptools
2323
NAME = "whmcs-api-client"
24-
VERSION = "1.0.12"
24+
VERSION = "1.0.13"
2525
PYTHON_REQUIRES = ">= 3.9"
2626
REQUIRES = [
2727
"urllib3 >= 2.1.0, < 3.0.0",

whmcs_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.0.12"
17+
__version__ = "1.0.13"
1818

1919
# import apis into sdk package
2020
from whmcs_client.api.default_api import DefaultApi

whmcs_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
self.default_headers[header_name] = header_value
9191
self.cookie = cookie
9292
# Set default User-Agent.
93-
self.user_agent = 'OpenAPI-Generator/1.0.12/python'
93+
self.user_agent = 'OpenAPI-Generator/1.0.13/python'
9494
self.client_side_validation = configuration.client_side_validation
9595

9696
def __enter__(self):

whmcs_client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ def to_debug_report(self) -> str:
501501
"OS: {env}\n"\
502502
"Python Version: {pyversion}\n"\
503503
"Version of the API: 1.0.0\n"\
504-
"SDK Package Version: 1.0.12".\
504+
"SDK Package Version: 1.0.13".\
505505
format(env=sys.platform, pyversion=sys.version)
506506

507507
def get_host_settings(self) -> List[HostSetting]:

whmcs_client/models/update_client_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import re # noqa: F401
1818
import json
1919

20-
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
20+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
2121
from typing import Any, ClassVar, Dict, List, Optional
2222
from typing import Optional, Set
2323
from typing_extensions import Self
@@ -28,7 +28,7 @@ class UpdateClientResponse(BaseModel):
2828
""" # noqa: E501
2929
result: Optional[StrictStr] = None
3030
message: Optional[StrictStr] = Field(default=None, description="Response message")
31-
clientid: Optional[StrictInt] = Field(default=None, description="The ID of the updated client")
31+
clientid: Optional[StrictStr] = Field(default=None, description="The ID of the updated client")
3232
__properties: ClassVar[List[str]] = ["result", "message", "clientid"]
3333

3434
@field_validator('result')

0 commit comments

Comments
 (0)