candidhealth 0.24.4 → 0.24.6

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candidhealth/auth/v_2/client.rb +2 -2
  3. data/lib/candidhealth/billing_notes/v_2/client.rb +2 -2
  4. data/lib/candidhealth/commons/types/procedure_modifier.rb +1 -0
  5. data/lib/candidhealth/contracts/v_2/client.rb +10 -10
  6. data/lib/candidhealth/custom_schemas/v_1/client.rb +28 -28
  7. data/lib/candidhealth/eligibility/v_2/client.rb +6 -6
  8. data/lib/candidhealth/encounters/v_4/client.rb +8 -8
  9. data/lib/candidhealth/expected_network_status/v_1/client.rb +2 -2
  10. data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
  11. data/lib/candidhealth/exports/v_3/client.rb +2 -2
  12. data/lib/candidhealth/external_payment_account_config/v_1/client.rb +2 -2
  13. data/lib/candidhealth/fee_schedules/v_3/client.rb +20 -20
  14. data/lib/candidhealth/financials/types/account_type.rb +1 -0
  15. data/lib/candidhealth/guarantor/v_1/client.rb +6 -6
  16. data/lib/candidhealth/import_invoice/v_1/client.rb +8 -8
  17. data/lib/candidhealth/insurance_adjudications/v_1/client.rb +6 -6
  18. data/lib/candidhealth/insurance_payments/v_1/client.rb +10 -10
  19. data/lib/candidhealth/insurance_refunds/v_1/client.rb +10 -10
  20. data/lib/candidhealth/organization_providers/v_3/client.rb +8 -8
  21. data/lib/candidhealth/organization_service_facilities/v_2/client.rb +10 -10
  22. data/lib/candidhealth/patient_payments/v_4/client.rb +10 -10
  23. data/lib/candidhealth/patient_refunds/v_1/client.rb +10 -10
  24. data/lib/candidhealth/payers/v_3/client.rb +4 -4
  25. data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +12 -12
  26. data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +14 -14
  27. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +3 -3
  28. data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +3 -3
  29. data/lib/candidhealth/service_facility/client.rb +2 -2
  30. data/lib/candidhealth/service_lines/v_2/types/service_line.rb +25 -1
  31. data/lib/candidhealth/tasks/v_3/client.rb +10 -10
  32. data/lib/candidhealth/write_offs/v_1/client.rb +8 -8
  33. data/lib/candidhealth.rb +2 -2
  34. data/lib/environment.rb +0 -8
  35. data/lib/requests.rb +4 -6
  36. metadata +2 -2
@@ -39,7 +39,7 @@ module CandidApiClient
39
39
  # @param request_options [CandidApiClient::RequestOptions]
40
40
  # @return [CandidApiClient::FeeSchedules::V3::Types::MatchResult]
41
41
  # @example
42
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
42
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
43
43
  # api.fee_schedules.v_3.get_match(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
44
44
  def get_match(service_line_id:, request_options: nil)
45
45
  response = @request_client.conn.get do |req|
@@ -63,7 +63,7 @@ module CandidApiClient
63
63
  # @param request_options [CandidApiClient::RequestOptions]
64
64
  # @return [CandidApiClient::FeeSchedules::V3::Types::MatchTestResult]
65
65
  # @example
66
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
66
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
67
67
  # api.fee_schedules.v_3.test_match(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", rate_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
68
68
  def test_match(service_line_id:, rate_id:, request_options: nil)
69
69
  response = @request_client.conn.get do |req|
@@ -98,7 +98,7 @@ module CandidApiClient
98
98
  # @param request_options [CandidApiClient::RequestOptions]
99
99
  # @return [CandidApiClient::FeeSchedules::V3::Types::RatesPage]
100
100
  # @example
101
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
101
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
102
102
  # api.fee_schedules.v_3.get_multi(
103
103
  # page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9",
104
104
  # limit: 1,
@@ -163,7 +163,7 @@ module CandidApiClient
163
163
  # @param request_options [CandidApiClient::RequestOptions]
164
164
  # @return [CandidApiClient::FeeSchedules::V3::Types::DimensionsPage]
165
165
  # @example
166
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
166
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
167
167
  # api.fee_schedules.v_3.get_unique_values_for_dimension(
168
168
  # page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9",
169
169
  # limit: 1,
