candidhealth 1.8.0 → 1.8.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: aa45a6fe274710c9aac40b6aed3f41e36f54d23ff505357a8b0d4db72d1044d7
4
- data.tar.gz: 4e13764dbd0aa89d5a42b1c853d04e1ff968ce4ae77ab3fa0a77baf1328f8a10
3
+ metadata.gz: 3c28843adc7ab38e2ec0f9fd831217363148401b29a7ec6f41addb7b5b0f9603
4
+ data.tar.gz: dff2dbb02bffd879177b3c1fe68d4d746ef06f734e7c292ccdc60dbe21600727
5
5
  SHA512:
6
- metadata.gz: e76c9cb32c9372951674739d28ad0b698dc5365ee99466785614c88691ab6cc3215dedf880cf4004f9429f76f1432b94c2d4c9e006f86bb7f3b1d4027f5a5765
7
- data.tar.gz: f62a5a0b3de9d31692d1d168a81291506b9f03eccaf54390fcd0f9dd19c15a7cd5e97c681f4cac32e9bc6a2661128428cb6637c9bbeca609b7632fd7b24df0d8
6
+ metadata.gz: 3cf256ef89320b522b60249f0f272933dfde82474e8ce8e2e188faf9229b4baba80d0cf43455e53b1535fe5783571dc525b7fdfe83170c381f7c2b3d31d380c5
7
+ data.tar.gz: b9df751ae2d27b1705c9bc65a9c2f3a156aa05ae6389e9b20f2d34c65df73cb46809dc12c3eca5226b5fdbf5fc530ed9093042a74a3d8f580331c6d829beeb01
@@ -9,6 +9,7 @@ require_relative "../../commons/types/sort_direction"
9
9
  require "date"
10
10
  require_relative "../../encounters/v_4/types/billable_status_type"
11
11
  require_relative "../../encounters/v_4/types/responsible_party_type"
12
+ require_relative "../../claims/types/claim_status"
12
13
  require_relative "types/charge_capture_page"
13
14
  require_relative "types/charge_capture_post_billed_change"
14
15
  require "json"
@@ -62,6 +63,7 @@ module CandidApiClient
62
63
  # * :phone_consent (Boolean)
63
64
  # * :email (String)
64
65
  # * :email_consent (Boolean)
66
+ # * :auto_charge_consent (Boolean)
65
67
  # * :subscriber_primary (Hash)
66
68
  # * :insurance_card (Hash)
67
69
  # * :member_id (String)
@@ -169,6 +171,7 @@ module CandidApiClient
169
171
  # * :phone_consent (Boolean)
170
172
  # * :email (String)
171
173
  # * :email_consent (Boolean)
174
+ # * :auto_charge_consent (Boolean)
172
175
  # * :non_insurance_payers (Array<String>)
173
176
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
174
177
  # * :service_facility (Hash)
@@ -383,6 +386,7 @@ module CandidApiClient
383
386
  # * :phone_consent (Boolean)
384
387
  # * :email (String)
385
388
  # * :email_consent (Boolean)
389
+ # * :auto_charge_consent (Boolean)
386
390
  # * :subscriber_primary (Hash)
387
391
  # * :insurance_card (Hash)
388
392
  # * :member_id (String)
@@ -490,6 +494,7 @@ module CandidApiClient
490
494
  # * :phone_consent (Boolean)
491
495
  # * :email (String)
492
496
  # * :email_consent (Boolean)
497
+ # * :auto_charge_consent (Boolean)
493
498
  # * :non_insurance_payers (Array<String>)
494
499
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
495
500
  # * :service_facility (Hash)
@@ -684,6 +689,7 @@ module CandidApiClient
684
689
  # * :phone_consent (Boolean)
685
690
  # * :email (String)
686
691
  # * :email_consent (Boolean)
692
+ # * :auto_charge_consent (Boolean)
687
693
  # * :subscriber_primary (Hash)
688
694
  # * :insurance_card (Hash)
689
695
  # * :member_id (String)
@@ -791,6 +797,7 @@ module CandidApiClient
791
797
  # * :phone_consent (Boolean)
792
798
  # * :email (String)
793
799
  # * :email_consent (Boolean)
800
+ # * :auto_charge_consent (Boolean)
794
801
  # * :non_insurance_payers (Array<String>)
795
802
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
796
803
  # * :service_facility (Hash)
@@ -995,6 +1002,15 @@ module CandidApiClient
995
1002
  # captures with one of the NPIs in this list.
996
1003
  # @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
997
1004
  # captures with one of the names in this list.
