candidhealth 1.17.0 → 1.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +36 -41
  3. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
  4. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
  5. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
  6. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
  7. package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
  8. package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
  9. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
  10. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
  11. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  12. package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  13. package/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
  14. package/api/resources/encounters/resources/v4/client/Client.js +19 -0
  15. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  16. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  17. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  18. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  19. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
  20. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
  21. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
  22. package/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
  23. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  24. package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  25. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  26. package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  27. package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
  28. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
  29. package/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
  30. package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
  31. package/api/resources/index.d.ts +1 -1
  32. package/api/resources/index.js +2 -2
  33. package/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  34. package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
  35. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
  36. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
  37. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
  38. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
  39. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
  40. package/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  41. package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/types/index.js +4 -4
  42. package/dist/Client.d.ts +0 -3
  43. package/dist/Client.js +36 -41
  44. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
  45. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
  46. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
  47. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
  48. package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
  49. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
  50. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
  51. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
  52. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  53. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  54. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
  55. package/dist/api/resources/encounters/resources/v4/client/Client.js +19 -0
  56. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  57. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  58. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  59. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  60. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
  61. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
  62. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
  63. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
  64. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  65. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  66. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  67. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  68. package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
  69. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
  70. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
  71. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
  72. package/dist/api/resources/index.d.ts +1 -1
  73. package/dist/api/resources/index.js +2 -2
  74. package/dist/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  75. package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
  76. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
  77. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
  78. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
  79. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
  80. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
  81. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
  82. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
  83. package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  84. package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  85. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  86. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  87. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  88. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  89. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
  90. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
  91. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  92. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  93. package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
  94. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
  95. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
  96. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
  97. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
  98. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
  99. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
  100. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
  101. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  102. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  103. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  104. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  105. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  106. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  107. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
  108. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
  109. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
  110. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
  111. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  112. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  113. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  114. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  115. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  116. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  117. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  118. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  119. package/dist/serialization/resources/index.d.ts +1 -1
  120. package/dist/serialization/resources/index.js +2 -2
  121. package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
  122. package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.js +0 -1
  123. package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  124. package/{serialization/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
  125. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
  126. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
  127. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
  128. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +7 -8
  129. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
  130. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
  131. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
  132. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
  133. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  134. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  135. package/dist/version.d.ts +1 -1
  136. package/dist/version.js +1 -1
  137. package/package.json +1 -1
  138. package/reference.md +48 -129
  139. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  140. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  141. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  142. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  143. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
  144. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
  145. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  146. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  147. package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
  148. package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
  149. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
  150. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
  151. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
  152. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
  153. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
  154. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
  155. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  156. package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  157. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  158. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  159. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  160. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  161. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
  162. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
  163. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
  164. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
  165. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  166. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  167. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  168. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  169. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  170. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  171. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  172. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  173. package/serialization/resources/index.d.ts +1 -1
  174. package/serialization/resources/index.js +2 -2
  175. package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
  176. package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.js +0 -1
  177. package/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  178. package/{dist/serialization/resources/insurancePayments → serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
  179. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
  180. package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
  181. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
  182. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
  183. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
  184. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
  185. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
  186. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
  187. package/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  188. package/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  189. package/version.d.ts +1 -1
  190. package/version.js +1 -1
  191. package/api/resources/insurancePayments/client/Client.d.ts +0 -14
  192. package/api/resources/insurancePayments/client/Client.js +0 -15
  193. package/api/resources/insurancePayments/client/index.d.ts +0 -1
  194. package/api/resources/insurancePayments/client/index.js +0 -2
  195. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
  196. package/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
  197. package/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
  198. package/api/resources/insurancePayments/resources/v1/client/get.js +0 -77
  199. package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
  200. package/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
  201. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  202. package/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
  203. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
  204. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  205. package/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
  206. package/api/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  207. package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
  208. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
  209. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +0 -7
  210. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
  211. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
  212. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
  213. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  214. package/dist/api/resources/insurancePayments/client/Client.d.ts +0 -14
  215. package/dist/api/resources/insurancePayments/client/Client.js +0 -15
  216. package/dist/api/resources/insurancePayments/client/index.d.ts +0 -1
  217. package/dist/api/resources/insurancePayments/client/index.js +0 -2
  218. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
  219. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
  220. package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
  221. package/dist/api/resources/insurancePayments/resources/v1/client/get.js +0 -77
  222. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
  223. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
  224. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  225. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
  226. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
  227. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  228. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
  229. package/dist/api/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  230. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
  231. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
  232. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +0 -7
  233. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
  234. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
  235. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
  236. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  237. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -20
  238. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +0 -17
  239. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
  240. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
  241. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
  242. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
  243. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
  244. package/dist/serialization/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  245. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
  246. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +0 -49
  247. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
  248. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
  249. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
  250. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  251. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
  252. package/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +0 -17
  253. package/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
  254. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
  255. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
  256. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
  257. package/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
  258. package/serialization/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  259. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
  260. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +0 -49
  261. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
  262. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
  263. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
  264. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +0 -45
  265. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  266. package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
  267. /package/api/resources/{insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +0 -0
  268. /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.d.ts +0 -0
  269. /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.js +0 -0
  270. /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  271. /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  272. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +0 -0
  273. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js} +0 -0
  274. /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js} +0 -0
  275. /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +0 -0
  276. /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.d.ts +0 -0
  277. /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.js +0 -0
  278. /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  279. /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  280. /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +0 -0
  281. /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  282. /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  283. /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  284. /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
package/Client.d.ts CHANGED
@@ -20,7 +20,6 @@ import { Guarantor } from "./api/resources/guarantor/client/Client";
20
20
  import { HealthCareCodeInformation } from "./api/resources/healthCareCodeInformation/client/Client";
21
21
  import { ImportInvoice } from "./api/resources/importInvoice/client/Client";
22
22
  import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
23
- import { InsurancePayments } from "./api/resources/insurancePayments/client/Client";
24
23
  import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
25
24
  import { MedicationDispense } from "./api/resources/medicationDispense/client/Client";
26
25
  import { NonInsurancePayerPayments } from "./api/resources/nonInsurancePayerPayments/client/Client";
@@ -72,7 +71,6 @@ export declare class CandidApiClient {
72
71
  protected _healthCareCodeInformation: HealthCareCodeInformation | undefined;
73
72
  protected _importInvoice: ImportInvoice | undefined;
74
73
  protected _insuranceAdjudications: InsuranceAdjudications | undefined;
75
- protected _insurancePayments: InsurancePayments | undefined;
76
74
  protected _insuranceRefunds: InsuranceRefunds | undefined;
77
75
  protected _medicationDispense: MedicationDispense | undefined;
78
76
  protected _nonInsurancePayerPayments: NonInsurancePayerPayments | undefined;
@@ -113,7 +111,6 @@ export declare class CandidApiClient {
113
111
  get healthCareCodeInformation(): HealthCareCodeInformation;
114
112
  get importInvoice(): ImportInvoice;
115
113
  get insuranceAdjudications(): InsuranceAdjudications;
116
- get insurancePayments(): InsurancePayments;
117
114
  get insuranceRefunds(): InsuranceRefunds;
118
115
  get medicationDispense(): MedicationDispense;
119
116
  get nonInsurancePayerPayments(): NonInsurancePayerPayments;
package/Client.js CHANGED
@@ -67,24 +67,23 @@ const Client_20 = require("./api/resources/guarantor/client/Client");
67
67
  const Client_21 = require("./api/resources/healthCareCodeInformation/client/Client");
68
68
  const Client_22 = require("./api/resources/importInvoice/client/Client");
69
69
  const Client_23 = require("./api/resources/insuranceAdjudications/client/Client");
70
- const Client_24 = require("./api/resources/insurancePayments/client/Client");
71
- const Client_25 = require("./api/resources/insuranceRefunds/client/Client");
72
- const Client_26 = require("./api/resources/medicationDispense/client/Client");
73
- const Client_27 = require("./api/resources/nonInsurancePayerPayments/client/Client");
74
- const Client_28 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
75
- const Client_29 = require("./api/resources/nonInsurancePayers/client/Client");
76
- const Client_30 = require("./api/resources/organizationProviders/client/Client");
77
- const Client_31 = require("./api/resources/organizationServiceFacilities/client/Client");
78
- const Client_32 = require("./api/resources/patientAr/client/Client");
79
- const Client_33 = require("./api/resources/patientPayments/client/Client");
80
- const Client_34 = require("./api/resources/patientRefunds/client/Client");
81
- const Client_35 = require("./api/resources/payerPlanGroups/client/Client");
82
- const Client_36 = require("./api/resources/payers/client/Client");
83
- const Client_37 = require("./api/resources/preEncounter/client/Client");
84
- const Client_38 = require("./api/resources/serviceLines/client/Client");
85
- const Client_39 = require("./api/resources/superbills/client/Client");
86
- const Client_40 = require("./api/resources/tasks/client/Client");
87
- const Client_41 = require("./api/resources/writeOffs/client/Client");
70
+ const Client_24 = require("./api/resources/insuranceRefunds/client/Client");
71
+ const Client_25 = require("./api/resources/medicationDispense/client/Client");
72
+ const Client_26 = require("./api/resources/nonInsurancePayerPayments/client/Client");
73
+ const Client_27 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
74
+ const Client_28 = require("./api/resources/nonInsurancePayers/client/Client");
75
+ const Client_29 = require("./api/resources/organizationProviders/client/Client");
76
+ const Client_30 = require("./api/resources/organizationServiceFacilities/client/Client");
77
+ const Client_31 = require("./api/resources/patientAr/client/Client");
78
+ const Client_32 = require("./api/resources/patientPayments/client/Client");
79
+ const Client_33 = require("./api/resources/patientRefunds/client/Client");
80
+ const Client_34 = require("./api/resources/payerPlanGroups/client/Client");
81
+ const Client_35 = require("./api/resources/payers/client/Client");
82
+ const Client_36 = require("./api/resources/preEncounter/client/Client");
83
+ const Client_37 = require("./api/resources/serviceLines/client/Client");
84
+ const Client_38 = require("./api/resources/superbills/client/Client");
85
+ const Client_39 = require("./api/resources/tasks/client/Client");
86
+ const Client_40 = require("./api/resources/writeOffs/client/Client");
88
87
  const core = __importStar(require("./core"));
89
88
  const headers_1 = require("./core/headers");
90
89
  class CandidApiClient {
@@ -92,8 +91,8 @@ class CandidApiClient {
92
91
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
93
92
  "X-Fern-Language": "JavaScript",
94
93
  "X-Fern-SDK-Name": "candidhealth",
95
- "X-Fern-SDK-Version": "1.17.0",
96
- "User-Agent": "candidhealth/1.17.0",
94
+ "X-Fern-SDK-Version": "1.17.1",
95
+ "User-Agent": "candidhealth/1.17.1",
97
96
  "X-Fern-Runtime": core.RUNTIME.type,
98
97
  "X-Fern-Runtime-Version": core.RUNTIME.version,
99
98
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -187,77 +186,73 @@ class CandidApiClient {
187
186
  var _a;
188
187
  return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_23.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
189
188
  }
190
- get insurancePayments() {
191
- var _a;
192
- return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_24.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
193
- }
194
189
  get insuranceRefunds() {
195
190
  var _a;
196
- return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_25.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
191
+ return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_24.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
197
192
  }
198
193
  get medicationDispense() {
199
194
  var _a;
200
- return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_26.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
195
+ return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_25.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
201
196
  }
202
197
  get nonInsurancePayerPayments() {
203
198
  var _a;
204
- return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_27.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
199
+ return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_26.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
205
200
  }
206
201
  get nonInsurancePayerRefunds() {
207
202
  var _a;
208
- return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_28.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
203
+ return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_27.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
209
204
  }
210
205
  get nonInsurancePayers() {
211
206
  var _a;
212
- return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_29.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
207
+ return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_28.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
213
208
  }
214
209
  get organizationProviders() {
215
210
  var _a;
216
- return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_30.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
211
+ return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_29.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
217
212
  }
218
213
  get organizationServiceFacilities() {
219
214
  var _a;
220
- return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_31.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
215
+ return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_30.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
221
216
  }
222
217
  get patientAr() {
223
218
  var _a;
224
- return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_32.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
219
+ return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_31.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
225
220
  }
226
221
  get patientPayments() {
227
222
  var _a;
228
- return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_33.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
223
+ return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_32.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
229
224
  }
230
225
  get patientRefunds() {
231
226
  var _a;
232
- return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_34.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
227
+ return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_33.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
233
228
  }
234
229
  get payerPlanGroups() {
235
230
  var _a;
236
- return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_35.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
231
+ return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_34.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
237
232
  }
238
233
  get payers() {
239
234
  var _a;
240
- return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_36.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
235
+ return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_35.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
241
236
  }
242
237
  get serviceLines() {
243
238
  var _a;
244
- return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_38.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
239
+ return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_37.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
245
240
  }
246
241
  get superbills() {
247
242
  var _a;
248
- return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_39.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
243
+ return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_38.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
249
244
  }
250
245
  get tasks() {
251
246
  var _a;
252
- return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_40.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
247
+ return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_39.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
253
248
  }
254
249
  get writeOffs() {
255
250
  var _a;
256
- return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_41.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
251
+ return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_40.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
257
252
  }
258
253
  get preEncounter() {
259
254
  var _a;
260
- return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_37.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
255
+ return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_36.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
261
256
  }
262
257
  get diagnoses() {
263
258
  var _a;
@@ -20,4 +20,10 @@ export interface BillingProvider extends CandidApi.encounterProviders.v2.Encount
20
20
  * Provider Commercial Number
21
21
  */
22
22
  providerCommercialLicenseType?: CandidApi.BillingProviderCommercialLicenseType;
23
+ /**
24
+ * Only one of provider_commercial_license_type or secondary_identification may be provided
25
+ * 837i Loop2010BB G2
26
+ * Secondary Identification
27
+ */
28
+ secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
23
29
  }
@@ -20,4 +20,10 @@ export interface BillingProviderUpdate extends CandidApi.encounterProviders.v2.E
20
20
  * Provider Commercial Number
21
21
  */
22
22
  providerCommercialLicenseType?: CandidApi.BillingProviderCommercialLicenseType;
23
+ /**
24
+ * Only one of provider_commercial_license_type or secondary_identification may be provided
25
+ * 837i Loop2010BB G2
26
+ * Secondary Identification
27
+ */
28
+ secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
23
29
  }
@@ -21,4 +21,10 @@ export interface BillingProviderUpdateWithOptionalAddress extends CandidApi.enco
21
21
  * Provider Commercial Number
22
22
  */
23
23
  providerCommercialLicenseType?: CandidApi.BillingProviderCommercialLicenseType;
24
+ /**
25
+ * Only one of provider_commercial_license_type or secondary_identification may be provided
26
+ * 837i Loop2010BB G2
27
+ * Secondary Identification
28
+ */
29
+ secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
24
30
  }
@@ -31,4 +31,10 @@ export interface EncounterProvider extends CandidApi.encounterProviders.v2.Encou
31
31
  * Provider Commercial Number
32
32
  */
33
33
  providerCommercialLicenseType?: CandidApi.BillingProviderCommercialLicenseType;
34
+ /**
35
+ * Only one of provider_commercial_license_type or secondary_identification may be provided
36
+ * 837i Loop2010BB G2
37
+ * Secondary Identification
38
+ */
39
+ secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
34
40
  }
@@ -0,0 +1,4 @@
1
+ export interface ProviderSecondaryIdentification {
2
+ /** Value cannot exceed 50 characters */
3
+ referenceIdentification: string;
4
+ }
@@ -7,4 +7,10 @@ export interface RenderingProvider extends CandidApi.encounterProviders.v2.Encou
7
7
  npi: string;
8
8
  taxonomyCode?: string;
9
9
  address?: CandidApi.StreetAddressLongZip;
10
+ /**
11
+ * Only one of provider_commercial_license_type or secondary_identification may be provided
12
+ * 837i Loop2310BB G2
13
+ * Secondary Identification
14
+ */
15
+ secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
10
16
  }
@@ -7,4 +7,10 @@ export interface RenderingProviderUpdate extends CandidApi.encounterProviders.v2
7
7
  npi?: string;
8
8
  taxonomyCode?: string;
9
9
  address?: CandidApi.StreetAddressLongZip;
10
+ /**
11
+ * Only one of provider_commercial_license_type or secondary_identification may be provided
12
+ * 837i Loop2310BB G2
13
+ * Secondary Identification
14
+ */
15
+ secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
10
16
  }
