From c6aa1da501138f2da4f20f5e9d541feb64918564 Mon Sep 17 00:00:00 2001 From: josepfo Date: Tue, 15 Nov 2022 18:52:04 +0000 Subject: [PATCH] fix: add custom info request types --- lib/graphql/types.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/lib/graphql/types.js b/lib/graphql/types.js index 42e68067..e3278d64 100644 --- a/lib/graphql/types.js +++ b/lib/graphql/types.js @@ -58,6 +58,32 @@ type TriggersAutomation { usSsn: Boolean! } +type CustomScreen { + text: String! + title: String! +} + +type CustomInput { + type: String! + constraintType: String! + label1: String + label2: String + choiceList: [String] +} + +type CustomRequest { + name: String! + input: CustomInput! + screen1: CustomScreen! + screen2: CustomScreen! +} + +type CustomInfoRequest { + id: String! + enabled: Boolean! + customRequest: CustomRequest! +} + type Trigger { id: String! customInfoRequestId: String! @@ -68,6 +94,7 @@ type Trigger { suspensionDays: Float threshold: Int thresholdDays: Int + customInfoRequest: CustomInfoRequest } type TermsDetails {