@awell-health/awell-extensions 1.1.42 → 1.1.43-beta42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. package/dist/extensions/awell/v1/webhooks/index.d.ts +1 -1
  2. package/dist/extensions/awell/v1/webhooks/pathwayStart.d.ts +3 -1
  3. package/dist/extensions/awell/v1/webhooks/pathwayStart.js +13 -3
  4. package/dist/extensions/awell/v1/webhooks/pathwayStart.js.map +1 -1
  5. package/dist/extensions/calDotCom/webhooks/index.d.ts +1 -1
  6. package/dist/extensions/calendly/webhooks/index.d.ts +1 -1
  7. package/dist/extensions/elation/actions/updatePatient.js +1 -0
  8. package/dist/extensions/elation/actions/updatePatient.js.map +1 -1
  9. package/dist/extensions/elation/webhooks/index.d.ts +1 -1
  10. package/dist/extensions/healthie/lib/sdk/createSdk.d.ts +10 -0
  11. package/dist/extensions/healthie/lib/sdk/createSdk.js +17 -0
  12. package/dist/extensions/healthie/lib/sdk/createSdk.js.map +1 -0
  13. package/dist/extensions/healthie/lib/sdk/errors.d.ts +1 -0
  14. package/dist/extensions/healthie/lib/sdk/errors.js +42 -1
  15. package/dist/extensions/healthie/lib/sdk/errors.js.map +1 -1
  16. package/dist/extensions/healthie/lib/sdk/generated/sdk.d.ts +373 -9
  17. package/dist/extensions/healthie/lib/sdk/generated/sdk.js +110 -3
  18. package/dist/extensions/healthie/lib/sdk/generated/sdk.js.map +1 -1
  19. package/dist/extensions/healthie/lib/sdk/validatePayloadAndCreateSdk.d.ts +11 -1
  20. package/dist/extensions/healthie/lib/sdk/validatePayloadAndCreateSdk.js +15 -1
  21. package/dist/extensions/healthie/lib/sdk/validatePayloadAndCreateSdk.js.map +1 -1
  22. package/dist/extensions/healthie/lib/types.d.ts +1 -0
  23. package/dist/extensions/healthie/lib/types.js +2 -0
  24. package/dist/extensions/healthie/lib/types.js.map +1 -1
  25. package/dist/extensions/healthie/webhooks/appliedTagCreated.d.ts +2 -1
  26. package/dist/extensions/healthie/webhooks/appliedTagCreated.js +19 -7
  27. package/dist/extensions/healthie/webhooks/appliedTagCreated.js.map +1 -1
  28. package/dist/extensions/healthie/webhooks/appliedTagDeleted.d.ts +2 -1
  29. package/dist/extensions/healthie/webhooks/appliedTagDeleted.js +19 -7
  30. package/dist/extensions/healthie/webhooks/appliedTagDeleted.js.map +1 -1
  31. package/dist/extensions/healthie/webhooks/appointmentCreated.d.ts +6 -1
  32. package/dist/extensions/healthie/webhooks/appointmentCreated.js +25 -6
  33. package/dist/extensions/healthie/webhooks/appointmentCreated.js.map +1 -1
  34. package/dist/extensions/healthie/webhooks/appointmentDeleted.d.ts +2 -1
  35. package/dist/extensions/healthie/webhooks/appointmentDeleted.js +21 -6
  36. package/dist/extensions/healthie/webhooks/appointmentDeleted.js.map +1 -1
  37. package/dist/extensions/healthie/webhooks/appointmentUpdated.d.ts +6 -1
  38. package/dist/extensions/healthie/webhooks/appointmentUpdated.js +25 -6
  39. package/dist/extensions/healthie/webhooks/appointmentUpdated.js.map +1 -1
  40. package/dist/extensions/healthie/webhooks/formAnswerGroupCreated.d.ts +6 -1
  41. package/dist/extensions/healthie/webhooks/formAnswerGroupCreated.js +26 -7
  42. package/dist/extensions/healthie/webhooks/formAnswerGroupCreated.js.map +1 -1
  43. package/dist/extensions/healthie/webhooks/formAnswerGroupDeleted.d.ts +2 -1
  44. package/dist/extensions/healthie/webhooks/formAnswerGroupDeleted.js +20 -6
  45. package/dist/extensions/healthie/webhooks/formAnswerGroupDeleted.js.map +1 -1
  46. package/dist/extensions/healthie/webhooks/formAnswerGroupLocked.d.ts +6 -1
  47. package/dist/extensions/healthie/webhooks/formAnswerGroupLocked.js +25 -6
  48. package/dist/extensions/healthie/webhooks/formAnswerGroupLocked.js.map +1 -1
  49. package/dist/extensions/healthie/webhooks/formAnswerGroupSigned.d.ts +6 -1
  50. package/dist/extensions/healthie/webhooks/formAnswerGroupSigned.js +25 -6
  51. package/dist/extensions/healthie/webhooks/formAnswerGroupSigned.js.map +1 -1
  52. package/dist/extensions/healthie/webhooks/goalCreated.d.ts +3 -2
  53. package/dist/extensions/healthie/webhooks/goalCreated.js +21 -9
  54. package/dist/extensions/healthie/webhooks/goalCreated.js.map +1 -1
  55. package/dist/extensions/healthie/webhooks/goalUpdated.d.ts +2 -1
  56. package/dist/extensions/healthie/webhooks/goalUpdated.js +20 -8
  57. package/dist/extensions/healthie/webhooks/goalUpdated.js.map +1 -1
  58. package/dist/extensions/healthie/webhooks/index.d.ts +316 -5
  59. package/dist/extensions/healthie/webhooks/index.js +0 -8
  60. package/dist/extensions/healthie/webhooks/index.js.map +1 -1
  61. package/dist/extensions/healthie/webhooks/labOrderCreated.d.ts +2 -1
  62. package/dist/extensions/healthie/webhooks/labOrderCreated.js +19 -7
  63. package/dist/extensions/healthie/webhooks/labOrderCreated.js.map +1 -1
  64. package/dist/extensions/healthie/webhooks/labOrderUpdated.d.ts +2 -1
  65. package/dist/extensions/healthie/webhooks/labOrderUpdated.js +19 -7
  66. package/dist/extensions/healthie/webhooks/labOrderUpdated.js.map +1 -1
  67. package/dist/extensions/healthie/webhooks/messageCreated.d.ts +2 -1
  68. package/dist/extensions/healthie/webhooks/messageCreated.js +20 -7
  69. package/dist/extensions/healthie/webhooks/messageCreated.js.map +1 -1
  70. package/dist/extensions/healthie/webhooks/messageDeleted.d.ts +2 -1
  71. package/dist/extensions/healthie/webhooks/messageDeleted.js +20 -7
  72. package/dist/extensions/healthie/webhooks/messageDeleted.js.map +1 -1
  73. package/dist/extensions/healthie/webhooks/metricEntryCreated.d.ts +2 -1
  74. package/dist/extensions/healthie/webhooks/metricEntryCreated.js +19 -7
  75. package/dist/extensions/healthie/webhooks/metricEntryCreated.js.map +1 -1
  76. package/dist/extensions/healthie/webhooks/metricEntryUpdated.d.ts +2 -1
  77. package/dist/extensions/healthie/webhooks/metricEntryUpdated.js +19 -7
  78. package/dist/extensions/healthie/webhooks/metricEntryUpdated.js.map +1 -1
  79. package/dist/extensions/healthie/webhooks/patientCreated.js +5 -0
  80. package/dist/extensions/healthie/webhooks/patientCreated.js.map +1 -1
  81. package/dist/extensions/healthie/webhooks/patientUpdated.js +5 -0
  82. package/dist/extensions/healthie/webhooks/patientUpdated.js.map +1 -1
  83. package/dist/extensions/healthie/webhooks/requestedFormCompletionCreated.d.ts +2 -1
  84. package/dist/extensions/healthie/webhooks/requestedFormCompletionCreated.js +19 -7
  85. package/dist/extensions/healthie/webhooks/requestedFormCompletionCreated.js.map +1 -1
  86. package/dist/extensions/healthie/webhooks/requestedFormCompletionUpdated.d.ts +2 -1
  87. package/dist/extensions/healthie/webhooks/requestedFormCompletionUpdated.js +19 -7
  88. package/dist/extensions/healthie/webhooks/requestedFormCompletionUpdated.js.map +1 -1
  89. package/dist/extensions/healthie/webhooks/taskCreated.d.ts +2 -1
  90. package/dist/extensions/healthie/webhooks/taskCreated.js +19 -7
  91. package/dist/extensions/healthie/webhooks/taskCreated.js.map +1 -1
  92. package/dist/extensions/healthie/webhooks/taskUpdated.d.ts +2 -1
  93. package/dist/extensions/healthie/webhooks/taskUpdated.js +20 -8
  94. package/dist/extensions/healthie/webhooks/taskUpdated.js.map +1 -1
  95. package/dist/extensions/hello-world/webhooks/index.d.ts +1 -1
  96. package/dist/extensions/markdown.json +0 -4
  97. package/dist/extensions/zusHealth/webhooks/index.d.ts +37 -1
  98. package/dist/extensions/zusHealth/webhooks/patientAdmitted.d.ts +2 -1
  99. package/dist/extensions/zusHealth/webhooks/patientAdmitted.js.map +1 -1
  100. package/dist/extensions/zusHealth/webhooks/patientDischarged.d.ts +2 -1
  101. package/dist/extensions/zusHealth/webhooks/patientDischarged.js.map +1 -1
  102. package/dist/src/test-server.js +4 -0
  103. package/dist/src/test-server.js.map +1 -1
  104. package/package.json +6 -5
  105. package/dist/extensions/healthie/webhooks/goalDeleted.d.ts +0 -11
  106. package/dist/extensions/healthie/webhooks/goalDeleted.js +0 -30
  107. package/dist/extensions/healthie/webhooks/goalDeleted.js.map +0 -1
  108. package/dist/extensions/healthie/webhooks/metricEntryDeleted.d.ts +0 -11
  109. package/dist/extensions/healthie/webhooks/metricEntryDeleted.js +0 -30
  110. package/dist/extensions/healthie/webhooks/metricEntryDeleted.js.map +0 -1
  111. package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.d.ts +0 -11
  112. package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.js +0 -30
  113. package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.js.map +0 -1
  114. package/dist/extensions/healthie/webhooks/taskDeleted.d.ts +0 -11
  115. package/dist/extensions/healthie/webhooks/taskDeleted.js +0 -30
  116. package/dist/extensions/healthie/webhooks/taskDeleted.js.map +0 -1
  117. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.d.ts +0 -11
  118. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.js +0 -39
  119. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.js.map +0 -1
  120. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.d.ts +0 -1
  121. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.js +0 -85
  122. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.js.map +0 -1
  123. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.d.ts +0 -18
  124. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.js +0 -18
  125. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.js.map +0 -1
  126. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/index.d.ts +0 -2
  127. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/index.js +0 -9
  128. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/index.js.map +0 -1
  129. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.d.ts +0 -35
  130. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.js +0 -17
  131. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.js.map +0 -1
  132. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.d.ts +0 -33
  133. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.js +0 -129
  134. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.js.map +0 -1
  135. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.test.d.ts +0 -1
  136. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.test.js +0 -154
  137. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.test.js.map +0 -1
  138. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.d.ts +0 -26
  139. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.js +0 -139
  140. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.js.map +0 -1
  141. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.test.d.ts +0 -1
  142. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.test.js +0 -185
  143. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.test.js.map +0 -1
  144. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.d.ts +0 -23
  145. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.js +0 -153
  146. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.js.map +0 -1
  147. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.test.d.ts +0 -1
  148. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.test.js +0 -184
  149. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.test.js.map +0 -1
  150. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.d.ts +0 -26
  151. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.js +0 -118
  152. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.js.map +0 -1
  153. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.d.ts +0 -1
  154. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js +0 -119
  155. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js.map +0 -1
  156. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/fields.d.ts +0 -82
  157. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/fields.js +0 -78
  158. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/fields.js.map +0 -1
  159. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/index.d.ts +0 -1
  160. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/index.js +0 -6
  161. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/index.js.map +0 -1
  162. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced-fail.test.d.ts +0 -1
  163. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced-fail.test.js +0 -152
  164. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced-fail.test.js.map +0 -1
  165. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.d.ts +0 -4
  166. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js +0 -86
  167. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js.map +0 -1
  168. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.d.ts +0 -1
  169. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js +0 -42
  170. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js.map +0 -1
  171. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/index.d.ts +0 -1
  172. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/index.js +0 -6
  173. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/index.js.map +0 -1
  174. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/fields.d.ts +0 -58
  175. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/fields.js +0 -56
  176. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/fields.js.map +0 -1
  177. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/index.d.ts +0 -2
  178. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/index.js +0 -9
  179. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/index.js.map +0 -1
  180. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.d.ts +0 -35
  181. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.js +0 -17
  182. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.js.map +0 -1
  183. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.d.ts +0 -11
  184. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.js +0 -56
  185. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.js.map +0 -1
  186. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.test.d.ts +0 -1
  187. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.test.js +0 -53
  188. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.test.js.map +0 -1
  189. package/dist/extensions/wellinks-public/actions/index.d.ts +0 -967
  190. package/dist/extensions/wellinks-public/actions/index.js +0 -24
  191. package/dist/extensions/wellinks-public/actions/index.js.map +0 -1
  192. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/fields.d.ts +0 -78
  193. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/fields.js +0 -66
  194. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/fields.js.map +0 -1
  195. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/index.d.ts +0 -2
  196. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/index.js +0 -9
  197. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/index.js.map +0 -1
  198. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.d.ts +0 -38
  199. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.js +0 -11
  200. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.js.map +0 -1
  201. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.d.ts +0 -11
  202. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.js +0 -75
  203. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.js.map +0 -1
  204. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.test.d.ts +0 -1
  205. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.test.js +0 -133
  206. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.test.js.map +0 -1
  207. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/fields.d.ts +0 -188
  208. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/fields.js +0 -160
  209. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/fields.js.map +0 -1
  210. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/index.d.ts +0 -2
  211. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/index.js +0 -9
  212. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/index.js.map +0 -1
  213. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.d.ts +0 -35
  214. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.js +0 -17
  215. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.js.map +0 -1
  216. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.d.ts +0 -19
  217. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.js +0 -66
  218. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.js.map +0 -1
  219. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.test.d.ts +0 -1
  220. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.test.js +0 -125
  221. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.test.js.map +0 -1
  222. package/dist/extensions/wellinks-public/api/clients/wellinksClient.d.ts +0 -16
  223. package/dist/extensions/wellinks-public/api/clients/wellinksClient.js +0 -40
  224. package/dist/extensions/wellinks-public/api/clients/wellinksClient.js.map +0 -1
  225. package/dist/extensions/wellinks-public/api/clients/wellinksFlourishClient.d.ts +0 -14
  226. package/dist/extensions/wellinks-public/api/clients/wellinksFlourishClient.js +0 -201
  227. package/dist/extensions/wellinks-public/api/clients/wellinksFlourishClient.js.map +0 -1
  228. package/dist/extensions/wellinks-public/api/clients/wellinksGraphqlClient.d.ts +0 -3
  229. package/dist/extensions/wellinks-public/api/clients/wellinksGraphqlClient.js +0 -23
  230. package/dist/extensions/wellinks-public/api/clients/wellinksGraphqlClient.js.map +0 -1
  231. package/dist/extensions/wellinks-public/api/test/wellinksFlourishClient.test.d.ts +0 -1
  232. package/dist/extensions/wellinks-public/api/test/wellinksFlourishClient.test.js +0 -192
  233. package/dist/extensions/wellinks-public/api/test/wellinksFlourishClient.test.js.map +0 -1
  234. package/dist/extensions/wellinks-public/codegen.d.ts +0 -3
  235. package/dist/extensions/wellinks-public/codegen.js +0 -21
  236. package/dist/extensions/wellinks-public/codegen.js.map +0 -1
  237. package/dist/extensions/wellinks-public/config/settings.d.ts +0 -107
  238. package/dist/extensions/wellinks-public/config/settings.js +0 -89
  239. package/dist/extensions/wellinks-public/config/settings.js.map +0 -1
  240. package/dist/extensions/wellinks-public/config/types.d.ts +0 -5
  241. package/dist/extensions/wellinks-public/config/types.js +0 -3
  242. package/dist/extensions/wellinks-public/config/types.js.map +0 -1
  243. package/dist/extensions/wellinks-public/gql/wellinksSdk.d.ts +0 -24110
  244. package/dist/extensions/wellinks-public/gql/wellinksSdk.js +0 -635
  245. package/dist/extensions/wellinks-public/gql/wellinksSdk.js.map +0 -1
  246. package/dist/extensions/wellinks-public/graphql/mutations.d.ts +0 -1
  247. package/dist/extensions/wellinks-public/graphql/mutations.js +0 -17
  248. package/dist/extensions/wellinks-public/graphql/mutations.js.map +0 -1
  249. package/dist/extensions/wellinks-public/graphql/queries.d.ts +0 -5
  250. package/dist/extensions/wellinks-public/graphql/queries.js +0 -66
  251. package/dist/extensions/wellinks-public/graphql/queries.js.map +0 -1
  252. package/dist/extensions/wellinks-public/index.d.ts +0 -2
  253. package/dist/extensions/wellinks-public/index.js +0 -20
  254. package/dist/extensions/wellinks-public/index.js.map +0 -1