@@ -215,7 +215,7 @@ module CandidApiClient
215
215
  # @param request_options [CandidApiClient::RequestOptions]
216
216
  # @return [Array<CandidApiClient::FeeSchedules::V3::Types::Rate>]
217
217
  # @example
218
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
218
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
219
219
  # api.fee_schedules.v_3.get_rate_history(rate_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
220
220
  def get_rate_history(rate_id:, request_options: nil)
221
221
  response = @request_client.conn.get do |req|
@@ -248,7 +248,7 @@ module CandidApiClient
248
248
  # @param request_options [CandidApiClient::RequestOptions]
249
249
  # @return [Array<CandidApiClient::FeeSchedules::V3::Types::Rate>]
250
250
  # @example
251
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
251
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
252
252
  # api.fee_schedules.v_3.upload_fee_schedule(dry_run: true, rates: )
253
253
  def upload_fee_schedule(dry_run:, rates:, request_options: nil)
254
254
  response = @request_client.conn.post do |req|
@@ -278,7 +278,7 @@ module CandidApiClient
278
278
  # @param request_options [CandidApiClient::RequestOptions]
279
279
  # @return [Void]
280
280
  # @example
281
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
281
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
282
282
  # api.fee_schedules.v_3.delete_rate(rate_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", version: 1)
283
283
  def delete_rate(rate_id:, version:, request_options: nil)
284
284
  @request_client.conn.delete do |req|
@@ -299,7 +299,7 @@ module CandidApiClient
299
299
  # @param request_options [CandidApiClient::RequestOptions]
300
300
  # @return [CandidApiClient::FeeSchedules::V3::Types::PayerThreshold]
301
301
  # @example
302
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
302
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
303
303
  # api.fee_schedules.v_3.get_payer_thresholds_default
304
304
  def get_payer_thresholds_default(request_options: nil)
305
305
  response = @request_client.conn.get do |req|
@@ -322,7 +322,7 @@ module CandidApiClient
322
322
  # @param request_options [CandidApiClient::RequestOptions]
323
323
  # @return [CandidApiClient::FeeSchedules::V3::Types::PayerThresholdsPage]
324
324
  # @example
325
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
325
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
326
326
  # api.fee_schedules.v_3.get_payer_thresholds(payer_uuids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
327
327
  def get_payer_thresholds(payer_uuids:, request_options: nil)
328
328
  response = @request_client.conn.get do |req|
@@ -350,7 +350,7 @@ module CandidApiClient
350
350
  # @param request_options [CandidApiClient::RequestOptions]
351
351
  # @return [CandidApiClient::FeeSchedules::V3::Types::PayerThreshold]
352
352
  # @example
353
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
353
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
354
354
  # api.fee_schedules.v_3.set_payer_threshold(payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { upper_threshold_cents: 1, lower_threshold_cents: 1, disable_paid_incorrectly: true })
355
355
  def set_payer_threshold(payer_uuid:, request:, request_options: nil)
356
356
  response = @request_client.conn.put do |req|
@@ -386,7 +386,7 @@ module CandidApiClient
386
386
  # @param request_options [CandidApiClient::RequestOptions]
387
387
  # @return [CandidApiClient::FeeSchedules::V3::Types::MatchResult]
388
388
  # @example
389
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
389
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
390
390
  # api.fee_schedules.v_3.get_match(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
391
391
  def get_match(service_line_id:, request_options: nil)
392
392
  Async do
@@ -412,7 +412,7 @@ module CandidApiClient
412
412
  # @param request_options [CandidApiClient::RequestOptions]
413
413
  # @return [CandidApiClient::FeeSchedules::V3::Types::MatchTestResult]
414
414
  # @example
415
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
415
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
416
416
  # api.fee_schedules.v_3.test_match(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", rate_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
417
417
  def test_match(service_line_id:, rate_id:, request_options: nil)
418
418
  Async do
@@ -449,7 +449,7 @@ module CandidApiClient
449
449
  # @param request_options [CandidApiClient::RequestOptions]
450
450
  # @return [CandidApiClient::FeeSchedules::V3::Types::RatesPage]
451
451
  # @example
452
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
452
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
453
453
  # api.fee_schedules.v_3.get_multi(
454
454
  # page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9",
455
455
  # limit: 1,
