From 79841464043b650a142576b4bf92c0e224890af8 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 19 Jul 2024 16:24:48 +0000
Subject: [PATCH] Automated update by SDK Generator version:1.4.0
commit:a1b0fd8
---
docs/apis/HrisApi.md | 5 ++++-
src/apideck/api/hris_api.py | 6 ++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/docs/apis/HrisApi.md b/docs/apis/HrisApi.md
index 4bd73e736..2ab84f3a4 100644
--- a/docs/apis/HrisApi.md
+++ b/docs/apis/HrisApi.md
@@ -2207,6 +2207,7 @@ import apideck
from apideck.api import hris_api
from apideck.model.employees_one_filter import EmployeesOneFilter
from apideck.model.get_employee_response import GetEmployeeResponse
+from apideck.model.pass_through_query import PassThroughQuery
from apideck.model.bad_request_response import BadRequestResponse
from apideck.model.payment_required_response import PaymentRequiredResponse
from apideck.model.unexpected_error_response import UnexpectedErrorResponse
@@ -2244,6 +2245,7 @@ with apideck.ApiClient(configuration) as api_client:
filter = EmployeesOneFilter(
company_id="1234",
) # EmployeesOneFilter | Apply filters (optional)
+ pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
# example passing only required values which don't have defaults set
try:
@@ -2257,7 +2259,7 @@ with apideck.ApiClient(configuration) as api_client:
# and optional values
try:
# Get Employee
- api_response = api_instance.employees_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields, filter=filter)
+ api_response = api_instance.employees_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields, filter=filter, pass_through=pass_through)
pprint(api_response)
except apideck.ApiException as e:
print("Exception when calling HrisApi->employees_one: %s\n" % e)
@@ -2275,6 +2277,7 @@ Name | Type | Description | Notes
**raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False
**fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional]
**filter** | **EmployeesOneFilter**| Apply filters | [optional]
+ **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional]
### Return type
diff --git a/src/apideck/api/hris_api.py b/src/apideck/api/hris_api.py
index 4da1fb55e..b7610d613 100644
--- a/src/apideck/api/hris_api.py
+++ b/src/apideck/api/hris_api.py
@@ -1372,6 +1372,7 @@ def __init__(self, api_client=None):
'raw',
'fields',
'filter',
+ 'pass_through',
],
'required': [
'id',
@@ -1404,6 +1405,8 @@ def __init__(self, api_client=None):
(str, none_type,),
'filter':
(EmployeesOneFilter,),
+ 'pass_through':
+ (PassThroughQuery,),
},
'attribute_map': {
'id': 'id',
@@ -1413,6 +1416,7 @@ def __init__(self, api_client=None):
'raw': 'raw',
'fields': 'fields',
'filter': 'filter',
+ 'pass_through': 'pass_through',
},
'location_map': {
'id': 'path',
@@ -1422,6 +1426,7 @@ def __init__(self, api_client=None):
'raw': 'query',
'fields': 'query',
'filter': 'query',
+ 'pass_through': 'query',
},
'collection_format_map': {
}
@@ -3438,6 +3443,7 @@ def employees_one(
raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False
fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional]
filter (EmployeesOneFilter): Apply filters. [optional]
+ pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads. [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object