candidhealth 0.43.1 → 0.46.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.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candidhealth/billing_notes/v_2/client.rb +2 -2
  3. data/lib/candidhealth/charge_capture/v_1/client.rb +479 -559
  4. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +200 -190
  5. data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +2 -44
  6. data/lib/candidhealth/commons/types/street_address_optional_base.rb +99 -0
  7. data/lib/candidhealth/commons/types/street_address_short_zip_optional.rb +107 -0
  8. data/lib/candidhealth/contracts/v_2/client.rb +18 -34
  9. data/lib/candidhealth/contracts/v_2/types/contract_sort_field.rb +18 -0
  10. data/lib/candidhealth/credentialing/v_2/client.rb +6 -44
  11. data/lib/candidhealth/diagnoses/client.rb +4 -14
  12. data/lib/candidhealth/eligibility/v_2/client.rb +4 -4
  13. data/lib/candidhealth/encounter_attachments/v_1/client.rb +0 -6
  14. data/lib/candidhealth/encounter_providers/v_2/client.rb +16 -16
  15. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +160 -0
  16. data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb +134 -0
  17. data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb +125 -0
  18. data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +125 -0
  19. data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb +125 -0
  20. data/lib/candidhealth/encounters/v_4/client.rb +259 -293
  21. data/lib/candidhealth/encounters/v_4/types/encounter.rb +23 -13
  22. data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +10 -10
  23. data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +10 -10
  24. data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +26 -184
  25. data/lib/candidhealth/expected_network_status/v_1/client.rb +12 -18
  26. data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
  27. data/lib/candidhealth/expected_network_status/v_2/types/empty_object.rb +53 -0
  28. data/lib/candidhealth/expected_network_status/v_2/types/insurance_type_codes.rb +13 -10
  29. data/lib/candidhealth/external_payment_account_config/v_1/client.rb +2 -2
  30. data/lib/candidhealth/fee_schedules/v_3/client.rb +12 -68
  31. data/lib/candidhealth/fee_schedules/v_3/types/payer_threshold.rb +3 -3
  32. data/lib/candidhealth/fee_schedules/v_3/types/rate_entry.rb +2 -2
  33. data/lib/candidhealth/guarantor/v_1/client.rb +4 -4
  34. data/lib/candidhealth/import_invoice/v_1/client.rb +6 -28
  35. data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +179 -0
  36. data/lib/candidhealth/insurance_adjudications/v_1/client.rb +2 -2
  37. data/lib/candidhealth/insurance_payments/v_1/client.rb +2 -20
  38. data/lib/candidhealth/insurance_refunds/v_1/client.rb +6 -24
  39. data/lib/candidhealth/medication_dispense/v_1/client.rb +2 -2
  40. data/lib/candidhealth/non_insurance_payer_payments/v_1/client.rb +6 -22
  41. data/lib/candidhealth/non_insurance_payer_refunds/v_1/client.rb +6 -22
  42. data/lib/candidhealth/non_insurance_payers/v_1/client.rb +6 -22
  43. data/lib/candidhealth/organization_providers/v_3/client.rb +4 -4
  44. data/lib/candidhealth/organization_service_facilities/v_2/client.rb +2 -2
  45. data/lib/candidhealth/patient_payments/v_4/client.rb +8 -38
  46. data/lib/candidhealth/patient_refunds/v_1/client.rb +8 -40
  47. data/lib/candidhealth/payer_plan_groups/v_1/client.rb +6 -30
  48. data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +32 -44
  49. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment.rb +4 -4
  50. data/lib/candidhealth/pre_encounter/common/types/base_model.rb +4 -4
  51. data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +24 -34
  52. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage.rb +4 -4
  53. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb +2 -2
  54. data/lib/candidhealth/pre_encounter/images/v_1/client.rb +20 -20
  55. data/lib/candidhealth/pre_encounter/images/v_1/types/image.rb +6 -6
  56. data/lib/candidhealth/pre_encounter/lists/v_1/client.rb +4 -28
  57. data/lib/candidhealth/pre_encounter/notes/v_1/client.rb +14 -14
  58. data/lib/candidhealth/pre_encounter/notes/v_1/types/note.rb +4 -4
  59. data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +56 -68
  60. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +8 -8
  61. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +8 -8
  62. data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +16 -16
  63. data/lib/candidhealth/pre_encounter/tags/v_1/client.rb +16 -16
  64. data/lib/candidhealth/pre_encounter/tags/v_1/types/tag.rb +4 -4
  65. data/lib/candidhealth/service_facility/client.rb +2 -2
  66. data/lib/candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address.rb +113 -0
  67. data/lib/candidhealth/service_lines/v_2/client.rb +4 -4
  68. data/lib/candidhealth/superbills/v_1/client.rb +4 -6
  69. data/lib/candidhealth/tasks/v_3/client.rb +6 -34
  70. data/lib/candidhealth/write_offs/v_1/client.rb +2 -24
  71. data/lib/environment.rb +4 -0
  72. data/lib/requests.rb +2 -2
  73. data/lib/types_export.rb +11 -1
  74. metadata +13 -3
  75. data/lib/candidhealth/billing_notes/v_2/types/billing_note_optional.rb +0 -112
