Skip to content

Commit

Permalink
ON-44920 # Added nodes to approval steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mymattcarroll committed Nov 19, 2024
1 parent 498b8d5 commit e66e8a0
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Added

- `nodes` and `type` to `FormApprovalFlowInstanceStep` and `FormApprovalStep`

## [9.0.0] - 2024-11-13

### Added
Expand Down
20 changes: 19 additions & 1 deletion OneBlink.SDK/models/FormApprovalFlowInstanceStep.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
using System.Collections.Generic;
namespace OneBlink.SDK.Model
{
public class FormApprovalFlowInstanceStep : FormApprovalFlowStepBase
public class FormApprovalFlowInstanceStepNode : FormApprovalFlowStepBase
{
public bool isSkipped
{
get; set;
}
}

public class FormApprovalFlowInstanceStep : FormApprovalFlowInstanceStepNode
{
public string type
{
get; set;
}

public long? clarificationRequestEmailTemplateId
{
get; set;
}

public List<FormApprovalStepNode> nodes
{
get; set;
}
}
}
4 changes: 0 additions & 4 deletions OneBlink.SDK/models/FormApprovalFlowStepBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,5 @@ public long? approvalFormId
{
get; set;
}
public long? clarificationRequestEmailTemplateId
{
get; set;
}
}
}
21 changes: 20 additions & 1 deletion OneBlink.SDK/models/FormApprovalStep.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;
namespace OneBlink.SDK.Model
{
public class FormApprovalStep : FormApprovalFlowStepBase
public class FormApprovalStepNode : FormApprovalFlowStepBase
{
public bool? isConditional
{
Expand All @@ -16,4 +16,23 @@ public List<ConditionallyShowPredicate> conditionalPredicates
get; set;
}
}

public class FormApprovalStep : FormApprovalStepNode
{
public string type
{
get; set;
}

public long? clarificationRequestEmailTemplateId
{
get; set;
}

public List<FormApprovalStepNode> nodes
{
get; set;
}
}

}

0 comments on commit e66e8a0

Please sign in to comment.