1005
+ # @param claim_creation_category [String] A list of claim creation categories to filter by. This will return all charge
1006
+ # capture claim_creations which include one or more charges with one of the names
1007
+ # in this list.
1008
+ # @param tags [String] A list of tags to filter by. This will return all charge captures with one of
1009
+ # the tags.
1010
+ # @param primary_payer_names [String] A list of primary payer names to filter by. This will return all charge captures
1011
+ # with one of the names.
1012
+ # @param patient_names [String] A list of patient names to filter by. This will return all charge captures with
1013
+ # one of the names.
998
1014
  # @param exclude_charges_linked_to_claims [Boolean] Whether to exclude charge captures which are part of a claim creation.
999
1015
  # @param patient_external_id_ranked_sort [String] The patient ID from the external EMR platform for the patient
1000
1016
  # @param status_ranked_sort [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] The charge capture status to show first
@@ -1031,13 +1047,22 @@ module CandidApiClient
1031
1047
  # captures with one of the NPIs in this list.
1032
1048
  # @param supervising_provider_names_ranked_sort [String] A list of supervising provider names to show first. This will return all charge
1033
1049
  # captures with one of the names in this list.
1050
+ # @param claim_status [CandidApiClient::Claims::Types::ClaimStatus] the status of the claim to filter by created from charge capture bundle.
1051
+ # @param claim_creation_category_ranked_sort [String] A list of claim creation categories to sort by. This will return all charge
1052
+ # capture claim_creations which include one or more charges with one of the names
1053
+ # in this list.
1054
+ # @param tags_ranked_sort [String] A list of tags. This will return all charge captures with one of the tags.
1055
+ # @param primary_payer_names_ranked_sort [String] A list of primary payer names to sort by. This will return all charge captures
1056
+ # with one of the names.
1057
+ # @param patient_names_ranked_sort [String] A list of patient names to sort by. This will return all charge captures with
1058
+ # one of the names.
1034
1059
  # @param request_options [CandidApiClient::RequestOptions]
1035
1060
  # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage]
1036
1061
  # @example
1037
1062
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1038
1063
  # api.charge_capture.v_1.get_all
1039
1064
  def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
1040
- charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, search_term: nil, billable_status: nil, responsible_party: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, request_options: nil)
1065
+ charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, claim_creation_category: nil, tags: nil, primary_payer_names: nil, patient_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, search_term: nil, billable_status: nil, responsible_party: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, claim_status: nil, claim_creation_category_ranked_sort: nil, tags_ranked_sort: nil, primary_payer_names_ranked_sort: nil, patient_names_ranked_sort: nil, request_options: nil)
1041
1066
  response = @request_client.conn.get do |req|
1042
1067
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
1043
1068
  req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
@@ -1066,6 +1091,10 @@ module CandidApiClient
1066
1091
  "rendering_provider_names": rendering_provider_names,
1067
1092
  "supervising_provider_npis": supervising_provider_npis,
1068
1093
  "supervising_provider_names": supervising_provider_names,
1094
+ "claim_creation_category": claim_creation_category,
1095
+ "tags": tags,
1096
+ "primary_payer_names": primary_payer_names,
1097
+ "patient_names": patient_names,
1069
1098
  "exclude_charges_linked_to_claims": exclude_charges_linked_to_claims,
1070
1099
  "patient_external_id_ranked_sort": patient_external_id_ranked_sort,
1071
1100
  "status_ranked_sort": status_ranked_sort,
@@ -1083,7 +1112,12 @@ module CandidApiClient
1083
1112
  "rendering_provider_npis_ranked_sort": rendering_provider_npis_ranked_sort,
1084
1113
  "rendering_provider_names_ranked_sort": rendering_provider_names_ranked_sort,
1085
1114
  "supervising_provider_npis_ranked_sort": supervising_provider_npis_ranked_sort,
1086
- "supervising_provider_names_ranked_sort": supervising_provider_names_ranked_sort
1115
+ "supervising_provider_names_ranked_sort": supervising_provider_names_ranked_sort,
1116
+ "claim_status": claim_status,
1117
+ "claim_creation_category_ranked_sort": claim_creation_category_ranked_sort,
1118
+ "tags_ranked_sort": tags_ranked_sort,
1119
+ "primary_payer_names_ranked_sort": primary_payer_names_ranked_sort,
1120
+ "patient_names_ranked_sort": patient_names_ranked_sort
1087
1121
  }.compact
1088
1122
  req.url "#{@request_client.get_url(environment: CandidApi,
1089
1123
  request_options: request_options)}/api/charge_captures/v1"
@@ -1171,6 +1205,7 @@ module CandidApiClient
1171
1205
  # * :phone_consent (Boolean)
1172
1206
  # * :email (String)
