Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Sync additional enricher configuration using tr-pull and tr-push #345

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading