vitable-connect 6.0.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.fern/metadata.json +2 -2
- data/changelog.md +10 -0
- data/lib/VitableConnect/client.rb +10 -6
- data/lib/VitableConnect/employers/client.rb +6 -96
- data/lib/VitableConnect/employers/types/create_employer_request.rb +0 -2
- data/lib/VitableConnect/employers/types/ensure_payroll_integration_email_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/get_benefit_plan_year_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/get_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/get_hris_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/get_invoice_pdf_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/get_payroll_access_setup_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/list_benefit_plan_year_enrollments_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/list_benefit_plan_years_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/list_employees_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/list_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/list_invoices_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/list_payroll_deduction_statements_employers_request.rb +0 -2
- data/lib/VitableConnect/employers/types/submit_payroll_access_setup_request.rb +0 -2
- data/lib/VitableConnect/employers/types/update_employer_request.rb +0 -2
- data/lib/VitableConnect/employers/types/update_employer_settings_request.rb +0 -2
- data/lib/VitableConnect/enrollments/client.rb +2 -17
- data/lib/VitableConnect/enrollments/types/get_enrollments_request.rb +0 -2
- data/lib/VitableConnect/enrollments/types/reissue_enrollment_request.rb +0 -2
- data/lib/VitableConnect/enrollments/types/terminate_enrollment_request.rb +0 -2
- data/lib/VitableConnect/members/client.rb +4 -49
- data/lib/VitableConnect/members/types/create_member_dependent_request.rb +0 -2
- data/lib/VitableConnect/members/types/get_household_members_request.rb +0 -2
- data/lib/VitableConnect/members/types/get_members_request.rb +0 -2
- data/lib/VitableConnect/members/types/list_dependents_members_request.rb +0 -2
- data/lib/VitableConnect/members/types/list_employments_members_request.rb +0 -2
- data/lib/VitableConnect/members/types/list_enrollments_members_request.rb +0 -2
- data/lib/VitableConnect/members/types/list_id_cards_members_request.rb +0 -2
- data/lib/VitableConnect/members/types/list_members_request.rb +0 -2
- data/lib/VitableConnect/members/types/list_qualifying_life_events_members_request.rb +0 -2
- data/lib/VitableConnect/types/member.rb +4 -0
- data/lib/VitableConnect/types/member_address.rb +2 -0
- data/lib/VitableConnect/version.rb +1 -1
- data/lib/VitableConnect.rb +0 -2
- data/reference.md +1 -233
- metadata +2 -4
- data/lib/VitableConnect/employers/types/list_hris_providers_employers_request.rb +0 -11
- data/lib/VitableConnect/types/x_vitable_organization.rb +0 -23
|
@@ -23,7 +23,6 @@ module VitableConnect
|
|
|
23
23
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
24
24
|
# @option request_options [Integer] :timeout_in_seconds
|
|
25
25
|
# @option params [VitableConnect::Types::EnrollmentID] :enrollment_id
|
|
26
|
-
# @option params [String, nil] :vitable_organization
|
|
27
26
|
#
|
|
28
27
|
# @example
|
|
29
28
|
# client.enrollments.get(enrollment_id: "enrl_AAAAAAAAAAAAAAAAAAAAAQ")
|
|
@@ -31,14 +30,10 @@ module VitableConnect
|
|
|
31
30
|
# @return [VitableConnect::Types::EnrollmentResponse]
|
|
32
31
|
def get(request_options: {}, **params)
|
|
33
32
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
34
|
-
headers = {}
|
|
35
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
36
|
-
|
|
37
33
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
38
34
|
base_url: request_options[:base_url],
|
|
39
35
|
method: "GET",
|
|
40
36
|
path: "v1/enrollments/#{URI.encode_uri_component(params[:enrollment_id].to_s)}",
|
|
41
|
-
headers: headers,
|
|
42
37
|
request_options: request_options
|
|
43
38
|
)
|
|
44
39
|
begin
|
|
@@ -68,7 +63,6 @@ module VitableConnect
|
|
|
68
63
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
69
64
|
# @option request_options [Integer] :timeout_in_seconds
|
|
70
65
|
# @option params [VitableConnect::Types::EnrollmentID] :enrollment_id
|
|
71
|
-
# @option params [String, nil] :vitable_organization
|
|
72
66
|
#
|
|
73
67
|
# @example
|
|
74
68
|
# client.enrollments.reissue(
|
|
@@ -82,17 +76,13 @@ module VitableConnect
|
|
|
82
76
|
def reissue(request_options: {}, **params)
|
|
83
77
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
84
78
|
request_data = VitableConnect::Enrollments::Types::ReissueEnrollmentRequest.new(params).to_h
|
|
85
|
-
non_body_param_names = %w[enrollment_id
|
|
79
|
+
non_body_param_names = %w[enrollment_id]
|
|
86
80
|
body = request_data.except(*non_body_param_names)
|
|
87
81
|
|
|
88
|
-
headers = {}
|
|
89
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
90
|
-
|
|
91
82
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
92
83
|
base_url: request_options[:base_url],
|
|
93
84
|
method: "POST",
|
|
94
85
|
path: "v1/enrollments/#{URI.encode_uri_component(params[:enrollment_id].to_s)}/reissue",
|
|
95
|
-
headers: headers,
|
|
96
86
|
body: body,
|
|
97
87
|
request_options: request_options
|
|
98
88
|
)
|
|
@@ -123,7 +113,6 @@ module VitableConnect
|
|
|
123
113
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
124
114
|
# @option request_options [Integer] :timeout_in_seconds
|
|
125
115
|
# @option params [VitableConnect::Types::EnrollmentID] :enrollment_id
|
|
126
|
-
# @option params [String, nil] :vitable_organization
|
|
127
116
|
#
|
|
128
117
|
# @example
|
|
129
118
|
# client.enrollments.terminate(
|
|
@@ -137,17 +126,13 @@ module VitableConnect
|
|
|
137
126
|
def terminate(request_options: {}, **params)
|
|
138
127
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
139
128
|
request_data = VitableConnect::Enrollments::Types::TerminateEnrollmentRequest.new(params).to_h
|
|
140
|
-
non_body_param_names = %w[enrollment_id
|
|
129
|
+
non_body_param_names = %w[enrollment_id]
|
|
141
130
|
body = request_data.except(*non_body_param_names)
|
|
142
131
|
|
|
143
|
-
headers = {}
|
|
144
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
145
|
-
|
|
146
132
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
147
133
|
base_url: request_options[:base_url],
|
|
148
134
|
method: "POST",
|
|
149
135
|
path: "v1/enrollments/#{URI.encode_uri_component(params[:enrollment_id].to_s)}/terminate",
|
|
150
|
-
headers: headers,
|
|
151
136
|
body: body,
|
|
152
137
|
request_options: request_options
|
|
153
138
|
)
|
|
@@ -5,8 +5,6 @@ module VitableConnect
|
|
|
5
5
|
module Types
|
|
6
6
|
class GetEnrollmentsRequest < Internal::Types::Model
|
|
7
7
|
field :enrollment_id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
8
|
end
|
|
11
9
|
end
|
|
12
10
|
end
|
|
@@ -6,8 +6,6 @@ module VitableConnect
|
|
|
6
6
|
class ReissueEnrollmentRequest < Internal::Types::Model
|
|
7
7
|
field :enrollment_id, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
|
-
|
|
11
9
|
field :reason, -> { String }, optional: true, nullable: false
|
|
12
10
|
|
|
13
11
|
field :ticket_number, -> { String }, optional: true, nullable: false
|
|
@@ -6,8 +6,6 @@ module VitableConnect
|
|
|
6
6
|
class TerminateEnrollmentRequest < Internal::Types::Model
|
|
7
7
|
field :enrollment_id, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
|
-
|
|
11
9
|
field :reason, -> { String }, optional: true, nullable: false
|
|
12
10
|
|
|
13
11
|
field :ticket_number, -> { String }, optional: true, nullable: false
|
|
@@ -10,9 +10,9 @@ module VitableConnect
|
|
|
10
10
|
@client = client
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
-
# Retrieves a member's profile by ID — identity, demographics, address, contact details, tobacco
|
|
14
|
-
#
|
|
15
|
-
# 404.
|
|
13
|
+
# Retrieves a member's profile by ID — identity, demographics, address (with county), contact details, tobacco
|
|
14
|
+
# status, marital status, individual and household income, and profile status. Access is scoped to the
|
|
15
|
+
# authenticated principal; a member not visible to the caller returns a 404.
|
|
16
16
|
#
|
|
17
17
|
# @param request_options [Hash]
|
|
18
18
|
# @param params [Hash]
|
|
@@ -22,7 +22,6 @@ module VitableConnect
|
|
|
22
22
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
23
23
|
# @option request_options [Integer] :timeout_in_seconds
|
|
24
24
|
# @option params [VitableConnect::Types::MemberID] :member_id
|
|
25
|
-
# @option params [String, nil] :vitable_organization
|
|
26
25
|
#
|
|
27
26
|
# @example
|
|
28
27
|
# client.members.get(member_id: "mbr_abc123def456")
|
|
@@ -30,14 +29,10 @@ module VitableConnect
|
|
|
30
29
|
# @return [VitableConnect::Types::MemberResponse]
|
|
31
30
|
def get(request_options: {}, **params)
|
|
32
31
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
33
|
-
headers = {}
|
|
34
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
35
|
-
|
|
36
32
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
37
33
|
base_url: request_options[:base_url],
|
|
38
34
|
method: "GET",
|
|
39
35
|
path: "v1/members/#{URI.encode_uri_component(params[:member_id].to_s)}",
|
|
40
|
-
headers: headers,
|
|
41
36
|
request_options: request_options
|
|
42
37
|
)
|
|
43
38
|
begin
|
|
@@ -65,7 +60,6 @@ module VitableConnect
|
|
|
65
60
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
66
61
|
# @option request_options [Integer] :timeout_in_seconds
|
|
67
62
|
# @option params [VitableConnect::Types::MemberID] :member_id
|
|
68
|
-
# @option params [String, nil] :vitable_organization
|
|
69
63
|
#
|
|
70
64
|
# @example
|
|
71
65
|
# client.members.list_dependents(member_id: "mbr_abc123def456")
|
|
@@ -73,14 +67,10 @@ module VitableConnect
|
|
|
73
67
|
# @return [VitableConnect::Types::MemberDependentsResponse]
|
|
74
68
|
def list_dependents(request_options: {}, **params)
|
|
75
69
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
76
|
-
headers = {}
|
|
77
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
78
|
-
|
|
79
70
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
80
71
|
base_url: request_options[:base_url],
|
|
81
72
|
method: "GET",
|
|
82
73
|
path: "v1/members/#{URI.encode_uri_component(params[:member_id].to_s)}/dependents",
|
|
83
|
-
headers: headers,
|
|
84
74
|
request_options: request_options
|
|
85
75
|
)
|
|
86
76
|
begin
|
|
@@ -117,7 +107,6 @@ module VitableConnect
|
|
|
117
107
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
118
108
|
# @option request_options [Integer] :timeout_in_seconds
|
|
119
109
|
# @option params [VitableConnect::Types::MemberID] :member_id
|
|
120
|
-
# @option params [String, nil] :vitable_organization
|
|
121
110
|
#
|
|
122
111
|
# @example
|
|
123
112
|
# client.members.create_dependent(
|
|
@@ -139,17 +128,13 @@ module VitableConnect
|
|
|
139
128
|
def create_dependent(request_options: {}, **params)
|
|
140
129
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
141
130
|
request_data = VitableConnect::Members::Types::CreateMemberDependentRequest.new(params).to_h
|
|
142
|
-
non_body_param_names = %w[member_id
|
|
131
|
+
non_body_param_names = %w[member_id]
|
|
143
132
|
body = request_data.except(*non_body_param_names)
|
|
144
133
|
|
|
145
|
-
headers = {}
|
|
146
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
147
|
-
|
|
148
134
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
149
135
|
base_url: request_options[:base_url],
|
|
150
136
|
method: "POST",
|
|
151
137
|
path: "v1/members/#{URI.encode_uri_component(params[:member_id].to_s)}/dependents",
|
|
152
|
-
headers: headers,
|
|
153
138
|
body: body,
|
|
154
139
|
request_options: request_options
|
|
155
140
|
)
|
|
@@ -180,7 +165,6 @@ module VitableConnect
|
|
|
180
165
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
181
166
|
# @option request_options [Integer] :timeout_in_seconds
|
|
182
167
|
# @option params [VitableConnect::Types::MemberID] :member_id
|
|
183
|
-
# @option params [String, nil] :vitable_organization
|
|
184
168
|
#
|
|
185
169
|
# @example
|
|
186
170
|
# client.members.list_employments(member_id: "mbr_abc123def456")
|
|
@@ -188,14 +172,10 @@ module VitableConnect
|
|
|
188
172
|
# @return [VitableConnect::Types::MemberEmploymentsResponse]
|
|
189
173
|
def list_employments(request_options: {}, **params)
|
|
190
174
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
191
|
-
headers = {}
|
|
192
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
193
|
-
|
|
194
175
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
195
176
|
base_url: request_options[:base_url],
|
|
196
177
|
method: "GET",
|
|
197
178
|
path: "v1/members/#{URI.encode_uri_component(params[:member_id].to_s)}/employments",
|
|
198
|
-
headers: headers,
|
|
199
179
|
request_options: request_options
|
|
200
180
|
)
|
|
201
181
|
begin
|
|
@@ -235,7 +215,6 @@ module VitableConnect
|
|
|
235
215
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
236
216
|
# @option request_options [Integer] :timeout_in_seconds
|
|
237
217
|
# @option params [VitableConnect::Types::MemberID] :member_id
|
|
238
|
-
# @option params [String, nil] :vitable_organization
|
|
239
218
|
#
|
|
240
219
|
# @example
|
|
241
220
|
# client.members.list_enrollments(member_id: "mbr_abc123def456")
|
|
@@ -243,14 +222,10 @@ module VitableConnect
|
|
|
243
222
|
# @return [VitableConnect::Types::MemberEnrollmentsResponse]
|
|
244
223
|
def list_enrollments(request_options: {}, **params)
|
|
245
224
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
246
|
-
headers = {}
|
|
247
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
248
|
-
|
|
249
225
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
250
226
|
base_url: request_options[:base_url],
|
|
251
227
|
method: "GET",
|
|
252
228
|
path: "v1/members/#{URI.encode_uri_component(params[:member_id].to_s)}/enrollments",
|
|
253
|
-
headers: headers,
|
|
254
229
|
request_options: request_options
|
|
255
230
|
)
|
|
256
231
|
begin
|
|
@@ -279,7 +254,6 @@ module VitableConnect
|
|
|
279
254
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
280
255
|
# @option request_options [Integer] :timeout_in_seconds
|
|
281
256
|
# @option params [VitableConnect::Types::MemberID] :member_id
|
|
282
|
-
# @option params [String, nil] :vitable_organization
|
|
283
257
|
#
|
|
284
258
|
# @example
|
|
285
259
|
# client.members.get_household(member_id: "mbr_abc123def456")
|
|
@@ -287,14 +261,10 @@ module VitableConnect
|
|
|
287
261
|
# @return [VitableConnect::Types::HouseholdMembersResponse]
|
|
288
262
|
def get_household(request_options: {}, **params)
|
|
289
263
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
290
|
-
headers = {}
|
|
291
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
292
|
-
|
|
293
264
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
294
265
|
base_url: request_options[:base_url],
|
|
295
266
|
method: "GET",
|
|
296
267
|
path: "v1/members/#{URI.encode_uri_component(params[:member_id].to_s)}/household",
|
|
297
|
-
headers: headers,
|
|
298
268
|
request_options: request_options
|
|
299
269
|
)
|
|
300
270
|
begin
|
|
@@ -326,7 +296,6 @@ module VitableConnect
|
|
|
326
296
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
327
297
|
# @option request_options [Integer] :timeout_in_seconds
|
|
328
298
|
# @option params [VitableConnect::Types::MemberID] :member_id
|
|
329
|
-
# @option params [String, nil] :vitable_organization
|
|
330
299
|
#
|
|
331
300
|
# @example
|
|
332
301
|
# client.members.list_id_cards(member_id: "mbr_abc123def456")
|
|
@@ -334,14 +303,10 @@ module VitableConnect
|
|
|
334
303
|
# @return [VitableConnect::Types::MemberDigitalBenefitCardsResponse]
|
|
335
304
|
def list_id_cards(request_options: {}, **params)
|
|
336
305
|
params = VitableConnect::Internal::Types::Utils.normalize_keys(params)
|
|
337
|
-
headers = {}
|
|
338
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
339
|
-
|
|
340
306
|
request = VitableConnect::Internal::JSON::Request.new(
|
|
341
307
|
base_url: request_options[:base_url],
|
|
342
308
|
method: "GET",
|
|
343
309
|
path: "v1/members/#{URI.encode_uri_component(params[:member_id].to_s)}/id-cards",
|
|
344
|
-
headers: headers,
|
|
345
310
|
request_options: request_options
|
|
346
311
|
)
|
|
347
312
|
begin
|
|
@@ -376,7 +341,6 @@ module VitableConnect
|
|
|
376
341
|
# @option params [Integer, nil] :limit
|
|
377
342
|
# @option params [Integer, nil] :page
|
|
378
343
|
# @option params [VitableConnect::Types::Status, nil] :status
|
|
379
|
-
# @option params [String, nil] :vitable_organization
|
|
380
344
|
#
|
|
381
345
|
# @example
|
|
382
346
|
# client.members.list_qualifying_life_events(
|
|
@@ -393,9 +357,6 @@ module VitableConnect
|
|
|
393
357
|
query_params["page"] = params[:page] if params.key?(:page)
|
|
394
358
|
query_params["status"] = params[:status] if params.key?(:status)
|
|
395
359
|
|
|
396
|
-
headers = {}
|
|
397
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
398
|
-
|
|
399
360
|
VitableConnect::Internal::OffsetItemIterator.new(
|
|
400
361
|
initial_page: query_params["page"],
|
|
401
362
|
item_field: :data,
|
|
@@ -407,7 +368,6 @@ module VitableConnect
|
|
|
407
368
|
base_url: request_options[:base_url],
|
|
408
369
|
method: "GET",
|
|
409
370
|
path: "v1/members/#{URI.encode_uri_component(params[:member_id].to_s)}/qualifying-life-events",
|
|
410
|
-
headers: headers,
|
|
411
371
|
query: query_params,
|
|
412
372
|
request_options: request_options
|
|
413
373
|
)
|
|
@@ -441,7 +401,6 @@ module VitableConnect
|
|
|
441
401
|
# @option params [Integer, nil] :limit
|
|
442
402
|
# @option params [Integer, nil] :page
|
|
443
403
|
# @option params [String, nil] :search
|
|
444
|
-
# @option params [String, nil] :vitable_organization
|
|
445
404
|
#
|
|
446
405
|
# @example
|
|
447
406
|
# client.members.list(
|
|
@@ -457,9 +416,6 @@ module VitableConnect
|
|
|
457
416
|
query_params["page"] = params[:page] if params.key?(:page)
|
|
458
417
|
query_params["search"] = params[:search] if params.key?(:search)
|
|
459
418
|
|
|
460
|
-
headers = {}
|
|
461
|
-
headers["X-Vitable-Organization"] = params[:vitable_organization] if params[:vitable_organization]
|
|
462
|
-
|
|
463
419
|
VitableConnect::Internal::OffsetItemIterator.new(
|
|
464
420
|
initial_page: query_params["page"],
|
|
465
421
|
item_field: :data,
|
|
@@ -471,7 +427,6 @@ module VitableConnect
|
|
|
471
427
|
base_url: request_options[:base_url],
|
|
472
428
|
method: "GET",
|
|
473
429
|
path: "v2/members",
|
|
474
|
-
headers: headers,
|
|
475
430
|
query: query_params,
|
|
476
431
|
request_options: request_options
|
|
477
432
|
)
|
|
@@ -6,8 +6,6 @@ module VitableConnect
|
|
|
6
6
|
class CreateMemberDependentRequest < Internal::Types::Model
|
|
7
7
|
field :member_id, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
|
-
|
|
11
9
|
field :first_name, -> { String }, optional: false, nullable: false
|
|
12
10
|
|
|
13
11
|
field :last_name, -> { String }, optional: false, nullable: false
|
|
@@ -5,8 +5,6 @@ module VitableConnect
|
|
|
5
5
|
module Types
|
|
6
6
|
class GetHouseholdMembersRequest < Internal::Types::Model
|
|
7
7
|
field :member_id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
8
|
end
|
|
11
9
|
end
|
|
12
10
|
end
|
|
@@ -5,8 +5,6 @@ module VitableConnect
|
|
|
5
5
|
module Types
|
|
6
6
|
class GetMembersRequest < Internal::Types::Model
|
|
7
7
|
field :member_id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
8
|
end
|
|
11
9
|
end
|
|
12
10
|
end
|
|
@@ -5,8 +5,6 @@ module VitableConnect
|
|
|
5
5
|
module Types
|
|
6
6
|
class ListDependentsMembersRequest < Internal::Types::Model
|
|
7
7
|
field :member_id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
8
|
end
|
|
11
9
|
end
|
|
12
10
|
end
|
|
@@ -5,8 +5,6 @@ module VitableConnect
|
|
|
5
5
|
module Types
|
|
6
6
|
class ListEmploymentsMembersRequest < Internal::Types::Model
|
|
7
7
|
field :member_id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
8
|
end
|
|
11
9
|
end
|
|
12
10
|
end
|
|
@@ -5,8 +5,6 @@ module VitableConnect
|
|
|
5
5
|
module Types
|
|
6
6
|
class ListEnrollmentsMembersRequest < Internal::Types::Model
|
|
7
7
|
field :member_id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
8
|
end
|
|
11
9
|
end
|
|
12
10
|
end
|
|
@@ -5,8 +5,6 @@ module VitableConnect
|
|
|
5
5
|
module Types
|
|
6
6
|
class ListIDCardsMembersRequest < Internal::Types::Model
|
|
7
7
|
field :member_id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
10
8
|
end
|
|
11
9
|
end
|
|
12
10
|
end
|
|
@@ -9,8 +9,6 @@ module VitableConnect
|
|
|
9
9
|
field :page, -> { Integer }, optional: true, nullable: false
|
|
10
10
|
|
|
11
11
|
field :search, -> { String }, optional: true, nullable: false
|
|
12
|
-
|
|
13
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
14
12
|
end
|
|
15
13
|
end
|
|
16
14
|
end
|
|
@@ -11,8 +11,6 @@ module VitableConnect
|
|
|
11
11
|
field :page, -> { Integer }, optional: true, nullable: false
|
|
12
12
|
|
|
13
13
|
field :status, -> { VitableConnect::Types::Status }, optional: true, nullable: false
|
|
14
|
-
|
|
15
|
-
field :vitable_organization, -> { String }, optional: true, nullable: false, api_name: "X-Vitable-Organization"
|
|
16
14
|
end
|
|
17
15
|
end
|
|
18
16
|
end
|
|
@@ -36,6 +36,10 @@ module VitableConnect
|
|
|
36
36
|
|
|
37
37
|
field :marital_status, -> { VitableConnect::Types::MaritalStatus }, optional: true, nullable: false
|
|
38
38
|
|
|
39
|
+
field :individual_income_in_cents, -> { Integer }, optional: true, nullable: false
|
|
40
|
+
|
|
41
|
+
field :household_income_in_cents, -> { Integer }, optional: true, nullable: false
|
|
42
|
+
|
|
39
43
|
field :status, -> { VitableConnect::Types::MemberStatus }, optional: true, nullable: false
|
|
40
44
|
end
|
|
41
45
|
end
|
|
@@ -12,6 +12,8 @@ module VitableConnect
|
|
|
12
12
|
field :state, -> { VitableConnect::Types::State }, optional: false, nullable: false
|
|
13
13
|
|
|
14
14
|
field :zipcode, -> { String }, optional: false, nullable: false
|
|
15
|
+
|
|
16
|
+
field :county_name, -> { String }, optional: true, nullable: false
|
|
15
17
|
end
|
|
16
18
|
end
|
|
17
19
|
end
|
data/lib/VitableConnect.rb
CHANGED
|
@@ -191,7 +191,6 @@ require_relative "VitableConnect/types/update_employer_address_input"
|
|
|
191
191
|
require_relative "VitableConnect/types/webhook_event"
|
|
192
192
|
require_relative "VitableConnect/types/webhook_event_list_response"
|
|
193
193
|
require_relative "VitableConnect/types/webhook_event_response"
|
|
194
|
-
require_relative "VitableConnect/types/x_vitable_organization"
|
|
195
194
|
require_relative "VitableConnect/types/employer_id"
|
|
196
195
|
require_relative "VitableConnect/types/limit"
|
|
197
196
|
require_relative "VitableConnect/types/page"
|
|
@@ -240,7 +239,6 @@ require_relative "VitableConnect/employers/types/submit_payroll_access_setup_req
|
|
|
240
239
|
require_relative "VitableConnect/employers/types/list_payroll_deduction_statements_employers_request"
|
|
241
240
|
require_relative "VitableConnect/employers/types/ensure_payroll_integration_email_employers_request"
|
|
242
241
|
require_relative "VitableConnect/employers/types/update_employer_settings_request"
|
|
243
|
-
require_relative "VitableConnect/employers/types/list_hris_providers_employers_request"
|
|
244
242
|
require_relative "VitableConnect/enrollments/client"
|
|
245
243
|
require_relative "VitableConnect/enrollments/types/get_enrollments_request"
|
|
246
244
|
require_relative "VitableConnect/enrollments/types/reissue_enrollment_request"
|