merge_ats_client 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +186 -179
  3. data/docs/AccountIntegration.md +6 -2
  4. data/docs/ActivitiesApi.md +164 -8
  5. data/docs/Activity.md +12 -6
  6. data/docs/ActivityEndpointRequest.md +20 -0
  7. data/docs/ActivityRequest.md +32 -0
  8. data/docs/ActivityResponse.md +24 -0
  9. data/docs/Application.md +12 -10
  10. data/docs/ApplicationRequest.md +5 -9
  11. data/docs/ApplicationsApi.md +4 -4
  12. data/docs/Attachment.md +8 -4
  13. data/docs/AttachmentRequest.md +1 -3
  14. data/docs/AttachmentsApi.md +13 -9
  15. data/docs/Candidate.md +8 -6
  16. data/docs/CandidateRequest.md +1 -9
  17. data/docs/CandidatesApi.md +16 -13
  18. data/docs/CommonModelScopesBodyRequest.md +22 -0
  19. data/docs/ConditionSchema.md +1 -1
  20. data/docs/DataPassthroughRequest.md +1 -1
  21. data/docs/Department.md +7 -3
  22. data/docs/DepartmentsApi.md +4 -4
  23. data/docs/EEOC.md +12 -8
  24. data/docs/EeocsApi.md +13 -9
  25. data/docs/EmailAddress.md +4 -2
  26. data/docs/EmailAddressRequest.md +1 -1
  27. data/docs/EnabledActionsEnum.md +15 -0
  28. data/docs/EndUserDetailsRequest.md +3 -1
  29. data/docs/ForceResyncApi.md +1 -1
  30. data/docs/InterviewsApi.md +165 -9
  31. data/docs/Issue.md +10 -8
  32. data/docs/IssuesApi.md +6 -6
  33. data/docs/Job.md +8 -4
  34. data/docs/JobInterviewStage.md +10 -4
  35. data/docs/JobInterviewStagesApi.md +4 -4
  36. data/docs/JobsApi.md +16 -10
  37. data/docs/LinkToken.md +1 -1
  38. data/docs/LinkedAccountsApi.md +2 -2
  39. data/docs/MetaResponse.md +2 -0
  40. data/docs/MultipartFormFieldRequest.md +1 -1
  41. data/docs/Offer.md +10 -6
  42. data/docs/OffersApi.md +13 -9
  43. data/docs/Office.md +7 -3
  44. data/docs/OfficesApi.md +4 -4
  45. data/docs/PaginatedConditionSchemaList.md +2 -2
  46. data/docs/PhoneNumber.md +4 -2
  47. data/docs/PhoneNumberRequest.md +1 -1
  48. data/docs/RejectReason.md +7 -3
  49. data/docs/RejectReasonsApi.md +4 -4
  50. data/docs/RemoteUser.md +8 -4
  51. data/docs/ScheduledInterview.md +11 -7
  52. data/docs/ScheduledInterviewEndpointRequest.md +20 -0
  53. data/docs/ScheduledInterviewRequest.md +36 -0
  54. data/docs/ScheduledInterviewResponse.md +24 -0
  55. data/docs/Scorecard.md +11 -7
  56. data/docs/ScorecardsApi.md +13 -9
  57. data/docs/SelectiveSyncApi.md +2 -2
  58. data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
  59. data/docs/SyncStatus.md +3 -1
  60. data/docs/SyncStatusApi.md +1 -1
  61. data/docs/Tag.md +7 -3
  62. data/docs/TagsApi.md +4 -4
  63. data/docs/Url.md +4 -2
  64. data/docs/UrlRequest.md +1 -1
  65. data/docs/UsersApi.md +13 -9
  66. data/lib/merge_ats_client/api/activities_api.rb +160 -8
  67. data/lib/merge_ats_client/api/applications_api.rb +4 -4
  68. data/lib/merge_ats_client/api/attachments_api.rb +22 -8
  69. data/lib/merge_ats_client/api/candidates_api.rb +15 -11
  70. data/lib/merge_ats_client/api/departments_api.rb +4 -4
  71. data/lib/merge_ats_client/api/eeocs_api.rb +22 -8
  72. data/lib/merge_ats_client/api/force_resync_api.rb +2 -2
  73. data/lib/merge_ats_client/api/interviews_api.rb +160 -8
  74. data/lib/merge_ats_client/api/issues_api.rb +6 -6
  75. data/lib/merge_ats_client/api/job_interview_stages_api.rb +4 -4
  76. data/lib/merge_ats_client/api/jobs_api.rb +27 -10
  77. data/lib/merge_ats_client/api/linked_accounts_api.rb +3 -3
  78. data/lib/merge_ats_client/api/offers_api.rb +22 -8
  79. data/lib/merge_ats_client/api/offices_api.rb +4 -4
  80. data/lib/merge_ats_client/api/reject_reasons_api.rb +4 -4
  81. data/lib/merge_ats_client/api/scorecards_api.rb +22 -8
  82. data/lib/merge_ats_client/api/selective_sync_api.rb +2 -2
  83. data/lib/merge_ats_client/api/sync_status_api.rb +2 -2
  84. data/lib/merge_ats_client/api/tags_api.rb +4 -4
  85. data/lib/merge_ats_client/api/users_api.rb +22 -8
  86. data/lib/merge_ats_client/models/account_integration.rb +30 -8
  87. data/lib/merge_ats_client/models/activity.rb +50 -16
  88. data/lib/merge_ats_client/models/activity_endpoint_request.rb +237 -0
  89. data/lib/merge_ats_client/models/activity_request.rb +300 -0
  90. data/lib/merge_ats_client/models/activity_response.rb +266 -0
  91. data/lib/merge_ats_client/models/application.rb +40 -26
  92. data/lib/merge_ats_client/models/application_request.rb +7 -26
  93. data/lib/merge_ats_client/models/attachment.rb +38 -16
  94. data/lib/merge_ats_client/models/attachment_request.rb +3 -14
  95. data/lib/merge_ats_client/models/candidate.rb +36 -27
  96. data/lib/merge_ats_client/models/candidate_request.rb +3 -49
  97. data/lib/merge_ats_client/models/categories_enum.rb +3 -1
  98. data/lib/merge_ats_client/models/category_enum.rb +3 -1
  99. data/lib/merge_ats_client/models/common_model_scopes_body_request.rb +274 -0
  100. data/lib/merge_ats_client/models/condition_schema.rb +1 -0
  101. data/lib/merge_ats_client/models/data_passthrough_request.rb +1 -0
  102. data/lib/merge_ats_client/models/department.rb +36 -14
  103. data/lib/merge_ats_client/models/eeoc.rb +42 -19
  104. data/lib/merge_ats_client/models/email_address.rb +16 -6
  105. data/lib/merge_ats_client/models/email_address_request.rb +1 -1
  106. data/lib/merge_ats_client/models/enabled_actions_enum.rb +45 -0
  107. data/lib/merge_ats_client/models/end_user_details_request.rb +18 -5
  108. data/lib/merge_ats_client/models/issue.rb +16 -4
  109. data/lib/merge_ats_client/models/job.rb +38 -16
  110. data/lib/merge_ats_client/models/job_interview_stage.rb +72 -15
  111. data/lib/merge_ats_client/models/link_token.rb +0 -5
  112. data/lib/merge_ats_client/models/meta_response.rb +12 -1
  113. data/lib/merge_ats_client/models/multipart_form_field_request.rb +1 -1
  114. data/lib/merge_ats_client/models/offer.rb +40 -16
  115. data/lib/merge_ats_client/models/office.rb +37 -15
  116. data/lib/merge_ats_client/models/phone_number.rb +16 -6
  117. data/lib/merge_ats_client/models/phone_number_request.rb +1 -1
  118. data/lib/merge_ats_client/models/reject_reason.rb +37 -15
  119. data/lib/merge_ats_client/models/remote_user.rb +38 -16
  120. data/lib/merge_ats_client/models/scheduled_interview.rb +41 -16
  121. data/lib/merge_ats_client/models/scheduled_interview_endpoint_request.rb +237 -0
  122. data/lib/merge_ats_client/models/scheduled_interview_request.rb +323 -0
  123. data/lib/merge_ats_client/models/scheduled_interview_response.rb +266 -0
  124. data/lib/merge_ats_client/models/scorecard.rb +41 -16
  125. data/lib/merge_ats_client/models/selective_sync_configurations_usage_enum.rb +45 -0
  126. data/lib/merge_ats_client/models/sync_status.rb +13 -4
  127. data/lib/merge_ats_client/models/sync_status_status_enum.rb +2 -1
  128. data/lib/merge_ats_client/models/tag.rb +36 -14
  129. data/lib/merge_ats_client/models/url.rb +16 -6
  130. data/lib/merge_ats_client/models/url_request.rb +1 -1
  131. data/lib/merge_ats_client/version.rb +1 -1
  132. data/lib/merge_ats_client.rb +9 -1
  133. data/spec/api/activities_api_spec.rb +31 -4
  134. data/spec/api/applications_api_spec.rb +2 -2
  135. data/spec/api/attachments_api_spec.rb +6 -4
  136. data/spec/api/candidates_api_spec.rb +5 -3
  137. data/spec/api/departments_api_spec.rb +2 -2
  138. data/spec/api/eeocs_api_spec.rb +6 -4
  139. data/spec/api/force_resync_api_spec.rb +1 -1
  140. data/spec/api/interviews_api_spec.rb +31 -4
  141. data/spec/api/issues_api_spec.rb +3 -3
  142. data/spec/api/job_interview_stages_api_spec.rb +2 -2
  143. data/spec/api/jobs_api_spec.rb +8 -5
  144. data/spec/api/linked_accounts_api_spec.rb +1 -1
  145. data/spec/api/offers_api_spec.rb +6 -4
  146. data/spec/api/offices_api_spec.rb +2 -2
  147. data/spec/api/reject_reasons_api_spec.rb +2 -2
  148. data/spec/api/scorecards_api_spec.rb +6 -4
  149. data/spec/api/selective_sync_api_spec.rb +1 -1
  150. data/spec/api/sync_status_api_spec.rb +1 -1
  151. data/spec/api/tags_api_spec.rb +2 -2
  152. data/spec/api/users_api_spec.rb +6 -4
  153. data/spec/models/account_integration_spec.rb +12 -0
  154. data/spec/models/{ignore_common_model_spec.rb → activity_endpoint_request_spec.rb} +8 -8
  155. data/spec/models/activity_request_spec.rb +76 -0
  156. data/spec/models/activity_response_spec.rb +52 -0
  157. data/spec/models/activity_spec.rb +19 -1
  158. data/spec/models/application_request_spec.rb +0 -12
  159. data/spec/models/application_spec.rb +9 -3
  160. data/spec/models/attachment_request_spec.rb +0 -6
  161. data/spec/models/attachment_spec.rb +14 -2
  162. data/spec/models/candidate_request_spec.rb +0 -24
  163. data/spec/models/candidate_spec.rb +9 -3
  164. data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
  165. data/spec/models/department_spec.rb +14 -2
  166. data/spec/models/eeoc_spec.rb +14 -2
  167. data/spec/models/email_address_spec.rb +6 -0
  168. data/spec/models/enabled_actions_enum_spec.rb +28 -0
  169. data/spec/models/end_user_details_request_spec.rb +6 -0
  170. data/spec/models/issue_spec.rb +6 -0
  171. data/spec/models/job_interview_stage_spec.rb +19 -1
  172. data/spec/models/job_spec.rb +14 -2
  173. data/spec/models/meta_response_spec.rb +6 -0
  174. data/spec/models/offer_spec.rb +14 -2
  175. data/spec/models/office_spec.rb +14 -2
  176. data/spec/models/phone_number_spec.rb +6 -0
  177. data/spec/models/reject_reason_spec.rb +14 -2
  178. data/spec/models/remote_user_spec.rb +14 -2
  179. data/spec/models/{remote_data_request_spec.rb → scheduled_interview_endpoint_request_spec.rb} +8 -8
  180. data/spec/models/scheduled_interview_request_spec.rb +88 -0
  181. data/spec/models/scheduled_interview_response_spec.rb +52 -0
  182. data/spec/models/scheduled_interview_spec.rb +14 -2
  183. data/spec/models/scorecard_spec.rb +14 -2
  184. data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
  185. data/spec/models/sync_status_spec.rb +6 -0
  186. data/spec/models/tag_spec.rb +14 -2
  187. data/spec/models/url_spec.rb +6 -0
  188. metadata +156 -124
