|
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 Dict, List, Optional, Union |
| 20 | +from typing import Any, Dict, List, Optional, Union |
21 | 21 | from typing_extensions import Annotated |
22 | 22 | from whmcs_client.models.add_client_response import AddClientResponse |
23 | | -from whmcs_client.models.add_order_request_clientid import AddOrderRequestClientid |
24 | 23 | from whmcs_client.models.add_order_response import AddOrderResponse |
25 | 24 | from whmcs_client.models.get_clients_response import GetClientsResponse |
26 | 25 | from whmcs_client.models.get_currencies_response import GetCurrenciesResponse |
27 | | -from whmcs_client.models.update_client_request_clientid import UpdateClientRequestClientid |
28 | 26 | from whmcs_client.models.update_client_response import UpdateClientResponse |
29 | 27 |
|
30 | 28 | from whmcs_client.api_client import ApiClient, RequestSerialized |
@@ -743,7 +741,7 @@ def add_order( |
743 | 741 | self, |
744 | 742 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
745 | 743 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
746 | | - clientid: AddOrderRequestClientid, |
| 744 | + clientid: Annotated[Optional[Any], Field(description="The ID of the client to add the order for")], |
747 | 745 | paymentmethod: Annotated[StrictStr, Field(description="The payment method for the order in the system format (e.g., paypal, mailin)")], |
748 | 746 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
749 | 747 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
@@ -811,8 +809,8 @@ def add_order( |
811 | 809 | :type username: str |
812 | 810 | :param password: Admin password/API secret (required) |
813 | 811 | :type password: str |
814 | | - :param clientid: (required) |
815 | | - :type clientid: AddOrderRequestClientid |
| 812 | + :param clientid: The ID of the client to add the order for (required) |
| 813 | + :type clientid: object |
816 | 814 | :param paymentmethod: The payment method for the order in the system format (e.g., paypal, mailin) (required) |
817 | 815 | :type paymentmethod: str |
818 | 816 | :param accesskey: Optional API access key |
@@ -1002,7 +1000,7 @@ def add_order_with_http_info( |
1002 | 1000 | self, |
1003 | 1001 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
1004 | 1002 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
1005 | | - clientid: AddOrderRequestClientid, |
| 1003 | + clientid: Annotated[Optional[Any], Field(description="The ID of the client to add the order for")], |
1006 | 1004 | paymentmethod: Annotated[StrictStr, Field(description="The payment method for the order in the system format (e.g., paypal, mailin)")], |
1007 | 1005 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
1008 | 1006 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
@@ -1070,8 +1068,8 @@ def add_order_with_http_info( |
1070 | 1068 | :type username: str |
1071 | 1069 | :param password: Admin password/API secret (required) |
1072 | 1070 | :type password: str |
1073 | | - :param clientid: (required) |
1074 | | - :type clientid: AddOrderRequestClientid |
| 1071 | + :param clientid: The ID of the client to add the order for (required) |
| 1072 | + :type clientid: object |
1075 | 1073 | :param paymentmethod: The payment method for the order in the system format (e.g., paypal, mailin) (required) |
1076 | 1074 | :type paymentmethod: str |
1077 | 1075 | :param accesskey: Optional API access key |
@@ -1261,7 +1259,7 @@ def add_order_without_preload_content( |
1261 | 1259 | self, |
1262 | 1260 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
1263 | 1261 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
1264 | | - clientid: AddOrderRequestClientid, |
| 1262 | + clientid: Annotated[Optional[Any], Field(description="The ID of the client to add the order for")], |
1265 | 1263 | paymentmethod: Annotated[StrictStr, Field(description="The payment method for the order in the system format (e.g., paypal, mailin)")], |
1266 | 1264 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
1267 | 1265 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
@@ -1329,8 +1327,8 @@ def add_order_without_preload_content( |
1329 | 1327 | :type username: str |
1330 | 1328 | :param password: Admin password/API secret (required) |
1331 | 1329 | :type password: str |
1332 | | - :param clientid: (required) |
1333 | | - :type clientid: AddOrderRequestClientid |
| 1330 | + :param clientid: The ID of the client to add the order for (required) |
| 1331 | + :type clientid: object |
1334 | 1332 | :param paymentmethod: The payment method for the order in the system format (e.g., paypal, mailin) (required) |
1335 | 1333 | :type paymentmethod: str |
1336 | 1334 | :param accesskey: Optional API access key |
@@ -2489,7 +2487,7 @@ def update_client( |
2489 | 2487 | self, |
2490 | 2488 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
2491 | 2489 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
2492 | | - clientid: UpdateClientRequestClientid, |
| 2490 | + clientid: Annotated[Optional[Any], Field(description="The ID of the client to update")], |
2493 | 2491 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
2494 | 2492 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
2495 | 2493 | clientemail: Annotated[Optional[StrictStr], Field(description="The email address of the client to update")] = None, |
@@ -2550,8 +2548,8 @@ def update_client( |
2550 | 2548 | :type username: str |
2551 | 2549 | :param password: Admin password/API secret (required) |
2552 | 2550 | :type password: str |
2553 | | - :param clientid: (required) |
2554 | | - :type clientid: UpdateClientRequestClientid |
| 2551 | + :param clientid: The ID of the client to update (required) |
| 2552 | + :type clientid: object |
2555 | 2553 | :param accesskey: Optional API access key |
2556 | 2554 | :type accesskey: str |
2557 | 2555 | :param responsetype: Response format |
@@ -2720,7 +2718,7 @@ def update_client_with_http_info( |
2720 | 2718 | self, |
2721 | 2719 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
2722 | 2720 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
2723 | | - clientid: UpdateClientRequestClientid, |
| 2721 | + clientid: Annotated[Optional[Any], Field(description="The ID of the client to update")], |
2724 | 2722 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
2725 | 2723 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
2726 | 2724 | clientemail: Annotated[Optional[StrictStr], Field(description="The email address of the client to update")] = None, |
@@ -2781,8 +2779,8 @@ def update_client_with_http_info( |
2781 | 2779 | :type username: str |
2782 | 2780 | :param password: Admin password/API secret (required) |
2783 | 2781 | :type password: str |
2784 | | - :param clientid: (required) |
2785 | | - :type clientid: UpdateClientRequestClientid |
| 2782 | + :param clientid: The ID of the client to update (required) |
| 2783 | + :type clientid: object |
2786 | 2784 | :param accesskey: Optional API access key |
2787 | 2785 | :type accesskey: str |
2788 | 2786 | :param responsetype: Response format |
@@ -2951,7 +2949,7 @@ def update_client_without_preload_content( |
2951 | 2949 | self, |
2952 | 2950 | username: Annotated[StrictStr, Field(description="Admin username/API identifier")], |
2953 | 2951 | password: Annotated[StrictStr, Field(description="Admin password/API secret")], |
2954 | | - clientid: UpdateClientRequestClientid, |
| 2952 | + clientid: Annotated[Optional[Any], Field(description="The ID of the client to update")], |
2955 | 2953 | accesskey: Annotated[Optional[StrictStr], Field(description="Optional API access key")] = None, |
2956 | 2954 | responsetype: Annotated[Optional[StrictStr], Field(description="Response format")] = None, |
2957 | 2955 | clientemail: Annotated[Optional[StrictStr], Field(description="The email address of the client to update")] = None, |
@@ -3012,8 +3010,8 @@ def update_client_without_preload_content( |
3012 | 3010 | :type username: str |
3013 | 3011 | :param password: Admin password/API secret (required) |
3014 | 3012 | :type password: str |
3015 | | - :param clientid: (required) |
3016 | | - :type clientid: UpdateClientRequestClientid |
| 3013 | + :param clientid: The ID of the client to update (required) |
| 3014 | + :type clientid: object |
3017 | 3015 | :param accesskey: Optional API access key |
3018 | 3016 | :type accesskey: str |
3019 | 3017 | :param responsetype: Response format |
|
0 commit comments