@@ -516,7 +516,7 @@ module CandidApiClient
516
516
  # @param request_options [CandidApiClient::RequestOptions]
517
517
  # @return [CandidApiClient::FeeSchedules::V3::Types::DimensionsPage]
518
518
  # @example
519
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
519
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
520
520
  # api.fee_schedules.v_3.get_unique_values_for_dimension(
521
521
  # page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9",
522
522
  # limit: 1,
@@ -570,7 +570,7 @@ module CandidApiClient
570
570
  # @param request_options [CandidApiClient::RequestOptions]
571
571
  # @return [Array<CandidApiClient::FeeSchedules::V3::Types::Rate>]
572
572
  # @example
573
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
573
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
574
574
  # api.fee_schedules.v_3.get_rate_history(rate_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
575
575
  def get_rate_history(rate_id:, request_options: nil)
576
576
  Async do
@@ -605,7 +605,7 @@ module CandidApiClient
605
605
  # @param request_options [CandidApiClient::RequestOptions]
606
606
  # @return [Array<CandidApiClient::FeeSchedules::V3::Types::Rate>]
607
607
  # @example
608
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
608
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
609
609
  # api.fee_schedules.v_3.upload_fee_schedule(dry_run: true, rates: )
610
610
  def upload_fee_schedule(dry_run:, rates:, request_options: nil)
611
611
  Async do
@@ -641,7 +641,7 @@ module CandidApiClient
641
641
  # @param request_options [CandidApiClient::RequestOptions]
642
642
  # @return [Void]
643
643
  # @example
644
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
644
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
645
645
  # api.fee_schedules.v_3.delete_rate(rate_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", version: 1)
646
646
  def delete_rate(rate_id:, version:, request_options: nil)
647
647
  Async do
@@ -664,7 +664,7 @@ module CandidApiClient
664
664
  # @param request_options [CandidApiClient::RequestOptions]
665
665
  # @return [CandidApiClient::FeeSchedules::V3::Types::PayerThreshold]
666
666
  # @example
667
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
667
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
668
668
  # api.fee_schedules.v_3.get_payer_thresholds_default
669
669
  def get_payer_thresholds_default(request_options: nil)
670
670
  Async do
@@ -689,7 +689,7 @@ module CandidApiClient
689
689
  # @param request_options [CandidApiClient::RequestOptions]
690
690
  # @return [CandidApiClient::FeeSchedules::V3::Types::PayerThresholdsPage]
691
691
  # @example
692
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
692
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
693
693
  # api.fee_schedules.v_3.get_payer_thresholds(payer_uuids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
694
694
  def get_payer_thresholds(payer_uuids:, request_options: nil)
695
695
  Async do
@@ -722,7 +722,7 @@ module CandidApiClient
722
722
  # @param request_options [CandidApiClient::RequestOptions]
723
723
  # @return [CandidApiClient::FeeSchedules::V3::Types::PayerThreshold]
724
724
  # @example
725
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
725
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
726
726
  # api.fee_schedules.v_3.set_payer_threshold(payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { upper_threshold_cents: 1, lower_threshold_cents: 1, disable_paid_incorrectly: true })
727
727
  def set_payer_threshold(payer_uuid:, request:, request_options: nil)
728
728
  Async do
@@ -6,6 +6,7 @@ module CandidApiClient
6
6
  class AccountType
7
7
  PATIENT = "PATIENT"
8
8
  INSURANCE = "INSURANCE"
9
+ THIRD_PARTY_PAYER = "THIRD_PARTY_PAYER"
9
10
  end
10
11
  end
11
12
  end
@@ -43,7 +43,7 @@ module CandidApiClient
43
43
  # @param request_options [CandidApiClient::RequestOptions]
44
44
  # @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
45
45
  # @example
46
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
46
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
47
47
  # api.guarantor.v_1.create(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { phone_numbers: [{ number: "1234567890", type: HOME }], phone_consent: true, email: "johndoe@joincandidhealth.com", email_consent: true, 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" } })
48
48
  def create(encounter_id:, request:, request_options: nil)
49
49
  response = @request_client.conn.post do |req|
@@ -67,7 +67,7 @@ module CandidApiClient
67
67
  # @param request_options [CandidApiClient::RequestOptions]
68
68
  # @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
69
69
  # @example