@@ -14,17 +14,20 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MergeATSClient
17
- # # The Scorecard Object ### Description The `Scorecard` object is used to represent a Scorecard for an interview. ### Usage Example Fetch from the `LIST Scorecards` endpoint and filter by `application` to show all scorecard for an applicant.
17
+ # # The Scorecard Object ### Description The `Scorecard` object is used to represent an interviewer's candidate recommendation based on a particular interview. ### Usage Example Fetch from the `LIST Scorecards` endpoint and filter by `application` to show all scorecard for an applicant.
18
18
  class Scorecard
19
19
  attr_accessor :id
20
20
 
21
21
  # The third-party API ID of the matching object.
22
22
  attr_accessor :remote_id
23
23
 
24
+ # The application being scored.
24
25
  attr_accessor :application
25
26
 
27
+ # The interview being scored.
26
28
  attr_accessor :interview
27
29
 
30
+ # The interviewer doing the scoring.
28
31
  attr_accessor :interviewer
29
32
 
30
33
  # When the third party's scorecard was created.
@@ -33,14 +36,19 @@ module MergeATSClient
33
36
  # When the scorecard was submitted.
34
37
  attr_accessor :submitted_at
35
38
 
36
- # The inteviewer's recommendation.
39
+ # The inteviewer's recommendation. * `DEFINITELY_NO` - DEFINITELY_NO * `NO` - NO * `YES` - YES * `STRONG_YES` - STRONG_YES * `NO_DECISION` - NO_DECISION
37
40
  attr_accessor :overall_recommendation
