candidhealth 0.12.1 → 0.14.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 (647) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +33 -28
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +6 -2
  6. package/api/resources/commons/types/RegionNational.d.ts +5 -0
  7. package/api/resources/commons/types/RegionStates.d.ts +7 -0
  8. package/api/resources/commons/types/Regions.d.ts +13 -0
  9. package/api/resources/commons/types/index.d.ts +3 -0
  10. package/api/resources/commons/types/index.js +3 -0
  11. package/api/resources/contracts/client/Client.d.ts +18 -0
  12. package/api/resources/contracts/client/Client.js +18 -0
  13. package/api/resources/contracts/client/index.d.ts +1 -0
  14. package/api/resources/contracts/client/index.js +2 -0
  15. package/api/resources/contracts/index.d.ts +2 -1
  16. package/api/resources/contracts/index.js +2 -1
  17. package/api/resources/contracts/resources/index.d.ts +1 -0
  18. package/api/resources/contracts/resources/index.js +27 -0
  19. package/api/resources/contracts/resources/v2/client/Client.d.ts +25 -0
  20. package/api/resources/contracts/resources/v2/client/Client.js +274 -0
  21. package/api/resources/contracts/resources/v2/client/create.d.ts +22 -0
  22. package/api/resources/contracts/resources/v2/client/create.js +47 -0
  23. package/api/resources/contracts/resources/v2/client/delete.d.ts +22 -0
  24. package/api/resources/contracts/resources/v2/client/delete.js +47 -0
  25. package/api/resources/contracts/resources/v2/client/get.d.ts +28 -0
  26. package/api/resources/contracts/resources/v2/client/get.js +58 -0
  27. package/api/resources/contracts/resources/v2/client/getMulti.d.ts +22 -0
  28. package/api/resources/contracts/resources/v2/client/getMulti.js +47 -0
  29. package/api/resources/contracts/resources/v2/client/index.d.ts +6 -0
  30. package/api/resources/contracts/resources/v2/client/index.js +35 -0
  31. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +17 -0
  32. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +28 -0
  33. package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -0
  34. package/api/resources/contracts/resources/v2/client/requests/index.d.ts +3 -0
  35. package/api/resources/contracts/resources/v2/client/requests/index.js +2 -0
  36. package/api/resources/contracts/resources/v2/client/update.d.ts +28 -0
  37. package/api/resources/contracts/resources/v2/client/update.js +58 -0
  38. package/api/resources/contracts/resources/v2/index.d.ts +2 -0
  39. package/api/resources/contracts/resources/v2/index.js +18 -0
  40. package/api/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +11 -0
  41. package/api/resources/contracts/resources/v2/types/AuthorizedSignatory.js +5 -0
  42. package/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +13 -0
  43. package/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +5 -0
  44. package/api/resources/contracts/resources/v2/types/Contract.d.ts +13 -0
  45. package/api/resources/contracts/resources/v2/types/Contract.js +5 -0
  46. package/api/resources/contracts/resources/v2/types/ContractBase.d.ts +33 -0
  47. package/api/resources/contracts/resources/v2/types/ContractBase.js +5 -0
  48. package/api/resources/contracts/resources/v2/types/ContractId.d.ts +8 -0
  49. package/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +22 -0
  50. package/api/resources/contracts/resources/v2/types/ContractStatus.js +11 -0
  51. package/api/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +8 -0
  52. package/api/resources/contracts/resources/v2/types/ContractWithProviders.js +5 -0
  53. package/api/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +8 -0
  54. package/api/resources/contracts/resources/v2/types/ContractingProviderId.js +10 -0
  55. package/api/resources/contracts/resources/v2/types/ContractsPage.d.ts +7 -0
  56. package/api/resources/contracts/resources/v2/types/ContractsPage.js +5 -0
  57. package/api/resources/contracts/resources/v2/types/DateUpdate.d.ts +14 -0
  58. package/api/resources/contracts/resources/v2/types/DateUpdate.js +5 -0
  59. package/api/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +17 -0
  60. package/api/resources/contracts/resources/v2/types/InsuranceTypes.js +5 -0
  61. package/api/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +14 -0
  62. package/api/resources/contracts/resources/v2/types/RegionsUpdate.js +5 -0
  63. package/api/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +8 -0
  64. package/api/resources/contracts/resources/v2/types/RenderingProviderid.js +10 -0
  65. package/api/resources/contracts/resources/v2/types/index.d.ts +13 -0
  66. package/{dist/serialization/resources/contracts → api/resources/contracts/resources/v2}/types/index.js +12 -0
  67. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  68. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  69. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  70. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
  71. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  72. package/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
  73. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  74. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  75. package/api/resources/financials/types/AccountType.d.ts +8 -0
  76. package/api/resources/financials/types/AccountType.js +10 -0
  77. package/api/resources/financials/types/AllocationAmountUpdate.d.ts +8 -0
  78. package/api/resources/financials/types/AllocationAmountUpdate.js +5 -0
  79. package/api/resources/financials/types/InvoiceUpdate.d.ts +14 -0
  80. package/api/resources/financials/types/InvoiceUpdate.js +5 -0
  81. package/api/resources/financials/types/NoteUpdate.d.ts +14 -0
  82. package/api/resources/financials/types/NoteUpdate.js +5 -0
  83. package/api/resources/financials/types/RefundReasonUpdate.d.ts +14 -0
  84. package/api/resources/financials/types/RefundReasonUpdate.js +5 -0
  85. package/api/resources/financials/types/index.d.ts +5 -0
  86. package/api/resources/financials/types/index.js +5 -0
  87. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  88. package/api/resources/index.d.ts +2 -4
  89. package/api/resources/index.js +3 -5
  90. package/api/resources/individual/types/Subscriber.d.ts +2 -2
  91. package/api/resources/individual/types/SubscriberCreate.d.ts +1 -1
  92. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  93. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
  94. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
  95. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  96. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  97. package/api/resources/insuranceCards/index.d.ts +1 -0
  98. package/api/resources/insuranceCards/index.js +17 -0
  99. package/api/resources/insuranceCards/resources/index.d.ts +1 -0
  100. package/api/resources/insuranceCards/resources/index.js +27 -0
  101. package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.d.ts +4 -4
  102. package/api/resources/insuranceCards/resources/v2/types/InsuranceCard.js +5 -0
  103. package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +1 -1
  104. package/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +5 -0
  105. package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +2 -2
  106. package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreate.js +5 -0
  107. package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardId.d.ts +3 -3
  108. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
  109. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +41 -4
  110. package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
  111. package/api/resources/insuranceRefunds/resources/v1/client/index.js +2 -1
  112. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +12 -0
  113. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +5 -0
  114. package/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  115. package/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
  116. package/api/resources/insuranceRefunds/resources/v1/client/update.js +47 -0
  117. package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +8 -0
  118. package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +10 -0
  119. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
  120. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
  121. package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +14 -0
  122. package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +5 -0
  123. package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +38 -0
  124. package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +5 -0
  125. package/api/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
  126. package/api/resources/organizationProviders/resources/v2/types/index.js +3 -0
  127. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  128. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  129. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +5 -0
  130. package/api/resources/patientPayments/resources/v4/client/Client.js +40 -4
  131. package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  132. package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  133. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +11 -0
  134. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +5 -0
  135. package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  136. package/api/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
  137. package/api/resources/patientPayments/resources/v4/client/update.js +47 -0
  138. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +5 -0
  139. package/api/resources/patientRefunds/resources/v1/client/Client.js +40 -4
  140. package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  141. package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  142. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +12 -0
  143. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +5 -0
  144. package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  145. package/api/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
  146. package/api/resources/patientRefunds/resources/v1/client/update.js +47 -0
  147. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  148. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  149. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -2
  150. package/api/resources/writeOffs/resources/v1/client/Client.js +25 -7
  151. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +7 -0
  152. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +13 -0
  153. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +5 -0
  154. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +12 -0
  155. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +5 -0
  156. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +19 -0
  157. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +5 -0
  158. package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +12 -0
  159. package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.js +5 -0
  160. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +11 -0
  161. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +5 -0
  162. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +8 -7
  163. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +8 -6
  164. package/api/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
  165. package/api/resources/writeOffs/resources/v1/types/index.js +5 -0
  166. package/dist/Client.d.ts +3 -0
  167. package/dist/Client.js +33 -28
  168. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  169. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  170. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +6 -2
  171. package/dist/api/resources/commons/types/RegionNational.d.ts +5 -0
  172. package/dist/api/resources/commons/types/RegionNational.js +5 -0
  173. package/dist/api/resources/commons/types/RegionStates.d.ts +7 -0
  174. package/dist/api/resources/commons/types/RegionStates.js +5 -0
  175. package/dist/api/resources/commons/types/Regions.d.ts +13 -0
  176. package/dist/api/resources/commons/types/Regions.js +5 -0
  177. package/dist/api/resources/commons/types/index.d.ts +3 -0
  178. package/dist/api/resources/commons/types/index.js +3 -0
  179. package/dist/api/resources/contracts/client/Client.d.ts +18 -0
  180. package/dist/api/resources/contracts/client/Client.js +18 -0
  181. package/dist/api/resources/contracts/client/index.d.ts +1 -0
  182. package/dist/api/resources/contracts/client/index.js +2 -0
  183. package/dist/api/resources/contracts/index.d.ts +2 -1
  184. package/dist/api/resources/contracts/index.js +2 -1
  185. package/dist/api/resources/contracts/resources/index.d.ts +1 -0
  186. package/dist/api/resources/contracts/resources/index.js +27 -0
  187. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +25 -0
  188. package/dist/api/resources/contracts/resources/v2/client/Client.js +274 -0
  189. package/dist/api/resources/contracts/resources/v2/client/create.d.ts +22 -0
  190. package/dist/api/resources/contracts/resources/v2/client/create.js +47 -0
  191. package/dist/api/resources/contracts/resources/v2/client/delete.d.ts +22 -0
  192. package/dist/api/resources/contracts/resources/v2/client/delete.js +47 -0
  193. package/dist/api/resources/contracts/resources/v2/client/get.d.ts +28 -0
  194. package/dist/api/resources/contracts/resources/v2/client/get.js +58 -0
  195. package/dist/api/resources/contracts/resources/v2/client/getMulti.d.ts +22 -0
  196. package/dist/api/resources/contracts/resources/v2/client/getMulti.js +47 -0
  197. package/dist/api/resources/contracts/resources/v2/client/index.d.ts +6 -0
  198. package/dist/api/resources/contracts/resources/v2/client/index.js +35 -0
  199. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +17 -0
  200. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.js +5 -0
  201. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +28 -0
  202. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.js +5 -0
  203. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -0
  204. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js +5 -0
  205. package/dist/api/resources/contracts/resources/v2/client/requests/index.d.ts +3 -0
  206. package/dist/api/resources/contracts/resources/v2/client/requests/index.js +2 -0
  207. package/dist/api/resources/contracts/resources/v2/client/update.d.ts +28 -0
  208. package/dist/api/resources/contracts/resources/v2/client/update.js +58 -0
  209. package/dist/api/resources/contracts/resources/v2/index.d.ts +2 -0
  210. package/dist/api/resources/contracts/resources/v2/index.js +18 -0
  211. package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +11 -0
  212. package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatory.js +5 -0
  213. package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +13 -0
  214. package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +5 -0
  215. package/dist/api/resources/contracts/resources/v2/types/Contract.d.ts +13 -0
  216. package/dist/api/resources/contracts/resources/v2/types/Contract.js +5 -0
  217. package/dist/api/resources/contracts/resources/v2/types/ContractBase.d.ts +33 -0
  218. package/dist/api/resources/contracts/resources/v2/types/ContractBase.js +5 -0
  219. package/dist/api/resources/contracts/resources/v2/types/ContractId.d.ts +8 -0
  220. package/dist/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +22 -0
  221. package/dist/api/resources/contracts/resources/v2/types/ContractStatus.js +11 -0
  222. package/dist/api/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +8 -0
  223. package/dist/api/resources/contracts/resources/v2/types/ContractWithProviders.js +5 -0
  224. package/dist/api/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +8 -0
  225. package/dist/api/resources/contracts/resources/v2/types/ContractingProviderId.js +10 -0
  226. package/dist/api/resources/contracts/resources/v2/types/ContractsPage.d.ts +7 -0
  227. package/dist/api/resources/contracts/resources/v2/types/ContractsPage.js +5 -0
  228. package/dist/api/resources/contracts/resources/v2/types/DateUpdate.d.ts +14 -0
  229. package/dist/api/resources/contracts/resources/v2/types/DateUpdate.js +5 -0
  230. package/dist/api/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +17 -0
  231. package/dist/api/resources/contracts/resources/v2/types/InsuranceTypes.js +5 -0
  232. package/dist/api/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +14 -0
  233. package/dist/api/resources/contracts/resources/v2/types/RegionsUpdate.js +5 -0
  234. package/dist/api/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +8 -0
  235. package/dist/api/resources/contracts/resources/v2/types/RenderingProviderid.js +10 -0
  236. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +13 -0
  237. package/{serialization/resources/contracts → dist/api/resources/contracts/resources/v2}/types/index.js +12 -0
  238. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  239. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  240. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  241. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
  242. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  243. package/dist/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
  244. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  245. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  246. package/dist/api/resources/financials/types/AccountType.d.ts +8 -0
  247. package/dist/api/resources/financials/types/AccountType.js +10 -0
  248. package/dist/api/resources/financials/types/AllocationAmountUpdate.d.ts +8 -0
  249. package/dist/api/resources/financials/types/AllocationAmountUpdate.js +5 -0
  250. package/dist/api/resources/financials/types/InvoiceUpdate.d.ts +14 -0
  251. package/dist/api/resources/financials/types/InvoiceUpdate.js +5 -0
  252. package/dist/api/resources/financials/types/NoteUpdate.d.ts +14 -0
  253. package/dist/api/resources/financials/types/NoteUpdate.js +5 -0
  254. package/dist/api/resources/financials/types/RefundReasonUpdate.d.ts +14 -0
  255. package/dist/api/resources/financials/types/RefundReasonUpdate.js +5 -0
  256. package/dist/api/resources/financials/types/index.d.ts +5 -0
  257. package/dist/api/resources/financials/types/index.js +5 -0
  258. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  259. package/dist/api/resources/index.d.ts +2 -4
  260. package/dist/api/resources/index.js +3 -5
  261. package/dist/api/resources/individual/types/Subscriber.d.ts +2 -2
  262. package/dist/api/resources/individual/types/SubscriberCreate.d.ts +1 -1
  263. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  264. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
  265. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
  266. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  267. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  268. package/dist/api/resources/insuranceCards/index.d.ts +1 -0
  269. package/dist/api/resources/insuranceCards/index.js +17 -0
  270. package/dist/api/resources/insuranceCards/resources/index.d.ts +1 -0
  271. package/dist/api/resources/insuranceCards/resources/index.js +27 -0
  272. package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.d.ts +4 -4
  273. package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCard.js +5 -0
  274. package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +1 -1
  275. package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +5 -0
  276. package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +2 -2
  277. package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreate.js +5 -0
  278. package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardId.d.ts +3 -3
  279. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
  280. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +41 -4
  281. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
  282. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +2 -1
  283. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +12 -0
  284. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +5 -0
  285. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  286. package/dist/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
  287. package/dist/api/resources/insuranceRefunds/resources/v1/client/update.js +47 -0
  288. package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +8 -0
  289. package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +10 -0
  290. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
  291. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
  292. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +14 -0
  293. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +5 -0
  294. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +38 -0
  295. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +5 -0
  296. package/dist/api/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
  297. package/dist/api/resources/organizationProviders/resources/v2/types/index.js +3 -0
  298. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  299. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  300. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +5 -0
  301. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +40 -4
  302. package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  303. package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  304. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +11 -0
  305. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +5 -0
  306. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  307. package/dist/api/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
  308. package/dist/api/resources/patientPayments/resources/v4/client/update.js +47 -0
  309. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +5 -0
  310. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +40 -4
  311. package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  312. package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  313. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +12 -0
  314. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +5 -0
  315. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  316. package/dist/api/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
  317. package/dist/api/resources/patientRefunds/resources/v1/client/update.js +47 -0
  318. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  319. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  320. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -2
  321. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +25 -7
  322. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +7 -0
  323. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +13 -0
  324. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +5 -0
  325. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +12 -0
  326. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +5 -0
  327. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +19 -0
  328. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +5 -0
  329. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +12 -0
  330. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.js +5 -0
  331. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +11 -0
  332. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +5 -0
  333. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +8 -7
  334. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +8 -6
  335. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
  336. package/dist/api/resources/writeOffs/resources/v1/types/index.js +5 -0
  337. package/{serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → dist/serialization/resources/commons/types/RegionNational.d.ts} +4 -3
  338. package/dist/serialization/resources/commons/types/RegionNational.js +31 -0
  339. package/dist/serialization/resources/commons/types/RegionStates.d.ts +12 -0
  340. package/dist/serialization/resources/commons/types/RegionStates.js +33 -0
  341. package/dist/serialization/resources/commons/types/Regions.d.ts +16 -0
  342. package/dist/serialization/resources/commons/types/Regions.js +39 -0
  343. package/dist/serialization/resources/commons/types/index.d.ts +3 -0
  344. package/dist/serialization/resources/commons/types/index.js +3 -0
  345. package/dist/serialization/resources/contracts/index.d.ts +1 -1
  346. package/dist/serialization/resources/contracts/index.js +1 -1
  347. package/dist/serialization/resources/contracts/resources/index.d.ts +1 -0
  348. package/dist/serialization/resources/contracts/resources/index.js +27 -0
  349. package/dist/serialization/resources/contracts/resources/v2/client/get.d.ts +14 -0
  350. package/dist/serialization/resources/contracts/resources/v2/client/get.js +46 -0
  351. package/dist/serialization/resources/contracts/resources/v2/client/index.d.ts +3 -0
  352. package/dist/serialization/resources/contracts/resources/v2/client/index.js +32 -0
  353. package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +14 -0
  354. package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.js +37 -0
  355. package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +20 -0
  356. package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.js +47 -0
  357. package/dist/serialization/resources/contracts/resources/v2/client/requests/index.d.ts +2 -0
  358. package/dist/serialization/resources/contracts/resources/v2/client/requests/index.js +7 -0
  359. package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +14 -0
  360. package/dist/serialization/resources/contracts/resources/v2/client/update.js +46 -0
  361. package/dist/serialization/resources/contracts/resources/v2/index.d.ts +2 -0
  362. package/dist/serialization/resources/contracts/resources/v2/index.js +18 -0
  363. package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +17 -0
  364. package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.js +38 -0
  365. package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +16 -0
  366. package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +39 -0
  367. package/dist/serialization/resources/contracts/resources/v2/types/Contract.d.ts +15 -0
  368. package/dist/serialization/resources/contracts/resources/v2/types/Contract.js +38 -0
  369. package/dist/serialization/resources/contracts/resources/v2/types/ContractBase.d.ts +19 -0
  370. package/dist/serialization/resources/contracts/resources/v2/types/ContractBase.js +42 -0
  371. package/dist/serialization/resources/contracts/resources/v2/types/ContractId.d.ts +10 -0
  372. package/dist/serialization/resources/contracts/{types → resources/v2/types}/ContractId.js +3 -3
  373. package/dist/serialization/resources/contracts/resources/v2/types/ContractStatus.d.ts +10 -0
  374. package/dist/serialization/resources/contracts/resources/v2/types/ContractStatus.js +31 -0
  375. package/dist/serialization/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +12 -0
  376. package/dist/serialization/resources/contracts/resources/v2/types/ContractWithProviders.js +35 -0
  377. package/dist/serialization/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +10 -0
  378. package/dist/serialization/resources/contracts/resources/v2/types/ContractingProviderId.js +35 -0
  379. package/dist/serialization/resources/contracts/resources/v2/types/ContractsPage.d.ts +12 -0
  380. package/dist/serialization/resources/contracts/resources/v2/types/ContractsPage.js +35 -0
  381. package/dist/serialization/resources/contracts/resources/v2/types/DateUpdate.d.ts +17 -0
  382. package/dist/serialization/resources/contracts/resources/v2/types/DateUpdate.js +41 -0
  383. package/dist/serialization/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +20 -0
  384. package/dist/serialization/resources/contracts/resources/v2/types/InsuranceTypes.js +42 -0
  385. package/dist/serialization/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +17 -0
  386. package/dist/serialization/resources/contracts/resources/v2/types/RegionsUpdate.js +41 -0
  387. package/dist/serialization/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +10 -0
  388. package/dist/serialization/resources/contracts/resources/v2/types/RenderingProviderid.js +35 -0
  389. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +13 -0
  390. package/dist/{api/resources/contracts → serialization/resources/contracts/resources/v2}/types/index.js +12 -0
  391. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
  392. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +1 -1
  393. package/dist/serialization/resources/{contracts/types/ContractId.d.ts → financials/types/AccountType.d.ts} +3 -3
  394. package/dist/serialization/resources/financials/types/AccountType.js +31 -0
  395. package/dist/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +13 -0
  396. package/dist/serialization/resources/financials/types/AllocationAmountUpdate.js +34 -0
  397. package/dist/serialization/resources/financials/types/InvoiceUpdate.d.ts +17 -0
  398. package/dist/serialization/resources/financials/types/InvoiceUpdate.js +41 -0
  399. package/dist/serialization/resources/financials/types/NoteUpdate.d.ts +17 -0
  400. package/dist/serialization/resources/financials/types/NoteUpdate.js +41 -0
  401. package/dist/serialization/resources/financials/types/RefundReasonUpdate.d.ts +17 -0
  402. package/dist/serialization/resources/financials/types/RefundReasonUpdate.js +41 -0
  403. package/dist/serialization/resources/financials/types/index.d.ts +5 -0
  404. package/dist/serialization/resources/financials/types/index.js +5 -0
  405. package/dist/serialization/resources/index.d.ts +2 -4
  406. package/dist/serialization/resources/index.js +3 -5
  407. package/dist/serialization/resources/individual/types/Subscriber.d.ts +1 -1
  408. package/dist/serialization/resources/individual/types/Subscriber.js +1 -1
  409. package/dist/serialization/resources/individual/types/SubscriberCreate.d.ts +1 -1
  410. package/dist/serialization/resources/individual/types/SubscriberCreate.js +1 -1
  411. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
  412. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -1
  413. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
  414. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -2
  415. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  416. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
  417. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  418. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  419. package/dist/serialization/resources/insuranceCards/index.d.ts +1 -0
  420. package/dist/serialization/resources/insuranceCards/index.js +17 -0
  421. package/dist/serialization/resources/insuranceCards/resources/index.d.ts +1 -0
  422. package/dist/serialization/resources/insuranceCards/resources/index.js +27 -0
  423. package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.d.ts +6 -6
  424. package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.js +3 -3
  425. package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +4 -4
  426. package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.js +3 -3
  427. package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +5 -5
  428. package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.js +3 -3
  429. package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardId.d.ts +10 -0
  430. package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardId.js +3 -3
  431. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
  432. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.js +17 -0
  433. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +17 -0
  434. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +40 -0
  435. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  436. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.js +5 -0
  437. package/dist/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
  438. package/dist/serialization/resources/insuranceRefunds/resources/v1/index.js +1 -0
  439. package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +10 -0
  440. package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +31 -0
  441. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  442. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
  443. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +15 -0
  444. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +38 -0
  445. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +24 -0
  446. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +47 -0
  447. package/dist/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
  448. package/dist/serialization/resources/organizationProviders/resources/v2/types/index.js +3 -0
  449. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +16 -0
  450. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +39 -0
  451. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  452. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.js +3 -1
  453. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +17 -0
  454. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +40 -0
  455. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  456. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +3 -1
  457. package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +1 -1
  458. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +1 -1
  459. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +18 -0
  460. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +39 -0
  461. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +17 -0
  462. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +38 -0
  463. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +22 -0
  464. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +46 -0
  465. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +17 -0
  466. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +38 -0
  467. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +16 -0
  468. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +37 -0
  469. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +7 -8
  470. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +8 -7
  471. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +7 -7
  472. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +8 -6
  473. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +1 -1
  474. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
  475. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +5 -0
  476. package/package.json +1 -1
  477. package/{dist/serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → serialization/resources/commons/types/RegionNational.d.ts} +4 -3
  478. package/serialization/resources/commons/types/RegionNational.js +31 -0
  479. package/serialization/resources/commons/types/RegionStates.d.ts +12 -0
  480. package/serialization/resources/commons/types/RegionStates.js +33 -0
  481. package/serialization/resources/commons/types/Regions.d.ts +16 -0
  482. package/serialization/resources/commons/types/Regions.js +39 -0
  483. package/serialization/resources/commons/types/index.d.ts +3 -0
  484. package/serialization/resources/commons/types/index.js +3 -0
  485. package/serialization/resources/contracts/index.d.ts +1 -1
  486. package/serialization/resources/contracts/index.js +1 -1
  487. package/serialization/resources/contracts/resources/index.d.ts +1 -0
  488. package/serialization/resources/contracts/resources/index.js +27 -0
  489. package/serialization/resources/contracts/resources/v2/client/get.d.ts +14 -0
  490. package/serialization/resources/contracts/resources/v2/client/get.js +46 -0
  491. package/serialization/resources/contracts/resources/v2/client/index.d.ts +3 -0
  492. package/serialization/resources/contracts/resources/v2/client/index.js +32 -0
  493. package/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +14 -0
  494. package/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.js +37 -0
  495. package/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +20 -0
  496. package/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.js +47 -0
  497. package/serialization/resources/contracts/resources/v2/client/requests/index.d.ts +2 -0
  498. package/serialization/resources/contracts/resources/v2/client/requests/index.js +7 -0
  499. package/serialization/resources/contracts/resources/v2/client/update.d.ts +14 -0
  500. package/serialization/resources/contracts/resources/v2/client/update.js +46 -0
  501. package/serialization/resources/contracts/resources/v2/index.d.ts +2 -0
  502. package/serialization/resources/contracts/resources/v2/index.js +18 -0
  503. package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +17 -0
  504. package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.js +38 -0
  505. package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +16 -0
  506. package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +39 -0
  507. package/serialization/resources/contracts/resources/v2/types/Contract.d.ts +15 -0
  508. package/serialization/resources/contracts/resources/v2/types/Contract.js +38 -0
  509. package/serialization/resources/contracts/resources/v2/types/ContractBase.d.ts +19 -0
  510. package/serialization/resources/contracts/resources/v2/types/ContractBase.js +42 -0
  511. package/serialization/resources/contracts/resources/v2/types/ContractId.d.ts +10 -0
  512. package/serialization/resources/contracts/{types → resources/v2/types}/ContractId.js +3 -3
  513. package/serialization/resources/contracts/resources/v2/types/ContractStatus.d.ts +10 -0
  514. package/serialization/resources/contracts/resources/v2/types/ContractStatus.js +31 -0
  515. package/serialization/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +12 -0
  516. package/serialization/resources/contracts/resources/v2/types/ContractWithProviders.js +35 -0
  517. package/serialization/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +10 -0
  518. package/serialization/resources/contracts/resources/v2/types/ContractingProviderId.js +35 -0
  519. package/serialization/resources/contracts/resources/v2/types/ContractsPage.d.ts +12 -0
  520. package/serialization/resources/contracts/resources/v2/types/ContractsPage.js +35 -0
  521. package/serialization/resources/contracts/resources/v2/types/DateUpdate.d.ts +17 -0
  522. package/serialization/resources/contracts/resources/v2/types/DateUpdate.js +41 -0
  523. package/serialization/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +20 -0
  524. package/serialization/resources/contracts/resources/v2/types/InsuranceTypes.js +42 -0
  525. package/serialization/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +17 -0
  526. package/serialization/resources/contracts/resources/v2/types/RegionsUpdate.js +41 -0
  527. package/serialization/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +10 -0
  528. package/serialization/resources/contracts/resources/v2/types/RenderingProviderid.js +35 -0
  529. package/serialization/resources/contracts/resources/v2/types/index.d.ts +13 -0
  530. package/{api/resources/contracts → serialization/resources/contracts/resources/v2}/types/index.js +12 -0
  531. package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
  532. package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +1 -1
  533. package/serialization/resources/{contracts/types/ContractId.d.ts → financials/types/AccountType.d.ts} +3 -3
  534. package/serialization/resources/financials/types/AccountType.js +31 -0
  535. package/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +13 -0
  536. package/serialization/resources/financials/types/AllocationAmountUpdate.js +34 -0
  537. package/serialization/resources/financials/types/InvoiceUpdate.d.ts +17 -0
  538. package/serialization/resources/financials/types/InvoiceUpdate.js +41 -0
  539. package/serialization/resources/financials/types/NoteUpdate.d.ts +17 -0
  540. package/serialization/resources/financials/types/NoteUpdate.js +41 -0
  541. package/serialization/resources/financials/types/RefundReasonUpdate.d.ts +17 -0
  542. package/serialization/resources/financials/types/RefundReasonUpdate.js +41 -0
  543. package/serialization/resources/financials/types/index.d.ts +5 -0
  544. package/serialization/resources/financials/types/index.js +5 -0
  545. package/serialization/resources/index.d.ts +2 -4
  546. package/serialization/resources/index.js +3 -5
  547. package/serialization/resources/individual/types/Subscriber.d.ts +1 -1
  548. package/serialization/resources/individual/types/Subscriber.js +1 -1
  549. package/serialization/resources/individual/types/SubscriberCreate.d.ts +1 -1
  550. package/serialization/resources/individual/types/SubscriberCreate.js +1 -1
  551. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
  552. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -1
  553. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
  554. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -2
  555. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  556. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
  557. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  558. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  559. package/serialization/resources/insuranceCards/index.d.ts +1 -0
  560. package/serialization/resources/insuranceCards/index.js +17 -0
  561. package/serialization/resources/insuranceCards/resources/index.d.ts +1 -0
  562. package/serialization/resources/insuranceCards/resources/index.js +27 -0
  563. package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.d.ts +6 -6
  564. package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.js +3 -3
  565. package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +4 -4
  566. package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.js +3 -3
  567. package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +5 -5
  568. package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.js +3 -3
  569. package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardId.d.ts +10 -0
  570. package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardId.js +3 -3
  571. package/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
  572. package/serialization/resources/insuranceRefunds/resources/v1/client/index.js +17 -0
  573. package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +17 -0
  574. package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +40 -0
  575. package/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  576. package/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.js +5 -0
  577. package/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
  578. package/serialization/resources/insuranceRefunds/resources/v1/index.js +1 -0
  579. package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +10 -0
  580. package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +31 -0
  581. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  582. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
  583. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +15 -0
  584. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +38 -0
  585. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +24 -0
  586. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +47 -0
  587. package/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
  588. package/serialization/resources/organizationProviders/resources/v2/types/index.js +3 -0
  589. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +16 -0
  590. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +39 -0
  591. package/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  592. package/serialization/resources/patientPayments/resources/v4/client/requests/index.js +3 -1
  593. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +17 -0
  594. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +40 -0
  595. package/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  596. package/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +3 -1
  597. package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +1 -1
  598. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +1 -1
  599. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +18 -0
  600. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +39 -0
  601. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +17 -0
  602. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +38 -0
  603. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +22 -0
  604. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +46 -0
  605. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +17 -0
  606. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +38 -0
  607. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +16 -0
  608. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +37 -0
  609. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +7 -8
  610. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +8 -7
  611. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +7 -7
  612. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +8 -6
  613. package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +1 -1
  614. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
  615. package/serialization/resources/writeOffs/resources/v1/types/index.js +5 -0
  616. package/api/resources/contracts/types/ContractId.d.ts +0 -8
  617. package/api/resources/contracts/types/index.d.ts +0 -1
  618. package/dist/api/resources/contracts/types/ContractId.d.ts +0 -8
  619. package/dist/api/resources/contracts/types/index.d.ts +0 -1
  620. package/dist/serialization/resources/contracts/types/index.d.ts +0 -1
  621. package/serialization/resources/contracts/types/index.d.ts +0 -1
  622. /package/api/resources/{insuranceCard/types/InsuranceCard.js → commons/types/RegionNational.js} +0 -0
  623. /package/api/resources/{insuranceCard/types/InsuranceCardBase.js → commons/types/RegionStates.js} +0 -0
  624. /package/api/resources/{insuranceCard/types/InsuranceCardCreate.js → commons/types/Regions.js} +0 -0
  625. /package/{dist/api/resources/insuranceCard/types/InsuranceCard.js → api/resources/contracts/resources/v2/client/requests/ContractCreate.js} +0 -0
  626. /package/{dist/api/resources/insuranceCard/types/InsuranceCardBase.js → api/resources/contracts/resources/v2/client/requests/ContractUpdate.js} +0 -0
  627. /package/{dist/api/resources/insuranceCard/types/InsuranceCardCreate.js → api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js} +0 -0
  628. /package/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
  629. /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
  630. /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
  631. /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js +0 -0
  632. /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
  633. /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
  634. /package/dist/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
  635. /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
  636. /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
  637. /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js +0 -0
  638. /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
  639. /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
  640. /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
  641. /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
  642. /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
  643. /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
  644. /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
  645. /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
  646. /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
  647. /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
