candidhealth 0.10.0 → 0.10.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 (499) 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/claimActionsCommons/index.d.ts +1 -0
  4. package/api/resources/claimActionsCommons/index.js +17 -0
  5. package/api/resources/claimActionsCommons/types/ClaimAction.d.ts +30 -0
  6. package/api/resources/claimActionsCommons/types/ClaimAction.js +5 -0
  7. package/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +23 -0
  8. package/api/resources/claimActionsCommons/types/ClaimActionMetadata.js +5 -0
  9. package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +8 -0
  10. package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +5 -0
  11. package/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +21 -0
  12. package/api/resources/claimActionsCommons/types/CreateTaskConfig.js +5 -0
  13. package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +21 -0
  14. package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +5 -0
  15. package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +14 -0
  16. package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +5 -0
  17. package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +8 -0
  18. package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +5 -0
  19. package/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +8 -0
  20. package/api/resources/claimActionsCommons/types/VoidClaimAction.js +5 -0
  21. package/api/resources/claimActionsCommons/types/index.d.ts +8 -0
  22. package/api/resources/claimActionsCommons/types/index.js +24 -0
  23. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  24. package/api/resources/claims/types/Claim.d.ts +37 -1
  25. package/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  26. package/api/resources/claims/types/ClaimStatus.js +1 -0
  27. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  28. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  29. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  30. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +36 -1
  31. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +36 -1
  32. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  33. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  34. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  35. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  36. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  37. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  38. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  39. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  40. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  41. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  42. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  43. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  44. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  45. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  46. package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  47. package/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  48. package/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  49. package/api/resources/financials/types/PatientTransactionSource.js +15 -0
  50. package/api/resources/financials/types/index.d.ts +1 -0
  51. package/api/resources/financials/types/index.js +1 -0
  52. package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  53. package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  54. package/api/resources/index.d.ts +4 -0
  55. package/api/resources/index.js +5 -1
  56. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  57. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  58. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  59. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  60. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  61. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  62. package/api/resources/jobs/index.d.ts +1 -0
  63. package/api/resources/jobs/index.js +17 -0
  64. package/api/resources/jobs/resources/index.d.ts +1 -0
  65. package/api/resources/jobs/resources/index.js +27 -0
  66. package/api/resources/jobs/resources/v1/index.d.ts +1 -0
  67. package/api/resources/jobs/resources/v1/index.js +17 -0
  68. package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +29 -0
  69. package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +5 -0
  70. package/api/resources/jobs/resources/v1/types/Job.d.ts +53 -0
  71. package/api/resources/jobs/resources/v1/types/Job.js +5 -0
  72. package/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +8 -0
  73. package/api/resources/jobs/resources/v1/types/JobGroupId.js +10 -0
  74. package/api/resources/jobs/resources/v1/types/JobId.d.ts +8 -0
  75. package/api/resources/jobs/resources/v1/types/JobId.js +10 -0
  76. package/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +30 -0
  77. package/api/resources/jobs/resources/v1/types/JobMetadata.js +5 -0
  78. package/api/resources/jobs/resources/v1/types/JobStatus.d.ts +16 -0
  79. package/api/resources/jobs/resources/v1/types/JobStatus.js +12 -0
  80. package/api/resources/jobs/resources/v1/types/index.d.ts +6 -0
  81. package/api/resources/jobs/resources/v1/types/index.js +22 -0
  82. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  83. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  84. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -3
  85. package/api/resources/patientPayments/resources/v4/client/Client.js +3 -6
  86. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  87. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -3
  88. package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -6
  89. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  90. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  91. package/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  92. package/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  93. package/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  94. package/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  95. package/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  96. package/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  97. package/api/resources/payers/resources/v3/types/index.d.ts +3 -0
  98. package/api/resources/payers/resources/v3/types/index.js +3 -0
  99. package/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
  100. package/api/resources/tasks/resources/v3/client/Client.js +5 -25
  101. package/api/resources/users/index.d.ts +1 -0
  102. package/api/resources/users/index.js +17 -0
  103. package/api/resources/users/resources/index.d.ts +1 -0
  104. package/api/resources/users/resources/index.js +27 -0
  105. package/api/resources/users/resources/v2/index.d.ts +1 -0
  106. package/api/resources/users/resources/v2/index.js +17 -0
  107. package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  108. package/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
  109. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
  110. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
  111. package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +14 -0
  112. package/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
  113. package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +23 -0
  114. package/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
  115. package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
  116. package/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
  117. package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
  118. package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
  119. package/api/resources/users/resources/v2/types/UserMetadata.d.ts +21 -0
  120. package/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
  121. package/api/resources/users/resources/v2/types/UserV2.d.ts +28 -0
  122. package/api/resources/users/resources/v2/types/UserV2.js +5 -0
  123. package/api/resources/users/resources/v2/types/index.d.ts +8 -0
  124. package/api/resources/users/resources/v2/types/index.js +24 -0
  125. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -4
  126. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -7
  127. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  128. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  129. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  130. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  131. package/api/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
  132. package/api/resources/writeOffs/resources/v1/types/index.js +1 -0
  133. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  134. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  135. package/dist/api/resources/claimActionsCommons/index.d.ts +1 -0
  136. package/dist/api/resources/claimActionsCommons/index.js +17 -0
  137. package/dist/api/resources/claimActionsCommons/types/ClaimAction.d.ts +30 -0
  138. package/dist/api/resources/claimActionsCommons/types/ClaimAction.js +5 -0
  139. package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +23 -0
  140. package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.js +5 -0
  141. package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +8 -0
  142. package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +5 -0
  143. package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +21 -0
  144. package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.js +5 -0
  145. package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +21 -0
  146. package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +5 -0
  147. package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +14 -0
  148. package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +5 -0
  149. package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +8 -0
  150. package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +5 -0
  151. package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +8 -0
  152. package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.js +5 -0
  153. package/dist/api/resources/claimActionsCommons/types/index.d.ts +8 -0
  154. package/dist/api/resources/claimActionsCommons/types/index.js +24 -0
  155. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  156. package/dist/api/resources/claims/types/Claim.d.ts +37 -1
  157. package/dist/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  158. package/dist/api/resources/claims/types/ClaimStatus.js +1 -0
  159. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  160. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  161. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  162. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +36 -1
  163. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +36 -1
  164. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  165. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  166. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  167. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  168. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  169. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  170. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  171. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  172. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  173. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  174. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  175. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  176. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  177. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  178. package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  179. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  180. package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  181. package/dist/api/resources/financials/types/PatientTransactionSource.js +15 -0
  182. package/dist/api/resources/financials/types/index.d.ts +1 -0
  183. package/dist/api/resources/financials/types/index.js +1 -0
  184. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  185. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  186. package/dist/api/resources/index.d.ts +4 -0
  187. package/dist/api/resources/index.js +5 -1
  188. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  189. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  190. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  191. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  192. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  193. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  194. package/dist/api/resources/jobs/index.d.ts +1 -0
  195. package/dist/api/resources/jobs/index.js +17 -0
  196. package/dist/api/resources/jobs/resources/index.d.ts +1 -0
  197. package/dist/api/resources/jobs/resources/index.js +27 -0
  198. package/dist/api/resources/jobs/resources/v1/index.d.ts +1 -0
  199. package/dist/api/resources/jobs/resources/v1/index.js +17 -0
  200. package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +29 -0
  201. package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +5 -0
  202. package/dist/api/resources/jobs/resources/v1/types/Job.d.ts +53 -0
  203. package/dist/api/resources/jobs/resources/v1/types/Job.js +5 -0
  204. package/dist/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +8 -0
  205. package/dist/api/resources/jobs/resources/v1/types/JobGroupId.js +10 -0
  206. package/dist/api/resources/jobs/resources/v1/types/JobId.d.ts +8 -0
  207. package/dist/api/resources/jobs/resources/v1/types/JobId.js +10 -0
  208. package/dist/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +30 -0
  209. package/dist/api/resources/jobs/resources/v1/types/JobMetadata.js +5 -0
  210. package/dist/api/resources/jobs/resources/v1/types/JobStatus.d.ts +16 -0
  211. package/dist/api/resources/jobs/resources/v1/types/JobStatus.js +12 -0
  212. package/dist/api/resources/jobs/resources/v1/types/index.d.ts +6 -0
  213. package/dist/api/resources/jobs/resources/v1/types/index.js +22 -0
  214. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  215. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  216. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -3
  217. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -6
  218. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  219. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -3
  220. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -6
  221. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  222. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  223. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  224. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  225. package/dist/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  226. package/dist/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  227. package/dist/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  228. package/dist/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  229. package/dist/api/resources/payers/resources/v3/types/index.d.ts +3 -0
  230. package/dist/api/resources/payers/resources/v3/types/index.js +3 -0
  231. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
  232. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -25
  233. package/dist/api/resources/users/index.d.ts +1 -0
  234. package/dist/api/resources/users/index.js +17 -0
  235. package/dist/api/resources/users/resources/index.d.ts +1 -0
  236. package/dist/api/resources/users/resources/index.js +27 -0
  237. package/dist/api/resources/users/resources/v2/index.d.ts +1 -0
  238. package/dist/api/resources/users/resources/v2/index.js +17 -0
  239. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  240. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
  241. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
  242. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
  243. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +14 -0
  244. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
  245. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +23 -0
  246. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
  247. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
  248. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
  249. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
  250. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
  251. package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +21 -0
  252. package/dist/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
  253. package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +28 -0
  254. package/dist/api/resources/users/resources/v2/types/UserV2.js +5 -0
  255. package/dist/api/resources/users/resources/v2/types/index.d.ts +8 -0
  256. package/dist/api/resources/users/resources/v2/types/index.js +24 -0
  257. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -4
  258. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -7
  259. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  260. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  261. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  262. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  263. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
  264. package/dist/api/resources/writeOffs/resources/v1/types/index.js +1 -0
  265. package/dist/serialization/resources/claimActionsCommons/index.d.ts +1 -0
  266. package/dist/serialization/resources/claimActionsCommons/index.js +17 -0
  267. package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +25 -0
  268. package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.js +42 -0
  269. package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +16 -0
  270. package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +37 -0
  271. package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +11 -0
  272. package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +31 -0
  273. package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +16 -0
  274. package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +37 -0
  275. package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +13 -0
  276. package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +34 -0
  277. package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +12 -0
  278. package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +33 -0
  279. package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +11 -0
  280. package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +31 -0
  281. package/dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts +11 -0
  282. package/dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.js +31 -0
  283. package/dist/serialization/resources/claimActionsCommons/types/index.d.ts +8 -0
  284. package/dist/serialization/resources/claimActionsCommons/types/index.js +24 -0
  285. package/dist/serialization/resources/claims/types/Claim.d.ts +1 -0
  286. package/dist/serialization/resources/claims/types/Claim.js +1 -0
  287. package/dist/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  288. package/dist/serialization/resources/claims/types/ClaimStatus.js +1 -0
  289. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  290. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  291. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  292. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  293. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  294. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  295. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  296. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  297. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  298. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  299. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  300. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  301. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  302. package/dist/serialization/resources/financials/types/AllocationTarget.js +1 -0
  303. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  304. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  305. package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  306. package/dist/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  307. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  308. package/dist/serialization/resources/financials/types/index.js +1 -0
  309. package/dist/serialization/resources/index.d.ts +4 -0
  310. package/dist/serialization/resources/index.js +5 -1
  311. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  312. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
  313. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  314. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
  315. package/dist/serialization/resources/jobs/index.d.ts +1 -0
  316. package/dist/serialization/resources/jobs/index.js +17 -0
  317. package/dist/serialization/resources/jobs/resources/index.d.ts +1 -0
  318. package/dist/serialization/resources/jobs/resources/index.js +27 -0
  319. package/dist/serialization/resources/jobs/resources/v1/index.d.ts +1 -0
  320. package/dist/serialization/resources/jobs/resources/v1/index.js +17 -0
  321. package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +15 -0
  322. package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +36 -0
  323. package/dist/serialization/resources/jobs/resources/v1/types/Job.d.ts +18 -0
  324. package/dist/serialization/resources/jobs/resources/v1/types/Job.js +39 -0
  325. package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +10 -0
  326. package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.js +35 -0
  327. package/dist/serialization/resources/jobs/resources/v1/types/JobId.d.ts +10 -0
  328. package/dist/serialization/resources/jobs/resources/v1/types/JobId.js +35 -0
  329. package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +13 -0
  330. package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.js +38 -0
  331. package/dist/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +10 -0
  332. package/dist/serialization/resources/{writeOffs/resources/v1/client/create.js → jobs/resources/v1/types/JobStatus.js} +2 -2
  333. package/dist/serialization/resources/jobs/resources/v1/types/index.d.ts +6 -0
  334. package/dist/serialization/resources/jobs/resources/v1/types/index.js +22 -0
  335. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  336. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  337. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  338. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  339. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  340. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  341. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  342. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  343. package/dist/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  344. package/dist/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  345. package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
  346. package/dist/serialization/resources/payers/resources/v3/types/index.js +3 -0
  347. package/dist/serialization/resources/users/index.d.ts +1 -0
  348. package/dist/serialization/resources/users/index.js +17 -0
  349. package/dist/serialization/resources/users/resources/index.d.ts +1 -0
  350. package/dist/serialization/resources/users/resources/index.js +27 -0
  351. package/dist/serialization/resources/users/resources/v2/index.d.ts +1 -0
  352. package/dist/serialization/resources/users/resources/v2/index.js +17 -0
  353. package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  354. package/{serialization/resources/writeOffs/resources/v1/client/create.js → dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js} +4 -2
  355. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
  356. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
  357. package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
  358. package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +34 -0
  359. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
  360. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
  361. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
  362. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
  363. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
  364. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
  365. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
  366. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
  367. package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
  368. package/dist/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
  369. package/dist/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
  370. package/dist/serialization/resources/users/resources/v2/types/index.js +24 -0
  371. package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  372. package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  373. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  374. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  375. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  376. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  377. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  378. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  379. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
  380. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +1 -0
  381. package/package.json +1 -1
  382. package/serialization/resources/claimActionsCommons/index.d.ts +1 -0
  383. package/serialization/resources/claimActionsCommons/index.js +17 -0
  384. package/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +25 -0
  385. package/serialization/resources/claimActionsCommons/types/ClaimAction.js +42 -0
  386. package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +16 -0
  387. package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +37 -0
  388. package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +11 -0
  389. package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +31 -0
  390. package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +16 -0
  391. package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +37 -0
  392. package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +13 -0
  393. package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +34 -0
  394. package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +12 -0
  395. package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +33 -0
  396. package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +11 -0
  397. package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +31 -0
  398. package/serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts +11 -0
  399. package/serialization/resources/claimActionsCommons/types/VoidClaimAction.js +31 -0
  400. package/serialization/resources/claimActionsCommons/types/index.d.ts +8 -0
  401. package/serialization/resources/claimActionsCommons/types/index.js +24 -0
  402. package/serialization/resources/claims/types/Claim.d.ts +1 -0
  403. package/serialization/resources/claims/types/Claim.js +1 -0
  404. package/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  405. package/serialization/resources/claims/types/ClaimStatus.js +1 -0
  406. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  407. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  408. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  409. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  410. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  411. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  412. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  413. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  414. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  415. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  416. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  417. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  418. package/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  419. package/serialization/resources/financials/types/AllocationTarget.js +1 -0
  420. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  421. package/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  422. package/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  423. package/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  424. package/serialization/resources/financials/types/index.d.ts +1 -0
  425. package/serialization/resources/financials/types/index.js +1 -0
  426. package/serialization/resources/index.d.ts +4 -0
  427. package/serialization/resources/index.js +5 -1
  428. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  429. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
  430. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  431. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
  432. package/serialization/resources/jobs/index.d.ts +1 -0
  433. package/serialization/resources/jobs/index.js +17 -0
  434. package/serialization/resources/jobs/resources/index.d.ts +1 -0
  435. package/serialization/resources/jobs/resources/index.js +27 -0
  436. package/serialization/resources/jobs/resources/v1/index.d.ts +1 -0
  437. package/serialization/resources/jobs/resources/v1/index.js +17 -0
  438. package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +15 -0
  439. package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +36 -0
  440. package/serialization/resources/jobs/resources/v1/types/Job.d.ts +18 -0
  441. package/serialization/resources/jobs/resources/v1/types/Job.js +39 -0
  442. package/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +10 -0
  443. package/serialization/resources/jobs/resources/v1/types/JobGroupId.js +35 -0
  444. package/serialization/resources/jobs/resources/v1/types/JobId.d.ts +10 -0
  445. package/serialization/resources/jobs/resources/v1/types/JobId.js +35 -0
  446. package/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +13 -0
  447. package/serialization/resources/jobs/resources/v1/types/JobMetadata.js +38 -0
  448. package/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +10 -0
  449. package/serialization/resources/jobs/resources/v1/types/JobStatus.js +31 -0
  450. package/serialization/resources/jobs/resources/v1/types/index.d.ts +6 -0
  451. package/serialization/resources/jobs/resources/v1/types/index.js +22 -0
  452. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  453. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  454. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  455. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  456. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  457. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  458. package/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  459. package/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  460. package/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  461. package/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  462. package/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
  463. package/serialization/resources/payers/resources/v3/types/index.js +3 -0
  464. package/serialization/resources/users/index.d.ts +1 -0
  465. package/serialization/resources/users/index.js +17 -0
  466. package/serialization/resources/users/resources/index.d.ts +1 -0
  467. package/serialization/resources/users/resources/index.js +27 -0
  468. package/serialization/resources/users/resources/v2/index.d.ts +1 -0
  469. package/serialization/resources/users/resources/v2/index.js +17 -0
  470. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  471. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +33 -0
  472. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
  473. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
  474. package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
  475. package/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +34 -0
  476. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
  477. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
  478. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
  479. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
  480. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
  481. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
  482. package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
  483. package/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
  484. package/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
  485. package/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
  486. package/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
  487. package/serialization/resources/users/resources/v2/types/index.js +24 -0
  488. package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  489. package/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  490. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  491. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  492. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  493. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  494. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  495. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  496. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
  497. package/serialization/resources/writeOffs/resources/v1/types/index.js +1 -0
  498. package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
  499. package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