@@ -20,7 +20,7 @@ module CandidApiClient
20
20
  @request_client = request_client
21
21
  end
22
22
 
23
- # Adds an image. VersionConflictError is returned if a front or back of this
23
+ # Adds an image. VersionConflictError is returned if a front or back of this
24
24
  # coverage already exists.
25
25
  #
26
26
  # @param request [Hash] Request of type CandidApiClient::PreEncounter::Images::V1::Types::MutableImage, as a Hash
@@ -38,7 +38,7 @@ module CandidApiClient
38
38
  # @return [CandidApiClient::PreEncounter::Images::V1::Types::Image]
39
39
  # @example
40
40
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
41
- # api.pre_encounter.images.v_1.create(request: { file_name: "string", display_name: "string", file_type: "string", status: PENDING, coverage: { id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", side: FRONT }, patient: { id: "string", notes: "string" } })
41
+ # api.pre_encounter.images.v_1.create(request: { file_name: "file_name", display_name: "display_name", file_type: "file_type", status: PENDING })
42
42
  def create(request:, request_options: nil)
43
43
  response = @request_client.conn.post do |req|
44
44
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -62,7 +62,7 @@ module CandidApiClient
62
62
  # @return [CandidApiClient::PreEncounter::Images::V1::Types::Image]
63
63
  # @example
64
64
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
65
- # api.pre_encounter.images.v_1.get(id: "string")
65
+ # api.pre_encounter.images.v_1.get(id: "id")
66
66
  def get(id:, request_options: nil)
67
67
  response = @request_client.conn.get do |req|
68
68
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -78,7 +78,7 @@ module CandidApiClient
78
78
  CandidApiClient::PreEncounter::Images::V1::Types::Image.from_json(json_object: response.body)
79
79
  end
80
80
 
81
- # Updates an Image. The path must contain the most recent version to prevent
81
+ # Updates an Image. The path must contain the most recent version to prevent
82
82
  # races.
83
83
  #
84
84
  # @param id [String]
@@ -99,9 +99,9 @@ module CandidApiClient
99
99
  # @example
100
100
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
101
101
  # api.pre_encounter.images.v_1.update(
102
- # id: "string",
103
- # version: "string",
104
- # request: { file_name: "string", display_name: "string", file_type: "string", status: PENDING, coverage: { id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", side: FRONT }, patient: { id: "string", notes: "string" } }
102
+ # id: "id",
103
+ # version: "version",
104
+ # request: { file_name: "file_name", display_name: "display_name", file_type: "file_type", status: PENDING }
105
105
  # )
106
106
  def update(id:, version:, request:, request_options: nil)
107
107
  response = @request_client.conn.put do |req|
@@ -119,7 +119,7 @@ module CandidApiClient
119
119
  CandidApiClient::PreEncounter::Images::V1::Types::Image.from_json(json_object: response.body)