@@ -0,0 +1,42 @@
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.InsuranceTypes = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.InsuranceTypes = core.serialization
32
+ .union("type", {
33
+ allApply: core.serialization.object({}),
34
+ noneApply: core.serialization.object({}),
35
+ theseApply: core.serialization.object({
36
+ value: core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).InsuranceTypeCode)),
37
+ }),
38
+ })
39
+ .transform({
40
+ transform: (value) => value,
41
+ untransform: (value) => value,
42
+ });
@@ -0,0 +1,17 @@
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 RegionsUpdate: core.serialization.Schema<serializers.contracts.v2.RegionsUpdate.Raw, CandidApi.contracts.v2.RegionsUpdate>;
8
+ export declare namespace RegionsUpdate {
9
+ type Raw = RegionsUpdate.Set | RegionsUpdate.Remove;
10
+ interface Set {
11
+ type: "set";
12
+ value: serializers.Regions.Raw;
13
+ }
14
+ interface Remove {
15
+ type: "remove";
16
+ }
17
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (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.RegionsUpdate = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.RegionsUpdate = core.serialization
32
+ .union("type", {
33
+ set: core.serialization.object({
34
+ value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Regions),
35
+ }),
36
+ remove: core.serialization.object({}),
37
+ })
38
+ .transform({
39
+ transform: (value) => value,
40
+ untransform: (value) => value,
41
+ });
@@ -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 RenderingProviderid: core.serialization.Schema<serializers.contracts.v2.RenderingProviderid.Raw, CandidApi.contracts.v2.RenderingProviderid>;
8
+ export declare namespace RenderingProviderid {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
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.RenderingProviderid = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.RenderingProviderid = core.serialization.string().transform({
33
+ transform: CandidApi.contracts.v2.RenderingProviderid,
34
+ untransform: (value) => value,
35
+ });
@@ -0,0 +1,13 @@
1
+ export * from "./ContractId";
2
+ export * from "./ContractingProviderId";
3
+ export * from "./RenderingProviderid";
4
+ export * from "./RegionsUpdate";
5
+ export * from "./DateUpdate";
6
+ export * from "./AuthorizedSignatoryUpdate";
7
+ export * from "./InsuranceTypes";
8
+ export * from "./ContractBase";
9
+ export * from "./Contract";
10
+ export * from "./ContractWithProviders";
11
+ export * from "./ContractsPage";
12
+ export * from "./ContractStatus";
13
+ export * from "./AuthorizedSignatory";
@@ -15,3 +15,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ContractId"), exports);
18
+ __exportStar(require("./ContractingProviderId"), exports);
19
+ __exportStar(require("./RenderingProviderid"), exports);
20
+ __exportStar(require("./RegionsUpdate"), exports);
21
+ __exportStar(require("./DateUpdate"), exports);
22
+ __exportStar(require("./AuthorizedSignatoryUpdate"), exports);
23
+ __exportStar(require("./InsuranceTypes"), exports);
24
+ __exportStar(require("./ContractBase"), exports);
25
+ __exportStar(require("./Contract"), exports);
26
+ __exportStar(require("./ContractWithProviders"), exports);
27
+ __exportStar(require("./ContractsPage"), exports);
28
+ __exportStar(require("./ContractStatus"), exports);
29
+ __exportStar(require("./AuthorizedSignatory"), exports);
@@ -9,6 +9,6 @@ export declare namespace ExpectedNetworkStatusResponse {
9
9
  interface Raw {
10
10
  expected_network_status: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatus.Raw;
11
11
  explanation: string;
12
- contract_id?: serializers.ContractId.Raw | null;
12
+ contract_id?: serializers.contracts.v2.ContractId.Raw | null;
13
13
  }
14
14
  }
@@ -31,5 +31,5 @@ const core = __importStar(require("../../../../../../core"));
31
31
  exports.ExpectedNetworkStatusResponse = core.serialization.object({
32
32
  expectedNetworkStatus: core.serialization.property("expected_network_status", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).expectedNetworkStatus.v1.ExpectedNetworkStatus)),
33
33
  explanation: core.serialization.string(),
34
- contractId: core.serialization.property("contract_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ContractId).optional()),
34
+ contractId: core.serialization.property("contract_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).contracts.v2.ContractId).optional()),
35
35
  });
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../..";
5
5
  import * as CandidApi from "../../../../api";
6
6
  import * as core from "../../../../core";
7
- export declare const ContractId: core.serialization.Schema<serializers.ContractId.Raw, CandidApi.ContractId>;
8
- export declare namespace ContractId {
9
- type Raw = string;
7
+ export declare const AccountType: core.serialization.Schema<serializers.AccountType.Raw, CandidApi.AccountType>;
8
+ export declare namespace AccountType {
9
+ type Raw = "PATIENT" | "INSURANCE";
10
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.AccountType = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.AccountType = core.serialization.enum_(["PATIENT", "INSURANCE"]);
@@ -0,0 +1,13 @@
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 AllocationAmountUpdate: core.serialization.ObjectSchema<serializers.AllocationAmountUpdate.Raw, CandidApi.AllocationAmountUpdate>;
8
+ export declare namespace AllocationAmountUpdate {
9
+ interface Raw {
10
+ amount_cents?: number | null;
11
+ allocations: serializers.AllocationCreate.Raw[];
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.AllocationAmountUpdate = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.AllocationAmountUpdate = core.serialization.object({
32
+ amountCents: core.serialization.property("amount_cents", core.serialization.number().optional()),
33
+ allocations: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).AllocationCreate)),
34
+ });
@@ -0,0 +1,17 @@
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 InvoiceUpdate: core.serialization.Schema<serializers.InvoiceUpdate.Raw, CandidApi.InvoiceUpdate>;
8
+ export declare namespace InvoiceUpdate {
9
+ type Raw = InvoiceUpdate.Set | InvoiceUpdate.Remove;
10
+ interface Set {
11
+ type: "set";
12
+ value: serializers.InvoiceId.Raw;
13
+ }
14
+ interface Remove {
15
+ type: "remove";
16
+ }
17
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (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.InvoiceUpdate = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.InvoiceUpdate = core.serialization
32
+ .union("type", {
33
+ set: core.serialization.object({
34
+ value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).InvoiceId),
35
+ }),
36
+ remove: core.serialization.object({}),
37
+ })
38
+ .transform({
39
+ transform: (value) => value,
40
+ untransform: (value) => value,
41
+ });
@@ -0,0 +1,17 @@
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 NoteUpdate: core.serialization.Schema<serializers.NoteUpdate.Raw, CandidApi.NoteUpdate>;
8
+ export declare namespace NoteUpdate {
9
+ type Raw = NoteUpdate.Set | NoteUpdate.Remove;
10
+ interface Set {
11
+ type: "set";
12
+ value: string;
13
+ }
14
+ interface Remove {
15
+ type: "remove";
16
+ }
17
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (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.NoteUpdate = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.NoteUpdate = core.serialization
32
+ .union("type", {
33
+ set: core.serialization.object({
34
+ value: core.serialization.string(),
35
+ }),
36
+ remove: core.serialization.object({}),
37
+ })
38
+ .transform({
39
+ transform: (value) => value,
40
+ untransform: (value) => value,
41
+ });
@@ -0,0 +1,17 @@
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 RefundReasonUpdate: core.serialization.Schema<serializers.RefundReasonUpdate.Raw, CandidApi.RefundReasonUpdate>;
8
+ export declare namespace RefundReasonUpdate {
9
+ type Raw = RefundReasonUpdate.Set | RefundReasonUpdate.Remove;
10
+ interface Set {
11
+ type: "set";
12
+ value: serializers.RefundReason.Raw;
13
+ }
14
+ interface Remove {
15
+ type: "remove";
16
+ }
17
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (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.RefundReasonUpdate = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.RefundReasonUpdate = core.serialization
32
+ .union("type", {
33
+ set: core.serialization.object({
34
+ value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).RefundReason),
35
+ }),
36
+ remove: core.serialization.object({}),
37
+ })
38
+ .transform({
39
+ transform: (value) => value,
40
+ untransform: (value) => value,
41
+ });
@@ -4,3 +4,8 @@ export * from "./Allocation";
4
4
  export * from "./AllocationTarget";
5
5
  export * from "./AllocationCreate";
6
6
  export * from "./AllocationTargetCreate";
7
+ export * from "./AccountType";
8
+ export * from "./AllocationAmountUpdate";
9
+ export * from "./NoteUpdate";
10
+ export * from "./InvoiceUpdate";
11
+ export * from "./RefundReasonUpdate";
@@ -20,3 +20,8 @@ __exportStar(require("./Allocation"), exports);
20
20
  __exportStar(require("./AllocationTarget"), exports);
21
21
  __exportStar(require("./AllocationCreate"), exports);
22
22
  __exportStar(require("./AllocationTargetCreate"), exports);
23
+ __exportStar(require("./AccountType"), exports);
24
+ __exportStar(require("./AllocationAmountUpdate"), exports);
25
+ __exportStar(require("./NoteUpdate"), exports);
26
+ __exportStar(require("./InvoiceUpdate"), exports);
27
+ __exportStar(require("./RefundReasonUpdate"), exports);
@@ -1,12 +1,14 @@
1
1
  export * as auth from "./auth";
2
2
  export * as billingNotes from "./billingNotes";
3
3
  export * as claimSubmission from "./claimSubmission";
4
+ export * as contracts from "./contracts";
4
5
  export * as encounterProviders from "./encounterProviders";
5
6
  export * as encounters from "./encounters";
6
7
  export * as expectedNetworkStatus from "./expectedNetworkStatus";
7
8
  export * as exports from "./exports";
8
9
  export * as guarantor from "./guarantor";
9
10
  export * as insuranceAdjudications from "./insuranceAdjudications";
11
+ export * as insuranceCards from "./insuranceCards";
10
12
  export * as insuranceRefunds from "./insuranceRefunds";
11
13
  export * as organizationServiceFacilities from "./organizationServiceFacilities";
12
14
  export * as organizationProviders from "./organizationProviders";
@@ -22,8 +24,6 @@ export * as claims from "./claims";
22
24
  export * from "./claims/types";
23
25
  export * as commons from "./commons";
24
26
  export * from "./commons/types";
25
- export * as contracts from "./contracts";
26
- export * from "./contracts/types";
27
27
  export * as diagnoses from "./diagnoses";
28
28
  export * from "./diagnoses/types";
29
29
  export * as era from "./era";
@@ -34,8 +34,6 @@ export * as identifiers from "./identifiers";
34
34
  export * from "./identifiers/types";
35
35
  export * as individual from "./individual";
36
36
  export * from "./individual/types";
37
- export * as insuranceCard from "./insuranceCard";
38
- export * from "./insuranceCard/types";
39
37
  export * as invoices from "./invoices";
40
38
  export * from "./invoices/types";
41
39
  export * as serviceFacility from "./serviceFacility";
@@ -26,16 +26,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
29
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceCards = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
31
  exports.billingNotes = __importStar(require("./billingNotes"));
32
32
  exports.claimSubmission = __importStar(require("./claimSubmission"));
33
+ exports.contracts = __importStar(require("./contracts"));
33
34
  exports.encounterProviders = __importStar(require("./encounterProviders"));
34
35
  exports.encounters = __importStar(require("./encounters"));
35
36
  exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"));
36
37
  exports.exports = __importStar(require("./exports"));
37
38
  exports.guarantor = __importStar(require("./guarantor"));
38
39
  exports.insuranceAdjudications = __importStar(require("./insuranceAdjudications"));
40
+ exports.insuranceCards = __importStar(require("./insuranceCards"));
39
41
  exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
40
42
  exports.organizationServiceFacilities = __importStar(require("./organizationServiceFacilities"));
41
43
  exports.organizationProviders = __importStar(require("./organizationProviders"));
@@ -51,8 +53,6 @@ exports.claims = __importStar(require("./claims"));
51
53
  __exportStar(require("./claims/types"), exports);
52
54
  exports.commons = __importStar(require("./commons"));
53
55
  __exportStar(require("./commons/types"), exports);
54
- exports.contracts = __importStar(require("./contracts"));
55
- __exportStar(require("./contracts/types"), exports);
56
56
  exports.diagnoses = __importStar(require("./diagnoses"));
57
57
  __exportStar(require("./diagnoses/types"), exports);
58
58
  exports.era = __importStar(require("./era"));
@@ -63,8 +63,6 @@ exports.identifiers = __importStar(require("./identifiers"));
63
63
  __exportStar(require("./identifiers/types"), exports);
64
64
  exports.individual = __importStar(require("./individual"));
65
65
  __exportStar(require("./individual/types"), exports);
66
- exports.insuranceCard = __importStar(require("./insuranceCard"));
67
- __exportStar(require("./insuranceCard/types"), exports);
68
66
  exports.invoices = __importStar(require("./invoices"));
69
67
  __exportStar(require("./invoices/types"), exports);
70
68
  exports.serviceFacility = __importStar(require("./serviceFacility"));
@@ -8,6 +8,6 @@ export declare const Subscriber: core.serialization.ObjectSchema<serializers.Sub
8
8
  export declare namespace Subscriber {
9
9
  interface Raw extends serializers.SubscriberBase.Raw {
10
10
  individual_id: serializers.IndividualId.Raw;
11
- insurance_card: serializers.InsuranceCard.Raw;
11
+ insurance_card: serializers.insuranceCards.v2.InsuranceCard.Raw;
12
12
  }
13
13
  }
@@ -31,6 +31,6 @@ const core = __importStar(require("../../../../core"));
31
31
  exports.Subscriber = core.serialization
32
32
  .object({
33
33
  individualId: core.serialization.property("individual_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).IndividualId)),
34
- insuranceCard: core.serialization.property("insurance_card", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).InsuranceCard)),
34
+ insuranceCard: core.serialization.property("insurance_card", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).insuranceCards.v2.InsuranceCard)),
35
35
  })
36
36
  .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).SubscriberBase));