@@ -7,4 +7,10 @@ export interface RenderingProviderUpdateWithOptionalAddress extends CandidApi.en
7
7
  npi?: string;
8
8
  taxonomyCode?: string;
9
9
  address?: CandidApi.StreetAddressShortZipOptional;
10
+ /**
11
+ * Only one of provider_commercial_license_type or secondary_identification may be provided
12
+ * 837i Loop2310BB G2
13
+ * Secondary Identification
14
+ */
15
+ secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
10
16
  }
@@ -10,6 +10,7 @@ export * from "./OrderingProvider";
10
10
  export * from "./OrderingProviderOptional";
11
11
  export * from "./OrderingProviderUpdate";
12
12
  export * from "./ProviderId";
13
+ export * from "./ProviderSecondaryIdentification";
13
14
  export * from "./ReferringProvider";
14
15
  export * from "./ReferringProviderUpdate";
15
16
  export * from "./ReferringProviderUpdateWithOptionalAddress";
@@ -26,6 +26,7 @@ __exportStar(require("./OrderingProvider"), exports);
26
26
  __exportStar(require("./OrderingProviderOptional"), exports);
27
27
  __exportStar(require("./OrderingProviderUpdate"), exports);
28
28
  __exportStar(require("./ProviderId"), exports);
29
+ __exportStar(require("./ProviderSecondaryIdentification"), exports);
29
30
  __exportStar(require("./ReferringProvider"), exports);
