Merge pull request #1444 from josepfo/fix/add-custom-request-fields-on-gql

fix: add custom info request types
This commit is contained in:
Rafael Taranto 2022-11-16 11:18:52 +01:00 committed by GitHub
commit b7b9daf08c

View file

@ -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 {