candidhealth 1.14.0 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +38 -43
  3. package/api/resources/commons/types/index.d.ts +0 -2
  4. package/api/resources/commons/types/index.js +0 -2
  5. package/api/resources/era/types/index.d.ts +0 -1
  6. package/api/resources/era/types/index.js +0 -1
  7. package/api/resources/index.d.ts +0 -5
  8. package/api/resources/index.js +2 -7
  9. package/api/resources/serviceLines/resources/v2/client/Client.js +1 -0
  10. package/api/resources/serviceLines/resources/v2/client/delete.d.ts +7 -1
  11. package/api/resources/serviceLines/resources/v2/client/delete.js +11 -0
  12. package/api/resources/x12/resources/v1/types/index.d.ts +0 -4
  13. package/api/resources/x12/resources/v1/types/index.js +0 -4
  14. package/dist/Client.d.ts +0 -3
  15. package/dist/Client.js +38 -43
  16. package/dist/api/resources/commons/types/index.d.ts +0 -2
  17. package/dist/api/resources/commons/types/index.js +0 -2
  18. package/dist/api/resources/era/types/index.d.ts +0 -1
  19. package/dist/api/resources/era/types/index.js +0 -1
  20. package/dist/api/resources/index.d.ts +0 -5
  21. package/dist/api/resources/index.js +2 -7
  22. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +1 -0
  23. package/dist/api/resources/serviceLines/resources/v2/client/delete.d.ts +7 -1
  24. package/dist/api/resources/serviceLines/resources/v2/client/delete.js +11 -0
  25. package/dist/api/resources/x12/resources/v1/types/index.d.ts +0 -4
  26. package/dist/api/resources/x12/resources/v1/types/index.js +0 -4
  27. package/dist/serialization/resources/commons/types/index.d.ts +0 -2
  28. package/dist/serialization/resources/commons/types/index.js +0 -2
  29. package/dist/serialization/resources/era/types/index.d.ts +0 -1
  30. package/dist/serialization/resources/era/types/index.js +0 -1
  31. package/dist/serialization/resources/index.d.ts +0 -5
  32. package/dist/serialization/resources/index.js +2 -7
  33. package/dist/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +6 -1
  34. package/dist/serialization/resources/serviceLines/resources/v2/client/delete.js +6 -0
  35. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +0 -4
  36. package/dist/serialization/resources/x12/resources/v1/types/index.js +0 -4
  37. package/dist/version.d.ts +1 -1
  38. package/dist/version.js +1 -1
  39. package/package.json +1 -1
  40. package/reference.md +0 -295
  41. package/serialization/resources/commons/types/index.d.ts +0 -2
  42. package/serialization/resources/commons/types/index.js +0 -2
  43. package/serialization/resources/era/types/index.d.ts +0 -1
  44. package/serialization/resources/era/types/index.js +0 -1
  45. package/serialization/resources/index.d.ts +0 -5
  46. package/serialization/resources/index.js +2 -7
  47. package/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +6 -1
  48. package/serialization/resources/serviceLines/resources/v2/client/delete.js +6 -0
  49. package/serialization/resources/x12/resources/v1/types/index.d.ts +0 -4
  50. package/serialization/resources/x12/resources/v1/types/index.js +0 -4
  51. package/version.d.ts +1 -1
  52. package/version.js +1 -1
  53. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -13
  54. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -16
  55. package/api/resources/commons/types/TaxId.d.ts +0 -5
  56. package/api/resources/commons/types/TaxId.js +0 -7
  57. package/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -5
  58. package/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -3
  59. package/api/resources/eraCommons/index.d.ts +0 -1
  60. package/api/resources/eraCommons/index.js +0 -17
  61. package/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -13
  62. package/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -16
  63. package/api/resources/eraCommons/types/index.d.ts +0 -1
  64. package/api/resources/eraCommons/types/index.js +0 -17
  65. package/api/resources/insuranceAdjudications/client/Client.d.ts +0 -14
  66. package/api/resources/insuranceAdjudications/client/Client.js +0 -15
  67. package/api/resources/insuranceAdjudications/client/index.d.ts +0 -1
  68. package/api/resources/insuranceAdjudications/client/index.js +0 -2
  69. package/api/resources/insuranceAdjudications/index.d.ts +0 -2
  70. package/api/resources/insuranceAdjudications/index.js +0 -18
  71. package/api/resources/insuranceAdjudications/resources/index.d.ts +0 -1
  72. package/api/resources/insuranceAdjudications/resources/index.js +0 -37
  73. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -153
  74. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +0 -342
  75. package/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -25
  76. package/api/resources/insuranceAdjudications/resources/v1/client/create.js +0 -66
  77. package/api/resources/insuranceAdjudications/resources/v1/client/delete.d.ts +0 -19
  78. package/api/resources/insuranceAdjudications/resources/v1/client/delete.js +0 -55
  79. package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +0 -19
  80. package/api/resources/insuranceAdjudications/resources/v1/client/get.js +0 -55
  81. package/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -3
  82. package/api/resources/insuranceAdjudications/resources/v1/client/index.js +0 -39
  83. package/api/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
  84. package/api/resources/insuranceAdjudications/resources/v1/index.js +0 -18
  85. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -10
  86. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -3
  87. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -9
  88. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -3
  89. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -10
  90. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -3
  91. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -12
  92. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -3
  93. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -5
  94. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -7
  95. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -13
  96. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -3
  97. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -12
  98. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -3
  99. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -5
  100. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -7
  101. package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
  102. package/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
  103. package/api/resources/remitDrafts/index.d.ts +0 -1
  104. package/api/resources/remitDrafts/index.js +0 -17
  105. package/api/resources/remitDrafts/resources/index.d.ts +0 -1
  106. package/api/resources/remitDrafts/resources/index.js +0 -37
  107. package/api/resources/remitDrafts/resources/v1/index.d.ts +0 -1
  108. package/api/resources/remitDrafts/resources/v1/index.js +0 -17
  109. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -5
  110. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -7
  111. package/api/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
  112. package/api/resources/remitDrafts/resources/v1/types/index.js +0 -17
  113. package/api/resources/remits/index.d.ts +0 -1
  114. package/api/resources/remits/index.js +0 -17
  115. package/api/resources/remits/resources/index.d.ts +0 -1
  116. package/api/resources/remits/resources/index.js +0 -37
  117. package/api/resources/remits/resources/v1/index.d.ts +0 -1
  118. package/api/resources/remits/resources/v1/index.js +0 -17
  119. package/api/resources/remits/resources/v1/types/Payee.d.ts +0 -5
  120. package/api/resources/remits/resources/v1/types/Payee.js +0 -3
  121. package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -16
  122. package/api/resources/remits/resources/v1/types/PayeeIdentifier.js +0 -3
  123. package/api/resources/remits/resources/v1/types/index.d.ts +0 -2
  124. package/api/resources/remits/resources/v1/types/index.js +0 -18
  125. package/api/resources/x12/resources/v1/types/Carc.d.ts +0 -407
  126. package/api/resources/x12/resources/v1/types/Carc.js +0 -410
  127. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -6
  128. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -3
  129. package/api/resources/x12/resources/v1/types/Rarc.d.ts +0 -1190
  130. package/api/resources/x12/resources/v1/types/Rarc.js +0 -1193
  131. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -4
  132. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -3
  133. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -13
  134. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -16
  135. package/dist/api/resources/commons/types/TaxId.d.ts +0 -5
  136. package/dist/api/resources/commons/types/TaxId.js +0 -7
  137. package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -5
  138. package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -3
  139. package/dist/api/resources/eraCommons/index.d.ts +0 -1
  140. package/dist/api/resources/eraCommons/index.js +0 -17
  141. package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -13
  142. package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -16
  143. package/dist/api/resources/eraCommons/types/index.d.ts +0 -1
  144. package/dist/api/resources/eraCommons/types/index.js +0 -17
  145. package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +0 -14
  146. package/dist/api/resources/insuranceAdjudications/client/Client.js +0 -15
  147. package/dist/api/resources/insuranceAdjudications/client/index.d.ts +0 -1
  148. package/dist/api/resources/insuranceAdjudications/client/index.js +0 -2
  149. package/dist/api/resources/insuranceAdjudications/index.d.ts +0 -2
  150. package/dist/api/resources/insuranceAdjudications/index.js +0 -18
  151. package/dist/api/resources/insuranceAdjudications/resources/index.d.ts +0 -1
  152. package/dist/api/resources/insuranceAdjudications/resources/index.js +0 -37
  153. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -153
  154. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +0 -342
  155. package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -25
  156. package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.js +0 -66
  157. package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.d.ts +0 -19
  158. package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.js +0 -55
  159. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +0 -19
  160. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +0 -55
  161. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -3
  162. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.js +0 -39
  163. package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
  164. package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +0 -18
  165. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -10
  166. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -3
  167. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -9
  168. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -3
  169. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -10
  170. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -3
  171. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -12
  172. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -3
  173. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -5
  174. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -7
  175. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -13
  176. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -3
  177. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -12
  178. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -3
  179. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -5
  180. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -7
  181. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
  182. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
  183. package/dist/api/resources/remitDrafts/index.d.ts +0 -1
  184. package/dist/api/resources/remitDrafts/index.js +0 -17
  185. package/dist/api/resources/remitDrafts/resources/index.d.ts +0 -1
  186. package/dist/api/resources/remitDrafts/resources/index.js +0 -37
  187. package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +0 -1
  188. package/dist/api/resources/remitDrafts/resources/v1/index.js +0 -17
  189. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -5
  190. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -7
  191. package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
  192. package/dist/api/resources/remitDrafts/resources/v1/types/index.js +0 -17
  193. package/dist/api/resources/remits/index.d.ts +0 -1
  194. package/dist/api/resources/remits/index.js +0 -17
  195. package/dist/api/resources/remits/resources/index.d.ts +0 -1
  196. package/dist/api/resources/remits/resources/index.js +0 -37
  197. package/dist/api/resources/remits/resources/v1/index.d.ts +0 -1
  198. package/dist/api/resources/remits/resources/v1/index.js +0 -17
  199. package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +0 -5
  200. package/dist/api/resources/remits/resources/v1/types/Payee.js +0 -3
  201. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -16
  202. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js +0 -3
  203. package/dist/api/resources/remits/resources/v1/types/index.d.ts +0 -2
  204. package/dist/api/resources/remits/resources/v1/types/index.js +0 -18
  205. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +0 -407
  206. package/dist/api/resources/x12/resources/v1/types/Carc.js +0 -410
  207. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -6
  208. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -3
  209. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +0 -1190
  210. package/dist/api/resources/x12/resources/v1/types/Rarc.js +0 -1193
  211. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -4
  212. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -3
  213. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -7
  214. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -39
  215. package/dist/serialization/resources/commons/types/TaxId.d.ts +0 -7
  216. package/dist/serialization/resources/commons/types/TaxId.js +0 -45
  217. package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -11
  218. package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -43
  219. package/dist/serialization/resources/eraCommons/index.d.ts +0 -1
  220. package/dist/serialization/resources/eraCommons/index.js +0 -17
  221. package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -7
  222. package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -39
  223. package/dist/serialization/resources/eraCommons/types/index.d.ts +0 -1
  224. package/dist/serialization/resources/eraCommons/types/index.js +0 -17
  225. package/dist/serialization/resources/insuranceAdjudications/index.d.ts +0 -1
  226. package/dist/serialization/resources/insuranceAdjudications/index.js +0 -17
  227. package/dist/serialization/resources/insuranceAdjudications/resources/index.d.ts +0 -1
  228. package/dist/serialization/resources/insuranceAdjudications/resources/index.js +0 -37
  229. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -12
  230. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +0 -69
  231. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -1
  232. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +0 -37
  233. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
  234. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +0 -18
  235. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -19
  236. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -51
  237. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -18
  238. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -50
  239. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -19
  240. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -51
  241. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -22
  242. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -54
  243. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -7
  244. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -43
  245. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -21
  246. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -53
  247. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -19
  248. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -51
  249. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -7
  250. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -43
  251. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
  252. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
  253. package/dist/serialization/resources/remitDrafts/index.d.ts +0 -1
  254. package/dist/serialization/resources/remitDrafts/index.js +0 -17
  255. package/dist/serialization/resources/remitDrafts/resources/index.d.ts +0 -1
  256. package/dist/serialization/resources/remitDrafts/resources/index.js +0 -37
  257. package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +0 -1
  258. package/dist/serialization/resources/remitDrafts/resources/v1/index.js +0 -17
  259. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -7
  260. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -43
  261. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
  262. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +0 -17
  263. package/dist/serialization/resources/remits/index.d.ts +0 -1
  264. package/dist/serialization/resources/remits/index.js +0 -17
  265. package/dist/serialization/resources/remits/resources/index.d.ts +0 -1
  266. package/dist/serialization/resources/remits/resources/index.js +0 -37
  267. package/dist/serialization/resources/remits/resources/v1/index.d.ts +0 -1
  268. package/dist/serialization/resources/remits/resources/v1/index.js +0 -17
  269. package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +0 -11
  270. package/dist/serialization/resources/remits/resources/v1/types/Payee.js +0 -43
  271. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -21
  272. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +0 -56
  273. package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +0 -2
  274. package/dist/serialization/resources/remits/resources/v1/types/index.js +0 -18
  275. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +0 -7
  276. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +0 -444
  277. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -13
  278. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -45
  279. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +0 -7
  280. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +0 -1227
  281. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -10
  282. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -42
  283. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -7
  284. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -39
  285. package/serialization/resources/commons/types/TaxId.d.ts +0 -7
  286. package/serialization/resources/commons/types/TaxId.js +0 -45
  287. package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -11
  288. package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -43
  289. package/serialization/resources/eraCommons/index.d.ts +0 -1
  290. package/serialization/resources/eraCommons/index.js +0 -17
  291. package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -7
  292. package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -39
  293. package/serialization/resources/eraCommons/types/index.d.ts +0 -1
  294. package/serialization/resources/eraCommons/types/index.js +0 -17
  295. package/serialization/resources/insuranceAdjudications/index.d.ts +0 -1
  296. package/serialization/resources/insuranceAdjudications/index.js +0 -17
  297. package/serialization/resources/insuranceAdjudications/resources/index.d.ts +0 -1
  298. package/serialization/resources/insuranceAdjudications/resources/index.js +0 -37
  299. package/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -12
  300. package/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +0 -69
  301. package/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -1
  302. package/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +0 -37
  303. package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
  304. package/serialization/resources/insuranceAdjudications/resources/v1/index.js +0 -18
  305. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -19
  306. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -51
  307. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -18
  308. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -50
  309. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -19
  310. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -51
  311. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -22
  312. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -54
  313. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -7
  314. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -43
  315. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -21
  316. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -53
  317. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -19
  318. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -51
  319. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -7
  320. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -43
  321. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
  322. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
  323. package/serialization/resources/remitDrafts/index.d.ts +0 -1
  324. package/serialization/resources/remitDrafts/index.js +0 -17
  325. package/serialization/resources/remitDrafts/resources/index.d.ts +0 -1
  326. package/serialization/resources/remitDrafts/resources/index.js +0 -37
  327. package/serialization/resources/remitDrafts/resources/v1/index.d.ts +0 -1
  328. package/serialization/resources/remitDrafts/resources/v1/index.js +0 -17
  329. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -7
  330. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -43
  331. package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
  332. package/serialization/resources/remitDrafts/resources/v1/types/index.js +0 -17
  333. package/serialization/resources/remits/index.d.ts +0 -1
  334. package/serialization/resources/remits/index.js +0 -17
  335. package/serialization/resources/remits/resources/index.d.ts +0 -1
  336. package/serialization/resources/remits/resources/index.js +0 -37
  337. package/serialization/resources/remits/resources/v1/index.d.ts +0 -1
  338. package/serialization/resources/remits/resources/v1/index.js +0 -17
  339. package/serialization/resources/remits/resources/v1/types/Payee.d.ts +0 -11
  340. package/serialization/resources/remits/resources/v1/types/Payee.js +0 -43
  341. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -21
  342. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +0 -56
  343. package/serialization/resources/remits/resources/v1/types/index.d.ts +0 -2
  344. package/serialization/resources/remits/resources/v1/types/index.js +0 -18
  345. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +0 -7
  346. package/serialization/resources/x12/resources/v1/types/Carc.js +0 -444
  347. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -13
  348. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -45
  349. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +0 -7
  350. package/serialization/resources/x12/resources/v1/types/Rarc.js +0 -1227
  351. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -10
  352. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -42
