diff --git a/docs/v1/accounting/index.html b/docs/v1/accounting/index.html index 4afa1fc4..038fd8f1 100644 --- a/docs/v1/accounting/index.html +++ b/docs/v1/accounting/index.html @@ -4778,6 +4778,12 @@ "description" : "Xero generated unique identifier", "format" : "uuid" }, + "BrandingThemeID" : { + "type" : "string", + "description" : "The unique identifier of the branding template applied to a receive prepayment", + "format" : "uuid", + "readOnly" : true + }, "CurrencyRate" : { "type" : "number", "description" : "The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used", @@ -6420,9 +6426,6 @@
  • createCurrency
  • -
  • - createEmployees -
  • createExpenseClaimHistory
  • @@ -6696,12 +6699,6 @@
  • getCurrencies
  • -
  • - getEmployee -
  • -
  • - getEmployees -
  • getExpenseClaim
  • @@ -7014,9 +7011,6 @@
  • updateOrCreateCreditNotes
  • -
  • - updateOrCreateEmployees -
  • updateOrCreateInvoices
  • @@ -11368,197 +11362,6 @@

    Parameters


    -
    -
    -
    -

    createEmployees

    -

    Creates new employees used in Xero payrun

    -
    -
    -
    -

    -

    This endpoint is deprecated and will be removed April 28, 2026

    -

    -
    -
    /Employees
    -

    -

    Usage and SDK Samples

    -

    - -
    - -
    -
    # configure api_client for use with xero-python sdk client
    -api_client = ApiClient(
    -    Configuration(
    -        debug=false,
    -        oauth2_token=OAuth2Token(
    -            client_id="YOUR_CLIENT_ID", client_secret="YOUR_CLIENT_SECRET"
    -        ),
    -    ),
    -    pool_threads=1,
    -)
    -
    -api_client.set_oauth2_token("YOUR_ACCESS_TOKEN")
    -
    -def accounting_create_employees():
    -    api_instance = AccountingApi(api_client)
    -    xero_tenant_id = 'YOUR_XERO_TENANT_ID'
    -    summarize_errors = 'True'
    -    idempotency_key = 'KEY_VALUE'
    -
    -    employee = Employee(
    -        first_name = "Nick",
    -        last_name = "Fury")
    -
    -    employees = Employees( 
    -        employees = [employee])
    -    
    -    try:
    -        api_response = api_instance.create_employees(xero_tenant_id, employees, summarize_errors, idempotency_key)
    -        print(api_response)
    -    except AccountingBadRequestException as e:
    -        print("Exception when calling AccountingApi->createEmployees: %s\n" % e)
    -
    -
    -

    Scopes

    - - - - - - - -
    accounting.settingsGrant read-write access to organisation and account settings
    -

    Parameters

    -
    Header parameters
    - - - - - - - - - - - - - -
    NameDescription
    xero-tenant-id* - - -
    -
    -
    - - String - - -
    -Xero identifier for Tenant -
    -
    -
    - Required -
    -
    -
    -
    Idempotency-Key - - -
    -
    -
    - - String - - -
    -This allows you to safely retry requests without the risk of duplicate processing. 128 character max. -
    -
    -
    -
    -
    -
    Body parameters
    - - - - - - - -
    NameDescription
    employees * -
    -
    - - Employees - -
    - Employees with array of Employee object in body of request -
    -
    -
    - Required -
    -
    - -
    -
    Query parameters
    - - - - - - - - - -
    NameDescription
    summarizeErrors - - -
    -
    -
    - - Boolean - - -
    -If false return 200 OK and mix of successfully created objects and any with validation errors -
    -
    -
    -
    -
    -
    -
    -
    @@ -27072,303 +26875,6 @@

    Parameters

    - - - - - -
    -
    -
    -
    -

    getEmployee

    -

    Retrieves a specific employee used in Xero payrun using a unique employee Id

    -
    -
    -
    -

    -

    This endpoint is deprecated and will be removed April 28, 2026

    -

    -
    -
    /Employees/{EmployeeID}
    -

    -

    Usage and SDK Samples

    -

    - -
    - -
    -
    # configure api_client for use with xero-python sdk client
    -api_client = ApiClient(
    -    Configuration(
    -        debug=false,
    -        oauth2_token=OAuth2Token(
    -            client_id="YOUR_CLIENT_ID", client_secret="YOUR_CLIENT_SECRET"
    -        ),
    -    ),
    -    pool_threads=1,
    -)
    -
    -api_client.set_oauth2_token("YOUR_ACCESS_TOKEN")
    -
    -def accounting_get_employee():
    -    api_instance = AccountingApi(api_client)
    -    xero_tenant_id = 'YOUR_XERO_TENANT_ID'
    -    employee_id = '00000000-0000-0000-0000-000000000000'
    -    
    -    try:
    -        api_response = api_instance.get_employee(xero_tenant_id, employee_id)
    -        print(api_response)
    -    except AccountingBadRequestException as e:
    -        print("Exception when calling AccountingApi->getEmployee: %s\n" % e)
    -
    -
    -

    Scopes

    - - - - - - - - - - - - -
    accounting.settingsGrant read-write access to organisation and account settings
    accounting.settings.readGrant read-only access to organisation and account settings
    -

    Parameters

    -
    Path parameters
    - - - - - - - - - -
    NameDescription
    EmployeeID* - - -
    -
    -
    - - UUID - - - (uuid) - - -
    -Unique identifier for a Employee -
    -
    -
    - Required -
    -
    -
    -
    -
    Header parameters
    - - - - - - - - - -
    NameDescription
    xero-tenant-id* - - -
    -
    -
    - - String - - -
    -Xero identifier for Tenant -
    -
    -
    - Required -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -

    getEmployees

    -

    Retrieves employees used in Xero payrun

    -
    -
    -
    -

    -

    This endpoint is deprecated and will be removed April 28, 2026

    -

    -
    -
    /Employees
    -

    -

    Usage and SDK Samples

    -

    - -
    - -
    -
    # configure api_client for use with xero-python sdk client
    -api_client = ApiClient(
    -    Configuration(
    -        debug=false,
    -        oauth2_token=OAuth2Token(
    -            client_id="YOUR_CLIENT_ID", client_secret="YOUR_CLIENT_SECRET"
    -        ),
    -    ),
    -    pool_threads=1,
    -)
    -
    -api_client.set_oauth2_token("YOUR_ACCESS_TOKEN")
    -
    -def accounting_get_employees():
    -    api_instance = AccountingApi(api_client)
    -    xero_tenant_id = 'YOUR_XERO_TENANT_ID'
    -    if_modified_since = dateutil.parser.parse("2020-02-06T12:17:43.202-08:00")
    -    where = 'Status=="ACTIVE"'
    -    order = 'LastName ASC'
    -    
    -    try:
    -        api_response = api_instance.get_employees(xero_tenant_id, if_modified_since, where, order)
    -        print(api_response)
    -    except AccountingBadRequestException as e:
    -        print("Exception when calling AccountingApi->getEmployees: %s\n" % e)
    -
    -
    -

    Scopes

    - - - - - - - - - - - - -
    accounting.settingsGrant read-write access to organisation and account settings
    accounting.settings.readGrant read-only access to organisation and account settings
    -

    Parameters

    -
    Header parameters
    - - - - - - - - - - - - - -
    NameDescription
    xero-tenant-id* - - -
    -
    -
    - - String - - -
    -Xero identifier for Tenant -
    -
    -
    - Required -
    -
    -
    -
    If-Modified-Since - - -
    -
    -
    - - Date - - - (date-time) - - -
    -Only records created or modified since this timestamp will be returned -
    -
    -
    -
    -
    -
    Query parameters
    - - - - - - - - - - -
    NameDescription
    where - - -
    -
    -
    - - String - - -
    -Filter by an any element -
    -
    -
    -
    -
    order - - -
    -
    -
    - - String - - -
    -Order by an any element -
    -
    -
    -
    -
    @@ -44965,197 +44471,6 @@

    Parameters

    - - - - - -
    -
    -
    -
    -

    updateOrCreateEmployees

    -

    Creates a single new employees used in Xero payrun

    -
    -
    -
    -

    -

    This endpoint is deprecated and will be removed April 28, 2026

    -

    -
    -
    /Employees
    -

    -

    Usage and SDK Samples

    -

    - -
    - -
    -
    # configure api_client for use with xero-python sdk client
    -api_client = ApiClient(
    -    Configuration(
    -        debug=false,
    -        oauth2_token=OAuth2Token(
    -            client_id="YOUR_CLIENT_ID", client_secret="YOUR_CLIENT_SECRET"
    -        ),
    -    ),
    -    pool_threads=1,
    -)
    -
    -api_client.set_oauth2_token("YOUR_ACCESS_TOKEN")
    -
    -def accounting_update_or_create_employees():
    -    api_instance = AccountingApi(api_client)
    -    xero_tenant_id = 'YOUR_XERO_TENANT_ID'
    -    summarize_errors = 'True'
    -    idempotency_key = 'KEY_VALUE'
    -
    -    employee = Employee(
    -        first_name = "Nick",
    -        last_name = "Fury")
    -
    -    employees = Employees( 
    -        employees = [employee])
    -    
    -    try:
    -        api_response = api_instance.update_or_create_employees(xero_tenant_id, employees, summarize_errors, idempotency_key)
    -        print(api_response)
    -    except AccountingBadRequestException as e:
    -        print("Exception when calling AccountingApi->updateOrCreateEmployees: %s\n" % e)
    -
    -
    -

    Scopes

    - - - - - - - -
    accounting.settingsGrant read-write access to organisation and account settings
    -

    Parameters

    -
    Header parameters
    - - - - - - - - - - - - - -
    NameDescription
    xero-tenant-id* - - -
    -
    -
    - - String - - -
    -Xero identifier for Tenant -
    -
    -
    - Required -
    -
    -
    -
    Idempotency-Key - - -
    -
    -
    - - String - - -
    -This allows you to safely retry requests without the risk of duplicate processing. 128 character max. -
    -
    -
    -
    -
    -
    Body parameters
    - - - - - - - -
    NameDescription
    employees * -
    -
    - - Employees - -
    - Employees with array of Employee object in body of request -
    -
    -
    - Required -
    -
    - -
    -
    Query parameters
    - - - - - - -
    NameDescription
    summarizeErrors - - -
    -
    -
    - - Boolean - - -
    -If false return 200 OK and mix of successfully created objects and any with validation errors -
    -
    -
    -
    -
    diff --git a/docs/v1/files/index.html b/docs/v1/files/index.html index 2201edfb..817752fe 100644 --- a/docs/v1/files/index.html +++ b/docs/v1/files/index.html @@ -881,6 +881,16 @@ "description" : "The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint.", "example" : 12357 }, + "CreatedDateUtc" : { + "type" : "string", + "description" : "The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when using /Associations/{ObjectId} endpoint.", + "format" : "date-time" + }, + "AssociationDateUtc" : { + "type" : "string", + "description" : "The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is only returned when using /Associations/{ObjectId} endpoint.", + "format" : "date-time" + }, "FileId" : { "type" : "string", "description" : "The unique identifier of the file", diff --git a/xero_python/accounting/api/accounting_api.py b/xero_python/accounting/api/accounting_api.py index e89bb0fa..19250a8b 100644 --- a/xero_python/accounting/api/accounting_api.py +++ b/xero_python/accounting/api/accounting_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ @@ -2063,96 +2063,6 @@ def create_currency( except exceptions.HTTPStatusException as error: raise translate_status_exception(error, self, "create_currency") - def create_employees( - self, - xero_tenant_id, - employees, - summarize_errors=empty, - idempotency_key=empty, - _return_http_data_only=True, - _preload_content=True, - _request_timeout=None, - ): - """Creates new employees used in Xero payrun # noqa: E501 - OAuth2 scope: accounting.settings - This endpoint is deprecated and will be removed April 28, 2026 # noqa: E501 - :param str xero_tenant_id: Xero identifier for Tenant (required) - :param Employees employees: Employees with array of Employee object in body of request (required) - :param bool summarize_errors: If false return 200 OK and mix of successfully created objects and any with validation errors - :param str idempotency_key: This allows you to safely retry requests without the risk of duplicate processing. 128 character max. - :param bool _return_http_data_only: return received data only - :param bool _preload_content: load received data in models - :param bool _request_timeout: maximum wait time for response - :return: Employees - """ - - # verify the required parameter 'xero_tenant_id' is set - if xero_tenant_id is None: - raise ValueError( - "Missing the required parameter `xero_tenant_id` " - "when calling `create_employees`" - ) - # verify the required parameter 'employees' is set - if employees is None: - raise ValueError( - "Missing the required parameter `employees` " - "when calling `create_employees`" - ) - - collection_formats = {} - path_params = {} - - query_params = [] - - if summarize_errors is not empty: - query_params.append(("summarizeErrors", summarize_errors)) - - header_params = { - "xero-tenant-id": xero_tenant_id, - } - - if idempotency_key is not empty: - header_params["Idempotency-Key"] = idempotency_key - - local_var_files = {} - form_params = [] - - body_params = employees - # HTTP header `Accept` - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) - - # HTTP header `Content-Type` - header_params["Content-Type"] = self.api_client.select_header_content_type( - ["application/json"] - ) - - # Authentication setting - auth_settings = ["OAuth2"] - url = self.get_resource_url("/Employees") - - try: - return self.api_client.call_api( - url, - "PUT", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type="Employees", - response_model_finder=self.get_model_finder(), - auth_settings=auth_settings, - _return_http_data_only=_return_http_data_only, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - collection_formats=collection_formats, - ) - except exceptions.HTTPStatusException as error: - raise translate_status_exception(error, self, "create_employees") - def create_expense_claim_history( self, xero_tenant_id, @@ -10143,165 +10053,6 @@ def get_currencies( except exceptions.HTTPStatusException as error: raise translate_status_exception(error, self, "get_currencies") - def get_employee( - self, - xero_tenant_id, - employee_id, - _return_http_data_only=True, - _preload_content=True, - _request_timeout=None, - ): - """Retrieves a specific employee used in Xero payrun using a unique employee Id # noqa: E501 - OAuth2 scope: accounting.settings, accounting.settings.read - This endpoint is deprecated and will be removed April 28, 2026 # noqa: E501 - :param str xero_tenant_id: Xero identifier for Tenant (required) - :param str employee_id: Unique identifier for a Employee (required) - :param bool _return_http_data_only: return received data only - :param bool _preload_content: load received data in models - :param bool _request_timeout: maximum wait time for response - :return: Employees - """ - - # verify the required parameter 'xero_tenant_id' is set - if xero_tenant_id is None: - raise ValueError( - "Missing the required parameter `xero_tenant_id` " - "when calling `get_employee`" - ) - # verify the required parameter 'employee_id' is set - if employee_id is None: - raise ValueError( - "Missing the required parameter `employee_id` " - "when calling `get_employee`" - ) - - collection_formats = {} - path_params = { - "EmployeeID": employee_id, - } - - query_params = [] - - header_params = { - "xero-tenant-id": xero_tenant_id, - } - - local_var_files = {} - form_params = [] - - body_params = None - # HTTP header `Accept` - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) - - # Authentication setting - auth_settings = ["OAuth2"] - url = self.get_resource_url("/Employees/{EmployeeID}") - - try: - return self.api_client.call_api( - url, - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type="Employees", - response_model_finder=self.get_model_finder(), - auth_settings=auth_settings, - _return_http_data_only=_return_http_data_only, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - collection_formats=collection_formats, - ) - except exceptions.HTTPStatusException as error: - raise translate_status_exception(error, self, "get_employee") - - def get_employees( - self, - xero_tenant_id, - if_modified_since=empty, - where=empty, - order=empty, - _return_http_data_only=True, - _preload_content=True, - _request_timeout=None, - ): - """Retrieves employees used in Xero payrun # noqa: E501 - OAuth2 scope: accounting.settings, accounting.settings.read - This endpoint is deprecated and will be removed April 28, 2026 # noqa: E501 - :param str xero_tenant_id: Xero identifier for Tenant (required) - :param datetime if_modified_since: Only records created or modified since this timestamp will be returned - :param str where: Filter by an any element - :param str order: Order by an any element - :param bool _return_http_data_only: return received data only - :param bool _preload_content: load received data in models - :param bool _request_timeout: maximum wait time for response - :return: Employees - """ - - # verify the required parameter 'xero_tenant_id' is set - if xero_tenant_id is None: - raise ValueError( - "Missing the required parameter `xero_tenant_id` " - "when calling `get_employees`" - ) - - collection_formats = {} - path_params = {} - - query_params = [] - - if where is not empty: - query_params.append(("where", where)) - - if order is not empty: - query_params.append(("order", order)) - - header_params = { - "xero-tenant-id": xero_tenant_id, - } - - if if_modified_since is not empty: - header_params["If-Modified-Since"] = if_modified_since - - local_var_files = {} - form_params = [] - - body_params = None - # HTTP header `Accept` - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) - - # Authentication setting - auth_settings = ["OAuth2"] - url = self.get_resource_url("/Employees") - - try: - return self.api_client.call_api( - url, - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type="Employees", - response_model_finder=self.get_model_finder(), - auth_settings=auth_settings, - _return_http_data_only=_return_http_data_only, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - collection_formats=collection_formats, - ) - except exceptions.HTTPStatusException as error: - raise translate_status_exception(error, self, "get_employees") - def get_expense_claim( self, xero_tenant_id, @@ -19271,96 +19022,6 @@ def update_or_create_credit_notes( error, self, "update_or_create_credit_notes" ) - def update_or_create_employees( - self, - xero_tenant_id, - employees, - summarize_errors=empty, - idempotency_key=empty, - _return_http_data_only=True, - _preload_content=True, - _request_timeout=None, - ): - """Creates a single new employees used in Xero payrun # noqa: E501 - OAuth2 scope: accounting.settings - This endpoint is deprecated and will be removed April 28, 2026 # noqa: E501 - :param str xero_tenant_id: Xero identifier for Tenant (required) - :param Employees employees: Employees with array of Employee object in body of request (required) - :param bool summarize_errors: If false return 200 OK and mix of successfully created objects and any with validation errors - :param str idempotency_key: This allows you to safely retry requests without the risk of duplicate processing. 128 character max. - :param bool _return_http_data_only: return received data only - :param bool _preload_content: load received data in models - :param bool _request_timeout: maximum wait time for response - :return: Employees - """ - - # verify the required parameter 'xero_tenant_id' is set - if xero_tenant_id is None: - raise ValueError( - "Missing the required parameter `xero_tenant_id` " - "when calling `update_or_create_employees`" - ) - # verify the required parameter 'employees' is set - if employees is None: - raise ValueError( - "Missing the required parameter `employees` " - "when calling `update_or_create_employees`" - ) - - collection_formats = {} - path_params = {} - - query_params = [] - - if summarize_errors is not empty: - query_params.append(("summarizeErrors", summarize_errors)) - - header_params = { - "xero-tenant-id": xero_tenant_id, - } - - if idempotency_key is not empty: - header_params["Idempotency-Key"] = idempotency_key - - local_var_files = {} - form_params = [] - - body_params = employees - # HTTP header `Accept` - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) - - # HTTP header `Content-Type` - header_params["Content-Type"] = self.api_client.select_header_content_type( - ["application/json"] - ) - - # Authentication setting - auth_settings = ["OAuth2"] - url = self.get_resource_url("/Employees") - - try: - return self.api_client.call_api( - url, - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type="Employees", - response_model_finder=self.get_model_finder(), - auth_settings=auth_settings, - _return_http_data_only=_return_http_data_only, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - collection_formats=collection_formats, - ) - except exceptions.HTTPStatusException as error: - raise translate_status_exception(error, self, "update_or_create_employees") - def update_or_create_invoices( self, xero_tenant_id, diff --git a/xero_python/accounting/docs/AccountingApi.md b/xero_python/accounting/docs/AccountingApi.md index 076355ef..e1517850 100644 --- a/xero_python/accounting/docs/AccountingApi.md +++ b/xero_python/accounting/docs/AccountingApi.md @@ -25,7 +25,6 @@ Method | HTTP request | Description [**create_credit_note_history**](AccountingApi.md#create_credit_note_history) | **PUT** /CreditNotes/{CreditNoteID}/History | Retrieves history records of a specific credit note [**create_credit_notes**](AccountingApi.md#create_credit_notes) | **PUT** /CreditNotes | Creates a new credit note [**create_currency**](AccountingApi.md#create_currency) | **PUT** /Currencies | Create a new currency for a Xero organisation -[**create_employees**](AccountingApi.md#create_employees) | **PUT** /Employees | Creates new employees used in Xero payrun [**create_expense_claim_history**](AccountingApi.md#create_expense_claim_history) | **PUT** /ExpenseClaims/{ExpenseClaimID}/History | Creates a history record for a specific expense claim [**create_expense_claims**](AccountingApi.md#create_expense_claims) | **PUT** /ExpenseClaims | Creates expense claims [**create_invoice_attachment_by_file_name**](AccountingApi.md#create_invoice_attachment_by_file_name) | **PUT** /Invoices/{InvoiceID}/Attachments/{FileName} | Creates an attachment for a specific invoice or purchase bill by filename @@ -117,8 +116,6 @@ Method | HTTP request | Description [**get_credit_note_history**](AccountingApi.md#get_credit_note_history) | **GET** /CreditNotes/{CreditNoteID}/History | Retrieves history records of a specific credit note [**get_credit_notes**](AccountingApi.md#get_credit_notes) | **GET** /CreditNotes | Retrieves any credit notes [**get_currencies**](AccountingApi.md#get_currencies) | **GET** /Currencies | Retrieves currencies for your Xero organisation -[**get_employee**](AccountingApi.md#get_employee) | **GET** /Employees/{EmployeeID} | Retrieves a specific employee used in Xero payrun using a unique employee Id -[**get_employees**](AccountingApi.md#get_employees) | **GET** /Employees | Retrieves employees used in Xero payrun [**get_expense_claim**](AccountingApi.md#get_expense_claim) | **GET** /ExpenseClaims/{ExpenseClaimID} | Retrieves a specific expense claim using a unique expense claim Id [**get_expense_claim_history**](AccountingApi.md#get_expense_claim_history) | **GET** /ExpenseClaims/{ExpenseClaimID}/History | Retrieves history records of a specific expense claim [**get_expense_claims**](AccountingApi.md#get_expense_claims) | **GET** /ExpenseClaims | Retrieves expense claims @@ -223,7 +220,6 @@ Method | HTTP request | Description [**update_or_create_bank_transactions**](AccountingApi.md#update_or_create_bank_transactions) | **POST** /BankTransactions | Updates or creates one or more spent or received money transaction [**update_or_create_contacts**](AccountingApi.md#update_or_create_contacts) | **POST** /Contacts | Updates or creates one or more contacts in a Xero organisation [**update_or_create_credit_notes**](AccountingApi.md#update_or_create_credit_notes) | **POST** /CreditNotes | Updates or creates one or more credit notes -[**update_or_create_employees**](AccountingApi.md#update_or_create_employees) | **POST** /Employees | Creates a single new employees used in Xero payrun [**update_or_create_invoices**](AccountingApi.md#update_or_create_invoices) | **POST** /Invoices | Updates or creates one or more sales invoices or purchase bills [**update_or_create_items**](AccountingApi.md#update_or_create_items) | **POST** /Items | Updates or creates one or more items [**update_or_create_manual_journals**](AccountingApi.md#update_or_create_manual_journals) | **POST** /ManualJournals | Updates or creates a single manual journal @@ -1658,75 +1654,6 @@ Name | Type | Description | Notes [[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) -# **create_employees** -> Employees create_employees(xero_tenant_id, employees, summarize_errors=summarize_errors, idempotency_key=idempotency_key) - -Creates new employees used in Xero payrun - -This endpoint is deprecated and will be removed April 28, 2026 - -### Example - -* OAuth Authentication (OAuth2): -```python -from xero_python.api_client import Configuration, ApiClient -from xero_python.api_client.oauth2 import OAuth2Token -from xero_python.exceptions import ApiException -from xero_python.accounting import AccountingApi -from pprint import pprint - -# Configure OAuth2 access token for authorization: OAuth2 -# simplified version, `xero_oauth2_token` represents permanent global token storage -xero_oauth2_token = {} # set to valid xero oauth2 token dictionary -# create client configuration with client id and client secret for automatic token refresh -api_config = Configuration(oauth2_token=OAuth2Token( - client_id="YOUR_API_CLIENT_ID", client_secret="YOUR_API_CLIENT_SECRET" -)) -# configure xero-python sdk client -api_client = ApiClient( - api_config, - oauth2_token_saver=lambda x: xero_oauth2_token.update(x), - oauth2_token_getter=lambda : xero_oauth2_token -) -# create an instance of the API class -api_instance = AccountingApi(api_client) - -xero_tenant_id = 'YOUR_XERO_TENANT_ID' # str | Xero identifier for Tenant -employees = {"Employees":[{"FirstName":"Nick","LastName":"Fury","ExternalLink":{"Url":"http://twitter.com/#!/search/Nick+Fury"}}]} # Employees | Employees with array of Employee object in body of request -summarize_errors = False # bool | If false return 200 OK and mix of successfully created objects and any with validation errors (optional) (default to False) -idempotency_key = 'KEY_VALUE' # str | This allows you to safely retry requests without the risk of duplicate processing. 128 character max. (optional) -try: - # Creates new employees used in Xero payrun - api_response = api_instance.create_employees(xero_tenant_id, employees, summarize_errors=summarize_errors, idempotency_key=idempotency_key) - pprint(api_response) -except ApiException as e: - print("Exception when calling AccountingApi->create_employees: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xero_tenant_id** | **str**| Xero identifier for Tenant | - **employees** | [**Employees**](Employees.md)| Employees with array of Employee object in body of request | - **summarize_errors** | **bool**| If false return 200 OK and mix of successfully created objects and any with validation errors | [optional] [default to False] - **idempotency_key** | **str**| This allows you to safely retry requests without the risk of duplicate processing. 128 character max. | [optional] - -### Return type - -[**Employees**](Employees.md) - -### Authorization - -[OAuth2](../README.md#OAuth2) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - # **create_expense_claim_history** > HistoryRecords create_expense_claim_history(xero_tenant_id, expense_claim_id, history_records, idempotency_key=idempotency_key) @@ -7727,140 +7654,6 @@ Name | Type | Description | Notes [[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) -# **get_employee** -> Employees get_employee(xero_tenant_id, employee_id) - -Retrieves a specific employee used in Xero payrun using a unique employee Id - -This endpoint is deprecated and will be removed April 28, 2026 - -### Example - -* OAuth Authentication (OAuth2): -```python -from xero_python.api_client import Configuration, ApiClient -from xero_python.api_client.oauth2 import OAuth2Token -from xero_python.exceptions import ApiException -from xero_python.accounting import AccountingApi -from pprint import pprint - -# Configure OAuth2 access token for authorization: OAuth2 -# simplified version, `xero_oauth2_token` represents permanent global token storage -xero_oauth2_token = {} # set to valid xero oauth2 token dictionary -# create client configuration with client id and client secret for automatic token refresh -api_config = Configuration(oauth2_token=OAuth2Token( - client_id="YOUR_API_CLIENT_ID", client_secret="YOUR_API_CLIENT_SECRET" -)) -# configure xero-python sdk client -api_client = ApiClient( - api_config, - oauth2_token_saver=lambda x: xero_oauth2_token.update(x), - oauth2_token_getter=lambda : xero_oauth2_token -) -# create an instance of the API class -api_instance = AccountingApi(api_client) - -xero_tenant_id = 'YOUR_XERO_TENANT_ID' # str | Xero identifier for Tenant -employee_id = '00000000-0000-0000-0000-000000000000' # str | Unique identifier for a Employee -try: - # Retrieves a specific employee used in Xero payrun using a unique employee Id - api_response = api_instance.get_employee(xero_tenant_id, employee_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling AccountingApi->get_employee: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xero_tenant_id** | **str**| Xero identifier for Tenant | - **employee_id** | [**str**](.md)| Unique identifier for a Employee | - -### Return type - -[**Employees**](Employees.md) - -### Authorization - -[OAuth2](../README.md#OAuth2) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[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) - -# **get_employees** -> Employees get_employees(xero_tenant_id, if_modified_since=if_modified_since, where=where, order=order) - -Retrieves employees used in Xero payrun - -This endpoint is deprecated and will be removed April 28, 2026 - -### Example - -* OAuth Authentication (OAuth2): -```python -from xero_python.api_client import Configuration, ApiClient -from xero_python.api_client.oauth2 import OAuth2Token -from xero_python.exceptions import ApiException -from xero_python.accounting import AccountingApi -from pprint import pprint - -# Configure OAuth2 access token for authorization: OAuth2 -# simplified version, `xero_oauth2_token` represents permanent global token storage -xero_oauth2_token = {} # set to valid xero oauth2 token dictionary -# create client configuration with client id and client secret for automatic token refresh -api_config = Configuration(oauth2_token=OAuth2Token( - client_id="YOUR_API_CLIENT_ID", client_secret="YOUR_API_CLIENT_SECRET" -)) -# configure xero-python sdk client -api_client = ApiClient( - api_config, - oauth2_token_saver=lambda x: xero_oauth2_token.update(x), - oauth2_token_getter=lambda : xero_oauth2_token -) -# create an instance of the API class -api_instance = AccountingApi(api_client) - -xero_tenant_id = 'YOUR_XERO_TENANT_ID' # str | Xero identifier for Tenant -if_modified_since = '2020-02-06T12:17:43.202-08:00' # datetime | Only records created or modified since this timestamp will be returned (optional) -where = 'Status==\"ACTIVE\"' # str | Filter by an any element (optional) -order = 'LastName ASC' # str | Order by an any element (optional) -try: - # Retrieves employees used in Xero payrun - api_response = api_instance.get_employees(xero_tenant_id, if_modified_since=if_modified_since, where=where, order=order) - pprint(api_response) -except ApiException as e: - print("Exception when calling AccountingApi->get_employees: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xero_tenant_id** | **str**| Xero identifier for Tenant | - **if_modified_since** | **datetime**| Only records created or modified since this timestamp will be returned | [optional] - **where** | **str**| Filter by an any element | [optional] - **order** | **str**| Order by an any element | [optional] - -### Return type - -[**Employees**](Employees.md) - -### Authorization - -[OAuth2](../README.md#OAuth2) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[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) - # **get_expense_claim** > ExpenseClaims get_expense_claim(xero_tenant_id, expense_claim_id) @@ -14751,75 +14544,6 @@ Name | Type | Description | Notes [[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) -# **update_or_create_employees** -> Employees update_or_create_employees(xero_tenant_id, employees, summarize_errors=summarize_errors, idempotency_key=idempotency_key) - -Creates a single new employees used in Xero payrun - -This endpoint is deprecated and will be removed April 28, 2026 - -### Example - -* OAuth Authentication (OAuth2): -```python -from xero_python.api_client import Configuration, ApiClient -from xero_python.api_client.oauth2 import OAuth2Token -from xero_python.exceptions import ApiException -from xero_python.accounting import AccountingApi -from pprint import pprint - -# Configure OAuth2 access token for authorization: OAuth2 -# simplified version, `xero_oauth2_token` represents permanent global token storage -xero_oauth2_token = {} # set to valid xero oauth2 token dictionary -# create client configuration with client id and client secret for automatic token refresh -api_config = Configuration(oauth2_token=OAuth2Token( - client_id="YOUR_API_CLIENT_ID", client_secret="YOUR_API_CLIENT_SECRET" -)) -# configure xero-python sdk client -api_client = ApiClient( - api_config, - oauth2_token_saver=lambda x: xero_oauth2_token.update(x), - oauth2_token_getter=lambda : xero_oauth2_token -) -# create an instance of the API class -api_instance = AccountingApi(api_client) - -xero_tenant_id = 'YOUR_XERO_TENANT_ID' # str | Xero identifier for Tenant -employees = {"Employees":[{"FirstName":"Nick","LastName":"Fury","ExternalLink":{"Url":"http://twitter.com/#!/search/Nick+Fury"}}]} # Employees | Employees with array of Employee object in body of request -summarize_errors = False # bool | If false return 200 OK and mix of successfully created objects and any with validation errors (optional) (default to False) -idempotency_key = 'KEY_VALUE' # str | This allows you to safely retry requests without the risk of duplicate processing. 128 character max. (optional) -try: - # Creates a single new employees used in Xero payrun - api_response = api_instance.update_or_create_employees(xero_tenant_id, employees, summarize_errors=summarize_errors, idempotency_key=idempotency_key) - pprint(api_response) -except ApiException as e: - print("Exception when calling AccountingApi->update_or_create_employees: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xero_tenant_id** | **str**| Xero identifier for Tenant | - **employees** | [**Employees**](Employees.md)| Employees with array of Employee object in body of request | - **summarize_errors** | **bool**| If false return 200 OK and mix of successfully created objects and any with validation errors | [optional] [default to False] - **idempotency_key** | **str**| This allows you to safely retry requests without the risk of duplicate processing. 128 character max. | [optional] - -### Return type - -[**Employees**](Employees.md) - -### Authorization - -[OAuth2](../README.md#OAuth2) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - # **update_or_create_invoices** > Invoices update_or_create_invoices(xero_tenant_id, invoices, summarize_errors=summarize_errors, unitdp=unitdp, idempotency_key=idempotency_key) diff --git a/xero_python/accounting/docs/Prepayment.md b/xero_python/accounting/docs/Prepayment.md index 850e85c9..f163a1e3 100644 --- a/xero_python/accounting/docs/Prepayment.md +++ b/xero_python/accounting/docs/Prepayment.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **updated_date_utc** | **datetime** | UTC timestamp of last update to the prepayment | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **prepayment_id** | **str** | Xero generated unique identifier | [optional] +**branding_theme_id** | **str** | The unique identifier of the branding template applied to a receive prepayment | [optional] **currency_rate** | **float** | The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used | [optional] **remaining_credit** | **float** | The remaining credit balance on the prepayment | [optional] **allocations** | [**list[Allocation]**](Allocation.md) | See Allocations | [optional] diff --git a/xero_python/accounting/models/prepayment.py b/xero_python/accounting/models/prepayment.py index b9fb3094..1376c19d 100644 --- a/xero_python/accounting/models/prepayment.py +++ b/xero_python/accounting/models/prepayment.py @@ -44,6 +44,7 @@ class Prepayment(BaseModel): "updated_date_utc": "datetime[ms-format]", "currency_code": "CurrencyCode", "prepayment_id": "str", + "branding_theme_id": "str", "currency_rate": "float", "remaining_credit": "float", "allocations": "list[Allocation]", @@ -68,6 +69,7 @@ class Prepayment(BaseModel): "updated_date_utc": "UpdatedDateUTC", "currency_code": "CurrencyCode", "prepayment_id": "PrepaymentID", + "branding_theme_id": "BrandingThemeID", "currency_rate": "CurrencyRate", "remaining_credit": "RemainingCredit", "allocations": "Allocations", @@ -93,6 +95,7 @@ def __init__( updated_date_utc=None, currency_code=None, prepayment_id=None, + branding_theme_id=None, currency_rate=None, remaining_credit=None, allocations=None, @@ -117,6 +120,7 @@ def __init__( self._updated_date_utc = None self._currency_code = None self._prepayment_id = None + self._branding_theme_id = None self._currency_rate = None self._remaining_credit = None self._allocations = None @@ -154,6 +158,8 @@ def __init__( self.currency_code = currency_code if prepayment_id is not None: self.prepayment_id = prepayment_id + if branding_theme_id is not None: + self.branding_theme_id = branding_theme_id if currency_rate is not None: self.currency_rate = currency_rate if remaining_credit is not None: @@ -509,6 +515,29 @@ def prepayment_id(self, prepayment_id): self._prepayment_id = prepayment_id + @property + def branding_theme_id(self): + """Gets the branding_theme_id of this Prepayment. # noqa: E501 + + The unique identifier of the branding template applied to a receive prepayment # noqa: E501 + + :return: The branding_theme_id of this Prepayment. # noqa: E501 + :rtype: str + """ + return self._branding_theme_id + + @branding_theme_id.setter + def branding_theme_id(self, branding_theme_id): + """Sets the branding_theme_id of this Prepayment. + + The unique identifier of the branding template applied to a receive prepayment # noqa: E501 + + :param branding_theme_id: The branding_theme_id of this Prepayment. # noqa: E501 + :type: str + """ + + self._branding_theme_id = branding_theme_id + @property def currency_rate(self): """Gets the currency_rate of this Prepayment. # noqa: E501 diff --git a/xero_python/appstore/api/app_store_api.py b/xero_python/appstore/api/app_store_api.py index 31a1b5c6..78a48ecb 100644 --- a/xero_python/appstore/api/app_store_api.py +++ b/xero_python/appstore/api/app_store_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ diff --git a/xero_python/assets/api/asset_api.py b/xero_python/assets/api/asset_api.py index 027c0625..023afa9f 100644 --- a/xero_python/assets/api/asset_api.py +++ b/xero_python/assets/api/asset_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ diff --git a/xero_python/docs/README.md b/xero_python/docs/README.md index fd4a2b04..f203d319 100644 --- a/xero_python/docs/README.md +++ b/xero_python/docs/README.md @@ -3,7 +3,7 @@ These endpoints are related to managing authentication tokens and identity for X The `xero_python` package is automatically generated by the [XeroAPI SDK 2.0 Codegen](https://github.com/xero-github/xeroapi-sdk-codegen) project: -- API version: 12.0.2 +- API version: 13.0.0 - Package version: 11.0.1 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://developer.xero.com](https://developer.xero.com) diff --git a/xero_python/file/api/files_api.py b/xero_python/file/api/files_api.py index d76a6abf..191de484 100644 --- a/xero_python/file/api/files_api.py +++ b/xero_python/file/api/files_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ diff --git a/xero_python/file/docs/Association.md b/xero_python/file/docs/Association.md index 04153507..d9c4b4d7 100644 --- a/xero_python/file/docs/Association.md +++ b/xero_python/file/docs/Association.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes **send_with_object** | **bool** | Boolean flag to determines whether the file is sent with the document it is attached to on client facing communications. Note- The SendWithObject element is only returned when using /Associations/{ObjectId} endpoint. | [optional] **name** | **str** | The name of the associated file. Note- The Name element is only returned when using /Associations/{ObjectId} endpoint. | [optional] **size** | **int** | The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint. | [optional] +**created_date_utc** | **datetime** | The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when using /Associations/{ObjectId} endpoint. | [optional] +**association_date_utc** | **datetime** | The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is only returned when using /Associations/{ObjectId} endpoint. | [optional] **file_id** | **str** | The unique identifier of the file | [optional] **object_id** | **str** | The identifier of the object that the file is being associated with (e.g. InvoiceID, BankTransactionID, ContactID) | [optional] **object_group** | [**ObjectGroup**](ObjectGroup.md) | | [optional] diff --git a/xero_python/file/docs/FilesApi.md b/xero_python/file/docs/FilesApi.md index afb82c92..5c6583fe 100644 --- a/xero_python/file/docs/FilesApi.md +++ b/xero_python/file/docs/FilesApi.md @@ -391,7 +391,7 @@ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # str | Xero identifier for Tenant object_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c' # str | Object id for single object pagesize = 50 # int | pass an optional page size value (optional) page = 2 # int | number of records to skip for pagination (optional) -sort = 'Associations/{ObjectId}?sort=CreatedDateUtc' # str | values to sort by (optional) +sort = 'CreatedDateUtc' # str | values to sort by (optional) (default to 'CreatedDateUtc') direction = 'Associations/{ObjectId}?sort=CreatedDateUtc&direction=DESC' # str | direction to sort by (optional) try: # Retrieves an association object using a unique object ID @@ -409,7 +409,7 @@ Name | Type | Description | Notes **object_id** | [**str**](.md)| Object id for single object | **pagesize** | **int**| pass an optional page size value | [optional] **page** | **int**| number of records to skip for pagination | [optional] - **sort** | **str**| values to sort by | [optional] + **sort** | **str**| values to sort by | [optional] [default to 'CreatedDateUtc'] **direction** | **str**| direction to sort by | [optional] ### Return type diff --git a/xero_python/file/models/association.py b/xero_python/file/models/association.py index 424ea4a9..5c5bf0ae 100644 --- a/xero_python/file/models/association.py +++ b/xero_python/file/models/association.py @@ -33,6 +33,8 @@ class Association(BaseModel): "send_with_object": "bool", "name": "str", "size": "int", + "created_date_utc": "datetime", + "association_date_utc": "datetime", "file_id": "str", "object_id": "str", "object_group": "ObjectGroup", @@ -43,6 +45,8 @@ class Association(BaseModel): "send_with_object": "SendWithObject", "name": "Name", "size": "Size", + "created_date_utc": "CreatedDateUtc", + "association_date_utc": "AssociationDateUtc", "file_id": "FileId", "object_id": "ObjectId", "object_group": "ObjectGroup", @@ -54,6 +58,8 @@ def __init__( send_with_object=None, name=None, size=None, + created_date_utc=None, + association_date_utc=None, file_id=None, object_id=None, object_group=None, @@ -64,6 +70,8 @@ def __init__( self._send_with_object = None self._name = None self._size = None + self._created_date_utc = None + self._association_date_utc = None self._file_id = None self._object_id = None self._object_group = None @@ -76,6 +84,10 @@ def __init__( self.name = name if size is not None: self.size = size + if created_date_utc is not None: + self.created_date_utc = created_date_utc + if association_date_utc is not None: + self.association_date_utc = association_date_utc if file_id is not None: self.file_id = file_id if object_id is not None: @@ -154,6 +166,52 @@ def size(self, size): self._size = size + @property + def created_date_utc(self): + """Gets the created_date_utc of this Association. # noqa: E501 + + The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when using /Associations/{ObjectId} endpoint. # noqa: E501 + + :return: The created_date_utc of this Association. # noqa: E501 + :rtype: datetime + """ + return self._created_date_utc + + @created_date_utc.setter + def created_date_utc(self, created_date_utc): + """Sets the created_date_utc of this Association. + + The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when using /Associations/{ObjectId} endpoint. # noqa: E501 + + :param created_date_utc: The created_date_utc of this Association. # noqa: E501 + :type: datetime + """ + + self._created_date_utc = created_date_utc + + @property + def association_date_utc(self): + """Gets the association_date_utc of this Association. # noqa: E501 + + The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is only returned when using /Associations/{ObjectId} endpoint. # noqa: E501 + + :return: The association_date_utc of this Association. # noqa: E501 + :rtype: datetime + """ + return self._association_date_utc + + @association_date_utc.setter + def association_date_utc(self, association_date_utc): + """Sets the association_date_utc of this Association. + + The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is only returned when using /Associations/{ObjectId} endpoint. # noqa: E501 + + :param association_date_utc: The association_date_utc of this Association. # noqa: E501 + :type: datetime + """ + + self._association_date_utc = association_date_utc + @property def file_id(self): """Gets the file_id of this Association. # noqa: E501 diff --git a/xero_python/finance/api/finance_api.py b/xero_python/finance/api/finance_api.py index 026935db..f60652cf 100644 --- a/xero_python/finance/api/finance_api.py +++ b/xero_python/finance/api/finance_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ diff --git a/xero_python/identity/api/identity_api.py b/xero_python/identity/api/identity_api.py index 9ee4df18..2da2c34e 100644 --- a/xero_python/identity/api/identity_api.py +++ b/xero_python/identity/api/identity_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ diff --git a/xero_python/payrollau/api/payroll_au_api.py b/xero_python/payrollau/api/payroll_au_api.py index 2c866159..1d3514df 100644 --- a/xero_python/payrollau/api/payroll_au_api.py +++ b/xero_python/payrollau/api/payroll_au_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ diff --git a/xero_python/payrollauv2/api/payroll_au_v2_api.py b/xero_python/payrollauv2/api/payroll_au_v2_api.py index b1f8ba62..98f63137 100644 --- a/xero_python/payrollauv2/api/payroll_au_v2_api.py +++ b/xero_python/payrollauv2/api/payroll_au_v2_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ diff --git a/xero_python/payrollnz/api/payroll_nz_api.py b/xero_python/payrollnz/api/payroll_nz_api.py index 3a6ccd13..f2c939b1 100644 --- a/xero_python/payrollnz/api/payroll_nz_api.py +++ b/xero_python/payrollnz/api/payroll_nz_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ diff --git a/xero_python/payrolluk/api/payroll_uk_api.py b/xero_python/payrolluk/api/payroll_uk_api.py index 1c1e3ec5..38beaf0d 100644 --- a/xero_python/payrolluk/api/payroll_uk_api.py +++ b/xero_python/payrolluk/api/payroll_uk_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """ diff --git a/xero_python/project/api/project_api.py b/xero_python/project/api/project_api.py index 86c3b315..4ba868b9 100644 --- a/xero_python/project/api/project_api.py +++ b/xero_python/project/api/project_api.py @@ -21,7 +21,7 @@ """ """ - OpenAPI spec version: 12.0.2 + OpenAPI spec version: 13.0.0 """