candidhealth 0.36.0 → 0.36.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 +4 -4
- data/lib/candidhealth/commons/types/billing_provider_commercial_license_type.rb +20 -0
- data/lib/candidhealth/commons/types/procedure_modifier.rb +1 -0
- data/lib/candidhealth/contracts/v_2/types/contract_invalid_expiration_date_error.rb +60 -0
- data/lib/candidhealth/diagnoses/client.rb +2 -2
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb +15 -2
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update.rb +15 -2
- data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb +14 -1
- data/lib/candidhealth/encounters/v_4/client.rb +82 -140
- data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +633 -0
- data/lib/candidhealth/guarantor/v_1/client.rb +2 -2
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +3 -0
- metadata +5 -2
@@ -105,7 +105,7 @@ module CandidApiClient
|
|
105
105
|
# @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
|
106
106
|
# @example
|
107
107
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
108
|
-
# api.guarantor.v_1.update(guarantor_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { first_name: "string", last_name: "string", external_id: "string", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, phone_numbers:
|
108
|
+
# api.guarantor.v_1.update(guarantor_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { first_name: "string", last_name: "string", external_id: "string", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, phone_numbers: , phone_consent: true, email: "johndoe@joincandidhealth.com", email_consent: true })
|
109
109
|
def update(guarantor_id:, request:, request_options: nil)
|
110
110
|
response = @request_client.conn.patch do |req|
|
111
111
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -223,7 +223,7 @@ module CandidApiClient
|
|
223
223
|
# @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
|
224
224
|
# @example
|
225
225
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
226
|
-
# api.guarantor.v_1.update(guarantor_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { first_name: "string", last_name: "string", external_id: "string", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, phone_numbers:
|
226
|
+
# api.guarantor.v_1.update(guarantor_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { first_name: "string", last_name: "string", external_id: "string", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, phone_numbers: , phone_consent: true, email: "johndoe@joincandidhealth.com", email_consent: true })
|
227
227
|
def update(guarantor_id:, request:, request_options: nil)
|
228
228
|
Async do
|
229
229
|
response = @request_client.conn.patch do |req|
|
data/lib/requests.rb
CHANGED
@@ -43,7 +43,7 @@ module CandidApiClient
|
|
43
43
|
|
44
44
|
# @return [Hash{String => String}]
|
45
45
|
def get_headers
|
46
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.36.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.36.1" }
|
47
47
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
48
48
|
headers
|
49
49
|
end
|
@@ -87,7 +87,7 @@ module CandidApiClient
|
|
87
87
|
|
88
88
|
# @return [Hash{String => String}]
|
89
89
|
def get_headers
|
90
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.36.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.36.1" }
|
91
91
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
92
92
|
headers
|
93
93
|
end
|
data/lib/types_export.rb
CHANGED
@@ -8,6 +8,7 @@ require_relative "candidhealth/claim_submission/v_1/types/claim_frequency_type_c
|
|
8
8
|
require_relative "candidhealth/claim_submission/v_1/types/external_claim_submission_create"
|
9
9
|
require_relative "candidhealth/claim_submission/v_1/types/claim_submission_record_create"
|
10
10
|
require_relative "candidhealth/contracts/v_2/types/contract_is_linked_to_fee_schedule_error"
|
11
|
+
require_relative "candidhealth/contracts/v_2/types/contract_invalid_expiration_date_error"
|
11
12
|
require_relative "candidhealth/contracts/v_2/types/regions_update"
|
12
13
|
require_relative "candidhealth/contracts/v_2/types/date_update"
|
13
14
|
require_relative "candidhealth/contracts/v_2/types/authorized_signatory_update"
|
@@ -44,6 +45,7 @@ require_relative "candidhealth/encounter_providers/v_2/types/billing_provider"
|
|
44
45
|
require_relative "candidhealth/encounter_providers/v_2/types/billing_provider_update"
|
45
46
|
require_relative "candidhealth/encounter_providers/v_2/types/encounter_provider"
|
46
47
|
require_relative "candidhealth/encounters/v_4/types/encounter_base"
|
48
|
+
require_relative "candidhealth/encounters/v_4/types/encounter_optional"
|
47
49
|
require_relative "candidhealth/encounters/v_4/types/encounter"
|
48
50
|
require_relative "candidhealth/encounters/v_4/types/encounter_sort_options"
|
49
51
|
require_relative "candidhealth/encounters/v_4/types/medication"
|
@@ -358,6 +360,7 @@ require_relative "candidhealth/commons/types/phone_number"
|
|
358
360
|
require_relative "candidhealth/commons/types/phone_number_type"
|
359
361
|
require_relative "candidhealth/commons/types/delay_reason_code"
|
360
362
|
require_relative "candidhealth/commons/types/intended_submission_medium"
|
363
|
+
require_relative "candidhealth/commons/types/billing_provider_commercial_license_type"
|
361
364
|
require_relative "candidhealth/diagnoses/types/diagnosis_create"
|
362
365
|
require_relative "candidhealth/diagnoses/types/standalone_diagnosis_create"
|
363
366
|
require_relative "candidhealth/diagnoses/types/diagnosis_type_code"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.36.
|
4
|
+
version: 0.36.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create.rb
|
111
111
|
- lib/candidhealth/claims/types/claim.rb
|
112
112
|
- lib/candidhealth/claims/types/claim_status.rb
|
113
|
+
- lib/candidhealth/commons/types/billing_provider_commercial_license_type.rb
|
113
114
|
- lib/candidhealth/commons/types/claim_adjustment_group_codes.rb
|
114
115
|
- lib/candidhealth/commons/types/claim_submission_payer_responsibility_type.rb
|
115
116
|
- lib/candidhealth/commons/types/date_range_optional_end.rb
|
@@ -151,6 +152,7 @@ files:
|
|
151
152
|
- lib/candidhealth/contracts/v_2/types/authorized_signatory_update.rb
|
152
153
|
- lib/candidhealth/contracts/v_2/types/contract.rb
|
153
154
|
- lib/candidhealth/contracts/v_2/types/contract_base.rb
|
155
|
+
- lib/candidhealth/contracts/v_2/types/contract_invalid_expiration_date_error.rb
|
154
156
|
- lib/candidhealth/contracts/v_2/types/contract_is_linked_to_fee_schedule_error.rb
|
155
157
|
- lib/candidhealth/contracts/v_2/types/contract_status.rb
|
156
158
|
- lib/candidhealth/contracts/v_2/types/contract_with_providers.rb
|
@@ -209,6 +211,7 @@ files:
|
|
209
211
|
- lib/candidhealth/encounters/v_4/types/encounter_base.rb
|
210
212
|
- lib/candidhealth/encounters/v_4/types/encounter_external_id_uniqueness_error_type.rb
|
211
213
|
- lib/candidhealth/encounters/v_4/types/encounter_guarantor_missing_contact_info_error_type.rb
|
214
|
+
- lib/candidhealth/encounters/v_4/types/encounter_optional.rb
|
212
215
|
- lib/candidhealth/encounters/v_4/types/encounter_owner_of_next_action_type.rb
|
213
216
|
- lib/candidhealth/encounters/v_4/types/encounter_page.rb
|
214
217
|
- lib/candidhealth/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb
|