candidhealth 0.40.2 → 0.40.3

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 (208) 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 +1 -0
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
  5. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
  6. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
  7. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
  8. package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  9. package/{dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js} +19 -7
  10. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  11. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
  13. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  14. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  15. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  16. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  17. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  18. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  19. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  20. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  21. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  22. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  23. package/api/resources/diagnoses/client/Client.js +3 -3
  24. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  25. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  26. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  27. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  28. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  29. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  30. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  31. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
  32. package/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  33. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  34. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  35. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  36. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  37. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  38. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  39. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  40. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  41. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  42. package/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  43. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  44. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  45. package/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  46. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  47. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  48. package/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  49. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  50. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  51. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  52. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  53. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  54. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  55. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  56. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  57. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  58. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  59. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  60. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  61. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  62. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  63. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  64. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  65. package/api/resources/serviceFacility/client/Client.js +1 -1
  66. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  67. package/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  68. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  69. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  70. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  71. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  72. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +1 -0
  73. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
  74. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
  75. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
  76. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
  77. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  78. package/{serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js} +19 -7
  79. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  80. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  81. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
  82. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  83. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  84. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  85. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  86. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  87. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  88. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  89. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  90. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  91. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  92. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  93. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  94. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  95. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  96. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  97. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  98. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  99. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  100. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
  101. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  102. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  103. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  104. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  105. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  106. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  107. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  108. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  109. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  110. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  111. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  112. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  113. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  114. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  115. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  116. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  117. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  118. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  119. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  120. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  121. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  122. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  123. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  124. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  125. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  126. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  127. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  128. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  129. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  130. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  131. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  132. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  133. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  134. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  135. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  136. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  137. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  138. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  139. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  140. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  141. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  142. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +5 -9
  143. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  144. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  145. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  146. package/dist/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  147. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  148. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  149. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  150. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  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 +48 -231
  155. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  156. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  157. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  158. package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +5 -9
  159. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  160. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  161. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  162. package/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  163. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  164. package/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  165. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  166. package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  167. package/version.d.ts +1 -1
  168. package/version.js +1 -1
  169. package/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  170. package/api/resources/insurancePayments/resources/v1/client/create.js +0 -90
  171. package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  172. package/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
  173. package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  174. package/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  175. package/api/resources/insurancePayments/resources/v1/client/update.js +0 -90
  176. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  177. package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  178. package/dist/api/resources/insurancePayments/resources/v1/client/create.js +0 -90
  179. package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  180. package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
  181. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  182. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +0 -5
  183. package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  184. package/dist/api/resources/insurancePayments/resources/v1/client/update.js +0 -90
  185. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  186. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +0 -5
  187. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +0 -25
  188. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.js +0 -83
  189. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
  190. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
  191. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  192. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  193. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  194. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +0 -25
  195. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.js +0 -83
  196. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  197. package/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +0 -25
  198. package/serialization/resources/insurancePayments/resources/v1/client/create.js +0 -83
  199. package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
  200. package/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
  201. package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  202. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  203. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  204. package/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +0 -25
  205. package/serialization/resources/insurancePayments/resources/v1/client/update.js +0 -83
  206. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  207. /package/api/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +0 -0
  208. /package/{api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +0 -0
package/reference.md CHANGED
@@ -292,6 +292,46 @@ await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureBundleId("d5e9c8
292
292
  </dl>
293
293
  </details>
294
294
 
295
+ <details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getSummary</a>() -> core.APIResponse<CandidApi.ChargeCaptureBundleSummary, CandidApi.chargeCaptureBundles.v1.getSummary.Error></code></summary>
296
+ <dl>
297
+ <dd>
298
+
299
+ #### 🔌 Usage
300
+
301
+ <dl>
302
+ <dd>
303
+
304
+ <dl>
305
+ <dd>
306
+
307
+ ```typescript
308
+ await client.chargeCaptureBundles.v1.getSummary();
309
+ ```
310
+
311
+ </dd>
312
+ </dl>
313
+ </dd>
314
+ </dl>
315
+
316
+ #### ⚙️ Parameters
317
+
318
+ <dl>
319
+ <dd>
320
+
321
+ <dl>
322
+ <dd>
323
+
324
+ **requestOptions:** `V1.RequestOptions`
325
+
326
+ </dd>
327
+ </dl>
328
+ </dd>
329
+ </dl>
330
+
331
+ </dd>
332
+ </dl>
333
+ </details>
334
+
295
335
  <details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">resubmit</a>(chargeCaptureBundleId) -> core.APIResponse<CandidApi.ChargeCaptureBundle, CandidApi.chargeCaptureBundles.v1.resubmit.Error></code></summary>
296
336
  <dl>
297
337
  <dd>
@@ -359,7 +399,7 @@ await client.chargeCaptureBundles.v1.getAll({
359
399
  sortDirection: "asc",
360
400
  pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
361
401
  patientExternalId: "string",
362
- bundleStatus: "in-progress",
402
+ bundleStatus: "not-started",
363
403
  chargeStatus: "planned",
364
404
  chargeExternalId: "string",
365
405
  dateOfService: "2023-01-15",
@@ -637,6 +677,7 @@ await client.chargeCapture.v1.getAll({
637
677
  status: "planned",
638
678
  chargeExternalId: "string",
639
679
  dateOfService: "2023-01-15",
680
+ bundleId: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
640
681
  excludeBundled: true,
641
682
  });
642
683
  ```
@@ -4117,7 +4158,7 @@ await client.feeSchedules.v3.getMulti({
4117
4158
  networkTypes: "12",
4118
4159
  payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
4119
4160
  cptCode: "string",
4120
- modifiers: "22",
4161
+ modifiers: "AV",
4121
4162
  });
4122
4163
  ```
4123
4164
 
@@ -4194,7 +4235,7 @@ await client.feeSchedules.v3.getUniqueValuesForDimension({
4194
4235
  networkTypes: "12",
4195
4236
  payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
4196
4237
  cptCode: "string",
4197
- modifiers: "22",
4238
+ modifiers: "AV",
4198
4239
  });
4199
4240
  ```
4200
4241
 
@@ -4336,7 +4377,7 @@ await client.feeSchedules.v3.uploadFeeSchedule({
4336
4377
  networkTypes: new Set(["12"]),
4337
4378
  payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
4338
4379
  cptCode: "string",
4339
- modifiers: new Set(["22"]),
4380
+ modifiers: new Set(["AV"]),
4340
4381
  },
4341
4382
  entries: [
4342
4383
  {
@@ -5563,230 +5604,6 @@ await client.insurancePayments.v1.get(CandidApi.InsurancePaymentId("d5e9c84f-c2b
5563
5604
  </dl>
5564
5605
  </details>
5565
5606
 
5566
- <details><summary><code>client.insurancePayments.v1.<a href="/src/api/resources/insurancePayments/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.InsurancePayment, CandidApi.insurancePayments.v1.create.Error></code></summary>
5567
- <dl>
5568
- <dd>
5569
-
5570
- #### 📝 Description
5571
-
5572
- <dl>
5573
- <dd>
5574
-
5575
- <dl>
5576
- <dd>
5577
-
5578
- Creates a new insurance payment record and returns the newly created `InsurancePayment` object. This endpoint
5579
- should only be used for insurance payments that do not have a corresponding ERA (for example: a settlement check
5580
- from a payer). If the payment is an ERA, then you should used the insurance-adjudications API.
5581
-
5582
- </dd>
5583
- </dl>
5584
- </dd>
5585
- </dl>
5586
-
5587
- #### 🔌 Usage
5588
-
5589
- <dl>
5590
- <dd>
5591
-
5592
- <dl>
5593
- <dd>
5594
-
5595
- ```typescript
5596
- await client.insurancePayments.v1.create({
5597
- payerIdentifier: {
5598
- type: "payer_info",
5599
- },
5600
- amountCents: 1,
5601
- paymentTimestamp: "2024-01-15T09:30:00Z",
5602
- paymentNote: "string",
5603
- allocations: [
5604
- {
5605
- amountCents: 1,
5606
- target: {
5607
- type: "service_line_by_id",
5608
- value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
5609
- },
5610
- },
5611
- ],
5612
- });
5613
- ```
5614
-
5615
- </dd>
5616
- </dl>
5617
- </dd>
5618
- </dl>
5619
-
5620
- #### ⚙️ Parameters
5621
-
5622
- <dl>
5623
- <dd>
5624
-
5625
- <dl>
5626
- <dd>
5627
-
5628
- **request:** `CandidApi.InsurancePaymentCreate`
5629
-
5630
- </dd>
5631
- </dl>
5632
-
5633
- <dl>
5634
- <dd>
5635
-
5636
- **requestOptions:** `V1.RequestOptions`
5637
-
5638
- </dd>
5639
- </dl>
5640
- </dd>
5641
- </dl>
5642
-
5643
- </dd>
5644
- </dl>
5645
- </details>
5646
-
5647
- <details><summary><code>client.insurancePayments.v1.<a href="/src/api/resources/insurancePayments/resources/v1/client/Client.ts">update</a>(insurancePaymentId, { ...params }) -> core.APIResponse<CandidApi.InsurancePayment, CandidApi.insurancePayments.v1.update.Error></code></summary>
5648
- <dl>
5649
- <dd>
5650
-
5651
- #### 📝 Description
5652
-
5653
- <dl>
5654
- <dd>
5655
-
5656
- <dl>
5657
- <dd>
5658
-
5659
- Updates the patient payment record matching the provided insurance_payment_id. If updating the payment amount,
5660
- then the allocations must be appropriately updated as well.
5661
-
5662
- </dd>
5663
- </dl>
5664
- </dd>
5665
- </dl>
5666
-
5667
- #### 🔌 Usage
5668
-
5669
- <dl>
5670
- <dd>
5671
-
5672
- <dl>
5673
- <dd>
5674
-
5675
- ```typescript
5676
- await client.insurancePayments.v1.update(CandidApi.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
5677
- paymentTimestamp: "2024-01-15T09:30:00Z",
5678
- paymentNote: {
5679
- type: "set",
5680
- value: "string",
5681
- },
5682
- });
5683
- ```
5684
-
5685
- </dd>
5686
- </dl>
5687
- </dd>
5688
- </dl>
5689
-
5690
- #### ⚙️ Parameters
5691
-
5692
- <dl>
5693
- <dd>
5694
-
5695
- <dl>
5696
- <dd>
5697
-
5698
- **insurancePaymentId:** `CandidApi.InsurancePaymentId`
5699
-
5700
- </dd>
5701
- </dl>
5702
-
5703
- <dl>
5704
- <dd>
5705
-
5706
- **request:** `CandidApi.insurancePayments.v1.InsurancePaymentUpdate`
5707
-
5708
- </dd>
5709
- </dl>
5710
-
5711
- <dl>
5712
- <dd>
5713
-
5714
- **requestOptions:** `V1.RequestOptions`
5715
-
5716
- </dd>
5717
- </dl>
5718
- </dd>
5719
- </dl>
5720
-
5721
- </dd>
5722
- </dl>
5723
- </details>
5724
-
5725
- <details><summary><code>client.insurancePayments.v1.<a href="/src/api/resources/insurancePayments/resources/v1/client/Client.ts">delete</a>(insurancePaymentId) -> core.APIResponse<void, CandidApi.insurancePayments.v1.delete.Error></code></summary>
5726
- <dl>
5727
- <dd>
5728
-
5729
- #### 📝 Description
5730
-
5731
- <dl>
5732
- <dd>
5733
-
5734
- <dl>
5735
- <dd>
5736
-
5737
- Deletes the insurance payment record matching the provided `insurance_payment_id`.
5738
- If the matching record's organization_id does not match the authenticated user's
5739
- current organization_id, then a response code of `403` will be returned.
5740
-
5741
- </dd>
5742
- </dl>
5743
- </dd>
5744
- </dl>
5745
-
5746
- #### 🔌 Usage
5747
-
5748
- <dl>
5749
- <dd>
5750
-
5751
- <dl>
5752
- <dd>
5753
-
5754
- ```typescript
5755
- await client.insurancePayments.v1.delete(CandidApi.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
5756
- ```
5757
-
5758
- </dd>
5759
- </dl>
5760
- </dd>
5761
- </dl>
5762
-
5763
- #### ⚙️ Parameters
5764
-
5765
- <dl>
5766
- <dd>
5767
-
5768
- <dl>
5769
- <dd>
5770
-
5771
- **insurancePaymentId:** `CandidApi.InsurancePaymentId`
5772
-
5773
- </dd>
5774
- </dl>
5775
-
5776
- <dl>
5777
- <dd>
5778
-
5779
- **requestOptions:** `V1.RequestOptions`
5780
-
5781
- </dd>
5782
- </dl>
5783
- </dd>
5784
- </dl>
5785
-
5786
- </dd>
5787
- </dl>
5788
- </details>
5789
-
5790
5607
  ## InsuranceRefunds V1
5791
5608
 
5792
5609
  <details><summary><code>client.insuranceRefunds.v1.<a href="/src/api/resources/insuranceRefunds/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.InsuranceRefundsPage, CandidApi.insuranceRefunds.v1.getMulti.Error></code></summary>
@@ -6188,7 +6005,7 @@ await client.medicationDispense.v1.create({
6188
6005
  drugDescription: "string",
6189
6006
  },
6190
6007
  description: "string",
6191
- modifiers: ["22"],
6008
+ modifiers: ["AV"],
6192
6009
  });
6193
6010
  ```
6194
6011
 
@@ -8718,7 +8535,7 @@ await client.payers.v3.getAll({
8718
8535
 
8719
8536
  ```typescript
8720
8537
  await client.serviceLines.v2.create({
8721
- modifiers: ["22"],
8538
+ modifiers: ["AV"],
8722
8539
  chargeAmountCents: 1,
8723
8540
  diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
8724
8541
  diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
@@ -8818,7 +8635,7 @@ await client.serviceLines.v2.create({
8818
8635
  ```typescript
8819
8636
  await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
8820
8637
  editReason: "string",
8821
- modifiers: ["22"],
8638
+ modifiers: ["AV"],
8822
8639
  chargeAmountCents: 1,
8823
8640
  diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
8824
8641
  diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const ChargeCaptureBundleStatus: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleStatus.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus>;
8
8
  export declare namespace ChargeCaptureBundleStatus {
9
- type Raw = "in-progress" | "in-error" | "successful" | "aborted";
9
+ type Raw = "not-started" | "in-progress" | "in-error" | "successful" | "successful-dry-run" | "aborted";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ChargeCaptureBundleStatus = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.ChargeCaptureBundleStatus = core.serialization.enum_(["in-progress", "in-error", "successful", "aborted"]);
41
+ exports.ChargeCaptureBundleStatus = core.serialization.enum_(["not-started", "in-progress", "in-error", "successful", "successful-dry-run", "aborted"]);
@@ -0,0 +1,14 @@
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 ChargeCaptureBundleSummary: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleSummary.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleSummary>;
8
+ export declare namespace ChargeCaptureBundleSummary {
9
+ interface Raw {
10
+ charge_capture_unbundled_count: number;
11
+ charge_capture_bundles_in_error_count: number;
12
+ charge_capture_unresolved_change_count: number;
13
+ }
14
+ }
@@ -36,14 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.InsurancePaymentCreate = void 0;
39
+ exports.ChargeCaptureBundleSummary = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- const PayerIdentifier_1 = require("../../../../payers/resources/v3/types/PayerIdentifier");
42
- const AllocationCreate_1 = require("../../../../financials/types/AllocationCreate");
43
- exports.InsurancePaymentCreate = core.serialization.object({
44
- payerIdentifier: core.serialization.property("payer_identifier", PayerIdentifier_1.PayerIdentifier),
45
- amountCents: core.serialization.property("amount_cents", core.serialization.number()),
46
- paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
47
- paymentNote: core.serialization.property("payment_note", core.serialization.string().optional()),
48
- allocations: core.serialization.list(AllocationCreate_1.AllocationCreate),
41
+ exports.ChargeCaptureBundleSummary = core.serialization.object({
42
+ chargeCaptureUnbundledCount: core.serialization.property("charge_capture_unbundled_count", core.serialization.number()),
43
+ chargeCaptureBundlesInErrorCount: core.serialization.property("charge_capture_bundles_in_error_count", core.serialization.number()),
44
+ chargeCaptureUnresolvedChangeCount: core.serialization.property("charge_capture_unresolved_change_count", core.serialization.number()),
49
45
  });
@@ -1,5 +1,6 @@
1
1
  export * from "./ChargeCaptureBundlePage";
2
2
  export * from "./ChargeCaptureBundle";
3
+ export * from "./ChargeCaptureBundleSummary";
3
4
  export * from "./ChargeBundleError";
4
5
  export * from "./ChargeCaptureBundleStatus";
5
6
  export * from "./ChargeCaptureBundleSortField";
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ChargeCaptureBundlePage"), exports);
18
18
  __exportStar(require("./ChargeCaptureBundle"), exports);
19
+ __exportStar(require("./ChargeCaptureBundleSummary"), exports);
19
20
  __exportStar(require("./ChargeBundleError"), exports);
20
21
  __exportStar(require("./ChargeCaptureBundleStatus"), exports);
21
22
  __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 ProcedureModifier: core.serialization.Schema<serializers.ProcedureModifier.Raw, CandidApi.ProcedureModifier>;
8
8
  export declare namespace ProcedureModifier {
9
- type Raw = "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "XE" | "XP" | "XS" | "XU";
9
+ type Raw = "AV" | "AU" | "AW" | "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "XE" | "XP" | "XS" | "XU";
10
10
  }
@@ -39,6 +39,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ProcedureModifier = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  exports.ProcedureModifier = core.serialization.enum_([
42
+ "AV",
43
+ "AU",
44
+ "AW",
42
45
  "22",
43
46
  "23",
44
47
  "24",
@@ -1,6 +1,2 @@
1
1
  export * as getMulti from "./getMulti";
2
2
  export * as get from "./get";
3
- export * as create from "./create";
4
- export * as update from "./update";
5
- export * as delete from "./delete";
6
- export * from "./requests";
@@ -32,14 +32,7 @@ var __importStar = (this && this.__importStar) || (function () {
32
32
  return result;
33
33
  };
34
34
  })();
35
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
- };
38
35
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
36
+ exports.get = exports.getMulti = void 0;
40
37
  exports.getMulti = __importStar(require("./getMulti"));
41
38
  exports.get = __importStar(require("./get"));
42
- exports.create = __importStar(require("./create"));
43
- exports.update = __importStar(require("./update"));
44
- exports.delete = __importStar(require("./delete"));
45
- __exportStar(require("./requests"), exports);
@@ -1,5 +1,4 @@
1
1
  export * from "./InsurancePaymentId";
2
2
  export * from "./InsurancePayment";
3
- export * from "./InsurancePaymentCreate";
4
3
  export * from "./InsurancePaymentsPage";
5
4
  export * from "./InsurancePaymentSortField";
@@ -16,6 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./InsurancePaymentId"), exports);
18
18
  __exportStar(require("./InsurancePayment"), exports);
19
- __exportStar(require("./InsurancePaymentCreate"), exports);
20
19
  __exportStar(require("./InsurancePaymentsPage"), exports);
21
20
  __exportStar(require("./InsurancePaymentSortField"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.40.2";
1
+ export declare const SDK_VERSION = "0.40.3";
package/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.2";
4
+ exports.SDK_VERSION = "0.40.3";
@@ -1,40 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../../index";
5
- import * as core from "../../../../../../core";
6
- export type Error = CandidApi.insurancePayments.v1.create.Error.EntityNotFoundError | CandidApi.insurancePayments.v1.create.Error.UnauthorizedError | CandidApi.insurancePayments.v1.create.Error.UnprocessableEntityError | CandidApi.insurancePayments.v1.create.Error._Unknown;
7
- export declare namespace Error {
8
- interface EntityNotFoundError extends _Utils {
9
- errorName: "EntityNotFoundError";
10
- content: CandidApi.EntityNotFoundErrorMessage;
11
- }
12
- interface UnauthorizedError extends _Utils {
13
- errorName: "UnauthorizedError";
14
- content: CandidApi.UnauthorizedErrorMessage;
15
- }
16
- interface UnprocessableEntityError extends _Utils {
17
- errorName: "UnprocessableEntityError";
18
- content: CandidApi.UnprocessableEntityErrorMessage;
19
- }
20
- interface _Unknown extends _Utils {
21
- errorName: void;
22
- content: core.Fetcher.Error;
23
- }
24
- interface _Utils {
25
- _visit: <_Result>(visitor: CandidApi.insurancePayments.v1.create.Error._Visitor<_Result>) => _Result;
26
- }
27
- interface _Visitor<_Result> {
28
- entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
29
- unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
30
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
31
- _other: (value: core.Fetcher.Error) => _Result;
32
- }
33
- }
34
- export declare const Error: {
35
- readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.insurancePayments.v1.create.Error.EntityNotFoundError;
36
- readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.create.Error.UnauthorizedError;
37
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.insurancePayments.v1.create.Error.UnprocessableEntityError;
38
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.create.Error._Unknown;
39
- readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.create.Error, visitor: CandidApi.insurancePayments.v1.create.Error._Visitor<_Result>) => _Result;
40
- };
@@ -1,90 +0,0 @@
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.Error = void 0;
40
- const CandidApi = __importStar(require("../../../../../index"));
41
- exports.Error = {
42
- entityNotFoundError: (value) => {
43
- return {
44
- content: value,
45
- errorName: "EntityNotFoundError",
46
- _visit: function (visitor) {
47
- return CandidApi.insurancePayments.v1.create.Error._visit(this, visitor);
48
- },
49
- };
50
- },
51
- unauthorizedError: (value) => {
52
- return {
53
- content: value,
54
- errorName: "UnauthorizedError",
55
- _visit: function (visitor) {
56
- return CandidApi.insurancePayments.v1.create.Error._visit(this, visitor);
57
- },
58
- };
59
- },
60
- unprocessableEntityError: (value) => {
61
- return {
62
- content: value,
63
- errorName: "UnprocessableEntityError",
64
- _visit: function (visitor) {
65
- return CandidApi.insurancePayments.v1.create.Error._visit(this, visitor);
66
- },
67
- };
68
- },
69
- _unknown: (fetcherError) => {
70
- return {
71
- errorName: undefined,
72
- content: fetcherError,
73
- _visit: function (visitor) {
74
- return CandidApi.insurancePayments.v1.create.Error._visit(this, visitor);
75
- },
76
- };
77
- },
78
- _visit: (value, visitor) => {
79
- switch (value.errorName) {
80
- case "EntityNotFoundError":
81
- return visitor.entityNotFoundError(value.content);
82
- case "UnauthorizedError":
83
- return visitor.unauthorizedError(value.content);
84
- case "UnprocessableEntityError":
85
- return visitor.unprocessableEntityError(value.content);
86
- default:
87
- return visitor._other(value);
88
- }
89
- },
90
- };