Skip to content

Commit 047f4be

Browse files
authored
Merge pull request #20 from merge-api/add-application-to-candidate-write
allow applications to be passed into candidate
2 parents e3a0f87 + 2646f44 commit 047f4be

File tree

6 files changed

+14
-2
lines changed

6 files changed

+14
-2
lines changed

MergeATSClient/api/link_token_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
validate_and_convert_types
2424
)
2525
from MergeATSClient.model.end_user_details_request import EndUserDetailsRequest
26+
from MergeATSClient.model.end_user_details import EndUserDetails
2627
from MergeATSClient.model.link_token import LinkToken
2728

2829

MergeATSClient/api/passthrough_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
validate_and_convert_types
2424
)
2525
from MergeATSClient.model.data_passthrough_request import DataPassthroughRequest
26+
from MergeATSClient.model.data_passthrough import DataPassthrough
2627
from MergeATSClient.model.remote_response import RemoteResponse
2728

2829

MergeATSClient/model/candidate_request.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ def openapi_types():
9999
'email_addresses': ([EmailAddressRequest],), # noqa: E501
100100
'urls': ([UrlRequest],), # noqa: E501
101101
'tags': ([str],), # noqa: E501
102+
'applications': ([str],), # noqa: E501
103+
'attachments': ([str],), # noqa: E501
102104
}
103105

104106
@cached_property
@@ -122,6 +124,8 @@ def discriminator():
122124
'email_addresses': 'email_addresses', # noqa: E501
123125
'urls': 'urls', # noqa: E501
124126
'tags': 'tags', # noqa: E501
127+
'applications': 'applications', # noqa: E501
128+
'attachments': 'attachments', # noqa: E501
125129
}
126130

127131
_composed_schemas = {}
@@ -185,6 +189,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
185189
email_addresses ([EmailAddressRequest]): [optional] # noqa: E501
186190
urls ([UrlRequest]): [optional] # noqa: E501
187191
tags ([str]): [optional] # noqa: E501
192+
applications ([str]): [optional] # noqa: E501
193+
attachments ([str]): [optional] # noqa: E501
188194
"""
189195

190196
_check_type = kwargs.pop('_check_type', True)

docs/Candidate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Name | Type | Description | Notes
2020
**email_addresses** | [**[EmailAddress]**](EmailAddress.md) | | [optional]
2121
**urls** | [**[Url]**](Url.md) | | [optional]
2222
**tags** | **[str]** | | [optional]
23-
**applications** | **[str]** | | [optional] [readonly]
24-
**attachments** | **[str]** | | [optional] [readonly]
23+
**applications** | **[str]** | | [optional]
24+
**attachments** | **[str]** | | [optional]
2525
**remote_data** | [**[RemoteData], none_type**](RemoteData.md) | | [optional] [readonly]
2626

2727
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/CandidateRequest.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Name | Type | Description | Notes
1919
**email_addresses** | [**[EmailAddressRequest]**](EmailAddressRequest.md) | | [optional]
2020
**urls** | [**[UrlRequest]**](UrlRequest.md) | | [optional]
2121
**tags** | **[str]** | | [optional]
22+
**applications** | **[str]** | | [optional]
23+
**attachments** | **[str]** | | [optional]
2224

2325
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2426

docs/CandidatesApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ with MergeATSClient.ApiClient(configuration) as api_client:
6666
email_addresses=[{"value":"[email protected]","email_address_type":"PERSONAL"}],
6767
urls=[{"value":"http://alturl.com/p749b","url_type":"BLOG"}],
6868
tags=["High-Priority"],
69+
applications=["29eb9867-ce2a-403f-b8ce-f2844b89f078","b4d08e5c-de00-4d64-a29f-66addac9af99","4ff877d2-fb3e-4a5b-a7a5-168ddf2ffa56"],
70+
attachments=["bea08964-32b4-4a20-8bb4-2612ba09de1d"],
6971
) # CandidateRequest | (optional)
7072

7173
# example passing only required values which don't have defaults set

0 commit comments

Comments
 (0)