@awell-health/awell-extensions 1.1.62 → 1.2.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (427) hide show
  1. package/dist/extensions/avaAi/common/sdk/openAiSdk.d.ts +2 -0
  2. package/dist/extensions/avaAi/common/sdk/openAiSdk.js +5 -0
  3. package/dist/extensions/avaAi/common/sdk/openAiSdk.js.map +1 -0
  4. package/dist/extensions/avaAi/index.d.ts +2 -0
  5. package/dist/extensions/avaAi/index.js +21 -0
  6. package/dist/extensions/avaAi/index.js.map +1 -0
  7. package/dist/extensions/avaAi/settings.d.ts +18 -0
  8. package/dist/extensions/avaAi/settings.js +22 -0
  9. package/dist/extensions/avaAi/settings.js.map +1 -0
  10. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.d.ts +10 -0
  11. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js +15 -0
  12. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js.map +1 -0
  13. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.d.ts +29 -0
  14. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js +46 -0
  15. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js.map +1 -0
  16. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.d.ts +2 -0
  17. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.js +9 -0
  18. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.js.map +1 -0
  19. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.d.ts +4 -0
  20. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js +83 -0
  21. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js.map +1 -0
  22. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.d.ts +1 -0
  23. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js +27 -0
  24. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js.map +1 -0
  25. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.d.ts +1 -0
  26. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.js +6 -0
  27. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.js.map +1 -0
  28. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.d.ts +3 -0
  29. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js +43 -0
  30. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js.map +1 -0
  31. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.d.ts +1 -0
  32. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js +133 -0
  33. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js.map +1 -0
  34. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.d.ts +1 -0
  35. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js +6 -0
  36. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js.map +1 -0
  37. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.d.ts +1 -0
  38. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js +6 -0
  39. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js.map +1 -0
  40. package/dist/extensions/avaAi/v1/actions/index.d.ts +1 -0
  41. package/dist/extensions/avaAi/v1/actions/index.js +6 -0
  42. package/dist/extensions/avaAi/v1/actions/index.js.map +1 -0
  43. package/dist/extensions/awell/v1/gql/fragment-masking.d.ts +13 -0
  44. package/dist/extensions/awell/v1/gql/fragment-masking.js +12 -0
  45. package/dist/extensions/awell/v1/gql/fragment-masking.js.map +1 -0
  46. package/dist/extensions/awell/v1/gql/gql.d.ts +36 -0
  47. package/dist/extensions/awell/v1/gql/gql.js +47 -0
  48. package/dist/extensions/awell/v1/gql/gql.js.map +1 -0
  49. package/dist/extensions/awell/v1/gql/index.d.ts +2 -0
  50. package/dist/extensions/awell/v1/gql/index.js +19 -0
  51. package/dist/extensions/awell/v1/gql/index.js.map +1 -0
  52. package/dist/extensions/calDotCom/actions/bookAppointment/bookAppointment.js +2 -0
  53. package/dist/extensions/calDotCom/actions/bookAppointment/bookAppointment.js.map +1 -1
  54. package/dist/extensions/calDotCom/actions/bookAppointment/component/BookAppointmentAction.d.ts +9 -0
  55. package/dist/extensions/calDotCom/actions/bookAppointment/component/BookAppointmentAction.js +55 -0
  56. package/dist/extensions/calDotCom/actions/bookAppointment/component/BookAppointmentAction.js.map +1 -0
  57. package/dist/extensions/calDotCom/actions/bookAppointment/component/types.d.ts +10 -0
  58. package/dist/extensions/calDotCom/actions/bookAppointment/component/types.js +8 -0
  59. package/dist/extensions/calDotCom/actions/bookAppointment/component/types.js.map +1 -0
  60. package/dist/extensions/calendly/webhooks/eventRescheduled.d.ts +71 -0
  61. package/dist/extensions/calendly/webhooks/eventRescheduled.js +113 -0
  62. package/dist/extensions/calendly/webhooks/eventRescheduled.js.map +1 -0
  63. package/dist/extensions/canvasMedical/v1/validation/address.zod.d.ts +2 -2
  64. package/dist/extensions/canvasMedical/v1/validation/appointment.zod.d.ts +8 -8
  65. package/dist/extensions/canvasMedical/v1/validation/claim.d.ts +2 -2
  66. package/dist/extensions/canvasMedical/v1/validation/identifier.zod.d.ts +2 -2
  67. package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +32 -32
  68. package/dist/extensions/canvasMedical/v1/validation/questionnaireResponses.zod.d.ts +16 -16
  69. package/dist/extensions/canvasMedical/v1/validation/task.zod.d.ts +8 -8
  70. package/dist/extensions/dockHealth/api/schema/task.schema.d.ts +2 -2
  71. package/dist/extensions/experimental/v1/actions/enterMedication/config/datapoints.d.ts +6 -0
  72. package/dist/extensions/experimental/v1/actions/enterMedication/config/datapoints.js +10 -0
  73. package/dist/extensions/experimental/v1/actions/enterMedication/config/datapoints.js.map +1 -0
  74. package/dist/extensions/experimental/v1/actions/enterMedication/config/fields.d.ts +3 -0
  75. package/dist/extensions/experimental/v1/actions/enterMedication/config/fields.js +7 -0
  76. package/dist/extensions/experimental/v1/actions/enterMedication/config/fields.js.map +1 -0
  77. package/dist/extensions/experimental/v1/actions/enterMedication/config/index.d.ts +2 -0
  78. package/dist/extensions/experimental/v1/actions/enterMedication/config/index.js +9 -0
  79. package/dist/extensions/experimental/v1/actions/enterMedication/config/index.js.map +1 -0
  80. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.d.ts +4 -0
  81. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.js +24 -0
  82. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.js.map +1 -0
  83. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.test.d.ts +1 -0
  84. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.test.js +21 -0
  85. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.test.js.map +1 -0
  86. package/dist/extensions/experimental/v1/actions/enterMedication/index.d.ts +1 -0
  87. package/dist/extensions/experimental/v1/actions/enterMedication/index.js +6 -0
  88. package/dist/extensions/experimental/v1/actions/enterMedication/index.js.map +1 -0
  89. package/dist/extensions/healthie/codegen.d.ts +3 -0
  90. package/dist/extensions/healthie/codegen.js +20 -0
  91. package/dist/extensions/healthie/codegen.js.map +1 -0
  92. package/dist/extensions/healthie/errors.d.ts +9 -0
  93. package/dist/extensions/healthie/errors.js +42 -0
  94. package/dist/extensions/healthie/errors.js.map +1 -0
  95. package/dist/extensions/healthie/gql/sdk.d.ts +24576 -0
  96. package/dist/extensions/healthie/gql/sdk.js +1002 -0
  97. package/dist/extensions/healthie/gql/sdk.js.map +1 -0
  98. package/dist/extensions/healthie/graphqlClient.d.ts +5 -0
  99. package/dist/extensions/healthie/graphqlClient.js +31 -0
  100. package/dist/extensions/healthie/graphqlClient.js.map +1 -0
  101. package/dist/extensions/healthie/graphqlClient.test.d.ts +1 -0
  102. package/dist/extensions/healthie/graphqlClient.test.js +63 -0
  103. package/dist/extensions/healthie/graphqlClient.test.js.map +1 -0
  104. package/dist/extensions/healthie/helpers.d.ts +1 -0
  105. package/dist/extensions/healthie/helpers.js +18 -0
  106. package/dist/extensions/healthie/helpers.js.map +1 -0
  107. package/dist/extensions/healthie/types.d.ts +11 -0
  108. package/dist/extensions/healthie/types.js +3 -0
  109. package/dist/extensions/healthie/types.js.map +1 -0
  110. package/dist/extensions/healthie/validation/createTask.zod.d.ts +168 -0
  111. package/dist/extensions/healthie/validation/createTask.zod.js +113 -0
  112. package/dist/extensions/healthie/validation/createTask.zod.js.map +1 -0
  113. package/dist/extensions/healthie/validation/dateValidation.d.ts +11 -0
  114. package/dist/extensions/healthie/validation/dateValidation.js +27 -0
  115. package/dist/extensions/healthie/validation/dateValidation.js.map +1 -0
  116. package/dist/extensions/healthie/validation/getPatient.zod.d.ts +12 -0
  117. package/dist/extensions/healthie/validation/getPatient.zod.js +50 -0
  118. package/dist/extensions/healthie/validation/getPatient.zod.js.map +1 -0
  119. package/dist/extensions/healthie/validation/sendFormCompletionRequest.zod.d.ts +57 -0
  120. package/dist/extensions/healthie/validation/sendFormCompletionRequest.zod.js +106 -0
  121. package/dist/extensions/healthie/validation/sendFormCompletionRequest.zod.js.map +1 -0
  122. package/dist/extensions/healthie/webhooks/appointmentCreated.test.d.ts +1 -0
  123. package/dist/extensions/healthie/webhooks/appointmentCreated.test.js +61 -0
  124. package/dist/extensions/healthie/webhooks/appointmentCreated.test.js.map +1 -0
  125. package/dist/extensions/healthie/webhooks/goalCreated.test.d.ts +1 -0
  126. package/dist/extensions/healthie/webhooks/goalCreated.test.js +35 -0
  127. package/dist/extensions/healthie/webhooks/goalCreated.test.js.map +1 -0
  128. package/dist/extensions/healthie/webhooks/goalDeleted.d.ts +11 -0
  129. package/dist/extensions/healthie/webhooks/goalDeleted.js +30 -0
  130. package/dist/extensions/healthie/webhooks/goalDeleted.js.map +1 -0
  131. package/dist/extensions/healthie/webhooks/metricEntryDeleted.d.ts +11 -0
  132. package/dist/extensions/healthie/webhooks/metricEntryDeleted.js +30 -0
  133. package/dist/extensions/healthie/webhooks/metricEntryDeleted.js.map +1 -0
  134. package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.d.ts +11 -0
  135. package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.js +30 -0
  136. package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.js.map +1 -0
  137. package/dist/extensions/healthie/webhooks/taskDeleted.d.ts +11 -0
  138. package/dist/extensions/healthie/webhooks/taskDeleted.js +30 -0
  139. package/dist/extensions/healthie/webhooks/taskDeleted.js.map +1 -0
  140. package/dist/extensions/mailgun/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -2
  141. package/dist/extensions/medplum/actions/createServiceRequest/config/fields.d.ts +2 -2
  142. package/dist/extensions/medplum/actions/createTask/config/fields.d.ts +2 -2
  143. package/dist/extensions/medplum/fhir/schemas/resources/serviceRequest.schema.d.ts +2 -2
  144. package/dist/extensions/medplum/fhir/schemas/resources/task.schema.d.ts +2 -2
  145. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.d.ts +11 -0
  146. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.js +39 -0
  147. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.js.map +1 -0
  148. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.test.d.ts +1 -0
  149. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.test.js +85 -0
  150. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.test.js.map +1 -0
  151. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/fields.d.ts +18 -0
  152. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/fields.js +18 -0
  153. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/fields.js.map +1 -0
  154. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/index.d.ts +2 -0
  155. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/index.js +9 -0
  156. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/index.js.map +1 -0
  157. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/settings.d.ts +35 -0
  158. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/settings.js +17 -0
  159. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/settings.js.map +1 -0
  160. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.d.ts +33 -0
  161. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.js +129 -0
  162. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.js.map +1 -0
  163. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.test.d.ts +1 -0
  164. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.test.js +154 -0
  165. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.test.js.map +1 -0
  166. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.d.ts +26 -0
  167. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.js +139 -0
  168. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.js.map +1 -0
  169. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.test.d.ts +1 -0
  170. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.test.js +185 -0
  171. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.test.js.map +1 -0
  172. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.d.ts +23 -0
  173. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.js +153 -0
  174. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.js.map +1 -0
  175. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.test.d.ts +1 -0
  176. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.test.js +184 -0
  177. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.test.js.map +1 -0
  178. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.d.ts +26 -0
  179. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.js +118 -0
  180. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.js.map +1 -0
  181. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.d.ts +1 -0
  182. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js +119 -0
  183. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js.map +1 -0
  184. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/fields.d.ts +66 -0
  185. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/fields.js +59 -0
  186. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/fields.js.map +1 -0
  187. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/index.d.ts +1 -0
  188. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/index.js +6 -0
  189. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/index.js.map +1 -0
  190. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.d.ts +4 -0
  191. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js +80 -0
  192. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js.map +1 -0
  193. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.d.ts +1 -0
  194. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js +47 -0
  195. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js.map +1 -0
  196. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/index.d.ts +1 -0
  197. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/index.js +6 -0
  198. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/index.js.map +1 -0
  199. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/fields.d.ts +58 -0
  200. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/fields.js +56 -0
  201. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/fields.js.map +1 -0
  202. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/index.d.ts +2 -0
  203. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/index.js +9 -0
  204. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/index.js.map +1 -0
  205. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/settings.d.ts +35 -0
  206. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/settings.js +17 -0
  207. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/settings.js.map +1 -0
  208. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.d.ts +11 -0
  209. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.js +56 -0
  210. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.js.map +1 -0
  211. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.test.d.ts +1 -0
  212. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.test.js +53 -0
  213. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.test.js.map +1 -0
  214. package/dist/extensions/wellinks/actions/index.d.ts +967 -0
  215. package/dist/extensions/wellinks/actions/index.js +24 -0
  216. package/dist/extensions/wellinks/actions/index.js.map +1 -0
  217. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/fields.d.ts +78 -0
  218. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/fields.js +66 -0
  219. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/fields.js.map +1 -0
  220. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/index.d.ts +2 -0
  221. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/index.js +9 -0
  222. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/index.js.map +1 -0
  223. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/settings.d.ts +35 -0
  224. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/settings.js +11 -0
  225. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/settings.js.map +1 -0
  226. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.d.ts +11 -0
  227. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.js +75 -0
  228. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.js.map +1 -0
  229. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.test.d.ts +1 -0
  230. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.test.js +133 -0
  231. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.test.js.map +1 -0
  232. package/dist/extensions/wellinks/actions/submitPamSurvey/config/fields.d.ts +188 -0
  233. package/dist/extensions/wellinks/actions/submitPamSurvey/config/fields.js +160 -0
  234. package/dist/extensions/wellinks/actions/submitPamSurvey/config/fields.js.map +1 -0
  235. package/dist/extensions/wellinks/actions/submitPamSurvey/config/index.d.ts +2 -0
  236. package/dist/extensions/wellinks/actions/submitPamSurvey/config/index.js +9 -0
  237. package/dist/extensions/wellinks/actions/submitPamSurvey/config/index.js.map +1 -0
  238. package/dist/extensions/wellinks/actions/submitPamSurvey/config/settings.d.ts +35 -0
  239. package/dist/extensions/wellinks/actions/submitPamSurvey/config/settings.js +17 -0
  240. package/dist/extensions/wellinks/actions/submitPamSurvey/config/settings.js.map +1 -0
  241. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.d.ts +19 -0
  242. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.js +66 -0
  243. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.js.map +1 -0
  244. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.test.d.ts +1 -0
  245. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.test.js +125 -0
  246. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.test.js.map +1 -0
  247. package/dist/extensions/wellinks/api/clients/wellinksClient.d.ts +16 -0
  248. package/dist/extensions/wellinks/api/clients/wellinksClient.js +40 -0
  249. package/dist/extensions/wellinks/api/clients/wellinksClient.js.map +1 -0
  250. package/dist/extensions/wellinks/api/clients/wellinksFlourishClient.d.ts +14 -0
  251. package/dist/extensions/wellinks/api/clients/wellinksFlourishClient.js +195 -0
  252. package/dist/extensions/wellinks/api/clients/wellinksFlourishClient.js.map +1 -0
  253. package/dist/extensions/wellinks/api/clients/wellinksGraphqlClient.d.ts +3 -0
  254. package/dist/extensions/wellinks/api/clients/wellinksGraphqlClient.js +23 -0
  255. package/dist/extensions/wellinks/api/clients/wellinksGraphqlClient.js.map +1 -0
  256. package/dist/extensions/wellinks/api/test/wellinksFlourishClient.test.d.ts +1 -0
  257. package/dist/extensions/wellinks/api/test/wellinksFlourishClient.test.js +192 -0
  258. package/dist/extensions/wellinks/api/test/wellinksFlourishClient.test.js.map +1 -0
  259. package/dist/extensions/wellinks/codegen.d.ts +3 -0
  260. package/dist/extensions/wellinks/codegen.js +21 -0
  261. package/dist/extensions/wellinks/codegen.js.map +1 -0
  262. package/dist/extensions/wellinks/config/settings.d.ts +107 -0
  263. package/dist/extensions/wellinks/config/settings.js +89 -0
  264. package/dist/extensions/wellinks/config/settings.js.map +1 -0
  265. package/dist/extensions/wellinks/config/types.d.ts +5 -0
  266. package/dist/extensions/wellinks/config/types.js +3 -0
  267. package/dist/extensions/wellinks/config/types.js.map +1 -0
  268. package/dist/extensions/wellinks/gql/wellinksSdk.d.ts +24053 -0
  269. package/dist/extensions/wellinks/gql/wellinksSdk.js +619 -0
  270. package/dist/extensions/wellinks/gql/wellinksSdk.js.map +1 -0
  271. package/dist/extensions/wellinks/graphql/mutations.d.ts +1 -0
  272. package/dist/extensions/wellinks/graphql/mutations.js +17 -0
  273. package/dist/extensions/wellinks/graphql/mutations.js.map +1 -0
  274. package/dist/extensions/wellinks/graphql/queries.d.ts +4 -0
  275. package/dist/extensions/wellinks/graphql/queries.js +58 -0
  276. package/dist/extensions/wellinks/graphql/queries.js.map +1 -0
  277. package/dist/extensions/wellinks/index.d.ts +2 -0
  278. package/dist/extensions/wellinks/index.js +20 -0
  279. package/dist/extensions/wellinks/index.js.map +1 -0
  280. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.d.ts +11 -0
  281. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.js +39 -0
  282. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.js.map +1 -0
  283. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.d.ts +1 -0
  284. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.js +85 -0
  285. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.js.map +1 -0
  286. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.d.ts +18 -0
  287. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.js +18 -0
  288. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.js.map +1 -0
  289. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/index.d.ts +2 -0
  290. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/index.js +9 -0
  291. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/index.js.map +1 -0
  292. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.d.ts +35 -0
  293. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.js +17 -0
  294. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.js.map +1 -0
  295. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.d.ts +33 -0
  296. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.js +129 -0
  297. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.js.map +1 -0
  298. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.test.d.ts +1 -0
  299. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.test.js +154 -0
  300. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.test.js.map +1 -0
  301. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.d.ts +26 -0
  302. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.js +139 -0
  303. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.js.map +1 -0
  304. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.test.d.ts +1 -0
  305. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.test.js +185 -0
  306. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.test.js.map +1 -0
  307. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.d.ts +23 -0
  308. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.js +153 -0
  309. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.js.map +1 -0
  310. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.test.d.ts +1 -0
  311. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.test.js +184 -0
  312. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.test.js.map +1 -0
  313. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.d.ts +26 -0
  314. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.js +118 -0
  315. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.js.map +1 -0
  316. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.d.ts +1 -0
  317. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js +119 -0
  318. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js.map +1 -0
  319. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/fields.d.ts +82 -0
  320. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/fields.js +78 -0
  321. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/fields.js.map +1 -0
  322. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/index.d.ts +1 -0
  323. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/index.js +6 -0
  324. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/index.js.map +1 -0
  325. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced-fail.test.d.ts +1 -0
  326. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced-fail.test.js +152 -0
  327. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced-fail.test.js.map +1 -0
  328. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.d.ts +4 -0
  329. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js +86 -0
  330. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js.map +1 -0
  331. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.d.ts +1 -0
  332. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js +42 -0
  333. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js.map +1 -0
  334. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/index.d.ts +1 -0
  335. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/index.js +6 -0
  336. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/index.js.map +1 -0
  337. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/fields.d.ts +58 -0
  338. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/fields.js +56 -0
  339. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/fields.js.map +1 -0
  340. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/index.d.ts +2 -0
  341. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/index.js +9 -0
  342. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/index.js.map +1 -0
  343. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.d.ts +35 -0
  344. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.js +17 -0
  345. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.js.map +1 -0
  346. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.d.ts +11 -0
  347. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.js +56 -0
  348. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.js.map +1 -0
  349. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.test.d.ts +1 -0
  350. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.test.js +53 -0
  351. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.test.js.map +1 -0
  352. package/dist/extensions/wellinks-public/actions/index.d.ts +967 -0
  353. package/dist/extensions/wellinks-public/actions/index.js +24 -0
  354. package/dist/extensions/wellinks-public/actions/index.js.map +1 -0
  355. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/fields.d.ts +78 -0
  356. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/fields.js +66 -0
  357. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/fields.js.map +1 -0
  358. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/index.d.ts +2 -0
  359. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/index.js +9 -0
  360. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/index.js.map +1 -0
  361. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.d.ts +38 -0
  362. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.js +11 -0
  363. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.js.map +1 -0
  364. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.d.ts +11 -0
  365. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.js +75 -0
  366. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.js.map +1 -0
  367. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.test.d.ts +1 -0
  368. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.test.js +133 -0
  369. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.test.js.map +1 -0
  370. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/fields.d.ts +188 -0
  371. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/fields.js +160 -0
  372. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/fields.js.map +1 -0
  373. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/index.d.ts +2 -0
  374. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/index.js +9 -0
  375. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/index.js.map +1 -0
  376. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.d.ts +35 -0
  377. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.js +17 -0
  378. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.js.map +1 -0
  379. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.d.ts +19 -0
  380. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.js +66 -0
  381. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.js.map +1 -0
  382. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.test.d.ts +1 -0
  383. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.test.js +125 -0
  384. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.test.js.map +1 -0
  385. package/dist/extensions/wellinks-public/api/clients/wellinksClient.d.ts +16 -0
  386. package/dist/extensions/wellinks-public/api/clients/wellinksClient.js +40 -0
  387. package/dist/extensions/wellinks-public/api/clients/wellinksClient.js.map +1 -0
  388. package/dist/extensions/wellinks-public/api/clients/wellinksFlourishClient.d.ts +14 -0
  389. package/dist/extensions/wellinks-public/api/clients/wellinksFlourishClient.js +201 -0
  390. package/dist/extensions/wellinks-public/api/clients/wellinksFlourishClient.js.map +1 -0
  391. package/dist/extensions/wellinks-public/api/clients/wellinksGraphqlClient.d.ts +3 -0
  392. package/dist/extensions/wellinks-public/api/clients/wellinksGraphqlClient.js +23 -0
  393. package/dist/extensions/wellinks-public/api/clients/wellinksGraphqlClient.js.map +1 -0
  394. package/dist/extensions/wellinks-public/api/test/wellinksFlourishClient.test.d.ts +1 -0
  395. package/dist/extensions/wellinks-public/api/test/wellinksFlourishClient.test.js +192 -0
  396. package/dist/extensions/wellinks-public/api/test/wellinksFlourishClient.test.js.map +1 -0
  397. package/dist/extensions/wellinks-public/codegen.d.ts +3 -0
  398. package/dist/extensions/wellinks-public/codegen.js +21 -0
  399. package/dist/extensions/wellinks-public/codegen.js.map +1 -0
  400. package/dist/extensions/wellinks-public/config/settings.d.ts +107 -0
  401. package/dist/extensions/wellinks-public/config/settings.js +89 -0
  402. package/dist/extensions/wellinks-public/config/settings.js.map +1 -0
  403. package/dist/extensions/wellinks-public/config/types.d.ts +5 -0
  404. package/dist/extensions/wellinks-public/config/types.js +3 -0
  405. package/dist/extensions/wellinks-public/config/types.js.map +1 -0
  406. package/dist/extensions/wellinks-public/gql/wellinksSdk.d.ts +24110 -0
  407. package/dist/extensions/wellinks-public/gql/wellinksSdk.js +635 -0
  408. package/dist/extensions/wellinks-public/gql/wellinksSdk.js.map +1 -0
  409. package/dist/extensions/wellinks-public/graphql/mutations.d.ts +1 -0
  410. package/dist/extensions/wellinks-public/graphql/mutations.js +17 -0
  411. package/dist/extensions/wellinks-public/graphql/mutations.js.map +1 -0
  412. package/dist/extensions/wellinks-public/graphql/queries.d.ts +5 -0
  413. package/dist/extensions/wellinks-public/graphql/queries.js +66 -0
  414. package/dist/extensions/wellinks-public/graphql/queries.js.map +1 -0
  415. package/dist/extensions/wellinks-public/index.d.ts +2 -0
  416. package/dist/extensions/wellinks-public/index.js +20 -0
  417. package/dist/extensions/wellinks-public/index.js.map +1 -0
  418. package/dist/src/types/OrchestrationTypes.d.ts +2065 -0
  419. package/dist/src/types/OrchestrationTypes.js +266 -0
  420. package/dist/src/types/OrchestrationTypes.js.map +1 -0
  421. package/dist/src/types/index.d.ts +1 -0
  422. package/dist/src/types/index.js +18 -0
  423. package/dist/src/types/index.js.map +1 -0
  424. package/dist/src/utils/mapToObject.d.ts +4 -0
  425. package/dist/src/utils/mapToObject.js +18 -0
  426. package/dist/src/utils/mapToObject.js.map +1 -0
  427. package/package.json +13 -3
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.makeFragmentData = exports.useFragment = void 0;
4
+ function useFragment(_documentNode, fragmentType) {
5
+ return fragmentType;
6
+ }
7
+ exports.useFragment = useFragment;
8
+ function makeFragmentData(data, _fragment) {
9
+ return data;
10
+ }
11
+ exports.makeFragmentData = makeFragmentData;
12
+ //# sourceMappingURL=fragment-masking.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fragment-masking.js","sourceRoot":"","sources":["../../../../../extensions/awell/v1/gql/fragment-masking.ts"],"names":[],"mappings":";;;AAkCA,SAAgB,WAAW,CACzB,aAAuC,EACvC,YAA+H;IAE/H,OAAO,YAAmB,CAAC;AAC7B,CAAC;AALD,kCAKC;AAGD,SAAgB,gBAAgB,CAG9B,IAAQ,EAAE,SAAY;IACtB,OAAO,IAAuB,CAAC;AACjC,CAAC;AALD,4CAKC"}
@@ -0,0 +1,36 @@
1
+ import * as types from './graphql';
2
+ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
3
+ /**
4
+ * Map of all GraphQL operations in the project.
5
+ *
6
+ * This map has several performance disadvantages:
7
+ * 1. It is not tree-shakeable, so it will include all operations in the project.
8
+ * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
9
+ * 3. It does not support dead code elimination, so it will add unused operations.
10
+ *
11
+ * Therefore it is highly recommended to use the babel or swc plugin for production.
12
+ */
13
+ declare const documents: {
14
+ "\n mutation StartPathway($input: StartPathwayInput!) {\n startPathway(input: $input) {\n pathway_id\n }\n }\n": DocumentNode<types.StartPathwayMutation, types.Exact<{
15
+ input: types.StartPathwayInput;
16
+ }>>;
17
+ };
18
+ /**
19
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
20
+ *
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const query = graphql(`query GetUser($id: ID!) { user(id: $id) { name } }`);
25
+ * ```
26
+ *
27
+ * The query argument is unknown!
28
+ * Please regenerate the types.
29
+ */
30
+ export declare function graphql(source: string): unknown;
31
+ /**
32
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
33
+ */
34
+ export declare function graphql(source: "\n mutation StartPathway($input: StartPathwayInput!) {\n startPathway(input: $input) {\n pathway_id\n }\n }\n"): (typeof documents)["\n mutation StartPathway($input: StartPathwayInput!) {\n startPathway(input: $input) {\n pathway_id\n }\n }\n"];
35
+ export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;
36
+ export {};
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (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
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.graphql = void 0;
27
+ /* eslint-disable */
28
+ const types = __importStar(require("./graphql"));
29
+ /**
30
+ * Map of all GraphQL operations in the project.
31
+ *
32
+ * This map has several performance disadvantages:
33
+ * 1. It is not tree-shakeable, so it will include all operations in the project.
34
+ * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
35
+ * 3. It does not support dead code elimination, so it will add unused operations.
36
+ *
37
+ * Therefore it is highly recommended to use the babel or swc plugin for production.
38
+ */
39
+ const documents = {
40
+ "\n mutation StartPathway($input: StartPathwayInput!) {\n startPathway(input: $input) {\n pathway_id\n }\n }\n": types.StartPathwayDocument,
41
+ };
42
+ function graphql(source) {
43
+ var _a;
44
+ return (_a = documents[source]) !== null && _a !== void 0 ? _a : {};
45
+ }
46
+ exports.graphql = graphql;
47
+ //# sourceMappingURL=gql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gql.js","sourceRoot":"","sources":["../../../../../extensions/awell/v1/gql/gql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,iDAAmC;AAGnC;;;;;;;;;GASG;AACH,MAAM,SAAS,GAAG;IACd,4HAA4H,EAAE,KAAK,CAAC,oBAAoB;CAC3J,CAAC;AAqBF,SAAgB,OAAO,CAAC,MAAc;;IACpC,OAAO,MAAC,SAAiB,CAAC,MAAM,CAAC,mCAAI,EAAE,CAAC;AAC1C,CAAC;AAFD,0BAEC"}
@@ -0,0 +1,2 @@
1
+ export * from "./fragment-masking";
2
+ export * from "./gql";
@@ -0,0 +1,19 @@
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("./fragment-masking"), exports);
18
+ __exportStar(require("./gql"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../extensions/awell/v1/gql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,wCAAsB"}
@@ -6,6 +6,7 @@ const extensions_core_2 = require("@awell-health/extensions-core");
6
6
  const zod_1 = require("zod");
7
7
  const zod_validation_error_1 = require("zod-validation-error");
8
8
  const schema_1 = require("../../schema");
9
+ const BookAppointmentAction_1 = require("./component/BookAppointmentAction");
9
10
  const config_1 = require("./config");
10
11
  exports.bookAppointment = {
11
12
  key: 'bookAppointment',
@@ -49,5 +50,6 @@ exports.bookAppointment = {
49
50
  }
50
51
  }
51
52
  },
53
+ component: BookAppointmentAction_1.BookAppointmentAction,
52
54
  };
