candidhealth 0.40.2 → 0.40.4

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 (343) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +19 -14
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +1 -0
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
  7. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
  8. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
  9. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
  10. package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  11. package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
  15. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  16. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  17. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  18. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  20. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  21. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  22. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  23. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  24. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  25. package/api/resources/diagnoses/client/Client.js +3 -3
  26. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  27. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  28. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  29. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  30. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  31. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  32. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  33. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
  34. package/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  35. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  36. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  37. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  38. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  39. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  40. package/api/resources/index.d.ts +1 -0
  41. package/api/resources/index.js +3 -1
  42. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  43. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  44. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  45. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  46. package/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  47. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  48. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  49. package/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  50. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  51. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  52. package/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  53. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  54. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  55. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  56. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  57. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  58. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  59. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  60. package/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  61. package/api/resources/payerPlanGroups/client/Client.js +17 -0
  62. package/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  63. package/api/resources/payerPlanGroups/client/index.js +2 -0
  64. package/api/resources/payerPlanGroups/index.d.ts +2 -0
  65. package/api/resources/payerPlanGroups/index.js +18 -0
  66. package/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  67. package/api/resources/payerPlanGroups/resources/index.js +37 -0
  68. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  69. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  70. package/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  71. package/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  72. package/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  73. package/api/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/deactivate.js} +3 -14
  74. package/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  75. package/{dist/api/resources/insurancePayments/resources/v1/client/create.js → api/resources/payerPlanGroups/resources/v1/client/get.js} +3 -14
  76. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  77. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  78. package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  79. package/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  80. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  81. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  82. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  83. package/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  84. package/api/resources/{insurancePayments → payerPlanGroups}/resources/v1/client/update.js +8 -8
  85. package/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  86. package/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  87. package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  88. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  89. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  90. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  91. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  92. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  93. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  94. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  95. package/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  96. package/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  97. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  98. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  100. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  101. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  102. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  103. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  104. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  105. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  106. package/api/resources/serviceFacility/client/Client.js +1 -1
  107. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  108. package/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  109. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  110. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  111. package/dist/Client.d.ts +3 -0
  112. package/dist/Client.js +19 -14
  113. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  114. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  115. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +1 -0
  116. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
  117. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
  118. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
  119. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
  120. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  121. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
  122. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  123. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  124. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
  125. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  126. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  127. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  128. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +5 -0
  129. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  130. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  131. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  132. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  133. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  134. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  135. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  136. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  137. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  138. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  139. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  140. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  141. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  142. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  143. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  144. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
  145. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  146. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  147. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  148. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  149. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  150. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  151. package/dist/api/resources/index.d.ts +1 -0
  152. package/dist/api/resources/index.js +3 -1
  153. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  154. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  155. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  156. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  157. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  158. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  159. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  160. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  161. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  162. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  163. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  164. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  165. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  166. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  167. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  168. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  169. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  170. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  171. package/dist/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  172. package/dist/api/resources/payerPlanGroups/client/Client.js +17 -0
  173. package/dist/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  174. package/dist/api/resources/payerPlanGroups/client/index.js +2 -0
  175. package/dist/api/resources/payerPlanGroups/index.d.ts +2 -0
  176. package/dist/api/resources/payerPlanGroups/index.js +18 -0
  177. package/dist/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  178. package/dist/api/resources/payerPlanGroups/resources/index.js +37 -0
  179. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  180. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  181. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  182. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  183. package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  184. package/{api/resources/insurancePayments/resources/v1/client/delete.js → dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.js} +3 -14
  185. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  186. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
  187. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  188. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  189. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  190. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  191. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  192. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
  193. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  194. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  195. package/dist/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  196. package/dist/api/resources/{insurancePayments → payerPlanGroups}/resources/v1/client/update.js +8 -8
  197. package/dist/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  198. package/dist/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  199. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  200. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
  201. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  202. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
  203. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  204. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  205. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  206. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  207. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  208. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  209. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  210. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  211. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  212. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  213. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  214. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  215. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  216. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  217. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  218. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  219. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  220. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  221. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  222. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  223. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  224. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  225. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  226. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  227. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  228. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +5 -9
  229. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  230. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  231. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  232. package/dist/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  233. package/dist/serialization/resources/index.d.ts +1 -0
  234. package/dist/serialization/resources/index.js +3 -1
  235. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  236. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  237. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  238. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  239. package/dist/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  240. package/dist/serialization/resources/payerPlanGroups/index.js +17 -0
  241. package/dist/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  242. package/dist/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  243. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  244. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  245. package/dist/serialization/resources/{insurancePayments/resources/v1/client/create.d.ts → payerPlanGroups/resources/v1/client/deactivate.d.ts} +2 -7
  246. package/dist/serialization/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/deactivate.js} +2 -8
  247. package/dist/serialization/resources/{insurancePayments/resources/v1/client/delete.d.ts → payerPlanGroups/resources/v1/client/get.d.ts} +2 -7
  248. package/dist/serialization/resources/{insurancePayments/resources/v1/client/delete.js → payerPlanGroups/resources/v1/client/get.js} +2 -8
  249. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  250. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
  251. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  252. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  253. package/{serialization/resources/insurancePayments → dist/serialization/resources/payerPlanGroups}/resources/v1/client/update.d.ts +6 -6
  254. package/{serialization/resources/insurancePayments → dist/serialization/resources/payerPlanGroups}/resources/v1/client/update.js +7 -7
  255. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  256. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  257. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  258. package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js → dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js} +7 -9
  259. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  260. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  261. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  262. package/dist/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js} +6 -6
  263. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  264. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  265. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  266. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  267. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  268. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  269. package/dist/version.d.ts +1 -1
  270. package/dist/version.js +1 -1
  271. package/package.json +1 -1
  272. package/reference.md +393 -231
  273. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  274. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  275. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  276. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +45 -0
  277. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  278. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  279. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  280. package/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  281. package/serialization/resources/index.d.ts +1 -0
  282. package/serialization/resources/index.js +3 -1
  283. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  284. package/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  285. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  286. package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  287. package/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  288. package/serialization/resources/payerPlanGroups/index.js +17 -0
  289. package/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  290. package/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  291. package/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  292. package/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  293. package/serialization/resources/{insurancePayments/resources/v1/client/create.d.ts → payerPlanGroups/resources/v1/client/deactivate.d.ts} +2 -7
  294. package/{dist/serialization/resources/insurancePayments/resources/v1/client/update.js → serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js} +2 -8
  295. package/{dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts → serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts} +2 -7
  296. package/serialization/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/get.js} +2 -8
  297. package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  298. package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
  299. package/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  300. package/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  301. package/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
  302. package/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
  303. package/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  304. package/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  305. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  306. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
  307. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  308. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  309. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  310. package/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js} +6 -6
  311. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  312. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  313. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  314. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  315. package/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  316. package/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  317. package/version.d.ts +1 -1
  318. package/version.js +1 -1
  319. package/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  320. package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  321. package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  322. package/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  323. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  324. package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  325. package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  326. package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
  327. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  328. package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  329. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  330. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  331. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  332. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  333. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  334. package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
  335. package/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
  336. package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  337. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  338. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  339. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  340. /package/api/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +0 -0
  341. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js} +0 -0
  342. /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js} +0 -0
  343. /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js → api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js} +0 -0