38
41
 
39
- attr_accessor :remote_data
40
-
41
42
  # Indicates whether or not this object has been deleted by third party webhooks.
42
43
  attr_accessor :remote_was_deleted
43
44
 
45
+ attr_accessor :field_mappings
46
+
47
+ # This is the datetime that this object was last updated by Merge
48
+ attr_accessor :modified_at
49
+
50
+ attr_accessor :remote_data
51
+
44
52
  # Attribute mapping from ruby-style variable name to JSON key.
45
53
  def self.attribute_map
46
54
  {
@@ -52,8 +60,10 @@ module MergeATSClient
52
60
  :'remote_created_at' => :'remote_created_at',
53
61
  :'submitted_at' => :'submitted_at',
54
62
  :'overall_recommendation' => :'overall_recommendation',
55
- :'remote_data' => :'remote_data',
56
- :'remote_was_deleted' => :'remote_was_deleted'
63
+ :'remote_was_deleted' => :'remote_was_deleted',
64
+ :'field_mappings' => :'field_mappings',
65
+ :'modified_at' => :'modified_at',
66
+ :'remote_data' => :'remote_data'
57
67
  }
58
68
  end
59
69
 
@@ -73,8 +83,10 @@ module MergeATSClient
73
83
  :'remote_created_at' => :'Time',