120
120
  end
121
121
 
122
- # Sets an Image as deactivated. The path must contain the most recent version to
122
+ # Sets an Image as deactivated. The path must contain the most recent version to
123
123
  # prevent races.
124
124
  #
125
125
  # @param id [String]
@@ -128,7 +128,7 @@ module CandidApiClient
128
128
  # @return [Void]
129
129
  # @example
130
130
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
131
- # api.pre_encounter.images.v_1.deactivate(id: "string", version: "string")
131
+ # api.pre_encounter.images.v_1.deactivate(id: "id", version: "version")
132
132
  def deactivate(id:, version:, request_options: nil)
133
133
  @request_client.conn.delete do |req|
134
134
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -151,7 +151,7 @@ module CandidApiClient
151
151
  # @return [Array<CandidApiClient::PreEncounter::Images::V1::Types::Image>]
152
152
  # @example
153
153
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
154
- # api.pre_encounter.images.v_1.get_multi(patient_id: "string", coverage_id: "string")
154
+ # api.pre_encounter.images.v_1.get_multi
155
155
  def get_multi(patient_id: nil, coverage_id: nil, request_options: nil)
156
156
  response = @request_client.conn.get do |req|
157
157
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -187,7 +187,7 @@ module CandidApiClient
187
187
  @request_client = request_client
188
188
  end
189
189
 
190
- # Adds an image. VersionConflictError is returned if a front or back of this
190
+ # Adds an image. VersionConflictError is returned if a front or back of this
191
191
  # coverage already exists.
192
192
  #
193
193
  # @param request [Hash] Request of type CandidApiClient::PreEncounter::Images::V1::Types::MutableImage, as a Hash
@@ -205,7 +205,7 @@ module CandidApiClient
205
205
  # @return [CandidApiClient::PreEncounter::Images::V1::Types::Image]
206
206
  # @example
207
207
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
208
- # api.pre_encounter.images.v_1.create(request: { file_name: "string", display_name: "string", file_type: "string", status: PENDING, coverage: { id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", side: FRONT }, patient: { id: "string", notes: "string" } })
208
+ # api.pre_encounter.images.v_1.create(request: { file_name: "file_name", display_name: "display_name", file_type: "file_type", status: PENDING })
209
209
  def create(request:, request_options: nil)
210
210
  Async do
211
211
  response = @request_client.conn.post do |req|
@@ -231,7 +231,7 @@ module CandidApiClient
231
231
  # @return [CandidApiClient::PreEncounter::Images::V1::Types::Image]
232
232
  # @example
233
233
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
234
- # api.pre_encounter.images.v_1.get(id: "string")
234
+ # api.pre_encounter.images.v_1.get(id: "id")
235
235
  def get(id:, request_options: nil)
236
236
  Async do
237
237
  response = @request_client.conn.get do |req|
@@ -249,7 +249,7 @@ module CandidApiClient
249
249
  end
250
250
  end
251
251
 
252
- # Updates an Image. The path must contain the most recent version to prevent
252
+ # Updates an Image. The path must contain the most recent version to prevent
253
253
  # races.
254
254
  #
255
255
  # @param id [String]
@@ -270,9 +270,9 @@ module CandidApiClient
270
270
  # @example
271
271
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
272
272
  # api.pre_encounter.images.v_1.update(
273
- # id: "string",
274
- # version: "string",
275
- # request: { file_name: "string", display_name: "string", file_type: "string", status: PENDING, coverage: { id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", side: FRONT }, patient: { id: "string", notes: "string" } }
273
+ # id: "id",
274
+ # version: "version",
275
+ # request: { file_name: "file_name", display_name: "display_name", file_type: "file_type", status: PENDING }
276
276
  # )
277
277
  def update(id:, version:, request:, request_options: nil)
278
278
  Async do
@@ -292,7 +292,7 @@ module CandidApiClient
292
292
  end
293
293
  end
294
294
 
295
- # Sets an Image as deactivated. The path must contain the most recent version to
295
+ # Sets an Image as deactivated. The path must contain the most recent version to
296
296
  # prevent races.
