candidhealth 0.41.0 → 0.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture.rb +10 -2
- data/lib/requests.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1f1581a9d0308972fbfab2f3ff1426006583c8bb4ae90159ce0063ef1b040b5
|
4
|
+
data.tar.gz: 6a83ef1e0ee7262a4ea5a8f3f6f2cfcb5374ba9b17a2f303d96844ccd0fe7c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62a6cba30ae59aa915e494b92f00650945c2d3ce295811d323d5b5d74327e9ec0328c51b69d89476c06bd41e67cd4923780feff650f6f6048d0b0bd380efd2f6
|
7
|
+
data.tar.gz: 48dc4453fce9b101e922f08fe9a7eae8c5de4b19e660c1e3539870159a94629fa543da9f7f019bfb48e9d8d39bf11e64c7fc77f4b9acd1e1579bb8753845bbb9
|
@@ -32,6 +32,8 @@ module CandidApiClient
|
|
32
32
|
attr_reader :error
|
33
33
|
# @return [Array<CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange>]
|
34
34
|
attr_reader :updates
|
35
|
+
# @return [String]
|
36
|
+
attr_reader :bundle_id
|
35
37
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
36
38
|
attr_reader :additional_properties
|
37
39
|
# @return [Object]
|
@@ -50,10 +52,11 @@ module CandidApiClient
|
|
50
52
|
# This date must be the local date in the timezone where the service occurred.
|
51
53
|
# @param error [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureError]
|
52
54
|
# @param updates [Array<CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange>]
|
55
|
+
# @param bundle_id [String]
|
53
56
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
54
57
|
# @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
|
55
58
|
def initialize(id:, status:, charge_capture_data:, patient_external_id:, charge_external_id:, updates:,
|
56
|
-
ehr_source_url: OMIT, date_of_service: OMIT, error: OMIT, additional_properties: nil)
|
59
|
+
ehr_source_url: OMIT, date_of_service: OMIT, error: OMIT, bundle_id: OMIT, additional_properties: nil)
|
57
60
|
@id = id
|
58
61
|
@status = status
|
59
62
|
@charge_capture_data = charge_capture_data
|
@@ -63,6 +66,7 @@ module CandidApiClient
|
|
63
66
|
@date_of_service = date_of_service if date_of_service != OMIT
|
64
67
|
@error = error if error != OMIT
|
65
68
|
@updates = updates
|
69
|
+
@bundle_id = bundle_id if bundle_id != OMIT
|
66
70
|
@additional_properties = additional_properties
|
67
71
|
@_field_set = {
|
68
72
|
"id": id,
|
@@ -73,7 +77,8 @@ module CandidApiClient
|
|
73
77
|
"ehr_source_url": ehr_source_url,
|
74
78
|
"date_of_service": date_of_service,
|
75
79
|
"error": error,
|
76
|
-
"updates": updates
|
80
|
+
"updates": updates,
|
81
|
+
"bundle_id": bundle_id
|
77
82
|
}.reject do |_k, v|
|
78
83
|
v == OMIT
|
79
84
|
end
|
@@ -108,6 +113,7 @@ module CandidApiClient
|
|
108
113
|
item = item.to_json
|
109
114
|
CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange.from_json(json_object: item)
|
110
115
|
end
|
116
|
+
bundle_id = struct["bundle_id"]
|
111
117
|
new(
|
112
118
|
id: id,
|
113
119
|
status: status,
|
@@ -118,6 +124,7 @@ module CandidApiClient
|
|
118
124
|
date_of_service: date_of_service,
|
119
125
|
error: error,
|
120
126
|
updates: updates,
|
127
|
+
bundle_id: bundle_id,
|
121
128
|
additional_properties: struct
|
122
129
|
)
|
123
130
|
end
|
@@ -145,6 +152,7 @@ module CandidApiClient
|
|
145
152
|
obj.date_of_service&.is_a?(Date) != false || raise("Passed value for field obj.date_of_service is not the expected type, validation failed.")
|
146
153
|
obj.error.nil? || CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureError.validate_raw(obj: obj.error)
|
147
154
|
obj.updates.is_a?(Array) != false || raise("Passed value for field obj.updates is not the expected type, validation failed.")
|
155
|
+
obj.bundle_id&.is_a?(String) != false || raise("Passed value for field obj.bundle_id is not the expected type, validation failed.")
|
148
156
|
end
|
149
157
|
end
|
150
158
|
end
|
data/lib/requests.rb
CHANGED
@@ -43,7 +43,7 @@ module CandidApiClient
|
|
43
43
|
|
44
44
|
# @return [Hash{String => String}]
|
45
45
|
def get_headers
|
46
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.1" }
|
47
47
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
48
48
|
headers
|
49
49
|
end
|
@@ -87,7 +87,7 @@ module CandidApiClient
|
|
87
87
|
|
88
88
|
# @return [Hash{String => String}]
|
89
89
|
def get_headers
|
90
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.1" }
|
91
91
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
92
92
|
headers
|
93
93
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.41.
|
4
|
+
version: 0.41.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|