74
84
  :'submitted_at' => :'Time',
75
85
  :'overall_recommendation' => :'OverallRecommendationEnum',
76
- :'remote_data' => :'Array<RemoteData>',
77
- :'remote_was_deleted' => :'Boolean'
86
+ :'remote_was_deleted' => :'Boolean',
87
+ :'field_mappings' => :'Hash<String, Object>',
88
+ :'modified_at' => :'Time',
89
+ :'remote_data' => :'Array<RemoteData>'
78
90
  }
79
91
  end
80
92
 
@@ -88,7 +100,8 @@ module MergeATSClient
88
100
  :'remote_created_at',
89
101
  :'submitted_at',
90
102
  :'overall_recommendation',
91
- :'remote_data',
103
+ :'field_mappings',
104
+ :'remote_data'
92
105
  ])
93
106
  end
94
107
 
@@ -139,15 +152,25 @@ module MergeATSClient
139
152
  self.overall_recommendation = attributes[:'overall_recommendation']
140
153
  end
141
154
 
155
+ if attributes.key?(:'remote_was_deleted')
156
+ self.remote_was_deleted = attributes[:'remote_was_deleted']
157
+ end
158
+
159
+ if attributes.key?(:'field_mappings')
160
+ if (value = attributes[:'field_mappings']).is_a?(Hash)
161
+ self.field_mappings = value
162
+ end
163
+ end
164
+
165
+ if attributes.key?(:'modified_at')
166
+ self.modified_at = attributes[:'modified_at']
167
+ end
168
+
142
169
  if attributes.key?(:'remote_data')
143
170
  if (value = attributes[:'remote_data']).is_a?(Array)
144
171
  self.remote_data = value
145
172
  end
146
173
  end
147
-
148
- if attributes.key?(:'remote_was_deleted')
149
- self.remote_was_deleted = attributes[:'remote_was_deleted']
150
- end
151
174
  end
152
175
 
153
176
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -176,8 +199,10 @@ module MergeATSClient
176
199
  remote_created_at == o.remote_created_at &&
177
200
  submitted_at == o.submitted_at &&
178
201
  overall_recommendation == o.overall_recommendation &&
179
- remote_data == o.remote_data &&
180
- remote_was_deleted == o.remote_was_deleted
202
+ remote_was_deleted == o.remote_was_deleted &&
203
+ field_mappings == o.field_mappings &&
204
+ modified_at == o.modified_at &&
205
+ remote_data == o.remote_data
181
206
  end
182
207
 
183
208
  # @see the `==` method
@@ -189,7 +214,7 @@ module MergeATSClient
189
214
  # Calculates hash code according to all attributes.
190
215
  # @return [Integer] Hash code
191
216
  def hash
192
- [id, remote_id, application, interview, interviewer, remote_created_at, submitted_at, overall_recommendation, remote_data, remote_was_deleted].hash
217
+ [id, remote_id, application, interview, interviewer, remote_created_at, submitted_at, overall_recommendation, remote_was_deleted, field_mappings, modified_at, remote_data].hash
193
218
  end
194
219
 
195
220
  # Builds the object from hash