297
297
  #
298
298
  # @param id [String]
@@ -301,7 +301,7 @@ module CandidApiClient
301
301
  # @return [Void]
302
302
  # @example
303
303
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
304
- # api.pre_encounter.images.v_1.deactivate(id: "string", version: "string")
304
+ # api.pre_encounter.images.v_1.deactivate(id: "id", version: "version")
305
305
  def deactivate(id:, version:, request_options: nil)
306
306
  Async do
307
307
  @request_client.conn.delete do |req|
@@ -326,7 +326,7 @@ module CandidApiClient
326
326
  # @return [Array<CandidApiClient::PreEncounter::Images::V1::Types::Image>]
327
327
  # @example
328
328
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
329
- # api.pre_encounter.images.v_1.get_multi(patient_id: "string", coverage_id: "string")
329
+ # api.pre_encounter.images.v_1.get_multi
330
330
  def get_multi(patient_id: nil, coverage_id: nil, request_options: nil)
331
331
  Async do
332
332
  response = @request_client.conn.get do |req|
@@ -16,15 +16,15 @@ module CandidApiClient
16
16
  class Image
17
17
  # @return [String]
18
18
  attr_reader :id
19
- # @return [String] A signed URL to the image. This url can be used to upload an image to GCP
19
+ # @return [String] A signed URL to the image. This url can be used to upload an image to GCP
20
20
  # storage or to read the image contents.
21
21
  attr_reader :signed_url
22
22
  # @return [String] The organization that owns this object.
23
23
  attr_reader :organization_id
24
- # @return [Boolean] True if the object is deactivated. Deactivated objects are not returned in
24
+ # @return [Boolean] True if the object is deactivated. Deactivated objects are not returned in
25
25
  # search results but are returned in all other endpoints including scan.
26
26
  attr_reader :deactivated
27
- # @return [Integer] The version of the object. Any update to any property of an object object will
27
+ # @return [Integer] The version of the object. Any update to any property of an object object will
28
28
  # create a new version.
29
29
  attr_reader :version
30
30
  # @return [DateTime]
@@ -52,12 +52,12 @@ module CandidApiClient
52
52
  OMIT = Object.new
53
53
 
54
54
  # @param id [String]
55
- # @param signed_url [String] A signed URL to the image. This url can be used to upload an image to GCP
55
+ # @param signed_url [String] A signed URL to the image. This url can be used to upload an image to GCP
56
56
  # storage or to read the image contents.
57
57
  # @param organization_id [String] The organization that owns this object.
58
- # @param deactivated [Boolean] True if the object is deactivated. Deactivated objects are not returned in
58
+ # @param deactivated [Boolean] True if the object is deactivated. Deactivated objects are not returned in
59
59
  # search results but are returned in all other endpoints including scan.
60
- # @param version [Integer] The version of the object. Any update to any property of an object object will
60
+ # @param version [Integer] The version of the object. Any update to any property of an object object will
61
61
  # create a new version.
62
62
  # @param updated_at [DateTime]
63
63
  # @param updating_user_id [String] The user ID of the user who last updated the object.
@@ -32,13 +32,7 @@ module CandidApiClient
32
32
  # @return [CandidApiClient::PreEncounter::Lists::V1::Types::PatientListPage]
33
33
  # @example
34
34
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
35
- # api.pre_encounter.lists.v_1.get_patient_list(
36
- # page_token: "string",
37
- # limit: 1,
38
- # sort_field: "string",
39
- # sort_direction: ASC,
40
- # filters: "string"
41
- # )
35
+ # api.pre_encounter.lists.v_1.get_patient_list
42
36
  def get_patient_list(page_token: nil, limit: nil, sort_field: nil, sort_direction: nil, filters: nil,
43
37
  request_options: nil)
44
38
  response = @request_client.conn.get do |req|
@@ -74,13 +68,7 @@ module CandidApiClient
74
68
  # @return [CandidApiClient::PreEncounter::Lists::V1::Types::AppointmentListPage]
