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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b7a185db5342f9314bf796d468ef76843c0a8831f65fbefc24d79db5c951823
4
- data.tar.gz: e46375300595b9be316d30eace8d53e66e0a0052fa1a2a5f1d1ed7284e7255a6
3
+ metadata.gz: 27953b3d10c94ce08caf61a7de2bf9fec5e55a1ca815c84f5c78b8c290248bea
4
+ data.tar.gz: bc2079248a3022bfdefeaec13e386df45bcaff01566e6170ef8eee742e77a768
5
5
  SHA512:
6
- metadata.gz: 6a2fca7df9976c5c2bb425455712b8ac77ac5950b8e45475773dc6a67cb745893f9399f08fb541819f1812ca3fa1b84ab22aabc91f492cabf0d7e4d630875447
7
- data.tar.gz: b4713880f6149099cc304b8aaea804a76e197a00df628268aed5241b41009488c50d47019b70e107c33276a92fd9e708087aba445d210e1b6e1e7d2e0d35ded1
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": "d021471c4a621cd36ca2192de4fa31cb0e1cda28",
10
+ "originGitCommit": "2b7d0be740c4f4091fb3be026e22a8c3aa7c44a1",
11
11
  "originGitCommitIsDirty": false,
12
12
  "invokedBy": "ci",
13
13
  "requestedVersion": "AUTO",
14
14
  "ciProvider": "gitlab",
15
- "sdkVersion": "6.0.0"
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/6.0.0",
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 status, and
14
- # profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VitableConnect
4
- VERSION = "6.0.0"
4
+ VERSION = "8.0.0"
5
5
  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: 6.0.0
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-15 00:00:00.000000000 Z
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.