70
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
70
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
71
71
  # api.guarantor.v_1.get(guarantor_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
72
72
  def get(guarantor_id:, request_options: nil)
73
73
  response = @request_client.conn.get do |req|
@@ -107,7 +107,7 @@ module CandidApiClient
107
107
  # @param request_options [CandidApiClient::RequestOptions]
108
108
  # @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
109
109
  # @example
110
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
110
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
111
111
  # api.guarantor.v_1.update(
112
112
  # guarantor_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
113
113
  # first_name: "string",
@@ -181,7 +181,7 @@ module CandidApiClient
181
181
  # @param request_options [CandidApiClient::RequestOptions]
182
182
  # @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
183
183
  # @example
184
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
184
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
185
185
  # api.guarantor.v_1.create(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { phone_numbers: [{ number: "1234567890", type: HOME }], phone_consent: true, email: "johndoe@joincandidhealth.com", email_consent: true, 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" } })
186
186
  def create(encounter_id:, request:, request_options: nil)
187
187
  Async do
@@ -207,7 +207,7 @@ module CandidApiClient
207
207
  # @param request_options [CandidApiClient::RequestOptions]
208
208
  # @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
209
209
  # @example
210
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
210
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
211
211
  # api.guarantor.v_1.get(guarantor_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
212
212
  def get(guarantor_id:, request_options: nil)
213
213
  Async do
@@ -249,7 +249,7 @@ module CandidApiClient
249
249
  # @param request_options [CandidApiClient::RequestOptions]
250
250
  # @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
251
251
  # @example
252
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
252
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
253
253
  # api.guarantor.v_1.update(
254
254
  # guarantor_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
255
255
  # first_name: "string",
@@ -40,7 +40,7 @@ module CandidApiClient
40
40
  # @param request_options [CandidApiClient::RequestOptions]
41
41
  # @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
42
42
  # @example
43
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
43
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
44
44
  # api.import_invoice.v_1.import_invoice(request: { external_payment_account_config_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", patient_external_id: "string", external_customer_identifier: "string", note: "string", due_date: DateTime.parse(2023-01-15), items: [{ }], status: DRAFT, external_identifier: "string", customer_invoice_url: "string" })
45
45
  def import_invoice(request:, request_options: nil)
46
46
  response = @request_client.conn.post do |req|
@@ -74,7 +74,7 @@ module CandidApiClient
74
74
  # @param request_options [CandidApiClient::RequestOptions]
75
75
  # @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoicesPage]
76
76
  # @example
77
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
77
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
78
78
  # api.import_invoice.v_1.get_multi(
79
79
  # patient_external_id: "string",
80
80
  # encounter_external_id: "string",
@@ -122,7 +122,7 @@ module CandidApiClient
122
122
  # @param request_options [CandidApiClient::RequestOptions]
123
123
  # @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
124
124
  # @example
125
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
125
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
126
126
  # api.import_invoice.v_1.get(invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
127
127
  def get(invoice_id:, request_options: nil)
128
128
  response = @request_client.conn.get do |req|
@@ -153,7 +153,7 @@ module CandidApiClient
153
153
  # @param request_options [CandidApiClient::RequestOptions]
154
154
  # @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
155
155
  # @example
156
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
156
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
157
157
  # api.import_invoice.v_1.update(invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { customer_invoice_url: "string", status: DRAFT, note: "string", due_date: DateTime.parse(2023-01-15), items: { update_type: APPEND, items: [{ }] } })
158
158
  def update(invoice_id:, request:, request_options: nil)
159
159
  response = @request_client.conn.patch do |req|
@@ -198,7 +198,7 @@ module CandidApiClient
198
198
  # @param request_options [CandidApiClient::RequestOptions]
199
199
  # @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
200
200
  # @example
201
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
201
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
202
202
  # api.import_invoice.v_1.import_invoice(request: { external_payment_account_config_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", patient_external_id: "string", external_customer_identifier: "string", note: "string", due_date: DateTime.parse(2023-01-15), items: [{ }], status: DRAFT, external_identifier: "string", customer_invoice_url: "string" })
203
203
  def import_invoice(request:, request_options: nil)
204
204
  Async do
@@ -234,7 +234,7 @@ module CandidApiClient
234
234
  # @param request_options [CandidApiClient::RequestOptions]
