candidhealth 0.25.0 → 0.26.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/lib/candidhealth/third_party_payer_payments/client.rb +30 -0
- data/lib/candidhealth/third_party_payer_payments/v_1/client.rb +360 -0
- data/lib/candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payment.rb +138 -0
- data/lib/candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payment_create.rb +124 -0
- data/lib/candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payment_sort_field.rb +14 -0
- data/lib/candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payments_page.rb +88 -0
- data/lib/candidhealth/third_party_payer_refunds/client.rb +30 -0
- data/lib/candidhealth/third_party_payer_refunds/v_1/client.rb +385 -0
- data/lib/candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refund.rb +139 -0
- data/lib/candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refund_create.rb +125 -0
- data/lib/candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refund_sort_field.rb +14 -0
- data/lib/candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refunds_page.rb +88 -0
- data/lib/candidhealth/third_party_payers/client.rb +30 -0
- data/lib/candidhealth/third_party_payers/v_1/client.rb +375 -0
- data/lib/candidhealth/third_party_payers/v_1/types/create_third_party_payer_request.rb +79 -0
- data/lib/candidhealth/third_party_payers/v_1/types/third_party_payer.rb +100 -0
- data/lib/candidhealth/third_party_payers/v_1/types/third_party_payer_category_update.rb +97 -0
- data/lib/candidhealth/third_party_payers/v_1/types/third_party_payer_description_update.rb +97 -0
- data/lib/candidhealth/third_party_payers/v_1/types/third_party_payer_page.rb +88 -0
- data/lib/candidhealth/third_party_payers/v_1/types/third_party_payer_sort_field.rb +16 -0
- data/lib/candidhealth/third_party_payers/v_1/types/third_party_payer_update_request.rb +92 -0
- data/lib/candidhealth/third_party_payers/v_1/types/toggle_third_party_payer_enablement_request.rb +61 -0
- data/lib/candidhealth.rb +21 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +16 -0
- metadata +23 -1
data/lib/candidhealth.rb
CHANGED
@@ -26,6 +26,9 @@ require_relative "candidhealth/patient_refunds/client"
|
|
26
26
|
require_relative "candidhealth/payers/client"
|
27
27
|
require_relative "candidhealth/service_lines/client"
|
28
28
|
require_relative "candidhealth/tasks/client"
|
29
|
+
require_relative "candidhealth/third_party_payer_payments/client"
|
30
|
+
require_relative "candidhealth/third_party_payer_refunds/client"
|
31
|
+
require_relative "candidhealth/third_party_payers/client"
|
29
32
|
require_relative "candidhealth/write_offs/client"
|
30
33
|
require_relative "candidhealth/pre_encounter/client"
|
31
34
|
require_relative "candidhealth/service_facility/client"
|
@@ -76,6 +79,12 @@ module CandidApiClient
|
|
76
79
|
attr_reader :service_lines
|
77
80
|
# @return [CandidApiClient::Tasks::Client]
|
78
81
|
attr_reader :tasks
|
82
|
+
# @return [CandidApiClient::ThirdPartyPayerPayments::Client]
|
83
|
+
attr_reader :third_party_payer_payments
|
84
|
+
# @return [CandidApiClient::ThirdPartyPayerRefunds::Client]
|
85
|
+
attr_reader :third_party_payer_refunds
|
86
|
+
# @return [CandidApiClient::ThirdPartyPayers::Client]
|
87
|
+
attr_reader :third_party_payers
|
79
88
|
# @return [CandidApiClient::WriteOffs::Client]
|
80
89
|
attr_reader :write_offs
|
81
90
|
# @return [CandidApiClient::PreEncounter::Client]
|
@@ -131,6 +140,9 @@ module CandidApiClient
|
|
131
140
|
@payers = CandidApiClient::Payers::Client.new(request_client: @request_client)
|
132
141
|
@service_lines = CandidApiClient::ServiceLines::Client.new(request_client: @request_client)
|
133
142
|
@tasks = CandidApiClient::Tasks::Client.new(request_client: @request_client)
|
143
|
+
@third_party_payer_payments = CandidApiClient::ThirdPartyPayerPayments::Client.new(request_client: @request_client)
|
144
|
+
@third_party_payer_refunds = CandidApiClient::ThirdPartyPayerRefunds::Client.new(request_client: @request_client)
|
145
|
+
@third_party_payers = CandidApiClient::ThirdPartyPayers::Client.new(request_client: @request_client)
|
134
146
|
@write_offs = CandidApiClient::WriteOffs::Client.new(request_client: @request_client)
|
135
147
|
@pre_encounter = CandidApiClient::PreEncounter::Client.new(request_client: @request_client)
|
136
148
|
@service_facility = CandidApiClient::ServiceFacilityClient.new(request_client: @request_client)
|
@@ -182,6 +194,12 @@ module CandidApiClient
|
|
182
194
|
attr_reader :service_lines
|
183
195
|
# @return [CandidApiClient::Tasks::AsyncClient]
|
184
196
|
attr_reader :tasks
|
197
|
+
# @return [CandidApiClient::ThirdPartyPayerPayments::AsyncClient]
|
198
|
+
attr_reader :third_party_payer_payments
|
199
|
+
# @return [CandidApiClient::ThirdPartyPayerRefunds::AsyncClient]
|
200
|
+
attr_reader :third_party_payer_refunds
|
201
|
+
# @return [CandidApiClient::ThirdPartyPayers::AsyncClient]
|
202
|
+
attr_reader :third_party_payers
|
185
203
|
# @return [CandidApiClient::WriteOffs::AsyncClient]
|
186
204
|
attr_reader :write_offs
|
187
205
|
# @return [CandidApiClient::PreEncounter::AsyncClient]
|
@@ -237,6 +255,9 @@ module CandidApiClient
|
|
237
255
|
@payers = CandidApiClient::Payers::AsyncClient.new(request_client: @async_request_client)
|
238
256
|
@service_lines = CandidApiClient::ServiceLines::AsyncClient.new(request_client: @async_request_client)
|
239
257
|
@tasks = CandidApiClient::Tasks::AsyncClient.new(request_client: @async_request_client)
|
258
|
+
@third_party_payer_payments = CandidApiClient::ThirdPartyPayerPayments::AsyncClient.new(request_client: @async_request_client)
|
259
|
+
@third_party_payer_refunds = CandidApiClient::ThirdPartyPayerRefunds::AsyncClient.new(request_client: @async_request_client)
|
260
|
+
@third_party_payers = CandidApiClient::ThirdPartyPayers::AsyncClient.new(request_client: @async_request_client)
|
240
261
|
@write_offs = CandidApiClient::WriteOffs::AsyncClient.new(request_client: @async_request_client)
|
241
262
|
@pre_encounter = CandidApiClient::PreEncounter::AsyncClient.new(request_client: @async_request_client)
|
242
263
|
@service_facility = CandidApiClient::AsyncServiceFacilityClient.new(request_client: @async_request_client)
|
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.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.26.0" }
|
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.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.26.0" }
|
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
@@ -220,6 +220,22 @@ require_relative "candidhealth/tasks/v_3/types/task_create_v_3"
|
|
220
220
|
require_relative "candidhealth/tasks/v_3/types/task_update_v_3"
|
221
221
|
require_relative "candidhealth/tasks/v_3/types/task_page"
|
222
222
|
require_relative "candidhealth/tasks/v_3/types/task_updated_to_deprecated_status_error_type"
|
223
|
+
require_relative "candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payment"
|
224
|
+
require_relative "candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payment_create"
|
225
|
+
require_relative "candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payments_page"
|
226
|
+
require_relative "candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payment_sort_field"
|
227
|
+
require_relative "candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refund"
|
228
|
+
require_relative "candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refund_create"
|
229
|
+
require_relative "candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refunds_page"
|
230
|
+
require_relative "candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refund_sort_field"
|
231
|
+
require_relative "candidhealth/third_party_payers/v_1/types/third_party_payer"
|
232
|
+
require_relative "candidhealth/third_party_payers/v_1/types/create_third_party_payer_request"
|
233
|
+
require_relative "candidhealth/third_party_payers/v_1/types/third_party_payer_page"
|
234
|
+
require_relative "candidhealth/third_party_payers/v_1/types/third_party_payer_sort_field"
|
235
|
+
require_relative "candidhealth/third_party_payers/v_1/types/third_party_payer_description_update"
|
236
|
+
require_relative "candidhealth/third_party_payers/v_1/types/third_party_payer_category_update"
|
237
|
+
require_relative "candidhealth/third_party_payers/v_1/types/toggle_third_party_payer_enablement_request"
|
238
|
+
require_relative "candidhealth/third_party_payers/v_1/types/third_party_payer_update_request"
|
223
239
|
require_relative "candidhealth/write_offs/v_1/types/write_off"
|
224
240
|
require_relative "candidhealth/write_offs/v_1/types/write_off_create"
|
225
241
|
require_relative "candidhealth/write_offs/v_1/types/patient_write_off_reason"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -487,6 +487,28 @@ files:
|
|
487
487
|
- lib/candidhealth/tasks/v_3/types/task_sort_options.rb
|
488
488
|
- lib/candidhealth/tasks/v_3/types/task_update_v_3.rb
|
489
489
|
- lib/candidhealth/tasks/v_3/types/task_updated_to_deprecated_status_error_type.rb
|
490
|
+
- lib/candidhealth/third_party_payer_payments/client.rb
|
491
|
+
- lib/candidhealth/third_party_payer_payments/v_1/client.rb
|
492
|
+
- lib/candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payment.rb
|
493
|
+
- lib/candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payment_create.rb
|
494
|
+
- lib/candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payment_sort_field.rb
|
495
|
+
- lib/candidhealth/third_party_payer_payments/v_1/types/third_party_payer_payments_page.rb
|
496
|
+
- lib/candidhealth/third_party_payer_refunds/client.rb
|
497
|
+
- lib/candidhealth/third_party_payer_refunds/v_1/client.rb
|
498
|
+
- lib/candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refund.rb
|
499
|
+
- lib/candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refund_create.rb
|
500
|
+
- lib/candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refund_sort_field.rb
|
501
|
+
- lib/candidhealth/third_party_payer_refunds/v_1/types/third_party_payer_refunds_page.rb
|
502
|
+
- lib/candidhealth/third_party_payers/client.rb
|
503
|
+
- lib/candidhealth/third_party_payers/v_1/client.rb
|
504
|
+
- lib/candidhealth/third_party_payers/v_1/types/create_third_party_payer_request.rb
|
505
|
+
- lib/candidhealth/third_party_payers/v_1/types/third_party_payer.rb
|
506
|
+
- lib/candidhealth/third_party_payers/v_1/types/third_party_payer_category_update.rb
|
507
|
+
- lib/candidhealth/third_party_payers/v_1/types/third_party_payer_description_update.rb
|
508
|
+
- lib/candidhealth/third_party_payers/v_1/types/third_party_payer_page.rb
|
509
|
+
- lib/candidhealth/third_party_payers/v_1/types/third_party_payer_sort_field.rb
|
510
|
+
- lib/candidhealth/third_party_payers/v_1/types/third_party_payer_update_request.rb
|
511
|
+
- lib/candidhealth/third_party_payers/v_1/types/toggle_third_party_payer_enablement_request.rb
|
490
512
|
- lib/candidhealth/write_offs/client.rb
|
491
513
|
- lib/candidhealth/write_offs/v_1/client.rb
|
492
514
|
- lib/candidhealth/write_offs/v_1/types/create_write_offs_response.rb
|