candidhealth 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d301f9e959a7fc2ae9d5ed40836c9e0b02485268ec8e63a277c058acea8e44f5
4
- data.tar.gz: d17c8bbc99f1b2317bd3eb18b323b84f06c752db4779fbcead070cb0fefbc679
3
+ metadata.gz: 3e621e295212473bb5552d342c78db201bf6ec04ce5bc494275ff93963b09472
4
+ data.tar.gz: 43dce97a1ccd67be1569ae02028c11bd376620a626017af8fdb11ea659aa11e6
5
5
  SHA512:
6
- metadata.gz: 78d774f2a984b68be910553cef2e65319b3cc5f645ca8dbc090acab309db4940c5c8ae4b44ce349174e9abc8fff0314b2b4251b6a413c22f7c2c3743a7a68629
7
- data.tar.gz: e7f1dde99f5b853818448c9ab1b962a6159d1016a9f885622fe46748d42acdc82dde21338d68581298a812c1d7bad9956b07eee682ebbfa4509b7629c9c4f241
6
+ metadata.gz: dbfd41a522e21f11f71e0a300e81d4ffc8516e65538a08dda1849203b00fead32b60da72356a067329591933c32b38fcaec40a2e2d1d81aa5b58083e9cf9123c
7
+ data.tar.gz: 45054897660d7d1614d52c3c5b77c08b1d8dfa58fec2cc3998f9b510d8ff6bc87f38f3ed81f2e86a1dfc8cd49f44adf903401c28e53dd984888965765571e756
@@ -164,6 +164,7 @@ module CandidApiClient
164
164
  # * :city (String)
165
165
  # * :state (CandidApiClient::Commons::Types::State)
166
166
  # * :zip_code (String)
167
+ # * :secondary_identification (String)
167
168
  # * :guarantor (Hash)
168
169
  # * :first_name (String)
169
170
  # * :last_name (String)
@@ -442,6 +443,7 @@ module CandidApiClient
442
443
  # * :city (String)
443
444
  # * :state (CandidApiClient::Commons::Types::State)
444
445
  # * :zip_code (String)
446
+ # * :secondary_identification (String)
445
447
  # * :guarantor (Hash)
446
448
  # * :first_name (String)
447
449
  # * :last_name (String)
@@ -777,6 +779,7 @@ module CandidApiClient
777
779
  # * :city (String)
778
780
  # * :state (CandidApiClient::Commons::Types::State)
779
781
  # * :zip_code (String)
782
+ # * :secondary_identification (String)
780
783
  # * :guarantor (Hash)
781
784
  # * :first_name (String)
782
785
  # * :last_name (String)
@@ -1059,6 +1062,7 @@ module CandidApiClient
1059
1062
  # * :city (String)
1060
1063
  # * :state (CandidApiClient::Commons::Types::State)
1061
1064
  # * :zip_code (String)
1065
+ # * :secondary_identification (String)
1062
1066
  # * :guarantor (Hash)
1063
1067
  # * :first_name (String)
1064
1068
  # * :last_name (String)
@@ -384,6 +384,7 @@ module CandidApiClient
384
384
  # * :city (String)
385
385
  # * :state (CandidApiClient::Commons::Types::State)
386
386
  # * :zip_code (String)
387
+ # * :secondary_identification (String)
387
388
  # @param subscriber_primary [Hash] Subscriber_primary is required when responsible_party is INSURANCE_PAY (i.e.
388
389
  # when the claim should be billed to insurance).
389
390
  # These are not required fields when responsible_party is SELF_PAY (i.e. when the
@@ -543,7 +544,7 @@ module CandidApiClient
543
544
  # referring_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
544
545
  # initial_referring_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ },
545
546
  # supervising_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
546
- # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
547
+ # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, secondary_identification: "string" },
547
548
  # subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE },
548
549
  # subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE },
549
550
  # prior_authorization_number: "string",