1173
1207
  # * :email_consent (Boolean)
1208
+ # * :auto_charge_consent (Boolean)
1174
1209
  # * :subscriber_primary (Hash)
1175
1210
  # * :insurance_card (Hash)
1176
1211
  # * :member_id (String)
@@ -1278,6 +1313,7 @@ module CandidApiClient
1278
1313
  # * :phone_consent (Boolean)
1279
1314
  # * :email (String)
1280
1315
  # * :email_consent (Boolean)
1316
+ # * :auto_charge_consent (Boolean)
1281
1317
  # * :non_insurance_payers (Array<String>)
1282
1318
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
1283
1319
  # * :service_facility (Hash)
@@ -1494,6 +1530,7 @@ module CandidApiClient
1494
1530
  # * :phone_consent (Boolean)
1495
1531
  # * :email (String)
1496
1532
  # * :email_consent (Boolean)
1533
+ # * :auto_charge_consent (Boolean)
1497
1534
  # * :subscriber_primary (Hash)
1498
1535
  # * :insurance_card (Hash)
1499
1536
  # * :member_id (String)
@@ -1601,6 +1638,7 @@ module CandidApiClient
1601
1638
  # * :phone_consent (Boolean)
1602
1639
  # * :email (String)
1603
1640
  # * :email_consent (Boolean)
1641
+ # * :auto_charge_consent (Boolean)
1604
1642
  # * :non_insurance_payers (Array<String>)
1605
1643
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
1606
1644
  # * :service_facility (Hash)
@@ -1797,6 +1835,7 @@ module CandidApiClient
1797
1835
  # * :phone_consent (Boolean)
1798
1836
  # * :email (String)
1799
1837
  # * :email_consent (Boolean)
1838
+ # * :auto_charge_consent (Boolean)
1800
1839
  # * :subscriber_primary (Hash)
1801
1840
  # * :insurance_card (Hash)
1802
1841
  # * :member_id (String)
@@ -1904,6 +1943,7 @@ module CandidApiClient
1904
1943
  # * :phone_consent (Boolean)
1905
1944
  # * :email (String)
1906
1945
  # * :email_consent (Boolean)
1946
+ # * :auto_charge_consent (Boolean)
1907
1947
  # * :non_insurance_payers (Array<String>)
1908
1948
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
1909
1949
  # * :service_facility (Hash)
@@ -2112,6 +2152,15 @@ module CandidApiClient
2112
2152
  # captures with one of the NPIs in this list.
2113
2153
  # @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
2114
2154
  # captures with one of the names in this list.
2155
+ # @param claim_creation_category [String] A list of claim creation categories to filter by. This will return all charge
2156
+ # capture claim_creations which include one or more charges with one of the names
2157
+ # in this list.
2158
+ # @param tags [String] A list of tags to filter by. This will return all charge captures with one of
2159
+ # the tags.
2160
+ # @param primary_payer_names [String] A list of primary payer names to filter by. This will return all charge captures
2161
+ # with one of the names.
2162
+ # @param patient_names [String] A list of patient names to filter by. This will return all charge captures with
2163
+ # one of the names.
2115
2164
  # @param exclude_charges_linked_to_claims [Boolean] Whether to exclude charge captures which are part of a claim creation.
2116
2165
  # @param patient_external_id_ranked_sort [String] The patient ID from the external EMR platform for the patient
2117
2166
  # @param status_ranked_sort [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] The charge capture status to show first
@@ -2148,13 +2197,22 @@ module CandidApiClient
2148
2197
  # captures with one of the NPIs in this list.
2149
2198
  # @param supervising_provider_names_ranked_sort [String] A list of supervising provider names to show first. This will return all charge
2150
2199
  # captures with one of the names in this list.
2200
+ # @param claim_status [CandidApiClient::Claims::Types::ClaimStatus] the status of the claim to filter by created from charge capture bundle.
2201
+ # @param claim_creation_category_ranked_sort [String] A list of claim creation categories to sort by. This will return all charge
2202
+ # capture claim_creations which include one or more charges with one of the names
2203
+ # in this list.
2204
+ # @param tags_ranked_sort [String] A list of tags. This will return all charge captures with one of the tags.
2205
+ # @param primary_payer_names_ranked_sort [String] A list of primary payer names to sort by. This will return all charge captures
2206
+ # with one of the names.
2207
+ # @param patient_names_ranked_sort [String] A list of patient names to sort by. This will return all charge captures with
2208
+ # one of the names.
2151
2209
  # @param request_options [CandidApiClient::RequestOptions]
2152
2210
  # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage]
2153
2211
  # @example
2154
2212
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
2155
2213
  # api.charge_capture.v_1.get_all