@@ -16,6 +16,10 @@ const port = 3000;
16
16
  // ) & { response: 'success' | 'failure' }
17
17
  // const queue: QueueInput[] = []
18
18
  app.use(body_parser_1.default.json());
19
+ app.post('/', async (req, res) => {
20
+ console.log(req.body);
21
+ res.send('ok');
22
+ });
19
23
  app.get('/:extension', async (req, res) => {
20
24
  const extensionKey = req.params.extension;
21
25
  const extension = extensions_1.extensions.find(({ key }) => key === extensionKey);
@@ -1 +1 @@
1
- {"version":3,"file":"test-server.js","sourceRoot":"","sources":["../../src/test-server.ts"],"names":[],"mappings":";;;;;AAAA,2DAA2D;AAC3D,sDAA6B;AAC7B,8DAAoC;AACpC,mEAKsC;AACtC,8CAA0C;AAE1C,MAAM,GAAG,GAAG,IAAA,iBAAO,GAAE,CAAA;AACrB,MAAM,IAAI,GAAG,IAAI,CAAA;AAEjB,sBAAsB;AACtB,wCAAwC;AACxC,qCAAqC;AACrC,0CAA0C;AAE1C,iCAAiC;AAEjC,GAAG,CAAC,GAAG,CAA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A;QAC/C,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAA;QAC5C,iDAAiD;IACnD,CAAC,CAAA;AACH,CAAC,CAAA;AACD,MAAM,qBAAqB,GAAG;AAC5B,+BAA+B;AAC/B,GAAqB,EACJ,EAAE;IACnB,OAAO,KAAK,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE;QAC3B,OAAO,CAAC,KAAK,CAAC,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAA;QACjD,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAA;QAC5C,iDAAiD;IACnD,CAAC,CAAA;AACH,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/awell-extensions",
3
- "version": "1.1.42",
3
+ "version": "1.1.43-beta42",
4
4
  "packageManager": "yarn@3.4.1",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": {
@@ -16,7 +16,7 @@
16
16
  "build": "tsc && echo 'Built new dist/' && yarn copy-markdown",
17
17
  "copy-markdown": "node copy-markdown.js && echo 'Copied markdown files to dist/'",
18
18
  "start": "node dist/src/index.js",
19
- "lint": "eslint **/*.ts",
19
+ "lint": "eslint \"**/*.ts\"",
20
20
  "postinstall": "husky install",
21
21
  "test": "jest",
22
22
  "prepack": "yarn build",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@awell-health/awell-sdk": "^0.1.7",
71
- "@awell-health/extensions-core": "0.2.1",
71
+ "@awell-health/extensions-core": "0.2.15",
72
72
  "@dropbox/sign": "^1.1.3",
73
73
  "@mailchimp/mailchimp_transactional": "^1.0.50",
74
74
  "@medplum/core": "^3.1.4",
@@ -102,7 +102,8 @@
102
102
  "stripe": "^15.5.0",
103
103
  "twilio": "^4.8.0",
104
104
  "xml2js": "^0.6.2",
105
- "zod": "^3.23.5",
105
+ "zod": "^3.23.4",
106
106
  "zod-validation-error": "^3.2.0"
107
- }
107
+ },
108
+ "stableVersion": "1.1.43"
108
109
  }
