Skip to content

Commit 4e4b164

Browse files
committed
regen from OAS 2.33.0
1 parent 8cbe3a7 commit 4e4b164

File tree

12 files changed

+21
-21
lines changed

12 files changed

+21
-21
lines changed

xero_python/accounting/api/accounting_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.32.0
13+
OpenAPI spec version: 2.33.0
1414
"""
1515

1616
import importlib
@@ -968,7 +968,7 @@ def create_branding_theme_payment_services(
968968
self,
969969
xero_tenant_id,
970970
branding_theme_id,
971-
payment_service,
971+
payment_services,
972972
_return_http_data_only=True,
973973
_preload_content=True,
974974
_request_timeout=None,
@@ -977,7 +977,7 @@ def create_branding_theme_payment_services(
977977
OAuth2 scope: paymentservices
978978
:param str xero_tenant_id: Xero identifier for Tenant (required)
979979
:param str branding_theme_id: Unique identifier for a Branding Theme (required)
980-
:param PaymentService payment_service: PaymentService object in body of request (required)
980+
:param PaymentServices payment_services: PaymentServices array with PaymentService object in body of request (required)
981981
:param bool _return_http_data_only: return received data only
982982
:param bool _preload_content: load received data in models
983983
:param bool _request_timeout: maximum wait time for response
@@ -996,10 +996,10 @@ def create_branding_theme_payment_services(
996996
"Missing the required parameter `branding_theme_id` "
997997
"when calling `create_branding_theme_payment_services`"
998998
)
999-
# verify the required parameter 'payment_service' is set
1000-
if payment_service is None:
999+
# verify the required parameter 'payment_services' is set
1000+
if payment_services is None:
10011001
raise ValueError(
1002-
"Missing the required parameter `payment_service` "
1002+
"Missing the required parameter `payment_services` "
10031003
"when calling `create_branding_theme_payment_services`"
10041004
)
10051005

@@ -1017,7 +1017,7 @@ def create_branding_theme_payment_services(
10171017
local_var_files = {}
10181018
form_params = []
10191019

1020-
body_params = payment_service
1020+
body_params = payment_services
10211021
# HTTP header `Accept`
10221022
header_params["Accept"] = self.api_client.select_header_accept(
10231023
["application/json"]

xero_python/accounting/docs/AccountingApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ Name | Type | Description | Notes
893893
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
894894

895895
# **create_branding_theme_payment_services**
896-
> PaymentServices create_branding_theme_payment_services(xero_tenant_id, branding_theme_id, payment_service)
896+
> PaymentServices create_branding_theme_payment_services(xero_tenant_id, branding_theme_id, payment_services)
897897

898898
Creates a new custom payment service for a specific branding theme
899899

@@ -925,10 +925,10 @@ api_instance = AccountingApi(api_client)
925925

926926
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # str | Xero identifier for Tenant
927927
branding_theme_id = '00000000-0000-0000-0000-000000000000' # str | Unique identifier for a Branding Theme
928-
payment_service = { "PaymentServiceID": "00000000-0000-0000-0000-000000000000", "PaymentServiceName": "Payments Service", "PaymentServiceUrl": "https://www.paymentservice.com/", "PayNowText": "Pay Now" } # PaymentService | PaymentService object in body of request
928+
payment_services = { "PaymentServices": [ { "PaymentServiceID": "54b3b4f6-0443-4fba-bcd1-61ec0c35ca55", "PaymentServiceName": "PayUpNow", "PaymentServiceUrl": "https://www.payupnow.com/", "PaymentServiceType": "Custom", "PayNowText": "Time To Pay" } ] } # PaymentServices | PaymentServices array with PaymentService object in body of request
929929
try:
930930
# Creates a new custom payment service for a specific branding theme
931-
api_response = api_instance.create_branding_theme_payment_services(xero_tenant_id, branding_theme_id, payment_service)
931+
api_response = api_instance.create_branding_theme_payment_services(xero_tenant_id, branding_theme_id, payment_services)
932932
pprint(api_response)
933933
except ApiException as e:
934934
print("Exception when calling AccountingApi->create_branding_theme_payment_services: %s\n" % e)
@@ -940,7 +940,7 @@ Name | Type | Description | Notes
940940
------------- | ------------- | ------------- | -------------
941941
**xero_tenant_id** | **str**| Xero identifier for Tenant |
942942
**branding_theme_id** | [**str**](.md)| Unique identifier for a Branding Theme |
943-
**payment_service** | [**PaymentService**](PaymentService.md)| PaymentService object in body of request |
943+
**payment_services** | [**PaymentServices**](PaymentServices.md)| PaymentServices array with PaymentService object in body of request |
944944

945945
### Return type
946946

xero_python/appstore/api/app_store_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.32.0
13+
OpenAPI spec version: 2.33.0
1414
"""
1515

1616
import importlib

xero_python/assets/api/asset_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.32.0
13+
OpenAPI spec version: 2.33.0
1414
"""
1515

1616
import importlib

xero_python/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ These endpoints are related to managing authentication tokens and identity for X
33

44
The `xero_python` package is automatically generated by the [XeroAPI SDK 2.0 Codegen](https://github.com/xero-github/xeroapi-sdk-codegen) project:
55

6-
- API version: 2.32.0
6+
- API version: 2.33.0
77
- Package version: 1.21.0b1
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://developer.xero.com](https://developer.xero.com)

xero_python/file/api/files_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.32.0
13+
OpenAPI spec version: 2.33.0
1414
"""
1515

1616
import importlib

xero_python/finance/api/finance_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.32.0
13+
OpenAPI spec version: 2.33.0
1414
"""
1515

1616
import importlib

xero_python/identity/api/identity_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.32.0
13+
OpenAPI spec version: 2.33.0
1414
"""
1515

1616
import importlib

xero_python/payrollau/api/payroll_au_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.32.0
13+
OpenAPI spec version: 2.33.0
1414
"""
1515

1616
import importlib

xero_python/payrollnz/api/payroll_nz_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.32.0
13+
OpenAPI spec version: 2.33.0
1414
"""
1515

1616
import importlib

0 commit comments

Comments
 (0)