candidhealth 0.43.0 → 0.43.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.
Files changed (176) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  5. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  6. package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  7. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  8. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  9. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  10. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  11. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  12. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  13. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
  14. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  15. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  16. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  17. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  20. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  21. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  22. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  23. package/api/resources/diagnoses/client/Client.js +3 -3
  24. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  25. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  26. package/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  27. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  28. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  29. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  30. package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  31. package/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
  32. package/api/resources/encounters/resources/v4/client/Client.js +105 -115
  33. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
  34. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
  35. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  36. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  37. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  38. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  39. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  40. package/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  41. package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  42. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  43. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  44. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  45. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  46. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  47. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  48. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  49. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  50. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  51. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  52. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  53. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  54. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  55. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  56. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  57. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  58. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  59. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  60. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  61. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  62. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  63. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  64. package/api/resources/serviceFacility/client/Client.js +1 -1
  65. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  66. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  67. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  68. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  69. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  70. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  71. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  72. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  73. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  74. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  75. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  76. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  77. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  78. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  79. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  80. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  81. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  82. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
  83. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  84. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  85. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  86. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  87. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  88. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  89. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  90. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  91. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  92. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  93. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  94. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  95. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  96. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  97. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  98. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  99. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  100. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
  101. package/dist/api/resources/encounters/resources/v4/client/Client.js +105 -115
  102. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
  103. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
  104. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  105. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  106. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  107. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  108. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  109. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  110. package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  111. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  112. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  113. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  114. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  115. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  116. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  117. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  118. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  119. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  120. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  121. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  122. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  123. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  124. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  125. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  126. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  127. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  128. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  129. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  130. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  131. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  132. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  133. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  134. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  135. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  136. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  137. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  138. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  139. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  140. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  141. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  142. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  143. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  144. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  145. package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
  146. package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
  147. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  148. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  149. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  150. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  151. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  152. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  153. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  154. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +1 -1
  158. package/reference.md +181 -358
  159. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  160. package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  161. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  162. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  163. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  164. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  165. package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
  166. package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
  167. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  168. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  169. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  170. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  171. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  172. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  173. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  174. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  175. package/version.d.ts +1 -1
  176. package/version.js +1 -1
@@ -47,7 +47,10 @@ import * as CandidApi from "../../../../../../index";
47
47
  * taxId: "string",
48
48
  * npi: "string",
49
49
  * taxonomyCode: "string",
50
- * providerCommercialLicenseType: "0"
50
+ * providerCommercialLicenseType: "0",
51
+ * firstName: "string",
52
+ * lastName: "string",
53
+ * organizationName: "string"
51
54
  * },
52
55
  * renderingProvider: {
53
56
  * npi: "string",
@@ -59,7 +62,10 @@ import * as CandidApi from "../../../../../../index";
59
62
  * state: "NY",
60
63
  * zipCode: "10001",
61
64
  * zipPlusFourCode: "1234"
62
- * }
65
+ * },
66
+ * firstName: "string",
67
+ * lastName: "string",
68
+ * organizationName: "string"
63
69
  * },
64
70
  * referringProvider: {
65
71
  * npi: "string",
@@ -71,7 +77,10 @@ import * as CandidApi from "../../../../../../index";
71
77
  * state: "NY",
72
78
  * zipCode: "10001",
73
79
  * zipPlusFourCode: "1234"
74
- * }
80
+ * },
81
+ * firstName: "string",
82
+ * lastName: "string",
83
+ * organizationName: "string"
75
84
  * },
76
85
  * initialReferringProvider: {
77
86
  * npi: "string",
@@ -84,7 +93,10 @@ import * as CandidApi from "../../../../../../index";
84
93
  * zipCode: "10001",
85
94
  * zipPlusFourCode: "1234"
86
95
  * },
87
- * qualifier: "DQ"
96
+ * qualifier: "DQ",
97
+ * firstName: "string",
98
+ * lastName: "string",
99
+ * organizationName: "string"
88
100
  * },
89
101
  * supervisingProvider: {
90
102
  * npi: "string",
@@ -96,7 +108,10 @@ import * as CandidApi from "../../../../../../index";
96
108
  * state: "NY",
97
109
  * zipCode: "10001",
98
110
  * zipPlusFourCode: "1234"
99
- * }
111
+ * },
112
+ * firstName: "string",
113
+ * lastName: "string",
114
+ * organizationName: "string"
100
115
  * },