@@ -839,6 +840,7 @@ module CandidApiClient
839
840
  # * :city (String)
840
841
  # * :state (CandidApiClient::Commons::Types::State)
841
842
  # * :zip_code (String)
843
+ # * :secondary_identification (String)
842
844
  # @param diagnoses [Array<Hash>] Ideally, this field should contain no more than 12 diagnoses. However, more
843
845
  # diagnoses
844
846
  # may be submitted at this time, and coders will later prioritize the 12 that will
@@ -920,7 +922,7 @@ module CandidApiClient
920
922
  # rendering_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
921
923
  # initial_referring_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ },
922
924
  # supervising_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
923
- # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
925
+ # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, secondary_identification: "string" },
924
926
  # diagnoses: [{ name: "string", code_type: ABF, code: "string" }],
925
927
  # clinical_notes: [{ category: CLINICAL, notes: [{ text: "string", author_name: "string", author_npi: "string", timestamp: DateTime.parse(2024-01-15T09:30:00.000Z) }] }],
926
928
  # billing_notes: [{ text: "string" }],
@@ -1208,6 +1210,7 @@ module CandidApiClient
1208
1210
  # * :city (String)
1209
1211
  # * :state (CandidApiClient::Commons::Types::State)
1210
1212
  # * :zip_code (String)
1213
+ # * :secondary_identification (String)
1211
1214
  # @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorUpdate, as a Hash
1212
1215
  # * :first_name (String)
1213
1216
  # * :last_name (String)
@@ -1714,6 +1717,7 @@ module CandidApiClient
1714
1717
  # * :city (String)
1715
1718
  # * :state (CandidApiClient::Commons::Types::State)
1716
1719
  # * :zip_code (String)
1720
+ # * :secondary_identification (String)
1717
1721
  # @param subscriber_primary [Hash] Subscriber_primary is required when responsible_party is INSURANCE_PAY (i.e.
1718
1722
  # when the claim should be billed to insurance).
1719
1723
  # These are not required fields when responsible_party is SELF_PAY (i.e. when the
@@ -1873,7 +1877,7 @@ module CandidApiClient
1873
1877
  # referring_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
1874
1878
  # initial_referring_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ },
1875
1879
  # supervising_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
1876
- # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
1880
+ # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, secondary_identification: "string" },
1877
1881
  # subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE },
1878
1882
  # subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE },
1879
1883
  # prior_authorization_number: "string",
@@ -2171,6 +2175,7 @@ module CandidApiClient
2171
2175
  # * :city (String)
2172
2176
  # * :state (CandidApiClient::Commons::Types::State)
2173
2177
  # * :zip_code (String)
2178
+ # * :secondary_identification (String)
2174
2179
  # @param diagnoses [Array<Hash>] Ideally, this field should contain no more than 12 diagnoses. However, more
2175
2180
  # diagnoses
2176
2181
  # may be submitted at this time, and coders will later prioritize the 12 that will
@@ -2252,7 +2257,7 @@ module CandidApiClient
2252
2257
  # rendering_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
2253
2258
  # initial_referring_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ },
2254
2259
  # supervising_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
2255
- # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
2260
+ # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, secondary_identification: "string" },
2256
2261
  # diagnoses: [{ name: "string", code_type: ABF, code: "string" }],
2257
2262
  # clinical_notes: [{ category: CLINICAL, notes: [{ text: "string", author_name: "string", author_npi: "string", timestamp: DateTime.parse(2024-01-15T09:30:00.000Z) }] }],
2258
2263
  # billing_notes: [{ text: "string" }],
@@ -2542,6 +2547,7 @@ module CandidApiClient
2542
2547
  # * :city (String)
2543
2548
  # * :state (CandidApiClient::Commons::Types::State)
2544
2549
  # * :zip_code (String)
2550
+ # * :secondary_identification (String)
2545
2551
  # @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorUpdate, as a Hash
2546
2552
  # * :first_name (String)