@@ -1,342 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
- return new (P || (P = Promise))(function (resolve, reject) {
39
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
- step((generator = generator.apply(thisArg, _arguments || [])).next());
43
- });
44
- };
45
- Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.V1 = void 0;
47
- const core = __importStar(require("../../../../../../core"));
48
- const headers_1 = require("../../../../../../core/headers");
49
- const environments = __importStar(require("../../../../../../environments"));
50
- const serializers = __importStar(require("../../../../../../serialization/index"));
51
- const CandidApi = __importStar(require("../../../../../index"));
52
- class V1 {
53
- constructor(_options = {}) {
54
- this._options = _options;
55
- }
56
- /**
57
- * Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
58
- *
59
- * @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId} insuranceAdjudicationId
60
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
61
- *
62
- * @example
63
- * await client.insuranceAdjudications.v1.get(CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
64
- */
65
- get(insuranceAdjudicationId, requestOptions) {
66
- return core.HttpResponsePromise.fromPromise(this.__get(insuranceAdjudicationId, requestOptions));
67
- }
68
- __get(insuranceAdjudicationId, requestOptions) {
69
- return __awaiter(this, void 0, void 0, function* () {
70
- var _a, _b, _c, _d, _e, _f, _g, _h;
71
- const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
72
- const _response = yield core.fetcher({
73
- url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${core.url.encodePathParam(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
74
- method: "GET",
75
- headers: _headers,
76
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
77
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
78
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
79
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
80
- });
81
- if (_response.ok) {
82
- return {
83
- data: {
84
- ok: true,
85
- body: serializers.insuranceAdjudications.v1.InsuranceAdjudication.parseOrThrow(_response.body, {
86
- unrecognizedObjectKeys: "passthrough",
87
- allowUnrecognizedUnionMembers: true,
88
- allowUnrecognizedEnumValues: true,
89
- breadcrumbsPrefix: ["response"],
90
- }),
91
- headers: _response.headers,
92
- rawResponse: _response.rawResponse,
93
- },
94
- rawResponse: _response.rawResponse,
95
- };
96
- }
97
- return {
98
- data: {
99
- ok: false,
100
- error: CandidApi.insuranceAdjudications.v1.get.Error._unknown(_response.error),
101
- rawResponse: _response.rawResponse,
102
- },
103
- rawResponse: _response.rawResponse,
104
- };
105
- });
106
- }
107
- /**
108
- * Creates a new insurance adjudication record and returns the newly created InsuranceAdjudication object.
109
- *
110
- * @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationCreate} request
111
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
112
- *
113
- * @example
114
- * await client.insuranceAdjudications.v1.create({
115
- * payerIdentifier: {
116
- * type: "payer_info",
117
- * payerId: CandidApi.payers.v3.PayerId("payer_id"),
118
- * payerName: CandidApi.payers.v3.PayerName("payer_name")
119
- * },
120
- * payee: {
121
- * payeeName: "payee_name",
122
- * payeeIdentifier: {
123
- * type: "npi",
124
- * value: CandidApi.Npi("payee_identifier")
125
- * }
126
- * },
127
- * checkDate: "2023-01-15",
128
- * claims: {
129
- * "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
130
- * claimStatusCode: "1",
131
- * serviceLines: {
132
- * "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
133
- * carcs: [{
134
- * groupCode: "CO",
135
- * reasonCode: "1",
136
- * amountCents: 1
137
- * }, {
138
- * groupCode: "CO",
139
- * reasonCode: "1",
140
- * amountCents: 1
141
- * }],
142
- * rarcs: [{
143
- * reasonCode: "M1"
144
- * }, {
145
- * reasonCode: "M1"
146
- * }]
147
- * }, {
148
- * carcs: [{
149
- * groupCode: "CO",
150
- * reasonCode: "1",
151
- * amountCents: 1
152
- * }, {
153
- * groupCode: "CO",
154
- * reasonCode: "1",
155
- * amountCents: 1
156
- * }],
157
- * rarcs: [{
158
- * reasonCode: "M1"
159
- * }, {
160
- * reasonCode: "M1"
161
- * }]
162
- * }]
163
- * },
164
- * carcs: [{
165
- * groupCode: "CO",
166
- * reasonCode: "1",
167
- * amountCents: 1
168
- * }, {
169
- * groupCode: "CO",
170
- * reasonCode: "1",
171
- * amountCents: 1
172
- * }]
173
- * }, {
174
- * claimStatusCode: "1",
175
- * serviceLines: {
176
- * "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
177
- * carcs: [{
178
- * groupCode: "CO",
179
- * reasonCode: "1",
180
- * amountCents: 1
181
- * }, {
182
- * groupCode: "CO",
183
- * reasonCode: "1",
184
- * amountCents: 1
185
- * }],
186
- * rarcs: [{
187
- * reasonCode: "M1"
188
- * }, {
189
- * reasonCode: "M1"
190
- * }]
191
- * }, {
192
- * carcs: [{
193
- * groupCode: "CO",
194
- * reasonCode: "1",
195
- * amountCents: 1
196
- * }, {
197
- * groupCode: "CO",
198
- * reasonCode: "1",
199
- * amountCents: 1
200
- * }],
201
- * rarcs: [{
202
- * reasonCode: "M1"
203
- * }, {
204
- * reasonCode: "M1"
205
- * }]
206
- * }]
207
- * },
208
- * carcs: [{
209
- * groupCode: "CO",
210
- * reasonCode: "1",
211
- * amountCents: 1
212
- * }, {
213
- * groupCode: "CO",
214
- * reasonCode: "1",
215
- * amountCents: 1
216
- * }]
217
- * }]
218
- * }
219
- * })
220
- */
221
- create(request, requestOptions) {
222
- return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
223
- }
224
- __create(request, requestOptions) {
225
- return __awaiter(this, void 0, void 0, function* () {
226
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
227
- const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
228
- const _response = yield core.fetcher({
229
- url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-adjudications/v1"),
230
- method: "POST",
231
- headers: _headers,
232
- contentType: "application/json",
233
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
234
- requestType: "json",
235
- body: serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
236
- unrecognizedObjectKeys: "strip",
237
- }),
238
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
239
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
240
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
241
- });
242
- if (_response.ok) {
243
- return {
244
- data: {
245
- ok: true,
246
- body: serializers.insuranceAdjudications.v1.InsuranceAdjudication.parseOrThrow(_response.body, {
247
- unrecognizedObjectKeys: "passthrough",
248
- allowUnrecognizedUnionMembers: true,
249
- allowUnrecognizedEnumValues: true,
250
- breadcrumbsPrefix: ["response"],
251
- }),
252
- headers: _response.headers,
253
- rawResponse: _response.rawResponse,
254
- },
255
- rawResponse: _response.rawResponse,
256
- };
257
- }
258
- if (_response.error.reason === "status-code") {
259
- switch ((_j = _response.error.body) === null || _j === void 0 ? void 0 : _j.errorName) {
260
- case "EraNotFullyProcessedError":
261
- return {
262
- data: {
263
- ok: false,
264
- error: serializers.insuranceAdjudications.v1.create.Error.parseOrThrow(_response.error.body, {
265
- unrecognizedObjectKeys: "passthrough",
266
- allowUnrecognizedUnionMembers: true,
267
- allowUnrecognizedEnumValues: true,
268
- breadcrumbsPrefix: ["response"],
269
- }),
270
- rawResponse: _response.rawResponse,
271
- },
272
- rawResponse: _response.rawResponse,
273
- };
274
- }
275
- }
276
- return {
277
- data: {
278
- ok: false,
279
- error: CandidApi.insuranceAdjudications.v1.create.Error._unknown(_response.error),
280
- rawResponse: _response.rawResponse,
281
- },
282
- rawResponse: _response.rawResponse,
283
- };
284
- });
285
- }
286
- /**
287
- * Deletes the insurance adjudication record matching the provided insurance_adjudication_id.
288
- *
289
- * @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId} insuranceAdjudicationId
290
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
291
- *
292
- * @example
293
- * await client.insuranceAdjudications.v1.delete(CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
294
- */
295
- delete(insuranceAdjudicationId, requestOptions) {
296
- return core.HttpResponsePromise.fromPromise(this.__delete(insuranceAdjudicationId, requestOptions));
297
- }
298
- __delete(insuranceAdjudicationId, requestOptions) {
299
- return __awaiter(this, void 0, void 0, function* () {
300
- var _a, _b, _c, _d, _e, _f, _g, _h;
301
- const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
302
- const _response = yield core.fetcher({
303
- url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${core.url.encodePathParam(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
304
- method: "DELETE",
305
- headers: _headers,
306
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
307
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
308
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
309
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
310
- });
311
- if (_response.ok) {
312
- return {
313
- data: {
314
- ok: true,
315
- body: undefined,
316
- headers: _response.headers,
317
- rawResponse: _response.rawResponse,
318
- },
319
- rawResponse: _response.rawResponse,
320
- };
321
- }
322
- return {
323
- data: {
324
- ok: false,
325
- error: CandidApi.insuranceAdjudications.v1.delete.Error._unknown(_response.error),
326
- rawResponse: _response.rawResponse,
327
- },
328
- rawResponse: _response.rawResponse,
329
- };
330
- });
331
- }
332
- _getAuthorizationHeader() {
333
- return __awaiter(this, void 0, void 0, function* () {
334
- const bearer = yield core.Supplier.get(this._options.token);
335
- if (bearer != null) {
336
- return `Bearer ${bearer}`;
337
- }
338
- return undefined;
339
- });
340
- }
341
- }
342
- exports.V1 = V1;
@@ -1,25 +0,0 @@
1
- import type * as core from "../../../../../../core";
2
- import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.insuranceAdjudications.v1.create.Error.EraNotFullyProcessedError | CandidApi.insuranceAdjudications.v1.create.Error._Unknown;
4
- export declare namespace Error {
5
- interface EraNotFullyProcessedError extends _Utils {
6
- errorName: "EraNotFullyProcessedError";
7
- content: CandidApi.EraNotFullyProcessedErrorMessage;
8
- }
9
- interface _Unknown extends _Utils {
10
- errorName: void;
11
- content: core.Fetcher.Error;
12
- }
13
- interface _Utils {
14
- _visit: <_Result>(visitor: CandidApi.insuranceAdjudications.v1.create.Error._Visitor<_Result>) => _Result;
15
- }
16
- interface _Visitor<_Result> {
17
- eraNotFullyProcessedError: (value: CandidApi.EraNotFullyProcessedErrorMessage) => _Result;
18
- _other: (value: core.Fetcher.Error) => _Result;
19
- }
20
- }
21
- export declare const Error: {
22
- readonly eraNotFullyProcessedError: (value: CandidApi.EraNotFullyProcessedErrorMessage) => CandidApi.insuranceAdjudications.v1.create.Error.EraNotFullyProcessedError;
23
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceAdjudications.v1.create.Error._Unknown;
24
- readonly _visit: <_Result>(value: CandidApi.insuranceAdjudications.v1.create.Error, visitor: CandidApi.insuranceAdjudications.v1.create.Error._Visitor<_Result>) => _Result;
25
- };
@@ -1,66 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.Error = void 0;
38
- const CandidApi = __importStar(require("../../../../../index"));
39
- exports.Error = {
40
- eraNotFullyProcessedError: (value) => {
41
- return {
42
- content: value,
43
- errorName: "EraNotFullyProcessedError",
44
- _visit: function (visitor) {
45
- return CandidApi.insuranceAdjudications.v1.create.Error._visit(this, visitor);
46
- },
47
- };
48
- },
49
- _unknown: (fetcherError) => {
50
- return {
51
- errorName: undefined,
52
- content: fetcherError,
53
- _visit: function (visitor) {
54
- return CandidApi.insuranceAdjudications.v1.create.Error._visit(this, visitor);
55
- },
56
- };
57
- },
58
- _visit: (value, visitor) => {
59
- switch (value.errorName) {
60
- case "EraNotFullyProcessedError":
61
- return visitor.eraNotFullyProcessedError(value.content);
62
- default:
63
- return visitor._other(value);
64
- }
65
- },
66
- };
@@ -1,19 +0,0 @@
1
- import type * as core from "../../../../../../core";
2
- import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.insuranceAdjudications.v1.delete.Error._Unknown;
4
- export declare namespace Error {
5
- interface _Unknown extends _Utils {
6
- errorName: void;
7
- content: core.Fetcher.Error;
8
- }
9
- interface _Utils {
10
- _visit: <_Result>(visitor: CandidApi.insuranceAdjudications.v1.delete.Error._Visitor<_Result>) => _Result;
11
- }
12
- interface _Visitor<_Result> {
13
- _other: (value: core.Fetcher.Error) => _Result;
14
- }
15
- }
16
- export declare const Error: {
17
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceAdjudications.v1.delete.Error._Unknown;
18
- readonly _visit: <_Result>(value: CandidApi.insuranceAdjudications.v1.delete.Error, visitor: CandidApi.insuranceAdjudications.v1.delete.Error._Visitor<_Result>) => _Result;
19
- };
@@ -1,55 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.Error = void 0;
38
- const CandidApi = __importStar(require("../../../../../index"));
39
- exports.Error = {
40
- _unknown: (fetcherError) => {
41
- return {
42
- errorName: undefined,
43
- content: fetcherError,
44
- _visit: function (visitor) {
45
- return CandidApi.insuranceAdjudications.v1.delete.Error._visit(this, visitor);
46
- },
47
- };
48
- },
49
- _visit: (value, visitor) => {
50
- switch (value.errorName) {
51
- default:
52
- return visitor._other(value);
53
- }
54
- },
55
- };
@@ -1,19 +0,0 @@
1
- import type * as core from "../../../../../../core";
2
- import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.insuranceAdjudications.v1.get.Error._Unknown;
4
- export declare namespace Error {
5
- interface _Unknown extends _Utils {
6
- errorName: void;
7
- content: core.Fetcher.Error;
8
- }
9
- interface _Utils {
10
- _visit: <_Result>(visitor: CandidApi.insuranceAdjudications.v1.get.Error._Visitor<_Result>) => _Result;
11
- }
12
- interface _Visitor<_Result> {
13
- _other: (value: core.Fetcher.Error) => _Result;
14
- }
15
- }
16
- export declare const Error: {
17
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceAdjudications.v1.get.Error._Unknown;
18
- readonly _visit: <_Result>(value: CandidApi.insuranceAdjudications.v1.get.Error, visitor: CandidApi.insuranceAdjudications.v1.get.Error._Visitor<_Result>) => _Result;
19
- };
@@ -1,55 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.Error = void 0;
38
- const CandidApi = __importStar(require("../../../../../index"));
39
- exports.Error = {
40
- _unknown: (fetcherError) => {
41
- return {
42
- errorName: undefined,
43
- content: fetcherError,
44
- _visit: function (visitor) {
45
- return CandidApi.insuranceAdjudications.v1.get.Error._visit(this, visitor);
46
- },
47
- };
48
- },
49
- _visit: (value, visitor) => {
50
- switch (value.errorName) {
51
- default:
52
- return visitor._other(value);
53
- }
54
- },
55
- };
@@ -1,3 +0,0 @@
1
- export * as create from "./create";
2
- export * as delete from "./delete";
3
- export * as get from "./get";
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __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 () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.get = exports.delete = exports.create = void 0;
37
- exports.create = __importStar(require("./create"));
38
- exports.delete = __importStar(require("./delete"));
39
- exports.get = __importStar(require("./get"));
@@ -1,2 +0,0 @@
1
- export * from "./client";
2
- export * from "./types";
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./client"), exports);
18
- __exportStar(require("./types"), exports);