101
116
  * serviceFacility: {
102
117
  * organizationName: "string",
@@ -115,9 +130,28 @@ import * as CandidApi from "../../../../../../index";
115
130
  * insuranceCard: {
116
131
  * memberId: "string",
117
132
  * payerName: "string",
118
- * payerId: "string"
133
+ * payerId: "string",
134
+ * rxBin: "string",
135
+ * rxPcn: "string",
136
+ * imageUrlFront: "string",
137
+ * imageUrlBack: "string",
138
+ * emrPayerCrosswalk: "HEALTHIE",
139
+ * groupNumber: "string",
140
+ * planName: "string",
141
+ * planType: "09",
142
+ * insuranceType: "01",
143
+ * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
119
144
  * },
120
145
  * patientRelationshipToSubscriberCode: "01",
146
+ * dateOfBirth: "2023-01-15",
147
+ * address: {
148
+ * address1: "123 Main St",
149
+ * address2: "Apt 1",
150
+ * city: "New York",
151
+ * state: "NY",
152
+ * zipCode: "10001",
153
+ * zipPlusFourCode: "1234"
154
+ * },
121
155
  * firstName: "string",
122
156
  * lastName: "string",
123
157
  * gender: "male"
@@ -126,9 +160,28 @@ import * as CandidApi from "../../../../../../index";
126
160
  * insuranceCard: {
127
161
  * memberId: "string",
128
162
  * payerName: "string",
129
- * payerId: "string"
163
+ * payerId: "string",
164
+ * rxBin: "string",
165
+ * rxPcn: "string",
166
+ * imageUrlFront: "string",
167
+ * imageUrlBack: "string",
168
+ * emrPayerCrosswalk: "HEALTHIE",
169
+ * groupNumber: "string",
170
+ * planName: "string",
171
+ * planType: "09",
172
+ * insuranceType: "01",
173
+ * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
130
174
  * },
131
175
  * patientRelationshipToSubscriberCode: "01",
176
+ * dateOfBirth: "2023-01-15",
177
+ * address: {
178
+ * address1: "123 Main St",
179
+ * address2: "Apt 1",
180
+ * city: "New York",
181
+ * state: "NY",
182
+ * zipCode: "10001",
183
+ * zipPlusFourCode: "1234"
184
+ * },
132
185
  * firstName: "string",
133
186
  * lastName: "string",
134
187
  * gender: "male"
@@ -137,9 +190,28 @@ import * as CandidApi from "../../../../../../index";
137
190
  * insuranceCard: {
138
191
  * memberId: "string",
139
192
  * payerName: "string",
140
- * payerId: "string"
193
+ * payerId: "string",
194
+ * rxBin: "string",
195
+ * rxPcn: "string",
196
+ * imageUrlFront: "string",
197
+ * imageUrlBack: "string",
198
+ * emrPayerCrosswalk: "HEALTHIE",
199
+ * groupNumber: "string",
200
+ * planName: "string",
201
+ * planType: "09",
202
+ * insuranceType: "01",
203
+ * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
141
204
  * },
142
205
  * patientRelationshipToSubscriberCode: "01",
206
+ * dateOfBirth: "2023-01-15",
207
+ * address: {
208
+ * address1: "123 Main St",
209
+ * address2: "Apt 1",
210
+ * city: "New York",
211
+ * state: "NY",
212
+ * zipCode: "10001",
213
+ * zipPlusFourCode: "1234"
214
+ * },
143
215
  * firstName: "string",
144
216
  * lastName: "string",
145
217
  * gender: "male"
@@ -228,7 +300,9 @@ import * as CandidApi from "../../../../../../index";
228
300
  * }],
229
301
  * referralNumber: "string",
230
302
  * epsdtReferral: {
231
- * conditionIndicator1: "AV"
303
+ * conditionIndicator1: "AV",
304
+ * conditionIndicator2: "AV",
305
+ * conditionIndicator3: "AV"
232
306
  * },