@@ -0,0 +1,83 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../core"));
53
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
54
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
55
+ const PayerPlanGroupAlreadyExistsError_1 = require("../types/PayerPlanGroupAlreadyExistsError");
56
+ exports.Error = core.serialization
57
+ .union("errorName", {
58
+ EntityNotFoundError: core.serialization.object({
59
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
60
+ }),
61
+ UnauthorizedError: core.serialization.object({
62
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
63
+ }),
64
+ PayerPlanGroupAlreadyExistsHttpError: core.serialization.object({
65
+ content: PayerPlanGroupAlreadyExistsError_1.PayerPlanGroupAlreadyExistsError,
66
+ }),
67
+ })
68
+ .transform({
69
+ transform: (value) => {
70
+ switch (value.errorName) {
71
+ case "EntityNotFoundError":
72
+ return CandidApi.payerPlanGroups.v1.update.Error.entityNotFoundError(value.content);
73
+ case "UnauthorizedError":
74
+ return CandidApi.payerPlanGroups.v1.update.Error.unauthorizedError(value.content);
75
+ case "PayerPlanGroupAlreadyExistsHttpError":
76
+ return CandidApi.payerPlanGroups.v1.update.Error.payerPlanGroupAlreadyExistsHttpError(value.content);
77
+ }
78
+ },
79
+ untransform: (_a) => {
80
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
81
+ return value;
82
+ },
83
+ });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,16 @@
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 { PayerUuid } from "../../../../payers/resources/v3/types/PayerUuid";
8
+ import { SourceOfPaymentCode } from "../../../../commons/types/SourceOfPaymentCode";
9
+ export declare const MutablePayerPlanGroup: core.serialization.ObjectSchema<serializers.payerPlanGroups.v1.MutablePayerPlanGroup.Raw, CandidApi.payerPlanGroups.v1.MutablePayerPlanGroup>;
10
+ export declare namespace MutablePayerPlanGroup {
11
+ interface Raw {
12
+ plan_group_name: string;
13
+ payer_uuid: PayerUuid.Raw;
14
+ plan_type: SourceOfPaymentCode.Raw;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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.MutablePayerPlanGroup = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const PayerUuid_1 = require("../../../../payers/resources/v3/types/PayerUuid");
42
+ const SourceOfPaymentCode_1 = require("../../../../commons/types/SourceOfPaymentCode");
43
+ exports.MutablePayerPlanGroup = core.serialization.object({
44
+ planGroupName: core.serialization.property("plan_group_name", core.serialization.string()),
45
+ payerUuid: core.serialization.property("payer_uuid", PayerUuid_1.PayerUuid),
46
+ planType: core.serialization.property("plan_type", SourceOfPaymentCode_1.SourceOfPaymentCode),
47
+ });
@@ -0,0 +1,17 @@
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 { PayerPlanGroupId } from "../../../../commons/types/PayerPlanGroupId";
8
+ import { Payer } from "../../../../payers/resources/v3/types/Payer";
9
+ import { MutablePayerPlanGroup } from "./MutablePayerPlanGroup";
10
+ export declare const PayerPlanGroup: core.serialization.ObjectSchema<serializers.payerPlanGroups.v1.PayerPlanGroup.Raw, CandidApi.payerPlanGroups.v1.PayerPlanGroup>;
11
+ export declare namespace PayerPlanGroup {
12
+ interface Raw extends MutablePayerPlanGroup.Raw {
13
+ payer_plan_group_id: PayerPlanGroupId.Raw;
14
+ payer: Payer.Raw;
15
+ is_active: boolean;
16
+ }
17
+ }
@@ -0,0 +1,50 @@
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.PayerPlanGroup = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const PayerPlanGroupId_1 = require("../../../../commons/types/PayerPlanGroupId");
42
+ const Payer_1 = require("../../../../payers/resources/v3/types/Payer");
43
+ const MutablePayerPlanGroup_1 = require("./MutablePayerPlanGroup");
44
+ exports.PayerPlanGroup = core.serialization
45
+ .object({
46
+ payerPlanGroupId: core.serialization.property("payer_plan_group_id", PayerPlanGroupId_1.PayerPlanGroupId),
47
+ payer: Payer_1.Payer,
48
+ isActive: core.serialization.property("is_active", core.serialization.boolean()),
49
+ })
50
+ .extend(MutablePayerPlanGroup_1.MutablePayerPlanGroup);
@@ -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
+ import { PayerPlanGroupId } from "../../../../commons/types/PayerPlanGroupId";
8
+ export declare const PayerPlanGroupAlreadyExistsError: core.serialization.ObjectSchema<serializers.payerPlanGroups.v1.PayerPlanGroupAlreadyExistsError.Raw, CandidApi.payerPlanGroups.v1.PayerPlanGroupAlreadyExistsError>;
9
+ export declare namespace PayerPlanGroupAlreadyExistsError {
10
+ interface Raw {
11
+ message: string;
12
+ id: PayerPlanGroupId.Raw;
13
+ }
14
+ }
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.InsurancePaymentUpdate = void 0;
40
- const core = __importStar(require("../../../../../../../core"));
41
- const NoteUpdate_1 = require("../../../../../financials/types/NoteUpdate");
42
- exports.InsurancePaymentUpdate = core.serialization.object({
43
- paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
44
- paymentNote: core.serialization.property("payment_note", NoteUpdate_1.NoteUpdate.optional()),
39
+ exports.PayerPlanGroupAlreadyExistsError = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const PayerPlanGroupId_1 = require("../../../../commons/types/PayerPlanGroupId");
42
+ exports.PayerPlanGroupAlreadyExistsError = core.serialization.object({
43
+ message: core.serialization.string(),
44
+ id: PayerPlanGroupId_1.PayerPlanGroupId,
45
45
  });
@@ -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
+ import { PayerPlanGroup } from "./PayerPlanGroup";
8
+ import { ResourcePage } from "../../../../commons/types/ResourcePage";
9
+ export declare const PayerPlanGroupPage: core.serialization.ObjectSchema<serializers.payerPlanGroups.v1.PayerPlanGroupPage.Raw, CandidApi.payerPlanGroups.v1.PayerPlanGroupPage>;
10
+ export declare namespace PayerPlanGroupPage {
11
+ interface Raw extends ResourcePage.Raw {
12
+ items: PayerPlanGroup.Raw[];
13
+ }
14
+ }
@@ -0,0 +1,47 @@
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.PayerPlanGroupPage = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const PayerPlanGroup_1 = require("./PayerPlanGroup");
42
+ const ResourcePage_1 = require("../../../../commons/types/ResourcePage");
43
+ exports.PayerPlanGroupPage = core.serialization
44
+ .object({
45
+ items: core.serialization.list(PayerPlanGroup_1.PayerPlanGroup),
46
+ })
47
+ .extend(ResourcePage_1.ResourcePage);
@@ -0,0 +1,10 @@
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 PayerPlanGroupSortField: core.serialization.Schema<serializers.payerPlanGroups.v1.PayerPlanGroupSortField.Raw, CandidApi.payerPlanGroups.v1.PayerPlanGroupSortField>;
8
+ export declare namespace PayerPlanGroupSortField {
9
+ type Raw = "plan_group_name" | "plan_type" | "created_at";
10
+ }
@@ -0,0 +1,41 @@
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.PayerPlanGroupSortField = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.PayerPlanGroupSortField = core.serialization.enum_(["plan_group_name", "plan_type", "created_at"]);
@@ -0,0 +1,5 @@
1
+ export * from "./MutablePayerPlanGroup";
2
+ export * from "./PayerPlanGroup";
3
+ export * from "./PayerPlanGroupPage";
4
+ export * from "./PayerPlanGroupSortField";
5
+ export * from "./PayerPlanGroupAlreadyExistsError";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./MutablePayerPlanGroup"), exports);
18
+ __exportStar(require("./PayerPlanGroup"), exports);
19
+ __exportStar(require("./PayerPlanGroupPage"), exports);
20
+ __exportStar(require("./PayerPlanGroupSortField"), exports);
21
+ __exportStar(require("./PayerPlanGroupAlreadyExistsError"), 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.4";
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.4";
@@ -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,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.delete.Error.EntityNotFoundError | CandidApi.insurancePayments.v1.delete.Error.UnauthorizedError | CandidApi.insurancePayments.v1.delete.Error.UnprocessableEntityError | CandidApi.insurancePayments.v1.delete.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.delete.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.delete.Error.EntityNotFoundError;
36
- readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.delete.Error.UnauthorizedError;
37
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.insurancePayments.v1.delete.Error.UnprocessableEntityError;
38
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.delete.Error._Unknown;
39
- readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.delete.Error, visitor: CandidApi.insurancePayments.v1.delete.Error._Visitor<_Result>) => _Result;
40
- };
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../../../index";
5
- /**
6
- * @example
7
- * {
8
- * paymentTimestamp: "2024-01-15T09:30:00Z",
9
- * paymentNote: {
10
- * type: "set",
11
- * value: "string"
12
- * }
13
- * }
14
- */
15
- export interface InsurancePaymentUpdate {
16
- paymentTimestamp?: Date;
17
- paymentNote?: CandidApi.NoteUpdate;
18
- }
@@ -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.update.Error.EntityNotFoundError | CandidApi.insurancePayments.v1.update.Error.UnauthorizedError | CandidApi.insurancePayments.v1.update.Error.UnprocessableEntityError | CandidApi.insurancePayments.v1.update.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.update.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.update.Error.EntityNotFoundError;
36
- readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.update.Error.UnauthorizedError;
37
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.insurancePayments.v1.update.Error.UnprocessableEntityError;
38
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.update.Error._Unknown;
39
- readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.update.Error, visitor: CandidApi.insurancePayments.v1.update.Error._Visitor<_Result>) => _Result;
40
- };
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../../index";
5
- export interface InsurancePaymentCreate {
6
- payerIdentifier: CandidApi.payers.v3.PayerIdentifier;
7
- amountCents: number;
8
- paymentTimestamp?: Date;
9
- paymentNote?: string;
10
- allocations: CandidApi.AllocationCreate[];
11
- }
@@ -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
- };