2156
2214
  def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
2157
- charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, search_term: nil, billable_status: nil, responsible_party: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, request_options: nil)
2215
+ charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, claim_creation_category: nil, tags: nil, primary_payer_names: nil, patient_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, search_term: nil, billable_status: nil, responsible_party: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, claim_status: nil, claim_creation_category_ranked_sort: nil, tags_ranked_sort: nil, primary_payer_names_ranked_sort: nil, patient_names_ranked_sort: nil, request_options: nil)
2158
2216
  Async do
2159
2217
  response = @request_client.conn.get do |req|
2160
2218
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -2184,6 +2242,10 @@ module CandidApiClient
2184
2242
  "rendering_provider_names": rendering_provider_names,
2185
2243
  "supervising_provider_npis": supervising_provider_npis,
2186
2244
  "supervising_provider_names": supervising_provider_names,
2245
+ "claim_creation_category": claim_creation_category,
2246
+ "tags": tags,
2247
+ "primary_payer_names": primary_payer_names,
2248
+ "patient_names": patient_names,
2187
2249
  "exclude_charges_linked_to_claims": exclude_charges_linked_to_claims,
2188
2250
  "patient_external_id_ranked_sort": patient_external_id_ranked_sort,
2189
2251
  "status_ranked_sort": status_ranked_sort,
@@ -2201,7 +2263,12 @@ module CandidApiClient
2201
2263
  "rendering_provider_npis_ranked_sort": rendering_provider_npis_ranked_sort,
2202
2264
  "rendering_provider_names_ranked_sort": rendering_provider_names_ranked_sort,
2203
2265
  "supervising_provider_npis_ranked_sort": supervising_provider_npis_ranked_sort,
2204
- "supervising_provider_names_ranked_sort": supervising_provider_names_ranked_sort
2266
+ "supervising_provider_names_ranked_sort": supervising_provider_names_ranked_sort,
2267
+ "claim_status": claim_status,
2268
+ "claim_creation_category_ranked_sort": claim_creation_category_ranked_sort,
2269
+ "tags_ranked_sort": tags_ranked_sort,
2270
+ "primary_payer_names_ranked_sort": primary_payer_names_ranked_sort,
2271
+ "patient_names_ranked_sort": patient_names_ranked_sort
2205
2272
  }.compact
2206
2273
  req.url "#{@request_client.get_url(environment: CandidApi,
2207
2274
  request_options: request_options)}/api/charge_captures/v1"
@@ -8,6 +8,7 @@ require_relative "../../commons/types/sort_direction"
8
8
  require_relative "types/charge_capture_claim_creation_status"
9
9
  require_relative "../../charge_capture/v_1/types/charge_capture_status"
10
10
  require "date"
11
+ require_relative "../../claims/types/claim_status"
11
12
  require_relative "types/charge_capture_claim_creation_page"
12
13
  require "async"
13
14
 
@@ -131,6 +132,16 @@ module CandidApiClient
131
132
  # @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
132
133
  # capture claim_creations which include one or more charges with one of the names
133
134
  # in this list.
135
+ # @param claim_status [CandidApiClient::Claims::Types::ClaimStatus] the status of the claim to filter by created from charge capture bundle.
136
+ # @param claim_creation_category [String] A list of claim creation categories to filter by. This will return all charge
137
+ # capture claim_creations which include one or more charges with one of the names
138
+ # in this list.
139
+ # @param tags [String] A list of tags to filter by. This will return all charge captures with one of
140
+ # the tags.
141
+ # @param primary_payer_names [String] A list of primary payer names to filter by. This will return all charge captures
142
+ # with one of the names.
143
+ # @param patient_names [String] A list of patient names to filter by. This will return all charge captures with
144
+ # one of the names.
134
145
  # @param has_charge_capture_updates [Boolean] If true, only return claim_creations that have charge captures that have been
135
146
  # updated since the Claim Creation has had a status of BILLED. See the updates
136
147
  # property on ChargeCapture for more details.
@@ -140,7 +151,7 @@ module CandidApiClient
140
151
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
141
152
  # api.charge_capture_bundles.v_1.get_all
142
153
  def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil,
143
- claim_creation_status: nil, charge_status: nil, charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, has_charge_capture_updates: nil, request_options: nil)
154
+ claim_creation_status: nil, charge_status: nil, charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, claim_status: nil, claim_creation_category: nil, tags: nil, primary_payer_names: nil, patient_names: nil, has_charge_capture_updates: nil, request_options: nil)
144
155
  response = @request_client.conn.get do |req|
145
156
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
146
157
  req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
@@ -170,6 +181,11 @@ module CandidApiClient
170
181
  "rendering_provider_names": rendering_provider_names,
