merge_ats_client 3.0.0 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -6
- data/docs/AccountIntegration.md +6 -2
- data/docs/ActivitiesApi.md +164 -8
- data/docs/Activity.md +12 -6
- data/docs/ActivityEndpointRequest.md +20 -0
- data/docs/ActivityRequest.md +32 -0
- data/docs/ActivityResponse.md +24 -0
- data/docs/Application.md +12 -10
- data/docs/ApplicationRequest.md +5 -9
- data/docs/ApplicationsApi.md +4 -4
- data/docs/AsyncPassthroughApi.md +155 -0
- data/docs/AsyncPassthroughReciept.md +18 -0
- data/docs/Attachment.md +8 -4
- data/docs/AttachmentRequest.md +1 -3
- data/docs/AttachmentsApi.md +13 -9
- data/docs/Candidate.md +8 -6
- data/docs/CandidateRequest.md +1 -9
- data/docs/CandidatesApi.md +172 -13
- data/docs/CommonModelScopesBodyRequest.md +22 -0
- data/docs/ConditionSchema.md +1 -1
- data/docs/DataPassthroughRequest.md +1 -1
- data/docs/DeleteAccountApi.md +9 -9
- data/docs/Department.md +7 -3
- data/docs/DepartmentsApi.md +4 -4
- data/docs/EEOC.md +12 -8
- data/docs/EeocsApi.md +13 -9
- data/docs/EmailAddress.md +4 -2
- data/docs/EmailAddressRequest.md +1 -1
- data/docs/EnabledActionsEnum.md +15 -0
- data/docs/EndUserDetailsRequest.md +4 -2
- data/docs/ForceResyncApi.md +1 -1
- data/docs/InterviewsApi.md +165 -9
- data/docs/Issue.md +10 -8
- data/docs/IssuesApi.md +6 -6
- data/docs/Job.md +8 -4
- data/docs/JobInterviewStage.md +10 -4
- data/docs/JobInterviewStagesApi.md +4 -4
- data/docs/JobsApi.md +16 -10
- data/docs/LinkToken.md +1 -1
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/MetaResponse.md +2 -0
- data/docs/MultipartFormFieldRequest.md +1 -1
- data/docs/Offer.md +10 -6
- data/docs/OffersApi.md +13 -9
- data/docs/Office.md +7 -3
- data/docs/OfficesApi.md +4 -4
- data/docs/PaginatedConditionSchemaList.md +2 -2
- data/docs/PatchedCandidateEndpointRequest.md +20 -0
- data/docs/PatchedCandidateRequest.md +50 -0
- data/docs/PhoneNumber.md +4 -2
- data/docs/PhoneNumberRequest.md +1 -1
- data/docs/RejectReason.md +7 -3
- data/docs/RejectReasonsApi.md +4 -4
- data/docs/RemoteData.md +1 -1
- data/docs/RemoteUser.md +8 -4
- data/docs/ScheduledInterview.md +11 -7
- data/docs/ScheduledInterviewEndpointRequest.md +20 -0
- data/docs/ScheduledInterviewRequest.md +36 -0
- data/docs/ScheduledInterviewResponse.md +24 -0
- data/docs/Scorecard.md +11 -7
- data/docs/ScorecardsApi.md +13 -9
- data/docs/SelectiveSyncApi.md +2 -2
- data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
- data/docs/SyncStatus.md +3 -1
- data/docs/SyncStatusApi.md +1 -1
- data/docs/Tag.md +7 -3
- data/docs/TagsApi.md +4 -4
- data/docs/Url.md +4 -2
- data/docs/UrlRequest.md +1 -1
- data/docs/UsersApi.md +13 -9
- data/lib/merge_ats_client/api/activities_api.rb +160 -8
- data/lib/merge_ats_client/api/applications_api.rb +4 -4
- data/lib/merge_ats_client/api/async_passthrough_api.rb +160 -0
- data/lib/merge_ats_client/api/attachments_api.rb +22 -8
- data/lib/merge_ats_client/api/candidates_api.rb +165 -11
- data/lib/merge_ats_client/api/delete_account_api.rb +7 -7
- data/lib/merge_ats_client/api/departments_api.rb +4 -4
- data/lib/merge_ats_client/api/eeocs_api.rb +22 -8
- data/lib/merge_ats_client/api/force_resync_api.rb +2 -2
- data/lib/merge_ats_client/api/interviews_api.rb +160 -8
- data/lib/merge_ats_client/api/issues_api.rb +6 -6
- data/lib/merge_ats_client/api/job_interview_stages_api.rb +4 -4
- data/lib/merge_ats_client/api/jobs_api.rb +27 -10
- data/lib/merge_ats_client/api/linked_accounts_api.rb +3 -3
- data/lib/merge_ats_client/api/offers_api.rb +22 -8
- data/lib/merge_ats_client/api/offices_api.rb +4 -4
- data/lib/merge_ats_client/api/reject_reasons_api.rb +4 -4
- data/lib/merge_ats_client/api/scorecards_api.rb +22 -8
- data/lib/merge_ats_client/api/selective_sync_api.rb +2 -2
- data/lib/merge_ats_client/api/sync_status_api.rb +2 -2
- data/lib/merge_ats_client/api/tags_api.rb +4 -4
- data/lib/merge_ats_client/api/users_api.rb +22 -8
- data/lib/merge_ats_client/models/account_integration.rb +30 -8
- data/lib/merge_ats_client/models/activity.rb +50 -16
- data/lib/merge_ats_client/models/activity_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/activity_request.rb +300 -0
- data/lib/merge_ats_client/models/activity_response.rb +266 -0
- data/lib/merge_ats_client/models/application.rb +40 -26
- data/lib/merge_ats_client/models/application_request.rb +7 -26
- data/lib/merge_ats_client/models/async_passthrough_reciept.rb +223 -0
- data/lib/merge_ats_client/models/attachment.rb +38 -16
- data/lib/merge_ats_client/models/attachment_request.rb +3 -14
- data/lib/merge_ats_client/models/candidate.rb +36 -27
- data/lib/merge_ats_client/models/candidate_request.rb +3 -49
- data/lib/merge_ats_client/models/categories_enum.rb +3 -1
- data/lib/merge_ats_client/models/category_enum.rb +3 -1
- data/lib/merge_ats_client/models/common_model_scopes_body_request.rb +274 -0
- data/lib/merge_ats_client/models/condition_schema.rb +1 -0
- data/lib/merge_ats_client/models/data_passthrough_request.rb +1 -0
- data/lib/merge_ats_client/models/department.rb +36 -14
- data/lib/merge_ats_client/models/eeoc.rb +42 -19
- data/lib/merge_ats_client/models/email_address.rb +16 -6
- data/lib/merge_ats_client/models/email_address_request.rb +1 -1
- data/lib/merge_ats_client/models/enabled_actions_enum.rb +45 -0
- data/lib/merge_ats_client/models/end_user_details_request.rb +19 -6
- data/lib/merge_ats_client/models/issue.rb +16 -4
- data/lib/merge_ats_client/models/job.rb +38 -16
- data/lib/merge_ats_client/models/job_interview_stage.rb +72 -15
- data/lib/merge_ats_client/models/link_token.rb +0 -5
- data/lib/merge_ats_client/models/meta_response.rb +12 -1
- data/lib/merge_ats_client/models/multipart_form_field_request.rb +1 -1
- data/lib/merge_ats_client/models/offer.rb +40 -16
- data/lib/merge_ats_client/models/office.rb +37 -15
- data/lib/merge_ats_client/models/patched_candidate_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/patched_candidate_request.rb +418 -0
- data/lib/merge_ats_client/models/phone_number.rb +16 -6
- data/lib/merge_ats_client/models/phone_number_request.rb +1 -1
- data/lib/merge_ats_client/models/reject_reason.rb +37 -15
- data/lib/merge_ats_client/models/remote_data.rb +3 -4
- data/lib/merge_ats_client/models/remote_user.rb +38 -16
- data/lib/merge_ats_client/models/scheduled_interview.rb +41 -16
- data/lib/merge_ats_client/models/scheduled_interview_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/scheduled_interview_request.rb +323 -0
- data/lib/merge_ats_client/models/scheduled_interview_response.rb +266 -0
- data/lib/merge_ats_client/models/scorecard.rb +41 -16
- data/lib/merge_ats_client/models/selective_sync_configurations_usage_enum.rb +45 -0
- data/lib/merge_ats_client/models/sync_status.rb +13 -4
- data/lib/merge_ats_client/models/sync_status_status_enum.rb +2 -1
- data/lib/merge_ats_client/models/tag.rb +36 -14
- data/lib/merge_ats_client/models/url.rb +16 -6
- data/lib/merge_ats_client/models/url_request.rb +1 -1
- data/lib/merge_ats_client/version.rb +1 -1
- data/lib/merge_ats_client.rb +13 -1
- data/spec/api/activities_api_spec.rb +31 -4
- data/spec/api/applications_api_spec.rb +2 -2
- data/spec/api/async_passthrough_api_spec.rb +59 -0
- data/spec/api/attachments_api_spec.rb +6 -4
- data/spec/api/candidates_api_spec.rb +32 -3
- data/spec/api/delete_account_api_spec.rb +2 -2
- data/spec/api/departments_api_spec.rb +2 -2
- data/spec/api/eeocs_api_spec.rb +6 -4
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/interviews_api_spec.rb +31 -4
- data/spec/api/issues_api_spec.rb +3 -3
- data/spec/api/job_interview_stages_api_spec.rb +2 -2
- data/spec/api/jobs_api_spec.rb +8 -5
- data/spec/api/linked_accounts_api_spec.rb +1 -1
- data/spec/api/offers_api_spec.rb +6 -4
- data/spec/api/offices_api_spec.rb +2 -2
- data/spec/api/reject_reasons_api_spec.rb +2 -2
- data/spec/api/scorecards_api_spec.rb +6 -4
- data/spec/api/selective_sync_api_spec.rb +1 -1
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/tags_api_spec.rb +2 -2
- data/spec/api/users_api_spec.rb +6 -4
- data/spec/models/account_integration_spec.rb +12 -0
- data/spec/models/{ignore_common_model_spec.rb → activity_endpoint_request_spec.rb} +8 -8
- data/spec/models/activity_request_spec.rb +76 -0
- data/spec/models/activity_response_spec.rb +52 -0
- data/spec/models/activity_spec.rb +19 -1
- data/spec/models/application_request_spec.rb +0 -12
- data/spec/models/application_spec.rb +9 -3
- data/spec/models/async_passthrough_reciept_spec.rb +34 -0
- data/spec/models/attachment_request_spec.rb +0 -6
- data/spec/models/attachment_spec.rb +14 -2
- data/spec/models/candidate_request_spec.rb +0 -24
- data/spec/models/candidate_spec.rb +9 -3
- data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
- data/spec/models/department_spec.rb +14 -2
- data/spec/models/eeoc_spec.rb +14 -2
- data/spec/models/email_address_spec.rb +6 -0
- data/spec/models/enabled_actions_enum_spec.rb +28 -0
- data/spec/models/end_user_details_request_spec.rb +6 -0
- data/spec/models/issue_spec.rb +6 -0
- data/spec/models/job_interview_stage_spec.rb +19 -1
- data/spec/models/job_spec.rb +14 -2
- data/spec/models/meta_response_spec.rb +6 -0
- data/spec/models/offer_spec.rb +14 -2
- data/spec/models/office_spec.rb +14 -2
- data/spec/models/{remote_data_request_spec.rb → patched_candidate_endpoint_request_spec.rb} +8 -8
- data/spec/models/patched_candidate_request_spec.rb +130 -0
- data/spec/models/phone_number_spec.rb +6 -0
- data/spec/models/reject_reason_spec.rb +14 -2
- data/spec/models/remote_user_spec.rb +14 -2
- data/spec/models/scheduled_interview_endpoint_request_spec.rb +40 -0
- data/spec/models/scheduled_interview_request_spec.rb +88 -0
- data/spec/models/scheduled_interview_response_spec.rb +52 -0
- data/spec/models/scheduled_interview_spec.rb +14 -2
- data/spec/models/scorecard_spec.rb +14 -2
- data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
- data/spec/models/sync_status_spec.rb +6 -0
- data/spec/models/tag_spec.rb +14 -2
- data/spec/models/url_spec.rb +6 -0
- metadata +167 -119
data/docs/Scorecard.md
CHANGED
@@ -6,14 +6,16 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
-
| **application** | **String** |
|
10
|
-
| **interview** | **String** |
|
11
|
-
| **interviewer** | **String** |
|
9
|
+
| **application** | **String** | The application being scored. | [optional] |
|
10
|
+
| **interview** | **String** | The interview being scored. | [optional] |
|
11
|
+
| **interviewer** | **String** | The interviewer doing the scoring. | [optional] |
|
12
12
|
| **remote_created_at** | **Time** | When the third party's scorecard was created. | [optional] |
|
13
13
|
| **submitted_at** | **Time** | When the scorecard was submitted. | [optional] |
|
14
|
-
| **overall_recommendation** | [**OverallRecommendationEnum**](OverallRecommendationEnum.md) | The inteviewer's recommendation. | [optional] |
|
15
|
-
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
14
|
+
| **overall_recommendation** | [**OverallRecommendationEnum**](OverallRecommendationEnum.md) | The inteviewer's recommendation. * `DEFINITELY_NO` - DEFINITELY_NO * `NO` - NO * `YES` - YES * `STRONG_YES` - STRONG_YES * `NO_DECISION` - NO_DECISION | [optional] |
|
16
15
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
16
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
17
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
18
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
17
19
|
|
18
20
|
## Example
|
19
21
|
|
@@ -29,8 +31,10 @@ instance = MergeATSClient::Scorecard.new(
|
|
29
31
|
remote_created_at: 2021-10-15T00:00Z,
|
30
32
|
submitted_at: 2021-10-15T00:00Z,
|
31
33
|
overall_recommendation: STRONG_YES,
|
32
|
-
|
33
|
-
|
34
|
+
remote_was_deleted: null,
|
35
|
+
modified_at: 2021-10-16T00:00Z,
|
36
|
+
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
37
|
+
remote_data: [{"path":"/ratings","data":["Varies by platform"]}]
|
34
38
|
)
|
35
39
|
```
|
36
40
|
|
data/docs/ScorecardsApi.md
CHANGED
@@ -41,11 +41,12 @@ opts = {
|
|
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
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
45
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
44
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
45
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
46
46
|
page_size: 56, # Integer | Number of results to return per page.
|
47
|
-
remote_fields: 'overall_recommendation', # String |
|
48
|
-
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
47
|
+
remote_fields: 'overall_recommendation', # String | Deprecated. Use show_enum_origins.
|
48
|
+
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
49
|
+
show_enum_origins: 'overall_recommendation' # String | Which fields should be returned in non-normalized form.
|
49
50
|
}
|
50
51
|
|
51
52
|
begin
|
@@ -89,11 +90,12 @@ end
|
|
89
90
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
90
91
|
| **interview_id** | **String** | If provided, will only return scorecards for this interview. | [optional] |
|
91
92
|
| **interviewer_id** | **String** | If provided, will only return scorecards for this interviewer. | [optional] |
|
92
|
-
| **modified_after** | **Time** | If provided,
|
93
|
-
| **modified_before** | **Time** | If provided,
|
93
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
94
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
94
95
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
95
|
-
| **remote_fields** | **String** |
|
96
|
+
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
96
97
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
98
|
+
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
97
99
|
|
98
100
|
### Return type
|
99
101
|
|
@@ -136,7 +138,8 @@ id = TODO # String |
|
|
136
138
|
opts = {
|
137
139
|
expand: 'application', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
138
140
|
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 |
|
141
|
+
remote_fields: 'overall_recommendation', # String | Deprecated. Use show_enum_origins.
|
142
|
+
show_enum_origins: 'overall_recommendation' # String | Which fields should be returned in non-normalized form.
|
140
143
|
}
|
141
144
|
|
142
145
|
begin
|
@@ -174,7 +177,8 @@ end
|
|
174
177
|
| **id** | [**String**](.md) | | |
|
175
178
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
176
179
|
| **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** |
|
180
|
+
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
181
|
+
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
178
182
|
|
179
183
|
### Return type
|
180
184
|
|
data/docs/SelectiveSyncApi.md
CHANGED
@@ -178,7 +178,7 @@ api_instance = MergeATSClient::SelectiveSyncApi.new
|
|
178
178
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
179
179
|
opts = {
|
180
180
|
common_model: 'common_model_example', # String |
|
181
|
-
cursor:
|
181
|
+
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
182
182
|
page_size: 56 # Integer | Number of results to return per page.
|
183
183
|
}
|
184
184
|
|
@@ -215,7 +215,7 @@ end
|
|
215
215
|
| ---- | ---- | ----------- | ----- |
|
216
216
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
217
217
|
| **common_model** | **String** | | [optional] |
|
218
|
-
| **cursor** | **
|
218
|
+
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
219
219
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
220
220
|
|
221
221
|
### Return type
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# MergeATSClient::SelectiveSyncConfigurationsUsageEnum
|
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::SelectiveSyncConfigurationsUsageEnum.new()
|
14
|
+
```
|
15
|
+
|
data/docs/SyncStatus.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **next_sync_start** | **Time** | | [optional] |
|
11
11
|
| **status** | [**SyncStatusStatusEnum**](SyncStatusStatusEnum.md) | | |
|
12
12
|
| **is_initial_sync** | **Boolean** | | |
|
13
|
+
| **selective_sync_configurations_usage** | [**SelectiveSyncConfigurationsUsageEnum**](SelectiveSyncConfigurationsUsageEnum.md) | | [optional] |
|
13
14
|
|
14
15
|
## Example
|
15
16
|
|
@@ -22,7 +23,8 @@ instance = MergeATSClient::SyncStatus.new(
|
|
22
23
|
last_sync_start: 2021-03-30T19:44:18.695973Z,
|
23
24
|
next_sync_start: 2021-03-30T20:44:18.662942Z,
|
24
25
|
status: SYNCING,
|
25
|
-
is_initial_sync: true
|
26
|
+
is_initial_sync: true,
|
27
|
+
selective_sync_configurations_usage: null
|
26
28
|
)
|
27
29
|
```
|
28
30
|
|
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`, `PAUSED`, `SYNCING`
|
16
|
+
Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`
|
17
17
|
|
18
18
|
### Examples
|
19
19
|
|
data/docs/Tag.md
CHANGED
@@ -6,8 +6,10 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
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
|
-
| **remote_data** | **Array<Hash<String, AnyType>>** | | [optional] |
|
10
9
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
|
10
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
11
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
12
|
+
| **remote_data** | **Array<Hash<String, AnyType>>** | | [optional] |
|
11
13
|
|
12
14
|
## Example
|
13
15
|
|
@@ -17,8 +19,10 @@ require 'merge_ats_client'
|
|
17
19
|
instance = MergeATSClient::Tag.new(
|
18
20
|
remote_id: 4567,
|
19
21
|
name: High-Priority,
|
20
|
-
|
21
|
-
|
22
|
+
remote_was_deleted: null,
|
23
|
+
modified_at: 2021-10-16T00:00Z,
|
24
|
+
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
25
|
+
remote_data: [{"path":"/tags","data":["Varies by platform"]}]
|
22
26
|
)
|
23
27
|
```
|
24
28
|
|
data/docs/TagsApi.md
CHANGED
@@ -36,8 +36,8 @@ opts = {
|
|
36
36
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
37
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
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
40
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
39
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
40
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
41
41
|
page_size: 56, # Integer | Number of results to return per page.
|
42
42
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
43
43
|
}
|
@@ -79,8 +79,8 @@ end
|
|
79
79
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
80
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
|
-
| **modified_after** | **Time** | If provided,
|
83
|
-
| **modified_before** | **Time** | If provided,
|
82
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
83
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
84
84
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
85
85
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
86
86
|
|
data/docs/Url.md
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **value** | **String** | The site's url. | [optional] |
|
8
|
-
| **url_type** | [**UrlTypeEnum**](UrlTypeEnum.md) | The type of site. | [optional] |
|
8
|
+
| **url_type** | [**UrlTypeEnum**](UrlTypeEnum.md) | The type of site. * `PERSONAL` - PERSONAL * `COMPANY` - COMPANY * `PORTFOLIO` - PORTFOLIO * `BLOG` - BLOG * `SOCIAL_MEDIA` - SOCIAL_MEDIA * `OTHER` - OTHER * `JOB_POSTING` - JOB_POSTING | [optional] |
|
9
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'merge_ats_client'
|
|
14
15
|
|
15
16
|
instance = MergeATSClient::Url.new(
|
16
17
|
value: http://alturl.com/p749b,
|
17
|
-
url_type: PERSONAL
|
18
|
+
url_type: PERSONAL,
|
19
|
+
modified_at: 2021-10-16T00:00Z
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
data/docs/UrlRequest.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **value** | **String** | The site's url. | [optional] |
|
8
|
-
| **url_type** | [**UrlTypeEnum**](UrlTypeEnum.md) | The type of site. | [optional] |
|
8
|
+
| **url_type** | [**UrlTypeEnum**](UrlTypeEnum.md) | The type of site. * `PERSONAL` - PERSONAL * `COMPANY` - COMPANY * `PORTFOLIO` - PORTFOLIO * `BLOG` - BLOG * `SOCIAL_MEDIA` - SOCIAL_MEDIA * `OTHER` - OTHER * `JOB_POSTING` - JOB_POSTING | [optional] |
|
9
9
|
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
10
10
|
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
11
11
|
|
data/docs/UsersApi.md
CHANGED
@@ -38,11 +38,12 @@ opts = {
|
|
38
38
|
email: TODO, # String | If provided, will only return remote users with the given email address
|
39
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
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
42
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
41
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
42
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
43
43
|
page_size: 56, # Integer | Number of results to return per page.
|
44
|
-
remote_fields: 'access_role', # String |
|
45
|
-
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
44
|
+
remote_fields: 'access_role', # String | Deprecated. Use show_enum_origins.
|
45
|
+
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
46
|
+
show_enum_origins: 'access_role' # String | Which fields should be returned in non-normalized form.
|
46
47
|
}
|
47
48
|
|
48
49
|
begin
|
@@ -83,11 +84,12 @@ end
|
|
83
84
|
| **email** | [**String**](.md) | If provided, will only return remote users with the given email address | [optional] |
|
84
85
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
85
86
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
86
|
-
| **modified_after** | **Time** | If provided,
|
87
|
-
| **modified_before** | **Time** | If provided,
|
87
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
88
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
88
89
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
89
|
-
| **remote_fields** | **String** |
|
90
|
+
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
90
91
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
92
|
+
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
91
93
|
|
92
94
|
### Return type
|
93
95
|
|
@@ -129,7 +131,8 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
|
|
129
131
|
id = TODO # String |
|
130
132
|
opts = {
|
131
133
|
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 |
|
134
|
+
remote_fields: 'access_role', # String | Deprecated. Use show_enum_origins.
|
135
|
+
show_enum_origins: 'access_role' # String | Which fields should be returned in non-normalized form.
|
133
136
|
}
|
134
137
|
|
135
138
|
begin
|
@@ -166,7 +169,8 @@ end
|
|
166
169
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
167
170
|
| **id** | [**String**](.md) | | |
|
168
171
|
| **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** |
|
172
|
+
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
173
|
+
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
170
174
|
|
171
175
|
### Return type
|
172
176
|
|
@@ -19,6 +19,82 @@ module MergeATSClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Creates an `Activity` object with the given values.
|
23
|
+
# @param x_account_token [String] Token identifying the end user.
|
24
|
+
# @param activity_endpoint_request [ActivityEndpointRequest]
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
27
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
28
|
+
# @return [ActivityResponse]
|
29
|
+
def activities_create(x_account_token, activity_endpoint_request, opts = {})
|
30
|
+
data, _status_code, _headers = activities_create_with_http_info(x_account_token, activity_endpoint_request, opts)
|
31
|
+
data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Creates an `Activity` object with the given values.
|
35
|
+
# @param x_account_token [String] Token identifying the end user.
|
36
|
+
# @param activity_endpoint_request [ActivityEndpointRequest]
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
39
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
40
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
41
|
+
def activities_create_with_http_info(x_account_token, activity_endpoint_request, opts = {})
|
42
|
+
if @api_client.config.debugging
|
43
|
+
@api_client.config.logger.debug 'Calling API: ActivitiesApi.activities_create ...'
|
44
|
+
end
|
45
|
+
# verify the required parameter 'x_account_token' is set
|
46
|
+
if @api_client.config.client_side_validation && x_account_token.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling ActivitiesApi.activities_create"
|
48
|
+
end
|
49
|
+
# verify the required parameter 'activity_endpoint_request' is set
|
50
|
+
if @api_client.config.client_side_validation && activity_endpoint_request.nil?
|
51
|
+
fail ArgumentError, "Missing the required parameter 'activity_endpoint_request' when calling ActivitiesApi.activities_create"
|
52
|
+
end
|
53
|
+
# resource path
|
54
|
+
local_var_path = '/activities'
|
55
|
+
|
56
|
+
# query parameters
|
57
|
+
query_params = opts[:query_params] || {}
|
58
|
+
query_params[:'is_debug_mode'] = opts[:'is_debug_mode'] if !opts[:'is_debug_mode'].nil?
|
59
|
+
query_params[:'run_async'] = opts[:'run_async'] if !opts[:'run_async'].nil?
|
60
|
+
|
61
|
+
# header parameters
|
62
|
+
header_params = opts[:header_params] || {}
|
63
|
+
# HTTP header 'Accept' (if needed)
|
64
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
65
|
+
# HTTP header 'Content-Type'
|
66
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
67
|
+
header_params[:'X-Account-Token'] = x_account_token
|
68
|
+
|
69
|
+
# form parameters
|
70
|
+
form_params = opts[:form_params] || {}
|
71
|
+
|
72
|
+
# http body (model)
|
73
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(activity_endpoint_request)
|
74
|
+
|
75
|
+
# return_type
|
76
|
+
return_type = opts[:debug_return_type] || 'ActivityResponse'
|
77
|
+
|
78
|
+
# auth_names
|
79
|
+
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
80
|
+
|
81
|
+
new_options = opts.merge(
|
82
|
+
:operation => :"ActivitiesApi.activities_create",
|
83
|
+
:header_params => header_params,
|
84
|
+
:query_params => query_params,
|
85
|
+
:form_params => form_params,
|
86
|
+
:body => post_body,
|
87
|
+
:auth_names => auth_names,
|
88
|
+
:return_type => return_type
|
89
|
+
)
|
90
|
+
|
91
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
92
|
+
if @api_client.config.debugging
|
93
|
+
@api_client.config.logger.debug "API called: ActivitiesApi#activities_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
94
|
+
end
|
95
|
+
return data, status_code, headers
|
96
|
+
end
|
97
|
+
|
22
98
|
# Returns a list of `Activity` objects.
|
23
99
|
# @param x_account_token [String] Token identifying the end user.
|
24
100
|
# @param [Hash] opts the optional parameters
|
@@ -28,11 +104,12 @@ module MergeATSClient
|
|
28
104
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
29
105
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
30
106
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
31
|
-
# @option opts [Time] :modified_after If provided,
|
32
|
-
# @option opts [Time] :modified_before If provided,
|
107
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
108
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
33
109
|
# @option opts [Integer] :page_size Number of results to return per page.
|
34
|
-
# @option opts [String] :remote_fields
|
110
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
35
111
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
112
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
36
113
|
# @option opts [String] :user_id If provided, will only return activities done by this user.
|
37
114
|
# @return [PaginatedActivityList]
|
38
115
|
def activities_list(x_account_token, opts = {})
|
@@ -49,11 +126,12 @@ module MergeATSClient
|
|
49
126
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
50
127
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
51
128
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
52
|
-
# @option opts [Time] :modified_after If provided,
|
53
|
-
# @option opts [Time] :modified_before If provided,
|
129
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
130
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
54
131
|
# @option opts [Integer] :page_size Number of results to return per page.
|
55
|
-
# @option opts [String] :remote_fields
|
132
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
56
133
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
134
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
57
135
|
# @option opts [String] :user_id If provided, will only return activities done by this user.
|
58
136
|
# @return [Array<(PaginatedActivityList, Integer, Hash)>] PaginatedActivityList data, response status code and response headers
|
59
137
|
def activities_list_with_http_info(x_account_token, opts = {})
|
@@ -72,6 +150,10 @@ module MergeATSClient
|
|
72
150
|
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
73
151
|
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
74
152
|
end
|
153
|
+
allowable_values = ["activity_type", "activity_type,visibility", "visibility"]
|
154
|
+
if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
|
155
|
+
fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
|
156
|
+
end
|
75
157
|
# resource path
|
76
158
|
local_var_path = '/activities'
|
77
159
|
|
@@ -88,6 +170,7 @@ module MergeATSClient
|
|
88
170
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
89
171
|
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
90
172
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
173
|
+
query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
|
91
174
|
query_params[:'user_id'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
92
175
|
|
93
176
|
# header parameters
|
@@ -125,13 +208,76 @@ module MergeATSClient
|
|
125
208
|
return data, status_code, headers
|
126
209
|
end
|
127
210
|
|
211
|
+
# Returns metadata for `Activity` POSTs.
|
212
|
+
# @param x_account_token [String] Token identifying the end user.
|
213
|
+
# @param [Hash] opts the optional parameters
|
214
|
+
# @return [MetaResponse]
|
215
|
+
def activities_meta_post_retrieve(x_account_token, opts = {})
|
216
|
+
data, _status_code, _headers = activities_meta_post_retrieve_with_http_info(x_account_token, opts)
|
217
|
+
data
|
218
|
+
end
|
219
|
+
|
220
|
+
# Returns metadata for `Activity` POSTs.
|
221
|
+
# @param x_account_token [String] Token identifying the end user.
|
222
|
+
# @param [Hash] opts the optional parameters
|
223
|
+
# @return [Array<(MetaResponse, Integer, Hash)>] MetaResponse data, response status code and response headers
|
224
|
+
def activities_meta_post_retrieve_with_http_info(x_account_token, opts = {})
|
225
|
+
if @api_client.config.debugging
|
226
|
+
@api_client.config.logger.debug 'Calling API: ActivitiesApi.activities_meta_post_retrieve ...'
|
227
|
+
end
|
228
|
+
# verify the required parameter 'x_account_token' is set
|
229
|
+
if @api_client.config.client_side_validation && x_account_token.nil?
|
230
|
+
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling ActivitiesApi.activities_meta_post_retrieve"
|
231
|
+
end
|
232
|
+
# resource path
|
233
|
+
local_var_path = '/activities/meta/post'
|
234
|
+
|
235
|
+
# query parameters
|
236
|
+
query_params = opts[:query_params] || {}
|
237
|
+
|
238
|
+
# header parameters
|
239
|
+
header_params = opts[:header_params] || {}
|
240
|
+
# HTTP header 'Accept' (if needed)
|
241
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
242
|
+
header_params[:'X-Account-Token'] = x_account_token
|
243
|
+
|
244
|
+
# form parameters
|
245
|
+
form_params = opts[:form_params] || {}
|
246
|
+
|
247
|
+
# http body (model)
|
248
|
+
post_body = opts[:debug_body]
|
249
|
+
|
250
|
+
# return_type
|
251
|
+
return_type = opts[:debug_return_type] || 'MetaResponse'
|
252
|
+
|
253
|
+
# auth_names
|
254
|
+
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
255
|
+
|
256
|
+
new_options = opts.merge(
|
257
|
+
:operation => :"ActivitiesApi.activities_meta_post_retrieve",
|
258
|
+
:header_params => header_params,
|
259
|
+
:query_params => query_params,
|
260
|
+
:form_params => form_params,
|
261
|
+
:body => post_body,
|
262
|
+
:auth_names => auth_names,
|
263
|
+
:return_type => return_type
|
264
|
+
)
|
265
|
+
|
266
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
267
|
+
if @api_client.config.debugging
|
268
|
+
@api_client.config.logger.debug "API called: ActivitiesApi#activities_meta_post_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
269
|
+
end
|
270
|
+
return data, status_code, headers
|
271
|
+
end
|
272
|
+
|
128
273
|
# Returns an `Activity` object with the given `id`.
|
129
274
|
# @param x_account_token [String] Token identifying the end user.
|
130
275
|
# @param id [String]
|
131
276
|
# @param [Hash] opts the optional parameters
|
132
277
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
133
278
|
# @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
|
279
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
280
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
135
281
|
# @return [Activity]
|
136
282
|
def activities_retrieve(x_account_token, id, opts = {})
|
137
283
|
data, _status_code, _headers = activities_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -144,7 +290,8 @@ module MergeATSClient
|
|
144
290
|
# @param [Hash] opts the optional parameters
|
145
291
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
146
292
|
# @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
|
293
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
294
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
148
295
|
# @return [Array<(Activity, Integer, Hash)>] Activity data, response status code and response headers
|
149
296
|
def activities_retrieve_with_http_info(x_account_token, id, opts = {})
|
150
297
|
if @api_client.config.debugging
|
@@ -166,6 +313,10 @@ module MergeATSClient
|
|
166
313
|
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
167
314
|
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
168
315
|
end
|
316
|
+
allowable_values = ["activity_type", "activity_type,visibility", "visibility"]
|
317
|
+
if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
|
318
|
+
fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
|
319
|
+
end
|
169
320
|
# resource path
|
170
321
|
local_var_path = '/activities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
171
322
|
|
@@ -174,6 +325,7 @@ module MergeATSClient
|
|
174
325
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
175
326
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
176
327
|
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
328
|
+
query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
|
177
329
|
|
178
330
|
# header parameters
|
179
331
|
header_params = opts[:header_params] || {}
|
@@ -186,8 +186,8 @@ module MergeATSClient
|
|
186
186
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
187
187
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
188
188
|
# @option opts [String] :job_id If provided, will only return applications for this job.
|
189
|
-
# @option opts [Time] :modified_after If provided,
|
190
|
-
# @option opts [Time] :modified_before If provided,
|
189
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
190
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
191
191
|
# @option opts [Integer] :page_size Number of results to return per page.
|
192
192
|
# @option opts [String] :reject_reason_id If provided, will only return applications with this reject reason.
|
193
193
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -211,8 +211,8 @@ module MergeATSClient
|
|
211
211
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
212
212
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
213
213
|
# @option opts [String] :job_id If provided, will only return applications for this job.
|
214
|
-
# @option opts [Time] :modified_after If provided,
|
215
|
-
# @option opts [Time] :modified_before If provided,
|
214
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
215
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
216
216
|
# @option opts [Integer] :page_size Number of results to return per page.
|
217
217
|
# @option opts [String] :reject_reason_id If provided, will only return applications with this reject reason.
|
218
218
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|