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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (718) hide show
  1. package/dist/extensions/athenahealth/actions/addClinicalDocument/addClinicalDocument.test.js.map +1 -1
  2. package/dist/extensions/athenahealth/actions/createAppointmentNote/createAppointmentNote.test.js.map +1 -1
  3. package/dist/extensions/athenahealth/actions/createPatient/createPatient.test.js.map +1 -1
  4. package/dist/extensions/athenahealth/actions/getAppointment/getAppointment.test.js.map +1 -1
  5. package/dist/extensions/athenahealth/actions/getPatient/getPatient.test.js.map +1 -1
  6. package/dist/extensions/athenahealth/actions/index.d.ts +2 -2
  7. package/dist/extensions/athenahealth/api/schema/appointment.d.ts +2 -2
  8. package/dist/extensions/athenahealth/api/schema/clinicalDocument.d.ts +2 -2
  9. package/dist/extensions/athenahealth/settings.d.ts +4 -4
  10. package/dist/extensions/awell/settings.d.ts +1 -27
  11. package/dist/extensions/awell/settings.js +2 -22
  12. package/dist/extensions/awell/settings.js.map +1 -1
  13. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.js +44 -81
  14. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.js.map +1 -1
  15. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.js +36 -17
  16. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.js.map +1 -1
  17. package/dist/extensions/awell/v1/actions/deletePatient/deletePatient.js +13 -48
  18. package/dist/extensions/awell/v1/actions/deletePatient/deletePatient.js.map +1 -1
  19. package/dist/extensions/awell/v1/actions/deletePatient/deletePatient.test.js +11 -11
  20. package/dist/extensions/awell/v1/actions/deletePatient/deletePatient.test.js.map +1 -1
  21. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.js +23 -58
  22. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.js.map +1 -1
  23. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.js +17 -14
  24. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.js.map +1 -1
  25. package/dist/extensions/awell/v1/actions/isPatientEnrolledInCareFlow/isPatientEnrolledInCareFlow.js +43 -76
  26. package/dist/extensions/awell/v1/actions/isPatientEnrolledInCareFlow/isPatientEnrolledInCareFlow.js.map +1 -1
  27. package/dist/extensions/awell/v1/actions/isPatientEnrolledInCareFlow/isPatientEnrolledInCareFlow.test.js +82 -74
  28. package/dist/extensions/awell/v1/actions/isPatientEnrolledInCareFlow/isPatientEnrolledInCareFlow.test.js.map +1 -1
  29. package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.js +33 -65
  30. package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.js.map +1 -1
  31. package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js +18 -18
  32. package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js.map +1 -1
  33. package/dist/extensions/awell/v1/actions/startCareFlow/startCareFlow.js +26 -58
  34. package/dist/extensions/awell/v1/actions/startCareFlow/startCareFlow.js.map +1 -1
  35. package/dist/extensions/awell/v1/actions/startCareFlow/startCareFlow.test.js +36 -19
  36. package/dist/extensions/awell/v1/actions/startCareFlow/startCareFlow.test.js.map +1 -1
  37. package/dist/extensions/awell/v1/actions/stopCareFlow/stopCareFlow.js +19 -53
  38. package/dist/extensions/awell/v1/actions/stopCareFlow/stopCareFlow.js.map +1 -1
  39. package/dist/extensions/awell/v1/actions/stopCareFlow/stopCareFlow.test.js +21 -13
  40. package/dist/extensions/awell/v1/actions/stopCareFlow/stopCareFlow.test.js.map +1 -1
  41. package/dist/extensions/awell/v1/actions/updateBaselineInfo/updateBaselineInfo.js +12 -9
  42. package/dist/extensions/awell/v1/actions/updateBaselineInfo/updateBaselineInfo.js.map +1 -1
  43. package/dist/extensions/awell/v1/actions/updateBaselineInfo/updateBaselineInfo.test.js +46 -35
  44. package/dist/extensions/awell/v1/actions/updateBaselineInfo/updateBaselineInfo.test.js.map +1 -1
  45. package/dist/extensions/awell/v1/actions/updatePatient/config/fields.d.ts +4 -4
  46. package/dist/extensions/awell/v1/actions/updatePatient/updatePatient.js +62 -67
  47. package/dist/extensions/awell/v1/actions/updatePatient/updatePatient.js.map +1 -1
  48. package/dist/extensions/awell/v1/actions/updatePatient/updatePatient.test.js +82 -91
  49. package/dist/extensions/awell/v1/actions/updatePatient/updatePatient.test.js.map +1 -1
  50. package/dist/extensions/calDotCom/actions/bookAppointment/bookAppointment.js +0 -2
  51. package/dist/extensions/calDotCom/actions/bookAppointment/bookAppointment.js.map +1 -1
  52. package/dist/extensions/calDotCom/actions/bookAppointment/bookAppointment.test.js.map +1 -1
  53. package/dist/extensions/calDotCom/actions/createBooking/createBooking.test.js.map +1 -1
  54. package/dist/extensions/calDotCom/actions/deleteBooking/deleteBooking.test.js.map +1 -1
  55. package/dist/extensions/calDotCom/actions/getBooking/getBooking.test.js.map +1 -1
  56. package/dist/extensions/calDotCom/actions/updateBooking/updateBooking.test.js.map +1 -1
  57. package/dist/extensions/calDotCom/schema.d.ts +6 -6
  58. package/dist/extensions/calendly/webhooks/index.d.ts +1 -1
  59. package/dist/extensions/canvasMedical/v1/actions/createAppointment/createAppointment.test.js.map +1 -1
  60. package/dist/extensions/canvasMedical/v1/actions/createClaim/createClaim.test.js.map +1 -1
  61. package/dist/extensions/canvasMedical/v1/actions/createCoverage/createCoverage.test.js.map +1 -1
  62. package/dist/extensions/canvasMedical/v1/actions/createPatient/createPatient.test.js.map +1 -1
  63. package/dist/extensions/canvasMedical/v1/actions/createQuestionnaireResponses/createQuestionnaireResponses.test.js.map +1 -1
  64. package/dist/extensions/canvasMedical/v1/actions/createTask/createTask.test.js.map +1 -1
  65. package/dist/extensions/canvasMedical/v1/actions/extractPatientInfo/extractPatientInfo.test.js.map +1 -1
  66. package/dist/extensions/canvasMedical/v1/actions/getAppointment/getAppointment.test.js.map +1 -1
  67. package/dist/extensions/canvasMedical/v1/actions/getPatient/getPatient.test.js.map +1 -1
  68. package/dist/extensions/canvasMedical/v1/actions/getQuestionnaireResponse/getQuestionnaireResponse.test.js.map +1 -1
  69. package/dist/extensions/canvasMedical/v1/actions/getTask/getTask.test.js.map +1 -1
  70. package/dist/extensions/canvasMedical/v1/actions/updateAppointment/updateAppointment.test.js.map +1 -1
  71. package/dist/extensions/canvasMedical/v1/actions/updateCoverage/updateCoverage.test.js.map +1 -1
  72. package/dist/extensions/canvasMedical/v1/actions/updatePatient/updatePatient.test.js.map +1 -1
  73. package/dist/extensions/canvasMedical/v1/actions/updateTask/updateTask.test.js.map +1 -1
  74. package/dist/extensions/canvasMedical/v1/validation/address.zod.d.ts +2 -2
  75. package/dist/extensions/canvasMedical/v1/validation/appointment.zod.d.ts +8 -8
  76. package/dist/extensions/canvasMedical/v1/validation/claim.d.ts +2 -2
  77. package/dist/extensions/canvasMedical/v1/validation/identifier.zod.d.ts +2 -2
  78. package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +24 -24
  79. package/dist/extensions/canvasMedical/v1/validation/questionnaireResponses.zod.d.ts +16 -16
  80. package/dist/extensions/canvasMedical/v1/validation/settings.zod.d.ts +4 -4
  81. package/dist/extensions/cloudinary/actions/uploadFiles/uploadFiles.test.js.map +1 -1
  82. package/dist/extensions/cloudinary/actions/uploadSingleFile/uploadSingleFile.test.js.map +1 -1
  83. package/dist/extensions/cmDotCom/v1/actions/sendSms/sendSms.test.js.map +1 -1
  84. package/dist/extensions/collectData/v1/actions/collectMedication/collectMedication.test.js.map +1 -1
  85. package/dist/extensions/collectData/v1/actions/remoteSingleSelect/remoteSingleSelect.test.js.map +1 -1
  86. package/dist/extensions/dockHealth/actions/createTask/createTask.test.js.map +1 -1
  87. package/dist/extensions/dockHealth/actions/getPatient/getPatient.test.js.map +1 -1
  88. package/dist/extensions/dockHealth/api/schema/patient.schema.d.ts +14 -14
  89. package/dist/extensions/dockHealth/api/schema/task.schema.d.ts +8 -8
  90. package/dist/extensions/dockHealth/lib/dock.types.d.ts +4 -4
  91. package/dist/extensions/docuSign/actions/createEmbeddedSignatureRequestWithTemplate/createEmbeddedSignatureRequestWithTemplate.test.js.map +1 -1
  92. package/dist/extensions/docuSign/actions/embeddedSigning/embeddedSigning.test.js.map +1 -1
  93. package/dist/extensions/dropboxSign/v1/actions/cancelSignatureRequest/cancelSignatureRequest.test.js.map +1 -1
  94. package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/config/fields.d.ts +1 -1
  95. package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/createEmbeddedSignatureRequestWithTemplate.test.js.map +1 -1
  96. package/dist/extensions/dropboxSign/v1/actions/embeddedSigning/embeddedSigning.test.js.map +1 -1
  97. package/dist/extensions/dropboxSign/v1/actions/getSignatureRequest/getSignatureRequest.test.js.map +1 -1
  98. package/dist/extensions/dropboxSign/v1/actions/sendRequestReminder/config/fields.d.ts +2 -2
  99. package/dist/extensions/dropboxSign/v1/actions/sendRequestReminder/sendRequestReminder.test.js.map +1 -1
  100. package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/sendSignatureRequestWithTemplate.test.js.map +1 -1
  101. package/dist/extensions/elation/actions/getPhysician/getPhysician.test.js.map +1 -1
  102. package/dist/extensions/elation/actions/index.d.ts +3 -3
  103. package/dist/extensions/elation/validation/appointment.zod.d.ts +24 -24
  104. package/dist/extensions/elation/validation/nonVisitNote.zod.d.ts +3 -3
  105. package/dist/extensions/elation/validation/patient.zod.d.ts +4 -4
  106. package/dist/extensions/elation/validation/physician.zod.d.ts +4 -4
  107. package/dist/extensions/elation/validation/settings.zod.d.ts +4 -4
  108. package/dist/extensions/experimental/v1/actions/requestVideoVisit/requestVideoVisit.test.js.map +1 -1
  109. package/dist/extensions/experimental/v1/actions/wait/wait.test.js.map +1 -1
  110. package/dist/extensions/external-server/v1/actions/mtls.js +1 -1
  111. package/dist/extensions/external-server/v1/actions/mtls.js.map +1 -1
  112. package/dist/extensions/formsort/v1/actions/completeFlow/completeFlow.test.js.map +1 -1
  113. package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.test.js.map +1 -1
  114. package/dist/extensions/healthie/actions/archivePatient/archivePatient.test.js.map +1 -1
  115. package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.test.js.map +1 -1
  116. package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.test.js.map +1 -1
  117. package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.test.js.map +1 -1
  118. package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.test.js.map +1 -1
  119. package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.test.js.map +1 -1
  120. package/dist/extensions/healthie/actions/completeTask/completeTask.test.js.map +1 -1
  121. package/dist/extensions/healthie/actions/createAppointment/config/fields.d.ts +2 -2
  122. package/dist/extensions/healthie/actions/createAppointment/createAppointment.test.js.map +1 -1
  123. package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.test.js.map +1 -1
  124. package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.test.js.map +1 -1
  125. package/dist/extensions/healthie/actions/createLocation/createLocation.test.js.map +1 -1
  126. package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.test.js.map +1 -1
  127. package/dist/extensions/healthie/actions/createPatient/createPatient.test.js.map +1 -1
  128. package/dist/extensions/healthie/actions/createTask/createTask.test.js.map +1 -1
  129. package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.test.js.map +1 -1
  130. package/dist/extensions/healthie/actions/deleteTask/deleteTask.test.js.map +1 -1
  131. package/dist/extensions/healthie/actions/getAppointment/getAppointment.test.js.map +1 -1
  132. package/dist/extensions/healthie/actions/getFormAnswers/getFormAnswers.test.js +1 -1
  133. package/dist/extensions/healthie/actions/getFormAnswers/getFormAnswers.test.js.map +1 -1
  134. package/dist/extensions/healthie/actions/getMetricEntry/config/fields.d.ts +2 -2
  135. package/dist/extensions/healthie/actions/getMetricEntry/getMetricEntry.test.js.map +1 -1
  136. package/dist/extensions/healthie/actions/getPatient/getPatient.test.js.map +1 -1
  137. package/dist/extensions/healthie/actions/index.d.ts +3 -3
  138. package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.test.js.map +1 -1
  139. package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.test.js.map +1 -1
  140. package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.test.js.map +1 -1
  141. package/dist/extensions/healthie/actions/updatePatient/updatePatient.test.js.map +1 -1
  142. package/dist/extensions/healthie/actions/updatePatientQuickNote/updatePatientQuickNote.test.js.map +1 -1
  143. package/dist/extensions/healthie/lib/validation/createTask.zod.d.ts +22 -22
  144. package/dist/extensions/healthie/settings.d.ts +2 -2
  145. package/dist/extensions/healthie/webhooks/appointmentUpdated.d.ts +1 -1
  146. package/dist/extensions/healthie/webhooks/appointmentUpdated.js +1 -1
  147. package/dist/extensions/healthie/webhooks/appointmentUpdated.js.map +1 -1
  148. package/dist/extensions/healthie/webhooks/webhooks.test.js +29 -20
  149. package/dist/extensions/healthie/webhooks/webhooks.test.js.map +1 -1
  150. package/dist/extensions/index.js +21 -21
  151. package/dist/extensions/index.js.map +1 -1
  152. package/dist/extensions/infobip/settings.d.ts +4 -4
  153. package/dist/extensions/infobip/v1/actions/sendEmail/config/fields.d.ts +2 -2
  154. package/dist/extensions/infobip/v1/actions/sendEmail/sendEmail.test.js.map +1 -1
  155. package/dist/extensions/infobip/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -2
  156. package/dist/extensions/infobip/v1/actions/sendEmailWithTemplate/sendEmailWithTemplate.test.js.map +1 -1
  157. package/dist/extensions/infobip/v1/actions/sendSms/sendSms.test.js.map +1 -1
  158. package/dist/extensions/iterable/v1/actions/sendEmail/sendEmail.test.js.map +1 -1
  159. package/dist/extensions/iterable/v1/actions/trackEvent/trackEvent.test.js.map +1 -1
  160. package/dist/extensions/mailchimp/v1/actions/sendEmail/sendEmail.test.js.map +1 -1
  161. package/dist/extensions/mailchimp/v1/actions/sendEmailWithTemplate/sendEmailWithTemplate.test.js.map +1 -1
  162. package/dist/extensions/mailgun/settings.d.ts +1 -1
  163. package/dist/extensions/mailgun/v1/actions/sendEmail/sendEmail.test.js.map +1 -1
  164. package/dist/extensions/mailgun/v1/actions/sendEmailWithTemplate/config/fields.d.ts +3 -3
  165. package/dist/extensions/mailgun/v1/actions/sendEmailWithTemplate/sendEmailWithTemplate.test.js.map +1 -1
  166. package/dist/extensions/markdown.json +4 -4
  167. package/dist/extensions/math/v1/actions/calculateDateDifference/calculateDateDifference.test.js.map +1 -1
  168. package/dist/extensions/math/v1/actions/divide/divide.test.js.map +1 -1
  169. package/dist/extensions/math/v1/actions/generateRandomNumber/generateRandomNumber.test.js.map +1 -1
  170. package/dist/extensions/math/v1/actions/multiply/multiply.test.js.map +1 -1
  171. package/dist/extensions/math/v1/actions/subtract/subtract.test.js.map +1 -1
  172. package/dist/extensions/math/v1/actions/sum/sum.test.js.map +1 -1
  173. package/dist/extensions/medplum/actions/addSideEffect/addSideEffect.test.js.map +1 -1
  174. package/dist/extensions/medplum/actions/createCalculationObservation/createCalculationObservation.test.js.map +1 -1
  175. package/dist/extensions/medplum/actions/createPatient/config/fields.d.ts +4 -4
  176. package/dist/extensions/medplum/actions/createPatient/createPatient.test.js.map +1 -1
  177. package/dist/extensions/medplum/actions/createServiceRequest/config/fields.d.ts +2 -2
  178. package/dist/extensions/medplum/actions/createServiceRequest/createServiceRequest.test.js.map +1 -1
  179. package/dist/extensions/medplum/actions/createTask/config/fields.d.ts +4 -4
  180. package/dist/extensions/medplum/actions/createTask/createTask.test.js.map +1 -1
  181. package/dist/extensions/medplum/actions/executeBot/executeBot.test.js.map +1 -1
  182. package/dist/extensions/medplum/actions/getAppointment/getAppointment.test.js.map +1 -1
  183. package/dist/extensions/medplum/actions/getPatient/getPatient.test.js.map +1 -1
  184. package/dist/extensions/medplum/actions/submitQuestionnaireResponse/submitQuestionnaireResponse.test.js.map +1 -1
  185. package/dist/extensions/medplum/fhir/schemas/resources/patient.schema.d.ts +4 -4
  186. package/dist/extensions/medplum/fhir/schemas/resources/serviceRequest.schema.d.ts +2 -2
  187. package/dist/extensions/medplum/fhir/schemas/resources/task.schema.d.ts +4 -4
  188. package/dist/extensions/messagebird/v1/actions/sendSms/sendSms.test.js.map +1 -1
  189. package/dist/extensions/messagebird/v1/actions/sendVoiceMessage/sendVoiceMessage.test.js.map +1 -1
  190. package/dist/extensions/messagebird/v1/actions/sendWhatsAppMessage/sendWhatsAppMessage.test.js.map +1 -1
  191. package/dist/extensions/metriport/actions/index.d.ts +1 -1
  192. package/dist/extensions/metriport/actions/patient/validation.d.ts +6 -6
  193. package/dist/extensions/nexuzhealth/v1/actions/sendDocumentation/sendDocumentation.test.js.map +1 -1
  194. package/dist/extensions/nexuzhealth/v1/actions/sendMessage/sendMessage.test.js.map +1 -1
  195. package/dist/extensions/nexuzhealth/v1/actions/sendQuestionnaire/sendQuestionnaire.test.js.map +1 -1
  196. package/dist/extensions/rest/actions/post/post.js +72 -28
  197. package/dist/extensions/rest/actions/post/post.js.map +1 -1
  198. package/dist/extensions/rest/actions/post/post.test.js +49 -0
  199. package/dist/extensions/rest/actions/post/post.test.js.map +1 -1
  200. package/dist/extensions/rest/lib/errors.d.ts +6 -0
  201. package/dist/extensions/rest/lib/errors.js +16 -0
  202. package/dist/extensions/rest/lib/errors.js.map +1 -0
  203. package/dist/extensions/sendbird/v1/actions/activateUser/activateUser.test.js.map +1 -1
  204. package/dist/extensions/sendbird/v1/actions/createCustomer/createCustomer.test.js.map +1 -1
  205. package/dist/extensions/sendbird/v1/actions/createTicket/createTicket.test.js.map +1 -1
  206. package/dist/extensions/sendbird/v1/actions/createUser/createUser.test.js.map +1 -1
  207. package/dist/extensions/sendbird/v1/actions/deactivateUser/deactivateUser.test.js.map +1 -1
  208. package/dist/extensions/sendbird/v1/actions/deleteMetadata/deleteMetadata.test.js.map +1 -1
  209. package/dist/extensions/sendbird/v1/actions/deleteUser/deleteUser.test.js.map +1 -1
  210. package/dist/extensions/sendbird/v1/actions/getCustomer/getCustomer.test.js.map +1 -1
  211. package/dist/extensions/sendbird/v1/actions/getUser/getUser.test.js.map +1 -1
  212. package/dist/extensions/sendbird/v1/actions/updateCustomerCustomFields/updateCustomerCustomFields.test.js.map +1 -1
  213. package/dist/extensions/sendbird/v1/actions/updateMetadata/updateMetadata.test.js.map +1 -1
  214. package/dist/extensions/sendbird/v1/actions/updateTicket/updateTicket.test.js.map +1 -1
  215. package/dist/extensions/sendbird/v1/actions/updateUser/updateUser.test.js.map +1 -1
  216. package/dist/extensions/sendgrid-extension/v1/actions/addOrUpdateContact/addOrUpdateContact.test.js.map +1 -1
  217. package/dist/extensions/sendgrid-extension/v1/actions/addOrUpdateContact/config/fields.d.ts +2 -2
  218. package/dist/extensions/sendgrid-extension/v1/actions/addSuppressions/addSuppressions.test.js.map +1 -1
  219. package/dist/extensions/sendgrid-extension/v1/actions/importStatus/importStatus.test.js.map +1 -1
  220. package/dist/extensions/sendgrid-extension/v1/actions/removeSuppressions/removeSuppressions.test.js.map +1 -1
  221. package/dist/extensions/sendgrid-extension/v1/actions/sendEmail/sendEmail.test.js.map +1 -1
  222. package/dist/extensions/sendgrid-extension/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -2
  223. package/dist/extensions/sendgrid-extension/v1/actions/sendEmailWithTemplate/sendEmailWithTemplate.test.js.map +1 -1
  224. package/dist/extensions/sfdc/actions/createLead/createLead.test.js.map +1 -1
  225. package/dist/extensions/sfdc/actions/testAction/testAction.test.js.map +1 -1
  226. package/dist/extensions/sfdc/actions/updateLead/updateLead.test.js.map +1 -1
  227. package/dist/extensions/stripe/actions/createCustomer/createCustomer.test.js.map +1 -1
  228. package/dist/extensions/stripe/actions/createSubscription/createSubscription.test.js.map +1 -1
  229. package/dist/extensions/stripe/actions/embeddedCheckout/embeddedCheckout.test.js.map +1 -1
  230. package/dist/extensions/talkDesk/actions/triggerFlow/triggerFlow.test.js.map +1 -1
  231. package/dist/extensions/talkDesk/settings.d.ts +2 -2
  232. package/dist/extensions/textline/actions/getMessages/getMessages.test.js.map +1 -1
  233. package/dist/extensions/textline/actions/sendSms/sendSms.test.js +1 -1
  234. package/dist/extensions/textline/actions/sendSms/sendSms.test.js.map +1 -1
  235. package/dist/extensions/textline/actions/setContactConsent/setContactConsent.test.js.map +1 -1
  236. package/dist/extensions/transform/v1/actions/feetAndInchesToInches/feetAndInchesToInches.test.js.map +1 -1
  237. package/dist/extensions/transform/v1/actions/generateDynamicUrl/generateDynamicUrl.test.js.map +1 -1
  238. package/dist/extensions/transform/v1/actions/parseDateToUnixTimestamp/parseDateToUnixTimestamp.test.js.map +1 -1
  239. package/dist/extensions/transform/v1/actions/parseNumberToText/parseNumberToText.test.js.map +1 -1
  240. package/dist/extensions/transform/v1/actions/parseNumberToTextWithDictionary/parseNumberToTextWithDictionary.test.js.map +1 -1
  241. package/dist/extensions/transform/v1/actions/parseStringToPhoneNumber/parseStringToPhoneNumber.test.js.map +1 -1
  242. package/dist/extensions/transform/v1/actions/parseTextToNumber/parseTextToNumber.test.js.map +1 -1
  243. package/dist/extensions/transform/v1/actions/parseUnixTimestampToDate/parseUnixTimestampToDate.test.js.map +1 -1
  244. package/dist/extensions/transform/v1/actions/serializeJson/serializeJson.test.js.map +1 -1
  245. package/dist/extensions/twilio/v2/actions/createFlowExecution/config/actionSchema.d.ts +24 -24
  246. package/dist/extensions/twilio/v2/actions/getMessages/config/fields.d.ts +2 -2
  247. package/dist/extensions/twilio/v2/actions/getMessages/getMessages.test.js.map +1 -1
  248. package/dist/extensions/twilio/v2/actions/sendSms/sendSms.test.js.map +1 -1
  249. package/dist/extensions/twilio/v2/actions/sendSmsDuringBusinessHours/sendSmsDuringBusinessHours.test.js.map +1 -1
  250. package/dist/extensions/twilio/v2/actions/sendSmsWithMessagingSid/sendSmsWithMessagingService.test.js.map +1 -1
  251. package/dist/extensions/westFax/actions/sendFax/sendFax.test.js.map +1 -1
  252. package/dist/extensions/workramp/config.d.ts +1 -0
  253. package/dist/extensions/workramp/config.js +5 -0
  254. package/dist/extensions/workramp/config.js.map +1 -0
  255. package/dist/extensions/{icd → workramp}/index.d.ts +1 -1
  256. package/dist/extensions/workramp/index.js +19 -0
  257. package/dist/extensions/workramp/index.js.map +1 -0
  258. package/dist/extensions/workramp/settings.d.ts +1 -0
  259. package/dist/extensions/workramp/settings.js +5 -0
  260. package/dist/extensions/workramp/settings.js.map +1 -0
  261. package/dist/extensions/workramp/types/EventPayload.d.ts +49 -0
  262. package/dist/extensions/workramp/types/EventPayload.js +22 -0
  263. package/dist/extensions/workramp/types/EventPayload.js.map +1 -0
  264. package/dist/extensions/workramp/types/EventType.d.ts +13 -0
  265. package/dist/extensions/workramp/types/EventType.js +18 -0
  266. package/dist/extensions/workramp/types/EventType.js.map +1 -0
  267. package/dist/extensions/workramp/types/index.d.ts +2 -0
  268. package/dist/extensions/workramp/types/index.js +8 -0
  269. package/dist/extensions/workramp/types/index.js.map +1 -0
  270. package/dist/extensions/workramp/webhooks/EventWebhook.d.ts +12 -0
  271. package/dist/extensions/workramp/webhooks/EventWebhook.js +28 -0
  272. package/dist/extensions/workramp/webhooks/EventWebhook.js.map +1 -0
  273. package/dist/extensions/workramp/webhooks/index.d.ts +1 -0
  274. package/dist/extensions/workramp/webhooks/index.js +6 -0
  275. package/dist/extensions/workramp/webhooks/index.js.map +1 -0
  276. package/dist/extensions/zendesk/v1/actions/completeTask/completeTask.test.js.map +1 -1
  277. package/dist/extensions/zendesk/v1/actions/createTask/createTask.test.js.map +1 -1
  278. package/dist/extensions/zusHealth/validation/settings.zod.d.ts +5 -5
  279. package/dist/src/test-server.js +1 -3
  280. package/dist/src/test-server.js.map +1 -1
  281. package/dist/src/tests/constants.d.ts +24 -1
  282. package/dist/src/tests/constants.js +50 -1
  283. package/dist/src/tests/constants.js.map +1 -1
  284. package/package.json +4 -14
  285. package/dist/extensions/avaAi/common/sdk/openAiSdk.d.ts +0 -2
  286. package/dist/extensions/avaAi/common/sdk/openAiSdk.js +0 -5
  287. package/dist/extensions/avaAi/common/sdk/openAiSdk.js.map +0 -1
  288. package/dist/extensions/avaAi/index.d.ts +0 -2
  289. package/dist/extensions/avaAi/index.js +0 -21
  290. package/dist/extensions/avaAi/index.js.map +0 -1
  291. package/dist/extensions/avaAi/settings.d.ts +0 -18
  292. package/dist/extensions/avaAi/settings.js +0 -22
  293. package/dist/extensions/avaAi/settings.js.map +0 -1
  294. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.d.ts +0 -10
  295. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js +0 -15
  296. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js.map +0 -1
  297. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.d.ts +0 -29
  298. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js +0 -46
  299. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js.map +0 -1
  300. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.d.ts +0 -2
  301. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.js +0 -9
  302. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.js.map +0 -1
  303. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.d.ts +0 -4
  304. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js +0 -83
  305. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js.map +0 -1
  306. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.d.ts +0 -1
  307. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js +0 -27
  308. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js.map +0 -1
  309. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.d.ts +0 -1
  310. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.js +0 -6
  311. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.js.map +0 -1
  312. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.d.ts +0 -3
  313. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js +0 -43
  314. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js.map +0 -1
  315. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.d.ts +0 -1
  316. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js +0 -133
  317. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js.map +0 -1
  318. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.d.ts +0 -1
  319. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js +0 -6
  320. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js.map +0 -1
  321. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.d.ts +0 -1
  322. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js +0 -6
  323. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js.map +0 -1
  324. package/dist/extensions/avaAi/v1/actions/index.d.ts +0 -1
  325. package/dist/extensions/avaAi/v1/actions/index.js +0 -6
  326. package/dist/extensions/avaAi/v1/actions/index.js.map +0 -1
  327. package/dist/extensions/awell/v1/gql/fragment-masking.d.ts +0 -13
  328. package/dist/extensions/awell/v1/gql/fragment-masking.js +0 -12
  329. package/dist/extensions/awell/v1/gql/fragment-masking.js.map +0 -1
  330. package/dist/extensions/awell/v1/gql/gql.d.ts +0 -36
  331. package/dist/extensions/awell/v1/gql/gql.js +0 -47
  332. package/dist/extensions/awell/v1/gql/gql.js.map +0 -1
  333. package/dist/extensions/awell/v1/gql/index.d.ts +0 -2
  334. package/dist/extensions/awell/v1/gql/index.js +0 -19
  335. package/dist/extensions/awell/v1/gql/index.js.map +0 -1
  336. package/dist/extensions/calDotCom/actions/bookAppointment/component/BookAppointmentAction.d.ts +0 -9
  337. package/dist/extensions/calDotCom/actions/bookAppointment/component/BookAppointmentAction.js +0 -55
  338. package/dist/extensions/calDotCom/actions/bookAppointment/component/BookAppointmentAction.js.map +0 -1
  339. package/dist/extensions/calDotCom/actions/bookAppointment/component/types.d.ts +0 -10
  340. package/dist/extensions/calDotCom/actions/bookAppointment/component/types.js +0 -8
  341. package/dist/extensions/calDotCom/actions/bookAppointment/component/types.js.map +0 -1
  342. package/dist/extensions/calendly/webhooks/eventRescheduled.d.ts +0 -71
  343. package/dist/extensions/calendly/webhooks/eventRescheduled.js +0 -113
  344. package/dist/extensions/calendly/webhooks/eventRescheduled.js.map +0 -1
  345. package/dist/extensions/experimental/v1/actions/enterMedication/config/datapoints.d.ts +0 -6
  346. package/dist/extensions/experimental/v1/actions/enterMedication/config/datapoints.js +0 -10
  347. package/dist/extensions/experimental/v1/actions/enterMedication/config/datapoints.js.map +0 -1
  348. package/dist/extensions/experimental/v1/actions/enterMedication/config/fields.d.ts +0 -3
  349. package/dist/extensions/experimental/v1/actions/enterMedication/config/fields.js +0 -7
  350. package/dist/extensions/experimental/v1/actions/enterMedication/config/fields.js.map +0 -1
  351. package/dist/extensions/experimental/v1/actions/enterMedication/config/index.d.ts +0 -2
  352. package/dist/extensions/experimental/v1/actions/enterMedication/config/index.js +0 -9
  353. package/dist/extensions/experimental/v1/actions/enterMedication/config/index.js.map +0 -1
  354. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.d.ts +0 -4
  355. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.js +0 -24
  356. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.js.map +0 -1
  357. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.test.d.ts +0 -1
  358. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.test.js +0 -21
  359. package/dist/extensions/experimental/v1/actions/enterMedication/enterMedication.test.js.map +0 -1
  360. package/dist/extensions/experimental/v1/actions/enterMedication/index.d.ts +0 -1
  361. package/dist/extensions/experimental/v1/actions/enterMedication/index.js +0 -6
  362. package/dist/extensions/experimental/v1/actions/enterMedication/index.js.map +0 -1
  363. package/dist/extensions/healthie/codegen.d.ts +0 -3
  364. package/dist/extensions/healthie/codegen.js +0 -20
  365. package/dist/extensions/healthie/codegen.js.map +0 -1
  366. package/dist/extensions/healthie/errors.d.ts +0 -9
  367. package/dist/extensions/healthie/errors.js +0 -42
  368. package/dist/extensions/healthie/errors.js.map +0 -1
  369. package/dist/extensions/healthie/gql/sdk.d.ts +0 -24576
  370. package/dist/extensions/healthie/gql/sdk.js +0 -1002
  371. package/dist/extensions/healthie/gql/sdk.js.map +0 -1
  372. package/dist/extensions/healthie/graphqlClient.d.ts +0 -5
  373. package/dist/extensions/healthie/graphqlClient.js +0 -31
  374. package/dist/extensions/healthie/graphqlClient.js.map +0 -1
  375. package/dist/extensions/healthie/graphqlClient.test.d.ts +0 -1
  376. package/dist/extensions/healthie/graphqlClient.test.js +0 -63
  377. package/dist/extensions/healthie/graphqlClient.test.js.map +0 -1
  378. package/dist/extensions/healthie/helpers.d.ts +0 -1
  379. package/dist/extensions/healthie/helpers.js +0 -18
  380. package/dist/extensions/healthie/helpers.js.map +0 -1
  381. package/dist/extensions/healthie/types.d.ts +0 -11
  382. package/dist/extensions/healthie/types.js +0 -3
  383. package/dist/extensions/healthie/types.js.map +0 -1
  384. package/dist/extensions/healthie/validation/createTask.zod.d.ts +0 -168
  385. package/dist/extensions/healthie/validation/createTask.zod.js +0 -113
  386. package/dist/extensions/healthie/validation/createTask.zod.js.map +0 -1
  387. package/dist/extensions/healthie/validation/dateValidation.d.ts +0 -11
  388. package/dist/extensions/healthie/validation/dateValidation.js +0 -27
  389. package/dist/extensions/healthie/validation/dateValidation.js.map +0 -1
  390. package/dist/extensions/healthie/validation/getPatient.zod.d.ts +0 -12
  391. package/dist/extensions/healthie/validation/getPatient.zod.js +0 -50
  392. package/dist/extensions/healthie/validation/getPatient.zod.js.map +0 -1
  393. package/dist/extensions/healthie/validation/sendFormCompletionRequest.zod.d.ts +0 -57
  394. package/dist/extensions/healthie/validation/sendFormCompletionRequest.zod.js +0 -106
  395. package/dist/extensions/healthie/validation/sendFormCompletionRequest.zod.js.map +0 -1
  396. package/dist/extensions/healthie/webhooks/appointmentCreated.test.d.ts +0 -1
  397. package/dist/extensions/healthie/webhooks/appointmentCreated.test.js +0 -61
  398. package/dist/extensions/healthie/webhooks/appointmentCreated.test.js.map +0 -1
  399. package/dist/extensions/healthie/webhooks/goalCreated.test.d.ts +0 -1
  400. package/dist/extensions/healthie/webhooks/goalCreated.test.js +0 -35
  401. package/dist/extensions/healthie/webhooks/goalCreated.test.js.map +0 -1
  402. package/dist/extensions/healthie/webhooks/goalDeleted.d.ts +0 -11
  403. package/dist/extensions/healthie/webhooks/goalDeleted.js +0 -30
  404. package/dist/extensions/healthie/webhooks/goalDeleted.js.map +0 -1
  405. package/dist/extensions/healthie/webhooks/metricEntryDeleted.d.ts +0 -11
  406. package/dist/extensions/healthie/webhooks/metricEntryDeleted.js +0 -30
  407. package/dist/extensions/healthie/webhooks/metricEntryDeleted.js.map +0 -1
  408. package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.d.ts +0 -11
  409. package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.js +0 -30
  410. package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.js.map +0 -1
  411. package/dist/extensions/healthie/webhooks/taskDeleted.d.ts +0 -11
  412. package/dist/extensions/healthie/webhooks/taskDeleted.js +0 -30
  413. package/dist/extensions/healthie/webhooks/taskDeleted.js.map +0 -1
  414. package/dist/extensions/icd/actions/index.d.ts +0 -11
  415. package/dist/extensions/icd/actions/index.js +0 -7
  416. package/dist/extensions/icd/actions/index.js.map +0 -1
  417. package/dist/extensions/icd/actions/tfu/config/dataPoints.d.ts +0 -10
  418. package/dist/extensions/icd/actions/tfu/config/dataPoints.js +0 -14
  419. package/dist/extensions/icd/actions/tfu/config/dataPoints.js.map +0 -1
  420. package/dist/extensions/icd/actions/tfu/config/fields.d.ts +0 -25
  421. package/dist/extensions/icd/actions/tfu/config/fields.js +0 -49
  422. package/dist/extensions/icd/actions/tfu/config/fields.js.map +0 -1
  423. package/dist/extensions/icd/actions/tfu/config/helperFunctions.d.ts +0 -1
  424. package/dist/extensions/icd/actions/tfu/config/helperFunctions.js +0 -23
  425. package/dist/extensions/icd/actions/tfu/config/helperFunctions.js.map +0 -1
  426. package/dist/extensions/icd/actions/tfu/icd.d.ts +0 -6
  427. package/dist/extensions/icd/actions/tfu/icd.js +0 -59
  428. package/dist/extensions/icd/actions/tfu/icd.js.map +0 -1
  429. package/dist/extensions/icd/actions/tfu/index.d.ts +0 -1
  430. package/dist/extensions/icd/actions/tfu/index.js +0 -18
  431. package/dist/extensions/icd/actions/tfu/index.js.map +0 -1
  432. package/dist/extensions/icd/client.d.ts +0 -83
  433. package/dist/extensions/icd/client.js +0 -82
  434. package/dist/extensions/icd/client.js.map +0 -1
  435. package/dist/extensions/icd/index.js +0 -21
  436. package/dist/extensions/icd/index.js.map +0 -1
  437. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.d.ts +0 -11
  438. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.js +0 -39
  439. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.js.map +0 -1
  440. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.test.d.ts +0 -1
  441. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.test.js +0 -85
  442. package/dist/extensions/wellinks/actions/checkFlourishCustomer/checkFlourishCustomer.test.js.map +0 -1
  443. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/fields.d.ts +0 -18
  444. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/fields.js +0 -18
  445. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/fields.js.map +0 -1
  446. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/index.d.ts +0 -2
  447. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/index.js +0 -9
  448. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/index.js.map +0 -1
  449. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/settings.d.ts +0 -35
  450. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/settings.js +0 -17
  451. package/dist/extensions/wellinks/actions/checkFlourishCustomer/config/settings.js.map +0 -1
  452. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.d.ts +0 -33
  453. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.js +0 -129
  454. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.js.map +0 -1
  455. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.test.d.ts +0 -1
  456. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.test.js +0 -154
  457. package/dist/extensions/wellinks/actions/checkForChat/checkForChat.test.js.map +0 -1
  458. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.d.ts +0 -26
  459. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.js +0 -139
  460. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.js.map +0 -1
  461. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.test.d.ts +0 -1
  462. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.test.js +0 -185
  463. package/dist/extensions/wellinks/actions/checkForCheckInOverride/checkForCheckInOverride.test.js.map +0 -1
  464. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.d.ts +0 -23
  465. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.js +0 -153
  466. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.js.map +0 -1
  467. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.test.d.ts +0 -1
  468. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.test.js +0 -184
  469. package/dist/extensions/wellinks/actions/checkForOverride/checkForOverride.test.js.map +0 -1
  470. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.d.ts +0 -26
  471. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.js +0 -118
  472. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.js.map +0 -1
  473. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.d.ts +0 -1
  474. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js +0 -119
  475. package/dist/extensions/wellinks/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js.map +0 -1
  476. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/fields.d.ts +0 -66
  477. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/fields.js +0 -59
  478. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/fields.js.map +0 -1
  479. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/index.d.ts +0 -1
  480. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/index.js +0 -6
  481. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/config/index.js.map +0 -1
  482. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.d.ts +0 -4
  483. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js +0 -80
  484. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js.map +0 -1
  485. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.d.ts +0 -1
  486. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js +0 -47
  487. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js.map +0 -1
  488. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/index.d.ts +0 -1
  489. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/index.js +0 -6
  490. package/dist/extensions/wellinks/actions/createChartingNoteAdvanced/index.js.map +0 -1
  491. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/fields.d.ts +0 -58
  492. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/fields.js +0 -56
  493. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/fields.js.map +0 -1
  494. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/index.d.ts +0 -2
  495. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/index.js +0 -9
  496. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/index.js.map +0 -1
  497. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/settings.d.ts +0 -35
  498. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/settings.js +0 -17
  499. package/dist/extensions/wellinks/actions/createFlourishCustomer/config/settings.js.map +0 -1
  500. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.d.ts +0 -11
  501. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.js +0 -56
  502. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.js.map +0 -1
  503. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.test.d.ts +0 -1
  504. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.test.js +0 -53
  505. package/dist/extensions/wellinks/actions/createFlourishCustomer/createFlourishCustomer.test.js.map +0 -1
  506. package/dist/extensions/wellinks/actions/index.d.ts +0 -967
  507. package/dist/extensions/wellinks/actions/index.js +0 -24
  508. package/dist/extensions/wellinks/actions/index.js.map +0 -1
  509. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/fields.d.ts +0 -78
  510. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/fields.js +0 -66
  511. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/fields.js.map +0 -1
  512. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/index.d.ts +0 -2
  513. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/index.js +0 -9
  514. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/index.js.map +0 -1
  515. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/settings.d.ts +0 -35
  516. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/settings.js +0 -11
  517. package/dist/extensions/wellinks/actions/insertMemberListEvent/config/settings.js.map +0 -1
  518. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.d.ts +0 -11
  519. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.js +0 -75
  520. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.js.map +0 -1
  521. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.test.d.ts +0 -1
  522. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.test.js +0 -133
  523. package/dist/extensions/wellinks/actions/insertMemberListEvent/insertMemberListEvent.test.js.map +0 -1
  524. package/dist/extensions/wellinks/actions/submitPamSurvey/config/fields.d.ts +0 -188
  525. package/dist/extensions/wellinks/actions/submitPamSurvey/config/fields.js +0 -160
  526. package/dist/extensions/wellinks/actions/submitPamSurvey/config/fields.js.map +0 -1
  527. package/dist/extensions/wellinks/actions/submitPamSurvey/config/index.d.ts +0 -2
  528. package/dist/extensions/wellinks/actions/submitPamSurvey/config/index.js +0 -9
  529. package/dist/extensions/wellinks/actions/submitPamSurvey/config/index.js.map +0 -1
  530. package/dist/extensions/wellinks/actions/submitPamSurvey/config/settings.d.ts +0 -35
  531. package/dist/extensions/wellinks/actions/submitPamSurvey/config/settings.js +0 -17
  532. package/dist/extensions/wellinks/actions/submitPamSurvey/config/settings.js.map +0 -1
  533. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.d.ts +0 -19
  534. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.js +0 -66
  535. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.js.map +0 -1
  536. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.test.d.ts +0 -1
  537. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.test.js +0 -125
  538. package/dist/extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.test.js.map +0 -1
  539. package/dist/extensions/wellinks/api/clients/wellinksClient.d.ts +0 -16
  540. package/dist/extensions/wellinks/api/clients/wellinksClient.js +0 -40
  541. package/dist/extensions/wellinks/api/clients/wellinksClient.js.map +0 -1
  542. package/dist/extensions/wellinks/api/clients/wellinksFlourishClient.d.ts +0 -14
  543. package/dist/extensions/wellinks/api/clients/wellinksFlourishClient.js +0 -195
  544. package/dist/extensions/wellinks/api/clients/wellinksFlourishClient.js.map +0 -1
  545. package/dist/extensions/wellinks/api/clients/wellinksGraphqlClient.d.ts +0 -3
  546. package/dist/extensions/wellinks/api/clients/wellinksGraphqlClient.js +0 -23
  547. package/dist/extensions/wellinks/api/clients/wellinksGraphqlClient.js.map +0 -1
  548. package/dist/extensions/wellinks/api/test/wellinksFlourishClient.test.d.ts +0 -1
  549. package/dist/extensions/wellinks/api/test/wellinksFlourishClient.test.js +0 -192
  550. package/dist/extensions/wellinks/api/test/wellinksFlourishClient.test.js.map +0 -1
  551. package/dist/extensions/wellinks/codegen.d.ts +0 -3
  552. package/dist/extensions/wellinks/codegen.js +0 -21
  553. package/dist/extensions/wellinks/codegen.js.map +0 -1
  554. package/dist/extensions/wellinks/config/settings.d.ts +0 -107
  555. package/dist/extensions/wellinks/config/settings.js +0 -89
  556. package/dist/extensions/wellinks/config/settings.js.map +0 -1
  557. package/dist/extensions/wellinks/config/types.d.ts +0 -5
  558. package/dist/extensions/wellinks/config/types.js +0 -3
  559. package/dist/extensions/wellinks/config/types.js.map +0 -1
  560. package/dist/extensions/wellinks/gql/wellinksSdk.d.ts +0 -24053
  561. package/dist/extensions/wellinks/gql/wellinksSdk.js +0 -619
  562. package/dist/extensions/wellinks/gql/wellinksSdk.js.map +0 -1
  563. package/dist/extensions/wellinks/graphql/mutations.d.ts +0 -1
  564. package/dist/extensions/wellinks/graphql/mutations.js +0 -17
  565. package/dist/extensions/wellinks/graphql/mutations.js.map +0 -1
  566. package/dist/extensions/wellinks/graphql/queries.d.ts +0 -4
  567. package/dist/extensions/wellinks/graphql/queries.js +0 -58
  568. package/dist/extensions/wellinks/graphql/queries.js.map +0 -1
  569. package/dist/extensions/wellinks/index.d.ts +0 -2
  570. package/dist/extensions/wellinks/index.js +0 -20
  571. package/dist/extensions/wellinks/index.js.map +0 -1
  572. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.d.ts +0 -11
  573. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.js +0 -39
  574. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.js.map +0 -1
  575. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.d.ts +0 -1
  576. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.js +0 -85
  577. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/checkFlourishCustomer.test.js.map +0 -1
  578. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.d.ts +0 -18
  579. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.js +0 -18
  580. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/fields.js.map +0 -1
  581. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/index.d.ts +0 -2
  582. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/index.js +0 -9
  583. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/index.js.map +0 -1
  584. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.d.ts +0 -35
  585. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.js +0 -17
  586. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.js.map +0 -1
  587. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.d.ts +0 -33
  588. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.js +0 -129
  589. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.js.map +0 -1
  590. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.test.d.ts +0 -1
  591. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.test.js +0 -154
  592. package/dist/extensions/wellinks-public/actions/checkForChat/checkForChat.test.js.map +0 -1
  593. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.d.ts +0 -26
  594. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.js +0 -139
  595. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.js.map +0 -1
  596. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.test.d.ts +0 -1
  597. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.test.js +0 -185
  598. package/dist/extensions/wellinks-public/actions/checkForCheckInOverride/checkForCheckInOverride.test.js.map +0 -1
  599. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.d.ts +0 -23
  600. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.js +0 -153
  601. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.js.map +0 -1
  602. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.test.d.ts +0 -1
  603. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.test.js +0 -184
  604. package/dist/extensions/wellinks-public/actions/checkForOverride/checkForOverride.test.js.map +0 -1
  605. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.d.ts +0 -26
  606. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.js +0 -118
  607. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.js.map +0 -1
  608. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.d.ts +0 -1
  609. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js +0 -119
  610. package/dist/extensions/wellinks-public/actions/checkForScheduledAppointment/checkForScheduledAppointment.test.js.map +0 -1
  611. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/fields.d.ts +0 -82
  612. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/fields.js +0 -78
  613. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/fields.js.map +0 -1
  614. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/index.d.ts +0 -1
  615. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/index.js +0 -6
  616. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/config/index.js.map +0 -1
  617. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced-fail.test.d.ts +0 -1
  618. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced-fail.test.js +0 -152
  619. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced-fail.test.js.map +0 -1
  620. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.d.ts +0 -4
  621. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js +0 -86
  622. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.js.map +0 -1
  623. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.d.ts +0 -1
  624. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js +0 -42
  625. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/createChartingNoteAdvanced.test.js.map +0 -1
  626. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/index.d.ts +0 -1
  627. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/index.js +0 -6
  628. package/dist/extensions/wellinks-public/actions/createChartingNoteAdvanced/index.js.map +0 -1
  629. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/fields.d.ts +0 -58
  630. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/fields.js +0 -56
  631. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/fields.js.map +0 -1
  632. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/index.d.ts +0 -2
  633. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/index.js +0 -9
  634. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/index.js.map +0 -1
  635. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.d.ts +0 -35
  636. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.js +0 -17
  637. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.js.map +0 -1
  638. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.d.ts +0 -11
  639. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.js +0 -56
  640. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.js.map +0 -1
  641. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.test.d.ts +0 -1
  642. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.test.js +0 -53
  643. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/createFlourishCustomer.test.js.map +0 -1
  644. package/dist/extensions/wellinks-public/actions/index.d.ts +0 -967
  645. package/dist/extensions/wellinks-public/actions/index.js +0 -24
  646. package/dist/extensions/wellinks-public/actions/index.js.map +0 -1
  647. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/fields.d.ts +0 -78
  648. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/fields.js +0 -66
  649. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/fields.js.map +0 -1
  650. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/index.d.ts +0 -2
  651. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/index.js +0 -9
  652. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/index.js.map +0 -1
  653. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.d.ts +0 -38
  654. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.js +0 -11
  655. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.js.map +0 -1
  656. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.d.ts +0 -11
  657. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.js +0 -75
  658. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.js.map +0 -1
  659. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.test.d.ts +0 -1
  660. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.test.js +0 -133
  661. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/insertMemberListEvent.test.js.map +0 -1
  662. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/fields.d.ts +0 -188
  663. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/fields.js +0 -160
  664. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/fields.js.map +0 -1
  665. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/index.d.ts +0 -2
  666. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/index.js +0 -9
  667. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/index.js.map +0 -1
  668. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.d.ts +0 -35
  669. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.js +0 -17
  670. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.js.map +0 -1
  671. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.d.ts +0 -19
  672. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.js +0 -66
  673. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.js.map +0 -1
  674. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.test.d.ts +0 -1
  675. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.test.js +0 -125
  676. package/dist/extensions/wellinks-public/actions/submitPamSurvey/submitPamSurvey.test.js.map +0 -1
  677. package/dist/extensions/wellinks-public/api/clients/wellinksClient.d.ts +0 -16
  678. package/dist/extensions/wellinks-public/api/clients/wellinksClient.js +0 -40
  679. package/dist/extensions/wellinks-public/api/clients/wellinksClient.js.map +0 -1
  680. package/dist/extensions/wellinks-public/api/clients/wellinksFlourishClient.d.ts +0 -14
  681. package/dist/extensions/wellinks-public/api/clients/wellinksFlourishClient.js +0 -201
  682. package/dist/extensions/wellinks-public/api/clients/wellinksFlourishClient.js.map +0 -1
  683. package/dist/extensions/wellinks-public/api/clients/wellinksGraphqlClient.d.ts +0 -3
  684. package/dist/extensions/wellinks-public/api/clients/wellinksGraphqlClient.js +0 -23
  685. package/dist/extensions/wellinks-public/api/clients/wellinksGraphqlClient.js.map +0 -1
  686. package/dist/extensions/wellinks-public/api/test/wellinksFlourishClient.test.d.ts +0 -1
  687. package/dist/extensions/wellinks-public/api/test/wellinksFlourishClient.test.js +0 -192
  688. package/dist/extensions/wellinks-public/api/test/wellinksFlourishClient.test.js.map +0 -1
  689. package/dist/extensions/wellinks-public/codegen.d.ts +0 -3
  690. package/dist/extensions/wellinks-public/codegen.js +0 -21
  691. package/dist/extensions/wellinks-public/codegen.js.map +0 -1
  692. package/dist/extensions/wellinks-public/config/settings.d.ts +0 -107
  693. package/dist/extensions/wellinks-public/config/settings.js +0 -89
  694. package/dist/extensions/wellinks-public/config/settings.js.map +0 -1
  695. package/dist/extensions/wellinks-public/config/types.d.ts +0 -5
  696. package/dist/extensions/wellinks-public/config/types.js +0 -3
  697. package/dist/extensions/wellinks-public/config/types.js.map +0 -1
  698. package/dist/extensions/wellinks-public/gql/wellinksSdk.d.ts +0 -24110
  699. package/dist/extensions/wellinks-public/gql/wellinksSdk.js +0 -635
  700. package/dist/extensions/wellinks-public/gql/wellinksSdk.js.map +0 -1
  701. package/dist/extensions/wellinks-public/graphql/mutations.d.ts +0 -1
  702. package/dist/extensions/wellinks-public/graphql/mutations.js +0 -17
  703. package/dist/extensions/wellinks-public/graphql/mutations.js.map +0 -1
  704. package/dist/extensions/wellinks-public/graphql/queries.d.ts +0 -5
  705. package/dist/extensions/wellinks-public/graphql/queries.js +0 -66
  706. package/dist/extensions/wellinks-public/graphql/queries.js.map +0 -1
  707. package/dist/extensions/wellinks-public/index.d.ts +0 -2
  708. package/dist/extensions/wellinks-public/index.js +0 -20
  709. package/dist/extensions/wellinks-public/index.js.map +0 -1
  710. package/dist/src/types/OrchestrationTypes.d.ts +0 -2065
  711. package/dist/src/types/OrchestrationTypes.js +0 -266
  712. package/dist/src/types/OrchestrationTypes.js.map +0 -1
  713. package/dist/src/types/index.d.ts +0 -1
  714. package/dist/src/types/index.js +0 -18
  715. package/dist/src/types/index.js.map +0 -1
  716. package/dist/src/utils/mapToObject.d.ts +0 -4
  717. package/dist/src/utils/mapToObject.js +0 -18
  718. package/dist/src/utils/mapToObject.js.map +0 -1