171
182
  "supervising_provider_npis": supervising_provider_npis,
172
183
  "supervising_provider_names": supervising_provider_names,
184
+ "claim_status": claim_status,
185
+ "claim_creation_category": claim_creation_category,
186
+ "tags": tags,
187
+ "primary_payer_names": primary_payer_names,
188
+ "patient_names": patient_names,
173
189
  "has_charge_capture_updates": has_charge_capture_updates
174
190
  }.compact
175
191
  req.url "#{@request_client.get_url(environment: CandidApi,
@@ -302,6 +318,16 @@ module CandidApiClient
302
318
  # @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
303
319
  # capture claim_creations which include one or more charges with one of the names
304
320
  # in this list.
321
+ # @param claim_status [CandidApiClient::Claims::Types::ClaimStatus] the status of the claim to filter by created from charge capture bundle.
322
+ # @param claim_creation_category [String] A list of claim creation categories to filter by. This will return all charge
323
+ # capture claim_creations which include one or more charges with one of the names
324
+ # in this list.
325
+ # @param tags [String] A list of tags to filter by. This will return all charge captures with one of
326
+ # the tags.
327
+ # @param primary_payer_names [String] A list of primary payer names to filter by. This will return all charge captures
328
+ # with one of the names.
329
+ # @param patient_names [String] A list of patient names to filter by. This will return all charge captures with
330
+ # one of the names.
305
331
  # @param has_charge_capture_updates [Boolean] If true, only return claim_creations that have charge captures that have been
306
332
  # updated since the Claim Creation has had a status of BILLED. See the updates
307
333
  # property on ChargeCapture for more details.
@@ -311,7 +337,7 @@ module CandidApiClient
311
337
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
312
338
  # api.charge_capture_bundles.v_1.get_all
313
339
  def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil,
314
- claim_creation_status: nil, charge_status: nil, charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, has_charge_capture_updates: nil, request_options: nil)
340
+ claim_creation_status: nil, charge_status: nil, charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, claim_status: nil, claim_creation_category: nil, tags: nil, primary_payer_names: nil, patient_names: nil, has_charge_capture_updates: nil, request_options: nil)
315
341
  Async do
316
342
  response = @request_client.conn.get do |req|
317
343
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -342,6 +368,11 @@ module CandidApiClient
342
368
  "rendering_provider_names": rendering_provider_names,
343
369
  "supervising_provider_npis": supervising_provider_npis,
344
370
  "supervising_provider_names": supervising_provider_names,
371
+ "claim_status": claim_status,
372
+ "claim_creation_category": claim_creation_category,
373
+ "tags": tags,
374
+ "primary_payer_names": primary_payer_names,
375
+ "patient_names": patient_names,
345
376
  "has_charge_capture_updates": has_charge_capture_updates
346
377
  }.compact
347
378
  req.url "#{@request_client.get_url(environment: CandidApi,
@@ -272,6 +272,7 @@ module CandidApiClient
272
272
  # * :non_insurance_payers (Array<String>)
273
273
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
274
274
  # * :email_consent (Boolean)
275
+ # * :auto_charge_consent (Boolean)
275
276
  # * :external_id (String)
276
277
  # * :date_of_birth (Date)
277
278
  # * :address (Hash)
@@ -426,6 +427,7 @@ module CandidApiClient
426
427
  # * :phone_consent (Boolean)
427
428
  # * :email (String)
428
429
  # * :email_consent (Boolean)
430
+ # * :auto_charge_consent (Boolean)
429
431
  # * :first_name (String)
430
432
  # * :last_name (String)
431
433
  # * :external_id (String)
@@ -543,6 +545,7 @@ module CandidApiClient
543
545
  # * :non_insurance_payers (Array<String>)
544
546
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
545
547
  # * :email_consent (Boolean)
548
+ # * :auto_charge_consent (Boolean)
546
549
  # * :external_id (String)
547
550
  # * :date_of_birth (Date)
548
551
  # * :address (Hash)
@@ -697,6 +700,7 @@ module CandidApiClient
697
700
  # * :phone_consent (Boolean)
698
701
  # * :email (String)
699
702
  # * :email_consent (Boolean)
703
+ # * :auto_charge_consent (Boolean)
700
704
  # * :first_name (String)
701
705
  # * :last_name (String)
702
706
  # * :external_id (String)
@@ -1336,6 +1340,7 @@ module CandidApiClient
1336
1340
  # * :phone_consent (Boolean)
1337
1341
  # * :email (String)
1338
1342
  # * :email_consent (Boolean)
1343
+ # * :auto_charge_consent (Boolean)
1339
1344
  # * :subscriber_primary (Hash)