2547
2553
  # * :last_name (String)
@@ -27,6 +27,7 @@ module CandidApiClient
27
27
  # * :city (String)
28
28
  # * :state (CandidApiClient::Commons::Types::State)
29
29
  # * :zip_code (String)
30
+ # * :secondary_identification (String)
30
31
  # @param request_options [CandidApiClient::RequestOptions]
31
32
  # @return [CandidApiClient::ServiceFacility::Types::EncounterServiceFacility]
32
33
  # @example
@@ -70,6 +71,7 @@ module CandidApiClient
70
71
  # * :city (String)
71
72
  # * :state (CandidApiClient::Commons::Types::State)
72
73
  # * :zip_code (String)
74
+ # * :secondary_identification (String)
73
75
  # @param request_options [CandidApiClient::RequestOptions]
74
76
  # @return [CandidApiClient::ServiceFacility::Types::EncounterServiceFacility]
75
77
  # @example
@@ -19,6 +19,12 @@ module CandidApiClient
19
19
  # @return [CandidApiClient::Commons::Types::StreetAddressLongZip] zip_plus_four_code is required for service facility address. When the
20
20
  # zip_plus_four_code is not available use "9998" as per CMS documentation.
21
21
  attr_reader :address
22
+ # @return [String] An additional identifier for the service facility other than the facility's NPI.
23
+ # Some payers may require this field.
24
+ # Potential examples: state license number, provider commercial number, or
25
+ # location number.
26
+ # Box 32 section (b) of the CMS-1500 claim form.
27
+ attr_reader :secondary_identification
22
28
  # @return [OpenStruct] Additional properties unmapped to the current class definition
23
29
  attr_reader :additional_properties
24
30
  # @return [Object]
@@ -34,19 +40,27 @@ module CandidApiClient
34
40
  # Box 32 section (a) of the CMS-1500 claim form.
35
41
  # @param address [CandidApiClient::Commons::Types::StreetAddressLongZip] zip_plus_four_code is required for service facility address. When the
36
42
  # zip_plus_four_code is not available use "9998" as per CMS documentation.
43
+ # @param secondary_identification [String] An additional identifier for the service facility other than the facility's NPI.
44
+ # Some payers may require this field.
45
+ # Potential examples: state license number, provider commercial number, or
46
+ # location number.
47
+ # Box 32 section (b) of the CMS-1500 claim form.
37
48
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
38
49
  # @return [CandidApiClient::ServiceFacility::Types::EncounterServiceFacility]
39
- def initialize(service_facility_id:, organization_name:, address:, npi: OMIT, additional_properties: nil)
50
+ def initialize(service_facility_id:, organization_name:, address:, npi: OMIT, secondary_identification: OMIT,
51
+ additional_properties: nil)
40
52
  @service_facility_id = service_facility_id
41
53
  @organization_name = organization_name
42
54
  @npi = npi if npi != OMIT
43
55
  @address = address
56
+ @secondary_identification = secondary_identification if secondary_identification != OMIT
44
57
  @additional_properties = additional_properties
45
58
  @_field_set = {
46
59
  "service_facility_id": service_facility_id,
47
60
  "organization_name": organization_name,
48
61
  "npi": npi,
49
- "address": address
62
+ "address": address,
63
+ "secondary_identification": secondary_identification
50
64
  }.reject do |_k, v|
51
65
  v == OMIT
52
66
  end
@@ -68,11 +82,13 @@ module CandidApiClient
68
82
  address = parsed_json["address"].to_json
69
83
  address = CandidApiClient::Commons::Types::StreetAddressLongZip.from_json(json_object: address)
70
84
  end
85
+ secondary_identification = struct["secondary_identification"]
71
86
  new(
72
87
  service_facility_id: service_facility_id,
73
88
  organization_name: organization_name,
74
89
  npi: npi,
75
90
  address: address,
91
+ secondary_identification: secondary_identification,
76
92
  additional_properties: struct
77
93
  )
