|
17 | 17 | from typing_extensions import Annotated |
18 | 18 |
|
19 | 19 | from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator |
20 | | -from typing import Any, Dict, List, Optional, Union |
| 20 | +from typing import Dict, List, Optional, Union |
21 | 21 | from typing_extensions import Annotated |
22 | 22 | from whmcs_client.models.add_client_response import AddClientResponse |
23 | 23 | from whmcs_client.models.add_order_response import AddOrderResponse |
@@ -741,7 +741,7 @@ def add_order( |
741 | 741 | self, |
742 | 742 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
743 | 743 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
744 | | - clientid: Annotated[Optional[Any], Field(description="The ID of the client to add the order for")], |
| 744 | + clientid: Annotated[StrictInt, Field(description="The ID of the client to add the order for")], |
745 | 745 | paymentmethod: Annotated[StrictStr, Field(description="The payment method for the order in the system format (e.g., paypal, mailin)")], |
746 | 746 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
747 | 747 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
@@ -810,7 +810,7 @@ def add_order( |
810 | 810 | :param password: Admin password/API secret (required) |
811 | 811 | :type password: str |
812 | 812 | :param clientid: The ID of the client to add the order for (required) |
813 | | - :type clientid: object |
| 813 | + :type clientid: int |
814 | 814 | :param paymentmethod: The payment method for the order in the system format (e.g., paypal, mailin) (required) |
815 | 815 | :type paymentmethod: str |
816 | 816 | :param accesskey: Optional API access key |
@@ -1000,7 +1000,7 @@ def add_order_with_http_info( |
1000 | 1000 | self, |
1001 | 1001 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
1002 | 1002 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
1003 | | - clientid: Annotated[Optional[Any], Field(description="The ID of the client to add the order for")], |
| 1003 | + clientid: Annotated[StrictInt, Field(description="The ID of the client to add the order for")], |
1004 | 1004 | paymentmethod: Annotated[StrictStr, Field(description="The payment method for the order in the system format (e.g., paypal, mailin)")], |
1005 | 1005 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
1006 | 1006 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
@@ -1069,7 +1069,7 @@ def add_order_with_http_info( |
1069 | 1069 | :param password: Admin password/API secret (required) |
1070 | 1070 | :type password: str |
1071 | 1071 | :param clientid: The ID of the client to add the order for (required) |
1072 | | - :type clientid: object |
| 1072 | + :type clientid: int |
1073 | 1073 | :param paymentmethod: The payment method for the order in the system format (e.g., paypal, mailin) (required) |
1074 | 1074 | :type paymentmethod: str |
1075 | 1075 | :param accesskey: Optional API access key |
@@ -1259,7 +1259,7 @@ def add_order_without_preload_content( |
1259 | 1259 | self, |
1260 | 1260 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
1261 | 1261 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
1262 | | - clientid: Annotated[Optional[Any], Field(description="The ID of the client to add the order for")], |
| 1262 | + clientid: Annotated[StrictInt, Field(description="The ID of the client to add the order for")], |
1263 | 1263 | paymentmethod: Annotated[StrictStr, Field(description="The payment method for the order in the system format (e.g., paypal, mailin)")], |
1264 | 1264 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
1265 | 1265 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
@@ -1328,7 +1328,7 @@ def add_order_without_preload_content( |
1328 | 1328 | :param password: Admin password/API secret (required) |
1329 | 1329 | :type password: str |
1330 | 1330 | :param clientid: The ID of the client to add the order for (required) |
1331 | | - :type clientid: object |
| 1331 | + :type clientid: int |
1332 | 1332 | :param paymentmethod: The payment method for the order in the system format (e.g., paypal, mailin) (required) |
1333 | 1333 | :type paymentmethod: str |
1334 | 1334 | :param accesskey: Optional API access key |
@@ -2487,7 +2487,7 @@ def update_client( |
2487 | 2487 | self, |
2488 | 2488 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
2489 | 2489 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
2490 | | - clientid: Annotated[Optional[Any], Field(description="The ID of the client to update")], |
| 2490 | + clientid: Annotated[StrictInt, Field(description="The ID of the client to update")], |
2491 | 2491 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
2492 | 2492 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
2493 | 2493 | clientemail: Annotated[Optional[StrictStr], Field(description="The email address of the client to update")] = None, |
@@ -2549,7 +2549,7 @@ def update_client( |
2549 | 2549 | :param password: Admin password/API secret (required) |
2550 | 2550 | :type password: str |
2551 | 2551 | :param clientid: The ID of the client to update (required) |
2552 | | - :type clientid: object |
| 2552 | + :type clientid: int |
2553 | 2553 | :param accesskey: Optional API access key |
2554 | 2554 | :type accesskey: str |
2555 | 2555 | :param responsetype: Response format |
@@ -2718,7 +2718,7 @@ def update_client_with_http_info( |
2718 | 2718 | self, |
2719 | 2719 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
2720 | 2720 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
2721 | | - clientid: Annotated[Optional[Any], Field(description="The ID of the client to update")], |
| 2721 | + clientid: Annotated[StrictInt, Field(description="The ID of the client to update")], |
2722 | 2722 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
2723 | 2723 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
2724 | 2724 | clientemail: Annotated[Optional[StrictStr], Field(description="The email address of the client to update")] = None, |
@@ -2780,7 +2780,7 @@ def update_client_with_http_info( |
2780 | 2780 | :param password: Admin password/API secret (required) |
2781 | 2781 | :type password: str |
2782 | 2782 | :param clientid: The ID of the client to update (required) |
2783 | | - :type clientid: object |
| 2783 | + :type clientid: int |
2784 | 2784 | :param accesskey: Optional API access key |
2785 | 2785 | :type accesskey: str |
2786 | 2786 | :param responsetype: Response format |
@@ -2949,7 +2949,7 @@ def update_client_without_preload_content( |
2949 | 2949 | self, |
2950 | 2950 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
2951 | 2951 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
2952 | | - clientid: Annotated[Optional[Any], Field(description="The ID of the client to update")], |
| 2952 | + clientid: Annotated[StrictInt, Field(description="The ID of the client to update")], |
2953 | 2953 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
2954 | 2954 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
2955 | 2955 | clientemail: Annotated[Optional[StrictStr], Field(description="The email address of the client to update")] = None, |
@@ -3011,7 +3011,7 @@ def update_client_without_preload_content( |
3011 | 3011 | :param password: Admin password/API secret (required) |
3012 | 3012 | :type password: str |
3013 | 3013 | :param clientid: The ID of the client to update (required) |
3014 | | - :type clientid: object |
| 3014 | + :type clientid: int |
3015 | 3015 | :param accesskey: Optional API access key |
3016 | 3016 | :type accesskey: str |
3017 | 3017 | :param responsetype: Response format |
|
0 commit comments