@@ -1,11 +0,0 @@
1
- import { type Webhook } from '@awell-health/extensions-core';
2
- import { type HealthieWebhookPayload } from '../lib/types';
3
- declare const dataPoints: {
4
- deletedGoalId: {
5
- key: string;
6
- valueType: "string";
7
- };
8
- };
9
- export declare const goalDeleted: Webhook<keyof typeof dataPoints, HealthieWebhookPayload>;
10
- export type GoalDeleted = typeof goalDeleted;
11
- export {};
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.goalDeleted = void 0;
4
- const lodash_1 = require("lodash");
5
- const dataPoints = {
6
- deletedGoalId: {
7
- key: 'deletedGoalId',
8
- valueType: 'string',
9
- },
10
- };
11
- exports.goalDeleted = {
12
- key: 'goalDeleted',
13
- dataPoints,
14
- onWebhookReceived: async ({ payload, settings }, onSuccess, onError) => {
15
- const { resource_id: deletedGoalId } = payload;
16
- if ((0, lodash_1.isNil)(deletedGoalId)) {
17
- await onError({
18
- // We should automatically send a 400 here, so no need to provide info
19
- });
20
- }
21
- else {
22
- await onSuccess({
23
- data_points: {
24
- deletedGoalId,
25
- },
26
- });
27
- }
28
- },
29
- };
30
- //# sourceMappingURL=goalDeleted.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"goalDeleted.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/goalDeleted.ts"],"names":[],"mappings":";;;AAAA,mCAA8B;AAO9B,MAAM,UAAU,GAAG;IACjB,aAAa,EAAE;QACb,GAAG,EAAE,eAAe;QACpB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,WAAW,GAGpB;IACF,GAAG,EAAE,aAAa;IAClB,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;QACrE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,GAAG,OAAO,CAAA;QAE9C,IAAI,IAAA,cAAK,EAAC,aAAa,CAAC,EAAE;YACxB,MAAM,OAAO,CAAC;YACZ,sEAAsE;aACvE,CAAC,CAAA;SACH;aAAM;YACL,MAAM,SAAS,CAAC;gBACd,WAAW,EAAE;oBACX,aAAa;iBACd;aACF,CAAC,CAAA;SACH;IACH,CAAC;CACF,CAAA"}
@@ -1,11 +0,0 @@
1
- import { type Webhook } from '@awell-health/extensions-core';
2
- import { type HealthieWebhookPayload } from '../lib/types';
3
- declare const dataPoints: {
4
- deletedMetricId: {
5
- key: string;
6
- valueType: "string";
7
- };
8
- };
9
- export declare const metricEntryDeleted: Webhook<keyof typeof dataPoints, HealthieWebhookPayload>;
10
- export type MetricEntryDeleted = typeof metricEntryDeleted;
11
- export {};
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.metricEntryDeleted = void 0;
4
- const lodash_1 = require("lodash");
5
- const dataPoints = {
6
- deletedMetricId: {
7
- key: 'deletedMetricId',
8
- valueType: 'string',
9
- },
10
- };
11
- exports.metricEntryDeleted = {
12
- key: 'metricEntryDeleted',
13
- dataPoints,
14
- onWebhookReceived: async ({ payload, settings }, onSuccess, onError) => {
15
- const { resource_id: deletedMetricId } = payload;
16
- if ((0, lodash_1.isNil)(deletedMetricId)) {
17
- await onError({
18
- // We should automatically send a 400 here, so no need to provide info
19
- });
20
- }
21
- else {
22
- await onSuccess({
23
- data_points: {
24
- deletedMetricId,
25
- },
26
- });
27
- }
28
- },
29
- };
30
- //# sourceMappingURL=metricEntryDeleted.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metricEntryDeleted.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/metricEntryDeleted.ts"],"names":[],"mappings":";;;AAAA,mCAA8B;AAO9B,MAAM,UAAU,GAAG;IACjB,eAAe,EAAE;QACf,GAAG,EAAE,iBAAiB;QACtB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,kBAAkB,GAG3B;IACF,GAAG,EAAE,oBAAoB;IACzB,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;QACrE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,GAAG,OAAO,CAAA;QAEhD,IAAI,IAAA,cAAK,EAAC,eAAe,CAAC,EAAE;YAC1B,MAAM,OAAO,CAAC;YACZ,sEAAsE;aACvE,CAAC,CAAA;SACH;aAAM;YACL,MAAM,SAAS,CAAC;gBACd,WAAW,EAAE;oBACX,eAAe;iBAChB;aACF,CAAC,CAAA;SACH;IACH,CAAC;CACF,CAAA"}
@@ -1,11 +0,0 @@
1
- import { type Webhook } from '@awell-health/extensions-core';
2
- import { type HealthieWebhookPayload } from '../lib/types';
3
- declare const dataPoints: {
4
- deletedFormCompletionId: {
5
- key: string;
6
- valueType: "string";
7
- };
8
- };
9
- export declare const requestFormCompletionDeleted: Webhook<keyof typeof dataPoints, HealthieWebhookPayload>;
10
- export type RequestFormCompletionDeleted = typeof requestFormCompletionDeleted;
11
- export {};
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.requestFormCompletionDeleted = void 0;
4
- const lodash_1 = require("lodash");
5
- const dataPoints = {
6
- deletedFormCompletionId: {
7
- key: 'deletedFormCompletionId',
8
- valueType: 'string',
9
- },
10
- };
11
- exports.requestFormCompletionDeleted = {
12
- key: 'requestFormCompletionDeleted',
13
- dataPoints,
14
- onWebhookReceived: async ({ payload, settings }, onSuccess, onError) => {
15
- const { resource_id: deletedFormCompletionId } = payload;
16
- if ((0, lodash_1.isNil)(deletedFormCompletionId)) {
17
- await onError({
18
- // We should automatically send a 400 here, so no need to provide info
19
- });
20
- }
21
- else {
22
- await onSuccess({
23
- data_points: {
24
- deletedFormCompletionId,
25
- },
26
- });
27
- }
28
- },
29
- };
30
- //# sourceMappingURL=requestedFormCompletionDeleted.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"requestedFormCompletionDeleted.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/requestedFormCompletionDeleted.ts"],"names":[],"mappings":";;;AAAA,mCAA8B;AAO9B,MAAM,UAAU,GAAG;IACjB,uBAAuB,EAAE;QACvB,GAAG,EAAE,yBAAyB;QAC9B,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,4BAA4B,GAGrC;IACF,GAAG,EAAE,8BAA8B;IACnC,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;QACrE,MAAM,EAAE,WAAW,EAAE,uBAAuB,EAAE,GAAG,OAAO,CAAA;QAExD,IAAI,IAAA,cAAK,EAAC,uBAAuB,CAAC,EAAE;YAClC,MAAM,OAAO,CAAC;YACZ,sEAAsE;aACvE,CAAC,CAAA;SACH;aAAM;YACL,MAAM,SAAS,CAAC;gBACd,WAAW,EAAE;oBACX,uBAAuB;iBACxB;aACF,CAAC,CAAA;SACH;IACH,CAAC;CACF,CAAA"}
@@ -1,11 +0,0 @@
1
- import { type Webhook } from '@awell-health/extensions-core';
2
- import { type HealthieWebhookPayload } from '../lib/types';
3
- declare const dataPoints: {
4
- deletedTaskId: {
5
- key: string;
6
- valueType: "string";
7
- };
8
- };
9
- export declare const taskDeleted: Webhook<keyof typeof dataPoints, HealthieWebhookPayload>;
10
- export type TaskDeleted = typeof taskDeleted;
11
- export {};
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.taskDeleted = void 0;
4
- const lodash_1 = require("lodash");
5
- const dataPoints = {
6
- deletedTaskId: {
7
- key: 'deletedTaskId',
8
- valueType: 'string',
9
- },
10
- };
11
- exports.taskDeleted = {
12
- key: 'taskDeleted',
13
- dataPoints,
14
- onWebhookReceived: async ({ payload, settings }, onSuccess, onError) => {
15
- const { resource_id: deletedTaskId } = payload;
16
- if ((0, lodash_1.isNil)(deletedTaskId)) {
17
- await onError({
18
- // We should automatically send a 400 here, so no need to provide info
19
- });
20
- }
21
- else {
22
- await onSuccess({
23
- data_points: {
24
- deletedTaskId,
25
- },
26
- });
27
- }
28
- },
29
- };
30
- //# sourceMappingURL=taskDeleted.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taskDeleted.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/taskDeleted.ts"],"names":[],"mappings":";;;AAAA,mCAA8B;AAO9B,MAAM,UAAU,GAAG;IACjB,aAAa,EAAE;QACb,GAAG,EAAE,eAAe;QACpB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,WAAW,GAGpB;IACF,GAAG,EAAE,aAAa;IAClB,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;QACrE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,GAAG,OAAO,CAAA;QAE9C,IAAI,IAAA,cAAK,EAAC,aAAa,CAAC,EAAE;YACxB,MAAM,OAAO,CAAC;YACZ,sEAAsE;aACvE,CAAC,CAAA;SACH;aAAM;YACL,MAAM,SAAS,CAAC;gBACd,WAAW,EAAE;oBACX,aAAa;iBACd;aACF,CAAC,CAAA;SACH;IACH,CAAC;CACF,CAAA"}
@@ -1,11 +0,0 @@
1
- import { type Action } from '@awell-health/extensions-core';
2
- import { type settings } from '../../config/settings';
3
- import { fields } from './config';
4
- declare const dataPoints: {
5
- userExists: {
6
- key: string;
7
- valueType: "boolean";
8
- };
9
- };
10
- export declare const checkFlourishCustomer: Action<typeof fields, typeof settings, keyof typeof dataPoints>;
11
- export {};
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.checkFlourishCustomer = void 0;
4
- const extensions_core_1 = require("@awell-health/extensions-core");
5
- const wellinksFlourishClient_1 = require("../../api/clients/wellinksFlourishClient");
6
- const config_1 = require("./config");
7
- const zod_1 = require("zod");
8
- const dataPoints = {
9
- userExists: {
10
- key: 'userExists',
11
- valueType: 'boolean',
12
- },
13
- };
14
- exports.checkFlourishCustomer = {
15
- key: 'checkFlourishCustomer',
16
- category: extensions_core_1.Category.WORKFLOW,
17
- title: 'Check for Flourish Customer',
18
- description: 'Checks Flourish for a customer with the given identifier.',
19
- fields: config_1.fields,
20
- dataPoints,
21
- previewable: true,
22
- onActivityCreated: async (payload, onComplete, onError) => {
23
- const { fields: { identifier }, settings: { flourishApiKey, flourishApiUrl, flourishClientExtId }, } = (0, extensions_core_1.validate)({
24
- schema: zod_1.z.object({
25
- fields: config_1.FieldsValidationSchema,
26
- settings: config_1.SettingsValidationSchema,
27
- }),
28
- payload,
29
- });
30
- const client = new wellinksFlourishClient_1.WellinksFlourishClient(flourishApiUrl, flourishApiKey, flourishClientExtId);
31
- const result = await client.user.exists(identifier);
32
- await onComplete({
33
- data_points: {
34
- userExists: result.toString(),
35
- },
36
- });
37
- },
38
- };
39
- //# sourceMappingURL=checkFlourishCustomer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkFlourishCustomer.js","sourceRoot":"","sources":["../../../../../extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.ts"],"names":[],"mappings":";;;AAAA,mEAKsC;AAEtC,qFAAiF;AACjF,qCAIiB;AACjB,6BAAuB;AAEvB,MAAM,UAAU,GAAG;IACjB,UAAU,EAAE;QACV,GAAG,EAAE,YAAY;QACjB,SAAS,EAAE,SAAS;KACrB;CAC4C,CAAA;AAElC,QAAA,qBAAqB,GAI9B;IACF,GAAG,EAAE,uBAAuB;IAC5B,QAAQ,EAAE,0BAAQ,CAAC,QAAQ;IAC3B,KAAK,EAAE,6BAA6B;IACpC,WAAW,EAAE,2DAA2D;IACxE,MAAM,EAAN,eAAM;IACN,UAAU;IACV,WAAW,EAAE,IAAI;IACjB,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAiB,EAAE;QACvE,MAAM,EACJ,MAAM,EAAE,EAAE,UAAU,EAAE,EACtB,QAAQ,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,GAClE,GAAG,IAAA,0BAAQ,EAAC;YACX,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;gBACf,MAAM,EAAE,+BAAsB;gBAC9B,QAAQ,EAAE,iCAAwB;aACnC,CAAC;YACF,OAAO;SACR,CAAC,CAAA;QAEF,MAAM,MAAM,GAAG,IAAI,+CAAsB,CACvC,cAAc,EACd,cAAc,EACd,mBAAmB,CACpB,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACnD,MAAM,UAAU,CAAC;YACf,WAAW,EAAE;gBACX,UAAU,EAAE,MAAM,CAAC,QAAQ,EAAE;aAC9B;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
@@ -1,85 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tests_1 = require("../../../../src/tests");
4
- const wellinksFlourishClient_1 = require("../../api/clients/__mocks__/wellinksFlourishClient");
5
- const settings_1 = require("../../__mocks__/config/settings");
6
- const checkFlourishCustomer_1 = require("./checkFlourishCustomer");
7
- const zod_1 = require("zod");
8
- jest.mock('../../api/clients/wellinksFlourishClient', () => ({
9
- WellinksFlourishClient: wellinksFlourishClient_1.WellinksFlourishClient,
10
- }));
11
- describe('Check Flourish Customer', () => {
12
- const onComplete = jest.fn();
13
- const onError = jest.fn();
14
- beforeEach(() => {
15
- jest.clearAllMocks();
16
- });
17
- test('should call onComplete with a true DataPoint when there is a customer with the given identifier', async () => {
18
- const validPayload = (0, tests_1.generateTestPayload)({
19
- fields: {
20
- identifier: 'identifier',
21
- },
22
- settings: settings_1.mockSettings,
23
- });
24
- wellinksFlourishClient_1.WellinksFlourishClientMockImplementation.user.exists.mockImplementationOnce(() => {
25
- return true;
26
- });
27
- await checkFlourishCustomer_1.checkFlourishCustomer.onActivityCreated(validPayload, onComplete, onError);
28
- expect(onError).not.toBeCalled();
29
- expect(onComplete).toHaveBeenNthCalledWith(1, {
30
- data_points: {
31
- userExists: 'true',
32
- },
33
- });
34
- });
35
- test('should call onComplete with a false DataPoint when there is a customer with the given identifier', async () => {
36
- const validPayload = (0, tests_1.generateTestPayload)({
37
- fields: {
38
- identifier: 'identifier',
39
- },
40
- settings: settings_1.mockSettings,
41
- });
42
- wellinksFlourishClient_1.WellinksFlourishClientMockImplementation.user.exists.mockImplementationOnce(() => {
43
- return false;
44
- });
45
- await checkFlourishCustomer_1.checkFlourishCustomer.onActivityCreated(validPayload, onComplete, onError);
46
- expect(onError).not.toBeCalled();
47
- expect(onComplete).toHaveBeenNthCalledWith(1, {
48
- data_points: {
49
- userExists: 'false',
50
- },
51
- });
52
- });
53
- test('should call onError when the action is not given an identifier', async () => {
54
- const validPayload = (0, tests_1.generateTestPayload)({
55
- fields: {
56
- identifier: undefined,
57
- },
58
- settings: settings_1.mockSettings,
59
- });
60
- wellinksFlourishClient_1.WellinksFlourishClientMockImplementation.user.exists.mockImplementationOnce(() => {
61
- return true;
62
- });
63
- await expect(checkFlourishCustomer_1.checkFlourishCustomer.onActivityCreated(validPayload, onComplete, onError)).rejects.toThrow(zod_1.ZodError);
64
- expect(onComplete).not.toBeCalled();
65
- });
66
- test('should call onError when the Flourish Settings are not set', async () => {
67
- const validPayload = (0, tests_1.generateTestPayload)({
68
- fields: {
69
- identifier: 'identifier',
70
- },
71
- settings: {
72
- ...settings_1.mockSettings,
73
- flourishApiKey: undefined,
74
- flourishApiUrl: undefined,
75
- flourishClientExtId: undefined,
76
- },
77
- });
78
- wellinksFlourishClient_1.WellinksFlourishClientMockImplementation.user.exists.mockImplementationOnce(() => {
79
- return true;
80
- });
81
- await expect(checkFlourishCustomer_1.checkFlourishCustomer.onActivityCreated(validPayload, onComplete, onError)).rejects.toThrow(zod_1.ZodError);
82
- expect(onComplete).not.toBeCalled();
83
- });
84
- });
85
- //# sourceMappingURL=checkFlourishCustomer.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkFlourishCustomer.test.js","sourceRoot":"","sources":["../../../../../extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.ts"],"names":[],"mappings":";;AAAA,iDAA2D;AAC3D,+FAG2D;AAC3D,8DAA8D;AAC9D,mEAA+D;AAC/D,6BAA8B;AAE9B,IAAI,CAAC,IAAI,CAAC,0CAA0C,EAAE,GAAG,EAAE,CAAC,CAAC;IAC3D,sBAAsB,EAAtB,+CAAsB;CACvB,CAAC,CAAC,CAAA;AAEH,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;IACvC,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IAC5B,MAAM,OAAO,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IACzB,UAAU,CAAC,GAAG,EAAE;QACd,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,iGAAiG,EAAE,KAAK,IAAI,EAAE;QACjH,MAAM,YAAY,GAAG,IAAA,2BAAmB,EAAC;YACvC,MAAM,EAAE;gBACN,UAAU,EAAE,YAAY;aACzB;YACD,QAAQ,EAAE,uBAAY;SACvB,CAAC,CAAA;QACF,iEAAwC,CAAC,IAAI,CAAC,MAAM,CAAC,sBAAsB,CACzE,GAAG,EAAE;YACH,OAAO,IAAI,CAAA;QACb,CAAC,CACF,CAAA;QACD,MAAM,6CAAqB,CAAC,iBAAiB,CAC3C,YAAY,EACZ,UAAU,EACV,OAAO,CACR,CAAA;QAED,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,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,CAAC,GAAG,CAAC,UAAU,EAAE,CAAA;IACrC,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,4DAA4D,EAAE,KAAK,IAAI,EAAE;QAC5E,MAAM,YAAY,GAAG,IAAA,2BAAmB,EAAC;YACvC,MAAM,EAAE;gBACN,UAAU,EAAE,YAAY;aACzB;YACD,QAAQ,EAAE;gBACR,GAAG,uBAAY;gBACf,cAAc,EAAE,SAAS;gBACzB,cAAc,EAAE,SAAS;gBACzB,mBAAmB,EAAE,SAAS;aAC/B;SACF,CAAC,CAAA;QACF,iEAAwC,CAAC,IAAI,CAAC,MAAM,CAAC,sBAAsB,CACzE,GAAG,EAAE;YACH,OAAO,IAAI,CAAA;QACb,CAAC,CACF,CAAA;QACD,MAAM,MAAM,CACV,6CAAqB,CAAC,iBAAiB,CAAC,YAAY,EAAE,UAAU,EAAE,OAAO,CAAC,CAC3E,CAAC,OAAO,CAAC,OAAO,CAAC,cAAQ,CAAC,CAAA;QAE3B,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,CAAA;IACrC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -1,18 +0,0 @@
1
- import { z } from 'zod';
2
- import { FieldType } from '@awell-health/extensions-core';
3
- export declare const fields: {
4
- identifier: {
5
- id: string;
6
- label: string;
7
- description: string;
8
- type: FieldType.STRING;
9
- required: true;
10
- };
11
- };
12
- export declare const FieldsValidationSchema: z.ZodObject<{
13
- identifier: z.ZodString;
14
- }, "strip", z.ZodTypeAny, {
15
- identifier: string;
16
- }, {
17
- identifier: string;
18
- }>;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FieldsValidationSchema = exports.fields = void 0;
4
- const zod_1 = require("zod");
5
- const extensions_core_1 = require("@awell-health/extensions-core");
6
- exports.fields = {
7
- identifier: {
8
- id: 'identifier',
9
- label: 'Identifier',
10
- description: 'The identifier of the user to check Flourish for.',
11
- type: extensions_core_1.FieldType.STRING,
12
- required: true,
13
- },
14
- };
15
- exports.FieldsValidationSchema = zod_1.z.object({
16
- identifier: zod_1.z.string(),
17
- });
18
- //# sourceMappingURL=fields.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.ts"],"names":[],"mappings":";;;AAAA,6BAAwC;AACxC,mEAAqE;AAExD,QAAA,MAAM,GAAG;IACpB,UAAU,EAAE;QACV,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,mDAAmD;QAChE,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;CAC8B,CAAA;AAEpB,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;CAC2B,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export { fields, FieldsValidationSchema } from './fields';
2
- export { SettingsValidationSchema } from './settings';
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SettingsValidationSchema = exports.FieldsValidationSchema = exports.fields = void 0;
4
- var fields_1 = require("./fields");
5
- Object.defineProperty(exports, "fields", { enumerable: true, get: function () { return fields_1.fields; } });
6
- Object.defineProperty(exports, "FieldsValidationSchema", { enumerable: true, get: function () { return fields_1.FieldsValidationSchema; } });
7
- var settings_1 = require("./settings");
8
- Object.defineProperty(exports, "SettingsValidationSchema", { enumerable: true, get: function () { return settings_1.SettingsValidationSchema; } });
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/wellinks-public/actions/checkFlourishCustomer/config/index.ts"],"names":[],"mappings":";;;AAAA,mCAAyD;AAAhD,gGAAA,MAAM,OAAA;AAAE,gHAAA,sBAAsB,OAAA;AACvC,uCAAqD;AAA5C,oHAAA,wBAAwB,OAAA"}
@@ -1,35 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const SettingsValidationSchema: z.ZodObject<{
3
- platformApiKey: z.ZodOptional<z.ZodString>;
4
- platformApiUrl: z.ZodOptional<z.ZodString>;
5
- apiUrl: z.ZodOptional<z.ZodString>;
6
- apiKey: z.ZodOptional<z.ZodString>;
7
- selectEventTypeQuestion: z.ZodOptional<z.ZodString>;
8
- startSendingRemindersQuestions: z.ZodOptional<z.ZodString>;
9
- memberEventFormId: z.ZodOptional<z.ZodString>;
10
- flourishApiKey: z.ZodString;
11
- flourishApiUrl: z.ZodString;
12
- flourishClientExtId: z.ZodString;
13
- }, "strip", z.ZodTypeAny, {
14
- flourishApiUrl: string;
15
- flourishApiKey: string;
16
- flourishClientExtId: string;
17
- apiUrl?: string | undefined;
18
- apiKey?: string | undefined;
19
- platformApiUrl?: string | undefined;
20
- platformApiKey?: string | undefined;
21
- selectEventTypeQuestion?: string | undefined;
22
- startSendingRemindersQuestions?: string | undefined;
23
- memberEventFormId?: string | undefined;
24
- }, {
25
- flourishApiUrl: string;
26
- flourishApiKey: string;
27
- flourishClientExtId: string;
28
- apiUrl?: string | undefined;
29
- apiKey?: string | undefined;
30
- platformApiUrl?: string | undefined;
31
- platformApiKey?: string | undefined;
32
- selectEventTypeQuestion?: string | undefined;
33
- startSendingRemindersQuestions?: string | undefined;
34
- memberEventFormId?: string | undefined;
35
- }>;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SettingsValidationSchema = void 0;
4
- const zod_1 = require("zod");
5
- exports.SettingsValidationSchema = zod_1.z.object({
6
- platformApiKey: zod_1.z.string().optional(),
7
- platformApiUrl: zod_1.z.string().optional(),
8
- apiUrl: zod_1.z.string().optional(),
9
- apiKey: zod_1.z.string().optional(),
10
- selectEventTypeQuestion: zod_1.z.string().optional(),
11
- startSendingRemindersQuestions: zod_1.z.string().optional(),
12
- memberEventFormId: zod_1.z.string().optional(),
13
- flourishApiKey: zod_1.z.string(),
14
- flourishApiUrl: zod_1.z.string(),
15
- flourishClientExtId: zod_1.z.string(),
16
- });
17
- //# sourceMappingURL=settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../../../extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.ts"],"names":[],"mappings":";;;AAAA,6BAAwC;AAE3B,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,uBAAuB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,8BAA8B,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrD,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;IAC1B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;IAC1B,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE;CACoB,CAAC,CAAA"}
@@ -1,33 +0,0 @@
1
- import { FieldType, type Action } from '@awell-health/extensions-core';
2
- import { type settings } from '../../config/settings';
3
- declare const fields: {
4
- patientId: {
5
- id: string;
6
- label: string;
7
- description: string;
8
- type: FieldType.STRING;
9
- required: true;
10
- };
11
- coachId: {
12
- id: string;
13
- label: string;
14
- description: string;
15
- type: FieldType.STRING;
16
- required: true;
17
- };
18
- appointmentTime: {
19
- id: string;
20
- label: string;
21
- description: string;
22
- type: FieldType.DATE;
23
- required: true;
24
- };
25
- };
26
- declare const dataPoints: {
27
- messageSent: {
28
- key: string;
29
- valueType: "boolean";
30
- };
31
- };
32
- export declare const checkForChat: Action<typeof fields, typeof settings, keyof typeof dataPoints>;
33
- export {};