78
94
  end
@@ -95,6 +111,7 @@ module CandidApiClient
95
111
  obj.organization_name.is_a?(String) != false || raise("Passed value for field obj.organization_name is not the expected type, validation failed.")
96
112
  obj.npi&.is_a?(String) != false || raise("Passed value for field obj.npi is not the expected type, validation failed.")
97
113
  CandidApiClient::Commons::Types::StreetAddressLongZip.validate_raw(obj: obj.address)
114
+ obj.secondary_identification&.is_a?(String) != false || raise("Passed value for field obj.secondary_identification is not the expected type, validation failed.")
98
115
  end
99
116
  end
100
117
  end
@@ -29,6 +29,12 @@ module CandidApiClient
29
29
  # @return [CandidApiClient::Commons::Types::StreetAddressLongZip] zip_plus_four_code is required for service facility address. When the
30
30
  # zip_plus_four_code is not available use "9998" as per CMS documentation.
31
31
  attr_reader :address
32
+ # @return [String] An additional identifier for the service facility other than the facility's NPI.
33
+ # Some payers may require this field.
34
+ # Potential examples: state license number, provider commercial number, or
35
+ # location number.
36
+ # Box 32 section (b) of the CMS-1500 claim form.
37
+ attr_reader :secondary_identification
32
38
  # @return [OpenStruct] Additional properties unmapped to the current class definition
33
39
  attr_reader :additional_properties
34
40
  # @return [Object]
@@ -43,14 +49,26 @@ module CandidApiClient
43
49
  # Box 32 section (a) of the CMS-1500 claim form.
44
50
  # @param address [CandidApiClient::Commons::Types::StreetAddressLongZip] zip_plus_four_code is required for service facility address. When the
45
51
  # zip_plus_four_code is not available use "9998" as per CMS documentation.
52
+ # @param secondary_identification [String] An additional identifier for the service facility other than the facility's NPI.
53
+ # Some payers may require this field.
54
+ # Potential examples: state license number, provider commercial number, or
55
+ # location number.
56
+ # Box 32 section (b) of the CMS-1500 claim form.
46
57
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
47
58
  # @return [CandidApiClient::ServiceFacility::Types::EncounterServiceFacilityBase]
48
- def initialize(organization_name:, address:, npi: OMIT, additional_properties: nil)
59
+ def initialize(organization_name:, address:, npi: OMIT, secondary_identification: OMIT,
60
+ additional_properties: nil)
49
61
  @organization_name = organization_name
50
62
  @npi = npi if npi != OMIT
51
63
  @address = address
64
+ @secondary_identification = secondary_identification if secondary_identification != OMIT
52
65
  @additional_properties = additional_properties
53
- @_field_set = { "organization_name": organization_name, "npi": npi, "address": address }.reject do |_k, v|
66
+ @_field_set = {
67
+ "organization_name": organization_name,
68
+ "npi": npi,
69
+ "address": address,
70
+ "secondary_identification": secondary_identification
71
+ }.reject do |_k, v|
54
72
  v == OMIT
55
73
  end
56
74
  end
@@ -70,10 +88,12 @@ module CandidApiClient
70
88
  address = parsed_json["address"].to_json
71
89
  address = CandidApiClient::Commons::Types::StreetAddressLongZip.from_json(json_object: address)
72
90
  end
91
+ secondary_identification = struct["secondary_identification"]
73
92
  new(
74
93
  organization_name: organization_name,
75
94
  npi: npi,
76
95
  address: address,
96
+ secondary_identification: secondary_identification,
77
97
  additional_properties: struct
78
98
  )
79
99
  end
@@ -95,6 +115,7 @@ module CandidApiClient
95
115
  obj.organization_name.is_a?(String) != false || raise("Passed value for field obj.organization_name is not the expected type, validation failed.")
96
116
  obj.npi&.is_a?(String) != false || raise("Passed value for field obj.npi is not the expected type, validation failed.")
