merge_ats_client 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -6
- data/docs/AccountDetails.md +3 -1
- data/docs/AccountDetailsAndActions.md +2 -0
- data/docs/ActivitiesApi.md +7 -3
- data/docs/Activity.md +1 -1
- data/docs/ApplicationsApi.md +84 -2
- data/docs/AttachmentsApi.md +7 -3
- data/docs/CandidatesApi.md +2 -2
- data/docs/DataPassthroughRequest.md +3 -1
- data/docs/Department.md +1 -1
- data/docs/DepartmentsApi.md +2 -2
- data/docs/EEOC.md +1 -1
- data/docs/EeocsApi.md +7 -3
- data/docs/EndUserDetailsRequest.md +9 -7
- data/docs/InterviewsApi.md +7 -3
- data/docs/Job.md +4 -2
- data/docs/JobInterviewStage.md +2 -2
- data/docs/JobInterviewStagesApi.md +2 -2
- data/docs/JobsApi.md +7 -3
- data/docs/LinkToken.md +3 -1
- data/docs/LinkedAccountsApi.md +2 -0
- data/docs/Offer.md +1 -1
- data/docs/OffersApi.md +7 -3
- data/docs/Office.md +1 -1
- data/docs/OfficesApi.md +2 -2
- data/docs/RejectReason.md +1 -1
- data/docs/RejectReasonsApi.md +2 -2
- data/docs/RemoteResponse.md +5 -1
- data/docs/RemoteUser.md +1 -1
- data/docs/ResponseTypeEnum.md +15 -0
- data/docs/ScheduledInterview.md +1 -1
- data/docs/Scorecard.md +1 -1
- data/docs/ScorecardsApi.md +7 -3
- data/docs/SyncStatus.md +2 -2
- data/docs/SyncStatusApi.md +1 -1
- data/docs/Tag.md +1 -1
- data/docs/TagsApi.md +2 -2
- data/docs/UpdateApplicationStageRequest.md +20 -0
- data/docs/UsersApi.md +7 -3
- data/lib/merge_ats_client/api/activities_api.rb +16 -2
- data/lib/merge_ats_client/api/applications_api.rb +80 -2
- data/lib/merge_ats_client/api/attachments_api.rb +16 -2
- data/lib/merge_ats_client/api/candidates_api.rb +2 -2
- data/lib/merge_ats_client/api/departments_api.rb +2 -2
- data/lib/merge_ats_client/api/eeocs_api.rb +16 -2
- data/lib/merge_ats_client/api/interviews_api.rb +16 -2
- data/lib/merge_ats_client/api/job_interview_stages_api.rb +2 -2
- data/lib/merge_ats_client/api/jobs_api.rb +16 -2
- data/lib/merge_ats_client/api/linked_accounts_api.rb +3 -0
- data/lib/merge_ats_client/api/offers_api.rb +16 -2
- data/lib/merge_ats_client/api/offices_api.rb +2 -2
- data/lib/merge_ats_client/api/reject_reasons_api.rb +2 -2
- data/lib/merge_ats_client/api/scorecards_api.rb +16 -2
- data/lib/merge_ats_client/api/sync_status_api.rb +2 -2
- data/lib/merge_ats_client/api/tags_api.rb +2 -2
- data/lib/merge_ats_client/api/users_api.rb +16 -2
- data/lib/merge_ats_client/models/access_role_enum.rb +17 -7
- data/lib/merge_ats_client/models/account_details.rb +15 -4
- data/lib/merge_ats_client/models/account_details_and_actions.rb +12 -1
- data/lib/merge_ats_client/models/account_details_and_actions_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/activity.rb +1 -1
- data/lib/merge_ats_client/models/activity_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/application.rb +1 -1
- data/lib/merge_ats_client/models/application_request.rb +3 -3
- data/lib/merge_ats_client/models/attachment_request.rb +2 -2
- data/lib/merge_ats_client/models/attachment_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/candidate.rb +1 -1
- data/lib/merge_ats_client/models/candidate_request.rb +3 -3
- data/lib/merge_ats_client/models/categories_enum.rb +17 -7
- data/lib/merge_ats_client/models/category_enum.rb +17 -7
- data/lib/merge_ats_client/models/data_passthrough_request.rb +15 -6
- data/lib/merge_ats_client/models/department.rb +1 -1
- data/lib/merge_ats_client/models/disability_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/eeoc.rb +1 -1
- data/lib/merge_ats_client/models/email_address_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/encoding_enum.rb +18 -7
- data/lib/merge_ats_client/models/end_user_details_request.rb +28 -11
- data/lib/merge_ats_client/models/gender_enum.rb +17 -7
- data/lib/merge_ats_client/models/issue.rb +1 -1
- data/lib/merge_ats_client/models/issue_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/job.rb +14 -3
- data/lib/merge_ats_client/models/job_interview_stage.rb +3 -2
- data/lib/merge_ats_client/models/job_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/link_token.rb +13 -4
- data/lib/merge_ats_client/models/meta_response.rb +1 -1
- data/lib/merge_ats_client/models/method_enum.rb +17 -7
- data/lib/merge_ats_client/models/offer.rb +1 -1
- data/lib/merge_ats_client/models/offer_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/office.rb +1 -1
- data/lib/merge_ats_client/models/overall_recommendation_enum.rb +17 -7
- data/lib/merge_ats_client/models/phone_number_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/race_enum.rb +17 -7
- data/lib/merge_ats_client/models/reason_enum.rb +17 -7
- data/lib/merge_ats_client/models/reject_reason.rb +1 -1
- data/lib/merge_ats_client/models/remote_response.rb +23 -9
- data/lib/merge_ats_client/models/remote_user.rb +1 -1
- data/lib/merge_ats_client/models/request_format_enum.rb +17 -7
- data/lib/merge_ats_client/models/response_type_enum.rb +45 -0
- data/lib/merge_ats_client/models/scheduled_interview.rb +2 -2
- data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/scorecard.rb +2 -2
- data/lib/merge_ats_client/models/sync_status.rb +0 -10
- data/lib/merge_ats_client/models/sync_status_status_enum.rb +18 -7
- data/lib/merge_ats_client/models/tag.rb +2 -2
- data/lib/merge_ats_client/models/{remote_data_request.rb → update_application_stage_request.rb} +26 -35
- data/lib/merge_ats_client/models/url_type_enum.rb +18 -7
- data/lib/merge_ats_client/models/veteran_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/visibility_enum.rb +17 -7
- data/lib/merge_ats_client/version.rb +1 -1
- data/lib/merge_ats_client.rb +2 -1
- data/spec/api/activities_api_spec.rb +3 -1
- data/spec/api/applications_api_spec.rb +16 -1
- data/spec/api/attachments_api_spec.rb +3 -1
- data/spec/api/candidates_api_spec.rb +1 -1
- data/spec/api/departments_api_spec.rb +1 -1
- data/spec/api/eeocs_api_spec.rb +3 -1
- data/spec/api/interviews_api_spec.rb +3 -1
- data/spec/api/job_interview_stages_api_spec.rb +1 -1
- data/spec/api/jobs_api_spec.rb +3 -1
- data/spec/api/linked_accounts_api_spec.rb +1 -0
- data/spec/api/offers_api_spec.rb +3 -1
- data/spec/api/offices_api_spec.rb +1 -1
- data/spec/api/reject_reasons_api_spec.rb +1 -1
- data/spec/api/scorecards_api_spec.rb +3 -1
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/tags_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +3 -1
- data/spec/models/account_details_and_actions_spec.rb +6 -0
- data/spec/models/account_details_spec.rb +6 -0
- data/spec/models/data_passthrough_request_spec.rb +6 -0
- data/spec/models/end_user_details_request_spec.rb +6 -0
- data/spec/models/job_spec.rb +6 -0
- data/spec/models/link_token_spec.rb +6 -0
- data/spec/models/remote_response_spec.rb +12 -0
- data/spec/models/response_type_enum_spec.rb +28 -0
- data/spec/models/update_application_stage_request_spec.rb +40 -0
- metadata +115 -108
data/docs/JobsApi.md
CHANGED
@@ -37,11 +37,12 @@ opts = {
|
|
37
37
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
38
38
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
39
39
|
expand: 'departments', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
|
-
include_deleted_data: true, # Boolean | Whether to include data that was deleted
|
40
|
+
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
41
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
42
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
43
43
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
44
44
|
page_size: 56, # Integer | Number of results to return per page.
|
45
|
+
remote_fields: 'status', # String | Which fields should be returned in non-normalized form.
|
45
46
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
46
47
|
status: 'ARCHIVED' # String | If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING')
|
47
48
|
}
|
@@ -83,11 +84,12 @@ end
|
|
83
84
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
84
85
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
85
86
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
86
|
-
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted
|
87
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
87
88
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
88
89
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
89
90
|
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
90
91
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
92
|
+
| **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
91
93
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
92
94
|
| **status** | **String** | If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING') | [optional] |
|
93
95
|
|
@@ -131,7 +133,8 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
|
|
131
133
|
id = TODO # String |
|
132
134
|
opts = {
|
133
135
|
expand: 'departments', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
134
|
-
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
136
|
+
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
137
|
+
remote_fields: 'status' # String | Which fields should be returned in non-normalized form.
|
135
138
|
}
|
136
139
|
|
137
140
|
begin
|
@@ -169,6 +172,7 @@ end
|
|
169
172
|
| **id** | [**String**](.md) | | |
|
170
173
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
171
174
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
175
|
+
| **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
172
176
|
|
173
177
|
### Return type
|
174
178
|
|
data/docs/LinkToken.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **link_token** | **String** | | |
|
8
8
|
| **integration_name** | **String** | | |
|
9
|
+
| **magic_link_url** | **String** | | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'merge_ats_client'
|
|
14
15
|
|
15
16
|
instance = MergeATSClient::LinkToken.new(
|
16
17
|
link_token: necdP7FtdASl1fQwm62be2_dM4wBG8_GactqoUV0,
|
17
|
-
integration_name: Lever
|
18
|
+
integration_name: Lever,
|
19
|
+
magic_link_url: https://link.merge.dev/asdfjkl12345jsndfgi2i83n
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
data/docs/LinkedAccountsApi.md
CHANGED
@@ -38,6 +38,7 @@ opts = {
|
|
38
38
|
end_user_origin_ids: 'end_user_origin_ids_example', # String | Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
|
39
39
|
id: TODO, # String |
|
40
40
|
ids: 'ids_example', # String | Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
|
41
|
+
include_duplicates: true, # Boolean | If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account.
|
41
42
|
integration_name: 'integration_name_example', # String | If provided, will only return linked accounts associated with the given integration name.
|
42
43
|
is_test_account: 'is_test_account_example', # String | If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
|
43
44
|
page_size: 56, # Integer | Number of results to return per page.
|
@@ -83,6 +84,7 @@ end
|
|
83
84
|
| **end_user_origin_ids** | **String** | Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. | [optional] |
|
84
85
|
| **id** | [**String**](.md) | | [optional] |
|
85
86
|
| **ids** | **String** | Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. | [optional] |
|
87
|
+
| **include_duplicates** | **Boolean** | If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. | [optional] |
|
86
88
|
| **integration_name** | **String** | If provided, will only return linked accounts associated with the given integration name. | [optional] |
|
87
89
|
| **is_test_account** | **String** | If included, will only include test linked accounts. If not included, will only include non-test linked accounts. | [optional] |
|
88
90
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
data/docs/Offer.md
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
| **start_date** | **Time** | The employment start date on the offer. | [optional] |
|
15
15
|
| **status** | [**OfferStatusEnum**](OfferStatusEnum.md) | The offer's status. | [optional] |
|
16
16
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
17
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
17
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
data/docs/OffersApi.md
CHANGED
@@ -38,11 +38,12 @@ opts = {
|
|
38
38
|
creator_id: 'creator_id_example', # String | If provided, will only return offers created by this user.
|
39
39
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
40
40
|
expand: 'application', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
41
|
-
include_deleted_data: true, # Boolean | Whether to include data that was deleted
|
41
|
+
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
42
42
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
43
43
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
44
44
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
45
45
|
page_size: 56, # Integer | Number of results to return per page.
|
46
|
+
remote_fields: 'status', # String | Which fields should be returned in non-normalized form.
|
46
47
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
47
48
|
}
|
48
49
|
|
@@ -84,11 +85,12 @@ end
|
|
84
85
|
| **creator_id** | **String** | If provided, will only return offers created by this user. | [optional] |
|
85
86
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
86
87
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
87
|
-
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted
|
88
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
88
89
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
89
90
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
90
91
|
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
91
92
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
93
|
+
| **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
92
94
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
93
95
|
|
94
96
|
### Return type
|
@@ -131,7 +133,8 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
|
|
131
133
|
id = TODO # String |
|
132
134
|
opts = {
|
133
135
|
expand: 'application', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
134
|
-
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
136
|
+
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
137
|
+
remote_fields: 'status' # String | Which fields should be returned in non-normalized form.
|
135
138
|
}
|
136
139
|
|
137
140
|
begin
|
@@ -169,6 +172,7 @@ end
|
|
169
172
|
| **id** | [**String**](.md) | | |
|
170
173
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
171
174
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
175
|
+
| **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
172
176
|
|
173
177
|
### Return type
|
174
178
|
|
data/docs/Office.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
| **name** | **String** | The office's name. | [optional] |
|
10
10
|
| **location** | **String** | The office's location. | [optional] |
|
11
11
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
12
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
12
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
13
13
|
|
14
14
|
## Example
|
15
15
|
|
data/docs/OfficesApi.md
CHANGED
@@ -35,7 +35,7 @@ opts = {
|
|
35
35
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
36
36
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
37
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
|
-
include_deleted_data: true, # Boolean | Whether to include data that was deleted
|
38
|
+
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
39
39
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
40
40
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
41
41
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
@@ -78,7 +78,7 @@ end
|
|
78
78
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
79
79
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
80
80
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
81
|
-
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted
|
81
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
82
82
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
83
83
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
84
84
|
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
data/docs/RejectReason.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
9
|
| **name** | **String** | The rejection reason’s name. | [optional] |
|
10
10
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
11
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
11
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|
data/docs/RejectReasonsApi.md
CHANGED
@@ -35,7 +35,7 @@ opts = {
|
|
35
35
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
36
36
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
37
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
|
-
include_deleted_data: true, # Boolean | Whether to include data that was deleted
|
38
|
+
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
39
39
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
40
40
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
41
41
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
@@ -78,7 +78,7 @@ end
|
|
78
78
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
79
79
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
80
80
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
81
|
-
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted
|
81
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
82
82
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
83
83
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
84
84
|
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
data/docs/RemoteResponse.md
CHANGED
@@ -7,7 +7,9 @@
|
|
7
7
|
| **method** | **String** | | |
|
8
8
|
| **path** | **String** | | |
|
9
9
|
| **status** | **Integer** | | |
|
10
|
-
| **response** | [**
|
10
|
+
| **response** | [**AnyType**](.md) | | |
|
11
|
+
| **response_headers** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
12
|
+
| **response_type** | [**ResponseTypeEnum**](ResponseTypeEnum.md) | | [optional] |
|
11
13
|
| **headers** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
12
14
|
|
13
15
|
## Example
|
@@ -20,6 +22,8 @@ instance = MergeATSClient::RemoteResponse.new(
|
|
20
22
|
path: /scooters,
|
21
23
|
status: 200,
|
22
24
|
response: {"scooters":[{"company":"Lime","model":"Gen 2.5"},{"company":"Bird","model":"Bird Zero"}]},
|
25
|
+
response_headers: {"X-Page-Token":"value"},
|
26
|
+
response_type: JSON,
|
23
27
|
headers: {"EXTRA-HEADER":"value","Authorization":"<redacted>"}
|
24
28
|
)
|
25
29
|
```
|
data/docs/RemoteUser.md
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
| **remote_created_at** | **Time** | When the third party's user was created. | [optional] |
|
14
14
|
| **access_role** | [**AccessRoleEnum**](AccessRoleEnum.md) | The user's role. | [optional] |
|
15
15
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
16
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
16
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
17
17
|
|
18
18
|
## Example
|
19
19
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# MergeATSClient::ResponseTypeEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'merge_ats_client'
|
12
|
+
|
13
|
+
instance = MergeATSClient::ResponseTypeEnum.new()
|
14
|
+
```
|
15
|
+
|
data/docs/ScheduledInterview.md
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
| **remote_updated_at** | **Time** | When the third party's interview was updated. | [optional] |
|
18
18
|
| **status** | [**ScheduledInterviewStatusEnum**](ScheduledInterviewStatusEnum.md) | The interview's status. | [optional] |
|
19
19
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
20
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
20
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
21
21
|
|
22
22
|
## Example
|
23
23
|
|
data/docs/Scorecard.md
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
| **submitted_at** | **Time** | When the scorecard was submitted. | [optional] |
|
14
14
|
| **overall_recommendation** | [**OverallRecommendationEnum**](OverallRecommendationEnum.md) | The inteviewer's recommendation. | [optional] |
|
15
15
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
16
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
16
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
17
17
|
|
18
18
|
## Example
|
19
19
|
|
data/docs/ScorecardsApi.md
CHANGED
@@ -37,13 +37,14 @@ opts = {
|
|
37
37
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
38
38
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
39
39
|
expand: 'application', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
|
-
include_deleted_data: true, # Boolean | Whether to include data that was deleted
|
40
|
+
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
41
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
42
|
interview_id: 'interview_id_example', # String | If provided, will only return scorecards for this interview.
|
43
43
|
interviewer_id: 'interviewer_id_example', # String | If provided, will only return scorecards for this interviewer.
|
44
44
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
45
45
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
46
46
|
page_size: 56, # Integer | Number of results to return per page.
|
47
|
+
remote_fields: 'overall_recommendation', # String | Which fields should be returned in non-normalized form.
|
47
48
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
48
49
|
}
|
49
50
|
|
@@ -84,13 +85,14 @@ end
|
|
84
85
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
85
86
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
86
87
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
87
|
-
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted
|
88
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
88
89
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
89
90
|
| **interview_id** | **String** | If provided, will only return scorecards for this interview. | [optional] |
|
90
91
|
| **interviewer_id** | **String** | If provided, will only return scorecards for this interviewer. | [optional] |
|
91
92
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
92
93
|
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
93
94
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
95
|
+
| **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
94
96
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
95
97
|
|
96
98
|
### Return type
|
@@ -133,7 +135,8 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
|
|
133
135
|
id = TODO # String |
|
134
136
|
opts = {
|
135
137
|
expand: 'application', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
136
|
-
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
138
|
+
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
139
|
+
remote_fields: 'overall_recommendation' # String | Which fields should be returned in non-normalized form.
|
137
140
|
}
|
138
141
|
|
139
142
|
begin
|
@@ -171,6 +174,7 @@ end
|
|
171
174
|
| **id** | [**String**](.md) | | |
|
172
175
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
173
176
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
177
|
+
| **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
174
178
|
|
175
179
|
### Return type
|
176
180
|
|
data/docs/SyncStatus.md
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **model_name** | **String** | | |
|
8
8
|
| **model_id** | **String** | | |
|
9
|
-
| **last_sync_start** | **Time** | |
|
10
|
-
| **next_sync_start** | **Time** | |
|
9
|
+
| **last_sync_start** | **Time** | | [optional] |
|
10
|
+
| **next_sync_start** | **Time** | | [optional] |
|
11
11
|
| **status** | [**SyncStatusStatusEnum**](SyncStatusStatusEnum.md) | | |
|
12
12
|
| **is_initial_sync** | **Boolean** | | |
|
13
13
|
|
data/docs/SyncStatusApi.md
CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *https://api.merge.dev/api/ats/v1*
|
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `SYNCING`
|
16
|
+
Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`
|
17
17
|
|
18
18
|
### Examples
|
19
19
|
|
data/docs/Tag.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
8
8
|
| **name** | **String** | The tag's name. | [optional] |
|
9
9
|
| **remote_data** | **Array<Hash<String, AnyType>>** | | [optional] |
|
10
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
10
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
data/docs/TagsApi.md
CHANGED
@@ -34,7 +34,7 @@ opts = {
|
|
34
34
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
35
35
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
36
36
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
37
|
-
include_deleted_data: true, # Boolean | Whether to include data that was deleted
|
37
|
+
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
38
38
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
39
39
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
40
40
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
@@ -77,7 +77,7 @@ end
|
|
77
77
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
78
78
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
79
79
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
80
|
-
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted
|
80
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
81
81
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
82
82
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
83
83
|
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# MergeATSClient::UpdateApplicationStageRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **job_interview_stage** | **String** | The interview stage to move the application to. | [optional] |
|
8
|
+
| **remote_user_id** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'merge_ats_client'
|
14
|
+
|
15
|
+
instance = MergeATSClient::UpdateApplicationStageRequest.new(
|
16
|
+
job_interview_stage: null,
|
17
|
+
remote_user_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/UsersApi.md
CHANGED
@@ -36,11 +36,12 @@ opts = {
|
|
36
36
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
37
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
38
|
email: TODO, # String | If provided, will only return remote users with the given email address
|
39
|
-
include_deleted_data: true, # Boolean | Whether to include data that was deleted
|
39
|
+
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
40
40
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
41
41
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
42
42
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
43
43
|
page_size: 56, # Integer | Number of results to return per page.
|
44
|
+
remote_fields: 'access_role', # String | Which fields should be returned in non-normalized form.
|
44
45
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
45
46
|
}
|
46
47
|
|
@@ -80,11 +81,12 @@ end
|
|
80
81
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
81
82
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
82
83
|
| **email** | [**String**](.md) | If provided, will only return remote users with the given email address | [optional] |
|
83
|
-
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted
|
84
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
84
85
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
85
86
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
86
87
|
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
87
88
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
89
|
+
| **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
88
90
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
89
91
|
|
90
92
|
### Return type
|
@@ -126,7 +128,8 @@ api_instance = MergeATSClient::UsersApi.new
|
|
126
128
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
127
129
|
id = TODO # String |
|
128
130
|
opts = {
|
129
|
-
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
131
|
+
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
132
|
+
remote_fields: 'access_role' # String | Which fields should be returned in non-normalized form.
|
130
133
|
}
|
131
134
|
|
132
135
|
begin
|
@@ -163,6 +166,7 @@ end
|
|
163
166
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
164
167
|
| **id** | [**String**](.md) | | |
|
165
168
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
169
|
+
| **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
166
170
|
|
167
171
|
### Return type
|
168
172
|
|
@@ -26,11 +26,12 @@ module MergeATSClient
|
|
26
26
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
27
27
|
# @option opts [String] :cursor The pagination cursor value.
|
28
28
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
29
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
29
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
30
30
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
31
31
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
32
32
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
33
33
|
# @option opts [Integer] :page_size Number of results to return per page.
|
34
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
34
35
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
35
36
|
# @option opts [String] :user_id If provided, will only return activities done by this user.
|
36
37
|
# @return [PaginatedActivityList]
|
@@ -46,11 +47,12 @@ module MergeATSClient
|
|
46
47
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
47
48
|
# @option opts [String] :cursor The pagination cursor value.
|
48
49
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
49
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
50
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
50
51
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
51
52
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
52
53
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
53
54
|
# @option opts [Integer] :page_size Number of results to return per page.
|
55
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
54
56
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
55
57
|
# @option opts [String] :user_id If provided, will only return activities done by this user.
|
56
58
|
# @return [Array<(PaginatedActivityList, Integer, Hash)>] PaginatedActivityList data, response status code and response headers
|
@@ -66,6 +68,10 @@ module MergeATSClient
|
|
66
68
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
67
69
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
68
70
|
end
|
71
|
+
allowable_values = ["activity_type", "activity_type,visibility", "visibility"]
|
72
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
73
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
74
|
+
end
|
69
75
|
# resource path
|
70
76
|
local_var_path = '/activities'
|
71
77
|
|
@@ -80,6 +86,7 @@ module MergeATSClient
|
|
80
86
|
query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
|
81
87
|
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
82
88
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
89
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
83
90
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
84
91
|
query_params[:'user_id'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
85
92
|
|
@@ -124,6 +131,7 @@ module MergeATSClient
|
|
124
131
|
# @param [Hash] opts the optional parameters
|
125
132
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
126
133
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
134
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
127
135
|
# @return [Activity]
|
128
136
|
def activities_retrieve(x_account_token, id, opts = {})
|
129
137
|
data, _status_code, _headers = activities_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -136,6 +144,7 @@ module MergeATSClient
|
|
136
144
|
# @param [Hash] opts the optional parameters
|
137
145
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
138
146
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
147
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
139
148
|
# @return [Array<(Activity, Integer, Hash)>] Activity data, response status code and response headers
|
140
149
|
def activities_retrieve_with_http_info(x_account_token, id, opts = {})
|
141
150
|
if @api_client.config.debugging
|
@@ -153,6 +162,10 @@ module MergeATSClient
|
|
153
162
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
154
163
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
155
164
|
end
|
165
|
+
allowable_values = ["activity_type", "activity_type,visibility", "visibility"]
|
166
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
167
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
168
|
+
end
|
156
169
|
# resource path
|
157
170
|
local_var_path = '/activities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
158
171
|
|
@@ -160,6 +173,7 @@ module MergeATSClient
|
|
160
173
|
query_params = opts[:query_params] || {}
|
161
174
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
162
175
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
176
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
163
177
|
|
164
178
|
# header parameters
|
165
179
|
header_params = opts[:header_params] || {}
|