75
69
  # @example
76
70
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
77
- # api.pre_encounter.lists.v_1.get_appointment_list(
78
- # sort_field: "string",
79
- # sort_direction: ASC,
80
- # limit: 1,
81
- # page_token: "string",
82
- # filters: "string"
83
- # )
71
+ # api.pre_encounter.lists.v_1.get_appointment_list
84
72
  def get_appointment_list(sort_field: nil, sort_direction: nil, limit: nil, page_token: nil, filters: nil,
85
73
  request_options: nil)
86
74
  response = @request_client.conn.get do |req|
@@ -128,13 +116,7 @@ module CandidApiClient
128
116
  # @return [CandidApiClient::PreEncounter::Lists::V1::Types::PatientListPage]
129
117
  # @example
130
118
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
131
- # api.pre_encounter.lists.v_1.get_patient_list(
132
- # page_token: "string",
133
- # limit: 1,
134
- # sort_field: "string",
135
- # sort_direction: ASC,
136
- # filters: "string"
137
- # )
119
+ # api.pre_encounter.lists.v_1.get_patient_list
138
120
  def get_patient_list(page_token: nil, limit: nil, sort_field: nil, sort_direction: nil, filters: nil,
139
121
  request_options: nil)
140
122
  Async do
@@ -172,13 +154,7 @@ module CandidApiClient
172
154
  # @return [CandidApiClient::PreEncounter::Lists::V1::Types::AppointmentListPage]
173
155
  # @example
174
156
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
175
- # api.pre_encounter.lists.v_1.get_appointment_list(
176
- # sort_field: "string",
177
- # sort_direction: ASC,
178
- # limit: 1,
179
- # page_token: "string",
180
- # filters: "string"
181
- # )
157
+ # api.pre_encounter.lists.v_1.get_appointment_list
182
158
  def get_appointment_list(sort_field: nil, sort_direction: nil, limit: nil, page_token: nil, filters: nil,
183
159
  request_options: nil)
184
160
  Async do
@@ -26,7 +26,7 @@ module CandidApiClient
26
26
  # @return [CandidApiClient::PreEncounter::Notes::V1::Types::Note]
27
27
  # @example
28
28
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
29
- # api.pre_encounter.notes.v_1.get(id: "string")
29
+ # api.pre_encounter.notes.v_1.get(id: "id")
30
30
  def get(id:, request_options: nil)
31
31
  response = @request_client.conn.get do |req|
32
32
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -52,7 +52,7 @@ module CandidApiClient
52
52
  # @return [CandidApiClient::PreEncounter::Notes::V1::Types::Note]
53
53
  # @example
54
54
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
55
- # api.pre_encounter.notes.v_1.create(request: { value: "string", author_email: "string", author_name: "string" })
55
+ # api.pre_encounter.notes.v_1.create(request: { value: "value" })
56
56
  def create(request:, request_options: nil)
57
57
  response = @request_client.conn.post do |req|
58
58
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -81,9 +81,9 @@ module CandidApiClient
81
81
  # @example
82
82
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
83
83
  # api.pre_encounter.notes.v_1.update(
84
- # id: "string",
85
- # version: "string",
86
- # request: { value: "string", author_email: "string", author_name: "string" }
84
+ # id: "id",
85
+ # version: "version",
86
+ # request: { value: "value" }
87
87
  # )
88
88
  def update(id:, version:, request:, request_options: nil)
89
89
  response = @request_client.conn.put do |req|
@@ -101,7 +101,7 @@ module CandidApiClient
101
101
  CandidApiClient::PreEncounter::Notes::V1::Types::Note.from_json(json_object: response.body)
102
102
  end
103
103
 
104
- # Sets a note as deactivated. The path must contain the most recent version to
104
+ # Sets a note as deactivated. The path must contain the most recent version to
105
105
  # prevent races.
106
106
  #
107
107
  # @param id [String]
@@ -110,7 +110,7 @@ module CandidApiClient
110
110
  # @return [Void]
111
111
  # @example
