candidhealth 0.17.3 → 0.17.5

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 (247) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  3. package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -2
  4. package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +0 -1
  5. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +1 -1
  6. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +1 -1
  7. package/api/resources/claims/types/Claim.d.ts +3 -1
  8. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  9. package/api/resources/eligibility/resources/v2/client/Client.js +2 -2
  10. package/api/resources/encounters/resources/v4/client/Client.js +8 -5
  11. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +19 -0
  12. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  13. package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +4 -0
  14. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +18 -1
  15. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -14
  16. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -1
  17. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  18. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  19. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  20. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  21. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  22. package/api/resources/insurancePayments/resources/v1/client/Client.js +9 -5
  23. package/api/resources/insurancePayments/resources/v1/client/create.d.ts +13 -1
  24. package/api/resources/insurancePayments/resources/v1/client/create.js +22 -0
  25. package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +7 -1
  26. package/api/resources/insurancePayments/resources/v1/client/delete.js +11 -0
  27. package/api/resources/insurancePayments/resources/v1/client/update.d.ts +7 -1
  28. package/api/resources/insurancePayments/resources/v1/client/update.js +11 -0
  29. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +83 -5
  30. package/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +19 -1
  31. package/api/resources/insuranceRefunds/resources/v1/client/create.js +33 -0
  32. package/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +19 -1
  33. package/api/resources/insuranceRefunds/resources/v1/client/delete.js +33 -0
  34. package/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +13 -1
  35. package/api/resources/insuranceRefunds/resources/v1/client/get.js +22 -0
  36. package/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +13 -1
  37. package/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +22 -0
  38. package/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +19 -1
  39. package/api/resources/insuranceRefunds/resources/v1/client/update.js +33 -0
  40. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  41. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  42. package/api/resources/patientPayments/resources/v4/client/Client.js +83 -5
  43. package/api/resources/patientPayments/resources/v4/client/create.d.ts +19 -1
  44. package/api/resources/patientPayments/resources/v4/client/create.js +33 -0
  45. package/api/resources/patientPayments/resources/v4/client/delete.d.ts +19 -1
  46. package/api/resources/patientPayments/resources/v4/client/delete.js +33 -0
  47. package/api/resources/patientPayments/resources/v4/client/get.d.ts +13 -1
  48. package/api/resources/patientPayments/resources/v4/client/get.js +22 -0
  49. package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +13 -1
  50. package/api/resources/patientPayments/resources/v4/client/getMulti.js +22 -0
  51. package/api/resources/patientPayments/resources/v4/client/update.d.ts +19 -1
  52. package/api/resources/patientPayments/resources/v4/client/update.js +33 -0
  53. package/api/resources/patientRefunds/resources/v1/client/Client.js +83 -5
  54. package/api/resources/patientRefunds/resources/v1/client/create.d.ts +19 -1
  55. package/api/resources/patientRefunds/resources/v1/client/create.js +33 -0
  56. package/api/resources/patientRefunds/resources/v1/client/delete.d.ts +19 -1
  57. package/api/resources/patientRefunds/resources/v1/client/delete.js +33 -0
  58. package/api/resources/patientRefunds/resources/v1/client/get.d.ts +13 -1
  59. package/api/resources/patientRefunds/resources/v1/client/get.js +22 -0
  60. package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +13 -1
  61. package/api/resources/patientRefunds/resources/v1/client/getMulti.js +22 -0
  62. package/api/resources/patientRefunds/resources/v1/client/update.d.ts +19 -1
  63. package/api/resources/patientRefunds/resources/v1/client/update.js +33 -0
  64. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  65. package/api/resources/serviceFacility/client/Client.js +1 -1
  66. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -1
  67. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  68. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  69. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  70. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  71. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  72. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -2
  73. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +0 -1
  74. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +1 -1
  75. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +1 -1
  76. package/dist/api/resources/claims/types/Claim.d.ts +3 -1
  77. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  78. package/dist/api/resources/eligibility/resources/v2/client/Client.js +2 -2
  79. package/dist/api/resources/encounters/resources/v4/client/Client.js +8 -5
  80. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +19 -0
  81. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  82. package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +4 -0
  83. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +18 -1
  84. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -14
  85. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -1
  86. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  87. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  88. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  89. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  90. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  91. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +9 -5
  92. package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +13 -1
  93. package/dist/api/resources/insurancePayments/resources/v1/client/create.js +22 -0
  94. package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +7 -1
  95. package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +11 -0
  96. package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +7 -1
  97. package/dist/api/resources/insurancePayments/resources/v1/client/update.js +11 -0
  98. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +83 -5
  99. package/dist/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +19 -1
  100. package/dist/api/resources/insuranceRefunds/resources/v1/client/create.js +33 -0
  101. package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +19 -1
  102. package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.js +33 -0
  103. package/dist/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +13 -1
  104. package/dist/api/resources/insuranceRefunds/resources/v1/client/get.js +22 -0
  105. package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +13 -1
  106. package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +22 -0
  107. package/dist/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +19 -1
  108. package/dist/api/resources/insuranceRefunds/resources/v1/client/update.js +33 -0
  109. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  110. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  111. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +83 -5
  112. package/dist/api/resources/patientPayments/resources/v4/client/create.d.ts +19 -1
  113. package/dist/api/resources/patientPayments/resources/v4/client/create.js +33 -0
  114. package/dist/api/resources/patientPayments/resources/v4/client/delete.d.ts +19 -1
  115. package/dist/api/resources/patientPayments/resources/v4/client/delete.js +33 -0
  116. package/dist/api/resources/patientPayments/resources/v4/client/get.d.ts +13 -1
  117. package/dist/api/resources/patientPayments/resources/v4/client/get.js +22 -0
  118. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +13 -1
  119. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +22 -0
  120. package/dist/api/resources/patientPayments/resources/v4/client/update.d.ts +19 -1
  121. package/dist/api/resources/patientPayments/resources/v4/client/update.js +33 -0
  122. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +83 -5
  123. package/dist/api/resources/patientRefunds/resources/v1/client/create.d.ts +19 -1
  124. package/dist/api/resources/patientRefunds/resources/v1/client/create.js +33 -0
  125. package/dist/api/resources/patientRefunds/resources/v1/client/delete.d.ts +19 -1
  126. package/dist/api/resources/patientRefunds/resources/v1/client/delete.js +33 -0
  127. package/dist/api/resources/patientRefunds/resources/v1/client/get.d.ts +13 -1
  128. package/dist/api/resources/patientRefunds/resources/v1/client/get.js +22 -0
  129. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +13 -1
  130. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +22 -0
  131. package/dist/api/resources/patientRefunds/resources/v1/client/update.d.ts +19 -1
  132. package/dist/api/resources/patientRefunds/resources/v1/client/update.js +33 -0
  133. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  134. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  135. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -1
  136. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  137. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  138. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  139. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -1
  140. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +1 -1
  141. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  142. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  143. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  144. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  145. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  146. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -2
  147. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +9 -1
  148. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.js +10 -0
  149. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +5 -1
  150. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.js +5 -0
  151. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +5 -1
  152. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.js +5 -0
  153. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
  154. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/create.js +56 -0
  155. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
  156. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/delete.js +56 -0
  157. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/get.d.ts +18 -0
  158. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/get.js +51 -0
  159. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +18 -0
  160. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.js +51 -0
  161. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +5 -0
  162. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.js +18 -0
  163. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
  164. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/update.js +56 -0
  165. package/dist/serialization/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
  166. package/dist/serialization/resources/patientPayments/resources/v4/client/create.js +56 -0
  167. package/dist/serialization/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
  168. package/dist/serialization/resources/patientPayments/resources/v4/client/delete.js +56 -0
  169. package/dist/serialization/resources/patientPayments/resources/v4/client/get.d.ts +18 -0
  170. package/dist/serialization/resources/patientPayments/resources/v4/client/get.js +51 -0
  171. package/dist/serialization/resources/patientPayments/resources/v4/client/getMulti.d.ts +18 -0
  172. package/dist/serialization/resources/patientPayments/resources/v4/client/getMulti.js +51 -0
  173. package/dist/serialization/resources/patientPayments/resources/v4/client/index.d.ts +5 -0
  174. package/dist/serialization/resources/patientPayments/resources/v4/client/index.js +18 -0
  175. package/dist/serialization/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
  176. package/dist/serialization/resources/patientPayments/resources/v4/client/update.js +56 -0
  177. package/dist/serialization/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
  178. package/dist/serialization/resources/patientRefunds/resources/v1/client/create.js +56 -0
  179. package/dist/serialization/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
  180. package/dist/serialization/resources/patientRefunds/resources/v1/client/delete.js +56 -0
  181. package/dist/serialization/resources/patientRefunds/resources/v1/client/get.d.ts +18 -0
  182. package/dist/serialization/resources/patientRefunds/resources/v1/client/get.js +51 -0
  183. package/dist/serialization/resources/patientRefunds/resources/v1/client/getMulti.d.ts +18 -0
  184. package/dist/serialization/resources/patientRefunds/resources/v1/client/getMulti.js +51 -0
  185. package/dist/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +5 -0
  186. package/dist/serialization/resources/patientRefunds/resources/v1/client/index.js +18 -0
  187. package/dist/serialization/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
  188. package/dist/serialization/resources/patientRefunds/resources/v1/client/update.js +56 -0
  189. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  190. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
  191. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  192. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
  193. package/package.json +1 -1
  194. package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -1
  195. package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +1 -1
  196. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  197. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  198. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  199. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  200. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  201. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -2
  202. package/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +9 -1
  203. package/serialization/resources/insurancePayments/resources/v1/client/create.js +10 -0
  204. package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +5 -1
  205. package/serialization/resources/insurancePayments/resources/v1/client/delete.js +5 -0
  206. package/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +5 -1
  207. package/serialization/resources/insurancePayments/resources/v1/client/update.js +5 -0
  208. package/serialization/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
  209. package/serialization/resources/insuranceRefunds/resources/v1/client/create.js +56 -0
  210. package/serialization/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
  211. package/serialization/resources/insuranceRefunds/resources/v1/client/delete.js +56 -0
  212. package/serialization/resources/insuranceRefunds/resources/v1/client/get.d.ts +18 -0
  213. package/serialization/resources/insuranceRefunds/resources/v1/client/get.js +51 -0
  214. package/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +18 -0
  215. package/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.js +51 -0
  216. package/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +5 -0
  217. package/serialization/resources/insuranceRefunds/resources/v1/client/index.js +18 -0
  218. package/serialization/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
  219. package/serialization/resources/insuranceRefunds/resources/v1/client/update.js +56 -0
  220. package/serialization/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
  221. package/serialization/resources/patientPayments/resources/v4/client/create.js +56 -0
  222. package/serialization/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
  223. package/serialization/resources/patientPayments/resources/v4/client/delete.js +56 -0
  224. package/serialization/resources/patientPayments/resources/v4/client/get.d.ts +18 -0
  225. package/serialization/resources/patientPayments/resources/v4/client/get.js +51 -0
  226. package/serialization/resources/patientPayments/resources/v4/client/getMulti.d.ts +18 -0
  227. package/serialization/resources/patientPayments/resources/v4/client/getMulti.js +51 -0
  228. package/serialization/resources/patientPayments/resources/v4/client/index.d.ts +5 -0
  229. package/serialization/resources/patientPayments/resources/v4/client/index.js +18 -0
  230. package/serialization/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
  231. package/serialization/resources/patientPayments/resources/v4/client/update.js +56 -0
  232. package/serialization/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
  233. package/serialization/resources/patientRefunds/resources/v1/client/create.js +56 -0
  234. package/serialization/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
  235. package/serialization/resources/patientRefunds/resources/v1/client/delete.js +56 -0
  236. package/serialization/resources/patientRefunds/resources/v1/client/get.d.ts +18 -0
  237. package/serialization/resources/patientRefunds/resources/v1/client/get.js +51 -0
  238. package/serialization/resources/patientRefunds/resources/v1/client/getMulti.d.ts +18 -0
  239. package/serialization/resources/patientRefunds/resources/v1/client/getMulti.js +51 -0
  240. package/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +5 -0
  241. package/serialization/resources/patientRefunds/resources/v1/client/index.js +18 -0
  242. package/serialization/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
  243. package/serialization/resources/patientRefunds/resources/v1/client/update.js +56 -0
  244. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  245. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
  246. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  247. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
