candidhealth 0.38.0 → 0.38.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 (184) 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 +7 -4
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +18 -12
  5. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +10 -3
  6. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +9 -2
  7. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +8 -2
  8. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +6 -1
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  11. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  12. package/api/resources/diagnoses/client/Client.js +3 -3
  13. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  14. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  15. package/api/resources/encounters/resources/v4/client/Client.js +7 -5
  16. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  17. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  18. package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
  19. package/api/resources/encounters/resources/v4/client/update.js +11 -0
  20. package/api/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +6 -0
  21. package/api/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.js +5 -0
  22. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  23. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  24. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  25. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  26. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  27. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  28. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  29. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  30. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  31. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  32. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  33. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  34. package/api/resources/medicationDispense/resources/v1/client/Client.js +2 -1
  35. package/api/resources/medicationDispense/resources/v1/client/create.d.ts +7 -1
  36. package/api/resources/medicationDispense/resources/v1/client/create.js +11 -0
  37. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  38. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  39. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  40. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  41. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  42. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  43. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  44. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  45. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  46. package/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
  47. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  48. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +3 -1
  49. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
  50. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +2 -1
  51. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -0
  52. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
  53. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
  54. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  55. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  56. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  57. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  58. package/api/resources/serviceFacility/client/Client.js +1 -1
  59. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  60. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  61. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  62. package/api/resources/x12/resources/v1/types/Rarc.d.ts +4 -1
  63. package/api/resources/x12/resources/v1/types/Rarc.js +3 -0
  64. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  65. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  66. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +7 -4
  67. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +18 -12
  68. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +10 -3
  69. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +9 -2
  70. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +8 -2
  71. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +6 -1
  72. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  73. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  74. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  75. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  76. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  77. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  78. package/dist/api/resources/encounters/resources/v4/client/Client.js +7 -5
  79. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  80. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  81. package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
  82. package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
  83. package/dist/api/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +6 -0
  84. package/dist/api/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.js +5 -0
  85. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  86. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  87. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  88. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  89. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  90. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  91. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  92. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  93. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  94. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  95. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  96. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  97. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +2 -1
  98. package/dist/api/resources/medicationDispense/resources/v1/client/create.d.ts +7 -1
  99. package/dist/api/resources/medicationDispense/resources/v1/client/create.js +11 -0
  100. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  101. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  102. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  103. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  104. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  105. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  106. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  107. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  108. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  109. package/dist/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
  110. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  111. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +3 -1
  112. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
  113. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +2 -1
  114. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -0
  115. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
  116. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
  117. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  118. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  119. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  120. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  121. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  122. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  123. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  124. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  125. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +4 -1
  126. package/dist/api/resources/x12/resources/v1/types/Rarc.js +3 -0
  127. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -2
  128. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -2
  129. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -2
  130. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -2
  131. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  132. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  133. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  134. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  135. package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
  136. package/dist/serialization/resources/encounters/resources/v4/client/update.js +6 -0
  137. package/dist/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +12 -0
  138. package/dist/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.js +33 -0
  139. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  140. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  141. package/dist/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +6 -1
  142. package/dist/serialization/resources/medicationDispense/resources/v1/client/create.js +6 -0
  143. package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
  144. package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +1 -0
  145. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
  146. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
  147. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
  148. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
  149. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
  150. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
  151. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
  152. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +2 -0
  153. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  154. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +3 -0
  155. package/package.json +1 -1
  156. package/reference.md +6 -3
  157. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -2
  158. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -2
  159. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -2
  160. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -2
  161. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  162. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  163. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  164. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  165. package/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
  166. package/serialization/resources/encounters/resources/v4/client/update.js +6 -0
  167. package/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +12 -0
  168. package/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.js +33 -0
  169. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  170. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  171. package/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +6 -1
  172. package/serialization/resources/medicationDispense/resources/v1/client/create.js +6 -0
  173. package/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
  174. package/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +1 -0
  175. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
  176. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
  177. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
  178. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
  179. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
  180. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
  181. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
  182. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +2 -0
  183. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  184. package/serialization/resources/x12/resources/v1/types/Rarc.js +3 -0
@@ -87,7 +87,7 @@ class V2 {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "candidhealth",
90
- "X-Fern-SDK-Version": "0.38.0",
90
+ "X-Fern-SDK-Version": "0.38.1",
91
91
  "X-Fern-Runtime": core.RUNTIME.type,
92
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
93
93
  },