112
112
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
113
- # api.pre_encounter.notes.v_1.deactivate(id: "string", version: "string")
113
+ # api.pre_encounter.notes.v_1.deactivate(id: "id", version: "version")
114
114
  def deactivate(id:, version:, request_options: nil)
115
115
  @request_client.conn.delete do |req|
116
116
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -143,7 +143,7 @@ module CandidApiClient
143
143
  # @return [CandidApiClient::PreEncounter::Notes::V1::Types::Note]
144
144
  # @example
145
145
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
146
- # api.pre_encounter.notes.v_1.get(id: "string")
146
+ # api.pre_encounter.notes.v_1.get(id: "id")
147
147
  def get(id:, request_options: nil)
148
148
  Async do
149
149
  response = @request_client.conn.get do |req|
@@ -171,7 +171,7 @@ module CandidApiClient
171
171
  # @return [CandidApiClient::PreEncounter::Notes::V1::Types::Note]
172
172
  # @example
173
173
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
174
- # api.pre_encounter.notes.v_1.create(request: { value: "string", author_email: "string", author_name: "string" })
174
+ # api.pre_encounter.notes.v_1.create(request: { value: "value" })
175
175
  def create(request:, request_options: nil)
176
176
  Async do
177
177
  response = @request_client.conn.post do |req|
@@ -203,9 +203,9 @@ module CandidApiClient
203
203
  # @example
204
204
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
205
205
  # api.pre_encounter.notes.v_1.update(
206
- # id: "string",
207
- # version: "string",
208
- # request: { value: "string", author_email: "string", author_name: "string" }
206
+ # id: "id",
207
+ # version: "version",
208
+ # request: { value: "value" }
209
209
  # )
210
210
  def update(id:, version:, request:, request_options: nil)
211
211
  Async do
@@ -225,7 +225,7 @@ module CandidApiClient
225
225
  end
226
226
  end
227
227
 
228
- # Sets a note as deactivated. The path must contain the most recent version to
228
+ # Sets a note as deactivated. The path must contain the most recent version to
229
229
  # prevent races.
230
230
  #
231
231
  # @param id [String]
@@ -234,7 +234,7 @@ module CandidApiClient
234
234
  # @return [Void]
235
235
  # @example
236
236
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
237
- # api.pre_encounter.notes.v_1.deactivate(id: "string", version: "string")
237
+ # api.pre_encounter.notes.v_1.deactivate(id: "id", version: "version")
238
238
  def deactivate(id:, version:, request_options: nil)
239
239
  Async do
240
240
  @request_client.conn.delete do |req|
@@ -17,10 +17,10 @@ module CandidApiClient
17
17
  attr_reader :created_at
18
18
  # @return [String] The organization that owns this object.
19
19
  attr_reader :organization_id
20
- # @return [Boolean] True if the object is deactivated. Deactivated objects are not returned in
20
+ # @return [Boolean] True if the object is deactivated. Deactivated objects are not returned in
21
21
  # search results but are returned in all other endpoints including scan.
22
22
  attr_reader :deactivated
23
- # @return [Integer] The version of the object. Any update to any property of an object object will
23
+ # @return [Integer] The version of the object. Any update to any property of an object object will
24
24
  # create a new version.
25
25
  attr_reader :version
26
26
  # @return [DateTime]
@@ -44,9 +44,9 @@ module CandidApiClient
44
44
  # @param id [String]
45
45
  # @param created_at [DateTime]
46
46
  # @param organization_id [String] The organization that owns this object.
47
- # @param deactivated [Boolean] True if the object is deactivated. Deactivated objects are not returned in
47
+ # @param deactivated [Boolean] True if the object is deactivated. Deactivated objects are not returned in
48
48
  # search results but are returned in all other endpoints including scan.
49
- # @param version [Integer] The version of the object. Any update to any property of an object object will
49
+ # @param version [Integer] The version of the object. Any update to any property of an object object will
50
50
  # create a new version.
51
51
  # @param updated_at [DateTime]
52
52
  # @param updating_user_id [String] The user ID of the user who last updated the object.