Skip to content

Commit

Permalink
Signed data point (DocuSign, Dropbox Sign) (#204)
Browse files Browse the repository at this point in the history
* feat(): add signed data point to docu sign
* feat(): add signed data point to dropbox sign
  • Loading branch information
michal-grzelak authored Jul 28, 2023
1 parent d1b9d81 commit dee64de
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { type DataPointDefinition } from '@awell-health/extensions-core'

export const dataPoints = {
signed: {
key: 'signed',
valueType: 'boolean',
},
} satisfies Record<string, DataPointDefinition>
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { fields } from './fields'
export { dataPoints } from './dataPoints'
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type Action } from '@awell-health/extensions-core'
import { fields } from './config'
import { dataPoints, fields } from './config'
import { Category } from '@awell-health/extensions-core'
import { type settings } from '../../settings'
import { validateActionFields } from './config/fields'
Expand All @@ -13,6 +13,7 @@ export const embeddedSigning: Action<typeof fields, typeof settings> = {
'Let a stakeholder sign an embedded signature request with Awell Hosted Pages.',
category: Category.DOCUMENT_MANAGEMENT,
fields,
dataPoints,
options: {
stakeholders: {
label: 'Stakeholder',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { type DataPointDefinition } from '@awell-health/extensions-core'

export const dataPoints = {
signed: {
key: 'signed',
valueType: 'boolean',
},
} satisfies Record<string, DataPointDefinition>
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { fields } from './fields'
export { dataPoints } from './dataPoints'
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type Action } from '@awell-health/extensions-core'
import { fields } from './config'
import { dataPoints, fields } from './config'
import { Category } from '@awell-health/extensions-core'
import { type settings } from '../../../settings'
import { validateActionFields } from './config/fields'
Expand All @@ -13,6 +13,7 @@ export const embeddedSigning: Action<typeof fields, typeof settings> = {
'Let a stakeholder sign an embedded signature request with Awell Hosted Pages.',
category: Category.DOCUMENT_MANAGEMENT,
fields,
dataPoints,
options: {
stakeholders: {
label: 'Stakeholder',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awell-health/awell-extensions",
"version": "1.0.45",
"version": "1.0.46",
"packageManager": "[email protected]",
"main": "dist/src/index.js",
"repository": {
Expand Down

0 comments on commit dee64de

Please sign in to comment.