53
55
  //# sourceMappingURL=bookAppointment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bookAppointment.js","sourceRoot":"","sources":["../../../../../extensions/calDotCom/actions/bookAppointment/bookAppointment.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AACrE,mEAAwD;AACxD,6BAAiC;AACjC,+DAAmD;AACnD,yCAA6C;AAE7C,qCAAqE;AAExD,QAAA,eAAe,GAA2C;IACrE,GAAG,EAAE,iBAAiB;IACtB,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,0DAA0D;IACvE,QAAQ,EAAE,0BAAQ,CAAC,UAAU;IAC7B,MAAM,EAAN,eAAM;IACN,UAAU,EAAV,mBAAU;IACV,OAAO,EAAE;QACP,YAAY,EAAE;YACZ,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,QAAQ;SACf;KACF;IACD,WAAW,EAAE,KAAK;IAClB,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE;QACxD,IAAI;YACF,IAAA,0BAAQ,EAAC;gBACP,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;oBACf,QAAQ,EAAE,uBAAc;oBACxB,MAAM,EAAE,+BAAsB;iBAC/B,CAAC;gBACF,OAAO;aACR,CAAC,CAAA;SACH;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,GAAG,YAAY,cAAQ,EAAE;gBAC3B,MAAM,KAAK,GAAG,IAAA,mCAAY,EAAC,GAAG,CAAC,CAAA;gBAC/B,MAAM,OAAO,CAAC;oBACZ,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;4BAC9B,IAAI,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,OAAO,EAAE;4BAC3B,KAAK,EAAE;gCACL,QAAQ,EAAE,aAAa;gCACvB,OAAO,EAAE,KAAK,CAAC,OAAO;6BACvB;yBACF;qBACF;iBACF,CAAC,CAAA;aACH;SACF;IACH,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"bookAppointment.js","sourceRoot":"","sources":["../../../../../extensions/calDotCom/actions/bookAppointment/bookAppointment.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AACrE,mEAAwD;AACxD,6BAAiC;AACjC,+DAAmD;AACnD,yCAA6C;AAE7C,6EAAyE;AACzE,qCAAqE;AAExD,QAAA,eAAe,GAA2C;IACrE,GAAG,EAAE,iBAAiB;IACtB,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,0DAA0D;IACvE,QAAQ,EAAE,0BAAQ,CAAC,UAAU;IAC7B,MAAM,EAAN,eAAM;IACN,UAAU,EAAV,mBAAU;IACV,OAAO,EAAE;QACP,YAAY,EAAE;YACZ,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,QAAQ;SACf;KACF;IACD,WAAW,EAAE,KAAK;IAClB,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE;QACxD,IAAI;YACF,IAAA,0BAAQ,EAAC;gBACP,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;oBACf,QAAQ,EAAE,uBAAc;oBACxB,MAAM,EAAE,+BAAsB;iBAC/B,CAAC;gBACF,OAAO;aACR,CAAC,CAAA;SACH;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,GAAG,YAAY,cAAQ,EAAE;gBAC3B,MAAM,KAAK,GAAG,IAAA,mCAAY,EAAC,GAAG,CAAC,CAAA;gBAC/B,MAAM,OAAO,CAAC;oBACZ,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;4BAC9B,IAAI,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,OAAO,EAAE;4BAC3B,KAAK,EAAE;gCACL,QAAQ,EAAE,aAAa;gCACvB,OAAO,EAAE,KAAK,CAAC,OAAO;6BACvB;yBACF;qBACF;iBACF,CAAC,CAAA;aACH;SACF;IACH,CAAC;IACD,SAAS,EAAE,6CAAqB;CACjC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { ExtensionActivityRecord, CompleteExtensionActivityInput } from '@awell-health/ui-library';
