fix: add custom info request types

This commit is contained in:
josepfo 2022-11-15 18:52:04 +00:00
parent 04a0d92a32
commit c6aa1da501

View file

@ -58,6 +58,32 @@ type TriggersAutomation {
usSsn: Boolean! 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 { type Trigger {
id: String! id: String!
customInfoRequestId: String! customInfoRequestId: String!
@ -68,6 +94,7 @@ type Trigger {
suspensionDays: Float suspensionDays: Float
threshold: Int threshold: Int
thresholdDays: Int thresholdDays: Int
customInfoRequest: CustomInfoRequest
} }
type TermsDetails { type TermsDetails {