1340
1345
  # * :insurance_card (Hash)
1341
1346
  # * :member_id (String)
@@ -1468,6 +1473,7 @@ module CandidApiClient
1468
1473
  # * :phone_consent (Boolean)
1469
1474
  # * :email (String)
1470
1475
  # * :email_consent (Boolean)
1476
+ # * :auto_charge_consent (Boolean)
1471
1477
  # * :non_insurance_payers (Array<String>)
1472
1478
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
1473
1479
  # * :rendering_provider (Hash)
@@ -1601,6 +1607,7 @@ module CandidApiClient
1601
1607
  # * :phone_consent (Boolean)
1602
1608
  # * :email (String)
1603
1609
  # * :email_consent (Boolean)
1610
+ # * :auto_charge_consent (Boolean)
1604
1611
  # * :subscriber_primary (Hash)
1605
1612
  # * :insurance_card (Hash)
1606
1613
  # * :member_id (String)
@@ -1733,6 +1740,7 @@ module CandidApiClient
1733
1740
  # * :phone_consent (Boolean)
1734
1741
  # * :email (String)
1735
1742
  # * :email_consent (Boolean)
1743
+ # * :auto_charge_consent (Boolean)
1736
1744
  # * :non_insurance_payers (Array<String>)
1737
1745
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
1738
1746
  # * :rendering_provider (Hash)
@@ -2088,6 +2096,7 @@ module CandidApiClient
2088
2096
  # * :non_insurance_payers (Array<String>)
2089
2097
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
2090
2098
  # * :email_consent (Boolean)
2099
+ # * :auto_charge_consent (Boolean)
2091
2100
  # * :external_id (String)
2092
2101
  # * :date_of_birth (Date)
2093
2102
  # * :address (Hash)
@@ -2242,6 +2251,7 @@ module CandidApiClient
2242
2251
  # * :phone_consent (Boolean)
2243
2252
  # * :email (String)
2244
2253
  # * :email_consent (Boolean)
2254
+ # * :auto_charge_consent (Boolean)
2245
2255
  # * :first_name (String)
2246
2256
  # * :last_name (String)
2247
2257
  # * :external_id (String)
@@ -2361,6 +2371,7 @@ module CandidApiClient
2361
2371
  # * :non_insurance_payers (Array<String>)
2362
2372
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
2363
2373
  # * :email_consent (Boolean)
2374
+ # * :auto_charge_consent (Boolean)
2364
2375
  # * :external_id (String)
2365
2376
  # * :date_of_birth (Date)
2366
2377
  # * :address (Hash)
@@ -2515,6 +2526,7 @@ module CandidApiClient
2515
2526
  # * :phone_consent (Boolean)
2516
2527
  # * :email (String)
2517
2528
  # * :email_consent (Boolean)
2529
+ # * :auto_charge_consent (Boolean)
2518
2530
  # * :first_name (String)
2519
2531
  # * :last_name (String)
2520
2532
  # * :external_id (String)
@@ -3160,6 +3172,7 @@ module CandidApiClient
3160
3172
  # * :phone_consent (Boolean)
3161
3173
  # * :email (String)
3162
3174
  # * :email_consent (Boolean)
3175
+ # * :auto_charge_consent (Boolean)
3163
3176
  # * :subscriber_primary (Hash)
3164
3177
  # * :insurance_card (Hash)
3165
3178
  # * :member_id (String)
@@ -3292,6 +3305,7 @@ module CandidApiClient
3292
3305
  # * :phone_consent (Boolean)
3293
3306
  # * :email (String)
3294
3307
  # * :email_consent (Boolean)
3308
+ # * :auto_charge_consent (Boolean)
3295
3309
  # * :non_insurance_payers (Array<String>)
3296
3310
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
3297
3311
  # * :rendering_provider (Hash)
@@ -3427,6 +3441,7 @@ module CandidApiClient
3427
3441
  # * :phone_consent (Boolean)
3428
3442
  # * :email (String)
3429
3443
  # * :email_consent (Boolean)
3444
+ # * :auto_charge_consent (Boolean)
3430
3445
  # * :subscriber_primary (Hash)
3431
3446
  # * :insurance_card (Hash)
3432
3447
  # * :member_id (String)
@@ -3559,6 +3574,7 @@ module CandidApiClient
3559
3574
  # * :phone_consent (Boolean)
3560
3575
  # * :email (String)
3561
3576
  # * :email_consent (Boolean)
3577
+ # * :auto_charge_consent (Boolean)
3562
3578
  # * :non_insurance_payers (Array<String>)
3563
3579
  # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