3
+ type DataPoints = CompleteExtensionActivityInput['data_points'];
4
+ interface BookAppointmentActionProps {
5
+ activityDetails: ExtensionActivityRecord;
6
+ onSubmit: (activity_id: string, data_points: DataPoints) => Promise<void>;
7
+ }
8
+ export declare const BookAppointmentAction: FC<BookAppointmentActionProps>;
9
+ export {};
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (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
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.BookAppointmentAction = void 0;
27
+ const react_1 = __importStar(require("react"));
28
+ const ui_library_1 = require("@awell-health/ui-library");
29
+ const mapToObject_1 = require("../../../../../src/utils/mapToObject");
30
+ const BookAppointmentAction = ({ activityDetails, onSubmit, }) => {
31
+ const { updateLayoutMode, resetLayoutMode } = (0, ui_library_1.useTheme)();
32
+ const { activity_id, fields, pathway_id } = activityDetails;
33
+ const { calLink } = (0, react_1.useMemo)(() => (0, mapToObject_1.mapActionFieldsToObject)(fields), [fields]);
34
+ const onBookingSuccessful = (0, react_1.useCallback)((data) => {
35
+ var _a;
36
+ const dataPoints = [
37
+ { key: 'bookingId', value: `${(_a = data === null || data === void 0 ? void 0 : data.booking) === null || _a === void 0 ? void 0 : _a.id}` },
38
+ ];
39
+ onSubmit(activity_id, dataPoints);
40
+ }, [activity_id, onSubmit]);
41
+ (0, react_1.useEffect)(() => {
42
+ updateLayoutMode('flexible');
43
+ return () => {
44
+ // Reset to default mode on unmount
45
+ resetLayoutMode();
46
+ };
47
+ }, []);
48
+ return (react_1.default.createElement(ui_library_1.CalDotComScheduling, { calLink: calLink, metadata: {
49
+ awellPathwayId: pathway_id,
50
+ awellActivityId: activity_id,
51
+ }, onBookingSuccessful: onBookingSuccessful }));
52
+ };
53
+ exports.BookAppointmentAction = BookAppointmentAction;
54
+ exports.BookAppointmentAction.displayName = 'BookAppointmentAction';
55
+ //# sourceMappingURL=BookAppointmentAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookAppointmentAction.js","sourceRoot":"","sources":["../../../../../../extensions/calDotCom/actions/bookAppointment/component/BookAppointmentAction.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAkE;AAClE,yDAAwE;AACxE,sEAA8E;AAWvE,MAAM,qBAAqB,GAAmC,CAAC,EACpE,eAAe,EACf,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,EAAE,gBAAgB,EAAE,eAAe,EAAE,GAAG,IAAA,qBAAQ,GAAE,CAAA;IACxD,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,eAAe,CAAA;IAE3D,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,eAAO,EACzB,GAAG,EAAE,CAAC,IAAA,qCAAuB,EAAwB,MAAM,CAAC,EAC5D,CAAC,MAAM,CAAC,CACT,CAAA;IAED,MAAM,mBAAmB,GAA8B,IAAA,mBAAW,EAChE,CAAC,IAAI,EAAE,EAAE;;QACP,MAAM,UAAU,GAAe;YAC7B,EAAE,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,EAAE,EAAE,EAAE;SACpD,CAAA;QACD,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,CAAA;IACnC,CAAC,EACD,CAAC,WAAW,EAAE,QAAQ,CAAC,CACxB,CAAA;IAED,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,gBAAgB,CAAC,UAAU,CAAC,CAAA;QAE5B,OAAO,GAAG,EAAE;YACV,mCAAmC;YACnC,eAAe,EAAE,CAAA;QACnB,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,CACL,8BAAC,gCAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE;YACR,cAAc,EAAE,UAAU;YAC1B,eAAe,EAAE,WAAW;SAC7B,EACD,mBAAmB,EAAE,mBAAmB,GACxC,CACH,CAAA;AACH,CAAC,CAAA;AAzCY,QAAA,qBAAqB,yBAyCjC;AAED,6BAAqB,CAAC,WAAW,GAAG,uBAAuB,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { type ComponentProps } from 'react';
2
+ import { type CalDotComScheduling } from '@awell-health/ui-library';
3
+ export declare enum ActionKey {
4
+ BOOK_APPOINTMENT = "bookAppointment"
5
+ }
6
+ export interface BookAppointmentFields extends Record<string, any> {
7
+ calLink: string;
8
+ }
9
+ export type BookingSuccessfulFunction = ComponentProps<typeof CalDotComScheduling>['onBookingSuccessful'];
10
+ export type BookingSuccessfulFunctionArg = Parameters<BookingSuccessfulFunction>[0];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActionKey = void 0;
4
+ var ActionKey;
5
+ (function (ActionKey) {
6
+ ActionKey["BOOK_APPOINTMENT"] = "bookAppointment";
7
+ })(ActionKey = exports.ActionKey || (exports.ActionKey = {}));
8
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../extensions/calDotCom/actions/bookAppointment/component/types.ts"],"names":[],"mappings":";;;AAGA,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,iDAAoC,CAAA;AACtC,CAAC,EAFW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAEpB"}
@@ -0,0 +1,71 @@
1
+ import { type Webhook } from '@awell-health/extensions-core';
2
+ import { type CalendlyWebhookPayload } from '../types';
3
+ declare const dataPoints: {
4
+ eventId: {
5
+ key: string;
6
+ valueType: "string";
7
+ };
8
+ eventTypeId: {
9
+ key: string;
10
+ valueType: "string";
11
+ };
12
+ inviteeEmail: {
13
+ key: string;
14
+ valueType: "string";
15
+ };
16
+ inviteeFirstName: {
17
+ key: string;
18
+ valueType: "string";
19
+ };
20
+ inviteeLastName: {
21
+ key: string;
22
+ valueType: "string";
23
+ };
24
+ inviteeName: {
25
+ key: string;
26
+ valueType: "string";
27
+ };
28
+ inviteeStatus: {
29
+ key: string;
30
+ valueType: "string";
31
+ };
32
+ inviteeTimezone: {
33
+ key: string;
34
+ valueType: "string";
35
+ };
36
+ hostEmail: {
37
+ key: string;
38
+ valueType: "string";
39
+ };
40
+ startTime: {
41
+ key: string;
42
+ valueType: "date";
43
+ };
44
+ endTime: {
45
+ key: string;
46
+ valueType: "date";
47
+ };
48
+ cancelUrl: {
49
+ key: string;
50
+ valueType: "string";
51
+ };
52
+ rescheduleUrl: {
53
+ key: string;
54
+ valueType: "string";
55
+ };
56
+ videoCallUrl: {
57
+ key: string;
58
+ valueType: "string";
59
+ };
60
+ eventName: {
61
+ key: string;
62
+ valueType: "string";
63
+ };
64
+ inviteePhoneNumber: {
65
+ key: string;
66
+ valueType: "string";
67
+ };
68
+ };
69
+ export declare const eventRescheduled: Webhook<keyof typeof dataPoints, CalendlyWebhookPayload>;
70
+ export type EventRescheduled = typeof eventRescheduled;
71
+ export {};
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.eventRescheduled = void 0;
4
+ const lodash_1 = require("lodash");
5
+ const dataPoints = {
6
+ eventId: {
7
+ key: 'eventId',
8
+ valueType: 'string',
9
+ },
10
+ eventTypeId: {
11
+ key: 'eventTypeId',
12
+ valueType: 'string',
13
+ },
14
+ inviteeEmail: {
15
+ key: 'inviteeEmail',
16
+ valueType: 'string',
17
+ },
18
+ inviteeFirstName: {
19
+ key: 'inviteeFirstName',
20
+ valueType: 'string',
21
+ },
22
+ inviteeLastName: {
23
+ key: 'inviteeLastName',
24
+ valueType: 'string',
25
+ },
26
+ inviteeName: {
27
+ key: 'inviteeName',
28
+ valueType: 'string',
29
+ },
30
+ inviteeStatus: {
31
+ key: 'inviteeStatus',
32
+ valueType: 'string',
33
+ },
34
+ inviteeTimezone: {
35
+ key: 'inviteeTimezone',
36
+ valueType: 'string',
37
+ },
38
+ hostEmail: {
39
+ key: 'hostEmail',
40
+ valueType: 'string',
41
+ },
42
+ startTime: {
43
+ key: 'startTime',
44
+ valueType: 'date',
45
+ },
46
+ endTime: {
47
+ key: 'endTime',
48
+ valueType: 'date',
49
+ },
50
+ cancelUrl: {
51
+ key: 'cancelUrl',
52
+ valueType: 'string',
53
+ },
54
+ rescheduleUrl: {
55
+ key: 'rescheduleUrl',
56
+ valueType: 'string',
57
+ },
58
+ videoCallUrl: {
59
+ key: 'videoCallUrl',
60
+ valueType: 'string',
61
+ },
62
+ eventName: {
63
+ key: 'eventName',
64
+ valueType: 'string',
65
+ },
66
+ inviteePhoneNumber: {
67
+ key: 'inviteePhoneNumber',
68
+ valueType: 'string',
69
+ },
70
+ };
71
+ exports.eventRescheduled = {
72
+ key: 'eventRescheduled',
73
+ dataPoints,
74
+ onWebhookReceived: async ({ payload }, onSuccess, onError) => {
75
+ var _a, _b;
76
+ const { payload: { email, first_name, last_name, name, scheduled_event, status, timezone, cancel_url, reschedule_url, rescheduled, old_invitee, }, } = payload;
77
+ if (rescheduled) {
78
+ // https://api.calendly.com/scheduled_events/GBGBDCAADAEDCRZ2 => GBGBDCAADAEDCRZ2
79
+ const scheduledEventId = scheduled_event.uri.split('/').pop();
80
+ const scheduledEventTypeId = scheduled_event.event_type.split('/').pop();
81
+ const hostEmail = scheduled_event.event_memberships.length > 0
82
+ ? scheduled_event.event_memberships[0].user_email
83
+ : '';
84
+ if (!(0, lodash_1.isNil)(scheduledEventId) &&
85
+ !(0, lodash_1.isNil)(scheduledEventTypeId) &&
86
+ !(0, lodash_1.isEmpty)(old_invitee)) {
87
+ const data_points = {
88
+ eventId: scheduledEventId,
89
+ eventTypeId: scheduledEventTypeId,
90
+ inviteeEmail: email,
91
+ inviteeFirstName: first_name,
92
+ inviteeLastName: last_name,
93
+ inviteeName: name,
94
+ inviteeStatus: status,
95
+ inviteeTimezone: timezone,
96
+ startTime: scheduled_event.start_time,
97
+ endTime: scheduled_event.end_time,
98
+ cancelUrl: cancel_url,
99
+ rescheduleUrl: reschedule_url,
100
+ hostEmail,
101
+ videoCallUrl: (_a = scheduled_event.location.join_url) !== null && _a !== void 0 ? _a : '',
102
+ inviteePhoneNumber: (_b = scheduled_event.text_reminder_number) !== null && _b !== void 0 ? _b : '',
103
+ eventName: scheduled_event.name,
104
+ };
105
+ console.log({ event: 'calendly.eventRescheduled', data_points });
106
+ await onSuccess({
107
+ data_points,
108
+ });
109
+ }
110
+ }
111
+ },
112
+ };
113
+ //# sourceMappingURL=eventRescheduled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventRescheduled.js","sourceRoot":"","sources":["../../../../extensions/calendly/webhooks/eventRescheduled.ts"],"names":[],"mappings":";;;AAAA,mCAAuC;AAOvC,MAAM,UAAU,GAAG;IACjB,OAAO,EAAE;QACP,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,QAAQ;KACpB;IACD,WAAW,EAAE;QACX,GAAG,EAAE,aAAa;QAClB,SAAS,EAAE,QAAQ;KACpB;IACD,YAAY,EAAE;QACZ,GAAG,EAAE,cAAc;QACnB,SAAS,EAAE,QAAQ;KACpB;IACD,gBAAgB,EAAE;QAChB,GAAG,EAAE,kBAAkB;QACvB,SAAS,EAAE,QAAQ;KACpB;IACD,eAAe,EAAE;QACf,GAAG,EAAE,iBAAiB;QACtB,SAAS,EAAE,QAAQ;KACpB;IACD,WAAW,EAAE;QACX,GAAG,EAAE,aAAa;QAClB,SAAS,EAAE,QAAQ;KACpB;IACD,aAAa,EAAE;QACb,GAAG,EAAE,eAAe;QACpB,SAAS,EAAE,QAAQ;KACpB;IACD,eAAe,EAAE;QACf,GAAG,EAAE,iBAAiB;QACtB,SAAS,EAAE,QAAQ;KACpB;IACD,SAAS,EAAE;QACT,GAAG,EAAE,WAAW;QAChB,SAAS,EAAE,QAAQ;KACpB;IACD,SAAS,EAAE;QACT,GAAG,EAAE,WAAW;QAChB,SAAS,EAAE,MAAM;KAClB;IACD,OAAO,EAAE;QACP,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,MAAM;KAClB;IACD,SAAS,EAAE;QACT,GAAG,EAAE,WAAW;QAChB,SAAS,EAAE,QAAQ;KACpB;IACD,aAAa,EAAE;QACb,GAAG,EAAE,eAAe;QACpB,SAAS,EAAE,QAAQ;KACpB;IACD,YAAY,EAAE;QACZ,GAAG,EAAE,cAAc;QACnB,SAAS,EAAE,QAAQ;KACpB;IACD,SAAS,EAAE;QACT,GAAG,EAAE,WAAW;QAChB,SAAS,EAAE,QAAQ;KACpB;IACD,kBAAkB,EAAE;QAClB,GAAG,EAAE,oBAAoB;QACzB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,gBAAgB,GAGzB;IACF,GAAG,EAAE,kBAAkB;IACvB,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;;QAC3D,MAAM,EACJ,OAAO,EAAE,EACP,KAAK,EACL,UAAU,EACV,SAAS,EACT,IAAI,EACJ,eAAe,EACf,MAAM,EACN,QAAQ,EACR,UAAU,EACV,cAAc,EACd,WAAW,EACX,WAAW,GACZ,GACF,GAAG,OAAO,CAAA;QAEX,IAAI,WAAW,EAAE;YACf,iFAAiF;YACjF,MAAM,gBAAgB,GAAG,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAA;YAE7D,MAAM,oBAAoB,GAAG,eAAe,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAA;YAExE,MAAM,SAAS,GACb,eAAe,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC;gBAC1C,CAAC,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,UAAU;gBACjD,CAAC,CAAC,EAAE,CAAA;YAER,IACE,CAAC,IAAA,cAAK,EAAC,gBAAgB,CAAC;gBACxB,CAAC,IAAA,cAAK,EAAC,oBAAoB,CAAC;gBAC5B,CAAC,IAAA,gBAAO,EAAC,WAAW,CAAC,EACrB;gBACA,MAAM,WAAW,GAAG;oBAClB,OAAO,EAAE,gBAAgB;oBACzB,WAAW,EAAE,oBAAoB;oBACjC,YAAY,EAAE,KAAK;oBACnB,gBAAgB,EAAE,UAAU;oBAC5B,eAAe,EAAE,SAAS;oBAC1B,WAAW,EAAE,IAAI;oBACjB,aAAa,EAAE,MAAM;oBACrB,eAAe,EAAE,QAAQ;oBACzB,SAAS,EAAE,eAAe,CAAC,UAAU;oBACrC,OAAO,EAAE,eAAe,CAAC,QAAQ;oBACjC,SAAS,EAAE,UAAU;oBACrB,aAAa,EAAE,cAAc;oBAC7B,SAAS;oBACT,YAAY,EAAE,MAAA,eAAe,CAAC,QAAQ,CAAC,QAAQ,mCAAI,EAAE;oBACrD,kBAAkB,EAAE,MAAA,eAAe,CAAC,oBAAoB,mCAAI,EAAE;oBAC9D,SAAS,EAAE,eAAe,CAAC,IAAI;iBAChC,CAAA;gBACD,OAAO,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,2BAA2B,EAAE,WAAW,EAAE,CAAC,CAAA;gBAChE,MAAM,SAAS,CAAC;oBACd,WAAW;iBACZ,CAAC,CAAA;aACH;SACF;IACH,CAAC;CACF,CAAA"}
@@ -11,16 +11,16 @@ export declare const addressSchema: z.ZodObject<{
11
11
  type: "both" | "physical" | "postal";
12
12
  city: string;
13
13
  state: string;
14
- use: "temp" | "old" | "home" | "work";
15
14
  line: string[];
15
+ use: "temp" | "old" | "home" | "work";
16
16
  postalCode: string;
17
17
  text?: string | undefined;
18
18
  }, {
19
19
  type: "both" | "physical" | "postal";
20
20
  city: string;
21
21
  state: string;
22
- use: "temp" | "old" | "home" | "work";
23
22
  line: string[];
23
+ use: "temp" | "old" | "home" | "work";
24
24
  postalCode: string;
25
25
  text?: string | undefined;
26
26
  }>;
@@ -17,19 +17,19 @@ export declare const appointmentSchema: z.ZodObject<{
17
17
  }>, "many">;
18
18
  text: z.ZodString;
19
19
  }, "strip", z.ZodTypeAny, {
20
+ text: string;
20
21
  coding: {
21
22
  code: string;
22
23
  system: "INTERNAL";
23
24
  display: string;
24
25
  }[];
25
- text: string;
26
26
  }, {
27
+ text: string;
27
28
  coding: {
28
29
  code: string;
29
30
  system: "INTERNAL";
30
31
  display: string;
31
32
  }[];
32
- text: string;
33
33
  }>, "many">>;
