From d449351e407c0b973caecaf0b6fe058d646a93bb Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Wed, 28 Aug 2024 04:18:46 +0000 Subject: [PATCH] Enrich spec --- package.json | 2 +- src/codecs.ts | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a4d05c6a..1cde0ef5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/codecs.ts b/src/codecs.ts index 6c90c0d1..c36b2bb0 100644 --- a/src/codecs.ts +++ b/src/codecs.ts @@ -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. */ @@ -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 }), ]);