235
235
  # @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoicesPage]
236
236
  # @example
237
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
237
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
238
238
  # api.import_invoice.v_1.get_multi(
239
239
  # patient_external_id: "string",
240
240
  # encounter_external_id: "string",
@@ -284,7 +284,7 @@ module CandidApiClient
284
284
  # @param request_options [CandidApiClient::RequestOptions]
285
285
  # @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
286
286
  # @example
287
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
287
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
288
288
  # api.import_invoice.v_1.get(invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
289
289
  def get(invoice_id:, request_options: nil)
290
290
  Async do
@@ -317,7 +317,7 @@ module CandidApiClient
317
317
  # @param request_options [CandidApiClient::RequestOptions]
318
318
  # @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
319
319
  # @example
320
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
320
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
321
321
  # api.import_invoice.v_1.update(invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { customer_invoice_url: "string", status: DRAFT, note: "string", due_date: DateTime.parse(2023-01-15), items: { update_type: APPEND, items: [{ }] } })
322
322
  def update(invoice_id:, request:, request_options: nil)
323
323
  Async do
@@ -25,7 +25,7 @@ module CandidApiClient
25
25
  # @param request_options [CandidApiClient::RequestOptions]
26
26
  # @return [CandidApiClient::InsuranceAdjudications::V1::Types::InsuranceAdjudication]
27
27
  # @example
28
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
28
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
29
29
  # api.insurance_adjudications.v_1.get(insurance_adjudication_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
30
30
  def get(insurance_adjudication_id:, request_options: nil)
31
31
  response = @request_client.conn.get do |req|
@@ -58,7 +58,7 @@ module CandidApiClient
58
58
  # @param request_options [CandidApiClient::RequestOptions]
59
59
  # @return [CandidApiClient::InsuranceAdjudications::V1::Types::InsuranceAdjudication]
60
60
  # @example
61
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
61
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
62
62
  # api.insurance_adjudications.v_1.create(request: { payee: { }, post_date: DateTime.parse(2023-01-15), check_number: "string", check_date: DateTime.parse(2023-01-15), note: "string", claims: { "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{ }] } })
63
63
  def create(request:, request_options: nil)
64
64
  response = @request_client.conn.post do |req|
@@ -83,7 +83,7 @@ module CandidApiClient
83
83
  # @param request_options [CandidApiClient::RequestOptions]
84
84
  # @return [Void]
85
85
  # @example
86
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
86
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
87
87
  # api.insurance_adjudications.v_1.delete(insurance_adjudication_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
88
88
  def delete(insurance_adjudication_id:, request_options: nil)
89
89
  @request_client.conn.delete do |req|
@@ -117,7 +117,7 @@ module CandidApiClient
117
117
  # @param request_options [CandidApiClient::RequestOptions]
118
118
  # @return [CandidApiClient::InsuranceAdjudications::V1::Types::InsuranceAdjudication]
119
119
  # @example
120
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
120
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
121
121
  # api.insurance_adjudications.v_1.get(insurance_adjudication_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
122
122
  def get(insurance_adjudication_id:, request_options: nil)
123
123
  Async do
@@ -152,7 +152,7 @@ module CandidApiClient
152
152
  # @param request_options [CandidApiClient::RequestOptions]
153
153
  # @return [CandidApiClient::InsuranceAdjudications::V1::Types::InsuranceAdjudication]
154
154
  # @example
155
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
155
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
156
156
  # api.insurance_adjudications.v_1.create(request: { payee: { }, post_date: DateTime.parse(2023-01-15), check_number: "string", check_date: DateTime.parse(2023-01-15), note: "string", claims: { "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{ }] } })
157
157
  def create(request:, request_options: nil)
158
158
  Async do
@@ -179,7 +179,7 @@ module CandidApiClient
179
179
  # @param request_options [CandidApiClient::RequestOptions]
180
180
  # @return [Void]
181
181
  # @example
182
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
182
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
183
183
  # api.insurance_adjudications.v_1.delete(insurance_adjudication_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
184
184
  def delete(insurance_adjudication_id:, request_options: nil)
185
185
  Async do
@@ -36,7 +36,7 @@ module CandidApiClient
36
36
  # @param request_options [CandidApiClient::RequestOptions]
37
37
  # @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePaymentsPage]