@@ -0,0 +1,12 @@
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 GoogleAppsMetadata: core.serialization.ObjectSchema<serializers.users.v2.GoogleAppsMetadata.Raw, CandidApi.users.v2.GoogleAppsMetadata>;
8
+ export declare namespace GoogleAppsMetadata {
9
+ interface Raw {
10
+ google_apps_id: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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.GoogleAppsMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.GoogleAppsMetadata = core.serialization.object({
32
+ googleAppsId: core.serialization.property("google_apps_id", core.serialization.string()),
33
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const HumanUserMetadata: core.serialization.ObjectSchema<serializers.users.v2.HumanUserMetadata.Raw, CandidApi.users.v2.HumanUserMetadata>;
8
+ export declare namespace HumanUserMetadata {
9
+ interface Raw {
10
+ first_name: string;
11
+ last_name: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.HumanUserMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.HumanUserMetadata = core.serialization.object({
32
+ firstName: core.serialization.property("first_name", core.serialization.string()),
33
+ lastName: core.serialization.property("last_name", core.serialization.string()),
34
+ });
@@ -0,0 +1,19 @@
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 IdpUserMetadata: core.serialization.Schema<serializers.users.v2.IdpUserMetadata.Raw, CandidApi.users.v2.IdpUserMetadata>;
8
+ export declare namespace IdpUserMetadata {
9
+ type Raw = IdpUserMetadata.AuthZeroMetadata | IdpUserMetadata.GoogleAppsMetadata | IdpUserMetadata.OtherIdpMetadata;
10
+ interface AuthZeroMetadata extends serializers.users.v2.AuthZeroMetadata.Raw {
11
+ type: "auth_zero_metadata";
12
+ }
13
+ interface GoogleAppsMetadata extends serializers.users.v2.GoogleAppsMetadata.Raw {
14
+ type: "google_apps_metadata";
15
+ }
16
+ interface OtherIdpMetadata extends serializers.users.v2.OtherIdpMetadata.Raw {
17
+ type: "other_idp_metadata";
18
+ }
19
+ }
@@ -0,0 +1,40 @@
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.IdpUserMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.IdpUserMetadata = core.serialization
32
+ .union("type", {
33
+ auth_zero_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.AuthZeroMetadata),
34
+ google_apps_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.GoogleAppsMetadata),
35
+ other_idp_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.OtherIdpMetadata),
36
+ })
37
+ .transform({
38
+ transform: (value) => value,
39
+ untransform: (value) => value,
40
+ });
@@ -0,0 +1,12 @@
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 MachineUserMetadata: core.serialization.ObjectSchema<serializers.users.v2.MachineUserMetadata.Raw, CandidApi.users.v2.MachineUserMetadata>;
8
+ export declare namespace MachineUserMetadata {
9
+ interface Raw {
10
+ name: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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.MachineUserMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.MachineUserMetadata = core.serialization.object({
32
+ name: core.serialization.string(),
33
+ });
@@ -0,0 +1,12 @@
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 OtherIdpMetadata: core.serialization.ObjectSchema<serializers.users.v2.OtherIdpMetadata.Raw, CandidApi.users.v2.OtherIdpMetadata>;
8
+ export declare namespace OtherIdpMetadata {
9
+ interface Raw {
10
+ idp_external_id: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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.OtherIdpMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.OtherIdpMetadata = core.serialization.object({
32
+ idpExternalId: core.serialization.property("idp_external_id", core.serialization.string()),
33
+ });
@@ -0,0 +1,16 @@
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 UserMetadata: core.serialization.Schema<serializers.users.v2.UserMetadata.Raw, CandidApi.users.v2.UserMetadata>;
8
+ export declare namespace UserMetadata {
9
+ type Raw = UserMetadata.MachineUserMetadata | UserMetadata.HumanUserMetadata;
10
+ interface MachineUserMetadata extends serializers.users.v2.MachineUserMetadata.Raw {
11
+ type: "machine_user_metadata";
12
+ }
13
+ interface HumanUserMetadata extends serializers.users.v2.HumanUserMetadata.Raw {
14
+ type: "human_user_metadata";
15
+ }
16
+ }
@@ -0,0 +1,39 @@
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.UserMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.UserMetadata = core.serialization
32
+ .union("type", {
33
+ machine_user_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.MachineUserMetadata),
34
+ human_user_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.HumanUserMetadata),
35
+ })
36
+ .transform({
37
+ transform: (value) => value,
38
+ untransform: (value) => value,
39
+ });
@@ -0,0 +1,16 @@
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 UserV2: core.serialization.ObjectSchema<serializers.users.v2.UserV2.Raw, CandidApi.users.v2.UserV2>;
8
+ export declare namespace UserV2 {
9
+ interface Raw {
10
+ user_id: serializers.UserId.Raw;
11
+ idp_metadata: serializers.users.v2.IdpUserMetadata.Raw[];
12
+ primary_organization_id: serializers.OrganizationId.Raw;
13
+ user_metadata: serializers.users.v2.UserMetadata.Raw;
14
+ accessible_organization_ids: serializers.OrganizationId.Raw[];
15
+ }
16
+ }
@@ -0,0 +1,37 @@
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.UserV2 = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.UserV2 = core.serialization.object({
32
+ userId: core.serialization.property("user_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UserId)),
33
+ idpMetadata: core.serialization.property("idp_metadata", core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.IdpUserMetadata))),
34
+ primaryOrganizationId: core.serialization.property("primary_organization_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId)),
35
+ userMetadata: core.serialization.property("user_metadata", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.UserMetadata)),
36
+ accessibleOrganizationIds: core.serialization.property("accessible_organization_ids", core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId))),
37
+ });
@@ -0,0 +1,8 @@
1
+ export * from "./HumanUserMetadata";
2
+ export * from "./MachineUserMetadata";
3
+ export * from "./UserMetadata";
4
+ export * from "./AuthZeroMetadata";
5
+ export * from "./GoogleAppsMetadata";
6
+ export * from "./OtherIdpMetadata";
7
+ export * from "./IdpUserMetadata";
8
+ export * from "./UserV2";
@@ -0,0 +1,24 @@
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("./HumanUserMetadata"), exports);
18
+ __exportStar(require("./MachineUserMetadata"), exports);
19
+ __exportStar(require("./UserMetadata"), exports);
20
+ __exportStar(require("./AuthZeroMetadata"), exports);
21
+ __exportStar(require("./GoogleAppsMetadata"), exports);
22
+ __exportStar(require("./OtherIdpMetadata"), exports);
23
+ __exportStar(require("./IdpUserMetadata"), exports);
24
+ __exportStar(require("./UserV2"), exports);
@@ -1,2 +1 @@
1
- export * as create from "./create";
2
1
  export * from "./requests";
@@ -10,22 +10,8 @@ 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
- };
25
13
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
15
  };