3564
3580
  # * :rendering_provider (Hash)
@@ -27,6 +27,7 @@ module CandidApiClient
27
27
  # * :phone_consent (Boolean)
28
28
  # * :email (String)
29
29
  # * :email_consent (Boolean)
30
+ # * :auto_charge_consent (Boolean)
30
31
  # * :first_name (String)
31
32
  # * :last_name (String)
32
33
  # * :external_id (String)
@@ -101,6 +102,7 @@ module CandidApiClient
101
102
  # * :phone_consent (Boolean)
102
103
  # * :email (String)
103
104
  # * :email_consent (Boolean)
105
+ # * :auto_charge_consent (Boolean)
104
106
  # @param request_options [CandidApiClient::RequestOptions]
105
107
  # @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
106
108
  # @example
@@ -141,6 +143,7 @@ module CandidApiClient
141
143
  # * :phone_consent (Boolean)
142
144
  # * :email (String)
143
145
  # * :email_consent (Boolean)
146
+ # * :auto_charge_consent (Boolean)
144
147
  # * :first_name (String)
145
148
  # * :last_name (String)
146
149
  # * :external_id (String)
@@ -219,6 +222,7 @@ module CandidApiClient
219
222
  # * :phone_consent (Boolean)
220
223
  # * :email (String)
221
224
  # * :email_consent (Boolean)
225
+ # * :auto_charge_consent (Boolean)
222
226
  # @param request_options [CandidApiClient::RequestOptions]
223
227
  # @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
224
228
  # @example
@@ -21,6 +21,8 @@ module CandidApiClient
21
21
  attr_reader :email
22
22
  # @return [Boolean]
23
23
  attr_reader :email_consent
24
+ # @return [Boolean]
25
+ attr_reader :auto_charge_consent
24
26
  # @return [String]
25
27
  attr_reader :first_name
26
28
  # @return [String]
@@ -44,6 +46,7 @@ module CandidApiClient
44
46
  # @param phone_consent [Boolean]
45
47
  # @param email [String]
46
48
  # @param email_consent [Boolean]
49
+ # @param auto_charge_consent [Boolean]
47
50
  # @param first_name [String]
48
51
  # @param last_name [String]
49
52
  # @param external_id [String]
@@ -51,13 +54,14 @@ module CandidApiClient
51
54
  # @param address [CandidApiClient::Commons::Types::StreetAddressShortZip]
52
55
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
53
56
  # @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
54
- def initialize(guarantor_id:, phone_numbers:, phone_consent:, email_consent:, first_name:, last_name:,
55
- external_id:, address:, email: OMIT, date_of_birth: OMIT, additional_properties: nil)
57
+ def initialize(guarantor_id:, phone_numbers:, phone_consent:, email_consent:, first_name:, last_name:, external_id:, address:, email: OMIT,
58
+ auto_charge_consent: OMIT, date_of_birth: OMIT, additional_properties: nil)
56
59
  @guarantor_id = guarantor_id
57
60
  @phone_numbers = phone_numbers
58
61
  @phone_consent = phone_consent
59
62
  @email = email if email != OMIT
60
63
  @email_consent = email_consent
64
+ @auto_charge_consent = auto_charge_consent if auto_charge_consent != OMIT
61
65
  @first_name = first_name
62
66
  @last_name = last_name
63
67
  @external_id = external_id
@@ -70,6 +74,7 @@ module CandidApiClient
70
74
  "phone_consent": phone_consent,
71
75
  "email": email,
72
76
  "email_consent": email_consent,
77
+ "auto_charge_consent": auto_charge_consent,
73
78
  "first_name": first_name,
74
79
  "last_name": last_name,
75
80
  "external_id": external_id,
@@ -95,6 +100,7 @@ module CandidApiClient
95
100
  phone_consent = struct["phone_consent"]
96
101
  email = struct["email"]
97
102
  email_consent = struct["email_consent"]
103
+ auto_charge_consent = struct["auto_charge_consent"]
98
104
  first_name = struct["first_name"]
99
105
  last_name = struct["last_name"]
100
106
  external_id = struct["external_id"]
@@ -111,6 +117,7 @@ module CandidApiClient
111
117
  phone_consent: phone_consent,
112
118
  email: email,
113
119
  email_consent: email_consent,
120
+ auto_charge_consent: auto_charge_consent,
114
121
  first_name: first_name,
115
122
  last_name: last_name,
116
123
  external_id: external_id,
@@ -139,6 +146,7 @@ module CandidApiClient
139
146
  obj.phone_consent.is_a?(Boolean) != false || raise("Passed value for field obj.phone_consent is not the expected type, validation failed.")
