mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-06 12:27:48 +00:00
NEROCKET-72 resolving from test findings.
This commit is contained in:
@@ -4,6 +4,6 @@ content:
|
|||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
workflow_session:
|
workflow:
|
||||||
type: object
|
type: object
|
||||||
$ref: "../../../schemas/POST/Workflows/AutomatedWorkflow.yaml"
|
$ref: "../../../schemas/POST/Workflows/AutomatedWorkflow.yaml"
|
||||||
@@ -4,6 +4,6 @@ content:
|
|||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
workflow_session:
|
workflow:
|
||||||
type: object
|
type: object
|
||||||
$ref: "../../../schemas/POST/Workflows/BatchWorkflow.yaml"
|
$ref: "../../../schemas/POST/Workflows/BatchWorkflow.yaml"
|
||||||
@@ -4,6 +4,6 @@ content:
|
|||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
workflow_session:
|
workflow:
|
||||||
type: object
|
type: object
|
||||||
$ref: "../../../schemas/POST/Workflows/CreateWorkflow.yaml"
|
$ref: "../../../schemas/POST/Workflows/CreateWorkflow.yaml"
|
||||||
@@ -4,6 +4,6 @@ content:
|
|||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
workflow_session:
|
workflow:
|
||||||
type: object
|
type: object
|
||||||
$ref: "../../../schemas/POST/Workflows/LoginWorkflow.yaml"
|
$ref: "../../../schemas/POST/Workflows/LoginWorkflow.yaml"
|
||||||
@@ -4,6 +4,6 @@ content:
|
|||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
workflow_session:
|
workflow:
|
||||||
type: object
|
type: object
|
||||||
$ref: "../../../schemas/POST/Workflows/UpdateWorkflow.yaml"
|
$ref: "../../../schemas/POST/Workflows/UpdateWorkflow.yaml"
|
||||||
@@ -22,10 +22,81 @@ properties:
|
|||||||
required: true
|
required: true
|
||||||
description: Name of the workflow
|
description: Name of the workflow
|
||||||
example: my_workflow
|
example: my_workflow
|
||||||
condition_rule_ids:
|
condition_rules_attributes:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
logical_operator:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
enum: ["AND", "OR"]
|
||||||
|
required: true
|
||||||
|
description: The type of condition rule.
|
||||||
|
example: "RiskRule"
|
||||||
|
comparison_operator:
|
||||||
|
type: string
|
||||||
|
enum: ["<", ">", "==", "before", "include?", "absent?", "after"]
|
||||||
|
required: true
|
||||||
|
description: The operator used by the condition rule.
|
||||||
|
example: ">"
|
||||||
|
condition_object_id:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: UUID for object targeted by the condition.
|
||||||
|
example: "cc844e99-9895-43d0-9d17-8f606b2158ba"
|
||||||
|
condition_object_type:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: Type of object targeted by the condition.
|
||||||
|
example: "DateAttribute"
|
||||||
|
secondary_value:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: Used for time_frame comparison.
|
||||||
|
example: "before"
|
||||||
|
tertiary_value:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: Represents the days of a temporal comparison.
|
||||||
|
example: "before"
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: The value being compared against.
|
||||||
|
example: "before"
|
||||||
|
order:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
required: false
|
||||||
|
description: If there are multiple rules against one workflow, this is the order that they are ran in.
|
||||||
|
example: 1
|
||||||
|
secondary_attribute_id:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description:
|
||||||
|
example: "cc844e99-9895-43d0-9d17-8f606b2158ba"
|
||||||
|
type:
|
||||||
|
type: string
|
||||||
|
enum: [
|
||||||
|
"RiskRule",
|
||||||
|
"ProfileIdRule",
|
||||||
|
"ProfileTypeRule",
|
||||||
|
"ProfileExistsRule",
|
||||||
|
"ProfileStatusRule",
|
||||||
|
"SessionAttributeRule",
|
||||||
|
"ProfileAttributeRule",
|
||||||
|
"ProfileDoesNotExistRule",
|
||||||
|
"IdentityProofingRule"
|
||||||
|
]
|
||||||
|
required: true
|
||||||
|
description: The type of condition rule.
|
||||||
|
example: "ProfileIdRule"
|
||||||
description: The ProfileTypeRule this workflow will be working with.
|
description: The ProfileTypeRule this workflow will be working with.
|
||||||
example: [33f072dd-13b4-41e1-8ea0-16f2a59b57c8]
|
example: [{
|
||||||
|
"type": "ProfileTypeRule",
|
||||||
|
"condition_type": "Workflow",
|
||||||
|
"comparison_operator": "==",
|
||||||
|
"logical_operator": "AND",
|
||||||
|
"value": "true",
|
||||||
|
"condition_type": "Workflow"
|
||||||
|
}]
|
||||||
Reference in New Issue
Block a user