candidhealth 0.43.1 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  4. package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  5. package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  6. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  7. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  8. package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  9. package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  10. package/api/resources/commons/types/index.d.ts +2 -0
  11. package/api/resources/commons/types/index.js +2 -0
  12. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  13. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  14. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  15. package/api/resources/diagnoses/client/Client.js +3 -3
  16. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  17. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  18. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  19. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  20. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  21. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  22. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  23. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  24. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  25. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  26. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  27. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  28. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  29. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  30. package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  31. package/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
  32. package/api/resources/encounters/resources/v4/client/Client.js +133 -5
  33. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
  34. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -0
  35. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  36. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  37. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  38. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  39. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  40. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  41. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  42. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  43. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  44. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  45. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  46. package/api/resources/individual/types/index.d.ts +1 -0
  47. package/api/resources/individual/types/index.js +1 -0
  48. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  49. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  50. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  51. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  52. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  53. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  54. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  55. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  56. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  57. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  58. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  59. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  60. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  61. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  62. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  63. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  64. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  65. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  66. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  67. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  68. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  69. package/api/resources/serviceFacility/client/Client.js +1 -1
  70. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  71. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  72. package/api/resources/serviceFacility/types/index.d.ts +1 -0
  73. package/api/resources/serviceFacility/types/index.js +1 -0
  74. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  75. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  76. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  77. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  78. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  79. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  80. package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  81. package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  82. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  83. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  84. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  85. package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  86. package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
  87. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  88. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
  89. package/dist/api/resources/commons/types/index.d.ts +2 -0
  90. package/dist/api/resources/commons/types/index.js +2 -0
  91. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  92. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  93. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  94. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  95. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  96. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  97. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  98. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  99. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  100. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  101. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  102. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  103. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  104. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  105. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  106. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  107. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  108. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  109. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  110. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
  111. package/dist/api/resources/encounters/resources/v4/client/Client.js +133 -5
  112. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
  113. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -0
  114. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  115. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  116. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  117. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  118. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  119. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  120. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  121. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  122. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  123. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  124. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  125. package/dist/api/resources/individual/types/index.d.ts +1 -0
  126. package/dist/api/resources/individual/types/index.js +1 -0
  127. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  128. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  129. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  130. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  131. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  132. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  133. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  134. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  135. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  136. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  137. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  138. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  139. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  140. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  141. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  142. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  143. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  144. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  145. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  146. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  147. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  148. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  149. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  150. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  151. package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
  152. package/dist/api/resources/serviceFacility/types/index.js +1 -0
  153. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  154. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  155. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  156. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  157. package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  158. package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  159. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  160. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  161. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  162. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  163. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  164. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  165. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  166. package/dist/serialization/resources/commons/types/index.js +2 -0
  167. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  168. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  169. package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  170. package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
  171. package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  172. package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
  173. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  174. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  175. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  176. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  177. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  178. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  179. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  180. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  181. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  182. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  183. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  184. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  185. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  186. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  187. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  188. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  189. package/dist/serialization/resources/individual/types/index.d.ts +1 -0
  190. package/dist/serialization/resources/individual/types/index.js +1 -0
  191. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  192. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  193. package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  194. package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
  195. package/dist/version.d.ts +1 -1
  196. package/dist/version.js +1 -1
  197. package/package.json +1 -1
  198. package/reference.md +134 -0
  199. package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  200. package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  201. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  202. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  203. package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  204. package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  205. package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  206. package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  207. package/serialization/resources/commons/types/index.d.ts +2 -0
  208. package/serialization/resources/commons/types/index.js +2 -0
  209. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  210. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  211. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  212. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
  213. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  214. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
  215. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  216. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  217. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  218. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  219. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  220. package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  221. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  222. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  223. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  224. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  225. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  226. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  227. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  228. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  229. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  230. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  231. package/serialization/resources/individual/types/index.d.ts +1 -0
  232. package/serialization/resources/individual/types/index.js +1 -0
  233. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  234. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  235. package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  236. package/serialization/resources/serviceFacility/types/index.js +1 -0
  237. package/version.d.ts +1 -1
  238. package/version.js +1 -1
  239. package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  240. package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  241. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  242. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  243. /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → commons/types/StreetAddressOptionalBase.js} +0 -0
  244. /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressShortZipOptional.js} +0 -0
@@ -1,4 +1,5 @@
1
1
  export * from "./ServiceFacilityId";
2
2
  export * from "./EncounterServiceFacilityBase";
3
+ export * from "./EncounterServiceFacilityUpdateWithOptionalAddress";
3
4
  export * from "./EncounterServiceFacility";