@@ -69,7 +69,7 @@ class V2 {
69
69
  Authorization: yield this._getAuthorizationHeader(),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "candidhealth",
72
- "X-Fern-SDK-Version": "0.38.0",
72
+ "X-Fern-SDK-Version": "0.38.1",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  },
@@ -117,7 +117,7 @@ class V2 {
117
117
  Authorization: yield this._getAuthorizationHeader(),
118
118
  "X-Fern-Language": "JavaScript",
119
119
  "X-Fern-SDK-Name": "candidhealth",
120
- "X-Fern-SDK-Version": "0.38.0",
120
+ "X-Fern-SDK-Version": "0.38.1",
121
121
  "X-Fern-Runtime": core.RUNTIME.type,
122
122
  "X-Fern-Runtime-Version": core.RUNTIME.version,
123
123
  },
@@ -176,7 +176,7 @@ class V2 {
176
176
  Authorization: yield this._getAuthorizationHeader(),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "candidhealth",
179
- "X-Fern-SDK-Version": "0.38.0",
179
+ "X-Fern-SDK-Version": "0.38.1",
180
180
  "X-Fern-Runtime": core.RUNTIME.type,
181
181
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
182
  },
@@ -130,8 +130,9 @@ export declare class V1 {
130
130
  * initialReferringProvider: {},
131
131
  * referralNumber: "string"
132
132
  * },
133
- * encounterExternalId: CandidApi.EncounterExternalId("string"),
133
+ * chargeExternalId: "string",
134
134
  * ehrSourceUrl: "string",
135
+ * dateOfService: "2023-01-15",
135
136
  * patientExternalId: "string",
136
137
  * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
137
138
  * })
@@ -255,10 +256,11 @@ export declare class V1 {
255
256
  * initialReferringProvider: {},
256
257
  * referralNumber: "string"
257
258
  * },
258
- * encounterExternalId: CandidApi.EncounterExternalId("string"),
259
+ * chargeExternalId: "string",
259
260
  * ehrSourceUrl: "string",
260
261
  * patientExternalId: "string",
261
- * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
262
+ * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
263
+ * dateOfService: "2023-01-15"
262
264
  * })
263
265
  */
264
266
  update(chargeCaptureId: CandidApi.ChargeCaptureId, request?: CandidApi.chargeCapture.v1.ChargeCaptureUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapture, CandidApi.chargeCapture.v1.update.Error>>;
@@ -280,7 +282,8 @@ export declare class V1 {
280
282
  * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
281
283
  * patientExternalId: "string",
282
284
  * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
283
- * externalId: CandidApi.EncounterExternalId("string")
285
+ * chargeExternalId: "string",
286
+ * dateOfService: "2023-01-15"
284
287
  * })
285
288
  */
286
289
  getAll(request?: CandidApi.chargeCapture.v1.GetAllChargeCapturesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapturePage, CandidApi.chargeCapture.v1.getAll.Error>>;
@@ -157,8 +157,9 @@ class V1 {
157
157
  * initialReferringProvider: {},
158
158
  * referralNumber: "string"
159
159
  * },
160
- * encounterExternalId: CandidApi.EncounterExternalId("string"),
160
+ * chargeExternalId: "string",
161
161
  * ehrSourceUrl: "string",
162
+ * dateOfService: "2023-01-15",
162
163
  * patientExternalId: "string",
163
164
  * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
164
165
  * })
@@ -174,7 +175,7 @@ class V1 {
174
175
  Authorization: yield this._getAuthorizationHeader(),
175
176
  "X-Fern-Language": "JavaScript",
176
177
  "X-Fern-SDK-Name": "candidhealth",
177
- "X-Fern-SDK-Version": "0.38.0",
178
+ "X-Fern-SDK-Version": "0.38.1",
178
179
  "X-Fern-Runtime": core.RUNTIME.type,
179
180
  "X-Fern-Runtime-Version": core.RUNTIME.version,
180
181
  },
@@ -240,7 +241,7 @@ class V1 {
240
241
  Authorization: yield this._getAuthorizationHeader(),
241
242
  "X-Fern-Language": "JavaScript",
242
243
  "X-Fern-SDK-Name": "candidhealth",
243
- "X-Fern-SDK-Version": "0.38.0",
244
+ "X-Fern-SDK-Version": "0.38.1",
244
245
  "X-Fern-Runtime": core.RUNTIME.type,
245
246
  "X-Fern-Runtime-Version": core.RUNTIME.version,
246
247
  },