97
117
  CandidApiClient::Commons::Types::StreetAddressLongZip.validate_raw(obj: obj.address)
118
+ obj.secondary_identification&.is_a?(String) != false || raise("Passed value for field obj.secondary_identification is not the expected type, validation failed.")
98
119
  end
99
120
  end
100
121
  end
@@ -17,6 +17,12 @@ module CandidApiClient
17
17
  # @return [CandidApiClient::Commons::Types::StreetAddressLongZip] zip_plus_four_code is required for service facility address. When the
18
18
  # zip_plus_four_code is not available use "9998" as per CMS documentation.
19
19
  attr_reader :address
20
+ # @return [String] An additional identifier for the service facility other than the facility's NPI.
21
+ # Some payers may require this field.
22
+ # Potential examples: state license number, provider commercial number, or
23
+ # location number.
24
+ # Box 32 section (b) of the CMS-1500 claim form.
25
+ attr_reader :secondary_identification
20
26
  # @return [OpenStruct] Additional properties unmapped to the current class definition
21
27
  attr_reader :additional_properties
22
28
  # @return [Object]
@@ -31,14 +37,26 @@ module CandidApiClient
31
37
  # Box 32 section (a) of the CMS-1500 claim form.
32
38
  # @param address [CandidApiClient::Commons::Types::StreetAddressLongZip] zip_plus_four_code is required for service facility address. When the
33
39
  # zip_plus_four_code is not available use "9998" as per CMS documentation.
40
+ # @param secondary_identification [String] An additional identifier for the service facility other than the facility's NPI.
41
+ # Some payers may require this field.
42
+ # Potential examples: state license number, provider commercial number, or
43
+ # location number.
44
+ # Box 32 section (b) of the CMS-1500 claim form.
34
45
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
35
46
  # @return [CandidApiClient::ServiceFacility::Types::EncounterServiceFacilityUpdate]
36
- def initialize(organization_name: OMIT, npi: OMIT, address: OMIT, additional_properties: nil)
47
+ def initialize(organization_name: OMIT, npi: OMIT, address: OMIT, secondary_identification: OMIT,
48
+ additional_properties: nil)
37
49
  @organization_name = organization_name if organization_name != OMIT
38
50
  @npi = npi if npi != OMIT
39
51
  @address = address if address != OMIT
52
+ @secondary_identification = secondary_identification if secondary_identification != OMIT
40
53
  @additional_properties = additional_properties
41
- @_field_set = { "organization_name": organization_name, "npi": npi, "address": address }.reject do |_k, v|
54
+ @_field_set = {
55
+ "organization_name": organization_name,
56
+ "npi": npi,
57
+ "address": address,
58
+ "secondary_identification": secondary_identification
59
+ }.reject do |_k, v|
42
60
  v == OMIT
43
61
  end
44
62
  end
@@ -58,10 +76,12 @@ module CandidApiClient
58
76
  address = parsed_json["address"].to_json
59
77
  address = CandidApiClient::Commons::Types::StreetAddressLongZip.from_json(json_object: address)
60
78
  end
79
+ secondary_identification = struct["secondary_identification"]
61
80
  new(
62
81
  organization_name: organization_name,
63
82
  npi: npi,
64
83
  address: address,
84
+ secondary_identification: secondary_identification,
65
85
  additional_properties: struct
66
86
  )
67
87
  end
@@ -83,6 +103,7 @@ module CandidApiClient
83
103
  obj.organization_name&.is_a?(String) != false || raise("Passed value for field obj.organization_name is not the expected type, validation failed.")
84
104
  obj.npi&.is_a?(String) != false || raise("Passed value for field obj.npi is not the expected type, validation failed.")
85
105
  obj.address.nil? || CandidApiClient::Commons::Types::StreetAddressLongZip.validate_raw(obj: obj.address)