233
307
  * claimSupplementalInformation: [{
234
308
  * attachmentReportTypeCode: "03",
@@ -6,103 +6,7 @@ import * as CandidApi from "../../../../../../index";
6
6
  * @example
7
7
  * {
8
8
  * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
9
- * placeOfServiceCodeAsSubmitted: "01",
10
- * benefitsAssignedToProvider: true,
11
- * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
12
- * externalId: CandidApi.EncounterExternalId("string"),
13
- * dateOfService: "2023-01-15",
14
- * tagIds: [],
15
- * clinicalNotes: [],
16
- * payToAddress: {
17
- * address1: "123 Main St",
18
- * address2: "Apt 1",
19
- * city: "New York",
20
- * state: "NY",
21
- * zipCode: "10001",
22
- * zipPlusFourCode: "1234"
23
- * },
24
- * billableStatus: "BILLABLE",
25
- * responsibleParty: "INSURANCE_PAY",
26
- * providerAcceptsAssignment: true,
27
- * synchronicity: "Synchronous",
28
- * placeOfServiceCode: "01",
29
- * appointmentType: "string",
30
- * endDateOfService: "2023-01-15",
31
- * subscriberPrimary: {
32
- * insuranceCard: {
33
- * memberId: "string",
34
- * payerName: "string",
35
- * payerId: "string"
36
- * },
37
- * patientRelationshipToSubscriberCode: "01",
38
- * firstName: "string",
39
- * lastName: "string",
40
- * gender: "male"
41
- * },
42
- * subscriberSecondary: {
43
- * insuranceCard: {
44
- * memberId: "string",
45
- * payerName: "string",
46
- * payerId: "string"
47
- * },
48
- * patientRelationshipToSubscriberCode: "01",
49
- * firstName: "string",
50
- * lastName: "string",
51
- * gender: "male"
52
- * },
53
- * subscriberTertiary: {
54
- * insuranceCard: {
55
- * memberId: "string",
56
- * payerName: "string",
57
- * payerId: "string"
58
- * },
59
- * patientRelationshipToSubscriberCode: "01",
60
- * firstName: "string",
61
- * lastName: "string",
62
- * gender: "male"
63
- * },
64
- * additionalInformation: "string",
65
- * serviceAuthorizationExceptionCode: "1",
66
- * admissionDate: "2023-01-15",
67
- * dischargeDate: "2023-01-15",
68
- * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
69
- * lastMenstrualPeriodDate: "2023-01-15",
70
- * delayReasonCode: "1",
71
- * patient: {},
72
- * patientAuthorizedRelease: true,
73
- * schemaInstances: [],
74
- * vitals: {
75
- * heightIn: 70,
76
- * weightLbs: 165,
77
- * bloodPressureSystolicMmhg: 115,
78
- * bloodPressureDiastolicMmhg: 85,
79
- * bodyTemperatureF: 98,
80
- * hemoglobinGdl: 15.1,
81
- * hematocritPct: 51.2
82
- * },
83
- * existingMedications: [],
84
- * renderingProvider: {},
85
- * serviceFacility: {
86
- * organizationName: "Test Organization",
87
- * address: {
88
- * address1: "123 Main St",
89
- * address2: "Apt 1",
90
- * city: "New York",
91
- * state: "NY",
92
- * zipCode: "10001",
93
- * zipPlusFourCode: "1234"
94
- * }
95
- * },
96
- * guarantor: {},
97
- * billingProvider: {},
98
- * supervisingProvider: {},
99
- * referringProvider: {},
100
- * initialReferringProvider: {},
101
- * referralNumber: "string",
102
- * epsdtReferral: {
103
- * conditionIndicator1: "AV"
104
- * },
105
- * claimSupplementalInformation: []
9
+ * placeOfServiceCodeAsSubmitted: "01"
106
10
  * }
107
11
  */
108
12
  export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOptional {
@@ -84,7 +84,7 @@ class V1 {
84
84
  const _response = yield core.fetcher({
85
85
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v1"),
86
86
  method: "POST",
87
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
@@ -101,7 +101,7 @@ class V2 {
101
101
  const _response = yield core.fetcher({
102
102
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/expected-network-status/v2/compute/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId))}`),
103
103
  method: "POST",
104
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
105
  contentType: "application/json",
106
106
  requestType: "json",
107
107
  body: serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
@@ -186,7 +186,7 @@ class V2 {
186
186
  const _response = yield core.fetcher({
187
187
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v2/compute"),
188
188
  method: "POST",
189
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
190
  contentType: "application/json",
191
191
  requestType: "json",
192
192
  body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
@@ -95,7 +95,7 @@ class V3 {
95
95
  const _response = yield core.fetcher({
96
96
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/exports/v3"),
97
97
  method: "GET",
98
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
101
101
  requestType: "json",
@@ -87,7 +87,7 @@ class V1 {
87
87
  const _response = yield core.fetcher({
88
88
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/external-payment-account-config/v1"),
89
89
  method: "GET",
90
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -73,7 +73,7 @@ class V3 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -128,7 +128,7 @@ class V3 {
128
128
  const _response = yield core.fetcher({
129
129
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
130
130
  method: "GET",
131
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -280,7 +280,7 @@ class V3 {
280
280
  const _response = yield core.fetcher({
281
281
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
282
282
  method: "GET",
283
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
284
  contentType: "application/json",
285
285
  queryParameters: _queryParams,
286
286
  requestType: "json",
@@ -418,7 +418,7 @@ class V3 {
418
418
  const _response = yield core.fetcher({
419
419
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/unique-dimension-values"),
420
420
  method: "GET",
421
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
421
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
422
422
  contentType: "application/json",
423
423
  queryParameters: _queryParams,
424
424
  requestType: "json",
@@ -458,7 +458,7 @@ class V3 {
458
458
  const _response = yield core.fetcher({
459
459
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
460
460
  method: "GET",
461
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
461
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
462
462
  contentType: "application/json",
463
463
  requestType: "json",
464
464
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -533,7 +533,7 @@ class V3 {
533
533
  const _response = yield core.fetcher({
534
534
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
535
535
  method: "POST",
536
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
536
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
537
537
  contentType: "application/json",
538
538
  requestType: "json",
539
539
  body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
@@ -590,7 +590,7 @@ class V3 {
590
590
  const _response = yield core.fetcher({
591
591
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
592
592
  method: "DELETE",
593
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
593
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
594
594
  contentType: "application/json",
595
595
  requestType: "json",
596
596
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -638,7 +638,7 @@ class V3 {
638
638
  const _response = yield core.fetcher({
639
639
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold/default"),
640
640
  method: "GET",
641
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
641
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
642
642
  contentType: "application/json",
643
643
  requestType: "json",
644
644
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -687,7 +687,7 @@ class V3 {
687
687
  const _response = yield core.fetcher({
688
688
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold"),
689
689
  method: "GET",
690
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
690
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
691
691
  contentType: "application/json",
692
692
  queryParameters: _queryParams,
693
693
  requestType: "json",
@@ -732,7 +732,7 @@ class V3 {
732
732
  const _response = yield core.fetcher({
733
733
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
734
734
  method: "PUT",
735
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
735
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
736
736
  contentType: "application/json",
737
737
  requestType: "json",
738
738
  body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -74,7 +74,27 @@ export declare class V1 {
74
74
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
75
75
  *
76
76
  * @example
77
- * await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
77
+ * await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
78
+ * firstName: "string",
79
+ * lastName: "string",
80
+ * externalId: "string",
81
+ * dateOfBirth: "2023-01-15",
82
+ * address: {
83
+ * address1: "123 Main St",
84
+ * address2: "Apt 1",
85
+ * city: "New York",
86
+ * state: "NY",
87
+ * zipCode: "10001",
88
+ * zipPlusFourCode: "1234"
89
+ * },
90
+ * phoneNumbers: [{
91
+ * number: "1234567890",
92
+ * type: "Home"
93
+ * }],
94
+ * phoneConsent: true,
95
+ * email: CandidApi.Email("johndoe@joincandidhealth.com"),
96
+ * emailConsent: true
97
+ * })
78
98
  */
79
99
  update(guarantorId: CandidApi.guarantor.v1.GuarantorId, request: CandidApi.guarantor.v1.GuarantorUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.guarantor.v1.Guarantor, CandidApi.guarantor.v1.update.Error>>;
80
100
  protected _getAuthorizationHeader(): Promise<string | undefined>;
@@ -94,7 +94,7 @@ class V1 {
94
94
  const _response = yield core.fetcher({
95
95
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
96
96
  method: "POST",
97
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
98
  contentType: "application/json",
99
99
  requestType: "json",
100
100
  body: serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -149,7 +149,7 @@ class V1 {
149
149
  const _response = yield core.fetcher({
150
150
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
151
151
  method: "GET",
152
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
152
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
153
153
  contentType: "application/json",
154
154
  requestType: "json",
155
155
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -181,7 +181,27 @@ class V1 {
181
181
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
182
182
  *
183
183
  * @example
184
- * await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
184
+ * await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
185
+ * firstName: "string",
186
+ * lastName: "string",
187
+ * externalId: "string",
188
+ * dateOfBirth: "2023-01-15",
189
+ * address: {
190
+ * address1: "123 Main St",
191
+ * address2: "Apt 1",
192
+ * city: "New York",
193
+ * state: "NY",
194
+ * zipCode: "10001",
195
+ * zipPlusFourCode: "1234"
196
+ * },
197
+ * phoneNumbers: [{
198
+ * number: "1234567890",
199
+ * type: "Home"
200
+ * }],
201
+ * phoneConsent: true,
202
+ * email: CandidApi.Email("johndoe@joincandidhealth.com"),
203
+ * emailConsent: true
204
+ * })
185
205
  */
186
206
  update(guarantorId, request, requestOptions) {
187
207
  return __awaiter(this, void 0, void 0, function* () {
@@ -189,7 +209,7 @@ class V1 {
189
209
  const _response = yield core.fetcher({
190
210
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
191
211
  method: "PATCH",
192
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
213
  contentType: "application/json",
194
214
  requestType: "json",
195
215
  body: serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -89,7 +89,7 @@ class V1 {
89
89
  const _response = yield core.fetcher({
90
90
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/import-invoice/v1"),
91
91
  method: "POST",
92
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
93
  contentType: "application/json",
94
94
  requestType: "json",
95
95
  body: serializers.importInvoice.v1.CreateImportInvoiceRequest.jsonOrThrow(request, {
@@ -200,7 +200,7 @@ class V1 {
200
200
  const _response = yield core.fetcher({
201
201
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/import-invoice/v1"),
202
202
  method: "GET",
203
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
204
204
  contentType: "application/json",
205
205
  queryParameters: _queryParams,
206
206
  requestType: "json",
@@ -240,7 +240,7 @@ class V1 {
240
240
  const _response = yield core.fetcher({
241
241
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
242
242
  method: "GET",
243
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
244
244
  contentType: "application/json",
245
245
  requestType: "json",
246
246
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -309,7 +309,7 @@ class V1 {
309
309
  const _response = yield core.fetcher({
310
310
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
311
311
  method: "PATCH",
312
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
312
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
313
313
  contentType: "application/json",
314
314
  requestType: "json",
315
315
  body: serializers.importInvoice.v1.ImportInvoiceUpdateRequest.jsonOrThrow(request, {
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -135,7 +135,7 @@ class V1 {
135
135
  const _response = yield core.fetcher({
136
136
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-adjudications/v1"),
137
137
  method: "POST",
138
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
139
139
  contentType: "application/json",
140
140
  requestType: "json",
141
141
  body: serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
@@ -191,7 +191,7 @@ class V1 {
191
191
  const _response = yield core.fetcher({
192
192
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
193
193
  method: "DELETE",
194
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
195
195
  contentType: "application/json",
196
196
  requestType: "json",
197
197
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -112,7 +112,7 @@ class V1 {
112
112
  const _response = yield core.fetcher({
113
113
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-payments/v1"),
114
114
  method: "GET",
115
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
115
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
116
  contentType: "application/json",
117
117
  queryParameters: _queryParams,
118
118
  requestType: "json",
@@ -168,7 +168,7 @@ class V1 {
168
168
  const _response = yield core.fetcher({
169
169
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-payments/v1/${encodeURIComponent(serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
170
170
  method: "GET",
171
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
172
  contentType: "application/json",
173
173
  requestType: "json",
174
174
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,