@@ -0,0 +1,45 @@
1
+ =begin
2
+ #Merge ATS API
3
+
4
+ #The unified API for building rich integrations with multiple Applicant Tracking System platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MergeATSClient
17
+ class SelectiveSyncConfigurationsUsageEnum
18
+ NEXT_SYNC = "IN_NEXT_SYNC".freeze
19
+ LAST_SYNC = "IN_LAST_SYNC".freeze
20
+
21
+ MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
22
+
23
+ attr_accessor :value
24
+ attr_accessor :raw_value
25
+
26
+ # Builds the enum from string
27
+ # @param [String] The enum value in the form of the string
28
+ # @return [String] The enum value
29
+ def build_from_hash(value)
30
+ @raw_value = value
31
+ if ["IN_NEXT_SYNC", "IN_LAST_SYNC", ].include? value
32
+ @value = value
33
+ else
34
+ @value = MERGE_NONSTANDARD_VALUE
35
+ end
36
+
37
+ self
38
+ end
39
+
40
+ def self.build_from_hash(value)
41
+ SelectiveSyncConfigurationsUsageEnum.new.build_from_hash(value)
42
+ end
43
+ end
44
+
45
+ end
@@ -28,6 +28,8 @@ module MergeATSClient
28
28
 
29
29
  attr_accessor :is_initial_sync
30
30
 
31
+ attr_accessor :selective_sync_configurations_usage
32
+
31
33
  # Attribute mapping from ruby-style variable name to JSON key.
32
34
  def self.attribute_map
33
35
  {
@@ -36,7 +38,8 @@ module MergeATSClient
36
38
  :'last_sync_start' => :'last_sync_start',
37
39
  :'next_sync_start' => :'next_sync_start',
38
40
  :'status' => :'status',
39
- :'is_initial_sync' => :'is_initial_sync'
41
+ :'is_initial_sync' => :'is_initial_sync',
42
+ :'selective_sync_configurations_usage' => :'selective_sync_configurations_usage'
40
43
  }
41
44
  end
42
45
 
@@ -53,7 +56,8 @@ module MergeATSClient
53
56
  :'last_sync_start' => :'Time',
54
57
  :'next_sync_start' => :'Time',
55
58
  :'status' => :'SyncStatusStatusEnum',
56
- :'is_initial_sync' => :'Boolean'
59
+ :'is_initial_sync' => :'Boolean',
60
+ :'selective_sync_configurations_usage' => :'SelectiveSyncConfigurationsUsageEnum'
57
61
  }
58
62
  end
59
63
 
@@ -101,6 +105,10 @@ module MergeATSClient
101
105
  if attributes.key?(:'is_initial_sync')
102
106
  self.is_initial_sync = attributes[:'is_initial_sync']
103
107
  end
108
+
109
+ if attributes.key?(:'selective_sync_configurations_usage')
110
+ self.selective_sync_configurations_usage = attributes[:'selective_sync_configurations_usage']
111
+ end
104
112
  end
105
113
 
106
114
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -146,7 +154,8 @@ module MergeATSClient
146
154
  last_sync_start == o.last_sync_start &&
147
155
  next_sync_start == o.next_sync_start &&
148
156
  status == o.status &&
149
- is_initial_sync == o.is_initial_sync
157
+ is_initial_sync == o.is_initial_sync &&
158
+ selective_sync_configurations_usage == o.selective_sync_configurations_usage
150
159
  end
151
160
 
152
161
  # @see the `==` method
@@ -158,7 +167,7 @@ module MergeATSClient
158
167
  # Calculates hash code according to all attributes.
159
168
  # @return [Integer] Hash code
160
169
  def hash
161
- [model_name, model_id, last_sync_start, next_sync_start, status, is_initial_sync].hash
170
+ [model_name, model_id, last_sync_start, next_sync_start, status, is_initial_sync, selective_sync_configurations_usage].hash
162
171
  end
163
172
 
164
173
  # Builds the object from hash
@@ -20,6 +20,7 @@ module MergeATSClient
20
20
  FAILED = "FAILED".freeze
21
21
  DISABLED = "DISABLED".freeze
22
22
  PAUSED = "PAUSED".freeze
23
+ PARTIALLY_SYNCED = "PARTIALLY_SYNCED".freeze
23
24
 
24
25
  MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
25
26
 
@@ -31,7 +32,7 @@ module MergeATSClient
31
32
  # @return [String] The enum value
32
33
  def build_from_hash(value)
33
34
  @raw_value = value
34
- if ["SYNCING", "DONE", "FAILED", "DISABLED", "PAUSED", ].include? value
35
+ if ["SYNCING", "DONE", "FAILED", "DISABLED", "PAUSED", "PARTIALLY_SYNCED", ].include? value
35
36
  @value = value
36
37
  else
37
38
  @value = MERGE_NONSTANDARD_VALUE
@@ -22,18 +22,25 @@ module MergeATSClient
22
22
  # The tag's name.
23
23
  attr_accessor :name
24
24
 
25
- attr_accessor :remote_data
26
-
27
25
  # Indicates whether or not this object has been deleted by third party webhooks.
28
26
  attr_accessor :remote_was_deleted
29
27
 
28
+ attr_accessor :field_mappings
29
+
30
+ # This is the datetime that this object was last updated by Merge
31
+ attr_accessor :modified_at
32
+
33
+ attr_accessor :remote_data
34
+
30
35
  # Attribute mapping from ruby-style variable name to JSON key.