106
+ obj.secondary_identification&.is_a?(String) != false || raise("Passed value for field obj.secondary_identification is not the expected type, validation failed.")
86
107
  end
87
108
  end
88
109
  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.37.0" }
46
+ headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.38.0" }
47
47
  headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
48
48
  headers
49
49
  end
@@ -87,7 +87,7 @@ module CandidApiClient
87
87
 
88
88
  # @return [Hash{String => String}]
89
89
  def get_headers
90
- headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.37.0" }
90
+ headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.38.0" }
91
91
  headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
92
92
  headers
93
93
  end
data/lib/types_export.rb CHANGED
@@ -360,7 +360,6 @@ require_relative "candidhealth/commons/types/http_service_unavailable_error_mess
360
360
  require_relative "candidhealth/commons/types/request_validation_error"
361
361
  require_relative "candidhealth/commons/types/updates_disabled_due_to_external_system_integration_error_message"
362
362
  require_relative "candidhealth/commons/types/organization_not_authorized_error_message"
363
- require_relative "candidhealth/commons/types/not_implemented_error_message"
364
363
  require_relative "candidhealth/commons/types/phone_number"
365
364
  require_relative "candidhealth/commons/types/phone_number_type"
366
365
  require_relative "candidhealth/commons/types/delay_reason_code"
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.37.0
4
+ version: 0.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-30 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-http-faraday
@@ -129,7 +129,6 @@ files:
129
129
  - lib/candidhealth/commons/types/insurance_type_code.rb
130
130
  - lib/candidhealth/commons/types/intended_submission_medium.rb
131
131
  - lib/candidhealth/commons/types/network_type.rb
132
- - lib/candidhealth/commons/types/not_implemented_error_message.rb
133
132
  - lib/candidhealth/commons/types/organization_not_authorized_error_message.rb
134
133
  - lib/candidhealth/commons/types/patient_relationship_to_insured_code_all.rb
135
134
  - lib/candidhealth/commons/types/phone_number.rb
@@ -1,60 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "ostruct"
4
- require "json"
5
-
6
- module CandidApiClient
7
- module Commons
8
- module Types
9
- class NotImplementedErrorMessage
10
- # @return [String]
11
- attr_reader :message
12
- # @return [OpenStruct] Additional properties unmapped to the current class definition
13
- attr_reader :additional_properties
14
- # @return [Object]
15
- attr_reader :_field_set
16
- protected :_field_set
17
-
18
- OMIT = Object.new
19
-
20
- # @param message [String]
21
- # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
22
- # @return [CandidApiClient::Commons::Types::NotImplementedErrorMessage]
23
- def initialize(message: OMIT, additional_properties: nil)
24
- @message = message if message != OMIT
25
- @additional_properties = additional_properties
26
- @_field_set = { "message": message }.reject do |_k, v|
27
- v == OMIT
28
- end
29
- end
30
-
31
- # Deserialize a JSON object to an instance of NotImplementedErrorMessage
32
- #
33
- # @param json_object [String]
34
- # @return [CandidApiClient::Commons::Types::NotImplementedErrorMessage]
35
- def self.from_json(json_object:)
36
- struct = JSON.parse(json_object, object_class: OpenStruct)
37
- message = struct["message"]
38
- new(message: message, additional_properties: struct)
39
- end
40
-
41
- # Serialize an instance of NotImplementedErrorMessage to a JSON object
42
- #
43
- # @return [String]
44
- def to_json(*_args)
45
- @_field_set&.to_json
46
- end
47
-
48
- # Leveraged for Union-type generation, validate_raw attempts to parse the given
49
- # hash and check each fields type against the current object's property
50
- # definitions.
51
- #
52
- # @param obj [Object]
53
- # @return [Void]
54
- def self.validate_raw(obj:)
55
- obj.message&.is_a?(String) != false || raise("Passed value for field obj.message is not the expected type, validation failed.")
56
- end
57
- end
58
- end
59
- end
60
- end