vitable-connect 6.0.0 → 8.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 +18 -0
- data/lib/VitableConnect/client.rb +1 -1
- data/lib/VitableConnect/members/client.rb +3 -3
- 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/reference.md +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27953b3d10c94ce08caf61a7de2bf9fec5e55a1ca815c84f5c78b8c290248bea
|
|
4
|
+
data.tar.gz: bc2079248a3022bfdefeaec13e386df45bcaff01566e6170ef8eee742e77a768
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b728241c6dea44cae21be51c791d1a0a8f1dd66d71a52f68f1f3903a4fc53a0e664c9684ed4a98b33e5835830658301bb7f33cad0effe3bf8c5575a25487bdae
|
|
7
|
+
data.tar.gz: c5e615d0ce0a28693542ee70e41bd3af85ba3370a85d110bbb5d3e87f9120f1b24f3fcec60a524332f19050bcc319a0bfb661297ac6a5f8fa8824e37629fa95f
|
data/.fern/metadata.json
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
"offsetSemantics": "page-index",
|
|
8
8
|
"respectAuthSchemeNames": true
|
|
9
9
|
},
|
|
10
|
-
"originGitCommit": "
|
|
10
|
+
"originGitCommit": "2b7d0be740c4f4091fb3be026e22a8c3aa7c44a1",
|
|
11
11
|
"originGitCommitIsDirty": false,
|
|
12
12
|
"invokedBy": "ci",
|
|
13
13
|
"requestedVersion": "AUTO",
|
|
14
14
|
"ciProvider": "gitlab",
|
|
15
|
-
"sdkVersion": "
|
|
15
|
+
"sdkVersion": "8.0.0"
|
|
16
16
|
}
|
data/changelog.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 8.0.0 - 2026-10-16
|
|
2
|
+
### Breaking Changes
|
|
3
|
+
* **`VitableConnect::Client#initialize`** — the `vitable_organization:` keyword argument has been removed; callers passing it at construction time will receive an `ArgumentError`. Migrate by passing `vitable_organization:` directly to each individual API method call instead.
|
|
4
|
+
### Added
|
|
5
|
+
* **`vitable_organization:` per-request parameter** — every method on `VitableConnect::Employers::Client`, `VitableConnect::Enrollments::Client`, and `VitableConnect::Members::Client` now accepts an optional `vitable_organization:` keyword argument that injects the `X-Vitable-Organization` header for that single request.
|
|
6
|
+
* **`VitableConnect::Types::XVitableOrganization`** — module re-introduced providing `load` and `dump` helpers for the organization header value.
|
|
7
|
+
* **`VitableConnect::Employers::Types::ListHrisProvidersEmployersRequest`** — new request model for the list HRIS providers endpoint, supporting the optional `vitable_organization` field.
|
|
8
|
+
|
|
9
|
+
## 7.0.0 - 2026-10-16
|
|
10
|
+
### Breaking Changes
|
|
11
|
+
* **`vitable_organization` field** — removed from all employer, enrollment, and member request models; migrate by passing `vitable_organization:` once to `VitableConnect::Client.new` instead of setting it per-request.
|
|
12
|
+
* **`VitableConnect::Types::XVitableOrganization`** — module deleted; remove any direct references to this type.
|
|
13
|
+
* **`VitableConnect::Employers::Types::ListHrisProvidersEmployersRequest`** — class deleted; remove any usage.
|
|
14
|
+
### Added
|
|
15
|
+
* **`VitableConnect::Client#initialize`** — now accepts an optional `vitable_organization:` keyword argument that automatically injects the `X-Vitable-Organization` header into every request.
|
|
16
|
+
* **`VitableConnect::Types::Member#individual_income_in_cents`** and **`#household_income_in_cents`** — new optional fields exposing individual and household income in cents on the member type.
|
|
17
|
+
* **`VitableConnect::Types::MemberAddress#county_name`** — new optional field exposing the county name associated with a member's address.
|
|
18
|
+
|
|
1
19
|
## 6.0.0 - 2026-10-15
|
|
2
20
|
### Breaking Changes
|
|
3
21
|
* **`VitableConnect::Types::MemberEnrollment#in_last_month_of_coverage`** has been renamed to **`plan_year_ends_this_month`**. Update any code reading this field to use the new name; the field type and nullability are unchanged.
|
|
@@ -11,7 +11,7 @@ module VitableConnect
|
|
|
11
11
|
@raw_client = VitableConnect::Internal::Http::RawClient.new(
|
|
12
12
|
base_url: base_url || VitableConnect::Environment::PRODUCTION,
|
|
13
13
|
headers: {
|
|
14
|
-
"User-Agent" => "vitable-connect/
|
|
14
|
+
"User-Agent" => "vitable-connect/8.0.0",
|
|
15
15
|
"X-Fern-Language" => "Ruby",
|
|
16
16
|
Authorization: "Bearer #{api_key}"
|
|
17
17
|
},
|
|
@@ -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]
|
|
@@ -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/reference.md
CHANGED
|
@@ -2728,7 +2728,7 @@ client.groups.update(
|
|
|
2728
2728
|
<dl>
|
|
2729
2729
|
<dd>
|
|
2730
2730
|
|
|
2731
|
-
Retrieves a member's profile by ID — identity, demographics, address, contact details, tobacco status, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
|
|
2731
|
+
Retrieves a member's profile by ID — identity, demographics, address (with county), contact details, tobacco status, marital status, individual and household income, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
|
|
2732
2732
|
</dd>
|
|
2733
2733
|
</dl>
|
|
2734
2734
|
</dd>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vitable-connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 8.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- VitableConnect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The VitableConnect Ruby library provides convenient access to the VitableConnect
|
|
14
14
|
API from Ruby.
|