vitable-connect 8.2.0 → 8.3.1

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: 7b3e6f520c10603ee19dff3614fb3fe54f8c062ec195a0baffff1b64908b5206
4
- data.tar.gz: 1d885d05eb81757a5dc0729b7a295eec820c5c4f5e17e148d1d4bb63116b48d0
3
+ metadata.gz: dba235b28efc858edf3b9caec5b183ae0baf3dc0c25890dfea0bc0f8fd377423
4
+ data.tar.gz: 3e420069e4e5f9f994d1ce000cb5730bfc71708efd25427b28aba7ec66c59c0b
5
5
  SHA512:
6
- metadata.gz: 11ee57124d201f69e8606ec6ba70277cb7ec8c77c6ee81ba3e9fa89e22364e19f49faf93cfaafb5c4cd3365d937077bd9570dc3839b39f50ee550cb022cd3d46
7
- data.tar.gz: 340a651fb9afff54c8af4bb8cd3a822009af63892401bfe97d206e9f1ccbefb0a6c76d280ff6db68f4a51e417e3fe5a8a68741b823f03684f960840f4e1ed207
6
+ metadata.gz: '068a4f09844fdc49d2bbed043157e4c2dcc621dd065e04aa0290cd50c1eb519da2a3e4d4bc816377b6c754fd33eaa2e17461debb4520bc222808e2547cef519b'
7
+ data.tar.gz: 399f63bbbea5b68c07e1d2c63b96d11273c76a4253b3972bcf8f96eb70e5d498f04bea8b18d6a2d544e0d0d25fdadf63a88b23b4322a368ee4f9ab7bbc215468
data/.fern/metadata.json CHANGED
@@ -7,10 +7,10 @@
7
7
  "offsetSemantics": "page-index",
8
8
  "respectAuthSchemeNames": true
9
9
  },
10
- "originGitCommit": "fdea1e2173ff8e7e7487db43341baf6ede870caa",
10
+ "originGitCommit": "688438f848c5df48f9db69ff3ea251cb5822f231",
11
11
  "originGitCommitIsDirty": false,
12
12
  "invokedBy": "ci",
13
13
  "requestedVersion": "AUTO",
14
14
  "ciProvider": "gitlab",
15
- "sdkVersion": "8.2.0"
15
+ "sdkVersion": "8.3.1"
16
16
  }
data/changelog.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## 8.3.1 - 2026-11-06
2
+ * chore: document 409 conflict behavior for employee update endpoint
3
+ * Expand the inline documentation for the `update` method on the
4
+ * employees client to describe the 409 `employer_has_hris_connection`
5
+ * error response. The new doc text clarifies exactly when the conflict
6
+ * is raised (changes to `employee_class`, `compensation_type`, or
7
+ * `start_date` for employers with active, pending, or inactive HRIS
8
+ * connections) and notes that paused connections do not block, and that
9
+ * re-sending current values with a new `effective_date` is permitted.
10
+ * Key changes:
11
+ * Extended the YARD comment on `EmployeesClient#update` to document the 409 conflict response and its conditions
12
+ * Clarified that paused HRIS connections do not trigger the conflict
13
+ * Noted the allowed workaround of re-sending current values with a new effective_date
14
+ * 🌿 Generated with Fern
15
+
16
+ ## 8.3.0 - 2026-11-05
17
+ ### Added
18
+ * **`VitableConnect::Types::MemberEnrollment#requires_external_plan`** — new non-nullable boolean field indicating whether the enrollment requires an external plan.
19
+
1
20
  ## 8.2.0 - 2026-11-03
2
21
  ### Added
3
22
  * **`VitableConnect::Types::ElectionStatusItem::UPCOMING`** and **`VitableConnect::Types::PlanYearEnrollmentElectionStatus::UPCOMING`** — new `"Upcoming"` enum value added to both election status types, allowing callers to represent enrollments that are scheduled but not yet active.
@@ -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/8.2.0",
14
+ "User-Agent" => "vitable-connect/8.3.1",
15
15
  "X-Fern-Language" => "Ruby",
16
16
  Authorization: "Bearer #{api_key}"
17
17
  },
@@ -52,7 +52,10 @@ module VitableConnect
52
52
 
53
53
  # Updates employee personal, contact, address, and employment fields. This endpoint currently supports email,
54
54
  # phone, gender, address, employee_class, start_date, and compensation_type. effective_date is required and
55
- # applies to employee_class and compensation_type when those fields are included in the request.
55
+ # applies to employee_class and compensation_type when those fields are included in the request. Returns 409
56
+ # employer_has_hris_connection when the request changes employee_class, compensation_type or start_date for an
57
+ # employer with an active, pending or inactive HRIS connection (paused connections do not block); re-sending the
58
+ # current values with a new effective_date is allowed.
56
59
  #
57
60
  # @param request_options [Hash]
58
61
  # @param params [VitableConnect::Employees::Types::PatchedUpdateEmployeeRequest]
@@ -16,6 +16,8 @@ module VitableConnect
16
16
 
17
17
  field :requires_qle_for_reissue, -> { Internal::Types::Boolean }, optional: false, nullable: false
18
18
 
19
+ field :requires_external_plan, -> { Internal::Types::Boolean }, optional: false, nullable: false
20
+
19
21
  field :product_name, -> { String }, optional: false, nullable: false
20
22
 
21
23
  field :employer_name, -> { String }, optional: false, nullable: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VitableConnect
4
- VERSION = "8.2.0"
4
+ VERSION = "8.3.1"
5
5
  end
data/reference.md CHANGED
@@ -149,7 +149,7 @@ client.employees.get(employee_id: "empl_abc123def456")
149
149
  <dl>
150
150
  <dd>
151
151
 
152
- Updates employee personal, contact, address, and employment fields. This endpoint currently supports email, phone, gender, address, employee_class, start_date, and compensation_type. effective_date is required and applies to employee_class and compensation_type when those fields are included in the request.
152
+ Updates employee personal, contact, address, and employment fields. This endpoint currently supports email, phone, gender, address, employee_class, start_date, and compensation_type. effective_date is required and applies to employee_class and compensation_type when those fields are included in the request. Returns 409 employer_has_hris_connection when the request changes employee_class, compensation_type or start_date for an employer with an active, pending or inactive HRIS connection (paused connections do not block); re-sending the current values with a new effective_date is allowed.
153
153
  </dd>
154
154
  </dl>
155
155
  </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: 8.2.0
4
+ version: 8.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - VitableConnect
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-03 00:00:00.000000000 Z
11
+ date: 2026-11-06 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.