@@ -7,6 +7,6 @@ import * as core from "../../../../core";
7
7
  export declare const SubscriberCreate: core.serialization.ObjectSchema<serializers.SubscriberCreate.Raw, CandidApi.SubscriberCreate>;
8
8
  export declare namespace SubscriberCreate {
9
9
  interface Raw extends serializers.SubscriberBase.Raw {
10
- insurance_card: serializers.InsuranceCardCreate.Raw;
10
+ insurance_card: serializers.insuranceCards.v2.InsuranceCardCreate.Raw;
11
11
  }
12
12
  }
@@ -30,6 +30,6 @@ exports.SubscriberCreate = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  exports.SubscriberCreate = core.serialization
32
32
  .object({
33
- insuranceCard: core.serialization.property("insurance_card", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).InsuranceCardCreate)),
33
+ insuranceCard: core.serialization.property("insurance_card", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).insuranceCards.v2.InsuranceCardCreate)),
34
34
  })
35
35
  .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).SubscriberBase));
@@ -11,7 +11,7 @@ export declare namespace ClaimAdjudication {
11
11
  insurance_allowed_amount_cents?: number | null;
12
12
  insurance_paid_amount_cents?: number | null;
13
13
  charge_amount_cents?: number | null;
14
- service_lines: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ServiceLineAdjudication.Raw>;
14
+ service_lines: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ServiceLineAdjudication.Raw[]>;
15
15
  payer_claim_number?: string | null;
16
16
  carcs: serializers.x12.v1.ClaimAdjustmentReasonCode.Raw[];
17
17
  }
@@ -33,7 +33,7 @@ exports.ClaimAdjudication = core.serialization.object({
33
33
  insuranceAllowedAmountCents: core.serialization.property("insurance_allowed_amount_cents", core.serialization.number().optional()),
34
34
  insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
35
35
  chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
36
- serviceLines: core.serialization.property("service_lines", core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudication))),
36
+ serviceLines: core.serialization.property("service_lines", core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudication)))),
37
37
  payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string().optional()),
38
38
  carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).x12.v1.ClaimAdjustmentReasonCode)),
39
39
  });