31
36
  def self.attribute_map
32
37
  {
33
38
  :'remote_id' => :'remote_id',
34
39
  :'name' => :'name',
35
- :'remote_data' => :'remote_data',
36
- :'remote_was_deleted' => :'remote_was_deleted'
40
+ :'remote_was_deleted' => :'remote_was_deleted',
41
+ :'field_mappings' => :'field_mappings',
42
+ :'modified_at' => :'modified_at',
43
+ :'remote_data' => :'remote_data'
37
44
  }
38
45
  end
39
46
 
@@ -47,8 +54,10 @@ module MergeATSClient
47
54
  {
48
55
  :'remote_id' => :'String',
49
56
  :'name' => :'String',
50
- :'remote_data' => :'Array<Hash<String, Object>>',
51
- :'remote_was_deleted' => :'Boolean'
57
+ :'remote_was_deleted' => :'Boolean',
58
+ :'field_mappings' => :'Hash<String, Object>',
59
+ :'modified_at' => :'Time',
60
+ :'remote_data' => :'Array<Hash<String, Object>>'
52
61
  }
53
62
  end
54
63
 
@@ -57,7 +66,8 @@ module MergeATSClient
57
66
  Set.new([
58
67
  :'remote_id',
59
68
  :'name',
60
- :'remote_data',
69
+ :'field_mappings',
70
+ :'remote_data'
61
71
  ])
62
72
  end
63
73
 
@@ -84,15 +94,25 @@ module MergeATSClient
84
94
  self.name = attributes[:'name']
85
95
  end
86
96
 
97
+ if attributes.key?(:'remote_was_deleted')
98
+ self.remote_was_deleted = attributes[:'remote_was_deleted']
99
+ end
100
+
101
+ if attributes.key?(:'field_mappings')
102
+ if (value = attributes[:'field_mappings']).is_a?(Hash)
103
+ self.field_mappings = value
104
+ end
105
+ end
106
+
107
+ if attributes.key?(:'modified_at')
108
+ self.modified_at = attributes[:'modified_at']
109
+ end
110
+
87
111
  if attributes.key?(:'remote_data')
88
112
  if (value = attributes[:'remote_data']).is_a?(Array)
89
113
  self.remote_data = value
90
114
  end
91
115
  end
92
-
93
- if attributes.key?(:'remote_was_deleted')
94
- self.remote_was_deleted = attributes[:'remote_was_deleted']
95
- end
96
116
  end
97
117
 
98
118
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -115,8 +135,10 @@ module MergeATSClient
115
135
  self.class == o.class &&
116
136
  remote_id == o.remote_id &&
117
137
  name == o.name &&
118
- remote_data == o.remote_data &&
119
- remote_was_deleted == o.remote_was_deleted
138
+ remote_was_deleted == o.remote_was_deleted &&
139
+ field_mappings == o.field_mappings &&
140
+ modified_at == o.modified_at &&
141
+ remote_data == o.remote_data
120
142
  end
121
143
 
122
144
  # @see the `==` method
@@ -128,7 +150,7 @@ module MergeATSClient
128
150
  # Calculates hash code according to all attributes.
129
151
  # @return [Integer] Hash code
130
152
  def hash
131
- [remote_id, name, remote_data, remote_was_deleted].hash
153
+ [remote_id, name, remote_was_deleted, field_mappings, modified_at, remote_data].hash
132
154
  end
133
155
 
134
156
  # Builds the object from hash
@@ -19,14 +19,18 @@ module MergeATSClient
19
19
  # The site's url.
20
20
  attr_accessor :value
21
21
 
22
- # The type of site.
22
+ # The type of site. * `PERSONAL` - PERSONAL * `COMPANY` - COMPANY * `PORTFOLIO` - PORTFOLIO * `BLOG` - BLOG * `SOCIAL_MEDIA` - SOCIAL_MEDIA * `OTHER` - OTHER * `JOB_POSTING` - JOB_POSTING
23
23
  attr_accessor :url_type
24
24
 
25
+ # This is the datetime that this object was last updated by Merge
26
+ attr_accessor :modified_at
27
+
25
28
  # Attribute mapping from ruby-style variable name to JSON key.
26
29
  def self.attribute_map
27
30
  {
28
31
  :'value' => :'value',
29
- :'url_type' => :'url_type'
32
+ :'url_type' => :'url_type',
33
+ :'modified_at' => :'modified_at'
30
34
  }
31
35
  end
32
36
 
@@ -39,7 +43,8 @@ module MergeATSClient
39
43
  def self.openapi_types
40
44
  {
41
45
  :'value' => :'String',
42
- :'url_type' => :'UrlTypeEnum'
46
+ :'url_type' => :'UrlTypeEnum',
47
+ :'modified_at' => :'Time'
43
48
  }
44
49
  end