@@ -0,0 +1,22 @@
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 Error: core.serialization.Schema<serializers.patientPayments.v4.update.Error.Raw, CandidApi.patientPayments.v4.update.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
10
+ interface EntityNotFoundError {
11
+ errorName: "EntityNotFoundError";
12
+ content: serializers.EntityNotFoundErrorMessage.Raw;
13
+ }
14
+ interface UnauthorizedError {
15
+ errorName: "UnauthorizedError";
16
+ content: serializers.UnauthorizedErrorMessage.Raw;
17
+ }
18
+ interface UnprocessableEntityError {
19
+ errorName: "UnprocessableEntityError";
20
+ content: serializers.UnprocessableEntityErrorMessage.Raw;
21
+ }
22
+ }
@@ -0,0 +1,56 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ EntityNotFoundError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
36
+ }),
37
+ UnauthorizedError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
39
+ }),
40
+ UnprocessableEntityError: core.serialization.object({
41
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
42
+ }),
43
+ })
44
+ .transform({
45
+ transform: (value) => {
46
+ switch (value.errorName) {
47
+ case "EntityNotFoundError":
48
+ return CandidApi.patientPayments.v4.update.Error.entityNotFoundError(value.content);
49
+ case "UnauthorizedError":
50
+ return CandidApi.patientPayments.v4.update.Error.unauthorizedError(value.content);
51
+ case "UnprocessableEntityError":
52
+ return CandidApi.patientPayments.v4.update.Error.unprocessableEntityError(value.content);
53
+ }
54
+ },
55
+ untransform: ({ _visit, ...value }) => value,
56
+ });
@@ -0,0 +1,22 @@
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 Error: core.serialization.Schema<serializers.patientRefunds.v1.create.Error.Raw, CandidApi.patientRefunds.v1.create.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
10
+ interface EntityNotFoundError {
11
+ errorName: "EntityNotFoundError";
12
+ content: serializers.EntityNotFoundErrorMessage.Raw;
13
+ }
14
+ interface UnauthorizedError {
15
+ errorName: "UnauthorizedError";
16
+ content: serializers.UnauthorizedErrorMessage.Raw;
17
+ }
18
+ interface UnprocessableEntityError {
19
+ errorName: "UnprocessableEntityError";
20
+ content: serializers.UnprocessableEntityErrorMessage.Raw;
21
+ }
22
+ }
@@ -0,0 +1,56 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ EntityNotFoundError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
36
+ }),
37
+ UnauthorizedError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
39
+ }),
40
+ UnprocessableEntityError: core.serialization.object({
41
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
42
+ }),
43
+ })
44
+ .transform({
45
+ transform: (value) => {
46
+ switch (value.errorName) {
47
+ case "EntityNotFoundError":
48
+ return CandidApi.patientRefunds.v1.create.Error.entityNotFoundError(value.content);
49
+ case "UnauthorizedError":
50
+ return CandidApi.patientRefunds.v1.create.Error.unauthorizedError(value.content);
51
+ case "UnprocessableEntityError":
52
+ return CandidApi.patientRefunds.v1.create.Error.unprocessableEntityError(value.content);
53
+ }
54
+ },
55
+ untransform: ({ _visit, ...value }) => value,
56
+ });
@@ -0,0 +1,22 @@
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 Error: core.serialization.Schema<serializers.patientRefunds.v1.delete.Error.Raw, CandidApi.patientRefunds.v1.delete.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
10
+ interface EntityNotFoundError {
11
+ errorName: "EntityNotFoundError";
12
+ content: serializers.EntityNotFoundErrorMessage.Raw;
13
+ }
14
+ interface UnauthorizedError {
15
+ errorName: "UnauthorizedError";
16
+ content: serializers.UnauthorizedErrorMessage.Raw;
17
+ }
18
+ interface UnprocessableEntityError {
19
+ errorName: "UnprocessableEntityError";
20
+ content: serializers.UnprocessableEntityErrorMessage.Raw;
21
+ }
22
+ }
@@ -0,0 +1,56 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ EntityNotFoundError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
36
+ }),
37
+ UnauthorizedError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
39
+ }),
40
+ UnprocessableEntityError: core.serialization.object({
41
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
42
+ }),
43
+ })
44
+ .transform({
45
+ transform: (value) => {
46
+ switch (value.errorName) {
47
+ case "EntityNotFoundError":
48
+ return CandidApi.patientRefunds.v1.delete.Error.entityNotFoundError(value.content);
49
+ case "UnauthorizedError":
50
+ return CandidApi.patientRefunds.v1.delete.Error.unauthorizedError(value.content);
51
+ case "UnprocessableEntityError":
52
+ return CandidApi.patientRefunds.v1.delete.Error.unprocessableEntityError(value.content);
53
+ }
54
+ },
55
+ untransform: ({ _visit, ...value }) => value,
56
+ });
@@ -0,0 +1,18 @@
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 Error: core.serialization.Schema<serializers.patientRefunds.v1.get.Error.Raw, CandidApi.patientRefunds.v1.get.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
10
+ interface EntityNotFoundError {
11
+ errorName: "EntityNotFoundError";
12
+ content: serializers.EntityNotFoundErrorMessage.Raw;
13
+ }
14
+ interface UnauthorizedError {
15
+ errorName: "UnauthorizedError";
16
+ content: serializers.UnauthorizedErrorMessage.Raw;
17
+ }
18
+ }
@@ -0,0 +1,51 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ EntityNotFoundError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
36
+ }),
37
+ UnauthorizedError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
39
+ }),
40
+ })
41
+ .transform({
42
+ transform: (value) => {
43
+ switch (value.errorName) {
44
+ case "EntityNotFoundError":
45
+ return CandidApi.patientRefunds.v1.get.Error.entityNotFoundError(value.content);
46
+ case "UnauthorizedError":
47
+ return CandidApi.patientRefunds.v1.get.Error.unauthorizedError(value.content);
48
+ }
49
+ },
50
+ untransform: ({ _visit, ...value }) => value,
51
+ });
@@ -0,0 +1,18 @@
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 Error: core.serialization.Schema<serializers.patientRefunds.v1.getMulti.Error.Raw, CandidApi.patientRefunds.v1.getMulti.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.UnauthorizedError | Error.UnprocessableEntityError;
10
+ interface UnauthorizedError {
11
+ errorName: "UnauthorizedError";
12
+ content: serializers.UnauthorizedErrorMessage.Raw;
13
+ }
14
+ interface UnprocessableEntityError {
15
+ errorName: "UnprocessableEntityError";
16
+ content: serializers.UnprocessableEntityErrorMessage.Raw;
17
+ }
18
+ }
@@ -0,0 +1,51 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ UnauthorizedError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
36
+ }),
37
+ UnprocessableEntityError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
39
+ }),
40
+ })
41
+ .transform({
42
+ transform: (value) => {
43
+ switch (value.errorName) {
44
+ case "UnauthorizedError":
45
+ return CandidApi.patientRefunds.v1.getMulti.Error.unauthorizedError(value.content);
46
+ case "UnprocessableEntityError":
47
+ return CandidApi.patientRefunds.v1.getMulti.Error.unprocessableEntityError(value.content);
48
+ }
49
+ },
50
+ untransform: ({ _visit, ...value }) => value,
51
+ });
@@ -1 +1,6 @@
1
+ export * as getMulti from "./getMulti";
2
+ export * as get from "./get";
3
+ export * as create from "./create";
4
+ export * as update from "./update";
5
+ export * as delete from "./delete";
1
6
  export * from "./requests";