28
16
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.create = void 0;
30
- exports.create = __importStar(require("./create"));
31
17
  __exportStar(require("./requests"), exports);
@@ -0,0 +1,12 @@
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 CreateWriteOffsResponse: core.serialization.ObjectSchema<serializers.writeOffs.v1.CreateWriteOffsResponse.Raw, CandidApi.writeOffs.v1.CreateWriteOffsResponse>;
8
+ export declare namespace CreateWriteOffsResponse {
9
+ interface Raw {
10
+ write_offs: serializers.writeOffs.v1.WriteOff.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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.CreateWriteOffsResponse = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.CreateWriteOffsResponse = core.serialization.object({
32
+ writeOffs: core.serialization.property("write_offs", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOff))),
33
+ });
@@ -11,6 +11,7 @@ export declare namespace WriteOff {
11
11
  write_off_timestamp: string;
12
12
  write_off_note?: string | null;
13
13
  write_off_reason: serializers.writeOffs.v1.WriteOffReason.Raw;
14
- allocation: serializers.Allocation.Raw;
14
+ service_line_id: serializers.ServiceLineId.Raw;
15
+ amount_cents: number;
15
16
  }
16
17
  }
@@ -33,5 +33,6 @@ exports.WriteOff = core.serialization.object({
33
33
  writeOffTimestamp: core.serialization.property("write_off_timestamp", core.serialization.date()),
34
34
  writeOffNote: core.serialization.property("write_off_note", core.serialization.string().optional()),
35
35
  writeOffReason: core.serialization.property("write_off_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOffReason)),
36
- allocation: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Allocation),
36
+ serviceLineId: core.serialization.property("service_line_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId)),
37
+ amountCents: core.serialization.property("amount_cents", core.serialization.number()),
37
38
  });
@@ -10,6 +10,7 @@ export declare namespace WriteOffCreate {
10
10
  write_off_timestamp: string;
11
11
  write_off_note?: string | null;
12
12
  write_off_reason: serializers.writeOffs.v1.WriteOffReason.Raw;
13
- allocation: serializers.AllocationCreate.Raw;
13
+ service_line_id: serializers.ServiceLineId.Raw;
14
+ amount_cents: number;
14
15
  }
15
16
  }