45
50
 
@@ -47,7 +52,7 @@ module MergeATSClient
47
52
  def self.openapi_nullable
48
53
  Set.new([
49
54
  :'value',
50
- :'url_type'
55
+ :'url_type',
51
56
  ])
52
57
  end
53
58
 
@@ -73,6 +78,10 @@ module MergeATSClient
73
78
  if attributes.key?(:'url_type')
74
79
  self.url_type = attributes[:'url_type']
75
80
  end
81
+
82
+ if attributes.key?(:'modified_at')
83
+ self.modified_at = attributes[:'modified_at']
84
+ end
76
85
  end
77
86
 
78
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -109,7 +118,8 @@ module MergeATSClient
109
118
  return true if self.equal?(o)
110
119
  self.class == o.class &&
111
120
  value == o.value &&
112
- url_type == o.url_type
121
+ url_type == o.url_type &&
122
+ modified_at == o.modified_at
113
123
  end
114
124
 
115
125
  # @see the `==` method
@@ -121,7 +131,7 @@ module MergeATSClient
121
131
  # Calculates hash code according to all attributes.
122
132
  # @return [Integer] Hash code
123
133
  def hash
124
- [value, url_type].hash
134
+ [value, url_type, modified_at].hash
125
135
  end
126
136
 
127
137
  # Builds the object from hash
@@ -19,7 +19,7 @@ module MergeATSClient
19
19
  # The site's url.
20
20
  attr_accessor :value
21
21
 
22
- # The type of site.
22
+ # The type of site. * `PERSONAL` - PERSONAL * `COMPANY` - COMPANY * `PORTFOLIO` - PORTFOLIO * `BLOG` - BLOG * `SOCIAL_MEDIA` - SOCIAL_MEDIA * `OTHER` - OTHER * `JOB_POSTING` - JOB_POSTING
23
23
  attr_accessor :url_type
24
24
 
25
25
  attr_accessor :integration_params
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module MergeATSClient
14
- VERSION = '3.0.0'
14
+ VERSION = '3.0.1'
15
15
  end
@@ -25,6 +25,9 @@ require 'merge_ats_client/models/account_details_and_actions_status_enum'
25
25
  require 'merge_ats_client/models/account_integration'
26
26
  require 'merge_ats_client/models/account_token'
27
27
  require 'merge_ats_client/models/activity'
28
+ require 'merge_ats_client/models/activity_endpoint_request'
29
+ require 'merge_ats_client/models/activity_request'
30
+ require 'merge_ats_client/models/activity_response'
28
31
  require 'merge_ats_client/models/activity_type_enum'
29
32
  require 'merge_ats_client/models/application'
30
33
  require 'merge_ats_client/models/application_endpoint_request'
@@ -42,6 +45,7 @@ require 'merge_ats_client/models/candidate_request'
42
45
  require 'merge_ats_client/models/candidate_response'
43
46
  require 'merge_ats_client/models/categories_enum'
44
47
  require 'merge_ats_client/models/category_enum'
48
+ require 'merge_ats_client/models/common_model_scopes_body_request'
45
49
  require 'merge_ats_client/models/condition_schema'
46
50
  require 'merge_ats_client/models/condition_type_enum'
47
51
  require 'merge_ats_client/models/data_passthrough_request'
@@ -53,12 +57,12 @@ require 'merge_ats_client/models/eeoc'
53
57
  require 'merge_ats_client/models/email_address'
54
58
  require 'merge_ats_client/models/email_address_request'
55
59
  require 'merge_ats_client/models/email_address_type_enum'
60
+ require 'merge_ats_client/models/enabled_actions_enum'
56
61
  require 'merge_ats_client/models/encoding_enum'
57
62
  require 'merge_ats_client/models/end_user_details_request'
58
63
  require 'merge_ats_client/models/error_validation_problem'
59
64
  require 'merge_ats_client/models/gender_enum'
60
65
  require 'merge_ats_client/models/generate_remote_key_request'
61
- require 'merge_ats_client/models/ignore_common_model'
62
66
  require 'merge_ats_client/models/ignore_common_model_request'
63
67
  require 'merge_ats_client/models/issue'
64
68
  require 'merge_ats_client/models/issue_status_enum'
@@ -114,8 +118,12 @@ require 'merge_ats_client/models/remote_user'
114
118
  require 'merge_ats_client/models/request_format_enum'
115
119
  require 'merge_ats_client/models/response_type_enum'
116
120
  require 'merge_ats_client/models/scheduled_interview'
121
+ require 'merge_ats_client/models/scheduled_interview_endpoint_request'
122
+ require 'merge_ats_client/models/scheduled_interview_request'
123
+ require 'merge_ats_client/models/scheduled_interview_response'
117
124
  require 'merge_ats_client/models/scheduled_interview_status_enum'
