candidhealth 0.40.4 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +11 -0
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +63 -5
  5. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  6. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
  7. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +17 -0
  8. package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  9. package/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts +34 -0
  10. package/{serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.js → api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js} +37 -29
  11. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  12. package/api/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts → chargeCapture/resources/v1/types/ChargeCaptureError.d.ts} +1 -1
  13. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  14. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +7 -35
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +1 -7
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/get.js +0 -11
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +1 -7
  19. package/api/resources/chargeCaptureBundles/resources/v1/client/getAll.js +0 -11
  20. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -1
  21. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +0 -1
  22. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +0 -1
  23. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  24. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  25. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  26. package/api/resources/diagnoses/client/Client.js +3 -3
  27. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  28. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  29. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  30. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  31. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  32. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  33. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  34. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  35. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  36. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  37. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  38. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  39. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  40. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  41. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  42. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  43. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  44. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  45. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  46. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  47. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  48. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  49. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  50. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  51. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  52. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  53. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  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 +11 -11
  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/commons/types/TaskCategory.d.ts +2 -1
  61. package/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  62. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  63. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  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 +11 -0
  67. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +63 -5
  68. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  69. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
  70. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +17 -0
  71. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +5 -0
  72. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  73. package/dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts +34 -0
  74. package/{serialization/resources/chargeCaptureBundles/resources/v1/client/get.js → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js} +37 -29
  75. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  76. package/dist/api/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts → chargeCapture/resources/v1/types/ChargeCaptureError.d.ts} +1 -1
  77. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +5 -0
  78. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  79. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  80. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +7 -35
  81. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +1 -7
  82. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/get.js +0 -11
  83. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +1 -7
  84. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getAll.js +0 -11
  85. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -1
  86. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +0 -1
  87. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +0 -1
  88. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  89. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  90. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  91. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  92. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  93. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  94. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  95. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  96. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  97. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  98. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  99. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  100. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  101. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  102. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  103. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  104. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  105. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  106. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  107. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  108. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  109. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  110. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  111. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  112. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  113. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  114. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  115. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  116. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  117. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  118. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  119. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  120. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  121. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  122. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  123. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  124. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  125. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
  126. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  127. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  128. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  129. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  130. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
  131. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +12 -0
  132. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +43 -0
  133. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  134. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
  135. package/dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts +20 -0
  136. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/client/get.js → chargeCapture/resources/v1/client/updatePostBilledChange.js} +11 -5
  137. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  138. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  139. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts → chargeCapture/resources/v1/types/ChargeCaptureError.d.ts} +2 -2
  140. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js → dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js} +2 -2
  141. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  142. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  143. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -2
  144. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -3
  145. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +2 -2
  146. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +2 -2
  147. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +0 -1
  148. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +0 -1
  149. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
  150. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  151. package/dist/version.d.ts +1 -1
  152. package/dist/version.js +1 -1
  153. package/package.json +1 -1
  154. package/reference.md +61 -0
  155. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  156. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
  157. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +12 -0
  158. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +43 -0
  159. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  160. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
  161. package/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts +20 -0
  162. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.js → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js} +11 -5
  163. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  164. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  165. package/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts → chargeCapture/resources/v1/types/ChargeCaptureError.d.ts} +2 -2
  166. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js → serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js} +2 -2
  167. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  168. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  169. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -2
  170. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -3
  171. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +2 -2
  172. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +2 -2
  173. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +0 -1
  174. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +0 -1
  175. package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
  176. package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  177. package/version.d.ts +1 -1
  178. package/version.js +1 -1
  179. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +0 -15
  180. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +0 -15
  181. package/serialization/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +0 -15
  182. package/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +0 -15
  183. /package/api/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.js → chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js} +0 -0
  184. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js → api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js} +0 -0
