Skip to content

Commit

Permalink
Enrich spec
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarrell76 committed Aug 28, 2024
1 parent 16b1d79 commit d449351
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Transcend Inc.",
"name": "@transcend-io/cli",
"description": "Small package containing useful typescript utilities.",
"version": "5.6.0",
"version": "5.7.0",
"homepage": "https://github.com/transcend-io/cli",
"repository": {
"type": "git",
Expand Down
21 changes: 21 additions & 0 deletions src/codecs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ export const EnricherInput = t.intersection([
* For looker integration - the title of the looker query to run
*/
lookerQueryTitle: t.string,
/**
* For looker integration - the slug of the looker query to run
*/
lookerQuerySlug: t.string,
/**
* The duration (in ms) that the enricher should take to execute.
*/
Expand All @@ -189,6 +193,23 @@ export const EnricherInput = t.intersection([
headers: t.array(WebhookHeader),
/** The privacy actions that the enricher should run against */
'privacy-actions': t.array(valuesOf(RequestAction)),
/** The title of the related data silo */
'data-silo': t.string,
/** The time after which a first reminder email is sent */
reminderTemplate1Duration: t.string,
/** The time after which a second reminder email is sent */
reminderTemplate2Duration: t.string,
/** The time after which a third reminder email is sent */
reminderTemplate3Duration: t.string,
/** The title of the email template to use upon trigger */
template: t.string,
/** The title of the email template to use upon continuation of the request but verification failed */
continuationTemplate: t.string,
/** The title of the email template to use upon verification failed and request cancelation */
requestVerificationFailedTemplate: t.string,
// FIXME identifier mapping with diffie hellman
// FIXME dependency
// FIXME cross-check identifiers against verification results
}),
]);

Expand Down

0 comments on commit d449351

Please sign in to comment.