Skip to content

Commit

Permalink
ignore required inside synamic due date for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nishu Goel committed Jul 16, 2024
1 parent f148c13 commit 1ff710d
Show file tree
Hide file tree
Showing 21 changed files with 705 additions and 595 deletions.
15 changes: 8 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 5a857039-7f4b-42d5-86fd-449767242ed2
management:
docChecksum: 8ae07697a4f59d026a44a7d6b287f46b
docChecksum: cdc191ce1bf61d7565b6f4caa1ea7ff9
docVersion: 1.0.0
speakeasyVersion: 1.303.4
generationVersion: 2.340.2
releaseVersion: 0.8.4
configChecksum: 03142a0481bf8be5abbdacf2803b0832
speakeasyVersion: 1.330.0
generationVersion: 2.361.10
releaseVersion: 0.11.0
configChecksum: fe1f4f47e217555f3049bc6b86f7300b
repoURL: https://github.com/epilot-dev/terraform-provider-epilot-workflow.git
repoSubDirectory: .
published: true
Expand All @@ -21,15 +21,16 @@ features:
unions: 2.85.0
terraform:
additionalDependencies: 0.1.0
core: 3.21.3
core: 3.23.3
deprecations: 2.81.1
globalSecurity: 2.81.6
globalServerURLs: 2.82.1
unions: 2.81.14
unions: 2.81.15
generatedFiles:
- internal/sdk/workflows.go
- internal/sdk/sdk.go
- internal/sdk/models/errors/sdkerror.go
- internal/sdk/retry/config.go
- internal/sdk/types/bigint.go
- internal/sdk/types/date.go
- internal/sdk/types/datetime.go
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ terraform {
required_providers {
epilot-workflow = {
source = "epilot-dev/epilot-workflow"
version = "0.8.4"
version = "0.11.0"
}
}
}
Expand Down
46 changes: 5 additions & 41 deletions docs/data-sources/workflow_definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,24 @@ WorkflowDefinition DataSource

```terraform
data "epilot-workflow_workflow_definition" "my_workflowdefinition" {
id = "7hj28a"
definition_id = "7hj28a"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `id` (String) Short uuid (length 8) to identify the Workflow Definition.

### Read-Only

- `assigned_to` (List of String)
- `closing_reasons` (Attributes List) (see [below for nested schema](#nestedatt--closing_reasons))
- `creation_time` (String) ISO String Date & Time
- `description` (String)
- `due_date` (String)
- `dynamic_due_date` (Attributes) set a Duedate for a step then a specific (see [below for nested schema](#nestedatt--dynamic_due_date))
- `dynamic_due_date` (String) set a Duedate for a step then a specific. Parsed as JSON.
- `enable_ecp_workflow` (Boolean) Indicates whether this workflow is available for End Customer Portal or not. By default it's not.
- `flow` (Attributes List) (see [below for nested schema](#nestedatt--flow))
- `id` (String) The ID of this resource.
- `last_update_time` (String) ISO String Date & Time
- `name` (String)
- `update_entity_attributes` (Attributes List) (see [below for nested schema](#nestedatt--update_entity_attributes))
Expand All @@ -48,17 +45,6 @@ Read-Only:
- `id` (String)


<a id="nestedatt--dynamic_due_date"></a>
### Nested Schema for `dynamic_due_date`

Read-Only:

- `action_type_condition` (String) must be one of ["WORKFLOW_STARTED", "STEP_CLOSED"]
- `number_of_units` (Number)
- `step_id` (String)
- `time_period` (String) must be one of ["days", "weeks", "months"]


<a id="nestedatt--flow"></a>
### Nested Schema for `flow`

Expand Down Expand Up @@ -87,7 +73,7 @@ Read-Only:
- `automation_config` (Attributes) (see [below for nested schema](#nestedatt--flow--section--steps--automation_config))
- `description` (Attributes) Longer information regarding Task (see [below for nested schema](#nestedatt--flow--section--steps--description))
- `due_date` (String)
- `dynamic_due_date` (Attributes) set a Duedate for a step then a specific (see [below for nested schema](#nestedatt--flow--section--steps--dynamic_due_date))
- `dynamic_due_date` (String) set a Duedate for a step then a specific. Parsed as JSON.
- `ecp` (Attributes) Details regarding ECP for the workflow step (see [below for nested schema](#nestedatt--flow--section--steps--ecp))
- `execution_type` (String) must be one of ["MANUAL", "AUTOMATION"]
- `id` (String)
Expand Down Expand Up @@ -116,17 +102,6 @@ Read-Only:
- `value` (String)


<a id="nestedatt--flow--section--steps--dynamic_due_date"></a>
### Nested Schema for `flow.section.steps.user_ids`

Read-Only:

- `action_type_condition` (String) must be one of ["WORKFLOW_STARTED", "STEP_CLOSED"]
- `number_of_units` (Number)
- `step_id` (String)
- `time_period` (String) must be one of ["days", "weeks", "months"]


<a id="nestedatt--flow--section--steps--ecp"></a>
### Nested Schema for `flow.section.steps.user_ids`

Expand Down Expand Up @@ -200,7 +175,7 @@ Read-Only:
- `automation_config` (Attributes) (see [below for nested schema](#nestedatt--flow--step--automation_config))
- `description` (Attributes) Longer information regarding Task (see [below for nested schema](#nestedatt--flow--step--description))
- `due_date` (String)
- `dynamic_due_date` (Attributes) set a Duedate for a step then a specific (see [below for nested schema](#nestedatt--flow--step--dynamic_due_date))
- `dynamic_due_date` (String) set a Duedate for a step then a specific. Parsed as JSON.
- `ecp` (Attributes) Details regarding ECP for the workflow step (see [below for nested schema](#nestedatt--flow--step--ecp))
- `execution_type` (String) must be one of ["MANUAL", "AUTOMATION"]
- `id` (String)
Expand Down Expand Up @@ -229,17 +204,6 @@ Read-Only:
- `value` (String)


<a id="nestedatt--flow--step--dynamic_due_date"></a>
### Nested Schema for `flow.step.dynamic_due_date`

Read-Only:

- `action_type_condition` (String) must be one of ["WORKFLOW_STARTED", "STEP_CLOSED"]
- `number_of_units` (Number)
- `step_id` (String)
- `time_period` (String) must be one of ["days", "weeks", "months"]


<a id="nestedatt--flow--step--ecp"></a>
### Nested Schema for `flow.step.ecp`

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ terraform {
required_providers {
epilot-workflow = {
source = "epilot-dev/epilot-workflow"
version = "0.8.3"
version = "0.10.0"
}
}
}
Expand Down
Loading

0 comments on commit 1ff710d

Please sign in to comment.