@@ -127,7 +127,7 @@ class V1 {
127
127
  const _response = yield core.fetcher({
128
128
  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/write-offs/v1"),
129
129
  method: "GET",
130
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
131
  contentType: "application/json",
132
132
  queryParameters: _queryParams,
133
133
  requestType: "json",
@@ -167,7 +167,7 @@ class V1 {
167
167
  const _response = yield core.fetcher({
168
168
  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/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
169
169
  method: "GET",
170
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
170
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
171
  contentType: "application/json",
172
172
  requestType: "json",
173
173
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -216,7 +216,7 @@ class V1 {
216
216
  const _response = yield core.fetcher({
217
217
  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/write-offs/v1"),
218
218
  method: "POST",
219
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
219
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
220
220
  contentType: "application/json",
221
221
  requestType: "json",
222
222
  body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -258,7 +258,7 @@ class V1 {
258
258
  const _response = yield core.fetcher({
259
259
  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/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
260
260
  method: "POST",
261
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -297,7 +297,7 @@ class V1 {
297
297
  const _response = yield core.fetcher({
298
298
  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/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
299
299
  method: "POST",
300
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
300
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
301
301
  contentType: "application/json",
302
302
  requestType: "json",
303
303
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -336,7 +336,7 @@ class V1 {
336
336
  const _response = yield core.fetcher({
337
337
  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/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
338
338
  method: "POST",
339
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
339
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
340
340
  contentType: "application/json",
341
341
  requestType: "json",
342
342
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1,4 +1,5 @@
1
1
  export * as create from "./create";
2
2
  export * as delete from "./delete";
3
3
  export * as update from "./update";
4
+ export * as updatePostBilledChange from "./updatePostBilledChange";
4
5
  export * from "./requests";
@@ -36,8 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.update = exports.delete = exports.create = void 0;
39
+ exports.updatePostBilledChange = exports.update = exports.delete = exports.create = void 0;
40
40
  exports.create = __importStar(require("./create"));
41
41
  exports.delete = __importStar(require("./delete"));
42
42
  exports.update = __importStar(require("./update"));
43
+ exports.updatePostBilledChange = __importStar(require("./updatePostBilledChange"));
43
44
  __exportStar(require("./requests"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ export declare const ChargeCapturePostBilledChangeUpdate: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate>;
8
+ export declare namespace ChargeCapturePostBilledChangeUpdate {
9
+ interface Raw {
10
+ resolved: boolean;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ChargeCapturePostBilledChangeUpdate = void 0;
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ exports.ChargeCapturePostBilledChangeUpdate = core.serialization.object({
42
+ resolved: core.serialization.boolean(),
43
+ });
@@ -1,2 +1,3 @@
1
1
  export { CreateChargeCaptureRequest } from "./CreateChargeCaptureRequest";
2
2
  export { ChargeCaptureUpdate } from "./ChargeCaptureUpdate";
3
+ export { ChargeCapturePostBilledChangeUpdate } from "./ChargeCapturePostBilledChangeUpdate";
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChargeCaptureUpdate = exports.CreateChargeCaptureRequest = void 0;
3
+ exports.ChargeCapturePostBilledChangeUpdate = exports.ChargeCaptureUpdate = exports.CreateChargeCaptureRequest = void 0;
4
4
  var CreateChargeCaptureRequest_1 = require("./CreateChargeCaptureRequest");
5
5
  Object.defineProperty(exports, "CreateChargeCaptureRequest", { enumerable: true, get: function () { return CreateChargeCaptureRequest_1.CreateChargeCaptureRequest; } });
6
6
  var ChargeCaptureUpdate_1 = require("./ChargeCaptureUpdate");
7
7
  Object.defineProperty(exports, "ChargeCaptureUpdate", { enumerable: true, get: function () { return ChargeCaptureUpdate_1.ChargeCaptureUpdate; } });
8
+ var ChargeCapturePostBilledChangeUpdate_1 = require("./ChargeCapturePostBilledChangeUpdate");
9
+ Object.defineProperty(exports, "ChargeCapturePostBilledChangeUpdate", { enumerable: true, get: function () { return ChargeCapturePostBilledChangeUpdate_1.ChargeCapturePostBilledChangeUpdate; } });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChange.Error.Raw, CandidApi.chargeCapture.v1.updatePostBilledChange.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface UnauthorizedError {
17
+ errorName: "UnauthorizedError";
18
+ content: UnauthorizedErrorMessage.Raw;
19
+ }
20
+ }
@@ -50,18 +50,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
50
50
  exports.Error = void 0;
51
51
  const CandidApi = __importStar(require("../../../../../../api/index"));
52
52
  const core = __importStar(require("../../../../../../core"));
53
- const NotImplementedErrorMessage_1 = require("../../../../commons/types/NotImplementedErrorMessage");
53
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
54
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
54
55
  exports.Error = core.serialization
55
56
  .union("errorName", {
56
- NotImplementedError: core.serialization.object({
57
- content: NotImplementedErrorMessage_1.NotImplementedErrorMessage,
57
+ EntityNotFoundError: core.serialization.object({
58
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
59
+ }),
60
+ UnauthorizedError: core.serialization.object({
61
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
58
62
  }),
59
63
  })
60
64
  .transform({
61
65
  transform: (value) => {
62
66
  switch (value.errorName) {
63
- case "NotImplementedError":
64
- return CandidApi.chargeCaptureBundles.v1.get.Error.notImplementedError(value.content);
67
+ case "EntityNotFoundError":
68
+ return CandidApi.chargeCapture.v1.updatePostBilledChange.Error.entityNotFoundError(value.content);
69
+ case "UnauthorizedError":
70
+ return CandidApi.chargeCapture.v1.updatePostBilledChange.Error.unauthorizedError(value.content);
65
71
  }
66
72
  },
67
73
  untransform: (_a) => {
@@ -8,6 +8,7 @@ import { ChargeCaptureId } from "../../../../commons/types/ChargeCaptureId";
8
8
  import { ChargeCaptureStatus } from "./ChargeCaptureStatus";
9
9
  import { ChargeCaptureData } from "./ChargeCaptureData";
10
10
  import { PatientExternalId } from "../../../../commons/types/PatientExternalId";
11
+ import { ChargeCaptureError } from "./ChargeCaptureError";
11
12
  import { ChargeCapturePostBilledChange } from "./ChargeCapturePostBilledChange";
12
13
  export declare const ChargeCapture: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapture.Raw, CandidApi.chargeCapture.v1.ChargeCapture>;
13
14
  export declare namespace ChargeCapture {
@@ -19,6 +20,7 @@ export declare namespace ChargeCapture {
19
20
  charge_external_id: string;
20
21
  ehr_source_url?: string | null;
21
22
  date_of_service?: string | null;
23
+ error?: ChargeCaptureError.Raw | null;
22
24
  updates: ChargeCapturePostBilledChange.Raw[];
23
25
  }
24
26
  }
@@ -42,6 +42,7 @@ const ChargeCaptureId_1 = require("../../../../commons/types/ChargeCaptureId");
42
42
  const ChargeCaptureStatus_1 = require("./ChargeCaptureStatus");
43
43
  const ChargeCaptureData_1 = require("./ChargeCaptureData");
44
44
  const PatientExternalId_1 = require("../../../../commons/types/PatientExternalId");
45
+ const ChargeCaptureError_1 = require("./ChargeCaptureError");
45
46
  const ChargeCapturePostBilledChange_1 = require("./ChargeCapturePostBilledChange");
46
47
  exports.ChargeCapture = core.serialization.object({
47
48
  id: ChargeCaptureId_1.ChargeCaptureId,
@@ -51,5 +52,6 @@ exports.ChargeCapture = core.serialization.object({
51
52
  chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
52
53
  ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
53
54
  dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
55
+ error: ChargeCaptureError_1.ChargeCaptureError.optional(),
54
56
  updates: core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange),
55
57
  });
@@ -6,8 +6,8 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { ChargeCaptureId } from "../../../../commons/types/ChargeCaptureId";
8
8
  import { ChargeCaptureBundleId } from "../../../../commons/types/ChargeCaptureBundleId";
9
- export declare const ChargeBundleError: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeBundleError.Raw, CandidApi.chargeCaptureBundles.v1.ChargeBundleError>;
10
- export declare namespace ChargeBundleError {
9
+ export declare const ChargeCaptureError: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCaptureError.Raw, CandidApi.chargeCapture.v1.ChargeCaptureError>;
10
+ export declare namespace ChargeCaptureError {
11
11
  interface Raw {
12
12
  id: string;
13
13
  charge_capture_id?: ChargeCaptureId.Raw | null;
@@ -36,11 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ChargeBundleError = void 0;
39
+ exports.ChargeCaptureError = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const ChargeCaptureId_1 = require("../../../../commons/types/ChargeCaptureId");
42
42
  const ChargeCaptureBundleId_1 = require("../../../../commons/types/ChargeCaptureBundleId");
43
- exports.ChargeBundleError = core.serialization.object({
43
+ exports.ChargeCaptureError = core.serialization.object({
44
44
  id: core.serialization.string(),
45
45
  chargeCaptureId: core.serialization.property("charge_capture_id", ChargeCaptureId_1.ChargeCaptureId.optional()),
46
46
  message: core.serialization.string(),
@@ -1,6 +1,7 @@
1
1
  export * from "./ChargeCapturePage";
2
2
  export * from "./ChargeCapture";
3
3
  export * from "./ChargeCaptureData";
4
+ export * from "./ChargeCaptureError";
4
5
  export * from "./ChargeCaptureSortField";
5
6
  export * from "./ChargeCaptureStatus";
6
7
  export * from "./ChargeCapturePostBilledChange";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ChargeCapturePage"), exports);
18
18
  __exportStar(require("./ChargeCapture"), exports);
19
19
  __exportStar(require("./ChargeCaptureData"), exports);
20
+ __exportStar(require("./ChargeCaptureError"), exports);
20
21
  __exportStar(require("./ChargeCaptureSortField"), exports);
21
22
  __exportStar(require("./ChargeCaptureStatus"), exports);
22
23
  __exportStar(require("./ChargeCapturePostBilledChange"), exports);
@@ -1,3 +1 @@
1
- export * as get from "./get";
2
1
  export * as resubmit from "./resubmit";
3
- export * as getAll from "./getAll";
@@ -33,7 +33,5 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.getAll = exports.resubmit = exports.get = void 0;
37
- exports.get = __importStar(require("./get"));
36
+ exports.resubmit = void 0;
38
37
  exports.resubmit = __importStar(require("./resubmit"));
39
- exports.getAll = __importStar(require("./getAll"));
@@ -8,7 +8,7 @@ import { ChargeCaptureBundleId } from "../../../../commons/types/ChargeCaptureBu
8
8
  import { EncounterId } from "../../../../commons/types/EncounterId";
9
9
  import { ChargeCaptureBundleStatus } from "./ChargeCaptureBundleStatus";
10
10
  import { ChargeCapture } from "../../../../chargeCapture/resources/v1/types/ChargeCapture";
11
- import { ChargeBundleError } from "./ChargeBundleError";
11
+ import { ChargeCaptureError } from "../../../../chargeCapture/resources/v1/types/ChargeCaptureError";
12
12
  export declare const ChargeCaptureBundle: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundle.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundle>;
13
13
  export declare namespace ChargeCaptureBundle {
14
14
  interface Raw {
@@ -16,6 +16,6 @@ export declare namespace ChargeCaptureBundle {
16
16
  created_encounter_id?: EncounterId.Raw | null;
17
17
  status: ChargeCaptureBundleStatus.Raw;
18
18
  charge_captures: ChargeCapture.Raw[];
19
- errors: ChargeBundleError.Raw[];
19
+ errors: ChargeCaptureError.Raw[];
20
20
  }
21
21
  }
@@ -42,11 +42,11 @@ const ChargeCaptureBundleId_1 = require("../../../../commons/types/ChargeCapture
42
42
  const EncounterId_1 = require("../../../../commons/types/EncounterId");
43
43
  const ChargeCaptureBundleStatus_1 = require("./ChargeCaptureBundleStatus");
44
44
  const ChargeCapture_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCapture");
45
- const ChargeBundleError_1 = require("./ChargeBundleError");
45
+ const ChargeCaptureError_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCaptureError");
46
46
  exports.ChargeCaptureBundle = core.serialization.object({
47
47
  id: ChargeCaptureBundleId_1.ChargeCaptureBundleId,
48
48
  createdEncounterId: core.serialization.property("created_encounter_id", EncounterId_1.EncounterId.optional()),
49
49
  status: ChargeCaptureBundleStatus_1.ChargeCaptureBundleStatus,
50
50
  chargeCaptures: core.serialization.property("charge_captures", core.serialization.list(ChargeCapture_1.ChargeCapture)),
51
- errors: core.serialization.list(ChargeBundleError_1.ChargeBundleError),
51
+ errors: core.serialization.list(ChargeCaptureError_1.ChargeCaptureError),
52
52
  });
@@ -1,6 +1,5 @@
1
1
  export * from "./ChargeCaptureBundlePage";
2
2
  export * from "./ChargeCaptureBundle";
3
3
  export * from "./ChargeCaptureBundleSummary";
4
- export * from "./ChargeBundleError";
5
4
  export * from "./ChargeCaptureBundleStatus";
6
5
  export * from "./ChargeCaptureBundleSortField";
@@ -17,6 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ChargeCaptureBundlePage"), exports);
18
18
  __exportStar(require("./ChargeCaptureBundle"), exports);
19
19
  __exportStar(require("./ChargeCaptureBundleSummary"), exports);
20
- __exportStar(require("./ChargeBundleError"), exports);
21
20
  __exportStar(require("./ChargeCaptureBundleStatus"), exports);
22
21
  __exportStar(require("./ChargeCaptureBundleSortField"), exports);
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const TaskCategory: core.serialization.Schema<serializers.tasks.TaskCategory.Raw, CandidApi.tasks.TaskCategory>;
8
8
  export declare namespace TaskCategory {
9
- type Raw = "other" | "provider_credentialing" | "authorization_required" | "inactive_coverage" | "unknown_eligibility_or_patient_not_found" | "incorrect_member_id" | "documentation_addendum_request" | "coordination_of_benefits" | "missing_or_incorrect_gender" | "incorrect_date_of_birth" | "incorrect_payer" | "incorrect_name" | "invalid_diagnosis_code" | "non_covered_diagnosis_codes" | "information_requested_from_patient" | "incorrect_rendering_provider_info" | "missing_or_incorrect_modifier" | "coding_frequency_error" | "incorrect_patient_address" | "multiple_em_claims" | "missing_or_incorrect_charge_amount" | "medical_records_request" | "provider_enrollment_or_contracting" | "missing_or_incorrect_group_number" | "missing_diagnosis_codes" | "missing_patient_authorization" | "incorrect_billing_provider_info" | "incorrect_procedure_code" | "incorrect_quantity" | "incorrect_place_of_service_code" | "incorrect_service_facility_info" | "incorrect_date_of_service" | "missing_or_incorrect_ndc" | "patient_collections" | "submit_to_secondary" | "transient_server_error" | "missing_remittance_enrollment" | "missing_claims_enrollment" | "held_by_customer" | "pending_manual_remit_posting" | "incorrect_referring_provider_info";
9
+ type Raw = "other" | "provider_credentialing" | "authorization_required" | "inactive_coverage" | "unknown_eligibility_or_patient_not_found" | "incorrect_member_id" | "documentation_addendum_request" | "coordination_of_benefits" | "missing_or_incorrect_gender" | "incorrect_date_of_birth" | "incorrect_payer" | "incorrect_name" | "invalid_diagnosis_code" | "non_covered_diagnosis_codes" | "information_requested_from_patient" | "incorrect_rendering_provider_info" | "missing_or_incorrect_modifier" | "coding_frequency_error" | "incorrect_patient_address" | "multiple_em_claims" | "missing_or_incorrect_charge_amount" | "medical_records_request" | "provider_enrollment_or_contracting" | "missing_or_incorrect_group_number" | "missing_diagnosis_codes" | "missing_patient_authorization" | "incorrect_billing_provider_info" | "incorrect_procedure_code" | "incorrect_quantity" | "incorrect_place_of_service_code" | "incorrect_service_facility_info" | "incorrect_date_of_service" | "missing_or_incorrect_ndc" | "patient_collections" | "submit_to_secondary" | "transient_server_error" | "missing_remittance_enrollment" | "missing_claims_enrollment" | "held_by_customer" | "pending_manual_remit_posting" | "incorrect_referring_provider_info" | "payer_configuration_error";
10
10
  }
@@ -80,4 +80,5 @@ exports.TaskCategory = core.serialization.enum_([
80
80
  "held_by_customer",
81
81
  "pending_manual_remit_posting",
82
82
  "incorrect_referring_provider_info",
83
+ "payer_configuration_error",
83
84
  ]);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.40.4";
1
+ export declare const SDK_VERSION = "0.41.0";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.40.4";
4
+ exports.SDK_VERSION = "0.41.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.40.4",
3
+ "version": "0.41.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -714,6 +714,67 @@ await client.chargeCapture.v1.getAll({
714
714
  </dl>
715
715
  </details>
716
716
 
717
+ <details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">updatePostBilledChange</a>(chargeCaptureChangeId, { ...params }) -> core.APIResponse<CandidApi.ChargeCapturePostBilledChange, CandidApi.chargeCapture.v1.updatePostBilledChange.Error></code></summary>
718
+ <dl>
719
+ <dd>
720
+
721
+ #### 🔌 Usage
722
+
723
+ <dl>
724
+ <dd>
725
+
726
+ <dl>
727
+ <dd>
728
+
729
+ ```typescript
730
+ await client.chargeCapture.v1.updatePostBilledChange(
731
+ CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
732
+ {
733
+ resolved: true,
734
+ },
735
+ );
736
+ ```
737
+
738
+ </dd>
739
+ </dl>
740
+ </dd>
741
+ </dl>
742
+
743
+ #### ⚙️ Parameters
744
+
745
+ <dl>
746
+ <dd>
747
+
748
+ <dl>
749
+ <dd>
750
+
751
+ **chargeCaptureChangeId:** `CandidApi.ChargeCapturePostBilledChangeId`
752
+
753
+ </dd>
754
+ </dl>
755
+
756
+ <dl>
757
+ <dd>
758
+
759
+ **request:** `CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate`
760
+
761
+ </dd>
762
+ </dl>
763
+
764
+ <dl>
765
+ <dd>
766
+
767
+ **requestOptions:** `V1.RequestOptions`
768
+
769
+ </dd>
770
+ </dl>
771
+ </dd>
772
+ </dl>
773
+
774
+ </dd>
775
+ </dl>
776
+ </details>
777
+
717
778
  ## Contracts V2
718
779
 
719
780
  <details><summary><code>client.contracts.v2.<a href="/src/api/resources/contracts/resources/v2/client/Client.ts">get</a>(contractId) -> core.APIResponse<CandidApi.ContractWithProviders, CandidApi.contracts.v2.get.Error></code></summary>
@@ -1,4 +1,5 @@
1
1
  export * as create from "./create";
2
2
  export * as delete from "./delete";
3
3
  export * as update from "./update";
4
+ export * as updatePostBilledChange from "./updatePostBilledChange";
4
5
  export * from "./requests";
@@ -36,8 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.update = exports.delete = exports.create = void 0;
39
+ exports.updatePostBilledChange = exports.update = exports.delete = exports.create = void 0;
40
40
  exports.create = __importStar(require("./create"));
41
41
  exports.delete = __importStar(require("./delete"));
42
42
  exports.update = __importStar(require("./update"));
43
+ exports.updatePostBilledChange = __importStar(require("./updatePostBilledChange"));
43
44
  __exportStar(require("./requests"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ export declare const ChargeCapturePostBilledChangeUpdate: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate>;
8
+ export declare namespace ChargeCapturePostBilledChangeUpdate {
9
+ interface Raw {
10
+ resolved: boolean;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ChargeCapturePostBilledChangeUpdate = void 0;
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ exports.ChargeCapturePostBilledChangeUpdate = core.serialization.object({
42
+ resolved: core.serialization.boolean(),
43
+ });
@@ -1,2 +1,3 @@
1
1
  export { CreateChargeCaptureRequest } from "./CreateChargeCaptureRequest";
2
2
  export { ChargeCaptureUpdate } from "./ChargeCaptureUpdate";
3
+ export { ChargeCapturePostBilledChangeUpdate } from "./ChargeCapturePostBilledChangeUpdate";
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChargeCaptureUpdate = exports.CreateChargeCaptureRequest = void 0;
3
+ exports.ChargeCapturePostBilledChangeUpdate = exports.ChargeCaptureUpdate = exports.CreateChargeCaptureRequest = void 0;
4
4
  var CreateChargeCaptureRequest_1 = require("./CreateChargeCaptureRequest");
5
5
  Object.defineProperty(exports, "CreateChargeCaptureRequest", { enumerable: true, get: function () { return CreateChargeCaptureRequest_1.CreateChargeCaptureRequest; } });
6
6
  var ChargeCaptureUpdate_1 = require("./ChargeCaptureUpdate");
7
7
  Object.defineProperty(exports, "ChargeCaptureUpdate", { enumerable: true, get: function () { return ChargeCaptureUpdate_1.ChargeCaptureUpdate; } });
8
+ var ChargeCapturePostBilledChangeUpdate_1 = require("./ChargeCapturePostBilledChangeUpdate");
9
+ Object.defineProperty(exports, "ChargeCapturePostBilledChangeUpdate", { enumerable: true, get: function () { return ChargeCapturePostBilledChangeUpdate_1.ChargeCapturePostBilledChangeUpdate; } });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChange.Error.Raw, CandidApi.chargeCapture.v1.updatePostBilledChange.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface UnauthorizedError {
17
+ errorName: "UnauthorizedError";
18
+ content: UnauthorizedErrorMessage.Raw;
19
+ }
20
+ }
@@ -50,18 +50,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
50
50
  exports.Error = void 0;
51
51
  const CandidApi = __importStar(require("../../../../../../api/index"));
52
52
  const core = __importStar(require("../../../../../../core"));
53
- const NotImplementedErrorMessage_1 = require("../../../../commons/types/NotImplementedErrorMessage");
53
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
54
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
54
55
  exports.Error = core.serialization
55
56
  .union("errorName", {
56
- NotImplementedError: core.serialization.object({
57
- content: NotImplementedErrorMessage_1.NotImplementedErrorMessage,
57
+ EntityNotFoundError: core.serialization.object({
58
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
59
+ }),
60
+ UnauthorizedError: core.serialization.object({
61
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
58
62
  }),
59
63
  })
60
64
  .transform({
61
65
  transform: (value) => {
62
66
  switch (value.errorName) {
63
- case "NotImplementedError":
64
- return CandidApi.chargeCaptureBundles.v1.getAll.Error.notImplementedError(value.content);
67
+ case "EntityNotFoundError":
68
+ return CandidApi.chargeCapture.v1.updatePostBilledChange.Error.entityNotFoundError(value.content);
69
+ case "UnauthorizedError":
70
+ return CandidApi.chargeCapture.v1.updatePostBilledChange.Error.unauthorizedError(value.content);
65
71
  }
66
72
  },
67
73
  untransform: (_a) => {