140
147
  obj.email&.is_a?(String) != false || raise("Passed value for field obj.email is not the expected type, validation failed.")
141
148
  obj.email_consent.is_a?(Boolean) != false || raise("Passed value for field obj.email_consent is not the expected type, validation failed.")
149
+ obj.auto_charge_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.auto_charge_consent is not the expected type, validation failed.")
142
150
  obj.first_name.is_a?(String) != false || raise("Passed value for field obj.first_name is not the expected type, validation failed.")
143
151
  obj.last_name.is_a?(String) != false || raise("Passed value for field obj.last_name is not the expected type, validation failed.")
144
152
  obj.external_id.is_a?(String) != false || raise("Passed value for field obj.external_id is not the expected type, validation failed.")
@@ -19,6 +19,8 @@ module CandidApiClient
19
19
  attr_reader :email
20
20
  # @return [Boolean] Defaults to false
21
21
  attr_reader :email_consent
22
+ # @return [Boolean] Defaults to false
23
+ attr_reader :auto_charge_consent
22
24
  # @return [String]
23
25
  attr_reader :first_name
24
26
  # @return [String]
@@ -41,6 +43,7 @@ module CandidApiClient
41
43
  # @param phone_consent [Boolean] Defaults to false
42
44
  # @param email [String]
43
45
  # @param email_consent [Boolean] Defaults to false
46
+ # @param auto_charge_consent [Boolean] Defaults to false
44
47
  # @param first_name [String]
45
48
  # @param last_name [String]
46
49
  # @param external_id [String]
@@ -48,12 +51,13 @@ module CandidApiClient
48
51
  # @param address [CandidApiClient::Commons::Types::StreetAddressShortZip]
49
52
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
50
53
  # @return [CandidApiClient::Guarantor::V1::Types::GuarantorCreate]
51
- def initialize(first_name:, last_name:, external_id:, address:, phone_numbers: OMIT, phone_consent: OMIT,
52
- email: OMIT, email_consent: OMIT, date_of_birth: OMIT, additional_properties: nil)
54
+ def initialize(first_name:, last_name:, external_id:, address:, phone_numbers: OMIT, phone_consent: OMIT, email: OMIT, email_consent: OMIT,
55
+ auto_charge_consent: OMIT, date_of_birth: OMIT, additional_properties: nil)
53
56
  @phone_numbers = phone_numbers if phone_numbers != OMIT
54
57
  @phone_consent = phone_consent if phone_consent != OMIT
55
58
  @email = email if email != OMIT
56
59
  @email_consent = email_consent if email_consent != OMIT
60
+ @auto_charge_consent = auto_charge_consent if auto_charge_consent != OMIT
57
61
  @first_name = first_name
58
62
  @last_name = last_name
59
63
  @external_id = external_id
@@ -65,6 +69,7 @@ module CandidApiClient
65
69
  "phone_consent": phone_consent,
66
70
  "email": email,
67
71
  "email_consent": email_consent,
72
+ "auto_charge_consent": auto_charge_consent,
68
73
  "first_name": first_name,
69
74
  "last_name": last_name,
70
75
  "external_id": external_id,
@@ -89,6 +94,7 @@ module CandidApiClient
89
94
  phone_consent = struct["phone_consent"]
90
95
  email = struct["email"]
91
96
  email_consent = struct["email_consent"]
97
+ auto_charge_consent = struct["auto_charge_consent"]
92
98
  first_name = struct["first_name"]
93
99
  last_name = struct["last_name"]
94
100
  external_id = struct["external_id"]
@@ -104,6 +110,7 @@ module CandidApiClient
104
110
  phone_consent: phone_consent,
105
111
  email: email,
106
112
  email_consent: email_consent,
113
+ auto_charge_consent: auto_charge_consent,
107
114
  first_name: first_name,
108
115
  last_name: last_name,
109
116
  external_id: external_id,
@@ -131,6 +138,7 @@ module CandidApiClient
131
138
  obj.phone_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.phone_consent is not the expected type, validation failed.")
132
139
  obj.email&.is_a?(String) != false || raise("Passed value for field obj.email is not the expected type, validation failed.")
133
140
  obj.email_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.email_consent is not the expected type, validation failed.")
141
+ obj.auto_charge_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.auto_charge_consent is not the expected type, validation failed.")
134
142
  obj.first_name.is_a?(String) != false || raise("Passed value for field obj.first_name is not the expected type, validation failed.")
135
143
  obj.last_name.is_a?(String) != false || raise("Passed value for field obj.last_name is not the expected type, validation failed.")
136
144
  obj.external_id.is_a?(String) != false || raise("Passed value for field obj.external_id is not the expected type, validation failed.")