Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ MergeATSClient/api/applications_api.py
MergeATSClient/api/attachments_api.py
MergeATSClient/api/available_actions_api.py
MergeATSClient/api/candidates_api.py
MergeATSClient/api/delete_account_api.py
MergeATSClient/api/departments_api.py
MergeATSClient/api/eeocs_api.py
MergeATSClient/api/generate_key_api.py
MergeATSClient/api/interviews_api.py
MergeATSClient/api/issues_api.py
MergeATSClient/api/job_interview_stages_api.py
MergeATSClient/api/jobs_api.py
MergeATSClient/api/link_token_api.py
Expand Down Expand Up @@ -53,6 +55,8 @@ MergeATSClient/model/email_address_type_enum.py
MergeATSClient/model/end_user_details_request.py
MergeATSClient/model/gender_enum.py
MergeATSClient/model/generate_remote_key_request.py
MergeATSClient/model/issue.py
MergeATSClient/model/issue_status_enum.py
MergeATSClient/model/job.py
MergeATSClient/model/job_interview_stage.py
MergeATSClient/model/job_status_enum.py
Expand All @@ -69,6 +73,7 @@ MergeATSClient/model/paginated_attachment_list.py
MergeATSClient/model/paginated_candidate_list.py
MergeATSClient/model/paginated_department_list.py
MergeATSClient/model/paginated_eeoc_list.py
MergeATSClient/model/paginated_issue_list.py
MergeATSClient/model/paginated_job_interview_stage_list.py
MergeATSClient/model/paginated_job_list.py
MergeATSClient/model/paginated_offer_list.py
Expand Down Expand Up @@ -128,6 +133,7 @@ docs/Candidate.md
docs/CandidateRequest.md
docs/CandidatesApi.md
docs/DataPassthroughRequest.md
docs/DeleteAccountApi.md
docs/Department.md
docs/DepartmentsApi.md
docs/DisabilityStatusEnum.md
Expand All @@ -141,6 +147,9 @@ docs/GenderEnum.md
docs/GenerateKeyApi.md
docs/GenerateRemoteKeyRequest.md
docs/InterviewsApi.md
docs/Issue.md
docs/IssueStatusEnum.md
docs/IssuesApi.md
docs/Job.md
docs/JobInterviewStage.md
docs/JobInterviewStagesApi.md
Expand All @@ -162,6 +171,7 @@ docs/PaginatedAttachmentList.md
docs/PaginatedCandidateList.md
docs/PaginatedDepartmentList.md
docs/PaginatedEEOCList.md
docs/PaginatedIssueList.md
docs/PaginatedJobInterviewStageList.md
docs/PaginatedJobList.md
docs/PaginatedOfferList.md
Expand Down
8 changes: 2 additions & 6 deletions MergeATSClient/api/applications_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def __init__(self, api_client=None):
def __applications_create(
self,
x_account_token,
remote_user_id,
**kwargs
):
"""applications_create # noqa: E501
Expand All @@ -51,14 +50,14 @@ def __applications_create(
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.applications_create(x_account_token, remote_user_id, async_req=True)
>>> thread = api.applications_create(x_account_token, async_req=True)
>>> result = thread.get()

Args:
x_account_token (str): Token identifying the end user.
remote_user_id (str): The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.

Keyword Args:
remote_user_id (str): The ID of the RemoteUser modifying the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.. [optional]
run_async (bool): Whether or not third-party updates should be run asynchronously.. [optional]
application_request (ApplicationRequest): [optional]
_return_http_data_only (bool): response data without head status
Expand Down Expand Up @@ -107,8 +106,6 @@ def __applications_create(
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['x_account_token'] = \
x_account_token
kwargs['remote_user_id'] = \
remote_user_id
return self.call_with_http_info(**kwargs)

self.applications_create = _Endpoint(
Expand All @@ -131,7 +128,6 @@ def __applications_create(
],
'required': [
'x_account_token',
'remote_user_id',
],
'nullable': [
],
Expand Down
8 changes: 2 additions & 6 deletions MergeATSClient/api/attachments_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def __init__(self, api_client=None):
def __attachments_create(
self,
x_account_token,
remote_user_id,
**kwargs
):
"""attachments_create # noqa: E501
Expand All @@ -51,14 +50,14 @@ def __attachments_create(
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.attachments_create(x_account_token, remote_user_id, async_req=True)
>>> thread = api.attachments_create(x_account_token, async_req=True)
>>> result = thread.get()

Args:
x_account_token (str): Token identifying the end user.
remote_user_id (str): The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.

Keyword Args:
remote_user_id (str): The ID of the RemoteUser modifying the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.. [optional]
run_async (bool): Whether or not third-party updates should be run asynchronously.. [optional]
attachment_request (AttachmentRequest): [optional]
_return_http_data_only (bool): response data without head status
Expand Down Expand Up @@ -107,8 +106,6 @@ def __attachments_create(
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['x_account_token'] = \
x_account_token
kwargs['remote_user_id'] = \
remote_user_id
return self.call_with_http_info(**kwargs)

self.attachments_create = _Endpoint(
Expand All @@ -131,7 +128,6 @@ def __attachments_create(
],
'required': [
'x_account_token',
'remote_user_id',
],
'nullable': [
],
Expand Down
8 changes: 2 additions & 6 deletions MergeATSClient/api/candidates_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def __init__(self, api_client=None):
def __candidates_create(
self,
x_account_token,
remote_user_id,
**kwargs
):
"""candidates_create # noqa: E501
Expand All @@ -51,14 +50,14 @@ def __candidates_create(
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.candidates_create(x_account_token, remote_user_id, async_req=True)
>>> thread = api.candidates_create(x_account_token, async_req=True)
>>> result = thread.get()

Args:
x_account_token (str): Token identifying the end user.
remote_user_id (str): The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.

Keyword Args:
remote_user_id (str): The ID of the RemoteUser modifying the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.. [optional]
run_async (bool): Whether or not third-party updates should be run asynchronously.. [optional]
candidate_request (CandidateRequest): [optional]
_return_http_data_only (bool): response data without head status
Expand Down Expand Up @@ -107,8 +106,6 @@ def __candidates_create(
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['x_account_token'] = \
x_account_token
kwargs['remote_user_id'] = \
remote_user_id
return self.call_with_http_info(**kwargs)

self.candidates_create = _Endpoint(
Expand All @@ -131,7 +128,6 @@ def __candidates_create(
],
'required': [
'x_account_token',
'remote_user_id',
],
'nullable': [
],
Expand Down
154 changes: 154 additions & 0 deletions MergeATSClient/api/delete_account_api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
"""
Merge ATS API

The unified API for building rich integrations with multiple Applicant Tracking System platforms. # noqa: E501

The version of the OpenAPI document: 1.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

from MergeATSClient.api_client import ApiClient, Endpoint as _Endpoint
from MergeATSClient.model_utils import ( # noqa: F401
check_allowed_values,
check_validations,
date,
datetime,
file_type,
none_type,
validate_and_convert_types
)


class DeleteAccountApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech

Do not edit the class manually.
"""

def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client

def __delete_account_create(
self,
x_account_token,
**kwargs
):
"""delete_account_create # noqa: E501

Delete a linked account. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.delete_account_create(x_account_token, async_req=True)
>>> result = thread.get()

Args:
x_account_token (str): Token identifying the end user.

Keyword Args:
_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
will be returned without reading/decoding response data.
Default is True.
_request_timeout (float/tuple): timeout setting for this request. If one
number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
async_req (bool): execute request asynchronously

Returns:
None
If the method is called asynchronously, returns the request
thread.
"""
kwargs['async_req'] = kwargs.get(
'async_req', False
)
kwargs['_return_http_data_only'] = kwargs.get(
'_return_http_data_only', True
)
kwargs['_preload_content'] = kwargs.get(
'_preload_content', True
)
kwargs['_request_timeout'] = kwargs.get(
'_request_timeout', None
)
kwargs['_check_input_type'] = kwargs.get(
'_check_input_type', True
)
kwargs['_check_return_type'] = kwargs.get(
'_check_return_type', True
)
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['x_account_token'] = \
x_account_token
return self.call_with_http_info(**kwargs)

self.delete_account_create = _Endpoint(
settings={
'response_type': None,
'auth': [
'tokenAuth'
],
'endpoint_path': '/delete-account',
'operation_id': 'delete_account_create',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'x_account_token',
],
'required': [
'x_account_token',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'x_account_token':
(str,),
},
'attribute_map': {
'x_account_token': 'X-Account-Token',
},
'location_map': {
'x_account_token': 'header',
},
'collection_format_map': {
}
},
headers_map={
'accept': [],
'content_type': [],
},
api_client=api_client,
callable=__delete_account_create
)
8 changes: 2 additions & 6 deletions MergeATSClient/api/interviews_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def __init__(self, api_client=None):
def __interviews_create(
self,
x_account_token,
remote_user_id,
**kwargs
):
"""interviews_create # noqa: E501
Expand All @@ -51,14 +50,14 @@ def __interviews_create(
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.interviews_create(x_account_token, remote_user_id, async_req=True)
>>> thread = api.interviews_create(x_account_token, async_req=True)
>>> result = thread.get()

Args:
x_account_token (str): Token identifying the end user.
remote_user_id (str): The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.

Keyword Args:
remote_user_id (str): The ID of the RemoteUser modifying the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.. [optional]
run_async (bool): Whether or not third-party updates should be run asynchronously.. [optional]
scheduled_interview_request (ScheduledInterviewRequest): [optional]
_return_http_data_only (bool): response data without head status
Expand Down Expand Up @@ -107,8 +106,6 @@ def __interviews_create(
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['x_account_token'] = \
x_account_token
kwargs['remote_user_id'] = \
remote_user_id
return self.call_with_http_info(**kwargs)

self.interviews_create = _Endpoint(
Expand All @@ -131,7 +128,6 @@ def __interviews_create(
],
'required': [
'x_account_token',
'remote_user_id',
],
'nullable': [
],
Expand Down
Loading