38
38
  # @example
39
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
39
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
40
40
  # api.insurance_payments.v_1.get_multi(
41
41
  # limit: 1,
42
42
  # payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
@@ -81,7 +81,7 @@ module CandidApiClient
81
81
  # @param request_options [CandidApiClient::RequestOptions]
82
82
  # @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePayment]
83
83
  # @example
84
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
84
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
85
85
  # api.insurance_payments.v_1.get(insurance_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
86
86
  def get(insurance_payment_id:, request_options: nil)
87
87
  response = @request_client.conn.get do |req|
@@ -114,7 +114,7 @@ module CandidApiClient
114
114
  # @param request_options [CandidApiClient::RequestOptions]
115
115
  # @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePayment]
116
116
  # @example
117
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
117
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
118
118
  # api.insurance_payments.v_1.create(request: { amount_cents: 1, payment_timestamp: DateTime.parse(2024-01-15T09:30:00.000Z), payment_note: "string", allocations: [{ }] })
119
119
  def create(request:, request_options: nil)
120
120
  response = @request_client.conn.post do |req|
@@ -142,7 +142,7 @@ module CandidApiClient
142
142
  # @param request_options [CandidApiClient::RequestOptions]
143
143
  # @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePayment]
144
144
  # @example
145
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
145
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
146
146
  # api.insurance_payments.v_1.update(insurance_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", payment_timestamp: DateTime.parse(2024-01-15T09:30:00.000Z))
147
147
  def update(insurance_payment_id:, payment_timestamp: nil, payment_note: nil, request_options: nil)
148
148
  response = @request_client.conn.patch do |req|
@@ -173,7 +173,7 @@ module CandidApiClient
173
173
  # @param request_options [CandidApiClient::RequestOptions]
174
174
  # @return [Void]
175
175
  # @example
176
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
176
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
177
177
  # api.insurance_payments.v_1.delete(insurance_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
178
178
  def delete(insurance_payment_id:, request_options: nil)
179
179
  @request_client.conn.delete do |req|
@@ -213,7 +213,7 @@ module CandidApiClient
213
213
  # @param request_options [CandidApiClient::RequestOptions]
214
214
  # @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePaymentsPage]
215
215
  # @example
216
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
216
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
217
217
  # api.insurance_payments.v_1.get_multi(
218
218
  # limit: 1,
219
219
  # payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
@@ -260,7 +260,7 @@ module CandidApiClient
260
260
  # @param request_options [CandidApiClient::RequestOptions]
261
261
  # @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePayment]
262
262
  # @example
263
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
263
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
264
264
  # api.insurance_payments.v_1.get(insurance_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
265
265
  def get(insurance_payment_id:, request_options: nil)
266
266
  Async do
@@ -295,7 +295,7 @@ module CandidApiClient
295
295
  # @param request_options [CandidApiClient::RequestOptions]
296
296
  # @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePayment]
297
297
  # @example
298
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
298
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
299
299
  # api.insurance_payments.v_1.create(request: { amount_cents: 1, payment_timestamp: DateTime.parse(2024-01-15T09:30:00.000Z), payment_note: "string", allocations: [{ }] })
300
300
  def create(request:, request_options: nil)
301
301
  Async do
@@ -325,7 +325,7 @@ module CandidApiClient
325
325
  # @param request_options [CandidApiClient::RequestOptions]
326
326
  # @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePayment]
327
327
  # @example
328
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
328
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
329
329
  # api.insurance_payments.v_1.update(insurance_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", payment_timestamp: DateTime.parse(2024-01-15T09:30:00.000Z))
330
330
  def update(insurance_payment_id:, payment_timestamp: nil, payment_note: nil, request_options: nil)
331
331
  Async do
@@ -358,7 +358,7 @@ module CandidApiClient
358
358
  # @param request_options [CandidApiClient::RequestOptions]
359
359
  # @return [Void]
360
360
  # @example
361
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
361
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
362
362
  # api.insurance_payments.v_1.delete(insurance_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
363
363
  def delete(insurance_payment_id:, request_options: nil)
364
364
  Async do
@@ -39,7 +39,7 @@ module CandidApiClient
39
39
  # @param request_options [CandidApiClient::RequestOptions]
40
40
  # @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefundsPage]