@@ -387,10 +388,11 @@ class V1 {
387
388
  * initialReferringProvider: {},
388
389
  * referralNumber: "string"
389
390
  * },
390
- * encounterExternalId: CandidApi.EncounterExternalId("string"),
391
+ * chargeExternalId: "string",
391
392
  * ehrSourceUrl: "string",
392
393
  * patientExternalId: "string",
393
- * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
394
+ * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
395
+ * dateOfService: "2023-01-15"
394
396
  * })
395
397
  */
396
398
  update(chargeCaptureId, request = {}, requestOptions) {
@@ -404,7 +406,7 @@ class V1 {
404
406
  Authorization: yield this._getAuthorizationHeader(),
405
407
  "X-Fern-Language": "JavaScript",
406
408
  "X-Fern-SDK-Name": "candidhealth",
407
- "X-Fern-SDK-Version": "0.38.0",
409
+ "X-Fern-SDK-Version": "0.38.1",
408
410
  "X-Fern-Runtime": core.RUNTIME.type,
409
411
  "X-Fern-Runtime-Version": core.RUNTIME.version,
410
412
  },
@@ -470,7 +472,7 @@ class V1 {
470
472
  Authorization: yield this._getAuthorizationHeader(),
471
473
  "X-Fern-Language": "JavaScript",
472
474
  "X-Fern-SDK-Name": "candidhealth",
473
- "X-Fern-SDK-Version": "0.38.0",
475
+ "X-Fern-SDK-Version": "0.38.1",
474
476
  "X-Fern-Runtime": core.RUNTIME.type,
475
477
  "X-Fern-Runtime-Version": core.RUNTIME.version,
476
478
  },
@@ -507,13 +509,14 @@ class V1 {
507
509
  * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
508
510
  * patientExternalId: "string",
509
511
  * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
510
- * externalId: CandidApi.EncounterExternalId("string")
512
+ * chargeExternalId: "string",
513
+ * dateOfService: "2023-01-15"
511
514
  * })
512
515
  */