30
31
  __exportStar(require("./ReferringProviderUpdate"), exports);
31
32
  __exportStar(require("./ReferringProviderUpdateWithOptionalAddress"), exports);
@@ -41,6 +41,11 @@ export declare class V4 {
41
41
  get(encounterId: CandidApi.EncounterId, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.get.Error>>;
42
42
  private __get;
43
43
  /**
44
+ * Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
45
+ * No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
46
+ * in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
47
+ * express, written consent of AHA.
48
+ *
44
49
  * @param {CandidApi.encountersUniversal.UniversalEncounterCreate} request
45
50
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
46
51
  *
@@ -150,6 +155,11 @@ export declare class V4 {
150
155
  * Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
151
156
  * encounter has not already been submitted or adjudicated.
152
157
  *
158
+ * Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
159
+ * No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
160
+ * in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
161
+ * express, written consent of AHA.
162
+ *
153
163
  * @param {CandidApi.encountersUniversal.UniversalEncounterCreateFromPreEncounter} request
154
164
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
155
165
  *
@@ -235,6 +245,11 @@ export declare class V4 {
235
245
  createFromPreEncounterPatient(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>>;
236
246
  private __createFromPreEncounterPatient;
237
247
  /**
248
+ * Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
249
+ * No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
250
+ * in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
251
+ * express, written consent of AHA.
252
+ *
238
253
  * @param {CandidApi.EncounterId} encounterId
239
254
  * @param {CandidApi.encountersUniversal.UniversalEncounterUpdate} request
240
255
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
@@ -224,6 +224,11 @@ class V4 {
224
224
  });
225
225
  }
226
226
  /**
227
+ * Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
228
+ * No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
229
+ * in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
230
+ * express, written consent of AHA.
231
+ *
227
232
  * @param {CandidApi.encountersUniversal.UniversalEncounterCreate} request
228
233
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
229
234
  *
@@ -309,6 +314,7 @@ class V4 {
309
314
  case "HttpRequestValidationsError":
310
315
  case "CashPayPayerError":
311
316
  case "SchemaInstanceValidationHttpFailure":
317
+ case "UnprocessableEntityError":
312
318
  case "InvalidTagNamesError":
313
319
  case "HttpRequestValidationError":
314
320
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
@@ -432,6 +438,7 @@ class V4 {
432
438
  case "HttpRequestValidationsError":
433
439
  case "CashPayPayerError":
434
440
  case "SchemaInstanceValidationHttpFailure":
441
+ case "UnprocessableEntityError":
435
442
  case "InvalidTagNamesError":
436
443
  case "HttpRequestValidationError":
437
444
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
@@ -479,6 +486,11 @@ class V4 {
479
486
  * Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
480
487
  * encounter has not already been submitted or adjudicated.
481
488
  *
489
+ * Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
490
+ * No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
491
+ * in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
492
+ * express, written consent of AHA.
493
+ *
482
494
  * @param {CandidApi.encountersUniversal.UniversalEncounterCreateFromPreEncounter} request
483
495
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
484
496
  *
@@ -550,6 +562,7 @@ class V4 {
550
562
  case "UnauthorizedError":
551
563
  case "HttpRequestValidationsError":
552
564
  case "SchemaInstanceValidationHttpFailure":
565
+ case "UnprocessableEntityError":
553
566
  case "HttpRequestValidationError":
554
567
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
555
568
  return {
@@ -677,6 +690,7 @@ class V4 {
677
690
  case "UnauthorizedError":
678
691
  case "HttpRequestValidationsError":
679
692
  case "SchemaInstanceValidationHttpFailure":
693
+ case "UnprocessableEntityError":
680
694
  case "HttpRequestValidationError":
681
695
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
682
696
  return {
@@ -706,6 +720,11 @@ class V4 {
706
720
  });
707
721
  }
708
722
  /**
723
+ * Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
724
+ * No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
725
+ * in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
726
+ * express, written consent of AHA.
727
+ *
709
728
  * @param {CandidApi.EncounterId} encounterId
710
729
  * @param {CandidApi.encountersUniversal.UniversalEncounterUpdate} request
711
730
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
@@ -1,6 +1,6 @@
1
1
  import type * as core from "../../../../../../core";
2
2
  import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.UnauthorizedError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error.InvalidTagNamesError | CandidApi.encounters.v4.create.Error.HttpRequestValidationError | CandidApi.encounters.v4.create.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.create.Error.EncounterRenderingOrAttendingProviderRequired | CandidApi.encounters.v4.create.Error._Unknown;
3
+ export type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.UnauthorizedError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error.UnprocessableEntityError | CandidApi.encounters.v4.create.Error.InvalidTagNamesError | CandidApi.encounters.v4.create.Error.HttpRequestValidationError | CandidApi.encounters.v4.create.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.create.Error.EncounterRenderingOrAttendingProviderRequired | CandidApi.encounters.v4.create.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface EncounterExternalIdUniquenessError extends _Utils {
6
6
  errorName: "EncounterExternalIdUniquenessError";
@@ -34,6 +34,10 @@ export declare namespace Error {
34
34
  errorName: "SchemaInstanceValidationHttpFailure";
35
35
  content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
36
36
  }
37
+ interface UnprocessableEntityError extends _Utils {
38
+ errorName: "UnprocessableEntityError";
39
+ content: CandidApi.UnprocessableEntityErrorMessage;
40
+ }
37
41
  interface InvalidTagNamesError extends _Utils {
38
42
  errorName: "InvalidTagNamesError";
39
43
  content: CandidApi.encounters.v4.InvalidTagNamesErrorType;
@@ -66,6 +70,7 @@ export declare namespace Error {
66
70
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
67
71
  cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => _Result;
68
72
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
73
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
69
74
  invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => _Result;
70
75
  httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
71
76
  payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
@@ -82,6 +87,7 @@ export declare const Error: {
82
87
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.create.Error.HttpRequestValidationsError;
83
88
  readonly cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => CandidApi.encounters.v4.create.Error.CashPayPayerError;
84
89
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure;
90
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.create.Error.UnprocessableEntityError;
85
91
  readonly invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => CandidApi.encounters.v4.create.Error.InvalidTagNamesError;
86
92
  readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.create.Error.HttpRequestValidationError;
87
93
  readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.create.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
@@ -109,6 +109,15 @@ exports.Error = {
109
109
  },
110
110
  };
111
111
  },
112
+ unprocessableEntityError: (value) => {
113
+ return {
114
+ content: value,
115
+ errorName: "UnprocessableEntityError",
116
+ _visit: function (visitor) {
117
+ return CandidApi.encounters.v4.create.Error._visit(this, visitor);
118
+ },
119
+ };
120
+ },
112
121
  invalidTagNamesError: (value) => {
113
122
  return {
114
123
  content: value,
@@ -172,6 +181,8 @@ exports.Error = {
172
181
  return visitor.cashPayPayerError(value.content);
173
182
  case "SchemaInstanceValidationHttpFailure":
174
183
  return visitor.schemaInstanceValidationHttpFailure(value.content);
184
+ case "UnprocessableEntityError":
185
+ return visitor.unprocessableEntityError(value.content);
175
186
  case "InvalidTagNamesError":
176
187
  return visitor.invalidTagNamesError(value.content);
177
188
  case "HttpRequestValidationError":
@@ -1,6 +1,6 @@
1
1
  import type * as core from "../../../../../../core";
2
2
  import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
3
+ export type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnprocessableEntityError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface EncounterExternalIdUniquenessError extends _Utils {
6
6
  errorName: "EncounterExternalIdUniquenessError";
@@ -26,6 +26,10 @@ export declare namespace Error {
26
26
  errorName: "SchemaInstanceValidationHttpFailure";
27
27
  content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
28
28
  }
29
+ interface UnprocessableEntityError extends _Utils {
30
+ errorName: "UnprocessableEntityError";
31
+ content: CandidApi.UnprocessableEntityErrorMessage;
32
+ }
29
33
  interface HttpRequestValidationError extends _Utils {
30
34
  errorName: "HttpRequestValidationError";
31
35
  content: CandidApi.RequestValidationError;
@@ -48,6 +52,7 @@ export declare namespace Error {
48
52
  unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
49
53
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
50
54
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
55
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
51
56
  httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
52
57
  payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
53
58
  _other: (value: core.Fetcher.Error) => _Result;
@@ -60,6 +65,7 @@ export declare const Error: {
60
65
  readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnauthorizedError;
61
66
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError;
62
67
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure;
68
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnprocessableEntityError;
63
69
  readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError;
64
70
  readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
65
71
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
@@ -91,6 +91,15 @@ exports.Error = {
91
91
  },
92
92
  };
93
93
  },
94
+ unprocessableEntityError: (value) => {
95
+ return {
96
+ content: value,
97
+ errorName: "UnprocessableEntityError",
98
+ _visit: function (visitor) {
99
+ return CandidApi.encounters.v4.createFromPreEncounterPatient.Error._visit(this, visitor);
100
+ },
101
+ };
102
+ },
94
103
  httpRequestValidationError: (value) => {
95
104
  return {
96
105
  content: value,
@@ -132,6 +141,8 @@ exports.Error = {
132
141
  return visitor.httpRequestValidationsError(value.content);
133
142
  case "SchemaInstanceValidationHttpFailure":
134
143
  return visitor.schemaInstanceValidationHttpFailure(value.content);
144
+ case "UnprocessableEntityError":
145
+ return visitor.unprocessableEntityError(value.content);
135
146
  case "HttpRequestValidationError":
136
147
  return visitor.httpRequestValidationError(value.content);
137
148
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
@@ -1,6 +1,6 @@
1
1
  import type * as core from "../../../../../../core";
2
2
  import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._Unknown;
3
+ export type Error = CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnprocessableEntityError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface EncounterExternalIdUniquenessError extends _Utils {
6
6
  errorName: "EncounterExternalIdUniquenessError";
@@ -26,6 +26,10 @@ export declare namespace Error {
26
26
  errorName: "SchemaInstanceValidationHttpFailure";
27
27
  content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
28
28
  }
29
+ interface UnprocessableEntityError extends _Utils {
30
+ errorName: "UnprocessableEntityError";
31
+ content: CandidApi.UnprocessableEntityErrorMessage;
32
+ }
29
33
  interface HttpRequestValidationError extends _Utils {
30
34
  errorName: "HttpRequestValidationError";
31
35
  content: CandidApi.RequestValidationError;
@@ -48,6 +52,7 @@ export declare namespace Error {
48
52
  unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
49
53
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
50
54
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
55
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
51
56
  httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
52
57
  payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
53
58
  _other: (value: core.Fetcher.Error) => _Result;
@@ -60,6 +65,7 @@ export declare const Error: {
60
65
  readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnauthorizedError;
61
66
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationsError;
62
67
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.SchemaInstanceValidationHttpFailure;
68
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnprocessableEntityError;
63
69
  readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationError;
64
70
  readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
65
71
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._Unknown;
@@ -91,6 +91,15 @@ exports.Error = {
91
91
  },
92
92
  };
93
93
  },
94
+ unprocessableEntityError: (value) => {
95
+ return {
96
+ content: value,
97
+ errorName: "UnprocessableEntityError",
98
+ _visit: function (visitor) {
99
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._visit(this, visitor);
100
+ },
101
+ };
102
+ },
94
103
  httpRequestValidationError: (value) => {
95
104
  return {
96
105
  content: value,
@@ -132,6 +141,8 @@ exports.Error = {
132
141
  return visitor.httpRequestValidationsError(value.content);
133
142
  case "SchemaInstanceValidationHttpFailure":
134
143
  return visitor.schemaInstanceValidationHttpFailure(value.content);
144
+ case "UnprocessableEntityError":
145
+ return visitor.unprocessableEntityError(value.content);
135
146
  case "HttpRequestValidationError":
136
147
  return visitor.httpRequestValidationError(value.content);
137
148
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":