@@ -10,8 +10,26 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
13
25
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
27
  };
16
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
30
+ exports.getMulti = __importStar(require("./getMulti"));
31
+ exports.get = __importStar(require("./get"));
32
+ exports.create = __importStar(require("./create"));
33
+ exports.update = __importStar(require("./update"));
34
+ exports.delete = __importStar(require("./delete"));
17
35
  __exportStar(require("./requests"), exports);
@@ -0,0 +1,22 @@
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 Error: core.serialization.Schema<serializers.patientRefunds.v1.update.Error.Raw, CandidApi.patientRefunds.v1.update.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
10
+ interface EntityNotFoundError {
11
+ errorName: "EntityNotFoundError";
12
+ content: serializers.EntityNotFoundErrorMessage.Raw;
13
+ }
14
+ interface UnauthorizedError {
15
+ errorName: "UnauthorizedError";
16
+ content: serializers.UnauthorizedErrorMessage.Raw;
17
+ }
18
+ interface UnprocessableEntityError {
19
+ errorName: "UnprocessableEntityError";
20
+ content: serializers.UnprocessableEntityErrorMessage.Raw;
21
+ }
22
+ }
@@ -0,0 +1,56 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ EntityNotFoundError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
36
+ }),
37
+ UnauthorizedError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
39
+ }),
40
+ UnprocessableEntityError: core.serialization.object({
41
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
42
+ }),
43
+ })
44
+ .transform({
45
+ transform: (value) => {
46
+ switch (value.errorName) {
47
+ case "EntityNotFoundError":
48
+ return CandidApi.patientRefunds.v1.update.Error.entityNotFoundError(value.content);
49
+ case "UnauthorizedError":
50
+ return CandidApi.patientRefunds.v1.update.Error.unauthorizedError(value.content);
51
+ case "UnprocessableEntityError":
52
+ return CandidApi.patientRefunds.v1.update.Error.unprocessableEntityError(value.content);
53
+ }
54
+ },
55
+ untransform: ({ _visit, ...value }) => value,
56
+ });
@@ -30,5 +30,7 @@ export declare namespace ServiceLine {
30
30
  claim_id: serializers.ClaimId.Raw;
31
31
  date_of_service_range: serializers.DateRangeOptionalEnd.Raw;
32
32
  description?: string | null;
33
+ date_of_service: string;
34
+ end_date_of_service?: string | null;
33
35
  }
34
36
  }
@@ -62,4 +62,6 @@ exports.ServiceLine = core.serialization.object({
62
62
  claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId)),
63
63
  dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DateRangeOptionalEnd)),
64
64
  description: core.serialization.string().optional(),
65
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
66
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
65
67
  });
@@ -16,5 +16,7 @@ export declare namespace ServiceLineCreate {
16
16
  drug_identification?: serializers.serviceLines.v2.DrugIdentification.Raw | null;
17
17
  place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
18
18
  description?: string | null;
19
+ date_of_service?: string | null;
20
+ end_date_of_service?: string | null;
19
21
  }
20
22
  }
@@ -42,4 +42,6 @@ exports.ServiceLineCreate = core.serialization.object({
42
42
  .optional()),
43
43
  placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
44
44
  description: core.serialization.string().optional(),
45
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
46
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
45
47
  });