34
34
  description: z.ZodOptional<z.ZodString>;
35
35
  participant: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -174,12 +174,12 @@ export declare const appointmentSchema: z.ZodObject<{
174
174
  status?: "proposed" | undefined;
175
175
  description?: string | undefined;
176
176
  reasonCode?: {
177
+ text: string;
177
178
  coding: {
178
179
  code: string;
179
180
  system: "INTERNAL";
180
181
  display: string;
181
182
  }[];
182
- text: string;
183
183
  }[] | undefined;
184
184
  participant?: {
185
185
  status: "accepted";
@@ -221,12 +221,12 @@ export declare const appointmentSchema: z.ZodObject<{
221
221
  status?: "proposed" | undefined;
222
222
  description?: string | undefined;
223
223
  reasonCode?: {
224
+ text: string;
224
225
  coding: {
225
226
  code: string;
226
227
  system: "INTERNAL";
227
228
  display: string;
228
229
  }[];
229
- text: string;
230
230
  }[] | undefined;
231
231
  participant?: {
232
232
  status: "accepted";
@@ -267,19 +267,19 @@ export declare const appointmentWithIdSchema: z.ZodObject<z.objectUtil.extendSha
267
267
  }>, "many">;
268
268
  text: z.ZodString;
269
269
  }, "strip", z.ZodTypeAny, {
270
+ text: string;
270
271
  coding: {
271
272
  code: string;
272
273
  system: "INTERNAL";
273
274
  display: string;
274
275
  }[];
275
- text: string;
276
276
  }, {
277
+ text: string;
277
278
  coding: {
278
279
  code: string;
279
280
  system: "INTERNAL";
280
281
  display: string;
281
282
  }[];
282
- text: string;
283
283
  }>, "many">>;
284
284
  description: z.ZodOptional<z.ZodString>;
285
285
  participant: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -427,12 +427,12 @@ export declare const appointmentWithIdSchema: z.ZodObject<z.objectUtil.extendSha
427
427
  status?: "proposed" | undefined;
428
428
  description?: string | undefined;
429
429
  reasonCode?: {
430
+ text: string;
430
431
  coding: {
431
432
  code: string;
432
433
  system: "INTERNAL";
433
434
  display: string;
434
435
  }[];
435
- text: string;
436
436
  }[] | undefined;
437
437
  participant?: {
438
438
  status: "accepted";
@@ -475,12 +475,12 @@ export declare const appointmentWithIdSchema: z.ZodObject<z.objectUtil.extendSha
475
475
  status?: "proposed" | undefined;
476
476
  description?: string | undefined;
477
477
  reasonCode?: {
478
+ text: string;
478
479
  coding: {
479
480
  code: string;
480
481
  system: "INTERNAL";
481
482
  display: string;
482
483
  }[];
483
- text: string;
484
484
  }[] | undefined;
485
485
  participant?: {
486
486
  status: "accepted";
@@ -24,8 +24,8 @@ export declare const claimSchema: z.ZodObject<{
24
24
  patient: {
25
25
  reference: string;
26
26
  };
27
- resourceType: "Claim";
28
27
  use: string;
28
+ resourceType: "Claim";
29
29
  item: Record<string, any>[];
30
30
  created: string;
31
31
  provider: Record<string, any>;
@@ -39,8 +39,8 @@ export declare const claimSchema: z.ZodObject<{
39
39
  patient: {
40
40
  reference: string;
41
41
  };
42
- resourceType: "Claim";
43
42
  use: string;
43
+ resourceType: "Claim";
44
44
  item: Record<string, any>[];
45
45
  created: Date;
46
46
  provider: Record<string, any>;
@@ -66,6 +66,7 @@ export declare const identifierSchema: z.ZodObject<{
66
66
  } | undefined;
67
67
  value?: string | undefined;
68
68
  system?: string | undefined;
69
+ use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
69
70
  period?: {
70
71
  start: string;
71
72
  end?: string | undefined;
@@ -73,7 +74,6 @@ export declare const identifierSchema: z.ZodObject<{
73
74
  start: string;
74
75
  end?: string | undefined;
75
76
  }[] | undefined;
76
- use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
77
77
  assigner?: {
78
78
  display: string;
79
79
  } | undefined;
@@ -87,6 +87,7 @@ export declare const identifierSchema: z.ZodObject<{
87
87
  } | undefined;
88
88
  value?: string | undefined;
89
89
  system?: string | undefined;
90
+ use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
90
91
  period?: {
91
92
  start: Date;
92
93
  end?: Date | undefined;
@@ -94,7 +95,6 @@ export declare const identifierSchema: z.ZodObject<{
94
95
  start: Date;
95
96
  end?: Date | undefined;
96
97
  }[] | undefined;
97
- use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
98
98
  assigner?: {
99
99
  display: string;
100
100
  } | undefined;