513
516
  getAll(request = {}, requestOptions) {
514
517
  var _a;
515
518
  return __awaiter(this, void 0, void 0, function* () {
516
- const { limit, pageToken, patientExternalId, status, externalId } = request;
519
+ const { limit, pageToken, patientExternalId, status, chargeExternalId, dateOfService } = request;
517
520
  const _queryParams = {};
518
521
  if (limit != null) {
519
522
  _queryParams["limit"] = limit.toString();
@@ -527,8 +530,11 @@ class V1 {
527
530
  if (status != null) {
528
531
  _queryParams["status"] = status;
529
532
  }
530
- if (externalId != null) {
531
- _queryParams["external_id"] = externalId;
533
+ if (chargeExternalId != null) {
534
+ _queryParams["charge_external_id"] = chargeExternalId;
535
+ }
536
+ if (dateOfService != null) {
537
+ _queryParams["date_of_service"] = dateOfService;
532
538
  }
533
539
  const _response = yield core.fetcher({
534
540
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
@@ -538,7 +544,7 @@ class V1 {
538
544
  Authorization: yield this._getAuthorizationHeader(),
539
545
  "X-Fern-Language": "JavaScript",
540
546
  "X-Fern-SDK-Name": "candidhealth",
541
- "X-Fern-SDK-Version": "0.38.0",
547
+ "X-Fern-SDK-Version": "0.38.1",
542
548
  "X-Fern-Runtime": core.RUNTIME.type,
543
549
  "X-Fern-Runtime-Version": core.RUNTIME.version,
544
550
  },
@@ -108,10 +108,11 @@ import * as CandidApi from "../../../../../../index";
108
108
  * initialReferringProvider: {},
109
109
  * referralNumber: "string"
110
110
  * },
111
- * encounterExternalId: CandidApi.EncounterExternalId("string"),
111
+ * chargeExternalId: "string",
112
112
  * ehrSourceUrl: "string",
113
113
  * patientExternalId: "string",
114
- * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
114
+ * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
115
+ * dateOfService: "2023-01-15"
115
116
  * }
116
117
  */
117
118
  export interface ChargeCaptureUpdate {
@@ -122,7 +123,7 @@ export interface ChargeCaptureUpdate {
122
123
  * This field should not contain PHI.
123
124
  *
124
125
  */
125
- encounterExternalId?: CandidApi.EncounterExternalId;
126
+ chargeExternalId?: string;
126
127
  /**
127
128
  * External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page).
128
129
  * Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
@@ -133,4 +134,10 @@ export interface ChargeCaptureUpdate {
133
134
  patientExternalId?: string;
134
135
  /** the status of the charge capture */
135
136
  status?: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
137
+ /**
138
+ * Date formatted as YYYY-MM-DD; eg: 2019-08-24.
139
+ * This date must be the local date in the timezone where the service occurred.
140
+ *
141
+ */
142
+ dateOfService?: string;
136
143
  }
@@ -108,8 +108,9 @@ import * as CandidApi from "../../../../../../index";
108
108
  * initialReferringProvider: {},
109
109
  * referralNumber: "string"
110
110
  * },
111
- * encounterExternalId: CandidApi.EncounterExternalId("string"),
111
+ * chargeExternalId: "string",
112
112
  * ehrSourceUrl: "string",
113
+ * dateOfService: "2023-01-15",
113
114
  * patientExternalId: "string",
114
115
  * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
115
116
  * }
@@ -124,12 +125,18 @@ export interface CreateChargeCaptureRequest {
124
125
  * A client-specified unique ID to associate with this encounter; for example, your internal encounter ID or a Dr. Chrono encounter ID. This field should not contain PHI.
125
126
  *
126
127
  */
127
- encounterExternalId: CandidApi.EncounterExternalId;
128
+ chargeExternalId: string;
128
129
  /**
129
130
  * External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page). Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
130
131
  *
131
132
  */
132
133
  ehrSourceUrl?: string;
134
+ /**
135
+ * Date formatted as YYYY-MM-DD; eg: 2019-08-24.
136
+ * This date must be the local date in the timezone where the service occurred.
137
+ *
138
+ */
139
+ dateOfService?: string;
133
140
  /** The patient ID from the external EMR platform for the patient */
134
141
  patientExternalId: string;
135
142
  /** the status of the charge capture */
@@ -9,7 +9,8 @@ import * as CandidApi from "../../../../../../index";
9
9
  * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
10
10
  * patientExternalId: "string",
11
11
  * status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
12
- * externalId: CandidApi.EncounterExternalId("string")
12
+ * chargeExternalId: "string",
13
+ * dateOfService: "2023-01-15"
13
14
  * }
14
15
  */
15
16
  export interface GetAllChargeCapturesRequest {
@@ -31,5 +32,10 @@ export interface GetAllChargeCapturesRequest {
31
32
  * for example, your internal encounter ID or a Dr. Chrono encounter ID.
32
33
  * This field should not contain PHI.
33
34
  */
34
- externalId?: CandidApi.EncounterExternalId;
35
+ chargeExternalId?: string;
36
+ /**
37
+ * Date formatted as YYYY-MM-DD; eg: 2019-08-24.
38
+ * This date must be the local date in the timezone where the service occurred.
39
+ */
40
+ dateOfService?: string;
35
41
  }
@@ -7,6 +7,11 @@ export interface ChargeCapture {
7
7
  status: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
8
8
  chargeCaptureData: CandidApi.chargeCapture.v1.ChargeCaptureData;
9
9
  patientExternalId: CandidApi.PatientExternalId;
10
- encounterExternalId: CandidApi.EncounterExternalId;
10
+ chargeExternalId: string;
11
11
  ehrSourceUrl?: string;
12
+ /**
13
+ * Date formatted as YYYY-MM-DD; eg: 2019-08-24.
14
+ * This date must be the local date in the timezone where the service occurred.
15
+ */
16
+ dateOfService?: string;
12
17
  }
@@ -66,7 +66,7 @@ class V2 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.38.0",
69
+ "X-Fern-SDK-Version": "0.38.1",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -171,7 +171,7 @@ class V2 {
171
171
  Authorization: yield this._getAuthorizationHeader(),
172
172
  "X-Fern-Language": "JavaScript",
173
173
  "X-Fern-SDK-Name": "candidhealth",
174
- "X-Fern-SDK-Version": "0.38.0",
174
+ "X-Fern-SDK-Version": "0.38.1",
175
175
  "X-Fern-Runtime": core.RUNTIME.type,
176
176
  "X-Fern-Runtime-Version": core.RUNTIME.version,
177
177
  },
@@ -246,7 +246,7 @@ class V2 {
246
246
  Authorization: yield this._getAuthorizationHeader(),
247
247
  "X-Fern-Language": "JavaScript",
248
248
  "X-Fern-SDK-Name": "candidhealth",
249
- "X-Fern-SDK-Version": "0.38.0",
249
+ "X-Fern-SDK-Version": "0.38.1",
250
250
  "X-Fern-Runtime": core.RUNTIME.type,
251
251
  "X-Fern-Runtime-Version": core.RUNTIME.version,
252
252
  },
@@ -292,7 +292,7 @@ class V2 {
292
292
  Authorization: yield this._getAuthorizationHeader(),
293
293
  "X-Fern-Language": "JavaScript",
294
294
  "X-Fern-SDK-Name": "candidhealth",
295
- "X-Fern-SDK-Version": "0.38.0",
295
+ "X-Fern-SDK-Version": "0.38.1",
296
296
  "X-Fern-Runtime": core.RUNTIME.type,
297
297
  "X-Fern-Runtime-Version": core.RUNTIME.version,
298
298
  },
@@ -380,7 +380,7 @@ class V2 {
380
380
  Authorization: yield this._getAuthorizationHeader(),
381
381
  "X-Fern-Language": "JavaScript",
382
382
  "X-Fern-SDK-Name": "candidhealth",
383
- "X-Fern-SDK-Version": "0.38.0",
383
+ "X-Fern-SDK-Version": "0.38.1",
384
384
  "X-Fern-Runtime": core.RUNTIME.type,
385
385
  "X-Fern-Runtime-Version": core.RUNTIME.version,
386
386
  },
@@ -78,7 +78,7 @@ class V2 {
78
78
  Authorization: yield this._getAuthorizationHeader(),
79
79
  "X-Fern-Language": "JavaScript",
80
80
  "X-Fern-SDK-Name": "candidhealth",
81
- "X-Fern-SDK-Version": "0.38.0",
81
+ "X-Fern-SDK-Version": "0.38.1",
82
82
  "X-Fern-Runtime": core.RUNTIME.type,
83
83
  "X-Fern-Runtime-Version": core.RUNTIME.version,
84
84
  },
@@ -141,7 +141,7 @@ class V2 {
141
141
  Authorization: yield this._getAuthorizationHeader(),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "candidhealth",
144
- "X-Fern-SDK-Version": "0.38.0",
144
+ "X-Fern-SDK-Version": "0.38.1",
145
145
  "X-Fern-Runtime": core.RUNTIME.type,
146
146
  "X-Fern-Runtime-Version": core.RUNTIME.version,
147
147
  },
@@ -228,7 +228,7 @@ class V2 {
228
228
  Authorization: yield this._getAuthorizationHeader(),
229
229
  "X-Fern-Language": "JavaScript",
230
230
  "X-Fern-SDK-Name": "candidhealth",
231
- "X-Fern-SDK-Version": "0.38.0",
231
+ "X-Fern-SDK-Version": "0.38.1",
232
232
  "X-Fern-Runtime": core.RUNTIME.type,
233
233
  "X-Fern-Runtime-Version": core.RUNTIME.version,
234
234
  },
@@ -291,7 +291,7 @@ class V2 {
291
291
  Authorization: yield this._getAuthorizationHeader(),
292
292
  "X-Fern-Language": "JavaScript",
293
293
  "X-Fern-SDK-Name": "candidhealth",
294
- "X-Fern-SDK-Version": "0.38.0",
294
+ "X-Fern-SDK-Version": "0.38.1",
295
295
  "X-Fern-Runtime": core.RUNTIME.type,
296
296
  "X-Fern-Runtime-Version": core.RUNTIME.version,
297
297
  },
@@ -358,7 +358,7 @@ class V2 {
358
358
  Authorization: yield this._getAuthorizationHeader(),
359
359
  "X-Fern-Language": "JavaScript",
360
360
  "X-Fern-SDK-Name": "candidhealth",
361
- "X-Fern-SDK-Version": "0.38.0",
361
+ "X-Fern-SDK-Version": "0.38.1",
362
362
  "X-Fern-Runtime": core.RUNTIME.type,
363
363
  "X-Fern-Runtime-Version": core.RUNTIME.version,
364
364
  },
@@ -67,7 +67,7 @@ class V1 {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "candidhealth",
70
- "X-Fern-SDK-Version": "0.38.0",
70
+ "X-Fern-SDK-Version": "0.38.1",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -128,7 +128,7 @@ class V1 {
128
128
  Authorization: yield this._getAuthorizationHeader(),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "candidhealth",
131
- "X-Fern-SDK-Version": "0.38.0",
131
+ "X-Fern-SDK-Version": "0.38.1",
132
132
  "X-Fern-Runtime": core.RUNTIME.type,
133
133
  "X-Fern-Runtime-Version": core.RUNTIME.version,
134
134
  },
@@ -207,7 +207,7 @@ class V1 {
207
207
  Authorization: yield this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.38.0",
210
+ "X-Fern-SDK-Version": "0.38.1",
211
211
  "X-Fern-Runtime": core.RUNTIME.type,
212
212
  "X-Fern-Runtime-Version": core.RUNTIME.version,
213
213
  },
@@ -277,7 +277,7 @@ class V1 {
277
277
  Authorization: yield this._getAuthorizationHeader(),
278
278
  "X-Fern-Language": "JavaScript",
279
279
  "X-Fern-SDK-Name": "candidhealth",
280
- "X-Fern-SDK-Version": "0.38.0",
280
+ "X-Fern-SDK-Version": "0.38.1",
281
281
  "X-Fern-Runtime": core.RUNTIME.type,
282
282
  "X-Fern-Runtime-Version": core.RUNTIME.version,
283
283
  },
@@ -73,7 +73,7 @@ class Diagnoses {
73
73
  Authorization: yield this._getAuthorizationHeader(),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "candidhealth",
76
- "X-Fern-SDK-Version": "0.38.0",
76
+ "X-Fern-SDK-Version": "0.38.1",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -126,7 +126,7 @@ class Diagnoses {
126
126
  Authorization: yield this._getAuthorizationHeader(),
127
127
  "X-Fern-Language": "JavaScript",
128
128
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.38.0",
129
+ "X-Fern-SDK-Version": "0.38.1",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -188,7 +188,7 @@ class Diagnoses {
188
188
  Authorization: yield this._getAuthorizationHeader(),
189
189
  "X-Fern-Language": "JavaScript",
190
190
  "X-Fern-SDK-Name": "candidhealth",
191
- "X-Fern-SDK-Version": "0.38.0",
191
+ "X-Fern-SDK-Version": "0.38.1",
192
192
  "X-Fern-Runtime": core.RUNTIME.type,
193
193
  "X-Fern-Runtime-Version": core.RUNTIME.version,
194
194
  },
@@ -83,7 +83,7 @@ class V2 {
83
83
  Authorization: yield this._getAuthorizationHeader(),
84
84
  "X-Fern-Language": "JavaScript",
85
85
  "X-Fern-SDK-Name": "candidhealth",
86
- "X-Fern-SDK-Version": "0.38.0",
86
+ "X-Fern-SDK-Version": "0.38.1",
87
87
  "X-Fern-Runtime": core.RUNTIME.type,
88
88
  "X-Fern-Runtime-Version": core.RUNTIME.version,
89
89
  },
@@ -156,7 +156,7 @@ class V2 {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "candidhealth",
159
- "X-Fern-SDK-Version": "0.38.0",
159
+ "X-Fern-SDK-Version": "0.38.1",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V2 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.38.0",
230
+ "X-Fern-SDK-Version": "0.38.1",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -67,7 +67,7 @@ class V2 {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "candidhealth",
70
- "X-Fern-SDK-Version": "0.38.0",
70
+ "X-Fern-SDK-Version": "0.38.1",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -131,7 +131,7 @@ class V2 {
131
131
  Authorization: yield this._getAuthorizationHeader(),
132
132
  "X-Fern-Language": "JavaScript",
133
133
  "X-Fern-SDK-Name": "candidhealth",
134
- "X-Fern-SDK-Version": "0.38.0",
134
+ "X-Fern-SDK-Version": "0.38.1",
135
135
  "X-Fern-Runtime": core.RUNTIME.type,
136
136
  "X-Fern-Runtime-Version": core.RUNTIME.version,
137
137
  },
@@ -196,7 +196,7 @@ class V2 {
196
196
  Authorization: yield this._getAuthorizationHeader(),
197
197
  "X-Fern-Language": "JavaScript",
198
198
  "X-Fern-SDK-Name": "candidhealth",
199
- "X-Fern-SDK-Version": "0.38.0",
199
+ "X-Fern-SDK-Version": "0.38.1",
200
200
  "X-Fern-Runtime": core.RUNTIME.type,
201
201
  "X-Fern-Runtime-Version": core.RUNTIME.version,
202
202
  },
@@ -272,7 +272,7 @@ class V2 {
272
272
  Authorization: yield this._getAuthorizationHeader(),
273
273
  "X-Fern-Language": "JavaScript",
274
274
  "X-Fern-SDK-Name": "candidhealth",
275
- "X-Fern-SDK-Version": "0.38.0",
275
+ "X-Fern-SDK-Version": "0.38.1",
276
276
  "X-Fern-Runtime": core.RUNTIME.type,
277
277
  "X-Fern-Runtime-Version": core.RUNTIME.version,
278
278
  },
@@ -347,7 +347,7 @@ class V2 {
347
347
  Authorization: yield this._getAuthorizationHeader(),
348
348
  "X-Fern-Language": "JavaScript",
349
349
  "X-Fern-SDK-Name": "candidhealth",
350
- "X-Fern-SDK-Version": "0.38.0",
350
+ "X-Fern-SDK-Version": "0.38.1",
351
351
  "X-Fern-Runtime": core.RUNTIME.type,
352
352
  "X-Fern-Runtime-Version": core.RUNTIME.version,
353
353
  },
@@ -424,7 +424,7 @@ class V2 {
424
424
  Authorization: yield this._getAuthorizationHeader(),
425
425
  "X-Fern-Language": "JavaScript",
426
426
  "X-Fern-SDK-Name": "candidhealth",
427
- "X-Fern-SDK-Version": "0.38.0",
427
+ "X-Fern-SDK-Version": "0.38.1",
428
428
  "X-Fern-Runtime": core.RUNTIME.type,
429
429
  "X-Fern-Runtime-Version": core.RUNTIME.version,
430
430
  },
@@ -502,7 +502,7 @@ class V2 {
502
502
  Authorization: yield this._getAuthorizationHeader(),
503
503
  "X-Fern-Language": "JavaScript",
504
504
  "X-Fern-SDK-Name": "candidhealth",
505
- "X-Fern-SDK-Version": "0.38.0",
505
+ "X-Fern-SDK-Version": "0.38.1",
506
506
  "X-Fern-Runtime": core.RUNTIME.type,
507
507
  "X-Fern-Runtime-Version": core.RUNTIME.version,
508
508
  },
@@ -579,7 +579,7 @@ class V2 {
579
579
  Authorization: yield this._getAuthorizationHeader(),
580
580
  "X-Fern-Language": "JavaScript",
581
581
  "X-Fern-SDK-Name": "candidhealth",
582
- "X-Fern-SDK-Version": "0.38.0",
582
+ "X-Fern-SDK-Version": "0.38.1",
583
583
  "X-Fern-Runtime": core.RUNTIME.type,
584
584
  "X-Fern-Runtime-Version": core.RUNTIME.version,
585
585
  },
@@ -643,7 +643,7 @@ class V2 {
643
643
  Authorization: yield this._getAuthorizationHeader(),
644
644
  "X-Fern-Language": "JavaScript",
645
645
  "X-Fern-SDK-Name": "candidhealth",
646
- "X-Fern-SDK-Version": "0.38.0",
646
+ "X-Fern-SDK-Version": "0.38.1",
647
647
  "X-Fern-Runtime": core.RUNTIME.type,
648
648
  "X-Fern-Runtime-Version": core.RUNTIME.version,
649
649
  },
@@ -698,7 +698,7 @@ class V2 {
698
698
  Authorization: yield this._getAuthorizationHeader(),
699
699
  "X-Fern-Language": "JavaScript",
700
700
  "X-Fern-SDK-Name": "candidhealth",
701
- "X-Fern-SDK-Version": "0.38.0",
701
+ "X-Fern-SDK-Version": "0.38.1",
702
702
  "X-Fern-Runtime": core.RUNTIME.type,
703
703
  "X-Fern-Runtime-Version": core.RUNTIME.version,
704
704
  },
@@ -753,7 +753,7 @@ class V2 {
753
753
  Authorization: yield this._getAuthorizationHeader(),
754
754
  "X-Fern-Language": "JavaScript",
755
755
  "X-Fern-SDK-Name": "candidhealth",
756
- "X-Fern-SDK-Version": "0.38.0",
756
+ "X-Fern-SDK-Version": "0.38.1",
757
757
  "X-Fern-Runtime": core.RUNTIME.type,
758
758
  "X-Fern-Runtime-Version": core.RUNTIME.version,
759
759
  },
@@ -808,7 +808,7 @@ class V2 {
808
808
  Authorization: yield this._getAuthorizationHeader(),
809
809
  "X-Fern-Language": "JavaScript",
810
810
  "X-Fern-SDK-Name": "candidhealth",
811
- "X-Fern-SDK-Version": "0.38.0",
811
+ "X-Fern-SDK-Version": "0.38.1",
812
812
  "X-Fern-Runtime": core.RUNTIME.type,
813
813
  "X-Fern-Runtime-Version": core.RUNTIME.version,
814
814
  },
@@ -132,7 +132,7 @@ class V4 {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "candidhealth",
135
- "X-Fern-SDK-Version": "0.38.0",
135
+ "X-Fern-SDK-Version": "0.38.1",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -178,7 +178,7 @@ class V4 {
178
178
  Authorization: yield this._getAuthorizationHeader(),
179
179
  "X-Fern-Language": "JavaScript",
180
180
  "X-Fern-SDK-Name": "candidhealth",
181
- "X-Fern-SDK-Version": "0.38.0",
181
+ "X-Fern-SDK-Version": "0.38.1",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -528,7 +528,7 @@ class V4 {
528
528
  Authorization: yield this._getAuthorizationHeader(),
529
529
  "X-Fern-Language": "JavaScript",
530
530
  "X-Fern-SDK-Name": "candidhealth",
531
- "X-Fern-SDK-Version": "0.38.0",
531
+ "X-Fern-SDK-Version": "0.38.1",
532
532
  "X-Fern-Runtime": core.RUNTIME.type,
533
533
  "X-Fern-Runtime-Version": core.RUNTIME.version,
534
534
  },
@@ -559,6 +559,7 @@ class V4 {
559
559
  case "HttpRequestValidationsError":
560
560
  case "CashPayPayerError":
561
561
  case "SchemaInstanceValidationHttpFailure":
562
+ case "InvalidTagNamesError":
562
563
  return {
563
564
  ok: false,
564
565
  error: serializers.encounters.v4.create.Error.parseOrThrow(_response.error.body, {
@@ -834,7 +835,7 @@ class V4 {
834
835
  Authorization: yield this._getAuthorizationHeader(),
835
836
  "X-Fern-Language": "JavaScript",
836
837
  "X-Fern-SDK-Name": "candidhealth",
837
- "X-Fern-SDK-Version": "0.38.0",
838
+ "X-Fern-SDK-Version": "0.38.1",
838
839
  "X-Fern-Runtime": core.RUNTIME.type,
839
840
  "X-Fern-Runtime-Version": core.RUNTIME.version,
840
841
  },
@@ -985,7 +986,7 @@ class V4 {
985
986
  Authorization: yield this._getAuthorizationHeader(),
986
987
  "X-Fern-Language": "JavaScript",
987
988
  "X-Fern-SDK-Name": "candidhealth",
988
- "X-Fern-SDK-Version": "0.38.0",
989
+ "X-Fern-SDK-Version": "0.38.1",
989
990
  "X-Fern-Runtime": core.RUNTIME.type,
990
991
  "X-Fern-Runtime-Version": core.RUNTIME.version,
991
992
  },
@@ -1015,6 +1016,7 @@ class V4 {
1015
1016
  case "HttpRequestValidationsError":
1016
1017
  case "SchemaInstanceValidationHttpFailure":
1017
1018
  case "UnprocessableEntityError":
1019
+ case "InvalidTagNamesError":
1018
1020
  return {
1019
1021
  ok: false,
1020
1022
  error: serializers.encounters.v4.update.Error.parseOrThrow(_response.error.body, {