4
5
  export * from "./EncounterServiceFacilityUpdate";
@@ -16,5 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ServiceFacilityId"), exports);
18
18
  __exportStar(require("./EncounterServiceFacilityBase"), exports);
19
+ __exportStar(require("./EncounterServiceFacilityUpdateWithOptionalAddress"), exports);
19
20
  __exportStar(require("./EncounterServiceFacility"), exports);
20
21
  __exportStar(require("./EncounterServiceFacilityUpdate"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.43.1";
1
+ export declare const SDK_VERSION = "0.45.0";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.43.1";
4
+ exports.SDK_VERSION = "0.45.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.43.1",
3
+ "version": "0.45.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -3337,6 +3337,7 @@ await client.encounters.v4.create({
3337
3337
  attachmentTransmissionCode: "BM",
3338
3338
  },
3339
3339
  ],
3340
+ secondaryPayerCarrierCode: "string",
3340
3341
  externalId: CandidApi.EncounterExternalId("string"),
3341
3342
  dateOfService: "2023-01-15",
3342
3343
  endDateOfService: "2023-01-15",
@@ -3756,7 +3757,140 @@ await client.encounters.v4.createFromPreEncounterPatient({
3756
3757
 
3757
3758
  ```typescript
3758
3759
  await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
3760
+ payToAddress: {
3761
+ address1: "123 Main St",
3762
+ address2: "Apt 1",
3763
+ city: "New York",
3764
+ state: "NY",
3765
+ zipCode: "10001",
3766
+ zipPlusFourCode: "1234",
3767
+ },
3759
3768
  diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
3769
+ initialReferringProvider: {
3770
+ npi: "string",
3771
+ taxonomyCode: "string",
3772
+ address: {
3773
+ address1: "123 Main St",
3774
+ address2: "Apt 1",
3775
+ city: "New York",
3776
+ state: "NY",
3777
+ zipCode: "10001",
3778
+ zipPlusFourCode: "1234",
3779
+ },
3780
+ qualifier: "DQ",
3781
+ firstName: "string",
3782
+ lastName: "string",
3783
+ organizationName: "string",
3784
+ },
3785
+ referringProvider: {
3786
+ npi: "string",
3787
+ taxonomyCode: "string",
3788
+ address: {
3789
+ address1: "123 Main St",
3790
+ address2: "Apt 1",
3791
+ city: "New York",
3792
+ state: "NY",
3793
+ zipCode: "10001",
3794
+ zipPlusFourCode: "1234",
3795
+ },
3796
+ firstName: "string",
3797
+ lastName: "string",
3798
+ organizationName: "string",
3799
+ },
3800
+ patient: {
3801
+ firstName: "string",
3802
+ lastName: "string",
3803
+ gender: "male",
3804
+ externalId: "string",
3805
+ dateOfBirth: "2023-01-15",
3806
+ address: {
3807
+ address1: "123 Main St",
3808
+ address2: "Apt 1",
3809
+ city: "New York",
3810
+ state: "NY",
3811
+ zipCode: "10001",
3812
+ zipPlusFourCode: "1234",
3813
+ },
3814
+ phoneNumbers: [
3815
+ {
3816
+ number: "1234567890",
3817
+ type: "Home",
3818
+ },
3819
+ ],
3820
+ phoneConsent: true,
3821
+ email: CandidApi.Email("johndoe@joincandidhealth.com"),
3822
+ emailConsent: true,
3823
+ nonInsurancePayers: [CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
3824
+ nonInsurancePayersInfo: [
3825
+ {
3826
+ nonInsurancePayerId: CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3827
+ memberId: "string",
3828
+ clinicalTrialInfo: [
3829
+ {
3830
+ clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3831
+ },
3832
+ ],
3833
+ },
3834
+ ],
3835
+ },
3836
+ renderingProvider: {
3837
+ npi: "string",
3838
+ taxonomyCode: "string",
3839
+ address: {
3840
+ address1: "123 Main St",
3841
+ address2: "Apt 1",
3842
+ city: "New York",
3843
+ state: "NY",
3844
+ zipCode: "10001",
3845
+ zipPlusFourCode: "1234",
3846
+ },
3847
+ firstName: "string",
3848
+ lastName: "string",
3849
+ organizationName: "string",
3850
+ },
3851
+ serviceFacility: {
3852
+ organizationName: "Test Organization",
3853
+ address: {
3854
+ address1: "123 Main St",
3855
+ address2: "Apt 1",
3856
+ city: "New York",
3857
+ state: "NY",
3858
+ zipCode: "10001",
3859
+ zipPlusFourCode: "1234",
3860
+ },
3861
+ },
3862
+ supervisingProvider: {
3863
+ npi: "string",
3864
+ taxonomyCode: "string",
3865
+ address: {
3866
+ address1: "123 Main St",
3867
+ address2: "Apt 1",
3868
+ city: "New York",
3869
+ state: "NY",
3870
+ zipCode: "10001",
3871
+ zipPlusFourCode: "1234",
3872
+ },
3873
+ firstName: "string",
3874
+ lastName: "string",
3875
+ organizationName: "string",
3876
+ },
3877
+ billingProvider: {
3878
+ address: {
3879
+ address1: "123 Main St",
3880
+ address2: "Apt 1",
3881
+ city: "New York",
3882
+ state: "NY",
3883
+ zipCode: "10001",
3884
+ zipPlusFourCode: "1234",
3885
+ },
3886
+ taxId: "string",
3887
+ npi: "string",
3888
+ taxonomyCode: "string",
3889
+ providerCommercialLicenseType: "0",
3890
+ firstName: "string",
3891
+ lastName: "string",
3892
+ organizationName: "string",
3893
+ },
3760
3894
  placeOfServiceCodeAsSubmitted: "01",
3761
3895
  });
3762
3896
  ```
@@ -1,4 +1,3 @@
1
1
  export * from "./BillingNoteId";
2
2
  export * from "./BillingNoteBase";
3
- export * from "./BillingNoteOptional";
4
3
  export * from "./BillingNote";
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BillingNoteId"), exports);
18
18
  __exportStar(require("./BillingNoteBase"), exports);
19
- __exportStar(require("./BillingNoteOptional"), exports);
20
19
  __exportStar(require("./BillingNote"), exports);
@@ -9,7 +9,15 @@ import { Intervention } from "../../../../encounters/resources/v4/types/Interven
9
9
  import { ExternalClaimSubmissionCreate } from "../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate";
10
10
  import { ServiceLineCreate } from "../../../../serviceLines/resources/v2/types/ServiceLineCreate";
11
11
  import { PatientHistoryCategory } from "../../../../encounters/resources/v4/types/PatientHistoryCategory";
12
- import { BillingNoteOptional } from "../../../../billingNotes/resources/v2/types/BillingNoteOptional";
12
+ import { BillingNoteBase } from "../../../../billingNotes/resources/v2/types/BillingNoteBase";
13
+ import { PatientUpdateWithOptionalAddress } from "../../../../individual/types/PatientUpdateWithOptionalAddress";
14
+ import { EncounterServiceFacilityUpdateWithOptionalAddress } from "../../../../serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress";
15
+ import { RenderingProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress";
16
+ import { InitialReferringProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress";
17
+ import { ReferringProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress";
18
+ import { SupervisingProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress";
19
+ import { BillingProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress";
20
+ import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
13
21
  import { EncounterOptional } from "../../../../encounters/resources/v4/types/EncounterOptional";
14
22
  export declare const ChargeCaptureData: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCaptureData.Raw, CandidApi.chargeCapture.v1.ChargeCaptureData>;
15
23
  export declare namespace ChargeCaptureData {
@@ -19,6 +27,14 @@ export declare namespace ChargeCaptureData {
19
27
  external_claim_submission?: ExternalClaimSubmissionCreate.Raw | null;
20
28
  service_lines?: ServiceLineCreate.Raw[] | null;
21
29
  patient_histories?: PatientHistoryCategory.Raw[] | null;
22
- billing_notes?: BillingNoteOptional.Raw[] | null;
30
+ billing_notes?: BillingNoteBase.Raw[] | null;
31
+ patient?: PatientUpdateWithOptionalAddress.Raw | null;
32
+ service_facility?: EncounterServiceFacilityUpdateWithOptionalAddress.Raw | null;
33
+ rendering_provider?: RenderingProviderUpdateWithOptionalAddress.Raw | null;
34
+ initial_referring_provider?: InitialReferringProviderUpdateWithOptionalAddress.Raw | null;
35
+ referring_provider?: ReferringProviderUpdateWithOptionalAddress.Raw | null;
36
+ supervising_provider?: SupervisingProviderUpdateWithOptionalAddress.Raw | null;
37
+ billing_provider?: BillingProviderUpdateWithOptionalAddress.Raw | null;
38
+ pay_to_address?: StreetAddressShortZipOptional.Raw | null;
23
39
  }
24
40
  }
@@ -43,7 +43,15 @@ const Intervention_1 = require("../../../../encounters/resources/v4/types/Interv
43
43
  const ExternalClaimSubmissionCreate_1 = require("../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate");
44
44
  const ServiceLineCreate_1 = require("../../../../serviceLines/resources/v2/types/ServiceLineCreate");
45
45
  const PatientHistoryCategory_1 = require("../../../../encounters/resources/v4/types/PatientHistoryCategory");
46
- const BillingNoteOptional_1 = require("../../../../billingNotes/resources/v2/types/BillingNoteOptional");
46
+ const BillingNoteBase_1 = require("../../../../billingNotes/resources/v2/types/BillingNoteBase");
47
+ const PatientUpdateWithOptionalAddress_1 = require("../../../../individual/types/PatientUpdateWithOptionalAddress");
48
+ const EncounterServiceFacilityUpdateWithOptionalAddress_1 = require("../../../../serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress");
49
+ const RenderingProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress");
50
+ const InitialReferringProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress");
51
+ const ReferringProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress");
52
+ const SupervisingProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress");
53
+ const BillingProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress");
54
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
47
55
  const EncounterOptional_1 = require("../../../../encounters/resources/v4/types/EncounterOptional");
48
56
  exports.ChargeCaptureData = core.serialization
49
57
  .object({
@@ -52,6 +60,14 @@ exports.ChargeCaptureData = core.serialization
52
60
  externalClaimSubmission: core.serialization.property("external_claim_submission", ExternalClaimSubmissionCreate_1.ExternalClaimSubmissionCreate.optional()),
53
61
  serviceLines: core.serialization.property("service_lines", core.serialization.list(ServiceLineCreate_1.ServiceLineCreate).optional()),
54
62
  patientHistories: core.serialization.property("patient_histories", core.serialization.list(PatientHistoryCategory_1.PatientHistoryCategory).optional()),
55
- billingNotes: core.serialization.property("billing_notes", core.serialization.list(BillingNoteOptional_1.BillingNoteOptional).optional()),
63
+ billingNotes: core.serialization.property("billing_notes", core.serialization.list(BillingNoteBase_1.BillingNoteBase).optional()),
64
+ patient: PatientUpdateWithOptionalAddress_1.PatientUpdateWithOptionalAddress.optional(),
65
+ serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdateWithOptionalAddress_1.EncounterServiceFacilityUpdateWithOptionalAddress.optional()),
66
+ renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdateWithOptionalAddress_1.RenderingProviderUpdateWithOptionalAddress.optional()),
67
+ initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdateWithOptionalAddress_1.InitialReferringProviderUpdateWithOptionalAddress.optional()),
68
+ referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdateWithOptionalAddress_1.ReferringProviderUpdateWithOptionalAddress.optional()),
69
+ supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdateWithOptionalAddress_1.SupervisingProviderUpdateWithOptionalAddress.optional()),
70
+ billingProvider: core.serialization.property("billing_provider", BillingProviderUpdateWithOptionalAddress_1.BillingProviderUpdateWithOptionalAddress.optional()),
71
+ payToAddress: core.serialization.property("pay_to_address", StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional()),
56
72
  })
57
73
  .extend(EncounterOptional_1.EncounterOptional);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as CandidApi from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { State } from "./State";
8
+ export declare const StreetAddressOptionalBase: core.serialization.ObjectSchema<serializers.StreetAddressOptionalBase.Raw, CandidApi.StreetAddressOptionalBase>;
9
+ export declare namespace StreetAddressOptionalBase {
10
+ interface Raw {
11
+ address1?: string | null;
12
+ address2?: string | null;
13
+ city?: string | null;
14
+ state?: State.Raw | null;
15
+ zip_code?: string | null;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.StreetAddressOptionalBase = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const State_1 = require("./State");
42
+ exports.StreetAddressOptionalBase = core.serialization.object({
43
+ address1: core.serialization.string().optional(),
44
+ address2: core.serialization.string().optional(),
45
+ city: core.serialization.string().optional(),
46
+ state: State_1.State.optional(),
47
+ zipCode: core.serialization.property("zip_code", core.serialization.string().optional()),
48
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as CandidApi from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { StreetAddressOptionalBase } from "./StreetAddressOptionalBase";
8
+ export declare const StreetAddressShortZipOptional: core.serialization.ObjectSchema<serializers.StreetAddressShortZipOptional.Raw, CandidApi.StreetAddressShortZipOptional>;
9
+ export declare namespace StreetAddressShortZipOptional {
10
+ interface Raw extends StreetAddressOptionalBase.Raw {
11
+ zip_plus_four_code?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,46 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.StreetAddressShortZipOptional = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const StreetAddressOptionalBase_1 = require("./StreetAddressOptionalBase");
42
+ exports.StreetAddressShortZipOptional = core.serialization
43
+ .object({
44
+ zipPlusFourCode: core.serialization.property("zip_plus_four_code", core.serialization.string().optional()),
45
+ })
46
+ .extend(StreetAddressOptionalBase_1.StreetAddressOptionalBase);
@@ -36,6 +36,8 @@ export * from "./Decimal";
36
36
  export * from "./RemovableDateRangeOptionalEnd";
37
37
  export * from "./ResourcePage";
38
38
  export * from "./StreetAddressBase";
39
+ export * from "./StreetAddressOptionalBase";
40
+ export * from "./StreetAddressShortZipOptional";
39
41
  export * from "./StreetAddressShortZip";
40
42
  export * from "./StreetAddressLongZip";
41
43
  export * from "./Regions";
@@ -52,6 +52,8 @@ __exportStar(require("./Decimal"), exports);
52
52
  __exportStar(require("./RemovableDateRangeOptionalEnd"), exports);
53
53
  __exportStar(require("./ResourcePage"), exports);
54
54
  __exportStar(require("./StreetAddressBase"), exports);
55
+ __exportStar(require("./StreetAddressOptionalBase"), exports);
56
+ __exportStar(require("./StreetAddressShortZipOptional"), exports);
55
57
  __exportStar(require("./StreetAddressShortZip"), exports);
56
58
  __exportStar(require("./StreetAddressLongZip"), exports);
57
59
  __exportStar(require("./Regions"), exports);
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
8
+ import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
9
+ import { EncounterProviderBase } from "./EncounterProviderBase";
10
+ export declare const BillingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.BillingProviderUpdateWithOptionalAddress>;
11
+ export declare namespace BillingProviderUpdateWithOptionalAddress {
12
+ interface Raw extends EncounterProviderBase.Raw {
13
+ address?: StreetAddressShortZipOptional.Raw | null;
14
+ tax_id?: string | null;
15
+ npi?: string | null;
16
+ taxonomy_code?: string | null;
17
+ provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
18
+ }
19
+ }
@@ -0,0 +1,52 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.BillingProviderUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const BillingProviderCommercialLicenseType_1 = require("../../../../commons/types/BillingProviderCommercialLicenseType");
43
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
44
+ exports.BillingProviderUpdateWithOptionalAddress = core.serialization
45
+ .object({
46
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
47
+ taxId: core.serialization.property("tax_id", core.serialization.string().optional()),
48
+ npi: core.serialization.string().optional(),
49
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
50
+ providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
51
+ })
52
+ .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
8
+ import { QualifierCode } from "../../../../commons/types/QualifierCode";
9
+ import { EncounterProviderBase } from "./EncounterProviderBase";
10
+ export declare const InitialReferringProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.InitialReferringProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.InitialReferringProviderUpdateWithOptionalAddress>;
11
+ export declare namespace InitialReferringProviderUpdateWithOptionalAddress {
12
+ interface Raw extends EncounterProviderBase.Raw {
13
+ npi?: string | null;
14
+ taxonomy_code?: string | null;
15
+ address?: StreetAddressShortZipOptional.Raw | null;
16
+ qualifier?: QualifierCode.Raw | null;
17
+ }
18
+ }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.InitialReferringProviderUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const QualifierCode_1 = require("../../../../commons/types/QualifierCode");
43
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
44
+ exports.InitialReferringProviderUpdateWithOptionalAddress = core.serialization
45
+ .object({
46
+ npi: core.serialization.string().optional(),
47
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
48
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
49
+ qualifier: QualifierCode_1.QualifierCode.optional(),
50
+ })
51
+ .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
8
+ import { EncounterProviderBase } from "./EncounterProviderBase";
9
+ export declare const ReferringProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.ReferringProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.ReferringProviderUpdateWithOptionalAddress>;
10
+ export declare namespace ReferringProviderUpdateWithOptionalAddress {
11
+ interface Raw extends EncounterProviderBase.Raw {
12
+ npi?: string | null;
13
+ taxonomy_code?: string | null;
14
+ address?: StreetAddressShortZipOptional.Raw | null;
15
+ }
16
+ }
@@ -0,0 +1,49 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ReferringProviderUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
43
+ exports.ReferringProviderUpdateWithOptionalAddress = core.serialization
44
+ .object({
45
+ npi: core.serialization.string().optional(),
46
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
47
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
48
+ })
49
+ .extend(EncounterProviderBase_1.EncounterProviderBase);