@awell-health/awell-extensions 2.0.8 → 2.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.js +3 -3
- package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.js.map +1 -1
- package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.test.js +4 -4
- package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.test.js.map +1 -1
- package/dist/extensions/healthie/actions/archivePatient/archivePatient.js +3 -3
- package/dist/extensions/healthie/actions/archivePatient/archivePatient.js.map +1 -1
- package/dist/extensions/healthie/actions/archivePatient/archivePatient.test.js +4 -4
- package/dist/extensions/healthie/actions/archivePatient/archivePatient.test.js.map +1 -1
- package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.js +3 -3
- package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.js.map +1 -1
- package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.test.js +4 -4
- package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.test.js.map +1 -1
- package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.js +3 -3
- package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.js.map +1 -1
- package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.test.js +4 -4
- package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.test.js.map +1 -1
- package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.js +3 -3
- package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.js.map +1 -1
- package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.test.js +4 -4
- package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.test.js.map +1 -1
- package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.js +3 -3
- package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.js.map +1 -1
- package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.test.js +4 -4
- package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.test.js.map +1 -1
- package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.js +3 -3
- package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.js.map +1 -1
- package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.test.js +4 -4
- package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.test.js.map +1 -1
- package/dist/extensions/healthie/actions/completeTask/completeTask.js +3 -3
- package/dist/extensions/healthie/actions/completeTask/completeTask.js.map +1 -1
- package/dist/extensions/healthie/actions/completeTask/completeTask.test.js +4 -4
- package/dist/extensions/healthie/actions/completeTask/completeTask.test.js.map +1 -1
- package/dist/extensions/healthie/actions/createAppointment/createAppointment.test.js +4 -4
- package/dist/extensions/healthie/actions/createAppointment/createAppointment.test.js.map +1 -1
- package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.js +3 -3
- package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.js.map +1 -1
- package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.test.js +4 -4
- package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.test.js.map +1 -1
- package/dist/extensions/healthie/actions/createGoal/config/fields.d.ts +13 -3
- package/dist/extensions/healthie/actions/createGoal/config/fields.js +28 -9
- package/dist/extensions/healthie/actions/createGoal/config/fields.js.map +1 -1
- package/dist/extensions/healthie/actions/createGoal/createGoal.js +20 -9
- package/dist/extensions/healthie/actions/createGoal/createGoal.js.map +1 -1
- package/dist/extensions/healthie/actions/createGoal/createGoal.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/createGoal/createGoal.test.js +72 -40
- package/dist/extensions/healthie/actions/createGoal/createGoal.test.js.map +1 -1
- package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.js +3 -3
- package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.js.map +1 -1
- package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.test.js +4 -4
- package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.test.js.map +1 -1
- package/dist/extensions/healthie/actions/createLocation/createLocation.js +3 -3
- package/dist/extensions/healthie/actions/createLocation/createLocation.js.map +1 -1
- package/dist/extensions/healthie/actions/createLocation/createLocation.test.js +4 -4
- package/dist/extensions/healthie/actions/createLocation/createLocation.test.js.map +1 -1
- package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.js +3 -3
- package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.js.map +1 -1
- package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.test.js +4 -4
- package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.test.js.map +1 -1
- package/dist/extensions/healthie/actions/createPatient/createPatient.js +3 -3
- package/dist/extensions/healthie/actions/createPatient/createPatient.js.map +1 -1
- package/dist/extensions/healthie/actions/createPatient/createPatient.test.js +4 -4
- package/dist/extensions/healthie/actions/createPatient/createPatient.test.js.map +1 -1
- package/dist/extensions/healthie/actions/createTask/createTask.js +3 -3
- package/dist/extensions/healthie/actions/createTask/createTask.js.map +1 -1
- package/dist/extensions/healthie/actions/createTask/createTask.test.js +4 -4
- package/dist/extensions/healthie/actions/createTask/createTask.test.js.map +1 -1
- package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.js +3 -3
- package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.js.map +1 -1
- package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.test.js +4 -4
- package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.test.js.map +1 -1
- package/dist/extensions/healthie/actions/deleteGoal/config/datapoints.d.ts +1 -0
- package/dist/extensions/healthie/actions/deleteGoal/config/datapoints.js +5 -0
- package/dist/extensions/healthie/actions/deleteGoal/config/datapoints.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteGoal/config/fields.d.ts +18 -0
- package/dist/extensions/healthie/actions/deleteGoal/config/fields.js +21 -0
- package/dist/extensions/healthie/actions/deleteGoal/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteGoal/config/index.d.ts +2 -0
- package/dist/extensions/healthie/actions/deleteGoal/config/index.js +9 -0
- package/dist/extensions/healthie/actions/deleteGoal/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteGoal/deleteGoal.d.ts +4 -0
- package/dist/extensions/healthie/actions/deleteGoal/deleteGoal.js +35 -0
- package/dist/extensions/healthie/actions/deleteGoal/deleteGoal.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteGoal/deleteGoal.test.js +42 -0
- package/dist/extensions/healthie/actions/deleteGoal/deleteGoal.test.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteGoal/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/deleteGoal/index.js +18 -0
- package/dist/extensions/healthie/actions/deleteGoal/index.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteTask/deleteTask.js +3 -3
- package/dist/extensions/healthie/actions/deleteTask/deleteTask.js.map +1 -1
- package/dist/extensions/healthie/actions/deleteTask/deleteTask.test.js +4 -4
- package/dist/extensions/healthie/actions/deleteTask/deleteTask.test.js.map +1 -1
- package/dist/extensions/healthie/actions/getAppointment/getAppointment.js +3 -3
- package/dist/extensions/healthie/actions/getAppointment/getAppointment.js.map +1 -1
- package/dist/extensions/healthie/actions/getAppointment/getAppointment.test.js +4 -4
- package/dist/extensions/healthie/actions/getAppointment/getAppointment.test.js.map +1 -1
- package/dist/extensions/healthie/actions/getFormAnswers/getFormAnswers.test.js +2 -2
- package/dist/extensions/healthie/actions/getFormAnswers/getFormAnswers.test.js.map +1 -1
- package/dist/extensions/healthie/actions/getMetricEntry/getMetricEntry.js +3 -3
- package/dist/extensions/healthie/actions/getMetricEntry/getMetricEntry.js.map +1 -1
- package/dist/extensions/healthie/actions/getMetricEntry/getMetricEntry.test.js +4 -4
- package/dist/extensions/healthie/actions/getMetricEntry/getMetricEntry.test.js.map +1 -1
- package/dist/extensions/healthie/actions/getPatient/getPatient.js +3 -3
- package/dist/extensions/healthie/actions/getPatient/getPatient.js.map +1 -1
- package/dist/extensions/healthie/actions/getPatient/getPatient.test.js +4 -4
- package/dist/extensions/healthie/actions/getPatient/getPatient.test.js.map +1 -1
- package/dist/extensions/healthie/actions/getSetPasswordLink/config/datapoints.d.ts +6 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/config/datapoints.js +10 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/config/datapoints.js.map +1 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/config/fields.d.ts +18 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/config/fields.js +21 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/config/index.d.ts +2 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/config/index.js +9 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/getSetPasswordLink.d.ts +4 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/getSetPasswordLink.js +39 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/getSetPasswordLink.js.map +1 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/getSetPasswordLink.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/getSetPasswordLink.test.js +48 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/getSetPasswordLink.test.js.map +1 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/index.js +18 -0
- package/dist/extensions/healthie/actions/getSetPasswordLink/index.js.map +1 -0
- package/dist/extensions/healthie/actions/index.d.ts +56 -1
- package/dist/extensions/healthie/actions/index.js +4 -0
- package/dist/extensions/healthie/actions/index.js.map +1 -1
- package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.js +3 -3
- package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.js.map +1 -1
- package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.test.js +4 -4
- package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.test.js.map +1 -1
- package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.js +3 -3
- package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.js.map +1 -1
- package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.test.js +4 -4
- package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.test.js.map +1 -1
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.js +3 -3
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.js.map +1 -1
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.test.js +4 -4
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.test.js.map +1 -1
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.js +3 -3
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.js.map +1 -1
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.test.js +4 -4
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.test.js.map +1 -1
- package/dist/extensions/healthie/actions/updatePatientQuickNote/updatePatientQuickNote.js +3 -3
- package/dist/extensions/healthie/actions/updatePatientQuickNote/updatePatientQuickNote.js.map +1 -1
- package/dist/extensions/healthie/actions/updatePatientQuickNote/updatePatientQuickNote.test.js +4 -4
- package/dist/extensions/healthie/actions/updatePatientQuickNote/updatePatientQuickNote.test.js.map +1 -1
- package/dist/extensions/healthie/index.js +1 -1
- package/dist/extensions/healthie/index.js.map +1 -1
- package/dist/extensions/healthie/lib/sdk/genql/HealthieSdk.d.ts +29 -0
- package/dist/extensions/healthie/lib/sdk/genql/HealthieSdk.js +30 -0
- package/dist/extensions/healthie/lib/sdk/genql/HealthieSdk.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generateSdk.d.ts +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generateSdk.js +21 -0
- package/dist/extensions/healthie/lib/sdk/genql/generateSdk.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/index.d.ts +29 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/index.js +51 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/index.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/batcher.d.ts +105 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/batcher.js +205 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/batcher.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/createClient.d.ts +23 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/createClient.js +29 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/createClient.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/error.d.ts +18 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/error.js +20 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/error.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/fetcher.d.ts +10 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/fetcher.js +72 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/fetcher.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/generateGraphqlOperation.d.ts +30 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/generateGraphqlOperation.js +134 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/generateGraphqlOperation.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/index.d.ts +11 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/index.js +19 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/index.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/linkTypeMap.d.ts +9 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/linkTypeMap.js +102 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/linkTypeMap.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/typeSelection.d.ts +28 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/typeSelection.js +5 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/typeSelection.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/types.d.ts +55 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/types.js +4 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/runtime/types.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/schema.d.ts +42906 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/schema.js +5072 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/schema.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/types.d.ts +14934 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/types.js +39502 -0
- package/dist/extensions/healthie/lib/sdk/genql/generated/types.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/genql/index.d.ts +2 -0
- package/dist/extensions/healthie/lib/sdk/genql/index.js +21 -0
- package/dist/extensions/healthie/lib/sdk/genql/index.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/graphql-codegen/codegen.d.ts +7 -0
- package/dist/extensions/healthie/lib/sdk/{codegen.js → graphql-codegen/codegen.js} +6 -2
- package/dist/extensions/healthie/lib/sdk/graphql-codegen/codegen.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/{createSdk.d.ts → graphql-codegen/createSdk.d.ts} +5 -1
- package/dist/extensions/healthie/lib/sdk/{createSdk.js → graphql-codegen/createSdk.js} +4 -1
- package/dist/extensions/healthie/lib/sdk/graphql-codegen/createSdk.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/graphql-codegen/errors.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/{generated → graphql-codegen/generated}/sdk.d.ts +147 -34
- package/dist/extensions/healthie/lib/sdk/{generated → graphql-codegen/generated}/sdk.js +475 -383
- package/dist/extensions/healthie/lib/sdk/graphql-codegen/generated/sdk.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/{graphqlClient.d.ts → graphql-codegen/graphqlClient.d.ts} +5 -1
- package/dist/extensions/healthie/lib/sdk/{graphqlClient.js → graphql-codegen/graphqlClient.js} +4 -0
- package/dist/extensions/healthie/lib/sdk/graphql-codegen/graphqlClient.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/graphql-codegen/graphqlClient.test.d.ts +1 -0
- package/dist/extensions/healthie/lib/sdk/graphql-codegen/graphqlClient.test.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/validatePayloadAndCreateSdk.d.ts +7 -1
- package/dist/extensions/healthie/lib/sdk/validatePayloadAndCreateSdk.js +12 -4
- package/dist/extensions/healthie/lib/sdk/validatePayloadAndCreateSdk.js.map +1 -1
- package/dist/extensions/healthie/lib/types.d.ts +1 -1
- package/dist/extensions/healthie/lib/validation/getPatient.zod.d.ts +1 -1
- package/dist/extensions/healthie/webhooks/appliedTagCreated.js +2 -2
- package/dist/extensions/healthie/webhooks/appliedTagCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appliedTagDeleted.js +6 -3
- package/dist/extensions/healthie/webhooks/appliedTagDeleted.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appointmentCreated.js +2 -2
- package/dist/extensions/healthie/webhooks/appointmentCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appointmentDeleted.js +2 -2
- package/dist/extensions/healthie/webhooks/appointmentDeleted.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appointmentUpdated.js +2 -2
- package/dist/extensions/healthie/webhooks/appointmentUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupCreated.js +3 -3
- package/dist/extensions/healthie/webhooks/formAnswerGroupCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupDeleted.js +2 -2
- package/dist/extensions/healthie/webhooks/formAnswerGroupDeleted.js.map +1 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupLocked.js +2 -2
- package/dist/extensions/healthie/webhooks/formAnswerGroupLocked.js.map +1 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupSigned.js +2 -2
- package/dist/extensions/healthie/webhooks/formAnswerGroupSigned.js.map +1 -1
- package/dist/extensions/healthie/webhooks/goalCreated.js +3 -3
- package/dist/extensions/healthie/webhooks/goalCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/goalUpdated.js +3 -3
- package/dist/extensions/healthie/webhooks/goalUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/labOrderCreated.js +2 -2
- package/dist/extensions/healthie/webhooks/labOrderCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/labOrderUpdated.js +2 -2
- package/dist/extensions/healthie/webhooks/labOrderUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/messageCreated.js +7 -5
- package/dist/extensions/healthie/webhooks/messageCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/messageDeleted.js +6 -4
- package/dist/extensions/healthie/webhooks/messageDeleted.js.map +1 -1
- package/dist/extensions/healthie/webhooks/metricEntryCreated.js +2 -2
- package/dist/extensions/healthie/webhooks/metricEntryCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/metricEntryUpdated.js +2 -2
- package/dist/extensions/healthie/webhooks/metricEntryUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/requestedFormCompletionCreated.js +5 -3
- package/dist/extensions/healthie/webhooks/requestedFormCompletionCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/requestedFormCompletionUpdated.js +5 -3
- package/dist/extensions/healthie/webhooks/requestedFormCompletionUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/taskCreated.js +2 -2
- package/dist/extensions/healthie/webhooks/taskCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/taskUpdated.js +3 -3
- package/dist/extensions/healthie/webhooks/taskUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/webhooks.test.js +4 -4
- package/dist/extensions/healthie/webhooks/webhooks.test.js.map +1 -1
- package/dist/extensions/index.js +2 -0
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/markdown.json +4 -0
- package/dist/extensions/shelly/actions/index.d.ts +34 -0
- package/dist/extensions/shelly/actions/index.js +8 -0
- package/dist/extensions/shelly/actions/index.js.map +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/config/datapoints.d.ts +6 -0
- package/dist/extensions/shelly/actions/summarizeForm/config/datapoints.js +10 -0
- package/dist/extensions/shelly/actions/summarizeForm/config/datapoints.js.map +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/config/fields.d.ts +18 -0
- package/dist/extensions/shelly/actions/summarizeForm/config/fields.js +21 -0
- package/dist/extensions/shelly/actions/summarizeForm/config/fields.js.map +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/config/index.d.ts +2 -0
- package/dist/extensions/shelly/actions/summarizeForm/config/index.js +9 -0
- package/dist/extensions/shelly/actions/summarizeForm/config/index.js.map +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/index.d.ts +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/index.js +6 -0
- package/dist/extensions/shelly/actions/summarizeForm/index.js.map +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/lib/getResponseText/getResponseText.d.ts +12 -0
- package/dist/extensions/shelly/actions/summarizeForm/lib/getResponseText/getResponseText.js +73 -0
- package/dist/extensions/shelly/actions/summarizeForm/lib/getResponseText/getResponseText.js.map +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/lib/getResponseText/index.d.ts +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/lib/getResponseText/index.js +6 -0
- package/dist/extensions/shelly/actions/summarizeForm/lib/getResponseText/index.js.map +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/summarizeForm.d.ts +4 -0
- package/dist/extensions/shelly/actions/summarizeForm/summarizeForm.js +65 -0
- package/dist/extensions/shelly/actions/summarizeForm/summarizeForm.js.map +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/summarizeForm.test.d.ts +1 -0
- package/dist/extensions/shelly/actions/summarizeForm/summarizeForm.test.js +57 -0
- package/dist/extensions/shelly/actions/summarizeForm/summarizeForm.test.js.map +1 -0
- package/dist/extensions/shelly/index.d.ts +2 -0
- package/dist/extensions/shelly/index.js +22 -0
- package/dist/extensions/shelly/index.js.map +1 -0
- package/dist/extensions/shelly/lib/constants.d.ts +1 -0
- package/dist/extensions/shelly/lib/constants.js +5 -0
- package/dist/extensions/shelly/lib/constants.js.map +1 -0
- package/dist/extensions/shelly/lib/index.d.ts +1 -0
- package/dist/extensions/shelly/lib/index.js +6 -0
- package/dist/extensions/shelly/lib/index.js.map +1 -0
- package/dist/extensions/shelly/lib/utils/getLatestFormInStep.d.ts +11 -0
- package/dist/extensions/shelly/lib/utils/getLatestFormInStep.js +79 -0
- package/dist/extensions/shelly/lib/utils/getLatestFormInStep.js.map +1 -0
- package/dist/extensions/shelly/lib/utils/index.d.ts +1 -0
- package/dist/extensions/shelly/lib/utils/index.js +6 -0
- package/dist/extensions/shelly/lib/utils/index.js.map +1 -0
- package/dist/extensions/shelly/lib/validatePayloadAndCreateSdk.d.ts +18 -0
- package/dist/extensions/shelly/lib/validatePayloadAndCreateSdk.js +31 -0
- package/dist/extensions/shelly/lib/validatePayloadAndCreateSdk.js.map +1 -0
- package/dist/extensions/shelly/settings.d.ts +37 -0
- package/dist/extensions/shelly/settings.js +33 -0
- package/dist/extensions/shelly/settings.js.map +1 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/fields.d.ts +1 -1
- package/package.json +8 -4
- package/dist/extensions/healthie/lib/sdk/codegen.d.ts +0 -3
- package/dist/extensions/healthie/lib/sdk/codegen.js.map +0 -1
- package/dist/extensions/healthie/lib/sdk/createSdk.js.map +0 -1
- package/dist/extensions/healthie/lib/sdk/errors.js.map +0 -1
- package/dist/extensions/healthie/lib/sdk/generated/sdk.js.map +0 -1
- package/dist/extensions/healthie/lib/sdk/graphqlClient.js.map +0 -1
- package/dist/extensions/healthie/lib/sdk/graphqlClient.test.js.map +0 -1
- /package/dist/extensions/healthie/{lib/sdk/graphqlClient.test.d.ts → actions/deleteGoal/deleteGoal.test.d.ts} +0 -0
- /package/dist/extensions/healthie/lib/sdk/{errors.d.ts → graphql-codegen/errors.d.ts} +0 -0
- /package/dist/extensions/healthie/lib/sdk/{errors.js → graphql-codegen/errors.js} +0 -0
- /package/dist/extensions/healthie/lib/sdk/{graphqlClient.test.js → graphql-codegen/graphqlClient.test.js} +0 -0
@@ -612,495 +612,571 @@ var WebhookOrderKeys;
|
|
612
612
|
WebhookOrderKeys["UrlDesc"] = "URL_DESC";
|
613
613
|
})(WebhookOrderKeys = exports.WebhookOrderKeys || (exports.WebhookOrderKeys = {}));
|
614
614
|
exports.ApplyTagsToUserDocument = (0, graphql_tag_1.default) `
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
615
|
+
mutation applyTagsToUser($ids: [ID], $taggable_user_id: ID) {
|
616
|
+
bulkApply(input: { ids: $ids, taggable_user_id: $taggable_user_id }) {
|
617
|
+
tags {
|
618
|
+
id
|
619
|
+
name
|
620
|
+
}
|
621
|
+
messages {
|
622
|
+
field
|
623
|
+
message
|
624
|
+
}
|
624
625
|
}
|
625
626
|
}
|
626
|
-
|
627
|
-
`;
|
627
|
+
`;
|
628
628
|
exports.CreateAppointmentDocument = (0, graphql_tag_1.default) `
|
629
|
-
|
630
|
-
|
631
|
-
|
629
|
+
mutation createAppointment(
|
630
|
+
$user_id: String
|
631
|
+
$appointment_type_id: String
|
632
|
+
$contact_type: String
|
633
|
+
$other_party_id: String
|
634
|
+
$datetime: String
|
635
|
+
$metadata: JSON
|
632
636
|
) {
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
637
|
+
createAppointment(
|
638
|
+
input: {
|
639
|
+
user_id: $user_id
|
640
|
+
appointment_type_id: $appointment_type_id
|
641
|
+
contact_type: $contact_type
|
642
|
+
other_party_id: $other_party_id
|
643
|
+
datetime: $datetime
|
644
|
+
metadata: $metadata
|
645
|
+
}
|
646
|
+
) {
|
647
|
+
appointment {
|
648
|
+
id
|
649
|
+
}
|
650
|
+
messages {
|
651
|
+
field
|
652
|
+
message
|
653
|
+
}
|
639
654
|
}
|
640
655
|
}
|
641
|
-
|
642
|
-
`;
|
656
|
+
`;
|
643
657
|
exports.CreateConversationDocument = (0, graphql_tag_1.default) `
|
644
|
-
|
645
|
-
|
646
|
-
|
658
|
+
mutation createConversation(
|
659
|
+
$simple_added_users: String
|
660
|
+
$owner_id: ID
|
661
|
+
$name: String
|
647
662
|
) {
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
663
|
+
createConversation(
|
664
|
+
input: {
|
665
|
+
simple_added_users: $simple_added_users
|
666
|
+
owner_id: $owner_id
|
667
|
+
name: $name
|
668
|
+
}
|
669
|
+
) {
|
670
|
+
conversation {
|
671
|
+
id
|
672
|
+
}
|
673
|
+
messages {
|
674
|
+
field
|
675
|
+
message
|
676
|
+
}
|
654
677
|
}
|
655
678
|
}
|
656
|
-
|
657
|
-
`;
|
679
|
+
`;
|
658
680
|
exports.CreateEntryDocument = (0, graphql_tag_1.default) `
|
659
|
-
|
660
|
-
|
661
|
-
|
681
|
+
mutation createEntry(
|
682
|
+
$metric_stat: String
|
683
|
+
$category: String
|
684
|
+
$type: String
|
685
|
+
$user_id: String
|
686
|
+
$created_at: String
|
662
687
|
) {
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
688
|
+
createEntry(
|
689
|
+
input: {
|
690
|
+
category: $category
|
691
|
+
type: $type
|
692
|
+
metric_stat: $metric_stat
|
693
|
+
user_id: $user_id
|
694
|
+
created_at: $created_at
|
695
|
+
}
|
696
|
+
) {
|
697
|
+
entry {
|
698
|
+
id
|
699
|
+
}
|
700
|
+
messages {
|
701
|
+
field
|
702
|
+
message
|
703
|
+
}
|
669
704
|
}
|
670
705
|
}
|
671
|
-
|
672
|
-
`;
|
706
|
+
`;
|
673
707
|
exports.CreateFormAnswerGroupDocument = (0, graphql_tag_1.default) `
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
708
|
+
mutation createFormAnswerGroup($input: createFormAnswerGroupInput!) {
|
709
|
+
createFormAnswerGroup(input: $input) {
|
710
|
+
form_answer_group {
|
711
|
+
id
|
712
|
+
}
|
713
|
+
messages {
|
714
|
+
field
|
715
|
+
message
|
716
|
+
}
|
682
717
|
}
|
683
718
|
}
|
684
|
-
|
685
|
-
`;
|
719
|
+
`;
|
686
720
|
exports.CreateFormCompletionRequestDocument = (0, graphql_tag_1.default) `
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
721
|
+
mutation createFormCompletionRequest($input: createRequestedFormInput!) {
|
722
|
+
createRequestedFormCompletion(input: $input) {
|
723
|
+
requestedFormCompletion {
|
724
|
+
id
|
725
|
+
}
|
726
|
+
messages {
|
727
|
+
field
|
728
|
+
message
|
729
|
+
}
|
695
730
|
}
|
696
731
|
}
|
697
|
-
|
698
|
-
`;
|
732
|
+
`;
|
699
733
|
exports.CreateGoalDocument = (0, graphql_tag_1.default) `
|
700
|
-
|
701
|
-
|
702
|
-
|
734
|
+
mutation createGoal(
|
735
|
+
$name: String
|
736
|
+
$user_id: String
|
737
|
+
$program_goal: Boolean
|
738
|
+
$repeat: String
|
739
|
+
$due_date: String
|
740
|
+
$start_on: String
|
741
|
+
$reminder: ReminderInput
|
742
|
+
$care_plan_id: ID
|
743
|
+
$title_link: String
|
703
744
|
) {
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
745
|
+
createGoal(
|
746
|
+
input: {
|
747
|
+
name: $name
|
748
|
+
user_id: $user_id
|
749
|
+
program_goal: $program_goal
|
750
|
+
repeat: $repeat
|
751
|
+
due_date: $due_date
|
752
|
+
start_on: $start_on
|
753
|
+
reminder: $reminder
|
754
|
+
care_plan_id: $care_plan_id
|
755
|
+
title_link: $title_link
|
756
|
+
}
|
757
|
+
) {
|
758
|
+
goal {
|
759
|
+
id
|
760
|
+
}
|
761
|
+
messages {
|
762
|
+
field
|
763
|
+
message
|
764
|
+
}
|
710
765
|
}
|
711
766
|
}
|
712
|
-
|
713
|
-
`;
|
767
|
+
`;
|
714
768
|
exports.CreateJournalEntryDocument = (0, graphql_tag_1.default) `
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
769
|
+
mutation createJournalEntry($input: createEntryInput!) {
|
770
|
+
createEntry(input: $input) {
|
771
|
+
entry {
|
772
|
+
id
|
773
|
+
}
|
774
|
+
messages {
|
775
|
+
field
|
776
|
+
message
|
777
|
+
}
|
723
778
|
}
|
724
779
|
}
|
725
|
-
|
726
|
-
`;
|
780
|
+
`;
|
727
781
|
exports.CreateLocationDocument = (0, graphql_tag_1.default) `
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
782
|
+
mutation createLocation($input: createLocationInput!) {
|
783
|
+
createLocation(input: $input) {
|
784
|
+
location {
|
785
|
+
id
|
786
|
+
name
|
787
|
+
line1
|
788
|
+
zip
|
789
|
+
}
|
790
|
+
messages {
|
791
|
+
field
|
792
|
+
message
|
793
|
+
}
|
739
794
|
}
|
740
795
|
}
|
741
|
-
|
742
|
-
`;
|
796
|
+
`;
|
743
797
|
exports.CreatePatientDocument = (0, graphql_tag_1.default) `
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
798
|
+
mutation createPatient($input: createClientInput!) {
|
799
|
+
createClient(input: $input) {
|
800
|
+
user {
|
801
|
+
id
|
802
|
+
}
|
803
|
+
messages {
|
804
|
+
field
|
805
|
+
message
|
806
|
+
}
|
752
807
|
}
|
753
808
|
}
|
754
|
-
|
755
|
-
`;
|
809
|
+
`;
|
756
810
|
exports.CreateTaskDocument = (0, graphql_tag_1.default) `
|
757
|
-
|
758
|
-
|
759
|
-
|
811
|
+
mutation createTask(
|
812
|
+
$content: String
|
813
|
+
$user_id: String
|
814
|
+
$priority: Int
|
815
|
+
$client_id: String
|
816
|
+
$due_date: String
|
817
|
+
$reminder: TaskReminderInput
|
760
818
|
) {
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
819
|
+
createTask(
|
820
|
+
input: {
|
821
|
+
content: $content
|
822
|
+
user_id: $user_id
|
823
|
+
priority: $priority
|
824
|
+
client_id: $client_id
|
825
|
+
due_date: $due_date
|
826
|
+
reminder: $reminder
|
827
|
+
}
|
828
|
+
) {
|
829
|
+
task {
|
830
|
+
id
|
831
|
+
}
|
832
|
+
messages {
|
833
|
+
field
|
834
|
+
message
|
835
|
+
}
|
767
836
|
}
|
768
837
|
}
|
769
|
-
|
770
|
-
`;
|
838
|
+
`;
|
771
839
|
exports.DeleteAppointmentDocument = (0, graphql_tag_1.default) `
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
840
|
+
mutation deleteAppointment($id: ID, $deleteRecurring: Boolean) {
|
841
|
+
deleteAppointment(input: { id: $id, deleteRecurring: $deleteRecurring }) {
|
842
|
+
appointment {
|
843
|
+
id
|
844
|
+
}
|
845
|
+
messages {
|
846
|
+
field
|
847
|
+
message
|
848
|
+
}
|
780
849
|
}
|
781
850
|
}
|
782
|
-
|
783
|
-
`;
|
851
|
+
`;
|
784
852
|
exports.DeleteTaskDocument = (0, graphql_tag_1.default) `
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
853
|
+
mutation deleteTask($id: ID) {
|
854
|
+
deleteTask(input: { id: $id }) {
|
855
|
+
task {
|
856
|
+
id
|
857
|
+
}
|
858
|
+
messages {
|
859
|
+
field
|
860
|
+
message
|
861
|
+
}
|
793
862
|
}
|
794
863
|
}
|
795
|
-
|
796
|
-
`;
|
864
|
+
`;
|
797
865
|
exports.GetAppliedTagDocument = (0, graphql_tag_1.default) `
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
id
|
802
|
-
tag_id
|
803
|
-
updated_at
|
804
|
-
user_id
|
805
|
-
}
|
806
|
-
}
|
807
|
-
`;
|
808
|
-
exports.GetAppointmentDocument = (0, graphql_tag_1.default) `
|
809
|
-
query getAppointment($id: ID, $include_deleted: Boolean = false) {
|
810
|
-
appointment(id: $id, include_deleted: $include_deleted) {
|
811
|
-
id
|
812
|
-
date
|
813
|
-
contact_type
|
814
|
-
pm_status
|
815
|
-
provider {
|
816
|
-
id
|
817
|
-
full_name
|
818
|
-
}
|
819
|
-
user {
|
866
|
+
query getAppliedTag($id: ID!, $include_deleted: Boolean = false) {
|
867
|
+
appliedTag(id: $id, include_deleted: $include_deleted) {
|
868
|
+
created_at
|
820
869
|
id
|
821
|
-
|
870
|
+
tag_id
|
871
|
+
updated_at
|
872
|
+
user_id
|
822
873
|
}
|
823
|
-
|
874
|
+
}
|
875
|
+
`;
|
876
|
+
exports.GetAppointmentDocument = (0, graphql_tag_1.default) `
|
877
|
+
query getAppointment($id: ID, $include_deleted: Boolean = false) {
|
878
|
+
appointment(id: $id, include_deleted: $include_deleted) {
|
824
879
|
id
|
825
|
-
|
880
|
+
date
|
881
|
+
contact_type
|
882
|
+
pm_status
|
883
|
+
provider {
|
884
|
+
id
|
885
|
+
full_name
|
886
|
+
}
|
887
|
+
user {
|
888
|
+
id
|
889
|
+
full_name
|
890
|
+
}
|
891
|
+
appointment_type {
|
892
|
+
id
|
893
|
+
name
|
894
|
+
}
|
826
895
|
}
|
827
896
|
}
|
828
|
-
|
829
|
-
`;
|
897
|
+
`;
|
830
898
|
exports.GetConversationDocument = (0, graphql_tag_1.default) `
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
899
|
+
query getConversation($id: ID) {
|
900
|
+
conversation(id: $id) {
|
901
|
+
id
|
902
|
+
patient_id
|
903
|
+
}
|
835
904
|
}
|
836
|
-
|
837
|
-
`;
|
905
|
+
`;
|
838
906
|
exports.GetConversationListDocument = (0, graphql_tag_1.default) `
|
839
|
-
|
840
|
-
|
841
|
-
keywords:
|
842
|
-
active_status:
|
843
|
-
client_id:
|
844
|
-
read_status:
|
845
|
-
conversation_type:
|
846
|
-
provider_id:
|
847
|
-
)
|
848
|
-
conversationMemberships(
|
849
|
-
offset: $offset
|
850
|
-
keywords: $keywords
|
851
|
-
active_status: $active_status
|
852
|
-
client_id: $client_id
|
853
|
-
read_status: $read_status
|
854
|
-
conversation_type: $conversation_type
|
855
|
-
provider_id: $provider_id
|
907
|
+
query getConversationList(
|
908
|
+
$offset: Int
|
909
|
+
$keywords: String
|
910
|
+
$active_status: String
|
911
|
+
$client_id: String
|
912
|
+
$read_status: String
|
913
|
+
$conversation_type: String
|
914
|
+
$provider_id: ID
|
856
915
|
) {
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
916
|
+
conversationMembershipsCount(
|
917
|
+
keywords: $keywords
|
918
|
+
active_status: $active_status
|
919
|
+
client_id: $client_id
|
920
|
+
read_status: $read_status
|
921
|
+
conversation_type: $conversation_type
|
922
|
+
provider_id: $provider_id
|
923
|
+
)
|
924
|
+
conversationMemberships(
|
925
|
+
offset: $offset
|
926
|
+
keywords: $keywords
|
927
|
+
active_status: $active_status
|
928
|
+
client_id: $client_id
|
929
|
+
read_status: $read_status
|
930
|
+
conversation_type: $conversation_type
|
931
|
+
provider_id: $provider_id
|
932
|
+
) {
|
862
933
|
id
|
863
|
-
|
864
|
-
|
934
|
+
display_name
|
935
|
+
archived
|
936
|
+
viewed
|
937
|
+
convo {
|
865
938
|
id
|
939
|
+
conversation_memberships_count
|
940
|
+
owner {
|
941
|
+
id
|
942
|
+
}
|
866
943
|
}
|
867
944
|
}
|
868
945
|
}
|
869
|
-
|
870
|
-
`;
|
946
|
+
`;
|
871
947
|
exports.GetFormAnswerGroupDocument = (0, graphql_tag_1.default) `
|
872
|
-
|
873
|
-
|
874
|
-
id
|
875
|
-
finished
|
876
|
-
user {
|
877
|
-
id
|
878
|
-
dietitian_id
|
879
|
-
}
|
880
|
-
custom_module_form {
|
881
|
-
id
|
882
|
-
}
|
883
|
-
form_answers {
|
948
|
+
query getFormAnswerGroup($id: ID) {
|
949
|
+
formAnswerGroup(id: $id) {
|
884
950
|
id
|
885
|
-
|
886
|
-
|
951
|
+
finished
|
952
|
+
user {
|
953
|
+
id
|
954
|
+
dietitian_id
|
955
|
+
}
|
956
|
+
custom_module_form {
|
957
|
+
id
|
958
|
+
}
|
959
|
+
form_answers {
|
960
|
+
id
|
961
|
+
label
|
962
|
+
answer
|
963
|
+
}
|
887
964
|
}
|
888
965
|
}
|
889
|
-
|
890
|
-
`;
|
966
|
+
`;
|
891
967
|
exports.GetFormTemplateDocument = (0, graphql_tag_1.default) `
|
892
|
-
|
893
|
-
|
894
|
-
id
|
895
|
-
name
|
896
|
-
use_for_charting
|
897
|
-
use_for_program
|
898
|
-
prefill
|
899
|
-
has_matrix_field
|
900
|
-
is_video
|
901
|
-
has_non_readonly_modules
|
902
|
-
custom_modules {
|
968
|
+
query getFormTemplate($id: ID) {
|
969
|
+
customModuleForm(id: $id) {
|
903
970
|
id
|
904
|
-
|
905
|
-
|
971
|
+
name
|
972
|
+
use_for_charting
|
973
|
+
use_for_program
|
974
|
+
prefill
|
975
|
+
has_matrix_field
|
976
|
+
is_video
|
977
|
+
has_non_readonly_modules
|
978
|
+
custom_modules {
|
979
|
+
id
|
980
|
+
mod_type
|
981
|
+
label
|
982
|
+
}
|
906
983
|
}
|
907
984
|
}
|
908
|
-
|
909
|
-
`;
|
985
|
+
`;
|
910
986
|
exports.GetGoalDocument = (0, graphql_tag_1.default) `
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
987
|
+
query getGoal($id: ID!) {
|
988
|
+
goal(id: $id) {
|
989
|
+
id
|
990
|
+
user_id
|
991
|
+
}
|
915
992
|
}
|
916
|
-
|
917
|
-
`;
|
993
|
+
`;
|
918
994
|
exports.GetLabOrderDocument = (0, graphql_tag_1.default) `
|
919
|
-
|
920
|
-
|
921
|
-
id
|
922
|
-
created_at
|
923
|
-
patient {
|
995
|
+
query getLabOrder($id: ID!) {
|
996
|
+
labOrder(id: $id) {
|
924
997
|
id
|
998
|
+
created_at
|
999
|
+
patient {
|
1000
|
+
id
|
1001
|
+
}
|
925
1002
|
}
|
926
1003
|
}
|
927
|
-
|
928
|
-
`;
|
1004
|
+
`;
|
929
1005
|
exports.GetMessageDocument = (0, graphql_tag_1.default) `
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
1006
|
+
query getMessage($id: ID) {
|
1007
|
+
note(id: $id) {
|
1008
|
+
id
|
1009
|
+
conversation_id
|
1010
|
+
}
|
934
1011
|
}
|
935
|
-
|
936
|
-
`;
|
1012
|
+
`;
|
937
1013
|
exports.GetMetricEntryDocument = (0, graphql_tag_1.default) `
|
938
|
-
|
939
|
-
|
940
|
-
id
|
941
|
-
category
|
942
|
-
poster {
|
1014
|
+
query getMetricEntry($id: ID!) {
|
1015
|
+
entry(id: $id, type: "MetricEntry") {
|
943
1016
|
id
|
1017
|
+
category
|
1018
|
+
poster {
|
1019
|
+
id
|
1020
|
+
}
|
944
1021
|
}
|
945
1022
|
}
|
946
|
-
|
947
|
-
`;
|
1023
|
+
`;
|
948
1024
|
exports.GetRequestedFormCompletionDocument = (0, graphql_tag_1.default) `
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
1025
|
+
query getRequestedFormCompletion($id: ID!) {
|
1026
|
+
requestedFormCompletion(id: $id) {
|
1027
|
+
id
|
1028
|
+
recipient_id
|
1029
|
+
}
|
953
1030
|
}
|
954
|
-
|
955
|
-
`;
|
1031
|
+
`;
|
956
1032
|
exports.GetScheduledAppointmentsDocument = (0, graphql_tag_1.default) `
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
1033
|
+
query getScheduledAppointments($user_id: ID, $appointment_type_id: ID) {
|
1034
|
+
appointments(
|
1035
|
+
user_id: $user_id
|
1036
|
+
filter_by_appointment_type_id: $appointment_type_id
|
1037
|
+
is_active: true
|
1038
|
+
should_paginate: false
|
1039
|
+
filter: "future"
|
1040
|
+
) {
|
1041
|
+
id
|
1042
|
+
}
|
966
1043
|
}
|
967
|
-
|
968
|
-
`;
|
1044
|
+
`;
|
969
1045
|
exports.GetTaskDocument = (0, graphql_tag_1.default) `
|
970
|
-
|
971
|
-
|
972
|
-
id
|
973
|
-
created_at
|
974
|
-
client_id
|
975
|
-
}
|
976
|
-
}
|
977
|
-
`;
|
978
|
-
exports.GetUserDocument = (0, graphql_tag_1.default) `
|
979
|
-
query getUser($id: ID) {
|
980
|
-
user(id: $id) {
|
981
|
-
id
|
982
|
-
first_name
|
983
|
-
last_name
|
984
|
-
dob
|
985
|
-
gender
|
986
|
-
email
|
987
|
-
phone_number
|
988
|
-
next_appt_date
|
989
|
-
dietitian_id
|
990
|
-
quick_notes
|
991
|
-
user_group {
|
1046
|
+
query getTask($id: ID!) {
|
1047
|
+
task(id: $id) {
|
992
1048
|
id
|
993
|
-
|
1049
|
+
created_at
|
1050
|
+
client_id
|
994
1051
|
}
|
995
|
-
|
1052
|
+
}
|
1053
|
+
`;
|
1054
|
+
exports.GetUserDocument = (0, graphql_tag_1.default) `
|
1055
|
+
query getUser($id: ID) {
|
1056
|
+
user(id: $id) {
|
996
1057
|
id
|
997
|
-
active
|
998
1058
|
first_name
|
999
1059
|
last_name
|
1060
|
+
dob
|
1061
|
+
gender
|
1000
1062
|
email
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1063
|
+
phone_number
|
1064
|
+
next_appt_date
|
1065
|
+
dietitian_id
|
1066
|
+
quick_notes
|
1067
|
+
user_group {
|
1068
|
+
id
|
1069
|
+
name
|
1070
|
+
}
|
1071
|
+
providers {
|
1072
|
+
id
|
1073
|
+
active
|
1074
|
+
first_name
|
1075
|
+
last_name
|
1076
|
+
email
|
1077
|
+
}
|
1078
|
+
active_tags {
|
1079
|
+
id
|
1080
|
+
}
|
1004
1081
|
}
|
1005
1082
|
}
|
1006
|
-
|
1007
|
-
`;
|
1083
|
+
`;
|
1008
1084
|
exports.EntriesDocument = (0, graphql_tag_1.default) `
|
1009
|
-
|
1010
|
-
|
1011
|
-
id
|
1012
|
-
metric_stat
|
1013
|
-
created_at
|
1014
|
-
}
|
1015
|
-
}
|
1016
|
-
`;
|
1017
|
-
exports.RemoveTagFromUserDocument = (0, graphql_tag_1.default) `
|
1018
|
-
mutation removeTagFromUser($id: ID, $taggable_user_id: ID) {
|
1019
|
-
removeAppliedTag(input: {id: $id, taggable_user_id: $taggable_user_id}) {
|
1020
|
-
tag {
|
1085
|
+
query entries($category: String, $type: String, $client_id: String) {
|
1086
|
+
entries(category: $category, type: $type, client_id: $client_id) {
|
1021
1087
|
id
|
1022
|
-
|
1088
|
+
metric_stat
|
1089
|
+
created_at
|
1023
1090
|
}
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1091
|
+
}
|
1092
|
+
`;
|
1093
|
+
exports.RemoveTagFromUserDocument = (0, graphql_tag_1.default) `
|
1094
|
+
mutation removeTagFromUser($id: ID, $taggable_user_id: ID) {
|
1095
|
+
removeAppliedTag(input: { id: $id, taggable_user_id: $taggable_user_id }) {
|
1096
|
+
tag {
|
1097
|
+
id
|
1098
|
+
name
|
1099
|
+
}
|
1100
|
+
messages {
|
1101
|
+
field
|
1102
|
+
message
|
1103
|
+
}
|
1027
1104
|
}
|
1028
1105
|
}
|
1029
|
-
|
1030
|
-
`;
|
1106
|
+
`;
|
1031
1107
|
exports.SendChatMessageDocument = (0, graphql_tag_1.default) `
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1108
|
+
mutation sendChatMessage($input: createNoteInput!) {
|
1109
|
+
createNote(input: $input) {
|
1110
|
+
messages {
|
1111
|
+
field
|
1112
|
+
message
|
1113
|
+
}
|
1114
|
+
note {
|
1115
|
+
id
|
1116
|
+
user_id
|
1117
|
+
recipient_id
|
1118
|
+
}
|
1042
1119
|
}
|
1043
1120
|
}
|
1044
|
-
|
1045
|
-
`;
|
1121
|
+
`;
|
1046
1122
|
exports.UpdateAppointmentDocument = (0, graphql_tag_1.default) `
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1123
|
+
mutation updateAppointment($input: updateAppointmentInput!) {
|
1124
|
+
updateAppointment(input: $input) {
|
1125
|
+
appointment {
|
1126
|
+
id
|
1127
|
+
date
|
1128
|
+
}
|
1129
|
+
messages {
|
1130
|
+
field
|
1131
|
+
message
|
1132
|
+
}
|
1056
1133
|
}
|
1057
1134
|
}
|
1058
|
-
|
1059
|
-
`;
|
1135
|
+
`;
|
1060
1136
|
exports.UpdateConversationDocument = (0, graphql_tag_1.default) `
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1137
|
+
mutation updateConversation($input: updateConversationInput!) {
|
1138
|
+
updateConversation(input: $input) {
|
1139
|
+
conversation {
|
1140
|
+
id
|
1141
|
+
}
|
1142
|
+
messages {
|
1143
|
+
field
|
1144
|
+
message
|
1145
|
+
}
|
1069
1146
|
}
|
1070
1147
|
}
|
1071
|
-
|
1072
|
-
`;
|
1148
|
+
`;
|
1073
1149
|
exports.UpdatePatientDocument = (0, graphql_tag_1.default) `
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1150
|
+
mutation updatePatient($input: updateClientInput!) {
|
1151
|
+
updateClient(input: $input) {
|
1152
|
+
user {
|
1153
|
+
id
|
1154
|
+
first_name
|
1155
|
+
last_name
|
1156
|
+
legal_name
|
1157
|
+
email
|
1158
|
+
quick_notes
|
1159
|
+
}
|
1160
|
+
messages {
|
1161
|
+
field
|
1162
|
+
message
|
1163
|
+
}
|
1087
1164
|
}
|
1088
1165
|
}
|
1089
|
-
|
1090
|
-
`;
|
1166
|
+
`;
|
1091
1167
|
exports.UpdateTaskDocument = (0, graphql_tag_1.default) `
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1168
|
+
mutation updateTask($input: updateTaskInput!) {
|
1169
|
+
updateTask(input: $input) {
|
1170
|
+
task {
|
1171
|
+
id
|
1172
|
+
}
|
1173
|
+
messages {
|
1174
|
+
field
|
1175
|
+
message
|
1176
|
+
}
|
1100
1177
|
}
|
1101
1178
|
}
|
1102
|
-
|
1103
|
-
`;
|
1179
|
+
`;
|
1104
1180
|
const defaultWrapper = (action, _operationName, _operationType) => action();
|
1105
1181
|
const ApplyTagsToUserDocumentString = (0, graphql_1.print)(exports.ApplyTagsToUserDocument);
|
1106
1182
|
const CreateAppointmentDocumentString = (0, graphql_1.print)(exports.CreateAppointmentDocument);
|
@@ -1136,6 +1212,10 @@ const UpdateAppointmentDocumentString = (0, graphql_1.print)(exports.UpdateAppoi
|
|
1136
1212
|
const UpdateConversationDocumentString = (0, graphql_1.print)(exports.UpdateConversationDocument);
|
1137
1213
|
const UpdatePatientDocumentString = (0, graphql_1.print)(exports.UpdatePatientDocument);
|
1138
1214
|
const UpdateTaskDocumentString = (0, graphql_1.print)(exports.UpdateTaskDocument);
|
1215
|
+
/**
|
1216
|
+
* @deprecated DO NOT USE
|
1217
|
+
* DO NOT USE
|
1218
|
+
*/
|
1139
1219
|
function getSdk(client, withWrapper = defaultWrapper) {
|
1140
1220
|
return {
|
1141
1221
|
applyTagsToUser(variables, requestHeaders) {
|
@@ -1196,7 +1276,10 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
1196
1276
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetFormTemplateDocumentString, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'getFormTemplate', 'query');
|
1197
1277
|
},
|
1198
1278
|
getGoal(variables, requestHeaders) {
|
1199
|
-
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetGoalDocumentString, variables, {
|
1279
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetGoalDocumentString, variables, {
|
1280
|
+
...requestHeaders,
|
1281
|
+
...wrappedRequestHeaders,
|
1282
|
+
}), 'getGoal', 'query');
|
1200
1283
|
},
|
1201
1284
|
getLabOrder(variables, requestHeaders) {
|
1202
1285
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabOrderDocumentString, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'getLabOrder', 'query');
|
@@ -1214,13 +1297,22 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
1214
1297
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetScheduledAppointmentsDocumentString, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'getScheduledAppointments', 'query');
|
1215
1298
|
},
|
1216
1299
|
getTask(variables, requestHeaders) {
|
1217
|
-
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetTaskDocumentString, variables, {
|
1300
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetTaskDocumentString, variables, {
|
1301
|
+
...requestHeaders,
|
1302
|
+
...wrappedRequestHeaders,
|
1303
|
+
}), 'getTask', 'query');
|
1218
1304
|
},
|
1219
1305
|
getUser(variables, requestHeaders) {
|
1220
|
-
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetUserDocumentString, variables, {
|
1306
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetUserDocumentString, variables, {
|
1307
|
+
...requestHeaders,
|
1308
|
+
...wrappedRequestHeaders,
|
1309
|
+
}), 'getUser', 'query');
|
1221
1310
|
},
|
1222
1311
|
entries(variables, requestHeaders) {
|
1223
|
-
return withWrapper((wrappedRequestHeaders) => client.rawRequest(EntriesDocumentString, variables, {
|
1312
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(EntriesDocumentString, variables, {
|
1313
|
+
...requestHeaders,
|
1314
|
+
...wrappedRequestHeaders,
|
1315
|
+
}), 'entries', 'query');
|
1224
1316
|
},
|
1225
1317
|
removeTagFromUser(variables, requestHeaders) {
|
1226
1318
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(RemoveTagFromUserDocumentString, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'removeTagFromUser', 'mutation');
|
@@ -1239,7 +1331,7 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
1239
1331
|
},
|
1240
1332
|
updateTask(variables, requestHeaders) {
|
1241
1333
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(UpdateTaskDocumentString, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'updateTask', 'mutation');
|
1242
|
-
}
|
1334
|
+
},
|
1243
1335
|
};
|
1244
1336
|
}
|
1245
1337
|
exports.getSdk = getSdk;
|