candidhealth 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (468) hide show
  1. package/README.md +1 -0
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  3. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  4. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  5. package/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  6. package/api/resources/claims/types/ClaimStatus.js +1 -0
  7. package/api/resources/commons/types/SortDirection.d.ts +12 -0
  8. package/api/resources/commons/types/SortDirection.js +10 -0
  9. package/api/resources/commons/types/TaxId.d.ts +8 -0
  10. package/api/resources/commons/types/TaxId.js +10 -0
  11. package/api/resources/commons/types/index.d.ts +2 -0
  12. package/api/resources/commons/types/index.js +2 -0
  13. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  14. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  15. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  16. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  17. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
  18. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  19. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
  20. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  21. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  22. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  23. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  24. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  25. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  26. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  27. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  28. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  29. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  30. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  31. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  32. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  33. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  34. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  35. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  36. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  37. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  38. package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  39. package/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  40. package/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  41. package/api/resources/financials/types/PatientTransactionSource.js +15 -0
  42. package/api/resources/financials/types/index.d.ts +1 -0
  43. package/api/resources/financials/types/index.js +1 -0
  44. package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  45. package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  46. package/api/resources/index.d.ts +1 -0
  47. package/api/resources/index.js +2 -1
  48. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  49. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  50. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  51. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  52. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  53. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  54. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  55. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  56. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  57. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  58. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  59. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  60. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -3
  61. package/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
  62. package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  63. package/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  64. package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  65. package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  66. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
  67. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
  68. package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  69. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  70. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  71. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  72. package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  73. package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +5 -0
  74. package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  75. package/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  76. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -3
  77. package/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
  78. package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  79. package/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
  80. package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  81. package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  82. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
  83. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
  84. package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  85. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  86. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  87. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  88. package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  89. package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +5 -0
  90. package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  91. package/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  92. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  93. package/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  94. package/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  95. package/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  96. package/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  97. package/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  98. package/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  99. package/api/resources/payers/resources/v3/types/index.d.ts +3 -0
  100. package/api/resources/payers/resources/v3/types/index.js +3 -0
  101. package/api/resources/remits/index.d.ts +1 -0
  102. package/api/resources/remits/index.js +17 -0
  103. package/api/resources/remits/resources/index.d.ts +1 -0
  104. package/api/resources/remits/resources/index.js +27 -0
  105. package/api/resources/remits/resources/v1/index.d.ts +1 -0
  106. package/api/resources/remits/resources/v1/index.js +17 -0
  107. package/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  108. package/api/resources/remits/resources/v1/types/Payee.js +5 -0
  109. package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  110. package/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -0
  111. package/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  112. package/api/resources/remits/resources/v1/types/index.js +18 -0
  113. package/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
  114. package/api/resources/tasks/resources/v3/client/Client.js +5 -25
  115. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -4
  116. package/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
  117. package/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  118. package/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
  119. package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  120. package/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  121. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  122. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js +5 -0
  123. package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  124. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  125. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  126. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  127. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  128. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  129. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  130. package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  131. package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.js +5 -0
  132. package/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  133. package/api/resources/writeOffs/resources/v1/types/index.js +3 -0
  134. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  135. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  136. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  137. package/dist/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  138. package/dist/api/resources/claims/types/ClaimStatus.js +1 -0
  139. package/dist/api/resources/commons/types/SortDirection.d.ts +12 -0
  140. package/dist/api/resources/commons/types/SortDirection.js +10 -0
  141. package/dist/api/resources/commons/types/TaxId.d.ts +8 -0
  142. package/dist/api/resources/commons/types/TaxId.js +10 -0
  143. package/dist/api/resources/commons/types/index.d.ts +2 -0
  144. package/dist/api/resources/commons/types/index.js +2 -0
  145. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  146. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  147. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  148. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  149. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
  150. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  151. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
  152. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  153. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  154. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  155. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  156. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  157. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  158. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  159. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  160. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  161. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  162. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  163. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  164. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  165. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  166. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  167. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  168. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  169. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  170. package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  171. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  172. package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  173. package/dist/api/resources/financials/types/PatientTransactionSource.js +15 -0
  174. package/dist/api/resources/financials/types/index.d.ts +1 -0
  175. package/dist/api/resources/financials/types/index.js +1 -0
  176. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  177. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  178. package/dist/api/resources/index.d.ts +1 -0
  179. package/dist/api/resources/index.js +2 -1
  180. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  181. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  182. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  183. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  184. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  185. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  186. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  187. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  188. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  189. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  190. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  191. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  192. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -3
  193. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
  194. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  195. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  196. package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  197. package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  198. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
  199. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
  200. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  201. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  202. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  203. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  204. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  205. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +5 -0
  206. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  207. package/dist/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  208. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -3
  209. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
  210. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  211. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
  212. package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  213. package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  214. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
  215. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
  216. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  217. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  218. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  219. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  220. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  221. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +5 -0
  222. package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  223. package/dist/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  224. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  225. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  226. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  227. package/dist/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  228. package/dist/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  229. package/dist/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  230. package/dist/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  231. package/dist/api/resources/payers/resources/v3/types/index.d.ts +3 -0
  232. package/dist/api/resources/payers/resources/v3/types/index.js +3 -0
  233. package/dist/api/resources/remits/index.d.ts +1 -0
  234. package/dist/api/resources/remits/index.js +17 -0
  235. package/dist/api/resources/remits/resources/index.d.ts +1 -0
  236. package/dist/api/resources/remits/resources/index.js +27 -0
  237. package/dist/api/resources/remits/resources/v1/index.d.ts +1 -0
  238. package/dist/api/resources/remits/resources/v1/index.js +17 -0
  239. package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  240. package/dist/api/resources/remits/resources/v1/types/Payee.js +5 -0
  241. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  242. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -0
  243. package/dist/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  244. package/dist/api/resources/remits/resources/v1/types/index.js +18 -0
  245. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
  246. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -25
  247. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -4
  248. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
  249. package/dist/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  250. package/dist/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
  251. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  252. package/dist/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  253. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  254. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js +5 -0
  255. package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  256. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  257. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  258. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  259. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  260. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  261. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  262. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  263. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.js +5 -0
  264. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  265. package/dist/api/resources/writeOffs/resources/v1/types/index.js +3 -0
  266. package/dist/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  267. package/dist/serialization/resources/claims/types/ClaimStatus.js +1 -0
  268. package/dist/serialization/resources/commons/types/SortDirection.d.ts +10 -0
  269. package/dist/serialization/resources/commons/types/SortDirection.js +31 -0
  270. package/dist/serialization/resources/commons/types/TaxId.d.ts +10 -0
  271. package/dist/serialization/resources/commons/types/TaxId.js +37 -0
  272. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  273. package/dist/serialization/resources/commons/types/index.js +2 -0
  274. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  275. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  276. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  277. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  278. package/dist/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  279. package/dist/serialization/resources/{writeOffs/resources/v1/client/create.js → encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -2
  280. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  281. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  282. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  283. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  284. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  285. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  286. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  287. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  288. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  289. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  290. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  291. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  292. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  293. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  294. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  295. package/dist/serialization/resources/financials/types/AllocationTarget.js +1 -0
  296. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  297. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  298. package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  299. package/dist/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  300. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  301. package/dist/serialization/resources/financials/types/index.js +1 -0
  302. package/dist/serialization/resources/index.d.ts +1 -0
  303. package/dist/serialization/resources/index.js +2 -1
  304. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  305. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
  306. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  307. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  308. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  309. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
  310. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  311. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
  312. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  313. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
  314. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  315. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
  316. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  317. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  318. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  319. package/{serialization/resources/writeOffs/resources/v1/client/create.js → dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js} +2 -2
  320. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  321. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  322. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  323. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  324. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  325. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  326. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  327. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
  328. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  329. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
  330. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  331. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  332. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  333. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  334. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  335. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  336. package/dist/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  337. package/dist/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  338. package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
  339. package/dist/serialization/resources/payers/resources/v3/types/index.js +3 -0
  340. package/dist/serialization/resources/remits/index.d.ts +1 -0
  341. package/dist/serialization/resources/remits/index.js +17 -0
  342. package/dist/serialization/resources/remits/resources/index.d.ts +1 -0
  343. package/dist/serialization/resources/remits/resources/index.js +27 -0
  344. package/dist/serialization/resources/remits/resources/v1/index.d.ts +1 -0
  345. package/dist/serialization/resources/remits/resources/v1/index.js +17 -0
  346. package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  347. package/dist/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
  348. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  349. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
  350. package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  351. package/dist/serialization/resources/remits/resources/v1/types/index.js +18 -0
  352. package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  353. package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  354. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  355. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  356. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  357. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  358. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  359. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  360. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  361. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
  362. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  363. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
  364. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  365. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +3 -0
  366. package/package.json +1 -1
  367. package/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  368. package/serialization/resources/claims/types/ClaimStatus.js +1 -0
  369. package/serialization/resources/commons/types/SortDirection.d.ts +10 -0
  370. package/serialization/resources/commons/types/SortDirection.js +31 -0
  371. package/serialization/resources/commons/types/TaxId.d.ts +10 -0
  372. package/serialization/resources/commons/types/TaxId.js +37 -0
  373. package/serialization/resources/commons/types/index.d.ts +2 -0
  374. package/serialization/resources/commons/types/index.js +2 -0
  375. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  376. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  377. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  378. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  379. package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  380. package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +31 -0
  381. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  382. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  383. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  384. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  385. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  386. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  387. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  388. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  389. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  390. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  391. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  392. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  393. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  394. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  395. package/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  396. package/serialization/resources/financials/types/AllocationTarget.js +1 -0
  397. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  398. package/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  399. package/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  400. package/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  401. package/serialization/resources/financials/types/index.d.ts +1 -0
  402. package/serialization/resources/financials/types/index.js +1 -0
  403. package/serialization/resources/index.d.ts +1 -0
  404. package/serialization/resources/index.js +2 -1
  405. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  406. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
  407. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  408. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  409. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  410. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
  411. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  412. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
  413. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  414. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
  415. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  416. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
  417. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  418. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  419. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  420. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
  421. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  422. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  423. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  424. package/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  425. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  426. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  427. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  428. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
  429. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  430. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
  431. package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  432. package/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  433. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  434. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  435. package/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  436. package/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  437. package/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  438. package/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  439. package/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
  440. package/serialization/resources/payers/resources/v3/types/index.js +3 -0
  441. package/serialization/resources/remits/index.d.ts +1 -0
  442. package/serialization/resources/remits/index.js +17 -0
  443. package/serialization/resources/remits/resources/index.d.ts +1 -0
  444. package/serialization/resources/remits/resources/index.js +27 -0
  445. package/serialization/resources/remits/resources/v1/index.d.ts +1 -0
  446. package/serialization/resources/remits/resources/v1/index.js +17 -0
  447. package/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  448. package/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
  449. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  450. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
  451. package/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  452. package/serialization/resources/remits/resources/v1/types/index.js +18 -0
  453. package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  454. package/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  455. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  456. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  457. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  458. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  459. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  460. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  461. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  462. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
  463. package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  464. package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
  465. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  466. package/serialization/resources/writeOffs/resources/v1/types/index.js +3 -0
  467. package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
  468. package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface Payee {
6
+ payeeName: string;
7
+ payeeIdentifier: CandidApi.remits.v1.PayeeIdentifier;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export declare type PayeeIdentifier = CandidApi.remits.v1.PayeeIdentifier.Npi | CandidApi.remits.v1.PayeeIdentifier.Tin | CandidApi.remits.v1.PayeeIdentifier.CmsPlanId;
6
+ export declare namespace PayeeIdentifier {
7
+ interface Npi {
8
+ type: "npi";
9
+ value: CandidApi.Npi;
10
+ }
11
+ interface Tin {
12
+ type: "tin";
13
+ value: CandidApi.TaxId;
14
+ }
15
+ interface CmsPlanId {
16
+ type: "cms_plan_id";
17
+ value: string;
18
+ }
19
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./PayeeIdentifier";
2
+ export * from "./Payee";
@@ -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("./PayeeIdentifier"), exports);
18
+ __exportStar(require("./Payee"), exports);
@@ -13,30 +13,10 @@ export declare namespace V3 {
13
13
  export declare class V3 {
14
14
  protected readonly options: V3.Options;
15
15
  constructor(options: V3.Options);
16
- /**
17
- * **This endpoint is incubating.**
18
- *
19
- */
20
16
  getActions(taskId: CandidApi.TaskId): Promise<core.APIResponse<CandidApi.tasks.v3.TaskActions, CandidApi.tasks.v3.getActions.Error>>;
21
- /**
22
- * **This endpoint is incubating.**
23
- *
24
- */
25
17
  getMulti(request?: CandidApi.tasks.v3.GetAllTasksRequest): Promise<core.APIResponse<CandidApi.tasks.v3.TaskPage, CandidApi.tasks.v3.getMulti.Error>>;
26
- /**
27
- * **This endpoint is incubating.**
28
- *
29
- */
30
18
  get(taskId: CandidApi.TaskId): Promise<core.APIResponse<CandidApi.tasks.v3.Task, CandidApi.tasks.v3.get.Error>>;
31
- /**
32
- * **This endpoint is incubating.**
33
- *
34
- */
35
19
  create(request: CandidApi.tasks.v3.TaskCreateV3): Promise<core.APIResponse<CandidApi.tasks.v3.Task, CandidApi.tasks.v3.create.Error>>;
36
- /**
37
- * **This endpoint is incubating.**
38
- *
39
- */
40
20
  update(taskId: CandidApi.TaskId, request: CandidApi.tasks.v3.TaskUpdateV3): Promise<core.APIResponse<CandidApi.tasks.v3.Task, CandidApi.tasks.v3.update.Error>>;
41
21
  protected _getAuthorizationHeader(): Promise<string | undefined>;
42
22
  }
@@ -41,10 +41,6 @@ class V3 {
41
41
  constructor(options) {
42
42
  this.options = options;
43
43
  }
44
- /**
45
- * **This endpoint is incubating.**
46
- *
47
- */
48
44
  async getActions(taskId) {
49
45
  const _response = await core.fetcher({
50
46
  url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}/actions`),
@@ -53,7 +49,7 @@ class V3 {
53
49
  Authorization: await this._getAuthorizationHeader(),
54
50
  "X-Fern-Language": "JavaScript",
55
51
  "X-Fern-SDK-Name": "candidhealth",
56
- "X-Fern-SDK-Version": "0.10.0",
52
+ "X-Fern-SDK-Version": "0.11.0",
57
53
  },
58
54
  contentType: "application/json",
59
55
  timeoutMs: 60000,
@@ -74,10 +70,6 @@ class V3 {
74
70
  error: CandidApi.tasks.v3.getActions.Error._unknown(_response.error),
75
71
  };
76
72
  }
77
- /**
78
- * **This endpoint is incubating.**
79
- *
80
- */
81
73
  async getMulti(request = {}) {
82
74
  const { limit, pageToken, status, taskType, categories, updatedSince, encounterId, searchTerm, assignedToId, dateOfServiceMin, dateOfServiceMax, billingProviderNpi, sort, } = request;
83
75
  const _queryParams = new url_search_params_1.default();
@@ -127,7 +119,7 @@ class V3 {
127
119
  Authorization: await this._getAuthorizationHeader(),
128
120
  "X-Fern-Language": "JavaScript",
129
121
  "X-Fern-SDK-Name": "candidhealth",
130
- "X-Fern-SDK-Version": "0.10.0",
122
+ "X-Fern-SDK-Version": "0.11.0",
131
123
  },
132
124
  contentType: "application/json",
133
125
  queryParameters: _queryParams,
@@ -163,10 +155,6 @@ class V3 {
163
155
  error: CandidApi.tasks.v3.getMulti.Error._unknown(_response.error),
164
156
  };
165
157
  }
166
- /**
167
- * **This endpoint is incubating.**
168
- *
169
- */
170
158
  async get(taskId) {
171
159
  const _response = await core.fetcher({
172
160
  url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}`),
@@ -175,7 +163,7 @@ class V3 {
175
163
  Authorization: await this._getAuthorizationHeader(),
176
164
  "X-Fern-Language": "JavaScript",
177
165
  "X-Fern-SDK-Name": "candidhealth",
178
- "X-Fern-SDK-Version": "0.10.0",
166
+ "X-Fern-SDK-Version": "0.11.0",
179
167
  },
180
168
  contentType: "application/json",
181
169
  timeoutMs: 60000,
@@ -211,10 +199,6 @@ class V3 {
211
199
  error: CandidApi.tasks.v3.get.Error._unknown(_response.error),
212
200
  };
213
201
  }
214
- /**
215
- * **This endpoint is incubating.**
216
- *
217
- */
218
202
  async create(request) {
219
203
  const _response = await core.fetcher({
220
204
  url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/tasks/v3"),
@@ -223,7 +207,7 @@ class V3 {
223
207
  Authorization: await this._getAuthorizationHeader(),
224
208
  "X-Fern-Language": "JavaScript",
225
209
  "X-Fern-SDK-Name": "candidhealth",
226
- "X-Fern-SDK-Version": "0.10.0",
210
+ "X-Fern-SDK-Version": "0.11.0",
227
211
  },
228
212
  contentType: "application/json",
229
213
  body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -245,10 +229,6 @@ class V3 {
245
229
  error: CandidApi.tasks.v3.create.Error._unknown(_response.error),
246
230
  };
247
231
  }
248
- /**
249
- * **This endpoint is incubating.**
250
- *
251
- */
252
232
  async update(taskId, request) {
253
233
  const _response = await core.fetcher({
254
234
  url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}`),
@@ -257,7 +237,7 @@ class V3 {
257
237
  Authorization: await this._getAuthorizationHeader(),
258
238
  "X-Fern-Language": "JavaScript",
259
239
  "X-Fern-SDK-Name": "candidhealth",
260
- "X-Fern-SDK-Version": "0.10.0",
240
+ "X-Fern-SDK-Version": "0.11.0",
261
241
  },
262
242
  contentType: "application/json",
263
243
  body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -14,21 +14,24 @@ export declare class V1 {
14
14
  protected readonly options: V1.Options;
15
15
  constructor(options: V1.Options);
16
16
  /**
17
- * **This endpoint is incubating.**
17
+ * Returns all write-offs satisfying the search criteria AND whose organization_id matches
18
+ * the current organization_id of the authenticated user.
19
+ *
20
+ */
21
+ getMulti(request?: CandidApi.writeOffs.v1.GetMultiWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOffsPage, CandidApi.writeOffs.v1.getMulti.Error>>;
22
+ /**
18
23
  * Retrieves a previously created write off by its `write_off_id`.
19
24
  *
20
25
  */
21
26
  get(writeOffId: CandidApi.writeOffs.v1.WriteOffId): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.get.Error>>;
22
27
  /**
23
- * **This endpoint is incubating.**
24
28
  * Creates one or many write-offs given a specific set of allocations.
25
29
  * The allocations can describe whether the refund is being applied toward a specific service line,
26
30
  * claim, or billing provider.
27
31
  *
28
32
  */
29
- create(request: CandidApi.writeOffs.v1.CreateWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff[], CandidApi.writeOffs.v1.create.Error>>;
33
+ create(request: CandidApi.writeOffs.v1.CreateWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.CreateWriteOffsResponse, CandidApi.writeOffs.v1.create.Error>>;
30
34
  /**
31
- * **This endpoint is incubating.**
32
35
  * Reverts a write off given a `write_off_id`.
33
36
  *
34
37
  */
@@ -33,15 +33,70 @@ exports.V1 = void 0;
33
33
  const environments = __importStar(require("../../../../../../environments"));
34
34
  const core = __importStar(require("../../../../../../core"));
35
35
  const CandidApi = __importStar(require("../../../../.."));
36
- const serializers = __importStar(require("../../../../../../serialization"));
36
+ const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
37
37
  const url_join_1 = __importDefault(require("url-join"));
38
+ const serializers = __importStar(require("../../../../../../serialization"));
38
39
  class V1 {
39
40
  options;
40
41
  constructor(options) {
41
42
  this.options = options;
42
43
  }
43
44
  /**
44
- * **This endpoint is incubating.**
45
+ * Returns all write-offs satisfying the search criteria AND whose organization_id matches
46
+ * the current organization_id of the authenticated user.
47
+ *
48
+ */
49
+ async getMulti(request = {}) {
50
+ const { limit, patientExternalId, serviceLineId, sort, sortDirection, pageToken } = request;
51
+ const _queryParams = new url_search_params_1.default();
52
+ if (limit != null) {
53
+ _queryParams.append("limit", limit.toString());
54
+ }
55
+ if (patientExternalId != null) {
56
+ _queryParams.append("patient_external_id", patientExternalId);
57
+ }
58
+ if (serviceLineId != null) {
59
+ _queryParams.append("service_line_id", serviceLineId);
60
+ }
61
+ if (sort != null) {
62
+ _queryParams.append("sort", sort);
63
+ }
64
+ if (sortDirection != null) {
65
+ _queryParams.append("sort_direction", sortDirection);
66
+ }
67
+ if (pageToken != null) {
68
+ _queryParams.append("page_token", pageToken);
69
+ }
70
+ const _response = await core.fetcher({
71
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/write-offs/v1"),
72
+ method: "GET",
73
+ headers: {
74
+ Authorization: await this._getAuthorizationHeader(),
75
+ "X-Fern-Language": "JavaScript",
76
+ "X-Fern-SDK-Name": "candidhealth",
77
+ "X-Fern-SDK-Version": "0.11.0",
78
+ },
79
+ contentType: "application/json",
80
+ queryParameters: _queryParams,
81
+ timeoutMs: 60000,
82
+ });
83
+ if (_response.ok) {
84
+ return {
85
+ ok: true,
86
+ body: await serializers.writeOffs.v1.WriteOffsPage.parseOrThrow(_response.body, {
87
+ unrecognizedObjectKeys: "passthrough",
88
+ allowUnrecognizedUnionMembers: true,
89
+ allowUnrecognizedEnumValues: true,
90
+ breadcrumbsPrefix: ["response"],
91
+ }),
92
+ };
93
+ }
94
+ return {
95
+ ok: false,
96
+ error: CandidApi.writeOffs.v1.getMulti.Error._unknown(_response.error),
97
+ };
98
+ }
99
+ /**
45
100
  * Retrieves a previously created write off by its `write_off_id`.
46
101
  *
47
102
  */
@@ -53,7 +108,7 @@ class V1 {
53
108
  Authorization: await this._getAuthorizationHeader(),
54
109
  "X-Fern-Language": "JavaScript",
55
110
  "X-Fern-SDK-Name": "candidhealth",
56
- "X-Fern-SDK-Version": "0.10.0",
111
+ "X-Fern-SDK-Version": "0.11.0",
57
112
  },
58
113
  contentType: "application/json",
59
114
  timeoutMs: 60000,
@@ -75,7 +130,6 @@ class V1 {
75
130
  };
76
131
  }
77
132
  /**
78
- * **This endpoint is incubating.**
79
133
  * Creates one or many write-offs given a specific set of allocations.
80
134
  * The allocations can describe whether the refund is being applied toward a specific service line,
81
135
  * claim, or billing provider.
@@ -89,7 +143,7 @@ class V1 {
89
143
  Authorization: await this._getAuthorizationHeader(),
90
144
  "X-Fern-Language": "JavaScript",
91
145
  "X-Fern-SDK-Name": "candidhealth",
92
- "X-Fern-SDK-Version": "0.10.0",
146
+ "X-Fern-SDK-Version": "0.11.0",
93
147
  },
94
148
  contentType: "application/json",
95
149
  body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -100,7 +154,7 @@ class V1 {
100
154
  if (_response.ok) {
101
155
  return {
102
156
  ok: true,
103
- body: await serializers.writeOffs.v1.create.Response.parseOrThrow(_response.body, {
157
+ body: await serializers.writeOffs.v1.CreateWriteOffsResponse.parseOrThrow(_response.body, {
104
158
  unrecognizedObjectKeys: "passthrough",
105
159
  allowUnrecognizedUnionMembers: true,
106
160
  allowUnrecognizedEnumValues: true,
@@ -114,7 +168,6 @@ class V1 {
114
168
  };
115
169
  }
116
170
  /**
117
- * **This endpoint is incubating.**
118
171
  * Reverts a write off given a `write_off_id`.
119
172
  *
120
173
  */
@@ -126,7 +179,7 @@ class V1 {
126
179
  Authorization: await this._getAuthorizationHeader(),
127
180
  "X-Fern-Language": "JavaScript",
128
181
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.10.0",
182
+ "X-Fern-SDK-Version": "0.11.0",
130
183
  },
131
184
  contentType: "application/json",
132
185
  timeoutMs: 60000,
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.writeOffs.v1.getMulti.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface _Unknown extends _Utils {
9
+ errorName: void;
10
+ content: core.Fetcher.Error;
11
+ }
12
+ interface _Utils {
13
+ _visit: <_Result>(visitor: CandidApi.writeOffs.v1.getMulti.Error._Visitor<_Result>) => _Result;
14
+ }
15
+ interface _Visitor<_Result> {
16
+ _other: (value: core.Fetcher.Error) => _Result;
17
+ }
18
+ }
19
+ export declare const Error: {
20
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.writeOffs.v1.getMulti.Error._Unknown;
21
+ readonly _visit: <_Result>(value: CandidApi.writeOffs.v1.getMulti.Error, visitor: CandidApi.writeOffs.v1.getMulti.Error._Visitor<_Result>) => _Result;
22
+ };
@@ -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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ _unknown: (fetcherError) => {
33
+ return {
34
+ errorName: undefined,
35
+ content: fetcherError,
36
+ _visit: function (visitor) {
37
+ return CandidApi.writeOffs.v1.getMulti.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ _visit: (value, visitor) => {
42
+ switch (value.errorName) {
43
+ default:
44
+ return visitor._other(value);
45
+ }
46
+ },
47
+ };
@@ -1,4 +1,5 @@
1
1
  export * from "./requests";
2
+ export * as getMulti from "./getMulti";
2
3
  export * as get from "./get";
3
4
  export * as create from "./create";
4
5
  export * as revert from "./revert";
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.revert = exports.create = exports.get = void 0;
29
+ exports.revert = exports.create = exports.get = exports.getMulti = void 0;
30
30
  __exportStar(require("./requests"), exports);
31
+ exports.getMulti = __importStar(require("./getMulti"));
31
32
  exports.get = __importStar(require("./get"));
32
33
  exports.create = __importStar(require("./create"));
33
34
  exports.revert = __importStar(require("./revert"));
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../..";
5
+ export interface GetMultiWriteOffsRequest {
6
+ /**
7
+ * Defaults to 100. The value must be greater than 0 and less than 1000.
8
+ */
9
+ limit?: number;
10
+ patientExternalId?: CandidApi.PatientExternalId;
11
+ serviceLineId?: CandidApi.ServiceLineId;
12
+ /**
13
+ * Defaults to write_off_timestamp
14
+ */
15
+ sort?: CandidApi.writeOffs.v1.WriteOffSortField;
16
+ /**
17
+ * Sort direction. Defaults to descending order if not provided.
18
+ */
19
+ sortDirection?: CandidApi.SortDirection;
20
+ pageToken?: CandidApi.PageToken;
21
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
+ export { GetMultiWriteOffsRequest } from "./GetMultiWriteOffsRequest";
1
2
  export { CreateWriteOffsRequest } from "./CreateWriteOffsRequest";
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface CreateWriteOffsResponse {
6
+ writeOffs: CandidApi.writeOffs.v1.WriteOff[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,5 +7,6 @@ export interface WriteOff {
7
7
  writeOffTimestamp: Date;
8
8
  writeOffNote?: string;
9
9
  writeOffReason: CandidApi.writeOffs.v1.WriteOffReason;
10
- allocation: CandidApi.Allocation;
10
+ serviceLineId: CandidApi.ServiceLineId;
11
+ amountCents: number;
11
12
  }
@@ -6,5 +6,6 @@ export interface WriteOffCreate {
6
6
  writeOffTimestamp: Date;
7
7
  writeOffNote?: string;
8
8
  writeOffReason: CandidApi.writeOffs.v1.WriteOffReason;
9
- allocation: CandidApi.AllocationCreate;
9
+ serviceLineId: CandidApi.ServiceLineId;
10
+ amountCents: number;
10
11
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type WriteOffSortField = "amount_cents" | "write_off_timestamp" | "write_off_note" | "write_off_reason";
5
+ export declare const WriteOffSortField: {
6
+ readonly AmountCents: "amount_cents";
7
+ readonly WriteOffTimestamp: "write_off_timestamp";
8
+ readonly WriteOffNote: "write_off_note";
9
+ readonly WriteOffReason: "write_off_reason";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WriteOffSortField = void 0;
7
+ exports.WriteOffSortField = {
8
+ AmountCents: "amount_cents",
9
+ WriteOffTimestamp: "write_off_timestamp",
10
+ WriteOffNote: "write_off_note",
11
+ WriteOffReason: "write_off_reason",
12
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface WriteOffsPage extends CandidApi.ResourcePage {
6
+ items: CandidApi.writeOffs.v1.WriteOff[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,3 +2,6 @@ export * from "./WriteOffId";
2
2
  export * from "./WriteOff";
3
3
  export * from "./WriteOffCreate";
4
4
  export * from "./WriteOffReason";
5
+ export * from "./CreateWriteOffsResponse";
6
+ export * from "./WriteOffsPage";
7
+ export * from "./WriteOffSortField";
@@ -18,3 +18,6 @@ __exportStar(require("./WriteOffId"), exports);
18
18
  __exportStar(require("./WriteOff"), exports);
19
19
  __exportStar(require("./WriteOffCreate"), exports);
20
20
  __exportStar(require("./WriteOffReason"), exports);
21
+ __exportStar(require("./CreateWriteOffsResponse"), exports);
22
+ __exportStar(require("./WriteOffsPage"), exports);
23
+ __exportStar(require("./WriteOffSortField"), exports);
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../api";
6
6
  import * as core from "../../../../core";
7
7
  export declare const ClaimStatus: core.serialization.Schema<serializers.ClaimStatus.Raw, CandidApi.ClaimStatus>;
8
8
  export declare namespace ClaimStatus {
9
- type Raw = "biller_received" | "coded" | "submitted_to_payer" | "missing_information" | "not_billable" | "waiting_for_provider" | "era_received" | "rejected" | "denied" | "paid" | "paid_incorrectly" | "finalized_paid" | "finalized_denied" | "held_by_customer";
9
+ type Raw = "biller_received" | "coded" | "submitted_to_payer" | "missing_information" | "not_billable" | "waiting_for_provider" | "era_received" | "rejected" | "denied" | "paid" | "paid_incorrectly" | "finalized_paid" | "finalized_denied" | "held_by_customer" | "era_requires_review";
10
10
  }
@@ -43,4 +43,5 @@ exports.ClaimStatus = core.serialization.enum_([
43
43
  "finalized_paid",
44
44
  "finalized_denied",
45
45
  "held_by_customer",
46
+ "era_requires_review",
46
47
  ]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as CandidApi from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const SortDirection: core.serialization.Schema<serializers.SortDirection.Raw, CandidApi.SortDirection>;
8
+ export declare namespace SortDirection {
9
+ type Raw = "asc" | "desc";
10
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SortDirection = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.SortDirection = core.serialization.enum_(["asc", "desc"]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as CandidApi from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const TaxId: core.serialization.Schema<serializers.TaxId.Raw, CandidApi.TaxId>;
8
+ export declare namespace TaxId {
9
+ type Raw = string;
10
+ }