41
41
  # @example
42
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
42
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
43
43
  # api.insurance_refunds.v_1.get_multi(
44
44
  # limit: 1,
45
45
  # payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
@@ -84,7 +84,7 @@ module CandidApiClient
84
84
  # @param request_options [CandidApiClient::RequestOptions]
85
85
  # @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
86
86
  # @example
87
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
87
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
88
88
  # api.insurance_refunds.v_1.get(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
89
89
  def get(insurance_refund_id:, request_options: nil)
90
90
  response = @request_client.conn.get do |req|
@@ -117,7 +117,7 @@ module CandidApiClient
117
117
  # @param request_options [CandidApiClient::RequestOptions]
118
118
  # @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
119
119
  # @example
120
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
120
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
121
121
  # api.insurance_refunds.v_1.create(request: { amount_cents: 1, refund_timestamp: DateTime.parse(2024-01-15T09:30:00.000Z), refund_note: "string", allocations: [{ }], refund_reason: OVERCHARGED })
122
122
  def create(request:, request_options: nil)
123
123
  response = @request_client.conn.post do |req|
@@ -146,7 +146,7 @@ module CandidApiClient
146
146
  # @param request_options [CandidApiClient::RequestOptions]
147
147
  # @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
148
148
  # @example
149
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
149
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
150
150
  # api.insurance_refunds.v_1.update(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", refund_timestamp: DateTime.parse(2024-01-15T09:30:00.000Z))
151
151
  def update(insurance_refund_id:, refund_timestamp: nil, refund_note: nil, refund_reason: nil,
152
152
  request_options: nil)
@@ -178,7 +178,7 @@ module CandidApiClient
178
178
  # @param request_options [CandidApiClient::RequestOptions]
179
179
  # @return [Void]
180
180
  # @example
181
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
181
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
182
182
  # api.insurance_refunds.v_1.delete(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
183
183
  def delete(insurance_refund_id:, request_options: nil)
184
184
  @request_client.conn.delete do |req|
@@ -220,7 +220,7 @@ module CandidApiClient
220
220
  # @param request_options [CandidApiClient::RequestOptions]
221
221
  # @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefundsPage]
222
222
  # @example
223
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
223
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
224
224
  # api.insurance_refunds.v_1.get_multi(
225
225
  # limit: 1,
226
226
  # payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
@@ -267,7 +267,7 @@ module CandidApiClient
267
267
  # @param request_options [CandidApiClient::RequestOptions]
268
268
  # @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
269
269
  # @example
270
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
270
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
271
271
  # api.insurance_refunds.v_1.get(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
272
272
  def get(insurance_refund_id:, request_options: nil)
273
273
  Async do
@@ -302,7 +302,7 @@ module CandidApiClient
302
302
  # @param request_options [CandidApiClient::RequestOptions]
303
303
  # @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
304
304
  # @example
305
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
305
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
306
306
  # api.insurance_refunds.v_1.create(request: { amount_cents: 1, refund_timestamp: DateTime.parse(2024-01-15T09:30:00.000Z), refund_note: "string", allocations: [{ }], refund_reason: OVERCHARGED })
307
307
  def create(request:, request_options: nil)
308
308
  Async do
@@ -333,7 +333,7 @@ module CandidApiClient
333
333
  # @param request_options [CandidApiClient::RequestOptions]
334
334
  # @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
335
335
  # @example
336
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
336
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
337
337
  # api.insurance_refunds.v_1.update(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", refund_timestamp: DateTime.parse(2024-01-15T09:30:00.000Z))
338
338
  def update(insurance_refund_id:, refund_timestamp: nil, refund_note: nil, refund_reason: nil,
339
339
  request_options: nil)
@@ -367,7 +367,7 @@ module CandidApiClient
367
367
  # @param request_options [CandidApiClient::RequestOptions]
368
368
  # @return [Void]
369
369
  # @example
370
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
370
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
371
371
  # api.insurance_refunds.v_1.delete(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
372
372
  def delete(insurance_refund_id:, request_options: nil)
373
373
  Async do
@@ -25,7 +25,7 @@ module CandidApiClient
25
25
  # @param request_options [CandidApiClient::RequestOptions]
26
26
  # @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
27
27
  # @example