@@ -32,5 +32,6 @@ exports.WriteOffCreate = core.serialization.object({
32
32
  writeOffTimestamp: core.serialization.property("write_off_timestamp", core.serialization.date()),
33
33
  writeOffNote: core.serialization.property("write_off_note", core.serialization.string().optional()),
34
34
  writeOffReason: core.serialization.property("write_off_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOffReason)),
35
- allocation: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).AllocationCreate),
35
+ serviceLineId: core.serialization.property("service_line_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId)),
36
+ amountCents: core.serialization.property("amount_cents", core.serialization.number()),
36
37
  });
@@ -2,3 +2,4 @@ export * from "./WriteOffId";
2
2
  export * from "./WriteOff";
3
3
  export * from "./WriteOffCreate";
4
4
  export * from "./WriteOffReason";
5
+ export * from "./CreateWriteOffsResponse";
@@ -18,3 +18,4 @@ __exportStar(require("./WriteOffId"), exports);
18
18
  __exportStar(require("./WriteOff"), exports);
19
19
  __exportStar(require("./WriteOffCreate"), exports);
20
20
  __exportStar(require("./WriteOffReason"), exports);
21
+ __exportStar(require("./CreateWriteOffsResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
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("./types"), exports);
@@ -0,0 +1,25 @@
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 ClaimAction: core.serialization.Schema<serializers.ClaimAction.Raw, CandidApi.ClaimAction>;
8
+ export declare namespace ClaimAction {
9
+ type Raw = ClaimAction.VoidClaimAction | ClaimAction.ResubmitFreshClaimAction | ClaimAction.ResubmitCorrectedClaimAction | ClaimAction.CloseTasksAndProcessClaimAction | ClaimAction.MoveToWorkQueueClaimAction;
10
+ interface VoidClaimAction extends serializers.VoidClaimAction.Raw {
11
+ type: "void_claim_action";
12
+ }
13
+ interface ResubmitFreshClaimAction extends serializers.ResubmitFreshClaimAction.Raw {
14
+ type: "resubmit_fresh_claim_action";
15
+ }
16
+ interface ResubmitCorrectedClaimAction extends serializers.ResubmitCorrectedClaimAction.Raw {
17
+ type: "resubmit_corrected_claim_action";
18
+ }
19
+ interface CloseTasksAndProcessClaimAction extends serializers.CloseTasksAndProcessClaimAction.Raw {
20
+ type: "close_tasks_and_process_claim_action";
21
+ }
22
+ interface MoveToWorkQueueClaimAction extends serializers.MoveToWorkQueueClaimAction.Raw {
23
+ type: "move_to_work_queue_claim_action";
24
+ }
25
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ClaimAction = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ClaimAction = core.serialization
32
+ .union("type", {
33
+ void_claim_action: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).VoidClaimAction),
34
+ resubmit_fresh_claim_action: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ResubmitFreshClaimAction),
35
+ resubmit_corrected_claim_action: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ResubmitCorrectedClaimAction),
36
+ close_tasks_and_process_claim_action: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).CloseTasksAndProcessClaimAction),
37
+ move_to_work_queue_claim_action: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).MoveToWorkQueueClaimAction),
38
+ })
39
+ .transform({
40
+ transform: (value) => value,
41
+ untransform: (value) => value,
42
+ });