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