28
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
28
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
29
29
  # api.organization_providers.v_3.get(organization_provider_id: "965A563A-0285-4910-9569-E3739C0F6EAB")
30
30
  def get(organization_provider_id:, request_options: nil)
31
31
  response = @request_client.conn.get do |req|
@@ -52,7 +52,7 @@ module CandidApiClient
52
52
  # @param request_options [CandidApiClient::RequestOptions]
53
53
  # @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderPageV2]
54
54
  # @example
55
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
55
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
56
56
  # api.organization_providers.v_3.get_multi(
57
57
  # limit: 100,
58
58
  # search_term: "john",
@@ -106,7 +106,7 @@ module CandidApiClient
106
106
  # @param request_options [CandidApiClient::RequestOptions]
107
107
  # @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
108
108
  # @example
109
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
109
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
110
110
  # api.organization_providers.v_3.create(request: { npi: "string", is_rendering: true, is_billing: true, first_name: "string", last_name: "string", organization_name: "string", provider_type: INDIVIDUAL, tax_id: "string", taxonomy_code: "string", license_type: MD, addresses: [{ address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, address_type: DEFAULT }], employment_start_date: DateTime.parse(2023-01-15), employment_termination_date: DateTime.parse(2023-01-15), qualifications: [{ }] })
111
111
  def create(request:, request_options: nil)
112
112
  response = @request_client.conn.post do |req|
@@ -143,7 +143,7 @@ module CandidApiClient
143
143
  # @param request_options [CandidApiClient::RequestOptions]
144
144
  # @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
145
145
  # @example
146
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
146
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
147
147
  # api.organization_providers.v_3.update(organization_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", is_rendering: true, is_billing: true, first_name: "string", last_name: "string", organization_name: "string", provider_type: INDIVIDUAL, tax_id: "string", taxonomy_code: "string", license_type: MD, addresses: [{ address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, address_type: DEFAULT }], employment_start_date: "string", employment_termination_date: "string", qualifications: })
148
148
  def update(organization_provider_id:, request:, request_options: nil)
149
149
  response = @request_client.conn.patch do |req|
@@ -176,7 +176,7 @@ module CandidApiClient
176
176
  # @param request_options [CandidApiClient::RequestOptions]
177
177
  # @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
178
178
  # @example
179
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
179
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
180
180
  # api.organization_providers.v_3.get(organization_provider_id: "965A563A-0285-4910-9569-E3739C0F6EAB")
181
181
  def get(organization_provider_id:, request_options: nil)
182
182
  Async do
@@ -205,7 +205,7 @@ module CandidApiClient
205
205
  # @param request_options [CandidApiClient::RequestOptions]
206
206
  # @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderPageV2]
207
207
  # @example
208
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
208
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
209
209
  # api.organization_providers.v_3.get_multi(
210
210
  # limit: 100,
211
211
  # search_term: "john",
@@ -261,7 +261,7 @@ module CandidApiClient
261
261
  # @param request_options [CandidApiClient::RequestOptions]
262
262
  # @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
263
263
  # @example
264
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
264
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
265
265
  # api.organization_providers.v_3.create(request: { npi: "string", is_rendering: true, is_billing: true, first_name: "string", last_name: "string", organization_name: "string", provider_type: INDIVIDUAL, tax_id: "string", taxonomy_code: "string", license_type: MD, addresses: [{ address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, address_type: DEFAULT }], employment_start_date: DateTime.parse(2023-01-15), employment_termination_date: DateTime.parse(2023-01-15), qualifications: [{ }] })
266
266
  def create(request:, request_options: nil)
267
267
  Async do
@@ -300,7 +300,7 @@ module CandidApiClient
300
300
  # @param request_options [CandidApiClient::RequestOptions]
301
301
  # @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
302
302
  # @example
303
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
303
+ # api = CandidApiClient::Client.new(base_url: "https://api.example.com")
304
304
  # api.organization_providers.v_3.update(organization_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", is_rendering: true, is_billing: true, first_name: "string", last_name: "string", organization_name: "string", provider_type: INDIVIDUAL, tax_id: "string", taxonomy_code: "string", license_type: MD, addresses: [{ address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, address_type: DEFAULT }], employment_start_date: "string", employment_termination_date: "string", qualifications: })
305
305
  def update(organization_provider_id:, request:, request_options: nil)
306
306
  Async do