118
125
  require 'merge_ats_client/models/scorecard'
126
+ require 'merge_ats_client/models/selective_sync_configurations_usage_enum'
119
127
  require 'merge_ats_client/models/sync_status'
120
128
  require 'merge_ats_client/models/sync_status_status_enum'
121
129
  require 'merge_ats_client/models/tag'
@@ -32,6 +32,20 @@ describe 'ActivitiesApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for activities_create
36
+ # Creates an &#x60;Activity&#x60; object with the given values.
37
+ # @param x_account_token Token identifying the end user.
38
+ # @param activity_endpoint_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
41
+ # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
42
+ # @return [ActivityResponse]
43
+ describe 'activities_create test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
35
49
  # unit tests for activities_list
36
50
  # Returns a list of &#x60;Activity&#x60; objects.
37
51
  # @param x_account_token Token identifying the end user.
@@ -42,11 +56,12 @@ describe 'ActivitiesApi' do
42
56
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
57
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
58
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
46
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
59
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
60
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
47
61
  # @option opts [Integer] :page_size Number of results to return per page.
48
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
62
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
49
63
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
64
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
50
65
  # @option opts [String] :user_id If provided, will only return activities done by this user.
51
66
  # @return [PaginatedActivityList]
52
67
  describe 'activities_list test' do
@@ -55,6 +70,17 @@ describe 'ActivitiesApi' do
55
70
  end
56
71
  end
57
72
 
73
+ # unit tests for activities_meta_post_retrieve
74
+ # Returns metadata for &#x60;Activity&#x60; POSTs.
75
+ # @param x_account_token Token identifying the end user.
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [MetaResponse]
78
+ describe 'activities_meta_post_retrieve test' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
58
84
  # unit tests for activities_retrieve
59
85
  # Returns an &#x60;Activity&#x60; object with the given &#x60;id&#x60;.
60
86
  # @param x_account_token Token identifying the end user.
@@ -62,7 +88,8 @@ describe 'ActivitiesApi' do
62
88
  # @param [Hash] opts the optional parameters
63
89
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
64
90
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
65
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
91
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
92
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
66
93
  # @return [Activity]
67
94
  describe 'activities_retrieve test' do
68
95
  it 'should work' do
@@ -75,8 +75,8 @@ describe 'ApplicationsApi' do
75
75
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
76
76
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
77
77
  # @option opts [String] :job_id If provided, will only return applications for this job.
78
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
79
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
78
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
79
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
80
80
  # @option opts [Integer] :page_size Number of results to return per page.
81
81
  # @option opts [String] :reject_reason_id If provided, will only return applications with this reject reason.
82
82
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -57,11 +57,12 @@ describe 'AttachmentsApi' do
57
57
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
61
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
60
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
61
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
62
62
  # @option opts [Integer] :page_size Number of results to return per page.
63
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
63
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
64
64
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
65
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
65
66
  # @return [PaginatedAttachmentList]
66
67
  describe 'attachments_list test' do
67
68
  it 'should work' do
@@ -87,7 +88,8 @@ describe 'AttachmentsApi' do
87
88
  # @param [Hash] opts the optional parameters
88
89
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
89
90
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
90
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
91
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
92
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
91
93
  # @return [Attachment]
92
94
  describe 'attachments_retrieve test' do
93
95
  it 'should work' do
@@ -52,7 +52,7 @@ describe 'CandidatesApi' do
52
52
  # @param model_id
53
53
  # @param ignore_common_model_request
54
54
  # @param [Hash] opts the optional parameters
55
- # @return [IgnoreCommonModel]
55
+ # @return [nil]
56
56
  describe 'candidates_ignore_create test' do
57
57
  it 'should work' do
58
58
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -66,15 +66,17 @@ describe 'CandidatesApi' do
66
66
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
67
67
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
68
68
  # @option opts [String] :cursor The pagination cursor value.
69
+ # @option opts [String] :email_addresses If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas.
69
70
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
70
71
  # @option opts [String] :first_name If provided, will only return candidates with this first name.
71
72
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
72
73
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
73
74
  # @option opts [String] :last_name If provided, will only return candidates with this last name.
74
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
75
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
75
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
76
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
76
77
  # @option opts [Integer] :page_size Number of results to return per page.
77
78
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
79
+ # @option opts [String] :tags If provided, will only return candidates with these tags; multiple tags can be separated by commas.
78
80
  # @return [PaginatedCandidateList]
79
81
  describe 'candidates_list test' do
80
82
  it 'should work' do
@@ -41,8 +41,8 @@ describe 'DepartmentsApi' do
41
41
  # @option opts [String] :cursor The pagination cursor value.
42
42
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
43
43
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
44
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
45
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
44
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
45
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
46
46
  # @option opts [Integer] :page_size Number of results to return per page.
47
47
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
48
48
  # @return [PaginatedDepartmentList]