@@ -1,188 +0,0 @@
1
- import { z } from 'zod';
2
- import { FieldType } from '@awell-health/extensions-core';
3
- export declare const fields: {
4
- language: {
5
- id: string;
6
- label: string;
7
- description: string;
8
- type: FieldType.STRING;
9
- required: true;
10
- };
11
- adminDate: {
12
- id: string;
13
- label: string;
14
- description: string;
15
- type: FieldType.DATE;
16
- required: true;
17
- };
18
- thirdPartyIdentifier: {
19
- id: string;
20
- label: string;
21
- description: string;
22
- type: FieldType.STRING;
23
- required: true;
24
- };
25
- gender: {
26
- id: string;
27
- label: string;
28
- description: string;
29
- type: FieldType.STRING;
30
- required: true;
31
- };
32
- age: {
33
- id: string;
34
- label: string;
35
- description: string;
36
- type: FieldType.NUMERIC;
37
- required: true;
38
- };
39
- pa1: {
40
- id: string;
41
- label: string;
42
- description: string;
43
- type: FieldType.NUMERIC;
44
- required: true;
45
- };
46
- pa2: {
47
- id: string;
48
- label: string;
49
- description: string;
50
- type: FieldType.NUMERIC;
51
- required: true;
52
- };
53
- pa3: {
54
- id: string;
55
- label: string;
56
- description: string;
57
- type: FieldType.NUMERIC;
58
- required: true;
59
- };
60
- pa4: {
61
- id: string;
62
- label: string;
63
- description: string;
64
- type: FieldType.NUMERIC;
65
- required: true;
66
- };
67
- pa5: {
68
- id: string;
69
- label: string;
70
- description: string;
71
- type: FieldType.NUMERIC;
72
- required: true;
73
- };
74
- pa6: {
75
- id: string;
76
- label: string;
77
- description: string;
78
- type: FieldType.NUMERIC;
79
- required: true;
80
- };
81
- pa7: {
82
- id: string;
83
- label: string;
84
- description: string;
85
- type: FieldType.NUMERIC;
86
- required: true;
87
- };
88
- pa8: {
89
- id: string;
90
- label: string;
91
- description: string;
92
- type: FieldType.NUMERIC;
93
- required: true;
94
- };
95
- pa9: {
96
- id: string;
97
- label: string;
98
- description: string;
99
- type: FieldType.NUMERIC;
100
- required: true;
101
- };
102
- pa10: {
103
- id: string;
104
- label: string;
105
- description: string;
106
- type: FieldType.NUMERIC;
107
- required: true;
108
- };
109
- pa11: {
110
- id: string;
111
- label: string;
112
- description: string;
113
- type: FieldType.NUMERIC;
114
- required: true;
115
- };
116
- pa12: {
117
- id: string;
118
- label: string;
119
- description: string;
120
- type: FieldType.NUMERIC;
121
- required: true;
122
- };
123
- pa13: {
124
- id: string;
125
- label: string;
126
- description: string;
127
- type: FieldType.NUMERIC;
128
- required: true;
129
- };
130
- };
131
- export declare const FieldsValidationSchema: z.ZodObject<{
132
- language: z.ZodString;
133
- adminDate: z.ZodString;
134
- thirdPartyIdentifier: z.ZodString;
135
- gender: z.ZodString;
136
- age: z.ZodNumber;
137
- pa1: z.ZodNumber;
138
- pa2: z.ZodNumber;
139
- pa3: z.ZodNumber;
140
- pa4: z.ZodNumber;
141
- pa5: z.ZodNumber;
142
- pa6: z.ZodNumber;
143
- pa7: z.ZodNumber;
144
- pa8: z.ZodNumber;
145
- pa9: z.ZodNumber;
146
- pa10: z.ZodNumber;
147
- pa11: z.ZodNumber;
148
- pa12: z.ZodNumber;
149
- pa13: z.ZodNumber;
150
- }, "strip", z.ZodTypeAny, {
151
- language: string;
152
- age: number;
153
- gender: string;
154
- adminDate: string;
155
- thirdPartyIdentifier: string;
156
- pa1: number;
157
- pa2: number;
158
- pa3: number;
159
- pa4: number;
160
- pa5: number;
161
- pa6: number;
162
- pa7: number;
163
- pa8: number;
164
- pa9: number;
165
- pa10: number;
166
- pa11: number;
167
- pa12: number;
168
- pa13: number;
169
- }, {
170
- language: string;
171
- age: number;
172
- gender: string;
173
- adminDate: string;
174
- thirdPartyIdentifier: string;
175
- pa1: number;
176
- pa2: number;
177
- pa3: number;
178
- pa4: number;
179
- pa5: number;
180
- pa6: number;
181
- pa7: number;
182
- pa8: number;
183
- pa9: number;
184
- pa10: number;
185
- pa11: number;
186
- pa12: number;
187
- pa13: number;
188
- }>;
@@ -1,160 +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
- language: {
8
- id: 'language',
9
- label: 'language',
10
- description: 'The language the survey was completed in.',
11
- type: extensions_core_1.FieldType.STRING,
12
- required: true,
13
- },
14
- adminDate: {
15
- id: 'adminDate',
16
- label: 'Administration Date',
17
- description: 'The date the survey was completed in YYYY-MM-DD format.',
18
- type: extensions_core_1.FieldType.DATE,
19
- required: true,
20
- },
21
- thirdPartyIdentifier: {
22
- id: 'thirdPartyIdentifier',
23
- label: 'Third Party Identifier',
24
- description: 'The (external) identifier for the user for whom the survey was completed.',
25
- type: extensions_core_1.FieldType.STRING,
26
- required: true,
27
- },
28
- gender: {
29
- id: 'gender',
30
- label: 'Gender',
31
- description: 'The gender of the user for whom the survey was completed.',
32
- type: extensions_core_1.FieldType.STRING,
33
- required: true,
34
- },
35
- age: {
36
- id: 'age',
37
- label: 'Age',
38
- description: 'The age of the user for whom the survey was completed.',
39
- type: extensions_core_1.FieldType.NUMERIC,
40
- required: true,
41
- },
42
- pa1: {
43
- id: 'pa1',
44
- label: 'PA 1',
45
- description: 'The answer to PA 1.',
46
- type: extensions_core_1.FieldType.NUMERIC,
47
- required: true,
48
- },
49
- pa2: {
50
- id: 'pa2',
51
- label: 'PA 2',
52
- description: 'The answer to PA 2.',
53
- type: extensions_core_1.FieldType.NUMERIC,
54
- required: true,
55
- },
56
- pa3: {
57
- id: 'pa3',
58
- label: 'PA 3',
59
- description: 'The answer to PA 3.',
60
- type: extensions_core_1.FieldType.NUMERIC,
61
- required: true,
62
- },
63
- pa4: {
64
- id: 'pa4',
65
- label: 'PA 4',
66
- description: 'The answer to PA 4.',
67
- type: extensions_core_1.FieldType.NUMERIC,
68
- required: true,
69
- },
70
- pa5: {
71
- id: 'pa5',
72
- label: 'PA 5',
73
- description: 'The answer to PA 5.',
74
- type: extensions_core_1.FieldType.NUMERIC,
75
- required: true,
76
- },
77
- pa6: {
78
- id: 'pa6',
79
- label: 'PA 6',
80
- description: 'The answer to PA 6.',
81
- type: extensions_core_1.FieldType.NUMERIC,
82
- required: true,
83
- },
84
- pa7: {
85
- id: 'pa7',
86
- label: 'PA 7',
87
- description: 'The answer to PA 7.',
88
- type: extensions_core_1.FieldType.NUMERIC,
89
- required: true,
90
- },
91
- pa8: {
92
- id: 'pa8',
93
- label: 'PA 8',
94
- description: 'The answer to PA 8.',
95
- type: extensions_core_1.FieldType.NUMERIC,
96
- required: true,
97
- },
98
- pa9: {
99
- id: 'pa9',
100
- label: 'PA 9',
101
- description: 'The answer to PA 9.',
102
- type: extensions_core_1.FieldType.NUMERIC,
103
- required: true,
104
- },
105
- pa10: {
106
- id: 'pa10',
107
- label: 'PA 10',
108
- description: 'The answer to PA 10.',
109
- type: extensions_core_1.FieldType.NUMERIC,
110
- required: true,
111
- },
112
- pa11: {
113
- id: 'pa11',
114
- label: 'PA 11',
115
- description: 'The answer to PA 11.',
116
- type: extensions_core_1.FieldType.NUMERIC,
117
- required: true,
118
- },
119
- pa12: {
120
- id: 'pa12',
121
- label: 'PA 12',
122
- description: 'The answer to PA 12.',
123
- type: extensions_core_1.FieldType.NUMERIC,
124
- required: true,
125
- },
126
- pa13: {
127
- id: 'pa13',
128
- label: 'PA 13',
129
- description: 'The answer to PA 13.',
130
- type: extensions_core_1.FieldType.NUMERIC,
131
- required: true,
132
- },
133
- };
134
- exports.FieldsValidationSchema = zod_1.z.object({
135
- language: zod_1.z.string(),
136
- adminDate: zod_1.z
137
- .string({
138
- errorMap: () => ({
139
- message: 'Admin date is required and must be of format YYYY-MM-DD',
140
- }),
141
- })
142
- .datetime(),
143
- thirdPartyIdentifier: zod_1.z.string(),
144
- gender: zod_1.z.string(),
145
- age: zod_1.z.number(),
146
- pa1: zod_1.z.number(),
147
- pa2: zod_1.z.number(),
148
- pa3: zod_1.z.number(),
149
- pa4: zod_1.z.number(),
150
- pa5: zod_1.z.number(),
151
- pa6: zod_1.z.number(),
152
- pa7: zod_1.z.number(),
153
- pa8: zod_1.z.number(),
154
- pa9: zod_1.z.number(),
155
- pa10: zod_1.z.number(),
156
- pa11: zod_1.z.number(),
157
- pa12: zod_1.z.number(),
158
- pa13: zod_1.z.number(),
159
- });
160
- //# sourceMappingURL=fields.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/wellinks/actions/submitPamSurvey/config/fields.ts"],"names":[],"mappings":";;;AAAA,6BAAwC;AACxC,mEAAqE;AAExD,QAAA,MAAM,GAAG;IACpB,QAAQ,EAAE;QACR,EAAE,EAAE,UAAU;QACd,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,2CAA2C;QACxD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EAAE,yDAAyD;QACtE,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,oBAAoB,EAAE;QACpB,EAAE,EAAE,sBAAsB;QAC1B,KAAK,EAAE,wBAAwB;QAC/B,WAAW,EACT,2EAA2E;QAC7E,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,2DAA2D;QACxE,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,GAAG,EAAE;QACH,EAAE,EAAE,KAAK;QACT,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,wDAAwD;QACrE,IAAI,EAAE,2BAAS,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI;KACf;IACD,GAAG,EAAE;QACH,EAAE,EAAE,KAAK;QACT,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,2BAAS,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI;KACf;IACD,GAAG,EAAE;QACH,EAAE,EAAE,KAAK;QACT,KAAK,EAAE,MAAM;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,MAAM,EAAE;IACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;CACiC,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/actions/submitPamSurvey/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
- platformApiKey?: string | undefined;
18
- platformApiUrl?: string | undefined;
19
- apiUrl?: string | undefined;
20
- apiKey?: 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
- platformApiKey?: string | undefined;
29
- platformApiUrl?: string | undefined;
30
- apiUrl?: string | undefined;
31
- apiKey?: 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/actions/submitPamSurvey/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,19 +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
- pamLevel: {
6
- key: string;
7
- valueType: "number";
8
- };
9
- pamScore: {
10
- key: string;
11
- valueType: "number";
12
- };
13
- success: {
14
- key: string;
15
- valueType: "boolean";
16
- };
17
- };
18
- export declare const submitPamSurvey: Action<typeof fields, typeof settings, keyof typeof dataPoints>;
19
- export {};
@@ -1,66 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.submitPamSurvey = void 0;
4
- const extensions_core_1 = require("@awell-health/extensions-core");
5
- const wellinksFlourishClient_1 = require("../../api/clients/wellinksFlourishClient");
6
- const zod_1 = require("zod");
7
- const config_1 = require("./config");
8
- const dataPoints = {
9
- pamLevel: {
10
- key: 'pamLevel',
11
- valueType: 'number',
12
- },
13
- pamScore: {
14
- key: 'pamScore',
15
- valueType: 'number',
16
- },
17
- success: {
18
- key: 'success',
19
- valueType: 'boolean',
20
- },
21
- };
22
- exports.submitPamSurvey = {
23
- key: 'submitPamSurvey',
24
- category: extensions_core_1.Category.WORKFLOW,
25
- title: 'Submit PAM Survey',
26
- description: 'Submits a PAM survey to Flourish.',
27
- fields: config_1.fields,
28
- dataPoints,
29
- previewable: true,
30
- onActivityCreated: async (payload, onComplete, onError) => {
31
- const { fields: { language, adminDate, thirdPartyIdentifier, gender, age, pa1, pa2, pa3, pa4, pa5, pa6, pa7, pa8, pa9, pa10, pa11, pa12, pa13, }, settings: { flourishApiKey, flourishApiUrl, flourishClientExtId }, } = (0, extensions_core_1.validate)({
32
- schema: zod_1.z.object({
33
- fields: config_1.FieldsValidationSchema,
34
- settings: config_1.SettingsValidationSchema,
35
- }),
36
- payload,
37
- });
38
- const client = new wellinksFlourishClient_1.WellinksFlourishClient(flourishApiUrl, flourishApiKey, flourishClientExtId);
39
- try {
40
- const result = await client.survey.submit(language, adminDate, thirdPartyIdentifier, gender, age, pa1, pa2, pa3, pa4, pa5, pa6, pa7, pa8, pa9, pa10, pa11, pa12, pa13);
41
- await onComplete({
42
- data_points: {
43
- pamLevel: result.pamLevel.toString(),
44
- pamScore: result.pamScore.toString(),
45
- success: result.success.toString(),
46
- },
47
- });
48
- }
49
- catch (err) {
50
- const error = err;
51
- await onError({
52
- events: [
53
- {
54
- date: new Date().toISOString(),
55
- text: { en: 'Something went wrong while orchestration the action' },
56
- error: {
57
- category: 'SERVER_ERROR',
58
- message: error.message,
59
- },
60
- },
61
- ],
62
- });
63
- }
64
- },
65
- };
66
- //# sourceMappingURL=submitPamSurvey.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"submitPamSurvey.js","sourceRoot":"","sources":["../../../../../extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.ts"],"names":[],"mappings":";;;AAAA,mEAKsC;AAEtC,qFAAiF;AACjF,6BAAuB;AACvB,qCAIiB;AAEjB,MAAM,UAAU,GAAG;IACjB,QAAQ,EAAE;QACR,GAAG,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GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,CACL,CAAA;YACD,MAAM,UAAU,CAAC;gBACf,WAAW,EAAE;oBACX,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE;oBACpC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE;oBACpC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE;iBACnC;aACF,CAAC,CAAA;SACH;QAAC,OAAO,GAAG,EAAE;YACZ,MAAM,KAAK,GAAG,GAAY,CAAA;YAC1B,MAAM,OAAO,CAAC;gBACZ,MAAM,EAAE;oBACN;wBACE,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;wBAC9B,IAAI,EAAE,EAAE,EAAE,EAAE,qDAAqD,EAAE;wBACnE,KAAK,EAAE;4BACL,QAAQ,EAAE,cAAc;4BACxB,OAAO,EAAE,KAAK,CAAC,OAAO;yBACvB;qBACF;iBACF;aACF,CAAC,CAAA;SACH;IACH,CAAC;CACF,CAAA"}
@@ -1,125 +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 submitPamSurvey_1 = require("./submitPamSurvey");
7
- const zod_1 = require("zod");
8
- jest.mock('../../api/clients/wellinksFlourishClient', () => ({
9
- WellinksFlourishClient: wellinksFlourishClient_1.WellinksFlourishClient,
10
- }));
11
- describe('Submit PAM Survey', () => {
12
- const onComplete = jest.fn();
13
- const onError = jest.fn();
14
- beforeEach(() => {
15
- jest.clearAllMocks();
16
- });
17
- test('should call onError with a ZodError when the payload is invalid', async () => {
18
- const invalidPayload = (0, tests_1.generateTestPayload)({
19
- fields: {
20
- language: undefined,
21
- adminDate: undefined,
22
- thirdPartyIdentifier: undefined,
23
- gender: undefined,
24
- age: undefined,
25
- pa1: undefined,
26
- pa2: undefined,
27
- pa3: undefined,
28
- pa4: undefined,
29
- pa5: undefined,
30
- pa6: undefined,
31
- pa7: undefined,
32
- pa8: undefined,
33
- pa9: undefined,
34
- pa10: undefined,
35
- pa11: undefined,
36
- pa12: undefined,
37
- pa13: undefined,
38
- },
39
- settings: settings_1.mockSettings,
40
- });
41
- await expect(submitPamSurvey_1.submitPamSurvey.onActivityCreated(invalidPayload, onComplete, onError)).rejects.toThrowError(zod_1.ZodError);
42
- });
43
- test('should call onComplete with a complete DataPoint set when the survey is succesfully submitted', async () => {
44
- const validPayload = (0, tests_1.generateTestPayload)({
45
- fields: {
46
- language: 'en',
47
- adminDate: '2020-01-01T00:00:00Z',
48
- thirdPartyIdentifier: 'identifier',
49
- gender: 'male',
50
- age: 25,
51
- pa1: 1,
52
- pa2: 2,
53
- pa3: 3,
54
- pa4: 4,
55
- pa5: 5,
56
- pa6: 6,
57
- pa7: 7,
58
- pa8: 8,
59
- pa9: 9,
60
- pa10: 10,
61
- pa11: 11,
62
- pa12: 12,
63
- pa13: 13,
64
- },
65
- settings: settings_1.mockSettings,
66
- });
67
- wellinksFlourishClient_1.WellinksFlourishClientMockImplementation.survey.submit.mockImplementationOnce(() => {
68
- return {
69
- success: true,
70
- pamLevel: 1,
71
- pamScore: 1,
72
- };
73
- });
74
- await submitPamSurvey_1.submitPamSurvey.onActivityCreated(validPayload, onComplete, onError);
75
- expect(onError).not.toBeCalled();
76
- expect(onComplete).toHaveBeenNthCalledWith(1, {
77
- data_points: {
78
- pamLevel: '1',
79
- pamScore: '1',
80
- success: 'true',
81
- },
82
- });
83
- });
84
- test('should call onError when wellinksFlourishClient.survey.submit throws an error', async () => {
85
- const validPayload = (0, tests_1.generateTestPayload)({
86
- fields: {
87
- language: 'en',
88
- adminDate: '2020-01-01T00:00:00Z',
89
- thirdPartyIdentifier: 'identifier',
90
- gender: 'male',
91
- age: 25,
92
- pa1: 1,
93
- pa2: 2,
94
- pa3: 3,
95
- pa4: 4,
96
- pa5: 5,
97
- pa6: 6,
98
- pa7: 7,
99
- pa8: 8,
100
- pa9: 9,
101
- pa10: 10,
102
- pa11: 11,
103
- pa12: 12,
104
- pa13: 13,
105
- },
106
- settings: settings_1.mockSettings,
107
- });
108
- wellinksFlourishClient_1.WellinksFlourishClientMockImplementation.survey.submit.mockImplementationOnce(() => {
109
- throw new Error('Test Error');
110
- });
111
- await submitPamSurvey_1.submitPamSurvey.onActivityCreated(validPayload, onComplete, onError);
112
- expect(onError).toHaveBeenNthCalledWith(1, {
113
- events: expect.arrayContaining([
114
- expect.objectContaining({
115
- error: {
116
- category: 'SERVER_ERROR',
117
- message: 'Test Error',
118
- },
119
- }),
120
- ]),
121
- });
122
- expect(onComplete).not.toBeCalled();
123
- });
124
- });
125
- //# sourceMappingURL=submitPamSurvey.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"submitPamSurvey.test.js","sourceRoot":"","sources":["../../../../../extensions/wellinks/actions/submitPamSurvey/submitPamSurvey.test.ts"],"names":[],"mappings":";;AAAA,iDAA2D;AAC3D,+FAG2D;AAE3D,8DAA8D;AAC9D,uDAAmD;AACnD,6BAA8B;AAE9B,IAAI,CAAC,IAAI,CAAC,0CAA0C,EAAE,GAAG,EAAE,CAAC,CAAC;IAC3D,sBAAsB,EAAtB,+CAAsB;CACvB,CAAC,CAAC,CAAA;AAEH,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,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,iEAAiE,EAAE,KAAK,IAAI,EAAE;QACjF,MAAM,cAAc,GAAG,IAAA,2BAAmB,EAAC;YACzC,M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BAAsB,CAC3E,GAAG,EAAE;YACH,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,CAAA;QAC/B,CAAC,CACF,CAAA;QACD,MAAM,iCAAe,CAAC,iBAAiB,CAAC,YAAY,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;QAC1E,MAAM,CAAC,OAAO,CAAC,CAAC,uBAAuB,CAAC,CAAC,EAAE;YACzC,MAAM,EAAE,MAAM,CAAC,eAAe,CAAC;gBAC7B,MAAM,CAAC,gBAAgB,CAAC;oBACtB,KAAK,EAAE;wBACL,QAAQ,EAAE,cAAc;wBACxB,OAAO,EAAE,YAAY;qBACtB;iBACF,CAAC;aACH,CAAC;SACH,CAAC,CAAA;QACF,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,CAAA;IACrC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -1,16 +0,0 @@
1
- export declare class WellinksClient {
2
- private readonly _apiUrl;
3
- private readonly _apiKey;
4
- constructor(apiUrl: string, apiKey: string);
5
- readonly memberListEvent: {
6
- insert: ({ eventName, memberId, sourceName, sendgridListId, originatorName, eventDate, lockedById, }: {
7
- eventName: string;
8
- memberId: string;
9
- sourceName: string;
10
- sendgridListId: string;
11
- originatorName: string;
12
- eventDate: string;
13
- lockedById: string | undefined | null;
14
- }) => Promise<number>;
15
- };
16
- }